superdoc 0.31.3 → 0.31.4-RC.1

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 (68) hide show
  1. package/dist/chunks/{PdfViewer-Cfv24RAO.es.js → PdfViewer-CfddQRyP.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-DxZEZ0kC.cjs → PdfViewer-DixGlM27.cjs} +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-BkSlSgV3-Bs1x4Ydh.es.js → index-AHvb1Kq8-CdsSSFLa.es.js} +1 -1
  6. package/dist/chunks/{index-BkSlSgV3-0lYca18m.cjs → index-AHvb1Kq8-qUWhs4Mc.cjs} +1 -1
  7. package/dist/chunks/{index-DzCRau8t.es.js → index-BhqNjeQ9.es.js} +6 -6
  8. package/dist/chunks/{index-DyWNiAwo.cjs → index-si5FPIma.cjs} +6 -6
  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-DEg3G86J.cjs → super-editor.es-B38m4dVS.cjs} +646 -613
  12. package/dist/chunks/{super-editor.es-DOLpHa0H.es.js → super-editor.es-BPq1yR5r.es.js} +599 -566
  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/images/altText_add.svg +3 -0
  18. package/dist/images/altText_disclaimer.svg +3 -0
  19. package/dist/images/altText_done.svg +3 -0
  20. package/dist/images/altText_spinner.svg +30 -0
  21. package/dist/images/altText_warning.svg +3 -0
  22. package/dist/images/annotation-check.svg +11 -0
  23. package/dist/images/annotation-comment.svg +16 -0
  24. package/dist/images/annotation-help.svg +26 -0
  25. package/dist/images/annotation-insert.svg +10 -0
  26. package/dist/images/annotation-key.svg +11 -0
  27. package/dist/images/annotation-newparagraph.svg +11 -0
  28. package/dist/images/annotation-noicon.svg +7 -0
  29. package/dist/images/annotation-note.svg +42 -0
  30. package/dist/images/annotation-paperclip.svg +6 -0
  31. package/dist/images/annotation-paragraph.svg +16 -0
  32. package/dist/images/annotation-pushpin.svg +7 -0
  33. package/dist/images/cursor-editorFreeHighlight.svg +6 -0
  34. package/dist/images/cursor-editorFreeText.svg +3 -0
  35. package/dist/images/cursor-editorInk.svg +4 -0
  36. package/dist/images/cursor-editorTextHighlight.svg +8 -0
  37. package/dist/images/editor-toolbar-delete.svg +5 -0
  38. package/dist/images/loading-icon.gif +0 -0
  39. package/dist/images/messageBar_closingButton.svg +3 -0
  40. package/dist/images/messageBar_warning.svg +3 -0
  41. package/dist/images/toolbarButton-editorHighlight.svg +6 -0
  42. package/dist/images/toolbarButton-menuArrow.svg +3 -0
  43. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  44. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  45. package/dist/super-editor/ai-writer.es.js +2 -2
  46. package/dist/super-editor/chunks/{converter-DsvQGrFy.js → converter-DJekFjDb.js} +329 -296
  47. package/dist/super-editor/chunks/{docx-zipper-DY9haip7.js → docx-zipper-jr5GlGHA.js} +1 -1
  48. package/dist/super-editor/chunks/{editor-gAS774Lu.js → editor-BXFqZrCn.js} +4 -4
  49. package/dist/super-editor/chunks/{index-BkSlSgV3.js → index-AHvb1Kq8.js} +1 -1
  50. package/dist/super-editor/chunks/{toolbar-B_JCu51N.js → toolbar-CBw3s7K5.js} +2 -2
  51. package/dist/super-editor/converter.es.js +1 -1
  52. package/dist/super-editor/docx-zipper.es.js +2 -2
  53. package/dist/super-editor/editor.es.js +3 -3
  54. package/dist/super-editor/file-zipper.es.js +1 -1
  55. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/del/del-translator.d.ts.map +1 -1
  56. package/dist/super-editor/super-editor/src/core/super-converter/v3/handlers/w/ins/ins-translator.d.ts.map +1 -1
  57. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  58. package/dist/super-editor/super-editor.es.js +6 -6
  59. package/dist/super-editor/toolbar.es.js +2 -2
  60. package/dist/super-editor.cjs +2 -2
  61. package/dist/super-editor.es.js +2 -2
  62. package/dist/superdoc.cjs +2 -2
  63. package/dist/superdoc.es.js +2 -2
  64. package/dist/superdoc.umd.js +987 -914
  65. package/dist/superdoc.umd.js.map +1 -1
  66. package/package.json +1 -1
  67. package/dist/chunks/xml-js-BSDu25I7.cjs +0 -3
  68. 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
  };
@@ -22910,7 +22912,7 @@ function posToDOMRect(view, from2, to) {
22910
22912
  const right2 = Math.max(start2.right, end2.right);
22911
22913
  const width = right2 - left2;
22912
22914
  const height = bottom2 - top2;
22913
- const x = left2;
22915
+ const x2 = left2;
22914
22916
  const y2 = top2;
22915
22917
  const data = {
22916
22918
  top: top2,
@@ -22919,7 +22921,7 @@ function posToDOMRect(view, from2, to) {
22919
22921
  right: right2,
22920
22922
  width,
22921
22923
  height,
22922
- x,
22924
+ x: x2,
22923
22925
  y: y2
22924
22926
  };
22925
22927
  return {
@@ -23008,25 +23010,31 @@ function createDocFromHTML(content, schema, options = {}) {
23008
23010
  function L() {
23009
23011
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
23010
23012
  }
23011
- var O = L();
23013
+ var T = L();
23012
23014
  function G(l3) {
23013
- O = l3;
23015
+ T = l3;
23014
23016
  }
23015
23017
  var E = { exec: () => null };
23016
- function h(l3, e = "") {
23018
+ function d$1(l3, e = "") {
23017
23019
  let t = typeof l3 == "string" ? l3 : l3.source, n = { replace: (r2, i) => {
23018
23020
  let s2 = typeof i == "string" ? i : i.source;
23019
23021
  return s2 = s2.replace(m.caret, "$1"), t = t.replace(r2, s2), n;
23020
23022
  }, getRegex: () => new RegExp(t, e) };
23021
23023
  return n;
23022
23024
  }
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];
23025
+ var be = (() => {
23026
+ try {
23027
+ return !!new RegExp("(?<=1)(?<!1)");
23028
+ } catch {
23029
+ return false;
23030
+ }
23031
+ })(), 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} *[^
23032
+ ]`).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 };
23033
+ var Ve = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, ge = (l3) => Ve[l3];
23026
23034
  function w(l3, e) {
23027
23035
  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);
23036
+ if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ge);
23037
+ } else if (m.escapeTestNoEncode.test(l3)) return l3.replace(m.escapeReplaceNoEncode, ge);
23030
23038
  return l3;
23031
23039
  }
23032
23040
  function J(l3) {
@@ -23038,10 +23046,10 @@ function J(l3) {
23038
23046
  return l3;
23039
23047
  }
23040
23048
  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 ? "|" : " |";
23049
+ let t = l3.replace(m.findPipe, (i, s2, a) => {
23050
+ let o = false, p = s2;
23051
+ for (; --p >= 0 && a[p] === "\\"; ) o = !o;
23052
+ return o ? "|" : " |";
23045
23053
  }), n = t.split(m.splitPipe), r2 = 0;
23046
23054
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), e) if (n.length > e) n.splice(e);
23047
23055
  else for (; n.length < e; ) n.push("");
@@ -23059,7 +23067,7 @@ function z(l3, e, t) {
23059
23067
  }
23060
23068
  return l3.slice(0, n - r2);
23061
23069
  }
23062
- function ge(l3, e) {
23070
+ function fe(l3, e) {
23063
23071
  if (l3.indexOf(e[1]) === -1) return -1;
23064
23072
  let t = 0;
23065
23073
  for (let n = 0; n < l3.length; n++) if (l3[n] === "\\") n++;
@@ -23067,13 +23075,13 @@ function ge(l3, e) {
23067
23075
  else if (l3[n] === e[1] && (t--, t < 0)) return n;
23068
23076
  return t > 0 ? -2 : -1;
23069
23077
  }
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");
23078
+ function me(l3, e, t, n, r2) {
23079
+ let i = e.href, s2 = e.title || null, a = l3[1].replace(r2.other.outputLinkReplace, "$1");
23072
23080
  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;
23081
+ let o = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: a, tokens: n.inlineTokens(a) };
23082
+ return n.state.inLink = false, o;
23075
23083
  }
23076
- function Je(l3, e, t) {
23084
+ function Ye(l3, e, t) {
23077
23085
  let n = l3.match(t.other.indentCodeCompensation);
23078
23086
  if (n === null) return e;
23079
23087
  let r2 = n[1];
@@ -23081,8 +23089,8 @@ function Je(l3, e, t) {
23081
23089
  `).map((i) => {
23082
23090
  let s2 = i.match(t.other.beginningSpace);
23083
23091
  if (s2 === null) return i;
23084
- let [o] = s2;
23085
- return o.length >= r2.length ? i.slice(r2.length) : i;
23092
+ let [a] = s2;
23093
+ return a.length >= r2.length ? i.slice(r2.length) : i;
23086
23094
  }).join(`
23087
23095
  `);
23088
23096
  }
@@ -23091,7 +23099,7 @@ var y = class {
23091
23099
  __publicField$2(this, "options");
23092
23100
  __publicField$2(this, "rules");
23093
23101
  __publicField$2(this, "lexer");
23094
- this.options = e || O;
23102
+ this.options = e || T;
23095
23103
  }
23096
23104
  space(e) {
23097
23105
  let t = this.rules.block.newline.exec(e);
@@ -23108,7 +23116,7 @@ var y = class {
23108
23116
  fences(e) {
23109
23117
  let t = this.rules.block.fences.exec(e);
23110
23118
  if (t) {
23111
- let n = t[0], r2 = Je(n, t[3] || "", this.rules);
23119
+ let n = t[0], r2 = Ye(n, t[3] || "", this.rules);
23112
23120
  return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r2 };
23113
23121
  }
23114
23122
  }
@@ -23135,32 +23143,32 @@ var y = class {
23135
23143
  `).split(`
23136
23144
  `), r2 = "", i = "", s2 = [];
23137
23145
  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]);
23146
+ let a = false, o = [], p;
23147
+ for (p = 0; p < n.length; p++) if (this.rules.other.blockquoteStart.test(n[p])) o.push(n[p]), a = true;
23148
+ else if (!a) o.push(n[p]);
23141
23149
  else break;
23142
- n = n.slice(u);
23143
- let p = a.join(`
23144
- `), c2 = p.replace(this.rules.other.blockquoteSetextReplace, `
23150
+ n = n.slice(p);
23151
+ let u = o.join(`
23152
+ `), c2 = u.replace(this.rules.other.blockquoteSetextReplace, `
23145
23153
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
23146
23154
  r2 = r2 ? `${r2}
23147
- ${p}` : p, i = i ? `${i}
23155
+ ${u}` : u, i = i ? `${i}
23148
23156
  ${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 + `
23157
+ let g = this.lexer.state.top;
23158
+ if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = g, n.length === 0) break;
23159
+ let h = s2.at(-1);
23160
+ if (h?.type === "code") break;
23161
+ if (h?.type === "blockquote") {
23162
+ let R = h, f2 = R.raw + `
23155
23163
  ` + 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;
23164
+ `), O = this.blockquote(f2);
23165
+ 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
23166
  break;
23159
- } else if (k2?.type === "list") {
23160
- let x = k2, g = x.raw + `
23167
+ } else if (h?.type === "list") {
23168
+ let R = h, f2 = R.raw + `
23161
23169
  ` + 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(`
23170
+ `), O = this.list(f2);
23171
+ 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
23172
  `);
23165
23173
  continue;
23166
23174
  }
@@ -23173,45 +23181,45 @@ ${c2}` : c2;
23173
23181
  if (t) {
23174
23182
  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
23183
  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;
23184
+ let s2 = this.rules.other.listItemRegex(n), a = false;
23177
23185
  for (; e; ) {
23178
- let u = false, p = "", c2 = "";
23186
+ let p = false, u = "", c2 = "";
23179
23187
  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);
23188
+ u = t[0], e = e.substring(u.length);
23189
+ let g = t[2].split(`
23190
+ `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), h = e.split(`
23191
+ `, 1)[0], R = !g.trim(), f2 = 0;
23192
+ 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 + `
23193
+ `, e = e.substring(h.length + 1), p = true), !p) {
23194
+ 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
23195
  for (; e; ) {
23188
23196
  let Z = e.split(`
23189
23197
  `, 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);
23198
+ 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;
23199
+ if (A2.search(this.rules.other.nonSpaceChar) >= f2 || !h.trim()) c2 += `
23200
+ ` + A2.slice(f2);
23193
23201
  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;
23202
+ 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
23203
  c2 += `
23196
- ` + k2;
23204
+ ` + h;
23197
23205
  }
23198
- !x && !k2.trim() && (x = true), p += Z + `
23199
- `, e = e.substring(Z.length + 1), f2 = A2.slice(g);
23206
+ !R && !h.trim() && (R = true), u += Z + `
23207
+ `, e = e.substring(Z.length + 1), g = A2.slice(f2);
23200
23208
  }
23201
23209
  }
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;
23210
+ i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(u) && (a = true));
23211
+ let O = null, Y2;
23212
+ 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
23213
  }
23206
- let a = i.items.at(-1);
23207
- if (a) a.raw = a.raw.trimEnd(), a.text = a.text.trimEnd();
23214
+ let o = i.items.at(-1);
23215
+ if (o) o.raw = o.raw.trimEnd(), o.text = o.text.trimEnd();
23208
23216
  else return;
23209
23217
  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));
23218
+ 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) {
23219
+ 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
23220
  i.loose = c2;
23213
23221
  }
23214
- if (i.loose) for (let u = 0; u < i.items.length; u++) i.items[u].loose = true;
23222
+ if (i.loose) for (let p = 0; p < i.items.length; p++) i.items[p].loose = true;
23215
23223
  return i;
23216
23224
  }
23217
23225
  }
@@ -23232,9 +23240,9 @@ ${c2}` : c2;
23232
23240
  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
23241
  `) : [], s2 = { type: "table", raw: t[0], header: [], align: [], rows: [] };
23234
23242
  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] })));
23243
+ 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);
23244
+ 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] });
23245
+ 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
23246
  return s2;
23239
23247
  }
23240
23248
  }
@@ -23271,11 +23279,11 @@ ${c2}` : c2;
23271
23279
  let s2 = z(n.slice(0, -1), "\\");
23272
23280
  if ((n.length - s2.length) % 2 === 0) return;
23273
23281
  } else {
23274
- let s2 = ge(t[2], "()");
23282
+ let s2 = fe(t[2], "()");
23275
23283
  if (s2 === -2) return;
23276
23284
  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] = "";
23285
+ let o = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23286
+ t[2] = t[2].substring(0, s2), t[0] = t[0].substring(0, o).trim(), t[3] = "";
23279
23287
  }
23280
23288
  }
23281
23289
  let r2 = t[2], i = "";
@@ -23283,7 +23291,7 @@ ${c2}` : c2;
23283
23291
  let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
23284
23292
  s2 && (r2 = s2[1], i = s2[3]);
23285
23293
  } 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);
23294
+ 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
23295
  }
23288
23296
  }
23289
23297
  reflink(e, t) {
@@ -23294,32 +23302,32 @@ ${c2}` : c2;
23294
23302
  let s2 = n[0].charAt(0);
23295
23303
  return { type: "text", raw: s2, text: s2 };
23296
23304
  }
23297
- return fe(n, i, n[0], this.lexer, this.rules);
23305
+ return me(n, i, n[0], this.lexer, this.rules);
23298
23306
  }
23299
23307
  }
23300
23308
  emStrong(e, t, n = "") {
23301
23309
  let r2 = this.rules.inline.emStrongLDelim.exec(e);
23302
23310
  if (!r2 || r2[3] && n.match(this.rules.other.unicodeAlphaNumeric)) return;
23303
23311
  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;
23312
+ 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
23313
  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;
23314
+ if (a = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !a) continue;
23315
+ if (o = [...a].length, r2[3] || r2[4]) {
23316
+ p += o;
23309
23317
  continue;
23310
- } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + a) % 3)) {
23311
- p += a;
23318
+ } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + o) % 3)) {
23319
+ u += o;
23312
23320
  continue;
23313
23321
  }
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) };
23322
+ if (p -= o, p > 0) continue;
23323
+ o = Math.min(o, o + p + u);
23324
+ let g = [...r2[0]][0].length, h = e.slice(0, s2 + r2.index + g + o);
23325
+ if (Math.min(s2, o) % 2) {
23326
+ let f2 = h.slice(1, -1);
23327
+ return { type: "em", raw: h, text: f2, tokens: this.lexer.inlineTokens(f2) };
23320
23328
  }
23321
- let x = k2.slice(2, -2);
23322
- return { type: "strong", raw: k2, text: x, tokens: this.lexer.inlineTokens(x) };
23329
+ let R = h.slice(2, -2);
23330
+ return { type: "strong", raw: h, text: R, tokens: this.lexer.inlineTokens(R) };
23323
23331
  }
23324
23332
  }
23325
23333
  }
@@ -23368,19 +23376,19 @@ ${c2}` : c2;
23368
23376
  }
