superdoc 0.34.5 → 0.34.6-RC1

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.
Files changed (44) hide show
  1. package/dist/chunks/{PdfViewer-DRQmW5MW.cjs → PdfViewer-Cdq6hWaP.cjs} +2 -2
  2. package/dist/chunks/{PdfViewer-DTAOrhGM.es.js → PdfViewer-Yy390Dyv.es.js} +2 -2
  3. package/dist/chunks/{eventemitter3-hYlnBzSA.es.js → eventemitter3-BZXKb7j7.es.js} +1 -1
  4. package/dist/chunks/{eventemitter3-DmHNHvFX.cjs → eventemitter3-CFCpOk3d.cjs} +1 -1
  5. package/dist/chunks/{index-wvwkg6PD.es.js → index-M9d0bJ9k.es.js} +12 -7
  6. package/dist/chunks/{index-C_RM2IcG.cjs → index-QkGtTLUE.cjs} +12 -7
  7. package/dist/chunks/{index-BO0dc2dg-BiqxnA1k.cjs → index-_8cQcYzu-CB4RkW2W.cjs} +1 -1
  8. package/dist/chunks/{index-BO0dc2dg-DpvJHkle.es.js → index-_8cQcYzu-Dj8Emsl2.es.js} +1 -1
  9. package/dist/chunks/{jszip-BP2FTbpi.cjs → jszip-B99MTu59.cjs} +1 -1
  10. package/dist/chunks/{jszip-jKrsZoMS.es.js → jszip-Duxs2YMV.es.js} +1 -1
  11. package/dist/chunks/{super-editor.es-VtmcJzKs.cjs → super-editor.es-C-hpEM8j.cjs} +745 -623
  12. package/dist/chunks/{super-editor.es-CfMROBHl.es.js → super-editor.es-kNY6AOSu.es.js} +698 -576
  13. package/dist/chunks/{vue-Cwv-wUpm.cjs → vue-ARQSyfaw.cjs} +2401 -2360
  14. package/dist/chunks/{vue-CKmzTNVs.es.js → vue-B5QAf5pA.es.js} +2401 -2360
  15. package/dist/chunks/xml-js-CVyfrKaV.es.js +2 -0
  16. package/dist/chunks/xml-js-DQa4Ye5C.cjs +3 -0
  17. package/dist/packages/superdoc/src/components/CommentsLayer/use-comment.d.ts.map +1 -1
  18. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  19. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  20. package/dist/packages/superdoc/src/stores/comments-store.d.ts.map +1 -1
  21. package/dist/super-editor/ai-writer.es.js +2 -2
  22. package/dist/super-editor/chunks/{converter-PA_XpTWF.js → converter-Ddl2ZmKy.js} +397 -296
  23. package/dist/super-editor/chunks/{docx-zipper-gaQWcuwh.js → docx-zipper-D1BgiAWm.js} +1 -1
  24. package/dist/super-editor/chunks/{editor-CAqYW4R2.js → editor-B2T2u3JG.js} +35 -14
  25. package/dist/super-editor/chunks/{index-BO0dc2dg.js → index-_8cQcYzu.js} +1 -1
  26. package/dist/super-editor/chunks/{toolbar-BgNvrbei.js → toolbar-hyRTdNjv.js} +2 -2
  27. package/dist/super-editor/converter.es.js +1 -1
  28. package/dist/super-editor/docx-zipper.es.js +2 -2
  29. package/dist/super-editor/editor.es.js +3 -3
  30. package/dist/super-editor/file-zipper.es.js +1 -1
  31. package/dist/super-editor/super-editor/src/core/super-converter/helpers.d.ts.map +1 -1
  32. package/dist/super-editor/super-editor/src/core/super-converter/v2/exporter/commentsExporter.d.ts.map +1 -1
  33. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  34. package/dist/super-editor/super-editor.es.js +6 -6
  35. package/dist/super-editor/toolbar.es.js +2 -2
  36. package/dist/super-editor.cjs +2 -2
  37. package/dist/super-editor.es.js +2 -2
  38. package/dist/superdoc.cjs +2 -2
  39. package/dist/superdoc.es.js +2 -2
  40. package/dist/superdoc.umd.js +1092 -925
  41. package/dist/superdoc.umd.js.map +1 -1
  42. package/package.json +1 -1
  43. package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
  44. package/dist/chunks/xml-js-CBrRls0f.es.js +0 -2
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const vue = require("./vue-Cwv-wUpm.cjs");
2
+ const vue = require("./vue-ARQSyfaw.cjs");
3
3
  const Y = require("yjs");
4
4
  function _interopNamespaceDefault(e) {
5
5
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -433,17 +433,17 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
433
433
  );
434
434
  }
435
435
  if (a === b2) return 0;
436
- let x = a.length;
436
+ let x2 = a.length;
437
437
  let y2 = b2.length;
438
- for (let i = 0, len = Math.min(x, y2); i < len; ++i) {
438
+ for (let i = 0, len = Math.min(x2, y2); i < len; ++i) {
439
439
  if (a[i] !== b2[i]) {
440
- x = a[i];
440
+ x2 = a[i];
441
441
  y2 = b2[i];
442
442
  break;
443
443
  }
444
444
  }
445
- if (x < y2) return -1;
446
- if (y2 < x) return 1;
445
+ if (x2 < y2) return -1;
446
+ if (y2 < x2) return 1;
447
447
  return 0;
448
448
  };
449
449
  Buffer3.isEncoding = function isEncoding(encoding) {
@@ -692,20 +692,20 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
692
692
  thisStart >>>= 0;
693
693
  thisEnd >>>= 0;
694
694
  if (this === target) return 0;
695
- let x = thisEnd - thisStart;
695
+ let x2 = thisEnd - thisStart;
696
696
  let y2 = end2 - start2;
697
- const len = Math.min(x, y2);
697
+ const len = Math.min(x2, y2);
698
698
  const thisCopy = this.slice(thisStart, thisEnd);
699
699
  const targetCopy = target.slice(start2, end2);
700
700
  for (let i = 0; i < len; ++i) {
701
701
  if (thisCopy[i] !== targetCopy[i]) {
702
- x = thisCopy[i];
702
+ x2 = thisCopy[i];
703
703
  y2 = targetCopy[i];
704
704
  break;
705
705
  }
706
706
  }
707
- if (x < y2) return -1;
708
- if (y2 < x) return 1;
707
+ if (x2 < y2) return -1;
708
+ if (y2 < x2) return 1;
709
709
  return 0;
710
710
  };
711
711
  function bidirectionalIndexOf(buffer2, val, byteOffset, encoding, dir) {
@@ -1795,8 +1795,8 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
1795
1795
  })(buffer);
1796
1796
  const Buffer2 = buffer.Buffer;
