hoeditor-web 3.2.10 → 3.2.11

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 Ms = Object.defineProperty;
2
- var Rs = (l, r, o) => r in l ? Ms(l, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[r] = o;
3
- var _ = (l, r, o) => Rs(l, typeof r != "symbol" ? r + "" : r, o);
1
+ var Ls = Object.defineProperty;
2
+ var Ms = (l, r, o) => r in l ? Ls(l, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[r] = o;
3
+ var _ = (l, r, o) => Ms(l, typeof r != "symbol" ? r + "" : r, o);
4
4
  import Vue$1, { defineComponent, computed, h, ref, reactive, inject, onMounted, watch, toRefs, provide, onBeforeMount } from "vue";
5
5
  import { message, Modal } from "ant-design-vue";
6
6
  import moment$2 from "moment";
@@ -1184,14 +1184,14 @@ function i18nHelper(l, r, o) {
1184
1184
  return o || l;
1185
1185
  }
1186
1186
  }
1187
- const dn = class dn {
1187
+ const cn = class cn {
1188
1188
  constructor() {
1189
1189
  _(this, "_hoEditorFactoryMap");
1190
1190
  this._hoEditorFactoryMap = /* @__PURE__ */ new Map();
1191
1191
  }
1192
1192
  // private _hoEditorFactorys: Array<HOEditorFactory>
1193
1193
  static instance() {
1194
- return dn._instance || (dn._instance = new dn()), dn._instance;
1194
+ return cn._instance || (cn._instance = new cn()), cn._instance;
1195
1195
  }
1196
1196
  // set hoEditorFactoryMap(hoEditorFactoryMap: Map<string, HOEditorFactory>) {
1197
1197
  // this._hoEditorFactoryMap = hoEditorFactoryMap;
@@ -1212,8 +1212,8 @@ const dn = class dn {
1212
1212
  return o;
1213
1213
  }
1214
1214
  };
1215
- _(dn, "_instance");
1216
- let HOEditorFactorys = dn;
1215
+ _(cn, "_instance");
1216
+ let HOEditorFactorys = cn;
1217
1217
  var Align = /* @__PURE__ */ ((l) => (l[l.alleft = 0] = "alleft", l[l.alright = 1] = "alright", l[l.alcenter = 2] = "alcenter", l[l.alSpaceEqually = 3] = "alSpaceEqually", l))(Align || {});
1218
1218
  class CombineParagraph {
1219
1219
  constructor(r, o) {
@@ -5568,7 +5568,7 @@ class DrawContainer extends createjs$1.Container {
5568
5568
  return this._drawItems.length == 0;
5569
5569
  }
5570
5570
  }
5571
- const za = class za {
5571
+ const Ba = class Ba {
5572
5572
  constructor() {
5573
5573
  _(this, "_scaleXY");
5574
5574
  _(this, "_transformScale", 1);
@@ -5590,11 +5590,11 @@ const za = class za {
5590
5590
  return this._scaleXY !== 1 ? this._scaleXY : this._transformScale !== 1 ? this._transformScale : 1;
5591
5591
  }
5592
5592
  static instance() {
5593
- return this._instance || (this._instance = new za()), this._instance;
5593
+ return this._instance || (this._instance = new Ba()), this._instance;
5594
5594
  }
5595
5595
  };
5596
- _(za, "_instance");
5597
- let DrawConfig = za;
5596
+ _(Ba, "_instance");
5597
+ let DrawConfig = Ba;
5598
5598
  class Caret {
5599
5599
  // get dLine(): DrawLine | DrawTable {
5600
5600
  // return this._dLine;
@@ -6216,7 +6216,7 @@ class DrawCombineNode extends DrawContainer {
6216
6216
  o !== this._discriminator && (this._discriminator = o);
6217
6217
  }
6218
6218
  }
6219
- const jo = class jo {
6219
+ const Wo = class Wo {
6220
6220
  constructor() {
6221
6221
  _(this, "dpiX");
6222
6222
  _(this, "dpiY");
@@ -6224,7 +6224,7 @@ const jo = class jo {
6224
6224
  r.style.cssText = "width:1in;height:1in;position:absolute;left:-300px;top:0px;z-index:99;visibility:hidden", document.body.appendChild(r), this.dpiX = r.offsetWidth || 96, this.dpiY = r.offsetHeight || 96;
6225
6225
  }
6226
6226
  static get instance() {
6227
- return this._instance || (this._instance = new jo()), this._instance;
6227
+ return this._instance || (this._instance = new Wo()), this._instance;
6228
6228
  }
6229
6229
  //像素转毫米
6230
6230
  pxConversionMm(r, o) {
@@ -6284,10 +6284,10 @@ const jo = class jo {
6284
6284
  return r * 72 / this.dpiX;
6285
6285
  }
6286
6286
  static isPuctuation(r) {
6287
- return jo._regRunctuation.test(r);
6287
+ return Wo._regRunctuation.test(r);
6288
6288
  }
6289
6289
  static isNumEnglish(r) {
6290
- return jo._regNum.test(r);
6290
+ return Wo._regNum.test(r);
6291
6291
  }
6292
6292
  replaceAll(r, o, n) {
6293
6293
  return r = r.replace(new RegExp(o, "gm"), n), r;
@@ -6310,9 +6310,9 @@ const jo = class jo {
6310
6310
  return o;
6311
6311
  }
6312
6312
  };
6313
- _(jo, "_instance"), //匹配这些中文标点符号 。 ? ! , 、 ; : “ ” ‘ ' ( ) 《 》 〈 〉 【 】 『 』 「 」 ﹃ ﹄ 〔 〕 … — ~ ﹏ ¥
6314
- _(jo, "_regRunctuation", /[\u3002|\uff1f|\uff01|\uff0c|\u3001|\uff1b|\uff1a|\u201c|\u201d|\u2018|\u2019|\uff08|\uff09|\u300a|\u300b|\u3008|\u3009|\u3010|\u3011|\u300e|\u300f|\u300c|\u300d|\ufe43|\ufe44|\u3014|\u3015|\u2026|\u2014|\uff5e|\ufe4f|\uffe5|~|!|@|#|$|%|^|&|*|(|)|_|+|-|=|[|\]|{|}|\\|||;|'|'|:|"|"|,|.|/|<|>?]/), _(jo, "_regNum", /[a-zA-Z0-9_/^.]+/);
6315
- let UnitConvert = jo;
6313
+ _(Wo, "_instance"), //匹配这些中文标点符号 。 ? ! , 、 ; : “ ” ‘ ' ( ) 《 》 〈 〉 【 】 『 』 「 」 ﹃ ﹄ 〔 〕 … — ~ ﹏ ¥
6314
+ _(Wo, "_regRunctuation", /[\u3002|\uff1f|\uff01|\uff0c|\u3001|\uff1b|\uff1a|\u201c|\u201d|\u2018|\u2019|\uff08|\uff09|\u300a|\u300b|\u3008|\u3009|\u3010|\u3011|\u300e|\u300f|\u300c|\u300d|\ufe43|\ufe44|\u3014|\u3015|\u2026|\u2014|\uff5e|\ufe4f|\uffe5|~|!|@|#|$|%|^|&|*|(|)|_|+|-|=|[|\]|{|}|\\|||;|'|'|:|"|"|,|.|/|<|>?]/), _(Wo, "_regNum", /[a-zA-Z0-9_/^.]+/);
6315
+ let UnitConvert = Wo;
6316
6316
  var HistoryEditType = /* @__PURE__ */ ((l) => (l[l.hetCreate = 0] = "hetCreate", l[l.hetDelete = 1] = "hetDelete", l[l.hetModify = 2] = "hetModify", l))(HistoryEditType || {});
6317
6317
  class UserHistory {
6318
6318
  constructor(r, o) {
@@ -6818,7 +6818,7 @@ class TextStyle {
6818
6818
  o.size !== r.size && (this.size = r.size), o.font !== r.font && (this.font = r.font), o.backColor !== r.backColor && (this.backColor = r.backColor), o.color !== r.color && (this.color = r.color), o.bold !== r.bold && (this.bold = r.bold), o.commentID !== r.commentID && (this.commentID = r.commentID), o.creatorIndex !== r.creatorIndex && (this.creatorIndex = r.creatorIndex), o.deleterIndex !== r.deleterIndex && (this.deleterIndex = r.deleterIndex), o.modifierIndex !== r.modifierIndex && (this.modifierIndex = r.modifierIndex), o.italic !== r.italic && (this.italic = r.italic), o.script !== r.script && (this.script = r.script), o.strikeout !== r.strikeout && (this.strikeout = r.strikeout), o.underline !== r.underline && (this.underline = r.underline);
6819
6819
  }
6820
6820
  }
6821
- const Uo = class Uo extends createjs$1.Text {
6821
+ const jo = class jo extends createjs$1.Text {
6822
6822
  constructor(o, n, a, s) {
6823
6823
  super(o, n, a);
6824
6824
  _(this, "_letterSpacing");
@@ -6845,7 +6845,7 @@ const Uo = class Uo extends createjs$1.Text {
6845
6845
  }
6846
6846
  _drawText(o, n, a) {
6847
6847
  const s = !!o;
6848
- s || (o = Uo.getWorkingContext(), o.save(), this._prepContext(o)), o.imageSmoothingEnabled = !0;
6848
+ s || (o = jo.getWorkingContext(), o.save(), this._prepContext(o)), o.imageSmoothingEnabled = !0;
6849
6849
  let c = this.color || "#000";
6850
6850
  this.outline ? (o.strokeStyle = c, o.lineWidth = this.outline * 1) : o.fillStyle = c, o = this._prepContext(o);
6851
6851
  const d = this.text.replace(/\ /g, " ").replace(/\ /g, " ");
@@ -6859,16 +6859,16 @@ const Uo = class Uo extends createjs$1.Text {
6859
6859
  return this._docWidth = f, s || o.restore(), n;
6860
6860
  }
6861
6861
  static getWorkingContext() {
6862
- if (!Uo._workingContext) {
6862
+ if (!jo._workingContext) {
6863
6863
  const o = document.createElement("canvas");
6864
6864
  o.width = o.height = 1;
6865
6865
  const n = o.getContext("2d");
6866
6866
  if (n)
6867
- Uo._workingContext = n;
6867
+ jo._workingContext = n;
6868
6868
  else
6869
6869
  throw new Error("创建canvas失败");
6870
6870
  }
6871
- return Uo._workingContext;
6871
+ return jo._workingContext;
6872
6872
  }
6873
6873
  // public getChildIndex(x: number, y: number): number {
6874
6874
  // let left = this.parent.x;
@@ -6910,7 +6910,7 @@ const Uo = class Uo extends createjs$1.Text {
6910
6910
  return this.DisplayObject__cloneProps(o), o.text = this.text, o.textAlign = this.textAlign, o.textBaseline = this.textBaseline, o.maxWidth = this.maxWidth, o.outline = this.outline, o.lineHeight = this.lineHeight, o.lineWidth = this.lineWidth, o;
6911
6911
  }
6912
6912
  clone() {
6913
- return this._cloneProps(new Uo(this.text, this.font, this.color, this._letterSpacing));
6913
+ return this._cloneProps(new jo(this.text, this.font, this.color, this._letterSpacing));
6914
6914
  }
6915
6915
  isFullLineNumEnglish(o, n) {
6916
6916
  if (!o.isFullNumEnglish())
@@ -6921,8 +6921,8 @@ const Uo = class Uo extends createjs$1.Text {
6921
6921
  return !0;
6922
6922
  }
6923
6923
  };
6924
- _(Uo, "_workingContext");
6925
- let DrawSimpleText = Uo;
6924
+ _(jo, "_workingContext");
6925
+ let DrawSimpleText = jo;
6926
6926
  class DrawMarkNode extends DrawCombineNode {
6927
6927
  // private _hoEditorFactoryID: string;
6928
6928
  constructor(o, n, a, s, c, d, u) {
@@ -7632,7 +7632,7 @@ class SpecialCharsNode extends ControlNode {
7632
7632
  return /* @__PURE__ */ i18nHelper("04-001-009-EMR.3.3.324", null, "特殊字符");
7633
7633
  }
7634
7634
  }
7635
- const Yo = class Yo extends createjs$1.Text {
7635
+ const Uo = class Uo extends createjs$1.Text {
7636
7636
  constructor(o, n, a, s, c, d, u, f, p) {
7637
7637
  super("", d, u);
7638
7638
  _(this, "_letterSpacing");
@@ -7702,7 +7702,7 @@ const Yo = class Yo extends createjs$1.Text {
7702
7702
  }
7703
7703
  _drawText(o, n, a) {
7704
7704
  const s = !!o;
7705
- s || (o = Yo.getWorkingContext(), o.save(), this._prepContext(o)), o.imageSmoothingEnabled = !0;
7705
+ s || (o = Uo.getWorkingContext(), o.save(), this._prepContext(o)), o.imageSmoothingEnabled = !0;
7706
7706
  let c = this.color || "#000";
7707
7707
  this.outline ? (o.strokeStyle = c, o.lineWidth = this.outline * 1) : o.fillStyle = c, o = this._prepContext(o);
7708
7708
  const d = this.text.replace(/\u2003/g, " ").replace(/\u2002/g, " ").replace(/\x01/g, "");
@@ -7731,16 +7731,16 @@ const Yo = class Yo extends createjs$1.Text {
7731
7731
  return this._docWidth = f, this._dWidth = u > 0 ? u - this._letterSpacing : 0, n && (n.width = this._dWidth, n.height = this._node.dHeight), s || o.restore(), n;
7732
7732
  }
7733
7733
  static getWorkingContext() {
7734
- if (!Yo._workingContext) {
7734
+ if (!Uo._workingContext) {
7735
7735
  const o = document.createElement("canvas");
7736
7736
  o.width = o.height = 1;
7737
7737
  const n = o.getContext("2d");
7738
7738
  if (n)
7739
- Yo._workingContext = n;
7739
+ Uo._workingContext = n;
7740
7740
  else
7741
7741
  throw new Error("创建canvas失败");
7742
7742
  }
7743
- return Yo._workingContext;
7743
+ return Uo._workingContext;
7744
7744
  }
7745
7745
  getChildIndex(o, n) {
7746
7746
  let a = this.parent.x;
@@ -7770,7 +7770,7 @@ const Yo = class Yo extends createjs$1.Text {
7770
7770
  return this.DisplayObject__cloneProps(o), o.text = this.text, o._endIndex = this._endIndex, o.textAlign = this.textAlign, o.textBaseline = this.textBaseline, o.maxWidth = this.maxWidth, o.outline = this.outline, o.lineHeight = this.lineHeight, o.lineWidth = this.lineWidth, o;
7771
7771
  }
7772
7772
  clone() {
7773
- return this._cloneProps(new Yo(this._node, this.text, this.maxWidth, this._startIndex, this._letterSpacing, this.font, this.color));
7773
+ return this._cloneProps(new Uo(this._node, this.text, this.maxWidth, this._startIndex, this._letterSpacing, this.font, this.color));
7774
7774
  }
7775
7775
  isFullLineNumEnglish(o, n) {
7776
7776
  if (!o.isFullNumEnglish())
@@ -7781,8 +7781,8 @@ const Yo = class Yo extends createjs$1.Text {
7781
7781
  return !0;
7782
7782
  }
7783
7783
  };
7784
- _(Yo, "_workingContext");
7785
- let DrawText = Yo;
7784
+ _(Uo, "_workingContext");
7785
+ let DrawText = Uo;
7786
7786
  var top = "top", bottom = "bottom", right = "right", left = "left", auto = "auto", basePlacements = [top, bottom, right, left], start = "start", end = "end", clippingParents = "clippingParents", viewport = "viewport", popper = "popper", reference = "reference", variationPlacements = /* @__PURE__ */ basePlacements.reduce(function(l, r) {
7787
7787
  return l.concat([r + "-" + start, r + "-" + end]);
7788
7788
  }, []), placements = /* @__PURE__ */ [].concat(basePlacements, [auto]).reduce(function(l, r) {
@@ -12630,12 +12630,12 @@ class DrawPageTable extends DrawRect {
12630
12630
  // return this._endRowinfos.changed;
12631
12631
  // }
12632
12632
  }
12633
- const Wa = class Wa {
12633
+ const za = class za {
12634
12634
  constructor() {
12635
12635
  _(this, "_modalStatusObject");
12636
12636
  }
12637
12637
  static instance() {
12638
- return this._instance || (this._instance = new Wa()), this._instance;
12638
+ return this._instance || (this._instance = new za()), this._instance;
12639
12639
  }
12640
12640
  get modalStatusObject() {
12641
12641
  return this._modalStatusObject;
@@ -12644,8 +12644,8 @@ const Wa = class Wa {
12644
12644
  r !== this._modalStatusObject && (this._modalStatusObject = r);
12645
12645
  }
12646
12646
  };
12647
- _(Wa, "_instance");
12648
- let CommonData = Wa;
12647
+ _(za, "_instance");
12648
+ let CommonData = za;
12649
12649
  function normalizeComponent$1(l, r, o, n, a, s, c, d) {
12650
12650
  var u = typeof l == "function" ? l.options : l;
12651
12651
  return r && (u.render = r, u.staticRenderFns = o, u._compiled = !0), {
@@ -16047,7 +16047,7 @@ class DrawSignNode extends DrawCombineNode {
16047
16047
  }
16048
16048
  }
16049
16049
  }
16050
- const version$1 = "3.2.10";
16050
+ const version$1 = "3.2.11";
16051
16051
  var FingerPosition = /* @__PURE__ */ ((l) => (l[l.left = 0] = "left", l[l.center = 1] = "center", l[l.right = 2] = "right", l))(FingerPosition || {});
16052
16052
  class SignNode extends BaseNode {
16053
16053
  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) {
@@ -18466,7 +18466,7 @@ class CellNode extends RectNode {
18466
18466
  let o = new Array();
18467
18467
  for (let n = 0; n < this._childNodes.length; n++)
18468
18468
  if (this._childNodes[n] instanceof TableNode) {
18469
- const a = new DomRange$1(this._hoEditorFactoryID, r.docTree.getNodeFirstPath(this._childNodes[n]), r.docTree.getNodeLastPath(this._childNodes[n]));
18469
+ const a = new DomRange(this._hoEditorFactoryID, r.docTree.getNodeFirstPath(this._childNodes[n]), r.docTree.getNodeLastPath(this._childNodes[n]));
18470
18470
  o = o.concat(this._childNodes[n].getSelectNodesForUpdate(a, !0));
18471
18471
  } else o.push(this._childNodes[n]);
18472
18472
  return o;
@@ -18477,7 +18477,7 @@ class CellNode extends RectNode {
18477
18477
  for (let a = 0; a < this._childNodes.length; a++) {
18478
18478
  const s = this._childNodes[a];
18479
18479
  if (s instanceof TableNode) {
18480
- const c = new DomRange$1(this._hoEditorFactoryID, o.docTree.getNodeFirstPath(s), o.docTree.getNodeLastPath(s));
18480
+ const c = new DomRange(this._hoEditorFactoryID, o.docTree.getNodeFirstPath(s), o.docTree.getNodeLastPath(s));
18481
18481
  n = n.concat(s.getSelectNodes(c, !0, r));
18482
18482
  } else r && s instanceof TextInputFieldNode ? n = n.concat(s.getAllChildNodes()) : n.push(this._childNodes[a]);
18483
18483
  }
@@ -18526,7 +18526,7 @@ class CellNode extends RectNode {
18526
18526
  p.npEnd.node instanceof ParagraphNode ? (u = p.startPath, d = u) : (u = p.npEnd.node.prevSibling().getNodePath(), d = s.docTree.getNodeLastPath(p.npEnd.node));
18527
18527
  } else
18528
18528
  u = `${this.getNodePath()}/0`, d = s.docTree.getNodeLastPath(this);
18529
- const f = new DomRange$1(this._hoEditorFactoryID, u, d);
18529
+ const f = new DomRange(this._hoEditorFactoryID, u, d);
18530
18530
  if (s.docController.deleteRange(f, !0), s.docController.insertPlainTextAfterPath(u, r), !n && this.cellProperty.dateTimeProperty && this.cellProperty.dateTimeProperty.isUpdateNextDays) {
18531
18531
  const p = this._row.indexOf(this), g = this.table.rows.indexOf(this._row);
18532
18532
  s.vueController.updateCellNextDays(g, p, this.table.tableProperty.id, r);
@@ -19584,7 +19584,7 @@ class TableNode extends RectNode {
19584
19584
  const c = this._rows[a][s];
19585
19585
  if (c && c.drawCell.needUpdate) {
19586
19586
  c.drawCell.clear(), c.drawCell.removeAllPartCell();
19587
- const d = r.docTree.getNodeLastPath(c), u = new DomRange$1(this._hoEditorFactoryID, c.childNodes[0].getNodePath(), d), f = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daInsert, u.startPath, u.endPath);
19587
+ const d = r.docTree.getNodeLastPath(c), u = new DomRange(this._hoEditorFactoryID, c.childNodes[0].getNodePath(), d), f = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daInsert, u.startPath, u.endPath);
19588
19588
  f.repaintImmediate = !1, r.docTree.change(f);
19589
19589
  }
19590
19590
  }
@@ -19910,7 +19910,7 @@ class TableNode extends RectNode {
19910
19910
  else
19911
19911
  o = r.docTree.getNodeLastPath(n);
19912
19912
  const s = r.docTree.getNodeLastPath(this);
19913
- return new DomRange$1(this._hoEditorFactoryID, o, s);
19913
+ return new DomRange(this._hoEditorFactoryID, o, s);
19914
19914
  }
19915
19915
  getTagNameCn() {
19916
19916
  return /* @__PURE__ */ i18nHelper("04-001-009-EMR.3.3.3", null, "表格");
@@ -21194,7 +21194,7 @@ const Mr = class Mr {
21194
21194
  n && (o = c.docTree.getPathParagraphLastPath(
21195
21195
  o
21196
21196
  )[1]);
21197
- const d = new DomRange$1(
21197
+ const d = new DomRange(
21198
21198
  this._hoEditorFactoryID,
21199
21199
  r,
21200
21200
  o
@@ -21254,7 +21254,7 @@ const Mr = class Mr {
21254
21254
  o = a.docTree.getPathParagraphLastPath(
21255
21255
  o
21256
21256
  )[1];
21257
- const d = new DomRange$1(
21257
+ const d = new DomRange(
21258
21258
  this._hoEditorFactoryID,
21259
21259
  r,
21260
21260
  o
@@ -24681,11 +24681,11 @@ class TextInputFieldNode extends BaseCombineNode {
24681
24681
  }
24682
24682
  const f = this._canModifyContent.valueOf();
24683
24683
  this._canModifyContent = !0;
24684
- const p = d.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]), g = new DomRange$1(this._hoEditorFactoryID, u, p).normalize();
24684
+ const p = d.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]), g = new DomRange(this._hoEditorFactoryID, u, p).normalize();
24685
24685
  if (this.childNodes[1] instanceof MarkNode)
24686
24686
  d.docTree.curDomRange.setSamePath(u);
24687
24687
  else {
24688
- const m = DomRange$1.getSelectDomNodesForDelete(this.hoEditorFactoryID, u, p);
24688
+ const m = DomRange.getSelectDomNodesForDelete(this.hoEditorFactoryID, u, p);
24689
24689
  for (let v = 0; v < m.length; v++) {
24690
24690
  const C = m[v];
24691
24691
  C instanceof TextInputFieldNode && C.parentNode === this && C.isAllowDelete === !1 && (C.isAllowDelete = !0);
@@ -25607,7 +25607,7 @@ class NodeInsertUndoUnit extends UndoInfo {
25607
25607
  this._undo.undo();
25608
25608
  const s = new SelectionChangeEvent(
25609
25609
  n.docTree.curDomRange,
25610
- new DomRange$1(
25610
+ new DomRange(
25611
25611
  this._hoEditorFactoryID,
25612
25612
  this.strBeforePath,
25613
25613
  this.strBeforePath
@@ -25628,7 +25628,7 @@ class NodeInsertUndoUnit extends UndoInfo {
25628
25628
  this._hoEditorFactoryID,
25629
25629
  this.strBeforePath,
25630
25630
  a,
25631
- new DomRange$1(
25631
+ new DomRange(
25632
25632
  this._hoEditorFactoryID,
25633
25633
  this.strBeforePath,
25634
25634
  o.docTree.getNodeLastPath(a)
@@ -25734,7 +25734,7 @@ class NodesDeleteUndoUnit {
25734
25734
  _(this, "_isForceDelete");
25735
25735
  _(this, "_isError", !1);
25736
25736
  this._hoEditorFactoryID = r, this._startPath = o, this._endPath = n, this._isForceDelete = a, this._undo = new UndoService(this._hoEditorFactoryID), this._undoNodes = /* @__PURE__ */ new Map();
25737
- const s = new DomRange$1(r, o, n).normalize();
25737
+ const s = new DomRange(r, o, n).normalize();
25738
25738
  this._opTime = /* @__PURE__ */ new Date(), this._affectText = HOEditorFactorys.instance().getFactory(r).vueController.getRangeText(s);
25739
25739
  }
25740
25740
  undo() {
@@ -25765,7 +25765,7 @@ class NodesDeleteUndoUnit {
25765
25765
  );
25766
25766
  for (await a.docTree.change(c); !this._undo.atBottom(); )
25767
25767
  this._undo.undo();
25768
- const d = new DomRange$1(
25768
+ const d = new DomRange(
25769
25769
  this._hoEditorFactoryID,
25770
25770
  this._startPath,
25771
25771
  this._endPath
@@ -25806,7 +25806,7 @@ class NodesDeleteUndoUnit {
25806
25806
  throw Exception.NodeNotFound();
25807
25807
  o = n.docTree.getNodeLastPath(c);
25808
25808
  }
25809
- return new DomRange$1(this._hoEditorFactoryID, o, s);
25809
+ return new DomRange(this._hoEditorFactoryID, o, s);
25810
25810
  }
25811
25811
  /**
25812
25812
  *
@@ -25817,20 +25817,20 @@ class NodesDeleteUndoUnit {
25817
25817
  * @description
25818
25818
  */
25819
25819
  deleteRange(r, o) {
25820
- const n = new DomRange$1(
25820
+ const n = new DomRange(
25821
25821
  this._hoEditorFactoryID,
25822
25822
  o,
25823
25823
  r
25824
25824
  ).normalize();
25825
25825
  if (!this.spliteNode(n))
25826
25826
  return 0;
25827
- const a = new DomRange$1(
25827
+ const a = new DomRange(
25828
25828
  this._hoEditorFactoryID,
25829
25829
  this._tmp.start,
25830
25830
  this._tmp.end
25831
25831
  );
25832
25832
  if (!a.npStart.node || !a.npEnd.node) throw Exception.NodeNotFound();
25833
- const s = DomRange$1.getSelectDomNodesForDelete(
25833
+ const s = DomRange.getSelectDomNodesForDelete(
25834
25834
  this._hoEditorFactoryID,
25835
25835
  this._tmp.start,
25836
25836
  this._tmp.end
@@ -25951,17 +25951,17 @@ class NodesDeleteUndoUnit {
25951
25951
  const m = y.previousLeaf();
25952
25952
  if (!m)
25953
25953
  throw Exception.NodeNotFound();
25954
- a[0] = 0, a[1] = new DomRange$1(
25954
+ a[0] = 0, a[1] = new DomRange(
25955
25955
  this._hoEditorFactoryID,
25956
25956
  s.docTree.getNodeLastPath(m),
25957
25957
  s.docTree.getNodeLastPath(y)
25958
25958
  );
25959
25959
  } else if (g == y.last()) {
25960
25960
  const m = this.getPrevNodeDomRange(g);
25961
- s.docTree.curDomRange = new DomRange$1(this._hoEditorFactoryID, m.endPath, m.endPath), a[0] = 1, a[1] = m;
25961
+ s.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, m.endPath, m.endPath), a[0] = 1, a[1] = m;
25962
25962
  } else if (g == y.first()) {
25963
25963
  const m = this.getPrevNodeDomRange(g);
25964
- s.docTree.curDomRange = new DomRange$1(this._hoEditorFactoryID, m.endPath, m.endPath), a[0] = 2, a[1] = m;
25964
+ s.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, m.endPath, m.endPath), a[0] = 2, a[1] = m;
25965
25965
  }
25966
25966
  }
25967
25967
  };
@@ -26011,7 +26011,7 @@ class NodesDeleteUndoUnit {
26011
26011
  this._tmp.end = a[1].endPath;
26012
26012
  else if ((a[0] == 1 || a[0] == 2) && a[1])
26013
26013
  return this._tmp.end = a[1].endPath, this.spliteNode(
26014
- new DomRange$1(this._hoEditorFactoryID, this._tmp.start, this._tmp.end)
26014
+ new DomRange(this._hoEditorFactoryID, this._tmp.start, this._tmp.end)
26015
26015
  );
26016
26016
  }
26017
26017
  g ? this._tmp.end = s.docTree.getNodeLastPath(
@@ -26048,7 +26048,7 @@ class NodesDeleteUndoUnit {
26048
26048
  async doRedo() {
26049
26049
  var g;
26050
26050
  this.initParam();
26051
- const r = new DomRange$1(
26051
+ const r = new DomRange(
26052
26052
  this._hoEditorFactoryID,
26053
26053
  this._startPath,
26054
26054
  this._endPath
@@ -26059,7 +26059,7 @@ class NodesDeleteUndoUnit {
26059
26059
  message.warn("该内容当前已处于删除状态!"), this._isError = !0;
26060
26060
  return;
26061
26061
  }
26062
- const a = DomRange$1.getSelectDomNodesForDelete(
26062
+ const a = DomRange.getSelectDomNodesForDelete(
26063
26063
  this._hoEditorFactoryID,
26064
26064
  this._startPath,
26065
26065
  this._endPath
@@ -26133,7 +26133,7 @@ class NodesDeleteUndoUnit {
26133
26133
  c.beforeChangePath = d, c.afterChangePath = this._tmp.start, await o.docTree.change(c);
26134
26134
  const y = new SelectionChangeEvent(
26135
26135
  o.docTree.curDomRange,
26136
- new DomRange$1(this._hoEditorFactoryID, this._tmp.start, this._tmp.start)
26136
+ new DomRange(this._hoEditorFactoryID, this._tmp.start, this._tmp.start)
26137
26137
  );
26138
26138
  o.docTree.selectChange(y);
26139
26139
  }
@@ -29130,7 +29130,7 @@ class DrawTree {
29130
29130
  throw new Error(`错误的绘制节点${n}`);
29131
29131
  u = m;
29132
29132
  }
29133
- const C = DomRange$1.getSelectDomNodesForUpdate(this._hoEditorFactoryID, o, u);
29133
+ const C = DomRange.getSelectDomNodesForUpdate(this._hoEditorFactoryID, o, u);
29134
29134
  for (let b = 0; b < C.length; b++)
29135
29135
  if (d = C[b], d instanceof ParagraphNode) {
29136
29136
  if (a && d.refreshParaStyle(), s.paragraphNode !== d ? (s instanceof DrawLine && (s.fitLines(), s.paragraphNode.updateDrawLineStyle()), s.paragraphNode.updateDrawInfos(), d.clear(), d.node2DrawNode(), d.placeDNodeAfterDline(s)) : s.paragraphNode.drootNodes.indexOf(s) < 0 && d.placeDNodeAfterDline(null), s = d.drawlines[0], c = d, s.paragraphNode.parentNode instanceof CellNode) {
@@ -29447,7 +29447,7 @@ class DrawTree {
29447
29447
  m.push(C.groupType);
29448
29448
  else {
29449
29449
  C.isSelected = !1;
29450
- const b = C.getNodePath(), N = new DomRange$1(this._hoEditorFactoryID, b, b), E = JSON.stringify(C.radioAndCheckBoxInstance);
29450
+ const b = C.getNodePath(), N = new DomRange(this._hoEditorFactoryID, b, b), E = JSON.stringify(C.radioAndCheckBoxInstance);
29451
29451
  o.docController.insertRadioAndCheckBox("update", N, E, C.styleIndex);
29452
29452
  }
29453
29453
  }), m.length == 0)
@@ -29459,7 +29459,7 @@ class DrawTree {
29459
29459
  }
29460
29460
  else
29461
29461
  n.isSelected ? n.isSelected = !1 : n.isSelected = !0;
29462
- const d = JSON.stringify(n.radioAndCheckBoxInstance), u = new DomRange$1(this._hoEditorFactoryID, a, a);
29462
+ const d = JSON.stringify(n.radioAndCheckBoxInstance), u = new DomRange(this._hoEditorFactoryID, a, a);
29463
29463
  let f = n.styleIndex, p = o.docTree.styles[f];
29464
29464
  if (o.drawTree.paintStatus === 6 && p.combineStyle.color === o.pageProperty.fontColor) {
29465
29465
  const y = new TextStyle(this._hoEditorFactoryID);
@@ -30169,7 +30169,7 @@ class DrawTree {
30169
30169
  if (g.oldEndPath = f, g.needUpdateParaStyle = r, g.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(u, f, !0, !0), await a.docTree.change(g), a.docTree.curDomRange.startPath != "")
30170
30170
  n && this.moveCaretToPath(a.docTree.curDomRange.startPath);
30171
30171
  else {
30172
- const y = a.docTree.getNodeLastPath(a.docTree.mainNodes[a.docTree.mainNodes.length - 1]), m = new SelectionChangeEvent(a.docTree.curDomRange, new DomRange$1(this._hoEditorFactoryID, y, y));
30172
+ const y = a.docTree.getNodeLastPath(a.docTree.mainNodes[a.docTree.mainNodes.length - 1]), m = new SelectionChangeEvent(a.docTree.curDomRange, new DomRange(this._hoEditorFactoryID, y, y));
30173
30173
  a.docTree.selectChange(m);
30174
30174
  }
30175
30175
  o && o(!0);
@@ -30213,7 +30213,7 @@ class DrawTree {
30213
30213
  const c = s[0].getNodePath(), d = a.docTree.getNodeLastPath(s[s.length - 1]), u = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daModifyStyle, c, d);
30214
30214
  if (u.oldEndPath = d, u.needUpdateParaStyle = o, u.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(c, d, !0, !0), await a.docTree.change(u), a.docTree.curDomRange.startPath != "") this.moveCaretToPath(a.docTree.curDomRange.startPath);
30215
30215
  else {
30216
- const f = a.docTree.getNodeLastPath(a.docTree.mainNodes[a.docTree.mainNodes.length - 1]), p = new SelectionChangeEvent(a.docTree.curDomRange, new DomRange$1(this._hoEditorFactoryID, f, f));
30216
+ const f = a.docTree.getNodeLastPath(a.docTree.mainNodes[a.docTree.mainNodes.length - 1]), p = new SelectionChangeEvent(a.docTree.curDomRange, new DomRange(this._hoEditorFactoryID, f, f));
30217
30217
  a.docTree.selectChange(p);
30218
30218
  }
30219
30219
  }
@@ -30772,7 +30772,7 @@ class TextNode extends BaseNode {
30772
30772
  return /* @__PURE__ */ i18nHelper("04-001-009-EMR.3.3.176", null, "文本");
30773
30773
  }
30774
30774
  }
30775
- let DomRange$1 = class Wo {
30775
+ class DomRange {
30776
30776
  // private _beginRangeSelect: boolean;
30777
30777
  constructor(r, o, n) {
30778
30778
  _(this, "_startPath");
@@ -30797,7 +30797,7 @@ let DomRange$1 = class Wo {
30797
30797
  if (!NodePosition.pathCanCompare(this._startPath, this._endPath))
30798
30798
  throw new Error(`无法进行位置比较${this._startPath},${this._endPath}`);
30799
30799
  let r;
30800
- return NodePosition.treePathCompare(this._startPath, this._endPath) > 0 ? r = new Wo(
30800
+ return NodePosition.treePathCompare(this._startPath, this._endPath) > 0 ? r = new DomRange(
30801
30801
  this._hoEditorFactoryID,
30802
30802
  this._endPath,
30803
30803
  this._startPath
@@ -30943,7 +30943,7 @@ let DomRange$1 = class Wo {
30943
30943
  return this._npEnd;
30944
30944
  }
30945
30945
  clone() {
30946
- return new Wo(this._hoEditorFactoryID, this._startPath, this._endPath);
30946
+ return new DomRange(this._hoEditorFactoryID, this._startPath, this._endPath);
30947
30947
  }
30948
30948
  /**
30949
30949
  * 获取节点选中区域的开始位置和结束位置
@@ -30958,7 +30958,7 @@ let DomRange$1 = class Wo {
30958
30958
  }
30959
30959
  static getSelectDomNodesForUpdate(r, o, n) {
30960
30960
  let a = new Array();
30961
- const s = new Wo(
30961
+ const s = new DomRange(
30962
30962
  r,
30963
30963
  o,
30964
30964
  n
@@ -31006,7 +31006,7 @@ let DomRange$1 = class Wo {
31006
31006
  }
31007
31007
  static getSelectDomNodesForDelete(r, o, n) {
31008
31008
  let a = new Array();
31009
- const s = new Wo(
31009
+ const s = new DomRange(
31010
31010
  r,
31011
31011
  o,
31012
31012
  n
@@ -31048,7 +31048,7 @@ let DomRange$1 = class Wo {
31048
31048
  }
31049
31049
  static getSelectDomNodes(r, o, n, a) {
31050
31050
  let s = new Array(), c = -1;
31051
- const d = new Wo(
31051
+ const d = new DomRange(
31052
31052
  r,
31053
31053
  o,
31054
31054
  n
@@ -31119,7 +31119,7 @@ let DomRange$1 = class Wo {
31119
31119
  return w && !y && b && b !== v && (s = s.concat(b.getSelectNodes(d, !0, !0))), [s, c, f];
31120
31120
  }
31121
31121
  static getRangeTextInputField(r, o, n, a) {
31122
- const [s, c, d] = Wo.getSelectDomNodes(r, o, n, a), u = (g) => g instanceof MarkNode && g.MarkNodeType === MarkNodeType.mtStart, f = s.filter(u), p = new Array();
31122
+ const [s, c, d] = DomRange.getSelectDomNodes(r, o, n, a), u = (g) => g instanceof MarkNode && g.MarkNodeType === MarkNodeType.mtStart, f = s.filter(u), p = new Array();
31123
31123
  for (let g = 0; g < f.length; g++)
31124
31124
  p.push(f[g].parentNode);
31125
31125
  return p;
@@ -31133,7 +31133,7 @@ let DomRange$1 = class Wo {
31133
31133
  * @returns
31134
31134
  */
31135
31135
  static getElementNode(r, o, n, a) {
31136
- const [s, c, d] = Wo.getSelectDomNodes(r, o, n, a), u = (g) => g instanceof MarkNode && g.MarkNodeType === MarkNodeType.mtStart || g instanceof DateTimeNode || g instanceof DownListNode, f = s.filter(u), p = new Array();
31136
+ const [s, c, d] = DomRange.getSelectDomNodes(r, o, n, a), u = (g) => g instanceof MarkNode && g.MarkNodeType === MarkNodeType.mtStart || g instanceof DateTimeNode || g instanceof DownListNode, f = s.filter(u), p = new Array();
31137
31137
  for (let g = 0; g < f.length; g++)
31138
31138
  f[g] instanceof MarkNode && f[g].parentNode ? f[g].parentNode instanceof TextInputFieldNode && p.push(f[g].parentNode) : f[g] && p.push(f[g]);
31139
31139
  return p;
@@ -31193,7 +31193,7 @@ let DomRange$1 = class Wo {
31193
31193
  // public toString(): string {
31194
31194
  // return this.start.toString() + "-" + this.end.toString();
31195
31195
  // }
31196
- };
31196
+ }
31197
31197
  class LabelNode extends ControlNode {
31198
31198
  constructor(o, n, a, s, c, d, u) {
31199
31199
  super(o, n, a, s);
@@ -31445,7 +31445,7 @@ class DocTree {
31445
31445
  // private _curUserIndex: number; //当前用户
31446
31446
  //private _curOnSelectedComment: Comment | null; //当前处于选中状态的批注
31447
31447
  _(this, "_ctlKey", 0);
31448
- this._hoEditorFactoryID = r, this._styles = new Array(), this._mainNodes = new Array(), this._curStyleIndex = 0, this._curParaNo = 0, this._curDomRange = new DomRange$1(this._hoEditorFactoryID, "", ""), this._paragraphs = new Array(), this._activeNodes = this._mainNodes, this._nodeChangedHandlers = new Array(), this._nodeChangingHandlers = new Array(), this._selectChangeHandlers = new Array(), this._nodeNeedModifyHandlers = new Array(), this._nodeClickHandlers = new Array(), this._radioAndCheckBoxsMap = /* @__PURE__ */ new Map(), this._curOnDragNode = null, this._userHistories = new Array(), this._elementChangeRecords = /* @__PURE__ */ new Map(), this._redrawHiddenParas = [];
31448
+ this._hoEditorFactoryID = r, this._styles = new Array(), this._mainNodes = new Array(), this._curStyleIndex = 0, this._curParaNo = 0, this._curDomRange = new DomRange(this._hoEditorFactoryID, "", ""), this._paragraphs = new Array(), this._activeNodes = this._mainNodes, this._nodeChangedHandlers = new Array(), this._nodeChangingHandlers = new Array(), this._selectChangeHandlers = new Array(), this._nodeNeedModifyHandlers = new Array(), this._nodeClickHandlers = new Array(), this._radioAndCheckBoxsMap = /* @__PURE__ */ new Map(), this._curOnDragNode = null, this._userHistories = new Array(), this._elementChangeRecords = /* @__PURE__ */ new Map(), this._redrawHiddenParas = [];
31449
31449
  }
31450
31450
  // public static instance(hoef: HOEditorFactory) {
31451
31451
  // if (!this._instance) {
@@ -31708,7 +31708,7 @@ class DocTree {
31708
31708
  const a = new ParagraphNode(this._hoEditorFactoryID, this._mainNodes, null, 0);
31709
31709
  this._mainNodes.push(a);
31710
31710
  const s = a.getNodePath();
31711
- this._curDomRange = new DomRange$1(this._hoEditorFactoryID, s, s);
31711
+ this._curDomRange = new DomRange(this._hoEditorFactoryID, s, s);
31712
31712
  }
31713
31713
  //根据文档节点数组,返回文档节点的路径
31714
31714
  getRootPathByNodes(r) {
@@ -32459,7 +32459,7 @@ class DocTree {
32459
32459
  o
32460
32460
  );
32461
32461
  this.change(n);
32462
- const a = new DomRange$1(this._hoEditorFactoryID, r, o), s = new SelectionChangeEvent(a, this.curDomRange);
32462
+ const a = new DomRange(this._hoEditorFactoryID, r, o), s = new SelectionChangeEvent(a, this.curDomRange);
32463
32463
  this.selectChange(s);
32464
32464
  }
32465
32465
  /**
@@ -32519,7 +32519,7 @@ class DocTree {
32519
32519
  }
32520
32520
  if (this.clear(this._mainNodes), this._mainNodes.splice(1, this._mainNodes.length), this._mainNodes[0] && (this._mainNodes[0].paraNo = 0), s.splice(1, s.length), s[0] && (s[0].subDocNodes.splice(1, s[0].subDocNodes.length), s[0].subDocNodes[0].paraNo = 0, s[0].pageIndex = 0, s[0].beginPath = ""), a.splice(1, a.length), a[0] && (a[0].subDocNodes.splice(1, a[0].subDocNodes.length), a[0].subDocNodes[0].paraNo = 0, a[0].pageIndex = 0, a[0].beginPath = ""), this._nodeChangedHandlers.splice(1, this._nodeChangedHandlers.length), this._nodeChangingHandlers.splice(1, this._nodeChangingHandlers.length), this._nodeClickHandlers.splice(1, this._nodeChangingHandlers.length), this._selectChangeHandlers.splice(1, this._selectChangeHandlers.length), this._nodeNeedModifyHandlers.splice(1, this._nodeNeedModifyHandlers.length), this._curStyleIndex = 0, this._curParaNo = 0, this._paragraphs.splice(1, this._paragraphs.length), this._activeNodes = this._mainNodes, this._radioAndCheckBoxsMap = /* @__PURE__ */ new Map(), this._curOnDragNode = null, this._userHistories = new Array(), this._elementChangeRecords = /* @__PURE__ */ new Map(), this._redrawHiddenParas = [], this._mainNodes[0]) {
32521
32521
  const c = this._mainNodes[0].getNodePath();
32522
- this._curDomRange = new DomRange$1(this._hoEditorFactoryID, c, c);
32522
+ this._curDomRange = new DomRange(this._hoEditorFactoryID, c, c);
32523
32523
  }
32524
32524
  }
32525
32525
  getNodesText(r) {
@@ -32678,7 +32678,7 @@ class DrawSelectLevel {
32678
32678
  if (g && g.node) {
32679
32679
  const y = g.node.prevSibling();
32680
32680
  if (y) {
32681
- const m = o.docTree.curDomRange.clone(), v = o.docTree.getNodeLastPath(y), C = o.docTree.getNodeLastPath(g.node), w = new DomRange$1(o.hoEditorFactoryId, v, C), b = new SelectionChangeEvent(m, w);
32681
+ const m = o.docTree.curDomRange.clone(), v = o.docTree.getNodeLastPath(y), C = o.docTree.getNodeLastPath(g.node), w = new DomRange(o.hoEditorFactoryId, v, C), b = new SelectionChangeEvent(m, w);
32682
32682
  o.docTree.selectChange(b), o.docTree.curDomRange = w;
32683
32683
  }
32684
32684
  if (g.node.nodeType === NodeType$1.ntMedicalExpression || g.node.nodeType === NodeType$1.ntControl && !(g.node instanceof RadioAndCheckBoxNode) || ((a = g.node.parentNode) == null ? void 0 : a.nodeType) === NodeType$1.ntField || g.node.nodeType === NodeType$1.ntSign || g.node.nodeType === NodeType$1.ntGestation || g.node.nodeType === NodeType$1.ntImage || g.node.nodeType === NodeType$1.ntTextBorder || g.node.nodeType === NodeType$1.ntFigure) {
@@ -32718,7 +32718,7 @@ class DrawSelectLevel {
32718
32718
  `;
32719
32719
  if (B != "") {
32720
32720
  o.docTree.curDomRange.clone();
32721
- const j = o.docTree.getNodeLastPath(m.childNodes[m.childNodes.length - 1]), Y = new DomRange$1(o.hoEditorFactoryId, j, j);
32721
+ const j = o.docTree.getNodeLastPath(m.childNodes[m.childNodes.length - 1]), Y = new DomRange(o.hoEditorFactoryId, j, j);
32722
32722
  o.drawTree.moveCaretToPath(j), o.docTree.curDomRange = Y, o.docController.insertPlainTextAfterPath(j, B);
32723
32723
  }
32724
32724
  }
@@ -35165,7 +35165,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35165
35165
  return Q.priority - de.priority;
35166
35166
  }), M;
35167
35167
  }
35168
- var vt = /\d/, wt = /\d\d/, tt = /\d{3}/, rt = /\d{4}/, mt = /[+-]?\d{6}/, ct = /\d\d?/, bt = /\d\d\d\d?/, Ct = /\d\d\d\d\d\d?/, Ft = /\d{1,3}/, St = /\d{1,4}/, Jt = /[+-]?\d{1,6}/, Rt = /\d+/, ir = /[+-]?\d+/, Sr = /Z|[+-]\d\d:?\d\d/gi, zt = /Z|[+-]\d\d(?::?\d\d)?/gi, Vt = /[+-]?\d+(\.\d{1,3})?/, te = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, ae = /^[1-9]\d?/, Se = /^([1-9]\d|\d)/, je;
35168
+ var vt = /\d/, wt = /\d\d/, tt = /\d{3}/, rt = /\d{4}/, mt = /[+-]?\d{6}/, ct = /\d\d?/, xt = /\d\d\d\d?/, Ct = /\d\d\d\d\d\d?/, Ft = /\d{1,3}/, St = /\d{1,4}/, Jt = /[+-]?\d{1,6}/, Rt = /\d+/, ir = /[+-]?\d+/, Sr = /Z|[+-]\d\d:?\d\d/gi, zt = /Z|[+-]\d\d(?::?\d\d)?/gi, Vt = /[+-]?\d+(\.\d{1,3})?/, te = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, ae = /^[1-9]\d?/, Se = /^([1-9]\d|\d)/, je;
35169
35169
  je = {};
35170
35170
  function Ze(S, M, Z) {
35171
35171
  je[S] = Y(M) ? M : function(Q, de) {
@@ -35497,21 +35497,21 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35497
35497
  function Ci(S, M) {
35498
35498
  return typeof S != "string" ? S : isNaN(S) ? (S = M.weekdaysParse(S), typeof S == "number" ? S : null) : parseInt(S, 10);
35499
35499
  }
35500
- function hn(S, M) {
35500
+ function dn(S, M) {
35501
35501
  return typeof S == "string" ? M.weekdaysParse(S) % 7 || 7 : isNaN(S) ? null : S;
35502
35502
  }
35503
35503
  function ki(S, M) {
35504
35504
  return S.slice(M, 7).concat(S.slice(0, M));
35505
35505
  }
35506
- var Tr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), to = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), un = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), Fn = te, In = te, An = te;
35506
+ var Tr = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), to = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), hn = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), En = te, Fn = te, In = te;
35507
35507
  function Vr(S, M) {
35508
35508
  var Z = s(this._weekdays) ? this._weekdays : this._weekdays[S && S !== !0 && this._weekdays.isFormat.test(M) ? "format" : "standalone"];
35509
35509
  return S === !0 ? ki(Z, this._week.dow) : S ? Z[S.day()] : Z;
35510
35510
  }
35511
- function fn(S) {
35511
+ function un(S) {
35512
35512
  return S === !0 ? ki(this._weekdaysShort, this._week.dow) : S ? this._weekdaysShort[S.day()] : this._weekdaysShort;
35513
35513
  }
35514
- function pn(S) {
35514
+ function fn(S) {
35515
35515
  return S === !0 ? ki(this._weekdaysMin, this._week.dow) : S ? this._weekdaysMin[S.day()] : this._weekdaysMin;
35516
35516
  }
35517
35517
  function yo(S, M, Z) {
@@ -35527,7 +35527,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35527
35527
  ).toLocaleLowerCase(), this._weekdaysParse[Q] = this.weekdays(Me, "").toLocaleLowerCase();
35528
35528
  return Z ? M === "dddd" ? (de = vr.call(this._weekdaysParse, $e), de !== -1 ? de : null) : M === "ddd" ? (de = vr.call(this._shortWeekdaysParse, $e), de !== -1 ? de : null) : (de = vr.call(this._minWeekdaysParse, $e), de !== -1 ? de : null) : M === "dddd" ? (de = vr.call(this._weekdaysParse, $e), de !== -1 || (de = vr.call(this._shortWeekdaysParse, $e), de !== -1) ? de : (de = vr.call(this._minWeekdaysParse, $e), de !== -1 ? de : null)) : M === "ddd" ? (de = vr.call(this._shortWeekdaysParse, $e), de !== -1 || (de = vr.call(this._weekdaysParse, $e), de !== -1) ? de : (de = vr.call(this._minWeekdaysParse, $e), de !== -1 ? de : null)) : (de = vr.call(this._minWeekdaysParse, $e), de !== -1 || (de = vr.call(this._weekdaysParse, $e), de !== -1) ? de : (de = vr.call(this._shortWeekdaysParse, $e), de !== -1 ? de : null));
35529
35529
  }
35530
- function Zo(S, M, Z) {
35530
+ function Yo(S, M, Z) {
35531
35531
  var Q, de, Me;
35532
35532
  if (this._weekdaysParseExact)
35533
35533
  return yo.call(this, S, M, Z);
@@ -35557,31 +35557,31 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35557
35557
  var M = mi(this, "Day");
35558
35558
  return S != null ? (S = Ci(S, this.localeData()), this.add(S - M, "d")) : M;
35559
35559
  }
35560
- function Ln(S) {
35560
+ function An(S) {
35561
35561
  if (!this.isValid())
35562
35562
  return S != null ? this : NaN;
35563
35563
  var M = (this.day() + 7 - this.localeData()._week.dow) % 7;
35564
35564
  return S == null ? M : this.add(S - M, "d");
35565
35565
  }
35566
- function Mn(S) {
35566
+ function Ln(S) {
35567
35567
  if (!this.isValid())
35568
35568
  return S != null ? this : NaN;
35569
35569
  if (S != null) {
35570
- var M = hn(S, this.localeData());
35570
+ var M = dn(S, this.localeData());
35571
35571
  return this.day(this.day() % 7 ? M : M - 7);
35572
35572
  } else
35573
35573
  return this.day() || 7;
35574
35574
  }
35575
- function Go(S) {
35576
- return this._weekdaysParseExact ? (d(this, "_weekdaysRegex") || Vo.call(this), S ? this._weekdaysStrictRegex : this._weekdaysRegex) : (d(this, "_weekdaysRegex") || (this._weekdaysRegex = Fn), this._weekdaysStrictRegex && S ? this._weekdaysStrictRegex : this._weekdaysRegex);
35575
+ function Zo(S) {
35576
+ return this._weekdaysParseExact ? (d(this, "_weekdaysRegex") || Go.call(this), S ? this._weekdaysStrictRegex : this._weekdaysRegex) : (d(this, "_weekdaysRegex") || (this._weekdaysRegex = En), this._weekdaysStrictRegex && S ? this._weekdaysStrictRegex : this._weekdaysRegex);
35577
35577
  }
35578
- function gn(S) {
35579
- return this._weekdaysParseExact ? (d(this, "_weekdaysRegex") || Vo.call(this), S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (d(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = In), this._weekdaysShortStrictRegex && S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
35578
+ function pn(S) {
35579
+ return this._weekdaysParseExact ? (d(this, "_weekdaysRegex") || Go.call(this), S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (d(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Fn), this._weekdaysShortStrictRegex && S ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
35580
35580
  }
35581
35581
  function Hi(S) {
35582
- return this._weekdaysParseExact ? (d(this, "_weekdaysRegex") || Vo.call(this), S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (d(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = An), this._weekdaysMinStrictRegex && S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
35582
+ return this._weekdaysParseExact ? (d(this, "_weekdaysRegex") || Go.call(this), S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (d(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = In), this._weekdaysMinStrictRegex && S ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
35583
35583
  }
35584
- function Vo() {
35584
+ function Go() {
35585
35585
  function S(Lr, pi) {
35586
35586
  return pi.length - Lr.length;
35587
35587
  }
@@ -35602,10 +35602,10 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35602
35602
  function ro() {
35603
35603
  return this.hours() % 12 || 12;
35604
35604
  }
35605
- function Rn() {
35605
+ function Mn() {
35606
35606
  return this.hours() || 24;
35607
35607
  }
35608
- ce("H", ["HH", 2], 0, "hour"), ce("h", ["hh", 2], 0, ro), ce("k", ["kk", 2], 0, Rn), ce("hmm", 0, 0, function() {
35608
+ ce("H", ["HH", 2], 0, "hour"), ce("h", ["hh", 2], 0, ro), ce("k", ["kk", 2], 0, Mn), ce("hmm", 0, 0, function() {
35609
35609
  return "" + ro.apply(this) + Ce(this.minutes(), 2);
35610
35610
  }), ce("hmmss", 0, 0, function() {
35611
35611
  return "" + ro.apply(this) + Ce(this.minutes(), 2) + Ce(this.seconds(), 2);
@@ -35614,7 +35614,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35614
35614
  }), ce("Hmmss", 0, 0, function() {
35615
35615
  return "" + this.hours() + Ce(this.minutes(), 2) + Ce(this.seconds(), 2);
35616
35616
  });
35617
- function mn(S, M) {
35617
+ function gn(S, M) {
35618
35618
  ce(S, 0, 0, function() {
35619
35619
  return this.localeData().meridiem(
35620
35620
  this.hours(),
@@ -35623,11 +35623,11 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35623
35623
  );
35624
35624
  });
35625
35625
  }
35626
- mn("a", !0), mn("A", !1);
35626
+ gn("a", !0), gn("A", !1);
35627
35627
  function Oi(S, M) {
35628
35628
  return M._meridiemParse;
35629
35629
  }
35630
- Ze("a", Oi), Ze("A", Oi), Ze("H", ct, Se), Ze("h", ct, ae), Ze("k", ct, ae), Ze("HH", ct, wt), Ze("hh", ct, wt), Ze("kk", ct, wt), Ze("hmm", bt), Ze("hmmss", Ct), Ze("Hmm", bt), Ze("Hmmss", Ct), kt(["H", "HH"], Gt), kt(["k", "kk"], function(S, M, Z) {
35630
+ Ze("a", Oi), Ze("A", Oi), Ze("H", ct, Se), Ze("h", ct, ae), Ze("k", ct, ae), Ze("HH", ct, wt), Ze("hh", ct, wt), Ze("kk", ct, wt), Ze("hmm", xt), Ze("hmmss", Ct), Ze("Hmm", xt), Ze("Hmmss", Ct), kt(["H", "HH"], Gt), kt(["k", "kk"], function(S, M, Z) {
35631
35631
  var Q = ut(S);
35632
35632
  M[Gt] = Q === 24 ? 0 : Q;
35633
35633
  }), kt(["a", "A"], function(S, M, Z) {
@@ -35647,10 +35647,10 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35647
35647
  var Q = S.length - 4, de = S.length - 2;
35648
35648
  M[Gt] = ut(S.substr(0, Q)), M[ar] = ut(S.substr(Q, 2)), M[gr] = ut(S.substr(de));
35649
35649
  });
35650
- function kn(S) {
35650
+ function Rn(S) {
35651
35651
  return (S + "").toLowerCase().charAt(0) === "p";
35652
35652
  }
35653
- var vo = /[ap]\.?m?\.?/i, Hn = ni("Hours", !0);
35653
+ var vo = /[ap]\.?m?\.?/i, kn = ni("Hours", !0);
35654
35654
  function Bi(S, M, Z) {
35655
35655
  return S > 11 ? Z ? "pm" : "PM" : Z ? "am" : "AM";
35656
35656
  }
@@ -35665,7 +35665,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35665
35665
  monthsShort: Ki,
35666
35666
  week: sr,
35667
35667
  weekdays: Tr,
35668
- weekdaysMin: un,
35668
+ weekdaysMin: hn,
35669
35669
  weekdaysShort: to,
35670
35670
  meridiemParse: vo
35671
35671
  }, mr = {}, xi = {}, li;
@@ -35679,7 +35679,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35679
35679
  function Di(S) {
35680
35680
  return S && S.toLowerCase().replace("_", "-");
35681
35681
  }
35682
- function yn(S) {
35682
+ function mn(S) {
35683
35683
  for (var M = 0, Z, Q, de, Me; M < S.length; ) {
35684
35684
  for (Me = Di(S[M]).split("-"), Z = Me.length, Q = Di(S[M + 1]), Q = Q ? Q.split("-") : null; Z > 0; ) {
35685
35685
  if (de = Co(Me.slice(0, Z).join("-")), de)
@@ -35750,16 +35750,16 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35750
35750
  return M;
35751
35751
  S = [S];
35752
35752
  }
35753
- return yn(S);
35753
+ return mn(S);
35754
35754
  }
35755
- function vn() {
35755
+ function yn() {
35756
35756
  return V(mr);
35757
35757
  }
35758
35758
  function oo(S) {
35759
35759
  var M, Z = S._a;
35760
35760
  return Z && w(S).overflow === -2 && (M = Z[ur] < 0 || Z[ur] > 11 ? ur : Z[jt] < 1 || Z[jt] > wi(Z[Ut], Z[ur]) ? jt : Z[Gt] < 0 || Z[Gt] > 24 || Z[Gt] === 24 && (Z[ar] !== 0 || Z[gr] !== 0 || Z[Rr] !== 0) ? Gt : Z[ar] < 0 || Z[ar] > 59 ? ar : Z[gr] < 0 || Z[gr] > 59 ? gr : Z[Rr] < 0 || Z[Rr] > 999 ? Rr : -1, w(S)._overflowDayOfYear && (M < Ut || M > jt) && (M = jt), w(S)._overflowWeeks && M === -1 && (M = Yr), w(S)._overflowWeekday && M === -1 && (M = Pi), w(S).overflow = M), S;
35761
35761
  }
35762
- var wn = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, On = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, xo = /Z|[+-]\d\d(?::?\d\d)?/, zi = [
35762
+ var vn = /^\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)?)?$/, Hn = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, xo = /Z|[+-]\d\d(?::?\d\d)?/, zi = [
35763
35763
  ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
35764
35764
  ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
35765
35765
  ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
@@ -35796,7 +35796,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35796
35796
  PST: -8 * 60
35797
35797
  };
35798
35798
  function X(S) {
35799
- var M, Z, Q = S._i, de = wn.exec(Q) || On.exec(Q), Me, $e, Pt, Mt, Xt = zi.length, Lr = no.length;
35799
+ var M, Z, Q = S._i, de = vn.exec(Q) || Hn.exec(Q), Me, $e, Pt, Mt, Xt = zi.length, Lr = no.length;
35800
35800
  if (de) {
35801
35801
  for (w(S).iso = !0, M = 0, Z = Xt; M < Z; M++)
35802
35802
  if (zi[M][1].exec(de[1])) {
@@ -36010,7 +36010,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36010
36010
  function cr(S, M, Z, Q) {
36011
36011
  return Po(S, M, Z, Q, !1);
36012
36012
  }
36013
- var Xo = H(
36013
+ var Vo = H(
36014
36014
  "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
36015
36015
  function() {
36016
36016
  var S = cr.apply(null, arguments);
@@ -36031,7 +36031,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36031
36031
  (!M[Q].isValid() || M[Q][S](Z)) && (Z = M[Q]);
36032
36032
  return Z;
36033
36033
  }
36034
- function qo() {
36034
+ function Xo() {
36035
36035
  var S = [].slice.call(arguments, 0);
36036
36036
  return To("isBefore", S);
36037
36037
  }
@@ -36065,10 +36065,10 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36065
36065
  }
36066
36066
  return !0;
36067
36067
  }
36068
- function Qo() {
36068
+ function qo() {
36069
36069
  return this._isValid;
36070
36070
  }
36071
- function Jo() {
36071
+ function Qo() {
36072
36072
  return Or(NaN);
36073
36073
  }
36074
36074
  function Fr(S) {
@@ -36083,7 +36083,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36083
36083
  function ji(S) {
36084
36084
  return S < 0 ? Math.round(-1 * S) * -1 : Math.round(S);
36085
36085
  }
36086
- function Ko(S, M, Z) {
36086
+ function Jo(S, M, Z) {
36087
36087
  var Q = Math.min(S.length, M.length), de = Math.abs(S.length - M.length), Me = 0, $e;
36088
36088
  for ($e = 0; $e < Q; $e++)
36089
36089
  ut(S[$e]) !== ut(M[$e]) && Me++;
@@ -36098,10 +36098,10 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36098
36098
  Do("Z", ":"), Do("ZZ", ""), Ze("Z", zt), Ze("ZZ", zt), kt(["Z", "ZZ"], function(S, M, Z) {
36099
36099
  Z._useUTC = !0, Z._tzm = lo(zt, S);
36100
36100
  });
36101
- var Bn = /([\+\-]|\d\d)/gi;
36101
+ var On = /([\+\-]|\d\d)/gi;
36102
36102
  function lo(S, M) {
36103
36103
  var Z = (M || "").match(S), Q, de, Me;
36104
- return Z === null ? null : (Q = Z[Z.length - 1] || [], de = (Q + "").match(Bn) || ["-", 0, 0], Me = +(de[1] * 60) + ut(de[2]), Me === 0 ? 0 : de[0] === "+" ? Me : -Me);
36104
+ return Z === null ? null : (Q = Z[Z.length - 1] || [], de = (Q + "").match(On) || ["-", 0, 0], Me = +(de[1] * 60) + ut(de[2]), Me === 0 ? 0 : de[0] === "+" ? Me : -Me);
36105
36105
  }
36106
36106
  function qr(S, M) {
36107
36107
  var Z, Q;
@@ -36148,17 +36148,17 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36148
36148
  }
36149
36149
  return this;
36150
36150
  }
36151
- function $o(S) {
36151
+ function Ko(S) {
36152
36152
  return this.isValid() ? (S = S ? cr(S).utcOffset() : 0, (this.utcOffset() - S) % 60 === 0) : !1;
36153
36153
  }
36154
36154
  function hi() {
36155
36155
  return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
36156
36156
  }
36157
- function Cn() {
36157
+ function wn() {
36158
36158
  if (!f(this._isDSTShifted))
36159
36159
  return this._isDSTShifted;
36160
36160
  var S = {}, M;
36161
- return A(S, this), S = Ei(S), S._a ? (M = S._isUTC ? v(S._a) : cr(S._a), this._isDSTShifted = this.isValid() && Ko(S._a, M.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
36161
+ return A(S, this), S = Ei(S), S._a ? (M = S._isUTC ? v(S._a) : cr(S._a), this._isDSTShifted = this.isValid() && Jo(S._a, M.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
36162
36162
  }
36163
36163
  function Eo() {
36164
36164
  return this.isValid() ? !this._isUTC : !1;
@@ -36192,12 +36192,12 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36192
36192
  h: zr(Q[6], de),
36193
36193
  m: zr(Q[7], de),
36194
36194
  s: zr(Q[8], de)
36195
- }) : Z == null ? Z = {} : typeof Z == "object" && ("from" in Z || "to" in Z) && ($e = en(
36195
+ }) : Z == null ? Z = {} : typeof Z == "object" && ("from" in Z || "to" in Z) && ($e = $o(
36196
36196
  cr(Z.from),
36197
36197
  cr(Z.to)
36198
36198
  ), Z = {}, Z.ms = $e.milliseconds, Z.M = $e.months), Me = new Fr(Z), so(S) && d(S, "_locale") && (Me._locale = S._locale), so(S) && d(S, "_isValid") && (Me._isValid = S._isValid), Me;
36199
36199
  }
36200
- Or.fn = Fr.prototype, Or.invalid = Jo;
36200
+ Or.fn = Fr.prototype, Or.invalid = Qo;
36201
36201
  function zr(S, M) {
36202
36202
  var Z = S && parseFloat(S.replace(",", "."));
36203
36203
  return (isNaN(Z) ? 0 : Z) * M;
@@ -36206,7 +36206,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36206
36206
  var Z = {};
36207
36207
  return Z.months = M.month() - S.month() + (M.year() - S.year()) * 12, S.clone().add(Z.months, "M").isAfter(M) && --Z.months, Z.milliseconds = +M - +S.clone().add(Z.months, "M"), Z;
36208
36208
  }
36209
- function en(S, M) {
36209
+ function $o(S, M) {
36210
36210
  var Z;
36211
36211
  return S.isValid() && M.isValid() ? (M = qr(M, S), S.isBefore(M) ? Z = Ii(S, M) : (Z = Ii(M, S), Z.milliseconds = -Z.milliseconds, Z.months = -Z.months), Z) : { milliseconds: 0, months: 0 };
36212
36212
  }
@@ -36284,39 +36284,39 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36284
36284
  var Z = S.diff(M, "days", !0);
36285
36285
  return Z < -6 ? "sameElse" : Z < -1 ? "lastWeek" : Z < 0 ? "lastDay" : Z < 1 ? "sameDay" : Z < 2 ? "nextDay" : Z < 7 ? "nextWeek" : "sameElse";
36286
36286
  }
36287
- function xn(S, M) {
36287
+ function Cn(S, M) {
36288
36288
  arguments.length === 1 && (arguments[0] ? yr(arguments[0]) ? (S = arguments[0], M = void 0) : fi(arguments[0]) && (M = arguments[0], S = void 0) : (S = void 0, M = void 0));
36289
36289
  var Z = S || cr(), Q = qr(Z, this).startOf("day"), de = n.calendarFormat(this, Q) || "sameElse", Me = M && (Y(M[de]) ? M[de].call(this, Z) : M[de]);
36290
36290
  return this.format(
36291
36291
  Me || this.localeData().calendar(de, this, cr(Z))
36292
36292
  );
36293
36293
  }
36294
- function zn() {
36294
+ function Bn() {
36295
36295
  return new R(this);
36296
36296
  }
36297
- function ia(S, M) {
36297
+ function ra(S, M) {
36298
36298
  var Z = O(S) ? S : cr(S);
36299
36299
  return this.isValid() && Z.isValid() ? (M = Be(M) || "millisecond", M === "millisecond" ? this.valueOf() > Z.valueOf() : Z.valueOf() < this.clone().startOf(M).valueOf()) : !1;
36300
36300
  }
36301
- function Wn(S, M) {
36301
+ function zn(S, M) {
36302
36302
  var Z = O(S) ? S : cr(S);
36303
36303
  return this.isValid() && Z.isValid() ? (M = Be(M) || "millisecond", M === "millisecond" ? this.valueOf() < Z.valueOf() : this.clone().endOf(M).valueOf() < Z.valueOf()) : !1;
36304
36304
  }
36305
- function jn(S, M, Z, Q) {
36305
+ function Wn(S, M, Z, Q) {
36306
36306
  var de = O(S) ? S : cr(S), Me = O(M) ? M : cr(M);
36307
36307
  return this.isValid() && de.isValid() && Me.isValid() ? (Q = Q || "()", (Q[0] === "(" ? this.isAfter(de, Z) : !this.isBefore(de, Z)) && (Q[1] === ")" ? this.isBefore(Me, Z) : !this.isAfter(Me, Z))) : !1;
36308
36308
  }
36309
- function bn(S, M) {
36309
+ function xn(S, M) {
36310
36310
  var Z = O(S) ? S : cr(S), Q;
36311
36311
  return this.isValid() && Z.isValid() ? (M = Be(M) || "millisecond", M === "millisecond" ? this.valueOf() === Z.valueOf() : (Q = Z.valueOf(), this.clone().startOf(M).valueOf() <= Q && Q <= this.clone().endOf(M).valueOf())) : !1;
36312
36312
  }
36313
- function Un(S, M) {
36313
+ function jn(S, M) {
36314
36314
  return this.isSame(S, M) || this.isAfter(S, M);
36315
36315
  }
36316
- function Ua(S, M) {
36316
+ function ja(S, M) {
36317
36317
  return this.isSame(S, M) || this.isBefore(S, M);
36318
36318
  }
36319
- function Ya(S, M, Z) {
36319
+ function Ua(S, M, Z) {
36320
36320
  var Q, de, Me;
36321
36321
  if (!this.isValid())
36322
36322
  return NaN;
@@ -36324,13 +36324,13 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36324
36324
  return NaN;
36325
36325
  switch (de = (Q.utcOffset() - this.utcOffset()) * 6e4, M = Be(M), M) {
36326
36326
  case "year":
36327
- Me = tn(this, Q) / 12;
36327
+ Me = en(this, Q) / 12;
36328
36328
  break;
36329
36329
  case "month":
36330
- Me = tn(this, Q);
36330
+ Me = en(this, Q);
36331
36331
  break;
36332
36332
  case "quarter":
36333
- Me = tn(this, Q) / 3;
36333
+ Me = en(this, Q) / 3;
36334
36334
  break;
36335
36335
  case "second":
36336
36336
  Me = (this - Q) / 1e3;
@@ -36357,17 +36357,17 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36357
36357
  }
36358
36358
  return Z ? Me : or(Me);
36359
36359
  }
36360
- function tn(S, M) {
36360
+ function en(S, M) {
36361
36361
  if (S.date() < M.date())
36362
- return -tn(M, S);
36362
+ return -en(M, S);
36363
36363
  var Z = (M.year() - S.year()) * 12 + (M.month() - S.month()), Q = S.clone().add(Z, "months"), de, Me;
36364
36364
  return M - Q < 0 ? (de = S.clone().add(Z - 1, "months"), Me = (M - Q) / (Q - de)) : (de = S.clone().add(Z + 1, "months"), Me = (M - Q) / (de - Q)), -(Z + Me) || 0;
36365
36365
  }
36366
36366
  n.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ", n.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
36367
- function Za() {
36367
+ function Ya() {
36368
36368
  return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
36369
36369
  }
36370
- function Ga(S) {
36370
+ function Za(S) {
36371
36371
  if (!this.isValid())
36372
36372
  return null;
36373
36373
  var M = S !== !0, Z = M ? this.clone().utc() : this;
@@ -36379,51 +36379,51 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36379
36379
  M ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
36380
36380
  );
36381
36381
  }
36382
- function Va() {
36382
+ function Ga() {
36383
36383
  if (!this.isValid())
36384
36384
  return "moment.invalid(/* " + this._i + " */)";
36385
36385
  var S = "moment", M = "", Z, Q, de, Me;
36386
36386
  return this.isLocal() || (S = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", M = "Z"), Z = "[" + S + '("]', Q = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", de = "-MM-DD[T]HH:mm:ss.SSS", Me = M + '[")]', this.format(Z + Q + de + Me);
36387
36387
  }
36388
- function Xa(S) {
36388
+ function Va(S) {
36389
36389
  S || (S = this.isUtc() ? n.defaultFormatUtc : n.defaultFormat);
36390
36390
  var M = ye(this, S);
36391
36391
  return this.localeData().postformat(M);
36392
36392
  }
36393
- function qa(S, M) {
36393
+ function Xa(S, M) {
36394
36394
  return this.isValid() && (O(S) && S.isValid() || cr(S).isValid()) ? Or({ to: this, from: S }).locale(this.locale()).humanize(!M) : this.localeData().invalidDate();
36395
36395
  }
36396
- function Yn(S) {
36396
+ function Un(S) {
36397
36397
  return this.from(cr(), S);
36398
36398
  }
36399
- function Zn(S, M) {
36399
+ function Yn(S, M) {
36400
36400
  return this.isValid() && (O(S) && S.isValid() || cr(S).isValid()) ? Or({ from: this, to: S }).locale(this.locale()).humanize(!M) : this.localeData().invalidDate();
36401
36401
  }
36402
- function rn(S) {
36402
+ function tn(S) {
36403
36403
  return this.to(cr(), S);
36404
36404
  }
36405
- function oa(S) {
36405
+ function ia(S) {
36406
36406
  var M;
36407
36407
  return S === void 0 ? this._locale._abbr : (M = Br(S), M != null && (this._locale = M), this);
36408
36408
  }
36409
- var na = H(
36409
+ var oa = H(
36410
36410
  "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
36411
36411
  function(S) {
36412
36412
  return S === void 0 ? this.localeData() : this.locale(S);
36413
36413
  }
36414
36414
  );
36415
- function Gn() {
36415
+ function Zn() {
36416
36416
  return this._locale;
36417
36417
  }
36418
- var _n = 1e3, Io = 60 * _n, Pn = 60 * Io, aa = (365 * 400 + 97) * 24 * Pn;
36418
+ var bn = 1e3, Io = 60 * bn, _n = 60 * Io, na = (365 * 400 + 97) * 24 * _n;
36419
36419
  function uo(S, M) {
36420
36420
  return (S % M + M) % M;
36421
36421
  }
36422
36422
  function Li(S, M, Z) {
36423
- return S < 100 && S >= 0 ? new Date(S + 400, M, Z) - aa : new Date(S, M, Z).valueOf();
36423
+ return S < 100 && S >= 0 ? new Date(S + 400, M, Z) - na : new Date(S, M, Z).valueOf();
36424
36424
  }
36425
36425
  function ei(S, M, Z) {
36426
- return S < 100 && S >= 0 ? Date.UTC(S + 400, M, Z) - aa : Date.UTC(S, M, Z);
36426
+ return S < 100 && S >= 0 ? Date.UTC(S + 400, M, Z) - na : Date.UTC(S, M, Z);
36427
36427
  }
36428
36428
  function Mi(S) {
36429
36429
  var M, Z;
@@ -36464,19 +36464,19 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36464
36464
  case "hour":
36465
36465
  M = this._d.valueOf(), M -= uo(
36466
36466
  M + (this._isUTC ? 0 : this.utcOffset() * Io),
36467
- Pn
36467
+ _n
36468
36468
  );
36469
36469
  break;
36470
36470
  case "minute":
36471
36471
  M = this._d.valueOf(), M -= uo(M, Io);
36472
36472
  break;
36473
36473
  case "second":
36474
- M = this._d.valueOf(), M -= uo(M, _n);
36474
+ M = this._d.valueOf(), M -= uo(M, bn);
36475
36475
  break;
36476
36476
  }
36477
36477
  return this._d.setTime(M), n.updateOffset(this, !0), this;
36478
36478
  }
36479
- function Nn(S) {
36479
+ function Pn(S) {
36480
36480
  var M, Z;
36481
36481
  if (S = Be(S), S === void 0 || S === "millisecond" || !this.isValid())
36482
36482
  return this;
@@ -36513,30 +36513,30 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36513
36513
  M = Z(this.year(), this.month(), this.date() + 1) - 1;
36514
36514
  break;
36515
36515
  case "hour":
36516
- M = this._d.valueOf(), M += Pn - uo(
36516
+ M = this._d.valueOf(), M += _n - uo(
36517
36517
  M + (this._isUTC ? 0 : this.utcOffset() * Io),
36518
- Pn
36518
+ _n
36519
36519
  ) - 1;
36520
36520
  break;
36521
36521
  case "minute":
36522
36522
  M = this._d.valueOf(), M += Io - uo(M, Io) - 1;
36523
36523
  break;
36524
36524
  case "second":
36525
- M = this._d.valueOf(), M += _n - uo(M, _n) - 1;
36525
+ M = this._d.valueOf(), M += bn - uo(M, bn) - 1;
36526
36526
  break;
36527
36527
  }
36528
36528
  return this._d.setTime(M), n.updateOffset(this, !0), this;
36529
36529
  }
36530
- function sa() {
36530
+ function aa() {
36531
36531
  return this._d.valueOf() - (this._offset || 0) * 6e4;
36532
36532
  }
36533
- function Vn() {
36533
+ function Gn() {
36534
36534
  return Math.floor(this.valueOf() / 1e3);
36535
36535
  }
36536
36536
  function Ao() {
36537
36537
  return new Date(this.valueOf());
36538
36538
  }
36539
- function Xn() {
36539
+ function Vn() {
36540
36540
  var S = this;
36541
36541
  return [
36542
36542
  S.year(),
@@ -36548,7 +36548,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36548
36548
  S.millisecond()
36549
36549
  ];
36550
36550
  }
36551
- function la() {
36551
+ function sa() {
36552
36552
  var S = this;
36553
36553
  return {
36554
36554
  years: S.year(),
@@ -36560,19 +36560,19 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36560
36560
  milliseconds: S.milliseconds()
36561
36561
  };
36562
36562
  }
36563
- function ca() {
36563
+ function la() {
36564
36564
  return this.isValid() ? this.toISOString() : null;
36565
36565
  }
36566
- function da() {
36566
+ function ca() {
36567
36567
  return N(this);
36568
36568
  }
36569
- function ha() {
36569
+ function da() {
36570
36570
  return m({}, w(this));
36571
36571
  }
36572
- function ua() {
36572
+ function ha() {
36573
36573
  return w(this).overflow;
36574
36574
  }
36575
- function fa() {
36575
+ function ua() {
36576
36576
  return {
36577
36577
  input: this._i,
36578
36578
  format: this._f,
@@ -36581,7 +36581,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36581
36581
  strict: this._strict
36582
36582
  };
36583
36583
  }
36584
- ce("N", 0, 0, "eraAbbr"), ce("NN", 0, 0, "eraAbbr"), ce("NNN", 0, 0, "eraAbbr"), ce("NNNN", 0, 0, "eraName"), ce("NNNNN", 0, 0, "eraNarrow"), ce("y", ["y", 1], "yo", "eraYear"), ce("y", ["yy", 2], 0, "eraYear"), ce("y", ["yyy", 3], 0, "eraYear"), ce("y", ["yyyy", 4], 0, "eraYear"), Ze("N", Tn), Ze("NN", Tn), Ze("NNN", Tn), Ze("NNNN", xa), Ze("NNNNN", ba), kt(
36584
+ ce("N", 0, 0, "eraAbbr"), ce("NN", 0, 0, "eraAbbr"), ce("NNN", 0, 0, "eraAbbr"), ce("NNNN", 0, 0, "eraName"), ce("NNNNN", 0, 0, "eraNarrow"), ce("y", ["y", 1], "yo", "eraYear"), ce("y", ["yy", 2], 0, "eraYear"), ce("y", ["yyy", 3], 0, "eraYear"), ce("y", ["yyyy", 4], 0, "eraYear"), Ze("N", Nn), Ze("NN", Nn), Ze("NNN", Nn), Ze("NNNN", Ca), Ze("NNNNN", xa), kt(
36585
36585
  ["N", "NN", "NNN", "NNNN", "NNNNN"],
36586
36586
  function(S, M, Z, Q) {
36587
36587
  var de = Z._locale.erasParse(S, Q, Z._strict);
@@ -36591,7 +36591,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36591
36591
  var de;
36592
36592
  Z._locale._eraYearOrdinalRegex && (de = S.match(Z._locale._eraYearOrdinalRegex)), Z._locale.eraYearOrdinalParse ? M[Ut] = Z._locale.eraYearOrdinalParse(S, de) : M[Ut] = parseInt(S, 10);
36593
36593
  });
36594
- function pa(S, M) {
36594
+ function fa(S, M) {
36595
36595
  var Z, Q, de, Me = this._eras || Br("en")._eras;
36596
36596
  for (Z = 0, Q = Me.length; Z < Q; ++Z) {
36597
36597
  switch (typeof Me[Z].since) {
@@ -36610,7 +36610,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36610
36610
  }
36611
36611
  return Me;
36612
36612
  }
36613
- function ga(S, M, Z) {
36613
+ function pa(S, M, Z) {
36614
36614
  var Q, de, Me = this.eras(), $e, Pt, Mt;
36615
36615
  for (S = S.toUpperCase(), Q = 0, de = Me.length; Q < de; ++Q)
36616
36616
  if ($e = Me[Q].name.toUpperCase(), Pt = Me[Q].abbr.toUpperCase(), Mt = Me[Q].narrow.toUpperCase(), Z)
@@ -36633,60 +36633,60 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36633
36633
  else if ([$e, Pt, Mt].indexOf(S) >= 0)
36634
36634
  return Me[Q];
36635
36635
  }
36636
- function ma(S, M) {
36636
+ function ga(S, M) {
36637
36637
  var Z = S.since <= S.until ? 1 : -1;
36638
36638
  return M === void 0 ? n(S.since).year() : n(S.since).year() + (M - S.offset) * Z;
36639
36639
  }
36640
- function ya() {
36640
+ function ma() {
36641
36641
  var S, M, Z, Q = this.localeData().eras();
36642
36642
  for (S = 0, M = Q.length; S < M; ++S)
36643
36643
  if (Z = this.clone().startOf("day").valueOf(), Q[S].since <= Z && Z <= Q[S].until || Q[S].until <= Z && Z <= Q[S].since)
36644
36644
  return Q[S].name;
36645
36645
  return "";
36646
36646
  }
36647
- function va() {
36647
+ function ya() {
36648
36648
  var S, M, Z, Q = this.localeData().eras();
36649
36649
  for (S = 0, M = Q.length; S < M; ++S)
36650
36650
  if (Z = this.clone().startOf("day").valueOf(), Q[S].since <= Z && Z <= Q[S].until || Q[S].until <= Z && Z <= Q[S].since)
36651
36651
  return Q[S].narrow;
36652
36652
  return "";
36653
36653
  }
36654
- function wa() {
36654
+ function va() {
36655
36655
  var S, M, Z, Q = this.localeData().eras();
36656
36656
  for (S = 0, M = Q.length; S < M; ++S)
36657
36657
  if (Z = this.clone().startOf("day").valueOf(), Q[S].since <= Z && Z <= Q[S].until || Q[S].until <= Z && Z <= Q[S].since)
36658
36658
  return Q[S].abbr;
36659
36659
  return "";
36660
36660
  }
36661
- function Qa() {
36661
+ function qa() {
36662
36662
  var S, M, Z, Q, de = this.localeData().eras();
36663
36663
  for (S = 0, M = de.length; S < M; ++S)
36664
36664
  if (Z = de[S].since <= de[S].until ? 1 : -1, Q = this.clone().startOf("day").valueOf(), de[S].since <= Q && Q <= de[S].until || de[S].until <= Q && Q <= de[S].since)
36665
36665
  return (this.year() - n(de[S].since).year()) * Z + de[S].offset;
36666
36666
  return this.year();
36667
36667
  }
36668
- function Ca(S) {
36669
- return d(this, "_erasNameRegex") || qn.call(this), S ? this._erasNameRegex : this._erasRegex;
36668
+ function wa(S) {
36669
+ return d(this, "_erasNameRegex") || Xn.call(this), S ? this._erasNameRegex : this._erasRegex;
36670
36670
  }
36671
36671
  function Vi(S) {
36672
- return d(this, "_erasAbbrRegex") || qn.call(this), S ? this._erasAbbrRegex : this._erasRegex;
36672
+ return d(this, "_erasAbbrRegex") || Xn.call(this), S ? this._erasAbbrRegex : this._erasRegex;
36673
36673
  }
36674
- function on(S) {
36675
- return d(this, "_erasNarrowRegex") || qn.call(this), S ? this._erasNarrowRegex : this._erasRegex;
36674
+ function rn(S) {
36675
+ return d(this, "_erasNarrowRegex") || Xn.call(this), S ? this._erasNarrowRegex : this._erasRegex;
36676
36676
  }
36677
- function Tn(S, M) {
36677
+ function Nn(S, M) {
36678
36678
  return M.erasAbbrRegex(S);
36679
36679
  }
36680
- function xa(S, M) {
36680
+ function Ca(S, M) {
36681
36681
  return M.erasNameRegex(S);
36682
36682
  }
36683
- function ba(S, M) {
36683
+ function xa(S, M) {
36684
36684
  return M.erasNarrowRegex(S);
36685
36685
  }
36686
36686
  function ti(S, M) {
36687
36687
  return M._eraYearOrdinalRegex || Rt;
36688
36688
  }
36689
- function qn() {
36689
+ function Xn() {
36690
36690
  var S = [], M = [], Z = [], Q = [], de, Me, $e, Pt, Mt, Xt = this.eras();
36691
36691
  for (de = 0, Me = Xt.length; de < Me; ++de)
36692
36692
  $e = Kt(Xt[de].name), Pt = Kt(Xt[de].abbr), Mt = Kt(Xt[de].narrow), M.push($e), S.push(Pt), Z.push(Mt), Q.push($e), Q.push(Pt), Q.push(Mt);
@@ -36700,10 +36700,10 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36700
36700
  }), ce(0, ["GG", 2], 0, function() {
36701
36701
  return this.isoWeekYear() % 100;
36702
36702
  });
36703
- function Dn(S, M) {
36703
+ function Tn(S, M) {
36704
36704
  ce(0, [S, S.length], 0, M);
36705
36705
  }
36706
- Dn("gggg", "weekYear"), Dn("ggggg", "weekYear"), Dn("GGGG", "isoWeekYear"), Dn("GGGGG", "isoWeekYear"), Ze("G", ir), Ze("g", ir), Ze("GG", ct, wt), Ze("gg", ct, wt), Ze("GGGG", St, rt), Ze("gggg", St, rt), Ze("GGGGG", Jt, mt), Ze("ggggg", Jt, mt), Cr(
36706
+ Tn("gggg", "weekYear"), Tn("ggggg", "weekYear"), Tn("GGGG", "isoWeekYear"), Tn("GGGGG", "isoWeekYear"), Ze("G", ir), Ze("g", ir), Ze("GG", ct, wt), Ze("gg", ct, wt), Ze("GGGG", St, rt), Ze("gggg", St, rt), Ze("GGGGG", Jt, mt), Ze("ggggg", Jt, mt), Cr(
36707
36707
  ["gggg", "ggggg", "GGGG", "GGGGG"],
36708
36708
  function(S, M, Z, Q) {
36709
36709
  M[Q.substr(0, 2)] = ut(S);
@@ -36711,8 +36711,8 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36711
36711
  ), Cr(["gg", "GG"], function(S, M, Z, Q) {
36712
36712
  M[Q] = n.parseTwoDigitYear(S);
36713
36713
  });
36714
- function Pa(S) {
36715
- return nn.call(
36714
+ function ba(S) {
36715
+ return on.call(
36716
36716
  this,
36717
36717
  S,
36718
36718
  this.week(),
@@ -36721,8 +36721,8 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36721
36721
  this.localeData()._week.doy
36722
36722
  );
36723
36723
  }
36724
- function Na(S) {
36725
- return nn.call(
36724
+ function Pa(S) {
36725
+ return on.call(
36726
36726
  this,
36727
36727
  S,
36728
36728
  this.isoWeek(),
@@ -36731,32 +36731,32 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36731
36731
  4
36732
36732
  );
36733
36733
  }
36734
- function Ta() {
36734
+ function Na() {
36735
36735
  return At(this.year(), 1, 4);
36736
36736
  }
36737
- function Da() {
36737
+ function Ta() {
36738
36738
  return At(this.isoWeekYear(), 1, 4);
36739
36739
  }
36740
- function Ja() {
36740
+ function Qa() {
36741
36741
  var S = this.localeData()._week;
36742
36742
  return At(this.year(), S.dow, S.doy);
36743
36743
  }
36744
- function Sn() {
36744
+ function Dn() {
36745
36745
  var S = this.localeData()._week;
36746
36746
  return At(this.weekYear(), S.dow, S.doy);
36747
36747
  }
36748
- function nn(S, M, Z, Q, de) {
36748
+ function on(S, M, Z, Q, de) {
36749
36749
  var Me;
36750
- return S == null ? Zt(this, Q, de).year : (Me = At(S, Q, de), M > Me && (M = Me), an.call(this, S, M, Z, Q, de));
36750
+ return S == null ? Zt(this, Q, de).year : (Me = At(S, Q, de), M > Me && (M = Me), nn.call(this, S, M, Z, Q, de));
36751
36751
  }
36752
- function an(S, M, Z, Q, de) {
36752
+ function nn(S, M, Z, Q, de) {
36753
36753
  var Me = Ot(S, M, Z, Q, de), $e = gt(Me.year, 0, Me.dayOfYear);
36754
36754
  return this.year($e.getUTCFullYear()), this.month($e.getUTCMonth()), this.date($e.getUTCDate()), this;
36755
36755
  }
36756
36756
  ce("Q", 0, "Qo", "quarter"), Ze("Q", vt), kt("Q", function(S, M) {
36757
36757
  M[ur] = (ut(S) - 1) * 3;
36758
36758
  });
36759
- function Qn(S) {
36759
+ function qn(S) {
36760
36760
  return S == null ? Math.ceil((this.month() + 1) / 3) : this.month((S - 1) * 3 + this.month() % 3);
36761
36761
  }
36762
36762
  ce("D", ["DD", 2], "Do", "date"), Ze("D", ct, ae), Ze("DD", ct, wt), Ze("Do", function(S, M) {
@@ -36764,20 +36764,20 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36764
36764
  }), kt(["D", "DD"], jt), kt("Do", function(S, M) {
36765
36765
  M[jt] = ut(S.match(ct)[0]);
36766
36766
  });
36767
- var Sa = ni("Date", !0);
36767
+ var Da = ni("Date", !0);
36768
36768
  ce("DDD", ["DDDD", 3], "DDDo", "dayOfYear"), Ze("DDD", Ft), Ze("DDDD", tt), kt(["DDD", "DDDD"], function(S, M, Z) {
36769
36769
  Z._dayOfYear = ut(S);
36770
36770
  });
36771
- function Ea(S) {
36771
+ function Sa(S) {
36772
36772
  var M = Math.round(
36773
36773
  (this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
36774
36774
  ) + 1;
36775
36775
  return S == null ? M : this.add(S - M, "d");
36776
36776
  }
36777
36777
  ce("m", ["mm", 2], 0, "minute"), Ze("m", ct, Se), Ze("mm", ct, wt), kt(["m", "mm"], ar);
36778
- var Ka = ni("Minutes", !1);
36778
+ var Ja = ni("Minutes", !1);
36779
36779
  ce("s", ["ss", 2], 0, "second"), Ze("s", ct, Se), Ze("ss", ct, wt), kt(["s", "ss"], gr);
36780
- var $a = ni("Seconds", !1);
36780
+ var Ka = ni("Seconds", !1);
36781
36781
  ce("S", 0, 0, function() {
36782
36782
  return ~~(this.millisecond() / 100);
36783
36783
  }), ce(0, ["SS", 2], 0, function() {
@@ -36795,27 +36795,27 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36795
36795
  }), ce(0, ["SSSSSSSSS", 9], 0, function() {
36796
36796
  return this.millisecond() * 1e6;
36797
36797
  }), Ze("S", Ft, vt), Ze("SS", Ft, wt), Ze("SSS", Ft, tt);
36798
- var Xi, Fa;
36798
+ var Xi, Ea;
36799
36799
  for (Xi = "SSSS"; Xi.length <= 9; Xi += "S")
36800
36800
  Ze(Xi, Rt);
36801
- function es(S, M) {
36801
+ function $a(S, M) {
36802
36802
  M[Rr] = ut(("0." + S) * 1e3);
36803
36803
  }
36804
36804
  for (Xi = "S"; Xi.length <= 9; Xi += "S")
36805
- kt(Xi, es);
36806
- Fa = ni("Milliseconds", !1), ce("z", 0, 0, "zoneAbbr"), ce("zz", 0, 0, "zoneName");
36807
- function ts() {
36805
+ kt(Xi, $a);
36806
+ Ea = ni("Milliseconds", !1), ce("z", 0, 0, "zoneAbbr"), ce("zz", 0, 0, "zoneName");
36807
+ function es() {
36808
36808
  return this._isUTC ? "UTC" : "";
36809
36809
  }
36810
- function Ia() {
36810
+ function Fa() {
36811
36811
  return this._isUTC ? "Coordinated Universal Time" : "";
36812
36812
  }
36813
36813
  var pt = R.prototype;
36814
- pt.add = wr, pt.calendar = xn, pt.clone = zn, pt.diff = Ya, pt.endOf = Nn, pt.format = Xa, pt.from = qa, pt.fromNow = Yn, pt.to = Zn, pt.toNow = rn, pt.get = yi, pt.invalidAt = ua, pt.isAfter = ia, pt.isBefore = Wn, pt.isBetween = jn, pt.isSame = bn, pt.isSameOrAfter = Un, pt.isSameOrBefore = Ua, pt.isValid = da, pt.lang = na, pt.locale = oa, pt.localeData = Gn, pt.max = No, pt.min = Xo, pt.parsingFlags = ha, pt.set = po, pt.startOf = Mi, pt.subtract = Nr, pt.toArray = Xn, pt.toObject = la, pt.toDate = Ao, pt.toISOString = Ga, pt.inspect = Va, typeof Symbol < "u" && Symbol.for != null && (pt[Symbol.for("nodejs.util.inspect.custom")] = function() {
36814
+ pt.add = wr, pt.calendar = Cn, pt.clone = Bn, pt.diff = Ua, pt.endOf = Pn, pt.format = Va, pt.from = Xa, pt.fromNow = Un, pt.to = Yn, pt.toNow = tn, pt.get = yi, pt.invalidAt = ha, pt.isAfter = ra, pt.isBefore = zn, pt.isBetween = Wn, pt.isSame = xn, pt.isSameOrAfter = jn, pt.isSameOrBefore = ja, pt.isValid = ca, pt.lang = oa, pt.locale = ia, pt.localeData = Zn, pt.max = No, pt.min = Vo, pt.parsingFlags = da, pt.set = po, pt.startOf = Mi, pt.subtract = Nr, pt.toArray = Vn, pt.toObject = sa, pt.toDate = Ao, pt.toISOString = Za, pt.inspect = Ga, typeof Symbol < "u" && Symbol.for != null && (pt[Symbol.for("nodejs.util.inspect.custom")] = function() {
36815
36815
  return "Moment<" + this.format() + ">";
36816
- }), pt.toJSON = ca, pt.toString = Za, pt.unix = Vn, pt.valueOf = sa, pt.creationData = fa, pt.eraName = ya, pt.eraNarrow = va, pt.eraAbbr = wa, pt.eraYear = Qa, pt.year = Gr, pt.isLeapYear = Qi, pt.weekYear = Pa, pt.isoWeekYear = Na, pt.quarter = pt.quarters = Qn, pt.month = We, pt.daysInMonth = Re, pt.week = pt.weeks = eo, pt.isoWeek = pt.isoWeeks = si, pt.weeksInYear = Ja, pt.weeksInWeekYear = Sn, pt.isoWeeksInYear = Ta, pt.isoWeeksInISOWeekYear = Da, pt.date = Sa, pt.day = pt.days = Ht, pt.weekday = Ln, pt.isoWeekday = Mn, pt.dayOfYear = Ea, pt.hour = pt.hours = Hn, pt.minute = pt.minutes = Ka, pt.second = pt.seconds = $a, pt.millisecond = pt.milliseconds = Fa, pt.utcOffset = bi, pt.utc = di, pt.local = Ui, pt.parseZone = Yi, pt.hasAlignedHourOffset = $o, pt.isDST = hi, pt.isLocal = Eo, pt.isUtcOffset = co, pt.isUtc = Zi, pt.isUTC = Zi, pt.zoneAbbr = ts, pt.zoneName = Ia, pt.dates = H(
36816
+ }), pt.toJSON = la, pt.toString = Ya, pt.unix = Gn, pt.valueOf = aa, pt.creationData = ua, pt.eraName = ma, pt.eraNarrow = ya, pt.eraAbbr = va, pt.eraYear = qa, pt.year = Gr, pt.isLeapYear = Qi, pt.weekYear = ba, pt.isoWeekYear = Pa, pt.quarter = pt.quarters = qn, pt.month = We, pt.daysInMonth = Re, pt.week = pt.weeks = eo, pt.isoWeek = pt.isoWeeks = si, pt.weeksInYear = Qa, pt.weeksInWeekYear = Dn, pt.isoWeeksInYear = Na, pt.isoWeeksInISOWeekYear = Ta, pt.date = Da, pt.day = pt.days = Ht, pt.weekday = An, pt.isoWeekday = Ln, pt.dayOfYear = Sa, pt.hour = pt.hours = kn, pt.minute = pt.minutes = Ja, pt.second = pt.seconds = Ka, pt.millisecond = pt.milliseconds = Ea, pt.utcOffset = bi, pt.utc = di, pt.local = Ui, pt.parseZone = Yi, pt.hasAlignedHourOffset = Ko, pt.isDST = hi, pt.isLocal = Eo, pt.isUtcOffset = co, pt.isUtc = Zi, pt.isUTC = Zi, pt.zoneAbbr = es, pt.zoneName = Fa, pt.dates = H(
36817
36817
  "dates accessor is deprecated. Use date instead.",
36818
- Sa
36818
+ Da
36819
36819
  ), pt.months = H(
36820
36820
  "months accessor is deprecated. Use month instead",
36821
36821
  We
@@ -36827,19 +36827,19 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36827
36827
  So
36828
36828
  ), pt.isDSTShifted = H(
36829
36829
  "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
36830
- Cn
36830
+ wn
36831
36831
  );
36832
- function rs(S) {
36832
+ function ts(S) {
36833
36833
  return cr(S * 1e3);
36834
36834
  }
36835
- function is() {
36835
+ function rs() {
36836
36836
  return cr.apply(null, arguments).parseZone();
36837
36837
  }
36838
- function Jn(S) {
36838
+ function Qn(S) {
36839
36839
  return S;
36840
36840
  }
36841
36841
  var T = G.prototype;
36842
- T.calendar = se, T.longDateFormat = Ne, T.invalidDate = Xe, T.ordinal = xe, T.preparse = Jn, T.postformat = Jn, T.relativeTime = ue, T.pastFuture = ee, T.set = W, T.eras = pa, T.erasParse = ga, T.erasConvertYear = ma, T.erasAbbrRegex = Vi, T.erasNameRegex = Ca, T.erasNarrowRegex = on, T.months = mo, T.monthsShort = ve, T.monthsParse = _e, T.monthsRegex = nt, T.monthsShortRegex = at, T.week = fr, T.firstDayOfYear = Ni, T.firstDayOfWeek = kr, T.weekdays = Vr, T.weekdaysMin = pn, T.weekdaysShort = fn, T.weekdaysParse = Zo, T.weekdaysRegex = Go, T.weekdaysShortRegex = gn, T.weekdaysMinRegex = Hi, T.isPM = kn, T.meridiem = Bi;
36842
+ T.calendar = se, T.longDateFormat = Ne, T.invalidDate = Xe, T.ordinal = xe, T.preparse = Qn, T.postformat = Qn, T.relativeTime = ue, T.pastFuture = ee, T.set = W, T.eras = fa, T.erasParse = pa, T.erasConvertYear = ga, T.erasAbbrRegex = Vi, T.erasNameRegex = wa, T.erasNarrowRegex = rn, T.months = mo, T.monthsShort = ve, T.monthsParse = _e, T.monthsRegex = nt, T.monthsShortRegex = at, T.week = fr, T.firstDayOfYear = Ni, T.firstDayOfWeek = kr, T.weekdays = Vr, T.weekdaysMin = fn, T.weekdaysShort = un, T.weekdaysParse = Yo, T.weekdaysRegex = Zo, T.weekdaysShortRegex = pn, T.weekdaysMinRegex = Hi, T.isPM = Rn, T.meridiem = Bi;
36843
36843
  function I(S, M, Z, Q) {
36844
36844
  var de = Br(), Me = v().set(Q, M);
36845
36845
  return de[Z](Me, S);
@@ -36972,7 +36972,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36972
36972
  return this.as(S);
36973
36973
  };
36974
36974
  }
36975
- var st = lt("ms"), xt = lt("s"), _t = lt("m"), Dt = lt("h"), It = lt("d"), dr = lt("w"), er = lt("M"), tr = lt("Q"), Ir = lt("y"), Ar = st;
36975
+ var st = lt("ms"), bt = lt("s"), _t = lt("m"), Dt = lt("h"), It = lt("d"), dr = lt("w"), er = lt("M"), tr = lt("Q"), Ir = lt("y"), Ar = st;
36976
36976
  function Wr() {
36977
36977
  return Or(this);
36978
36978
  }
@@ -36984,7 +36984,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
36984
36984
  return this.isValid() ? this._data[S] : NaN;
36985
36985
  };
36986
36986
  }
36987
- var ri = Pr("milliseconds"), Lo = Pr("seconds"), jr = Pr("minutes"), Er = Pr("hours"), Kn = Pr("days"), sn = Pr("months"), Mo = Pr("years");
36987
+ var ri = Pr("milliseconds"), Lo = Pr("seconds"), jr = Pr("minutes"), Er = Pr("hours"), Jn = Pr("days"), an = Pr("months"), Mo = Pr("years");
36988
36988
  function Ro() {
36989
36989
  return or(this.days() / 7);
36990
36990
  }
@@ -37004,46 +37004,46 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
37004
37004
  M: 11
37005
37005
  // months to year
37006
37006
  };
37007
- function os(S, M, Z, Q, de) {
37007
+ function is(S, M, Z, Q, de) {
37008
37008
  return de.relativeTime(M || 1, !!Z, S, Q);
37009
37009
  }
37010
- function $n(S, M, Z, Q) {
37010
+ function Kn(S, M, Z, Q) {
37011
37011
  var de = Or(S).abs(), Me = Ur(de.as("s")), $e = Ur(de.as("m")), Pt = Ur(de.as("h")), Mt = Ur(de.as("d")), Xt = Ur(de.as("M")), Lr = Ur(de.as("w")), pi = Ur(de.as("y")), gi = Me <= Z.ss && ["s", Me] || Me < Z.s && ["ss", Me] || $e <= 1 && ["m"] || $e < Z.m && ["mm", $e] || Pt <= 1 && ["h"] || Pt < Z.h && ["hh", Pt] || Mt <= 1 && ["d"] || Mt < Z.d && ["dd", Mt];
37012
- return Z.w != null && (gi = gi || Lr <= 1 && ["w"] || Lr < Z.w && ["ww", Lr]), gi = gi || Xt <= 1 && ["M"] || Xt < Z.M && ["MM", Xt] || pi <= 1 && ["y"] || ["yy", pi], gi[2] = M, gi[3] = +S > 0, gi[4] = Q, os.apply(null, gi);
37012
+ return Z.w != null && (gi = gi || Lr <= 1 && ["w"] || Lr < Z.w && ["ww", Lr]), gi = gi || Xt <= 1 && ["M"] || Xt < Z.M && ["MM", Xt] || pi <= 1 && ["y"] || ["yy", pi], gi[2] = M, gi[3] = +S > 0, gi[4] = Q, is.apply(null, gi);
37013
37013
  }
37014
- function Aa(S) {
37014
+ function Ia(S) {
37015
37015
  return S === void 0 ? Ur : typeof S == "function" ? (Ur = S, !0) : !1;
37016
37016
  }
37017
- function La(S, M) {
37017
+ function Aa(S, M) {
37018
37018
  return qi[S] === void 0 ? !1 : M === void 0 ? qi[S] : (qi[S] = M, S === "s" && (qi.ss = M - 1), !0);
37019
37019
  }
37020
- function ns(S, M) {
37020
+ function os(S, M) {
37021
37021
  if (!this.isValid())
37022
37022
  return this.localeData().invalidDate();
37023
37023
  var Z = !1, Q = qi, de, Me;
37024
- return typeof S == "object" && (M = S, S = !1), typeof S == "boolean" && (Z = S), typeof M == "object" && (Q = Object.assign({}, qi, M), M.s != null && M.ss == null && (Q.ss = M.s - 1)), de = this.localeData(), Me = $n(this, !Z, Q, de), Z && (Me = de.pastFuture(+this, Me)), de.postformat(Me);
37024
+ return typeof S == "object" && (M = S, S = !1), typeof S == "boolean" && (Z = S), typeof M == "object" && (Q = Object.assign({}, qi, M), M.s != null && M.ss == null && (Q.ss = M.s - 1)), de = this.localeData(), Me = Kn(this, !Z, Q, de), Z && (Me = de.pastFuture(+this, Me)), de.postformat(Me);
37025
37025
  }
37026
- var cn = Math.abs;
37026
+ var sn = Math.abs;
37027
37027
  function oi(S) {
37028
37028
  return (S > 0) - (S < 0) || +S;
37029
37029
  }
37030
37030
  function ko() {
37031
37031
  if (!this.isValid())
37032
37032
  return this.localeData().invalidDate();
37033
- var S = cn(this._milliseconds) / 1e3, M = cn(this._days), Z = cn(this._months), Q, de, Me, $e, Pt = this.asSeconds(), Mt, Xt, Lr, pi;
37033
+ var S = sn(this._milliseconds) / 1e3, M = sn(this._days), Z = sn(this._months), Q, de, Me, $e, Pt = this.asSeconds(), Mt, Xt, Lr, pi;
37034
37034
  return Pt ? (Q = or(S / 60), de = or(Q / 60), S %= 60, Q %= 60, Me = or(Z / 12), Z %= 12, $e = S ? S.toFixed(3).replace(/\.?0+$/, "") : "", Mt = Pt < 0 ? "-" : "", Xt = oi(this._months) !== oi(Pt) ? "-" : "", Lr = oi(this._days) !== oi(Pt) ? "-" : "", pi = oi(this._milliseconds) !== oi(Pt) ? "-" : "", Mt + "P" + (Me ? Xt + Me + "Y" : "") + (Z ? Xt + Z + "M" : "") + (M ? Lr + M + "D" : "") + (de || Q || S ? "T" : "") + (de ? pi + de + "H" : "") + (Q ? pi + Q + "M" : "") + (S ? pi + $e + "S" : "")) : "P0D";
37035
37035
  }
37036
37036
  var Qt = Fr.prototype;
37037
- Qt.isValid = Qo, Qt.abs = Ee, Qt.add = Ge, Qt.subtract = Ve, Qt.as = ot, Qt.asMilliseconds = st, Qt.asSeconds = xt, Qt.asMinutes = _t, Qt.asHours = Dt, Qt.asDays = It, Qt.asWeeks = dr, Qt.asMonths = er, Qt.asQuarters = tr, Qt.asYears = Ir, Qt.valueOf = Ar, Qt._bubble = it, Qt.clone = Wr, Qt.get = _i, Qt.milliseconds = ri, Qt.seconds = Lo, Qt.minutes = jr, Qt.hours = Er, Qt.days = Kn, Qt.weeks = Ro, Qt.months = sn, Qt.years = Mo, Qt.humanize = ns, Qt.toISOString = ko, Qt.toString = ko, Qt.toJSON = ko, Qt.locale = oa, Qt.localeData = Gn, Qt.toIsoString = H(
37037
+ Qt.isValid = qo, Qt.abs = Ee, Qt.add = Ge, Qt.subtract = Ve, Qt.as = ot, Qt.asMilliseconds = st, Qt.asSeconds = bt, Qt.asMinutes = _t, Qt.asHours = Dt, Qt.asDays = It, Qt.asWeeks = dr, Qt.asMonths = er, Qt.asQuarters = tr, Qt.asYears = Ir, Qt.valueOf = Ar, Qt._bubble = it, Qt.clone = Wr, Qt.get = _i, Qt.milliseconds = ri, Qt.seconds = Lo, Qt.minutes = jr, Qt.hours = Er, Qt.days = Jn, Qt.weeks = Ro, Qt.months = an, Qt.years = Mo, Qt.humanize = os, Qt.toISOString = ko, Qt.toString = ko, Qt.toJSON = ko, Qt.locale = ia, Qt.localeData = Zn, Qt.toIsoString = H(
37038
37038
  "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
37039
37039
  ko
37040
- ), Qt.lang = na, ce("X", 0, 0, "unix"), ce("x", 0, 0, "valueOf"), Ze("x", ir), Ze("X", Vt), kt("X", function(S, M, Z) {
37040
+ ), Qt.lang = oa, ce("X", 0, 0, "unix"), ce("x", 0, 0, "valueOf"), Ze("x", ir), Ze("X", Vt), kt("X", function(S, M, Z) {
37041
37041
  Z._d = new Date(parseFloat(S) * 1e3);
37042
37042
  }), kt("x", function(S, M, Z) {
37043
37043
  Z._d = new Date(ut(S));
37044
37044
  });
37045
37045
  //! moment.js
37046
- return n.version = "2.30.1", a(cr), n.fn = pt, n.min = qo, n.max = Dr, n.now = $r, n.utc = v, n.unix = rs, n.months = $, n.isDate = g, n.locale = Jr, n.invalid = E, n.duration = Or, n.isMoment = O, n.weekdays = ie, n.parseZone = is, n.localeData = Br, n.isDuration = so, n.monthsShort = re, n.weekdaysMin = he, n.defineLocale = Kr, n.updateLocale = Si, n.locales = vn, n.weekdaysShort = ne, n.normalizeUnits = Be, n.relativeTimeRounding = Aa, n.relativeTimeThreshold = La, n.calendarFormat = Ai, n.prototype = pt, n.HTML5_FMT = {
37046
+ return n.version = "2.30.1", a(cr), n.fn = pt, n.min = Xo, n.max = Dr, n.now = $r, n.utc = v, n.unix = ts, n.months = $, n.isDate = g, n.locale = Jr, n.invalid = E, n.duration = Or, n.isMoment = O, n.weekdays = ie, n.parseZone = rs, n.localeData = Br, n.isDuration = so, n.monthsShort = re, n.weekdaysMin = he, n.defineLocale = Kr, n.updateLocale = Si, n.locales = yn, n.weekdaysShort = ne, n.normalizeUnits = Be, n.relativeTimeRounding = Ia, n.relativeTimeThreshold = Aa, n.calendarFormat = Ai, n.prototype = pt, n.HTML5_FMT = {
37047
37047
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
37048
37048
  // <input type="datetime-local" />
37049
37049
  DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
@@ -41635,7 +41635,7 @@ function requireDom() {
41635
41635
  return Se._ownerElement = ae, ae;
41636
41636
  },
41637
41637
  createDocumentFragment: function() {
41638
- var te = new bt();
41638
+ var te = new xt();
41639
41639
  return te.ownerDocument = this, te.childNodes = new Y(), te;
41640
41640
  },
41641
41641
  createTextNode: function(te) {
@@ -41808,9 +41808,9 @@ function requireDom() {
41808
41808
  function ct() {
41809
41809
  }
41810
41810
  ct.prototype.nodeType = C, f(ct, oe);
41811
- function bt() {
41811
+ function xt() {
41812
41812
  }
41813
- bt.prototype.nodeName = "#document-fragment", bt.prototype.nodeType = D, f(bt, oe);
41813
+ xt.prototype.nodeName = "#document-fragment", xt.prototype.nodeType = D, f(xt, oe);
41814
41814
  function Ct() {
41815
41815
  }
41816
41816
  Ct.prototype.nodeType = b, f(Ct, oe);
@@ -46598,7 +46598,7 @@ class StructureConvert {
46598
46598
  }
46599
46599
  let v;
46600
46600
  a.docTree.mainNodes.length > 1 ? v = a.docTree.mainNodes[1] : v = a.docTree.mainNodes[0];
46601
- const C = a.docTree.getNodeFirstPath(v), w = new DomRange$1(this._hoEditorFactoryID, C, C);
46601
+ const C = a.docTree.getNodeFirstPath(v), w = new DomRange(this._hoEditorFactoryID, C, C);
46602
46602
  a.docTree.curDomRange = w;
46603
46603
  const b = new SelectionChangeEvent(w, w);
46604
46604
  a.docTree.selectChange(b);
@@ -46940,11 +46940,11 @@ class StructureNode {
46940
46940
  return;
46941
46941
  }
46942
46942
  let d;
46943
- if (r instanceof DomRange$1)
46943
+ if (r instanceof DomRange)
46944
46944
  d = r.normalize();
46945
46945
  else {
46946
46946
  const m = r[0].range();
46947
- d = new DomRange$1(
46947
+ d = new DomRange(
46948
46948
  this._hoEditorFactoryID,
46949
46949
  m.from,
46950
46950
  c.docTree.getNodeLastPath(
@@ -47494,20 +47494,20 @@ const createHistoryInstance = (l) => {
47494
47494
  r.innerHTML = "";
47495
47495
  });
47496
47496
  }
47497
- }, ja = class ja {
47497
+ }, Wa = class Wa {
47498
47498
  constructor() {
47499
47499
  _(this, "fontSize", "35");
47500
47500
  _(this, "borderColor", "#F00");
47501
47501
  }
47502
47502
  static instance() {
47503
- return this._instance || (this._instance = new ja()), this._instance;
47503
+ return this._instance || (this._instance = new Wa()), this._instance;
47504
47504
  }
47505
47505
  setConfig(r) {
47506
47506
  this.fontSize = r.fontSize ? r.fontSize : "35", this.borderColor = r.borderColor ? r.borderColor : "35";
47507
47507
  }
47508
47508
  };
47509
- _(ja, "_instance");
47510
- let HoFabricConfig = ja;
47509
+ _(Wa, "_instance");
47510
+ let HoFabricConfig = Wa;
47511
47511
  const version = "3.7.7", VERSION = version, _hasBuffer = typeof Buffer == "function", _TD = typeof TextDecoder == "function" ? new TextDecoder() : void 0, _TE = typeof TextEncoder == "function" ? new TextEncoder() : void 0, b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", b64chs = Array.prototype.slice.call(b64ch), b64tab = ((l) => {
47512
47512
  let r = {};
47513
47513
  return l.forEach((o, n) => r[o] = n), r;
@@ -48610,7 +48610,7 @@ class VueController {
48610
48610
  o.docTree.changing(c) && o.docController.insertRadioAndCheckBox("update", n, r, o.docTree.curStyleIndex);
48611
48611
  }
48612
48612
  updateBoxProperty(r, o) {
48613
- const n = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), a = n.docTree.getNodeLastPath(r.previousLeaf()), s = r.getNodePath(), c = new DomRange$1(this.hoEditorFactoryID, a, s);
48613
+ const n = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), a = n.docTree.getNodeLastPath(r.previousLeaf()), s = r.getNodePath(), c = new DomRange(this.hoEditorFactoryID, a, s);
48614
48614
  n.docController.insertRadioAndCheckBox("update", c, o, r.styleIndex);
48615
48615
  }
48616
48616
  /**
@@ -49384,7 +49384,7 @@ class VueController {
49384
49384
  * @param ePath 选区结束路径
49385
49385
  */
49386
49386
  setDomRange(r, o) {
49387
- const n = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), a = n.docTree.curDomRange, s = new DomRange$1(n.hoEditorFactoryId, r, o), c = s.npStart.node, d = s.npEnd.node;
49387
+ const n = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), a = n.docTree.curDomRange, s = new DomRange(n.hoEditorFactoryId, r, o), c = s.npStart.node, d = s.npEnd.node;
49388
49388
  if (!c || !d)
49389
49389
  throw new Error(`错误的选择范围${r} ${o}`);
49390
49390
  n.docTree.curDomRange = s;
@@ -49936,7 +49936,7 @@ class VueController {
49936
49936
  let y = g.listItems ? JSON.parse(g.listItems) : [];
49937
49937
  if (s) {
49938
49938
  p.value = "", p.text = "", p.keyValue = "", y = [];
49939
- const m = p.StartMarkNode.getNodePath(), v = c.docTree.getNodeLastPath(p.childNodes[p.childNodes.length - 2]), C = new DomRange$1(this.hoEditorFactoryID, m, v), w = p.canModifyContent;
49939
+ const m = p.StartMarkNode.getNodePath(), v = c.docTree.getNodeLastPath(p.childNodes[p.childNodes.length - 2]), C = new DomRange(this.hoEditorFactoryID, m, v), w = p.canModifyContent;
49940
49940
  w || (p.canModifyContent = !0), await c.docController.deleteRange(C, !0, "update"), p.canModifyContent = w, c.docTree.curDomRange.setSamePath(m);
49941
49941
  }
49942
49942
  p.text = r, p.value = p.value ? p.value + "," + o : o, p.keyValue = p.keyValue ? p.keyValue + "," + n : n, y = [...y, ...a], p.downListProperty.listItems = JSON.stringify(y), u[u.length - 1] instanceof ParagraphNode && u.splice(u.length - 1, 1);
@@ -50372,7 +50372,7 @@ class VueController {
50372
50372
  * 保存页脚 json和图片
50373
50373
  */
50374
50374
  saveHeaderAsJson() {
50375
- const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.subDocManger.getHeaderPageNodes()[0], n = r.docTree.getNodeLastPath(o[o.length - 1]), a = new DomRange$1(this._hoEditorFactoryID, "header/0/0", n), s = r.structureNode.Copy(a, null), c = this.getSubDocImg(r.drawTree.activePageIndex.index, HeaderFooterType.hftHead);
50375
+ const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.subDocManger.getHeaderPageNodes()[0], n = r.docTree.getNodeLastPath(o[o.length - 1]), a = new DomRange(this._hoEditorFactoryID, "header/0/0", n), s = r.structureNode.Copy(a, null), c = this.getSubDocImg(r.drawTree.activePageIndex.index, HeaderFooterType.hftHead);
50376
50376
  return [s, c];
50377
50377
  }
50378
50378
  /**
@@ -50380,7 +50380,7 @@ class VueController {
50380
50380
  * @param jsonData
50381
50381
  */
50382
50382
  async insertHeaderJson(r) {
50383
- const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = 0, a = o.subDocManger.headerDocTree[n].subDocNodes, s = o.docTree.getNodeLastPath(a[a.length - 1]), c = "header/" + n.toString() + "/0", d = new DomRange$1(this._hoEditorFactoryID, c, s);
50383
+ const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = 0, a = o.subDocManger.headerDocTree[n].subDocNodes, s = o.docTree.getNodeLastPath(a[a.length - 1]), c = "header/" + n.toString() + "/0", d = new DomRange(this._hoEditorFactoryID, c, s);
50384
50384
  await o.docController.deleteRange(d, !0), o.docTree.curDomRange.setSamePath(c);
50385
50385
  const u = o.structureNode.Parse(ClipboardType.ctJSON, r);
50386
50386
  u[0] instanceof ParagraphNode && (a[0].paraNo = u[0].paraNo, u.splice(0, 1)), o.docController.parseNodeData(u, !0);
@@ -50400,7 +50400,7 @@ class VueController {
50400
50400
  * 保存页脚 json和图片
50401
50401
  */
50402
50402
  saveFooterAsJson() {
50403
- const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.subDocManger.getFooterPageNodes()[0], n = r.docTree.getNodeLastPath(o[o.length - 1]), a = new DomRange$1(this._hoEditorFactoryID, "footer/0/0", n), s = r.structureNode.Copy(a, null), c = this.getSubDocImg(r.drawTree.activePageIndex.index, HeaderFooterType.hftFoot);
50403
+ const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.subDocManger.getFooterPageNodes()[0], n = r.docTree.getNodeLastPath(o[o.length - 1]), a = new DomRange(this._hoEditorFactoryID, "footer/0/0", n), s = r.structureNode.Copy(a, null), c = this.getSubDocImg(r.drawTree.activePageIndex.index, HeaderFooterType.hftFoot);
50404
50404
  return [s, c];
50405
50405
  }
50406
50406
  /**
@@ -50408,7 +50408,7 @@ class VueController {
50408
50408
  * @param xml
50409
50409
  */
50410
50410
  async insertFooterJson(r) {
50411
- const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = o.subDocManger.getFooterPageNodes(), a = n[0], s = o.docTree.getNodeLastPath(a[a.length - 1]), c = new DomRange$1(this._hoEditorFactoryID, "footer/0/0", s);
50411
+ const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = o.subDocManger.getFooterPageNodes(), a = n[0], s = o.docTree.getNodeLastPath(a[a.length - 1]), c = new DomRange(this._hoEditorFactoryID, "footer/0/0", s);
50412
50412
  await o.docController.deleteRange(c, !0), o.docTree.curDomRange.setSamePath("footer/0/0");
50413
50413
  const d = o.structureNode.Parse(ClipboardType.ctJSON, r);
50414
50414
  d[0] instanceof ParagraphNode && (a[0].paraNo = d[0].paraNo, d.splice(0, 1)), o.docController.parseNodeData(d, !0);
@@ -50483,7 +50483,7 @@ class VueController {
50483
50483
  };
50484
50484
  if (r.npStart.node === r.npEnd.node)
50485
50485
  return r.npStart.node instanceof TextNode ? o = r.npStart.node.text.substring(a + 1, s + 1) : o = c(r.npStart.node), o;
50486
- n = DomRange$1.getSelectDomNodesForUpdate(this._hoEditorFactoryID, r.startPath, r.endPath);
50486
+ n = DomRange.getSelectDomNodesForUpdate(this._hoEditorFactoryID, r.startPath, r.endPath);
50487
50487
  for (let d = 0; d < n.length; d++) {
50488
50488
  const u = n[d];
50489
50489
  u instanceof TextNode ? d === n.length - 1 && u instanceof TextNode ? o = o + u.text.substring(0, s + 1) : o += u.text : o += c(u);
@@ -50883,7 +50883,7 @@ class VueController {
50883
50883
  * 审阅模式下 取消删除
50884
50884
  */
50885
50885
  cancelDel() {
50886
- const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.docTree.curDomRange.normalize(), n = o.startPath, a = o.endPath, [s, c, d] = DomRange$1.getSelectDomNodes(this._hoEditorFactoryID, n, a, !0);
50886
+ const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.docTree.curDomRange.normalize(), n = o.startPath, a = o.endPath, [s, c, d] = DomRange.getSelectDomNodes(this._hoEditorFactoryID, n, a, !0);
50887
50887
  for (let p = s.length - 1; p >= 0; p--) {
50888
50888
  const g = s[p];
50889
50889
  if (g instanceof TextNode) {
@@ -51174,7 +51174,7 @@ class VueController {
51174
51174
  g.push(b);
51175
51175
  }
51176
51176
  })(p.node.childNodes.node);
51177
- const m = u.StartMarkNode.getNodePath(), v = u.EndMarkNode.getNodePath(), C = new DomRange$1(this._hoEditorFactoryID, m, v);
51177
+ const m = u.StartMarkNode.getNodePath(), v = u.EndMarkNode.getNodePath(), C = new DomRange(this._hoEditorFactoryID, m, v);
51178
51178
  a.docController.deleteRange(C, !0, "update"), u.childNodes.splice(1, 0, ...g), u.update(0);
51179
51179
  } else if (o.includes("<MedicalExpress>")) {
51180
51180
  u.childNodes.splice(1, u.childNodes.length - 2);
@@ -51246,7 +51246,7 @@ class VueController {
51246
51246
  f.push(C);
51247
51247
  }
51248
51248
  })(u.node.childNodes.node);
51249
- const g = d.StartMarkNode.getNodePath(), y = d.EndMarkNode.getNodePath(), m = new DomRange$1(this._hoEditorFactoryID, g, y);
51249
+ const g = d.StartMarkNode.getNodePath(), y = d.EndMarkNode.getNodePath(), m = new DomRange(this._hoEditorFactoryID, g, y);
51250
51250
  n.docController.deleteRange(m, !0, "update"), d.childNodes.splice(1, 0, ...f), d.update(0);
51251
51251
  } else if (o.includes("<MedicalExpress>")) {
51252
51252
  d.childNodes.splice(1, d.childNodes.length - 2);
@@ -51363,7 +51363,7 @@ class VueController {
51363
51363
  const c = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), d = c.docTree.curDomRange;
51364
51364
  let u = c.docTree.getNodeLastPath(s.previousLeaf()), f = c.docTree.getNodeLastPath(s), p = f;
51365
51365
  if (s instanceof TextInputFieldNode && (u = c.docTree.getNodeLastPath(s.childNodes[0]), f = c.docTree.getNodeLastPath(s.childNodes[s.childNodes.length - 1].previousLeaf()), s.childNodes[1] instanceof MarkNode ? p = u : p = f), c.drawTree.moveCaretToPath(p), n !== 1) {
51366
- const g = new DomRange$1(this.hoEditorFactoryID, u, f);
51366
+ const g = new DomRange(this.hoEditorFactoryID, u, f);
51367
51367
  c.docTree.curDomRange = g;
51368
51368
  const y = new SelectionChangeEvent(d, g);
51369
51369
  c.docTree.selectChange(y);
@@ -51843,7 +51843,7 @@ class VueController {
51843
51843
  clearSelectedRangeParas() {
51844
51844
  const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.docTree.curDomRange.normalize();
51845
51845
  if (o.isEmpty) return;
51846
- const n = DomRange$1.getSelectDomNodes(this._hoEditorFactoryID, o.startPath, o.endPath, !0), a = n[0];
51846
+ const n = DomRange.getSelectDomNodes(this._hoEditorFactoryID, o.startPath, o.endPath, !0), a = n[0];
51847
51847
  let s = !1;
51848
51848
  for (let g = 0; g < a.length; g++)
51849
51849
  if (a[g] instanceof ParagraphNode) {
@@ -51868,7 +51868,7 @@ class VueController {
51868
51868
  const g = d.split("/");
51869
51869
  g[g.length - 1] = n[2].toString(), d = g.join("/");
51870
51870
  }
51871
- const u = o, f = new DomRange$1(this._hoEditorFactoryID, o.startPath, d), p = new SelectionChangeEvent(u, f);
51871
+ const u = o, f = new DomRange(this._hoEditorFactoryID, o.startPath, d), p = new SelectionChangeEvent(u, f);
51872
51872
  r.docTree.selectChange(p), r.docTree.curDomRange = f, r.drawTree.moveCaretToPath(o.startPath);
51873
51873
  }
51874
51874
  getCaretPreviousNode(r) {
@@ -52010,8 +52010,8 @@ class VueController {
52010
52010
  }), a.commentsMap = s;
52011
52011
  }
52012
52012
  SyncElements() {
52013
- const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.docTree.curDomRange.normalize(), n = DomRange$1.getSelectDomNodesForUpdate(this._hoEditorFactoryID, o.startPath, o.endPath), a = [], s = [], c = [];
52014
- r.docTree.curDomRange = new DomRange$1(this._hoEditorFactoryID, o.startPath, o.startPath);
52013
+ const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.docTree.curDomRange.normalize(), n = DomRange.getSelectDomNodesForUpdate(this._hoEditorFactoryID, o.startPath, o.endPath), a = [], s = [], c = [];
52014
+ r.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, o.startPath, o.startPath);
52015
52015
  for (let d = 0; d < n.length; d++) {
52016
52016
  const u = n[d];
52017
52017
  if (u instanceof TextInputFieldNode && a.indexOf(u.name) === -1) {
@@ -52259,26 +52259,27 @@ class VueController {
52259
52259
  }
52260
52260
  getPreviousText(r) {
52261
52261
  let o = "";
52262
- const n = (a) => {
52263
- if (a instanceof TextNode || a instanceof LabelNode || a instanceof DownListNode)
52264
- return a.text;
52265
- if ((a == null ? void 0 : a.parentNode) instanceof TextInputFieldNode)
52266
- return a == null ? void 0 : a.parentNode.text;
52262
+ const n = (s) => {
52263
+ if (s instanceof TextNode || s instanceof LabelNode || s instanceof DownListNode)
52264
+ return s.text;
52265
+ if ((s == null ? void 0 : s.parentNode) instanceof TextInputFieldNode)
52266
+ return s == null ? void 0 : s.parentNode.text;
52267
52267
  };
52268
- if (r instanceof TextNode ? r.text ? o = r.text : o = n(r.previousLeaf()) : (r == null ? void 0 : r.parentNode) instanceof TextInputFieldNode ? (o = n(r.parentNode.previousLeaf()), o || (o = n(r.previousLeaf()))) : r instanceof SignNode && r.type !== 3 || r instanceof ParagraphNode ? o = n(r.previousLeaf()) : r instanceof LabelNode && (o = r.text), !o && (r == null ? void 0 : r.parentNode) instanceof CellNode) {
52269
- let a = r == null ? void 0 : r.parentNode;
52270
- const s = a.row.indexOf(a);
52271
- if (s != 0) {
52272
- const c = a.row;
52273
- let d = null;
52274
- for (let u = s - 1; u >= 0; u--) {
52275
- const f = c[u];
52276
- if (f) {
52277
- d = f;
52268
+ let a = r;
52269
+ if (a || (a = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.curDomRange.npEnd.node), a instanceof TextNode ? a.text ? o = a.text : o = n(a.previousLeaf()) : (a == null ? void 0 : a.parentNode) instanceof TextInputFieldNode ? (o = n(a.parentNode.previousLeaf()), o || (o = n(a.previousLeaf()))) : a instanceof SignNode && a.type !== 3 || a instanceof ParagraphNode ? o = n(a.previousLeaf()) : a instanceof LabelNode && (o = a.text), !o && (a == null ? void 0 : a.parentNode) instanceof CellNode) {
52270
+ let s = a == null ? void 0 : a.parentNode;
52271
+ const c = s.row.indexOf(s);
52272
+ if (c != 0) {
52273
+ const d = s.row;
52274
+ let u = null;
52275
+ for (let f = c - 1; f >= 0; f--) {
52276
+ const p = d[f];
52277
+ if (p) {
52278
+ u = p;
52278
52279
  break;
52279
52280
  }
52280
52281
  }
52281
- d && (o = d.getCellText());
52282
+ u && (o = u.getCellText());
52282
52283
  }
52283
52284
  }
52284
52285
  return o && o.length > 10 && (o = o.substring(o.length - 5, o.length)), o;
@@ -52943,7 +52944,7 @@ class VueController {
52943
52944
  if (!r.isSelected) return;
52944
52945
  const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = r.getNodePath();
52945
52946
  r.isSelected = !1;
52946
- const a = JSON.stringify(r.radioAndCheckBoxInstance), s = new DomRange$1(this._hoEditorFactoryID, n, n);
52947
+ const a = JSON.stringify(r.radioAndCheckBoxInstance), s = new DomRange(this._hoEditorFactoryID, n, n);
52947
52948
  if (o.docController.insertRadioAndCheckBox("update", s, a, r.styleIndex), r.associatedElement) {
52948
52949
  const c = o.vueController.getNodeByDataID("main", r.associatedElement);
52949
52950
  c && c instanceof TextInputFieldNode && (c.customProperty.must = !1, c.update(0));
@@ -53313,9 +53314,9 @@ class VueController {
53313
53314
  return HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.mainNodes;
53314
53315
  }
53315
53316
  getFileHtml() {
53316
- const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.subDocManger.getHeaderPageNodes()[0], n = r.docTree.getNodeLastPath(o[o.length - 1]), a = new DomRange$1(this._hoEditorFactoryID, "header/0/0", n);
53317
+ const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), o = r.subDocManger.getHeaderPageNodes()[0], n = r.docTree.getNodeLastPath(o[o.length - 1]), a = new DomRange(this._hoEditorFactoryID, "header/0/0", n);
53317
53318
  r.structureNode.Copy(a, null);
53318
- const s = r.structureNode.htmldata, c = r.docTree.mainNodes, d = r.docTree.getNodeLastPath(c[c.length - 1]), u = new DomRange$1(this._hoEditorFactoryID, "main/0", d);
53319
+ const s = r.structureNode.htmldata, c = r.docTree.mainNodes, d = r.docTree.getNodeLastPath(c[c.length - 1]), u = new DomRange(this._hoEditorFactoryID, "main/0", d);
53319
53320
  r.structureNode.Copy(u, null, !1, "", !0);
53320
53321
  const f = r.structureNode.htmldata;
53321
53322
  let p = `${r.pageProperty.headerYPixes}px ${r.pageProperty.rightMarginPixes}px ${r.pageProperty.bottomMarginPixes}px ${r.pageProperty.leftMarginPixes}px`, g = "";
@@ -54243,13 +54244,13 @@ class ElementController {
54243
54244
  let s = new Array();
54244
54245
  for (let f = 0; f < o.length; f++) {
54245
54246
  const p = o[f].subDocNodes, g = p[0].getNodePath(), y = r.docTree.getNodeLastPath(p[p.length - 1]);
54246
- s = s.concat(DomRange$1.getElementNode(this._hoEditorFactoryID, g, y, !0));
54247
+ s = s.concat(DomRange.getElementNode(this._hoEditorFactoryID, g, y, !0));
54247
54248
  }
54248
54249
  const c = n[0].getNodePath(), d = r.docTree.getNodeLastPath(n[n.length - 1]);
54249
- s = s.concat(DomRange$1.getElementNode(this._hoEditorFactoryID, c, d, !0));
54250
+ s = s.concat(DomRange.getElementNode(this._hoEditorFactoryID, c, d, !0));
54250
54251
  for (let f = 0; f < a.length; f++) {
54251
54252
  const p = a[f].subDocNodes, g = p[0].getNodePath(), y = r.docTree.getNodeLastPath(p[p.length - 1]);
54252
- s = s.concat(DomRange$1.getElementNode(this._hoEditorFactoryID, g, y, !0));
54253
+ s = s.concat(DomRange.getElementNode(this._hoEditorFactoryID, g, y, !0));
54253
54254
  }
54254
54255
  let u = [];
54255
54256
  return s.map((f) => {
@@ -56113,7 +56114,7 @@ function jsPDF(l) {
56113
56114
  throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
56114
56115
  return mt[U] = X;
56115
56116
  };
56116
- var ct = {}, bt = {}, Ct, Ft = [], St = {}, Jt = {}, Rt = {}, ir = {}, Sr = null, zt, Vt = 0, te = [], ae = new PubSub(m), Se = l.hotfixes || [], je = {}, Ze = {}, Et = [], Yt, Kt, or, ut = function U(X, we, Ae, ze, Ye, ht) {
56117
+ var ct = {}, xt = {}, Ct, Ft = [], St = {}, Jt = {}, Rt = {}, ir = {}, Sr = null, zt, Vt = 0, te = [], ae = new PubSub(m), Se = l.hotfixes || [], je = {}, Ze = {}, Et = [], Yt, Kt, or, ut = function U(X, we, Ae, ze, Ye, ht) {
56117
56118
  if (!(this instanceof U))
56118
56119
  return new U(X, we, Ae, ze, Ye, ht);
56119
56120
  isNaN(X) && (X = 1), isNaN(we) && (we = 0), isNaN(Ae) && (Ae = 0), isNaN(ze) && (ze = 1), isNaN(Ye) && (Ye = 0), isNaN(ht) && (ht = 0), this._matrix = [X, we, Ae, ze, Ye, ht];
@@ -56245,7 +56246,7 @@ function jsPDF(l) {
56245
56246
  return new Br(X, we);
56246
56247
  }, ut.prototype.applyToRectangle = function(U) {
56247
56248
  var X = this.applyToPoint(U), we = this.applyToPoint(new Br(U.x + U.w, U.y + U.h));
56248
- return new vn(X.x, X.y, we.x - X.x, we.y - X.y);
56249
+ return new yn(X.x, X.y, we.x - X.x, we.y - X.y);
56249
56250
  }, ut.prototype.clone = function() {
56250
56251
  var U = this.sx, X = this.shy, we = this.shx, Ae = this.sy, ze = this.tx, Ye = this.ty;
56251
56252
  return new ut(U, X, we, Ae, ze, Ye);
@@ -56263,7 +56264,7 @@ function jsPDF(l) {
56263
56264
  m.ShadingPattern = ShadingPattern, m.TilingPattern = TilingPattern, m.addShadingPattern = function(U, X) {
56264
56265
  return R("addShadingPattern()"), Cr(U, X), this;
56265
56266
  }, m.beginTilingPattern = function(U) {
56266
- R("beginTilingPattern()"), wn(U.boundingBox[0], U.boundingBox[1], U.boundingBox[2] - U.boundingBox[0], U.boundingBox[3] - U.boundingBox[1], U.matrix);
56267
+ R("beginTilingPattern()"), vn(U.boundingBox[0], U.boundingBox[1], U.boundingBox[2] - U.boundingBox[0], U.boundingBox[3] - U.boundingBox[1], U.matrix);
56267
56268
  }, m.endTilingPattern = function(U, X) {
56268
56269
  R("endTilingPattern()"), X.stream = me[Ne].join(`
56269
56270
  `), Cr(U, X), ae.publish("endTilingPattern", X), Et.pop().restore();
@@ -56641,7 +56642,7 @@ Q`), Ut(ze, !0), Yr({
56641
56642
  }
56642
56643
  ae.publish("postPutAdditionalObjects");
56643
56644
  }, He = function(X) {
56644
- bt[X.fontName] = bt[X.fontName] || {}, bt[X.fontName][X.fontStyle] = X.id;
56645
+ xt[X.fontName] = xt[X.fontName] || {}, xt[X.fontName][X.fontStyle] = X.id;
56645
56646
  }, We = function(X, we, Ae, ze, Ye) {
56646
56647
  var ht = {
56647
56648
  id: "F" + (Object.keys(ct).length + 1).toString(10),
@@ -56669,7 +56670,7 @@ Q`), Ut(ze, !0), Yr({
56669
56670
  }
56670
56671
  ae.publish("addFonts", {
56671
56672
  fonts: ct,
56672
- dictionary: bt
56673
+ dictionary: xt
56673
56674
  });
56674
56675
  }, at = function(X) {
56675
56676
  return X.foo = function() {
@@ -56731,7 +56732,7 @@ Q`), Ut(ze, !0), Yr({
56731
56732
  ze > Ye && (n = [Ye, ze]);
56732
56733
  break;
56733
56734
  }
56734
- ft(n), mn(ro), xe(li), Jr !== 0 && xe(Jr + " J"), Kr !== 0 && xe(Kr + " j"), ae.publish("addPage", {
56735
+ ft(n), gn(ro), xe(li), Jr !== 0 && xe(Jr + " J"), Kr !== 0 && xe(Kr + " j"), ae.publish("addPage", {
56735
56736
  pageNumber: Vt
56736
56737
  });
56737
56738
  }, Nt = function(X) {
@@ -56742,7 +56743,7 @@ Q`), Ut(ze, !0), Yr({
56742
56743
  return me.length - 1;
56743
56744
  }, At = function(X, we, Ae) {
56744
56745
  var ze = void 0, Ye;
56745
- return Ae = Ae || {}, X = X !== void 0 ? X : ct[Ct].fontName, we = we !== void 0 ? we : ct[Ct].fontStyle, Ye = X.toLowerCase(), bt[Ye] !== void 0 && bt[Ye][we] !== void 0 ? ze = bt[Ye][we] : bt[X] !== void 0 && bt[X][we] !== void 0 ? ze = bt[X][we] : Ae.disableWarning === !1 && console$1.warn("Unable to look up font label for font '" + X + "', '" + we + "'. Refer to getFontList() for available fonts."), !ze && !Ae.noFallback && (ze = bt.times[we], ze == null && (ze = bt.times.normal)), ze;
56746
+ return Ae = Ae || {}, X = X !== void 0 ? X : ct[Ct].fontName, we = we !== void 0 ? we : ct[Ct].fontStyle, Ye = X.toLowerCase(), xt[Ye] !== void 0 && xt[Ye][we] !== void 0 ? ze = xt[Ye][we] : xt[X] !== void 0 && xt[X][we] !== void 0 ? ze = xt[X][we] : Ae.disableWarning === !1 && console$1.warn("Unable to look up font label for font '" + X + "', '" + we + "'. Refer to getFontList() for available fonts."), !ze && !Ae.noFallback && (ze = xt.times[we], ze == null && (ze = xt.times.normal)), ze;
56746
56747
  }, fr = m.__private__.putInfo = function() {
56747
56748
  var U = hr(), X = function(ze) {
56748
56749
  return ze;
@@ -56807,7 +56808,7 @@ Q`), Ut(ze, !0), Yr({
56807
56808
  return new Blob([ue(U)], {
56808
56809
  type: "application/pdf"
56809
56810
  });
56810
- }, hn = m.output = m.__private__.output = at(function(X, we) {
56811
+ }, dn = m.output = m.__private__.output = at(function(X, we) {
56811
56812
  switch (we = we || {}, typeof we == "string" ? we = {
56812
56813
  filename: we
56813
56814
  } : we.filename = we.filename || "generated.pdf", X) {
@@ -56907,7 +56908,7 @@ Q`), Ut(ze, !0), Yr({
56907
56908
  return p !== null ? Tr.encryptor(X, 0) : function(we) {
56908
56909
  return we;
56909
56910
  };
56910
- }, un = m.__private__.getPageInfo = m.getPageInfo = function(U) {
56911
+ }, hn = m.__private__.getPageInfo = m.getPageInfo = function(U) {
56911
56912
  if (isNaN(U) || U % 1 !== 0)
56912
56913
  throw new Error("Invalid argument passed to jsPDF.getPageInfo");
56913
56914
  var X = te[U].objId;
@@ -56916,14 +56917,14 @@ Q`), Ut(ze, !0), Yr({
56916
56917
  pageNumber: U,
56917
56918
  pageContext: te[U]
56918
56919
  };
56919
- }, Fn = m.__private__.getPageInfoByObjId = function(U) {
56920
+ }, En = m.__private__.getPageInfoByObjId = function(U) {
56920
56921
  if (isNaN(U) || U % 1 !== 0)
56921
56922
  throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");
56922
56923
  for (var X in te)
56923
56924
  if (te[X].objId === U)
56924
56925
  break;
56925
- return un(X);
56926
- }, In = m.__private__.getCurrentPageInfo = m.getCurrentPageInfo = function() {
56926
+ return hn(X);
56927
+ }, Fn = m.__private__.getCurrentPageInfo = m.getCurrentPageInfo = function() {
56927
56928
  return {
56928
56929
  objId: te[Ne].objId,
56929
56930
  pageNumber: Ne,
@@ -56977,7 +56978,7 @@ Q`), Ut(ze, !0), Yr({
56977
56978
  xr = Nr.shift(), typeof xr == "string" ? nr.push(xr) : Array.isArray(wr) && (xr.length === 1 || xr[1] === void 0 && xr[2] === void 0) ? nr.push(xr[0]) : nr.push([xr[0], xr[1], xr[2]]);
56978
56979
  return nr;
56979
56980
  }
56980
- function Xo(wr, Nr) {
56981
+ function Vo(wr, Nr) {
56981
56982
  var nr;
56982
56983
  if (typeof wr == "string")
56983
56984
  nr = Nr(wr)[0];
@@ -56992,10 +56993,10 @@ Q`), Ut(ze, !0), Yr({
56992
56993
  if (typeof U == "string")
56993
56994
  No = !0;
56994
56995
  else if (Array.isArray(U)) {
56995
- var qo = U.concat();
56996
+ var Xo = U.concat();
56996
56997
  yt = [];
56997
- for (var Dr = qo.length, $r; Dr--; )
56998
- $r = qo.shift(), (typeof $r != "string" || Array.isArray($r) && typeof $r[0] != "string") && (To = !1);
56998
+ for (var Dr = Xo.length, $r; Dr--; )
56999
+ $r = Xo.shift(), (typeof $r != "string" || Array.isArray($r) && typeof $r[0] != "string") && (To = !1);
56999
57000
  No = To;
57000
57001
  }
57001
57002
  if (No === !1)
@@ -57031,8 +57032,8 @@ Q`), Ut(ze, !0), Yr({
57031
57032
  }
57032
57033
  }, ae.publish("preProcessText", ht), U = ht.text, Ae = ht.options, Tt = Ae.angle, !(pr instanceof ut) && Tt && typeof Tt == "number") {
57033
57034
  Tt *= Math.PI / 180, Ae.rotationDirection === 0 && (Tt = -Tt), E === N.ADVANCED && (Tt = -Tt);
57034
- var Qo = Math.cos(Tt), Jo = Math.sin(Tt);
57035
- pr = new ut(Qo, Jo, -Jo, Qo, 0, 0);
57035
+ var qo = Math.cos(Tt), Qo = Math.sin(Tt);
57036
+ pr = new ut(qo, Qo, -Qo, qo, 0, 0);
57036
57037
  } else Tt && Tt instanceof ut && (pr = Tt);
57037
57038
  E === N.ADVANCED && !pr && (pr = kt), Bt = Ae.charSpace || io, typeof Bt < "u" && (_r += L(j(Bt)) + ` Tc
57038
57039
  `, this.setCharSpace(this.getCharSpace() || 0)), rr = Ae.horizontalScale, typeof rr < "u" && (_r += L(rr * 100) + ` Tz
@@ -57074,11 +57075,11 @@ Q`), Ut(ze, !0), Yr({
57074
57075
  Fr = 7;
57075
57076
  break;
57076
57077
  }
57077
- var Ko = typeof ji.usedRenderingMode < "u" ? ji.usedRenderingMode : -1;
57078
+ var Jo = typeof ji.usedRenderingMode < "u" ? ji.usedRenderingMode : -1;
57078
57079
  Fr !== -1 ? _r += Fr + ` Tr
57079
- ` : Ko !== -1 && (_r += `0 Tr
57080
+ ` : Jo !== -1 && (_r += `0 Tr
57080
57081
  `), Fr !== -1 && (ji.usedRenderingMode = Fr), Lt = Ae.align || "left";
57081
- var Do = De * Ei, Bn = Ye.internal.pageSize.getWidth(), lo = ct[Ct];
57082
+ var Do = De * Ei, On = Ye.internal.pageSize.getWidth(), lo = ct[Ct];
57082
57083
  Bt = Ae.charSpace || io, $t = Ae.maxWidth || 0;
57083
57084
  var qr;
57084
57085
  lr = Object.assign({
@@ -57108,17 +57109,17 @@ Q`), Ut(ze, !0), Yr({
57108
57109
  Yi === 0 ? (di = Bi(X), bi = Ti(we)) : (di = j((So - qr[Yi]) / 2), bi = -Do), U.push([yt[Yi], di, bi]), So = qr[Yi];
57109
57110
  } else if (Lt === "left") {
57110
57111
  U = [], Dr = yt.length;
57111
- for (var $o = 0; $o < Dr; $o++)
57112
- U.push(yt[$o]);
57112
+ for (var Ko = 0; Ko < Dr; Ko++)
57113
+ U.push(yt[Ko]);
57113
57114
  } else if (Lt === "justify") {
57114
- U = [], Dr = yt.length, $t = $t !== 0 ? $t : Bn;
57115
+ U = [], Dr = yt.length, $t = $t !== 0 ? $t : On;
57115
57116
  for (var hi = 0; hi < Dr; hi++)
57116
57117
  bi = hi === 0 ? Ti(we) : -Do, di = hi === 0 ? Bi(X) : 0, hi < Dr - 1 ? Fi.push(L(j(($t - qr[hi]) / (yt[hi].split("").length - 1)))) : Fi.push(0), U.push([yt[hi], di, bi]);
57117
57118
  } else
57118
57119
  throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
57119
57120
  }
57120
- var Cn = typeof Ae.R2L == "boolean" ? Ae.R2L : qe;
57121
- Cn === !0 && (U = Xo(U, function(wr, Nr, nr) {
57121
+ var wn = typeof Ae.R2L == "boolean" ? Ae.R2L : qe;
57122
+ wn === !0 && (U = Vo(U, function(wr, Nr, nr) {
57122
57123
  return [wr.split("").reverse().join(""), Nr, nr];
57123
57124
  })), ht = {
57124
57125
  text: U,
@@ -57133,10 +57134,10 @@ Q`), Ut(ze, !0), Yr({
57133
57134
  }
57134
57135
  }, ae.publish("postProcessText", ht), U = ht.text, Xr = ht.mutex.isHex || !1;
57135
57136
  var Eo = ct[Ct].encoding;
57136
- (Eo === "WinAnsiEncoding" || Eo === "StandardEncoding") && (U = Xo(U, function(wr, Nr, nr) {
57137
+ (Eo === "WinAnsiEncoding" || Eo === "StandardEncoding") && (U = Vo(U, function(wr, Nr, nr) {
57137
57138
  return [Po(wr), Nr, nr];
57138
57139
  })), yt = cr(U), U = [];
57139
- for (var co = 0, Zi = 1, Gi = Array.isArray(yt[0]) ? Zi : co, ho, Or, zr, Ii = "", en = function(Nr, nr, yr) {
57140
+ for (var co = 0, Zi = 1, Gi = Array.isArray(yt[0]) ? Zi : co, ho, Or, zr, Ii = "", $o = function(Nr, nr, yr) {
57140
57141
  var xr = "";
57141
57142
  return yr instanceof ut ? (typeof Ae.angle == "number" ? yr = br(yr, new ut(1, 0, 0, 1, Nr, nr)) : yr = br(new ut(1, 0, 0, 1, Nr, nr), yr), E === N.ADVANCED && (yr = br(new ut(1, 0, 0, -1, 0, 0), yr)), xr = yr.join(" ") + ` Tm
57142
57143
  `) : xr = L(Nr) + " " + L(nr) + ` Td
@@ -57151,7 +57152,7 @@ Q`), Ut(ze, !0), Yr({
57151
57152
  break;
57152
57153
  }
57153
57154
  typeof Fi < "u" && typeof Fi[Qr] < "u" && (Ii = Fi[Qr] + ` Tw
57154
- `), Qr === 0 ? U.push(Ii + en(ho, Or, pr) + zr) : Gi === co ? U.push(Ii + zr) : Gi === Zi && U.push(Ii + en(ho, Or, pr) + zr);
57155
+ `), Qr === 0 ? U.push(Ii + $o(ho, Or, pr) + zr) : Gi === co ? U.push(Ii + zr) : Gi === Zi && U.push(Ii + $o(ho, Or, pr) + zr);
57155
57156
  }
57156
57157
  U = Gi === co ? U.join(` Tj
57157
57158
  T* `) : U.join(` Tj
@@ -57164,11 +57165,11 @@ T* `) : U.join(` Tj
57164
57165
  `, ui += Di + `
57165
57166
  `, ui += _r, ui += U, ui += "ET", xe(ui), y[Ct] = !0, Ye;
57166
57167
  };
57167
- var An = m.__private__.clip = m.clip = function(U) {
57168
+ var In = m.__private__.clip = m.clip = function(U) {
57168
57169
  return xe(U === "evenodd" ? "W*" : "W"), this;
57169
57170
  };
57170
57171
  m.clipEvenOdd = function() {
57171
- return An("evenodd");
57172
+ return In("evenodd");
57172
57173
  }, m.__private__.discardPath = m.discardPath = function() {
57173
57174
  return xe("n"), this;
57174
57175
  };
@@ -57179,7 +57180,7 @@ T* `) : U.join(` Tj
57179
57180
  m.__private__.setDefaultPathOperation = m.setDefaultPathOperation = function(U) {
57180
57181
  return Vr(U) && (f = U), this;
57181
57182
  };
57182
- var fn = m.__private__.getStyle = m.getStyle = function(U) {
57183
+ var un = m.__private__.getStyle = m.getStyle = function(U) {
57183
57184
  var X = f;
57184
57185
  switch (U) {
57185
57186
  case "D":
@@ -57201,7 +57202,7 @@ T* `) : U.join(` Tj
57201
57202
  break;
57202
57203
  }
57203
57204
  return X;
57204
- }, pn = m.close = function() {
57205
+ }, fn = m.close = function() {
57205
57206
  return xe("h"), this;
57206
57207
  };
57207
57208
  m.stroke = function() {
@@ -57216,9 +57217,9 @@ T* `) : U.join(` Tj
57216
57217
  return yo("B*", U), this;
57217
57218
  };
57218
57219
  var yo = function(X, we) {
57219
- _typeof(we) === "object" ? Ln(we, X) : xe(X);
57220
- }, Zo = function(X) {
57221
- X === null || E === N.ADVANCED && X === void 0 || (X = fn(X), xe(X));
57220
+ _typeof(we) === "object" ? An(we, X) : xe(X);
57221
+ }, Yo = function(X) {
57222
+ X === null || E === N.ADVANCED && X === void 0 || (X = un(X), xe(X));
57222
57223
  };
57223
57224
  function Ht(U, X, we, Ae, ze) {
57224
57225
  var Ye = new TilingPattern(X || this.boundingBox, we || this.xStep, Ae || this.yStep, this.gState, ze || this.matrix);
@@ -57226,15 +57227,15 @@ T* `) : U.join(` Tj
57226
57227
  var ht = U + "$$" + this.cloneIndex++ + "$$";
57227
57228
  return Cr(ht, Ye), Ye;
57228
57229
  }
57229
- var Ln = function(X, we) {
57230
+ var An = function(X, we) {
57230
57231
  var Ae = Jt[X.key], ze = St[Ae];
57231
57232
  if (ze instanceof ShadingPattern)
57232
- xe("q"), xe(Mn(we)), ze.gState && m.setGState(ze.gState), xe(X.matrix.toString() + " cm"), xe("/" + Ae + " sh"), xe("Q");
57233
+ xe("q"), xe(Ln(we)), ze.gState && m.setGState(ze.gState), xe(X.matrix.toString() + " cm"), xe("/" + Ae + " sh"), xe("Q");
57233
57234
  else if (ze instanceof TilingPattern) {
57234
57235
  var Ye = new ut(1, 0, 0, -1, 0, Wi());
57235
57236
  X.matrix && (Ye = Ye.multiply(X.matrix || kt), Ae = Ht.call(ze, X.key, X.boundingBox, X.xStep, X.yStep, Ye).id), xe("q"), xe("/Pattern cs"), xe("/" + Ae + " scn"), ze.gState && m.setGState(ze.gState), xe(we), xe("Q");
57236
57237
  }
57237
- }, Mn = function(X) {
57238
+ }, Ln = function(X) {
57238
57239
  switch (X) {
57239
57240
  case "f":
57240
57241
  case "F":
@@ -57252,9 +57253,9 @@ T* `) : U.join(` Tj
57252
57253
  case "n":
57253
57254
  return "W n";
57254
57255
  }
57255
- }, Go = m.moveTo = function(U, X) {
57256
+ }, Zo = m.moveTo = function(U, X) {
57256
57257
  return xe(L(j(U)) + " " + L(W(X)) + " m"), this;
57257
- }, gn = m.lineTo = function(U, X) {
57258
+ }, pn = m.lineTo = function(U, X) {
57258
57259
  return xe(L(j(U)) + " " + L(W(X)) + " l"), this;
57259
57260
  }, Hi = m.curveTo = function(U, X, we, Ae, ze, Ye) {
57260
57261
  return xe([L(j(U)), L(W(X)), L(j(we)), L(W(Ae)), L(j(ze)), L(W(Ye)), "c"].join(" ")), this;
@@ -57267,24 +57268,24 @@ T* `) : U.join(` Tj
57267
57268
  var ht, yt, Tt, Lt, Bt, $t, lr, rr, Hr, pr, _r, Xr;
57268
57269
  if (typeof U == "number" && (Xr = we, we = X, X = U, U = Xr), Ae = Ae || [1, 1], Ye = Ye || !1, isNaN(X) || isNaN(we) || !Array.isArray(U) || !Array.isArray(Ae) || !Vr(ze) || typeof Ye != "boolean")
57269
57270
  throw new Error("Invalid arguments passed to jsPDF.lines");
57270
- for (Go(X, we), ht = Ae[0], yt = Ae[1], Lt = U.length, pr = X, _r = we, Tt = 0; Tt < Lt; Tt++)
57271
- Bt = U[Tt], Bt.length === 2 ? (pr = Bt[0] * ht + pr, _r = Bt[1] * yt + _r, gn(pr, _r)) : ($t = Bt[0] * ht + pr, lr = Bt[1] * yt + _r, rr = Bt[2] * ht + pr, Hr = Bt[3] * yt + _r, pr = Bt[4] * ht + pr, _r = Bt[5] * yt + _r, Hi($t, lr, rr, Hr, pr, _r));
57272
- return Ye && pn(), Zo(ze), this;
57271
+ for (Zo(X, we), ht = Ae[0], yt = Ae[1], Lt = U.length, pr = X, _r = we, Tt = 0; Tt < Lt; Tt++)
57272
+ Bt = U[Tt], Bt.length === 2 ? (pr = Bt[0] * ht + pr, _r = Bt[1] * yt + _r, pn(pr, _r)) : ($t = Bt[0] * ht + pr, lr = Bt[1] * yt + _r, rr = Bt[2] * ht + pr, Hr = Bt[3] * yt + _r, pr = Bt[4] * ht + pr, _r = Bt[5] * yt + _r, Hi($t, lr, rr, Hr, pr, _r));
57273
+ return Ye && fn(), Yo(ze), this;
57273
57274
  }, m.path = function(U) {
57274
57275
  for (var X = 0; X < U.length; X++) {
57275
57276
  var we = U[X], Ae = we.c;
57276
57277
  switch (we.op) {
57277
57278
  case "m":
57278
- Go(Ae[0], Ae[1]);
57279
+ Zo(Ae[0], Ae[1]);
57279
57280
  break;
57280
57281
  case "l":
57281
- gn(Ae[0], Ae[1]);
57282
+ pn(Ae[0], Ae[1]);
57282
57283
  break;
57283
57284
  case "c":
57284
57285
  Hi.apply(this, Ae);
57285
57286
  break;
57286
57287
  case "h":
57287
- pn();
57288
+ fn();
57288
57289
  break;
57289
57290
  }
57290
57291
  }
@@ -57292,7 +57293,7 @@ T* `) : U.join(` Tj
57292
57293
  }, m.__private__.rect = m.rect = function(U, X, we, Ae, ze) {
57293
57294
  if (isNaN(U) || isNaN(X) || isNaN(we) || isNaN(Ae) || !Vr(ze))
57294
57295
  throw new Error("Invalid arguments passed to jsPDF.rect");
57295
- return E === N.COMPAT && (Ae = -Ae), xe([L(j(U)), L(W(X)), L(j(we)), L(j(Ae)), "re"].join(" ")), Zo(ze), this;
57296
+ return E === N.COMPAT && (Ae = -Ae), xe([L(j(U)), L(W(X)), L(j(we)), L(j(Ae)), "re"].join(" ")), Yo(ze), this;
57296
57297
  }, m.__private__.triangle = m.triangle = function(U, X, we, Ae, ze, Ye, ht) {
57297
57298
  if (isNaN(U) || isNaN(X) || isNaN(we) || isNaN(Ae) || isNaN(ze) || isNaN(Ye) || !Vr(ht))
57298
57299
  throw new Error("Invalid arguments passed to jsPDF.triangle");
@@ -57329,7 +57330,7 @@ T* `) : U.join(` Tj
57329
57330
  if (isNaN(U) || isNaN(X) || isNaN(we) || isNaN(Ae) || !Vr(ze))
57330
57331
  throw new Error("Invalid arguments passed to jsPDF.ellipse");
57331
57332
  var Ye = 4 / 3 * (Math.SQRT2 - 1) * we, ht = 4 / 3 * (Math.SQRT2 - 1) * Ae;
57332
- return Go(U + we, X), Hi(U + we, X - ht, U + Ye, X - Ae, U, X - Ae), Hi(U - Ye, X - Ae, U - we, X - ht, U - we, X), Hi(U - we, X + ht, U - Ye, X + Ae, U, X + Ae), Hi(U + Ye, X + Ae, U + we, X + ht, U + we, X), Zo(ze), this;
57333
+ return Zo(U + we, X), Hi(U + we, X - ht, U + Ye, X - Ae, U, X - Ae), Hi(U - Ye, X - Ae, U - we, X - ht, U - we, X), Hi(U - we, X + ht, U - Ye, X + Ae, U, X + Ae), Hi(U + Ye, X + Ae, U + we, X + ht, U + we, X), Yo(ze), this;
57333
57334
  }, m.__private__.circle = m.circle = function(U, X, we, Ae) {
57334
57335
  if (isNaN(U) || isNaN(X) || isNaN(we) || !Vr(Ae))
57335
57336
  throw new Error("Invalid arguments passed to jsPDF.circle");
@@ -57339,25 +57340,25 @@ T* `) : U.join(` Tj
57339
57340
  disableWarning: !1
57340
57341
  }), this;
57341
57342
  };
57342
- var Vo = m.__private__.getFont = m.getFont = function() {
57343
+ var Go = m.__private__.getFont = m.getFont = function() {
57343
57344
  return ct[At.apply(m, arguments)];
57344
57345
  };
57345
57346
  m.__private__.getFontList = m.getFontList = function() {
57346
57347
  var U = {}, X, we;
57347
- for (X in bt)
57348
- if (bt.hasOwnProperty(X)) {
57348
+ for (X in xt)
57349
+ if (xt.hasOwnProperty(X)) {
57349
57350
  U[X] = [];
57350
- for (we in bt[X])
57351
- bt[X].hasOwnProperty(we) && U[X].push(we);
57351
+ for (we in xt[X])
57352
+ xt[X].hasOwnProperty(we) && U[X].push(we);
57352
57353
  }
57353
57354
  return U;
57354
57355
  }, m.addFont = function(U, X, we, Ae, ze) {
57355
57356
  var Ye = ["StandardEncoding", "MacRomanEncoding", "Identity-H", "WinAnsiEncoding"];
57356
57357
  return arguments[3] && Ye.indexOf(arguments[3]) !== -1 ? ze = arguments[3] : arguments[3] && Ye.indexOf(arguments[3]) == -1 && (we = A(we, Ae)), ze = ze || "Identity-H", We.call(this, U, X, we, ze);
57357
57358
  };
57358
- var ro = l.lineWidth || 0.200025, Rn = m.__private__.getLineWidth = m.getLineWidth = function() {
57359
+ var ro = l.lineWidth || 0.200025, Mn = m.__private__.getLineWidth = m.getLineWidth = function() {
57359
57360
  return ro;
57360
- }, mn = m.__private__.setLineWidth = m.setLineWidth = function(U) {
57361
+ }, gn = m.__private__.setLineWidth = m.setLineWidth = function(U) {
57361
57362
  return ro = U, xe(L(j(U)) + " w"), this;
57362
57363
  };
57363
57364
  m.__private__.setLineDash = jsPDF.API.setLineDash = jsPDF.API.setLineDashPattern = function(U, X) {
@@ -57367,7 +57368,7 @@ T* `) : U.join(` Tj
57367
57368
  return L(j(we));
57368
57369
  }).join(" "), X = L(j(X)), xe("[" + U + "] " + X + " d"), this;
57369
57370
  };
57370
- var Oi, kn = m.__private__.getLineHeight = m.getLineHeight = function() {
57371
+ var Oi, Rn = m.__private__.getLineHeight = m.getLineHeight = function() {
57371
57372
  return De * Oi;
57372
57373
  };
57373
57374
  m.__private__.getLineHeight = m.getLineHeight = function() {
@@ -57375,7 +57376,7 @@ T* `) : U.join(` Tj
57375
57376
  };
57376
57377
  var vo = m.__private__.setLineHeightFactor = m.setLineHeightFactor = function(U) {
57377
57378
  return U = U || 1.15, typeof U == "number" && (Oi = U), this;
57378
- }, Hn = m.__private__.getLineHeightFactor = m.getLineHeightFactor = function() {
57379
+ }, kn = m.__private__.getLineHeightFactor = m.getLineHeightFactor = function() {
57379
57380
  return Oi;
57380
57381
  };
57381
57382
  vo(l.lineHeight);
@@ -57418,7 +57419,7 @@ T* `) : U.join(` Tj
57418
57419
  };
57419
57420
  return wo = gr(ze), xe(wo), this;
57420
57421
  };
57421
- var Di = l.textColor || "0 g", yn = m.__private__.getTextColor = m.getTextColor = function() {
57422
+ var Di = l.textColor || "0 g", mn = m.__private__.getTextColor = m.getTextColor = function() {
57422
57423
  return ar(Di);
57423
57424
  };
57424
57425
  m.__private__.setTextColor = m.setTextColor = function(U, X, we, Ae) {
@@ -57539,7 +57540,7 @@ T* `) : U.join(` Tj
57539
57540
  Ye = yt.toString();
57540
57541
  }
57541
57542
  }), this;
57542
- }, vn = function(X, we, Ae, ze) {
57543
+ }, yn = function(X, we, Ae, ze) {
57543
57544
  Br.call(this, X, we), this.type = "rect";
57544
57545
  var Ye = Ae || 0;
57545
57546
  Object.defineProperty(this, "w", {
@@ -57567,9 +57568,9 @@ T* `) : U.join(` Tj
57567
57568
  oo.prototype.restore = function() {
57568
57569
  Vt = this.page, Ne = this.currentPage, te = this.pagesContext, me = this.pages, Yt = this.x, Kt = this.y, or = this.matrix, no(Ne, this.width), bo(Ne, this.height), Xe = this.outputDestination;
57569
57570
  };
57570
- var wn = function(X, we, Ae, ze, Ye) {
57571
+ var vn = function(X, we, Ae, ze, Ye) {
57571
57572
  Et.push(new oo()), Vt = Ne = 0, me = [], Yt = X, Kt = we, or = Ye, ft([Ae, ze]);
57572
- }, On = function(X) {
57573
+ }, Hn = function(X) {
57573
57574
  if (Ze[X]) {
57574
57575
  Et.pop().restore();
57575
57576
  return;
@@ -57578,9 +57579,9 @@ T* `) : U.join(` Tj
57578
57579
  we.id = Ae, Ze[X] = Ae, je[Ae] = we, ae.publish("addFormObject", we), Et.pop().restore();
57579
57580
  };
57580
57581
  m.beginFormObject = function(U, X, we, Ae, ze) {
57581
- return wn(U, X, we, Ae, ze), this;
57582
+ return vn(U, X, we, Ae, ze), this;
57582
57583
  }, m.endFormObject = function(U) {
57583
- return On(U), this;
57584
+ return Hn(U), this;
57584
57585
  }, m.doFormObject = function(U, X) {
57585
57586
  var we = je[Ze[U]];
57586
57587
  return xe("q"), xe(X.toString() + " cm"), xe("/" + we.id + " Do"), xe("Q"), this;
@@ -57620,14 +57621,14 @@ T* `) : U.join(` Tj
57620
57621
  };
57621
57622
  return m.internal = {
57622
57623
  pdfEscape: dt,
57623
- getStyle: fn,
57624
- getFont: Vo,
57624
+ getStyle: un,
57625
+ getFont: Go,
57625
57626
  getFontSize: Be,
57626
57627
  getCharSpace: Co,
57627
- getTextColor: yn,
57628
- getLineHeight: kn,
57629
- getLineHeightFactor: Hn,
57630
- getLineWidth: Rn,
57628
+ getTextColor: mn,
57629
+ getLineHeight: Rn,
57630
+ getLineHeightFactor: kn,
57631
+ getLineWidth: Mn,
57631
57632
  write: le,
57632
57633
  getHorizontalCoordinate: Bi,
57633
57634
  getVerticalCoordinate: Ti,
@@ -57659,18 +57660,18 @@ T* `) : U.join(` Tj
57659
57660
  encryptionOptions: p,
57660
57661
  encryption: Tr,
57661
57662
  getEncryptor: to,
57662
- output: hn,
57663
+ output: dn,
57663
57664
  getNumberOfPages: Zt,
57664
57665
  pages: me,
57665
57666
  out: xe,
57666
57667
  f2: H,
57667
57668
  f3: B,
57668
- getPageInfo: un,
57669
- getPageInfoByObjId: Fn,
57670
- getCurrentPageInfo: In,
57669
+ getPageInfo: hn,
57670
+ getPageInfoByObjId: En,
57671
+ getCurrentPageInfo: Fn,
57671
57672
  getPDFVersion: C,
57672
57673
  Point: Br,
57673
- Rectangle: vn,
57674
+ Rectangle: yn,
57674
57675
  Matrix: ut,
57675
57676
  hasHotfix: ki
57676
57677
  //Expose the hasHotfix check so plugins can also check them.
@@ -60590,8 +60591,8 @@ function parseFontFamily(l) {
60590
60591
  weight: Ke,
60591
60592
  style: qe
60592
60593
  };
60593
- }), bt = resolveFontFace(mt, ct);
60594
- this.pdf.setFont(bt.ref.name, bt.ref.style);
60594
+ }), xt = resolveFontFace(mt, ct);
60595
+ this.pdf.setFont(xt.ref.name, xt.ref.style);
60595
60596
  return;
60596
60597
  }
60597
60598
  var Ct = "";
@@ -60855,7 +60856,7 @@ function parseFontFamily(l) {
60855
60856
  align: this.textAlign,
60856
60857
  maxWidth: be,
60857
60858
  // renderingMode: "fillThenStroke",
60858
- charSpace: Pe + 1
60859
+ charSpace: Pe + 0.5
60859
60860
  }) : j.call(this, {
60860
60861
  text: fe,
60861
60862
  x: J,
@@ -60882,7 +60883,7 @@ function parseFontFamily(l) {
60882
60883
  angle: Ie,
60883
60884
  align: this.textAlign,
60884
60885
  maxWidth: be,
60885
- charSpace: Pe + 1
60886
+ charSpace: Pe + 0.5
60886
60887
  // 自定义修改
60887
60888
  });
60888
60889
  }
@@ -60946,7 +60947,7 @@ function parseFontFamily(l) {
60946
60947
  if (this.autoPaging)
60947
60948
  for (var vt = qe[0], wt = qe[qe.length - 1], tt = vt; tt < wt + 1; tt++) {
60948
60949
  this.pdf.setPage(tt);
60949
- var rt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], mt = tt === 1 ? this.posY + this.margin[0] : this.margin[0], ct = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], bt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ct = tt === 1 ? 0 : ct + (tt - 2) * bt;
60950
+ var rt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], mt = tt === 1 ? this.posY + this.margin[0] : this.margin[0], ct = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], xt = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], Ct = tt === 1 ? 0 : ct + (tt - 2) * xt;
60950
60951
  if (this.ctx.clip_path.length !== 0) {
60951
60952
  var Ft = this.path;
60952
60953
  et = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = N(et, this.posX + this.margin[3], -Ct + mt + this.ctx.prevPageLastElemOffset), D.call(this, "fill", !0), this.path = Ft;
@@ -60954,7 +60955,7 @@ function parseFontFamily(l) {
60954
60955
  var St = JSON.parse(JSON.stringify(De));
60955
60956
  St = N([St], this.posX + this.margin[3], -Ct + mt + this.ctx.prevPageLastElemOffset)[0];
60956
60957
  var Jt = (tt > vt || tt < wt) && C.call(this);
60957
- Jt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], rt, bt, null).clip().discardPath()), this.pdf.addImage(fe, "JPEG", St.x, St.y, St.w, St.h, null, null, ue), Jt && this.pdf.restoreGraphicsState();
60958
+ Jt && (this.pdf.saveGraphicsState(), this.pdf.rect(this.margin[3], this.margin[0], rt, xt, null).clip().discardPath()), this.pdf.addImage(fe, "JPEG", St.x, St.y, St.w, St.h, null, null, ue), Jt && this.pdf.restoreGraphicsState();
60958
60959
  }
60959
60960
  else
60960
60961
  fe.nodeName && fe.nodeName == "CANVAS" ? this.pdf.addImage(fe.toDataURL("image/png"), "", De.x, De.y, De.w, De.h) : this.pdf.addImage(fe, "JPEG", De.x + this.posX, De.y + this.posY, De.w, De.h, null, null, ue, this.posX, this.posY);
@@ -61176,8 +61177,8 @@ function parseFontFamily(l) {
61176
61177
  if (J.text = J.text.replace(/[\t]/g, " "), this.autoPaging)
61177
61178
  for (var Be = xe[0], qe = xe[xe.length - 1], Ke = Be; Ke < qe + 1; Ke++) {
61178
61179
  this.pdf.setPage(Ke);
61179
- var et = Ke === 1 ? this.posY + this.margin[0] : this.margin[0], vt = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], wt = this.pdf.internal.pageSize.height - this.margin[2], tt = wt - this.margin[0], rt = this.pdf.internal.pageSize.width - this.margin[1], mt = rt - this.margin[3], ct = Ke === 1 ? 0 : vt + (Ke - 2) * tt, bt = J.charSpace ? parseFloat(J.charSpace) : 0;
61180
- if (this.ctx.clip_path.length !== 0) {
61180
+ var et = Ke === 1 ? this.posY + this.margin[0] : this.margin[0], vt = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], wt = this.pdf.internal.pageSize.height - this.margin[2], tt = wt - this.margin[0], rt = this.pdf.internal.pageSize.width - this.margin[1], mt = rt - this.margin[3], ct = Ke === 1 ? 0 : vt + (Ke - 2) * tt, xt = J.charSpace ? parseFloat(J.charSpace) : 0;
61181
+ if (console$1.log(xt, "--------------"), this.ctx.clip_path.length !== 0) {
61181
61182
  var Ct = this.path;
61182
61183
  ue = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = N(ue, this.posX + this.margin[3], -1 * ct + et), D.call(this, "fill", !0), this.path = Ct;
61183
61184
  }
@@ -61191,7 +61192,7 @@ function parseFontFamily(l) {
61191
61192
  angle: J.angle,
61192
61193
  align: ce,
61193
61194
  renderingMode: J.renderingMode,
61194
- charSpace: bt
61195
+ charSpace: xt
61195
61196
  // 自定义修改
61196
61197
  }), ir && this.pdf.restoreGraphicsState();
61197
61198
  }
@@ -61201,13 +61202,13 @@ function parseFontFamily(l) {
61201
61202
  }
61202
61203
  else {
61203
61204
  J.scale >= 0.01 && (ee = this.pdf.internal.getFontSize(), this.pdf.setFontSize(ee * J.scale), De = this.lineWidth, this.lineWidth = De * J.scale);
61204
- var bt = J.charSpace ? parseFloat(J.charSpace) : 0;
61205
+ var xt = J.charSpace ? parseFloat(J.charSpace) : 0;
61205
61206
  this.pdf.text(J.text, me.x + this.posX, me.y + this.posY, {
61206
61207
  angle: J.angle,
61207
61208
  align: ce,
61208
61209
  renderingMode: J.renderingMode,
61209
61210
  // maxWidth: options.maxWidth,
61210
- charSpace: bt
61211
+ charSpace: xt
61211
61212
  }), J.scale >= 0.01 && (this.pdf.setFontSize(ee), this.lineWidth = De);
61212
61213
  }
61213
61214
  }, Y = function(J, ce, be, Ie) {
@@ -61244,9 +61245,9 @@ function parseFontFamily(l) {
61244
61245
  var me = J + (be - J) * 0.5, Ne = ce + (Ie - ce) * 0.5, Fe = ye + (be - ye) * 0.5, Xe = Pe + (Ie - Pe) * 0.5, Te = Math.min(J, ye, me, Fe), ke = Math.max(J, ye, me, Fe), xe = Math.min(ce, Pe, Ne, Xe), le = Math.max(ce, Pe, Ne, Xe);
61245
61246
  return new u(Te, xe, ke - Te, le - xe);
61246
61247
  }, Ce = function(J, ce, be, Ie, ye, Pe, me, Ne) {
61247
- var Fe = be - J, Xe = Ie - ce, Te = ye - be, ke = Pe - Ie, xe = me - ye, le = Ne - Pe, ue = 40, ee, De, Be, qe, Ke, et, vt, wt, tt, rt, mt, ct, bt, Ct, Ft, St, Jt, Rt, ir, Sr, zt, Vt, te, ae;
61248
+ var Fe = be - J, Xe = Ie - ce, Te = ye - be, ke = Pe - Ie, xe = me - ye, le = Ne - Pe, ue = 40, ee, De, Be, qe, Ke, et, vt, wt, tt, rt, mt, ct, xt, Ct, Ft, St, Jt, Rt, ir, Sr, zt, Vt, te, ae;
61248
61249
  for (De = 0; De < ue + 1; De++)
61249
- ee = De / ue, Be = J + ee * Fe, qe = ce + ee * Xe, Ke = be + ee * Te, et = Ie + ee * ke, vt = ye + ee * xe, wt = Pe + ee * le, ir = Ke - Be, Sr = et - qe, zt = vt - Ke, Vt = wt - et, mt = Be + ee * ir, ct = qe + ee * Sr, tt = Ke + ee * zt, rt = et + ee * Vt, te = tt - mt, ae = rt - ct, bt = mt + ee * te, Ct = ct + ee * ae, De == 0 ? (Ft = bt, St = Ct, Jt = bt, Rt = Ct) : (Ft = Math.min(Ft, bt), St = Math.min(St, Ct), Jt = Math.max(Jt, bt), Rt = Math.max(Rt, Ct));
61250
+ ee = De / ue, Be = J + ee * Fe, qe = ce + ee * Xe, Ke = be + ee * Te, et = Ie + ee * ke, vt = ye + ee * xe, wt = Pe + ee * le, ir = Ke - Be, Sr = et - qe, zt = vt - Ke, Vt = wt - et, mt = Be + ee * ir, ct = qe + ee * Sr, tt = Ke + ee * zt, rt = et + ee * Vt, te = tt - mt, ae = rt - ct, xt = mt + ee * te, Ct = ct + ee * ae, De == 0 ? (Ft = xt, St = Ct, Jt = xt, Rt = Ct) : (Ft = Math.min(Ft, xt), St = Math.min(St, Ct), Jt = Math.max(Jt, xt), Rt = Math.max(Rt, Ct));
61250
61251
  return new u(Math.round(Ft), Math.round(St), Math.round(Jt - Ft), Math.round(Rt - St));
61251
61252
  }, oe = function(J, ce) {
61252
61253
  return JSON.stringify({
@@ -62598,10 +62599,10 @@ function JPEGEncoder(l) {
62598
62599
  var xe, le, ue, ee, De, Be, qe, Ke, et = 0, vt, wt = 8, tt = 64;
62599
62600
  for (vt = 0; vt < wt; ++vt) {
62600
62601
  xe = Te[et], le = Te[et + 1], ue = Te[et + 2], ee = Te[et + 3], De = Te[et + 4], Be = Te[et + 5], qe = Te[et + 6], Ke = Te[et + 7];
62601
- var rt = xe + Ke, mt = xe - Ke, ct = le + qe, bt = le - qe, Ct = ue + Be, Ft = ue - Be, St = ee + De, Jt = ee - De, Rt = rt + St, ir = rt - St, Sr = ct + Ct, zt = ct - Ct;
62602
+ var rt = xe + Ke, mt = xe - Ke, ct = le + qe, xt = le - qe, Ct = ue + Be, Ft = ue - Be, St = ee + De, Jt = ee - De, Rt = rt + St, ir = rt - St, Sr = ct + Ct, zt = ct - Ct;
62602
62603
  Te[et] = Rt + Sr, Te[et + 4] = Rt - Sr;
62603
62604
  var Vt = (zt + ir) * 0.707106781;
62604
- Te[et + 2] = ir + Vt, Te[et + 6] = ir - Vt, Rt = Jt + Ft, Sr = Ft + bt, zt = bt + mt;
62605
+ Te[et + 2] = ir + Vt, Te[et + 6] = ir - Vt, Rt = Jt + Ft, Sr = Ft + xt, zt = xt + mt;
62605
62606
  var te = (Rt - zt) * 0.382683433, ae = 0.5411961 * Rt + te, Se = 1.306562965 * zt + te, je = Sr * 0.707106781, Ze = mt + je, Et = mt - je;
62606
62607
  Te[et + 5] = Et + ae, Te[et + 3] = Et - ae, Te[et + 1] = Ze + Se, Te[et + 7] = Ze - Se, et += 8;
62607
62608
  }
@@ -62668,9 +62669,9 @@ function JPEGEncoder(l) {
62668
62669
  if (rt == 0)
62669
62670
  return oe(ee), xe;
62670
62671
  for (var mt = 1, ct; mt <= rt; ) {
62671
- for (var bt = mt; m[mt] == 0 && mt <= rt; )
62672
+ for (var xt = mt; m[mt] == 0 && mt <= rt; )
62672
62673
  ++mt;
62673
- var Ct = mt - bt;
62674
+ var Ct = mt - xt;
62674
62675
  if (Ct >= qe) {
62675
62676
  ct = Ct >> 4;
62676
62677
  for (var Ft = 1; Ft <= ct; ++Ft)
@@ -62689,10 +62690,10 @@ function JPEGEncoder(l) {
62689
62690
  ke && Fe(ke), v = new Array(), C = 0, w = 7, fe(65496), ce(), Ie(), be(Te.width, Te.height), ye(), Pe();
62690
62691
  var xe = 0, le = 0, ue = 0;
62691
62692
  C = 0, w = 7, this.encode.displayName = "_encode_";
62692
- for (var ee = Te.data, De = Te.width, Be = Te.height, qe = De * 4, Ke, et = 0, vt, wt, tt, rt, mt, ct, bt, Ct; et < Be; ) {
62693
+ for (var ee = Te.data, De = Te.width, Be = Te.height, qe = De * 4, Ke, et = 0, vt, wt, tt, rt, mt, ct, xt, Ct; et < Be; ) {
62693
62694
  for (Ke = 0; Ke < qe; ) {
62694
- for (rt = qe * et + Ke, ct = -1, bt = 0, Ct = 0; Ct < 64; Ct++)
62695
- bt = Ct >> 3, ct = (Ct & 7) * 4, mt = rt + bt * qe + ct, et + bt >= Be && (mt -= qe * (et + 1 + bt - Be)), Ke + ct >= qe && (mt -= Ke + ct - qe + 4), vt = ee[mt++], wt = ee[mt++], tt = ee[mt++], b[Ct] = (D[vt] + D[wt + 256 >> 0] + D[tt + 512 >> 0] >> 16) - 128, N[Ct] = (D[vt + 768 >> 0] + D[wt + 1024 >> 0] + D[tt + 1280 >> 0] >> 16) - 128, E[Ct] = (D[vt + 1280 >> 0] + D[wt + 1536 >> 0] + D[tt + 1792 >> 0] >> 16) - 128;
62695
+ for (rt = qe * et + Ke, ct = -1, xt = 0, Ct = 0; Ct < 64; Ct++)
62696
+ xt = Ct >> 3, ct = (Ct & 7) * 4, mt = rt + xt * qe + ct, et + xt >= Be && (mt -= qe * (et + 1 + xt - Be)), Ke + ct >= qe && (mt -= Ke + ct - qe + 4), vt = ee[mt++], wt = ee[mt++], tt = ee[mt++], b[Ct] = (D[vt] + D[wt + 256 >> 0] + D[tt + 512 >> 0] >> 16) - 128, N[Ct] = (D[vt + 768 >> 0] + D[wt + 1024 >> 0] + D[tt + 1280 >> 0] >> 16) - 128, E[Ct] = (D[vt + 1280 >> 0] + D[wt + 1536 >> 0] + D[tt + 1792 >> 0] >> 16) - 128;
62696
62697
  xe = me(b, a, xe, c, u), le = me(N, s, le, d, f), ue = me(E, s, ue, d, f), Ke += 32;
62697
62698
  }
62698
62699
  et += 8;
@@ -62953,7 +62954,7 @@ function WebPDecoder(l) {
62953
62954
  this.value = this.g = 0;
62954
62955
  }
62955
62956
  function Ce() {
62956
- this.G = c(5, K), this.H = s(5), this.jc = this.Qb = this.qb = this.nd = 0, this.pd = c(Ko, se);
62957
+ this.G = c(5, K), this.H = s(5), this.jc = this.Qb = this.qb = this.nd = 0, this.pd = c(Jo, se);
62957
62958
  }
62958
62959
  function oe(T, I, k, z) {
62959
62960
  r(T != null), r(I != null), r(2147483648 > z), T.Ca = 254, T.I = 0, T.b = -8, T.Ka = 0, T.oa = I, T.pa = k, T.Jd = I, T.Yc = k + z, T.Zc = 4 <= z ? k + z - 4 + 1 : k, Xe(T);
@@ -62979,7 +62980,7 @@ function WebPDecoder(l) {
62979
62980
  me(T) && (T.h = 1, T.u = 0);
62980
62981
  }
62981
62982
  function be(T, I) {
62982
- if (r(0 <= I), !T.h && I <= Bn) {
62983
+ if (r(0 <= I), !T.h && I <= On) {
62983
62984
  var k = Pe(T) & Do[I];
62984
62985
  return T.u += I, ce(T), k;
62985
62986
  }
@@ -63073,7 +63074,7 @@ function WebPDecoder(l) {
63073
63074
  function ct(T, I) {
63074
63075
  return mt(T + (T - I + 0.5 >> 1));
63075
63076
  }
63076
- function bt(T, I, k) {
63077
+ function xt(T, I, k) {
63077
63078
  return Math.abs(I - k) - Math.abs(T - k);
63078
63079
  }
63079
63080
  function Ct(T, I, k, z, $, re, ie) {
@@ -63151,7 +63152,7 @@ function WebPDecoder(l) {
63151
63152
  Y[I][0] = Y[T + "0"], Y[I][1] = Y[T + "1"], Y[I][2] = Y[T + "2"], Y[I][3] = Y[T + "3"], Y[I][4] = Y[T + "4"], Y[I][5] = Y[T + "5"], Y[I][6] = Y[T + "6"], Y[I][7] = Y[T + "7"], Y[I][8] = Y[T + "8"], Y[I][9] = Y[T + "9"], Y[I][10] = Y[T + "10"], Y[I][11] = Y[T + "11"], Y[I][12] = Y[T + "12"], Y[I][13] = Y[T + "13"], Y[I][14] = Y[T + "0"], Y[I][15] = Y[T + "0"];
63152
63153
  }
63153
63154
  function je(T) {
63154
- return T == Wn || T == jn || T == bn || T == Un;
63155
+ return T == zn || T == Wn || T == xn || T == jn;
63155
63156
  }
63156
63157
  function Ze() {
63157
63158
  this.eb = [], this.size = this.A = this.fb = 0;
@@ -63180,17 +63181,17 @@ function WebPDecoder(l) {
63180
63181
  function kt(T, I, k) {
63181
63182
  var z = T.F, $ = [T.J];
63182
63183
  if (z != null) {
63183
- var re = T.U, ie = I.ba.S, ne = ie == xn || ie == bn;
63184
+ var re = T.U, ie = I.ba.S, ne = ie == Cn || ie == xn;
63184
63185
  I = I.ba.f.RGBA;
63185
63186
  var he = [0], Ee = T.ka;
63186
63187
  he[0] = T.T, T.Kb && (Ee == 0 ? --he[0] : (--Ee, $[0] -= T.width), T.j + T.ka + T.T == T.o && (he[0] = T.o - T.j - Ee));
63187
63188
  var ge = I.eb, Ee = I.fb + Ee * I.A;
63188
- T = xa(z, $[0], T.width, re, he, ge, Ee + (ne ? 0 : 3), I.A), r(k == he), T && je(ie) && on(ge, Ee, ne, re, he, I.A);
63189
+ T = Ca(z, $[0], T.width, re, he, ge, Ee + (ne ? 0 : 3), I.A), r(k == he), T && je(ie) && rn(ge, Ee, ne, re, he, I.A);
63189
63190
  }
63190
63191
  return 0;
63191
63192
  }
63192
63193
  function Cr(T) {
63193
- var I = T.ma, k = I.ba.S, z = 11 > k, $ = k == Fo || k == Ai || k == xn || k == zn || k == 12 || je(k);
63194
+ var I = T.ma, k = I.ba.S, z = 11 > k, $ = k == Fo || k == Ai || k == Cn || k == Bn || k == 12 || je(k);
63194
63195
  if (I.memory = null, I.Ib = null, I.Jb = null, I.Nd = null, !Fr(I.Oa, T, $ ? 11 : 12)) return 0;
63195
63196
  if ($ && je(k) && Hr(), T.da) alert("todo:use_scaling");
63196
63197
  else {
@@ -63202,12 +63203,12 @@ function WebPDecoder(l) {
63202
63203
  } else alert("todo:EmitYUV");
63203
63204
  $ && (I.Jb = kt, z && lr());
63204
63205
  }
63205
- if (z && !Ea) {
63206
+ if (z && !Sa) {
63206
63207
  for (T = 0; 256 > T; ++T)
63207
- Ka[T] = 89858 * (T - 128) + nn >> Sn, Fa[T] = -22014 * (T - 128) + nn, Xi[T] = -45773 * (T - 128), $a[T] = 113618 * (T - 128) + nn >> Sn;
63208
- for (T = an; T < Qn; ++T)
63209
- I = 76283 * (T - 16) + nn >> Sn, es[T - an] = Dr(I, 255), ts[T - an] = Dr(I + 8 >> 4, 15);
63210
- Ea = 1;
63208
+ Ja[T] = 89858 * (T - 128) + on >> Dn, Ea[T] = -22014 * (T - 128) + on, Xi[T] = -45773 * (T - 128), Ka[T] = 113618 * (T - 128) + on >> Dn;
63209
+ for (T = nn; T < qn; ++T)
63210
+ I = 76283 * (T - 16) + on >> Dn, $a[T - nn] = Dr(I, 255), es[T - nn] = Dr(I + 8 >> 4, 15);
63211
+ Sa = 1;
63211
63212
  }
63212
63213
  return 1;
63213
63214
  }
@@ -63228,7 +63229,7 @@ function WebPDecoder(l) {
63228
63229
  }
63229
63230
  function jt(T, I) {
63230
63231
  if (120 < I) return I - 120;
63231
- var k = Va[I - 1], k = (k >> 4) * T + (8 - (k & 15));
63232
+ var k = Ga[I - 1], k = (k >> 4) * T + (8 - (k & 15));
63232
63233
  return 1 <= k ? k : 1;
63233
63234
  }
63234
63235
  function Gt(T, I, k) {
@@ -63257,10 +63258,10 @@ function WebPDecoder(l) {
63257
63258
  case 0:
63258
63259
  var it = ge, Ue = Ee, Je = Oe, ot = he, lt = ne, st = it.Ea;
63259
63260
  Ue == 0 && (bi(Ge, Ve, null, null, 1, ot, lt), Ct(Ge, Ve + 1, 0, 0, st - 1, ot, lt + 1), Ve += st, lt += st, ++Ue);
63260
- for (var xt = 1 << it.b, _t = xt - 1, Dt = et(st, it.b), It = it.K, it = it.w + (Ue >> it.b) * Dt; Ue < Je; ) {
63261
+ for (var bt = 1 << it.b, _t = bt - 1, Dt = et(st, it.b), It = it.K, it = it.w + (Ue >> it.b) * Dt; Ue < Je; ) {
63261
63262
  var dr = It, er = it, tr = 1;
63262
63263
  for (So(Ge, Ve, ot, lt - st, 1, ot, lt); tr < st; ) {
63263
- var Ir = Cn[dr[er++] >> 8 & 15], Ar = (tr & ~_t) + xt;
63264
+ var Ir = wn[dr[er++] >> 8 & 15], Ar = (tr & ~_t) + bt;
63264
63265
  Ar > st && (Ar = st), Ir(Ge, Ve + +tr, ot, lt + tr - st, Ar - tr, ot, lt + tr), tr = Ar;
63265
63266
  }
63266
63267
  Ve += st, lt += st, ++Ue, Ue & _t || (it += Dt);
@@ -63268,8 +63269,8 @@ function WebPDecoder(l) {
63268
63269
  Oe != ge.nc && n(he, ne - Qe, he, ne + (Oe - Ee - 1) * Qe, Qe);
63269
63270
  break;
63270
63271
  case 1:
63271
- for (Qe = Ge, Je = Ve, Ge = ge.Ea, Ve = 1 << ge.b, ot = Ve - 1, lt = Ge & ~ot, st = Ge - lt, Ue = et(Ge, ge.b), xt = ge.K, ge = ge.w + (Ee >> ge.b) * Ue; Ee < Oe; ) {
63272
- for (_t = xt, Dt = ge, It = new tt(), it = Je + lt, dr = Je + Ge; Je < it; )
63272
+ for (Qe = Ge, Je = Ve, Ge = ge.Ea, Ve = 1 << ge.b, ot = Ve - 1, lt = Ge & ~ot, st = Ge - lt, Ue = et(Ge, ge.b), bt = ge.K, ge = ge.w + (Ee >> ge.b) * Ue; Ee < Oe; ) {
63273
+ for (_t = bt, Dt = ge, It = new tt(), it = Je + lt, dr = Je + Ge; Je < it; )
63273
63274
  St(_t[Dt++], It), Eo(It, Qe, Je, Ve, he, ne), Je += Ve, ne += Ve;
63274
63275
  Je < dr && (St(_t[Dt++], It), Eo(It, Qe, Je, st, he, ne), Je += st, ne += st), ++Ee, Ee & ot || (ge += Ue);
63275
63276
  }
@@ -63306,8 +63307,8 @@ function WebPDecoder(l) {
63306
63307
  case Fo:
63307
63308
  Zi(Ve, Qe, it, Ue, Je);
63308
63309
  break;
63309
- case Wn:
63310
- Zi(Ve, Qe, it, Ue, Je), on(Ue, Je, 0, it, 1, 0);
63310
+ case zn:
63311
+ Zi(Ve, Qe, it, Ue, Je), rn(Ue, Je, 0, it, 1, 0);
63311
63312
  break;
63312
63313
  case fi:
63313
63314
  Or(Ve, Qe, it, Ue, Je);
@@ -63315,22 +63316,22 @@ function WebPDecoder(l) {
63315
63316
  case Ai:
63316
63317
  ae(Ve, Qe, it, Ue, Je, 1);
63317
63318
  break;
63318
- case jn:
63319
- ae(Ve, Qe, it, Ue, Je, 1), on(Ue, Je, 0, it, 1, 0);
63319
+ case Wn:
63320
+ ae(Ve, Qe, it, Ue, Je, 1), rn(Ue, Je, 0, it, 1, 0);
63320
63321
  break;
63321
- case xn:
63322
+ case Cn:
63322
63323
  ae(Ve, Qe, it, Ue, Je, 0);
63323
63324
  break;
63324
- case bn:
63325
- ae(Ve, Qe, it, Ue, Je, 0), on(Ue, Je, 1, it, 1, 0);
63325
+ case xn:
63326
+ ae(Ve, Qe, it, Ue, Je, 0), rn(Ue, Je, 1, it, 1, 0);
63326
63327
  break;
63327
- case zn:
63328
+ case Bn:
63328
63329
  Gi(Ve, Qe, it, Ue, Je);
63329
63330
  break;
63330
- case Un:
63331
- Gi(Ve, Qe, it, Ue, Je), Tn(Ue, Je, it, 1, 0);
63331
+ case jn:
63332
+ Gi(Ve, Qe, it, Ue, Je), Nn(Ue, Je, it, 1, 0);
63332
63333
  break;
63333
- case ia:
63334
+ case ra:
63334
63335
  ho(Ve, Qe, it, Ue, Je);
63335
63336
  break;
63336
63337
  default:
@@ -63380,27 +63381,27 @@ function WebPDecoder(l) {
63380
63381
  for (; lt || Oe < Ve; ) {
63381
63382
  var st = 0;
63382
63383
  if (ne >= it) {
63383
- var it = T, xt = Oe - k;
63384
- r(it.Pb), it.wd = it.m, it.xd = xt, 0 < it.s.ua && Be(it.s.Wa, it.s.vb), it = ne + qa;
63384
+ var it = T, bt = Oe - k;
63385
+ r(it.Pb), it.wd = it.m, it.xd = bt, 0 < it.s.ua && Be(it.s.Wa, it.s.vb), it = ne + Xa;
63385
63386
  }
63386
63387
  if (he & Je || (ot = gr(Ee, he, ne)), r(ot != null), ot.Qb && (I[Oe] = ot.qb, lt = !0), !lt) if (Fe(ge), ot.jc) {
63387
- var st = ge, xt = I, _t = Oe, Dt = ot.pd[Pe(st) & Ko - 1];
63388
- r(ot.jc), 256 > Dt.g ? (Ne(st, st.u + Dt.g), xt[_t] = Dt.value, st = 0) : (Ne(st, st.u + Dt.g - 256), r(256 <= Dt.value), st = Dt.value), st == 0 && (lt = !0);
63388
+ var st = ge, bt = I, _t = Oe, Dt = ot.pd[Pe(st) & Jo - 1];
63389
+ r(ot.jc), 256 > Dt.g ? (Ne(st, st.u + Dt.g), bt[_t] = Dt.value, st = 0) : (Ne(st, st.u + Dt.g - 256), r(256 <= Dt.value), st = Dt.value), st == 0 && (lt = !0);
63389
63390
  } else st = Gt(ot.G[0], ot.H[0], ge);
63390
63391
  if (ge.h) break;
63391
63392
  if (lt || 256 > st) {
63392
63393
  if (!lt) if (ot.nd) I[Oe] = (ot.qb | st << 8) >>> 0;
63393
63394
  else {
63394
- if (Fe(ge), lt = Gt(ot.G[1], ot.H[1], ge), Fe(ge), xt = Gt(ot.G[2], ot.H[2], ge), _t = Gt(ot.G[3], ot.H[3], ge), ge.h) break;
63395
- I[Oe] = (_t << 24 | lt << 16 | st << 8 | xt) >>> 0;
63395
+ if (Fe(ge), lt = Gt(ot.G[1], ot.H[1], ge), Fe(ge), bt = Gt(ot.G[2], ot.H[2], ge), _t = Gt(ot.G[3], ot.H[3], ge), ge.h) break;
63396
+ I[Oe] = (_t << 24 | lt << 16 | st << 8 | bt) >>> 0;
63396
63397
  }
63397
63398
  if (lt = !1, ++Oe, ++he, he >= z && (he = 0, ++ne, ie != null && ne <= re && !(ne % 16) && ie(T, ne), Ue != null)) for (; Ge < Oe; )
63398
63399
  st = I[Ge++], Ue.X[(506832829 * st & 4294967295) >>> Ue.Mb] = st;
63399
63400
  } else if (280 > st) {
63400
- if (st = ur(st - 256, ge), xt = Gt(ot.G[4], ot.H[4], ge), Fe(ge), xt = ur(xt, ge), xt = jt(z, xt), ge.h) break;
63401
- if (Oe - k < xt || $ - Oe < st) break e;
63401
+ if (st = ur(st - 256, ge), bt = Gt(ot.G[4], ot.H[4], ge), Fe(ge), bt = ur(bt, ge), bt = jt(z, bt), ge.h) break;
63402
+ if (Oe - k < bt || $ - Oe < st) break e;
63402
63403
  for (_t = 0; _t < st; ++_t)
63403
- I[Oe + _t] = I[Oe + _t - xt];
63404
+ I[Oe + _t] = I[Oe + _t - bt];
63404
63405
  for (Oe += st, he += st; he >= z; )
63405
63406
  he -= z, ++ne, ie != null && ne <= re && !(ne % 16) && ie(T, ne);
63406
63407
  if (r(Oe <= $), he & Je && (ot = gr(Ee, he, ne)), Ue != null) for (; Ge < Oe; )
@@ -63408,7 +63409,7 @@ function WebPDecoder(l) {
63408
63409
  } else if (st < Qe) {
63409
63410
  for (lt = st - 280, r(Ue != null); Ge < Oe; )
63410
63411
  st = I[Ge++], Ue.X[(506832829 * st & 4294967295) >>> Ue.Mb] = st;
63411
- st = Oe, xt = Ue, r(!(lt >>> xt.Xa)), I[st] = xt.X[lt], lt = !0;
63412
+ st = Oe, bt = Ue, r(!(lt >>> bt.Xa)), I[st] = bt.X[lt], lt = !0;
63412
63413
  } else break e;
63413
63414
  lt || r(ge.h == me(ge));
63414
63415
  }
@@ -63428,7 +63429,7 @@ function WebPDecoder(l) {
63428
63429
  }
63429
63430
  function mi() {
63430
63431
  var T = new we();
63431
- return T == null ? null : (T.a = 0, T.xb = Ca, Se("Predictor", "VP8LPredictors"), Se("Predictor", "VP8LPredictors_C"), Se("PredictorAdd", "VP8LPredictorsAdd"), Se("PredictorAdd", "VP8LPredictorsAdd_C"), hi = Ft, Eo = Jt, co = ir, Zi = Sr, Gi = zt, ho = Vt, Or = te, Y.VP8LMapColor32b = Ui, Y.VP8LMapColor8b = $o, T);
63432
+ return T == null ? null : (T.a = 0, T.xb = wa, Se("Predictor", "VP8LPredictors"), Se("Predictor", "VP8LPredictors_C"), Se("PredictorAdd", "VP8LPredictorsAdd"), Se("PredictorAdd", "VP8LPredictorsAdd_C"), hi = Ft, Eo = Jt, co = ir, Zi = Sr, Gi = zt, ho = Vt, Or = te, Y.VP8LMapColor32b = Ui, Y.VP8LMapColor8b = Ko, T);
63432
63433
  }
63433
63434
  function ai(T, I, k, z, $) {
63434
63435
  var re = 1, ie = [T], ne = [I], he = z.m, ge = z.s, Ee = null, Oe = 0;
@@ -63445,20 +63446,20 @@ function WebPDecoder(l) {
63445
63446
  case 3:
63446
63447
  var lt = be(Ue, 8) + 1, st = 16 < lt ? 0 : 4 < lt ? 1 : 2 < lt ? 2 : 3;
63447
63448
  Ge[0] = et(Je.Ea, st), Je.b = st;
63448
- var it = ai(lt, 1, 0, Qe, Je.K), xt;
63449
- if (xt = it) {
63449
+ var it = ai(lt, 1, 0, Qe, Je.K), bt;
63450
+ if (bt = it) {
63450
63451
  var _t, Dt = lt, It = Je, dr = 1 << (8 >> It.b), er = s(dr);
63451
- if (er == null) xt = 0;
63452
+ if (er == null) bt = 0;
63452
63453
  else {
63453
63454
  var tr = It.K[0], Ir = It.w;
63454
63455
  for (er[0] = It.K[0][0], _t = 1; _t < 1 * Dt; ++_t)
63455
63456
  er[_t] = vt(tr[Ir + _t], er[_t - 1]);
63456
63457
  for (; _t < 4 * dr; ++_t)
63457
63458
  er[_t] = 0;
63458
- It.K[0] = null, It.K[0] = er, xt = 1;
63459
+ It.K[0] = null, It.K[0] = er, bt = 1;
63459
63460
  }
63460
63461
  }
63461
- it = xt;
63462
+ it = bt;
63462
63463
  break;
63463
63464
  case 2:
63464
63465
  break;
@@ -63474,22 +63475,22 @@ function WebPDecoder(l) {
63474
63475
  }
63475
63476
  var Ar;
63476
63477
  if (Ar = re) t: {
63477
- var Wr = z, _i = ie, Pr = ne, ri = Oe, Lo = k, jr, Er, Kn = Wr.m, sn = Wr.s, Mo = [null], Ro, Ur = 1, qi = 0, os = Xa[ri];
63478
+ var Wr = z, _i = ie, Pr = ne, ri = Oe, Lo = k, jr, Er, Jn = Wr.m, an = Wr.s, Mo = [null], Ro, Ur = 1, qi = 0, is = Va[ri];
63478
63479
  r: for (; ; ) {
63479
- if (Lo && be(Kn, 1)) {
63480
- var $n = be(Kn, 3) + 2, Aa = et(_i, $n), La = et(Pr, $n), ns = Aa * La;
63481
- if (!ai(Aa, La, 0, Wr, Mo)) break r;
63482
- for (Mo = Mo[0], sn.xc = $n, jr = 0; jr < ns; ++jr) {
63483
- var cn = Mo[jr] >> 8 & 65535;
63484
- Mo[jr] = cn, cn >= Ur && (Ur = cn + 1);
63480
+ if (Lo && be(Jn, 1)) {
63481
+ var Kn = be(Jn, 3) + 2, Ia = et(_i, Kn), Aa = et(Pr, Kn), os = Ia * Aa;
63482
+ if (!ai(Ia, Aa, 0, Wr, Mo)) break r;
63483
+ for (Mo = Mo[0], an.xc = Kn, jr = 0; jr < os; ++jr) {
63484
+ var sn = Mo[jr] >> 8 & 65535;
63485
+ Mo[jr] = sn, sn >= Ur && (Ur = sn + 1);
63485
63486
  }
63486
63487
  }
63487
- if (Kn.h) break r;
63488
+ if (Jn.h) break r;
63488
63489
  for (Er = 0; 5 > Er; ++Er) {
63489
- var oi = tn[Er];
63490
+ var oi = en[Er];
63490
63491
  !Er && 0 < ri && (oi += 1 << ri), qi < oi && (qi = oi);
63491
63492
  }
63492
- var ko = c(Ur * os, K), Qt = Ur, S = c(Qt, Ce);
63493
+ var ko = c(Ur * is, K), Qt = Ur, S = c(Qt, Ce);
63493
63494
  if (S == null) var M = null;
63494
63495
  else r(65536 >= Qt), M = S;
63495
63496
  var Z = s(qi);
@@ -63501,66 +63502,66 @@ function WebPDecoder(l) {
63501
63502
  for (jr = Ro = 0; jr < Ur; ++jr) {
63502
63503
  var de = M[jr], Me = de.G, $e = de.H, Pt = 0, Mt = 1, Xt = 0;
63503
63504
  for (Er = 0; 5 > Er; ++Er) {
63504
- oi = tn[Er], Me[Er] = Q, $e[Er] = Ro, !Er && 0 < ri && (oi += 1 << ri);
63505
+ oi = en[Er], Me[Er] = Q, $e[Er] = Ro, !Er && 0 < ri && (oi += 1 << ri);
63505
63506
  o: {
63506
- var Lr, pi = oi, gi = Wr, ea = Z, _s = Q, Ps = Ro, as = 0, Ho = gi.m, Ns = be(Ho, 1);
63507
- if (a(ea, 0, 0, pi), Ns) {
63508
- var Ts = be(Ho, 1) + 1, Ds = be(Ho, 1), ss = be(Ho, Ds == 0 ? 1 : 8);
63509
- ea[ss] = 1, Ts == 2 && (ss = be(Ho, 8), ea[ss] = 1);
63510
- var Ma = 1;
63507
+ var Lr, pi = oi, gi = Wr, $n = Z, bs = Q, _s = Ro, ns = 0, Ho = gi.m, Ps = be(Ho, 1);
63508
+ if (a($n, 0, 0, pi), Ps) {
63509
+ var Ns = be(Ho, 1) + 1, Ts = be(Ho, 1), as = be(Ho, Ts == 0 ? 1 : 8);
63510
+ $n[as] = 1, Ns == 2 && (as = be(Ho, 8), $n[as] = 1);
63511
+ var La = 1;
63511
63512
  } else {
63512
- var fs = s(19), ps = be(Ho, 4) + 4;
63513
- if (19 < ps) {
63513
+ var us = s(19), fs = be(Ho, 4) + 4;
63514
+ if (19 < fs) {
63514
63515
  gi.a = 3;
63515
- var Ra = 0;
63516
+ var Ma = 0;
63516
63517
  break o;
63517
63518
  }
63518
- for (Lr = 0; Lr < ps; ++Lr)
63519
- fs[Ga[Lr]] = be(Ho, 3);
63520
- var ka = void 0, ta = void 0, gs = gi, Ss = fs, Ha = pi, ms = ea, ls = 0, Oo = gs.m, ys = 8, vs = c(128, K);
63519
+ for (Lr = 0; Lr < fs; ++Lr)
63520
+ us[Za[Lr]] = be(Ho, 3);
63521
+ var Ra = void 0, ea = void 0, ps = gi, Ds = us, ka = pi, gs = $n, ss = 0, Oo = ps.m, ms = 8, ys = c(128, K);
63521
63522
  i: for (; ; ) {
63522
- if (!V(vs, 0, 7, Ss, 19)) break i;
63523
+ if (!V(ys, 0, 7, Ds, 19)) break i;
63523
63524
  if (be(Oo, 1)) {
63524
- var Es = 2 + 2 * be(Oo, 3), ka = 2 + be(Oo, Es);
63525
- if (ka > Ha) break i;
63526
- } else ka = Ha;
63527
- for (ta = 0; ta < Ha && ka--; ) {
63525
+ var Ss = 2 + 2 * be(Oo, 3), Ra = 2 + be(Oo, Ss);
63526
+ if (Ra > ka) break i;
63527
+ } else Ra = ka;
63528
+ for (ea = 0; ea < ka && Ra--; ) {
63528
63529
  Fe(Oo);
63529
- var ws = vs[0 + (Pe(Oo) & 127)];
63530
- Ne(Oo, Oo.u + ws.g);
63531
- var En = ws.value;
63532
- if (16 > En) ms[ta++] = En, En != 0 && (ys = En);
63530
+ var vs = ys[0 + (Pe(Oo) & 127)];
63531
+ Ne(Oo, Oo.u + vs.g);
63532
+ var Sn = vs.value;
63533
+ if (16 > Sn) gs[ea++] = Sn, Sn != 0 && (ms = Sn);
63533
63534
  else {
63534
- var Fs = En == 16, Cs = En - 16, Is = Ya[Cs], xs = be(Oo, Ua[Cs]) + Is;
63535
- if (ta + xs > Ha) break i;
63536
- for (var As = Fs ? ys : 0; 0 < xs--; )
63537
- ms[ta++] = As;
63535
+ var Es = Sn == 16, ws = Sn - 16, Fs = Ua[ws], Cs = be(Oo, ja[ws]) + Fs;
63536
+ if (ea + Cs > ka) break i;
63537
+ for (var Is = Es ? ms : 0; 0 < Cs--; )
63538
+ gs[ea++] = Is;
63538
63539
  }
63539
63540
  }
63540
- ls = 1;
63541
+ ss = 1;
63541
63542
  break i;
63542
63543
  }
63543
- ls || (gs.a = 3), Ma = ls;
63544
+ ss || (ps.a = 3), La = ss;
63544
63545
  }
63545
- (Ma = Ma && !Ho.h) && (as = V(_s, Ps, 8, ea, pi)), Ma && as != 0 ? Ra = as : (gi.a = 3, Ra = 0);
63546
+ (La = La && !Ho.h) && (ns = V(bs, _s, 8, $n, pi)), La && ns != 0 ? Ma = ns : (gi.a = 3, Ma = 0);
63546
63547
  }
63547
- if (Ra == 0) break r;
63548
- if (Mt && Za[Er] == 1 && (Mt = Q[Ro].g == 0), Pt += Q[Ro].g, Ro += Ra, 3 >= Er) {
63549
- var cs = Z[0], ra;
63550
- for (ra = 1; ra < oi; ++ra)
63551
- Z[ra] > cs && (cs = Z[ra]);
63552
- Xt += cs;
63548
+ if (Ma == 0) break r;
63549
+ if (Mt && Ya[Er] == 1 && (Mt = Q[Ro].g == 0), Pt += Q[Ro].g, Ro += Ma, 3 >= Er) {
63550
+ var ls = Z[0], ta;
63551
+ for (ta = 1; ta < oi; ++ta)
63552
+ Z[ta] > ls && (ls = Z[ta]);
63553
+ Xt += ls;
63553
63554
  }
63554
63555
  }
63555
63556
  if (de.nd = Mt, de.Qb = 0, Mt && (de.qb = (Me[3][$e[3] + 0].value << 24 | Me[1][$e[1] + 0].value << 16 | Me[2][$e[2] + 0].value) >>> 0, Pt == 0 && 256 > Me[0][$e[0] + 0].value && (de.Qb = 1, de.qb += Me[0][$e[0] + 0].value << 8)), de.jc = !de.Qb && 6 > Xt, de.jc) {
63556
- var Oa, fo = de;
63557
- for (Oa = 0; Oa < Ko; ++Oa) {
63558
- var Bo = Oa, zo = fo.pd[Bo], Ba = fo.G[0][fo.H[0] + Bo];
63559
- 256 <= Ba.value ? (zo.g = Ba.g + 256, zo.value = Ba.value) : (zo.g = 0, zo.value = 0, Bo >>= ar(Ba, 8, zo), Bo >>= ar(fo.G[1][fo.H[1] + Bo], 16, zo), Bo >>= ar(fo.G[2][fo.H[2] + Bo], 0, zo), ar(fo.G[3][fo.H[3] + Bo], 24, zo));
63557
+ var Ha, fo = de;
63558
+ for (Ha = 0; Ha < Jo; ++Ha) {
63559
+ var Bo = Ha, zo = fo.pd[Bo], Oa = fo.G[0][fo.H[0] + Bo];
63560
+ 256 <= Oa.value ? (zo.g = Oa.g + 256, zo.value = Oa.value) : (zo.g = 0, zo.value = 0, Bo >>= ar(Oa, 8, zo), Bo >>= ar(fo.G[1][fo.H[1] + Bo], 16, zo), Bo >>= ar(fo.G[2][fo.H[2] + Bo], 0, zo), ar(fo.G[3][fo.H[3] + Bo], 24, zo));
63560
63561
  }
63561
63562
  }
63562
63563
  }
63563
- sn.vc = Mo, sn.Wb = Ur, sn.Ya = M, sn.yc = ko, Ar = 1;
63564
+ an.vc = Mo, an.Wb = Ur, an.Ya = M, an.yc = ko, Ar = 1;
63564
63565
  break t;
63565
63566
  }
63566
63567
  Ar = 0;
@@ -63575,9 +63576,9 @@ function WebPDecoder(l) {
63575
63576
  break e;
63576
63577
  }
63577
63578
  } else ge.ua = 0;
63578
- var ds = z, bs = ie, Ls = ne, hs = ds.s, us = hs.xc;
63579
- if (ds.c = bs, ds.i = Ls, hs.md = et(bs, us), hs.wc = us == 0 ? -1 : (1 << us) - 1, k) {
63580
- z.xb = Qa;
63579
+ var cs = z, xs = ie, As = ne, ds = cs.s, hs = ds.xc;
63580
+ if (cs.c = xs, cs.i = As, ds.md = et(xs, hs), ds.wc = hs == 0 ? -1 : (1 << hs) - 1, k) {
63581
+ z.xb = qa;
63581
63582
  break e;
63582
63583
  }
63583
63584
  if (Ee = s(ie * ne), Ee == null) {
@@ -63597,7 +63598,7 @@ function WebPDecoder(l) {
63597
63598
  var k = T.C, z = I - k, $ = T.V, re = T.Ba + T.c * k;
63598
63599
  for (r(I <= T.l.o); 0 < z; ) {
63599
63600
  var ie = 16 < z ? 16 : z, ne = T.l.ma, he = T.l.width, ge = he * ie, Ee = ne.ca, Oe = ne.tb + he * k, Ge = T.Ta, Ve = T.Ua;
63600
- Rr(T, ie, $, re), ba(Ge, Ve, Ee, Oe, ge), Zr(ne, k, k + ie, Ee, Oe, he), z -= ie, $ += ie * T.c, k += ie;
63601
+ Rr(T, ie, $, re), xa(Ge, Ve, Ee, Oe, ge), Zr(ne, k, k + ie, Ee, Oe, he), z -= ie, $ += ie * T.c, k += ie;
63601
63602
  }
63602
63603
  r(k == I), T.C = T.Ma = I;
63603
63604
  }
@@ -63610,7 +63611,7 @@ function WebPDecoder(l) {
63610
63611
  T.a = 3;
63611
63612
  break e;
63612
63613
  }
63613
- if (T.xb = Ca, I.width = k[0], I.height = z[0], !ai(k[0], z[0], 1, T, null)) break e;
63614
+ if (T.xb = wa, I.width = k[0], I.height = z[0], !ai(k[0], z[0], 1, T, null)) break e;
63614
63615
  return 1;
63615
63616
  }
63616
63617
  return r(T.a != 0), 0;
@@ -63659,7 +63660,7 @@ function WebPDecoder(l) {
63659
63660
  }
63660
63661
  function at() {
63661
63662
  var T = new We();
63662
- return T != null && (T.a = 0, T.sc = "OK", T.cb = 0, T.Xb = 0, rn || (rn = gt)), T;
63663
+ return T != null && (T.a = 0, T.sc = "OK", T.cb = 0, T.Xb = 0, tn || (tn = gt)), T;
63663
63664
  }
63664
63665
  function nt(T, I, k) {
63665
63666
  return T.a == 0 && (T.a = I, T.sc = k, T.cb = 0), 0;
@@ -63723,16 +63724,16 @@ function WebPDecoder(l) {
63723
63724
  continue;
63724
63725
  } else Ge = k;
63725
63726
  var Ve = T.pb[Oe];
63726
- Ve.Sc[0] = Yn[Dr(Ge + $, 127)], Ve.Sc[1] = Zn[Dr(Ge + 0, 127)], Ve.Eb[0] = 2 * Yn[Dr(Ge + z, 127)], Ve.Eb[1] = 101581 * Zn[Dr(Ge + ne, 127)] >> 16, 8 > Ve.Eb[1] && (Ve.Eb[1] = 8), Ve.Qc[0] = Yn[Dr(Ge + he, 117)], Ve.Qc[1] = Zn[Dr(Ge + ge, 127)], Ve.lc = Ge + ge;
63727
+ Ve.Sc[0] = Un[Dr(Ge + $, 127)], Ve.Sc[1] = Yn[Dr(Ge + 0, 127)], Ve.Eb[0] = 2 * Un[Dr(Ge + z, 127)], Ve.Eb[1] = 101581 * Yn[Dr(Ge + ne, 127)] >> 16, 8 > Ve.Eb[1] && (Ve.Eb[1] = 8), Ve.Qc[0] = Un[Dr(Ge + he, 117)], Ve.Qc[1] = Yn[Dr(Ge + ge, 127)], Ve.lc = Ge + ge;
63727
63728
  }
63728
63729
  if (!ie.Rb) return nt(T, 4, "Not a key frame.");
63729
63730
  for (Te(re), ie = T.Pa, k = 0; 4 > k; ++k) {
63730
63731
  for ($ = 0; 8 > $; ++$)
63731
63732
  for (z = 0; 3 > z; ++z)
63732
63733
  for (ne = 0; 11 > ne; ++ne)
63733
- he = ke(re, Pn[k][$][z][ne]) ? pe(re, 8) : _n[k][$][z][ne], ie.Wc[k][$].Yb[z][ne] = he;
63734
+ he = ke(re, _n[k][$][z][ne]) ? pe(re, 8) : bn[k][$][z][ne], ie.Wc[k][$].Yb[z][ne] = he;
63734
63735
  for ($ = 0; 17 > $; ++$)
63735
- ie.Xc[k][$] = ie.Wc[k][aa[$]];
63736
+ ie.Xc[k][$] = ie.Wc[k][na[$]];
63736
63737
  }
63737
63738
  return T.kc = Te(re), T.kc && (T.Bd = pe(re, 8)), T.cb = 1;
63738
63739
  }
@@ -63747,14 +63748,14 @@ function WebPDecoder(l) {
63747
63748
  var ge = T, Oe = ne, Ge = k, Ee = 0;
63748
63749
  if (ke(ge, Oe[Ge + 3]))
63749
63750
  if (ke(ge, Oe[Ge + 6])) {
63750
- for (ne = 0, Ee = ke(ge, Oe[Ge + 8]), Oe = ke(ge, Oe[Ge + 9 + Ee]), Ge = 2 * Ee + Oe, Ee = 0, Oe = oa[Ge]; Oe[ne]; ++ne)
63751
+ for (ne = 0, Ee = ke(ge, Oe[Ge + 8]), Oe = ke(ge, Oe[Ge + 9 + Ee]), Ge = 2 * Ee + Oe, Ee = 0, Oe = ia[Ge]; Oe[ne]; ++ne)
63751
63752
  Ee += Ee + ke(ge, Oe[ne]);
63752
63753
  Ee += 3 + (8 << Ge);
63753
63754
  } else ke(ge, Oe[Ge + 7]) ? (Ee = 7 + 2 * ke(ge, 165), Ee += ke(ge, 145)) : Ee = 5 + ke(ge, 159);
63754
63755
  else ke(ge, Oe[Ge + 4]) ? Ee = 3 + ke(ge, Oe[Ge + 5]) : Ee = 2;
63755
63756
  ne = he[2];
63756
63757
  } else Ee = 1, ne = he[1];
63757
- he = ie + na[$], ge = T, 0 > ge.b && Xe(ge);
63758
+ he = ie + oa[$], ge = T, 0 > ge.b && Xe(ge);
63758
63759
  var Oe = ge.b, Ge = ge.Ca >> 1, Ve = Ge - (ge.I >> Oe) >> 31;
63759
63760
  --ge.b, ge.Ca += Ve, ge.Ca |= 1, ge.I -= (Ge + 1 & Ve) << Oe, re[he] = ((Ee ^ Ve) - Ve) * z[(0 < $) + 0];
63760
63761
  }
@@ -63775,8 +63776,8 @@ function WebPDecoder(l) {
63775
63776
  var Qe = Ee[0 + ne], it;
63776
63777
  for (it = 0; 4 > it; ++it) {
63777
63778
  Qe = Io[he[ge + it]][Qe];
63778
- for (var Ue = Gn[ke(ie, Qe[0])]; 0 < Ue; )
63779
- Ue = Gn[2 * Ue + ke(ie, Qe[Ue])];
63779
+ for (var Ue = Zn[ke(ie, Qe[0])]; 0 < Ue; )
63780
+ Ue = Zn[2 * Ue + ke(ie, Qe[Ue])];
63780
63781
  Qe = -Ue, he[ge + it] = Qe;
63781
63782
  }
63782
63783
  n(Ge, Ve, he, ge, 4), Ve += 4, Ee[0 + ne] = Qe;
@@ -63793,8 +63794,8 @@ function WebPDecoder(l) {
63793
63794
  var lt = 0, st = ge[3];
63794
63795
  else {
63795
63796
  Ue = s(16);
63796
- var xt = ie.Na + Ve.Na;
63797
- if (xt = rn(he, ge[1], xt, Oe.Eb, 0, Ue, 0), ie.Na = Ve.Na = (0 < xt) + 0, 1 < xt) uo(Ue, 0, ne, Ge);
63797
+ var bt = ie.Na + Ve.Na;
63798
+ if (bt = tn(he, ge[1], bt, Oe.Eb, 0, Ue, 0), ie.Na = Ve.Na = (0 < bt) + 0, 1 < bt) uo(Ue, 0, ne, Ge);
63798
63799
  else {
63799
63800
  var _t = Ue[0] + 3 >> 3;
63800
63801
  for (Ue = 0; 256 > Ue; Ue += 16)
@@ -63806,13 +63807,13 @@ function WebPDecoder(l) {
63806
63807
  for (Ue = 0; 4 > Ue; ++Ue) {
63807
63808
  var dr = It & 1;
63808
63809
  for (_t = ot = 0; 4 > _t; ++_t)
63809
- xt = dr + (Dt & 1), xt = rn(he, st, xt, Oe.Sc, lt, ne, Ge), dr = xt > lt, Dt = Dt >> 1 | dr << 7, ot = ot << 2 | (3 < xt ? 3 : 1 < xt ? 2 : ne[Ge + 0] != 0), Ge += 16;
63810
+ bt = dr + (Dt & 1), bt = tn(he, st, bt, Oe.Sc, lt, ne, Ge), dr = bt > lt, Dt = Dt >> 1 | dr << 7, ot = ot << 2 | (3 < bt ? 3 : 1 < bt ? 2 : ne[Ge + 0] != 0), Ge += 16;
63810
63811
  Dt >>= 4, It = It >> 1 | dr << 7, it = (it << 8 | ot) >>> 0;
63811
63812
  }
63812
63813
  for (st = Dt, lt = It >> 4, Je = 0; 4 > Je; Je += 2) {
63813
63814
  for (ot = 0, Dt = ie.la >> 4 + Je, It = Ve.la >> 4 + Je, Ue = 0; 2 > Ue; ++Ue) {
63814
63815
  for (dr = It & 1, _t = 0; 2 > _t; ++_t)
63815
- xt = dr + (Dt & 1), xt = rn(he, ge[2], xt, Oe.Qc, 0, ne, Ge), dr = 0 < xt, Dt = Dt >> 1 | dr << 3, ot = ot << 2 | (3 < xt ? 3 : 1 < xt ? 2 : ne[Ge + 0] != 0), Ge += 16;
63816
+ bt = dr + (Dt & 1), bt = tn(he, ge[2], bt, Oe.Qc, 0, ne, Ge), dr = 0 < bt, Dt = Dt >> 1 | dr << 3, ot = ot << 2 | (3 < bt ? 3 : 1 < bt ? 2 : ne[Ge + 0] != 0), Ge += 16;
63816
63817
  Dt >>= 2, It = It >> 1 | dr << 5;
63817
63818
  }
63818
63819
  Qe |= ot << 4 * Je, st |= Dt << 4 << Je, lt |= (It & 240) << Je;
@@ -63822,16 +63823,16 @@ function WebPDecoder(l) {
63822
63823
  if (0 < z.L && (z.wa[z.Y + z.ja] = z.gd[re.$b][re.Za], z.wa[z.Y + z.ja].La |= !ge), $.Ka) return nt(T, 7, "Premature end-of-file encountered.");
63823
63824
  }
63824
63825
  if (Nt(T), k = T, z = I, $ = 1, re = k.D, ie = 0 < k.L && k.M >= k.zb && k.M <= k.Va, k.Aa == 0) e: {
63825
- if (re.M = k.M, re.uc = ie, Qo(k, re), $ = 1, ot = k.D, re = ot.Nb, Qe = pt[k.L], ie = Qe * k.R, he = Qe / 2 * k.B, Ue = 16 * re * k.R, _t = 8 * re * k.B, ge = k.sa, Ee = k.ta - ie + Ue, Oe = k.qa, ne = k.ra - he + _t, Ge = k.Ha, Ve = k.Ia - he + _t, Dt = ot.M, It = Dt == 0, it = Dt >= k.Va - 1, k.Aa == 2 && Qo(k, ot), ot.uc) for (xt = k, dr = xt.D.M, r(xt.D.uc), ot = xt.yb; ot < xt.Hb; ++ot) {
63826
- var er = xt;
63826
+ if (re.M = k.M, re.uc = ie, qo(k, re), $ = 1, ot = k.D, re = ot.Nb, Qe = pt[k.L], ie = Qe * k.R, he = Qe / 2 * k.B, Ue = 16 * re * k.R, _t = 8 * re * k.B, ge = k.sa, Ee = k.ta - ie + Ue, Oe = k.qa, ne = k.ra - he + _t, Ge = k.Ha, Ve = k.Ia - he + _t, Dt = ot.M, It = Dt == 0, it = Dt >= k.Va - 1, k.Aa == 2 && qo(k, ot), ot.uc) for (bt = k, dr = bt.D.M, r(bt.D.uc), ot = bt.yb; ot < bt.Hb; ++ot) {
63827
+ var er = bt;
63827
63828
  lt = ot, st = dr;
63828
63829
  var Ir = er.D, tr = Ir.Nb;
63829
63830
  Je = er.R;
63830
63831
  var Ir = Ir.wa[Ir.Y + lt], Ar = er.sa, Wr = er.ta + 16 * tr * Je + 16 * lt, _i = Ir.dd, Pr = Ir.tc;
63831
- if (Pr != 0) if (r(3 <= Pr), er.L == 1) 0 < lt && ya(Ar, Wr, Je, Pr + 4), Ir.La && wa(Ar, Wr, Je, Pr), 0 < st && ma(Ar, Wr, Je, Pr + 4), Ir.La && va(Ar, Wr, Je, Pr);
63832
+ if (Pr != 0) if (r(3 <= Pr), er.L == 1) 0 < lt && ma(Ar, Wr, Je, Pr + 4), Ir.La && va(Ar, Wr, Je, Pr), 0 < st && ga(Ar, Wr, Je, Pr + 4), Ir.La && ya(Ar, Wr, Je, Pr);
63832
63833
  else {
63833
63834
  var ri = er.B, Lo = er.qa, jr = er.ra + 8 * tr * ri + 8 * lt, Er = er.Ha, er = er.Ia + 8 * tr * ri + 8 * lt, tr = Ir.ld;
63834
- 0 < lt && (ca(Ar, Wr, Je, Pr + 4, _i, tr), ha(Lo, jr, Er, er, ri, Pr + 4, _i, tr)), Ir.La && (fa(Ar, Wr, Je, Pr, _i, tr), ga(Lo, jr, Er, er, ri, Pr, _i, tr)), 0 < st && (la(Ar, Wr, Je, Pr + 4, _i, tr), da(Lo, jr, Er, er, ri, Pr + 4, _i, tr)), Ir.La && (ua(Ar, Wr, Je, Pr, _i, tr), pa(Lo, jr, Er, er, ri, Pr, _i, tr));
63835
+ 0 < lt && (la(Ar, Wr, Je, Pr + 4, _i, tr), da(Lo, jr, Er, er, ri, Pr + 4, _i, tr)), Ir.La && (ua(Ar, Wr, Je, Pr, _i, tr), pa(Lo, jr, Er, er, ri, Pr, _i, tr)), 0 < st && (sa(Ar, Wr, Je, Pr + 4, _i, tr), ca(Lo, jr, Er, er, ri, Pr + 4, _i, tr)), Ir.La && (ha(Ar, Wr, Je, Pr, _i, tr), fa(Lo, jr, Er, er, ri, Pr, _i, tr));
63835
63836
  }
63836
63837
  }
63837
63838
  if (k.ia && alert("todo:DitherRow"), z.put != null) {
@@ -63876,7 +63877,7 @@ function WebPDecoder(l) {
63876
63877
  } else nt(T, 6, "Frame setup failed"), k = T.a;
63877
63878
  if (k = k == 0) {
63878
63879
  if (k) {
63879
- T.$c = 0, 0 < T.Aa || (T.Ic = is);
63880
+ T.$c = 0, 0 < T.Aa || (T.Ic = rs);
63880
63881
  e: {
63881
63882
  k = T.Ic;
63882
63883
  var he = T.za, z = 4 * he, ge = 32 * he, Ee = he + 1, Oe = 0 < T.L ? he * (0 < T.Aa ? 2 : 1) : 0, Ge = (T.Aa == 2 ? 2 : 1) * he;
@@ -63899,12 +63900,12 @@ function WebPDecoder(l) {
63899
63900
  for (k = -1020; 1020 >= k; ++k)
63900
63901
  Ii[1020 + k] = -128 > k ? -128 : 127 < k ? 127 : k;
63901
63902
  for (k = -112; 112 >= k; ++k)
63902
- en[112 + k] = -16 > k ? -16 : 15 < k ? 15 : k;
63903
+ $o[112 + k] = -16 > k ? -16 : 15 < k ? 15 : k;
63903
63904
  for (k = -255; 510 >= k; ++k)
63904
63905
  Qr[255 + k] = 0 > k ? 0 : 255 < k ? 255 : k;
63905
63906
  ui = 1;
63906
63907
  }
63907
- uo = ki, Nn = eo, Vn = si, Ao = Ci, Xn = hn, sa = Ni, la = Br, ca = vn, da = On, ha = xo, ua = oo, fa = wn, pa = zi, ga = no, ma = yn, ya = io, va = Co, wa = Jr, ei[0] = Go, ei[1] = to, ei[2] = Ln, ei[3] = Mn, ei[4] = gn, ei[5] = Vo, ei[6] = Hi, ei[7] = ro, ei[8] = mn, ei[9] = Rn, Li[0] = fn, Li[1] = Fn, Li[2] = In, Li[3] = An, Li[4] = pn, Li[5] = yo, Li[6] = Zo, Mi[0] = Hn, Mi[1] = un, Mi[2] = Oi, Mi[3] = kn, Mi[4] = Ti, Mi[5] = Bi, Mi[6] = mr, k = 1;
63908
+ uo = ki, Pn = eo, Gn = si, Ao = Ci, Vn = dn, aa = Ni, sa = Br, la = yn, ca = Hn, da = xo, ha = oo, ua = vn, fa = zi, pa = no, ga = mn, ma = io, ya = Co, va = Jr, ei[0] = Zo, ei[1] = to, ei[2] = An, ei[3] = Ln, ei[4] = pn, ei[5] = Go, ei[6] = Hi, ei[7] = ro, ei[8] = gn, ei[9] = Mn, Li[0] = un, Li[1] = En, Li[2] = Fn, Li[3] = In, Li[4] = fn, Li[5] = yo, Li[6] = Yo, Mi[0] = kn, Mi[1] = hn, Mi[2] = Oi, Mi[3] = Rn, Mi[4] = Ti, Mi[5] = Bi, Mi[6] = mr, k = 1;
63908
63909
  } else k = 0;
63909
63910
  }
63910
63911
  k && (k = Ot(T, I)), I.bc != null && I.bc(I), k &= 1;
@@ -63937,7 +63938,7 @@ function WebPDecoder(l) {
63937
63938
  kr(T, I, k, z), $ && kr(T, I + 16, k, z + 4);
63938
63939
  }
63939
63940
  function si(T, I, k, z) {
63940
- Nn(T, I + 0, k, z, 1), Nn(T, I + 32, k, z + 128, 1);
63941
+ Pn(T, I + 0, k, z, 1), Pn(T, I + 32, k, z + 128, 1);
63941
63942
  }
63942
63943
  function Ci(T, I, k, z) {
63943
63944
  T = T[I + 0] + 4;
@@ -63946,7 +63947,7 @@ function WebPDecoder(l) {
63946
63947
  for (I = 0; 4 > I; ++I)
63947
63948
  At(k, z, I, $, T);
63948
63949
  }
63949
- function hn(T, I, k, z) {
63950
+ function dn(T, I, k, z) {
63950
63951
  T[I + 0] && Ao(T, I + 0, k, z), T[I + 16] && Ao(T, I + 16, k, z + 4), T[I + 32] && Ao(T, I + 32, k, z + 128), T[I + 48] && Ao(T, I + 48, k, z + 128 + 4);
63951
63952
  }
63952
63953
  function ki(T, I, k, z) {
@@ -63970,18 +63971,18 @@ function WebPDecoder(l) {
63970
63971
  function to(T, I) {
63971
63972
  Tr(T, I, 4);
63972
63973
  }
63973
- function un(T, I) {
63974
+ function hn(T, I) {
63974
63975
  Tr(T, I, 8);
63975
63976
  }
63976
- function Fn(T, I) {
63977
+ function En(T, I) {
63977
63978
  Tr(T, I, 16);
63978
63979
  }
63979
- function In(T, I) {
63980
+ function Fn(T, I) {
63980
63981
  var k;
63981
63982
  for (k = 0; 16 > k; ++k)
63982
63983
  n(T, I + 32 * k, T, I - 32, 16);
63983
63984
  }
63984
- function An(T, I) {
63985
+ function In(T, I) {
63985
63986
  var k;
63986
63987
  for (k = 16; 0 < k; --k)
63987
63988
  a(T, I, T[I - 1], 16), I += 32;
@@ -63991,13 +63992,13 @@ function WebPDecoder(l) {
63991
63992
  for (z = 0; 16 > z; ++z)
63992
63993
  a(I, k + 32 * z, T, 16);
63993
63994
  }
63994
- function fn(T, I) {
63995
+ function un(T, I) {
63995
63996
  var k = 16, z;
63996
63997
  for (z = 0; 16 > z; ++z)
63997
63998
  k += T[I - 1 + 32 * z] + T[I + z - 32];
63998
63999
  Vr(k >> 5, T, I);
63999
64000
  }
64000
- function pn(T, I) {
64001
+ function fn(T, I) {
64001
64002
  var k = 8, z;
64002
64003
  for (z = 0; 16 > z; ++z)
64003
64004
  k += T[I - 1 + 32 * z];
@@ -64009,29 +64010,29 @@ function WebPDecoder(l) {
64009
64010
  k += T[I + z - 32];
64010
64011
  Vr(k >> 4, T, I);
64011
64012
  }
64012
- function Zo(T, I) {
64013
+ function Yo(T, I) {
64013
64014
  Vr(128, T, I);
64014
64015
  }
64015
64016
  function Ht(T, I, k) {
64016
64017
  return T + 2 * I + k + 2 >> 2;
64017
64018
  }
64018
- function Ln(T, I) {
64019
+ function An(T, I) {
64019
64020
  var k = I - 32, k = new Uint8Array([Ht(T[k - 1], T[k + 0], T[k + 1]), Ht(T[k + 0], T[k + 1], T[k + 2]), Ht(T[k + 1], T[k + 2], T[k + 3]), Ht(T[k + 2], T[k + 3], T[k + 4])]), z;
64020
64021
  for (z = 0; 4 > z; ++z)
64021
64022
  n(T, I + 32 * z, k, 0, k.length);
64022
64023
  }
64023
- function Mn(T, I) {
64024
+ function Ln(T, I) {
64024
64025
  var k = T[I - 1], z = T[I - 1 + 32], $ = T[I - 1 + 64], re = T[I - 1 + 96];
64025
64026
  xe(T, I + 0, 16843009 * Ht(T[I - 1 - 32], k, z)), xe(T, I + 32, 16843009 * Ht(k, z, $)), xe(T, I + 64, 16843009 * Ht(z, $, re)), xe(T, I + 96, 16843009 * Ht($, re, re));
64026
64027
  }
64027
- function Go(T, I) {
64028
+ function Zo(T, I) {
64028
64029
  var k = 4, z;
64029
64030
  for (z = 0; 4 > z; ++z)
64030
64031
  k += T[I + z - 32] + T[I - 1 + 32 * z];
64031
64032
  for (k >>= 3, z = 0; 4 > z; ++z)
64032
64033
  a(T, I + 32 * z, k, 4);
64033
64034
  }
64034
- function gn(T, I) {
64035
+ function pn(T, I) {
64035
64036
  var k = T[I - 1 + 0], z = T[I - 1 + 32], $ = T[I - 1 + 64], re = T[I - 1 - 32], ie = T[I + 0 - 32], ne = T[I + 1 - 32], he = T[I + 2 - 32], ge = T[I + 3 - 32];
64036
64037
  T[I + 0 + 96] = Ht(z, $, T[I - 1 + 96]), T[I + 1 + 96] = T[I + 0 + 64] = Ht(k, z, $), T[I + 2 + 96] = T[I + 1 + 64] = T[I + 0 + 32] = Ht(re, k, z), T[I + 3 + 96] = T[I + 2 + 64] = T[I + 1 + 32] = T[I + 0 + 0] = Ht(ie, re, k), T[I + 3 + 64] = T[I + 2 + 32] = T[I + 1 + 0] = Ht(ne, ie, re), T[I + 3 + 32] = T[I + 2 + 0] = Ht(he, ne, ie), T[I + 3 + 0] = Ht(ge, he, ne);
64037
64038
  }
@@ -64039,7 +64040,7 @@ function WebPDecoder(l) {
64039
64040
  var k = T[I + 1 - 32], z = T[I + 2 - 32], $ = T[I + 3 - 32], re = T[I + 4 - 32], ie = T[I + 5 - 32], ne = T[I + 6 - 32], he = T[I + 7 - 32];
64040
64041
  T[I + 0 + 0] = Ht(T[I + 0 - 32], k, z), T[I + 1 + 0] = T[I + 0 + 32] = Ht(k, z, $), T[I + 2 + 0] = T[I + 1 + 32] = T[I + 0 + 64] = Ht(z, $, re), T[I + 3 + 0] = T[I + 2 + 32] = T[I + 1 + 64] = T[I + 0 + 96] = Ht($, re, ie), T[I + 3 + 32] = T[I + 2 + 64] = T[I + 1 + 96] = Ht(re, ie, ne), T[I + 3 + 64] = T[I + 2 + 96] = Ht(ie, ne, he), T[I + 3 + 96] = Ht(ne, he, he);
64041
64042
  }
64042
- function Vo(T, I) {
64043
+ function Go(T, I) {
64043
64044
  var k = T[I - 1 + 0], z = T[I - 1 + 32], $ = T[I - 1 + 64], re = T[I - 1 - 32], ie = T[I + 0 - 32], ne = T[I + 1 - 32], he = T[I + 2 - 32], ge = T[I + 3 - 32];
64044
64045
  T[I + 0 + 0] = T[I + 1 + 64] = re + ie + 1 >> 1, T[I + 1 + 0] = T[I + 2 + 64] = ie + ne + 1 >> 1, T[I + 2 + 0] = T[I + 3 + 64] = ne + he + 1 >> 1, T[I + 3 + 0] = he + ge + 1 >> 1, T[I + 0 + 96] = Ht($, z, k), T[I + 0 + 64] = Ht(z, k, re), T[I + 0 + 32] = T[I + 1 + 96] = Ht(k, re, ie), T[I + 1 + 32] = T[I + 2 + 96] = Ht(re, ie, ne), T[I + 2 + 32] = T[I + 3 + 96] = Ht(ie, ne, he), T[I + 3 + 32] = Ht(ne, he, ge);
64045
64046
  }
@@ -64047,11 +64048,11 @@ function WebPDecoder(l) {
64047
64048
  var k = T[I + 0 - 32], z = T[I + 1 - 32], $ = T[I + 2 - 32], re = T[I + 3 - 32], ie = T[I + 4 - 32], ne = T[I + 5 - 32], he = T[I + 6 - 32], ge = T[I + 7 - 32];
64048
64049
  T[I + 0 + 0] = k + z + 1 >> 1, T[I + 1 + 0] = T[I + 0 + 64] = z + $ + 1 >> 1, T[I + 2 + 0] = T[I + 1 + 64] = $ + re + 1 >> 1, T[I + 3 + 0] = T[I + 2 + 64] = re + ie + 1 >> 1, T[I + 0 + 32] = Ht(k, z, $), T[I + 1 + 32] = T[I + 0 + 96] = Ht(z, $, re), T[I + 2 + 32] = T[I + 1 + 96] = Ht($, re, ie), T[I + 3 + 32] = T[I + 2 + 96] = Ht(re, ie, ne), T[I + 3 + 64] = Ht(ie, ne, he), T[I + 3 + 96] = Ht(ne, he, ge);
64049
64050
  }
64050
- function Rn(T, I) {
64051
+ function Mn(T, I) {
64051
64052
  var k = T[I - 1 + 0], z = T[I - 1 + 32], $ = T[I - 1 + 64], re = T[I - 1 + 96];
64052
64053
  T[I + 0 + 0] = k + z + 1 >> 1, T[I + 2 + 0] = T[I + 0 + 32] = z + $ + 1 >> 1, T[I + 2 + 32] = T[I + 0 + 64] = $ + re + 1 >> 1, T[I + 1 + 0] = Ht(k, z, $), T[I + 3 + 0] = T[I + 1 + 32] = Ht(z, $, re), T[I + 3 + 32] = T[I + 1 + 64] = Ht($, re, re), T[I + 3 + 64] = T[I + 2 + 64] = T[I + 0 + 96] = T[I + 1 + 96] = T[I + 2 + 96] = T[I + 3 + 96] = re;
64053
64054
  }
64054
- function mn(T, I) {
64055
+ function gn(T, I) {
64055
64056
  var k = T[I - 1 + 0], z = T[I - 1 + 32], $ = T[I - 1 + 64], re = T[I - 1 + 96], ie = T[I - 1 - 32], ne = T[I + 0 - 32], he = T[I + 1 - 32], ge = T[I + 2 - 32];
64056
64057
  T[I + 0 + 0] = T[I + 2 + 32] = k + ie + 1 >> 1, T[I + 0 + 32] = T[I + 2 + 64] = z + k + 1 >> 1, T[I + 0 + 64] = T[I + 2 + 96] = $ + z + 1 >> 1, T[I + 0 + 96] = re + $ + 1 >> 1, T[I + 3 + 0] = Ht(ne, he, ge), T[I + 2 + 0] = Ht(ie, ne, he), T[I + 1 + 0] = T[I + 3 + 32] = Ht(k, ie, ne), T[I + 1 + 32] = T[I + 3 + 64] = Ht(z, k, ie), T[I + 1 + 64] = T[I + 3 + 96] = Ht($, z, k), T[I + 1 + 96] = Ht(re, $, z);
64057
64058
  }
@@ -64060,7 +64061,7 @@ function WebPDecoder(l) {
64060
64061
  for (k = 0; 8 > k; ++k)
64061
64062
  n(T, I + 32 * k, T, I - 32, 8);
64062
64063
  }
64063
- function kn(T, I) {
64064
+ function Rn(T, I) {
64064
64065
  var k;
64065
64066
  for (k = 0; 8 > k; ++k)
64066
64067
  a(T, I, T[I - 1], 8), I += 32;
@@ -64070,7 +64071,7 @@ function WebPDecoder(l) {
64070
64071
  for (z = 0; 8 > z; ++z)
64071
64072
  a(I, k + 32 * z, T, 8);
64072
64073
  }
64073
- function Hn(T, I) {
64074
+ function kn(T, I) {
64074
64075
  var k = 8, z;
64075
64076
  for (z = 0; 8 > z; ++z)
64076
64077
  k += T[I + z - 32] + T[I - 1 + 32 * z];
@@ -64106,7 +64107,7 @@ function WebPDecoder(l) {
64106
64107
  var re = T[I - 3 * k], ie = T[I - 2 * k], ne = T[I - k], he = T[I + 0], ge = T[I + k], Ee = T[I + 2 * k], Oe = T[I + 3 * k];
64107
64108
  return 4 * yr[255 + ne - he] + yr[255 + ie - ge] > z ? 0 : yr[255 + T[I - 4 * k] - re] <= $ && yr[255 + re - ie] <= $ && yr[255 + ie - ne] <= $ && yr[255 + Oe - Ee] <= $ && yr[255 + Ee - ge] <= $ && yr[255 + ge - he] <= $;
64108
64109
  }
64109
- function yn(T, I, k, z) {
64110
+ function mn(T, I, k, z) {
64110
64111
  var $ = 2 * z + 1;
64111
64112
  for (z = 0; 16 > z; ++z)
64112
64113
  wo(T, I + z, k, $) && xi(T, I + z, k);
@@ -64119,7 +64120,7 @@ function WebPDecoder(l) {
64119
64120
  function Co(T, I, k, z) {
64120
64121
  var $;
64121
64122
  for ($ = 3; 0 < $; --$)
64122
- I += 4 * k, yn(T, I, k, z);
64123
+ I += 4 * k, mn(T, I, k, z);
64123
64124
  }
64124
64125
  function Jr(T, I, k, z) {
64125
64126
  var $;
@@ -64149,7 +64150,7 @@ function WebPDecoder(l) {
64149
64150
  function Br(T, I, k, z, $, re) {
64150
64151
  Kr(T, I, k, 1, 16, z, $, re);
64151
64152
  }
64152
- function vn(T, I, k, z, $, re) {
64153
+ function yn(T, I, k, z, $, re) {
64153
64154
  Kr(T, I, 1, k, 16, z, $, re);
64154
64155
  }
64155
64156
  function oo(T, I, k, z, $, re) {
@@ -64157,12 +64158,12 @@ function WebPDecoder(l) {
64157
64158
  for (ie = 3; 0 < ie; --ie)
64158
64159
  I += 4 * k, Si(T, I, k, 1, 16, z, $, re);
64159
64160
  }
64160
- function wn(T, I, k, z, $, re) {
64161
+ function vn(T, I, k, z, $, re) {
64161
64162
  var ie;
64162
64163
  for (ie = 3; 0 < ie; --ie)
64163
64164
  I += 4, Si(T, I, 1, k, 16, z, $, re);
64164
64165
  }
64165
- function On(T, I, k, z, $, re, ie, ne) {
64166
+ function Hn(T, I, k, z, $, re, ie, ne) {
64166
64167
  Kr(T, I, $, 1, 8, re, ie, ne), Kr(k, z, $, 1, 8, re, ie, ne);
64167
64168
  }
64168
64169
  function xo(T, I, k, z, $, re, ie, ne) {
@@ -64260,11 +64261,11 @@ function WebPDecoder(l) {
64260
64261
  for (; !Ee.h && Ue < ot; ) {
64261
64262
  if (ge & lt || (st = gr(Oe, ge, he)), r(st != null), Fe(Ee), it = Gt(st.G[0], st.H[0], Ee), 256 > it) ne[Ge + Ue] = it, ++Ue, ++ge, ge >= Ve && (ge = 0, ++he, he <= I && !(he % 16) && Gr(ie, he));
64262
64263
  else if (280 > it) {
64263
- var it = ur(it - 256, Ee), xt = Gt(st.G[4], st.H[4], Ee);
64264
- if (Fe(Ee), xt = ur(xt, Ee), xt = jt(Ve, xt), Ue >= xt && Je - Ue >= it) {
64264
+ var it = ur(it - 256, Ee), bt = Gt(st.G[4], st.H[4], Ee);
64265
+ if (Fe(Ee), bt = ur(bt, Ee), bt = jt(Ve, bt), Ue >= bt && Je - Ue >= it) {
64265
64266
  var _t;
64266
64267
  for (_t = 0; _t < it; ++_t)
64267
- ne[Ge + Ue + _t] = ne[Ge + Ue + _t - xt];
64268
+ ne[Ge + Ue + _t] = ne[Ge + Ue + _t - bt];
64268
64269
  } else {
64269
64270
  Qe = 0;
64270
64271
  break t;
@@ -64332,14 +64333,14 @@ function WebPDecoder(l) {
64332
64333
  k[z + re] = T[I + re] >> 8;
64333
64334
  }
64334
64335
  function lr() {
64335
- on = Tt, Tn = Lt, xa = Bt, ba = $t;
64336
+ rn = Tt, Nn = Lt, Ca = Bt, xa = $t;
64336
64337
  }
64337
64338
  function rr(T, I, k) {
64338
64339
  Y[T] = function(z, $, re, ie, ne, he, ge, Ee, Oe, Ge, Ve, Qe, it, Ue, Je, ot, lt) {
64339
- var st, xt = lt - 1 >> 1, _t = ne[he + 0] | ge[Ee + 0] << 16, Dt = Oe[Ge + 0] | Ve[Qe + 0] << 16;
64340
+ var st, bt = lt - 1 >> 1, _t = ne[he + 0] | ge[Ee + 0] << 16, Dt = Oe[Ge + 0] | Ve[Qe + 0] << 16;
64340
64341
  r(z != null);
64341
64342
  var It = 3 * _t + Dt + 131074 >> 2;
64342
- for (I(z[$ + 0], It & 255, It >> 16, it, Ue), re != null && (It = 3 * Dt + _t + 131074 >> 2, I(re[ie + 0], It & 255, It >> 16, Je, ot)), st = 1; st <= xt; ++st) {
64343
+ for (I(z[$ + 0], It & 255, It >> 16, it, Ue), re != null && (It = 3 * Dt + _t + 131074 >> 2, I(re[ie + 0], It & 255, It >> 16, Je, ot)), st = 1; st <= bt; ++st) {
64343
64344
  var dr = ne[he + st] | ge[Ee + st] << 16, er = Oe[Ge + st] | Ve[Qe + st] << 16, tr = _t + dr + Dt + er + 524296, Ir = tr + 2 * (dr + Dt) >> 3;
64344
64345
  tr = tr + 2 * (_t + er) >> 3, It = Ir + _t >> 1, _t = tr + dr >> 1, I(z[$ + 2 * st - 1], It & 255, It >> 16, it, Ue + (2 * st - 1) * k), I(z[$ + 2 * st - 0], _t & 255, _t >> 16, it, Ue + (2 * st - 0) * k), re != null && (It = tr + Dt >> 1, _t = Ir + er >> 1, I(re[ie + 2 * st - 1], It & 255, It >> 16, Je, ot + (2 * st - 1) * k), I(re[ie + 2 * st + 0], _t & 255, _t >> 16, Je, ot + (2 * st + 0) * k)), _t = dr, Dt = er;
64345
64346
  }
@@ -64347,10 +64348,10 @@ function WebPDecoder(l) {
64347
64348
  };
64348
64349
  }
64349
64350
  function Hr() {
64350
- ti[xr] = qn, ti[Fo] = Pa, ti[fi] = Dn, ti[Ai] = Na, ti[xn] = Ta, ti[zn] = Da, ti[ia] = Ja, ti[Wn] = Pa, ti[jn] = Na, ti[bn] = Ta, ti[Un] = Da;
64351
+ ti[xr] = Xn, ti[Fo] = ba, ti[fi] = Tn, ti[Ai] = Pa, ti[Cn] = Na, ti[Bn] = Ta, ti[ra] = Qa, ti[zn] = ba, ti[Wn] = Pa, ti[xn] = Na, ti[jn] = Ta;
64351
64352
  }
64352
64353
  function pr(T) {
64353
- return T & -16384 ? 0 > T ? 0 : 255 : T >> Sa;
64354
+ return T & -16384 ? 0 > T ? 0 : 255 : T >> Da;
64354
64355
  }
64355
64356
  function _r(T, I) {
64356
64357
  return pr((19077 * T >> 8) + (26149 * I >> 8) - 14234);
@@ -64371,7 +64372,7 @@ function WebPDecoder(l) {
64371
64372
  var re = Xr(T, I, k);
64372
64373
  I = re << 3 & 224 | Ei(T, I) >> 3, z[$ + 0] = _r(T, k) & 248 | re >> 5, z[$ + 1] = I;
64373
64374
  }
64374
- function Xo(T, I, k, z, $) {
64375
+ function Vo(T, I, k, z, $) {
64375
64376
  var re = Ei(T, I) & 240 | 15;
64376
64377
  z[$ + 0] = _r(T, k) & 240 | Xr(T, I, k) >> 4, z[$ + 1] = re;
64377
64378
  }
@@ -64381,7 +64382,7 @@ function WebPDecoder(l) {
64381
64382
  function To(T, I, k, z, $) {
64382
64383
  Po(T, I, k, z, $), z[$ + 3] = 255;
64383
64384
  }
64384
- function qo(T, I, k, z, $) {
64385
+ function Xo(T, I, k, z, $) {
64385
64386
  _o(T, I, k, z, $), z[$ + 3] = 255;
64386
64387
  }
64387
64388
  function Dr(T, I) {
@@ -64400,16 +64401,16 @@ function WebPDecoder(l) {
64400
64401
  function ao(T, I, k, z, $) {
64401
64402
  switch (T >>> 30) {
64402
64403
  case 3:
64403
- Nn(I, k, z, $, 0);
64404
+ Pn(I, k, z, $, 0);
64404
64405
  break;
64405
64406
  case 2:
64406
- sa(I, k, z, $);
64407
+ aa(I, k, z, $);
64407
64408
  break;
64408
64409
  case 1:
64409
64410
  Ao(I, k, z, $);
64410
64411
  }
64411
64412
  }
64412
- function Qo(T, I) {
64413
+ function qo(T, I) {
64413
64414
  var k, z, $ = I.M, re = I.Nb, ie = T.oc, ne = T.pc + 40, he = T.oc, ge = T.pc + 584, Ee = T.oc, Oe = T.pc + 600;
64414
64415
  for (k = 0; 16 > k; ++k)
64415
64416
  ie[ne + 32 * k - 1] = 129;
@@ -64429,16 +64430,16 @@ function WebPDecoder(l) {
64429
64430
  for (0 < $ && (z >= T.za - 1 ? a(Je, ot, Ve[Qe].y[15], 4) : n(Je, ot, Ve[Qe + 1].y, 0, 4)), k = 0; 4 > k; k++)
64430
64431
  Je[ot + 128 + k] = Je[ot + 256 + k] = Je[ot + 384 + k] = Je[ot + 0 + k];
64431
64432
  for (k = 0; 16 > k; ++k, Ue <<= 2)
64432
- Je = ie, ot = ne + Ia[k], ei[Ge.Ob[k]](Je, ot), ao(Ue, it, 16 * +k, Je, ot);
64433
+ Je = ie, ot = ne + Fa[k], ei[Ge.Ob[k]](Je, ot), ao(Ue, it, 16 * +k, Je, ot);
64433
64434
  } else if (Je = ci(z, $, Ge.Ob[0]), Li[Je](ie, ne), Ue != 0) for (k = 0; 16 > k; ++k, Ue <<= 2)
64434
- ao(Ue, it, 16 * +k, ie, ne + Ia[k]);
64435
- for (k = Ge.Gc, Je = ci(z, $, Ge.Dd), Mi[Je](he, ge), Mi[Je](Ee, Oe), Ge = k >> 0, Ue = it, Je = he, ot = ge, Ge & 255 && (Ge & 170 ? Vn(Ue, 256, Je, ot) : Xn(Ue, 256, Je, ot)), k >>= 8, Ge = Ee, Ue = Oe, k & 255 && (k & 170 ? Vn(it, 320, Ge, Ue) : Xn(it, 320, Ge, Ue)), $ < T.Ub - 1 && (n(Ve[Qe].y, 0, ie, ne + 480, 16), n(Ve[Qe].f, 0, he, ge + 224, 8), n(Ve[Qe].ea, 0, Ee, Oe + 224, 8)), k = 8 * re * T.B, Ve = T.sa, Qe = T.ta + 16 * z + 16 * re * T.R, it = T.qa, Ge = T.ra + 8 * z + k, Ue = T.Ha, Je = T.Ia + 8 * z + k, k = 0; 16 > k; ++k)
64435
+ ao(Ue, it, 16 * +k, ie, ne + Fa[k]);
64436
+ for (k = Ge.Gc, Je = ci(z, $, Ge.Dd), Mi[Je](he, ge), Mi[Je](Ee, Oe), Ge = k >> 0, Ue = it, Je = he, ot = ge, Ge & 255 && (Ge & 170 ? Gn(Ue, 256, Je, ot) : Vn(Ue, 256, Je, ot)), k >>= 8, Ge = Ee, Ue = Oe, k & 255 && (k & 170 ? Gn(it, 320, Ge, Ue) : Vn(it, 320, Ge, Ue)), $ < T.Ub - 1 && (n(Ve[Qe].y, 0, ie, ne + 480, 16), n(Ve[Qe].f, 0, he, ge + 224, 8), n(Ve[Qe].ea, 0, Ee, Oe + 224, 8)), k = 8 * re * T.B, Ve = T.sa, Qe = T.ta + 16 * z + 16 * re * T.R, it = T.qa, Ge = T.ra + 8 * z + k, Ue = T.Ha, Je = T.Ia + 8 * z + k, k = 0; 16 > k; ++k)
64436
64437
  n(Ve, Qe + k * T.R, ie, ne + 32 * k, 16);
64437
64438
  for (k = 0; 8 > k; ++k)
64438
64439
  n(it, Ge + k * T.B, he, ge + 32 * k, 8), n(Ue, Je + k * T.B, Ee, Oe + 32 * k, 8);
64439
64440
  }
64440
64441
  }
64441
- function Jo(T, I, k, z, $, re, ie, ne, he) {
64442
+ function Qo(T, I, k, z, $, re, ie, ne, he) {
64442
64443
  var ge = [0], Ee = [0], Oe = 0, Ge = he != null ? he.kd : 0, Ve = he ?? new bo();
64443
64444
  if (T == null || 12 > k) return 7;
64444
64445
  Ve.data = T, Ve.w = I, Ve.ha = k, I = [I], k = [k], Ve.gb = [Ve.gb];
@@ -64468,7 +64469,7 @@ function WebPDecoder(l) {
64468
64469
  e: {
64469
64470
  var ot = T;
64470
64471
  it = I, Ue = k;
64471
- var lt = Oe, st = ge, xt = Ee, _t = Qe;
64472
+ var lt = Oe, st = ge, bt = Ee, _t = Qe;
64472
64473
  if (lt[0] = 0, 8 > Ue[0]) Ue = 7;
64473
64474
  else {
64474
64475
  if (!o(ot, it[0], "VP8X")) {
@@ -64485,7 +64486,7 @@ function WebPDecoder(l) {
64485
64486
  Ue = 3;
64486
64487
  break e;
64487
64488
  }
64488
- _t != null && (_t[0] = Dt), st != null && (st[0] = It), xt != null && (xt[0] = ot), it[0] += 18, Ue[0] -= 18, lt[0] = 1;
64489
+ _t != null && (_t[0] = Dt), st != null && (st[0] = It), bt != null && (bt[0] = ot), it[0] += 18, Ue[0] -= 18, lt[0] = 1;
64489
64490
  }
64490
64491
  Ue = 0;
64491
64492
  }
@@ -64504,10 +64505,10 @@ function WebPDecoder(l) {
64504
64505
  k = [k], Ve.na = [Ve.na], Ve.P = [Ve.P], Ve.Sa = [Ve.Sa];
64505
64506
  e: {
64506
64507
  Dt = T, Ue = I, Je = k;
64507
- var lt = Ve.gb, st = Ve.na, xt = Ve.P, _t = Ve.Sa;
64508
+ var lt = Ve.gb, st = Ve.na, bt = Ve.P, _t = Ve.Sa;
64508
64509
  It = 22, r(Dt != null), r(Je != null), ot = Ue[0];
64509
64510
  var dr = Je[0];
64510
- for (r(st != null), r(_t != null), st[0] = null, xt[0] = null, _t[0] = 0; ; ) {
64511
+ for (r(st != null), r(_t != null), st[0] = null, bt[0] = null, _t[0] = 0; ; ) {
64511
64512
  if (Ue[0] = ot, Je[0] = dr, 8 > dr) {
64512
64513
  Ue = 7;
64513
64514
  break e;
@@ -64530,13 +64531,13 @@ function WebPDecoder(l) {
64530
64531
  Ue = 7;
64531
64532
  break e;
64532
64533
  }
64533
- o(Dt, ot, "ALPH") || (st[0] = Dt, xt[0] = ot + 8, _t[0] = er), ot += tr, dr -= tr;
64534
+ o(Dt, ot, "ALPH") || (st[0] = Dt, bt[0] = ot + 8, _t[0] = er), ot += tr, dr -= tr;
64534
64535
  }
64535
64536
  }
64536
64537
  if (k = k[0], Ve.na = Ve.na[0], Ve.P = Ve.P[0], Ve.Sa = Ve.Sa[0], Ue != 0) break;
64537
64538
  }
64538
64539
  k = [k], Ve.Ja = [Ve.Ja], Ve.xa = [Ve.xa];
64539
- e: if (lt = T, Ue = I, Je = k, st = Ve.gb[0], xt = Ve.Ja, _t = Ve.xa, Dt = Ue[0], ot = !o(lt, Dt, "VP8 "), It = !o(lt, Dt, "VP8L"), r(lt != null), r(Je != null), r(xt != null), r(_t != null), 8 > Je[0]) Ue = 7;
64540
+ e: if (lt = T, Ue = I, Je = k, st = Ve.gb[0], bt = Ve.Ja, _t = Ve.xa, Dt = Ue[0], ot = !o(lt, Dt, "VP8 "), It = !o(lt, Dt, "VP8L"), r(lt != null), r(Je != null), r(bt != null), r(_t != null), 8 > Je[0]) Ue = 7;
64540
64541
  else {
64541
64542
  if (ot || It) {
64542
64543
  if (lt = ee(lt, Dt + 4), 12 <= st && lt > st - 12) {
@@ -64547,8 +64548,8 @@ function WebPDecoder(l) {
64547
64548
  Ue = 7;
64548
64549
  break e;
64549
64550
  }
64550
- xt[0] = lt, Ue[0] += 8, Je[0] -= 8, _t[0] = It;
64551
- } else _t[0] = 5 <= Je[0] && lt[Dt + 0] == 47 && !(lt[Dt + 4] >> 5), xt[0] = Je[0];
64551
+ bt[0] = lt, Ue[0] += 8, Je[0] -= 8, _t[0] = It;
64552
+ } else _t[0] = 5 <= Je[0] && lt[Dt + 0] == 47 && !(lt[Dt + 4] >> 5), bt[0] = Je[0];
64552
64553
  Ue = 0;
64553
64554
  }
64554
64555
  if (k = k[0], Ve.Ja = Ve.Ja[0], Ve.xa = Ve.xa[0], I = I[0], Ue != 0) break;
@@ -64558,7 +64559,7 @@ function WebPDecoder(l) {
64558
64559
  Ue = 7;
64559
64560
  break;
64560
64561
  }
64561
- ne = ie, Ge = Qe, it = re, T == null || 5 > k ? T = 0 : 5 <= k && T[I + 0] == 47 && !(T[I + 4] >> 5) ? (Je = [0], lt = [0], st = [0], xt = new ye(), J(xt, T, I, k), Ut(xt, Je, lt, st) ? (ne != null && (ne[0] = Je[0]), Ge != null && (Ge[0] = lt[0]), it != null && (it[0] = st[0]), T = 1) : T = 0) : T = 0;
64562
+ ne = ie, Ge = Qe, it = re, T == null || 5 > k ? T = 0 : 5 <= k && T[I + 0] == 47 && !(T[I + 4] >> 5) ? (Je = [0], lt = [0], st = [0], bt = new ye(), J(bt, T, I, k), Ut(bt, Je, lt, st) ? (ne != null && (ne[0] = Je[0]), Ge != null && (Ge[0] = lt[0]), it != null && (it[0] = st[0]), T = 1) : T = 0) : T = 0;
64562
64563
  } else {
64563
64564
  if (10 > k) {
64564
64565
  Ue = 7;
@@ -64608,7 +64609,7 @@ function WebPDecoder(l) {
64608
64609
  if (T = z.S, 0 >= he || 0 >= ge || !(T >= xr && 13 > T)) T = 2;
64609
64610
  else {
64610
64611
  if (0 >= z.Rd && z.sd == null) {
64611
- var ie = re = $ = I = 0, ne = he * Jn[T], Ee = ne * ge;
64612
+ var ie = re = $ = I = 0, ne = he * Qn[T], Ee = ne * ge;
64612
64613
  if (11 > T || (I = (he + 1) / 2, re = (ge + 1) / 2 * I, T == 12 && ($ = he, ie = $ * ge)), ge = s(Ee + 2 * re + ie), ge == null) {
64613
64614
  T = 1;
64614
64615
  break e;
@@ -64616,7 +64617,7 @@ function WebPDecoder(l) {
64616
64617
  z.sd = ge, 11 > T ? (he = z.f.RGBA, he.eb = ge, he.fb = 0, he.A = ne, he.size = Ee) : (he = z.f.kb, he.y = ge, he.O = 0, he.fa = ne, he.Fd = Ee, he.f = ge, he.N = 0 + Ee, he.Ab = I, he.Cd = re, he.ea = ge, he.W = 0 + Ee + re, he.Db = I, he.Ed = re, T == 12 && (he.F = ge, he.J = 0 + Ee + 2 * re), he.Tc = ie, he.lb = $);
64617
64618
  }
64618
64619
  if (I = 1, $ = z.S, re = z.width, ie = z.height, $ >= xr && 13 > $)
64619
- if (11 > $) T = z.f.RGBA, ne = Math.abs(T.A), I &= ne * (ie - 1) + re <= T.size, I &= ne >= re * Jn[$], I &= T.eb != null;
64620
+ if (11 > $) T = z.f.RGBA, ne = Math.abs(T.A), I &= ne * (ie - 1) + re <= T.size, I &= ne >= re * Qn[$], I &= T.eb != null;
64620
64621
  else {
64621
64622
  T = z.f.kb, ne = (re + 1) / 2, Ee = (ie + 1) / 2, he = Math.abs(T.fa);
64622
64623
  var ge = Math.abs(T.Ab), Oe = Math.abs(T.Db), Ge = Math.abs(T.lb), Ve = Ge * (ie - 1) + re;
@@ -64628,7 +64629,7 @@ function WebPDecoder(l) {
64628
64629
  }
64629
64630
  return T != 0 || k != null && k.fd && (T = so(z)), T;
64630
64631
  }
64631
- var Ko = 64, Do = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215], Bn = 24, lo = 32, qr = 8, Fi = [0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];
64632
+ var Jo = 64, Do = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215], On = 24, lo = 32, qr = 8, Fi = [0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];
64632
64633
  wt("Predictor0", "PredictorAdd0"), Y.Predictor0 = function() {
64633
64634
  return 4278190080;
64634
64635
  }, Y.Predictor1 = function(T) {
@@ -64653,7 +64654,7 @@ function WebPDecoder(l) {
64653
64654
  return rt(rt(T, I[k - 1]), rt(I[k + 0], I[k + 1]));
64654
64655
  }, Y.Predictor11 = function(T, I, k) {
64655
64656
  var z = I[k + 0];
64656
- return I = I[k - 1], 0 >= bt(z >> 24 & 255, T >> 24 & 255, I >> 24 & 255) + bt(z >> 16 & 255, T >> 16 & 255, I >> 16 & 255) + bt(z >> 8 & 255, T >> 8 & 255, I >> 8 & 255) + bt(z & 255, T & 255, I & 255) ? z : T;
64657
+ return I = I[k - 1], 0 >= xt(z >> 24 & 255, T >> 24 & 255, I >> 24 & 255) + xt(z >> 16 & 255, T >> 16 & 255, I >> 16 & 255) + xt(z >> 8 & 255, T >> 8 & 255, I >> 8 & 255) + xt(z & 255, T & 255, I & 255) ? z : T;
64657
64658
  }, Y.Predictor12 = function(T, I, k) {
64658
64659
  var z = I[k + 0];
64659
64660
  return I = I[k - 1], (mt((T >> 24 & 255) + (z >> 24 & 255) - (I >> 24 & 255)) << 24 | mt((T >> 16 & 255) + (z >> 16 & 255) - (I >> 16 & 255)) << 16 | mt((T >> 8 & 255) + (z >> 8 & 255) - (I >> 8 & 255)) << 8 | mt((T & 255) + (z & 255) - (I & 255))) >>> 0;
@@ -64673,23 +64674,23 @@ function WebPDecoder(l) {
64673
64674
  }, function(T) {
64674
64675
  return T >> 8 & 255;
64675
64676
  });
64676
- var di = Y.ColorIndexInverseTransform, Ui = Y.MapARGB, Yi = Y.VP8LColorIndexInverseTransformAlpha, $o = Y.MapAlpha, hi, Cn = Y.VP8LPredictorsAdd = [];
64677
- Cn.length = 16, (Y.VP8LPredictors = []).length = 16, (Y.VP8LPredictorsAdd_C = []).length = 16, (Y.VP8LPredictors_C = []).length = 16;
64678
- var Eo, co, Zi, Gi, ho, Or, zr = s(511), Ii = s(2041), en = s(225), Qr = s(767), ui = 0, wr = Ii, Nr = en, nr = Qr, yr = zr, xr = 0, Fo = 1, fi = 2, Ai = 3, xn = 4, zn = 5, ia = 6, Wn = 7, jn = 8, bn = 9, Un = 10, Ua = [2, 3, 7], Ya = [3, 3, 11], tn = [280, 256, 256, 256, 40], Za = [0, 1, 1, 1, 0], Ga = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Va = [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], Xa = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], qa = 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, oa = [[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]], na = [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]]]], Io = [[[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]]]], aa = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], uo, Li = [], ei = [], Mi = [], Nn, sa, Vn, Ao, Xn, la, ca, da, ha, ua, fa, pa, ga, ma, ya, va, wa, Qa = 1, Ca = 2, Vi = [], on, Tn, xa, ba, ti = [];
64679
- rr("UpsampleRgbLinePair", _o, 3), rr("UpsampleBgrLinePair", Po, 3), rr("UpsampleRgbaLinePair", qo, 4), rr("UpsampleBgraLinePair", To, 4), rr("UpsampleArgbLinePair", No, 4), rr("UpsampleRgba4444LinePair", Xo, 2), rr("UpsampleRgb565LinePair", cr, 2);
64680
- var qn = Y.UpsampleRgbLinePair, Dn = Y.UpsampleBgrLinePair, Pa = Y.UpsampleRgbaLinePair, Na = Y.UpsampleBgraLinePair, Ta = Y.UpsampleArgbLinePair, Da = Y.UpsampleRgba4444LinePair, Ja = Y.UpsampleRgb565LinePair, Sn = 16, nn = 1 << Sn - 1, an = -227, Qn = 482, Sa = 6, Ea = 0, Ka = s(256), $a = s(256), Xi = s(256), Fa = s(256), es = s(Qn - an), ts = s(Qn - an);
64681
- $r("YuvToRgbRow", _o, 3), $r("YuvToBgrRow", Po, 3), $r("YuvToRgbaRow", qo, 4), $r("YuvToBgraRow", To, 4), $r("YuvToArgbRow", No, 4), $r("YuvToRgba4444Row", Xo, 2), $r("YuvToRgb565Row", cr, 2);
64682
- var Ia = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], pt = [0, 2, 8], rs = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], is = 1;
64677
+ var di = Y.ColorIndexInverseTransform, Ui = Y.MapARGB, Yi = Y.VP8LColorIndexInverseTransformAlpha, Ko = Y.MapAlpha, hi, wn = Y.VP8LPredictorsAdd = [];
64678
+ wn.length = 16, (Y.VP8LPredictors = []).length = 16, (Y.VP8LPredictorsAdd_C = []).length = 16, (Y.VP8LPredictors_C = []).length = 16;
64679
+ var Eo, co, Zi, Gi, ho, Or, zr = s(511), Ii = s(2041), $o = s(225), Qr = s(767), ui = 0, wr = Ii, Nr = $o, nr = Qr, yr = zr, xr = 0, Fo = 1, fi = 2, Ai = 3, Cn = 4, Bn = 5, ra = 6, zn = 7, Wn = 8, xn = 9, jn = 10, ja = [2, 3, 7], Ua = [3, 3, 11], en = [280, 256, 256, 256, 40], Ya = [0, 1, 1, 1, 0], Za = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], Ga = [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], Va = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], Xa = 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], tn = null, ia = [[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]], oa = [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], bn = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], Io = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], _n = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], na = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], uo, Li = [], ei = [], Mi = [], Pn, aa, Gn, Ao, Vn, sa, la, ca, da, ha, ua, fa, pa, ga, ma, ya, va, qa = 1, wa = 2, Vi = [], rn, Nn, Ca, xa, ti = [];
64680
+ rr("UpsampleRgbLinePair", _o, 3), rr("UpsampleBgrLinePair", Po, 3), rr("UpsampleRgbaLinePair", Xo, 4), rr("UpsampleBgraLinePair", To, 4), rr("UpsampleArgbLinePair", No, 4), rr("UpsampleRgba4444LinePair", Vo, 2), rr("UpsampleRgb565LinePair", cr, 2);
64681
+ var Xn = Y.UpsampleRgbLinePair, Tn = Y.UpsampleBgrLinePair, ba = Y.UpsampleRgbaLinePair, Pa = Y.UpsampleBgraLinePair, Na = Y.UpsampleArgbLinePair, Ta = Y.UpsampleRgba4444LinePair, Qa = Y.UpsampleRgb565LinePair, Dn = 16, on = 1 << Dn - 1, nn = -227, qn = 482, Da = 6, Sa = 0, Ja = s(256), Ka = s(256), Xi = s(256), Ea = s(256), $a = s(qn - nn), es = s(qn - nn);
64682
+ $r("YuvToRgbRow", _o, 3), $r("YuvToBgrRow", Po, 3), $r("YuvToRgbaRow", Xo, 4), $r("YuvToBgraRow", To, 4), $r("YuvToArgbRow", No, 4), $r("YuvToRgba4444Row", Vo, 2), $r("YuvToRgb565Row", cr, 2);
64683
+ var Fa = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], pt = [0, 2, 8], ts = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], rs = 1;
64683
64684
  this.WebPDecodeRGBA = function(T, I, k, z, $) {
64684
64685
  var re = Fo, ie = new Wi(), ne = new Yt();
64685
64686
  ie.ba = ne, ne.S = re, ne.width = [ne.width], ne.height = [ne.height];
64686
64687
  var he = ne.width, ge = ne.height, Ee = new Kt();
64687
64688
  if (Ee == null || T == null) var Oe = 2;
64688
- else r(Ee != null), Oe = Jo(T, I, k, Ee.width, Ee.height, Ee.Pd, Ee.Qd, Ee.format, null);
64689
+ else r(Ee != null), Oe = Qo(T, I, k, Ee.width, Ee.height, Ee.Pd, Ee.Qd, Ee.format, null);
64689
64690
  if (Oe != 0 ? he = 0 : (he != null && (he[0] = Ee.width[0]), ge != null && (ge[0] = Ee.height[0]), he = 1), he) {
64690
64691
  ne.width = ne.width[0], ne.height = ne.height[0], z != null && (z[0] = ne.width), $ != null && ($[0] = ne.height);
64691
64692
  e: {
64692
- if (z = new Re(), $ = new bo(), $.data = T, $.w = I, $.ha = k, $.kd = 1, I = [0], r($ != null), T = Jo($.data, $.w, $.ha, null, null, null, I, null, $), (T == 0 || T == 7) && I[0] && (T = 4), I = T, I == 0) {
64693
+ if (z = new Re(), $ = new bo(), $.data = T, $.w = I, $.ha = k, $.kd = 1, I = [0], r($ != null), T = Qo($.data, $.w, $.ha, null, null, null, I, null, $), (T == 0 || T == 7) && I[0] && (T = 4), I = T, I == 0) {
64693
64694
  if (r(ie != null), z.data = $.data, z.w = $.w + $.offset, z.ha = $.ha - $.offset, z.put = hr, z.ac = Cr, z.bc = qt, z.ma = ie, $.xa) {
64694
64695
  if (T = mi(), T == null) {
64695
64696
  ie = 1;
@@ -64736,7 +64737,7 @@ function WebPDecoder(l) {
64736
64737
  if (T.Aa = 0, k = ie.Oa, $ = T, r($ != null), k != null) {
64737
64738
  if (he = k.Md, he = 0 > he ? 0 : 100 < he ? 255 : 255 * he / 100, 0 < he) {
64738
64739
  for (ge = Ee = 0; 4 > ge; ++ge)
64739
- Oe = $.pb[ge], 12 > Oe.lc && (Oe.ia = he * rs[0 > Oe.lc ? 0 : Oe.lc] >> 3), Ee |= Oe.ia;
64740
+ Oe = $.pb[ge], 12 > Oe.lc && (Oe.ia = he * ts[0 > Oe.lc ? 0 : Oe.lc] >> 3), Ee |= Oe.ia;
64740
64741
  Ee && (alert("todo:VP8InitRandom"), $.ia = 1);
64741
64742
  }
64742
64743
  $.Ga = k.Id, 100 < $.Ga ? $.Ga = 100 : 0 > $.Ga && ($.Ga = 0);
@@ -64753,7 +64754,7 @@ function WebPDecoder(l) {
64753
64754
  } else re = null;
64754
64755
  return re;
64755
64756
  };
64756
- var Jn = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
64757
+ var Qn = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
64757
64758
  };
64758
64759
  new f();
64759
64760
  /** @license
@@ -65336,7 +65337,7 @@ WebPDecoder.prototype.getData = function() {
65336
65337
  (function(l) {
65337
65338
  function r() {
65338
65339
  return function() {
65339
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CZ2ZMxA6.mjs");
65340
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CEopOtJG.mjs");
65340
65341
  }().catch(function(o) {
65341
65342
  return Promise.reject(new Error("Could not load canvg: " + o));
65342
65343
  }).then(function(o) {
@@ -67257,7 +67258,7 @@ class LineStyleUndoUnit {
67257
67258
  _(this, "_hoEditorFactoryID");
67258
67259
  _(this, "_opTime");
67259
67260
  _(this, "_affectText");
67260
- this._hoEditorFactoryID = r, this._start = o, this._end = n, this._act = a, this._dom = new DomRange$1(r, o, n).normalize(), this._opTime = /* @__PURE__ */ new Date(), this._affectText = "";
67261
+ this._hoEditorFactoryID = r, this._start = o, this._end = n, this._act = a, this._dom = new DomRange(r, o, n).normalize(), this._opTime = /* @__PURE__ */ new Date(), this._affectText = "";
67261
67262
  }
67262
67263
  undo() {
67263
67264
  this._pnodes.forEach((r, o) => {
@@ -67265,7 +67266,7 @@ class LineStyleUndoUnit {
67265
67266
  }), this.update();
67266
67267
  }
67267
67268
  init() {
67268
- this._pnodes = [], this._paraStyleIndex = [], this.slib = [], this._dom = new DomRange$1(
67269
+ this._pnodes = [], this._paraStyleIndex = [], this.slib = [], this._dom = new DomRange(
67269
67270
  this._hoEditorFactoryID,
67270
67271
  this._start,
67271
67272
  this._end
@@ -67277,7 +67278,7 @@ class LineStyleUndoUnit {
67277
67278
  const o = this._dom.npStart.node, n = this._dom.npEnd.node;
67278
67279
  if (!(o && n))
67279
67280
  throw new Error(`路径错误${this._dom.startPath} ${this._dom.endPath}`);
67280
- const a = DomRange$1.getSelectDomNodes(this._hoEditorFactoryID, this._dom.startPath, this._dom.endPath, !0)[0];
67281
+ const a = DomRange.getSelectDomNodes(this._hoEditorFactoryID, this._dom.startPath, this._dom.endPath, !0)[0];
67281
67282
  if (this._act.act === "alignedLeft" || this._act.act === "alignedCenter" || this._act.act === "alignedRight" || this._act.act === "alignedBothEnds" || this._act.act === "formatPainter" || this._act.act === "lineHeight" || this._act.act === "addIndent" || this._act.act === "decreaseIndent") {
67282
67283
  const s = r.docTree.getNodeParaNode(o);
67283
67284
  a.indexOf(s) === -1 && a.splice(0, 0, s);
@@ -67511,7 +67512,7 @@ class NodeStyleUndoUnit {
67511
67512
  }
67512
67513
  redo() {
67513
67514
  this.initParam();
67514
- const r = new DomRange$1(
67515
+ const r = new DomRange(
67515
67516
  this._hoEditorFactoryID,
67516
67517
  this._oldpairs.start,
67517
67518
  this._oldpairs.end
@@ -67528,7 +67529,7 @@ class NodeStyleUndoUnit {
67528
67529
  return;
67529
67530
  }
67530
67531
  this.spliteNode(r.clone());
67531
- const n = DomRange$1.getSelectDomNodesForUpdate(
67532
+ const n = DomRange.getSelectDomNodesForUpdate(
67532
67533
  this._hoEditorFactoryID,
67533
67534
  this._oldpairs.start,
67534
67535
  this._newpairs.end
@@ -67568,7 +67569,7 @@ class NodeStyleUndoUnit {
67568
67569
  repaint(r, o, n) {
67569
67570
  const a = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
67570
67571
  if (o === "") return;
67571
- a.docTree.curDomRange.startPath = r, a.docTree.curDomRange.endPath = o, new DomRange$1(
67572
+ a.docTree.curDomRange.startPath = r, a.docTree.curDomRange.endPath = o, new DomRange(
67572
67573
  this._hoEditorFactoryID,
67573
67574
  r,
67574
67575
  o
@@ -67583,7 +67584,7 @@ class NodeStyleUndoUnit {
67583
67584
  );
67584
67585
  p.oldEndPath = n, p.oldDrawLines = this._oldDrawLines, a.docTree.change(p);
67585
67586
  }
67586
- const d = new DomRange$1(
67587
+ const d = new DomRange(
67587
67588
  this._hoEditorFactoryID,
67588
67589
  r,
67589
67590
  o
@@ -68463,7 +68464,7 @@ function requireLocalforage() {
68463
68464
  function Te() {
68464
68465
  return typeof openDatabase == "function";
68465
68466
  }
68466
- var ke = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", xe = "~~local_forage_type~", le = /^~~local_forage_type~([^~]+)~/, ue = "__lfsc__:", ee = ue.length, De = "arbf", Be = "blob", qe = "si08", Ke = "ui08", et = "uic8", vt = "si16", wt = "si32", tt = "ur16", rt = "ui32", mt = "fl32", ct = "fl64", bt = ee + De.length, Ct = Object.prototype.toString;
68467
+ var ke = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", xe = "~~local_forage_type~", le = /^~~local_forage_type~([^~]+)~/, ue = "__lfsc__:", ee = ue.length, De = "arbf", Be = "blob", qe = "si08", Ke = "ui08", et = "uic8", vt = "si16", wt = "si32", tt = "ur16", rt = "ui32", mt = "fl32", ct = "fl64", xt = ee + De.length, Ct = Object.prototype.toString;
68467
68468
  function Ft(ve) {
68468
68469
  var Le = ve.length * 0.75, _e = ve.length, He, We = 0, Re, at, nt, dt;
68469
68470
  ve[ve.length - 1] === "=" && (Le--, ve[ve.length - 2] === "=" && Le--);
@@ -68499,7 +68500,7 @@ function requireLocalforage() {
68499
68500
  function Rt(ve) {
68500
68501
  if (ve.substring(0, ee) !== ue)
68501
68502
  return JSON.parse(ve);
68502
- var Le = ve.substring(bt), _e = ve.substring(ee, bt), He;
68503
+ var Le = ve.substring(xt), _e = ve.substring(ee, xt), He;
68503
68504
  if (_e === Be && le.test(Le)) {
68504
68505
  var We = Le.match(le);
68505
68506
  He = We[1], Le = Le.substring(We[0].length);
@@ -69381,7 +69382,7 @@ class TableInsertUndoUnit extends NodeInsertUndoUnit {
69381
69382
  this._undo.undo();
69382
69383
  const a = new SelectionChangeEvent(
69383
69384
  o.docTree.curDomRange,
69384
- new DomRange$1(
69385
+ new DomRange(
69385
69386
  this._hoEditorFactoryID,
69386
69387
  this.strBeforePath,
69387
69388
  this.strBeforePath
@@ -69718,7 +69719,7 @@ class TableMergeCellUndoUnit {
69718
69719
  if (a) {
69719
69720
  const s = `${a.getNodePath()}/0`, c = new SelectionChangeEvent(
69720
69721
  r.docTree.curDomRange,
69721
- new DomRange$1(this._hoEditorFactoryID, s, s)
69722
+ new DomRange(this._hoEditorFactoryID, s, s)
69722
69723
  );
69723
69724
  r.docTree.selectChange(c), r.docTree.curDomRange.setSamePath(s), r.drawTree.moveCaretToPath(s);
69724
69725
  }
@@ -69829,7 +69830,7 @@ class ParseUndoUnit {
69829
69830
  r.docTree.deleteNode(a, "update");
69830
69831
  }), o.afterChangePath = this._tmp.start, await r.docTree.change(o), r.docTree.curDomRange.setSamePath(this._tmp.start); !this._undo.atBottom(); )
69831
69832
  this._undo.undo();
69832
- r.docTree.curDomRange = new DomRange$1(
69833
+ r.docTree.curDomRange = new DomRange(
69833
69834
  this._hoEditorFactoryID,
69834
69835
  this._startPath,
69835
69836
  this._endPath
@@ -69846,7 +69847,7 @@ class ParseUndoUnit {
69846
69847
  redo() {
69847
69848
  var f, p;
69848
69849
  this.initParam();
69849
- const r = new DomRange$1(
69850
+ const r = new DomRange(
69850
69851
  this._hoEditorFactoryID,
69851
69852
  this._startPath,
69852
69853
  this._endPath
@@ -69882,7 +69883,7 @@ class ParseUndoUnit {
69882
69883
  this._hoEditorFactoryID,
69883
69884
  r.startPath,
69884
69885
  s.node,
69885
- new DomRange$1(
69886
+ new DomRange(
69886
69887
  this._hoEditorFactoryID,
69887
69888
  r.startPath,
69888
69889
  g
@@ -69983,7 +69984,7 @@ class ParseUndoUnit {
69983
69984
  const g = s.node.parentNode.parentNode;
69984
69985
  g instanceof CellNode && g.drawCell.drawPageCells.length > 1 && (g.drawCell.needUpdate = !0, g.table.update());
69985
69986
  }
69986
- this._tmp.start = r.startPath, this._tmp.end = d, o.drawTree.moveCaretToPath(d), o.docTree.curDomRange = new DomRange$1(
69987
+ this._tmp.start = r.startPath, this._tmp.end = d, o.drawTree.moveCaretToPath(d), o.docTree.curDomRange = new DomRange(
69987
69988
  this._hoEditorFactoryID,
69988
69989
  d,
69989
69990
  d
@@ -70031,7 +70032,7 @@ class TableInsertParagraphUndoUnit {
70031
70032
  throw new Error("错误的撤销恢复链,无法恢复");
70032
70033
  }
70033
70034
  r.docTree.change(a);
70034
- const s = `${this._positionNode.childNodes[0].getNodePath()}/0`, c = new DomRange$1(this._hoEditorFactoryID, o, o), d = new DomRange$1(this._hoEditorFactoryID, s, s), u = new SelectionChangeEvent(c, d);
70035
+ const s = `${this._positionNode.childNodes[0].getNodePath()}/0`, c = new DomRange(this._hoEditorFactoryID, o, o), d = new DomRange(this._hoEditorFactoryID, s, s), u = new SelectionChangeEvent(c, d);
70035
70036
  r.docTree.selectChange(u), this._positionNode.update();
70036
70037
  }
70037
70038
  redo() {
@@ -70042,7 +70043,7 @@ class TableInsertParagraphUndoUnit {
70042
70043
  o ? (n = r.docTree.getNodeLastPath(o), a = this._insertNode.getNodePath(), o instanceof TableNode && (s = DocAction.daInsertParagraphBetweenTab)) : (n = this._insertNode.getNodePath(), a = n), this._insertNode.rootNodes.indexOf(this._insertNode) === 0 && (s = DocAction.daInsertAreaFirstParagraph), this._action = s;
70043
70044
  const c = new NodeChangeEvent(this._hoEditorFactoryID, s, n, a);
70044
70045
  r.docTree.change(c);
70045
- const d = r.docTree.curDomRange.clone(), u = new DomRange$1(this._hoEditorFactoryID, a, a), f = new SelectionChangeEvent(d, u);
70046
+ const d = r.docTree.curDomRange.clone(), u = new DomRange(this._hoEditorFactoryID, a, a), f = new SelectionChangeEvent(d, u);
70046
70047
  r.docTree.selectChange(f), this._positionNode.update();
70047
70048
  }
70048
70049
  merge(r) {
@@ -70080,7 +70081,7 @@ class TableDeleteParagraphUndoUnit {
70080
70081
  else
70081
70082
  throw new Error("错误的撤销恢复链,无法恢复");
70082
70083
  r.docTree.change(a);
70083
- const c = `${this._positionNode.childNodes[0].getNodePath()}/0`, d = new DomRange$1(this._hoEditorFactoryID, o, o), u = new DomRange$1(this._hoEditorFactoryID, c, c), f = new SelectionChangeEvent(d, u);
70084
+ const c = `${this._positionNode.childNodes[0].getNodePath()}/0`, d = new DomRange(this._hoEditorFactoryID, o, o), u = new DomRange(this._hoEditorFactoryID, c, c), f = new SelectionChangeEvent(d, u);
70084
70085
  r.docTree.selectChange(f), this._positionNode.update();
70085
70086
  }
70086
70087
  undo() {
@@ -70091,7 +70092,7 @@ class TableDeleteParagraphUndoUnit {
70091
70092
  o ? (n = r.docTree.getNodeLastPath(o), a = this._deleteNode.getNodePath(), o.nodeType == NodeType$1.ntTable ? s = DocAction.daInsertParagraphBetweenTab : s = DocAction.daInsertParagraphBeforeTab) : (n = this._deleteNode.getNodePath(), a = n), this._action = s;
70092
70093
  const c = new NodeChangeEvent(this._hoEditorFactoryID, s, n, a);
70093
70094
  r.docTree.change(c);
70094
- const d = r.docTree.curDomRange.clone(), u = new DomRange$1(this._hoEditorFactoryID, a, a), f = new SelectionChangeEvent(d, u);
70095
+ const d = r.docTree.curDomRange.clone(), u = new DomRange(this._hoEditorFactoryID, a, a), f = new SelectionChangeEvent(d, u);
70095
70096
  r.docTree.selectChange(f), this._positionNode.update();
70096
70097
  }
70097
70098
  merge(r) {
@@ -70574,10 +70575,10 @@ class DocController {
70574
70575
  const n = o.startPath, a = o.endPath;
70575
70576
  let s = o;
70576
70577
  if (!o.isEmpty)
70577
- l === "left" || l === "up" ? s = new DomRange$1(this._hoEditorFactoryID, n, n) : s = new DomRange$1(this._hoEditorFactoryID, a, a);
70578
+ l === "left" || l === "up" ? s = new DomRange(this._hoEditorFactoryID, n, n) : s = new DomRange(this._hoEditorFactoryID, a, a);
70578
70579
  else {
70579
70580
  const c = r.docTree.getToPath(l, n);
70580
- s = new DomRange$1(this._hoEditorFactoryID, c, c);
70581
+ s = new DomRange(this._hoEditorFactoryID, c, c);
70581
70582
  }
70582
70583
  r.docTree.curDomRange = s, r.drawTree.moveCaretToPath(s.endPath);
70583
70584
  }
@@ -70619,8 +70620,8 @@ class DocController {
70619
70620
  else
70620
70621
  return;
70621
70622
  }
70622
- l.docTree.curDomRange = new DomRange$1(this._hoEditorFactoryID, s, r.startPath);
70623
- const c = new DomRange$1(this._hoEditorFactoryID, r.startPath, s).normalize();
70623
+ l.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, s, r.startPath);
70624
+ const c = new DomRange(this._hoEditorFactoryID, r.startPath, s).normalize();
70624
70625
  this.deleteRange(c, !0);
70625
70626
  }
70626
70627
  }
@@ -70650,8 +70651,8 @@ class DocController {
70650
70651
  else
70651
70652
  return;
70652
70653
  }
70653
- r.docTree.curDomRange = new DomRange$1(this._hoEditorFactoryID, d, l);
70654
- const u = new DomRange$1(this._hoEditorFactoryID, l, d).normalize();
70654
+ r.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, d, l);
70655
+ const u = new DomRange(this._hoEditorFactoryID, l, d).normalize();
70655
70656
  this.deleteRange(u, !0);
70656
70657
  } else if (c instanceof MarkNode) {
70657
70658
  let d = r.docTree.getNodeLastPath(c);
@@ -70667,7 +70668,7 @@ class DocController {
70667
70668
  if (c === c.parentNode.first())
70668
70669
  return;
70669
70670
  }
70670
- const u = new DomRange$1(
70671
+ const u = new DomRange(
70671
70672
  this._hoEditorFactoryID,
70672
70673
  l,
70673
70674
  d
@@ -70860,7 +70861,7 @@ class DocController {
70860
70861
  }
70861
70862
  }
70862
70863
  selectARange(l, r) {
70863
- const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = o.docTree.curDomRange.normalize(), a = new DomRange$1(this._hoEditorFactoryID, l, r);
70864
+ const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = o.docTree.curDomRange.normalize(), a = new DomRange(this._hoEditorFactoryID, l, r);
70864
70865
  o.undoService.begin(), o.undoService.add(new SelectionUndoUnit(this._hoEditorFactoryID, n, a)), o.undoService.commit();
70865
70866
  }
70866
70867
  // /**
@@ -71448,7 +71449,7 @@ class DocController {
71448
71449
  for (let y = 0; y < a.table.colCount; y++) {
71449
71450
  const m = a.table.rows[g][y], v = a.table.rows[s + r][y];
71450
71451
  if (m && v && v.childNodes.length > 1) {
71451
- const C = v.childNodes[0].getNodePath(), w = o.docTree.getNodeLastPath(v.childNodes[v.childNodes.length - 1]), b = new DomRange$1(this._hoEditorFactoryID, C, w), N = o.structureNode.Copy(b, null, !1, "", !0);
71452
+ const C = v.childNodes[0].getNodePath(), w = o.docTree.getNodeLastPath(v.childNodes[v.childNodes.length - 1]), b = new DomRange(this._hoEditorFactoryID, C, w), N = o.structureNode.Copy(b, null, !1, "", !0);
71452
71453
  o.docTree.curDomRange.setSamePath(m.childNodes[0].getNodePath());
71453
71454
  const E = o.structureNode.Parse(ClipboardType.ctJSON, N);
71454
71455
  for (let F = 0; F < E.length; F++) {
@@ -71539,7 +71540,7 @@ class DocController {
71539
71540
  }
71540
71541
  }
71541
71542
  if (f && p) {
71542
- const g = o.docTree.getNodeFirstPath(f), y = o.docTree.getNodeLastPath(p), m = new DomRange$1(this._hoEditorFactoryID, g, y), v = new SelectionChangeEvent(l, m);
71543
+ const g = o.docTree.getNodeFirstPath(f), y = o.docTree.getNodeLastPath(p), m = new DomRange(this._hoEditorFactoryID, g, y), v = new SelectionChangeEvent(l, m);
71543
71544
  o.docTree.selectChange(v), o.docTree.curDomRange = m;
71544
71545
  }
71545
71546
  } else {
@@ -71574,7 +71575,7 @@ class DocController {
71574
71575
  for (let y = 0; y < a.table.colCount; y++) {
71575
71576
  const m = a.table.rows[g][y], v = a.table.rows[s][y];
71576
71577
  if (m && v && v.childNodes.length > 1) {
71577
- const C = v.childNodes[0].getNodePath(), w = o.docTree.getNodeLastPath(v.childNodes[v.childNodes.length - 1]), b = new DomRange$1(this._hoEditorFactoryID, C, w), N = o.structureNode.Copy(b, null, !1, "", !0), E = o.structureNode.Parse(ClipboardType.ctJSON, N);
71578
+ const C = v.childNodes[0].getNodePath(), w = o.docTree.getNodeLastPath(v.childNodes[v.childNodes.length - 1]), b = new DomRange(this._hoEditorFactoryID, C, w), N = o.structureNode.Copy(b, null, !1, "", !0), E = o.structureNode.Parse(ClipboardType.ctJSON, N);
71578
71579
  o.docTree.curDomRange.setSamePath(m.childNodes[0].getNodePath());
71579
71580
  for (let F = 0; F < E.length; F++) {
71580
71581
  const D = E[F];
@@ -71614,7 +71615,7 @@ class DocController {
71614
71615
  }
71615
71616
  }
71616
71617
  if (f && p) {
71617
- const g = o.docTree.getNodeFirstPath(f), y = o.docTree.getNodeLastPath(p), m = new DomRange$1(this._hoEditorFactoryID, g, y), v = new SelectionChangeEvent(l, m);
71618
+ const g = o.docTree.getNodeFirstPath(f), y = o.docTree.getNodeLastPath(p), m = new DomRange(this._hoEditorFactoryID, g, y), v = new SelectionChangeEvent(l, m);
71618
71619
  o.docTree.selectChange(v), o.docTree.curDomRange = m;
71619
71620
  }
71620
71621
  } else {
@@ -71648,7 +71649,7 @@ class DocController {
71648
71649
  }
71649
71650
  }
71650
71651
  if (u && f) {
71651
- const p = o.docTree.getNodeFirstPath(u), g = o.docTree.getNodeLastPath(f), y = new DomRange$1(this._hoEditorFactoryID, p, g), m = new SelectionChangeEvent(l, y);
71652
+ const p = o.docTree.getNodeFirstPath(u), g = o.docTree.getNodeLastPath(f), y = new DomRange(this._hoEditorFactoryID, p, g), m = new SelectionChangeEvent(l, y);
71652
71653
  o.docTree.selectChange(m), o.docTree.curDomRange = y;
71653
71654
  }
71654
71655
  } else {
@@ -71682,7 +71683,7 @@ class DocController {
71682
71683
  }
71683
71684
  }
71684
71685
  if (d && u) {
71685
- const f = o.docTree.getNodeFirstPath(d), p = o.docTree.getNodeLastPath(u), g = new DomRange$1(this._hoEditorFactoryID, f, p), y = new SelectionChangeEvent(l, g);
71686
+ const f = o.docTree.getNodeFirstPath(d), p = o.docTree.getNodeLastPath(u), g = new DomRange(this._hoEditorFactoryID, f, p), y = new SelectionChangeEvent(l, g);
71686
71687
  o.docTree.selectChange(y), o.docTree.curDomRange = g;
71687
71688
  }
71688
71689
  } else {
@@ -71733,7 +71734,7 @@ class DocController {
71733
71734
  const g = r.childNodes[0];
71734
71735
  d = c.docTree.getNodeFirstPath(g);
71735
71736
  }
71736
- const f = new DomRange$1(this._hoEditorFactoryID, d, d);
71737
+ const f = new DomRange(this._hoEditorFactoryID, d, d);
71737
71738
  c.docTree.curDomRange = f;
71738
71739
  const p = new SelectionChangeEvent(f, f);
71739
71740
  c.docTree.selectChange(p), c.drawTree.moveCaretToPath(d);
@@ -71753,7 +71754,7 @@ class DocController {
71753
71754
  return;
71754
71755
  }
71755
71756
  if (c.undoService.begin(), c.undoService.add(new TableDeleteColUndoUnit(this._hoEditorFactoryID, r, n, s - n + 1)), c.undoService.commit(), r.childNodes.length > 0) {
71756
- const u = r.childNodes[0], f = c.docTree.getNodeFirstPath(u), p = new DomRange$1(this._hoEditorFactoryID, f, f);
71757
+ const u = r.childNodes[0], f = c.docTree.getNodeFirstPath(u), p = new DomRange(this._hoEditorFactoryID, f, f);
71757
71758
  c.docTree.curDomRange = p;
71758
71759
  const g = new SelectionChangeEvent(p, p);
71759
71760
  c.docTree.selectChange(g), c.drawTree.moveCaretToPath(f);
@@ -71938,7 +71939,7 @@ class DocController {
71938
71939
  E[E.length - 1] = (F + 1).toString(), p = E.join("/");
71939
71940
  }
71940
71941
  }
71941
- const y = a.docTree.curDomRange, m = new DomRange$1(this._hoEditorFactoryID, d, p), v = new SelectionChangeEvent(y, m);
71942
+ const y = a.docTree.curDomRange, m = new DomRange(this._hoEditorFactoryID, d, p), v = new SelectionChangeEvent(y, m);
71942
71943
  return a.docTree.selectChange(v), a.docTree.curDomRange = m, a.drawTree.moveCaretToPath(p), d;
71943
71944
  }
71944
71945
  /**
@@ -71994,7 +71995,7 @@ class DocController {
71994
71995
  const v = d.docTree.curDomRange;
71995
71996
  let C = n;
71996
71997
  o !== "" && (C = d.docTree.getNodeLastPath(m));
71997
- const w = new DomRange$1(this._hoEditorFactoryID, n, C), b = new SelectionChangeEvent(v, w);
71998
+ const w = new DomRange(this._hoEditorFactoryID, n, C), b = new SelectionChangeEvent(v, w);
71998
71999
  d.docTree.selectChange(b);
71999
72000
  }
72000
72001
  }
@@ -72248,7 +72249,7 @@ class DocController {
72248
72249
  selectAll() {
72249
72250
  const l = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), r = l.docTree.curDomRange, o = r.normalize().startPath, n = l.docTree.getPathRoots(o);
72250
72251
  if (n) {
72251
- const a = l.docTree.getNodeFirstPath(n[0]), s = l.docTree.getNodeLastPath(n[n.length - 1]), c = new DomRange$1(this._hoEditorFactoryID, a, s), d = new SelectionChangeEvent(r, c);
72252
+ const a = l.docTree.getNodeFirstPath(n[0]), s = l.docTree.getNodeLastPath(n[n.length - 1]), c = new DomRange(this._hoEditorFactoryID, a, s), d = new SelectionChangeEvent(r, c);
72252
72253
  l.docTree.selectChange(d), l.docTree.curDomRange = c;
72253
72254
  }
72254
72255
  }
@@ -72366,7 +72367,7 @@ class DocController {
72366
72367
  c instanceof MarkNode && c.MarkNodeType === MarkNodeType.mtContent && (a.removeChild(c), s = !0);
72367
72368
  }), s)) {
72368
72369
  const c = o.docTree.getNodeLastPath(a.childNodes[0]);
72369
- o.docTree.curDomRange = new DomRange$1(this._hoEditorFactoryID, c, c);
72370
+ o.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, c, c);
72370
72371
  }
72371
72372
  }
72372
72373
  o.undoService.begin(), o.undoService.add(new ParseUndoUnit(this._hoEditorFactoryID, o.docTree.curDomRange.startPath, o.docTree.curDomRange.endPath, l)), o.undoService.commit();
@@ -72388,7 +72389,7 @@ class DocController {
72388
72389
  * @returns 变更绘制事件对象
72389
72390
  */
72390
72391
  getRedrawObject(l, r, o) {
72391
- const n = new DomRange$1(this._hoEditorFactoryID, l, r).normalize(), a = new NodeChangeEvent(this._hoEditorFactoryID, o, n.startPath, n.endPath);
72392
+ const n = new DomRange(this._hoEditorFactoryID, l, r).normalize(), a = new NodeChangeEvent(this._hoEditorFactoryID, o, n.startPath, n.endPath);
72392
72393
  return o === DocAction.daUndoInsert || o === DocAction.daDelete ? (a.oldEndPath = n.endPath, a.oldDrawTreeLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawTreeLines(n.startPath, n.endPath)) : o === DocAction.daParaStyleChange && (a.oldEndPath = n.endPath, a.oldDrawLines = new SelectRange(this._hoEditorFactoryID).getRangeDrawLines(n.startPath, n.endPath, !1, !0)), a;
72393
72394
  }
72394
72395
  /**
@@ -72411,7 +72412,7 @@ class DocController {
72411
72412
  * @param endPath 变更后的结束路径
72412
72413
  */
72413
72414
  insertRedraw(l, r) {
72414
- const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = new DomRange$1(this._hoEditorFactoryID, l, r).normalize(), a = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daInsert, n.startPath, n.endPath);
72415
+ const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = new DomRange(this._hoEditorFactoryID, l, r).normalize(), a = new NodeChangeEvent(this._hoEditorFactoryID, DocAction.daInsert, n.startPath, n.endPath);
72415
72416
  o.docTree.change(a);
72416
72417
  }
72417
72418
  /**
@@ -72481,7 +72482,7 @@ class DocController {
72481
72482
  const v = l.endPath.split("/");
72482
72483
  v[v.length - 1] = c.toString(), f = v.join("/");
72483
72484
  } else d === n ? (g = g.substring(s + 1, g.length), u = l.startPath, f = o.docTree.getNodeLastPath(d)) : (u = o.docTree.getNodeLastPath(d.previousLeaf()), f = o.docTree.getNodeLastPath(d));
72484
- const y = new LabelNode(this._hoEditorFactoryID, l.npStart.roots, d.parentNode, NodeType$1.ntLabel, g, d.styleIndex, r), m = new DomRange$1(this._hoEditorFactoryID, u, f);
72485
+ const y = new LabelNode(this._hoEditorFactoryID, l.npStart.roots, d.parentNode, NodeType$1.ntLabel, g, d.styleIndex, r), m = new DomRange(this._hoEditorFactoryID, u, f);
72485
72486
  await this.deleteRange(m, !0), o.undoService.begin(), o.undoService.add(new NodeInsertUndoUnit(this._hoEditorFactoryID, u, y)), o.undoService.commit(), d = y;
72486
72487
  }
72487
72488
  if (d = d.previousLeaf(), d) {
@@ -72498,7 +72499,7 @@ class DocController {
72498
72499
  labelToText(l) {
72499
72500
  const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
72500
72501
  l.isAllowDelete = !0;
72501
- const o = l.text, n = l.styleIndex, a = l.parentNode, s = r.docTree.getNodeLastPath(l.previousLeaf()), c = r.docTree.getNodeLastPath(l), d = new DomRange$1(this._hoEditorFactoryID, s, c);
72502
+ const o = l.text, n = l.styleIndex, a = l.parentNode, s = r.docTree.getNodeLastPath(l.previousLeaf()), c = r.docTree.getNodeLastPath(l), d = new DomRange(this._hoEditorFactoryID, s, c);
72502
72503
  this.deleteRange(d, !0), r.undoService.begin();
72503
72504
  const u = new TextNode(this._hoEditorFactoryID, l.rootNodes, a, NodeType$1.ntText, o, n);
72504
72505
  r.undoService.add(new NodeInsertUndoUnit(this._hoEditorFactoryID, s, u)), r.undoService.commit();
@@ -72749,7 +72750,7 @@ class DocController {
72749
72750
  break;
72750
72751
  } while (!0);
72751
72752
  const s = (d, u) => {
72752
- const f = new DomRange$1(this._hoEditorFactoryID, d, u), p = new SelectionChangeEvent(r, f);
72753
+ const f = new DomRange(this._hoEditorFactoryID, d, u), p = new SelectionChangeEvent(r, f);
72753
72754
  l.docTree.selectChange(p), l.docTree.curDomRange = f;
72754
72755
  };
72755
72756
  let c = "";
@@ -75082,7 +75083,7 @@ const TextDialog = __component__$12.exports, _sfc_main$11 = {
75082
75083
  if (n != null && n.isEmpty)
75083
75084
  l instanceof LabelNode && r.push(l);
75084
75085
  else {
75085
- const a = n.startPath, s = n.endPath, c = DomRange$1.getSelectDomNodes(this.hoEditorProvider.activeDocId, a, s, !0)[0];
75086
+ const a = n.startPath, s = n.endPath, c = DomRange.getSelectDomNodes(this.hoEditorProvider.activeDocId, a, s, !0)[0];
75086
75087
  c.length > 0 && c.forEach((d) => {
75087
75088
  d instanceof LabelNode && r.push(d);
75088
75089
  });
@@ -79736,7 +79737,7 @@ function requireVueColor_min() {
79736
79737
  return tt === ye && ke(Ie, rt, mt), F(tt), rt = O(rt, !0), F(mt), c(be, rt) ? (mt.enumerable ? (c(tt, pe) && tt[pe][rt] && (tt[pe][rt] = !1), mt = H(mt, { enumerable: L(0, !1) })) : (c(tt, pe) || V(tt, pe, L(1, {})), tt[pe][rt] = !0), Fe(tt, rt, mt)) : V(tt, rt, mt);
79737
79738
  }, xe = function(tt, rt) {
79738
79739
  F(tt);
79739
- for (var mt, ct = N(rt = R(rt)), bt = 0, Ct = ct.length; Ct > bt; ) ke(tt, mt = ct[bt++], rt[mt]);
79740
+ for (var mt, ct = N(rt = R(rt)), xt = 0, Ct = ct.length; Ct > xt; ) ke(tt, mt = ct[xt++], rt[mt]);
79740
79741
  return tt;
79741
79742
  }, le = function(tt, rt) {
79742
79743
  return rt === void 0 ? H(tt) : xe(H(tt), rt);
@@ -79749,11 +79750,11 @@ function requireVueColor_min() {
79749
79750
  return !mt || !c(be, rt) || c(tt, pe) && tt[pe][rt] || (mt.enumerable = !0), mt;
79750
79751
  }
79751
79752
  }, De = function(tt) {
79752
- for (var rt, mt = K(R(tt)), ct = [], bt = 0; mt.length > bt; ) c(be, rt = mt[bt++]) || rt == pe || rt == p || ct.push(rt);
79753
+ for (var rt, mt = K(R(tt)), ct = [], xt = 0; mt.length > xt; ) c(be, rt = mt[xt++]) || rt == pe || rt == p || ct.push(rt);
79753
79754
  return ct;
79754
79755
  }, Be = function(tt) {
79755
- for (var rt, mt = tt === ye, ct = K(mt ? Ie : R(tt)), bt = [], Ct = 0; ct.length > Ct; ) !c(be, rt = ct[Ct++]) || mt && !c(ye, rt) || bt.push(be[rt]);
79756
- return bt;
79756
+ for (var rt, mt = tt === ye, ct = K(mt ? Ie : R(tt)), xt = [], Ct = 0; ct.length > Ct; ) !c(be, rt = ct[Ct++]) || mt && !c(ye, rt) || xt.push(be[rt]);
79757
+ return xt;
79757
79758
  };
79758
79759
  Pe || (se = function() {
79759
79760
  if (this instanceof se) throw TypeError("Symbol is not a constructor!");
@@ -79787,7 +79788,7 @@ function requireVueColor_min() {
79787
79788
  var tt = se();
79788
79789
  return oe([tt]) != "[null]" || oe({ a: tt }) != "{}" || oe(Object(tt)) != "{}";
79789
79790
  })), "JSON", { stringify: function(tt) {
79790
- for (var rt, mt, ct = [tt], bt = 1; arguments.length > bt; ) ct.push(arguments[bt++]);
79791
+ for (var rt, mt, ct = [tt], xt = 1; arguments.length > xt; ) ct.push(arguments[xt++]);
79791
79792
  if (mt = rt = ct[1], (D(rt) || tt !== void 0) && !Te(tt)) return E(rt) || (rt = function(Ct, Ft) {
79792
79793
  if (typeof mt == "function" && (Ft = mt.call(this, Ct, Ft)), !Te(Ft)) return Ft;
79793
79794
  }), ct[1] = rt, oe.apply(Ce, ct);