hoeditor-web 3.2.8 → 3.2.10

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 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);
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);
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 cn = class cn {
1187
+ const dn = class dn {
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 cn._instance || (cn._instance = new cn()), cn._instance;
1194
+ return dn._instance || (dn._instance = new dn()), dn._instance;
1195
1195
  }
1196
1196
  // set hoEditorFactoryMap(hoEditorFactoryMap: Map<string, HOEditorFactory>) {
1197
1197
  // this._hoEditorFactoryMap = hoEditorFactoryMap;
@@ -1212,8 +1212,8 @@ const cn = class cn {
1212
1212
  return o;
1213
1213
  }
1214
1214
  };
1215
- _(cn, "_instance");
1216
- let HOEditorFactorys = cn;
1215
+ _(dn, "_instance");
1216
+ let HOEditorFactorys = dn;
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 Ba = class Ba {
5571
+ const za = class za {
5572
5572
  constructor() {
5573
5573
  _(this, "_scaleXY");
5574
5574
  _(this, "_transformScale", 1);
@@ -5590,11 +5590,11 @@ const Ba = class Ba {
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 Ba()), this._instance;
5593
+ return this._instance || (this._instance = new za()), this._instance;
5594
5594
  }
5595
5595
  };
5596
- _(Ba, "_instance");
5597
- let DrawConfig = Ba;
5596
+ _(za, "_instance");
5597
+ let DrawConfig = za;
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 Wo = class Wo {
6219
+ const jo = class jo {
6220
6220
  constructor() {
6221
6221
  _(this, "dpiX");
6222
6222
  _(this, "dpiY");
@@ -6224,7 +6224,7 @@ const Wo = class Wo {
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 Wo()), this._instance;
6227
+ return this._instance || (this._instance = new jo()), this._instance;
6228
6228
  }
6229
6229
  //像素转毫米
6230
6230
  pxConversionMm(r, o) {
@@ -6284,10 +6284,10 @@ const Wo = class Wo {
6284
6284
  return r * 72 / this.dpiX;
6285
6285
  }
6286
6286
  static isPuctuation(r) {
6287
- return Wo._regRunctuation.test(r);
6287
+ return jo._regRunctuation.test(r);
6288
6288
  }
6289
6289
  static isNumEnglish(r) {
6290
- return Wo._regNum.test(r);
6290
+ return jo._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 Wo = class Wo {
6310
6310
  return o;
6311
6311
  }
6312
6312
  };
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;
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;
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 jo = class jo extends createjs$1.Text {
6821
+ const Uo = class Uo 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 jo = class jo extends createjs$1.Text {
6845
6845
  }
6846
6846
  _drawText(o, n, a) {
6847
6847
  const s = !!o;
6848
- s || (o = jo.getWorkingContext(), o.save(), this._prepContext(o)), o.imageSmoothingEnabled = !0;
6848
+ s || (o = Uo.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 jo = class jo extends createjs$1.Text {
6859
6859
  return this._docWidth = f, s || o.restore(), n;
6860
6860
  }
6861
6861
  static getWorkingContext() {
6862
- if (!jo._workingContext) {
6862
+ if (!Uo._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
- jo._workingContext = n;
6867
+ Uo._workingContext = n;
6868
6868
  else
6869
6869
  throw new Error("创建canvas失败");
6870
6870
  }
6871
- return jo._workingContext;
6871
+ return Uo._workingContext;
6872
6872
  }
6873
6873
  // public getChildIndex(x: number, y: number): number {
6874
6874
  // let left = this.parent.x;
@@ -6910,7 +6910,7 @@ const jo = class jo 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 jo(this.text, this.font, this.color, this._letterSpacing));
6913
+ return this._cloneProps(new Uo(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 jo = class jo extends createjs$1.Text {
6921
6921
  return !0;
6922
6922
  }
6923
6923
  };
6924
- _(jo, "_workingContext");
6925
- let DrawSimpleText = jo;
6924
+ _(Uo, "_workingContext");
6925
+ let DrawSimpleText = Uo;
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 Uo = class Uo extends createjs$1.Text {
7635
+ const Yo = class Yo 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 Uo = class Uo extends createjs$1.Text {
7702
7702
  }
7703
7703
  _drawText(o, n, a) {
7704
7704
  const s = !!o;
7705
- s || (o = Uo.getWorkingContext(), o.save(), this._prepContext(o)), o.imageSmoothingEnabled = !0;
7705
+ s || (o = Yo.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 Uo = class Uo 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 (!Uo._workingContext) {
7734
+ if (!Yo._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
- Uo._workingContext = n;
7739
+ Yo._workingContext = n;
7740
7740
  else
7741
7741
  throw new Error("创建canvas失败");
7742
7742
  }
7743
- return Uo._workingContext;
7743
+ return Yo._workingContext;
7744
7744
  }
7745
7745
  getChildIndex(o, n) {
7746
7746
  let a = this.parent.x;
@@ -7770,7 +7770,7 @@ const Uo = class Uo 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 Uo(this._node, this.text, this.maxWidth, this._startIndex, this._letterSpacing, this.font, this.color));
7773
+ return this._cloneProps(new Yo(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 Uo = class Uo extends createjs$1.Text {
7781
7781
  return !0;
7782
7782
  }
7783
7783
  };
7784
- _(Uo, "_workingContext");
7785
- let DrawText = Uo;
7784
+ _(Yo, "_workingContext");
7785
+ let DrawText = Yo;
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) {
@@ -10350,12 +10350,12 @@ function expressionCalculator(l) {
10350
10350
  break;
10351
10351
  }
10352
10352
  case "+": {
10353
- const C = new Decimal(v).add(new Decimal(m)).toNumber();
10353
+ const C = new Decimal(v || 0).add(new Decimal(m || 0)).toNumber();
10354
10354
  f.pop(), f.pop(), p.pop(), f.push(C);
10355
10355
  break;
10356
10356
  }
10357
10357
  case "-": {
10358
- const C = new Decimal(v).minus(new Decimal(m)).toNumber();
10358
+ const C = new Decimal(v || 0).minus(new Decimal(m || 0)).toNumber();
10359
10359
  f.pop(), f.pop(), p.pop(), f.push(C);
10360
10360
  break;
10361
10361
  }
@@ -10390,12 +10390,12 @@ function expressionCalculator(l) {
10390
10390
  break;
10391
10391
  }
10392
10392
  case "+": {
10393
- const b = new Decimal(w).add(new Decimal(C)).toNumber();
10393
+ const b = new Decimal(w || 0).add(new Decimal(C || 0)).toNumber();
10394
10394
  p.pop(), p.pop(), f.pop(), p.push(b), d(f, p, g);
10395
10395
  break;
10396
10396
  }
10397
10397
  case "-": {
10398
- const b = new Decimal(w).minus(new Decimal(C)).toNumber();
10398
+ const b = new Decimal(w || 0).minus(new Decimal(C || 0)).toNumber();
10399
10399
  p.pop(), p.pop(), f.pop(), p.push(b), d(f, p, g);
10400
10400
  break;
10401
10401
  }
@@ -10432,12 +10432,12 @@ function expressionCalculator(l) {
10432
10432
  break;
10433
10433
  }
10434
10434
  case "+": {
10435
- const m = new Decimal(y).add(new Decimal(g)).toNumber();
10435
+ const m = new Decimal(y || 0).add(new Decimal(g || 0)).toNumber();
10436
10436
  a.pop(), a.pop(), n.pop(), a.push(m);
10437
10437
  break;
10438
10438
  }
10439
10439
  case "-": {
10440
- const m = new Decimal(y).minus(new Decimal(g)).toNumber();
10440
+ const m = new Decimal(y || 0).minus(new Decimal(g || 0)).toNumber();
10441
10441
  a.pop(), a.pop(), n.pop(), a.push(m);
10442
10442
  break;
10443
10443
  }
@@ -11563,7 +11563,7 @@ let TableFormula$1 = class _TableFormula extends ControlNode {
11563
11563
  if (y >= 0 && m >= 0 && y < u.rowCount && m < u.colCount) {
11564
11564
  const [w, b] = this.getCellNumber(u, y, m);
11565
11565
  if (w)
11566
- s[p] = b;
11566
+ isNaN(Number(b)) ? s[p] = "0" : s[p] = Number(b).toString().replace(/\+|-/g, "");
11567
11567
  else {
11568
11568
  f = !1;
11569
11569
  break;
@@ -12630,12 +12630,12 @@ class DrawPageTable extends DrawRect {
12630
12630
  // return this._endRowinfos.changed;
12631
12631
  // }
12632
12632
  }
12633
- const za = class za {
12633
+ const Wa = class Wa {
12634
12634
  constructor() {
12635
12635
  _(this, "_modalStatusObject");
12636
12636
  }
12637
12637
  static instance() {
12638
- return this._instance || (this._instance = new za()), this._instance;
12638
+ return this._instance || (this._instance = new Wa()), this._instance;
12639
12639
  }
12640
12640
  get modalStatusObject() {
12641
12641
  return this._modalStatusObject;
@@ -12644,8 +12644,8 @@ const za = class za {
12644
12644
  r !== this._modalStatusObject && (this._modalStatusObject = r);
12645
12645
  }
12646
12646
  };
12647
- _(za, "_instance");
12648
- let CommonData = za;
12647
+ _(Wa, "_instance");
12648
+ let CommonData = Wa;
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.8";
16050
+ const version$1 = "3.2.10";
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(this._hoEditorFactoryID, r.docTree.getNodeFirstPath(this._childNodes[n]), r.docTree.getNodeLastPath(this._childNodes[n]));
18469
+ const a = new DomRange$1(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(this._hoEditorFactoryID, o.docTree.getNodeFirstPath(s), o.docTree.getNodeLastPath(s));
18480
+ const c = new DomRange$1(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(this._hoEditorFactoryID, u, d);
18529
+ const f = new DomRange$1(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(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$1(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(this._hoEditorFactoryID, o, s);
19913
+ return new DomRange$1(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(
21197
+ const d = new DomRange$1(
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(
21257
+ const d = new DomRange$1(
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(this._hoEditorFactoryID, u, p).normalize();
24684
+ const p = d.docTree.getNodeLastPath(this.childNodes[this.childNodes.length - 2]), g = new DomRange$1(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.getSelectDomNodesForDelete(this.hoEditorFactoryID, u, p);
24688
+ const m = DomRange$1.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(
25610
+ new DomRange$1(
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(
25631
+ new DomRange$1(
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(r, o, n).normalize();
25737
+ const s = new DomRange$1(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(
25768
+ const d = new DomRange$1(
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(this._hoEditorFactoryID, o, s);
25809
+ return new DomRange$1(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(
25820
+ const n = new DomRange$1(
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(
25827
+ const a = new DomRange$1(
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.getSelectDomNodesForDelete(
25833
+ const s = DomRange$1.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(
25954
+ a[0] = 0, a[1] = new DomRange$1(
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(this._hoEditorFactoryID, m.endPath, m.endPath), a[0] = 1, a[1] = m;
25961
+ s.docTree.curDomRange = new DomRange$1(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(this._hoEditorFactoryID, m.endPath, m.endPath), a[0] = 2, a[1] = m;
25964
+ s.docTree.curDomRange = new DomRange$1(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(this._hoEditorFactoryID, this._tmp.start, this._tmp.end)
26014
+ new DomRange$1(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(
26051
+ const r = new DomRange$1(
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.getSelectDomNodesForDelete(
26062
+ const a = DomRange$1.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(this._hoEditorFactoryID, this._tmp.start, this._tmp.start)
26136
+ new DomRange$1(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.getSelectDomNodesForUpdate(this._hoEditorFactoryID, o, u);
29133
+ const C = DomRange$1.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(this._hoEditorFactoryID, b, b), E = JSON.stringify(C.radioAndCheckBoxInstance);
29450
+ const b = C.getNodePath(), N = new DomRange$1(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(this._hoEditorFactoryID, a, a);
29462
+ const d = JSON.stringify(n.radioAndCheckBoxInstance), u = new DomRange$1(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(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$1(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(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$1(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
- class DomRange {
30775
+ let DomRange$1 = class Wo {
30776
30776
  // private _beginRangeSelect: boolean;
30777
30777
  constructor(r, o, n) {
30778
30778
  _(this, "_startPath");
@@ -30797,7 +30797,7 @@ class DomRange {
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 DomRange(
30800
+ return NodePosition.treePathCompare(this._startPath, this._endPath) > 0 ? r = new Wo(
30801
30801
  this._hoEditorFactoryID,
30802
30802
  this._endPath,
30803
30803
  this._startPath
@@ -30943,7 +30943,7 @@ class DomRange {
30943
30943
  return this._npEnd;
30944
30944
  }
30945
30945
  clone() {
30946
- return new DomRange(this._hoEditorFactoryID, this._startPath, this._endPath);
30946
+ return new Wo(this._hoEditorFactoryID, this._startPath, this._endPath);
30947
30947
  }
30948
30948
  /**
30949
30949
  * 获取节点选中区域的开始位置和结束位置
@@ -30958,7 +30958,7 @@ class DomRange {
30958
30958
  }
30959
30959
  static getSelectDomNodesForUpdate(r, o, n) {
30960
30960
  let a = new Array();
30961
- const s = new DomRange(
30961
+ const s = new Wo(
30962
30962
  r,
30963
30963
  o,
30964
30964
  n
@@ -31006,7 +31006,7 @@ class DomRange {
31006
31006
  }
31007
31007
  static getSelectDomNodesForDelete(r, o, n) {
31008
31008
  let a = new Array();
31009
- const s = new DomRange(
31009
+ const s = new Wo(
31010
31010
  r,
31011
31011
  o,
31012
31012
  n
@@ -31048,7 +31048,7 @@ class DomRange {
31048
31048
  }
31049
31049
  static getSelectDomNodes(r, o, n, a) {
31050
31050
  let s = new Array(), c = -1;
31051
- const d = new DomRange(
31051
+ const d = new Wo(
31052
31052
  r,
31053
31053
  o,
31054
31054
  n
@@ -31119,7 +31119,7 @@ class DomRange {
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] = DomRange.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] = Wo.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 @@ class DomRange {
31133
31133
  * @returns
31134
31134
  */
31135
31135
  static getElementNode(r, o, n, a) {
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();
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();
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 @@ class DomRange {
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(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$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 = [];
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(this._hoEditorFactoryID, s, s);
31711
+ this._curDomRange = new DomRange$1(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(this._hoEditorFactoryID, r, o), s = new SelectionChangeEvent(a, this.curDomRange);
32462
+ const a = new DomRange$1(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(this._hoEditorFactoryID, c, c);
32522
+ this._curDomRange = new DomRange$1(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(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$1(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(o.hoEditorFactoryId, j, j);
32721
+ const j = o.docTree.getNodeLastPath(m.childNodes[m.childNodes.length - 1]), Y = new DomRange$1(o.hoEditorFactoryId, j, j);
32722
32722
  o.drawTree.moveCaretToPath(j), o.docTree.curDomRange = Y, o.docController.insertPlainTextAfterPath(j, B);
32723
32723
  }
32724
32724
  }
@@ -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 dn(S, M) {
35500
+ function hn(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("_"), hn = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), En = te, Fn = te, In = te;
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;
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 un(S) {
35511
+ function fn(S) {
35512
35512
  return S === !0 ? ki(this._weekdaysShort, this._week.dow) : S ? this._weekdaysShort[S.day()] : this._weekdaysShort;
35513
35513
  }
35514
- function fn(S) {
35514
+ function pn(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 Yo(S, M, Z) {
35530
+ function Zo(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 An(S) {
35560
+ function Ln(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 Ln(S) {
35566
+ function Mn(S) {
35567
35567
  if (!this.isValid())
35568
35568
  return S != null ? this : NaN;
35569
35569
  if (S != null) {
35570
- var M = dn(S, this.localeData());
35570
+ var M = hn(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 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);
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);
35577
35577
  }
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);
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);
35580
35580
  }
35581
35581
  function Hi(S) {
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);
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);
35583
35583
  }
35584
- function Go() {
35584
+ function Vo() {
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 Mn() {
35605
+ function Rn() {
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, Mn), ce("hmm", 0, 0, function() {
35608
+ ce("H", ["HH", 2], 0, "hour"), ce("h", ["hh", 2], 0, ro), ce("k", ["kk", 2], 0, Rn), 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 gn(S, M) {
35617
+ function mn(S, M) {
35618
35618
  ce(S, 0, 0, function() {
35619
35619
  return this.localeData().meridiem(
35620
35620
  this.hours(),
@@ -35623,7 +35623,7 @@ Arguments: ` + Array.prototype.slice.call(Q).join("") + `
35623
35623
  );
35624
35624
  });
35625
35625
  }
35626
- gn("a", !0), gn("A", !1);
35626
+ mn("a", !0), mn("A", !1);
35627
35627
  function Oi(S, M) {
35628
35628
  return M._meridiemParse;
35629
35629
  }
@@ -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 Rn(S) {
35650
+ function kn(S) {
35651
35651
  return (S + "").toLowerCase().charAt(0) === "p";
35652
35652
  }
35653
- var vo = /[ap]\.?m?\.?/i, kn = ni("Hours", !0);
35653
+ var vo = /[ap]\.?m?\.?/i, Hn = 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: hn,
35668
+ weekdaysMin: un,
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 mn(S) {
35682
+ function yn(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 mn(S);
35753
+ return yn(S);
35754
35754
  }
35755
- function yn() {
35755
+ function vn() {
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 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 = [
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 = [
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 = vn.exec(Q) || Hn.exec(Q), Me, $e, Pt, Mt, Xt = zi.length, Lr = no.length;
35799
+ var M, Z, Q = S._i, de = wn.exec(Q) || On.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 Vo = H(
36013
+ var Xo = 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 Xo() {
36034
+ function qo() {
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 Qo() {
36071
+ function Jo() {
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 Jo(S, M, Z) {
36086
+ function Ko(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 On = /([\+\-]|\d\d)/gi;
36101
+ var Bn = /([\+\-]|\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(On) || ["-", 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(Bn) || ["-", 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 Ko(S) {
36151
+ function $o(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 wn() {
36157
+ function Cn() {
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() && Jo(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() && Ko(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 = $o(
36195
+ }) : Z == null ? Z = {} : typeof Z == "object" && ("from" in Z || "to" in Z) && ($e = en(
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 = Qo;
36200
+ Or.fn = Fr.prototype, Or.invalid = Jo;
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 $o(S, M) {
36209
+ function en(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 Cn(S, M) {
36287
+ function xn(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 Bn() {
36294
+ function zn() {
36295
36295
  return new R(this);
36296
36296
  }
36297
- function ra(S, M) {
36297
+ function ia(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 zn(S, M) {
36301
+ function Wn(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 Wn(S, M, Z, Q) {
36305
+ function jn(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 xn(S, M) {
36309
+ function bn(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 jn(S, M) {
36313
+ function Un(S, M) {
36314
36314
  return this.isSame(S, M) || this.isAfter(S, M);
36315
36315
  }
36316
- function ja(S, M) {
36316
+ function Ua(S, M) {
36317
36317
  return this.isSame(S, M) || this.isBefore(S, M);
36318
36318
  }
36319
- function Ua(S, M, Z) {
36319
+ function Ya(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 = en(this, Q) / 12;
36327
+ Me = tn(this, Q) / 12;
36328
36328
  break;
36329
36329
  case "month":
36330
- Me = en(this, Q);
36330
+ Me = tn(this, Q);
36331
36331
  break;
36332
36332
  case "quarter":
36333
- Me = en(this, Q) / 3;
36333
+ Me = tn(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 en(S, M) {
36360
+ function tn(S, M) {
36361
36361
  if (S.date() < M.date())
36362
- return -en(M, S);
36362
+ return -tn(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 Ya() {
36367
+ function Za() {
36368
36368
  return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
36369
36369
  }
36370
- function Za(S) {
36370
+ function Ga(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 Ga() {
36382
+ function Va() {
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 Va(S) {
36388
+ function Xa(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 Xa(S, M) {
36393
+ function qa(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 Un(S) {
36396
+ function Yn(S) {
36397
36397
  return this.from(cr(), S);
36398
36398
  }
36399
- function Yn(S, M) {
36399
+ function Zn(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 tn(S) {
36402
+ function rn(S) {
36403
36403
  return this.to(cr(), S);
36404
36404
  }
36405
- function ia(S) {
36405
+ function oa(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 oa = H(
36409
+ var na = 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 Zn() {
36415
+ function Gn() {
36416
36416
  return this._locale;
36417
36417
  }
36418
- var bn = 1e3, Io = 60 * bn, _n = 60 * Io, na = (365 * 400 + 97) * 24 * _n;
36418
+ var _n = 1e3, Io = 60 * _n, Pn = 60 * Io, aa = (365 * 400 + 97) * 24 * Pn;
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) - na : new Date(S, M, Z).valueOf();
36423
+ return S < 100 && S >= 0 ? new Date(S + 400, M, Z) - aa : 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) - na : Date.UTC(S, M, Z);
36426
+ return S < 100 && S >= 0 ? Date.UTC(S + 400, M, Z) - aa : 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
- _n
36467
+ Pn
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, bn);
36474
+ M = this._d.valueOf(), M -= uo(M, _n);
36475
36475
  break;
36476
36476
  }
36477
36477
  return this._d.setTime(M), n.updateOffset(this, !0), this;
36478
36478
  }
36479
- function Pn(S) {
36479
+ function Nn(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 += _n - uo(
36516
+ M = this._d.valueOf(), M += Pn - uo(
36517
36517
  M + (this._isUTC ? 0 : this.utcOffset() * Io),
36518
- _n
36518
+ Pn
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 += bn - uo(M, bn) - 1;
36525
+ M = this._d.valueOf(), M += _n - uo(M, _n) - 1;
36526
36526
  break;
36527
36527
  }
36528
36528
  return this._d.setTime(M), n.updateOffset(this, !0), this;
36529
36529
  }
36530
- function aa() {
36530
+ function sa() {
36531
36531
  return this._d.valueOf() - (this._offset || 0) * 6e4;
36532
36532
  }
36533
- function Gn() {
36533
+ function Vn() {
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 Vn() {
36539
+ function Xn() {
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 sa() {
36551
+ function la() {
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 la() {
36563
+ function ca() {
36564
36564
  return this.isValid() ? this.toISOString() : null;
36565
36565
  }
36566
- function ca() {
36566
+ function da() {
36567
36567
  return N(this);
36568
36568
  }
36569
- function da() {
36569
+ function ha() {
36570
36570
  return m({}, w(this));
36571
36571
  }
36572
- function ha() {
36572
+ function ua() {
36573
36573
  return w(this).overflow;
36574
36574
  }
36575
- function ua() {
36575
+ function fa() {
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", Nn), Ze("NN", Nn), Ze("NNN", Nn), Ze("NNNN", Ca), Ze("NNNNN", xa), 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", Tn), Ze("NN", Tn), Ze("NNN", Tn), Ze("NNNN", xa), Ze("NNNNN", ba), 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 fa(S, M) {
36594
+ function pa(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 pa(S, M, Z) {
36613
+ function ga(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 ga(S, M) {
36636
+ function ma(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 ma() {
36640
+ function ya() {
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 ya() {
36647
+ function va() {
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 va() {
36654
+ function wa() {
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 wa(S) {
36669
- return d(this, "_erasNameRegex") || Xn.call(this), S ? this._erasNameRegex : this._erasRegex;
36668
+ function Ca(S) {
36669
+ return d(this, "_erasNameRegex") || qn.call(this), S ? this._erasNameRegex : this._erasRegex;
36670
36670
  }
36671
36671
  function Vi(S) {
36672
- return d(this, "_erasAbbrRegex") || Xn.call(this), S ? this._erasAbbrRegex : this._erasRegex;
36672
+ return d(this, "_erasAbbrRegex") || qn.call(this), S ? this._erasAbbrRegex : this._erasRegex;
36673
36673
  }
36674
- function rn(S) {
36675
- return d(this, "_erasNarrowRegex") || Xn.call(this), S ? this._erasNarrowRegex : this._erasRegex;
36674
+ function on(S) {
36675
+ return d(this, "_erasNarrowRegex") || qn.call(this), S ? this._erasNarrowRegex : this._erasRegex;
36676
36676
  }
36677
- function Nn(S, M) {
36677
+ function Tn(S, M) {
36678
36678
  return M.erasAbbrRegex(S);
36679
36679
  }
36680
- function Ca(S, M) {
36680
+ function xa(S, M) {
36681
36681
  return M.erasNameRegex(S);
36682
36682
  }
36683
- function xa(S, M) {
36683
+ function ba(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 Xn() {
36689
+ function qn() {
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 Tn(S, M) {
36703
+ function Dn(S, M) {
36704
36704
  ce(0, [S, S.length], 0, M);
36705
36705
  }
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(
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(
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 ba(S) {
36715
- return on.call(
36714
+ function Pa(S) {
36715
+ return nn.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 Pa(S) {
36725
- return on.call(
36724
+ function Na(S) {
36725
+ return nn.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 Na() {
36734
+ function Ta() {
36735
36735
  return At(this.year(), 1, 4);
36736
36736
  }
36737
- function Ta() {
36737
+ function Da() {
36738
36738
  return At(this.isoWeekYear(), 1, 4);
36739
36739
  }
36740
- function Qa() {
36740
+ function Ja() {
36741
36741
  var S = this.localeData()._week;
36742
36742
  return At(this.year(), S.dow, S.doy);
36743
36743
  }
36744
- function Dn() {
36744
+ function Sn() {
36745
36745
  var S = this.localeData()._week;
36746
36746
  return At(this.weekYear(), S.dow, S.doy);
36747
36747
  }
36748
- function on(S, M, Z, Q, de) {
36748
+ function nn(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), nn.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), an.call(this, S, M, Z, Q, de));
36751
36751
  }
36752
- function nn(S, M, Z, Q, de) {
36752
+ function an(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 Da = ni("Date", !0);
36767
+ var Sa = 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 Sa(S) {
36771
+ function Ea(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 Ja = ni("Minutes", !1);
36778
+ var Ka = 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 Ka = ni("Seconds", !1);
36780
+ var $a = 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, Ea;
36798
+ var Xi, Fa;
36799
36799
  for (Xi = "SSSS"; Xi.length <= 9; Xi += "S")
36800
36800
  Ze(Xi, Rt);
36801
- function $a(S, M) {
36801
+ function es(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, $a);
36806
- Ea = ni("Milliseconds", !1), ce("z", 0, 0, "zoneAbbr"), ce("zz", 0, 0, "zoneName");
36807
- function es() {
36805
+ kt(Xi, es);
36806
+ Fa = ni("Milliseconds", !1), ce("z", 0, 0, "zoneAbbr"), ce("zz", 0, 0, "zoneName");
36807
+ function ts() {
36808
36808
  return this._isUTC ? "UTC" : "";
36809
36809
  }
36810
- function Fa() {
36810
+ function Ia() {
36811
36811
  return this._isUTC ? "Coordinated Universal Time" : "";
36812
36812
  }
36813
36813
  var pt = R.prototype;
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() {
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() {
36815
36815
  return "Moment<" + this.format() + ">";
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(
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(
36817
36817
  "dates accessor is deprecated. Use date instead.",
36818
- Da
36818
+ Sa
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
- wn
36830
+ Cn
36831
36831
  );
36832
- function ts(S) {
36832
+ function rs(S) {
36833
36833
  return cr(S * 1e3);
36834
36834
  }
36835
- function rs() {
36835
+ function is() {
36836
36836
  return cr.apply(null, arguments).parseZone();
36837
36837
  }
36838
- function Qn(S) {
36838
+ function Jn(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 = 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;
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;
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);
@@ -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"), Jn = Pr("days"), an = Pr("months"), Mo = Pr("years");
36987
+ var ri = Pr("milliseconds"), Lo = Pr("seconds"), jr = Pr("minutes"), Er = Pr("hours"), Kn = Pr("days"), sn = 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 is(S, M, Z, Q, de) {
37007
+ function os(S, M, Z, Q, de) {
37008
37008
  return de.relativeTime(M || 1, !!Z, S, Q);
37009
37009
  }
37010
- function Kn(S, M, Z, Q) {
37010
+ function $n(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, is.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, os.apply(null, gi);
37013
37013
  }
37014
- function Ia(S) {
37014
+ function Aa(S) {
37015
37015
  return S === void 0 ? Ur : typeof S == "function" ? (Ur = S, !0) : !1;
37016
37016
  }
37017
- function Aa(S, M) {
37017
+ function La(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 os(S, M) {
37020
+ function ns(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 = Kn(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 = $n(this, !Z, Q, de), Z && (Me = de.pastFuture(+this, Me)), de.postformat(Me);
37025
37025
  }
37026
- var sn = Math.abs;
37026
+ var cn = 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 = sn(this._milliseconds) / 1e3, M = sn(this._days), Z = sn(this._months), Q, de, Me, $e, Pt = this.asSeconds(), Mt, Xt, Lr, pi;
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;
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 = 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(
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(
37038
37038
  "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
37039
37039
  ko
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) {
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) {
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 = 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 = {
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 = {
37047
37047
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
37048
37048
  // <input type="datetime-local" />
37049
37049
  DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
@@ -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(this._hoEditorFactoryID, C, C);
46601
+ const C = a.docTree.getNodeFirstPath(v), w = new DomRange$1(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)
46943
+ if (r instanceof DomRange$1)
46944
46944
  d = r.normalize();
46945
46945
  else {
46946
46946
  const m = r[0].range();
46947
- d = new DomRange(
46947
+ d = new DomRange$1(
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
- }, Wa = class Wa {
47497
+ }, ja = class ja {
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 Wa()), this._instance;
47503
+ return this._instance || (this._instance = new ja()), 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
- _(Wa, "_instance");
47510
- let HoFabricConfig = Wa;
47509
+ _(ja, "_instance");
47510
+ let HoFabricConfig = ja;
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(this.hoEditorFactoryID, a, s);
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);
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(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$1(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(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$1(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(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$1(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(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$1(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(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$1(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(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$1(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.getSelectDomNodesForUpdate(this._hoEditorFactoryID, r.startPath, r.endPath);
50486
+ n = DomRange$1.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.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$1.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(this._hoEditorFactoryID, m, v);
51177
+ const m = u.StartMarkNode.getNodePath(), v = u.EndMarkNode.getNodePath(), C = new DomRange$1(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(this._hoEditorFactoryID, g, y);
51249
+ const g = d.StartMarkNode.getNodePath(), y = d.EndMarkNode.getNodePath(), m = new DomRange$1(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(this.hoEditorFactoryID, u, f);
51366
+ const g = new DomRange$1(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.getSelectDomNodes(this._hoEditorFactoryID, o.startPath, o.endPath, !0), a = n[0];
51846
+ const n = DomRange$1.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(this._hoEditorFactoryID, o.startPath, d), p = new SelectionChangeEvent(u, f);
51871
+ const u = o, f = new DomRange$1(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.getSelectDomNodesForUpdate(this._hoEditorFactoryID, o.startPath, o.endPath), a = [], s = [], c = [];
52014
- r.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, o.startPath, o.startPath);
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);
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) {
@@ -52943,7 +52943,7 @@ class VueController {
52943
52943
  if (!r.isSelected) return;
52944
52944
  const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = r.getNodePath();
52945
52945
  r.isSelected = !1;
52946
- const a = JSON.stringify(r.radioAndCheckBoxInstance), s = new DomRange(this._hoEditorFactoryID, n, n);
52946
+ const a = JSON.stringify(r.radioAndCheckBoxInstance), s = new DomRange$1(this._hoEditorFactoryID, n, n);
52947
52947
  if (o.docController.insertRadioAndCheckBox("update", s, a, r.styleIndex), r.associatedElement) {
52948
52948
  const c = o.vueController.getNodeByDataID("main", r.associatedElement);
52949
52949
  c && c instanceof TextInputFieldNode && (c.customProperty.must = !1, c.update(0));
@@ -53313,9 +53313,9 @@ class VueController {
53313
53313
  return HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID).docTree.mainNodes;
53314
53314
  }
53315
53315
  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(this._hoEditorFactoryID, "header/0/0", n);
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
53317
  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(this._hoEditorFactoryID, "main/0", d);
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
53319
  r.structureNode.Copy(u, null, !1, "", !0);
53320
53320
  const f = r.structureNode.htmldata;
53321
53321
  let p = `${r.pageProperty.headerYPixes}px ${r.pageProperty.rightMarginPixes}px ${r.pageProperty.bottomMarginPixes}px ${r.pageProperty.leftMarginPixes}px`, g = "";
@@ -54243,13 +54243,13 @@ class ElementController {
54243
54243
  let s = new Array();
54244
54244
  for (let f = 0; f < o.length; f++) {
54245
54245
  const p = o[f].subDocNodes, g = p[0].getNodePath(), y = r.docTree.getNodeLastPath(p[p.length - 1]);
54246
- s = s.concat(DomRange.getElementNode(this._hoEditorFactoryID, g, y, !0));
54246
+ s = s.concat(DomRange$1.getElementNode(this._hoEditorFactoryID, g, y, !0));
54247
54247
  }
54248
54248
  const c = n[0].getNodePath(), d = r.docTree.getNodeLastPath(n[n.length - 1]);
54249
- s = s.concat(DomRange.getElementNode(this._hoEditorFactoryID, c, d, !0));
54249
+ s = s.concat(DomRange$1.getElementNode(this._hoEditorFactoryID, c, d, !0));
54250
54250
  for (let f = 0; f < a.length; f++) {
54251
54251
  const p = a[f].subDocNodes, g = p[0].getNodePath(), y = r.docTree.getNodeLastPath(p[p.length - 1]);
54252
- s = s.concat(DomRange.getElementNode(this._hoEditorFactoryID, g, y, !0));
54252
+ s = s.concat(DomRange$1.getElementNode(this._hoEditorFactoryID, g, y, !0));
54253
54253
  }
54254
54254
  let u = [];
54255
54255
  return s.map((f) => {
@@ -56245,7 +56245,7 @@ function jsPDF(l) {
56245
56245
  return new Br(X, we);
56246
56246
  }, ut.prototype.applyToRectangle = function(U) {
56247
56247
  var X = this.applyToPoint(U), we = this.applyToPoint(new Br(U.x + U.w, U.y + U.h));
56248
- return new yn(X.x, X.y, we.x - X.x, we.y - X.y);
56248
+ return new vn(X.x, X.y, we.x - X.x, we.y - X.y);
56249
56249
  }, ut.prototype.clone = function() {
56250
56250
  var U = this.sx, X = this.shy, we = this.shx, Ae = this.sy, ze = this.tx, Ye = this.ty;
56251
56251
  return new ut(U, X, we, Ae, ze, Ye);
@@ -56263,7 +56263,7 @@ function jsPDF(l) {
56263
56263
  m.ShadingPattern = ShadingPattern, m.TilingPattern = TilingPattern, m.addShadingPattern = function(U, X) {
56264
56264
  return R("addShadingPattern()"), Cr(U, X), this;
56265
56265
  }, m.beginTilingPattern = function(U) {
56266
- R("beginTilingPattern()"), vn(U.boundingBox[0], U.boundingBox[1], U.boundingBox[2] - U.boundingBox[0], U.boundingBox[3] - U.boundingBox[1], U.matrix);
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
56267
  }, m.endTilingPattern = function(U, X) {
56268
56268
  R("endTilingPattern()"), X.stream = me[Ne].join(`
56269
56269
  `), Cr(U, X), ae.publish("endTilingPattern", X), Et.pop().restore();
@@ -56731,7 +56731,7 @@ Q`), Ut(ze, !0), Yr({
56731
56731
  ze > Ye && (n = [Ye, ze]);
56732
56732
  break;
56733
56733
  }
56734
- ft(n), gn(ro), xe(li), Jr !== 0 && xe(Jr + " J"), Kr !== 0 && xe(Kr + " j"), ae.publish("addPage", {
56734
+ ft(n), mn(ro), xe(li), Jr !== 0 && xe(Jr + " J"), Kr !== 0 && xe(Kr + " j"), ae.publish("addPage", {
56735
56735
  pageNumber: Vt
56736
56736
  });
56737
56737
  }, Nt = function(X) {
@@ -56807,7 +56807,7 @@ Q`), Ut(ze, !0), Yr({
56807
56807
  return new Blob([ue(U)], {
56808
56808
  type: "application/pdf"
56809
56809
  });
56810
- }, dn = m.output = m.__private__.output = at(function(X, we) {
56810
+ }, hn = m.output = m.__private__.output = at(function(X, we) {
56811
56811
  switch (we = we || {}, typeof we == "string" ? we = {
56812
56812
  filename: we
56813
56813
  } : we.filename = we.filename || "generated.pdf", X) {
@@ -56907,7 +56907,7 @@ Q`), Ut(ze, !0), Yr({
56907
56907
  return p !== null ? Tr.encryptor(X, 0) : function(we) {
56908
56908
  return we;
56909
56909
  };
56910
- }, hn = m.__private__.getPageInfo = m.getPageInfo = function(U) {
56910
+ }, un = m.__private__.getPageInfo = m.getPageInfo = function(U) {
56911
56911
  if (isNaN(U) || U % 1 !== 0)
56912
56912
  throw new Error("Invalid argument passed to jsPDF.getPageInfo");
56913
56913
  var X = te[U].objId;
@@ -56916,14 +56916,14 @@ Q`), Ut(ze, !0), Yr({
56916
56916
  pageNumber: U,
56917
56917
  pageContext: te[U]
56918
56918
  };
56919
- }, En = m.__private__.getPageInfoByObjId = function(U) {
56919
+ }, Fn = m.__private__.getPageInfoByObjId = function(U) {
56920
56920
  if (isNaN(U) || U % 1 !== 0)
56921
56921
  throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");
56922
56922
  for (var X in te)
56923
56923
  if (te[X].objId === U)
56924
56924
  break;
56925
- return hn(X);
56926
- }, Fn = m.__private__.getCurrentPageInfo = m.getCurrentPageInfo = function() {
56925
+ return un(X);
56926
+ }, In = m.__private__.getCurrentPageInfo = m.getCurrentPageInfo = function() {
56927
56927
  return {
56928
56928
  objId: te[Ne].objId,
56929
56929
  pageNumber: Ne,
@@ -56977,7 +56977,7 @@ Q`), Ut(ze, !0), Yr({
56977
56977
  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
56978
  return nr;
56979
56979
  }
56980
- function Vo(wr, Nr) {
56980
+ function Xo(wr, Nr) {
56981
56981
  var nr;
56982
56982
  if (typeof wr == "string")
56983
56983
  nr = Nr(wr)[0];
@@ -56992,10 +56992,10 @@ Q`), Ut(ze, !0), Yr({
56992
56992
  if (typeof U == "string")
56993
56993
  No = !0;
56994
56994
  else if (Array.isArray(U)) {
56995
- var Xo = U.concat();
56995
+ var qo = U.concat();
56996
56996
  yt = [];
56997
- for (var Dr = Xo.length, $r; Dr--; )
56998
- $r = Xo.shift(), (typeof $r != "string" || Array.isArray($r) && typeof $r[0] != "string") && (To = !1);
56997
+ for (var Dr = qo.length, $r; Dr--; )
56998
+ $r = qo.shift(), (typeof $r != "string" || Array.isArray($r) && typeof $r[0] != "string") && (To = !1);
56999
56999
  No = To;
57000
57000
  }
57001
57001
  if (No === !1)
@@ -57031,8 +57031,8 @@ Q`), Ut(ze, !0), Yr({
57031
57031
  }
57032
57032
  }, ae.publish("preProcessText", ht), U = ht.text, Ae = ht.options, Tt = Ae.angle, !(pr instanceof ut) && Tt && typeof Tt == "number") {
57033
57033
  Tt *= Math.PI / 180, Ae.rotationDirection === 0 && (Tt = -Tt), E === N.ADVANCED && (Tt = -Tt);
57034
- var qo = Math.cos(Tt), Qo = Math.sin(Tt);
57035
- pr = new ut(qo, Qo, -Qo, qo, 0, 0);
57034
+ var Qo = Math.cos(Tt), Jo = Math.sin(Tt);
57035
+ pr = new ut(Qo, Jo, -Jo, Qo, 0, 0);
57036
57036
  } else Tt && Tt instanceof ut && (pr = Tt);
57037
57037
  E === N.ADVANCED && !pr && (pr = kt), Bt = Ae.charSpace || io, typeof Bt < "u" && (_r += L(j(Bt)) + ` Tc
57038
57038
  `, this.setCharSpace(this.getCharSpace() || 0)), rr = Ae.horizontalScale, typeof rr < "u" && (_r += L(rr * 100) + ` Tz
@@ -57074,11 +57074,11 @@ Q`), Ut(ze, !0), Yr({
57074
57074
  Fr = 7;
57075
57075
  break;
57076
57076
  }
57077
- var Jo = typeof ji.usedRenderingMode < "u" ? ji.usedRenderingMode : -1;
57077
+ var Ko = typeof ji.usedRenderingMode < "u" ? ji.usedRenderingMode : -1;
57078
57078
  Fr !== -1 ? _r += Fr + ` Tr
57079
- ` : Jo !== -1 && (_r += `0 Tr
57079
+ ` : Ko !== -1 && (_r += `0 Tr
57080
57080
  `), Fr !== -1 && (ji.usedRenderingMode = Fr), Lt = Ae.align || "left";
57081
- var Do = De * Ei, On = Ye.internal.pageSize.getWidth(), lo = ct[Ct];
57081
+ var Do = De * Ei, Bn = Ye.internal.pageSize.getWidth(), lo = ct[Ct];
57082
57082
  Bt = Ae.charSpace || io, $t = Ae.maxWidth || 0;
57083
57083
  var qr;
57084
57084
  lr = Object.assign({
@@ -57108,17 +57108,17 @@ Q`), Ut(ze, !0), Yr({
57108
57108
  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
57109
  } else if (Lt === "left") {
57110
57110
  U = [], Dr = yt.length;
57111
- for (var Ko = 0; Ko < Dr; Ko++)
57112
- U.push(yt[Ko]);
57111
+ for (var $o = 0; $o < Dr; $o++)
57112
+ U.push(yt[$o]);
57113
57113
  } else if (Lt === "justify") {
57114
- U = [], Dr = yt.length, $t = $t !== 0 ? $t : On;
57114
+ U = [], Dr = yt.length, $t = $t !== 0 ? $t : Bn;
57115
57115
  for (var hi = 0; hi < Dr; hi++)
57116
57116
  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
57117
  } else
57118
57118
  throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
57119
57119
  }
57120
- var wn = typeof Ae.R2L == "boolean" ? Ae.R2L : qe;
57121
- wn === !0 && (U = Vo(U, function(wr, Nr, nr) {
57120
+ var Cn = typeof Ae.R2L == "boolean" ? Ae.R2L : qe;
57121
+ Cn === !0 && (U = Xo(U, function(wr, Nr, nr) {
57122
57122
  return [wr.split("").reverse().join(""), Nr, nr];
57123
57123
  })), ht = {
57124
57124
  text: U,
@@ -57133,10 +57133,10 @@ Q`), Ut(ze, !0), Yr({
57133
57133
  }
57134
57134
  }, ae.publish("postProcessText", ht), U = ht.text, Xr = ht.mutex.isHex || !1;
57135
57135
  var Eo = ct[Ct].encoding;
57136
- (Eo === "WinAnsiEncoding" || Eo === "StandardEncoding") && (U = Vo(U, function(wr, Nr, nr) {
57136
+ (Eo === "WinAnsiEncoding" || Eo === "StandardEncoding") && (U = Xo(U, function(wr, Nr, nr) {
57137
57137
  return [Po(wr), Nr, nr];
57138
57138
  })), yt = cr(U), U = [];
57139
- for (var co = 0, Zi = 1, Gi = Array.isArray(yt[0]) ? Zi : co, ho, Or, zr, Ii = "", $o = function(Nr, nr, yr) {
57139
+ for (var co = 0, Zi = 1, Gi = Array.isArray(yt[0]) ? Zi : co, ho, Or, zr, Ii = "", en = function(Nr, nr, yr) {
57140
57140
  var xr = "";
57141
57141
  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
57142
  `) : xr = L(Nr) + " " + L(nr) + ` Td
@@ -57151,7 +57151,7 @@ Q`), Ut(ze, !0), Yr({
57151
57151
  break;
57152
57152
  }
57153
57153
  typeof Fi < "u" && typeof Fi[Qr] < "u" && (Ii = Fi[Qr] + ` Tw
57154
- `), 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);
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
57155
  }
57156
57156
  U = Gi === co ? U.join(` Tj
57157
57157
  T* `) : U.join(` Tj
@@ -57164,11 +57164,11 @@ T* `) : U.join(` Tj
57164
57164
  `, ui += Di + `
57165
57165
  `, ui += _r, ui += U, ui += "ET", xe(ui), y[Ct] = !0, Ye;
57166
57166
  };
57167
- var In = m.__private__.clip = m.clip = function(U) {
57167
+ var An = m.__private__.clip = m.clip = function(U) {
57168
57168
  return xe(U === "evenodd" ? "W*" : "W"), this;
57169
57169
  };
57170
57170
  m.clipEvenOdd = function() {
57171
- return In("evenodd");
57171
+ return An("evenodd");
57172
57172
  }, m.__private__.discardPath = m.discardPath = function() {
57173
57173
  return xe("n"), this;
57174
57174
  };
@@ -57179,7 +57179,7 @@ T* `) : U.join(` Tj
57179
57179
  m.__private__.setDefaultPathOperation = m.setDefaultPathOperation = function(U) {
57180
57180
  return Vr(U) && (f = U), this;
57181
57181
  };
57182
- var un = m.__private__.getStyle = m.getStyle = function(U) {
57182
+ var fn = m.__private__.getStyle = m.getStyle = function(U) {
57183
57183
  var X = f;
57184
57184
  switch (U) {
57185
57185
  case "D":
@@ -57201,7 +57201,7 @@ T* `) : U.join(` Tj
57201
57201
  break;
57202
57202
  }
57203
57203
  return X;
57204
- }, fn = m.close = function() {
57204
+ }, pn = m.close = function() {
57205
57205
  return xe("h"), this;
57206
57206
  };
57207
57207
  m.stroke = function() {
@@ -57216,9 +57216,9 @@ T* `) : U.join(` Tj
57216
57216
  return yo("B*", U), this;
57217
57217
  };
57218
57218
  var yo = function(X, we) {
57219
- _typeof(we) === "object" ? An(we, X) : xe(X);
57220
- }, Yo = function(X) {
57221
- X === null || E === N.ADVANCED && X === void 0 || (X = un(X), xe(X));
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));
57222
57222
  };
57223
57223
  function Ht(U, X, we, Ae, ze) {
57224
57224
  var Ye = new TilingPattern(X || this.boundingBox, we || this.xStep, Ae || this.yStep, this.gState, ze || this.matrix);
@@ -57226,15 +57226,15 @@ T* `) : U.join(` Tj
57226
57226
  var ht = U + "$$" + this.cloneIndex++ + "$$";
57227
57227
  return Cr(ht, Ye), Ye;
57228
57228
  }
57229
- var An = function(X, we) {
57229
+ var Ln = function(X, we) {
57230
57230
  var Ae = Jt[X.key], ze = St[Ae];
57231
57231
  if (ze instanceof ShadingPattern)
57232
- xe("q"), xe(Ln(we)), ze.gState && m.setGState(ze.gState), xe(X.matrix.toString() + " cm"), xe("/" + Ae + " sh"), xe("Q");
57232
+ xe("q"), xe(Mn(we)), ze.gState && m.setGState(ze.gState), xe(X.matrix.toString() + " cm"), xe("/" + Ae + " sh"), xe("Q");
57233
57233
  else if (ze instanceof TilingPattern) {
57234
57234
  var Ye = new ut(1, 0, 0, -1, 0, Wi());
57235
57235
  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
57236
  }
57237
- }, Ln = function(X) {
57237
+ }, Mn = function(X) {
57238
57238
  switch (X) {
57239
57239
  case "f":
57240
57240
  case "F":
@@ -57252,9 +57252,9 @@ T* `) : U.join(` Tj
57252
57252
  case "n":
57253
57253
  return "W n";
57254
57254
  }
57255
- }, Zo = m.moveTo = function(U, X) {
57255
+ }, Go = m.moveTo = function(U, X) {
57256
57256
  return xe(L(j(U)) + " " + L(W(X)) + " m"), this;
57257
- }, pn = m.lineTo = function(U, X) {
57257
+ }, gn = m.lineTo = function(U, X) {
57258
57258
  return xe(L(j(U)) + " " + L(W(X)) + " l"), this;
57259
57259
  }, Hi = m.curveTo = function(U, X, we, Ae, ze, Ye) {
57260
57260
  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 +57267,24 @@ T* `) : U.join(` Tj
57267
57267
  var ht, yt, Tt, Lt, Bt, $t, lr, rr, Hr, pr, _r, Xr;
57268
57268
  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
57269
  throw new Error("Invalid arguments passed to jsPDF.lines");
57270
- for (Zo(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, 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));
57272
- return Ye && fn(), Yo(ze), this;
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;
57273
57273
  }, m.path = function(U) {
57274
57274
  for (var X = 0; X < U.length; X++) {
57275
57275
  var we = U[X], Ae = we.c;
57276
57276
  switch (we.op) {
57277
57277
  case "m":
57278
- Zo(Ae[0], Ae[1]);
57278
+ Go(Ae[0], Ae[1]);
57279
57279
  break;
57280
57280
  case "l":
57281
- pn(Ae[0], Ae[1]);
57281
+ gn(Ae[0], Ae[1]);
57282
57282
  break;
57283
57283
  case "c":
57284
57284
  Hi.apply(this, Ae);
57285
57285
  break;
57286
57286
  case "h":
57287
- fn();
57287
+ pn();
57288
57288
  break;
57289
57289
  }
57290
57290
  }
@@ -57292,7 +57292,7 @@ T* `) : U.join(` Tj
57292
57292
  }, m.__private__.rect = m.rect = function(U, X, we, Ae, ze) {
57293
57293
  if (isNaN(U) || isNaN(X) || isNaN(we) || isNaN(Ae) || !Vr(ze))
57294
57294
  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(" ")), Yo(ze), this;
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
57296
  }, m.__private__.triangle = m.triangle = function(U, X, we, Ae, ze, Ye, ht) {
57297
57297
  if (isNaN(U) || isNaN(X) || isNaN(we) || isNaN(Ae) || isNaN(ze) || isNaN(Ye) || !Vr(ht))
57298
57298
  throw new Error("Invalid arguments passed to jsPDF.triangle");
@@ -57329,7 +57329,7 @@ T* `) : U.join(` Tj
57329
57329
  if (isNaN(U) || isNaN(X) || isNaN(we) || isNaN(Ae) || !Vr(ze))
57330
57330
  throw new Error("Invalid arguments passed to jsPDF.ellipse");
57331
57331
  var Ye = 4 / 3 * (Math.SQRT2 - 1) * we, ht = 4 / 3 * (Math.SQRT2 - 1) * Ae;
57332
- 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;
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
57333
  }, m.__private__.circle = m.circle = function(U, X, we, Ae) {
57334
57334
  if (isNaN(U) || isNaN(X) || isNaN(we) || !Vr(Ae))
57335
57335
  throw new Error("Invalid arguments passed to jsPDF.circle");
@@ -57339,7 +57339,7 @@ T* `) : U.join(` Tj
57339
57339
  disableWarning: !1
57340
57340
  }), this;
57341
57341
  };
57342
- var Go = m.__private__.getFont = m.getFont = function() {
57342
+ var Vo = m.__private__.getFont = m.getFont = function() {
57343
57343
  return ct[At.apply(m, arguments)];
57344
57344
  };
57345
57345
  m.__private__.getFontList = m.getFontList = function() {
@@ -57355,9 +57355,9 @@ T* `) : U.join(` Tj
57355
57355
  var Ye = ["StandardEncoding", "MacRomanEncoding", "Identity-H", "WinAnsiEncoding"];
57356
57356
  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
57357
  };
57358
- var ro = l.lineWidth || 0.200025, Mn = m.__private__.getLineWidth = m.getLineWidth = function() {
57358
+ var ro = l.lineWidth || 0.200025, Rn = m.__private__.getLineWidth = m.getLineWidth = function() {
57359
57359
  return ro;
57360
- }, gn = m.__private__.setLineWidth = m.setLineWidth = function(U) {
57360
+ }, mn = m.__private__.setLineWidth = m.setLineWidth = function(U) {
57361
57361
  return ro = U, xe(L(j(U)) + " w"), this;
57362
57362
  };
57363
57363
  m.__private__.setLineDash = jsPDF.API.setLineDash = jsPDF.API.setLineDashPattern = function(U, X) {
@@ -57367,7 +57367,7 @@ T* `) : U.join(` Tj
57367
57367
  return L(j(we));
57368
57368
  }).join(" "), X = L(j(X)), xe("[" + U + "] " + X + " d"), this;
57369
57369
  };
57370
- var Oi, Rn = m.__private__.getLineHeight = m.getLineHeight = function() {
57370
+ var Oi, kn = m.__private__.getLineHeight = m.getLineHeight = function() {
57371
57371
  return De * Oi;
57372
57372
  };
57373
57373
  m.__private__.getLineHeight = m.getLineHeight = function() {
@@ -57375,7 +57375,7 @@ T* `) : U.join(` Tj
57375
57375
  };
57376
57376
  var vo = m.__private__.setLineHeightFactor = m.setLineHeightFactor = function(U) {
57377
57377
  return U = U || 1.15, typeof U == "number" && (Oi = U), this;
57378
- }, kn = m.__private__.getLineHeightFactor = m.getLineHeightFactor = function() {
57378
+ }, Hn = m.__private__.getLineHeightFactor = m.getLineHeightFactor = function() {
57379
57379
  return Oi;
57380
57380
  };
57381
57381
  vo(l.lineHeight);
@@ -57418,7 +57418,7 @@ T* `) : U.join(` Tj
57418
57418
  };
57419
57419
  return wo = gr(ze), xe(wo), this;
57420
57420
  };
57421
- var Di = l.textColor || "0 g", mn = m.__private__.getTextColor = m.getTextColor = function() {
57421
+ var Di = l.textColor || "0 g", yn = m.__private__.getTextColor = m.getTextColor = function() {
57422
57422
  return ar(Di);
57423
57423
  };
57424
57424
  m.__private__.setTextColor = m.setTextColor = function(U, X, we, Ae) {
@@ -57539,7 +57539,7 @@ T* `) : U.join(` Tj
57539
57539
  Ye = yt.toString();
57540
57540
  }
57541
57541
  }), this;
57542
- }, yn = function(X, we, Ae, ze) {
57542
+ }, vn = function(X, we, Ae, ze) {
57543
57543
  Br.call(this, X, we), this.type = "rect";
57544
57544
  var Ye = Ae || 0;
57545
57545
  Object.defineProperty(this, "w", {
@@ -57567,9 +57567,9 @@ T* `) : U.join(` Tj
57567
57567
  oo.prototype.restore = function() {
57568
57568
  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
57569
  };
57570
- var vn = function(X, we, Ae, ze, Ye) {
57570
+ var wn = function(X, we, Ae, ze, Ye) {
57571
57571
  Et.push(new oo()), Vt = Ne = 0, me = [], Yt = X, Kt = we, or = Ye, ft([Ae, ze]);
57572
- }, Hn = function(X) {
57572
+ }, On = function(X) {
57573
57573
  if (Ze[X]) {
57574
57574
  Et.pop().restore();
57575
57575
  return;
@@ -57578,9 +57578,9 @@ T* `) : U.join(` Tj
57578
57578
  we.id = Ae, Ze[X] = Ae, je[Ae] = we, ae.publish("addFormObject", we), Et.pop().restore();
57579
57579
  };
57580
57580
  m.beginFormObject = function(U, X, we, Ae, ze) {
57581
- return vn(U, X, we, Ae, ze), this;
57581
+ return wn(U, X, we, Ae, ze), this;
57582
57582
  }, m.endFormObject = function(U) {
57583
- return Hn(U), this;
57583
+ return On(U), this;
57584
57584
  }, m.doFormObject = function(U, X) {
57585
57585
  var we = je[Ze[U]];
57586
57586
  return xe("q"), xe(X.toString() + " cm"), xe("/" + we.id + " Do"), xe("Q"), this;
@@ -57620,14 +57620,14 @@ T* `) : U.join(` Tj
57620
57620
  };
57621
57621
  return m.internal = {
57622
57622
  pdfEscape: dt,
57623
- getStyle: un,
57624
- getFont: Go,
57623
+ getStyle: fn,
57624
+ getFont: Vo,
57625
57625
  getFontSize: Be,
57626
57626
  getCharSpace: Co,
57627
- getTextColor: mn,
57628
- getLineHeight: Rn,
57629
- getLineHeightFactor: kn,
57630
- getLineWidth: Mn,
57627
+ getTextColor: yn,
57628
+ getLineHeight: kn,
57629
+ getLineHeightFactor: Hn,
57630
+ getLineWidth: Rn,
57631
57631
  write: le,
57632
57632
  getHorizontalCoordinate: Bi,
57633
57633
  getVerticalCoordinate: Ti,
@@ -57659,18 +57659,18 @@ T* `) : U.join(` Tj
57659
57659
  encryptionOptions: p,
57660
57660
  encryption: Tr,
57661
57661
  getEncryptor: to,
57662
- output: dn,
57662
+ output: hn,
57663
57663
  getNumberOfPages: Zt,
57664
57664
  pages: me,
57665
57665
  out: xe,
57666
57666
  f2: H,
57667
57667
  f3: B,
57668
- getPageInfo: hn,
57669
- getPageInfoByObjId: En,
57670
- getCurrentPageInfo: Fn,
57668
+ getPageInfo: un,
57669
+ getPageInfoByObjId: Fn,
57670
+ getCurrentPageInfo: In,
57671
57671
  getPDFVersion: C,
57672
57672
  Point: Br,
57673
- Rectangle: yn,
57673
+ Rectangle: vn,
57674
57674
  Matrix: ut,
57675
57675
  hasHotfix: ki
57676
57676
  //Expose the hasHotfix check so plugins can also check them.
@@ -62953,7 +62953,7 @@ function WebPDecoder(l) {
62953
62953
  this.value = this.g = 0;
62954
62954
  }
62955
62955
  function Ce() {
62956
- this.G = c(5, K), this.H = s(5), this.jc = this.Qb = this.qb = this.nd = 0, this.pd = c(Jo, se);
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
62957
  }
62958
62958
  function oe(T, I, k, z) {
62959
62959
  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 +62979,7 @@ function WebPDecoder(l) {
62979
62979
  me(T) && (T.h = 1, T.u = 0);
62980
62980
  }
62981
62981
  function be(T, I) {
62982
- if (r(0 <= I), !T.h && I <= On) {
62982
+ if (r(0 <= I), !T.h && I <= Bn) {
62983
62983
  var k = Pe(T) & Do[I];
62984
62984
  return T.u += I, ce(T), k;
62985
62985
  }
@@ -63151,7 +63151,7 @@ function WebPDecoder(l) {
63151
63151
  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
63152
  }
63153
63153
  function je(T) {
63154
- return T == zn || T == Wn || T == xn || T == jn;
63154
+ return T == Wn || T == jn || T == bn || T == Un;
63155
63155
  }
63156
63156
  function Ze() {
63157
63157
  this.eb = [], this.size = this.A = this.fb = 0;
@@ -63180,17 +63180,17 @@ function WebPDecoder(l) {
63180
63180
  function kt(T, I, k) {
63181
63181
  var z = T.F, $ = [T.J];
63182
63182
  if (z != null) {
63183
- var re = T.U, ie = I.ba.S, ne = ie == Cn || ie == xn;
63183
+ var re = T.U, ie = I.ba.S, ne = ie == xn || ie == bn;
63184
63184
  I = I.ba.f.RGBA;
63185
63185
  var he = [0], Ee = T.ka;
63186
63186
  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
63187
  var ge = I.eb, Ee = I.fb + Ee * I.A;
63188
- 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);
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
63189
  }
63190
63190
  return 0;
63191
63191
  }
63192
63192
  function Cr(T) {
63193
- var I = T.ma, k = I.ba.S, z = 11 > k, $ = k == Fo || k == Ai || k == Cn || k == Bn || k == 12 || je(k);
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
63194
  if (I.memory = null, I.Ib = null, I.Jb = null, I.Nd = null, !Fr(I.Oa, T, $ ? 11 : 12)) return 0;
63195
63195
  if ($ && je(k) && Hr(), T.da) alert("todo:use_scaling");
63196
63196
  else {
@@ -63202,12 +63202,12 @@ function WebPDecoder(l) {
63202
63202
  } else alert("todo:EmitYUV");
63203
63203
  $ && (I.Jb = kt, z && lr());
63204
63204
  }
63205
- if (z && !Sa) {
63205
+ if (z && !Ea) {
63206
63206
  for (T = 0; 256 > T; ++T)
63207
- 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;
63208
- for (T = nn; T < qn; ++T)
63209
- I = 76283 * (T - 16) + on >> Dn, $a[T - nn] = Dr(I, 255), es[T - nn] = Dr(I + 8 >> 4, 15);
63210
- Sa = 1;
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;
63211
63211
  }
63212
63212
  return 1;
63213
63213
  }
@@ -63228,7 +63228,7 @@ function WebPDecoder(l) {
63228
63228
  }
63229
63229
  function jt(T, I) {
63230
63230
  if (120 < I) return I - 120;
63231
- var k = Ga[I - 1], k = (k >> 4) * T + (8 - (k & 15));
63231
+ var k = Va[I - 1], k = (k >> 4) * T + (8 - (k & 15));
63232
63232
  return 1 <= k ? k : 1;
63233
63233
  }
63234
63234
  function Gt(T, I, k) {
@@ -63260,7 +63260,7 @@ function WebPDecoder(l) {
63260
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
63261
  var dr = It, er = it, tr = 1;
63262
63262
  for (So(Ge, Ve, ot, lt - st, 1, ot, lt); tr < st; ) {
63263
- var Ir = wn[dr[er++] >> 8 & 15], Ar = (tr & ~_t) + xt;
63263
+ var Ir = Cn[dr[er++] >> 8 & 15], Ar = (tr & ~_t) + xt;
63264
63264
  Ar > st && (Ar = st), Ir(Ge, Ve + +tr, ot, lt + tr - st, Ar - tr, ot, lt + tr), tr = Ar;
63265
63265
  }
63266
63266
  Ve += st, lt += st, ++Ue, Ue & _t || (it += Dt);
@@ -63306,8 +63306,8 @@ function WebPDecoder(l) {
63306
63306
  case Fo:
63307
63307
  Zi(Ve, Qe, it, Ue, Je);
63308
63308
  break;
63309
- case zn:
63310
- Zi(Ve, Qe, it, Ue, Je), rn(Ue, Je, 0, it, 1, 0);
63309
+ case Wn:
63310
+ Zi(Ve, Qe, it, Ue, Je), on(Ue, Je, 0, it, 1, 0);
63311
63311
  break;
63312
63312
  case fi:
63313
63313
  Or(Ve, Qe, it, Ue, Je);
@@ -63315,22 +63315,22 @@ function WebPDecoder(l) {
63315
63315
  case Ai:
63316
63316
  ae(Ve, Qe, it, Ue, Je, 1);
63317
63317
  break;
63318
- case Wn:
63319
- ae(Ve, Qe, it, Ue, Je, 1), rn(Ue, Je, 0, it, 1, 0);
63318
+ case jn:
63319
+ ae(Ve, Qe, it, Ue, Je, 1), on(Ue, Je, 0, it, 1, 0);
63320
63320
  break;
63321
- case Cn:
63321
+ case xn:
63322
63322
  ae(Ve, Qe, it, Ue, Je, 0);
63323
63323
  break;
63324
- case xn:
63325
- ae(Ve, Qe, it, Ue, Je, 0), rn(Ue, Je, 1, it, 1, 0);
63324
+ case bn:
63325
+ ae(Ve, Qe, it, Ue, Je, 0), on(Ue, Je, 1, it, 1, 0);
63326
63326
  break;
63327
- case Bn:
63327
+ case zn:
63328
63328
  Gi(Ve, Qe, it, Ue, Je);
63329
63329
  break;
63330
- case jn:
63331
- Gi(Ve, Qe, it, Ue, Je), Nn(Ue, Je, it, 1, 0);
63330
+ case Un:
63331
+ Gi(Ve, Qe, it, Ue, Je), Tn(Ue, Je, it, 1, 0);
63332
63332
  break;
63333
- case ra:
63333
+ case ia:
63334
63334
  ho(Ve, Qe, it, Ue, Je);
63335
63335
  break;
63336
63336
  default:
@@ -63381,10 +63381,10 @@ function WebPDecoder(l) {
63381
63381
  var st = 0;
63382
63382
  if (ne >= it) {
63383
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 + Xa;
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;
63385
63385
  }
63386
63386
  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) & Jo - 1];
63387
+ var st = ge, xt = I, _t = Oe, Dt = ot.pd[Pe(st) & Ko - 1];
63388
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);
63389
63389
  } else st = Gt(ot.G[0], ot.H[0], ge);
63390
63390
  if (ge.h) break;
@@ -63428,7 +63428,7 @@ function WebPDecoder(l) {
63428
63428
  }
63429
63429
  function mi() {
63430
63430
  var T = new we();
63431
- 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);
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
63432
  }
63433
63433
  function ai(T, I, k, z, $) {
63434
63434
  var re = 1, ie = [T], ne = [I], he = z.m, ge = z.s, Ee = null, Oe = 0;
@@ -63474,22 +63474,22 @@ function WebPDecoder(l) {
63474
63474
  }
63475
63475
  var Ar;
63476
63476
  if (Ar = re) t: {
63477
- 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];
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
63478
  r: for (; ; ) {
63479
- if (Lo && be(Jn, 1)) {
63480
- var Kn = be(Jn, 3) + 2, Ia = et(_i, Kn), Aa = et(Pr, Kn), os = Ia * Aa;
63481
- if (!ai(Ia, Aa, 0, Wr, Mo)) break r;
63482
- for (Mo = Mo[0], an.xc = Kn, jr = 0; jr < os; ++jr) {
63483
- var sn = Mo[jr] >> 8 & 65535;
63484
- Mo[jr] = sn, sn >= Ur && (Ur = sn + 1);
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);
63485
63485
  }
63486
63486
  }
63487
- if (Jn.h) break r;
63487
+ if (Kn.h) break r;
63488
63488
  for (Er = 0; 5 > Er; ++Er) {
63489
- var oi = en[Er];
63489
+ var oi = tn[Er];
63490
63490
  !Er && 0 < ri && (oi += 1 << ri), qi < oi && (qi = oi);
63491
63491
  }
63492
- var ko = c(Ur * is, K), Qt = Ur, S = c(Qt, Ce);
63492
+ var ko = c(Ur * os, K), Qt = Ur, S = c(Qt, Ce);
63493
63493
  if (S == null) var M = null;
63494
63494
  else r(65536 >= Qt), M = S;
63495
63495
  var Z = s(qi);
@@ -63501,66 +63501,66 @@ function WebPDecoder(l) {
63501
63501
  for (jr = Ro = 0; jr < Ur; ++jr) {
63502
63502
  var de = M[jr], Me = de.G, $e = de.H, Pt = 0, Mt = 1, Xt = 0;
63503
63503
  for (Er = 0; 5 > Er; ++Er) {
63504
- oi = en[Er], Me[Er] = Q, $e[Er] = Ro, !Er && 0 < ri && (oi += 1 << ri);
63504
+ oi = tn[Er], Me[Er] = Q, $e[Er] = Ro, !Er && 0 < ri && (oi += 1 << ri);
63505
63505
  o: {
63506
- var Lr, pi = oi, gi = Wr, $n = Z, bs = Q, _s = Ro, ns = 0, Ho = gi.m, Ps = be(Ho, 1);
63507
- if (a($n, 0, 0, pi), Ps) {
63508
- var Ns = be(Ho, 1) + 1, Ts = be(Ho, 1), as = be(Ho, Ts == 0 ? 1 : 8);
63509
- $n[as] = 1, Ns == 2 && (as = be(Ho, 8), $n[as] = 1);
63510
- var La = 1;
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;
63511
63511
  } else {
63512
- var us = s(19), fs = be(Ho, 4) + 4;
63513
- if (19 < fs) {
63512
+ var fs = s(19), ps = be(Ho, 4) + 4;
63513
+ if (19 < ps) {
63514
63514
  gi.a = 3;
63515
- var Ma = 0;
63515
+ var Ra = 0;
63516
63516
  break o;
63517
63517
  }
63518
- for (Lr = 0; Lr < fs; ++Lr)
63519
- us[Za[Lr]] = be(Ho, 3);
63520
- 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);
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);
63521
63521
  i: for (; ; ) {
63522
- if (!V(ys, 0, 7, Ds, 19)) break i;
63522
+ if (!V(vs, 0, 7, Ss, 19)) break i;
63523
63523
  if (be(Oo, 1)) {
63524
- var Ss = 2 + 2 * be(Oo, 3), Ra = 2 + be(Oo, Ss);
63525
- if (Ra > ka) break i;
63526
- } else Ra = ka;
63527
- for (ea = 0; ea < ka && Ra--; ) {
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--; ) {
63528
63528
  Fe(Oo);
63529
- var vs = ys[0 + (Pe(Oo) & 127)];
63530
- Ne(Oo, Oo.u + vs.g);
63531
- var Sn = vs.value;
63532
- if (16 > Sn) gs[ea++] = Sn, Sn != 0 && (ms = Sn);
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);
63533
63533
  else {
63534
- var Es = Sn == 16, ws = Sn - 16, Fs = Ua[ws], Cs = be(Oo, ja[ws]) + Fs;
63535
- if (ea + Cs > ka) break i;
63536
- for (var Is = Es ? ms : 0; 0 < Cs--; )
63537
- gs[ea++] = Is;
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;
63538
63538
  }
63539
63539
  }
63540
- ss = 1;
63540
+ ls = 1;
63541
63541
  break i;
63542
63542
  }
63543
- ss || (ps.a = 3), La = ss;
63543
+ ls || (gs.a = 3), Ma = ls;
63544
63544
  }
63545
- (La = La && !Ho.h) && (ns = V(bs, _s, 8, $n, pi)), La && ns != 0 ? Ma = ns : (gi.a = 3, Ma = 0);
63545
+ (Ma = Ma && !Ho.h) && (as = V(_s, Ps, 8, ea, pi)), Ma && as != 0 ? Ra = as : (gi.a = 3, Ra = 0);
63546
63546
  }
63547
- if (Ma == 0) break r;
63548
- if (Mt && Ya[Er] == 1 && (Mt = Q[Ro].g == 0), Pt += Q[Ro].g, Ro += Ma, 3 >= Er) {
63549
- var ls = Z[0], ta;
63550
- for (ta = 1; ta < oi; ++ta)
63551
- Z[ta] > ls && (ls = Z[ta]);
63552
- Xt += ls;
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;
63553
63553
  }
63554
63554
  }
63555
63555
  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 Ha, fo = de;
63557
- for (Ha = 0; Ha < Jo; ++Ha) {
63558
- var Bo = Ha, zo = fo.pd[Bo], Oa = fo.G[0][fo.H[0] + Bo];
63559
- 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));
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));
63560
63560
  }
63561
63561
  }
63562
63562
  }
63563
- an.vc = Mo, an.Wb = Ur, an.Ya = M, an.yc = ko, Ar = 1;
63563
+ sn.vc = Mo, sn.Wb = Ur, sn.Ya = M, sn.yc = ko, Ar = 1;
63564
63564
  break t;
63565
63565
  }
63566
63566
  Ar = 0;
@@ -63575,9 +63575,9 @@ function WebPDecoder(l) {
63575
63575
  break e;
63576
63576
  }
63577
63577
  } else ge.ua = 0;
63578
- var cs = z, xs = ie, As = ne, ds = cs.s, hs = ds.xc;
63579
- if (cs.c = xs, cs.i = As, ds.md = et(xs, hs), ds.wc = hs == 0 ? -1 : (1 << hs) - 1, k) {
63580
- z.xb = qa;
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;
63581
63581
  break e;
63582
63582
  }
63583
63583
  if (Ee = s(ie * ne), Ee == null) {
@@ -63597,7 +63597,7 @@ function WebPDecoder(l) {
63597
63597
  var k = T.C, z = I - k, $ = T.V, re = T.Ba + T.c * k;
63598
63598
  for (r(I <= T.l.o); 0 < z; ) {
63599
63599
  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), xa(Ge, Ve, Ee, Oe, ge), Zr(ne, k, k + ie, Ee, Oe, he), z -= ie, $ += ie * T.c, k += ie;
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
63601
  }
63602
63602
  r(k == I), T.C = T.Ma = I;
63603
63603
  }
@@ -63610,7 +63610,7 @@ function WebPDecoder(l) {
63610
63610
  T.a = 3;
63611
63611
  break e;
63612
63612
  }
63613
- if (T.xb = wa, I.width = k[0], I.height = z[0], !ai(k[0], z[0], 1, T, null)) break e;
63613
+ if (T.xb = Ca, I.width = k[0], I.height = z[0], !ai(k[0], z[0], 1, T, null)) break e;
63614
63614
  return 1;
63615
63615
  }
63616
63616
  return r(T.a != 0), 0;
@@ -63659,7 +63659,7 @@ function WebPDecoder(l) {
63659
63659
  }
63660
63660
  function at() {
63661
63661
  var T = new We();
63662
- return T != null && (T.a = 0, T.sc = "OK", T.cb = 0, T.Xb = 0, tn || (tn = gt)), T;
63662
+ return T != null && (T.a = 0, T.sc = "OK", T.cb = 0, T.Xb = 0, rn || (rn = gt)), T;
63663
63663
  }
63664
63664
  function nt(T, I, k) {
63665
63665
  return T.a == 0 && (T.a = I, T.sc = k, T.cb = 0), 0;
@@ -63723,16 +63723,16 @@ function WebPDecoder(l) {
63723
63723
  continue;
63724
63724
  } else Ge = k;
63725
63725
  var Ve = T.pb[Oe];
63726
- 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;
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
63727
  }
63728
63728
  if (!ie.Rb) return nt(T, 4, "Not a key frame.");
63729
63729
  for (Te(re), ie = T.Pa, k = 0; 4 > k; ++k) {
63730
63730
  for ($ = 0; 8 > $; ++$)
63731
63731
  for (z = 0; 3 > z; ++z)
63732
63732
  for (ne = 0; 11 > ne; ++ne)
63733
- he = ke(re, _n[k][$][z][ne]) ? pe(re, 8) : bn[k][$][z][ne], ie.Wc[k][$].Yb[z][ne] = he;
63733
+ he = ke(re, Pn[k][$][z][ne]) ? pe(re, 8) : _n[k][$][z][ne], ie.Wc[k][$].Yb[z][ne] = he;
63734
63734
  for ($ = 0; 17 > $; ++$)
63735
- ie.Xc[k][$] = ie.Wc[k][na[$]];
63735
+ ie.Xc[k][$] = ie.Wc[k][aa[$]];
63736
63736
  }
63737
63737
  return T.kc = Te(re), T.kc && (T.Bd = pe(re, 8)), T.cb = 1;
63738
63738
  }
@@ -63747,14 +63747,14 @@ function WebPDecoder(l) {
63747
63747
  var ge = T, Oe = ne, Ge = k, Ee = 0;
63748
63748
  if (ke(ge, Oe[Ge + 3]))
63749
63749
  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 = ia[Ge]; Oe[ne]; ++ne)
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
63751
  Ee += Ee + ke(ge, Oe[ne]);
63752
63752
  Ee += 3 + (8 << Ge);
63753
63753
  } else ke(ge, Oe[Ge + 7]) ? (Ee = 7 + 2 * ke(ge, 165), Ee += ke(ge, 145)) : Ee = 5 + ke(ge, 159);
63754
63754
  else ke(ge, Oe[Ge + 4]) ? Ee = 3 + ke(ge, Oe[Ge + 5]) : Ee = 2;
63755
63755
  ne = he[2];
63756
63756
  } else Ee = 1, ne = he[1];
63757
- he = ie + oa[$], ge = T, 0 > ge.b && Xe(ge);
63757
+ he = ie + na[$], ge = T, 0 > ge.b && Xe(ge);
63758
63758
  var Oe = ge.b, Ge = ge.Ca >> 1, Ve = Ge - (ge.I >> Oe) >> 31;
63759
63759
  --ge.b, ge.Ca += Ve, ge.Ca |= 1, ge.I -= (Ge + 1 & Ve) << Oe, re[he] = ((Ee ^ Ve) - Ve) * z[(0 < $) + 0];
63760
63760
  }
@@ -63775,8 +63775,8 @@ function WebPDecoder(l) {
63775
63775
  var Qe = Ee[0 + ne], it;
63776
63776
  for (it = 0; 4 > it; ++it) {
63777
63777
  Qe = Io[he[ge + it]][Qe];
63778
- for (var Ue = Zn[ke(ie, Qe[0])]; 0 < Ue; )
63779
- Ue = Zn[2 * Ue + ke(ie, Qe[Ue])];
63778
+ for (var Ue = Gn[ke(ie, Qe[0])]; 0 < Ue; )
63779
+ Ue = Gn[2 * Ue + ke(ie, Qe[Ue])];
63780
63780
  Qe = -Ue, he[ge + it] = Qe;
63781
63781
  }
63782
63782
  n(Ge, Ve, he, ge, 4), Ve += 4, Ee[0 + ne] = Qe;
@@ -63794,7 +63794,7 @@ function WebPDecoder(l) {
63794
63794
  else {
63795
63795
  Ue = s(16);
63796
63796
  var xt = ie.Na + Ve.Na;
63797
- if (xt = tn(he, ge[1], xt, Oe.Eb, 0, Ue, 0), ie.Na = Ve.Na = (0 < xt) + 0, 1 < xt) uo(Ue, 0, ne, Ge);
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);
63798
63798
  else {
63799
63799
  var _t = Ue[0] + 3 >> 3;
63800
63800
  for (Ue = 0; 256 > Ue; Ue += 16)
@@ -63806,13 +63806,13 @@ function WebPDecoder(l) {
63806
63806
  for (Ue = 0; 4 > Ue; ++Ue) {
63807
63807
  var dr = It & 1;
63808
63808
  for (_t = ot = 0; 4 > _t; ++_t)
63809
- xt = dr + (Dt & 1), xt = tn(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;
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
63810
  Dt >>= 4, It = It >> 1 | dr << 7, it = (it << 8 | ot) >>> 0;
63811
63811
  }
63812
63812
  for (st = Dt, lt = It >> 4, Je = 0; 4 > Je; Je += 2) {
63813
63813
  for (ot = 0, Dt = ie.la >> 4 + Je, It = Ve.la >> 4 + Je, Ue = 0; 2 > Ue; ++Ue) {
63814
63814
  for (dr = It & 1, _t = 0; 2 > _t; ++_t)
63815
- xt = dr + (Dt & 1), xt = tn(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;
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
63816
  Dt >>= 2, It = It >> 1 | dr << 5;
63817
63817
  }
63818
63818
  Qe |= ot << 4 * Je, st |= Dt << 4 << Je, lt |= (It & 240) << Je;
@@ -63822,16 +63822,16 @@ function WebPDecoder(l) {
63822
63822
  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
63823
  }
63824
63824
  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) {
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
63826
  var er = xt;
63827
63827
  lt = ot, st = dr;
63828
63828
  var Ir = er.D, tr = Ir.Nb;
63829
63829
  Je = er.R;
63830
63830
  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 && 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);
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
63832
  else {
63833
63833
  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 && (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));
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
63835
  }
63836
63836
  }
63837
63837
  if (k.ia && alert("todo:DitherRow"), z.put != null) {
@@ -63876,7 +63876,7 @@ function WebPDecoder(l) {
63876
63876
  } else nt(T, 6, "Frame setup failed"), k = T.a;
63877
63877
  if (k = k == 0) {
63878
63878
  if (k) {
63879
- T.$c = 0, 0 < T.Aa || (T.Ic = rs);
63879
+ T.$c = 0, 0 < T.Aa || (T.Ic = is);
63880
63880
  e: {
63881
63881
  k = T.Ic;
63882
63882
  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 +63899,12 @@ function WebPDecoder(l) {
63899
63899
  for (k = -1020; 1020 >= k; ++k)
63900
63900
  Ii[1020 + k] = -128 > k ? -128 : 127 < k ? 127 : k;
63901
63901
  for (k = -112; 112 >= k; ++k)
63902
- $o[112 + k] = -16 > k ? -16 : 15 < k ? 15 : k;
63902
+ en[112 + k] = -16 > k ? -16 : 15 < k ? 15 : k;
63903
63903
  for (k = -255; 510 >= k; ++k)
63904
63904
  Qr[255 + k] = 0 > k ? 0 : 255 < k ? 255 : k;
63905
63905
  ui = 1;
63906
63906
  }
63907
- 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;
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
63908
  } else k = 0;
63909
63909
  }
63910
63910
  k && (k = Ot(T, I)), I.bc != null && I.bc(I), k &= 1;
@@ -63937,7 +63937,7 @@ function WebPDecoder(l) {
63937
63937
  kr(T, I, k, z), $ && kr(T, I + 16, k, z + 4);
63938
63938
  }
63939
63939
  function si(T, I, k, z) {
63940
- Pn(T, I + 0, k, z, 1), Pn(T, I + 32, k, z + 128, 1);
63940
+ Nn(T, I + 0, k, z, 1), Nn(T, I + 32, k, z + 128, 1);
63941
63941
  }
63942
63942
  function Ci(T, I, k, z) {
63943
63943
  T = T[I + 0] + 4;
@@ -63946,7 +63946,7 @@ function WebPDecoder(l) {
63946
63946
  for (I = 0; 4 > I; ++I)
63947
63947
  At(k, z, I, $, T);
63948
63948
  }
63949
- function dn(T, I, k, z) {
63949
+ function hn(T, I, k, z) {
63950
63950
  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
63951
  }
63952
63952
  function ki(T, I, k, z) {
@@ -63970,18 +63970,18 @@ function WebPDecoder(l) {
63970
63970
  function to(T, I) {
63971
63971
  Tr(T, I, 4);
63972
63972
  }
63973
- function hn(T, I) {
63973
+ function un(T, I) {
63974
63974
  Tr(T, I, 8);
63975
63975
  }
63976
- function En(T, I) {
63976
+ function Fn(T, I) {
63977
63977
  Tr(T, I, 16);
63978
63978
  }
63979
- function Fn(T, I) {
63979
+ function In(T, I) {
63980
63980
  var k;
63981
63981
  for (k = 0; 16 > k; ++k)
63982
63982
  n(T, I + 32 * k, T, I - 32, 16);
63983
63983
  }
63984
- function In(T, I) {
63984
+ function An(T, I) {
63985
63985
  var k;
63986
63986
  for (k = 16; 0 < k; --k)
63987
63987
  a(T, I, T[I - 1], 16), I += 32;
@@ -63991,13 +63991,13 @@ function WebPDecoder(l) {
63991
63991
  for (z = 0; 16 > z; ++z)
63992
63992
  a(I, k + 32 * z, T, 16);
63993
63993
  }
63994
- function un(T, I) {
63994
+ function fn(T, I) {
63995
63995
  var k = 16, z;
63996
63996
  for (z = 0; 16 > z; ++z)
63997
63997
  k += T[I - 1 + 32 * z] + T[I + z - 32];
63998
63998
  Vr(k >> 5, T, I);
63999
63999
  }
64000
- function fn(T, I) {
64000
+ function pn(T, I) {
64001
64001
  var k = 8, z;
64002
64002
  for (z = 0; 16 > z; ++z)
64003
64003
  k += T[I - 1 + 32 * z];
@@ -64009,29 +64009,29 @@ function WebPDecoder(l) {
64009
64009
  k += T[I + z - 32];
64010
64010
  Vr(k >> 4, T, I);
64011
64011
  }
64012
- function Yo(T, I) {
64012
+ function Zo(T, I) {
64013
64013
  Vr(128, T, I);
64014
64014
  }
64015
64015
  function Ht(T, I, k) {
64016
64016
  return T + 2 * I + k + 2 >> 2;
64017
64017
  }
64018
- function An(T, I) {
64018
+ function Ln(T, I) {
64019
64019
  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
64020
  for (z = 0; 4 > z; ++z)
64021
64021
  n(T, I + 32 * z, k, 0, k.length);
64022
64022
  }
64023
- function Ln(T, I) {
64023
+ function Mn(T, I) {
64024
64024
  var k = T[I - 1], z = T[I - 1 + 32], $ = T[I - 1 + 64], re = T[I - 1 + 96];
64025
64025
  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
64026
  }
64027
- function Zo(T, I) {
64027
+ function Go(T, I) {
64028
64028
  var k = 4, z;
64029
64029
  for (z = 0; 4 > z; ++z)
64030
64030
  k += T[I + z - 32] + T[I - 1 + 32 * z];
64031
64031
  for (k >>= 3, z = 0; 4 > z; ++z)
64032
64032
  a(T, I + 32 * z, k, 4);
64033
64033
  }
64034
- function pn(T, I) {
64034
+ function gn(T, I) {
64035
64035
  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
64036
  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
64037
  }
@@ -64039,7 +64039,7 @@ function WebPDecoder(l) {
64039
64039
  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
64040
  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
64041
  }
64042
- function Go(T, I) {
64042
+ function Vo(T, I) {
64043
64043
  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
64044
  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
64045
  }
@@ -64047,11 +64047,11 @@ function WebPDecoder(l) {
64047
64047
  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
64048
  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
64049
  }
64050
- function Mn(T, I) {
64050
+ function Rn(T, I) {
64051
64051
  var k = T[I - 1 + 0], z = T[I - 1 + 32], $ = T[I - 1 + 64], re = T[I - 1 + 96];
64052
64052
  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
64053
  }
64054
- function gn(T, I) {
64054
+ function mn(T, I) {
64055
64055
  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
64056
  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
64057
  }
@@ -64060,7 +64060,7 @@ function WebPDecoder(l) {
64060
64060
  for (k = 0; 8 > k; ++k)
64061
64061
  n(T, I + 32 * k, T, I - 32, 8);
64062
64062
  }
64063
- function Rn(T, I) {
64063
+ function kn(T, I) {
64064
64064
  var k;
64065
64065
  for (k = 0; 8 > k; ++k)
64066
64066
  a(T, I, T[I - 1], 8), I += 32;
@@ -64070,7 +64070,7 @@ function WebPDecoder(l) {
64070
64070
  for (z = 0; 8 > z; ++z)
64071
64071
  a(I, k + 32 * z, T, 8);
64072
64072
  }
64073
- function kn(T, I) {
64073
+ function Hn(T, I) {
64074
64074
  var k = 8, z;
64075
64075
  for (z = 0; 8 > z; ++z)
64076
64076
  k += T[I + z - 32] + T[I - 1 + 32 * z];
@@ -64106,7 +64106,7 @@ function WebPDecoder(l) {
64106
64106
  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
64107
  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
64108
  }
64109
- function mn(T, I, k, z) {
64109
+ function yn(T, I, k, z) {
64110
64110
  var $ = 2 * z + 1;
64111
64111
  for (z = 0; 16 > z; ++z)
64112
64112
  wo(T, I + z, k, $) && xi(T, I + z, k);
@@ -64119,7 +64119,7 @@ function WebPDecoder(l) {
64119
64119
  function Co(T, I, k, z) {
64120
64120
  var $;
64121
64121
  for ($ = 3; 0 < $; --$)
64122
- I += 4 * k, mn(T, I, k, z);
64122
+ I += 4 * k, yn(T, I, k, z);
64123
64123
  }
64124
64124
  function Jr(T, I, k, z) {
64125
64125
  var $;
@@ -64149,7 +64149,7 @@ function WebPDecoder(l) {
64149
64149
  function Br(T, I, k, z, $, re) {
64150
64150
  Kr(T, I, k, 1, 16, z, $, re);
64151
64151
  }
64152
- function yn(T, I, k, z, $, re) {
64152
+ function vn(T, I, k, z, $, re) {
64153
64153
  Kr(T, I, 1, k, 16, z, $, re);
64154
64154
  }
64155
64155
  function oo(T, I, k, z, $, re) {
@@ -64157,12 +64157,12 @@ function WebPDecoder(l) {
64157
64157
  for (ie = 3; 0 < ie; --ie)
64158
64158
  I += 4 * k, Si(T, I, k, 1, 16, z, $, re);
64159
64159
  }
64160
- function vn(T, I, k, z, $, re) {
64160
+ function wn(T, I, k, z, $, re) {
64161
64161
  var ie;
64162
64162
  for (ie = 3; 0 < ie; --ie)
64163
64163
  I += 4, Si(T, I, 1, k, 16, z, $, re);
64164
64164
  }
64165
- function Hn(T, I, k, z, $, re, ie, ne) {
64165
+ function On(T, I, k, z, $, re, ie, ne) {
64166
64166
  Kr(T, I, $, 1, 8, re, ie, ne), Kr(k, z, $, 1, 8, re, ie, ne);
64167
64167
  }
64168
64168
  function xo(T, I, k, z, $, re, ie, ne) {
@@ -64332,7 +64332,7 @@ function WebPDecoder(l) {
64332
64332
  k[z + re] = T[I + re] >> 8;
64333
64333
  }
64334
64334
  function lr() {
64335
- rn = Tt, Nn = Lt, Ca = Bt, xa = $t;
64335
+ on = Tt, Tn = Lt, xa = Bt, ba = $t;
64336
64336
  }
64337
64337
  function rr(T, I, k) {
64338
64338
  Y[T] = function(z, $, re, ie, ne, he, ge, Ee, Oe, Ge, Ve, Qe, it, Ue, Je, ot, lt) {
@@ -64347,10 +64347,10 @@ function WebPDecoder(l) {
64347
64347
  };
64348
64348
  }
64349
64349
  function Hr() {
64350
- 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;
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
64351
  }
64352
64352
  function pr(T) {
64353
- return T & -16384 ? 0 > T ? 0 : 255 : T >> Da;
64353
+ return T & -16384 ? 0 > T ? 0 : 255 : T >> Sa;
64354
64354
  }
64355
64355
  function _r(T, I) {
64356
64356
  return pr((19077 * T >> 8) + (26149 * I >> 8) - 14234);
@@ -64371,7 +64371,7 @@ function WebPDecoder(l) {
64371
64371
  var re = Xr(T, I, k);
64372
64372
  I = re << 3 & 224 | Ei(T, I) >> 3, z[$ + 0] = _r(T, k) & 248 | re >> 5, z[$ + 1] = I;
64373
64373
  }
64374
- function Vo(T, I, k, z, $) {
64374
+ function Xo(T, I, k, z, $) {
64375
64375
  var re = Ei(T, I) & 240 | 15;
64376
64376
  z[$ + 0] = _r(T, k) & 240 | Xr(T, I, k) >> 4, z[$ + 1] = re;
64377
64377
  }
@@ -64381,7 +64381,7 @@ function WebPDecoder(l) {
64381
64381
  function To(T, I, k, z, $) {
64382
64382
  Po(T, I, k, z, $), z[$ + 3] = 255;
64383
64383
  }
64384
- function Xo(T, I, k, z, $) {
64384
+ function qo(T, I, k, z, $) {
64385
64385
  _o(T, I, k, z, $), z[$ + 3] = 255;
64386
64386
  }
64387
64387
  function Dr(T, I) {
@@ -64400,16 +64400,16 @@ function WebPDecoder(l) {
64400
64400
  function ao(T, I, k, z, $) {
64401
64401
  switch (T >>> 30) {
64402
64402
  case 3:
64403
- Pn(I, k, z, $, 0);
64403
+ Nn(I, k, z, $, 0);
64404
64404
  break;
64405
64405
  case 2:
64406
- aa(I, k, z, $);
64406
+ sa(I, k, z, $);
64407
64407
  break;
64408
64408
  case 1:
64409
64409
  Ao(I, k, z, $);
64410
64410
  }
64411
64411
  }
64412
- function qo(T, I) {
64412
+ function Qo(T, I) {
64413
64413
  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
64414
  for (k = 0; 16 > k; ++k)
64415
64415
  ie[ne + 32 * k - 1] = 129;
@@ -64429,16 +64429,16 @@ function WebPDecoder(l) {
64429
64429
  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
64430
  Je[ot + 128 + k] = Je[ot + 256 + k] = Je[ot + 384 + k] = Je[ot + 0 + k];
64431
64431
  for (k = 0; 16 > k; ++k, Ue <<= 2)
64432
- Je = ie, ot = ne + Fa[k], ei[Ge.Ob[k]](Je, ot), ao(Ue, it, 16 * +k, Je, ot);
64432
+ Je = ie, ot = ne + Ia[k], ei[Ge.Ob[k]](Je, ot), ao(Ue, it, 16 * +k, Je, ot);
64433
64433
  } 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 + Fa[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 ? 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)
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)
64436
64436
  n(Ve, Qe + k * T.R, ie, ne + 32 * k, 16);
64437
64437
  for (k = 0; 8 > k; ++k)
64438
64438
  n(it, Ge + k * T.B, he, ge + 32 * k, 8), n(Ue, Je + k * T.B, Ee, Oe + 32 * k, 8);
64439
64439
  }
64440
64440
  }
64441
- function Qo(T, I, k, z, $, re, ie, ne, he) {
64441
+ function Jo(T, I, k, z, $, re, ie, ne, he) {
64442
64442
  var ge = [0], Ee = [0], Oe = 0, Ge = he != null ? he.kd : 0, Ve = he ?? new bo();
64443
64443
  if (T == null || 12 > k) return 7;
64444
64444
  Ve.data = T, Ve.w = I, Ve.ha = k, I = [I], k = [k], Ve.gb = [Ve.gb];
@@ -64608,7 +64608,7 @@ function WebPDecoder(l) {
64608
64608
  if (T = z.S, 0 >= he || 0 >= ge || !(T >= xr && 13 > T)) T = 2;
64609
64609
  else {
64610
64610
  if (0 >= z.Rd && z.sd == null) {
64611
- var ie = re = $ = I = 0, ne = he * Qn[T], Ee = ne * ge;
64611
+ var ie = re = $ = I = 0, ne = he * Jn[T], Ee = ne * ge;
64612
64612
  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
64613
  T = 1;
64614
64614
  break e;
@@ -64616,7 +64616,7 @@ function WebPDecoder(l) {
64616
64616
  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
64617
  }
64618
64618
  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 * Qn[$], I &= T.eb != null;
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
64620
  else {
64621
64621
  T = z.f.kb, ne = (re + 1) / 2, Ee = (ie + 1) / 2, he = Math.abs(T.fa);
64622
64622
  var ge = Math.abs(T.Ab), Oe = Math.abs(T.Db), Ge = Math.abs(T.lb), Ve = Ge * (ie - 1) + re;
@@ -64628,7 +64628,7 @@ function WebPDecoder(l) {
64628
64628
  }
64629
64629
  return T != 0 || k != null && k.fd && (T = so(z)), T;
64630
64630
  }
64631
- 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];
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
64632
  wt("Predictor0", "PredictorAdd0"), Y.Predictor0 = function() {
64633
64633
  return 4278190080;
64634
64634
  }, Y.Predictor1 = function(T) {
@@ -64673,23 +64673,23 @@ function WebPDecoder(l) {
64673
64673
  }, function(T) {
64674
64674
  return T >> 8 & 255;
64675
64675
  });
64676
- var di = Y.ColorIndexInverseTransform, Ui = Y.MapARGB, Yi = Y.VP8LColorIndexInverseTransformAlpha, Ko = Y.MapAlpha, hi, wn = Y.VP8LPredictorsAdd = [];
64677
- wn.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), $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 = [];
64679
- 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);
64680
- 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);
64681
- $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);
64682
- 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;
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;
64683
64683
  this.WebPDecodeRGBA = function(T, I, k, z, $) {
64684
64684
  var re = Fo, ie = new Wi(), ne = new Yt();
64685
64685
  ie.ba = ne, ne.S = re, ne.width = [ne.width], ne.height = [ne.height];
64686
64686
  var he = ne.width, ge = ne.height, Ee = new Kt();
64687
64687
  if (Ee == null || T == null) var Oe = 2;
64688
- else r(Ee != null), Oe = Qo(T, I, k, Ee.width, Ee.height, Ee.Pd, Ee.Qd, Ee.format, null);
64688
+ else r(Ee != null), Oe = Jo(T, I, k, Ee.width, Ee.height, Ee.Pd, Ee.Qd, Ee.format, null);
64689
64689
  if (Oe != 0 ? he = 0 : (he != null && (he[0] = Ee.width[0]), ge != null && (ge[0] = Ee.height[0]), he = 1), he) {
64690
64690
  ne.width = ne.width[0], ne.height = ne.height[0], z != null && (z[0] = ne.width), $ != null && ($[0] = ne.height);
64691
64691
  e: {
64692
- 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) {
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
64693
  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
64694
  if (T = mi(), T == null) {
64695
64695
  ie = 1;
@@ -64736,7 +64736,7 @@ function WebPDecoder(l) {
64736
64736
  if (T.Aa = 0, k = ie.Oa, $ = T, r($ != null), k != null) {
64737
64737
  if (he = k.Md, he = 0 > he ? 0 : 100 < he ? 255 : 255 * he / 100, 0 < he) {
64738
64738
  for (ge = Ee = 0; 4 > ge; ++ge)
64739
- Oe = $.pb[ge], 12 > Oe.lc && (Oe.ia = he * ts[0 > Oe.lc ? 0 : Oe.lc] >> 3), Ee |= Oe.ia;
64739
+ Oe = $.pb[ge], 12 > Oe.lc && (Oe.ia = he * rs[0 > Oe.lc ? 0 : Oe.lc] >> 3), Ee |= Oe.ia;
64740
64740
  Ee && (alert("todo:VP8InitRandom"), $.ia = 1);
64741
64741
  }
64742
64742
  $.Ga = k.Id, 100 < $.Ga ? $.Ga = 100 : 0 > $.Ga && ($.Ga = 0);
@@ -64753,7 +64753,7 @@ function WebPDecoder(l) {
64753
64753
  } else re = null;
64754
64754
  return re;
64755
64755
  };
64756
- var Qn = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
64756
+ var Jn = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
64757
64757
  };
64758
64758
  new f();
64759
64759
  /** @license
@@ -65336,7 +65336,7 @@ WebPDecoder.prototype.getData = function() {
65336
65336
  (function(l) {
65337
65337
  function r() {
65338
65338
  return function() {
65339
- return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-B_u99Wfu.mjs");
65339
+ return globalObject.canvg ? Promise.resolve(globalObject.canvg) : import("./index.es-CZ2ZMxA6.mjs");
65340
65340
  }().catch(function(o) {
65341
65341
  return Promise.reject(new Error("Could not load canvg: " + o));
65342
65342
  }).then(function(o) {
@@ -67257,7 +67257,7 @@ class LineStyleUndoUnit {
67257
67257
  _(this, "_hoEditorFactoryID");
67258
67258
  _(this, "_opTime");
67259
67259
  _(this, "_affectText");
67260
- 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 = "";
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
67261
  }
67262
67262
  undo() {
67263
67263
  this._pnodes.forEach((r, o) => {
@@ -67265,7 +67265,7 @@ class LineStyleUndoUnit {
67265
67265
  }), this.update();
67266
67266
  }
67267
67267
  init() {
67268
- this._pnodes = [], this._paraStyleIndex = [], this.slib = [], this._dom = new DomRange(
67268
+ this._pnodes = [], this._paraStyleIndex = [], this.slib = [], this._dom = new DomRange$1(
67269
67269
  this._hoEditorFactoryID,
67270
67270
  this._start,
67271
67271
  this._end
@@ -67277,7 +67277,7 @@ class LineStyleUndoUnit {
67277
67277
  const o = this._dom.npStart.node, n = this._dom.npEnd.node;
67278
67278
  if (!(o && n))
67279
67279
  throw new Error(`路径错误${this._dom.startPath} ${this._dom.endPath}`);
67280
- const a = DomRange.getSelectDomNodes(this._hoEditorFactoryID, this._dom.startPath, this._dom.endPath, !0)[0];
67280
+ const a = DomRange$1.getSelectDomNodes(this._hoEditorFactoryID, this._dom.startPath, this._dom.endPath, !0)[0];
67281
67281
  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
67282
  const s = r.docTree.getNodeParaNode(o);
67283
67283
  a.indexOf(s) === -1 && a.splice(0, 0, s);
@@ -67511,7 +67511,7 @@ class NodeStyleUndoUnit {
67511
67511
  }
67512
67512
  redo() {
67513
67513
  this.initParam();
67514
- const r = new DomRange(
67514
+ const r = new DomRange$1(
67515
67515
  this._hoEditorFactoryID,
67516
67516
  this._oldpairs.start,
67517
67517
  this._oldpairs.end
@@ -67528,7 +67528,7 @@ class NodeStyleUndoUnit {
67528
67528
  return;
67529
67529
  }
67530
67530
  this.spliteNode(r.clone());
67531
- const n = DomRange.getSelectDomNodesForUpdate(
67531
+ const n = DomRange$1.getSelectDomNodesForUpdate(
67532
67532
  this._hoEditorFactoryID,
67533
67533
  this._oldpairs.start,
67534
67534
  this._newpairs.end
@@ -67568,7 +67568,7 @@ class NodeStyleUndoUnit {
67568
67568
  repaint(r, o, n) {
67569
67569
  const a = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
67570
67570
  if (o === "") return;
67571
- a.docTree.curDomRange.startPath = r, a.docTree.curDomRange.endPath = o, new DomRange(
67571
+ a.docTree.curDomRange.startPath = r, a.docTree.curDomRange.endPath = o, new DomRange$1(
67572
67572
  this._hoEditorFactoryID,
67573
67573
  r,
67574
67574
  o
@@ -67583,7 +67583,7 @@ class NodeStyleUndoUnit {
67583
67583
  );
67584
67584
  p.oldEndPath = n, p.oldDrawLines = this._oldDrawLines, a.docTree.change(p);
67585
67585
  }
67586
- const d = new DomRange(
67586
+ const d = new DomRange$1(
67587
67587
  this._hoEditorFactoryID,
67588
67588
  r,
67589
67589
  o
@@ -69381,7 +69381,7 @@ class TableInsertUndoUnit extends NodeInsertUndoUnit {
69381
69381
  this._undo.undo();
69382
69382
  const a = new SelectionChangeEvent(
69383
69383
  o.docTree.curDomRange,
69384
- new DomRange(
69384
+ new DomRange$1(
69385
69385
  this._hoEditorFactoryID,
69386
69386
  this.strBeforePath,
69387
69387
  this.strBeforePath
@@ -69718,7 +69718,7 @@ class TableMergeCellUndoUnit {
69718
69718
  if (a) {
69719
69719
  const s = `${a.getNodePath()}/0`, c = new SelectionChangeEvent(
69720
69720
  r.docTree.curDomRange,
69721
- new DomRange(this._hoEditorFactoryID, s, s)
69721
+ new DomRange$1(this._hoEditorFactoryID, s, s)
69722
69722
  );
69723
69723
  r.docTree.selectChange(c), r.docTree.curDomRange.setSamePath(s), r.drawTree.moveCaretToPath(s);
69724
69724
  }
@@ -69829,7 +69829,7 @@ class ParseUndoUnit {
69829
69829
  r.docTree.deleteNode(a, "update");
69830
69830
  }), o.afterChangePath = this._tmp.start, await r.docTree.change(o), r.docTree.curDomRange.setSamePath(this._tmp.start); !this._undo.atBottom(); )
69831
69831
  this._undo.undo();
69832
- r.docTree.curDomRange = new DomRange(
69832
+ r.docTree.curDomRange = new DomRange$1(
69833
69833
  this._hoEditorFactoryID,
69834
69834
  this._startPath,
69835
69835
  this._endPath
@@ -69846,7 +69846,7 @@ class ParseUndoUnit {
69846
69846
  redo() {
69847
69847
  var f, p;
69848
69848
  this.initParam();
69849
- const r = new DomRange(
69849
+ const r = new DomRange$1(
69850
69850
  this._hoEditorFactoryID,
69851
69851
  this._startPath,
69852
69852
  this._endPath
@@ -69882,7 +69882,7 @@ class ParseUndoUnit {
69882
69882
  this._hoEditorFactoryID,
69883
69883
  r.startPath,
69884
69884
  s.node,
69885
- new DomRange(
69885
+ new DomRange$1(
69886
69886
  this._hoEditorFactoryID,
69887
69887
  r.startPath,
69888
69888
  g
@@ -69983,7 +69983,7 @@ class ParseUndoUnit {
69983
69983
  const g = s.node.parentNode.parentNode;
69984
69984
  g instanceof CellNode && g.drawCell.drawPageCells.length > 1 && (g.drawCell.needUpdate = !0, g.table.update());
69985
69985
  }
69986
- this._tmp.start = r.startPath, this._tmp.end = d, o.drawTree.moveCaretToPath(d), o.docTree.curDomRange = new DomRange(
69986
+ this._tmp.start = r.startPath, this._tmp.end = d, o.drawTree.moveCaretToPath(d), o.docTree.curDomRange = new DomRange$1(
69987
69987
  this._hoEditorFactoryID,
69988
69988
  d,
69989
69989
  d
@@ -70031,7 +70031,7 @@ class TableInsertParagraphUndoUnit {
70031
70031
  throw new Error("错误的撤销恢复链,无法恢复");
70032
70032
  }
70033
70033
  r.docTree.change(a);
70034
- 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);
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
70035
  r.docTree.selectChange(u), this._positionNode.update();
70036
70036
  }
70037
70037
  redo() {
@@ -70042,7 +70042,7 @@ class TableInsertParagraphUndoUnit {
70042
70042
  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
70043
  const c = new NodeChangeEvent(this._hoEditorFactoryID, s, n, a);
70044
70044
  r.docTree.change(c);
70045
- const d = r.docTree.curDomRange.clone(), u = new DomRange(this._hoEditorFactoryID, a, a), f = new SelectionChangeEvent(d, u);
70045
+ const d = r.docTree.curDomRange.clone(), u = new DomRange$1(this._hoEditorFactoryID, a, a), f = new SelectionChangeEvent(d, u);
70046
70046
  r.docTree.selectChange(f), this._positionNode.update();
70047
70047
  }
70048
70048
  merge(r) {
@@ -70080,7 +70080,7 @@ class TableDeleteParagraphUndoUnit {
70080
70080
  else
70081
70081
  throw new Error("错误的撤销恢复链,无法恢复");
70082
70082
  r.docTree.change(a);
70083
- 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);
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
70084
  r.docTree.selectChange(f), this._positionNode.update();
70085
70085
  }
70086
70086
  undo() {
@@ -70091,7 +70091,7 @@ class TableDeleteParagraphUndoUnit {
70091
70091
  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
70092
  const c = new NodeChangeEvent(this._hoEditorFactoryID, s, n, a);
70093
70093
  r.docTree.change(c);
70094
- const d = r.docTree.curDomRange.clone(), u = new DomRange(this._hoEditorFactoryID, a, a), f = new SelectionChangeEvent(d, u);
70094
+ const d = r.docTree.curDomRange.clone(), u = new DomRange$1(this._hoEditorFactoryID, a, a), f = new SelectionChangeEvent(d, u);
70095
70095
  r.docTree.selectChange(f), this._positionNode.update();
70096
70096
  }
70097
70097
  merge(r) {
@@ -70574,10 +70574,10 @@ class DocController {
70574
70574
  const n = o.startPath, a = o.endPath;
70575
70575
  let s = o;
70576
70576
  if (!o.isEmpty)
70577
- l === "left" || l === "up" ? s = new DomRange(this._hoEditorFactoryID, n, n) : s = new DomRange(this._hoEditorFactoryID, a, a);
70577
+ l === "left" || l === "up" ? s = new DomRange$1(this._hoEditorFactoryID, n, n) : s = new DomRange$1(this._hoEditorFactoryID, a, a);
70578
70578
  else {
70579
70579
  const c = r.docTree.getToPath(l, n);
70580
- s = new DomRange(this._hoEditorFactoryID, c, c);
70580
+ s = new DomRange$1(this._hoEditorFactoryID, c, c);
70581
70581
  }
70582
70582
  r.docTree.curDomRange = s, r.drawTree.moveCaretToPath(s.endPath);
70583
70583
  }
@@ -70619,8 +70619,8 @@ class DocController {
70619
70619
  else
70620
70620
  return;
70621
70621
  }
70622
- l.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, s, r.startPath);
70623
- const c = new DomRange(this._hoEditorFactoryID, r.startPath, s).normalize();
70622
+ l.docTree.curDomRange = new DomRange$1(this._hoEditorFactoryID, s, r.startPath);
70623
+ const c = new DomRange$1(this._hoEditorFactoryID, r.startPath, s).normalize();
70624
70624
  this.deleteRange(c, !0);
70625
70625
  }
70626
70626
  }
@@ -70650,8 +70650,8 @@ class DocController {
70650
70650
  else
70651
70651
  return;
70652
70652
  }
70653
- r.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, d, l);
70654
- const u = new DomRange(this._hoEditorFactoryID, l, d).normalize();
70653
+ r.docTree.curDomRange = new DomRange$1(this._hoEditorFactoryID, d, l);
70654
+ const u = new DomRange$1(this._hoEditorFactoryID, l, d).normalize();
70655
70655
  this.deleteRange(u, !0);
70656
70656
  } else if (c instanceof MarkNode) {
70657
70657
  let d = r.docTree.getNodeLastPath(c);
@@ -70667,7 +70667,7 @@ class DocController {
70667
70667
  if (c === c.parentNode.first())
70668
70668
  return;
70669
70669
  }
70670
- const u = new DomRange(
70670
+ const u = new DomRange$1(
70671
70671
  this._hoEditorFactoryID,
70672
70672
  l,
70673
70673
  d
@@ -70860,7 +70860,7 @@ class DocController {
70860
70860
  }
70861
70861
  }
70862
70862
  selectARange(l, r) {
70863
- const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = o.docTree.curDomRange.normalize(), a = new DomRange(this._hoEditorFactoryID, l, r);
70863
+ const o = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), n = o.docTree.curDomRange.normalize(), a = new DomRange$1(this._hoEditorFactoryID, l, r);
70864
70864
  o.undoService.begin(), o.undoService.add(new SelectionUndoUnit(this._hoEditorFactoryID, n, a)), o.undoService.commit();
70865
70865
  }
70866
70866
  // /**
@@ -71448,7 +71448,7 @@ class DocController {
71448
71448
  for (let y = 0; y < a.table.colCount; y++) {
71449
71449
  const m = a.table.rows[g][y], v = a.table.rows[s + r][y];
71450
71450
  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(this._hoEditorFactoryID, C, w), N = o.structureNode.Copy(b, null, !1, "", !0);
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
71452
  o.docTree.curDomRange.setSamePath(m.childNodes[0].getNodePath());
71453
71453
  const E = o.structureNode.Parse(ClipboardType.ctJSON, N);
71454
71454
  for (let F = 0; F < E.length; F++) {
@@ -71539,7 +71539,7 @@ class DocController {
71539
71539
  }
71540
71540
  }
71541
71541
  if (f && p) {
71542
- const g = o.docTree.getNodeFirstPath(f), y = o.docTree.getNodeLastPath(p), m = new DomRange(this._hoEditorFactoryID, g, y), v = new SelectionChangeEvent(l, m);
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
71543
  o.docTree.selectChange(v), o.docTree.curDomRange = m;
71544
71544
  }
71545
71545
  } else {
@@ -71574,7 +71574,7 @@ class DocController {
71574
71574
  for (let y = 0; y < a.table.colCount; y++) {
71575
71575
  const m = a.table.rows[g][y], v = a.table.rows[s][y];
71576
71576
  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(this._hoEditorFactoryID, C, w), N = o.structureNode.Copy(b, null, !1, "", !0), E = o.structureNode.Parse(ClipboardType.ctJSON, N);
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
71578
  o.docTree.curDomRange.setSamePath(m.childNodes[0].getNodePath());
71579
71579
  for (let F = 0; F < E.length; F++) {
71580
71580
  const D = E[F];
@@ -71614,7 +71614,7 @@ class DocController {
71614
71614
  }
71615
71615
  }
71616
71616
  if (f && p) {
71617
- const g = o.docTree.getNodeFirstPath(f), y = o.docTree.getNodeLastPath(p), m = new DomRange(this._hoEditorFactoryID, g, y), v = new SelectionChangeEvent(l, m);
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
71618
  o.docTree.selectChange(v), o.docTree.curDomRange = m;
71619
71619
  }
71620
71620
  } else {
@@ -71648,7 +71648,7 @@ class DocController {
71648
71648
  }
71649
71649
  }
71650
71650
  if (u && f) {
71651
- const p = o.docTree.getNodeFirstPath(u), g = o.docTree.getNodeLastPath(f), y = new DomRange(this._hoEditorFactoryID, p, g), m = new SelectionChangeEvent(l, y);
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
71652
  o.docTree.selectChange(m), o.docTree.curDomRange = y;
71653
71653
  }
71654
71654
  } else {
@@ -71682,7 +71682,7 @@ class DocController {
71682
71682
  }
71683
71683
  }
71684
71684
  if (d && u) {
71685
- const f = o.docTree.getNodeFirstPath(d), p = o.docTree.getNodeLastPath(u), g = new DomRange(this._hoEditorFactoryID, f, p), y = new SelectionChangeEvent(l, g);
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
71686
  o.docTree.selectChange(y), o.docTree.curDomRange = g;
71687
71687
  }
71688
71688
  } else {
@@ -71733,7 +71733,7 @@ class DocController {
71733
71733
  const g = r.childNodes[0];
71734
71734
  d = c.docTree.getNodeFirstPath(g);
71735
71735
  }
71736
- const f = new DomRange(this._hoEditorFactoryID, d, d);
71736
+ const f = new DomRange$1(this._hoEditorFactoryID, d, d);
71737
71737
  c.docTree.curDomRange = f;
71738
71738
  const p = new SelectionChangeEvent(f, f);
71739
71739
  c.docTree.selectChange(p), c.drawTree.moveCaretToPath(d);
@@ -71753,7 +71753,7 @@ class DocController {
71753
71753
  return;
71754
71754
  }
71755
71755
  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(this._hoEditorFactoryID, f, f);
71756
+ const u = r.childNodes[0], f = c.docTree.getNodeFirstPath(u), p = new DomRange$1(this._hoEditorFactoryID, f, f);
71757
71757
  c.docTree.curDomRange = p;
71758
71758
  const g = new SelectionChangeEvent(p, p);
71759
71759
  c.docTree.selectChange(g), c.drawTree.moveCaretToPath(f);
@@ -71938,7 +71938,7 @@ class DocController {
71938
71938
  E[E.length - 1] = (F + 1).toString(), p = E.join("/");
71939
71939
  }
71940
71940
  }
71941
- const y = a.docTree.curDomRange, m = new DomRange(this._hoEditorFactoryID, d, p), v = new SelectionChangeEvent(y, m);
71941
+ const y = a.docTree.curDomRange, m = new DomRange$1(this._hoEditorFactoryID, d, p), v = new SelectionChangeEvent(y, m);
71942
71942
  return a.docTree.selectChange(v), a.docTree.curDomRange = m, a.drawTree.moveCaretToPath(p), d;
71943
71943
  }
71944
71944
  /**
@@ -71994,7 +71994,7 @@ class DocController {
71994
71994
  const v = d.docTree.curDomRange;
71995
71995
  let C = n;
71996
71996
  o !== "" && (C = d.docTree.getNodeLastPath(m));
71997
- const w = new DomRange(this._hoEditorFactoryID, n, C), b = new SelectionChangeEvent(v, w);
71997
+ const w = new DomRange$1(this._hoEditorFactoryID, n, C), b = new SelectionChangeEvent(v, w);
71998
71998
  d.docTree.selectChange(b);
71999
71999
  }
72000
72000
  }
@@ -72248,7 +72248,7 @@ class DocController {
72248
72248
  selectAll() {
72249
72249
  const l = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID), r = l.docTree.curDomRange, o = r.normalize().startPath, n = l.docTree.getPathRoots(o);
72250
72250
  if (n) {
72251
- 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);
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
72252
  l.docTree.selectChange(d), l.docTree.curDomRange = c;
72253
72253
  }
72254
72254
  }
@@ -72366,7 +72366,7 @@ class DocController {
72366
72366
  c instanceof MarkNode && c.MarkNodeType === MarkNodeType.mtContent && (a.removeChild(c), s = !0);
72367
72367
  }), s)) {
72368
72368
  const c = o.docTree.getNodeLastPath(a.childNodes[0]);
72369
- o.docTree.curDomRange = new DomRange(this._hoEditorFactoryID, c, c);
72369
+ o.docTree.curDomRange = new DomRange$1(this._hoEditorFactoryID, c, c);
72370
72370
  }
72371
72371
  }
72372
72372
  o.undoService.begin(), o.undoService.add(new ParseUndoUnit(this._hoEditorFactoryID, o.docTree.curDomRange.startPath, o.docTree.curDomRange.endPath, l)), o.undoService.commit();
@@ -72388,7 +72388,7 @@ class DocController {
72388
72388
  * @returns 变更绘制事件对象
72389
72389
  */
72390
72390
  getRedrawObject(l, r, o) {
72391
- const n = new DomRange(this._hoEditorFactoryID, l, r).normalize(), a = new NodeChangeEvent(this._hoEditorFactoryID, o, n.startPath, n.endPath);
72391
+ const n = new DomRange$1(this._hoEditorFactoryID, l, r).normalize(), a = new NodeChangeEvent(this._hoEditorFactoryID, o, n.startPath, n.endPath);
72392
72392
  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
72393
  }
72394
72394
  /**
@@ -72411,7 +72411,7 @@ class DocController {
72411
72411
  * @param endPath 变更后的结束路径
72412
72412
  */
72413
72413
  insertRedraw(l, r) {
72414
- 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);
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
72415
  o.docTree.change(a);
72416
72416
  }
72417
72417
  /**
@@ -72481,7 +72481,7 @@ class DocController {
72481
72481
  const v = l.endPath.split("/");
72482
72482
  v[v.length - 1] = c.toString(), f = v.join("/");
72483
72483
  } 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(this._hoEditorFactoryID, u, f);
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
72485
  await this.deleteRange(m, !0), o.undoService.begin(), o.undoService.add(new NodeInsertUndoUnit(this._hoEditorFactoryID, u, y)), o.undoService.commit(), d = y;
72486
72486
  }
72487
72487
  if (d = d.previousLeaf(), d) {
@@ -72498,7 +72498,7 @@ class DocController {
72498
72498
  labelToText(l) {
72499
72499
  const r = HOEditorFactorys.instance().getFactory(this._hoEditorFactoryID);
72500
72500
  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(this._hoEditorFactoryID, s, c);
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
72502
  this.deleteRange(d, !0), r.undoService.begin();
72503
72503
  const u = new TextNode(this._hoEditorFactoryID, l.rootNodes, a, NodeType$1.ntText, o, n);
72504
72504
  r.undoService.add(new NodeInsertUndoUnit(this._hoEditorFactoryID, s, u)), r.undoService.commit();
@@ -72749,7 +72749,7 @@ class DocController {
72749
72749
  break;
72750
72750
  } while (!0);
72751
72751
  const s = (d, u) => {
72752
- const f = new DomRange(this._hoEditorFactoryID, d, u), p = new SelectionChangeEvent(r, f);
72752
+ const f = new DomRange$1(this._hoEditorFactoryID, d, u), p = new SelectionChangeEvent(r, f);
72753
72753
  l.docTree.selectChange(p), l.docTree.curDomRange = f;
72754
72754
  };
72755
72755
  let c = "";
@@ -75082,7 +75082,7 @@ const TextDialog = __component__$12.exports, _sfc_main$11 = {
75082
75082
  if (n != null && n.isEmpty)
75083
75083
  l instanceof LabelNode && r.push(l);
75084
75084
  else {
75085
- const a = n.startPath, s = n.endPath, c = DomRange.getSelectDomNodes(this.hoEditorProvider.activeDocId, a, s, !0)[0];
75085
+ const a = n.startPath, s = n.endPath, c = DomRange$1.getSelectDomNodes(this.hoEditorProvider.activeDocId, a, s, !0)[0];
75086
75086
  c.length > 0 && c.forEach((d) => {
75087
75087
  d instanceof LabelNode && r.push(d);
75088
75088
  });
@@ -83226,8 +83226,8 @@ const VerifyTip = __component__$v.exports, _sfc_main$u = defineComponent({
83226
83226
  if (d[b]) {
83227
83227
  const N = d[b];
83228
83228
  s.component = N, b == "special-chars" ? n.value = {
83229
- right: "20px",
83230
- top: "120px",
83229
+ right: "64px",
83230
+ top: "80px",
83231
83231
  transform: "translate(0, 0)",
83232
83232
  width: "360px"
83233
83233
  } : n.value = {