23369
23377
  }
23370
23378
  };
23371
- var b = class l {
23379
+ var x = class l {
23372
23380
  constructor(e) {
23373
23381
  __publicField$2(this, "tokens");
23374
23382
  __publicField$2(this, "options");
23375
23383
  __publicField$2(this, "state");
23376
23384
  __publicField$2(this, "tokenizer");
23377
23385
  __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;
23386
+ 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 };
23387
+ let t = { other: m, block: C.normal, inline: M$1.normal };
23388
+ 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
23389
  }
23382
23390
  static get rules() {
23383
- return { block: I, inline: M$1 };
23391
+ return { block: C, inline: M$1 };
23384
23392
  }
23385
23393
  static lex(e, t) {
23386
23394
  return new l(t).lex(e);
@@ -23460,9 +23468,9 @@ var b = class l {
23460
23468
  }
23461
23469
  let i = e;
23462
23470
  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));
23471
+ let s2 = 1 / 0, a = e.slice(1), o;
23472
+ this.options.extensions.startBlock.forEach((p) => {
23473
+ o = p.call({ lexer: this }, a), typeof o == "number" && o >= 0 && (s2 = Math.min(s2, o));
23466
23474
  }), s2 < 1 / 0 && s2 >= 0 && (i = e.substring(0, s2 + 1));
23467
23475
  }
23468
23476
  if (this.state.top && (r2 = this.tokenizer.paragraph(i))) {
@@ -23502,11 +23510,12 @@ var b = class l {
23502
23510
  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
23511
  }
23504
23512
  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);
23513
+ let i;
23514
+ 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
23515
  n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
23507
- let i = false, s2 = "";
23516
+ let s2 = false, a = "";
23508
23517
  for (; e; ) {
23509
- i || (s2 = ""), i = false;
23518
+ s2 || (a = ""), s2 = false;
23510
23519
  let o;
23511
23520
  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
23521
  if (o = this.tokenizer.escape(e)) {
@@ -23527,7 +23536,7 @@ var b = class l {
23527
23536
  o.type === "text" && u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23528
23537
  continue;
23529
23538
  }
23530
- if (o = this.tokenizer.emStrong(e, n, s2)) {
23539
+ if (o = this.tokenizer.emStrong(e, n, a)) {
23531
23540
  e = e.substring(o.raw.length), t.push(o);
23532
23541
  continue;
23533
23542
  }
@@ -23551,15 +23560,15 @@ var b = class l {
23551
23560
  e = e.substring(o.raw.length), t.push(o);
23552
23561
  continue;
23553
23562
  }
23554
- let a = e;
23563
+ let p = e;
23555
23564
  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));
23565
+ let u = 1 / 0, c2 = e.slice(1), g;
23566
+ this.options.extensions.startInline.forEach((h) => {
23567
+ g = h.call({ lexer: this }, c2), typeof g == "number" && g >= 0 && (u = Math.min(u, g));
23568
+ }), u < 1 / 0 && u >= 0 && (p = e.substring(0, u + 1));
23560
23569
  }
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;
23570
+ if (o = this.tokenizer.inlineText(p)) {
23571
+ e = e.substring(o.raw.length), o.raw.slice(-1) !== "_" && (a = o.raw.slice(-1)), s2 = true;
23563
23572
  let u = t.at(-1);
23564
23573
  u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23565
23574
  continue;
@@ -23579,7 +23588,7 @@ var P = class {
23579
23588
  constructor(e) {
23580
23589
  __publicField$2(this, "options");
23581
23590
  __publicField$2(this, "parser");
23582
- this.options = e || O;
23591
+ this.options = e || T;
23583
23592
  }
23584
23593
  space(e) {
23585
23594
  return "";
@@ -23612,9 +23621,9 @@ ${this.parser.parse(e)}</blockquote>
23612
23621
  }
23613
23622
  list(e) {
23614
23623
  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);
23624
+ for (let a = 0; a < e.items.length; a++) {
23625
+ let o = e.items[a];
23626
+ r2 += this.listitem(o);
23618
23627
  }
23619
23628
  let i = t ? "ol" : "ul", s2 = t && n !== 1 ? ' start="' + n + '"' : "";
23620
23629
  return "<" + i + s2 + `>
@@ -23645,7 +23654,7 @@ ${this.parser.parse(e)}</blockquote>
23645
23654
  for (let i = 0; i < e.rows.length; i++) {
23646
23655
  let s2 = e.rows[i];
23647
23656
  n = "";
23648
- for (let o = 0; o < s2.length; o++) n += this.tablecell(s2[o]);
23657
+ for (let a = 0; a < s2.length; a++) n += this.tablecell(s2[a]);
23649
23658
  r2 += this.tablerow({ text: n });
23650
23659
  }
23651
23660
  return r2 && (r2 = `<tbody>${r2}</tbody>`), `<table>
@@ -23727,12 +23736,12 @@ var $ = class {
23727
23736
  return "";
23728
23737
  }
23729
23738
  };
23730
- var R = class l2 {
23739
+ var b = class l2 {
23731
23740
  constructor(e) {
23732
23741
  __publicField$2(this, "options");
23733
23742
  __publicField$2(this, "renderer");
23734
23743
  __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 $();
23744
+ 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
23745
  }
23737
23746
  static parse(e, t) {
23738
23747
  return new l2(t).parse(e);
@@ -23745,9 +23754,9 @@ var R = class l2 {
23745
23754
  for (let r2 = 0; r2 < e.length; r2++) {
23746
23755
  let i = e[r2];
23747
23756
  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 || "";
23757
+ let a = i, o = this.options.extensions.renderers[a.type].call({ parser: this }, a);
23758
+ if (o !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(a.type)) {
23759
+ n += o || "";
23751
23760
  continue;
23752
23761
  }
23753
23762
  }
@@ -23794,16 +23803,16 @@ var R = class l2 {
23794
23803
  continue;
23795
23804
  }
23796
23805
  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;
23806
+ let a = s2, o = this.renderer.text(a);
23807
+ for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) a = e[++r2], o += `
23808
+ ` + this.renderer.text(a);
23809
+ t ? n += this.renderer.paragraph({ type: "paragraph", raw: o, text: o, tokens: [{ type: "text", raw: o, text: o, escaped: true }] }) : n += o;
23801
23810
  continue;
23802
23811
  }
23803
23812
  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);
23813
+ let a = 'Token with "' + s2.type + '" type was not found.';
23814
+ if (this.options.silent) return console.error(a), "";
23815
+ throw new Error(a);
23807
23816
  }
23808
23817
  }
23809
23818
  }
@@ -23814,9 +23823,9 @@ var R = class l2 {
23814
23823
  for (let r2 = 0; r2 < e.length; r2++) {
23815
23824
  let i = e[r2];
23816
23825
  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 || "";
23826
+ let a = this.options.extensions.renderers[i.type].call({ parser: this }, i);
23827
+ if (a !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
23828
+ n += a || "";
23820
23829
  continue;
23821
23830
  }
23822
23831
  }
@@ -23863,9 +23872,9 @@ var R = class l2 {
23863
23872
  break;
23864
23873
  }
23865
23874
  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);
23875
+ let a = 'Token with "' + s2.type + '" type was not found.';
23876
+ if (this.options.silent) return console.error(a), "";
23877
+ throw new Error(a);
23869
23878
  }
23870
23879
  }
23871
23880
  }