1797
1797
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof vue.global !== "undefined" ? vue.global : typeof self !== "undefined" ? self : {};
1798
- function getDefaultExportFromCjs$2(x) {
1799
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
1798
+ function getDefaultExportFromCjs$2(x2) {
1799
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
1800
1800
  }
1801
1801
  var sax = {};
1802
1802
  var events$1 = { exports: {} };
@@ -1804,13 +1804,13 @@ var hasRequiredEvents;
1804
1804
  function requireEvents() {
1805
1805
  if (hasRequiredEvents) return events$1.exports;
1806
1806
  hasRequiredEvents = 1;
1807
- var R2 = typeof Reflect === "object" ? Reflect : null;
1808
- var ReflectApply = R2 && typeof R2.apply === "function" ? R2.apply : function ReflectApply2(target, receiver, args) {
1807
+ var R = typeof Reflect === "object" ? Reflect : null;
1808
+ var ReflectApply = R && typeof R.apply === "function" ? R.apply : function ReflectApply2(target, receiver, args) {
1809
1809
  return Function.prototype.apply.call(target, receiver, args);
1810
1810
  };
1811
1811
  var ReflectOwnKeys;
1812
- if (R2 && typeof R2.ownKeys === "function") {
1813
- ReflectOwnKeys = R2.ownKeys;
1812
+ if (R && typeof R.ownKeys === "function") {
1813
+ ReflectOwnKeys = R.ownKeys;
1814
1814
  } else if (Object.getOwnPropertySymbols) {
1815
1815
  ReflectOwnKeys = function ReflectOwnKeys2(target) {
1816
1816
  return Object.getOwnPropertyNames(target).concat(Object.getOwnPropertySymbols(target));
@@ -2200,8 +2200,8 @@ function requireInherits_browser() {
2200
2200
  }
2201
2201
  return inherits_browser.exports;
2202
2202
  }
2203
- function getDefaultExportFromCjs$1(x) {
2204
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
2203
+ function getDefaultExportFromCjs$1(x2) {
2204
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
2205
2205
  }
2206
2206
  var browser$1 = { exports: {} };
2207
2207
  var process$1 = browser$1.exports = {};
@@ -2782,17 +2782,17 @@ function requireDist() {
2782
2782
  );
2783
2783
  }
2784
2784
  if (a === b2) return 0;
2785
- let x = a.length;
2785
+ let x2 = a.length;
2786
2786
  let y2 = b2.length;
2787
- for (let i2 = 0, len2 = Math.min(x, y2); i2 < len2; ++i2) {
2787
+ for (let i2 = 0, len2 = Math.min(x2, y2); i2 < len2; ++i2) {
2788
2788
  if (a[i2] !== b2[i2]) {
2789
- x = a[i2];
2789
+ x2 = a[i2];
2790
2790
  y2 = b2[i2];
2791
2791
  break;
2792
2792
  }
2793
2793
  }
2794
- if (x < y2) return -1;
2795
- if (y2 < x) return 1;
2794
+ if (x2 < y2) return -1;
2795
+ if (y2 < x2) return 1;
2796
2796
  return 0;
2797
2797
  };
2798
2798
  Buffer4.isEncoding = function isEncoding(encoding) {
@@ -3041,20 +3041,20 @@ function requireDist() {
3041
3041
  thisStart >>>= 0;
3042
3042
  thisEnd >>>= 0;
3043
3043
  if (this === target) return 0;
3044
- let x = thisEnd - thisStart;
3044
+ let x2 = thisEnd - thisStart;
3045
3045
  let y2 = end2 - start2;
3046
- const len2 = Math.min(x, y2);
3046
+ const len2 = Math.min(x2, y2);
3047
3047
  const thisCopy = this.slice(thisStart, thisEnd);
3048
3048
  const targetCopy = target.slice(start2, end2);
3049
3049
  for (let i2 = 0; i2 < len2; ++i2) {
3050
3050
  if (thisCopy[i2] !== targetCopy[i2]) {
3051
- x = thisCopy[i2];
3051
+ x2 = thisCopy[i2];
3052
3052
  y2 = targetCopy[i2];
3053
3053
  break;
3054
3054
  }
3055
3055
  }
3056
- if (x < y2) return -1;
3057
- if (y2 < x) return 1;
3056
+ if (x2 < y2) return -1;
3057
+ if (y2 < x2) return 1;
3058
3058
  return 0;
3059
3059
  };
3060
3060
  function bidirectionalIndexOf(buffer3, val, byteOffset, encoding, dir) {
@@ -4626,15 +4626,15 @@ function requireGetProto() {
4626
4626
  var reflectGetProto = requireReflect_getPrototypeOf();
4627
4627
  var originalGetProto = requireObject_getPrototypeOf();
4628
4628
  var getDunderProto = /* @__PURE__ */ requireGet();
4629
- getProto = reflectGetProto ? function getProto2(O2) {
4630
- return reflectGetProto(O2);
4631
- } : originalGetProto ? function getProto2(O2) {
4632
- if (!O2 || typeof O2 !== "object" && typeof O2 !== "function") {
4629
+ getProto = reflectGetProto ? function getProto2(O) {
4630
+ return reflectGetProto(O);
4631
+ } : originalGetProto ? function getProto2(O) {
4632
+ if (!O || typeof O !== "object" && typeof O !== "function") {
4633
4633
  throw new TypeError("getProto: not an object");
4634
4634
  }
4635
- return originalGetProto(O2);
4636
- } : getDunderProto ? function getProto2(O2) {
4637
- return getDunderProto(O2);
4635
+ return originalGetProto(O);
4636
+ } : getDunderProto ? function getProto2(O) {
4637
+ return getDunderProto(O);
4638
4638
  } : null;
4639
4639
  return getProto;
4640
4640
  }
@@ -5312,8 +5312,8 @@ function requireForEach() {
5312
5312
  }
5313
5313
  }
5314
5314
  };
5315
- function isArray2(x) {
5316
- return toStr.call(x) === "[object Array]";
5315
+ function isArray2(x2) {
5316
+ return toStr.call(x2) === "[object Array]";
5317
5317
  }
5318
5318
  forEach = function forEach22(list, iterator, thisArg) {
5319
5319
  if (!isCallable2(iterator)) {
@@ -5922,10 +5922,10 @@ function requireUtil() {
5922
5922
  var i = 1;
5923
5923
  var args = arguments;
5924
5924
  var len = args.length;
5925
- var str = String(f2).replace(formatRegExp, function(x2) {
5926
- if (x2 === "%%") return "%";
5927
- if (i >= len) return x2;
5928
- switch (x2) {
5925
+ var str = String(f2).replace(formatRegExp, function(x3) {
5926
+ if (x3 === "%%") return "%";
5927
+ if (i >= len) return x3;
5928
+ switch (x3) {
5929
5929
  case "%s":
5930
5930
  return String(args[i++]);
5931
5931
  case "%d":
@@ -5937,14 +5937,14 @@ function requireUtil() {
5937
5937
  return "[Circular]";
5938
5938
  }
5939
5939
  default:
5940
- return x2;
5940
+ return x3;
5941
5941
  }
5942
5942
  });
5943
- for (var x = args[i]; i < len; x = args[++i]) {
5944
- if (isNull(x) || !isObject2(x)) {
5945
- str += " " + x;
5943
+ for (var x2 = args[i]; i < len; x2 = args[++i]) {
5944
+ if (isNull(x2) || !isObject2(x2)) {
5945
+ str += " " + x2;
5946
5946
  } else {
5947
- str += " " + inspect(x);
5947
+ str += " " + inspect(x2);
5948
5948
  }
5949
5949
  }
5950
5950
  return str;
@@ -7509,6 +7509,7 @@ function require_stream_duplex() {
7509
7509
  }
7510
7510
  var string_decoder = {};
7511
7511
  var safeBuffer = { exports: {} };
7512
+ /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
7512
7513
  var hasRequiredSafeBuffer;
7513
7514
  function requireSafeBuffer() {
7514
7515
  if (hasRequiredSafeBuffer) return safeBuffer.exports;
@@ -7530,6 +7531,7 @@ function requireSafeBuffer() {
7530
7531
  function SafeBuffer(arg, encodingOrOffset, length2) {
7531
7532
  return Buffer3(arg, encodingOrOffset, length2);
7532
7533
  }
7534
+ SafeBuffer.prototype = Object.create(Buffer3.prototype);
7533
7535
  copyProps(Buffer3, SafeBuffer);
7534
7536
  SafeBuffer.from = function(arg, encodingOrOffset, length2) {
7535
7537
  if (typeof arg === "number") {
@@ -8807,9 +8809,9 @@ function require_stream_readable() {
8807
8809
  return from2(Readable, iterable, opts);
8808
8810
  };
8809
8811
  }
8810
- function indexOf(xs, x) {
8812
+ function indexOf(xs, x2) {
8811
8813
  for (var i = 0, l3 = xs.length; i < l3; i++) {
8812
- if (xs[i] === x) return i;
8814
+ if (xs[i] === x2) return i;
8813
8815
  }
8814
8816
  return -1;
8815
8817
  }
@@ -9267,27 +9269,27 @@ function requireSax() {
9267
9269
  this._parser = new SAXParser(strict, opt);
9268
9270
  this.writable = true;
9269
9271
  this.readable = true;
9270
- var me = this;
9272
+ var me2 = this;
9271
9273
  this._parser.onend = function() {
9272
- me.emit("end");
9274
+ me2.emit("end");
9273
9275
  };
9274
9276
  this._parser.onerror = function(er) {
9275
- me.emit("error", er);
9276
- me._parser.error = null;
9277
+ me2.emit("error", er);
9278
+ me2._parser.error = null;
9277
9279
  };
9278
9280
  this._decoder = null;
9279
9281
  streamWraps.forEach(function(ev) {
9280
- Object.defineProperty(me, "on" + ev, {
9282
+ Object.defineProperty(me2, "on" + ev, {
9281
9283
  get: function() {
9282
- return me._parser["on" + ev];
9284
+ return me2._parser["on" + ev];
9283
9285
  },
9284
- set: function(h2) {
9285
- if (!h2) {
9286
- me.removeAllListeners(ev);
9287
- me._parser["on" + ev] = h2;
9288
- return h2;
9286
+ set: function(h) {
9287
+ if (!h) {
9288
+ me2.removeAllListeners(ev);
9289
+ me2._parser["on" + ev] = h;
9290
+ return h;
9289
9291
  }
9290
- me.on(ev, h2);
9292
+ me2.on(ev, h);
9291
9293
  },
9292
9294
  enumerable: true,
9293
9295
  configurable: false
@@ -9319,15 +9321,15 @@ function requireSax() {
9319
9321
  return true;
9320
9322
  };
9321
9323
  SAXStream.prototype.on = function(ev, handler2) {
9322
- var me = this;
9323
- if (!me._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9324
- me._parser["on" + ev] = function() {
9324
+ var me2 = this;
9325
+ if (!me2._parser["on" + ev] && streamWraps.indexOf(ev) !== -1) {
9326
+ me2._parser["on" + ev] = function() {
9325
9327
  var args = arguments.length === 1 ? [arguments[0]] : Array.apply(null, arguments);
9326
9328
  args.splice(0, 0, ev);
9327
- me.emit.apply(me, args);
9329
+ me2.emit.apply(me2, args);
9328
9330
  };
9329
9331
  }
9330
- return Stream.prototype.on.call(me, ev, handler2);
9332
+ return Stream.prototype.on.call(me2, ev, handler2);
9331
9333
  };
9332
9334
  var CDATA = "[CDATA[";
9333
9335
  var DOCTYPE = "DOCTYPE";
@@ -9919,9 +9921,9 @@ function requireSax() {
9919
9921
  var tag = parser.tag = parser.tags.pop();
9920
9922
  parser.tagName = parser.tag.name;
9921
9923
  emitNode(parser, "onclosetag", parser.tagName);
9922
- var x = {};
9924
+ var x2 = {};
9923
9925
  for (var i in tag.ns) {
9924
- x[i] = tag.ns[i];
9926
+ x2[i] = tag.ns[i];
9925
9927
  }
9926
9928
  var parent = parser.tags[parser.tags.length - 1] || parser;
9927
9929
  if (parser.opt.xmlns && tag.ns !== parent.ns) {
@@ -11401,8 +11403,8 @@ function v4(options, buf, offset2) {
11401
11403
  rnds[8] = rnds[8] & 63 | 128;
11402
11404
  return unsafeStringify(rnds);
11403
11405
  }
11404
- function getDefaultExportFromCjs(x) {
11405
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
11406
+ function getDefaultExportFromCjs(x2) {
11407
+ return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
11406
11408
  }
11407
11409
  const CRC_TABLE = new Int32Array([
11408
11410
  0,
@@ -15218,8 +15220,8 @@ function polygonToObj(polygonNode) {
15218
15220
  const points = [];
15219
15221
  polygonNode.elements.forEach((element) => {
15220
15222
  if (["wp:start", "wp:lineTo"].includes(element.name)) {
15221
- const { x, y: y2 } = element.attributes;
15222
- points.push([polygonUnitsToPixels(x), polygonUnitsToPixels(y2)]);
15223
+ const { x: x2, y: y2 } = element.attributes;
15224
+ points.push([polygonUnitsToPixels(x2), polygonUnitsToPixels(y2)]);
15223
15225
  }
15224
15226
  });
15225
15227
  if (points.length > 1) {
@@ -15242,13 +15244,13 @@ function objToPolygon(points) {
15242
15244
  elements: []
15243
15245
  };
15244
15246
  points.forEach((point, index2) => {
15245
- const [x, y2] = point;
15247
+ const [x2, y2] = point;
15246
15248
  const tagName = index2 === 0 ? "wp:start" : "wp:lineTo";
15247
15249
  const pointNode = {
15248
15250
  name: tagName,
15249
15251
  type: tagName,
15250
15252
  attributes: {
15251
- x: pixelsToPolygonUnits(x),
15253
+ x: pixelsToPolygonUnits(x2),
15252
15254
  y: pixelsToPolygonUnits(y2)
15253
15255
  }
15254
15256
  };
@@ -15397,6 +15399,9 @@ const getLineHeightValueString = (lineHeight2, defaultUnit, lineRule = "", isObj
15397
15399
  let [value, unit] = parseSizeUnit(lineHeight2);
15398
15400
  if (Number.isNaN(value) || value === 0) return {};
15399
15401
  if (lineRule === "atLeast" && value < 1) return {};
15402
+ if (!unit && value < 1) {
15403
+ value = 1;
15404
+ }
15400
15405
  unit = unit ? unit : defaultUnit;
15401
15406
  return isObject2 ? { ["line-height"]: `${value}${unit}` } : `line-height: ${value}${unit}`;
15402
15407
  };
@@ -22910,7 +22915,7 @@ function posToDOMRect(view, from2, to) {
22910
22915
  const right2 = Math.max(start2.right, end2.right);
22911
22916
  const width = right2 - left2;
22912
22917
  const height = bottom2 - top2;
22913
- const x = left2;
22918
+ const x2 = left2;
22914
22919
  const y2 = top2;
22915
22920
  const data = {
22916
22921
  top: top2,
@@ -22919,7 +22924,7 @@ function posToDOMRect(view, from2, to) {
22919
22924
  right: right2,
22920
22925
  width,
22921
22926
  height,
22922
- x,
22927
+ x: x2,
22923
22928
  y: y2
22924
22929
  };
22925
22930
  return {
@@ -23008,25 +23013,31 @@ function createDocFromHTML(content, schema, options = {}) {
23008
23013
  function L() {
23009
23014
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
23010
23015
  }
23011
- var O = L();
23016
+ var T = L();
23012
23017
  function G(l3) {
23013
- O = l3;
23018
+ T = l3;
23014
23019
  }
23015
23020
  var E = { exec: () => null };
23016
- function h(l3, e = "") {
23021
+ function d$1(l3, e = "") {
23017
23022
  let t = typeof l3 == "string" ? l3 : l3.source, n = { replace: (r2, i) => {
23018
23023
  let s2 = typeof i == "string" ? i : i.source;
23019
23024
  return s2 = s2.replace(m.caret, "$1"), t = t.replace(r2, s2), n;
23020
23025
  }, getRegex: () => new RegExp(t, e) };
23021
23026
  return n;
23022
23027
  }
23023
- var m = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (l3) => new RegExp(`^( {0,3}${l3})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}#`), htmlBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}<(?:[a-z].*>|!--)`, "i") }, xe = /^(?:[ \t]*(?:\n|$))+/, be = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Re = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, C = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Oe = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, j = /(?:[*+-]|\d{1,9}[.)])/, se = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, ie$2 = h(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Te = h(se).replace(/bull/g, j).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), F = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, we = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, ye = h(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Pe = h(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, j).getRegex(), v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Se = h("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), oe = h(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), $e = h(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", oe).getRegex(), K$1 = { blockquote: $e, code: be, def: ye, fences: Re, heading: Oe, hr: C, html: Se, lheading: ie$2, list: Pe, newline: xe, paragraph: oe, table: E, text: we }, re = h("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), _e = { ...K$1, lheading: Te, table: re, paragraph: h(F).replace("hr", C).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex() }, Le = { ...K$1, html: h(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: E, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: h(F).replace("hr", C).replace("heading", ` *#{1,6} *[^
23024
- ]`).replace("lheading", ie$2).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Me = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, ze = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, ae = /^( {2,}|\\)\n(?!\s*$)/, Ae = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, le = /[^\s\p{P}\p{S}]/u, Ee = h(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), ue = /(?!~)[\p{P}\p{S}]/u, Ce = /(?!~)[\s\p{P}\p{S}]/u, Ie = /(?:[^\s\p{P}\p{S}]|~)/u, Be = /\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g, pe = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, qe = h(pe, "u").replace(/punct/g, D).getRegex(), ve = h(pe, "u").replace(/punct/g, ue).getRegex(), ce = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", De = h(ce, "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), He = h(ce, "gu").replace(/notPunctSpace/g, Ie).replace(/punctSpace/g, Ce).replace(/punct/g, ue).getRegex(), Ze = h("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, le).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ge = h(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), Ne = h(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), je = h(U).replace("(?:-->|$)", "-->").getRegex(), Fe = h("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", je).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/, Qe = h(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), he$3 = h(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), de = h(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), Ue = h("reflink|nolink(?!\\()", "g").replace("reflink", he$3).replace("nolink", de).getRegex(), X = { _backpedal: E, anyPunctuation: Ge, autolink: Ne, blockSkip: Be, br: ae, code: ze, del: E, emStrongLDelim: qe, emStrongRDelimAst: De, emStrongRDelimUnd: Ze, escape: Me, link: Qe, nolink: de, punctuation: Ee, reflink: he$3, reflinkSearch: Ue, tag: Fe, text: Ae, url: E }, Ke = { ...X, link: h(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: h(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, N = { ...X, emStrongRDelimAst: He, emStrongLDelim: ve, url: h(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/ }, We = { ...N, br: h(ae).replace("{2,}", "*").getRegex(), text: h(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, I = { normal: K$1, gfm: _e, pedantic: Le }, M$1 = { normal: X, gfm: N, breaks: We, pedantic: Ke };
23025
- var Xe = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ke = (l3) => Xe[l3];
23028
+ var be = (() => {
23029
+ try {
23030
+ return !!new RegExp("(?<=1)(?<!1)");
23031
+ } catch {
23032
+ return false;
23033
+ }
23034
+ })(), m = { codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm, outputLinkReplace: /\\([\[\]])/g, indentCodeCompensation: /^(\s+)(?:```)/, beginningSpace: /^\s+/, endingHash: /#$/, startingSpaceChar: /^ /, endingSpaceChar: / $/, nonSpaceChar: /[^ ]/, newLineCharGlobal: /\n/g, tabCharGlobal: /\t/g, multipleSpaceGlobal: /\s+/g, blankLine: /^[ \t]*$/, doubleBlankLine: /\n[ \t]*\n[ \t]*$/, blockquoteStart: /^ {0,3}>/, blockquoteSetextReplace: /\n {0,3}((?:=+|-+) *)(?=\n|$)/g, blockquoteSetextReplace2: /^ {0,3}>[ \t]?/gm, listReplaceTabs: /^\t+/, listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g, listIsTask: /^\[[ xX]\] /, listReplaceTask: /^\[[ xX]\] +/, anyLine: /\n.*\n/, hrefBrackets: /^<(.*)>$/, tableDelimiter: /[:|]/, tableAlignChars: /^\||\| *$/g, tableRowBlankLine: /\n[ \t]*$/, tableAlignRight: /^ *-+: *$/, tableAlignCenter: /^ *:-+: *$/, tableAlignLeft: /^ *:-+ *$/, startATag: /^<a /i, endATag: /^<\/a>/i, startPreScriptTag: /^<(pre|code|kbd|script)(\s|>)/i, endPreScriptTag: /^<\/(pre|code|kbd|script)(\s|>)/i, startAngleBracket: /^</, endAngleBracket: />$/, pedanticHrefTitle: /^([^'"]*[^\s])\s+(['"])(.*)\2/, unicodeAlphaNumeric: /[\p{L}\p{N}]/u, escapeTest: /[&<>"']/, escapeReplace: /[&<>"']/g, escapeTestNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/, escapeReplaceNoEncode: /[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g, unescapeTest: /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig, caret: /(^|[^\[])\^/g, percentDecode: /%25/g, findPipe: /\|/g, splitPipe: / \|/, slashPipe: /\\\|/g, carriageReturn: /\r\n|\r/g, spaceLine: /^ +$/gm, notSpaceStart: /^\S*/, endingNewline: /\n$/, listItemRegex: (l3) => new RegExp(`^( {0,3}${l3})((?:[ ][^\\n]*)?(?:\\n|$))`), nextBulletRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), hrRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), fencesBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}(?:\`\`\`|~~~)`), headingBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}#`), htmlBeginRegex: (l3) => new RegExp(`^ {0,${Math.min(3, l3 - 1)}}<(?:[a-z].*>|!--)`, "i") }, Re = /^(?:[ \t]*(?:\n|$))+/, Te = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Oe = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, I = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, we = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, F = /(?:[*+-]|\d{1,9}[.)])/, ie$2 = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, oe = d$1(ie$2).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), ye = d$1(ie$2).replace(/bull/g, F).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), j = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pe = /^[^\n]+/, Q = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Se = d$1(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Q).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), $e = d$1(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, F).getRegex(), v = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", U = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, _e = d$1("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", U).replace("tag", v).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), ae = d$1(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), Le = d$1(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", ae).getRegex(), K$1 = { blockquote: Le, code: Te, def: Se, fences: Oe, heading: we, hr: I, html: _e, lheading: oe, list: $e, newline: Re, paragraph: ae, table: E, text: Pe }, re = d$1("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex(), Me = { ...K$1, lheading: ye, table: re, paragraph: d$1(j).replace("hr", I).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", re).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", v).getRegex() }, ze = { ...K$1, html: d$1(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", U).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(), def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, heading: /^(#{1,6})(.*)(?:\n+|$)/, fences: E, lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/, paragraph: d$1(j).replace("hr", I).replace("heading", ` *#{1,6} *[^
23035
+ ]`).replace("lheading", oe).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex() }, Ae = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Ee = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, le = /^( {2,}|\\)\n(?!\s*$)/, Ie = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, D = /[\p{P}\p{S}]/u, W = /[\s\p{P}\p{S}]/u, ue = /[^\s\p{P}\p{S}]/u, Ce = d$1(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, W).getRegex(), pe = /(?!~)[\p{P}\p{S}]/u, Be = /(?!~)[\s\p{P}\p{S}]/u, qe = /(?:[^\s\p{P}\p{S}]|~)/u, ve = d$1(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", be ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ce = /^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/, De = d$1(ce, "u").replace(/punct/g, D).getRegex(), He = d$1(ce, "u").replace(/punct/g, pe).getRegex(), he$3 = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Ze = d$1(he$3, "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Ge = d$1(he$3, "gu").replace(/notPunctSpace/g, qe).replace(/punctSpace/g, Be).replace(/punct/g, pe).getRegex(), Ne = d$1("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, ue).replace(/punctSpace/g, W).replace(/punct/g, D).getRegex(), Fe = d$1(/\\(punct)/, "gu").replace(/punct/g, D).getRegex(), je = d$1(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), Qe = d$1(U).replace("(?:-->|$)", "-->").getRegex(), Ue = d$1("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", Qe).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), q = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/, Ke = d$1(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label", q).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), de = d$1(/^!?\[(label)\]\[(ref)\]/).replace("label", q).replace("ref", Q).getRegex(), ke = d$1(/^!?\[(ref)\](?:\[\])?/).replace("ref", Q).getRegex(), We = d$1("reflink|nolink(?!\\()", "g").replace("reflink", de).replace("nolink", ke).getRegex(), se = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, X = { _backpedal: E, anyPunctuation: Fe, autolink: je, blockSkip: ve, br: le, code: Ee, del: E, emStrongLDelim: De, emStrongRDelimAst: Ze, emStrongRDelimUnd: Ne, escape: Ae, link: Ke, nolink: ke, punctuation: Ce, reflink: de, reflinkSearch: We, tag: Ue, text: Ie, url: E }, Xe = { ...X, link: d$1(/^!?\[(label)\]\((.*?)\)/).replace("label", q).getRegex(), reflink: d$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", q).getRegex() }, N = { ...X, emStrongRDelimAst: Ge, emStrongLDelim: He, url: d$1(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", se).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(), _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/, del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/, text: d$1(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", se).getRegex() }, Je = { ...N, br: d$1(le).replace("{2,}", "*").getRegex(), text: d$1(N.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex() }, C = { normal: K$1, gfm: Me, pedantic: ze }, M$1 = { normal: X, gfm: N, breaks: Je, pedantic: Xe };
23036
+ var Ve = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ge = (l3) => Ve[l3];
23026
23037
  function w(l3, e) {
23027
23038
  if (e) {
23028
- if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ke);
23029
- } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ke);
23039
+ if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ge);
23040
+ } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ge);
23030
23041
  return l3;
23031
23042
  }
23032
23043
  function J(l3) {
@@ -23038,10 +23049,10 @@ function J(l3) {
23038
23049
  return l3;
23039
23050
  }
23040
23051
  function V(l3, e) {
23041
- let t = l3.replace(m.findPipe, (i, s2, o) => {
23042
- let a = false, u = s2;
23043
- for (; --u >= 0 && o[u] === "\\"; ) a = !a;
23044
- return a ? "|" : " |";
23052
+ let t = l3.replace(m.findPipe, (i, s2, a) => {
23053
+ let o = false, p = s2;
23054
+ for (; --p >= 0 && a[p] === "\\"; ) o = !o;
23055
+ return o ? "|" : " |";
23045
23056
  }), n = t.split(m.splitPipe), r2 = 0;
23046
23057
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), e) if (n.length > e) n.splice(e);
23047
23058
  else for (; n.length < e; ) n.push("");
@@ -23059,7 +23070,7 @@ function z(l3, e, t) {
23059
23070
  }
23060
23071
  return l3.slice(0, n - r2);
23061
23072
  }
23062
- function ge(l3, e) {
23073
+ function fe(l3, e) {
23063
23074
  if (l3.indexOf(e[1]) === -1) return -1;
23064
23075
  let t = 0;
23065
23076
  for (let n = 0; n < l3.length; n++) if (l3[n] === "\\") n++;
@@ -23067,13 +23078,13 @@ function ge(l3, e) {
23067
23078
  else if (l3[n] === e[1] && (t--, t < 0)) return n;
23068
23079
  return t > 0 ? -2 : -1;
23069
23080
  }
23070
- function fe(l3, e, t, n, r2) {
23071
- let i = e.href, s2 = e.title || null, o = l3[1].replace(r2.other.outputLinkReplace, "$1");
23081
+ function me(l3, e, t, n, r2) {
23082
+ let i = e.href, s2 = e.title || null, a = l3[1].replace(r2.other.outputLinkReplace, "$1");
23072
23083
  n.state.inLink = true;
23073
- let a = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: o, tokens: n.inlineTokens(o) };
23074
- return n.state.inLink = false, a;
23084
+ let o = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: a, tokens: n.inlineTokens(a) };
23085
+ return n.state.inLink = false, o;
23075
23086
  }
23076
- function Je(l3, e, t) {
23087
+ function Ye(l3, e, t) {
23077
23088
  let n = l3.match(t.other.indentCodeCompensation);
23078
23089
  if (n === null) return e;
23079
23090
  let r2 = n[1];
@@ -23081,8 +23092,8 @@ function Je(l3, e, t) {
23081
23092
  `).map((i) => {
23082
23093
  let s2 = i.match(t.other.beginningSpace);
23083
23094
  if (s2 === null) return i;
23084
- let [o] = s2;
23085
- return o.length >= r2.length ? i.slice(r2.length) : i;
23095
+ let [a] = s2;
23096
+ return a.length >= r2.length ? i.slice(r2.length) : i;
23086
23097
  }).join(`
23087
23098
  `);
23088
23099
  }
@@ -23091,7 +23102,7 @@ var y = class {
23091
23102
  __publicField$2(this, "options");
23092
23103
  __publicField$2(this, "rules");
23093
23104
  __publicField$2(this, "lexer");
23094
- this.options = e || O;
23105
+ this.options = e || T;
23095
23106
  }
23096
23107
  space(e) {
23097
23108
  let t = this.rules.block.newline.exec(e);
@@ -23108,7 +23119,7 @@ var y = class {
23108
23119
  fences(e) {
23109
23120
  let t = this.rules.block.fences.exec(e);
23110
23121
  if (t) {
23111
- let n = t[0], r2 = Je(n, t[3] || "", this.rules);
23122
+ let n = t[0], r2 = Ye(n, t[3] || "", this.rules);
23112
23123
  return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r2 };
23113
23124
  }
23114
23125
  }
@@ -23135,32 +23146,32 @@ var y = class {
23135
23146
  `).split(`
23136
23147
  `), r2 = "", i = "", s2 = [];
23137
23148
  for (; n.length > 0; ) {
23138
- let o = false, a = [], u;
23139
- for (u = 0; u < n.length; u++) if (this.rules.other.blockquoteStart.test(n[u])) a.push(n[u]), o = true;
23140
- else if (!o) a.push(n[u]);
23149
+ let a = false, o = [], p;
23150
+ for (p = 0; p < n.length; p++) if (this.rules.other.blockquoteStart.test(n[p])) o.push(n[p]), a = true;
23151
+ else if (!a) o.push(n[p]);
23141
23152
  else break;
23142
- n = n.slice(u);
23143
- let p = a.join(`
23144
- `), c2 = p.replace(this.rules.other.blockquoteSetextReplace, `
23153
+ n = n.slice(p);
23154
+ let u = o.join(`
23155
+ `), c2 = u.replace(this.rules.other.blockquoteSetextReplace, `
23145
23156
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
23146
23157
  r2 = r2 ? `${r2}
23147
- ${p}` : p, i = i ? `${i}
23158
+ ${u}` : u, i = i ? `${i}
23148
23159
  ${c2}` : c2;
23149
- let f2 = this.lexer.state.top;
23150
- if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = f2, n.length === 0) break;
23151
- let k2 = s2.at(-1);
23152
- if (k2?.type === "code") break;
23153
- if (k2?.type === "blockquote") {
23154
- let x = k2, g = x.raw + `
23160
+ let g = this.lexer.state.top;
23161
+ if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = g, n.length === 0) break;
23162
+ let h = s2.at(-1);
23163
+ if (h?.type === "code") break;
23164
+ if (h?.type === "blockquote") {
23165
+ let R = h, f2 = R.raw + `
23155
23166
  ` + n.join(`
23156
- `), T = this.blockquote(g);
23157
- s2[s2.length - 1] = T, r2 = r2.substring(0, r2.length - x.raw.length) + T.raw, i = i.substring(0, i.length - x.text.length) + T.text;
23167
+ `), O = this.blockquote(f2);
23168
+ s2[s2.length - 1] = O, r2 = r2.substring(0, r2.length - R.raw.length) + O.raw, i = i.substring(0, i.length - R.text.length) + O.text;
23158
23169
  break;
23159
- } else if (k2?.type === "list") {
23160
- let x = k2, g = x.raw + `
23170
+ } else if (h?.type === "list") {
23171
+ let R = h, f2 = R.raw + `
23161
23172
  ` + n.join(`
23162
- `), T = this.list(g);
23163
- s2[s2.length - 1] = T, r2 = r2.substring(0, r2.length - k2.raw.length) + T.raw, i = i.substring(0, i.length - x.raw.length) + T.raw, n = g.substring(s2.at(-1).raw.length).split(`
23173
+ `), O = this.list(f2);
23174
+ s2[s2.length - 1] = O, r2 = r2.substring(0, r2.length - h.raw.length) + O.raw, i = i.substring(0, i.length - R.raw.length) + O.raw, n = f2.substring(s2.at(-1).raw.length).split(`
23164
23175
  `);
23165
23176
  continue;
23166
23177
  }
@@ -23173,45 +23184,45 @@ ${c2}` : c2;
23173
23184
  if (t) {
23174
23185
  let n = t[1].trim(), r2 = n.length > 1, i = { type: "list", raw: "", ordered: r2, start: r2 ? +n.slice(0, -1) : "", loose: false, items: [] };
23175
23186
  n = r2 ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r2 ? n : "[*+-]");
23176
- let s2 = this.rules.other.listItemRegex(n), o = false;
23187
+ let s2 = this.rules.other.listItemRegex(n), a = false;
23177
23188
  for (; e; ) {
23178
- let u = false, p = "", c2 = "";
23189
+ let p = false, u = "", c2 = "";
23179
23190
  if (!(t = s2.exec(e)) || this.rules.block.hr.test(e)) break;
23180
- p = t[0], e = e.substring(p.length);
23181
- let f2 = t[2].split(`
23182
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), k2 = e.split(`
23183
- `, 1)[0], x = !f2.trim(), g = 0;
23184
- if (this.options.pedantic ? (g = 2, c2 = f2.trimStart()) : x ? g = t[1].length + 1 : (g = t[2].search(this.rules.other.nonSpaceChar), g = g > 4 ? 1 : g, c2 = f2.slice(g), g += t[1].length), x && this.rules.other.blankLine.test(k2) && (p += k2 + `
23185
- `, e = e.substring(k2.length + 1), u = true), !u) {
23186
- let H = this.rules.other.nextBulletRegex(g), ee = this.rules.other.hrRegex(g), te = this.rules.other.fencesBeginRegex(g), ne = this.rules.other.headingBeginRegex(g), me = this.rules.other.htmlBeginRegex(g);
23191
+ u = t[0], e = e.substring(u.length);
23192
+ let g = t[2].split(`
23193
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), h = e.split(`
23194
+ `, 1)[0], R = !g.trim(), f2 = 0;
23195
+ if (this.options.pedantic ? (f2 = 2, c2 = g.trimStart()) : R ? f2 = t[1].length + 1 : (f2 = t[2].search(this.rules.other.nonSpaceChar), f2 = f2 > 4 ? 1 : f2, c2 = g.slice(f2), f2 += t[1].length), R && this.rules.other.blankLine.test(h) && (u += h + `
23196
+ `, e = e.substring(h.length + 1), p = true), !p) {
23197
+ let H = this.rules.other.nextBulletRegex(f2), ee = this.rules.other.hrRegex(f2), te = this.rules.other.fencesBeginRegex(f2), ne = this.rules.other.headingBeginRegex(f2), xe = this.rules.other.htmlBeginRegex(f2);
23187
23198
  for (; e; ) {
23188
23199
  let Z = e.split(`
23189
23200
  `, 1)[0], A2;
23190
- if (k2 = Z, this.options.pedantic ? (k2 = k2.replace(this.rules.other.listReplaceNesting, " "), A2 = k2) : A2 = k2.replace(this.rules.other.tabCharGlobal, " "), te.test(k2) || ne.test(k2) || me.test(k2) || H.test(k2) || ee.test(k2)) break;
23191
- if (A2.search(this.rules.other.nonSpaceChar) >= g || !k2.trim()) c2 += `
23192
- ` + A2.slice(g);
23201
+ if (h = Z, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), A2 = h) : A2 = h.replace(this.rules.other.tabCharGlobal, " "), te.test(h) || ne.test(h) || xe.test(h) || H.test(h) || ee.test(h)) break;
23202
+ if (A2.search(this.rules.other.nonSpaceChar) >= f2 || !h.trim()) c2 += `
23203
+ ` + A2.slice(f2);
23193
23204
  else {
23194
- if (x || f2.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(f2) || ne.test(f2) || ee.test(f2)) break;
23205
+ if (R || g.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || te.test(g) || ne.test(g) || ee.test(g)) break;
23195
23206
  c2 += `
23196
- ` + k2;
23207
+ ` + h;
23197
23208
  }
23198
- !x && !k2.trim() && (x = true), p += Z + `
23199
- `, e = e.substring(Z.length + 1), f2 = A2.slice(g);
23209
+ !R && !h.trim() && (R = true), u += Z + `
23210
+ `, e = e.substring(Z.length + 1), g = A2.slice(f2);
23200
23211
  }
23201
23212
  }
23202
- i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (o = true));
23203
- let T = null, Y2;
23204
- this.options.gfm && (T = this.rules.other.listIsTask.exec(c2), T && (Y2 = T[0] !== "[ ] ", c2 = c2.replace(this.rules.other.listReplaceTask, ""))), i.items.push({ type: "list_item", raw: p, task: !!T, checked: Y2, loose: false, text: c2, tokens: [] }), i.raw += p;
23213
+ i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(u) && (a = true));
23214
+ let O = null, Y2;
23215
+ this.options.gfm && (O = this.rules.other.listIsTask.exec(c2), O && (Y2 = O[0] !== "[ ] ", c2 = c2.replace(this.rules.other.listReplaceTask, ""))), i.items.push({ type: "list_item", raw: u, task: !!O, checked: Y2, loose: false, text: c2, tokens: [] }), i.raw += u;
23205
23216
  }
23206
- let a = i.items.at(-1);
23207
- if (a) a.raw = a.raw.trimEnd(), a.text = a.text.trimEnd();
23217
+ let o = i.items.at(-1);
23218
+ if (o) o.raw = o.raw.trimEnd(), o.text = o.text.trimEnd();
23208
23219
  else return;
23209
23220
  i.raw = i.raw.trimEnd();
23210
- for (let u = 0; u < i.items.length; u++) if (this.lexer.state.top = false, i.items[u].tokens = this.lexer.blockTokens(i.items[u].text, []), !i.loose) {
23211
- let p = i.items[u].tokens.filter((f2) => f2.type === "space"), c2 = p.length > 0 && p.some((f2) => this.rules.other.anyLine.test(f2.raw));
23221
+ for (let p = 0; p < i.items.length; p++) if (this.lexer.state.top = false, i.items[p].tokens = this.lexer.blockTokens(i.items[p].text, []), !i.loose) {
23222
+ let u = i.items[p].tokens.filter((g) => g.type === "space"), c2 = u.length > 0 && u.some((g) => this.rules.other.anyLine.test(g.raw));
23212
23223
  i.loose = c2;
23213
23224
  }
23214
- if (i.loose) for (let u = 0; u < i.items.length; u++) i.items[u].loose = true;
23225
+ if (i.loose) for (let p = 0; p < i.items.length; p++) i.items[p].loose = true;
23215
23226
  return i;
23216
23227
  }
23217
23228
  }
@@ -23232,9 +23243,9 @@ ${c2}` : c2;
23232
23243
  let n = V(t[1]), r2 = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split(`
23233
23244
  `) : [], s2 = { type: "table", raw: t[0], header: [], align: [], rows: [] };
23234
23245
  if (n.length === r2.length) {
23235
- for (let o of r2) this.rules.other.tableAlignRight.test(o) ? s2.align.push("right") : this.rules.other.tableAlignCenter.test(o) ? s2.align.push("center") : this.rules.other.tableAlignLeft.test(o) ? s2.align.push("left") : s2.align.push(null);
23236
- for (let o = 0; o < n.length; o++) s2.header.push({ text: n[o], tokens: this.lexer.inline(n[o]), header: true, align: s2.align[o] });
23237
- for (let o of i) s2.rows.push(V(o, s2.header.length).map((a, u) => ({ text: a, tokens: this.lexer.inline(a), header: false, align: s2.align[u] })));
23246
+ for (let a of r2) this.rules.other.tableAlignRight.test(a) ? s2.align.push("right") : this.rules.other.tableAlignCenter.test(a) ? s2.align.push("center") : this.rules.other.tableAlignLeft.test(a) ? s2.align.push("left") : s2.align.push(null);
23247
+ for (let a = 0; a < n.length; a++) s2.header.push({ text: n[a], tokens: this.lexer.inline(n[a]), header: true, align: s2.align[a] });
23248
+ for (let a of i) s2.rows.push(V(a, s2.header.length).map((o, p) => ({ text: o, tokens: this.lexer.inline(o), header: false, align: s2.align[p] })));
23238
23249
  return s2;
23239
23250
  }
23240
23251
  }
@@ -23271,11 +23282,11 @@ ${c2}` : c2;
23271
23282
  let s2 = z(n.slice(0, -1), "\\");
23272
23283
  if ((n.length - s2.length) % 2 === 0) return;
23273
23284
  } else {
23274
- let s2 = ge(t[2], "()");
23285
+ let s2 = fe(t[2], "()");
23275
23286
  if (s2 === -2) return;
23276
23287
  if (s2 > -1) {
23277
- let a = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23278
- t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, a).trim(), t[3] = "";
23288
+ let o = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23289
+ t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, o).trim(), t[3] = "";
23279
23290
  }
23280
23291
  }
23281
23292
  let r2 = t[2], i = "";
@@ -23283,7 +23294,7 @@ ${c2}` : c2;
23283
23294
  let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
23284
23295
  s2 && (r2 = s2[1], i = s2[3]);
23285
23296
  } else i = t[3] ? t[3].slice(1, -1) : "";
23286
- return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), fe(t, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i && i.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
23297
+ return r2 = r2.trim(), this.rules.other.startAngleBracket.test(r2) && (this.options.pedantic && !this.rules.other.endAngleBracket.test(n) ? r2 = r2.slice(1) : r2 = r2.slice(1, -1)), me(t, { href: r2 && r2.replace(this.rules.inline.anyPunctuation, "$1"), title: i && i.replace(this.rules.inline.anyPunctuation, "$1") }, t[0], this.lexer, this.rules);
23287
23298
  }
23288
23299
  }
23289
23300
  reflink(e, t) {
@@ -23294,32 +23305,32 @@ ${c2}` : c2;
23294
23305
  let s2 = n[0].charAt(0);
23295
23306
  return { type: "text", raw: s2, text: s2 };
23296
23307
  }
23297
- return fe(n, i, n[0], this.lexer, this.rules);
23308
+ return me(n, i, n[0], this.lexer, this.rules);
23298
23309
  }
23299
23310
  }
23300
23311
  emStrong(e, t, n = "") {
23301
23312
  let r2 = this.rules.inline.emStrongLDelim.exec(e);
23302
23313
  if (!r2 || r2[3] && n.match(this.rules.other.unicodeAlphaNumeric)) return;
23303
23314
  if (!(r2[1] || r2[2] || "") || !n || this.rules.inline.punctuation.exec(n)) {
23304
- let s2 = [...r2[0]].length - 1, o, a, u = s2, p = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
23315
+ let s2 = [...r2[0]].length - 1, a, o, p = s2, u = 0, c2 = r2[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
23305
23316
  for (c2.lastIndex = 0, t = t.slice(-1 * e.length + s2); (r2 = c2.exec(t)) != null; ) {
23306
- if (o = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !o) continue;
23307
- if (a = [...o].length, r2[3] || r2[4]) {
23308
- u += a;
23317
+ if (a = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !a) continue;
23318
+ if (o = [...a].length, r2[3] || r2[4]) {
23319
+ p += o;
23309
23320
  continue;
23310
- } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + a) % 3)) {
23311
- p += a;
23321
+ } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + o) % 3)) {
23322
+ u += o;
23312
23323
  continue;
23313
23324
  }
23314
- if (u -= a, u > 0) continue;
23315
- a = Math.min(a, a + u + p);
23316
- let f2 = [...r2[0]][0].length, k2 = e.slice(0, s2 + r2.index + f2 + a);
23317
- if (Math.min(s2, a) % 2) {
23318
- let g = k2.slice(1, -1);
23319
- return { type: "em", raw: k2, text: g, tokens: this.lexer.inlineTokens(g) };
23325
+ if (p -= o, p > 0) continue;
23326
+ o = Math.min(o, o + p + u);
23327
+ let g = [...r2[0]][0].length, h = e.slice(0, s2 + r2.index + g + o);
23328
+ if (Math.min(s2, o) % 2) {
23329
+ let f2 = h.slice(1, -1);
23330
+ return { type: "em", raw: h, text: f2, tokens: this.lexer.inlineTokens(f2) };
23320
23331
  }
23321
- let x = k2.slice(2, -2);
23322
- return { type: "strong", raw: k2, text: x, tokens: this.lexer.inlineTokens(x) };
23332
+ let R = h.slice(2, -2);
23333
+ return { type: "strong", raw: h, text: R, tokens: this.lexer.inlineTokens(R) };
23323
23334
  }
23324
23335
  }
23325
23336
  }
@@ -23368,19 +23379,19 @@ ${c2}` : c2;
23368
23379
  }
23369
23380
  }
23370
23381
  };
23371
- var b = class l {
23382
+ var x = class l {
23372
23383
  constructor(e) {
23373
23384
  __publicField$2(this, "tokens");
23374
23385
  __publicField$2(this, "options");
23375
23386
  __publicField$2(this, "state");
23376
23387
  __publicField$2(this, "tokenizer");
23377
23388
  __publicField$2(this, "inlineQueue");
23378
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || O, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
23379
- let t = { other: m, block: I.normal, inline: M$1.normal };
23380
- this.options.pedantic ? (t.block = I.pedantic, t.inline = M$1.pedantic) : this.options.gfm && (t.block = I.gfm, this.options.breaks ? t.inline = M$1.breaks : t.inline = M$1.gfm), this.tokenizer.rules = t;
23389
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || T, this.options.tokenizer = this.options.tokenizer || new y(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: false, inRawBlock: false, top: true };
23390
+ let t = { other: m, block: C.normal, inline: M$1.normal };
23391
+ this.options.pedantic ? (t.block = C.pedantic, t.inline = M$1.pedantic) : this.options.gfm && (t.block = C.gfm, this.options.breaks ? t.inline = M$1.breaks : t.inline = M$1.gfm), this.tokenizer.rules = t;
23381
23392
  }
23382
23393
  static get rules() {
23383
- return { block: I, inline: M$1 };
23394
+ return { block: C, inline: M$1 };
23384
23395
  }
23385
23396
  static lex(e, t) {
23386
23397
  return new l(t).lex(e);
@@ -23460,9 +23471,9 @@ var b = class l {
23460
23471
  }
23461
23472
  let i = e;
23462
23473
  if (this.options.extensions?.startBlock) {
23463
- let s2 = 1 / 0, o = e.slice(1), a;
23464
- this.options.extensions.startBlock.forEach((u) => {
23465
- a = u.call({ lexer: this }, o), typeof a == "number" && a >= 0 && (s2 = Math.min(s2, a));
23474
+ let s2 = 1 / 0, a = e.slice(1), o;
23475
+ this.options.extensions.startBlock.forEach((p) => {
23476
+ o = p.call({ lexer: this }, a), typeof o == "number" && o >= 0 && (s2 = Math.min(s2, o));
23466
23477
  }), s2 < 1 / 0 && s2 >= 0 && (i = e.substring(0, s2 + 1));
23467
23478
  }
23468
23479
  if (this.state.top && (r2 = this.tokenizer.paragraph(i))) {
@@ -23502,11 +23513,12 @@ var b = class l {
23502
23513
  if (o.length > 0) for (; (r2 = this.tokenizer.rules.inline.reflinkSearch.exec(n)) != null; ) o.includes(r2[0].slice(r2[0].lastIndexOf("[") + 1, -1)) && (n = n.slice(0, r2.index) + "[" + "a".repeat(r2[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));
23503
23514
  }
23504
23515
  for (; (r2 = this.tokenizer.rules.inline.anyPunctuation.exec(n)) != null; ) n = n.slice(0, r2.index) + "++" + n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);
23505
- for (; (r2 = this.tokenizer.rules.inline.blockSkip.exec(n)) != null; ) n = n.slice(0, r2.index) + "[" + "a".repeat(r2[0].length - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
23516
+ let i;
23517
+ for (; (r2 = this.tokenizer.rules.inline.blockSkip.exec(n)) != null; ) i = r2[2] ? r2[2].length : 0, n = n.slice(0, r2.index + i) + "[" + "a".repeat(r2[0].length - i - 2) + "]" + n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);
23506
23518
  n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
23507
- let i = false, s2 = "";
23519
+ let s2 = false, a = "";
23508
23520
  for (; e; ) {
23509
- i || (s2 = ""), i = false;
23521
+ s2 || (a = ""), s2 = false;
23510
23522
  let o;
23511
23523
  if (this.options.extensions?.inline?.some((u) => (o = u.call({ lexer: this }, e, t)) ? (e = e.substring(o.raw.length), t.push(o), true) : false)) continue;
23512
23524
  if (o = this.tokenizer.escape(e)) {
@@ -23527,7 +23539,7 @@ var b = class l {
23527
23539
  o.type === "text" && u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23528
23540
  continue;
23529
23541
  }
23530
- if (o = this.tokenizer.emStrong(e, n, s2)) {
23542
+ if (o = this.tokenizer.emStrong(e, n, a)) {
23531
23543
  e = e.substring(o.raw.length), t.push(o);
23532
23544
  continue;
23533
23545
  }
@@ -23551,15 +23563,15 @@ var b = class l {
23551
23563
  e = e.substring(o.raw.length), t.push(o);
23552
23564
  continue;
23553
23565
  }
23554
- let a = e;
23566
+ let p = e;
23555
23567
  if (this.options.extensions?.startInline) {
23556
- let u = 1 / 0, p = e.slice(1), c2;
23557
- this.options.extensions.startInline.forEach((f2) => {
23558
- c2 = f2.call({ lexer: this }, p), typeof c2 == "number" && c2 >= 0 && (u = Math.min(u, c2));
23559
- }), u < 1 / 0 && u >= 0 && (a = e.substring(0, u + 1));
23568
+ let u = 1 / 0, c2 = e.slice(1), g;
23569
+ this.options.extensions.startInline.forEach((h) => {
23570
+ g = h.call({ lexer: this }, c2), typeof g == "number" && g >= 0 && (u = Math.min(u, g));
23571
+ }), u < 1 / 0 && u >= 0 && (p = e.substring(0, u + 1));
23560
23572
  }
23561
- if (o = this.tokenizer.inlineText(a)) {
23562
- e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (s2 = o.raw.slice(-1)), i = true;
23573
+ if (o = this.tokenizer.inlineText(p)) {
23574
+ e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (a = o.raw.slice(-1)), s2 = true;
23563
23575
  let u = t.at(-1);
23564
23576
  u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23565
23577
  continue;
@@ -23579,7 +23591,7 @@ var P = class {
23579
23591
  constructor(e) {
23580
23592
  __publicField$2(this, "options");
23581
23593
  __publicField$2(this, "parser");
23582
- this.options = e || O;
23594
+ this.options = e || T;
23583
23595
  }
23584
23596
  space(e) {
23585
23597
  return "";
@@ -23612,9 +23624,9 @@ ${this.parser.parse(e)}</blockquote>
23612
23624
  }
23613
23625
  list(e) {
23614
23626
  let t = e.ordered, n = e.start, r2 = "";
23615
- for (let o = 0; o < e.items.length; o++) {
23616
- let a = e.items[o];
23617
- r2 += this.listitem(a);
23627
+ for (let a = 0; a < e.items.length; a++) {
23628
+ let o = e.items[a];
23629
+ r2 += this.listitem(o);
23618
23630
  }
23619
23631
  let i = t ? "ol" : "ul", s2 = t && n !== 1 ? ' start="' + n + '"' : "";
23620
23632
  return "<" + i + s2 + `>
@@ -23645,7 +23657,7 @@ ${this.parser.parse(e)}</blockquote>
23645
23657
  for (let i = 0; i < e.rows.length; i++) {
23646
23658
  let s2 = e.rows[i];
23647
23659
  n = "";
23648
- for (let o = 0; o < s2.length; o++) n += this.tablecell(s2[o]);
23660
+ for (let a = 0; a < s2.length; a++) n += this.tablecell(s2[a]);
23649
23661
  r2 += this.tablerow({ text: n });
23650
23662
  }
23651
23663
  return r2 && (r2 = `<tbody>${r2}</tbody>`), `<table>
@@ -23727,12 +23739,12 @@ var $ = class {
23727
23739
  return "";
23728
23740
  }
23729
23741
  };
23730
- var R = class l2 {
23742
+ var b = class l2 {
23731
23743
  constructor(e) {
23732
23744
  __publicField$2(this, "options");
23733
23745
  __publicField$2(this, "renderer");
23734
23746
  __publicField$2(this, "textRenderer");
23735
- this.options = e || O, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new $();
23747
+ this.options = e || T, this.options.renderer = this.options.renderer || new P(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new $();
23736
23748
  }
23737
23749
  static parse(e, t) {
23738
23750
  return new l2(t).parse(e);
@@ -23745,9 +23757,9 @@ var R = class l2 {
23745
23757
  for (let r2 = 0; r2 < e.length; r2++) {
23746
23758
  let i = e[r2];
23747
23759
  if (this.options.extensions?.renderers?.[i.type]) {
23748
- let o = i, a = this.options.extensions.renderers[o.type].call({ parser: this }, o);
23749
- if (a !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(o.type)) {
23750
- n += a || "";
23760
+ let a = i, o = this.options.extensions.renderers[a.type].call({ parser: this }, a);
23761
+ if (o !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(a.type)) {
23762
+ n += o || "";
23751
23763
  continue;
23752
23764
  }
23753
23765
  }
@@ -23794,16 +23806,16 @@ var R = class l2 {
23794
23806
  continue;
23795
23807
  }
23796
23808
  case "text": {
23797
- let o = s2, a = this.renderer.text(o);
23798
- for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) o = e[++r2], a += `
23799
- ` + this.renderer.text(o);
23800
- t ? n += this.renderer.paragraph({ type: "paragraph", raw: a, text: a, tokens: [{ type: "text", raw: a, text: a, escaped: true }] }) : n += a;
23809
+ let a = s2, o = this.renderer.text(a);
23810
+ for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) a = e[++r2], o += `
23811
+ ` + this.renderer.text(a);
23812
+ t ? n += this.renderer.paragraph({ type: "paragraph", raw: o, text: o, tokens: [{ type: "text", raw: o, text: o, escaped: true }] }) : n += o;
23801
23813
  continue;
23802
23814
  }
23803
23815
  default: {
23804
- let o = 'Token with "' + s2.type + '" type was not found.';
23805
- if (this.options.silent) return console.error(o), "";
23806
- throw new Error(o);
23816
+ let a = 'Token with "' + s2.type + '" type was not found.';
23817
+ if (this.options.silent) return console.error(a), "";
23818
+ throw new Error(a);
23807
23819
  }
23808
23820
  }
23809
23821
  }
@@ -23814,9 +23826,9 @@ var R = class l2 {
23814
23826
  for (let r2 = 0; r2 < e.length; r2++) {
23815
23827
  let i = e[r2];
23816
23828
  if (this.options.extensions?.renderers?.[i.type]) {
23817
- let o = this.options.extensions.renderers[i.type].call({ parser: this }, i);
23818
- if (o !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
23819
- n += o || "";
23829
+ let a = this.options.extensions.renderers[i.type].call({ parser: this }, i);
23830
+ if (a !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
23831
+ n += a || "";
23820
23832
  continue;
23821
23833
  }
23822
23834
  }
@@ -23863,9 +23875,9 @@ var R = class l2 {
23863
23875
  break;
23864
23876
  }
23865
23877
  default: {
23866
- let o = 'Token with "' + s2.type + '" type was not found.';
23867
- if (this.options.silent) return console.error(o), "";
23868
- throw new Error(o);
23878
+ let a = 'Token with "' + s2.type + '" type was not found.';
23879
+ if (this.options.silent) return console.error(a), "";
23880
+ throw new Error(a);
23869
23881
  }
23870
23882
  }
23871
23883
  }
@@ -23876,7 +23888,7 @@ var S = (_a = class {
23876
23888
  constructor(e) {
23877
23889
  __publicField$2(this, "options");
23878
23890
  __publicField$2(this, "block");
23879
- this.options = e || O;
23891
+ this.options = e || T;
23880
23892
  }
23881
23893
  preprocess(e) {
23882
23894
  return e;
@@ -23891,10 +23903,10 @@ var S = (_a = class {
23891
23903
  return e;
23892
23904
  }
23893
23905
  provideLexer() {
23894
- return this.block ? b.lex : b.lexInline;
23906
+ return this.block ? x.lex : x.lexInline;
23895
23907
  }
23896
23908
  provideParser() {
23897
- return this.block ? R.parse : R.parseInline;
23909
+ return this.block ? b.parse : b.parseInline;
23898
23910
  }
23899
23911
  }, __publicField$2(_a, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField$2(_a, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _a);
23900
23912
  var B = class {
@@ -23903,10 +23915,10 @@ var B = class {
23903
23915
  __publicField$2(this, "options", this.setOptions);
23904
23916
  __publicField$2(this, "parse", this.parseMarkdown(true));
23905
23917
  __publicField$2(this, "parseInline", this.parseMarkdown(false));
23906
- __publicField$2(this, "Parser", R);
23918
+ __publicField$2(this, "Parser", b);
23907
23919
  __publicField$2(this, "Renderer", P);
23908
23920
  __publicField$2(this, "TextRenderer", $);
23909
- __publicField$2(this, "Lexer", b);
23921
+ __publicField$2(this, "Lexer", x);
23910
23922
  __publicField$2(this, "Tokenizer", y);
23911
23923
  __publicField$2(this, "Hooks", S);
23912
23924
  this.use(...e);
@@ -23917,7 +23929,7 @@ var B = class {
23917
23929
  case "table": {
23918
23930
  let i = r2;
23919
23931
  for (let s2 of i.header) n = n.concat(this.walkTokens(s2.tokens, t));
23920
- for (let s2 of i.rows) for (let o of s2) n = n.concat(this.walkTokens(o.tokens, t));
23932
+ for (let s2 of i.rows) for (let a of s2) n = n.concat(this.walkTokens(a.tokens, t));
23921
23933
  break;
23922
23934
  }
23923
23935
  case "list": {
@@ -23928,8 +23940,8 @@ var B = class {
23928
23940
  default: {
23929
23941
  let i = r2;
23930
23942
  this.defaults.extensions?.childTokens?.[i.type] ? this.defaults.extensions.childTokens[i.type].forEach((s2) => {
23931
- let o = i[s2].flat(1 / 0);
23932
- n = n.concat(this.walkTokens(o, t));
23943
+ let a = i[s2].flat(1 / 0);
23944
+ n = n.concat(this.walkTokens(a, t));
23933
23945
  }) : i.tokens && (n = n.concat(this.walkTokens(i.tokens, t)));
23934
23946
  }
23935
23947
  }
@@ -23943,9 +23955,9 @@ var B = class {
23943
23955
  if (!i.name) throw new Error("extension name required");
23944
23956
  if ("renderer" in i) {
23945
23957
  let s2 = t.renderers[i.name];
23946
- s2 ? t.renderers[i.name] = function(...o) {
23947
- let a = i.renderer.apply(this, o);
23948
- return a === false && (a = s2.apply(this, o)), a;
23958
+ s2 ? t.renderers[i.name] = function(...a) {
23959
+ let o = i.renderer.apply(this, a);
23960
+ return o === false && (o = s2.apply(this, a)), o;
23949
23961
  } : t.renderers[i.name] = i.renderer;
23950
23962
  }
23951
23963
  if ("tokenizer" in i) {
@@ -23959,10 +23971,10 @@ var B = class {
23959
23971
  for (let s2 in n.renderer) {
23960
23972
  if (!(s2 in i)) throw new Error(`renderer '${s2}' does not exist`);
23961
23973
  if (["options", "parser"].includes(s2)) continue;
23962
- let o = s2, a = n.renderer[o], u = i[o];
23963
- i[o] = (...p) => {
23964
- let c2 = a.apply(i, p);
23965
- return c2 === false && (c2 = u.apply(i, p)), c2 || "";
23974
+ let a = s2, o = n.renderer[a], p = i[a];
23975
+ i[a] = (...u) => {
23976
+ let c2 = o.apply(i, u);
23977
+ return c2 === false && (c2 = p.apply(i, u)), c2 || "";
23966
23978
  };
23967
23979
  }
23968
23980
  r2.renderer = i;
@@ -23972,10 +23984,10 @@ var B = class {
23972
23984
  for (let s2 in n.tokenizer) {
23973
23985
  if (!(s2 in i)) throw new Error(`tokenizer '${s2}' does not exist`);
23974
23986
  if (["options", "rules", "lexer"].includes(s2)) continue;
23975
- let o = s2, a = n.tokenizer[o], u = i[o];
23976
- i[o] = (...p) => {
23977
- let c2 = a.apply(i, p);
23978
- return c2 === false && (c2 = u.apply(i, p)), c2;
23987
+ let a = s2, o = n.tokenizer[a], p = i[a];
23988
+ i[a] = (...u) => {
23989
+ let c2 = o.apply(i, u);
23990
+ return c2 === false && (c2 = p.apply(i, u)), c2;
23979
23991
  };
23980
23992
  }
23981
23993
  r2.tokenizer = i;
@@ -23985,23 +23997,30 @@ var B = class {
23985
23997
  for (let s2 in n.hooks) {
23986
23998
  if (!(s2 in i)) throw new Error(`hook '${s2}' does not exist`);
23987
23999
  if (["options", "block"].includes(s2)) continue;
23988
- let o = s2, a = n.hooks[o], u = i[o];
23989
- S.passThroughHooks.has(s2) ? i[o] = (p) => {
23990
- if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return Promise.resolve(a.call(i, p)).then((f2) => u.call(i, f2));
23991
- let c2 = a.call(i, p);
23992
- return u.call(i, c2);
23993
- } : i[o] = (...p) => {
23994
- let c2 = a.apply(i, p);
23995
- return c2 === false && (c2 = u.apply(i, p)), c2;
24000
+ let a = s2, o = n.hooks[a], p = i[a];
24001
+ S.passThroughHooks.has(s2) ? i[a] = (u) => {
24002
+ if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return (async () => {
24003
+ let g = await o.call(i, u);
24004
+ return p.call(i, g);
24005
+ })();
24006
+ let c2 = o.call(i, u);
24007
+ return p.call(i, c2);
24008
+ } : i[a] = (...u) => {
24009
+ if (this.defaults.async) return (async () => {
24010
+ let g = await o.apply(i, u);
24011
+ return g === false && (g = await p.apply(i, u)), g;
24012
+ })();
24013
+ let c2 = o.apply(i, u);
24014
+ return c2 === false && (c2 = p.apply(i, u)), c2;
23996
24015
  };
23997
24016
  }
23998
24017
  r2.hooks = i;
23999
24018
  }
24000
24019
  if (n.walkTokens) {
24001
24020
  let i = this.defaults.walkTokens, s2 = n.walkTokens;
24002
- r2.walkTokens = function(o) {
24003
- let a = [];
24004
- return a.push(s2.call(this, o)), i && (a = a.concat(i.call(this, o))), a;
24021
+ r2.walkTokens = function(a) {
24022
+ let o = [];
24023
+ return o.push(s2.call(this, a)), i && (o = o.concat(i.call(this, a))), o;
24005
24024
  };
24006
24025
  }
24007
24026
  this.defaults = { ...this.defaults, ...r2 };
@@ -24011,28 +24030,31 @@ var B = class {
24011
24030
  return this.defaults = { ...this.defaults, ...e }, this;
24012
24031
  }
24013
24032
  lexer(e, t) {
24014
- return b.lex(e, t ?? this.defaults);
24033
+ return x.lex(e, t ?? this.defaults);
24015
24034
  }
24016
24035
  parser(e, t) {
24017
- return R.parse(e, t ?? this.defaults);
24036
+ return b.parse(e, t ?? this.defaults);
24018
24037
  }
24019
24038
  parseMarkdown(e) {
24020
24039
  return (n, r2) => {
24021
- let i = { ...r2 }, s2 = { ...this.defaults, ...i }, o = this.onError(!!s2.silent, !!s2.async);
24022
- if (this.defaults.async === true && i.async === false) return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
24023
- if (typeof n > "u" || n === null) return o(new Error("marked(): input parameter is undefined or null"));
24024
- if (typeof n != "string") return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24025
- s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e);
24026
- let a = s2.hooks ? s2.hooks.provideLexer() : e ? b.lex : b.lexInline, u = s2.hooks ? s2.hooks.provideParser() : e ? R.parse : R.parseInline;
24027
- if (s2.async) return Promise.resolve(s2.hooks ? s2.hooks.preprocess(n) : n).then((p) => a(p, s2)).then((p) => s2.hooks ? s2.hooks.processAllTokens(p) : p).then((p) => s2.walkTokens ? Promise.all(this.walkTokens(p, s2.walkTokens)).then(() => p) : p).then((p) => u(p, s2)).then((p) => s2.hooks ? s2.hooks.postprocess(p) : p).catch(o);
24040
+ let i = { ...r2 }, s2 = { ...this.defaults, ...i }, a = this.onError(!!s2.silent, !!s2.async);
24041
+ if (this.defaults.async === true && i.async === false) return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));
24042
+ if (typeof n > "u" || n === null) return a(new Error("marked(): input parameter is undefined or null"));
24043
+ if (typeof n != "string") return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24044
+ if (s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e), s2.async) return (async () => {
24045
+ let o = s2.hooks ? await s2.hooks.preprocess(n) : n, u = await (s2.hooks ? await s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(o, s2), c2 = s2.hooks ? await s2.hooks.processAllTokens(u) : u;
24046
+ s2.walkTokens && await Promise.all(this.walkTokens(c2, s2.walkTokens));
24047
+ let h = await (s2.hooks ? await s2.hooks.provideParser() : e ? b.parse : b.parseInline)(c2, s2);
24048
+ return s2.hooks ? await s2.hooks.postprocess(h) : h;
24049
+ })().catch(a);
24028
24050
  try {
24029
24051
  s2.hooks && (n = s2.hooks.preprocess(n));
24030
- let p = a(n, s2);
24052
+ let p = (s2.hooks ? s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s2);
24031
24053
  s2.hooks && (p = s2.hooks.processAllTokens(p)), s2.walkTokens && this.walkTokens(p, s2.walkTokens);
24032
- let c2 = u(p, s2);
24054
+ let c2 = (s2.hooks ? s2.hooks.provideParser() : e ? b.parse : b.parseInline)(p, s2);
24033
24055
  return s2.hooks && (c2 = s2.hooks.postprocess(c2)), c2;
24034
- } catch (p) {
24035
- return o(p);
24056
+ } catch (o) {
24057
+ return a(o);
24036
24058
  }
24037
24059
  };
24038
24060
  }
@@ -24049,38 +24071,38 @@ Please report this to https://github.com/markedjs/marked.`, e) {
24049
24071
  }
24050
24072
  };
24051
24073
  var _ = new B();
24052
- function d$1(l3, e) {
24074
+ function k$1(l3, e) {
24053
24075
  return _.parse(l3, e);
24054
24076
  }
24055
- d$1.options = d$1.setOptions = function(l3) {
24056
- return _.setOptions(l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
24077
+ k$1.options = k$1.setOptions = function(l3) {
24078
+ return _.setOptions(l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24057
24079
  };
24058
- d$1.getDefaults = L;
24059
- d$1.defaults = O;
24060
- d$1.use = function(...l3) {
24061
- return _.use(...l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
24080
+ k$1.getDefaults = L;
24081
+ k$1.defaults = T;
24082
+ k$1.use = function(...l3) {
24083
+ return _.use(...l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24062
24084
  };
24063
- d$1.walkTokens = function(l3, e) {
24085
+ k$1.walkTokens = function(l3, e) {
24064
24086
  return _.walkTokens(l3, e);
24065
24087
  };
24066
- d$1.parseInline = _.parseInline;
24067
- d$1.Parser = R;
24068
- d$1.parser = R.parse;
24069
- d$1.Renderer = P;
24070
- d$1.TextRenderer = $;
24071
- d$1.Lexer = b;
24072
- d$1.lexer = b.lex;
24073
- d$1.Tokenizer = y;
24074
- d$1.Hooks = S;
24075
- d$1.parse = d$1;
24076
- d$1.options;
24077
- d$1.setOptions;
24078
- d$1.use;
24079
- d$1.walkTokens;
24080
- d$1.parseInline;
24081
- R.parse;
24082
- b.lex;
24083
- d$1.use({
24088
+ k$1.parseInline = _.parseInline;
24089
+ k$1.Parser = b;
24090
+ k$1.parser = b.parse;
24091
+ k$1.Renderer = P;
24092
+ k$1.TextRenderer = $;
24093
+ k$1.Lexer = x;
24094
+ k$1.lexer = x.lex;
24095
+ k$1.Tokenizer = y;
24096
+ k$1.Hooks = S;
24097
+ k$1.parse = k$1;
24098
+ k$1.options;
24099
+ k$1.setOptions;
24100
+ k$1.use;
24101
+ k$1.walkTokens;
24102
+ k$1.parseInline;
24103
+ b.parse;
24104
+ x.lex;
24105
+ k$1.use({
24084
24106
  breaks: false,
24085
24107
  // Use proper paragraphs, not <br> tags
24086
24108
  gfm: true
@@ -24091,7 +24113,7 @@ function createDocFromMarkdown(markdown, schema, options = {}) {
24091
24113
  return createDocFromHTML(html, schema, options);
24092
24114
  }
24093
24115
  function convertMarkdownToHTML(markdown) {
24094
- let html = d$1.parse(markdown, { async: false });
24116
+ let html = k$1.parse(markdown, { async: false });
24095
24117
  return html.replace(/<\/p>\n<ul>/g, "</p>\n<p>&nbsp;</p>\n<ul>").replace(/<\/p>\n<ol>/g, "</p>\n<p>&nbsp;</p>\n<ol>").replace(/<\/ul>\n<h/g, "</ul>\n<p>&nbsp;</p>\n<h").replace(/<\/ol>\n<h/g, "</ol>\n<p>&nbsp;</p>\n<h");
24096
24118
  }
24097
24119
  function processContent({ content, type: type2, schema }) {
@@ -28715,18 +28737,18 @@ const handleShapeGroup = (params2, node, graphicData, size2, padding, marginOffs
28715
28737
  const rawY = shapeOff?.attributes?.["y"] ? parseFloat(shapeOff.attributes["y"]) : 0;
28716
28738
  const rawWidth = shapeExt?.attributes?.["cx"] ? parseFloat(shapeExt.attributes["cx"]) : 914400;
28717
28739
  const rawHeight = shapeExt?.attributes?.["cy"] ? parseFloat(shapeExt.attributes["cy"]) : 914400;
28718
- let x, y2, width, height;
28740
+ let x2, y2, width, height;
28719
28741
  if (groupTransform.childWidth && groupTransform.childHeight) {
28720
28742
  const scaleX = groupTransform.width / groupTransform.childWidth;
28721
28743
  const scaleY = groupTransform.height / groupTransform.childHeight;
28722
28744
  const childOriginX = groupTransform.childOriginXEmu || 0;
28723
28745
  const childOriginY = groupTransform.childOriginYEmu || 0;
28724
- x = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
28746
+ x2 = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
28725
28747
  y2 = groupTransform.y + emuToPixels((rawY - childOriginY) * scaleY);
28726
28748
  width = emuToPixels(rawWidth * scaleX);
28727
28749
  height = emuToPixels(rawHeight * scaleY);
28728
28750
  } else {
28729
- x = emuToPixels(rawX);
28751
+ x2 = emuToPixels(rawX);
28730
28752
  y2 = emuToPixels(rawY);
28731
28753
  width = emuToPixels(rawWidth);
28732
28754
  height = emuToPixels(rawHeight);
@@ -28745,7 +28767,7 @@ const handleShapeGroup = (params2, node, graphicData, size2, padding, marginOffs
28745
28767
  shapeType: "vectorShape",
28746
28768
  attrs: {
28747
28769
  kind: shapeKind,
28748
- x,
28770
+ x: x2,
28749
28771
  y: y2,
28750
28772
  width,
28751
28773
  height,
@@ -28954,8 +28976,8 @@ const translateImageNode = (params2) => {
28954
28976
  const leftMargin = tableCell.attrs.cellMargins?.left || 8;
28955
28977
  const rightMargin = tableCell.attrs.cellMargins?.right || 8;
28956
28978
  const maxWidthEmu = pixelsToEmu(colwidthSum - (leftMargin + rightMargin));
28957
- const { width: w2, height: h2 } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
28958
- if (w2 && h2) size2 = { w: w2, h: h2 };
28979
+ const { width: w2, height: h } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
28980
+ if (w2 && h) size2 = { w: w2, h };
28959
28981
  }
28960
28982
  if (imageId) {
28961
28983
  const docx = params2.converter?.convertedXml || {};
@@ -33163,7 +33185,11 @@ function importCommentData({ docx, editor, converter }) {
33163
33185
  const generateCommentsWithExtendedData = ({ docx, comments }) => {
33164
33186
  if (!comments?.length) return [];
33165
33187
  const commentsExtended = docx["word/commentsExtended.xml"];
33166
- if (!commentsExtended) return comments.map((comment) => ({ ...comment, isDone: comment.isDone ?? false }));
33188
+ if (!commentsExtended) {
33189
+ const commentRanges = extractCommentRangesFromDocument(docx);
33190
+ const commentsWithThreading = detectThreadingFromRanges(comments, commentRanges);
33191
+ return commentsWithThreading.map((comment) => ({ ...comment, isDone: comment.isDone ?? false }));
33192
+ }
33167
33193
  const { elements: initialElements = [] } = commentsExtended;
33168
33194
  if (!initialElements?.length) return comments.map((comment) => ({ ...comment, isDone: comment.isDone ?? false }));
33169
33195
  const { elements = [] } = initialElements[0] ?? {};
@@ -33189,6 +33215,79 @@ const getExtendedDetails = (commentEx) => {
33189
33215
  const paraIdParent = attributes["w15:paraIdParent"];
33190
33216
  return { paraId, isDone, paraIdParent };
33191
33217
  };
33218
+ const extractCommentRangesFromDocument = (docx) => {
33219
+ const documentXml = docx["word/document.xml"];
33220
+ if (!documentXml) {
33221
+ return [];
33222
+ }
33223
+ const pendingComments = [];
33224
+ const walkElements = (elements) => {
33225
+ if (!elements || !Array.isArray(elements)) return;
33226
+ elements.forEach((element) => {
33227
+ if (element.name === "w:commentRangeStart") {
33228
+ const commentId = element.attributes?.["w:id"];
33229
+ if (commentId !== void 0) {
33230
+ pendingComments.push({
33231
+ type: "start",
33232
+ commentId: String(commentId)
33233
+ });
33234
+ }
33235
+ } else if (element.name === "w:commentRangeEnd") {
33236
+ const commentId = element.attributes?.["w:id"];
33237
+ if (commentId !== void 0) {
33238
+ pendingComments.push({
33239
+ type: "end",
33240
+ commentId: String(commentId)
33241
+ });
33242
+ }
33243
+ }
33244
+ if (element.elements && Array.isArray(element.elements)) {
33245
+ walkElements(element.elements);
33246
+ }
33247
+ });
33248
+ };
33249
+ if (documentXml.elements && documentXml.elements.length > 0) {
33250
+ const body = documentXml.elements[0];
33251
+ if (body.elements) {
33252
+ walkElements(body.elements);
33253
+ }
33254
+ }
33255
+ return pendingComments;
33256
+ };
33257
+ const detectThreadingFromRanges = (comments, rangeEvents) => {
33258
+ if (!rangeEvents || rangeEvents.length === 0) {
33259
+ return comments;
33260
+ }
33261
+ const openRanges = [];
33262
+ const parentMap = /* @__PURE__ */ new Map();
33263
+ rangeEvents.forEach((event) => {
33264
+ if (event.type === "start") {
33265
+ if (openRanges.length > 0) {
33266
+ const parentCommentId = openRanges[openRanges.length - 1];
33267
+ parentMap.set(event.commentId, parentCommentId);
33268
+ }
33269
+ openRanges.push(event.commentId);
33270
+ } else if (event.type === "end") {
33271
+ const index2 = openRanges.lastIndexOf(event.commentId);
33272
+ if (index2 !== -1) {
33273
+ openRanges.splice(index2, 1);
33274
+ }
33275
+ }
33276
+ });
33277
+ return comments.map((comment) => {
33278
+ const parentCommentId = parentMap.get(comment.importedId);
33279
+ if (parentCommentId) {
33280
+ const parentComment = comments.find((c2) => c2.importedId === parentCommentId);
33281
+ if (parentComment) {
33282
+ return {
33283
+ ...comment,
33284
+ parentCommentId: parentComment.commentId
33285
+ };
33286
+ }
33287
+ }
33288
+ return comment;
33289
+ });
33290
+ };
33192
33291
  const RELATIONSHIP_TYPES = (
33193
33292
  /** @type {const} */
33194
33293
  {
@@ -35374,7 +35473,7 @@ const prepareCommentParaIds = (comment) => {
35374
35473
  return newComment;
35375
35474
  };
35376
35475
  const getCommentDefinition = (comment, commentId, allComments, editor) => {
35377
- const translatedText = translateParagraphNode({ editor, node: comment.commentJSON });
35476
+ const translatedText = translator$1p.decode({ editor, node: comment.commentJSON });
35378
35477
  const attributes = {
35379
35478
  "w:id": String(commentId),
35380
35479
  "w:author": comment.creatorName || comment.importedAuthor?.name,
@@ -35413,10 +35512,12 @@ const toIsoNoFractional = (unixMillis) => {
35413
35512
  const updateCommentsXml = (commentDefs = [], commentsXml) => {
35414
35513
  const newCommentsXml = carbonCopy(commentsXml);
35415
35514
  commentDefs.forEach((commentDef) => {
35416
- const elements = commentDef.elements[0].elements;
35515
+ const paraNode = commentDef.elements[0];
35516
+ if (!paraNode.attributes) paraNode.attributes = {};
35517
+ const elements = paraNode.elements;
35417
35518
  elements.unshift(COMMENT_REF);
35418
35519
  const paraId = commentDef.attributes["w15:paraId"];
35419
- commentDef.elements[0].attributes["w14:paraId"] = paraId;
35520
+ paraNode.attributes["w14:paraId"] = paraId;
35420
35521
  commentDef.attributes = {
35421
35522
  "w:id": commentDef.attributes["w:id"],
35422
35523
  "w:author": commentDef.attributes["w:author"],
@@ -35789,7 +35890,7 @@ const _SuperConverter = class _SuperConverter2 {
35789
35890
  static getStoredSuperdocVersion(docx) {
35790
35891
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
35791
35892
  }
35792
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.34.5") {
35893
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.34.6-RC1") {
35793
35894
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
35794
35895
  }
35795
35896
  /**
@@ -36180,7 +36281,7 @@ prepareCommentsXmlFilesForExport_fn = function({ defs, exportType, commentsWithP
36180
36281
  };
36181
36282
  exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36182
36283
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36183
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36284
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36184
36285
  const newDocRels = [];
36185
36286
  Object.entries(this.headers).forEach(([id, header], index2) => {
36186
36287
  const fileName = relationships.elements.find((el) => el.attributes.Id === id)?.attributes.Target || `header${index2 + 1}.xml`;
@@ -36221,7 +36322,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36221
36322
  }
36222
36323
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36223
36324
  if (params2.relationships.length) {
36224
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36325
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36225
36326
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36226
36327
  declaration: this.initialJSON?.declaration,
36227
36328
  elements: [
@@ -36275,7 +36376,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36275
36376
  }
36276
36377
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36277
36378
  if (params2.relationships.length) {
36278
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36379
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36279
36380
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36280
36381
  declaration: this.initialJSON?.declaration,
36281
36382
  elements: [
@@ -36294,7 +36395,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36294
36395
  };
36295
36396
  exportProcessNewRelationships_fn = function(rels = []) {
36296
36397
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36297
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36398
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36298
36399
  relationships.elements = mergeRelationshipElements(relationships.elements, rels);
36299
36400
  };
36300
36401
  exportProcessMediaFiles_fn = async function(media = {}) {
@@ -36378,7 +36479,7 @@ function requireJszip_min() {
36378
36479
  !(function(e) {
36379
36480
  module2.exports = e();
36380
36481
  })(function() {
36381
- return (function s2(a, o, h2) {
36482
+ return (function s2(a, o, h) {
36382
36483
  function u(r2, e2) {
36383
36484
  if (!o[r2]) {
36384
36485
  if (!a[r2]) {
@@ -36392,23 +36493,23 @@ function requireJszip_min() {
36392
36493
  a[r2][0].call(i.exports, function(e3) {
36393
36494
  var t2 = a[r2][1][e3];
36394
36495
  return u(t2 || e3);
36395
- }, i, i.exports, s2, a, o, h2);
36496
+ }, i, i.exports, s2, a, o, h);
36396
36497
  }
36397
36498
  return o[r2].exports;
36398
36499
  }
36399
- for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h2.length; e++) u(h2[e]);
36500
+ for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h.length; e++) u(h[e]);
36400
36501
  return u;
36401
36502
  })({ 1: [function(e, t, r2) {
36402
36503
  var d2 = e("./utils"), c2 = e("./support"), p = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
36403
36504
  r2.encode = function(e2) {
36404
- for (var t2, r22, n, i, s2, a, o, h2 = [], u = 0, l3 = e2.length, f2 = l3, c22 = "string" !== d2.getTypeOf(e2); u < e2.length; ) f2 = l3 - u, n = c22 ? (t2 = e2[u++], r22 = u < l3 ? e2[u++] : 0, u < l3 ? e2[u++] : 0) : (t2 = e2.charCodeAt(u++), r22 = u < l3 ? e2.charCodeAt(u++) : 0, u < l3 ? e2.charCodeAt(u++) : 0), i = t2 >> 2, s2 = (3 & t2) << 4 | r22 >> 4, a = 1 < f2 ? (15 & r22) << 2 | n >> 6 : 64, o = 2 < f2 ? 63 & n : 64, h2.push(p.charAt(i) + p.charAt(s2) + p.charAt(a) + p.charAt(o));
36405
- return h2.join("");
36505
+ for (var t2, r22, n, i, s2, a, o, h = [], u = 0, l3 = e2.length, f2 = l3, c22 = "string" !== d2.getTypeOf(e2); u < e2.length; ) f2 = l3 - u, n = c22 ? (t2 = e2[u++], r22 = u < l3 ? e2[u++] : 0, u < l3 ? e2[u++] : 0) : (t2 = e2.charCodeAt(u++), r22 = u < l3 ? e2.charCodeAt(u++) : 0, u < l3 ? e2.charCodeAt(u++) : 0), i = t2 >> 2, s2 = (3 & t2) << 4 | r22 >> 4, a = 1 < f2 ? (15 & r22) << 2 | n >> 6 : 64, o = 2 < f2 ? 63 & n : 64, h.push(p.charAt(i) + p.charAt(s2) + p.charAt(a) + p.charAt(o));
36506
+ return h.join("");
36406
36507
  }, r2.decode = function(e2) {
36407
- var t2, r22, n, i, s2, a, o = 0, h2 = 0, u = "data:";
36508
+ var t2, r22, n, i, s2, a, o = 0, h = 0, u = "data:";
36408
36509
  if (e2.substr(0, u.length) === u) throw new Error("Invalid base64 input, it looks like a data url.");
36409
36510
  var l3, f2 = 3 * (e2 = e2.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
36410
36511
  if (e2.charAt(e2.length - 1) === p.charAt(64) && f2--, e2.charAt(e2.length - 2) === p.charAt(64) && f2--, f2 % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
36411
- for (l3 = c2.uint8array ? new Uint8Array(0 | f2) : new Array(0 | f2); o < e2.length; ) t2 = p.indexOf(e2.charAt(o++)) << 2 | (i = p.indexOf(e2.charAt(o++))) >> 4, r22 = (15 & i) << 4 | (s2 = p.indexOf(e2.charAt(o++))) >> 2, n = (3 & s2) << 6 | (a = p.indexOf(e2.charAt(o++))), l3[h2++] = t2, 64 !== s2 && (l3[h2++] = r22), 64 !== a && (l3[h2++] = n);
36512
+ for (l3 = c2.uint8array ? new Uint8Array(0 | f2) : new Array(0 | f2); o < e2.length; ) t2 = p.indexOf(e2.charAt(o++)) << 2 | (i = p.indexOf(e2.charAt(o++))) >> 4, r22 = (15 & i) << 4 | (s2 = p.indexOf(e2.charAt(o++))) >> 2, n = (3 & s2) << 6 | (a = p.indexOf(e2.charAt(o++))), l3[h++] = t2, 64 !== s2 && (l3[h++] = r22), 64 !== a && (l3[h++] = n);
36412
36513
  return l3;
36413
36514
  };
36414
36515
  }, { "./support": 30, "./utils": 32 }], 2: [function(e, t, r2) {
@@ -36463,25 +36564,25 @@ function requireJszip_min() {
36463
36564
  n = "undefined" != typeof Promise ? Promise : e("lie"), t.exports = { Promise: n };
36464
36565
  }, { lie: 37 }], 7: [function(e, t, r2) {
36465
36566
  var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array, i = e("pako"), s2 = e("./utils"), a = e("./stream/GenericWorker"), o = n ? "uint8array" : "array";
36466
- function h2(e2, t2) {
36567
+ function h(e2, t2) {
36467
36568
  a.call(this, "FlateWorker/" + e2), this._pako = null, this._pakoAction = e2, this._pakoOptions = t2, this.meta = {};
36468
36569
  }
36469
- r2.magic = "\b\0", s2.inherits(h2, a), h2.prototype.processChunk = function(e2) {
36570
+ r2.magic = "\b\0", s2.inherits(h, a), h.prototype.processChunk = function(e2) {
36470
36571
  this.meta = e2.meta, null === this._pako && this._createPako(), this._pako.push(s2.transformTo(o, e2.data), false);
36471
- }, h2.prototype.flush = function() {
36572
+ }, h.prototype.flush = function() {
36472
36573
  a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], true);
36473
- }, h2.prototype.cleanUp = function() {
36574
+ }, h.prototype.cleanUp = function() {
36474
36575
  a.prototype.cleanUp.call(this), this._pako = null;
36475
- }, h2.prototype._createPako = function() {
36576
+ }, h.prototype._createPako = function() {
36476
36577
  this._pako = new i[this._pakoAction]({ raw: true, level: this._pakoOptions.level || -1 });
36477
36578
  var t2 = this;
36478
36579
  this._pako.onData = function(e2) {
36479
36580
  t2.push({ data: e2, meta: t2.meta });
36480
36581
  };
36481
36582
  }, r2.compressWorker = function(e2) {
36482
- return new h2("Deflate", e2);
36583
+ return new h("Deflate", e2);
36483
36584
  }, r2.uncompressWorker = function() {
36484
- return new h2("Inflate", {});
36585
+ return new h("Inflate", {});
36485
36586
  };
36486
36587
  }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(e, t, r2) {
36487
36588
  function A2(e2, t2) {
@@ -36490,21 +36591,21 @@ function requireJszip_min() {
36490
36591
  return n2;
36491
36592
  }
36492
36593
  function n(e2, t2, r22, n2, i2, s22) {
36493
- var a, o, h2 = e2.file, u = e2.compression, l3 = s22 !== O2.utf8encode, f2 = I2.transformTo("string", s22(h2.name)), c2 = I2.transformTo("string", O2.utf8encode(h2.name)), d2 = h2.comment, p = I2.transformTo("string", s22(d2)), m2 = I2.transformTo("string", O2.utf8encode(d2)), _2 = c2.length !== h2.name.length, g = m2.length !== d2.length, b2 = "", v2 = "", y2 = "", w2 = h2.dir, k2 = h2.date, x = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
36494
- t2 && !r22 || (x.crc32 = e2.crc32, x.compressedSize = e2.compressedSize, x.uncompressedSize = e2.uncompressedSize);
36594
+ var a, o, h = e2.file, u = e2.compression, l3 = s22 !== O.utf8encode, f2 = I2.transformTo("string", s22(h.name)), c2 = I2.transformTo("string", O.utf8encode(h.name)), d2 = h.comment, p = I2.transformTo("string", s22(d2)), m2 = I2.transformTo("string", O.utf8encode(d2)), _2 = c2.length !== h.name.length, g = m2.length !== d2.length, b2 = "", v2 = "", y2 = "", w2 = h.dir, k2 = h.date, x2 = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
36595
+ t2 && !r22 || (x2.crc32 = e2.crc32, x2.compressedSize = e2.compressedSize, x2.uncompressedSize = e2.uncompressedSize);
36495
36596
  var S2 = 0;
36496
36597
  t2 && (S2 |= 8), l3 || !_2 && !g || (S2 |= 2048);
36497
36598
  var z2 = 0, C2 = 0;
36498
36599
  w2 && (z2 |= 16), "UNIX" === i2 ? (C2 = 798, z2 |= (function(e3, t3) {
36499
36600
  var r3 = e3;
36500
36601
  return e3 || (r3 = t3 ? 16893 : 33204), (65535 & r3) << 16;
36501
- })(h2.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36602
+ })(h.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36502
36603
  return 63 & (e3 || 0);
36503
- })(h2.dosPermissions)), a = k2.getUTCHours(), a <<= 6, a |= k2.getUTCMinutes(), a <<= 5, a |= k2.getUTCSeconds() / 2, o = k2.getUTCFullYear() - 1980, o <<= 4, o |= k2.getUTCMonth() + 1, o <<= 5, o |= k2.getUTCDate(), _2 && (v2 = A2(1, 1) + A2(B2(f2), 4) + c2, b2 += "up" + A2(v2.length, 2) + v2), g && (y2 = A2(1, 1) + A2(B2(p), 4) + m2, b2 += "uc" + A2(y2.length, 2) + y2);
36604
+ })(h.dosPermissions)), a = k2.getUTCHours(), a <<= 6, a |= k2.getUTCMinutes(), a <<= 5, a |= k2.getUTCSeconds() / 2, o = k2.getUTCFullYear() - 1980, o <<= 4, o |= k2.getUTCMonth() + 1, o <<= 5, o |= k2.getUTCDate(), _2 && (v2 = A2(1, 1) + A2(B2(f2), 4) + c2, b2 += "up" + A2(v2.length, 2) + v2), g && (y2 = A2(1, 1) + A2(B2(p), 4) + m2, b2 += "uc" + A2(y2.length, 2) + y2);
36504
36605
  var E2 = "";
36505
- return E2 += "\n\0", E2 += A2(S2, 2), E2 += u.magic, E2 += A2(a, 2), E2 += A2(o, 2), E2 += A2(x.crc32, 4), E2 += A2(x.compressedSize, 4), E2 += A2(x.uncompressedSize, 4), E2 += A2(f2.length, 2), E2 += A2(b2.length, 2), { fileRecord: R2.LOCAL_FILE_HEADER + E2 + f2 + b2, dirRecord: R2.CENTRAL_FILE_HEADER + A2(C2, 2) + E2 + A2(p.length, 2) + "\0\0\0\0" + A2(z2, 4) + A2(n2, 4) + f2 + b2 + p };
36606
+ return E2 += "\n\0", E2 += A2(S2, 2), E2 += u.magic, E2 += A2(a, 2), E2 += A2(o, 2), E2 += A2(x2.crc32, 4), E2 += A2(x2.compressedSize, 4), E2 += A2(x2.uncompressedSize, 4), E2 += A2(f2.length, 2), E2 += A2(b2.length, 2), { fileRecord: R.LOCAL_FILE_HEADER + E2 + f2 + b2, dirRecord: R.CENTRAL_FILE_HEADER + A2(C2, 2) + E2 + A2(p.length, 2) + "\0\0\0\0" + A2(z2, 4) + A2(n2, 4) + f2 + b2 + p };
36506
36607
  }
36507
- var I2 = e("../utils"), i = e("../stream/GenericWorker"), O2 = e("../utf8"), B2 = e("../crc32"), R2 = e("../signature");
36608
+ var I2 = e("../utils"), i = e("../stream/GenericWorker"), O = e("../utf8"), B2 = e("../crc32"), R = e("../signature");
36508
36609
  function s2(e2, t2, r22, n2) {
36509
36610
  i.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = t2, this.zipPlatform = r22, this.encodeFileName = n2, this.streamFiles = e2, this.accumulate = false, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
36510
36611
  }
@@ -36522,7 +36623,7 @@ function requireJszip_min() {
36522
36623
  this.accumulate = false;
36523
36624
  var t2 = this.streamFiles && !e2.file.dir, r22 = n(e2, t2, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
36524
36625
  if (this.dirRecords.push(r22.dirRecord), t2) this.push({ data: (function(e3) {
36525
- return R2.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36626
+ return R.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36526
36627
  })(e2), meta: { percent: 100 } });
36527
36628
  else for (this.push({ data: r22.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
36528
36629
  this.currentFile = null;
@@ -36530,7 +36631,7 @@ function requireJszip_min() {
36530
36631
  for (var e2 = this.bytesWritten, t2 = 0; t2 < this.dirRecords.length; t2++) this.push({ data: this.dirRecords[t2], meta: { percent: 100 } });
36531
36632
  var r22 = this.bytesWritten - e2, n2 = (function(e3, t3, r3, n3, i2) {
36532
36633
  var s22 = I2.transformTo("string", i2(n3));
36533
- return R2.CENTRAL_DIRECTORY_END + "\0\0\0\0" + A2(e3, 2) + A2(e3, 2) + A2(t3, 4) + A2(r3, 4) + A2(s22.length, 2) + s22;
36634
+ return R.CENTRAL_DIRECTORY_END + "\0\0\0\0" + A2(e3, 2) + A2(e3, 2) + A2(t3, 4) + A2(r3, 4) + A2(s22.length, 2) + s22;
36534
36635
  })(this.dirRecords.length, r22, e2, this.zipComment, this.encodeFileName);
36535
36636
  this.push({ data: n2, meta: { percent: 100 } });
36536
36637
  }, s2.prototype.prepareNextSource = function() {
@@ -36562,17 +36663,17 @@ function requireJszip_min() {
36562
36663
  }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(e, t, r2) {
36563
36664
  var u = e("../compressions"), n = e("./ZipFileWorker");
36564
36665
  r2.generateWorker = function(e2, a, t2) {
36565
- var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h2 = 0;
36666
+ var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h = 0;
36566
36667
  try {
36567
36668
  e2.forEach(function(e3, t3) {
36568
- h2++;
36669
+ h++;
36569
36670
  var r22 = (function(e4, t4) {
36570
36671
  var r3 = e4 || t4, n3 = u[r3];
36571
36672
  if (!n3) throw new Error(r3 + " is not a valid compression method !");
36572
36673
  return n3;
36573
36674
  })(t3.options.compression, a.compression), n2 = t3.options.compressionOptions || a.compressionOptions || {}, i = t3.dir, s2 = t3.date;
36574
36675
  t3._compressWorker(r22, n2).withStreamInfo("file", { name: e3, dir: i, date: s2, comment: t3.comment || "", unixPermissions: t3.unixPermissions, dosPermissions: t3.dosPermissions }).pipe(o);
36575
- }), o.entriesCount = h2;
36676
+ }), o.entriesCount = h;
36576
36677
  } catch (e3) {
36577
36678
  o.error(e3);
36578
36679
  }
@@ -36604,7 +36705,7 @@ function requireJszip_min() {
36604
36705
  });
36605
36706
  }
36606
36707
  t.exports = function(e2, o) {
36607
- var h2 = this;
36708
+ var h = this;
36608
36709
  return o = u.extend(o || {}, { base64: false, checkCRC32: false, optimizedBinaryString: false, createFolders: false, decodeFileName: n.utf8decode }), l3.isNode && l3.isStream(e2) ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : u.prepareContent("the loaded zip file", e2, true, o.optimizedBinaryString, o.base64).then(function(e3) {
36609
36710
  var t2 = new s2(o);
36610
36711
  return t2.load(e3), t2;
@@ -36615,9 +36716,9 @@ function requireJszip_min() {
36615
36716
  }).then(function(e3) {
36616
36717
  for (var t2 = e3.shift(), r22 = t2.files, n2 = 0; n2 < r22.length; n2++) {
36617
36718
  var i2 = r22[n2], s22 = i2.fileNameStr, a2 = u.resolve(i2.fileNameStr);
36618
- h2.file(a2, i2.decompressed, { binary: true, optimizedBinaryString: true, date: i2.date, dir: i2.dir, comment: i2.fileCommentStr.length ? i2.fileCommentStr : null, unixPermissions: i2.unixPermissions, dosPermissions: i2.dosPermissions, createFolders: o.createFolders }), i2.dir || (h2.file(a2).unsafeOriginalName = s22);
36719
+ h.file(a2, i2.decompressed, { binary: true, optimizedBinaryString: true, date: i2.date, dir: i2.dir, comment: i2.fileCommentStr.length ? i2.fileCommentStr : null, unixPermissions: i2.unixPermissions, dosPermissions: i2.dosPermissions, createFolders: o.createFolders }), i2.dir || (h.file(a2).unsafeOriginalName = s22);
36619
36720
  }
36620
- return t2.zipComment.length && (h2.comment = t2.zipComment), h2;
36721
+ return t2.zipComment.length && (h.comment = t2.zipComment), h;
36621
36722
  });
36622
36723
  };
36623
36724
  }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(e, t, r2) {
@@ -36677,8 +36778,8 @@ function requireJszip_min() {
36677
36778
  r22 && void 0 !== r22.binary || (s22.binary = !a2), (t2 instanceof c2 && 0 === t2.uncompressedSize || s22.dir || !t2 || 0 === t2.length) && (s22.base64 = false, s22.binary = true, t2 = "", s22.compression = "STORE", i2 = "string");
36678
36779
  var o2 = null;
36679
36780
  o2 = t2 instanceof c2 || t2 instanceof l3 ? t2 : p.isNode && p.isStream(t2) ? new m2(e2, t2) : u.prepareContent(e2, t2, s22.binary, s22.optimizedBinaryString, s22.base64);
36680
- var h22 = new d2(e2, o2, s22);
36681
- this.files[e2] = h22;
36781
+ var h2 = new d2(e2, o2, s22);
36782
+ this.files[e2] = h2;
36682
36783
  }
36683
36784
  var i = e("./utf8"), u = e("./utils"), l3 = e("./stream/GenericWorker"), a = e("./stream/StreamHelper"), f2 = e("./defaults"), c2 = e("./compressedObject"), d2 = e("./zipObject"), o = e("./generate"), p = e("./nodejsUtils"), m2 = e("./nodejs/NodejsStreamInputAdapter"), _2 = function(e2) {
36684
36785
  "/" === e2.slice(-1) && (e2 = e2.substring(0, e2.length - 1));
@@ -36689,7 +36790,7 @@ function requireJszip_min() {
36689
36790
  }, b2 = function(e2, t2) {
36690
36791
  return t2 = void 0 !== t2 ? t2 : f2.createFolders, e2 = g(e2), this.files[e2] || s2.call(this, e2, null, { dir: true, createFolders: t2 }), this.files[e2];
36691
36792
  };
36692
- function h2(e2) {
36793
+ function h(e2) {
36693
36794
  return "[object RegExp]" === Object.prototype.toString.call(e2);
36694
36795
  }
36695
36796
  var n = { load: function() {
@@ -36704,7 +36805,7 @@ function requireJszip_min() {
36704
36805
  }), n2;
36705
36806
  }, file: function(e2, t2, r22) {
36706
36807
  if (1 !== arguments.length) return e2 = this.root + e2, s2.call(this, e2, t2, r22), this;
36707
- if (h2(e2)) {
36808
+ if (h(e2)) {
36708
36809
  var n2 = e2;
36709
36810
  return this.filter(function(e3, t3) {
36710
36811
  return !t3.dir && n2.test(e3);
@@ -36714,7 +36815,7 @@ function requireJszip_min() {
36714
36815
  return i2 && !i2.dir ? i2 : null;
36715
36816
  }, folder: function(r22) {
36716
36817
  if (!r22) return this;
36717
- if (h2(r22)) return this.filter(function(e3, t3) {
36818
+ if (h(r22)) return this.filter(function(e3, t3) {
36718
36819
  return t3.dir && r22.test(e3);
36719
36820
  });
36720
36821
  var e2 = this.root + r22, t2 = b2.call(this, e2), n2 = this.clone();
@@ -36831,10 +36932,10 @@ function requireJszip_min() {
36831
36932
  return this.index += e2, t2;
36832
36933
  }, t.exports = i;
36833
36934
  }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(e, t, r2) {
36834
- var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h2 = e("./Uint8ArrayReader");
36935
+ var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h = e("./Uint8ArrayReader");
36835
36936
  t.exports = function(e2) {
36836
36937
  var t2 = n.getTypeOf(e2);
36837
- return n.checkSupport(t2), "string" !== t2 || i.uint8array ? "nodebuffer" === t2 ? new o(e2) : i.uint8array ? new h2(n.transformTo("uint8array", e2)) : new s2(n.transformTo("array", e2)) : new a(e2);
36938
+ return n.checkSupport(t2), "string" !== t2 || i.uint8array ? "nodebuffer" === t2 ? new o(e2) : i.uint8array ? new h(n.transformTo("uint8array", e2)) : new s2(n.transformTo("array", e2)) : new a(e2);
36838
36939
  };
36839
36940
  }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(e, t, r2) {
36840
36941
  r2.LOCAL_FILE_HEADER = "PK", r2.CENTRAL_FILE_HEADER = "PK", r2.CENTRAL_DIRECTORY_END = "PK", r2.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", r2.ZIP64_CENTRAL_DIRECTORY_END = "PK", r2.DATA_DESCRIPTOR = "PK\x07\b";
@@ -36957,7 +37058,7 @@ function requireJszip_min() {
36957
37058
  return this.previous ? this.previous + " -> " + e2 : e2;
36958
37059
  } }, t.exports = n;
36959
37060
  }, {}], 29: [function(e, t, r2) {
36960
- var h2 = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
37061
+ var h = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
36961
37062
  if (n.nodestream) try {
36962
37063
  o = e("../nodejs/NodejsStreamOutputAdapter");
36963
37064
  } catch (e2) {
@@ -36974,11 +37075,11 @@ function requireJszip_min() {
36974
37075
  var e3 = (function(e4, t3, r3) {
36975
37076
  switch (e4) {
36976
37077
  case "blob":
36977
- return h2.newBlob(h2.transformTo("arraybuffer", t3), r3);
37078
+ return h.newBlob(h.transformTo("arraybuffer", t3), r3);
36978
37079
  case "base64":
36979
37080
  return u.encode(t3);
36980
37081
  default:
36981
- return h2.transformTo(e4, t3);
37082
+ return h.transformTo(e4, t3);
36982
37083
  }
36983
37084
  })(s22, (function(e4, t3) {
36984
37085
  var r3, n3 = 0, i3 = null, s3 = 0;
@@ -37016,7 +37117,7 @@ function requireJszip_min() {
37016
37117
  n2 = "string";
37017
37118
  }
37018
37119
  try {
37019
- this._internalType = n2, this._outputType = t2, this._mimeType = r22, h2.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
37120
+ this._internalType = n2, this._outputType = t2, this._mimeType = r22, h.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
37020
37121
  } catch (e3) {
37021
37122
  this._worker = new s2("error"), this._worker.error(e3);
37022
37123
  }
@@ -37028,14 +37129,14 @@ function requireJszip_min() {
37028
37129
  return "data" === e2 ? this._worker.on(e2, function(e3) {
37029
37130
  t2.call(r22, e3.data, e3.meta);
37030
37131
  }) : this._worker.on(e2, function() {
37031
- h2.delay(t2, arguments, r22);
37132
+ h.delay(t2, arguments, r22);
37032
37133
  }), this;
37033
37134
  }, resume: function() {
37034
- return h2.delay(this._worker.resume, [], this._worker), this;
37135
+ return h.delay(this._worker.resume, [], this._worker), this;
37035
37136
  }, pause: function() {
37036
37137
  return this._worker.pause(), this;
37037
37138
  }, toNodejsStream: function(e2) {
37038
- if (h2.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
37139
+ if (h.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
37039
37140
  return new o(this, { objectMode: "nodebuffer" !== this._outputType }, e2);
37040
37141
  } }, t.exports = f2;
37041
37142
  }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(e, t, r2) {
@@ -37059,7 +37160,7 @@ function requireJszip_min() {
37059
37160
  r2.nodestream = false;
37060
37161
  }
37061
37162
  }, { "readable-stream": 16 }], 31: [function(e, t, s2) {
37062
- for (var o = e("./utils"), h2 = e("./support"), r2 = e("./nodejsUtils"), n = e("./stream/GenericWorker"), u = new Array(256), i = 0; i < 256; i++) u[i] = 252 <= i ? 6 : 248 <= i ? 5 : 240 <= i ? 4 : 224 <= i ? 3 : 192 <= i ? 2 : 1;
37163
+ for (var o = e("./utils"), h = e("./support"), r2 = e("./nodejsUtils"), n = e("./stream/GenericWorker"), u = new Array(256), i = 0; i < 256; i++) u[i] = 252 <= i ? 6 : 248 <= i ? 5 : 240 <= i ? 4 : 224 <= i ? 3 : 192 <= i ? 2 : 1;
37063
37164
  u[254] = u[254] = 1;
37064
37165
  function a() {
37065
37166
  n.call(this, "utf-8 decode"), this.leftOver = null;
@@ -37068,14 +37169,14 @@ function requireJszip_min() {
37068
37169
  n.call(this, "utf-8 encode");
37069
37170
  }
37070
37171
  s2.utf8encode = function(e2) {
37071
- return h2.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
37172
+ return h.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
37072
37173
  var t2, r22, n2, i2, s22, a2 = e3.length, o2 = 0;
37073
37174
  for (i2 = 0; i2 < a2; i2++) 55296 == (64512 & (r22 = e3.charCodeAt(i2))) && i2 + 1 < a2 && 56320 == (64512 & (n2 = e3.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), o2 += r22 < 128 ? 1 : r22 < 2048 ? 2 : r22 < 65536 ? 3 : 4;
37074
- for (t2 = h2.uint8array ? new Uint8Array(o2) : new Array(o2), i2 = s22 = 0; s22 < o2; i2++) 55296 == (64512 & (r22 = e3.charCodeAt(i2))) && i2 + 1 < a2 && 56320 == (64512 & (n2 = e3.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
37175
+ for (t2 = h.uint8array ? new Uint8Array(o2) : new Array(o2), i2 = s22 = 0; s22 < o2; i2++) 55296 == (64512 & (r22 = e3.charCodeAt(i2))) && i2 + 1 < a2 && 56320 == (64512 & (n2 = e3.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
37075
37176
  return t2;
37076
37177
  })(e2);
37077
37178
  }, s2.utf8decode = function(e2) {
37078
- return h2.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
37179
+ return h.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
37079
37180
  var t2, r22, n2, i2, s22 = e3.length, a2 = new Array(2 * s22);
37080
37181
  for (t2 = r22 = 0; t2 < s22; ) if ((n2 = e3[t2++]) < 128) a2[r22++] = n2;
37081
37182
  else if (4 < (i2 = u[n2])) a2[r22++] = 65533, t2 += i2 - 1;
@@ -37084,11 +37185,11 @@ function requireJszip_min() {
37084
37185
  1 < i2 ? a2[r22++] = 65533 : n2 < 65536 ? a2[r22++] = n2 : (n2 -= 65536, a2[r22++] = 55296 | n2 >> 10 & 1023, a2[r22++] = 56320 | 1023 & n2);
37085
37186
  }
37086
37187
  return a2.length !== r22 && (a2.subarray ? a2 = a2.subarray(0, r22) : a2.length = r22), o.applyFromCharCode(a2);
37087
- })(e2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2));
37188
+ })(e2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2));
37088
37189
  }, o.inherits(a, n), a.prototype.processChunk = function(e2) {
37089
- var t2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2.data);
37190
+ var t2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2.data);
37090
37191
  if (this.leftOver && this.leftOver.length) {
37091
- if (h2.uint8array) {
37192
+ if (h.uint8array) {
37092
37193
  var r22 = t2;
37093
37194
  (t2 = new Uint8Array(r22.length + this.leftOver.length)).set(this.leftOver, 0), t2.set(r22, this.leftOver.length);
37094
37195
  } else t2 = this.leftOver.concat(t2);
@@ -37099,14 +37200,14 @@ function requireJszip_min() {
37099
37200
  for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), r3 = t3 - 1; 0 <= r3 && 128 == (192 & e3[r3]); ) r3--;
37100
37201
  return r3 < 0 ? t3 : 0 === r3 ? t3 : r3 + u[e3[r3]] > t3 ? r3 : t3;
37101
37202
  })(t2), i2 = t2;
37102
- n2 !== t2.length && (h2.uint8array ? (i2 = t2.subarray(0, n2), this.leftOver = t2.subarray(n2, t2.length)) : (i2 = t2.slice(0, n2), this.leftOver = t2.slice(n2, t2.length))), this.push({ data: s2.utf8decode(i2), meta: e2.meta });
37203
+ n2 !== t2.length && (h.uint8array ? (i2 = t2.subarray(0, n2), this.leftOver = t2.subarray(n2, t2.length)) : (i2 = t2.slice(0, n2), this.leftOver = t2.slice(n2, t2.length))), this.push({ data: s2.utf8decode(i2), meta: e2.meta });
37103
37204
  }, a.prototype.flush = function() {
37104
37205
  this.leftOver && this.leftOver.length && (this.push({ data: s2.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
37105
37206
  }, s2.Utf8DecodeWorker = a, o.inherits(l3, n), l3.prototype.processChunk = function(e2) {
37106
37207
  this.push({ data: s2.utf8encode(e2.data), meta: e2.meta });
37107
37208
  }, s2.Utf8EncodeWorker = l3;
37108
37209
  }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(e, t, a) {
37109
- var o = e("./support"), h2 = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
37210
+ var o = e("./support"), h = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
37110
37211
  function n(e2) {
37111
37212
  return e2;
37112
37213
  }
@@ -37240,17 +37341,17 @@ function requireJszip_min() {
37240
37341
  }) : n3;
37241
37342
  }).then(function(e3) {
37242
37343
  var t2 = a.getTypeOf(e3);
37243
- return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h2.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
37344
+ return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
37244
37345
  return l3(e4, o.uint8array ? new Uint8Array(e4.length) : new Array(e4.length));
37245
37346
  })(e3))), e3) : u.Promise.reject(new Error("Can't read the data of '" + r22 + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
37246
37347
  });
37247
37348
  };
37248
37349
  }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(e, t, r2) {
37249
37350
  var n = e("./reader/readerFor"), i = e("./utils"), s2 = e("./signature"), a = e("./zipEntry"), o = e("./support");
37250
- function h2(e2) {
37351
+ function h(e2) {
37251
37352
  this.files = [], this.loadOptions = e2;
37252
37353
  }
37253
- h2.prototype = { checkSignature: function(e2) {
37354
+ h.prototype = { checkSignature: function(e2) {
37254
37355
  if (!this.reader.readAndCheckSignature(e2)) {
37255
37356
  this.reader.index -= 4;
37256
37357
  var t2 = this.reader.readString(4);
@@ -37296,9 +37397,9 @@ function requireJszip_min() {
37296
37397
  this.reader = n(e2);
37297
37398
  }, load: function(e2) {
37298
37399
  this.prepareReader(e2), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
37299
- } }, t.exports = h2;
37400
+ } }, t.exports = h;
37300
37401
  }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(e, t, r2) {
37301
- var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h2 = e("./compressions"), u = e("./support");
37402
+ var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h = e("./compressions"), u = e("./support");
37302
37403
  function l3(e2, t2) {
37303
37404
  this.options = e2, this.loadOptions = t2;
37304
37405
  }
@@ -37310,7 +37411,7 @@ function requireJszip_min() {
37310
37411
  var t2, r22;
37311
37412
  if (e2.skip(22), this.fileNameLength = e2.readInt(2), r22 = e2.readInt(2), this.fileName = e2.readData(this.fileNameLength), e2.skip(r22), -1 === this.compressedSize || -1 === this.uncompressedSize) throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
37312
37413
  if (null === (t2 = (function(e3) {
37313
- for (var t3 in h2) if (Object.prototype.hasOwnProperty.call(h2, t3) && h2[t3].magic === e3) return h2[t3];
37414
+ for (var t3 in h) if (Object.prototype.hasOwnProperty.call(h, t3) && h[t3].magic === e3) return h[t3];
37314
37415
  return null;
37315
37416
  })(this.compressionMethod))) throw new Error("Corrupted zip : compression " + s2.pretty(this.compressionMethod) + " unknown (inner file : " + s2.transformTo("string", this.fileName) + ")");
37316
37417
  this.decompressed = new i(this.compressedSize, this.uncompressedSize, this.crc32, t2, e2.readData(this.compressedSize));
@@ -37368,7 +37469,7 @@ function requireJszip_min() {
37368
37469
  function n(e2, t2, r22) {
37369
37470
  this.name = e2, this.dir = r22.dir, this.date = r22.date, this.comment = r22.comment, this.unixPermissions = r22.unixPermissions, this.dosPermissions = r22.dosPermissions, this._data = t2, this._dataBinary = r22.binary, this.options = { compression: r22.compression, compressionOptions: r22.compressionOptions };
37370
37471
  }
37371
- var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h2 = e("./stream/GenericWorker");
37472
+ var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h = e("./stream/GenericWorker");
37372
37473
  n.prototype = { internalStream: function(e2) {
37373
37474
  var t2 = null, r22 = "string";
37374
37475
  try {
@@ -37378,7 +37479,7 @@ function requireJszip_min() {
37378
37479
  var i2 = !this._dataBinary;
37379
37480
  i2 && !n2 && (t2 = t2.pipe(new a.Utf8EncodeWorker())), !i2 && n2 && (t2 = t2.pipe(new a.Utf8DecodeWorker()));
37380
37481
  } catch (e3) {
37381
- (t2 = new h2("error")).error(e3);
37482
+ (t2 = new h("error")).error(e3);
37382
37483
  }
37383
37484
  return new s2(t2, r22, "");
37384
37485
  }, async: function(e2, t2) {
@@ -37390,7 +37491,7 @@ function requireJszip_min() {
37390
37491
  var r22 = this._decompressWorker();
37391
37492
  return this._dataBinary || (r22 = r22.pipe(new a.Utf8EncodeWorker())), o.createWorkerFrom(r22, e2, t2);
37392
37493
  }, _decompressWorker: function() {
37393
- return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h2 ? this._data : new i(this._data);
37494
+ return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h ? this._data : new i(this._data);
37394
37495
  } };
37395
37496
  for (var u = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], l3 = function() {
37396
37497
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
@@ -37418,18 +37519,18 @@ function requireJszip_min() {
37418
37519
  o.port2.postMessage(0);
37419
37520
  };
37420
37521
  }
37421
- var h2 = [];
37522
+ var h = [];
37422
37523
  function u() {
37423
37524
  var e3, t3;
37424
37525
  n = true;
37425
- for (var r22 = h2.length; r22; ) {
37426
- for (t3 = h2, h2 = [], e3 = -1; ++e3 < r22; ) t3[e3]();
37427
- r22 = h2.length;
37526
+ for (var r22 = h.length; r22; ) {
37527
+ for (t3 = h, h = [], e3 = -1; ++e3 < r22; ) t3[e3]();
37528
+ r22 = h.length;
37428
37529
  }
37429
37530
  n = false;
37430
37531
  }
37431
37532
  l3.exports = function(e3) {
37432
- 1 !== h2.push(e3) || n || r2();
37533
+ 1 !== h.push(e3) || n || r2();
37433
37534
  };
37434
37535
  }).call(this, "undefined" != typeof commonjsGlobal ? commonjsGlobal : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
37435
37536
  }, {}], 37: [function(e, t, r2) {
@@ -37441,7 +37542,7 @@ function requireJszip_min() {
37441
37542
  if ("function" != typeof e2) throw new TypeError("resolver must be a function");
37442
37543
  this.state = n, this.queue = [], this.outcome = void 0, e2 !== u && d2(this, e2);
37443
37544
  }
37444
- function h2(e2, t2, r22) {
37545
+ function h(e2, t2, r22) {
37445
37546
  this.promise = e2, "function" == typeof t2 && (this.onFulfilled = t2, this.callFulfilled = this.otherCallFulfilled), "function" == typeof r22 && (this.onRejected = r22, this.callRejected = this.otherCallRejected);
37446
37547
  }
37447
37548
  function f2(t2, r22, n2) {
@@ -37500,15 +37601,15 @@ function requireJszip_min() {
37500
37601
  }, o.prototype.then = function(e2, t2) {
37501
37602
  if ("function" != typeof e2 && this.state === a || "function" != typeof t2 && this.state === s2) return this;
37502
37603
  var r22 = new this.constructor(u);
37503
- this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h2(r22, e2, t2));
37604
+ this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h(r22, e2, t2));
37504
37605
  return r22;
37505
- }, h2.prototype.callFulfilled = function(e2) {
37606
+ }, h.prototype.callFulfilled = function(e2) {
37506
37607
  l3.resolve(this.promise, e2);
37507
- }, h2.prototype.otherCallFulfilled = function(e2) {
37608
+ }, h.prototype.otherCallFulfilled = function(e2) {
37508
37609
  f2(this.promise, this.onFulfilled, e2);
37509
- }, h2.prototype.callRejected = function(e2) {
37610
+ }, h.prototype.callRejected = function(e2) {
37510
37611
  l3.reject(this.promise, e2);
37511
- }, h2.prototype.otherCallRejected = function(e2) {
37612
+ }, h.prototype.otherCallRejected = function(e2) {
37512
37613
  f2(this.promise, this.onRejected, e2);
37513
37614
  }, l3.resolve = function(e2, t2) {
37514
37615
  var r22 = p(c2, t2);
@@ -37536,9 +37637,9 @@ function requireJszip_min() {
37536
37637
  var n2 = e2.length, i2 = false;
37537
37638
  if (!n2) return this.resolve([]);
37538
37639
  var s22 = new Array(n2), a2 = 0, t2 = -1, o2 = new this(u);
37539
- for (; ++t2 < n2; ) h22(e2[t2], t2);
37640
+ for (; ++t2 < n2; ) h2(e2[t2], t2);
37540
37641
  return o2;
37541
- function h22(e3, t3) {
37642
+ function h2(e3, t3) {
37542
37643
  r22.resolve(e3).then(function(e4) {
37543
37644
  s22[t3] = e4, ++a2 !== n2 || i2 || (i2 = true, l3.resolve(o2, s22));
37544
37645
  }, function(e4) {
@@ -37563,7 +37664,7 @@ function requireJszip_min() {
37563
37664
  var n = {};
37564
37665
  (0, e("./lib/utils/common").assign)(n, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), t.exports = n;
37565
37666
  }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(e, t, r2) {
37566
- var a = e("./zlib/deflate"), o = e("./utils/common"), h2 = e("./utils/strings"), i = e("./zlib/messages"), s2 = e("./zlib/zstream"), u = Object.prototype.toString, l3 = 0, f2 = -1, c2 = 0, d2 = 8;
37667
+ var a = e("./zlib/deflate"), o = e("./utils/common"), h = e("./utils/strings"), i = e("./zlib/messages"), s2 = e("./zlib/zstream"), u = Object.prototype.toString, l3 = 0, f2 = -1, c2 = 0, d2 = 8;
37567
37668
  function p(e2) {
37568
37669
  if (!(this instanceof p)) return new p(e2);
37569
37670
  this.options = o.assign({ level: f2, method: d2, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: c2, to: "" }, e2 || {});
@@ -37573,7 +37674,7 @@ function requireJszip_min() {
37573
37674
  if (r22 !== l3) throw new Error(i[r22]);
37574
37675
  if (t2.header && a.deflateSetHeader(this.strm, t2.header), t2.dictionary) {
37575
37676
  var n2;
37576
- if (n2 = "string" == typeof t2.dictionary ? h2.string2buf(t2.dictionary) : "[object ArrayBuffer]" === u.call(t2.dictionary) ? new Uint8Array(t2.dictionary) : t2.dictionary, (r22 = a.deflateSetDictionary(this.strm, n2)) !== l3) throw new Error(i[r22]);
37677
+ if (n2 = "string" == typeof t2.dictionary ? h.string2buf(t2.dictionary) : "[object ArrayBuffer]" === u.call(t2.dictionary) ? new Uint8Array(t2.dictionary) : t2.dictionary, (r22 = a.deflateSetDictionary(this.strm, n2)) !== l3) throw new Error(i[r22]);
37577
37678
  this._dict_set = true;
37578
37679
  }
37579
37680
  }
@@ -37585,10 +37686,10 @@ function requireJszip_min() {
37585
37686
  p.prototype.push = function(e2, t2) {
37586
37687
  var r22, n2, i2 = this.strm, s22 = this.options.chunkSize;
37587
37688
  if (this.ended) return false;
37588
- n2 = t2 === ~~t2 ? t2 : true === t2 ? 4 : 0, "string" == typeof e2 ? i2.input = h2.string2buf(e2) : "[object ArrayBuffer]" === u.call(e2) ? i2.input = new Uint8Array(e2) : i2.input = e2, i2.next_in = 0, i2.avail_in = i2.input.length;
37689
+ n2 = t2 === ~~t2 ? t2 : true === t2 ? 4 : 0, "string" == typeof e2 ? i2.input = h.string2buf(e2) : "[object ArrayBuffer]" === u.call(e2) ? i2.input = new Uint8Array(e2) : i2.input = e2, i2.next_in = 0, i2.avail_in = i2.input.length;
37589
37690
  do {
37590
37691
  if (0 === i2.avail_out && (i2.output = new o.Buf8(s22), i2.next_out = 0, i2.avail_out = s22), 1 !== (r22 = a.deflate(i2, n2)) && r22 !== l3) return this.onEnd(r22), !(this.ended = true);
37591
- 0 !== i2.avail_out && (0 !== i2.avail_in || 4 !== n2 && 2 !== n2) || ("string" === this.options.to ? this.onData(h2.buf2binstring(o.shrinkBuf(i2.output, i2.next_out))) : this.onData(o.shrinkBuf(i2.output, i2.next_out)));
37692
+ 0 !== i2.avail_out && (0 !== i2.avail_in || 4 !== n2 && 2 !== n2) || ("string" === this.options.to ? this.onData(h.buf2binstring(o.shrinkBuf(i2.output, i2.next_out))) : this.onData(o.shrinkBuf(i2.output, i2.next_out)));
37592
37693
  } while ((0 < i2.avail_in || 0 === i2.avail_out) && 1 !== r22);
37593
37694
  return 4 === n2 ? (r22 = a.deflateEnd(this.strm), this.onEnd(r22), this.ended = true, r22 === l3) : 2 !== n2 || (this.onEnd(l3), !(i2.avail_out = 0));
37594
37695
  }, p.prototype.onData = function(e2) {
@@ -37617,14 +37718,14 @@ function requireJszip_min() {
37617
37718
  return r22.result;
37618
37719
  }
37619
37720
  a.prototype.push = function(e2, t2) {
37620
- var r22, n2, i2, s22, a2, o2, h2 = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37721
+ var r22, n2, i2, s22, a2, o2, h = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37621
37722
  if (this.ended) return false;
37622
- n2 = t2 === ~~t2 ? t2 : true === t2 ? m2.Z_FINISH : m2.Z_NO_FLUSH, "string" == typeof e2 ? h2.input = p.binstring2buf(e2) : "[object ArrayBuffer]" === _2.call(e2) ? h2.input = new Uint8Array(e2) : h2.input = e2, h2.next_in = 0, h2.avail_in = h2.input.length;
37723
+ n2 = t2 === ~~t2 ? t2 : true === t2 ? m2.Z_FINISH : m2.Z_NO_FLUSH, "string" == typeof e2 ? h.input = p.binstring2buf(e2) : "[object ArrayBuffer]" === _2.call(e2) ? h.input = new Uint8Array(e2) : h.input = e2, h.next_in = 0, h.avail_in = h.input.length;
37623
37724
  do {
37624
- if (0 === h2.avail_out && (h2.output = new d2.Buf8(u), h2.next_out = 0, h2.avail_out = u), (r22 = c2.inflate(h2, m2.Z_NO_FLUSH)) === m2.Z_NEED_DICT && l3 && (o2 = "string" == typeof l3 ? p.string2buf(l3) : "[object ArrayBuffer]" === _2.call(l3) ? new Uint8Array(l3) : l3, r22 = c2.inflateSetDictionary(this.strm, o2)), r22 === m2.Z_BUF_ERROR && true === f2 && (r22 = m2.Z_OK, f2 = false), r22 !== m2.Z_STREAM_END && r22 !== m2.Z_OK) return this.onEnd(r22), !(this.ended = true);
37625
- h2.next_out && (0 !== h2.avail_out && r22 !== m2.Z_STREAM_END && (0 !== h2.avail_in || n2 !== m2.Z_FINISH && n2 !== m2.Z_SYNC_FLUSH) || ("string" === this.options.to ? (i2 = p.utf8border(h2.output, h2.next_out), s22 = h2.next_out - i2, a2 = p.buf2string(h2.output, i2), h2.next_out = s22, h2.avail_out = u - s22, s22 && d2.arraySet(h2.output, h2.output, i2, s22, 0), this.onData(a2)) : this.onData(d2.shrinkBuf(h2.output, h2.next_out)))), 0 === h2.avail_in && 0 === h2.avail_out && (f2 = true);
37626
- } while ((0 < h2.avail_in || 0 === h2.avail_out) && r22 !== m2.Z_STREAM_END);
37627
- return r22 === m2.Z_STREAM_END && (n2 = m2.Z_FINISH), n2 === m2.Z_FINISH ? (r22 = c2.inflateEnd(this.strm), this.onEnd(r22), this.ended = true, r22 === m2.Z_OK) : n2 !== m2.Z_SYNC_FLUSH || (this.onEnd(m2.Z_OK), !(h2.avail_out = 0));
37725
+ if (0 === h.avail_out && (h.output = new d2.Buf8(u), h.next_out = 0, h.avail_out = u), (r22 = c2.inflate(h, m2.Z_NO_FLUSH)) === m2.Z_NEED_DICT && l3 && (o2 = "string" == typeof l3 ? p.string2buf(l3) : "[object ArrayBuffer]" === _2.call(l3) ? new Uint8Array(l3) : l3, r22 = c2.inflateSetDictionary(this.strm, o2)), r22 === m2.Z_BUF_ERROR && true === f2 && (r22 = m2.Z_OK, f2 = false), r22 !== m2.Z_STREAM_END && r22 !== m2.Z_OK) return this.onEnd(r22), !(this.ended = true);
37726
+ h.next_out && (0 !== h.avail_out && r22 !== m2.Z_STREAM_END && (0 !== h.avail_in || n2 !== m2.Z_FINISH && n2 !== m2.Z_SYNC_FLUSH) || ("string" === this.options.to ? (i2 = p.utf8border(h.output, h.next_out), s22 = h.next_out - i2, a2 = p.buf2string(h.output, i2), h.next_out = s22, h.avail_out = u - s22, s22 && d2.arraySet(h.output, h.output, i2, s22, 0), this.onData(a2)) : this.onData(d2.shrinkBuf(h.output, h.next_out)))), 0 === h.avail_in && 0 === h.avail_out && (f2 = true);
37727
+ } while ((0 < h.avail_in || 0 === h.avail_out) && r22 !== m2.Z_STREAM_END);
37728
+ return r22 === m2.Z_STREAM_END && (n2 = m2.Z_FINISH), n2 === m2.Z_FINISH ? (r22 = c2.inflateEnd(this.strm), this.onEnd(r22), this.ended = true, r22 === m2.Z_OK) : n2 !== m2.Z_SYNC_FLUSH || (this.onEnd(m2.Z_OK), !(h.avail_out = 0));
37628
37729
  }, a.prototype.onData = function(e2) {
37629
37730
  this.chunks.push(e2);
37630
37731
  }, a.prototype.onEnd = function(e2) {
@@ -37663,7 +37764,7 @@ function requireJszip_min() {
37663
37764
  e2 ? (r2.Buf8 = Uint8Array, r2.Buf16 = Uint16Array, r2.Buf32 = Int32Array, r2.assign(r2, i)) : (r2.Buf8 = Array, r2.Buf16 = Array, r2.Buf32 = Array, r2.assign(r2, s2));
37664
37765
  }, r2.setTyped(n);
37665
37766
  }, {}], 42: [function(e, t, r2) {
37666
- var h2 = e("./common"), i = true, s2 = true;
37767
+ var h = e("./common"), i = true, s2 = true;
37667
37768
  try {
37668
37769
  String.fromCharCode.apply(null, [0]);
37669
37770
  } catch (e2) {
@@ -37674,21 +37775,21 @@ function requireJszip_min() {
37674
37775
  } catch (e2) {
37675
37776
  s2 = false;
37676
37777
  }
37677
- for (var u = new h2.Buf8(256), n = 0; n < 256; n++) u[n] = 252 <= n ? 6 : 248 <= n ? 5 : 240 <= n ? 4 : 224 <= n ? 3 : 192 <= n ? 2 : 1;
37778
+ for (var u = new h.Buf8(256), n = 0; n < 256; n++) u[n] = 252 <= n ? 6 : 248 <= n ? 5 : 240 <= n ? 4 : 224 <= n ? 3 : 192 <= n ? 2 : 1;
37678
37779
  function l3(e2, t2) {
37679
- if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h2.shrinkBuf(e2, t2));
37780
+ if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h.shrinkBuf(e2, t2));
37680
37781
  for (var r22 = "", n2 = 0; n2 < t2; n2++) r22 += String.fromCharCode(e2[n2]);
37681
37782
  return r22;
37682
37783
  }
37683
37784
  u[254] = u[254] = 1, r2.string2buf = function(e2) {
37684
37785
  var t2, r22, n2, i2, s22, a = e2.length, o = 0;
37685
37786
  for (i2 = 0; i2 < a; i2++) 55296 == (64512 & (r22 = e2.charCodeAt(i2))) && i2 + 1 < a && 56320 == (64512 & (n2 = e2.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), o += r22 < 128 ? 1 : r22 < 2048 ? 2 : r22 < 65536 ? 3 : 4;
37686
- for (t2 = new h2.Buf8(o), i2 = s22 = 0; s22 < o; i2++) 55296 == (64512 & (r22 = e2.charCodeAt(i2))) && i2 + 1 < a && 56320 == (64512 & (n2 = e2.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
37787
+ for (t2 = new h.Buf8(o), i2 = s22 = 0; s22 < o; i2++) 55296 == (64512 & (r22 = e2.charCodeAt(i2))) && i2 + 1 < a && 56320 == (64512 & (n2 = e2.charCodeAt(i2 + 1))) && (r22 = 65536 + (r22 - 55296 << 10) + (n2 - 56320), i2++), r22 < 128 ? t2[s22++] = r22 : (r22 < 2048 ? t2[s22++] = 192 | r22 >>> 6 : (r22 < 65536 ? t2[s22++] = 224 | r22 >>> 12 : (t2[s22++] = 240 | r22 >>> 18, t2[s22++] = 128 | r22 >>> 12 & 63), t2[s22++] = 128 | r22 >>> 6 & 63), t2[s22++] = 128 | 63 & r22);
37687
37788
  return t2;
37688
37789
  }, r2.buf2binstring = function(e2) {
37689
37790
  return l3(e2, e2.length);
37690
37791
  }, r2.binstring2buf = function(e2) {
37691
- for (var t2 = new h2.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37792
+ for (var t2 = new h.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37692
37793
  return t2;
37693
37794
  }, r2.buf2string = function(e2, t2) {
37694
37795
  var r22, n2, i2, s22, a = t2 || e2.length, o = new Array(2 * a);
@@ -37730,11 +37831,11 @@ function requireJszip_min() {
37730
37831
  return -1 ^ e2;
37731
37832
  };
37732
37833
  }, {}], 46: [function(e, t, r2) {
37733
- var h2, c2 = e("../utils/common"), u = e("./trees"), d2 = e("./adler32"), p = e("./crc32"), n = e("./messages"), l3 = 0, f2 = 4, m2 = 0, _2 = -2, g = -1, b2 = 4, i = 2, v2 = 8, y2 = 9, s2 = 286, a = 30, o = 19, w2 = 2 * s2 + 1, k2 = 15, x = 3, S2 = 258, z2 = S2 + x + 1, C2 = 42, E2 = 113, A2 = 1, I2 = 2, O2 = 3, B2 = 4;
37734
- function R2(e2, t2) {
37834
+ var h, c2 = e("../utils/common"), u = e("./trees"), d2 = e("./adler32"), p = e("./crc32"), n = e("./messages"), l3 = 0, f2 = 4, m2 = 0, _2 = -2, g = -1, b2 = 4, i = 2, v2 = 8, y2 = 9, s2 = 286, a = 30, o = 19, w2 = 2 * s2 + 1, k2 = 15, x2 = 3, S2 = 258, z2 = S2 + x2 + 1, C2 = 42, E2 = 113, A2 = 1, I2 = 2, O = 3, B2 = 4;
37835
+ function R(e2, t2) {
37735
37836
  return e2.msg = n[t2], t2;
37736
37837
  }
37737
- function T(e2) {
37838
+ function T2(e2) {
37738
37839
  return (e2 << 1) - (4 < e2 ? 9 : 0);
37739
37840
  }
37740
37841
  function D2(e2) {
@@ -37754,7 +37855,7 @@ function requireJszip_min() {
37754
37855
  e2.pending_buf[e2.pending++] = t2 >>> 8 & 255, e2.pending_buf[e2.pending++] = 255 & t2;
37755
37856
  }
37756
37857
  function L2(e2, t2) {
37757
- var r22, n2, i2 = e2.max_chain_length, s22 = e2.strstart, a2 = e2.prev_length, o2 = e2.nice_match, h22 = e2.strstart > e2.w_size - z2 ? e2.strstart - (e2.w_size - z2) : 0, u2 = e2.window, l22 = e2.w_mask, f22 = e2.prev, c22 = e2.strstart + S2, d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37858
+ var r22, n2, i2 = e2.max_chain_length, s22 = e2.strstart, a2 = e2.prev_length, o2 = e2.nice_match, h2 = e2.strstart > e2.w_size - z2 ? e2.strstart - (e2.w_size - z2) : 0, u2 = e2.window, l22 = e2.w_mask, f22 = e2.prev, c22 = e2.strstart + S2, d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37758
37859
  e2.prev_length >= e2.good_match && (i2 >>= 2), o2 > e2.lookahead && (o2 = e2.lookahead);
37759
37860
  do {
37760
37861
  if (u2[(r22 = t2) + a2] === p2 && u2[r22 + a2 - 1] === d22 && u2[r22] === u2[s22] && u2[++r22] === u2[s22 + 1]) {
@@ -37766,11 +37867,11 @@ function requireJszip_min() {
37766
37867
  d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37767
37868
  }
37768
37869
  }
37769
- } while ((t2 = f22[t2 & l22]) > h22 && 0 != --i2);
37870
+ } while ((t2 = f22[t2 & l22]) > h2 && 0 != --i2);
37770
37871
  return a2 <= e2.lookahead ? a2 : e2.lookahead;
37771
37872
  }
37772
37873
  function j2(e2) {
37773
- var t2, r22, n2, i2, s22, a2, o2, h22, u2, l22, f22 = e2.w_size;
37874
+ var t2, r22, n2, i2, s22, a2, o2, h2, u2, l22, f22 = e2.w_size;
37774
37875
  do {
37775
37876
  if (i2 = e2.window_size - e2.lookahead - e2.strstart, e2.strstart >= f22 + (f22 - z2)) {
37776
37877
  for (c2.arraySet(e2.window, e2.window, f22, f22, 0), e2.match_start -= f22, e2.strstart -= f22, e2.block_start -= f22, t2 = r22 = e2.hash_size; n2 = e2.head[--t2], e2.head[t2] = f22 <= n2 ? n2 - f22 : 0, --r22; ) ;
@@ -37778,7 +37879,7 @@ function requireJszip_min() {
37778
37879
  i2 += f22;
37779
37880
  }
37780
37881
  if (0 === e2.strm.avail_in) break;
37781
- if (a2 = e2.strm, o2 = e2.window, h22 = e2.strstart + e2.lookahead, u2 = i2, l22 = void 0, l22 = a2.avail_in, u2 < l22 && (l22 = u2), r22 = 0 === l22 ? 0 : (a2.avail_in -= l22, c2.arraySet(o2, a2.input, a2.next_in, l22, h22), 1 === a2.state.wrap ? a2.adler = d2(a2.adler, o2, l22, h22) : 2 === a2.state.wrap && (a2.adler = p(a2.adler, o2, l22, h22)), a2.next_in += l22, a2.total_in += l22, l22), e2.lookahead += r22, e2.lookahead + e2.insert >= x) for (s22 = e2.strstart - e2.insert, e2.ins_h = e2.window[s22], e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + 1]) & e2.hash_mask; e2.insert && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + x - 1]) & e2.hash_mask, e2.prev[s22 & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = s22, s22++, e2.insert--, !(e2.lookahead + e2.insert < x)); ) ;
37882
+ if (a2 = e2.strm, o2 = e2.window, h2 = e2.strstart + e2.lookahead, u2 = i2, l22 = void 0, l22 = a2.avail_in, u2 < l22 && (l22 = u2), r22 = 0 === l22 ? 0 : (a2.avail_in -= l22, c2.arraySet(o2, a2.input, a2.next_in, l22, h2), 1 === a2.state.wrap ? a2.adler = d2(a2.adler, o2, l22, h2) : 2 === a2.state.wrap && (a2.adler = p(a2.adler, o2, l22, h2)), a2.next_in += l22, a2.total_in += l22, l22), e2.lookahead += r22, e2.lookahead + e2.insert >= x2) for (s22 = e2.strstart - e2.insert, e2.ins_h = e2.window[s22], e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + 1]) & e2.hash_mask; e2.insert && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[s22 + x2 - 1]) & e2.hash_mask, e2.prev[s22 & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = s22, s22++, e2.insert--, !(e2.lookahead + e2.insert < x2)); ) ;
37782
37883
  } while (e2.lookahead < z2 && 0 !== e2.strm.avail_in);
37783
37884
  }
37784
37885
  function Z(e2, t2) {
@@ -37787,14 +37888,14 @@ function requireJszip_min() {
37787
37888
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37788
37889
  if (0 === e2.lookahead) break;
37789
37890
  }
37790
- if (r22 = 0, e2.lookahead >= x && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 !== r22 && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22)), e2.match_length >= x) if (n2 = u._tr_tally(e2, e2.strstart - e2.match_start, e2.match_length - x), e2.lookahead -= e2.match_length, e2.match_length <= e2.max_lazy_match && e2.lookahead >= x) {
37791
- for (e2.match_length--; e2.strstart++, e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart, 0 != --e2.match_length; ) ;
37891
+ if (r22 = 0, e2.lookahead >= x2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 !== r22 && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22)), e2.match_length >= x2) if (n2 = u._tr_tally(e2, e2.strstart - e2.match_start, e2.match_length - x2), e2.lookahead -= e2.match_length, e2.match_length <= e2.max_lazy_match && e2.lookahead >= x2) {
37892
+ for (e2.match_length--; e2.strstart++, e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart, 0 != --e2.match_length; ) ;
37792
37893
  e2.strstart++;
37793
37894
  } else e2.strstart += e2.match_length, e2.match_length = 0, e2.ins_h = e2.window[e2.strstart], e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + 1]) & e2.hash_mask;
37794
37895
  else n2 = u._tr_tally(e2, 0, e2.window[e2.strstart]), e2.lookahead--, e2.strstart++;
37795
37896
  if (n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37796
37897
  }
37797
- return e2.insert = e2.strstart < x - 1 ? e2.strstart : x - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O2 : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37898
+ return e2.insert = e2.strstart < x2 - 1 ? e2.strstart : x2 - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37798
37899
  }
37799
37900
  function W2(e2, t2) {
37800
37901
  for (var r22, n2, i2; ; ) {
@@ -37802,14 +37903,14 @@ function requireJszip_min() {
37802
37903
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37803
37904
  if (0 === e2.lookahead) break;
37804
37905
  }
37805
- if (r22 = 0, e2.lookahead >= x && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), e2.prev_length = e2.match_length, e2.prev_match = e2.match_start, e2.match_length = x - 1, 0 !== r22 && e2.prev_length < e2.max_lazy_match && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22), e2.match_length <= 5 && (1 === e2.strategy || e2.match_length === x && 4096 < e2.strstart - e2.match_start) && (e2.match_length = x - 1)), e2.prev_length >= x && e2.match_length <= e2.prev_length) {
37806
- for (i2 = e2.strstart + e2.lookahead - x, n2 = u._tr_tally(e2, e2.strstart - 1 - e2.prev_match, e2.prev_length - x), e2.lookahead -= e2.prev_length - 1, e2.prev_length -= 2; ++e2.strstart <= i2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 != --e2.prev_length; ) ;
37807
- if (e2.match_available = 0, e2.match_length = x - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37906
+ if (r22 = 0, e2.lookahead >= x2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), e2.prev_length = e2.match_length, e2.prev_match = e2.match_start, e2.match_length = x2 - 1, 0 !== r22 && e2.prev_length < e2.max_lazy_match && e2.strstart - r22 <= e2.w_size - z2 && (e2.match_length = L2(e2, r22), e2.match_length <= 5 && (1 === e2.strategy || e2.match_length === x2 && 4096 < e2.strstart - e2.match_start) && (e2.match_length = x2 - 1)), e2.prev_length >= x2 && e2.match_length <= e2.prev_length) {
37907
+ for (i2 = e2.strstart + e2.lookahead - x2, n2 = u._tr_tally(e2, e2.strstart - 1 - e2.prev_match, e2.prev_length - x2), e2.lookahead -= e2.prev_length - 1, e2.prev_length -= 2; ++e2.strstart <= i2 && (e2.ins_h = (e2.ins_h << e2.hash_shift ^ e2.window[e2.strstart + x2 - 1]) & e2.hash_mask, r22 = e2.prev[e2.strstart & e2.w_mask] = e2.head[e2.ins_h], e2.head[e2.ins_h] = e2.strstart), 0 != --e2.prev_length; ) ;
37908
+ if (e2.match_available = 0, e2.match_length = x2 - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37808
37909
  } else if (e2.match_available) {
37809
37910
  if ((n2 = u._tr_tally(e2, 0, e2.window[e2.strstart - 1])) && N2(e2, false), e2.strstart++, e2.lookahead--, 0 === e2.strm.avail_out) return A2;
37810
37911
  } else e2.match_available = 1, e2.strstart++, e2.lookahead--;
37811
37912
  }
37812
- return e2.match_available && (n2 = u._tr_tally(e2, 0, e2.window[e2.strstart - 1]), e2.match_available = 0), e2.insert = e2.strstart < x - 1 ? e2.strstart : x - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O2 : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37913
+ return e2.match_available && (n2 = u._tr_tally(e2, 0, e2.window[e2.strstart - 1]), e2.match_available = 0), e2.insert = e2.strstart < x2 - 1 ? e2.strstart : x2 - 1, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O : B2) : e2.last_lit && (N2(e2, false), 0 === e2.strm.avail_out) ? A2 : I2;
37813
37914
  }
37814
37915
  function M2(e2, t2, r22, n2, i2) {
37815
37916
  this.good_length = e2, this.max_lazy = t2, this.nice_length = r22, this.max_chain = n2, this.func = i2;
@@ -37819,23 +37920,23 @@ function requireJszip_min() {
37819
37920
  }
37820
37921
  function G2(e2) {
37821
37922
  var t2;
37822
- return e2 && e2.state ? (e2.total_in = e2.total_out = 0, e2.data_type = i, (t2 = e2.state).pending = 0, t2.pending_out = 0, t2.wrap < 0 && (t2.wrap = -t2.wrap), t2.status = t2.wrap ? C2 : E2, e2.adler = 2 === t2.wrap ? 0 : 1, t2.last_flush = l3, u._tr_init(t2), m2) : R2(e2, _2);
37923
+ return e2 && e2.state ? (e2.total_in = e2.total_out = 0, e2.data_type = i, (t2 = e2.state).pending = 0, t2.pending_out = 0, t2.wrap < 0 && (t2.wrap = -t2.wrap), t2.status = t2.wrap ? C2 : E2, e2.adler = 2 === t2.wrap ? 0 : 1, t2.last_flush = l3, u._tr_init(t2), m2) : R(e2, _2);
37823
37924
  }
37824
37925
  function K2(e2) {
37825
37926
  var t2 = G2(e2);
37826
37927
  return t2 === m2 && (function(e3) {
37827
- e3.window_size = 2 * e3.w_size, D2(e3.head), e3.max_lazy_match = h2[e3.level].max_lazy, e3.good_match = h2[e3.level].good_length, e3.nice_match = h2[e3.level].nice_length, e3.max_chain_length = h2[e3.level].max_chain, e3.strstart = 0, e3.block_start = 0, e3.lookahead = 0, e3.insert = 0, e3.match_length = e3.prev_length = x - 1, e3.match_available = 0, e3.ins_h = 0;
37928
+ e3.window_size = 2 * e3.w_size, D2(e3.head), e3.max_lazy_match = h[e3.level].max_lazy, e3.good_match = h[e3.level].good_length, e3.nice_match = h[e3.level].nice_length, e3.max_chain_length = h[e3.level].max_chain, e3.strstart = 0, e3.block_start = 0, e3.lookahead = 0, e3.insert = 0, e3.match_length = e3.prev_length = x2 - 1, e3.match_available = 0, e3.ins_h = 0;
37828
37929
  })(e2.state), t2;
37829
37930
  }
37830
37931
  function Y2(e2, t2, r22, n2, i2, s22) {
37831
37932
  if (!e2) return _2;
37832
37933
  var a2 = 1;
37833
- if (t2 === g && (t2 = 6), n2 < 0 ? (a2 = 0, n2 = -n2) : 15 < n2 && (a2 = 2, n2 -= 16), i2 < 1 || y2 < i2 || r22 !== v2 || n2 < 8 || 15 < n2 || t2 < 0 || 9 < t2 || s22 < 0 || b2 < s22) return R2(e2, _2);
37934
+ if (t2 === g && (t2 = 6), n2 < 0 ? (a2 = 0, n2 = -n2) : 15 < n2 && (a2 = 2, n2 -= 16), i2 < 1 || y2 < i2 || r22 !== v2 || n2 < 8 || 15 < n2 || t2 < 0 || 9 < t2 || s22 < 0 || b2 < s22) return R(e2, _2);
37834
37935
  8 === n2 && (n2 = 9);
37835
37936
  var o2 = new H();
37836
- return (e2.state = o2).strm = e2, o2.wrap = a2, o2.gzhead = null, o2.w_bits = n2, o2.w_size = 1 << o2.w_bits, o2.w_mask = o2.w_size - 1, o2.hash_bits = i2 + 7, o2.hash_size = 1 << o2.hash_bits, o2.hash_mask = o2.hash_size - 1, o2.hash_shift = ~~((o2.hash_bits + x - 1) / x), o2.window = new c2.Buf8(2 * o2.w_size), o2.head = new c2.Buf16(o2.hash_size), o2.prev = new c2.Buf16(o2.w_size), o2.lit_bufsize = 1 << i2 + 6, o2.pending_buf_size = 4 * o2.lit_bufsize, o2.pending_buf = new c2.Buf8(o2.pending_buf_size), o2.d_buf = 1 * o2.lit_bufsize, o2.l_buf = 3 * o2.lit_bufsize, o2.level = t2, o2.strategy = s22, o2.method = r22, K2(e2);
37937
+ return (e2.state = o2).strm = e2, o2.wrap = a2, o2.gzhead = null, o2.w_bits = n2, o2.w_size = 1 << o2.w_bits, o2.w_mask = o2.w_size - 1, o2.hash_bits = i2 + 7, o2.hash_size = 1 << o2.hash_bits, o2.hash_mask = o2.hash_size - 1, o2.hash_shift = ~~((o2.hash_bits + x2 - 1) / x2), o2.window = new c2.Buf8(2 * o2.w_size), o2.head = new c2.Buf16(o2.hash_size), o2.prev = new c2.Buf16(o2.w_size), o2.lit_bufsize = 1 << i2 + 6, o2.pending_buf_size = 4 * o2.lit_bufsize, o2.pending_buf = new c2.Buf8(o2.pending_buf_size), o2.d_buf = 1 * o2.lit_bufsize, o2.l_buf = 3 * o2.lit_bufsize, o2.level = t2, o2.strategy = s22, o2.method = r22, K2(e2);
37837
37938
  }
37838
- h2 = [new M2(0, 0, 0, 0, function(e2, t2) {
37939
+ h = [new M2(0, 0, 0, 0, function(e2, t2) {
37839
37940
  var r22 = 65535;
37840
37941
  for (r22 > e2.pending_buf_size - 5 && (r22 = e2.pending_buf_size - 5); ; ) {
37841
37942
  if (e2.lookahead <= 1) {
@@ -37847,15 +37948,15 @@ function requireJszip_min() {
37847
37948
  if ((0 === e2.strstart || e2.strstart >= n2) && (e2.lookahead = e2.strstart - n2, e2.strstart = n2, N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37848
37949
  if (e2.strstart - e2.block_start >= e2.w_size - z2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37849
37950
  }
37850
- return e2.insert = 0, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O2 : B2) : (e2.strstart > e2.block_start && (N2(e2, false), e2.strm.avail_out), A2);
37951
+ return e2.insert = 0, t2 === f2 ? (N2(e2, true), 0 === e2.strm.avail_out ? O : B2) : (e2.strstart > e2.block_start && (N2(e2, false), e2.strm.avail_out), A2);
37851
37952
  }), new M2(4, 4, 8, 4, Z), new M2(4, 5, 16, 8, Z), new M2(4, 6, 32, 32, Z), new M2(4, 4, 16, 16, W2), new M2(8, 16, 32, 32, W2), new M2(8, 16, 128, 128, W2), new M2(8, 32, 128, 256, W2), new M2(32, 128, 258, 1024, W2), new M2(32, 258, 258, 4096, W2)], r2.deflateInit = function(e2, t2) {
37852
37953
  return Y2(e2, t2, v2, 15, 8, 0);
37853
37954
  }, r2.deflateInit2 = Y2, r2.deflateReset = K2, r2.deflateResetKeep = G2, r2.deflateSetHeader = function(e2, t2) {
37854
37955
  return e2 && e2.state ? 2 !== e2.state.wrap ? _2 : (e2.state.gzhead = t2, m2) : _2;
37855
37956
  }, r2.deflate = function(e2, t2) {
37856
37957
  var r22, n2, i2, s22;
37857
- if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R2(e2, _2) : _2;
37858
- if (n2 = e2.state, !e2.output || !e2.input && 0 !== e2.avail_in || 666 === n2.status && t2 !== f2) return R2(e2, 0 === e2.avail_out ? -5 : _2);
37958
+ if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R(e2, _2) : _2;
37959
+ if (n2 = e2.state, !e2.output || !e2.input && 0 !== e2.avail_in || 666 === n2.status && t2 !== f2) return R(e2, 0 === e2.avail_out ? -5 : _2);
37859
37960
  if (n2.strm = e2, r22 = n2.last_flush, n2.last_flush = t2, n2.status === C2) if (2 === n2.wrap) e2.adler = 0, U2(n2, 31), U2(n2, 139), U2(n2, 8), n2.gzhead ? (U2(n2, (n2.gzhead.text ? 1 : 0) + (n2.gzhead.hcrc ? 2 : 0) + (n2.gzhead.extra ? 4 : 0) + (n2.gzhead.name ? 8 : 0) + (n2.gzhead.comment ? 16 : 0)), U2(n2, 255 & n2.gzhead.time), U2(n2, n2.gzhead.time >> 8 & 255), U2(n2, n2.gzhead.time >> 16 & 255), U2(n2, n2.gzhead.time >> 24 & 255), U2(n2, 9 === n2.level ? 2 : 2 <= n2.strategy || n2.level < 2 ? 4 : 0), U2(n2, 255 & n2.gzhead.os), n2.gzhead.extra && n2.gzhead.extra.length && (U2(n2, 255 & n2.gzhead.extra.length), U2(n2, n2.gzhead.extra.length >> 8 & 255)), n2.gzhead.hcrc && (e2.adler = p(e2.adler, n2.pending_buf, n2.pending, 0)), n2.gzindex = 0, n2.status = 69) : (U2(n2, 0), U2(n2, 0), U2(n2, 0), U2(n2, 0), U2(n2, 0), U2(n2, 9 === n2.level ? 2 : 2 <= n2.strategy || n2.level < 2 ? 4 : 0), U2(n2, 3), n2.status = E2);
37860
37961
  else {
37861
37962
  var a2 = v2 + (n2.w_bits - 8 << 4) << 8;
@@ -37889,8 +37990,8 @@ function requireJszip_min() {
37889
37990
  } else n2.status = 103;
37890
37991
  if (103 === n2.status && (n2.gzhead.hcrc ? (n2.pending + 2 > n2.pending_buf_size && F2(e2), n2.pending + 2 <= n2.pending_buf_size && (U2(n2, 255 & e2.adler), U2(n2, e2.adler >> 8 & 255), e2.adler = 0, n2.status = E2)) : n2.status = E2), 0 !== n2.pending) {
37891
37992
  if (F2(e2), 0 === e2.avail_out) return n2.last_flush = -1, m2;
37892
- } else if (0 === e2.avail_in && T(t2) <= T(r22) && t2 !== f2) return R2(e2, -5);
37893
- if (666 === n2.status && 0 !== e2.avail_in) return R2(e2, -5);
37993
+ } else if (0 === e2.avail_in && T2(t2) <= T2(r22) && t2 !== f2) return R(e2, -5);
37994
+ if (666 === n2.status && 0 !== e2.avail_in) return R(e2, -5);
37894
37995
  if (0 !== e2.avail_in || 0 !== n2.lookahead || t2 !== l3 && 666 !== n2.status) {
37895
37996
  var o2 = 2 === n2.strategy ? (function(e3, t3) {
37896
37997
  for (var r3; ; ) {
@@ -37900,39 +38001,39 @@ function requireJszip_min() {
37900
38001
  }
37901
38002
  if (e3.match_length = 0, r3 = u._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++, r3 && (N2(e3, false), 0 === e3.strm.avail_out)) return A2;
37902
38003
  }
37903
- return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O2 : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
38004
+ return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37904
38005
  })(n2, t2) : 3 === n2.strategy ? (function(e3, t3) {
37905
38006
  for (var r3, n3, i3, s3, a3 = e3.window; ; ) {
37906
38007
  if (e3.lookahead <= S2) {
37907
38008
  if (j2(e3), e3.lookahead <= S2 && t3 === l3) return A2;
37908
38009
  if (0 === e3.lookahead) break;
37909
38010
  }
37910
- if (e3.match_length = 0, e3.lookahead >= x && 0 < e3.strstart && (n3 = a3[i3 = e3.strstart - 1]) === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3]) {
38011
+ if (e3.match_length = 0, e3.lookahead >= x2 && 0 < e3.strstart && (n3 = a3[i3 = e3.strstart - 1]) === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3]) {
37911
38012
  s3 = e3.strstart + S2;
37912
38013
  do {
37913
38014
  } while (n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && n3 === a3[++i3] && i3 < s3);
37914
38015
  e3.match_length = S2 - (s3 - i3), e3.match_length > e3.lookahead && (e3.match_length = e3.lookahead);
37915
38016
  }
37916
- if (e3.match_length >= x ? (r3 = u._tr_tally(e3, 1, e3.match_length - x), e3.lookahead -= e3.match_length, e3.strstart += e3.match_length, e3.match_length = 0) : (r3 = u._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++), r3 && (N2(e3, false), 0 === e3.strm.avail_out)) return A2;
38017
+ if (e3.match_length >= x2 ? (r3 = u._tr_tally(e3, 1, e3.match_length - x2), e3.lookahead -= e3.match_length, e3.strstart += e3.match_length, e3.match_length = 0) : (r3 = u._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++), r3 && (N2(e3, false), 0 === e3.strm.avail_out)) return A2;
37917
38018
  }
37918
- return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O2 : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
37919
- })(n2, t2) : h2[n2.level].func(n2, t2);
37920
- if (o2 !== O2 && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O2) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
38019
+ return e3.insert = 0, t3 === f2 ? (N2(e3, true), 0 === e3.strm.avail_out ? O : B2) : e3.last_lit && (N2(e3, false), 0 === e3.strm.avail_out) ? A2 : I2;
38020
+ })(n2, t2) : h[n2.level].func(n2, t2);
38021
+ if (o2 !== O && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37921
38022
  if (o2 === I2 && (1 === t2 ? u._tr_align(n2) : 5 !== t2 && (u._tr_stored_block(n2, 0, 0, false), 3 === t2 && (D2(n2.head), 0 === n2.lookahead && (n2.strstart = 0, n2.block_start = 0, n2.insert = 0))), F2(e2), 0 === e2.avail_out)) return n2.last_flush = -1, m2;
37922
38023
  }
37923
38024
  return t2 !== f2 ? m2 : n2.wrap <= 0 ? 1 : (2 === n2.wrap ? (U2(n2, 255 & e2.adler), U2(n2, e2.adler >> 8 & 255), U2(n2, e2.adler >> 16 & 255), U2(n2, e2.adler >> 24 & 255), U2(n2, 255 & e2.total_in), U2(n2, e2.total_in >> 8 & 255), U2(n2, e2.total_in >> 16 & 255), U2(n2, e2.total_in >> 24 & 255)) : (P2(n2, e2.adler >>> 16), P2(n2, 65535 & e2.adler)), F2(e2), 0 < n2.wrap && (n2.wrap = -n2.wrap), 0 !== n2.pending ? m2 : 1);
37924
38025
  }, r2.deflateEnd = function(e2) {
37925
38026
  var t2;
37926
- return e2 && e2.state ? (t2 = e2.state.status) !== C2 && 69 !== t2 && 73 !== t2 && 91 !== t2 && 103 !== t2 && t2 !== E2 && 666 !== t2 ? R2(e2, _2) : (e2.state = null, t2 === E2 ? R2(e2, -3) : m2) : _2;
38027
+ return e2 && e2.state ? (t2 = e2.state.status) !== C2 && 69 !== t2 && 73 !== t2 && 91 !== t2 && 103 !== t2 && t2 !== E2 && 666 !== t2 ? R(e2, _2) : (e2.state = null, t2 === E2 ? R(e2, -3) : m2) : _2;
37927
38028
  }, r2.deflateSetDictionary = function(e2, t2) {
37928
- var r22, n2, i2, s22, a2, o2, h22, u2, l22 = t2.length;
38029
+ var r22, n2, i2, s22, a2, o2, h2, u2, l22 = t2.length;
37929
38030
  if (!e2 || !e2.state) return _2;
37930
38031
  if (2 === (s22 = (r22 = e2.state).wrap) || 1 === s22 && r22.status !== C2 || r22.lookahead) return _2;
37931
- for (1 === s22 && (e2.adler = d2(e2.adler, t2, l22, 0)), r22.wrap = 0, l22 >= r22.w_size && (0 === s22 && (D2(r22.head), r22.strstart = 0, r22.block_start = 0, r22.insert = 0), u2 = new c2.Buf8(r22.w_size), c2.arraySet(u2, t2, l22 - r22.w_size, r22.w_size, 0), t2 = u2, l22 = r22.w_size), a2 = e2.avail_in, o2 = e2.next_in, h22 = e2.input, e2.avail_in = l22, e2.next_in = 0, e2.input = t2, j2(r22); r22.lookahead >= x; ) {
37932
- for (n2 = r22.strstart, i2 = r22.lookahead - (x - 1); r22.ins_h = (r22.ins_h << r22.hash_shift ^ r22.window[n2 + x - 1]) & r22.hash_mask, r22.prev[n2 & r22.w_mask] = r22.head[r22.ins_h], r22.head[r22.ins_h] = n2, n2++, --i2; ) ;
37933
- r22.strstart = n2, r22.lookahead = x - 1, j2(r22);
38032
+ for (1 === s22 && (e2.adler = d2(e2.adler, t2, l22, 0)), r22.wrap = 0, l22 >= r22.w_size && (0 === s22 && (D2(r22.head), r22.strstart = 0, r22.block_start = 0, r22.insert = 0), u2 = new c2.Buf8(r22.w_size), c2.arraySet(u2, t2, l22 - r22.w_size, r22.w_size, 0), t2 = u2, l22 = r22.w_size), a2 = e2.avail_in, o2 = e2.next_in, h2 = e2.input, e2.avail_in = l22, e2.next_in = 0, e2.input = t2, j2(r22); r22.lookahead >= x2; ) {
38033
+ for (n2 = r22.strstart, i2 = r22.lookahead - (x2 - 1); r22.ins_h = (r22.ins_h << r22.hash_shift ^ r22.window[n2 + x2 - 1]) & r22.hash_mask, r22.prev[n2 & r22.w_mask] = r22.head[r22.ins_h], r22.head[r22.ins_h] = n2, n2++, --i2; ) ;
38034
+ r22.strstart = n2, r22.lookahead = x2 - 1, j2(r22);
37934
38035
  }
37935
- return r22.strstart += r22.lookahead, r22.block_start = r22.strstart, r22.insert = r22.lookahead, r22.lookahead = 0, r22.match_length = r22.prev_length = x - 1, r22.match_available = 0, e2.next_in = o2, e2.input = h22, e2.avail_in = a2, r22.wrap = s22, m2;
38036
+ return r22.strstart += r22.lookahead, r22.block_start = r22.strstart, r22.insert = r22.lookahead, r22.lookahead = 0, r22.match_length = r22.prev_length = x2 - 1, r22.match_available = 0, e2.next_in = o2, e2.input = h2, e2.avail_in = a2, r22.wrap = s22, m2;
37936
38037
  }, r2.deflateInfo = "pako deflate (from Nodeca project)";
37937
38038
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(e, t, r2) {
37938
38039
  t.exports = function() {
@@ -37940,8 +38041,8 @@ function requireJszip_min() {
37940
38041
  };
37941
38042
  }, {}], 48: [function(e, t, r2) {
37942
38043
  t.exports = function(e2, t2) {
37943
- var r22, n, i, s2, a, o, h2, u, l3, f2, c2, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x, S2, z2, C2;
37944
- r22 = e2.state, n = e2.next_in, z2 = e2.input, i = n + (e2.avail_in - 5), s2 = e2.next_out, C2 = e2.output, a = s2 - (t2 - e2.avail_out), o = s2 + (e2.avail_out - 257), h2 = r22.dmax, u = r22.wsize, l3 = r22.whave, f2 = r22.wnext, c2 = r22.window, d2 = r22.hold, p = r22.bits, m2 = r22.lencode, _2 = r22.distcode, g = (1 << r22.lenbits) - 1, b2 = (1 << r22.distbits) - 1;
38044
+ var r22, n, i, s2, a, o, h, u, l3, f2, c2, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x2, S2, z2, C2;
38045
+ r22 = e2.state, n = e2.next_in, z2 = e2.input, i = n + (e2.avail_in - 5), s2 = e2.next_out, C2 = e2.output, a = s2 - (t2 - e2.avail_out), o = s2 + (e2.avail_out - 257), h = r22.dmax, u = r22.wsize, l3 = r22.whave, f2 = r22.wnext, c2 = r22.window, d2 = r22.hold, p = r22.bits, m2 = r22.lencode, _2 = r22.distcode, g = (1 << r22.lenbits) - 1, b2 = (1 << r22.distbits) - 1;
37945
38046
  e: do {
37946
38047
  p < 15 && (d2 += z2[n++] << p, p += 8, d2 += z2[n++] << p, p += 8), v2 = m2[d2 & g];
37947
38048
  t: for (; ; ) {
@@ -37969,7 +38070,7 @@ function requireJszip_min() {
37969
38070
  e2.msg = "invalid distance code", r22.mode = 30;
37970
38071
  break e;
37971
38072
  }
37972
- if (k2 = 65535 & v2, p < (y2 &= 15) && (d2 += z2[n++] << p, (p += 8) < y2 && (d2 += z2[n++] << p, p += 8)), h2 < (k2 += d2 & (1 << y2) - 1)) {
38073
+ if (k2 = 65535 & v2, p < (y2 &= 15) && (d2 += z2[n++] << p, (p += 8) < y2 && (d2 += z2[n++] << p, p += 8)), h < (k2 += d2 & (1 << y2) - 1)) {
37973
38074
  e2.msg = "invalid distance too far back", r22.mode = 30;
37974
38075
  break e;
37975
38076
  }
@@ -37978,28 +38079,28 @@ function requireJszip_min() {
37978
38079
  e2.msg = "invalid distance too far back", r22.mode = 30;
37979
38080
  break e;
37980
38081
  }
37981
- if (S2 = c2, (x = 0) === f2) {
37982
- if (x += u - y2, y2 < w2) {
37983
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37984
- x = s2 - k2, S2 = C2;
38082
+ if (S2 = c2, (x2 = 0) === f2) {
38083
+ if (x2 += u - y2, y2 < w2) {
38084
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
38085
+ x2 = s2 - k2, S2 = C2;
37985
38086
  }
37986
38087
  } else if (f2 < y2) {
37987
- if (x += u + f2 - y2, (y2 -= f2) < w2) {
37988
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37989
- if (x = 0, f2 < w2) {
37990
- for (w2 -= y2 = f2; C2[s2++] = c2[x++], --y2; ) ;
37991
- x = s2 - k2, S2 = C2;
38088
+ if (x2 += u + f2 - y2, (y2 -= f2) < w2) {
38089
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
38090
+ if (x2 = 0, f2 < w2) {
38091
+ for (w2 -= y2 = f2; C2[s2++] = c2[x2++], --y2; ) ;
38092
+ x2 = s2 - k2, S2 = C2;
37992
38093
  }
37993
38094
  }
37994
- } else if (x += f2 - y2, y2 < w2) {
37995
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37996
- x = s2 - k2, S2 = C2;
38095
+ } else if (x2 += f2 - y2, y2 < w2) {
38096
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
38097
+ x2 = s2 - k2, S2 = C2;
37997
38098
  }
37998
- for (; 2 < w2; ) C2[s2++] = S2[x++], C2[s2++] = S2[x++], C2[s2++] = S2[x++], w2 -= 3;
37999
- w2 && (C2[s2++] = S2[x++], 1 < w2 && (C2[s2++] = S2[x++]));
38099
+ for (; 2 < w2; ) C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], w2 -= 3;
38100
+ w2 && (C2[s2++] = S2[x2++], 1 < w2 && (C2[s2++] = S2[x2++]));
38000
38101
  } else {
38001
- for (x = s2 - k2; C2[s2++] = C2[x++], C2[s2++] = C2[x++], C2[s2++] = C2[x++], 2 < (w2 -= 3); ) ;
38002
- w2 && (C2[s2++] = C2[x++], 1 < w2 && (C2[s2++] = C2[x++]));
38102
+ for (x2 = s2 - k2; C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], 2 < (w2 -= 3); ) ;
38103
+ w2 && (C2[s2++] = C2[x2++], 1 < w2 && (C2[s2++] = C2[x2++]));
38003
38104
  }
38004
38105
  break;
38005
38106
  }
@@ -38010,7 +38111,7 @@ function requireJszip_min() {
38010
38111
  n -= w2 = p >> 3, d2 &= (1 << (p -= w2 << 3)) - 1, e2.next_in = n, e2.next_out = s2, e2.avail_in = n < i ? i - n + 5 : 5 - (n - i), e2.avail_out = s2 < o ? o - s2 + 257 : 257 - (s2 - o), r22.hold = d2, r22.bits = p;
38011
38112
  };
38012
38113
  }, {}], 49: [function(e, t, r2) {
38013
- var I2 = e("../utils/common"), O2 = e("./adler32"), B2 = e("./crc32"), R2 = e("./inffast"), T = e("./inftrees"), D2 = 1, F2 = 2, N2 = 0, U2 = -2, P2 = 1, n = 852, i = 592;
38114
+ var I2 = e("../utils/common"), O = e("./adler32"), B2 = e("./crc32"), R = e("./inffast"), T2 = e("./inftrees"), D2 = 1, F2 = 2, N2 = 0, U2 = -2, P2 = 1, n = 852, i = 592;
38014
38115
  function L2(e2) {
38015
38116
  return (e2 >>> 24 & 255) + (e2 >>> 8 & 65280) + ((65280 & e2) << 8) + ((255 & e2) << 24);
38016
38117
  }
@@ -38025,13 +38126,13 @@ function requireJszip_min() {
38025
38126
  var t2;
38026
38127
  return e2 && e2.state ? ((t2 = e2.state).wsize = 0, t2.whave = 0, t2.wnext = 0, a(e2)) : U2;
38027
38128
  }
38028
- function h2(e2, t2) {
38129
+ function h(e2, t2) {
38029
38130
  var r22, n2;
38030
38131
  return e2 && e2.state ? (n2 = e2.state, t2 < 0 ? (r22 = 0, t2 = -t2) : (r22 = 1 + (t2 >> 4), t2 < 48 && (t2 &= 15)), t2 && (t2 < 8 || 15 < t2) ? U2 : (null !== n2.window && n2.wbits !== t2 && (n2.window = null), n2.wrap = r22, n2.wbits = t2, o(e2))) : U2;
38031
38132
  }
38032
38133
  function u(e2, t2) {
38033
38134
  var r22, n2;
38034
- return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h2(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
38135
+ return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
38035
38136
  }
38036
38137
  var l3, f2, c2 = true;
38037
38138
  function j2(e2) {
@@ -38041,8 +38142,8 @@ function requireJszip_min() {
38041
38142
  for (; t2 < 256; ) e2.lens[t2++] = 9;
38042
38143
  for (; t2 < 280; ) e2.lens[t2++] = 7;
38043
38144
  for (; t2 < 288; ) e2.lens[t2++] = 8;
38044
- for (T(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
38045
- T(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
38145
+ for (T2(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
38146
+ T2(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
38046
38147
  }
38047
38148
  e2.lencode = l3, e2.lenbits = 9, e2.distcode = f2, e2.distbits = 5;
38048
38149
  }
@@ -38050,12 +38151,12 @@ function requireJszip_min() {
38050
38151
  var i2, s22 = e2.state;
38051
38152
  return null === s22.window && (s22.wsize = 1 << s22.wbits, s22.wnext = 0, s22.whave = 0, s22.window = new I2.Buf8(s22.wsize)), n2 >= s22.wsize ? (I2.arraySet(s22.window, t2, r22 - s22.wsize, s22.wsize, 0), s22.wnext = 0, s22.whave = s22.wsize) : (n2 < (i2 = s22.wsize - s22.wnext) && (i2 = n2), I2.arraySet(s22.window, t2, r22 - n2, i2, s22.wnext), (n2 -= i2) ? (I2.arraySet(s22.window, t2, r22 - n2, n2, 0), s22.wnext = n2, s22.whave = s22.wsize) : (s22.wnext += i2, s22.wnext === s22.wsize && (s22.wnext = 0), s22.whave < s22.wsize && (s22.whave += i2))), 0;
38052
38153
  }
38053
- r2.inflateReset = o, r2.inflateReset2 = h2, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
38154
+ r2.inflateReset = o, r2.inflateReset2 = h, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
38054
38155
  return u(e2, 15);
38055
38156
  }, r2.inflateInit2 = u, r2.inflate = function(e2, t2) {
38056
- var r22, n2, i2, s22, a2, o2, h22, u2, l22, f22, c22, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x, S2, z2, C2 = 0, E2 = new I2.Buf8(4), A2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
38157
+ var r22, n2, i2, s22, a2, o2, h2, u2, l22, f22, c22, d2, p, m2, _2, g, b2, v2, y2, w2, k2, x2, S2, z2, C2 = 0, E2 = new I2.Buf8(4), A2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
38057
38158
  if (!e2 || !e2.state || !e2.output || !e2.input && 0 !== e2.avail_in) return U2;
38058
- 12 === (r22 = e2.state).mode && (r22.mode = 13), a2 = e2.next_out, i2 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, f22 = o2, c22 = h22, x = N2;
38159
+ 12 === (r22 = e2.state).mode && (r22.mode = 13), a2 = e2.next_out, i2 = e2.output, h2 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, f22 = o2, c22 = h2, x2 = N2;
38059
38160
  e: for (; ; ) switch (r22.mode) {
38060
38161
  case P2:
38061
38162
  if (0 === r22.wrap) {
@@ -38158,7 +38259,7 @@ function requireJszip_min() {
38158
38259
  }
38159
38260
  e2.adler = r22.check = L2(u2), l22 = u2 = 0, r22.mode = 11;
38160
38261
  case 11:
38161
- if (0 === r22.havedict) return e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, 2;
38262
+ if (0 === r22.havedict) return e2.next_out = a2, e2.avail_out = h2, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, 2;
38162
38263
  e2.adler = r22.check = 1, r22.mode = 12;
38163
38264
  case 12:
38164
38265
  if (5 === t2 || 6 === t2) break e;
@@ -38201,8 +38302,8 @@ function requireJszip_min() {
38201
38302
  r22.mode = 16;
38202
38303
  case 16:
38203
38304
  if (d2 = r22.length) {
38204
- if (o2 < d2 && (d2 = o2), h22 < d2 && (d2 = h22), 0 === d2) break e;
38205
- I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h22 -= d2, a2 += d2, r22.length -= d2;
38305
+ if (o2 < d2 && (d2 = o2), h2 < d2 && (d2 = h2), 0 === d2) break e;
38306
+ I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h2 -= d2, a2 += d2, r22.length -= d2;
38206
38307
  break;
38207
38308
  }
38208
38309
  r22.mode = 12;
@@ -38226,7 +38327,7 @@ function requireJszip_min() {
38226
38327
  r22.lens[A2[r22.have++]] = 7 & u2, u2 >>>= 3, l22 -= 3;
38227
38328
  }
38228
38329
  for (; r22.have < 19; ) r22.lens[A2[r22.have++]] = 0;
38229
- if (r22.lencode = r22.lendyn, r22.lenbits = 7, S2 = { bits: r22.lenbits }, x = T(0, r22.lens, 0, 19, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x) {
38330
+ if (r22.lencode = r22.lendyn, r22.lenbits = 7, S2 = { bits: r22.lenbits }, x2 = T2(0, r22.lens, 0, 19, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x2) {
38230
38331
  e2.msg = "invalid code lengths set", r22.mode = 30;
38231
38332
  break;
38232
38333
  }
@@ -38274,11 +38375,11 @@ function requireJszip_min() {
38274
38375
  e2.msg = "invalid code -- missing end-of-block", r22.mode = 30;
38275
38376
  break;
38276
38377
  }
38277
- if (r22.lenbits = 9, S2 = { bits: r22.lenbits }, x = T(D2, r22.lens, 0, r22.nlen, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x) {
38378
+ if (r22.lenbits = 9, S2 = { bits: r22.lenbits }, x2 = T2(D2, r22.lens, 0, r22.nlen, r22.lencode, 0, r22.work, S2), r22.lenbits = S2.bits, x2) {
38278
38379
  e2.msg = "invalid literal/lengths set", r22.mode = 30;
38279
38380
  break;
38280
38381
  }
38281
- if (r22.distbits = 6, r22.distcode = r22.distdyn, S2 = { bits: r22.distbits }, x = T(F2, r22.lens, r22.nlen, r22.ndist, r22.distcode, 0, r22.work, S2), r22.distbits = S2.bits, x) {
38382
+ if (r22.distbits = 6, r22.distcode = r22.distdyn, S2 = { bits: r22.distbits }, x2 = T2(F2, r22.lens, r22.nlen, r22.ndist, r22.distcode, 0, r22.work, S2), r22.distbits = S2.bits, x2) {
38282
38383
  e2.msg = "invalid distances set", r22.mode = 30;
38283
38384
  break;
38284
38385
  }
@@ -38286,8 +38387,8 @@ function requireJszip_min() {
38286
38387
  case 20:
38287
38388
  r22.mode = 21;
38288
38389
  case 21:
38289
- if (6 <= o2 && 258 <= h22) {
38290
- e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, R2(e2, c22), a2 = e2.next_out, i2 = e2.output, h22 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, 12 === r22.mode && (r22.back = -1);
38390
+ if (6 <= o2 && 258 <= h2) {
38391
+ e2.next_out = a2, e2.avail_out = h2, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, R(e2, c22), a2 = e2.next_out, i2 = e2.output, h2 = e2.avail_out, s22 = e2.next_in, n2 = e2.input, o2 = e2.avail_in, u2 = r22.hold, l22 = r22.bits, 12 === r22.mode && (r22.back = -1);
38291
38392
  break;
38292
38393
  }
38293
38394
  for (r22.back = 0; g = (C2 = r22.lencode[u2 & (1 << r22.lenbits) - 1]) >>> 16 & 255, b2 = 65535 & C2, !((_2 = C2 >>> 24) <= l22); ) {
@@ -38354,20 +38455,20 @@ function requireJszip_min() {
38354
38455
  }
38355
38456
  r22.mode = 25;
38356
38457
  case 25:
38357
- if (0 === h22) break e;
38358
- if (d2 = c22 - h22, r22.offset > d2) {
38458
+ if (0 === h2) break e;
38459
+ if (d2 = c22 - h2, r22.offset > d2) {
38359
38460
  if ((d2 = r22.offset - d2) > r22.whave && r22.sane) {
38360
38461
  e2.msg = "invalid distance too far back", r22.mode = 30;
38361
38462
  break;
38362
38463
  }
38363
38464
  p = d2 > r22.wnext ? (d2 -= r22.wnext, r22.wsize - d2) : r22.wnext - d2, d2 > r22.length && (d2 = r22.length), m2 = r22.window;
38364
38465
  } else m2 = i2, p = a2 - r22.offset, d2 = r22.length;
38365
- for (h22 < d2 && (d2 = h22), h22 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
38466
+ for (h2 < d2 && (d2 = h2), h2 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
38366
38467
  0 === r22.length && (r22.mode = 21);
38367
38468
  break;
38368
38469
  case 26:
38369
- if (0 === h22) break e;
38370
- i2[a2++] = r22.length, h22--, r22.mode = 21;
38470
+ if (0 === h2) break e;
38471
+ i2[a2++] = r22.length, h2--, r22.mode = 21;
38371
38472
  break;
38372
38473
  case 27:
38373
38474
  if (r22.wrap) {
@@ -38375,7 +38476,7 @@ function requireJszip_min() {
38375
38476
  if (0 === o2) break e;
38376
38477
  o2--, u2 |= n2[s22++] << l22, l22 += 8;
38377
38478
  }
38378
- if (c22 -= h22, e2.total_out += c22, r22.total += c22, c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, a2 - c22) : O2(r22.check, i2, c22, a2 - c22)), c22 = h22, (r22.flags ? u2 : L2(u2)) !== r22.check) {
38479
+ if (c22 -= h2, e2.total_out += c22, r22.total += c22, c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, a2 - c22) : O(r22.check, i2, c22, a2 - c22)), c22 = h2, (r22.flags ? u2 : L2(u2)) !== r22.check) {
38379
38480
  e2.msg = "incorrect data check", r22.mode = 30;
38380
38481
  break;
38381
38482
  }
@@ -38396,10 +38497,10 @@ function requireJszip_min() {
38396
38497
  }
38397
38498
  r22.mode = 29;
38398
38499
  case 29:
38399
- x = 1;
38500
+ x2 = 1;
38400
38501
  break e;
38401
38502
  case 30:
38402
- x = -3;
38503
+ x2 = -3;
38403
38504
  break e;
38404
38505
  case 31:
38405
38506
  return -4;
@@ -38407,7 +38508,7 @@ function requireJszip_min() {
38407
38508
  default:
38408
38509
  return U2;
38409
38510
  }
38410
- return e2.next_out = a2, e2.avail_out = h22, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, (r22.wsize || c22 !== e2.avail_out && r22.mode < 30 && (r22.mode < 27 || 4 !== t2)) && Z(e2, e2.output, e2.next_out, c22 - e2.avail_out) ? (r22.mode = 31, -4) : (f22 -= e2.avail_in, c22 -= e2.avail_out, e2.total_in += f22, e2.total_out += c22, r22.total += c22, r22.wrap && c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, e2.next_out - c22) : O2(r22.check, i2, c22, e2.next_out - c22)), e2.data_type = r22.bits + (r22.last ? 64 : 0) + (12 === r22.mode ? 128 : 0) + (20 === r22.mode || 15 === r22.mode ? 256 : 0), (0 == f22 && 0 === c22 || 4 === t2) && x === N2 && (x = -5), x);
38511
+ return e2.next_out = a2, e2.avail_out = h2, e2.next_in = s22, e2.avail_in = o2, r22.hold = u2, r22.bits = l22, (r22.wsize || c22 !== e2.avail_out && r22.mode < 30 && (r22.mode < 27 || 4 !== t2)) && Z(e2, e2.output, e2.next_out, c22 - e2.avail_out) ? (r22.mode = 31, -4) : (f22 -= e2.avail_in, c22 -= e2.avail_out, e2.total_in += f22, e2.total_out += c22, r22.total += c22, r22.wrap && c22 && (e2.adler = r22.check = r22.flags ? B2(r22.check, i2, c22, e2.next_out - c22) : O(r22.check, i2, c22, e2.next_out - c22)), e2.data_type = r22.bits + (r22.last ? 64 : 0) + (12 === r22.mode ? 128 : 0) + (20 === r22.mode || 15 === r22.mode ? 256 : 0), (0 == f22 && 0 === c22 || 4 === t2) && x2 === N2 && (x2 = -5), x2);
38411
38512
  }, r2.inflateEnd = function(e2) {
38412
38513
  if (!e2 || !e2.state) return U2;
38413
38514
  var t2 = e2.state;
@@ -38417,33 +38518,33 @@ function requireJszip_min() {
38417
38518
  return e2 && e2.state ? 0 == (2 & (r22 = e2.state).wrap) ? U2 : ((r22.head = t2).done = false, N2) : U2;
38418
38519
  }, r2.inflateSetDictionary = function(e2, t2) {
38419
38520
  var r22, n2 = t2.length;
38420
- return e2 && e2.state ? 0 !== (r22 = e2.state).wrap && 11 !== r22.mode ? U2 : 11 === r22.mode && O2(1, t2, n2, 0) !== r22.check ? -3 : Z(e2, t2, n2, n2) ? (r22.mode = 31, -4) : (r22.havedict = 1, N2) : U2;
38521
+ return e2 && e2.state ? 0 !== (r22 = e2.state).wrap && 11 !== r22.mode ? U2 : 11 === r22.mode && O(1, t2, n2, 0) !== r22.check ? -3 : Z(e2, t2, n2, n2) ? (r22.mode = 31, -4) : (r22.havedict = 1, N2) : U2;
38421
38522
  }, r2.inflateInfo = "pako inflate (from Nodeca project)";
38422
38523
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, r2) {
38423
38524
  var D2 = e("../utils/common"), F2 = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], N2 = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], U2 = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], P2 = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
38424
38525
  t.exports = function(e2, t2, r22, n, i, s2, a, o) {
38425
- var h2, u, l3, f2, c2, d2, p, m2, _2, g = o.bits, b2 = 0, v2 = 0, y2 = 0, w2 = 0, k2 = 0, x = 0, S2 = 0, z2 = 0, C2 = 0, E2 = 0, A2 = null, I2 = 0, O2 = new D2.Buf16(16), B2 = new D2.Buf16(16), R2 = null, T = 0;
38426
- for (b2 = 0; b2 <= 15; b2++) O2[b2] = 0;
38427
- for (v2 = 0; v2 < n; v2++) O2[t2[r22 + v2]]++;
38428
- for (k2 = g, w2 = 15; 1 <= w2 && 0 === O2[w2]; w2--) ;
38526
+ var h, u, l3, f2, c2, d2, p, m2, _2, g = o.bits, b2 = 0, v2 = 0, y2 = 0, w2 = 0, k2 = 0, x2 = 0, S2 = 0, z2 = 0, C2 = 0, E2 = 0, A2 = null, I2 = 0, O = new D2.Buf16(16), B2 = new D2.Buf16(16), R = null, T2 = 0;
38527
+ for (b2 = 0; b2 <= 15; b2++) O[b2] = 0;
38528
+ for (v2 = 0; v2 < n; v2++) O[t2[r22 + v2]]++;
38529
+ for (k2 = g, w2 = 15; 1 <= w2 && 0 === O[w2]; w2--) ;
38429
38530
  if (w2 < k2 && (k2 = w2), 0 === w2) return i[s2++] = 20971520, i[s2++] = 20971520, o.bits = 1, 0;
38430
- for (y2 = 1; y2 < w2 && 0 === O2[y2]; y2++) ;
38431
- for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O2[b2]) < 0) return -1;
38531
+ for (y2 = 1; y2 < w2 && 0 === O[y2]; y2++) ;
38532
+ for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O[b2]) < 0) return -1;
38432
38533
  if (0 < z2 && (0 === e2 || 1 !== w2)) return -1;
38433
- for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O2[b2];
38534
+ for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O[b2];
38434
38535
  for (v2 = 0; v2 < n; v2++) 0 !== t2[r22 + v2] && (a[B2[t2[r22 + v2]]++] = v2);
38435
- if (d2 = 0 === e2 ? (A2 = R2 = a, 19) : 1 === e2 ? (A2 = F2, I2 -= 257, R2 = N2, T -= 257, 256) : (A2 = U2, R2 = P2, -1), b2 = y2, c2 = s2, S2 = v2 = E2 = 0, l3 = -1, f2 = (C2 = 1 << (x = k2)) - 1, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38536
+ if (d2 = 0 === e2 ? (A2 = R = a, 19) : 1 === e2 ? (A2 = F2, I2 -= 257, R = N2, T2 -= 257, 256) : (A2 = U2, R = P2, -1), b2 = y2, c2 = s2, S2 = v2 = E2 = 0, l3 = -1, f2 = (C2 = 1 << (x2 = k2)) - 1, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38436
38537
  for (; ; ) {
38437
- for (p = b2 - S2, _2 = a[v2] < d2 ? (m2 = 0, a[v2]) : a[v2] > d2 ? (m2 = R2[T + a[v2]], A2[I2 + a[v2]]) : (m2 = 96, 0), h2 = 1 << b2 - S2, y2 = u = 1 << x; i[c2 + (E2 >> S2) + (u -= h2)] = p << 24 | m2 << 16 | _2 | 0, 0 !== u; ) ;
38438
- for (h2 = 1 << b2 - 1; E2 & h2; ) h2 >>= 1;
38439
- if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O2[b2]) {
38538
+ for (p = b2 - S2, _2 = a[v2] < d2 ? (m2 = 0, a[v2]) : a[v2] > d2 ? (m2 = R[T2 + a[v2]], A2[I2 + a[v2]]) : (m2 = 96, 0), h = 1 << b2 - S2, y2 = u = 1 << x2; i[c2 + (E2 >> S2) + (u -= h)] = p << 24 | m2 << 16 | _2 | 0, 0 !== u; ) ;
38539
+ for (h = 1 << b2 - 1; E2 & h; ) h >>= 1;
38540
+ if (0 !== h ? (E2 &= h - 1, E2 += h) : E2 = 0, v2++, 0 == --O[b2]) {
38440
38541
  if (b2 === w2) break;
38441
38542
  b2 = t2[r22 + a[v2]];
38442
38543
  }
38443
38544
  if (k2 < b2 && (E2 & f2) !== l3) {
38444
- for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x = b2 - S2); x + S2 < w2 && !((z2 -= O2[x + S2]) <= 0); ) x++, z2 <<= 1;
38445
- if (C2 += 1 << x, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38446
- i[l3 = E2 & f2] = k2 << 24 | x << 16 | c2 - s2 | 0;
38545
+ for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x2 = b2 - S2); x2 + S2 < w2 && !((z2 -= O[x2 + S2]) <= 0); ) x2++, z2 <<= 1;
38546
+ if (C2 += 1 << x2, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38547
+ i[l3 = E2 & f2] = k2 << 24 | x2 << 16 | c2 - s2 | 0;
38447
38548
  }
38448
38549
  }
38449
38550
  return 0 !== E2 && (i[c2 + E2] = b2 - S2 << 24 | 64 << 16 | 0), o.bits = k2, 0;
@@ -38451,11 +38552,11 @@ function requireJszip_min() {
38451
38552
  }, { "../utils/common": 41 }], 51: [function(e, t, r2) {
38452
38553
  t.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
38453
38554
  }, {}], 52: [function(e, t, r2) {
38454
- var i = e("../utils/common"), o = 0, h2 = 1;
38555
+ var i = e("../utils/common"), o = 0, h = 1;
38455
38556
  function n(e2) {
38456
38557
  for (var t2 = e2.length; 0 <= --t2; ) e2[t2] = 0;
38457
38558
  }
38458
- var s2 = 0, a = 29, u = 256, l3 = u + 1 + a, f2 = 30, c2 = 19, _2 = 2 * l3 + 1, g = 15, d2 = 16, p = 7, m2 = 256, b2 = 16, v2 = 17, y2 = 18, w2 = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], k2 = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], x = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], S2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], z2 = new Array(2 * (l3 + 2));
38559
+ var s2 = 0, a = 29, u = 256, l3 = u + 1 + a, f2 = 30, c2 = 19, _2 = 2 * l3 + 1, g = 15, d2 = 16, p = 7, m2 = 256, b2 = 16, v2 = 17, y2 = 18, w2 = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], k2 = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], x2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], S2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], z2 = new Array(2 * (l3 + 2));
38459
38560
  n(z2);
38460
38561
  var C2 = new Array(2 * f2);
38461
38562
  n(C2);
@@ -38465,7 +38566,7 @@ function requireJszip_min() {
38465
38566
  n(A2);
38466
38567
  var I2 = new Array(a);
38467
38568
  n(I2);
38468
- var O2, B2, R2, T = new Array(f2);
38569
+ var O, B2, R, T2 = new Array(f2);
38469
38570
  function D2(e2, t2, r22, n2, i2) {
38470
38571
  this.static_tree = e2, this.extra_bits = t2, this.extra_base = r22, this.elems = n2, this.max_length = i2, this.has_stree = e2 && e2.length;
38471
38572
  }
@@ -38516,15 +38617,15 @@ function requireJszip_min() {
38516
38617
  }
38517
38618
  function K2(e2, t2, r22) {
38518
38619
  var n2, i2, s22, a2, o2 = 0;
38519
- if (0 !== e2.last_lit) for (; n2 = e2.pending_buf[e2.d_buf + 2 * o2] << 8 | e2.pending_buf[e2.d_buf + 2 * o2 + 1], i2 = e2.pending_buf[e2.l_buf + o2], o2++, 0 === n2 ? L2(e2, i2, t2) : (L2(e2, (s22 = A2[i2]) + u + 1, t2), 0 !== (a2 = w2[s22]) && P2(e2, i2 -= I2[s22], a2), L2(e2, s22 = N2(--n2), r22), 0 !== (a2 = k2[s22]) && P2(e2, n2 -= T[s22], a2)), o2 < e2.last_lit; ) ;
38620
+ if (0 !== e2.last_lit) for (; n2 = e2.pending_buf[e2.d_buf + 2 * o2] << 8 | e2.pending_buf[e2.d_buf + 2 * o2 + 1], i2 = e2.pending_buf[e2.l_buf + o2], o2++, 0 === n2 ? L2(e2, i2, t2) : (L2(e2, (s22 = A2[i2]) + u + 1, t2), 0 !== (a2 = w2[s22]) && P2(e2, i2 -= I2[s22], a2), L2(e2, s22 = N2(--n2), r22), 0 !== (a2 = k2[s22]) && P2(e2, n2 -= T2[s22], a2)), o2 < e2.last_lit; ) ;
38520
38621
  L2(e2, m2, t2);
38521
38622
  }
38522
38623
  function Y2(e2, t2) {
38523
- var r22, n2, i2, s22 = t2.dyn_tree, a2 = t2.stat_desc.static_tree, o2 = t2.stat_desc.has_stree, h22 = t2.stat_desc.elems, u2 = -1;
38524
- for (e2.heap_len = 0, e2.heap_max = _2, r22 = 0; r22 < h22; r22++) 0 !== s22[2 * r22] ? (e2.heap[++e2.heap_len] = u2 = r22, e2.depth[r22] = 0) : s22[2 * r22 + 1] = 0;
38624
+ var r22, n2, i2, s22 = t2.dyn_tree, a2 = t2.stat_desc.static_tree, o2 = t2.stat_desc.has_stree, h2 = t2.stat_desc.elems, u2 = -1;
38625
+ for (e2.heap_len = 0, e2.heap_max = _2, r22 = 0; r22 < h2; r22++) 0 !== s22[2 * r22] ? (e2.heap[++e2.heap_len] = u2 = r22, e2.depth[r22] = 0) : s22[2 * r22 + 1] = 0;
38525
38626
  for (; e2.heap_len < 2; ) s22[2 * (i2 = e2.heap[++e2.heap_len] = u2 < 2 ? ++u2 : 0)] = 1, e2.depth[i2] = 0, e2.opt_len--, o2 && (e2.static_len -= a2[2 * i2 + 1]);
38526
38627
  for (t2.max_code = u2, r22 = e2.heap_len >> 1; 1 <= r22; r22--) G2(e2, s22, r22);
38527
- for (i2 = h22; r22 = e2.heap[1], e2.heap[1] = e2.heap[e2.heap_len--], G2(e2, s22, 1), n2 = e2.heap[1], e2.heap[--e2.heap_max] = r22, e2.heap[--e2.heap_max] = n2, s22[2 * i2] = s22[2 * r22] + s22[2 * n2], e2.depth[i2] = (e2.depth[r22] >= e2.depth[n2] ? e2.depth[r22] : e2.depth[n2]) + 1, s22[2 * r22 + 1] = s22[2 * n2 + 1] = i2, e2.heap[1] = i2++, G2(e2, s22, 1), 2 <= e2.heap_len; ) ;
38628
+ for (i2 = h2; r22 = e2.heap[1], e2.heap[1] = e2.heap[e2.heap_len--], G2(e2, s22, 1), n2 = e2.heap[1], e2.heap[--e2.heap_max] = r22, e2.heap[--e2.heap_max] = n2, s22[2 * i2] = s22[2 * r22] + s22[2 * n2], e2.depth[i2] = (e2.depth[r22] >= e2.depth[n2] ? e2.depth[r22] : e2.depth[n2]) + 1, s22[2 * r22 + 1] = s22[2 * n2 + 1] = i2, e2.heap[1] = i2++, G2(e2, s22, 1), 2 <= e2.heap_len; ) ;
38528
38629
  e2.heap[--e2.heap_max] = e2.heap[1], (function(e3, t3) {
38529
38630
  var r3, n3, i3, s3, a3, o3, h3 = t3.dyn_tree, u3 = t3.max_code, l22 = t3.stat_desc.static_tree, f22 = t3.stat_desc.has_stree, c22 = t3.stat_desc.extra_bits, d22 = t3.stat_desc.extra_base, p2 = t3.stat_desc.max_length, m22 = 0;
38530
38631
  for (s3 = 0; s3 <= g; s3++) e3.bl_count[s3] = 0;
@@ -38539,18 +38640,18 @@ function requireJszip_min() {
38539
38640
  })(e2, t2), Z(s22, u2, e2.bl_count);
38540
38641
  }
38541
38642
  function X2(e2, t2, r22) {
38542
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38543
- for (0 === a2 && (h22 = 138, u2 = 3), t2[2 * (r22 + 1) + 1] = 65535, n2 = 0; n2 <= r22; n2++) i2 = a2, a2 = t2[2 * (n2 + 1) + 1], ++o2 < h22 && i2 === a2 || (o2 < u2 ? e2.bl_tree[2 * i2] += o2 : 0 !== i2 ? (i2 !== s22 && e2.bl_tree[2 * i2]++, e2.bl_tree[2 * b2]++) : o2 <= 10 ? e2.bl_tree[2 * v2]++ : e2.bl_tree[2 * y2]++, s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4));
38643
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38644
+ for (0 === a2 && (h2 = 138, u2 = 3), t2[2 * (r22 + 1) + 1] = 65535, n2 = 0; n2 <= r22; n2++) i2 = a2, a2 = t2[2 * (n2 + 1) + 1], ++o2 < h2 && i2 === a2 || (o2 < u2 ? e2.bl_tree[2 * i2] += o2 : 0 !== i2 ? (i2 !== s22 && e2.bl_tree[2 * i2]++, e2.bl_tree[2 * b2]++) : o2 <= 10 ? e2.bl_tree[2 * v2]++ : e2.bl_tree[2 * y2]++, s22 = i2, u2 = (o2 = 0) === a2 ? (h2 = 138, 3) : i2 === a2 ? (h2 = 6, 3) : (h2 = 7, 4));
38544
38645
  }
38545
38646
  function V2(e2, t2, r22) {
38546
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38547
- for (0 === a2 && (h22 = 138, u2 = 3), n2 = 0; n2 <= r22; n2++) if (i2 = a2, a2 = t2[2 * (n2 + 1) + 1], !(++o2 < h22 && i2 === a2)) {
38647
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38648
+ for (0 === a2 && (h2 = 138, u2 = 3), n2 = 0; n2 <= r22; n2++) if (i2 = a2, a2 = t2[2 * (n2 + 1) + 1], !(++o2 < h2 && i2 === a2)) {
38548
38649
  if (o2 < u2) for (; L2(e2, i2, e2.bl_tree), 0 != --o2; ) ;
38549
38650
  else 0 !== i2 ? (i2 !== s22 && (L2(e2, i2, e2.bl_tree), o2--), L2(e2, b2, e2.bl_tree), P2(e2, o2 - 3, 2)) : o2 <= 10 ? (L2(e2, v2, e2.bl_tree), P2(e2, o2 - 3, 3)) : (L2(e2, y2, e2.bl_tree), P2(e2, o2 - 11, 7));
38550
- s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4);
38651
+ s22 = i2, u2 = (o2 = 0) === a2 ? (h2 = 138, 3) : i2 === a2 ? (h2 = 6, 3) : (h2 = 7, 4);
38551
38652
  }
38552
38653
  }
38553
- n(T);
38654
+ n(T2);
38554
38655
  var q2 = false;
38555
38656
  function J2(e2, t2, r22, n2) {
38556
38657
  P2(e2, (s2 << 1) + (n2 ? 1 : 0), 3), (function(e3, t3, r3, n3) {
@@ -38561,23 +38662,23 @@ function requireJszip_min() {
38561
38662
  q2 || ((function() {
38562
38663
  var e3, t2, r22, n2, i2, s22 = new Array(g + 1);
38563
38664
  for (n2 = r22 = 0; n2 < a - 1; n2++) for (I2[n2] = r22, e3 = 0; e3 < 1 << w2[n2]; e3++) A2[r22++] = n2;
38564
- for (A2[r22 - 1] = n2, n2 = i2 = 0; n2 < 16; n2++) for (T[n2] = i2, e3 = 0; e3 < 1 << k2[n2]; e3++) E2[i2++] = n2;
38565
- for (i2 >>= 7; n2 < f2; n2++) for (T[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38665
+ for (A2[r22 - 1] = n2, n2 = i2 = 0; n2 < 16; n2++) for (T2[n2] = i2, e3 = 0; e3 < 1 << k2[n2]; e3++) E2[i2++] = n2;
38666
+ for (i2 >>= 7; n2 < f2; n2++) for (T2[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38566
38667
  for (t2 = 0; t2 <= g; t2++) s22[t2] = 0;
38567
38668
  for (e3 = 0; e3 <= 143; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38568
38669
  for (; e3 <= 255; ) z2[2 * e3 + 1] = 9, e3++, s22[9]++;
38569
38670
  for (; e3 <= 279; ) z2[2 * e3 + 1] = 7, e3++, s22[7]++;
38570
38671
  for (; e3 <= 287; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38571
38672
  for (Z(z2, l3 + 1, s22), e3 = 0; e3 < f2; e3++) C2[2 * e3 + 1] = 5, C2[2 * e3] = j2(e3, 5);
38572
- O2 = new D2(z2, w2, u + 1, l3, g), B2 = new D2(C2, k2, 0, f2, g), R2 = new D2(new Array(0), x, 0, c2, p);
38573
- })(), q2 = true), e2.l_desc = new F2(e2.dyn_ltree, O2), e2.d_desc = new F2(e2.dyn_dtree, B2), e2.bl_desc = new F2(e2.bl_tree, R2), e2.bi_buf = 0, e2.bi_valid = 0, W2(e2);
38673
+ O = new D2(z2, w2, u + 1, l3, g), B2 = new D2(C2, k2, 0, f2, g), R = new D2(new Array(0), x2, 0, c2, p);
38674
+ })(), q2 = true), e2.l_desc = new F2(e2.dyn_ltree, O), e2.d_desc = new F2(e2.dyn_dtree, B2), e2.bl_desc = new F2(e2.bl_tree, R), e2.bi_buf = 0, e2.bi_valid = 0, W2(e2);
38574
38675
  }, r2._tr_stored_block = J2, r2._tr_flush_block = function(e2, t2, r22, n2) {
38575
38676
  var i2, s22, a2 = 0;
38576
38677
  0 < e2.level ? (2 === e2.strm.data_type && (e2.strm.data_type = (function(e3) {
38577
38678
  var t3, r3 = 4093624447;
38578
38679
  for (t3 = 0; t3 <= 31; t3++, r3 >>>= 1) if (1 & r3 && 0 !== e3.dyn_ltree[2 * t3]) return o;
38579
- if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h2;
38580
- for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h2;
38680
+ if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h;
38681
+ for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h;
38581
38682
  return o;
38582
38683
  })(e2)), Y2(e2, e2.l_desc), Y2(e2, e2.d_desc), a2 = (function(e3) {
38583
38684
  var t3;
@@ -38603,7 +38704,7 @@ function requireJszip_min() {
38603
38704
  (function(e2) {
38604
38705
  !(function(r22, n) {
38605
38706
  if (!r22.setImmediate) {
38606
- var i, s2, t2, a, o = 1, h2 = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38707
+ var i, s2, t2, a, o = 1, h = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38607
38708
  e3 = e3 && e3.setTimeout ? e3 : r22, i = "[object process]" === {}.toString.call(r22.process) ? function(e4) {
38608
38709
  process$1$1.nextTick(function() {
38609
38710
  c2(e4);
@@ -38632,16 +38733,16 @@ function requireJszip_min() {
38632
38733
  "function" != typeof e4 && (e4 = new Function("" + e4));
38633
38734
  for (var t3 = new Array(arguments.length - 1), r3 = 0; r3 < t3.length; r3++) t3[r3] = arguments[r3 + 1];
38634
38735
  var n2 = { callback: e4, args: t3 };
38635
- return h2[o] = n2, i(o), o++;
38736
+ return h[o] = n2, i(o), o++;
38636
38737
  }, e3.clearImmediate = f2;
38637
38738
  }
38638
38739
  function f2(e4) {
38639
- delete h2[e4];
38740
+ delete h[e4];
38640
38741
  }
38641
38742
  function c2(e4) {
38642
38743
  if (u) setTimeout(c2, 0, e4);
38643
38744
  else {
38644
- var t3 = h2[e4];
38745
+ var t3 = h[e4];
38645
38746
  if (t3) {
38646
38747
  u = true;
38647
38748
  try {
@@ -39646,17 +39747,17 @@ function deepActiveElement(doc2) {
39646
39747
  elt = elt.shadowRoot.activeElement;
39647
39748
  return elt;
39648
39749
  }
39649
- function caretFromPoint(doc2, x, y2) {
39750
+ function caretFromPoint(doc2, x2, y2) {
39650
39751
  if (doc2.caretPositionFromPoint) {
39651
39752
  try {
39652
- let pos = doc2.caretPositionFromPoint(x, y2);
39753
+ let pos = doc2.caretPositionFromPoint(x2, y2);
39653
39754
  if (pos)
39654
39755
  return { node: pos.offsetNode, offset: Math.min(nodeSize(pos.offsetNode), pos.offset) };
39655
39756
  } catch (_2) {
39656
39757
  }
39657
39758
  }
39658
39759
  if (doc2.caretRangeFromPoint) {
39659
- let range2 = doc2.caretRangeFromPoint(x, y2);
39760
+ let range2 = doc2.caretRangeFromPoint(x2, y2);
39660
39761
  if (range2)
39661
39762
  return { node: range2.startContainer, offset: Math.min(nodeSize(range2.startContainer), range2.startOffset) };
39662
39763
  }
@@ -39755,8 +39856,8 @@ function scrollRectIntoView(view, rect, startDOM) {
39755
39856
  function storeScrollPos(view) {
39756
39857
  let rect = view.dom.getBoundingClientRect(), startY = Math.max(0, rect.top);
39757
39858
  let refDOM, refTop;
39758
- for (let x = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39759
- let dom = view.root.elementFromPoint(x, y2);
39859
+ for (let x2 = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39860
+ let dom = view.root.elementFromPoint(x2, y2);
39760
39861
  if (!dom || dom == view.dom || !view.dom.contains(dom))
39761
39862
  continue;
39762
39863
  let localRect = dom.getBoundingClientRect();
@@ -39858,17 +39959,20 @@ function findOffsetInNode(node, coords) {
39858
39959
  }
39859
39960
  function findOffsetInText(node, coords) {
39860
39961
  let len = node.nodeValue.length;
39861
- let range2 = document.createRange();
39962
+ let range2 = document.createRange(), result;
39862
39963
  for (let i = 0; i < len; i++) {
39863
39964
  range2.setEnd(node, i + 1);
39864
39965
  range2.setStart(node, i);
39865
39966
  let rect = singleRect(range2, 1);
39866
39967
  if (rect.top == rect.bottom)
39867
39968
  continue;
39868
- if (inRect(coords, rect))
39869
- return { node, offset: i + (coords.left >= (rect.left + rect.right) / 2 ? 1 : 0) };
39969
+ if (inRect(coords, rect)) {
39970
+ result = { node, offset: i + (coords.left >= (rect.left + rect.right) / 2 ? 1 : 0) };
39971
+ break;
39972
+ }
39870
39973
  }
39871
- return { node, offset: 0 };
39974
+ range2.detach();
39975
+ return result || { node, offset: 0 };
39872
39976
  }
39873
39977
  function inRect(coords, rect) {
39874
39978
  return coords.left >= rect.left - 1 && coords.left <= rect.right + 1 && coords.top >= rect.top - 1 && coords.top <= rect.bottom + 1;
@@ -40052,8 +40156,8 @@ function coordsAtPos(view, pos, side) {
40052
40156
  function flattenV(rect, left2) {
40053
40157
  if (rect.width == 0)
40054
40158
  return rect;
40055
- let x = left2 ? rect.left : rect.right;
40056
- return { top: rect.top, bottom: rect.bottom, left: x, right: x };
40159
+ let x2 = left2 ? rect.left : rect.right;
40160
+ return { top: rect.top, bottom: rect.bottom, left: x2, right: x2 };
40057
40161
  }
40058
40162
  function flattenH(rect, top2) {
40059
40163
  if (rect.height == 0)
@@ -42615,7 +42719,7 @@ editHandlers.compositionstart = editHandlers.compositionupdate = (view) => {
42615
42719
  if (!view.composing) {
42616
42720
  view.domObserver.flush();
42617
42721
  let { state: state2 } = view, $pos = state2.selection.$to;
42618
- if (state2.selection instanceof TextSelection$1 && (state2.storedMarks || !$pos.textOffset && $pos.parentOffset && $pos.nodeBefore.marks.some((m2) => m2.type.spec.inclusive === false))) {
42722
+ if (state2.selection instanceof TextSelection$1 && (state2.storedMarks || !$pos.textOffset && $pos.parentOffset && $pos.nodeBefore.marks.some((m2) => m2.type.spec.inclusive === false) || chrome && windows$1 && selectionBeforeUneditable(view))) {
42619
42723
  view.markCursor = view.state.storedMarks || $pos.marks();
42620
42724
  endComposition(view, true);
42621
42725
  view.markCursor = null;
@@ -42643,6 +42747,13 @@ editHandlers.compositionstart = editHandlers.compositionupdate = (view) => {
42643
42747
  }
42644
42748
  scheduleComposeEnd(view, timeoutComposition);
42645
42749
  };
42750
+ function selectionBeforeUneditable(view) {
42751
+ let { focusNode, focusOffset } = view.domSelectionRange();
42752
+ if (!focusNode || focusNode.nodeType != 1 || focusOffset >= focusNode.childNodes.length)
42753
+ return false;
42754
+ let next = focusNode.childNodes[focusOffset];
42755
+ return next.nodeType == 1 && next.contentEditable == "false";
42756
+ }
42646
42757
  editHandlers.compositionend = (view, event) => {
42647
42758
  if (view.composing) {
42648
42759
  view.input.composing = false;
@@ -42846,10 +42957,14 @@ handlers.dragend = (view) => {
42846
42957
  }, 50);
42847
42958
  };
42848
42959
  editHandlers.dragover = editHandlers.dragenter = (_2, e) => e.preventDefault();
42849
- editHandlers.drop = (view, _event) => {
42850
- let event = _event;
42851
- let dragging = view.dragging;
42852
- view.dragging = null;
42960
+ editHandlers.drop = (view, event) => {
42961
+ try {
42962
+ handleDrop(view, event, view.dragging);
42963
+ } finally {
42964
+ view.dragging = null;
42965
+ }
42966
+ };
42967
+ function handleDrop(view, event, dragging) {
42853
42968
  if (!event.dataTransfer)
42854
42969
  return;
42855
42970
  let eventPos = view.posAtCoords(eventCoords(event));
@@ -42902,7 +43017,7 @@ editHandlers.drop = (view, _event) => {
42902
43017
  }
42903
43018
  view.focus();
42904
43019
  view.dispatch(tr.setMeta("uiEvent", "drop"));
42905
- };
43020
+ }
42906
43021
  handlers.focus = (view) => {
42907
43022
  view.input.lastFocus = Date.now();
42908
43023
  if (!view.focused) {
@@ -43752,6 +43867,13 @@ class DOMObserver {
43752
43867
  br.remove();
43753
43868
  }
43754
43869
  }
43870
+ } else if ((chrome || safari) && added.some((n) => n.nodeName == "BR") && (view.input.lastKeyCode == 8 || view.input.lastKeyCode == 46)) {
43871
+ for (let node of added)
43872
+ if (node.nodeName == "BR" && node.parentNode) {
43873
+ let after = node.nextSibling;
43874
+ if (after && after.nodeType == 1 && after.contentEditable == "false")
43875
+ node.parentNode.removeChild(node);
43876
+ }
43755
43877
  }
43756
43878
  let readSel = null;
43757
43879
  if (from2 < 0 && newSel && view.input.lastFocus > Date.now() - 200 && Math.max(view.input.lastTouch, view.input.lastClick.time) < Date.now() - 300 && selectionCollapsed(sel) && (readSel = selectionFromDOM(view)) && readSel.eq(Selection.near(view.state.doc.resolve(0), 1))) {
@@ -45060,10 +45182,10 @@ const createTimeoutClass = (clearFunction) => class TT {
45060
45182
  const Timeout = createTimeoutClass(clearTimeout);
45061
45183
  const timeout = (timeout2, callback) => new Timeout(setTimeout(callback, timeout2));
45062
45184
  const rotr = (w2, shift2) => w2 >>> shift2 | w2 << 32 - shift2;
45063
- const sum0to256 = (x) => rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22);
45064
- const sum1to256 = (x) => rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25);
45065
- const sigma0to256 = (x) => rotr(x, 7) ^ rotr(x, 18) ^ x >>> 3;
45066
- const sigma1to256 = (x) => rotr(x, 17) ^ rotr(x, 19) ^ x >>> 10;
45185
+ const sum0to256 = (x2) => rotr(x2, 2) ^ rotr(x2, 13) ^ rotr(x2, 22);
45186
+ const sum1to256 = (x2) => rotr(x2, 6) ^ rotr(x2, 11) ^ rotr(x2, 25);
45187
+ const sigma0to256 = (x2) => rotr(x2, 7) ^ rotr(x2, 18) ^ x2 >>> 3;
45188
+ const sigma1to256 = (x2) => rotr(x2, 17) ^ rotr(x2, 19) ^ x2 >>> 10;
45067
45189
  const K = new Uint32Array([
45068
45190
  1116352408,
45069
45191
  1899447441,
@@ -45160,11 +45282,11 @@ class Hasher {
45160
45282
  let e = H[4];
45161
45283
  let f2 = H[5];
45162
45284
  let g = H[6];
45163
- let h2 = H[7];
45285
+ let h = H[7];
45164
45286
  for (let tt = 0, T1, T2; tt < 64; tt++) {
45165
- T1 = h2 + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
45287
+ T1 = h + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
45166
45288
  T2 = sum0to256(a) + (a & b2 ^ a & c2 ^ b2 & c2) >>> 0;
45167
- h2 = g;
45289
+ h = g;
45168
45290
  g = f2;
45169
45291
  f2 = e;
45170
45292
  e = d2 + T1 >>> 0;
@@ -45180,7 +45302,7 @@ class Hasher {
45180
45302
  H[4] += e;
45181
45303
  H[5] += f2;
45182
45304
  H[6] += g;
45183
- H[7] += h2;
45305
+ H[7] += h;
45184
45306
  }
45185
45307
  /**
45186
45308
  * Returns a 32-byte hash.
@@ -54085,7 +54207,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
54085
54207
  { default: remarkStringify },
54086
54208
  { default: remarkGfm }
54087
54209
  ] = await Promise.all([
54088
- Promise.resolve().then(() => require("./index-BO0dc2dg-BiqxnA1k.cjs")),
54210
+ Promise.resolve().then(() => require("./index-_8cQcYzu-CB4RkW2W.cjs")),
54089
54211
  Promise.resolve().then(() => require("./index-DRCvimau-H4Ck3S9a.cjs")),
54090
54212
  Promise.resolve().then(() => require("./index-C_x_N6Uh-Db3CUJMX.cjs")),
54091
54213
  Promise.resolve().then(() => require("./index-D_sWOSiG-BtDZzJ6I.cjs")),
@@ -54303,7 +54425,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
54303
54425
  * @returns {Object | void} Migration results
54304
54426
  */
54305
54427
  processCollaborationMigrations() {
54306
- console.debug("[checkVersionMigrations] Current editor version", "0.34.5");
54428
+ console.debug("[checkVersionMigrations] Current editor version", "0.34.6-RC1");
54307
54429
  if (!this.options.ydoc) return;
54308
54430
  const metaMap = this.options.ydoc.getMap("meta");
54309
54431
  let docVersion = metaMap.get("version");
@@ -56182,16 +56304,16 @@ function getCursorPositionRelativeToContainer(view, eventLocation) {
56182
56304
  const { state: state2, dom } = view;
56183
56305
  const { selection } = state2;
56184
56306
  const containerRect = dom.getBoundingClientRect();
56185
- let x, y2;
56307
+ let x2, y2;
56186
56308
  if (typeof eventLocation.clientX === "number" && typeof eventLocation.clientY === "number") {
56187
- x = eventLocation.clientX - containerRect.left;
56309
+ x2 = eventLocation.clientX - containerRect.left;
56188
56310
  y2 = eventLocation.clientY - containerRect.top;
56189
56311
  } else {
56190
56312
  const cursorCoords = view.coordsAtPos(selection.from);
56191
- x = cursorCoords.left - containerRect.left;
56313
+ x2 = cursorCoords.left - containerRect.left;
56192
56314
  y2 = cursorCoords.top - containerRect.top;
56193
56315
  }
56194
- return { left: x, top: y2 };
56316
+ return { left: x2, top: y2 };
56195
56317
  }
56196
56318
  const SlashMenuPluginKey = new PluginKey("slashMenu");
56197
56319
  const SlashMenu = Extension.create({
@@ -56470,17 +56592,17 @@ class StructuredContentViewBase {
56470
56592
  if (!this.dom || this.contentDOM?.contains(target) || !dragHandle) {
56471
56593
  return;
56472
56594
  }
56473
- let x = 0;
56595
+ let x2 = 0;
56474
56596
  let y2 = 0;
56475
56597
  if (this.dom !== dragHandle) {
56476
56598
  const domBox = this.dom.getBoundingClientRect();
56477
56599
  const handleBox = dragHandle.getBoundingClientRect();
56478
56600
  const offsetX = event.offsetX ?? event.nativeEvent?.offsetX;
56479
56601
  const offsetY = event.offsetY ?? event.nativeEvent?.offsetY;
56480
- x = handleBox.x - domBox.x + offsetX;
56602
+ x2 = handleBox.x - domBox.x + offsetX;
56481
56603
  y2 = handleBox.y - domBox.y + offsetY;
56482
56604
  }
56483
- event.dataTransfer?.setDragImage(this.dom, x, y2);
56605
+ event.dataTransfer?.setDragImage(this.dom, x2, y2);
56484
56606
  const pos = this.getPos();
56485
56607
  if (typeof pos !== "number") {
56486
56608
  return;
@@ -61162,16 +61284,16 @@ function computeMap(table) {
61162
61284
  if (i == rowNode.childCount) break;
61163
61285
  const cellNode = rowNode.child(i);
61164
61286
  const { colspan, rowspan, colwidth } = cellNode.attrs;
61165
- for (let h2 = 0; h2 < rowspan; h2++) {
61166
- if (h2 + row >= height) {
61287
+ for (let h = 0; h < rowspan; h++) {
61288
+ if (h + row >= height) {
61167
61289
  (problems || (problems = [])).push({
61168
61290
  type: "overlong_rowspan",
61169
61291
  pos,
61170
- n: rowspan - h2
61292
+ n: rowspan - h
61171
61293
  });
61172
61294
  break;
61173
61295
  }
61174
- const start2 = mapPos + h2 * width;
61296
+ const start2 = mapPos + h * width;
61175
61297
  for (let w2 = 0; w2 < colspan; w2++) {
61176
61298
  if (map22[start2 + w2] == 0) map22[start2 + w2] = pos;
61177
61299
  else
@@ -64738,24 +64860,24 @@ function parseToRgba(color) {
64738
64860
  const reducedHexMatch = reducedHexRegex.exec(normalizedColor);
64739
64861
  if (reducedHexMatch) {
64740
64862
  const arr = Array.from(reducedHexMatch).slice(1);
64741
- return [...arr.slice(0, 3).map((x) => parseInt(r$1(x, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64863
+ return [...arr.slice(0, 3).map((x2) => parseInt(r$1(x2, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64742
64864
  }
64743
64865
  const hexMatch = hexRegex$1.exec(normalizedColor);
64744
64866
  if (hexMatch) {
64745
64867
  const arr = Array.from(hexMatch).slice(1);
64746
- return [...arr.slice(0, 3).map((x) => parseInt(x, 16)), parseInt(arr[3] || "ff", 16) / 255];
64868
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 16)), parseInt(arr[3] || "ff", 16) / 255];
64747
64869
  }
64748
64870
  const rgbaMatch = rgbaRegex$1.exec(normalizedColor);
64749
64871
  if (rgbaMatch) {
64750
64872
  const arr = Array.from(rgbaMatch).slice(1);
64751
- return [...arr.slice(0, 3).map((x) => parseInt(x, 10)), parseFloat(arr[3] || "1")];
64873
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 10)), parseFloat(arr[3] || "1")];
64752
64874
  }
64753
64875
  const hslaMatch = hslaRegex$1.exec(normalizedColor);
64754
64876
  if (hslaMatch) {
64755
- const [h2, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
64877
+ const [h, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
64756
64878
  if (guard(0, 100, s2) !== s2) throw new ColorError$1(color);
64757
64879
  if (guard(0, 100, l3) !== l3) throw new ColorError$1(color);
64758
- return [...hslToRgb(h2, s2, l3), Number.isNaN(a) ? 1 : a];
64880
+ return [...hslToRgb(h, s2, l3), Number.isNaN(a) ? 1 : a];
64759
64881
  }
64760
64882
  throw new ColorError$1(color);
64761
64883
  }
@@ -64767,7 +64889,7 @@ function hash$2(str) {
64767
64889
  }
64768
64890
  return (hash2 >>> 0) % 2341;
64769
64891
  }
64770
- const colorToInt = (x) => parseInt(x.replace(/_/g, ""), 36);
64892
+ const colorToInt = (x2) => parseInt(x2.replace(/_/g, ""), 36);
64771
64893
  const compressedColorMap = "1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((acc, next) => {
64772
64894
  const key2 = colorToInt(next.substring(0, 3));
64773
64895
  const hex2 = colorToInt(next.substring(3)).toString(16);
@@ -64831,9 +64953,9 @@ const hslToRgb = (hue, saturation, lightness) => {
64831
64953
  };
64832
64954
  function toHex(color) {
64833
64955
  const [r2, g, b2, a] = parseToRgba(color);
64834
- let hex2 = (x) => {
64835
- const h2 = guard(0, 255, x).toString(16);
64836
- return h2.length === 1 ? `0${h2}` : h2;
64956
+ let hex2 = (x2) => {
64957
+ const h = guard(0, 255, x2).toString(16);
64958
+ return h.length === 1 ? `0${h}` : h;
64837
64959
  };
64838
64960
  return `#${hex2(r2)}${hex2(g)}${hex2(b2)}${a < 1 ? hex2(Math.round(a * 255)) : ""}`;
64839
64961
  }
@@ -66691,14 +66813,14 @@ const getNormalizedImageAttrs = (attrs = {}) => {
66691
66813
  marginOffset: normalizeMarginOffset(attrs.marginOffset ?? {})
66692
66814
  };
66693
66815
  };
66694
- const getRotationMargins = (w2, h2, angleDegrees) => {
66816
+ const getRotationMargins = (w2, h, angleDegrees) => {
66695
66817
  const rad = angleDegrees * (Math.PI / 180);
66696
66818
  const cos = Math.abs(Math.cos(rad));
66697
66819
  const sin = Math.abs(Math.sin(rad));
66698
- const boundingWidth = w2 * cos + h2 * sin;
66699
- const boundingHeight = w2 * sin + h2 * cos;
66820
+ const boundingWidth = w2 * cos + h * sin;
66821
+ const boundingHeight = w2 * sin + h * cos;
66700
66822
  const marginLeftRight = Math.round(Math.max(0, (boundingWidth - w2) / 2));
66701
- const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h2) / 2));
66823
+ const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h) / 2));
66702
66824
  return {
66703
66825
  horizontal: marginLeftRight,
66704
66826
  vertical: marginTopBottom
@@ -66936,10 +67058,10 @@ const Image = Node$1.create({
66936
67058
  let minX = 0;
66937
67059
  let minY = 0;
66938
67060
  let maxY = 0;
66939
- attrs.polygon.forEach(([x, y2]) => {
66940
- if (floatRight && x < horizontalOffset) horizontalOffset = x;
66941
- if (x > maxX) maxX = x;
66942
- if (x < minX) minX = x;
67061
+ attrs.polygon.forEach(([x2, y2]) => {
67062
+ if (floatRight && x2 < horizontalOffset) horizontalOffset = x2;
67063
+ if (x2 > maxX) maxX = x2;
67064
+ if (x2 < minX) minX = x2;
66943
67065
  if (y2 > maxY) maxY = y2;
66944
67066
  if (y2 < minY) minY = y2;
66945
67067
  });
@@ -66948,7 +67070,7 @@ const Image = Node$1.create({
66948
67070
  const scaleWidth = Math.min(1, size2.width / originalWidth);
66949
67071
  const scaleHeight = Math.min(1, size2.height / originalHeight);
66950
67072
  const verticalOffset = Math.max(0, marginOffset.top);
66951
- const points = attrs.polygon.map(([x, y2]) => `${horizontalOffset + x * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
67073
+ const points = attrs.polygon.map(([x2, y2]) => `${horizontalOffset + x2 * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66952
67074
  style2 += `shape-outside: polygon(${points});`;
66953
67075
  }
66954
67076
  break;
@@ -70602,13 +70724,13 @@ class ShapeGroupView {
70602
70724
  createShapeElement(shape) {
70603
70725
  const attrs = shape.attrs;
70604
70726
  if (!attrs) return null;
70605
- const x = attrs.x || 0;
70727
+ const x2 = attrs.x || 0;
70606
70728
  const y2 = attrs.y || 0;
70607
70729
  const width = attrs.width || 100;
70608
70730
  const height = attrs.height || 100;
70609
70731
  const g = document.createElementNS("http://www.w3.org/2000/svg", "g");
70610
70732
  const transforms = [];
70611
- transforms.push(`translate(${x}, ${y2})`);
70733
+ transforms.push(`translate(${x2}, ${y2})`);
70612
70734
  if (attrs.rotation !== 0) {
70613
70735
  transforms.push(`rotate(${attrs.rotation} ${width / 2} ${height / 2})`);
70614
70736
  }
@@ -72335,7 +72457,7 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
72335
72457
  }
72336
72458
  var _ref = isElement$2(element) ? getWindow$1(element) : window, visualViewport = _ref.visualViewport;
72337
72459
  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
72338
- var x = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
72460
+ var x2 = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
72339
72461
  var y2 = (clientRect2.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
72340
72462
  var width = clientRect2.width / scaleX;
72341
72463
  var height = clientRect2.height / scaleY;
@@ -72343,10 +72465,10 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
72343
72465
  width,
72344
72466
  height,
72345
72467
  top: y2,
72346
- right: x + width,
72468
+ right: x2 + width,
72347
72469
  bottom: y2 + height,
72348
- left: x,
72349
- x,
72470
+ left: x2,
72471
+ x: x2,
72350
72472
  y: y2
72351
72473
  };
72352
72474
  }
@@ -72547,25 +72669,25 @@ var unsetSides = {
72547
72669
  left: "auto"
72548
72670
  };
72549
72671
  function roundOffsetsByDPR(_ref, win) {
72550
- var x = _ref.x, y2 = _ref.y;
72672
+ var x2 = _ref.x, y2 = _ref.y;
72551
72673
  var dpr = win.devicePixelRatio || 1;
72552
72674
  return {
72553
- x: round$1(x * dpr) / dpr || 0,
72675
+ x: round$1(x2 * dpr) / dpr || 0,
72554
72676
  y: round$1(y2 * dpr) / dpr || 0
72555
72677
  };
72556
72678
  }
72557
72679
  function mapToStyles(_ref2) {
72558
72680
  var _Object$assign2;
72559
72681
  var popper2 = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
72560
- var _offsets$x = offsets.x, x = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y2 = _offsets$y === void 0 ? 0 : _offsets$y;
72682
+ var _offsets$x = offsets.x, x2 = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y2 = _offsets$y === void 0 ? 0 : _offsets$y;
72561
72683
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
72562
- x,
72684
+ x: x2,
72563
72685
  y: y2
72564
72686
  }) : {
72565
- x,
72687
+ x: x2,
72566
72688
  y: y2
72567
72689
  };
72568
- x = _ref3.x;
72690
+ x2 = _ref3.x;
72569
72691
  y2 = _ref3.y;
72570
72692
  var hasX = offsets.hasOwnProperty("x");
72571
72693
  var hasY = offsets.hasOwnProperty("y");
@@ -72599,27 +72721,27 @@ function mapToStyles(_ref2) {
72599
72721
  // $FlowFixMe[prop-missing]
72600
72722
  offsetParent[widthProp]
72601
72723
  );
72602
- x -= offsetX - popperRect.width;
72603
- x *= gpuAcceleration ? 1 : -1;
72724
+ x2 -= offsetX - popperRect.width;
72725
+ x2 *= gpuAcceleration ? 1 : -1;
72604
72726
  }
72605
72727
  }
72606
72728
  var commonStyles = Object.assign({
72607
72729
  position
72608
72730
  }, adaptive && unsetSides);
72609
72731
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
72610
- x,
72732
+ x: x2,
72611
72733
  y: y2
72612
72734
  }, getWindow$1(popper2)) : {
72613
- x,
72735
+ x: x2,
72614
72736
  y: y2
72615
72737
  };
72616
- x = _ref4.x;
72738
+ x2 = _ref4.x;
72617
72739
  y2 = _ref4.y;
72618
72740
  if (gpuAcceleration) {
72619
72741
  var _Object$assign;
72620
- return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y2 + "px)" : "translate3d(" + x + "px, " + y2 + "px, 0)", _Object$assign));
72742
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x2 + "px, " + y2 + "px)" : "translate3d(" + x2 + "px, " + y2 + "px, 0)", _Object$assign));
72621
72743
  }
72622
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
72744
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x2 + "px" : "", _Object$assign2.transform = "", _Object$assign2));
72623
72745
  }
72624
72746
  function computeStyles(_ref5) {
72625
72747
  var state2 = _ref5.state, options = _ref5.options;
@@ -72733,21 +72855,21 @@ function getViewportRect$1(element, strategy) {
72733
72855
  var visualViewport = win.visualViewport;
72734
72856
  var width = html.clientWidth;
72735
72857
  var height = html.clientHeight;
72736
- var x = 0;
72858
+ var x2 = 0;
72737
72859
  var y2 = 0;
72738
72860
  if (visualViewport) {
72739
72861
  width = visualViewport.width;
72740
72862
  height = visualViewport.height;
72741
72863
  var layoutViewport = isLayoutViewport();
72742
72864
  if (layoutViewport || !layoutViewport && strategy === "fixed") {
72743
- x = visualViewport.offsetLeft;
72865
+ x2 = visualViewport.offsetLeft;
72744
72866
  y2 = visualViewport.offsetTop;
72745
72867
  }
72746
72868
  }
72747
72869
  return {
72748
72870
  width,
72749
72871
  height,
72750
- x: x + getWindowScrollBarX$1(element),
72872
+ x: x2 + getWindowScrollBarX$1(element),
72751
72873
  y: y2
72752
72874
  };
72753
72875
  }
@@ -72758,15 +72880,15 @@ function getDocumentRect$1(element) {
72758
72880
  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
72759
72881
  var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
72760
72882
  var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
72761
- var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72883
+ var x2 = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72762
72884
  var y2 = -winScroll.scrollTop;
72763
72885
  if (getComputedStyle$2(body || html).direction === "rtl") {
72764
- x += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72886
+ x2 += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72765
72887
  }
72766
72888
  return {
72767
72889
  width,
72768
72890
  height,
72769
- x,
72891
+ x: x2,
72770
72892
  y: y2
72771
72893
  };
72772
72894
  }
@@ -73143,9 +73265,9 @@ function offset(_ref2) {
73143
73265
  acc[placement] = distanceAndSkiddingToXY(placement, state2.rects, offset2);
73144
73266
  return acc;
73145
73267
  }, {});
73146
- var _data$state$placement = data[state2.placement], x = _data$state$placement.x, y2 = _data$state$placement.y;
73268
+ var _data$state$placement = data[state2.placement], x2 = _data$state$placement.x, y2 = _data$state$placement.y;
73147
73269
  if (state2.modifiersData.popperOffsets != null) {
73148
- state2.modifiersData.popperOffsets.x += x;
73270
+ state2.modifiersData.popperOffsets.x += x2;
73149
73271
  state2.modifiersData.popperOffsets.y += y2;
73150
73272
  }
73151
73273
  state2.modifiersData[name] = data;
@@ -75096,7 +75218,7 @@ function getPaddingObject(padding) {
75096
75218
  }
75097
75219
  function rectToClientRect(rect) {
75098
75220
  const {
75099
- x,
75221
+ x: x2,
75100
75222
  y: y2,
75101
75223
  width,
75102
75224
  height
@@ -75105,10 +75227,10 @@ function rectToClientRect(rect) {
75105
75227
  width,
75106
75228
  height,
75107
75229
  top: y2,
75108
- left: x,
75109
- right: x + width,
75230
+ left: x2,
75231
+ right: x2 + width,
75110
75232
  bottom: y2 + height,
75111
- x,
75233
+ x: x2,
75112
75234
  y: y2
75113
75235
  };
75114
75236
  }
@@ -75182,7 +75304,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75182
75304
  strategy
75183
75305
  });
75184
75306
  let {
75185
- x,
75307
+ x: x2,
75186
75308
  y: y2
75187
75309
  } = computeCoordsFromPlacement(rects, placement, rtl);
75188
75310
  let statefulPlacement = placement;
@@ -75199,7 +75321,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75199
75321
  data,
75200
75322
  reset
75201
75323
  } = await fn2({
75202
- x,
75324
+ x: x2,
75203
75325
  y: y2,
75204
75326
  initialPlacement: placement,
75205
75327
  placement: statefulPlacement,
@@ -75212,7 +75334,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75212
75334
  floating
75213
75335
  }
75214
75336
  });
75215
- x = nextX != null ? nextX : x;
75337
+ x2 = nextX != null ? nextX : x2;
75216
75338
  y2 = nextY != null ? nextY : y2;
75217
75339
  middlewareData = {
75218
75340
  ...middlewareData,
@@ -75235,7 +75357,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75235
75357
  }) : reset.rects;
75236
75358
  }
75237
75359
  ({
75238
- x,
75360
+ x: x2,
75239
75361
  y: y2
75240
75362
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
75241
75363
  }
@@ -75243,7 +75365,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75243
75365
  }
75244
75366
  }
75245
75367
  return {
75246
- x,
75368
+ x: x2,
75247
75369
  y: y2,
75248
75370
  placement: statefulPlacement,
75249
75371
  strategy,
@@ -75256,7 +75378,7 @@ async function detectOverflow(state2, options) {
75256
75378
  options = {};
75257
75379
  }
75258
75380
  const {
75259
- x,
75381
+ x: x2,
75260
75382
  y: y2,
75261
75383
  platform: platform2,
75262
75384
  rects,
@@ -75280,7 +75402,7 @@ async function detectOverflow(state2, options) {
75280
75402
  strategy
75281
75403
  }));
75282
75404
  const rect = elementContext === "floating" ? {
75283
- x,
75405
+ x: x2,
75284
75406
  y: y2,
75285
75407
  width: rects.floating.width,
75286
75408
  height: rects.floating.height
@@ -75549,16 +75671,16 @@ function getScale(element) {
75549
75671
  height,
75550
75672
  $: $2
75551
75673
  } = getCssDimensions(domElement);
75552
- let x = ($2 ? round(rect.width) : rect.width) / width;
75674
+ let x2 = ($2 ? round(rect.width) : rect.width) / width;
75553
75675
  let y2 = ($2 ? round(rect.height) : rect.height) / height;
75554
- if (!x || !Number.isFinite(x)) {
75555
- x = 1;
75676
+ if (!x2 || !Number.isFinite(x2)) {
75677
+ x2 = 1;
75556
75678
  }
75557
75679
  if (!y2 || !Number.isFinite(y2)) {
75558
75680
  y2 = 1;
75559
75681
  }
75560
75682
  return {
75561
- x,
75683
+ x: x2,
75562
75684
  y: y2
75563
75685
  };
75564
75686
  }
@@ -75602,7 +75724,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
75602
75724
  }
75603
75725
  }
75604
75726
  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
75605
- let x = (clientRect2.left + visualOffsets.x) / scale.x;
75727
+ let x2 = (clientRect2.left + visualOffsets.x) / scale.x;
75606
75728
  let y2 = (clientRect2.top + visualOffsets.y) / scale.y;
75607
75729
  let width = clientRect2.width / scale.x;
75608
75730
  let height = clientRect2.height / scale.y;
@@ -75617,11 +75739,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
75617
75739
  const css = getComputedStyle$1(currentIFrame);
75618
75740
  const left2 = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
75619
75741
  const top2 = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
75620
- x *= iframeScale.x;
75742
+ x2 *= iframeScale.x;
75621
75743
  y2 *= iframeScale.y;
75622
75744
  width *= iframeScale.x;
75623
75745
  height *= iframeScale.y;
75624
- x += left2;
75746
+ x2 += left2;
75625
75747
  y2 += top2;
75626
75748
  currentWin = getWindow(currentIFrame);
75627
75749
  currentIFrame = getFrameElement(currentWin);
@@ -75630,7 +75752,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
75630
75752
  return rectToClientRect({
75631
75753
  width,
75632
75754
  height,
75633
- x,
75755
+ x: x2,
75634
75756
  y: y2
75635
75757
  });
75636
75758
  }
@@ -75643,10 +75765,10 @@ function getWindowScrollBarX(element, rect) {
75643
75765
  }
75644
75766
  function getHTMLOffset(documentElement, scroll) {
75645
75767
  const htmlRect = documentElement.getBoundingClientRect();
75646
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
75768
+ const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
75647
75769
  const y2 = htmlRect.top + scroll.scrollTop;
75648
75770
  return {
75649
- x,
75771
+ x: x2,
75650
75772
  y: y2
75651
75773
  };
75652
75774
  }
@@ -75698,15 +75820,15 @@ function getDocumentRect(element) {
75698
75820
  const body = element.ownerDocument.body;
75699
75821
  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
75700
75822
  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
75701
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
75823
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
75702
75824
  const y2 = -scroll.scrollTop;
75703
75825
  if (getComputedStyle$1(body).direction === "rtl") {
75704
- x += max(html.clientWidth, body.clientWidth) - width;
75826
+ x2 += max(html.clientWidth, body.clientWidth) - width;
75705
75827
  }
75706
75828
  return {
75707
75829
  width,
75708
75830
  height,
75709
- x,
75831
+ x: x2,
75710
75832
  y: y2
75711
75833
  };
75712
75834
  }
@@ -75717,14 +75839,14 @@ function getViewportRect(element, strategy) {
75717
75839
  const visualViewport = win.visualViewport;
75718
75840
  let width = html.clientWidth;
75719
75841
  let height = html.clientHeight;
75720
- let x = 0;
75842
+ let x2 = 0;
75721
75843
  let y2 = 0;
75722
75844
  if (visualViewport) {
75723
75845
  width = visualViewport.width;
75724
75846
  height = visualViewport.height;
75725
75847
  const visualViewportBased = isWebKit();
75726
75848
  if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
75727
- x = visualViewport.offsetLeft;
75849
+ x2 = visualViewport.offsetLeft;
75728
75850
  y2 = visualViewport.offsetTop;
75729
75851
  }
75730
75852
  }
@@ -75744,7 +75866,7 @@ function getViewportRect(element, strategy) {
75744
75866
  return {
75745
75867
  width,
75746
75868
  height,
75747
- x,
75869
+ x: x2,
75748
75870
  y: y2
75749
75871
  };
75750
75872
  }
@@ -75756,12 +75878,12 @@ function getInnerBoundingClientRect(element, strategy) {
75756
75878
  const scale = isHTMLElement$2(element) ? getScale(element) : createCoords(1);
75757
75879
  const width = element.clientWidth * scale.x;
75758
75880
  const height = element.clientHeight * scale.y;
75759
- const x = left2 * scale.x;
75881
+ const x2 = left2 * scale.x;
75760
75882
  const y2 = top2 * scale.y;
75761
75883
  return {
75762
75884
  width,
75763
75885
  height,
75764
- x,
75886
+ x: x2,
75765
75887
  y: y2
75766
75888
  };
75767
75889
  }
@@ -75881,10 +76003,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
75881
76003
  setLeftRTLScrollbarOffset();
75882
76004
  }
75883
76005
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
75884
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
76006
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75885
76007
  const y2 = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
75886
76008
  return {
75887
- x,
76009
+ x: x2,
75888
76010
  y: y2,
75889
76011
  width: rect.width,
75890
76012
  height: rect.height
@@ -76763,22 +76885,22 @@ function createFloatingSeparator(separator, editor) {
76763
76885
  const rect = elements.reference.getBoundingClientRect();
76764
76886
  const containerRect = editorElement.getBoundingClientRect();
76765
76887
  const scaleFactor = getScaleFactor(editorElement);
76766
- const x = Math.round((rect.left - containerRect.left) / scaleFactor);
76888
+ const x2 = Math.round((rect.left - containerRect.left) / scaleFactor);
76767
76889
  const y2 = Math.round((rect.top - containerRect.top) / scaleFactor);
76768
76890
  const width = Math.round(rect.width / scaleFactor);
76769
76891
  const height = Math.round(rect.height / scaleFactor);
76770
76892
  return {
76771
- x,
76893
+ x: x2,
76772
76894
  y: y2,
76773
76895
  data: { width, height }
76774
76896
  };
76775
76897
  }
76776
76898
  }
76777
76899
  ]
76778
- }).then(({ x, y: y2, middlewareData }) => {
76900
+ }).then(({ x: x2, y: y2, middlewareData }) => {
76779
76901
  Object.assign(floatingSeparator.style, {
76780
76902
  top: `${y2}px`,
76781
- left: `${x}px`,
76903
+ left: `${x2}px`,
76782
76904
  width: `${middlewareData.copy.width}px`,
76783
76905
  height: `${middlewareData.copy.height}px`,
76784
76906
  visibility: middlewareData.hide?.referenceHidden ? "hidden" : "visible"
@@ -79837,14 +79959,14 @@ function ensureViewBoundingRect() {
79837
79959
  }
79838
79960
  return viewMeasurer.getBoundingClientRect();
79839
79961
  }
79840
- function getPointRect(x, y2) {
79962
+ function getPointRect(x2, y2) {
79841
79963
  const viewRect = ensureViewBoundingRect();
79842
79964
  return {
79843
79965
  top: y2,
79844
- left: x,
79966
+ left: x2,
79845
79967
  height: 0,
79846
79968
  width: 0,
79847
- right: viewRect.width - x,
79969
+ right: viewRect.width - x2,
79848
79970
  bottom: viewRect.height - y2
79849
79971
  };
79850
79972
  }
@@ -80682,8 +80804,8 @@ const VFollower = vue.defineComponent({
80682
80804
  if (follower === null)
80683
80805
  return;
80684
80806
  const target = VBinder.targetRef;
80685
- const { x, y: y2, overlap } = props;
80686
- const targetRect = x !== void 0 && y2 !== void 0 ? getPointRect(x, y2) : getRect(target);
80807
+ const { x: x2, y: y2, overlap } = props;
80808
+ const targetRect = x2 !== void 0 && y2 !== void 0 ? getPointRect(x2, y2) : getRect(target);
80687
80809
  follower.style.setProperty("--v-target-width", `${Math.round(targetRect.width)}px`);
80688
80810
  follower.style.setProperty("--v-target-height", `${Math.round(targetRect.height)}px`);
80689
80811
  const { width, minWidth, placement, internalShift, flip: flip2 } = props;
@@ -80853,8 +80975,8 @@ var ResizeObserverSize = /* @__PURE__ */ (function() {
80853
80975
  return ResizeObserverSize2;
80854
80976
  })();
80855
80977
  var DOMRectReadOnly = (function() {
80856
- function DOMRectReadOnly2(x, y2, width, height) {
80857
- this.x = x;
80978
+ function DOMRectReadOnly2(x2, y2, width, height) {
80979
+ this.x = x2;
80858
80980
  this.y = y2;
80859
80981
  this.width = width;
80860
80982
  this.height = height;
@@ -80865,8 +80987,8 @@ var DOMRectReadOnly = (function() {
80865
80987
  return freeze(this);
80866
80988
  }
80867
80989
  DOMRectReadOnly2.prototype.toJSON = function() {
80868
- var _a2 = this, x = _a2.x, y2 = _a2.y, top2 = _a2.top, right2 = _a2.right, bottom2 = _a2.bottom, left2 = _a2.left, width = _a2.width, height = _a2.height;
80869
- return { x, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80990
+ var _a2 = this, x2 = _a2.x, y2 = _a2.y, top2 = _a2.top, right2 = _a2.right, bottom2 = _a2.bottom, left2 = _a2.left, width = _a2.width, height = _a2.height;
80991
+ return { x: x2, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80870
80992
  };
80871
80993
  DOMRectReadOnly2.fromRect = function(rectangle) {
80872
80994
  return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);