@@ -23876,7 +23885,7 @@ var S = (_a = class {
23876
23885
  constructor(e) {
23877
23886
  __publicField$2(this, "options");
23878
23887
  __publicField$2(this, "block");
23879
- this.options = e || O;
23888
+ this.options = e || T;
23880
23889
  }
23881
23890
  preprocess(e) {
23882
23891
  return e;
@@ -23891,10 +23900,10 @@ var S = (_a = class {
23891
23900
  return e;
23892
23901
  }
23893
23902
  provideLexer() {
23894
- return this.block ? b.lex : b.lexInline;
23903
+ return this.block ? x.lex : x.lexInline;
23895
23904
  }
23896
23905
  provideParser() {
23897
- return this.block ? R.parse : R.parseInline;
23906
+ return this.block ? b.parse : b.parseInline;
23898
23907
  }
23899
23908
  }, __publicField$2(_a, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField$2(_a, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _a);
23900
23909
  var B = class {
@@ -23903,10 +23912,10 @@ var B = class {
23903
23912
  __publicField$2(this, "options", this.setOptions);
23904
23913
  __publicField$2(this, "parse", this.parseMarkdown(true));
23905
23914
  __publicField$2(this, "parseInline", this.parseMarkdown(false));
23906
- __publicField$2(this, "Parser", R);
23915
+ __publicField$2(this, "Parser", b);
23907
23916
  __publicField$2(this, "Renderer", P);
23908
23917
  __publicField$2(this, "TextRenderer", $);
23909
- __publicField$2(this, "Lexer", b);
23918
+ __publicField$2(this, "Lexer", x);
23910
23919
  __publicField$2(this, "Tokenizer", y);
23911
23920
  __publicField$2(this, "Hooks", S);
23912
23921
  this.use(...e);
@@ -23917,7 +23926,7 @@ var B = class {
23917
23926
  case "table": {
23918
23927
  let i = r2;
23919
23928
  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));
23929
+ for (let s2 of i.rows) for (let a of s2) n = n.concat(this.walkTokens(a.tokens, t));
23921
23930
  break;
23922
23931
  }
23923
23932
  case "list": {
@@ -23928,8 +23937,8 @@ var B = class {
23928
23937
  default: {
23929
23938
  let i = r2;
23930
23939
  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));
23940
+ let a = i[s2].flat(1 / 0);
23941
+ n = n.concat(this.walkTokens(a, t));
23933
23942
  }) : i.tokens && (n = n.concat(this.walkTokens(i.tokens, t)));
23934
23943
  }
23935
23944
  }
@@ -23943,9 +23952,9 @@ var B = class {
23943
23952
  if (!i.name) throw new Error("extension name required");
23944
23953
  if ("renderer" in i) {
23945
23954
  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;
23955
+ s2 ? t.renderers[i.name] = function(...a) {
23956
+ let o = i.renderer.apply(this, a);
23957
+ return o === false && (o = s2.apply(this, a)), o;
23949
23958
  } : t.renderers[i.name] = i.renderer;
23950
23959
  }
23951
23960
  if ("tokenizer" in i) {
@@ -23959,10 +23968,10 @@ var B = class {
23959
23968
  for (let s2 in n.renderer) {
23960
23969
  if (!(s2 in i)) throw new Error(`renderer '${s2}' does not exist`);
23961
23970
  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 || "";
23971
+ let a = s2, o = n.renderer[a], p = i[a];
23972
+ i[a] = (...u) => {
23973
+ let c2 = o.apply(i, u);
23974
+ return c2 === false && (c2 = p.apply(i, u)), c2 || "";
23966
23975
  };
23967
23976
  }
23968
23977
  r2.renderer = i;
@@ -23972,10 +23981,10 @@ var B = class {
23972
23981
  for (let s2 in n.tokenizer) {
23973
23982
  if (!(s2 in i)) throw new Error(`tokenizer '${s2}' does not exist`);
23974
23983
  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;
23984
+ let a = s2, o = n.tokenizer[a], p = i[a];
23985
+ i[a] = (...u) => {
23986
+ let c2 = o.apply(i, u);
23987
+ return c2 === false && (c2 = p.apply(i, u)), c2;
23979
23988
  };
23980
23989
  }
23981
23990
  r2.tokenizer = i;
@@ -23985,23 +23994,30 @@ var B = class {
23985
23994
  for (let s2 in n.hooks) {
23986
23995
  if (!(s2 in i)) throw new Error(`hook '${s2}' does not exist`);
23987
23996
  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;
23997
+ let a = s2, o = n.hooks[a], p = i[a];
23998
+ S.passThroughHooks.has(s2) ? i[a] = (u) => {
23999
+ if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return (async () => {
24000
+ let g = await o.call(i, u);
24001
+ return p.call(i, g);
24002
+ })();
24003
+ let c2 = o.call(i, u);
24004
+ return p.call(i, c2);
24005
+ } : i[a] = (...u) => {
24006
+ if (this.defaults.async) return (async () => {
24007
+ let g = await o.apply(i, u);
24008
+ return g === false && (g = await p.apply(i, u)), g;
24009
+ })();
24010
+ let c2 = o.apply(i, u);
24011
+ return c2 === false && (c2 = p.apply(i, u)), c2;
23996
24012
  };
23997
24013
  }
23998
24014
  r2.hooks = i;
23999
24015
  }
24000
24016
  if (n.walkTokens) {
24001
24017
  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;
24018
+ r2.walkTokens = function(a) {
24019
+ let o = [];
24020
+ return o.push(s2.call(this, a)), i && (o = o.concat(i.call(this, a))), o;
24005
24021
  };
24006
24022
  }
24007
24023
  this.defaults = { ...this.defaults, ...r2 };
@@ -24011,28 +24027,31 @@ var B = class {
24011
24027
  return this.defaults = { ...this.defaults, ...e }, this;
24012
24028
  }
24013
24029
  lexer(e, t) {
24014
- return b.lex(e, t ?? this.defaults);
24030
+ return x.lex(e, t ?? this.defaults);
24015
24031
  }
24016
24032
  parser(e, t) {
24017
- return R.parse(e, t ?? this.defaults);
24033
+ return b.parse(e, t ?? this.defaults);
24018
24034
  }
24019
24035
  parseMarkdown(e) {
24020
24036
  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);
24037
+ let i = { ...r2 }, s2 = { ...this.defaults, ...i }, a = this.onError(!!s2.silent, !!s2.async);
24038
+ 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."));
24039
+ if (typeof n > "u" || n === null) return a(new Error("marked(): input parameter is undefined or null"));
24040
+ if (typeof n != "string") return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24041
+ if (s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e), s2.async) return (async () => {
24042
+ 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;
24043
+ s2.walkTokens && await Promise.all(this.walkTokens(c2, s2.walkTokens));
24044
+ let h = await (s2.hooks ? await s2.hooks.provideParser() : e ? b.parse : b.parseInline)(c2, s2);
24045
+ return s2.hooks ? await s2.hooks.postprocess(h) : h;
24046
+ })().catch(a);
24028
24047
  try {
24029
24048
  s2.hooks && (n = s2.hooks.preprocess(n));
24030
- let p = a(n, s2);
24049
+ let p = (s2.hooks ? s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s2);
24031
24050
  s2.hooks && (p = s2.hooks.processAllTokens(p)), s2.walkTokens && this.walkTokens(p, s2.walkTokens);
24032
- let c2 = u(p, s2);
24051
+ let c2 = (s2.hooks ? s2.hooks.provideParser() : e ? b.parse : b.parseInline)(p, s2);
24033
24052
  return s2.hooks && (c2 = s2.hooks.postprocess(c2)), c2;
24034
- } catch (p) {
24035
- return o(p);
24053
+ } catch (o) {
24054
+ return a(o);
24036
24055
  }
24037
24056
  };
24038
24057
  }
@@ -24049,38 +24068,38 @@ Please report this to https://github.com/markedjs/marked.`, e) {
24049
24068
  }
24050
24069
  };
24051
24070
  var _ = new B();
24052
- function d$1(l3, e) {
24071
+ function k$1(l3, e) {
24053
24072
  return _.parse(l3, e);
24054
24073
  }
24055
- d$1.options = d$1.setOptions = function(l3) {
24056
- return _.setOptions(l3), d$1.defaults = _.defaults, G(d$1.defaults), d$1;
24074
+ k$1.options = k$1.setOptions = function(l3) {
24075
+ return _.setOptions(l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24057
24076
  };
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;
24077
+ k$1.getDefaults = L;
24078
+ k$1.defaults = T;
24079
+ k$1.use = function(...l3) {
24080
+ return _.use(...l3), k$1.defaults = _.defaults, G(k$1.defaults), k$1;
24062
24081
  };
24063
- d$1.walkTokens = function(l3, e) {
24082
+ k$1.walkTokens = function(l3, e) {
24064
24083
  return _.walkTokens(l3, e);
24065
24084
  };
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({
24085
+ k$1.parseInline = _.parseInline;
24086
+ k$1.Parser = b;
24087
+ k$1.parser = b.parse;
24088
+ k$1.Renderer = P;
24089
+ k$1.TextRenderer = $;
24090
+ k$1.Lexer = x;
24091
+ k$1.lexer = x.lex;
24092
+ k$1.Tokenizer = y;
24093
+ k$1.Hooks = S;
24094
+ k$1.parse = k$1;
24095
+ k$1.options;
24096
+ k$1.setOptions;
24097
+ k$1.use;
24098
+ k$1.walkTokens;
24099
+ k$1.parseInline;
24100
+ b.parse;
24101
+ x.lex;
24102
+ k$1.use({
24084
24103
  breaks: false,
24085
24104
  // Use proper paragraphs, not <br> tags
24086
24105
  gfm: true
@@ -24091,7 +24110,7 @@ function createDocFromMarkdown(markdown, schema, options = {}) {
24091
24110
  return createDocFromHTML(html, schema, options);
24092
24111
  }
24093
24112
  function convertMarkdownToHTML(markdown) {
24094
- let html = d$1.parse(markdown, { async: false });
24113
+ let html = k$1.parse(markdown, { async: false });
24095
24114
  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
24115
  }
24097
24116
  function processContent({ content, type: type2, schema }) {
@@ -28715,18 +28734,18 @@ const handleShapeGroup = (params2, node, graphicData, size2, padding, marginOffs
28715
28734
  const rawY = shapeOff?.attributes?.["y"] ? parseFloat(shapeOff.attributes["y"]) : 0;
28716
28735
  const rawWidth = shapeExt?.attributes?.["cx"] ? parseFloat(shapeExt.attributes["cx"]) : 914400;
28717
28736
  const rawHeight = shapeExt?.attributes?.["cy"] ? parseFloat(shapeExt.attributes["cy"]) : 914400;
28718
- let x, y2, width, height;
28737
+ let x2, y2, width, height;
28719
28738
  if (groupTransform.childWidth && groupTransform.childHeight) {
28720
28739
  const scaleX = groupTransform.width / groupTransform.childWidth;
28721
28740
  const scaleY = groupTransform.height / groupTransform.childHeight;
28722
28741
  const childOriginX = groupTransform.childOriginXEmu || 0;
28723
28742
  const childOriginY = groupTransform.childOriginYEmu || 0;
28724
- x = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
28743
+ x2 = groupTransform.x + emuToPixels((rawX - childOriginX) * scaleX);
28725
28744
  y2 = groupTransform.y + emuToPixels((rawY - childOriginY) * scaleY);
28726
28745
  width = emuToPixels(rawWidth * scaleX);
28727
28746
  height = emuToPixels(rawHeight * scaleY);
28728
28747
  } else {
28729
- x = emuToPixels(rawX);
28748
+ x2 = emuToPixels(rawX);
28730
28749
  y2 = emuToPixels(rawY);
28731
28750
  width = emuToPixels(rawWidth);
28732
28751
  height = emuToPixels(rawHeight);
@@ -28745,7 +28764,7 @@ const handleShapeGroup = (params2, node, graphicData, size2, padding, marginOffs
28745
28764
  shapeType: "vectorShape",
28746
28765
  attrs: {
28747
28766
  kind: shapeKind,
28748
- x,
28767
+ x: x2,
28749
28768
  y: y2,
28750
28769
  width,
28751
28770
  height,
@@ -28954,8 +28973,8 @@ const translateImageNode = (params2) => {
28954
28973
  const leftMargin = tableCell.attrs.cellMargins?.left || 8;
28955
28974
  const rightMargin = tableCell.attrs.cellMargins?.right || 8;
28956
28975
  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 };
28976
+ const { width: w2, height: h } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
28977
+ if (w2 && h) size2 = { w: w2, h };
28959
28978
  }
28960
28979
  if (imageId) {
28961
28980
  const docx = params2.converter?.convertedXml || {};
@@ -32358,8 +32377,15 @@ const encode$4 = (params2, encodedAttrs = {}) => {
32358
32377
  });
32359
32378
  encodedAttrs.importedAuthor = `${encodedAttrs.author} (imported)`;
32360
32379
  subs.forEach((subElement) => {
32361
- if (subElement.marks === void 0) subElement.marks = [];
32362
- subElement.marks.push({ type: "trackDelete", attrs: encodedAttrs });
32380
+ subElement.marks = [];
32381
+ if (subElement?.content?.[0]) {
32382
+ if (subElement.content[0].marks === void 0) {
32383
+ subElement.content[0].marks = [];
32384
+ }
32385
+ if (subElement.content[0].type === "text") {
32386
+ subElement.content[0].marks.push({ type: "trackDelete", attrs: encodedAttrs });
32387
+ }
32388
+ }
32363
32389
  });
32364
32390
  return subs;
32365
32391
  };
@@ -32418,8 +32444,15 @@ const encode$3 = (params2, encodedAttrs = {}) => {
32418
32444
  });
32419
32445
  encodedAttrs.importedAuthor = `${encodedAttrs.author} (imported)`;
32420
32446
  subs.forEach((subElement) => {
32421
- if (subElement.marks === void 0) subElement.marks = [];
32422
- subElement.marks.push({ type: "trackInsert", attrs: encodedAttrs });
32447
+ subElement.marks = [];
32448
+ if (subElement?.content?.[0]) {
32449
+ if (subElement.content[0].marks === void 0) {
32450
+ subElement.content[0].marks = [];
32451
+ }
32452
+ if (subElement.content[0].type === "text") {
32453
+ subElement.content[0].marks.push({ type: "trackInsert", attrs: encodedAttrs });
32454
+ }
32455
+ }
32423
32456
  });
32424
32457
  return subs;
32425
32458
  };
@@ -35775,7 +35808,7 @@ const _SuperConverter = class _SuperConverter2 {
35775
35808
  static getStoredSuperdocVersion(docx) {
35776
35809
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
35777
35810
  }
35778
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.31.3") {
35811
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.31.4-RC.1") {
35779
35812
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
35780
35813
  }
35781
35814
  /**
@@ -36166,7 +36199,7 @@ prepareCommentsXmlFilesForExport_fn = function({ defs, exportType, commentsWithP
36166
36199
  };
36167
36200
  exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36168
36201
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36169
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36202
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36170
36203
  const newDocRels = [];
36171
36204
  Object.entries(this.headers).forEach(([id, header], index2) => {
36172
36205
  const fileName = relationships.elements.find((el) => el.attributes.Id === id)?.attributes.Target || `header${index2 + 1}.xml`;
@@ -36207,7 +36240,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36207
36240
  }
36208
36241
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36209
36242
  if (params2.relationships.length) {
36210
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36243
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36211
36244
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36212
36245
  declaration: this.initialJSON?.declaration,
36213
36246
  elements: [
@@ -36261,7 +36294,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36261
36294
  }
36262
36295
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36263
36296
  if (params2.relationships.length) {
36264
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36297
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36265
36298
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36266
36299
  declaration: this.initialJSON?.declaration,
36267
36300
  elements: [
@@ -36280,7 +36313,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36280
36313
  };
36281
36314
  exportProcessNewRelationships_fn = function(rels = []) {
36282
36315
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36283
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36316
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36284
36317
  relationships.elements = mergeRelationshipElements(relationships.elements, rels);
36285
36318
  };
36286
36319
  exportProcessMediaFiles_fn = async function(media = {}) {
@@ -36364,7 +36397,7 @@ function requireJszip_min() {
36364
36397
  !(function(e) {
36365
36398
  module2.exports = e();
36366
36399
  })(function() {
36367
- return (function s2(a, o, h2) {
36400
+ return (function s2(a, o, h) {
36368
36401
  function u(r2, e2) {
36369
36402
  if (!o[r2]) {
36370
36403
  if (!a[r2]) {
@@ -36378,23 +36411,23 @@ function requireJszip_min() {
36378
36411
  a[r2][0].call(i.exports, function(e3) {
36379
36412
  var t2 = a[r2][1][e3];
36380
36413
  return u(t2 || e3);
36381
- }, i, i.exports, s2, a, o, h2);
36414
+ }, i, i.exports, s2, a, o, h);
36382
36415
  }
36383
36416
  return o[r2].exports;
36384
36417
  }
36385
- for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h2.length; e++) u(h2[e]);
36418
+ for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h.length; e++) u(h[e]);
36386
36419
  return u;
36387
36420
  })({ 1: [function(e, t, r2) {
36388
36421
  var d2 = e("./utils"), c2 = e("./support"), p = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
36389
36422
  r2.encode = function(e2) {
36390
- 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));
36391
- return h2.join("");
36423
+ 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));
36424
+ return h.join("");
36392
36425
  }, r2.decode = function(e2) {
36393
- var t2, r22, n, i, s2, a, o = 0, h2 = 0, u = "data:";
36426
+ var t2, r22, n, i, s2, a, o = 0, h = 0, u = "data:";
36394
36427
  if (e2.substr(0, u.length) === u) throw new Error("Invalid base64 input, it looks like a data url.");
36395
36428
  var l3, f2 = 3 * (e2 = e2.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
36396
36429
  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.");
36397
- 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);
36430
+ 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);
36398
36431
  return l3;
36399
36432
  };
36400
36433
  }, { "./support": 30, "./utils": 32 }], 2: [function(e, t, r2) {
@@ -36449,25 +36482,25 @@ function requireJszip_min() {
36449
36482
  n = "undefined" != typeof Promise ? Promise : e("lie"), t.exports = { Promise: n };
36450
36483
  }, { lie: 37 }], 7: [function(e, t, r2) {
36451
36484
  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";
36452
- function h2(e2, t2) {
36485
+ function h(e2, t2) {
36453
36486
  a.call(this, "FlateWorker/" + e2), this._pako = null, this._pakoAction = e2, this._pakoOptions = t2, this.meta = {};
36454
36487
  }
36455
- r2.magic = "\b\0", s2.inherits(h2, a), h2.prototype.processChunk = function(e2) {
36488
+ r2.magic = "\b\0", s2.inherits(h, a), h.prototype.processChunk = function(e2) {
36456
36489
  this.meta = e2.meta, null === this._pako && this._createPako(), this._pako.push(s2.transformTo(o, e2.data), false);
36457
- }, h2.prototype.flush = function() {
36490
+ }, h.prototype.flush = function() {
36458
36491
  a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], true);
36459
- }, h2.prototype.cleanUp = function() {
36492
+ }, h.prototype.cleanUp = function() {
36460
36493
  a.prototype.cleanUp.call(this), this._pako = null;
36461
- }, h2.prototype._createPako = function() {
36494
+ }, h.prototype._createPako = function() {
36462
36495
  this._pako = new i[this._pakoAction]({ raw: true, level: this._pakoOptions.level || -1 });
36463
36496
  var t2 = this;
36464
36497
  this._pako.onData = function(e2) {
36465
36498
  t2.push({ data: e2, meta: t2.meta });
36466
36499
  };
36467
36500
  }, r2.compressWorker = function(e2) {
36468
- return new h2("Deflate", e2);
36501
+ return new h("Deflate", e2);
36469
36502
  }, r2.uncompressWorker = function() {
36470
- return new h2("Inflate", {});
36503
+ return new h("Inflate", {});
36471
36504
  };
36472
36505
  }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(e, t, r2) {
36473
36506
  function A2(e2, t2) {
@@ -36476,21 +36509,21 @@ function requireJszip_min() {
36476
36509
  return n2;
36477
36510
  }
36478
36511
  function n(e2, t2, r22, n2, i2, s22) {
36479
- 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 };
36480
- t2 && !r22 || (x.crc32 = e2.crc32, x.compressedSize = e2.compressedSize, x.uncompressedSize = e2.uncompressedSize);
36512
+ 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 };
36513
+ t2 && !r22 || (x2.crc32 = e2.crc32, x2.compressedSize = e2.compressedSize, x2.uncompressedSize = e2.uncompressedSize);
36481
36514
  var S2 = 0;
36482
36515
  t2 && (S2 |= 8), l3 || !_2 && !g || (S2 |= 2048);
36483
36516
  var z2 = 0, C2 = 0;
36484
36517
  w2 && (z2 |= 16), "UNIX" === i2 ? (C2 = 798, z2 |= (function(e3, t3) {
36485
36518
  var r3 = e3;
36486
36519
  return e3 || (r3 = t3 ? 16893 : 33204), (65535 & r3) << 16;
36487
- })(h2.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36520
+ })(h.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36488
36521
  return 63 & (e3 || 0);
36489
- })(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);
36522
+ })(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);
36490
36523
  var E2 = "";
36491
- 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 };
36524
+ 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 };
36492
36525
  }
36493
- var I2 = e("../utils"), i = e("../stream/GenericWorker"), O2 = e("../utf8"), B2 = e("../crc32"), R2 = e("../signature");
36526
+ var I2 = e("../utils"), i = e("../stream/GenericWorker"), O = e("../utf8"), B2 = e("../crc32"), R = e("../signature");
36494
36527
  function s2(e2, t2, r22, n2) {
36495
36528
  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 = [];
36496
36529
  }
@@ -36508,7 +36541,7 @@ function requireJszip_min() {
36508
36541
  this.accumulate = false;
36509
36542
  var t2 = this.streamFiles && !e2.file.dir, r22 = n(e2, t2, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
36510
36543
  if (this.dirRecords.push(r22.dirRecord), t2) this.push({ data: (function(e3) {
36511
- return R2.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36544
+ return R.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36512
36545
  })(e2), meta: { percent: 100 } });
36513
36546
  else for (this.push({ data: r22.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
36514
36547
  this.currentFile = null;
@@ -36516,7 +36549,7 @@ function requireJszip_min() {
36516
36549
  for (var e2 = this.bytesWritten, t2 = 0; t2 < this.dirRecords.length; t2++) this.push({ data: this.dirRecords[t2], meta: { percent: 100 } });
36517
36550
  var r22 = this.bytesWritten - e2, n2 = (function(e3, t3, r3, n3, i2) {
36518
36551
  var s22 = I2.transformTo("string", i2(n3));
36519
- 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;
36552
+ 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;
36520
36553
  })(this.dirRecords.length, r22, e2, this.zipComment, this.encodeFileName);
36521
36554
  this.push({ data: n2, meta: { percent: 100 } });
36522
36555
  }, s2.prototype.prepareNextSource = function() {
@@ -36548,17 +36581,17 @@ function requireJszip_min() {
36548
36581
  }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(e, t, r2) {
36549
36582
  var u = e("../compressions"), n = e("./ZipFileWorker");
36550
36583
  r2.generateWorker = function(e2, a, t2) {
36551
- var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h2 = 0;
36584
+ var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h = 0;
36552
36585
  try {
36553
36586
  e2.forEach(function(e3, t3) {
36554
- h2++;
36587
+ h++;
36555
36588
  var r22 = (function(e4, t4) {
36556
36589
  var r3 = e4 || t4, n3 = u[r3];
36557
36590
  if (!n3) throw new Error(r3 + " is not a valid compression method !");
36558
36591
  return n3;
36559
36592
  })(t3.options.compression, a.compression), n2 = t3.options.compressionOptions || a.compressionOptions || {}, i = t3.dir, s2 = t3.date;
36560
36593
  t3._compressWorker(r22, n2).withStreamInfo("file", { name: e3, dir: i, date: s2, comment: t3.comment || "", unixPermissions: t3.unixPermissions, dosPermissions: t3.dosPermissions }).pipe(o);
36561
- }), o.entriesCount = h2;
36594
+ }), o.entriesCount = h;
36562
36595
  } catch (e3) {
36563
36596
  o.error(e3);
36564
36597
  }
@@ -36590,7 +36623,7 @@ function requireJszip_min() {
36590
36623
  });
36591
36624
  }
36592
36625
  t.exports = function(e2, o) {
36593
- var h2 = this;
36626
+ var h = this;
36594
36627
  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) {
36595
36628
  var t2 = new s2(o);
36596
36629
  return t2.load(e3), t2;
@@ -36601,9 +36634,9 @@ function requireJszip_min() {
36601
36634
  }).then(function(e3) {
36602
36635
  for (var t2 = e3.shift(), r22 = t2.files, n2 = 0; n2 < r22.length; n2++) {
36603
36636
  var i2 = r22[n2], s22 = i2.fileNameStr, a2 = u.resolve(i2.fileNameStr);
36604
- 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);
36637
+ 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);
36605
36638
  }
36606
- return t2.zipComment.length && (h2.comment = t2.zipComment), h2;
36639
+ return t2.zipComment.length && (h.comment = t2.zipComment), h;
36607
36640
  });
36608
36641
  };
36609
36642
  }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(e, t, r2) {
@@ -36663,8 +36696,8 @@ function requireJszip_min() {
36663
36696
  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");
36664
36697
  var o2 = null;
36665
36698
  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);
36666
- var h22 = new d2(e2, o2, s22);
36667
- this.files[e2] = h22;
36699
+ var h2 = new d2(e2, o2, s22);
36700
+ this.files[e2] = h2;
36668
36701
  }
36669
36702
  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) {
36670
36703
  "/" === e2.slice(-1) && (e2 = e2.substring(0, e2.length - 1));
@@ -36675,7 +36708,7 @@ function requireJszip_min() {
36675
36708
  }, b2 = function(e2, t2) {
36676
36709
  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];
36677
36710
  };
36678
- function h2(e2) {
36711
+ function h(e2) {
36679
36712
  return "[object RegExp]" === Object.prototype.toString.call(e2);
36680
36713
  }
36681
36714
  var n = { load: function() {
@@ -36690,7 +36723,7 @@ function requireJszip_min() {
36690
36723
  }), n2;
36691
36724
  }, file: function(e2, t2, r22) {
36692
36725
  if (1 !== arguments.length) return e2 = this.root + e2, s2.call(this, e2, t2, r22), this;
36693
- if (h2(e2)) {
36726
+ if (h(e2)) {
36694
36727
  var n2 = e2;
36695
36728
  return this.filter(function(e3, t3) {
36696
36729
  return !t3.dir && n2.test(e3);
@@ -36700,7 +36733,7 @@ function requireJszip_min() {
36700
36733
  return i2 && !i2.dir ? i2 : null;
36701
36734
  }, folder: function(r22) {
36702
36735
  if (!r22) return this;
36703
- if (h2(r22)) return this.filter(function(e3, t3) {
36736
+ if (h(r22)) return this.filter(function(e3, t3) {
36704
36737
  return t3.dir && r22.test(e3);
36705
36738
  });
36706
36739
  var e2 = this.root + r22, t2 = b2.call(this, e2), n2 = this.clone();
@@ -36817,10 +36850,10 @@ function requireJszip_min() {
36817
36850
  return this.index += e2, t2;
36818
36851
  }, t.exports = i;
36819
36852
  }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(e, t, r2) {
36820
- var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h2 = e("./Uint8ArrayReader");
36853
+ var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h = e("./Uint8ArrayReader");
36821
36854
  t.exports = function(e2) {
36822
36855
  var t2 = n.getTypeOf(e2);
36823
- 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);
36856
+ 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);
36824
36857
  };
36825
36858
  }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(e, t, r2) {
36826
36859
  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";
@@ -36943,7 +36976,7 @@ function requireJszip_min() {
36943
36976
  return this.previous ? this.previous + " -> " + e2 : e2;
36944
36977
  } }, t.exports = n;
36945
36978
  }, {}], 29: [function(e, t, r2) {
36946
- var h2 = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
36979
+ var h = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
36947
36980
  if (n.nodestream) try {
36948
36981
  o = e("../nodejs/NodejsStreamOutputAdapter");
36949
36982
  } catch (e2) {
@@ -36960,11 +36993,11 @@ function requireJszip_min() {
36960
36993
  var e3 = (function(e4, t3, r3) {
36961
36994
  switch (e4) {
36962
36995
  case "blob":
36963
- return h2.newBlob(h2.transformTo("arraybuffer", t3), r3);
36996
+ return h.newBlob(h.transformTo("arraybuffer", t3), r3);
36964
36997
  case "base64":
36965
36998
  return u.encode(t3);
36966
36999
  default:
36967
- return h2.transformTo(e4, t3);
37000
+ return h.transformTo(e4, t3);
36968
37001
  }
36969
37002
  })(s22, (function(e4, t3) {
36970
37003
  var r3, n3 = 0, i3 = null, s3 = 0;
@@ -37002,7 +37035,7 @@ function requireJszip_min() {
37002
37035
  n2 = "string";
37003
37036
  }
37004
37037
  try {
37005
- this._internalType = n2, this._outputType = t2, this._mimeType = r22, h2.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
37038
+ this._internalType = n2, this._outputType = t2, this._mimeType = r22, h.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
37006
37039
  } catch (e3) {
37007
37040
  this._worker = new s2("error"), this._worker.error(e3);
37008
37041
  }
@@ -37014,14 +37047,14 @@ function requireJszip_min() {
37014
37047
  return "data" === e2 ? this._worker.on(e2, function(e3) {
37015
37048
  t2.call(r22, e3.data, e3.meta);
37016
37049
  }) : this._worker.on(e2, function() {
37017
- h2.delay(t2, arguments, r22);
37050
+ h.delay(t2, arguments, r22);
37018
37051
  }), this;
37019
37052
  }, resume: function() {
37020
- return h2.delay(this._worker.resume, [], this._worker), this;
37053
+ return h.delay(this._worker.resume, [], this._worker), this;
37021
37054
  }, pause: function() {
37022
37055
  return this._worker.pause(), this;
37023
37056
  }, toNodejsStream: function(e2) {
37024
- if (h2.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
37057
+ if (h.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
37025
37058
  return new o(this, { objectMode: "nodebuffer" !== this._outputType }, e2);
37026
37059
  } }, t.exports = f2;
37027
37060
  }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(e, t, r2) {
@@ -37045,7 +37078,7 @@ function requireJszip_min() {
37045
37078
  r2.nodestream = false;
37046
37079
  }
37047
37080
  }, { "readable-stream": 16 }], 31: [function(e, t, s2) {
37048
- 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;
37081
+ 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;
37049
37082
  u[254] = u[254] = 1;
37050
37083
  function a() {
37051
37084
  n.call(this, "utf-8 decode"), this.leftOver = null;
@@ -37054,14 +37087,14 @@ function requireJszip_min() {
37054
37087
  n.call(this, "utf-8 encode");
37055
37088
  }
37056
37089
  s2.utf8encode = function(e2) {
37057
- return h2.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
37090
+ return h.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
37058
37091
  var t2, r22, n2, i2, s22, a2 = e3.length, o2 = 0;
37059
37092
  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;
37060
- 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);
37093
+ 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);
37061
37094
  return t2;
37062
37095
  })(e2);
37063
37096
  }, s2.utf8decode = function(e2) {
37064
- return h2.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
37097
+ return h.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
37065
37098
  var t2, r22, n2, i2, s22 = e3.length, a2 = new Array(2 * s22);
37066
37099
  for (t2 = r22 = 0; t2 < s22; ) if ((n2 = e3[t2++]) < 128) a2[r22++] = n2;
37067
37100
  else if (4 < (i2 = u[n2])) a2[r22++] = 65533, t2 += i2 - 1;
@@ -37070,11 +37103,11 @@ function requireJszip_min() {
37070
37103
  1 < i2 ? a2[r22++] = 65533 : n2 < 65536 ? a2[r22++] = n2 : (n2 -= 65536, a2[r22++] = 55296 | n2 >> 10 & 1023, a2[r22++] = 56320 | 1023 & n2);
37071
37104
  }
37072
37105
  return a2.length !== r22 && (a2.subarray ? a2 = a2.subarray(0, r22) : a2.length = r22), o.applyFromCharCode(a2);
37073
- })(e2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2));
37106
+ })(e2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2));
37074
37107
  }, o.inherits(a, n), a.prototype.processChunk = function(e2) {
37075
- var t2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2.data);
37108
+ var t2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2.data);
37076
37109
  if (this.leftOver && this.leftOver.length) {
37077
- if (h2.uint8array) {
37110
+ if (h.uint8array) {
37078
37111
  var r22 = t2;
37079
37112
  (t2 = new Uint8Array(r22.length + this.leftOver.length)).set(this.leftOver, 0), t2.set(r22, this.leftOver.length);
37080
37113
  } else t2 = this.leftOver.concat(t2);
@@ -37085,14 +37118,14 @@ function requireJszip_min() {
37085
37118
  for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), r3 = t3 - 1; 0 <= r3 && 128 == (192 & e3[r3]); ) r3--;
37086
37119
  return r3 < 0 ? t3 : 0 === r3 ? t3 : r3 + u[e3[r3]] > t3 ? r3 : t3;
37087
37120
  })(t2), i2 = t2;
37088
- 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 });
37121
+ 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 });
37089
37122
  }, a.prototype.flush = function() {
37090
37123
  this.leftOver && this.leftOver.length && (this.push({ data: s2.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
37091
37124
  }, s2.Utf8DecodeWorker = a, o.inherits(l3, n), l3.prototype.processChunk = function(e2) {
37092
37125
  this.push({ data: s2.utf8encode(e2.data), meta: e2.meta });
37093
37126
  }, s2.Utf8EncodeWorker = l3;
37094
37127
  }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(e, t, a) {
37095
- var o = e("./support"), h2 = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
37128
+ var o = e("./support"), h = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
37096
37129
  function n(e2) {
37097
37130
  return e2;
37098
37131
  }
@@ -37226,17 +37259,17 @@ function requireJszip_min() {
37226
37259
  }) : n3;
37227
37260
  }).then(function(e3) {
37228
37261
  var t2 = a.getTypeOf(e3);
37229
- return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h2.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
37262
+ return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
37230
37263
  return l3(e4, o.uint8array ? new Uint8Array(e4.length) : new Array(e4.length));
37231
37264
  })(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) ?"));
37232
37265
  });
37233
37266
  };
37234
37267
  }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(e, t, r2) {
37235
37268
  var n = e("./reader/readerFor"), i = e("./utils"), s2 = e("./signature"), a = e("./zipEntry"), o = e("./support");
37236
- function h2(e2) {
37269
+ function h(e2) {
37237
37270
  this.files = [], this.loadOptions = e2;
37238
37271
  }
37239
- h2.prototype = { checkSignature: function(e2) {
37272
+ h.prototype = { checkSignature: function(e2) {
37240
37273
  if (!this.reader.readAndCheckSignature(e2)) {
37241
37274
  this.reader.index -= 4;
37242
37275
  var t2 = this.reader.readString(4);
@@ -37282,9 +37315,9 @@ function requireJszip_min() {
37282
37315
  this.reader = n(e2);
37283
37316
  }, load: function(e2) {
37284
37317
  this.prepareReader(e2), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
37285
- } }, t.exports = h2;
37318
+ } }, t.exports = h;
37286
37319
  }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(e, t, r2) {
37287
- var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h2 = e("./compressions"), u = e("./support");
37320
+ var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h = e("./compressions"), u = e("./support");
37288
37321
  function l3(e2, t2) {
37289
37322
  this.options = e2, this.loadOptions = t2;
37290
37323
  }
@@ -37296,7 +37329,7 @@ function requireJszip_min() {
37296
37329
  var t2, r22;
37297
37330
  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)");
37298
37331
  if (null === (t2 = (function(e3) {
37299
- for (var t3 in h2) if (Object.prototype.hasOwnProperty.call(h2, t3) && h2[t3].magic === e3) return h2[t3];
37332
+ for (var t3 in h) if (Object.prototype.hasOwnProperty.call(h, t3) && h[t3].magic === e3) return h[t3];
37300
37333
  return null;
37301
37334
  })(this.compressionMethod))) throw new Error("Corrupted zip : compression " + s2.pretty(this.compressionMethod) + " unknown (inner file : " + s2.transformTo("string", this.fileName) + ")");
37302
37335
  this.decompressed = new i(this.compressedSize, this.uncompressedSize, this.crc32, t2, e2.readData(this.compressedSize));
@@ -37354,7 +37387,7 @@ function requireJszip_min() {
37354
37387
  function n(e2, t2, r22) {
37355
37388
  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 };
37356
37389
  }
37357
- var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h2 = e("./stream/GenericWorker");
37390
+ var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h = e("./stream/GenericWorker");
37358
37391
  n.prototype = { internalStream: function(e2) {
37359
37392
  var t2 = null, r22 = "string";
37360
37393
  try {
@@ -37364,7 +37397,7 @@ function requireJszip_min() {
37364
37397
  var i2 = !this._dataBinary;
37365
37398
  i2 && !n2 && (t2 = t2.pipe(new a.Utf8EncodeWorker())), !i2 && n2 && (t2 = t2.pipe(new a.Utf8DecodeWorker()));
37366
37399
  } catch (e3) {
37367
- (t2 = new h2("error")).error(e3);
37400
+ (t2 = new h("error")).error(e3);
37368
37401
  }
37369
37402
  return new s2(t2, r22, "");
37370
37403
  }, async: function(e2, t2) {
@@ -37376,7 +37409,7 @@ function requireJszip_min() {
37376
37409
  var r22 = this._decompressWorker();
37377
37410
  return this._dataBinary || (r22 = r22.pipe(new a.Utf8EncodeWorker())), o.createWorkerFrom(r22, e2, t2);
37378
37411
  }, _decompressWorker: function() {
37379
- return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h2 ? this._data : new i(this._data);
37412
+ return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h ? this._data : new i(this._data);
37380
37413
  } };
37381
37414
  for (var u = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], l3 = function() {
37382
37415
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
@@ -37404,18 +37437,18 @@ function requireJszip_min() {
37404
37437
  o.port2.postMessage(0);
37405
37438
  };
37406
37439
  }
37407
- var h2 = [];
37440
+ var h = [];
37408
37441
  function u() {
37409
37442
  var e3, t3;
37410
37443
  n = true;
37411
- for (var r22 = h2.length; r22; ) {
37412
- for (t3 = h2, h2 = [], e3 = -1; ++e3 < r22; ) t3[e3]();
37413
- r22 = h2.length;
37444
+ for (var r22 = h.length; r22; ) {
37445
+ for (t3 = h, h = [], e3 = -1; ++e3 < r22; ) t3[e3]();
37446
+ r22 = h.length;
37414
37447
  }
37415
37448
  n = false;
37416
37449
  }
37417
37450
  l3.exports = function(e3) {
37418
- 1 !== h2.push(e3) || n || r2();
37451
+ 1 !== h.push(e3) || n || r2();
37419
37452
  };
37420
37453
  }).call(this, "undefined" != typeof commonjsGlobal ? commonjsGlobal : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
37421
37454
  }, {}], 37: [function(e, t, r2) {
@@ -37427,7 +37460,7 @@ function requireJszip_min() {
37427
37460
  if ("function" != typeof e2) throw new TypeError("resolver must be a function");
37428
37461
  this.state = n, this.queue = [], this.outcome = void 0, e2 !== u && d2(this, e2);
37429
37462
  }
37430
- function h2(e2, t2, r22) {
37463
+ function h(e2, t2, r22) {
37431
37464
  this.promise = e2, "function" == typeof t2 && (this.onFulfilled = t2, this.callFulfilled = this.otherCallFulfilled), "function" == typeof r22 && (this.onRejected = r22, this.callRejected = this.otherCallRejected);
37432
37465
  }
37433
37466
  function f2(t2, r22, n2) {
@@ -37486,15 +37519,15 @@ function requireJszip_min() {
37486
37519
  }, o.prototype.then = function(e2, t2) {
37487
37520
  if ("function" != typeof e2 && this.state === a || "function" != typeof t2 && this.state === s2) return this;
37488
37521
  var r22 = new this.constructor(u);
37489
- this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h2(r22, e2, t2));
37522
+ this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h(r22, e2, t2));
37490
37523
  return r22;
37491
- }, h2.prototype.callFulfilled = function(e2) {
37524
+ }, h.prototype.callFulfilled = function(e2) {
37492
37525
  l3.resolve(this.promise, e2);
37493
- }, h2.prototype.otherCallFulfilled = function(e2) {
37526
+ }, h.prototype.otherCallFulfilled = function(e2) {
37494
37527
  f2(this.promise, this.onFulfilled, e2);
37495
- }, h2.prototype.callRejected = function(e2) {
37528
+ }, h.prototype.callRejected = function(e2) {
37496
37529
  l3.reject(this.promise, e2);
37497
- }, h2.prototype.otherCallRejected = function(e2) {
37530
+ }, h.prototype.otherCallRejected = function(e2) {
37498
37531
  f2(this.promise, this.onRejected, e2);
37499
37532
  }, l3.resolve = function(e2, t2) {
37500
37533
  var r22 = p(c2, t2);
@@ -37522,9 +37555,9 @@ function requireJszip_min() {
37522
37555
  var n2 = e2.length, i2 = false;
37523
37556
  if (!n2) return this.resolve([]);
37524
37557
  var s22 = new Array(n2), a2 = 0, t2 = -1, o2 = new this(u);
37525
- for (; ++t2 < n2; ) h22(e2[t2], t2);
37558
+ for (; ++t2 < n2; ) h2(e2[t2], t2);
37526
37559
  return o2;
37527
- function h22(e3, t3) {
37560
+ function h2(e3, t3) {
37528
37561
  r22.resolve(e3).then(function(e4) {
37529
37562
  s22[t3] = e4, ++a2 !== n2 || i2 || (i2 = true, l3.resolve(o2, s22));
37530
37563
  }, function(e4) {
@@ -37549,7 +37582,7 @@ function requireJszip_min() {
37549
37582
  var n = {};
37550
37583
  (0, e("./lib/utils/common").assign)(n, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), t.exports = n;
37551
37584
  }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(e, t, r2) {
37552
- 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;
37585
+ 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;
37553
37586
  function p(e2) {
37554
37587
  if (!(this instanceof p)) return new p(e2);
37555
37588
  this.options = o.assign({ level: f2, method: d2, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: c2, to: "" }, e2 || {});
@@ -37559,7 +37592,7 @@ function requireJszip_min() {
37559
37592
  if (r22 !== l3) throw new Error(i[r22]);
37560
37593
  if (t2.header && a.deflateSetHeader(this.strm, t2.header), t2.dictionary) {
37561
37594
  var n2;
37562
- 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]);
37595
+ 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]);
37563
37596
  this._dict_set = true;
37564
37597
  }
37565
37598
  }
@@ -37571,10 +37604,10 @@ function requireJszip_min() {
37571
37604
  p.prototype.push = function(e2, t2) {
37572
37605
  var r22, n2, i2 = this.strm, s22 = this.options.chunkSize;
37573
37606
  if (this.ended) return false;
37574
- 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;
37607
+ 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;
37575
37608
  do {
37576
37609
  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);
37577
- 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)));
37610
+ 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)));
37578
37611
  } while ((0 < i2.avail_in || 0 === i2.avail_out) && 1 !== r22);
37579
37612
  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));
37580
37613
  }, p.prototype.onData = function(e2) {
@@ -37603,14 +37636,14 @@ function requireJszip_min() {
37603
37636
  return r22.result;
37604
37637
  }
37605
37638
  a.prototype.push = function(e2, t2) {
37606
- var r22, n2, i2, s22, a2, o2, h2 = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37639
+ var r22, n2, i2, s22, a2, o2, h = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37607
37640
  if (this.ended) return false;
37608
- 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;
37641
+ 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;
37609
37642
  do {
37610
- 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);
37611
- 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);
37612
- } while ((0 < h2.avail_in || 0 === h2.avail_out) && r22 !== m2.Z_STREAM_END);
37613
- 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));
37643
+ 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);
37644
+ 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);
37645
+ } while ((0 < h.avail_in || 0 === h.avail_out) && r22 !== m2.Z_STREAM_END);
37646
+ 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));
37614
37647
  }, a.prototype.onData = function(e2) {
37615
37648
  this.chunks.push(e2);
37616
37649
  }, a.prototype.onEnd = function(e2) {
@@ -37649,7 +37682,7 @@ function requireJszip_min() {
37649
37682
  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));
37650
37683
  }, r2.setTyped(n);
37651
37684
  }, {}], 42: [function(e, t, r2) {
37652
- var h2 = e("./common"), i = true, s2 = true;
37685
+ var h = e("./common"), i = true, s2 = true;
37653
37686
  try {
37654
37687
  String.fromCharCode.apply(null, [0]);
37655
37688
  } catch (e2) {
@@ -37660,21 +37693,21 @@ function requireJszip_min() {
37660
37693
  } catch (e2) {
37661
37694
  s2 = false;
37662
37695
  }
37663
- 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;
37696
+ 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;
37664
37697
  function l3(e2, t2) {
37665
- if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h2.shrinkBuf(e2, t2));
37698
+ if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h.shrinkBuf(e2, t2));
37666
37699
  for (var r22 = "", n2 = 0; n2 < t2; n2++) r22 += String.fromCharCode(e2[n2]);
37667
37700
  return r22;
37668
37701
  }
37669
37702
  u[254] = u[254] = 1, r2.string2buf = function(e2) {
37670
37703
  var t2, r22, n2, i2, s22, a = e2.length, o = 0;
37671
37704
  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;
37672
- 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);
37705
+ 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);
37673
37706
  return t2;
37674
37707
  }, r2.buf2binstring = function(e2) {
37675
37708
  return l3(e2, e2.length);
37676
37709
  }, r2.binstring2buf = function(e2) {
37677
- for (var t2 = new h2.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37710
+ for (var t2 = new h.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37678
37711
  return t2;
37679
37712
  }, r2.buf2string = function(e2, t2) {
37680
37713
  var r22, n2, i2, s22, a = t2 || e2.length, o = new Array(2 * a);
@@ -37716,11 +37749,11 @@ function requireJszip_min() {
37716
37749
  return -1 ^ e2;
37717
37750
  };
37718
37751
  }, {}], 46: [function(e, t, r2) {
37719
- 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;
37720
- function R2(e2, t2) {
37752
+ 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;
37753
+ function R(e2, t2) {
37721
37754
  return e2.msg = n[t2], t2;
37722
37755
  }
37723
- function T(e2) {
37756
+ function T2(e2) {
37724
37757
  return (e2 << 1) - (4 < e2 ? 9 : 0);
37725
37758
  }
37726
37759
  function D2(e2) {
@@ -37740,7 +37773,7 @@ function requireJszip_min() {
37740
37773
  e2.pending_buf[e2.pending++] = t2 >>> 8 & 255, e2.pending_buf[e2.pending++] = 255 & t2;
37741
37774
  }
37742
37775
  function L2(e2, t2) {
37743
- 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];
37776
+ 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];
37744
37777
  e2.prev_length >= e2.good_match && (i2 >>= 2), o2 > e2.lookahead && (o2 = e2.lookahead);
37745
37778
  do {
37746
37779
  if (u2[(r22 = t2) + a2] === p2 && u2[r22 + a2 - 1] === d22 && u2[r22] === u2[s22] && u2[++r22] === u2[s22 + 1]) {
@@ -37752,11 +37785,11 @@ function requireJszip_min() {
37752
37785
  d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37753
37786
  }
37754
37787
  }
37755
- } while ((t2 = f22[t2 & l22]) > h22 && 0 != --i2);
37788
+ } while ((t2 = f22[t2 & l22]) > h2 && 0 != --i2);
37756
37789
  return a2 <= e2.lookahead ? a2 : e2.lookahead;
37757
37790
  }
37758
37791
  function j2(e2) {
37759
- var t2, r22, n2, i2, s22, a2, o2, h22, u2, l22, f22 = e2.w_size;
37792
+ var t2, r22, n2, i2, s22, a2, o2, h2, u2, l22, f22 = e2.w_size;
37760
37793
  do {
37761
37794
  if (i2 = e2.window_size - e2.lookahead - e2.strstart, e2.strstart >= f22 + (f22 - z2)) {
37762
37795
  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; ) ;
@@ -37764,7 +37797,7 @@ function requireJszip_min() {
37764
37797
  i2 += f22;
37765
37798
  }
37766
37799
  if (0 === e2.strm.avail_in) break;
37767
- 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)); ) ;
37800
+ 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)); ) ;
37768
37801
  } while (e2.lookahead < z2 && 0 !== e2.strm.avail_in);
37769
37802
  }
37770
37803
  function Z(e2, t2) {
@@ -37773,14 +37806,14 @@ function requireJszip_min() {
37773
37806
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37774
37807
  if (0 === e2.lookahead) break;
37775
37808
  }
37776
- 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) {
37777
- 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; ) ;
37809
+ 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) {
37810
+ 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; ) ;
37778
37811
  e2.strstart++;
37779
37812
  } 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;
37780
37813
  else n2 = u._tr_tally(e2, 0, e2.window[e2.strstart]), e2.lookahead--, e2.strstart++;
37781
37814
  if (n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37782
37815
  }
37783
- 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;
37816
+ 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;
37784
37817
  }
37785
37818
  function W2(e2, t2) {
37786
37819
  for (var r22, n2, i2; ; ) {
@@ -37788,14 +37821,14 @@ function requireJszip_min() {
37788
37821
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37789
37822
  if (0 === e2.lookahead) break;
37790
37823
  }
37791
- 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) {
37792
- 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; ) ;
37793
- if (e2.match_available = 0, e2.match_length = x - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37824
+ 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) {
37825
+ 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; ) ;
37826
+ if (e2.match_available = 0, e2.match_length = x2 - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37794
37827
  } else if (e2.match_available) {
37795
37828
  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;
37796
37829
  } else e2.match_available = 1, e2.strstart++, e2.lookahead--;
37797
37830
  }
37798
- 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;
37831
+ 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;
37799
37832
  }
37800
37833
  function M2(e2, t2, r22, n2, i2) {
37801
37834
  this.good_length = e2, this.max_lazy = t2, this.nice_length = r22, this.max_chain = n2, this.func = i2;
@@ -37805,23 +37838,23 @@ function requireJszip_min() {
37805
37838
  }
37806
37839
  function G2(e2) {
37807
37840
  var t2;
37808
- 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);
37841
+ 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);
37809
37842
  }
37810
37843
  function K2(e2) {
37811
37844
  var t2 = G2(e2);
37812
37845
  return t2 === m2 && (function(e3) {
37813
- 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;
37846
+ 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;
37814
37847
  })(e2.state), t2;
37815
37848
  }
37816
37849
  function Y2(e2, t2, r22, n2, i2, s22) {
37817
37850
  if (!e2) return _2;
37818
37851
  var a2 = 1;
37819
- 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);
37852
+ 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);
37820
37853
  8 === n2 && (n2 = 9);
37821
37854
  var o2 = new H();
37822
- 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);
37855
+ 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);
37823
37856
  }
37824
- h2 = [new M2(0, 0, 0, 0, function(e2, t2) {
37857
+ h = [new M2(0, 0, 0, 0, function(e2, t2) {
37825
37858
  var r22 = 65535;
37826
37859
  for (r22 > e2.pending_buf_size - 5 && (r22 = e2.pending_buf_size - 5); ; ) {
37827
37860
  if (e2.lookahead <= 1) {
@@ -37833,15 +37866,15 @@ function requireJszip_min() {
37833
37866
  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;
37834
37867
  if (e2.strstart - e2.block_start >= e2.w_size - z2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37835
37868
  }
37836
- 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);
37869
+ 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);
37837
37870
  }), 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) {
37838
37871
  return Y2(e2, t2, v2, 15, 8, 0);
37839
37872
  }, r2.deflateInit2 = Y2, r2.deflateReset = K2, r2.deflateResetKeep = G2, r2.deflateSetHeader = function(e2, t2) {
37840
37873
  return e2 && e2.state ? 2 !== e2.state.wrap ? _2 : (e2.state.gzhead = t2, m2) : _2;
37841
37874
  }, r2.deflate = function(e2, t2) {
37842
37875
  var r22, n2, i2, s22;
37843
- if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R2(e2, _2) : _2;
37844
- 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);
37876
+ if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R(e2, _2) : _2;
37877
+ 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);
37845
37878
  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);
37846
37879
  else {
37847
37880
  var a2 = v2 + (n2.w_bits - 8 << 4) << 8;
@@ -37875,8 +37908,8 @@ function requireJszip_min() {
37875
37908
  } else n2.status = 103;
37876
37909
  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) {
37877
37910
  if (F2(e2), 0 === e2.avail_out) return n2.last_flush = -1, m2;
37878
- } else if (0 === e2.avail_in && T(t2) <= T(r22) && t2 !== f2) return R2(e2, -5);
37879
- if (666 === n2.status && 0 !== e2.avail_in) return R2(e2, -5);
37911
+ } else if (0 === e2.avail_in && T2(t2) <= T2(r22) && t2 !== f2) return R(e2, -5);
37912
+ if (666 === n2.status && 0 !== e2.avail_in) return R(e2, -5);
37880
37913
  if (0 !== e2.avail_in || 0 !== n2.lookahead || t2 !== l3 && 666 !== n2.status) {
37881
37914
  var o2 = 2 === n2.strategy ? (function(e3, t3) {
37882
37915
  for (var r3; ; ) {
@@ -37886,39 +37919,39 @@ function requireJszip_min() {
37886
37919
  }
37887
37920
  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;
37888
37921
  }
37889
- 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;
37922
+ 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;
37890
37923
  })(n2, t2) : 3 === n2.strategy ? (function(e3, t3) {
37891
37924
  for (var r3, n3, i3, s3, a3 = e3.window; ; ) {
37892
37925
  if (e3.lookahead <= S2) {
37893
37926
  if (j2(e3), e3.lookahead <= S2 && t3 === l3) return A2;
37894
37927
  if (0 === e3.lookahead) break;
37895
37928
  }
37896
- 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]) {
37929
+ 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]) {
37897
37930
  s3 = e3.strstart + S2;
37898
37931
  do {
37899
37932
  } 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);
37900
37933
  e3.match_length = S2 - (s3 - i3), e3.match_length > e3.lookahead && (e3.match_length = e3.lookahead);
37901
37934
  }
37902
- 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;
37935
+ 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;
37903
37936
  }
37904
- 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;
37905
- })(n2, t2) : h2[n2.level].func(n2, t2);
37906
- if (o2 !== O2 && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O2) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37937
+ 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;
37938
+ })(n2, t2) : h[n2.level].func(n2, t2);
37939
+ if (o2 !== O && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37907
37940
  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;
37908
37941
  }
37909
37942
  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);
37910
37943
  }, r2.deflateEnd = function(e2) {
37911
37944
  var t2;
37912
- 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;
37945
+ 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;
37913
37946
  }, r2.deflateSetDictionary = function(e2, t2) {
37914
- var r22, n2, i2, s22, a2, o2, h22, u2, l22 = t2.length;
37947
+ var r22, n2, i2, s22, a2, o2, h2, u2, l22 = t2.length;
37915
37948
  if (!e2 || !e2.state) return _2;
37916
37949
  if (2 === (s22 = (r22 = e2.state).wrap) || 1 === s22 && r22.status !== C2 || r22.lookahead) return _2;
37917
- 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; ) {
37918
- 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; ) ;
37919
- r22.strstart = n2, r22.lookahead = x - 1, j2(r22);
37950
+ 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; ) {
37951
+ 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; ) ;
37952
+ r22.strstart = n2, r22.lookahead = x2 - 1, j2(r22);
37920
37953
  }
37921
- 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;
37954
+ 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;
37922
37955
  }, r2.deflateInfo = "pako deflate (from Nodeca project)";
37923
37956
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(e, t, r2) {
37924
37957
  t.exports = function() {
@@ -37926,8 +37959,8 @@ function requireJszip_min() {
37926
37959
  };
37927
37960
  }, {}], 48: [function(e, t, r2) {
37928
37961
  t.exports = function(e2, t2) {
37929
- 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;
37930
- 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;
37962
+ 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;
37963
+ 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;
37931
37964
  e: do {
37932
37965
  p < 15 && (d2 += z2[n++] << p, p += 8, d2 += z2[n++] << p, p += 8), v2 = m2[d2 & g];
37933
37966
  t: for (; ; ) {
@@ -37955,7 +37988,7 @@ function requireJszip_min() {
37955
37988
  e2.msg = "invalid distance code", r22.mode = 30;
37956
37989
  break e;
37957
37990
  }
37958
- 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)) {
37991
+ 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)) {
37959
37992
  e2.msg = "invalid distance too far back", r22.mode = 30;
37960
37993
  break e;
37961
37994
  }
@@ -37964,28 +37997,28 @@ function requireJszip_min() {
37964
37997
  e2.msg = "invalid distance too far back", r22.mode = 30;
37965
37998
  break e;
37966
37999
  }
37967
- if (S2 = c2, (x = 0) === f2) {
37968
- if (x += u - y2, y2 < w2) {
37969
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37970
- x = s2 - k2, S2 = C2;
38000
+ if (S2 = c2, (x2 = 0) === f2) {
38001
+ if (x2 += u - y2, y2 < w2) {
38002
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
38003
+ x2 = s2 - k2, S2 = C2;
37971
38004
  }
37972
38005
  } else if (f2 < y2) {
37973
- if (x += u + f2 - y2, (y2 -= f2) < w2) {
37974
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37975
- if (x = 0, f2 < w2) {
37976
- for (w2 -= y2 = f2; C2[s2++] = c2[x++], --y2; ) ;
37977
- x = s2 - k2, S2 = C2;
38006
+ if (x2 += u + f2 - y2, (y2 -= f2) < w2) {
38007
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
38008
+ if (x2 = 0, f2 < w2) {
38009
+ for (w2 -= y2 = f2; C2[s2++] = c2[x2++], --y2; ) ;
38010
+ x2 = s2 - k2, S2 = C2;
37978
38011
  }
37979
38012
  }
37980
- } else if (x += f2 - y2, y2 < w2) {
37981
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37982
- x = s2 - k2, S2 = C2;
38013
+ } else if (x2 += f2 - y2, y2 < w2) {
38014
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
38015
+ x2 = s2 - k2, S2 = C2;
37983
38016
  }
37984
- for (; 2 < w2; ) C2[s2++] = S2[x++], C2[s2++] = S2[x++], C2[s2++] = S2[x++], w2 -= 3;
37985
- w2 && (C2[s2++] = S2[x++], 1 < w2 && (C2[s2++] = S2[x++]));
38017
+ for (; 2 < w2; ) C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], w2 -= 3;
38018
+ w2 && (C2[s2++] = S2[x2++], 1 < w2 && (C2[s2++] = S2[x2++]));
37986
38019
  } else {
37987
- for (x = s2 - k2; C2[s2++] = C2[x++], C2[s2++] = C2[x++], C2[s2++] = C2[x++], 2 < (w2 -= 3); ) ;
37988
- w2 && (C2[s2++] = C2[x++], 1 < w2 && (C2[s2++] = C2[x++]));
38020
+ for (x2 = s2 - k2; C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], 2 < (w2 -= 3); ) ;
38021
+ w2 && (C2[s2++] = C2[x2++], 1 < w2 && (C2[s2++] = C2[x2++]));
37989
38022
  }
37990
38023
  break;
37991
38024
  }
@@ -37996,7 +38029,7 @@ function requireJszip_min() {
37996
38029
  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;
37997
38030
  };
37998
38031
  }, {}], 49: [function(e, t, r2) {
37999
- 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;
38032
+ 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;
38000
38033
  function L2(e2) {
38001
38034
  return (e2 >>> 24 & 255) + (e2 >>> 8 & 65280) + ((65280 & e2) << 8) + ((255 & e2) << 24);
38002
38035
  }
@@ -38011,13 +38044,13 @@ function requireJszip_min() {
38011
38044
  var t2;
38012
38045
  return e2 && e2.state ? ((t2 = e2.state).wsize = 0, t2.whave = 0, t2.wnext = 0, a(e2)) : U2;
38013
38046
  }
38014
- function h2(e2, t2) {
38047
+ function h(e2, t2) {
38015
38048
  var r22, n2;
38016
38049
  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;
38017
38050
  }
38018
38051
  function u(e2, t2) {
38019
38052
  var r22, n2;
38020
- return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h2(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
38053
+ return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
38021
38054
  }
38022
38055
  var l3, f2, c2 = true;
38023
38056
  function j2(e2) {
@@ -38027,8 +38060,8 @@ function requireJszip_min() {
38027
38060
  for (; t2 < 256; ) e2.lens[t2++] = 9;
38028
38061
  for (; t2 < 280; ) e2.lens[t2++] = 7;
38029
38062
  for (; t2 < 288; ) e2.lens[t2++] = 8;
38030
- for (T(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
38031
- T(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
38063
+ for (T2(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
38064
+ T2(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
38032
38065
  }
38033
38066
  e2.lencode = l3, e2.lenbits = 9, e2.distcode = f2, e2.distbits = 5;
38034
38067
  }
@@ -38036,12 +38069,12 @@ function requireJszip_min() {
38036
38069
  var i2, s22 = e2.state;
38037
38070
  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;
38038
38071
  }
38039
- r2.inflateReset = o, r2.inflateReset2 = h2, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
38072
+ r2.inflateReset = o, r2.inflateReset2 = h, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
38040
38073
  return u(e2, 15);
38041
38074
  }, r2.inflateInit2 = u, r2.inflate = function(e2, t2) {
38042
- 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];
38075
+ 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];
38043
38076
  if (!e2 || !e2.state || !e2.output || !e2.input && 0 !== e2.avail_in) return U2;
38044
- 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;
38077
+ 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;
38045
38078
  e: for (; ; ) switch (r22.mode) {
38046
38079
  case P2:
38047
38080
  if (0 === r22.wrap) {
@@ -38144,7 +38177,7 @@ function requireJszip_min() {
38144
38177
  }
38145
38178
  e2.adler = r22.check = L2(u2), l22 = u2 = 0, r22.mode = 11;
38146
38179
  case 11:
38147
- 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;
38180
+ 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;
38148
38181
  e2.adler = r22.check = 1, r22.mode = 12;
38149
38182
  case 12:
38150
38183
  if (5 === t2 || 6 === t2) break e;
@@ -38187,8 +38220,8 @@ function requireJszip_min() {
38187
38220
  r22.mode = 16;
38188
38221
  case 16:
38189
38222
  if (d2 = r22.length) {
38190
- if (o2 < d2 && (d2 = o2), h22 < d2 && (d2 = h22), 0 === d2) break e;
38191
- I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h22 -= d2, a2 += d2, r22.length -= d2;
38223
+ if (o2 < d2 && (d2 = o2), h2 < d2 && (d2 = h2), 0 === d2) break e;
38224
+ I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h2 -= d2, a2 += d2, r22.length -= d2;
38192
38225
  break;
38193
38226
  }
38194
38227
  r22.mode = 12;
@@ -38212,7 +38245,7 @@ function requireJszip_min() {
38212
38245
  r22.lens[A2[r22.have++]] = 7 & u2, u2 >>>= 3, l22 -= 3;
38213
38246
  }
38214
38247
  for (; r22.have < 19; ) r22.lens[A2[r22.have++]] = 0;
38215
- 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) {
38248
+ 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) {
38216
38249
  e2.msg = "invalid code lengths set", r22.mode = 30;
38217
38250
  break;
38218
38251
  }
@@ -38260,11 +38293,11 @@ function requireJszip_min() {
38260
38293
  e2.msg = "invalid code -- missing end-of-block", r22.mode = 30;
38261
38294
  break;
38262
38295
  }
38263
- 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) {
38296
+ 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) {
38264
38297
  e2.msg = "invalid literal/lengths set", r22.mode = 30;
38265
38298
  break;
38266
38299
  }
38267
- 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) {
38300
+ 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) {
38268
38301
  e2.msg = "invalid distances set", r22.mode = 30;
38269
38302
  break;
38270
38303
  }
@@ -38272,8 +38305,8 @@ function requireJszip_min() {
38272
38305
  case 20:
38273
38306
  r22.mode = 21;
38274
38307
  case 21:
38275
- if (6 <= o2 && 258 <= h22) {
38276
- 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);
38308
+ if (6 <= o2 && 258 <= h2) {
38309
+ 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);
38277
38310
  break;
38278
38311
  }
38279
38312
  for (r22.back = 0; g = (C2 = r22.lencode[u2 & (1 << r22.lenbits) - 1]) >>> 16 & 255, b2 = 65535 & C2, !((_2 = C2 >>> 24) <= l22); ) {
@@ -38340,20 +38373,20 @@ function requireJszip_min() {
38340
38373
  }
38341
38374
  r22.mode = 25;
38342
38375
  case 25:
38343
- if (0 === h22) break e;
38344
- if (d2 = c22 - h22, r22.offset > d2) {
38376
+ if (0 === h2) break e;
38377
+ if (d2 = c22 - h2, r22.offset > d2) {
38345
38378
  if ((d2 = r22.offset - d2) > r22.whave && r22.sane) {
38346
38379
  e2.msg = "invalid distance too far back", r22.mode = 30;
38347
38380
  break;
38348
38381
  }
38349
38382
  p = d2 > r22.wnext ? (d2 -= r22.wnext, r22.wsize - d2) : r22.wnext - d2, d2 > r22.length && (d2 = r22.length), m2 = r22.window;
38350
38383
  } else m2 = i2, p = a2 - r22.offset, d2 = r22.length;
38351
- for (h22 < d2 && (d2 = h22), h22 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
38384
+ for (h2 < d2 && (d2 = h2), h2 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
38352
38385
  0 === r22.length && (r22.mode = 21);
38353
38386
  break;
38354
38387
  case 26:
38355
- if (0 === h22) break e;
38356
- i2[a2++] = r22.length, h22--, r22.mode = 21;
38388
+ if (0 === h2) break e;
38389
+ i2[a2++] = r22.length, h2--, r22.mode = 21;
38357
38390
  break;
38358
38391
  case 27:
38359
38392
  if (r22.wrap) {
@@ -38361,7 +38394,7 @@ function requireJszip_min() {
38361
38394
  if (0 === o2) break e;
38362
38395
  o2--, u2 |= n2[s22++] << l22, l22 += 8;
38363
38396
  }
38364
- 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) {
38397
+ 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) {
38365
38398
  e2.msg = "incorrect data check", r22.mode = 30;
38366
38399
  break;
38367
38400
  }
@@ -38382,10 +38415,10 @@ function requireJszip_min() {
38382
38415
  }
38383
38416
  r22.mode = 29;
38384
38417
  case 29:
38385
- x = 1;
38418
+ x2 = 1;
38386
38419
  break e;
38387
38420
  case 30:
38388
- x = -3;
38421
+ x2 = -3;
38389
38422
  break e;
38390
38423
  case 31:
38391
38424
  return -4;
@@ -38393,7 +38426,7 @@ function requireJszip_min() {
38393
38426
  default:
38394
38427
  return U2;
38395
38428
  }
38396
- 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);
38429
+ 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);
38397
38430
  }, r2.inflateEnd = function(e2) {
38398
38431
  if (!e2 || !e2.state) return U2;
38399
38432
  var t2 = e2.state;
@@ -38403,33 +38436,33 @@ function requireJszip_min() {
38403
38436
  return e2 && e2.state ? 0 == (2 & (r22 = e2.state).wrap) ? U2 : ((r22.head = t2).done = false, N2) : U2;
38404
38437
  }, r2.inflateSetDictionary = function(e2, t2) {
38405
38438
  var r22, n2 = t2.length;
38406
- 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;
38439
+ 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;
38407
38440
  }, r2.inflateInfo = "pako inflate (from Nodeca project)";
38408
38441
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, r2) {
38409
38442
  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];
38410
38443
  t.exports = function(e2, t2, r22, n, i, s2, a, o) {
38411
- 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;
38412
- for (b2 = 0; b2 <= 15; b2++) O2[b2] = 0;
38413
- for (v2 = 0; v2 < n; v2++) O2[t2[r22 + v2]]++;
38414
- for (k2 = g, w2 = 15; 1 <= w2 && 0 === O2[w2]; w2--) ;
38444
+ 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;
38445
+ for (b2 = 0; b2 <= 15; b2++) O[b2] = 0;
38446
+ for (v2 = 0; v2 < n; v2++) O[t2[r22 + v2]]++;
38447
+ for (k2 = g, w2 = 15; 1 <= w2 && 0 === O[w2]; w2--) ;
38415
38448
  if (w2 < k2 && (k2 = w2), 0 === w2) return i[s2++] = 20971520, i[s2++] = 20971520, o.bits = 1, 0;
38416
- for (y2 = 1; y2 < w2 && 0 === O2[y2]; y2++) ;
38417
- for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O2[b2]) < 0) return -1;
38449
+ for (y2 = 1; y2 < w2 && 0 === O[y2]; y2++) ;
38450
+ for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O[b2]) < 0) return -1;
38418
38451
  if (0 < z2 && (0 === e2 || 1 !== w2)) return -1;
38419
- for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O2[b2];
38452
+ for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O[b2];
38420
38453
  for (v2 = 0; v2 < n; v2++) 0 !== t2[r22 + v2] && (a[B2[t2[r22 + v2]]++] = v2);
38421
- 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;
38454
+ 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;
38422
38455
  for (; ; ) {
38423
- 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; ) ;
38424
- for (h2 = 1 << b2 - 1; E2 & h2; ) h2 >>= 1;
38425
- if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O2[b2]) {
38456
+ 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; ) ;
38457
+ for (h = 1 << b2 - 1; E2 & h; ) h >>= 1;
38458
+ if (0 !== h ? (E2 &= h - 1, E2 += h) : E2 = 0, v2++, 0 == --O[b2]) {
38426
38459
  if (b2 === w2) break;
38427
38460
  b2 = t2[r22 + a[v2]];
38428
38461
  }
38429
38462
  if (k2 < b2 && (E2 & f2) !== l3) {
38430
- for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x = b2 - S2); x + S2 < w2 && !((z2 -= O2[x + S2]) <= 0); ) x++, z2 <<= 1;
38431
- if (C2 += 1 << x, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38432
- i[l3 = E2 & f2] = k2 << 24 | x << 16 | c2 - s2 | 0;
38463
+ for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x2 = b2 - S2); x2 + S2 < w2 && !((z2 -= O[x2 + S2]) <= 0); ) x2++, z2 <<= 1;
38464
+ if (C2 += 1 << x2, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38465
+ i[l3 = E2 & f2] = k2 << 24 | x2 << 16 | c2 - s2 | 0;
38433
38466
  }
38434
38467
  }
38435
38468
  return 0 !== E2 && (i[c2 + E2] = b2 - S2 << 24 | 64 << 16 | 0), o.bits = k2, 0;
@@ -38437,11 +38470,11 @@ function requireJszip_min() {
38437
38470
  }, { "../utils/common": 41 }], 51: [function(e, t, r2) {
38438
38471
  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" };
38439
38472
  }, {}], 52: [function(e, t, r2) {
38440
- var i = e("../utils/common"), o = 0, h2 = 1;
38473
+ var i = e("../utils/common"), o = 0, h = 1;
38441
38474
  function n(e2) {
38442
38475
  for (var t2 = e2.length; 0 <= --t2; ) e2[t2] = 0;
38443
38476
  }
38444
- 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));
38477
+ 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));
38445
38478
  n(z2);
38446
38479
  var C2 = new Array(2 * f2);
38447
38480
  n(C2);
@@ -38451,7 +38484,7 @@ function requireJszip_min() {
38451
38484
  n(A2);
38452
38485
  var I2 = new Array(a);
38453
38486
  n(I2);
38454
- var O2, B2, R2, T = new Array(f2);
38487
+ var O, B2, R, T2 = new Array(f2);
38455
38488
  function D2(e2, t2, r22, n2, i2) {
38456
38489
  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;
38457
38490
  }
@@ -38502,15 +38535,15 @@ function requireJszip_min() {
38502
38535
  }
38503
38536
  function K2(e2, t2, r22) {
38504
38537
  var n2, i2, s22, a2, o2 = 0;
38505
- 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; ) ;
38538
+ 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; ) ;
38506
38539
  L2(e2, m2, t2);
38507
38540
  }
38508
38541
  function Y2(e2, t2) {
38509
- 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;
38510
- 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;
38542
+ 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;
38543
+ 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;
38511
38544
  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]);
38512
38545
  for (t2.max_code = u2, r22 = e2.heap_len >> 1; 1 <= r22; r22--) G2(e2, s22, r22);
38513
- 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; ) ;
38546
+ 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; ) ;
38514
38547
  e2.heap[--e2.heap_max] = e2.heap[1], (function(e3, t3) {
38515
38548
  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;
38516
38549
  for (s3 = 0; s3 <= g; s3++) e3.bl_count[s3] = 0;
@@ -38525,18 +38558,18 @@ function requireJszip_min() {
38525
38558
  })(e2, t2), Z(s22, u2, e2.bl_count);
38526
38559
  }
38527
38560
  function X2(e2, t2, r22) {
38528
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38529
- 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));
38561
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38562
+ 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));
38530
38563
  }
38531
38564
  function V2(e2, t2, r22) {
38532
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38533
- 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)) {
38565
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38566
+ 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)) {
38534
38567
  if (o2 < u2) for (; L2(e2, i2, e2.bl_tree), 0 != --o2; ) ;
38535
38568
  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));
38536
- s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4);
38569
+ s22 = i2, u2 = (o2 = 0) === a2 ? (h2 = 138, 3) : i2 === a2 ? (h2 = 6, 3) : (h2 = 7, 4);
38537
38570
  }
38538
38571
  }
38539
- n(T);
38572
+ n(T2);
38540
38573
  var q2 = false;
38541
38574
  function J2(e2, t2, r22, n2) {
38542
38575
  P2(e2, (s2 << 1) + (n2 ? 1 : 0), 3), (function(e3, t3, r3, n3) {
@@ -38547,23 +38580,23 @@ function requireJszip_min() {
38547
38580
  q2 || ((function() {
38548
38581
  var e3, t2, r22, n2, i2, s22 = new Array(g + 1);
38549
38582
  for (n2 = r22 = 0; n2 < a - 1; n2++) for (I2[n2] = r22, e3 = 0; e3 < 1 << w2[n2]; e3++) A2[r22++] = n2;
38550
- 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;
38551
- for (i2 >>= 7; n2 < f2; n2++) for (T[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38583
+ 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;
38584
+ for (i2 >>= 7; n2 < f2; n2++) for (T2[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38552
38585
  for (t2 = 0; t2 <= g; t2++) s22[t2] = 0;
38553
38586
  for (e3 = 0; e3 <= 143; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38554
38587
  for (; e3 <= 255; ) z2[2 * e3 + 1] = 9, e3++, s22[9]++;
38555
38588
  for (; e3 <= 279; ) z2[2 * e3 + 1] = 7, e3++, s22[7]++;
38556
38589
  for (; e3 <= 287; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38557
38590
  for (Z(z2, l3 + 1, s22), e3 = 0; e3 < f2; e3++) C2[2 * e3 + 1] = 5, C2[2 * e3] = j2(e3, 5);
38558
- 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);
38559
- })(), 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);
38591
+ 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);
38592
+ })(), 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);
38560
38593
  }, r2._tr_stored_block = J2, r2._tr_flush_block = function(e2, t2, r22, n2) {
38561
38594
  var i2, s22, a2 = 0;
38562
38595
  0 < e2.level ? (2 === e2.strm.data_type && (e2.strm.data_type = (function(e3) {
38563
38596
  var t3, r3 = 4093624447;
38564
38597
  for (t3 = 0; t3 <= 31; t3++, r3 >>>= 1) if (1 & r3 && 0 !== e3.dyn_ltree[2 * t3]) return o;
38565
- if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h2;
38566
- for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h2;
38598
+ if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h;
38599
+ for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h;
38567
38600
  return o;
38568
38601
  })(e2)), Y2(e2, e2.l_desc), Y2(e2, e2.d_desc), a2 = (function(e3) {
38569
38602
  var t3;
@@ -38589,7 +38622,7 @@ function requireJszip_min() {
38589
38622
  (function(e2) {
38590
38623
  !(function(r22, n) {
38591
38624
  if (!r22.setImmediate) {
38592
- var i, s2, t2, a, o = 1, h2 = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38625
+ var i, s2, t2, a, o = 1, h = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38593
38626
  e3 = e3 && e3.setTimeout ? e3 : r22, i = "[object process]" === {}.toString.call(r22.process) ? function(e4) {
38594
38627
  process$1$1.nextTick(function() {
38595
38628
  c2(e4);
@@ -38618,16 +38651,16 @@ function requireJszip_min() {
38618
38651
  "function" != typeof e4 && (e4 = new Function("" + e4));
38619
38652
  for (var t3 = new Array(arguments.length - 1), r3 = 0; r3 < t3.length; r3++) t3[r3] = arguments[r3 + 1];
38620
38653
  var n2 = { callback: e4, args: t3 };
38621
- return h2[o] = n2, i(o), o++;
38654
+ return h[o] = n2, i(o), o++;
38622
38655
  }, e3.clearImmediate = f2;
38623
38656
  }
38624
38657
  function f2(e4) {
38625
- delete h2[e4];
38658
+ delete h[e4];
38626
38659
  }
38627
38660
  function c2(e4) {
38628
38661
  if (u) setTimeout(c2, 0, e4);
38629
38662
  else {
38630
- var t3 = h2[e4];
38663
+ var t3 = h[e4];
38631
38664
  if (t3) {
38632
38665
  u = true;
38633
38666
  try {
@@ -39632,17 +39665,17 @@ function deepActiveElement(doc2) {
39632
39665
  elt = elt.shadowRoot.activeElement;
39633
39666
  return elt;
39634
39667
  }
39635
- function caretFromPoint(doc2, x, y2) {
39668
+ function caretFromPoint(doc2, x2, y2) {
39636
39669
  if (doc2.caretPositionFromPoint) {
39637
39670
  try {
39638
- let pos = doc2.caretPositionFromPoint(x, y2);
39671
+ let pos = doc2.caretPositionFromPoint(x2, y2);
39639
39672
  if (pos)
39640
39673
  return { node: pos.offsetNode, offset: Math.min(nodeSize(pos.offsetNode), pos.offset) };
39641
39674
  } catch (_2) {
39642
39675
  }
39643
39676
  }
39644
39677
  if (doc2.caretRangeFromPoint) {
39645
- let range2 = doc2.caretRangeFromPoint(x, y2);
39678
+ let range2 = doc2.caretRangeFromPoint(x2, y2);
39646
39679
  if (range2)
39647
39680
  return { node: range2.startContainer, offset: Math.min(nodeSize(range2.startContainer), range2.startOffset) };
39648
39681
  }
@@ -39741,8 +39774,8 @@ function scrollRectIntoView(view, rect, startDOM) {
39741
39774
  function storeScrollPos(view) {
39742
39775
  let rect = view.dom.getBoundingClientRect(), startY = Math.max(0, rect.top);
39743
39776
  let refDOM, refTop;
39744
- for (let x = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39745
- let dom = view.root.elementFromPoint(x, y2);
39777
+ for (let x2 = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39778
+ let dom = view.root.elementFromPoint(x2, y2);
39746
39779
  if (!dom || dom == view.dom || !view.dom.contains(dom))
39747
39780
  continue;
39748
39781
  let localRect = dom.getBoundingClientRect();
@@ -40038,8 +40071,8 @@ function coordsAtPos(view, pos, side) {
40038
40071
  function flattenV(rect, left2) {
40039
40072
  if (rect.width == 0)
40040
40073
  return rect;
40041
- let x = left2 ? rect.left : rect.right;
40042
- return { top: rect.top, bottom: rect.bottom, left: x, right: x };
40074
+ let x2 = left2 ? rect.left : rect.right;
40075
+ return { top: rect.top, bottom: rect.bottom, left: x2, right: x2 };
40043
40076
  }
40044
40077
  function flattenH(rect, top2) {
40045
40078
  if (rect.height == 0)
@@ -45046,10 +45079,10 @@ const createTimeoutClass = (clearFunction) => class TT {
45046
45079
  const Timeout = createTimeoutClass(clearTimeout);
45047
45080
  const timeout = (timeout2, callback) => new Timeout(setTimeout(callback, timeout2));
45048
45081
  const rotr = (w2, shift2) => w2 >>> shift2 | w2 << 32 - shift2;
45049
- const sum0to256 = (x) => rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22);
45050
- const sum1to256 = (x) => rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25);
45051
- const sigma0to256 = (x) => rotr(x, 7) ^ rotr(x, 18) ^ x >>> 3;
45052
- const sigma1to256 = (x) => rotr(x, 17) ^ rotr(x, 19) ^ x >>> 10;
45082
+ const sum0to256 = (x2) => rotr(x2, 2) ^ rotr(x2, 13) ^ rotr(x2, 22);
45083
+ const sum1to256 = (x2) => rotr(x2, 6) ^ rotr(x2, 11) ^ rotr(x2, 25);
45084
+ const sigma0to256 = (x2) => rotr(x2, 7) ^ rotr(x2, 18) ^ x2 >>> 3;
45085
+ const sigma1to256 = (x2) => rotr(x2, 17) ^ rotr(x2, 19) ^ x2 >>> 10;
45053
45086
  const K = new Uint32Array([
45054
45087
  1116352408,
45055
45088
  1899447441,
@@ -45146,11 +45179,11 @@ class Hasher {
45146
45179
  let e = H[4];
45147
45180
  let f2 = H[5];
45148
45181
  let g = H[6];
45149
- let h2 = H[7];
45182
+ let h = H[7];
45150
45183
  for (let tt = 0, T1, T2; tt < 64; tt++) {
45151
- T1 = h2 + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
45184
+ T1 = h + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
45152
45185
  T2 = sum0to256(a) + (a & b2 ^ a & c2 ^ b2 & c2) >>> 0;
45153
- h2 = g;
45186
+ h = g;
45154
45187
  g = f2;
45155
45188
  f2 = e;
45156
45189
  e = d2 + T1 >>> 0;
@@ -45166,7 +45199,7 @@ class Hasher {
45166
45199
  H[4] += e;
45167
45200
  H[5] += f2;
45168
45201
  H[6] += g;
45169
- H[7] += h2;
45202
+ H[7] += h;
45170
45203
  }
45171
45204
  /**
45172
45205
  * Returns a 32-byte hash.
@@ -53973,7 +54006,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
53973
54006
  { default: remarkStringify },
53974
54007
  { default: remarkGfm }
53975
54008
  ] = await Promise.all([
53976
- Promise.resolve().then(() => require("./index-BkSlSgV3-0lYca18m.cjs")),
54009
+ Promise.resolve().then(() => require("./index-AHvb1Kq8-qUWhs4Mc.cjs")),
53977
54010
  Promise.resolve().then(() => require("./index-DRCvimau-H4Ck3S9a.cjs")),
53978
54011
  Promise.resolve().then(() => require("./index-C_x_N6Uh-Db3CUJMX.cjs")),
53979
54012
  Promise.resolve().then(() => require("./index-D_sWOSiG-BtDZzJ6I.cjs")),
@@ -54191,7 +54224,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
54191
54224
  * @returns {Object | void} Migration results
54192
54225
  */
54193
54226
  processCollaborationMigrations() {
54194
- console.debug("[checkVersionMigrations] Current editor version", "0.31.3");
54227
+ console.debug("[checkVersionMigrations] Current editor version", "0.31.4-RC.1");
54195
54228
  if (!this.options.ydoc) return;
54196
54229
  const metaMap = this.options.ydoc.getMap("meta");
54197
54230
  let docVersion = metaMap.get("version");
@@ -56067,16 +56100,16 @@ function getCursorPositionRelativeToContainer(view, eventLocation) {
56067
56100
  const { state: state2, dom } = view;
56068
56101
  const { selection } = state2;
56069
56102
  const containerRect = dom.getBoundingClientRect();
56070
- let x, y2;
56103
+ let x2, y2;
56071
56104
  if (typeof eventLocation.clientX === "number" && typeof eventLocation.clientY === "number") {
56072
- x = eventLocation.clientX - containerRect.left;
56105
+ x2 = eventLocation.clientX - containerRect.left;
56073
56106
  y2 = eventLocation.clientY - containerRect.top;
56074
56107
  } else {
56075
56108
  const cursorCoords = view.coordsAtPos(selection.from);
56076
- x = cursorCoords.left - containerRect.left;
56109
+ x2 = cursorCoords.left - containerRect.left;
56077
56110
  y2 = cursorCoords.top - containerRect.top;
56078
56111
  }
56079
- return { left: x, top: y2 };
56112
+ return { left: x2, top: y2 };
56080
56113
  }
56081
56114
  const SlashMenuPluginKey = new PluginKey("slashMenu");
56082
56115
  const SlashMenu = Extension.create({
@@ -56355,17 +56388,17 @@ class StructuredContentViewBase {
56355
56388
  if (!this.dom || this.contentDOM?.contains(target) || !dragHandle) {
56356
56389
  return;
56357
56390
  }
56358
- let x = 0;
56391
+ let x2 = 0;
56359
56392
  let y2 = 0;
56360
56393
  if (this.dom !== dragHandle) {
56361
56394
  const domBox = this.dom.getBoundingClientRect();
56362
56395
  const handleBox = dragHandle.getBoundingClientRect();
56363
56396
  const offsetX = event.offsetX ?? event.nativeEvent?.offsetX;
56364
56397
  const offsetY = event.offsetY ?? event.nativeEvent?.offsetY;
56365
- x = handleBox.x - domBox.x + offsetX;
56398
+ x2 = handleBox.x - domBox.x + offsetX;
56366
56399
  y2 = handleBox.y - domBox.y + offsetY;
56367
56400
  }
56368
- event.dataTransfer?.setDragImage(this.dom, x, y2);
56401
+ event.dataTransfer?.setDragImage(this.dom, x2, y2);
56369
56402
  const pos = this.getPos();
56370
56403
  if (typeof pos !== "number") {
56371
56404
  return;
@@ -61023,16 +61056,16 @@ function computeMap(table) {
61023
61056
  if (i == rowNode.childCount) break;
61024
61057
  const cellNode = rowNode.child(i);
61025
61058
  const { colspan, rowspan, colwidth } = cellNode.attrs;
61026
- for (let h2 = 0; h2 < rowspan; h2++) {
61027
- if (h2 + row >= height) {
61059
+ for (let h = 0; h < rowspan; h++) {
61060
+ if (h + row >= height) {
61028
61061
  (problems || (problems = [])).push({
61029
61062
  type: "overlong_rowspan",
61030
61063
  pos,
61031
- n: rowspan - h2
61064
+ n: rowspan - h
61032
61065
  });
61033
61066
  break;
61034
61067
  }
61035
- const start2 = mapPos + h2 * width;
61068
+ const start2 = mapPos + h * width;
61036
61069
  for (let w2 = 0; w2 < colspan; w2++) {
61037
61070
  if (map22[start2 + w2] == 0) map22[start2 + w2] = pos;
61038
61071
  else
@@ -64599,24 +64632,24 @@ function parseToRgba(color) {
64599
64632
  const reducedHexMatch = reducedHexRegex.exec(normalizedColor);
64600
64633
  if (reducedHexMatch) {
64601
64634
  const arr = Array.from(reducedHexMatch).slice(1);
64602
- return [...arr.slice(0, 3).map((x) => parseInt(r$1(x, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64635
+ return [...arr.slice(0, 3).map((x2) => parseInt(r$1(x2, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64603
64636
  }
64604
64637
  const hexMatch = hexRegex$1.exec(normalizedColor);
64605
64638
  if (hexMatch) {
64606
64639
  const arr = Array.from(hexMatch).slice(1);
64607
- return [...arr.slice(0, 3).map((x) => parseInt(x, 16)), parseInt(arr[3] || "ff", 16) / 255];
64640
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 16)), parseInt(arr[3] || "ff", 16) / 255];
64608
64641
  }
64609
64642
  const rgbaMatch = rgbaRegex$1.exec(normalizedColor);
64610
64643
  if (rgbaMatch) {
64611
64644
  const arr = Array.from(rgbaMatch).slice(1);
64612
- return [...arr.slice(0, 3).map((x) => parseInt(x, 10)), parseFloat(arr[3] || "1")];
64645
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 10)), parseFloat(arr[3] || "1")];
64613
64646
  }
64614
64647
  const hslaMatch = hslaRegex$1.exec(normalizedColor);
64615
64648
  if (hslaMatch) {
64616
- const [h2, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
64649
+ const [h, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
64617
64650
  if (guard(0, 100, s2) !== s2) throw new ColorError$1(color);
64618
64651
  if (guard(0, 100, l3) !== l3) throw new ColorError$1(color);
64619
- return [...hslToRgb(h2, s2, l3), Number.isNaN(a) ? 1 : a];
64652
+ return [...hslToRgb(h, s2, l3), Number.isNaN(a) ? 1 : a];
64620
64653
  }
64621
64654
  throw new ColorError$1(color);
64622
64655
  }
@@ -64628,7 +64661,7 @@ function hash$2(str) {
64628
64661
  }
64629
64662
  return (hash2 >>> 0) % 2341;
64630
64663
  }
64631
- const colorToInt = (x) => parseInt(x.replace(/_/g, ""), 36);
64664
+ const colorToInt = (x2) => parseInt(x2.replace(/_/g, ""), 36);
64632
64665
  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) => {
64633
64666
  const key2 = colorToInt(next.substring(0, 3));
64634
64667
  const hex2 = colorToInt(next.substring(3)).toString(16);
@@ -64692,9 +64725,9 @@ const hslToRgb = (hue, saturation, lightness) => {
64692
64725
  };
64693
64726
  function toHex(color) {
64694
64727
  const [r2, g, b2, a] = parseToRgba(color);
64695
- let hex2 = (x) => {
64696
- const h2 = guard(0, 255, x).toString(16);
64697
- return h2.length === 1 ? `0${h2}` : h2;
64728
+ let hex2 = (x2) => {
64729
+ const h = guard(0, 255, x2).toString(16);
64730
+ return h.length === 1 ? `0${h}` : h;
64698
64731
  };
64699
64732
  return `#${hex2(r2)}${hex2(g)}${hex2(b2)}${a < 1 ? hex2(Math.round(a * 255)) : ""}`;
64700
64733
  }
@@ -66552,14 +66585,14 @@ const getNormalizedImageAttrs = (attrs = {}) => {
66552
66585
  marginOffset: normalizeMarginOffset(attrs.marginOffset ?? {})
66553
66586
  };
66554
66587
  };
66555
- const getRotationMargins = (w2, h2, angleDegrees) => {
66588
+ const getRotationMargins = (w2, h, angleDegrees) => {
66556
66589
  const rad = angleDegrees * (Math.PI / 180);
66557
66590
  const cos = Math.abs(Math.cos(rad));
66558
66591
  const sin = Math.abs(Math.sin(rad));
66559
- const boundingWidth = w2 * cos + h2 * sin;
66560
- const boundingHeight = w2 * sin + h2 * cos;
66592
+ const boundingWidth = w2 * cos + h * sin;
66593
+ const boundingHeight = w2 * sin + h * cos;
66561
66594
  const marginLeftRight = Math.round(Math.max(0, (boundingWidth - w2) / 2));
66562
- const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h2) / 2));
66595
+ const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h) / 2));
66563
66596
  return {
66564
66597
  horizontal: marginLeftRight,
66565
66598
  vertical: marginTopBottom
@@ -66797,10 +66830,10 @@ const Image = Node$1.create({
66797
66830
  let minX = 0;
66798
66831
  let minY = 0;
66799
66832
  let maxY = 0;
66800
- attrs.polygon.forEach(([x, y2]) => {
66801
- if (floatRight && x < horizontalOffset) horizontalOffset = x;
66802
- if (x > maxX) maxX = x;
66803
- if (x < minX) minX = x;
66833
+ attrs.polygon.forEach(([x2, y2]) => {
66834
+ if (floatRight && x2 < horizontalOffset) horizontalOffset = x2;
66835
+ if (x2 > maxX) maxX = x2;
66836
+ if (x2 < minX) minX = x2;
66804
66837
  if (y2 > maxY) maxY = y2;
66805
66838
  if (y2 < minY) minY = y2;
66806
66839
  });
@@ -66809,7 +66842,7 @@ const Image = Node$1.create({
66809
66842
  const scaleWidth = Math.min(1, size2.width / originalWidth);
66810
66843
  const scaleHeight = Math.min(1, size2.height / originalHeight);
66811
66844
  const verticalOffset = Math.max(0, marginOffset.top);
66812
- const points = attrs.polygon.map(([x, y2]) => `${horizontalOffset + x * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66845
+ const points = attrs.polygon.map(([x2, y2]) => `${horizontalOffset + x2 * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66813
66846
  style2 += `shape-outside: polygon(${points});`;
66814
66847
  }
66815
66848
  break;
@@ -70462,13 +70495,13 @@ class ShapeGroupView {
70462
70495
  createShapeElement(shape) {
70463
70496
  const attrs = shape.attrs;
70464
70497
  if (!attrs) return null;
70465
- const x = attrs.x || 0;
70498
+ const x2 = attrs.x || 0;
70466
70499
  const y2 = attrs.y || 0;
70467
70500
  const width = attrs.width || 100;
70468
70501
  const height = attrs.height || 100;
70469
70502
  const g = document.createElementNS("http://www.w3.org/2000/svg", "g");
70470
70503
  const transforms = [];
70471
- transforms.push(`translate(${x}, ${y2})`);
70504
+ transforms.push(`translate(${x2}, ${y2})`);
70472
70505
  if (attrs.rotation !== 0) {
70473
70506
  transforms.push(`rotate(${attrs.rotation} ${width / 2} ${height / 2})`);
70474
70507
  }
@@ -72195,7 +72228,7 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
72195
72228
  }
72196
72229
  var _ref = isElement$2(element) ? getWindow$1(element) : window, visualViewport = _ref.visualViewport;
72197
72230
  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
72198
- var x = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
72231
+ var x2 = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
72199
72232
  var y2 = (clientRect2.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
72200
72233
  var width = clientRect2.width / scaleX;
72201
72234
  var height = clientRect2.height / scaleY;
@@ -72203,10 +72236,10 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
72203
72236
  width,
72204
72237
  height,
72205
72238
  top: y2,
72206
- right: x + width,
72239
+ right: x2 + width,
72207
72240
  bottom: y2 + height,
72208
- left: x,
72209
- x,
72241
+ left: x2,
72242
+ x: x2,
72210
72243
  y: y2
72211
72244
  };
72212
72245
  }
@@ -72407,25 +72440,25 @@ var unsetSides = {
72407
72440
  left: "auto"
72408
72441
  };
72409
72442
  function roundOffsetsByDPR(_ref, win) {
72410
- var x = _ref.x, y2 = _ref.y;
72443
+ var x2 = _ref.x, y2 = _ref.y;
72411
72444
  var dpr = win.devicePixelRatio || 1;
72412
72445
  return {
72413
- x: round$1(x * dpr) / dpr || 0,
72446
+ x: round$1(x2 * dpr) / dpr || 0,
72414
72447
  y: round$1(y2 * dpr) / dpr || 0
72415
72448
  };
72416
72449
  }
72417
72450
  function mapToStyles(_ref2) {
72418
72451
  var _Object$assign2;
72419
72452
  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;
72420
- 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;
72453
+ 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;
72421
72454
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
72422
- x,
72455
+ x: x2,
72423
72456
  y: y2
72424
72457
  }) : {
72425
- x,
72458
+ x: x2,
72426
72459
  y: y2
72427
72460
  };
72428
- x = _ref3.x;
72461
+ x2 = _ref3.x;
72429
72462
  y2 = _ref3.y;
72430
72463
  var hasX = offsets.hasOwnProperty("x");
72431
72464
  var hasY = offsets.hasOwnProperty("y");
@@ -72459,27 +72492,27 @@ function mapToStyles(_ref2) {
72459
72492
  // $FlowFixMe[prop-missing]
72460
72493
  offsetParent[widthProp]
72461
72494
  );
72462
- x -= offsetX - popperRect.width;
72463
- x *= gpuAcceleration ? 1 : -1;
72495
+ x2 -= offsetX - popperRect.width;
72496
+ x2 *= gpuAcceleration ? 1 : -1;
72464
72497
  }
72465
72498
  }
72466
72499
  var commonStyles = Object.assign({
72467
72500
  position
72468
72501
  }, adaptive && unsetSides);
72469
72502
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
72470
- x,
72503
+ x: x2,
72471
72504
  y: y2
72472
72505
  }, getWindow$1(popper2)) : {
72473
- x,
72506
+ x: x2,
72474
72507
  y: y2
72475
72508
  };
72476
- x = _ref4.x;
72509
+ x2 = _ref4.x;
72477
72510
  y2 = _ref4.y;
72478
72511
  if (gpuAcceleration) {
72479
72512
  var _Object$assign;
72480
- 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));
72513
+ 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));
72481
72514
  }
72482
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
72515
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x2 + "px" : "", _Object$assign2.transform = "", _Object$assign2));
72483
72516
  }
72484
72517
  function computeStyles(_ref5) {
72485
72518
  var state2 = _ref5.state, options = _ref5.options;
@@ -72593,21 +72626,21 @@ function getViewportRect$1(element, strategy) {
72593
72626
  var visualViewport = win.visualViewport;
72594
72627
  var width = html.clientWidth;
72595
72628
  var height = html.clientHeight;
72596
- var x = 0;
72629
+ var x2 = 0;
72597
72630
  var y2 = 0;
72598
72631
  if (visualViewport) {
72599
72632
  width = visualViewport.width;
72600
72633
  height = visualViewport.height;
72601
72634
  var layoutViewport = isLayoutViewport();
72602
72635
  if (layoutViewport || !layoutViewport && strategy === "fixed") {
72603
- x = visualViewport.offsetLeft;
72636
+ x2 = visualViewport.offsetLeft;
72604
72637
  y2 = visualViewport.offsetTop;
72605
72638
  }
72606
72639
  }
72607
72640
  return {
72608
72641
  width,
72609
72642
  height,
72610
- x: x + getWindowScrollBarX$1(element),
72643
+ x: x2 + getWindowScrollBarX$1(element),
72611
72644
  y: y2
72612
72645
  };
72613
72646
  }
@@ -72618,15 +72651,15 @@ function getDocumentRect$1(element) {
72618
72651
  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
72619
72652
  var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
72620
72653
  var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
72621
- var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72654
+ var x2 = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72622
72655
  var y2 = -winScroll.scrollTop;
72623
72656
  if (getComputedStyle$2(body || html).direction === "rtl") {
72624
- x += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72657
+ x2 += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72625
72658
  }
72626
72659
  return {
72627
72660
  width,
72628
72661
  height,
72629
- x,
72662
+ x: x2,
72630
72663
  y: y2
72631
72664
  };
72632
72665
  }
@@ -73003,9 +73036,9 @@ function offset(_ref2) {
73003
73036
  acc[placement] = distanceAndSkiddingToXY(placement, state2.rects, offset2);
73004
73037
  return acc;
73005
73038
  }, {});
73006
- var _data$state$placement = data[state2.placement], x = _data$state$placement.x, y2 = _data$state$placement.y;
73039
+ var _data$state$placement = data[state2.placement], x2 = _data$state$placement.x, y2 = _data$state$placement.y;
73007
73040
  if (state2.modifiersData.popperOffsets != null) {
73008
- state2.modifiersData.popperOffsets.x += x;
73041
+ state2.modifiersData.popperOffsets.x += x2;
73009
73042
  state2.modifiersData.popperOffsets.y += y2;
73010
73043
  }
73011
73044
  state2.modifiersData[name] = data;
@@ -74956,7 +74989,7 @@ function getPaddingObject(padding) {
74956
74989
  }
74957
74990
  function rectToClientRect(rect) {
74958
74991
  const {
74959
- x,
74992
+ x: x2,
74960
74993
  y: y2,
74961
74994
  width,
74962
74995
  height
@@ -74965,10 +74998,10 @@ function rectToClientRect(rect) {
74965
74998
  width,
74966
74999
  height,
74967
75000
  top: y2,
74968
- left: x,
74969
- right: x + width,
75001
+ left: x2,
75002
+ right: x2 + width,
74970
75003
  bottom: y2 + height,
74971
- x,
75004
+ x: x2,
74972
75005
  y: y2
74973
75006
  };
74974
75007
  }
@@ -75042,7 +75075,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75042
75075
  strategy
75043
75076
  });
75044
75077
  let {
75045
- x,
75078
+ x: x2,
75046
75079
  y: y2
75047
75080
  } = computeCoordsFromPlacement(rects, placement, rtl);
75048
75081
  let statefulPlacement = placement;
@@ -75059,7 +75092,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75059
75092
  data,
75060
75093
  reset
75061
75094
  } = await fn2({
75062
- x,
75095
+ x: x2,
75063
75096
  y: y2,
75064
75097
  initialPlacement: placement,
75065
75098
  placement: statefulPlacement,
@@ -75072,7 +75105,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75072
75105
  floating
75073
75106
  }
75074
75107
  });
75075
- x = nextX != null ? nextX : x;
75108
+ x2 = nextX != null ? nextX : x2;
75076
75109
  y2 = nextY != null ? nextY : y2;
75077
75110
  middlewareData = {
75078
75111
  ...middlewareData,
@@ -75095,7 +75128,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75095
75128
  }) : reset.rects;
75096
75129
  }
75097
75130
  ({
75098
- x,
75131
+ x: x2,
75099
75132
  y: y2
75100
75133
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
75101
75134
  }
@@ -75103,7 +75136,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
75103
75136
  }
75104
75137
  }
75105
75138
  return {
75106
- x,
75139
+ x: x2,
75107
75140
  y: y2,
75108
75141
  placement: statefulPlacement,
75109
75142
  strategy,
@@ -75116,7 +75149,7 @@ async function detectOverflow(state2, options) {
75116
75149
  options = {};
75117
75150
  }
75118
75151
  const {
75119
- x,
75152
+ x: x2,
75120
75153
  y: y2,
75121
75154
  platform: platform2,
75122
75155
  rects,
@@ -75140,7 +75173,7 @@ async function detectOverflow(state2, options) {
75140
75173
  strategy
75141
75174
  }));
75142
75175
  const rect = elementContext === "floating" ? {
75143
- x,
75176
+ x: x2,
75144
75177
  y: y2,
75145
75178
  width: rects.floating.width,
75146
75179
  height: rects.floating.height
@@ -75409,16 +75442,16 @@ function getScale(element) {
75409
75442
  height,
75410
75443
  $: $2
75411
75444
  } = getCssDimensions(domElement);
75412
- let x = ($2 ? round(rect.width) : rect.width) / width;
75445
+ let x2 = ($2 ? round(rect.width) : rect.width) / width;
75413
75446
  let y2 = ($2 ? round(rect.height) : rect.height) / height;
75414
- if (!x || !Number.isFinite(x)) {
75415
- x = 1;
75447
+ if (!x2 || !Number.isFinite(x2)) {
75448
+ x2 = 1;
75416
75449
  }
75417
75450
  if (!y2 || !Number.isFinite(y2)) {
75418
75451
  y2 = 1;
75419
75452
  }
75420
75453
  return {
75421
- x,
75454
+ x: x2,
75422
75455
  y: y2
75423
75456
  };
75424
75457
  }
@@ -75462,7 +75495,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
75462
75495
  }
75463
75496
  }
75464
75497
  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
75465
- let x = (clientRect2.left + visualOffsets.x) / scale.x;
75498
+ let x2 = (clientRect2.left + visualOffsets.x) / scale.x;
75466
75499
  let y2 = (clientRect2.top + visualOffsets.y) / scale.y;
75467
75500
  let width = clientRect2.width / scale.x;
75468
75501
  let height = clientRect2.height / scale.y;
@@ -75477,11 +75510,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
75477
75510
  const css = getComputedStyle$1(currentIFrame);
75478
75511
  const left2 = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
75479
75512
  const top2 = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
75480
- x *= iframeScale.x;
75513
+ x2 *= iframeScale.x;
75481
75514
  y2 *= iframeScale.y;
75482
75515
  width *= iframeScale.x;
75483
75516
  height *= iframeScale.y;
75484
- x += left2;
75517
+ x2 += left2;
75485
75518
  y2 += top2;
75486
75519
  currentWin = getWindow(currentIFrame);
75487
75520
  currentIFrame = getFrameElement(currentWin);
@@ -75490,7 +75523,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
75490
75523
  return rectToClientRect({
75491
75524
  width,
75492
75525
  height,
75493
- x,
75526
+ x: x2,
75494
75527
  y: y2
75495
75528
  });
75496
75529
  }
@@ -75503,10 +75536,10 @@ function getWindowScrollBarX(element, rect) {
75503
75536
  }
75504
75537
  function getHTMLOffset(documentElement, scroll) {
75505
75538
  const htmlRect = documentElement.getBoundingClientRect();
75506
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
75539
+ const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
75507
75540
  const y2 = htmlRect.top + scroll.scrollTop;
75508
75541
  return {
75509
- x,
75542
+ x: x2,
75510
75543
  y: y2
75511
75544
  };
75512
75545
  }
@@ -75558,15 +75591,15 @@ function getDocumentRect(element) {
75558
75591
  const body = element.ownerDocument.body;
75559
75592
  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
75560
75593
  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
75561
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
75594
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
75562
75595
  const y2 = -scroll.scrollTop;
75563
75596
  if (getComputedStyle$1(body).direction === "rtl") {
75564
- x += max(html.clientWidth, body.clientWidth) - width;
75597
+ x2 += max(html.clientWidth, body.clientWidth) - width;
75565
75598
  }
75566
75599
  return {
75567
75600
  width,
75568
75601
  height,
75569
- x,
75602
+ x: x2,
75570
75603
  y: y2
75571
75604
  };
75572
75605
  }
@@ -75577,14 +75610,14 @@ function getViewportRect(element, strategy) {
75577
75610
  const visualViewport = win.visualViewport;
75578
75611
  let width = html.clientWidth;
75579
75612
  let height = html.clientHeight;
75580
- let x = 0;
75613
+ let x2 = 0;
75581
75614
  let y2 = 0;
75582
75615
  if (visualViewport) {
75583
75616
  width = visualViewport.width;
75584
75617
  height = visualViewport.height;
75585
75618
  const visualViewportBased = isWebKit();
75586
75619
  if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
75587
- x = visualViewport.offsetLeft;
75620
+ x2 = visualViewport.offsetLeft;
75588
75621
  y2 = visualViewport.offsetTop;
75589
75622
  }
75590
75623
  }
@@ -75604,7 +75637,7 @@ function getViewportRect(element, strategy) {
75604
75637
  return {
75605
75638
  width,
75606
75639
  height,
75607
- x,
75640
+ x: x2,
75608
75641
  y: y2
75609
75642
  };
75610
75643
  }
@@ -75616,12 +75649,12 @@ function getInnerBoundingClientRect(element, strategy) {
75616
75649
  const scale = isHTMLElement$2(element) ? getScale(element) : createCoords(1);
75617
75650
  const width = element.clientWidth * scale.x;
75618
75651
  const height = element.clientHeight * scale.y;
75619
- const x = left2 * scale.x;
75652
+ const x2 = left2 * scale.x;
75620
75653
  const y2 = top2 * scale.y;
75621
75654
  return {
75622
75655
  width,
75623
75656
  height,
75624
- x,
75657
+ x: x2,
75625
75658
  y: y2
75626
75659
  };
75627
75660
  }
@@ -75741,10 +75774,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
75741
75774
  setLeftRTLScrollbarOffset();
75742
75775
  }
75743
75776
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
75744
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75777
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75745
75778
  const y2 = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
75746
75779
  return {
75747
- x,
75780
+ x: x2,
75748
75781
  y: y2,
75749
75782
  width: rect.width,
75750
75783
  height: rect.height
@@ -76623,22 +76656,22 @@ function createFloatingSeparator(separator, editor) {
76623
76656
  const rect = elements.reference.getBoundingClientRect();
76624
76657
  const containerRect = editorElement.getBoundingClientRect();
76625
76658
  const scaleFactor = getScaleFactor(editorElement);
76626
- const x = Math.round((rect.left - containerRect.left) / scaleFactor);
76659
+ const x2 = Math.round((rect.left - containerRect.left) / scaleFactor);
76627
76660
  const y2 = Math.round((rect.top - containerRect.top) / scaleFactor);
76628
76661
  const width = Math.round(rect.width / scaleFactor);
76629
76662
  const height = Math.round(rect.height / scaleFactor);
76630
76663
  return {
76631
- x,
76664
+ x: x2,
76632
76665
  y: y2,
76633
76666
  data: { width, height }
76634
76667
  };
76635
76668
  }
76636
76669
  }
76637
76670
  ]
76638
- }).then(({ x, y: y2, middlewareData }) => {
76671
+ }).then(({ x: x2, y: y2, middlewareData }) => {
76639
76672
  Object.assign(floatingSeparator.style, {
76640
76673
  top: `${y2}px`,
76641
- left: `${x}px`,
76674
+ left: `${x2}px`,
76642
76675
  width: `${middlewareData.copy.width}px`,
76643
76676
  height: `${middlewareData.copy.height}px`,
76644
76677
  visibility: middlewareData.hide?.referenceHidden ? "hidden" : "visible"
@@ -79657,14 +79690,14 @@ function ensureViewBoundingRect() {
79657
79690
  }
79658
79691
  return viewMeasurer.getBoundingClientRect();
79659
79692
  }
79660
- function getPointRect(x, y2) {
79693
+ function getPointRect(x2, y2) {
79661
79694
  const viewRect = ensureViewBoundingRect();
79662
79695
  return {
79663
79696
  top: y2,
79664
- left: x,
79697
+ left: x2,
79665
79698
  height: 0,
79666
79699
  width: 0,
79667
- right: viewRect.width - x,
79700
+ right: viewRect.width - x2,
79668
79701
  bottom: viewRect.height - y2
79669
79702
  };
79670
79703
  }
@@ -80502,8 +80535,8 @@ const VFollower = vue.defineComponent({
80502
80535
  if (follower === null)
80503
80536
  return;
80504
80537
  const target = VBinder.targetRef;
80505
- const { x, y: y2, overlap } = props;
80506
- const targetRect = x !== void 0 && y2 !== void 0 ? getPointRect(x, y2) : getRect(target);
80538
+ const { x: x2, y: y2, overlap } = props;
80539
+ const targetRect = x2 !== void 0 && y2 !== void 0 ? getPointRect(x2, y2) : getRect(target);
80507
80540
  follower.style.setProperty("--v-target-width", `${Math.round(targetRect.width)}px`);
80508
80541
  follower.style.setProperty("--v-target-height", `${Math.round(targetRect.height)}px`);
80509
80542
  const { width, minWidth, placement, internalShift, flip: flip2 } = props;
@@ -80673,8 +80706,8 @@ var ResizeObserverSize = /* @__PURE__ */ (function() {
80673
80706
  return ResizeObserverSize2;
80674
80707
  })();
80675
80708
  var DOMRectReadOnly = (function() {
80676
- function DOMRectReadOnly2(x, y2, width, height) {
80677
- this.x = x;
80709
+ function DOMRectReadOnly2(x2, y2, width, height) {
80710
+ this.x = x2;
80678
80711
  this.y = y2;
80679
80712
  this.width = width;
80680
80713
  this.height = height;
@@ -80685,8 +80718,8 @@ var DOMRectReadOnly = (function() {
80685
80718
  return freeze(this);
80686
80719
  }
80687
80720
  DOMRectReadOnly2.prototype.toJSON = function() {
80688
- 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;
80689
- return { x, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80721
+ 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;
80722
+ return { x: x2, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80690
80723
  };
80691
80724
  DOMRectReadOnly2.fromRect = function(rectangle) {
80692
80725
  return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);