@harbour-enterprises/superdoc 0.29.0 → 0.29.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 (44) hide show
  1. package/dist/chunks/{PdfViewer-DUMZ9x59.es.js → PdfViewer-DQhcHGV_.es.js} +2 -2
  2. package/dist/chunks/{PdfViewer-BVriqvm9.cjs → PdfViewer-qQqnhYEQ.cjs} +2 -2
  3. package/dist/chunks/{eventemitter3-BvTILlBo.cjs → eventemitter3-DmHNHvFX.cjs} +1 -1
  4. package/dist/chunks/{eventemitter3-D4gv5QOO.es.js → eventemitter3-hYlnBzSA.es.js} +1 -1
  5. package/dist/chunks/{index-DEOkqJcc.cjs → index-CaDbRGFF.cjs} +6 -6
  6. package/dist/chunks/{index-373DqHu6-CPe3gPzf.cjs → index-DldNo6-E-B0LsewRn.cjs} +1 -1
  7. package/dist/chunks/{index-373DqHu6-BLRN3Gja.es.js → index-DldNo6-E-lpDwRf2x.es.js} +1 -1
  8. package/dist/chunks/{index-_cWKslAS.es.js → index-G6IpAZy0.es.js} +6 -6
  9. package/dist/chunks/{jszip-B0BPx_cv.cjs → jszip-BP2FTbpi.cjs} +7 -7
  10. package/dist/chunks/{jszip-Bhl-Iudl.es.js → jszip-jKrsZoMS.es.js} +7 -7
  11. package/dist/chunks/{super-editor.es-83k0FoXr.es.js → super-editor.es-D2S9NC5U.es.js} +695 -672
  12. package/dist/chunks/{super-editor.es-BkBSpy8W.cjs → super-editor.es-DISiPGag.cjs} +742 -719
  13. package/dist/chunks/{vue-D1vcEBAQ.es.js → vue-CKmzTNVs.es.js} +2 -2
  14. package/dist/chunks/{vue-BQxRC6G7.cjs → vue-Cwv-wUpm.cjs} +2 -2
  15. package/dist/chunks/xml-js-BSDu25I7.cjs +3 -0
  16. package/dist/chunks/xml-js-CBrRls0f.es.js +2 -0
  17. package/dist/packages/superdoc/src/core/SuperDoc.d.ts.map +1 -1
  18. package/dist/packages/superdoc/src/core/types/index.d.ts.map +1 -1
  19. package/dist/style.css +2 -0
  20. package/dist/super-editor/ai-writer.es.js +2 -2
  21. package/dist/super-editor/chunks/{converter-B86bAVY0.js → converter-DgrhVpVg.js} +425 -402
  22. package/dist/super-editor/chunks/{docx-zipper-D1VjYtEw.js → docx-zipper-rQGWdry3.js} +2 -2
  23. package/dist/super-editor/chunks/{editor-a9U6w_LW.js → editor-CClqHaHN.js} +5 -5
  24. package/dist/super-editor/chunks/{index-373DqHu6.js → index-DldNo6-E.js} +1 -1
  25. package/dist/super-editor/chunks/{toolbar-D0NuB59d.js → toolbar-DMCudruT.js} +2 -2
  26. package/dist/super-editor/converter.es.js +1 -1
  27. package/dist/super-editor/docx-zipper.es.js +2 -2
  28. package/dist/super-editor/editor.es.js +3 -3
  29. package/dist/super-editor/file-zipper.es.js +1 -1
  30. package/dist/super-editor/style.css +2 -0
  31. package/dist/super-editor/super-editor/src/extensions/index.d.ts +2 -2
  32. package/dist/super-editor/super-editor/src/extensions/index.d.ts.map +1 -1
  33. package/dist/super-editor/super-editor/src/extensions/track-changes/permission-helpers.d.ts.map +1 -1
  34. package/dist/super-editor/super-editor.es.js +6 -6
  35. package/dist/super-editor/toolbar.es.js +2 -2
  36. package/dist/super-editor.cjs +2 -2
  37. package/dist/super-editor.es.js +2 -2
  38. package/dist/superdoc.cjs +2 -2
  39. package/dist/superdoc.es.js +2 -2
  40. package/dist/superdoc.umd.js +630 -607
  41. package/dist/superdoc.umd.js.map +1 -1
  42. package/package.json +2 -5
  43. package/dist/chunks/xml-js-cO2Q8Wfu.cjs +0 -3
  44. package/dist/chunks/xml-js-jMPlIVKT.es.js +0 -2
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- const vue = require("./vue-BQxRC6G7.cjs");
2
+ const vue = require("./vue-Cwv-wUpm.cjs");
3
3
  const Y = require("yjs");
4
4
  function _interopNamespaceDefault(e) {
5
5
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -207,15 +207,15 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
207
207
  * @author Feross Aboukhadijeh <https://feross.org>
208
208
  * @license MIT
209
209
  */
210
- (function(exports2) {
210
+ (function(exports$1) {
211
211
  const base64 = base64Js;
212
212
  const ieee754$1 = ieee754;
213
213
  const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
214
- exports2.Buffer = Buffer3;
215
- exports2.SlowBuffer = SlowBuffer;
216
- exports2.INSPECT_MAX_BYTES = 50;
214
+ exports$1.Buffer = Buffer3;
215
+ exports$1.SlowBuffer = SlowBuffer;
216
+ exports$1.INSPECT_MAX_BYTES = 50;
217
217
  const K_MAX_LENGTH = 2147483647;
218
- exports2.kMaxLength = K_MAX_LENGTH;
218
+ exports$1.kMaxLength = K_MAX_LENGTH;
219
219
  const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
220
220
  Buffer3.TYPED_ARRAY_SUPPORT = typedArraySupport();
221
221
  if (!Buffer3.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
@@ -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) {
@@ -646,7 +646,7 @@ ieee754.write = function(buffer2, value, offset2, isLE, mLen, nBytes) {
646
646
  };
647
647
  Buffer3.prototype.inspect = function inspect() {
648
648
  let str = "";
649
- const max2 = exports2.INSPECT_MAX_BYTES;
649
+ const max2 = exports$1.INSPECT_MAX_BYTES;
650
650
  str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
651
651
  if (this.length > max2) str += " ... ";
652
652
  return "<Buffer " + str + ">";
@@ -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 = {};
@@ -2375,8 +2375,8 @@ var hasRequiredDist;
2375
2375
  function requireDist() {
2376
2376
  if (hasRequiredDist) return dist;
2377
2377
  hasRequiredDist = 1;
2378
- (function(exports2) {
2379
- Object.defineProperties(exports2, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
2378
+ (function(exports$1) {
2379
+ Object.defineProperties(exports$1, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
2380
2380
  var buffer2 = {};
2381
2381
  var base64Js2 = {};
2382
2382
  base64Js2.byteLength = byteLength2;
@@ -2556,15 +2556,15 @@ function requireDist() {
2556
2556
  * @author Feross Aboukhadijeh <https://feross.org>
2557
2557
  * @license MIT
2558
2558
  */
2559
- (function(exports22) {
2559
+ (function(exports$12) {
2560
2560
  const base64 = base64Js2;
2561
2561
  const ieee754$1 = ieee7542;
2562
2562
  const customInspectSymbol = typeof Symbol === "function" && typeof Symbol["for"] === "function" ? Symbol["for"]("nodejs.util.inspect.custom") : null;
2563
- exports22.Buffer = Buffer4;
2564
- exports22.SlowBuffer = SlowBuffer;
2565
- exports22.INSPECT_MAX_BYTES = 50;
2563
+ exports$12.Buffer = Buffer4;
2564
+ exports$12.SlowBuffer = SlowBuffer;
2565
+ exports$12.INSPECT_MAX_BYTES = 50;
2566
2566
  const K_MAX_LENGTH = 2147483647;
2567
- exports22.kMaxLength = K_MAX_LENGTH;
2567
+ exports$12.kMaxLength = K_MAX_LENGTH;
2568
2568
  const { Uint8Array: GlobalUint8Array, ArrayBuffer: GlobalArrayBuffer, SharedArrayBuffer: GlobalSharedArrayBuffer } = globalThis;
2569
2569
  Buffer4.TYPED_ARRAY_SUPPORT = typedArraySupport();
2570
2570
  if (!Buffer4.TYPED_ARRAY_SUPPORT && typeof console !== "undefined" && typeof console.error === "function") {
@@ -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) {
@@ -2995,7 +2995,7 @@ function requireDist() {
2995
2995
  };
2996
2996
  Buffer4.prototype.inspect = function inspect() {
2997
2997
  let str = "";
2998
- const max2 = exports22.INSPECT_MAX_BYTES;
2998
+ const max2 = exports$12.INSPECT_MAX_BYTES;
2999
2999
  str = this.toString("hex", 0, max2).replace(/(.{2})/g, "$1 ").trim();
3000
3000
  if (this.length > max2) str += " ... ";
3001
3001
  return "<Buffer " + str + ">";
@@ -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) {
@@ -4143,24 +4143,24 @@ function requireDist() {
4143
4143
  }
4144
4144
  })(buffer2);
4145
4145
  const Buffer3 = buffer2.Buffer;
4146
- exports2.Blob = buffer2.Blob;
4147
- exports2.BlobOptions = buffer2.BlobOptions;
4148
- exports2.Buffer = buffer2.Buffer;
4149
- exports2.File = buffer2.File;
4150
- exports2.FileOptions = buffer2.FileOptions;
4151
- exports2.INSPECT_MAX_BYTES = buffer2.INSPECT_MAX_BYTES;
4152
- exports2.SlowBuffer = buffer2.SlowBuffer;
4153
- exports2.TranscodeEncoding = buffer2.TranscodeEncoding;
4154
- exports2.atob = buffer2.atob;
4155
- exports2.btoa = buffer2.btoa;
4156
- exports2.constants = buffer2.constants;
4157
- exports2.default = Buffer3;
4158
- exports2.isAscii = buffer2.isAscii;
4159
- exports2.isUtf8 = buffer2.isUtf8;
4160
- exports2.kMaxLength = buffer2.kMaxLength;
4161
- exports2.kStringMaxLength = buffer2.kStringMaxLength;
4162
- exports2.resolveObjectURL = buffer2.resolveObjectURL;
4163
- exports2.transcode = buffer2.transcode;
4146
+ exports$1.Blob = buffer2.Blob;
4147
+ exports$1.BlobOptions = buffer2.BlobOptions;
4148
+ exports$1.Buffer = buffer2.Buffer;
4149
+ exports$1.File = buffer2.File;
4150
+ exports$1.FileOptions = buffer2.FileOptions;
4151
+ exports$1.INSPECT_MAX_BYTES = buffer2.INSPECT_MAX_BYTES;
4152
+ exports$1.SlowBuffer = buffer2.SlowBuffer;
4153
+ exports$1.TranscodeEncoding = buffer2.TranscodeEncoding;
4154
+ exports$1.atob = buffer2.atob;
4155
+ exports$1.btoa = buffer2.btoa;
4156
+ exports$1.constants = buffer2.constants;
4157
+ exports$1.default = Buffer3;
4158
+ exports$1.isAscii = buffer2.isAscii;
4159
+ exports$1.isUtf8 = buffer2.isUtf8;
4160
+ exports$1.kMaxLength = buffer2.kMaxLength;
4161
+ exports$1.kStringMaxLength = buffer2.kStringMaxLength;
4162
+ exports$1.resolveObjectURL = buffer2.resolveObjectURL;
4163
+ exports$1.transcode = buffer2.transcode;
4164
4164
  })(dist);
4165
4165
  return dist;
4166
4166
  }
@@ -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)) {
@@ -5662,7 +5662,7 @@ var hasRequiredTypes;
5662
5662
  function requireTypes() {
5663
5663
  if (hasRequiredTypes) return types;
5664
5664
  hasRequiredTypes = 1;
5665
- (function(exports2) {
5665
+ (function(exports$1) {
5666
5666
  var isArgumentsObject = /* @__PURE__ */ requireIsArguments();
5667
5667
  var isGeneratorFunction2 = requireIsGeneratorFunction();
5668
5668
  var whichTypedArray2 = /* @__PURE__ */ requireWhichTypedArray();
@@ -5693,64 +5693,64 @@ function requireTypes() {
5693
5693
  return false;
5694
5694
  }
5695
5695
  }
5696
- exports2.isArgumentsObject = isArgumentsObject;
5697
- exports2.isGeneratorFunction = isGeneratorFunction2;
5698
- exports2.isTypedArray = isTypedArray2;
5696
+ exports$1.isArgumentsObject = isArgumentsObject;
5697
+ exports$1.isGeneratorFunction = isGeneratorFunction2;
5698
+ exports$1.isTypedArray = isTypedArray2;
5699
5699
  function isPromise(input) {
5700
5700
  return typeof Promise !== "undefined" && input instanceof Promise || input !== null && typeof input === "object" && typeof input.then === "function" && typeof input.catch === "function";
5701
5701
  }
5702
- exports2.isPromise = isPromise;
5702
+ exports$1.isPromise = isPromise;
5703
5703
  function isArrayBufferView(value) {
5704
5704
  if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
5705
5705
  return ArrayBuffer.isView(value);
5706
5706
  }
5707
5707
  return isTypedArray2(value) || isDataView(value);
5708
5708
  }
5709
- exports2.isArrayBufferView = isArrayBufferView;
5709
+ exports$1.isArrayBufferView = isArrayBufferView;
5710
5710
  function isUint8Array(value) {
5711
5711
  return whichTypedArray2(value) === "Uint8Array";
5712
5712
  }
5713
- exports2.isUint8Array = isUint8Array;
5713
+ exports$1.isUint8Array = isUint8Array;
5714
5714
  function isUint8ClampedArray(value) {
5715
5715
  return whichTypedArray2(value) === "Uint8ClampedArray";
5716
5716
  }
5717
- exports2.isUint8ClampedArray = isUint8ClampedArray;
5717
+ exports$1.isUint8ClampedArray = isUint8ClampedArray;
5718
5718
  function isUint16Array(value) {
5719
5719
  return whichTypedArray2(value) === "Uint16Array";
5720
5720
  }
5721
- exports2.isUint16Array = isUint16Array;
5721
+ exports$1.isUint16Array = isUint16Array;
5722
5722
  function isUint32Array(value) {
5723
5723
  return whichTypedArray2(value) === "Uint32Array";
5724
5724
  }
5725
- exports2.isUint32Array = isUint32Array;
5725
+ exports$1.isUint32Array = isUint32Array;
5726
5726
  function isInt8Array(value) {
5727
5727
  return whichTypedArray2(value) === "Int8Array";
5728
5728
  }
5729
- exports2.isInt8Array = isInt8Array;
5729
+ exports$1.isInt8Array = isInt8Array;
5730
5730
  function isInt16Array(value) {
5731
5731
  return whichTypedArray2(value) === "Int16Array";
5732
5732
  }
5733
- exports2.isInt16Array = isInt16Array;
5733
+ exports$1.isInt16Array = isInt16Array;
5734
5734
  function isInt32Array(value) {
5735
5735
  return whichTypedArray2(value) === "Int32Array";
5736
5736
  }
5737
- exports2.isInt32Array = isInt32Array;
5737
+ exports$1.isInt32Array = isInt32Array;
5738
5738
  function isFloat32Array(value) {
5739
5739
  return whichTypedArray2(value) === "Float32Array";
5740
5740
  }
5741
- exports2.isFloat32Array = isFloat32Array;
5741
+ exports$1.isFloat32Array = isFloat32Array;
5742
5742
  function isFloat64Array(value) {
5743
5743
  return whichTypedArray2(value) === "Float64Array";
5744
5744
  }
5745
- exports2.isFloat64Array = isFloat64Array;
5745
+ exports$1.isFloat64Array = isFloat64Array;
5746
5746
  function isBigInt64Array(value) {
5747
5747
  return whichTypedArray2(value) === "BigInt64Array";
5748
5748
  }
5749
- exports2.isBigInt64Array = isBigInt64Array;
5749
+ exports$1.isBigInt64Array = isBigInt64Array;
5750
5750
  function isBigUint64Array(value) {
5751
5751
  return whichTypedArray2(value) === "BigUint64Array";
5752
5752
  }
5753
- exports2.isBigUint64Array = isBigUint64Array;
5753
+ exports$1.isBigUint64Array = isBigUint64Array;
5754
5754
  function isMapToString(value) {
5755
5755
  return ObjectToString(value) === "[object Map]";
5756
5756
  }
@@ -5761,7 +5761,7 @@ function requireTypes() {
5761
5761
  }
5762
5762
  return isMapToString.working ? isMapToString(value) : value instanceof Map;
5763
5763
  }
5764
- exports2.isMap = isMap;
5764
+ exports$1.isMap = isMap;
5765
5765
  function isSetToString(value) {
5766
5766
  return ObjectToString(value) === "[object Set]";
5767
5767
  }
@@ -5772,7 +5772,7 @@ function requireTypes() {
5772
5772
  }
5773
5773
  return isSetToString.working ? isSetToString(value) : value instanceof Set;
5774
5774
  }
5775
- exports2.isSet = isSet;
5775
+ exports$1.isSet = isSet;
5776
5776
  function isWeakMapToString(value) {
5777
5777
  return ObjectToString(value) === "[object WeakMap]";
5778
5778
  }
@@ -5783,7 +5783,7 @@ function requireTypes() {
5783
5783
  }
5784
5784
  return isWeakMapToString.working ? isWeakMapToString(value) : value instanceof WeakMap;
5785
5785
  }
5786
- exports2.isWeakMap = isWeakMap;
5786
+ exports$1.isWeakMap = isWeakMap;
5787
5787
  function isWeakSetToString(value) {
5788
5788
  return ObjectToString(value) === "[object WeakSet]";
5789
5789
  }
@@ -5791,7 +5791,7 @@ function requireTypes() {
5791
5791
  function isWeakSet(value) {
5792
5792
  return isWeakSetToString(value);
5793
5793
  }
5794
- exports2.isWeakSet = isWeakSet;
5794
+ exports$1.isWeakSet = isWeakSet;
5795
5795
  function isArrayBufferToString(value) {
5796
5796
  return ObjectToString(value) === "[object ArrayBuffer]";
5797
5797
  }
@@ -5802,7 +5802,7 @@ function requireTypes() {
5802
5802
  }
5803
5803
  return isArrayBufferToString.working ? isArrayBufferToString(value) : value instanceof ArrayBuffer;
5804
5804
  }
5805
- exports2.isArrayBuffer = isArrayBuffer;
5805
+ exports$1.isArrayBuffer = isArrayBuffer;
5806
5806
  function isDataViewToString(value) {
5807
5807
  return ObjectToString(value) === "[object DataView]";
5808
5808
  }
@@ -5813,7 +5813,7 @@ function requireTypes() {
5813
5813
  }
5814
5814
  return isDataViewToString.working ? isDataViewToString(value) : value instanceof DataView;
5815
5815
  }
5816
- exports2.isDataView = isDataView;
5816
+ exports$1.isDataView = isDataView;
5817
5817
  var SharedArrayBufferCopy = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : void 0;
5818
5818
  function isSharedArrayBufferToString(value) {
5819
5819
  return ObjectToString(value) === "[object SharedArrayBuffer]";
@@ -5827,57 +5827,57 @@ function requireTypes() {
5827
5827
  }
5828
5828
  return isSharedArrayBufferToString.working ? isSharedArrayBufferToString(value) : value instanceof SharedArrayBufferCopy;
5829
5829
  }
5830
- exports2.isSharedArrayBuffer = isSharedArrayBuffer;
5830
+ exports$1.isSharedArrayBuffer = isSharedArrayBuffer;
5831
5831
  function isAsyncFunction(value) {
5832
5832
  return ObjectToString(value) === "[object AsyncFunction]";
5833
5833
  }
5834
- exports2.isAsyncFunction = isAsyncFunction;
5834
+ exports$1.isAsyncFunction = isAsyncFunction;
5835
5835
  function isMapIterator(value) {
5836
5836
  return ObjectToString(value) === "[object Map Iterator]";
5837
5837
  }
5838
- exports2.isMapIterator = isMapIterator;
5838
+ exports$1.isMapIterator = isMapIterator;
5839
5839
  function isSetIterator(value) {
5840
5840
  return ObjectToString(value) === "[object Set Iterator]";
5841
5841
  }
5842
- exports2.isSetIterator = isSetIterator;
5842
+ exports$1.isSetIterator = isSetIterator;
5843
5843
  function isGeneratorObject(value) {
5844
5844
  return ObjectToString(value) === "[object Generator]";
5845
5845
  }
5846
- exports2.isGeneratorObject = isGeneratorObject;
5846
+ exports$1.isGeneratorObject = isGeneratorObject;
5847
5847
  function isWebAssemblyCompiledModule(value) {
5848
5848
  return ObjectToString(value) === "[object WebAssembly.Module]";
5849
5849
  }
5850
- exports2.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
5850
+ exports$1.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
5851
5851
  function isNumberObject(value) {
5852
5852
  return checkBoxedPrimitive(value, numberValue);
5853
5853
  }
5854
- exports2.isNumberObject = isNumberObject;
5854
+ exports$1.isNumberObject = isNumberObject;
5855
5855
  function isStringObject(value) {
5856
5856
  return checkBoxedPrimitive(value, stringValue);
5857
5857
  }
5858
- exports2.isStringObject = isStringObject;
5858
+ exports$1.isStringObject = isStringObject;
5859
5859
  function isBooleanObject(value) {
5860
5860
  return checkBoxedPrimitive(value, booleanValue);
5861
5861
  }
5862
- exports2.isBooleanObject = isBooleanObject;
5862
+ exports$1.isBooleanObject = isBooleanObject;
5863
5863
  function isBigIntObject(value) {
5864
5864
  return BigIntSupported && checkBoxedPrimitive(value, bigIntValue);
5865
5865
  }
5866
- exports2.isBigIntObject = isBigIntObject;
5866
+ exports$1.isBigIntObject = isBigIntObject;
5867
5867
  function isSymbolObject(value) {
5868
5868
  return SymbolSupported && checkBoxedPrimitive(value, symbolValue);
5869
5869
  }
5870
- exports2.isSymbolObject = isSymbolObject;
5870
+ exports$1.isSymbolObject = isSymbolObject;
5871
5871
  function isBoxedPrimitive(value) {
5872
5872
  return isNumberObject(value) || isStringObject(value) || isBooleanObject(value) || isBigIntObject(value) || isSymbolObject(value);
5873
5873
  }
5874
- exports2.isBoxedPrimitive = isBoxedPrimitive;
5874
+ exports$1.isBoxedPrimitive = isBoxedPrimitive;
5875
5875
  function isAnyArrayBuffer(value) {
5876
5876
  return typeof Uint8Array !== "undefined" && (isArrayBuffer(value) || isSharedArrayBuffer(value));
5877
5877
  }
5878
- exports2.isAnyArrayBuffer = isAnyArrayBuffer;
5878
+ exports$1.isAnyArrayBuffer = isAnyArrayBuffer;
5879
5879
  ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(method) {
5880
- Object.defineProperty(exports2, method, {
5880
+ Object.defineProperty(exports$1, method, {
5881
5881
  enumerable: false,
5882
5882
  value: function() {
5883
5883
  throw new Error(method + " is not supported in userland");
@@ -5901,7 +5901,7 @@ var hasRequiredUtil;
5901
5901
  function requireUtil() {
5902
5902
  if (hasRequiredUtil) return util;
5903
5903
  hasRequiredUtil = 1;
5904
- (function(exports2) {
5904
+ (function(exports$1) {
5905
5905
  var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
5906
5906
  var keys2 = Object.keys(obj);
5907
5907
  var descriptors = {};
@@ -5911,7 +5911,7 @@ function requireUtil() {
5911
5911
  return descriptors;
5912
5912
  };
5913
5913
  var formatRegExp = /%[sdj%]/g;
5914
- exports2.format = function(f2) {
5914
+ exports$1.format = function(f2) {
5915
5915
  if (!isString(f2)) {
5916
5916
  var objects = [];
5917
5917
  for (var i = 0; i < arguments.length; i++) {
@@ -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,25 +5937,25 @@ 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;
5951
5951
  };
5952
- exports2.deprecate = function(fn2, msg2) {
5952
+ exports$1.deprecate = function(fn2, msg2) {
5953
5953
  if (typeof process$1$1 !== "undefined" && process$1$1.noDeprecation === true) {
5954
5954
  return fn2;
5955
5955
  }
5956
5956
  if (typeof process$1$1 === "undefined") {
5957
5957
  return function() {
5958
- return exports2.deprecate(fn2, msg2).apply(this, arguments);
5958
+ return exports$1.deprecate(fn2, msg2).apply(this, arguments);
5959
5959
  };
5960
5960
  }
5961
5961
  var warned = false;
@@ -5981,13 +5981,13 @@ function requireUtil() {
5981
5981
  debugEnv = debugEnv.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase();
5982
5982
  debugEnvRegex = new RegExp("^" + debugEnv + "$", "i");
5983
5983
  }
5984
- exports2.debuglog = function(set) {
5984
+ exports$1.debuglog = function(set) {
5985
5985
  set = set.toUpperCase();
5986
5986
  if (!debugs[set]) {
5987
5987
  if (debugEnvRegex.test(set)) {
5988
5988
  var pid = process$1$1.pid;
5989
5989
  debugs[set] = function() {
5990
- var msg2 = exports2.format.apply(exports2, arguments);
5990
+ var msg2 = exports$1.format.apply(exports$1, arguments);
5991
5991
  console.error("%s %d: %s", set, pid, msg2);
5992
5992
  };
5993
5993
  } else {
@@ -6007,7 +6007,7 @@ function requireUtil() {
6007
6007
  if (isBoolean(opts)) {
6008
6008
  ctx2.showHidden = opts;
6009
6009
  } else if (opts) {
6010
- exports2._extend(ctx2, opts);
6010
+ exports$1._extend(ctx2, opts);
6011
6011
  }
6012
6012
  if (isUndefined(ctx2.showHidden)) ctx2.showHidden = false;
6013
6013
  if (isUndefined(ctx2.depth)) ctx2.depth = 2;
@@ -6016,7 +6016,7 @@ function requireUtil() {
6016
6016
  if (ctx2.colors) ctx2.stylize = stylizeWithColor;
6017
6017
  return formatValue(ctx2, obj, ctx2.depth);
6018
6018
  }
6019
- exports2.inspect = inspect;
6019
+ exports$1.inspect = inspect;
6020
6020
  inspect.colors = {
6021
6021
  "bold": [1, 22],
6022
6022
  "italic": [3, 23],
@@ -6063,7 +6063,7 @@ function requireUtil() {
6063
6063
  }
6064
6064
  function formatValue(ctx2, value, recurseTimes) {
6065
6065
  if (ctx2.customInspect && value && isFunction2(value.inspect) && // Filter out the util module, it's inspect function is special
6066
- value.inspect !== exports2.inspect && // Also filter out any prototype objects using the circular check.
6066
+ value.inspect !== exports$1.inspect && // Also filter out any prototype objects using the circular check.
6067
6067
  !(value.constructor && value.constructor.prototype === value)) {
6068
6068
  var ret = value.inspect(recurseTimes, ctx2);
6069
6069
  if (!isString(ret)) {
@@ -6249,68 +6249,68 @@ function requireUtil() {
6249
6249
  }
6250
6250
  return braces[0] + base2 + " " + output.join(", ") + " " + braces[1];
6251
6251
  }
6252
- exports2.types = requireTypes();
6252
+ exports$1.types = requireTypes();
6253
6253
  function isArray2(ar) {
6254
6254
  return Array.isArray(ar);
6255
6255
  }
6256
- exports2.isArray = isArray2;
6256
+ exports$1.isArray = isArray2;
6257
6257
  function isBoolean(arg) {
6258
6258
  return typeof arg === "boolean";
6259
6259
  }
6260
- exports2.isBoolean = isBoolean;
6260
+ exports$1.isBoolean = isBoolean;
6261
6261
  function isNull(arg) {
6262
6262
  return arg === null;
6263
6263
  }
6264
- exports2.isNull = isNull;
6264
+ exports$1.isNull = isNull;
6265
6265
  function isNullOrUndefined(arg) {
6266
6266
  return arg == null;
6267
6267
  }
6268
- exports2.isNullOrUndefined = isNullOrUndefined;
6268
+ exports$1.isNullOrUndefined = isNullOrUndefined;
6269
6269
  function isNumber(arg) {
6270
6270
  return typeof arg === "number";
6271
6271
  }
6272
- exports2.isNumber = isNumber;
6272
+ exports$1.isNumber = isNumber;
6273
6273
  function isString(arg) {
6274
6274
  return typeof arg === "string";
6275
6275
  }
6276
- exports2.isString = isString;
6276
+ exports$1.isString = isString;
6277
6277
  function isSymbol2(arg) {
6278
6278
  return typeof arg === "symbol";
6279
6279
  }
6280
- exports2.isSymbol = isSymbol2;
6280
+ exports$1.isSymbol = isSymbol2;
6281
6281
  function isUndefined(arg) {
6282
6282
  return arg === void 0;
6283
6283
  }
6284
- exports2.isUndefined = isUndefined;
6284
+ exports$1.isUndefined = isUndefined;
6285
6285
  function isRegExp2(re2) {
6286
6286
  return isObject2(re2) && objectToString2(re2) === "[object RegExp]";
6287
6287
  }
6288
- exports2.isRegExp = isRegExp2;
6289
- exports2.types.isRegExp = isRegExp2;
6288
+ exports$1.isRegExp = isRegExp2;
6289
+ exports$1.types.isRegExp = isRegExp2;
6290
6290
  function isObject2(arg) {
6291
6291
  return typeof arg === "object" && arg !== null;
6292
6292
  }
6293
- exports2.isObject = isObject2;
6293
+ exports$1.isObject = isObject2;
6294
6294
  function isDate(d2) {
6295
6295
  return isObject2(d2) && objectToString2(d2) === "[object Date]";
6296
6296
  }
6297
- exports2.isDate = isDate;
6298
- exports2.types.isDate = isDate;
6297
+ exports$1.isDate = isDate;
6298
+ exports$1.types.isDate = isDate;
6299
6299
  function isError(e) {
6300
6300
  return isObject2(e) && (objectToString2(e) === "[object Error]" || e instanceof Error);
6301
6301
  }
6302
- exports2.isError = isError;
6303
- exports2.types.isNativeError = isError;
6302
+ exports$1.isError = isError;
6303
+ exports$1.types.isNativeError = isError;
6304
6304
  function isFunction2(arg) {
6305
6305
  return typeof arg === "function";
6306
6306
  }
6307
- exports2.isFunction = isFunction2;
6307
+ exports$1.isFunction = isFunction2;
6308
6308
  function isPrimitive(arg) {
6309
6309
  return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
6310
6310
  typeof arg === "undefined";
6311
6311
  }
6312
- exports2.isPrimitive = isPrimitive;
6313
- exports2.isBuffer = requireIsBufferBrowser();
6312
+ exports$1.isPrimitive = isPrimitive;
6313
+ exports$1.isBuffer = requireIsBufferBrowser();
6314
6314
  function objectToString2(o) {
6315
6315
  return Object.prototype.toString.call(o);
6316
6316
  }
@@ -6340,11 +6340,11 @@ function requireUtil() {
6340
6340
  ].join(":");
6341
6341
  return [d2.getDate(), months[d2.getMonth()], time2].join(" ");
6342
6342
  }
6343
- exports2.log = function() {
6344
- console.log("%s - %s", timestamp(), exports2.format.apply(exports2, arguments));
6343
+ exports$1.log = function() {
6344
+ console.log("%s - %s", timestamp(), exports$1.format.apply(exports$1, arguments));
6345
6345
  };
6346
- exports2.inherits = requireInherits_browser();
6347
- exports2._extend = function(origin, add) {
6346
+ exports$1.inherits = requireInherits_browser();
6347
+ exports$1._extend = function(origin, add) {
6348
6348
  if (!add || !isObject2(add)) return origin;
6349
6349
  var keys2 = Object.keys(add);
6350
6350
  var i = keys2.length;
@@ -6357,7 +6357,7 @@ function requireUtil() {
6357
6357
  return Object.prototype.hasOwnProperty.call(obj, prop);
6358
6358
  }
6359
6359
  var kCustomPromisifiedSymbol = typeof Symbol !== "undefined" ? Symbol("util.promisify.custom") : void 0;
6360
- exports2.promisify = function promisify(original) {
6360
+ exports$1.promisify = function promisify(original) {
6361
6361
  if (typeof original !== "function")
6362
6362
  throw new TypeError('The "original" argument must be of type Function');
6363
6363
  if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
@@ -6409,7 +6409,7 @@ function requireUtil() {
6409
6409
  getOwnPropertyDescriptors(original)
6410
6410
  );
6411
6411
  };
6412
- exports2.promisify.custom = kCustomPromisifiedSymbol;
6412
+ exports$1.promisify.custom = kCustomPromisifiedSymbol;
6413
6413
  function callbackifyOnRejected(reason, cb) {
6414
6414
  if (!reason) {
6415
6415
  var newReason = new Error("Promise was rejected with a falsy value");
@@ -6451,7 +6451,7 @@ function requireUtil() {
6451
6451
  );
6452
6452
  return callbackified;
6453
6453
  }
6454
- exports2.callbackify = callbackify;
6454
+ exports$1.callbackify = callbackify;
6455
6455
  })(util);
6456
6456
  return util;
6457
6457
  }
@@ -7509,11 +7509,12 @@ 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;
7515
7516
  hasRequiredSafeBuffer = 1;
7516
- (function(module2, exports2) {
7517
+ (function(module2, exports$1) {
7517
7518
  var buffer2 = requireDist();
7518
7519
  var Buffer3 = buffer2.Buffer;
7519
7520
  function copyProps(src, dst) {
@@ -7524,12 +7525,13 @@ function requireSafeBuffer() {
7524
7525
  if (Buffer3.from && Buffer3.alloc && Buffer3.allocUnsafe && Buffer3.allocUnsafeSlow) {
7525
7526
  module2.exports = buffer2;
7526
7527
  } else {
7527
- copyProps(buffer2, exports2);
7528
- exports2.Buffer = SafeBuffer;
7528
+ copyProps(buffer2, exports$1);
7529
+ exports$1.Buffer = SafeBuffer;
7529
7530
  }
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
  }
@@ -9094,7 +9096,7 @@ var hasRequiredSax;
9094
9096
  function requireSax() {
9095
9097
  if (hasRequiredSax) return sax;
9096
9098
  hasRequiredSax = 1;
9097
- (function(exports2) {
9099
+ (function(exports$1) {
9098
9100
  (function(sax2) {
9099
9101
  sax2.parser = function(strict, opt) {
9100
9102
  return new SAXParser(strict, opt);
@@ -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) {
@@ -10572,7 +10574,7 @@ function requireSax() {
10572
10574
  }
10573
10575
  })();
10574
10576
  }
10575
- })(exports2);
10577
+ })(exports$1);
10576
10578
  })(sax);
10577
10579
  return sax;
10578
10580
  }
@@ -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
  };
@@ -17465,13 +17467,17 @@ function canCut(node, start2, end2) {
17465
17467
  function liftTarget(range2) {
17466
17468
  let parent = range2.parent;
17467
17469
  let content = parent.content.cutByIndex(range2.startIndex, range2.endIndex);
17468
- for (let depth = range2.depth; ; --depth) {
17470
+ for (let depth = range2.depth, contentBefore = 0, contentAfter = 0; ; --depth) {
17469
17471
  let node = range2.$from.node(depth);
17470
- let index2 = range2.$from.index(depth), endIndex = range2.$to.indexAfter(depth);
17472
+ let index2 = range2.$from.index(depth) + contentBefore, endIndex = range2.$to.indexAfter(depth) - contentAfter;
17471
17473
  if (depth < range2.depth && node.canReplace(index2, endIndex, content))
17472
17474
  return depth;
17473
17475
  if (depth == 0 || node.type.spec.isolating || !canCut(node, index2, endIndex))
17474
17476
  break;
17477
+ if (index2)
17478
+ contentBefore = 1;
17479
+ if (endIndex < node.childCount)
17480
+ contentAfter = 1;
17475
17481
  }
17476
17482
  return null;
17477
17483
  }
@@ -18014,7 +18020,7 @@ function replaceRange(tr, from2, to, slice2) {
18014
18020
  let $from = tr.doc.resolve(from2), $to = tr.doc.resolve(to);
18015
18021
  if (fitsTrivially($from, $to, slice2))
18016
18022
  return tr.step(new ReplaceStep(from2, to, slice2));
18017
- let targetDepths = coveredDepths($from, tr.doc.resolve(to));
18023
+ let targetDepths = coveredDepths($from, $to);
18018
18024
  if (targetDepths[targetDepths.length - 1] == 0)
18019
18025
  targetDepths.pop();
18020
18026
  let preferredTarget = -($from.depth + 1);
@@ -22906,7 +22912,7 @@ function posToDOMRect(view, from2, to) {
22906
22912
  const right2 = Math.max(start2.right, end2.right);
22907
22913
  const width = right2 - left2;
22908
22914
  const height = bottom2 - top2;
22909
- const x = left2;
22915
+ const x2 = left2;
22910
22916
  const y2 = top2;
22911
22917
  const data = {
22912
22918
  top: top2,
@@ -22915,7 +22921,7 @@ function posToDOMRect(view, from2, to) {
22915
22921
  right: right2,
22916
22922
  width,
22917
22923
  height,
22918
- x,
22924
+ x: x2,
22919
22925
  y: y2
22920
22926
  };
22921
22927
  return {
@@ -23004,25 +23010,31 @@ function createDocFromHTML(content, schema, options = {}) {
23004
23010
  function L() {
23005
23011
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
23006
23012
  }
23007
- var O = L();
23013
+ var T = L();
23008
23014
  function G(l3) {
23009
- O = l3;
23015
+ T = l3;
23010
23016
  }
23011
23017
  var E = { exec: () => null };
23012
- function h(l3, e = "") {
23018
+ function d$1(l3, e = "") {
23013
23019
  let t = typeof l3 == "string" ? l3 : l3.source, n = { replace: (r2, i) => {
23014
23020
  let s2 = typeof i == "string" ? i : i.source;
23015
23021
  return s2 = s2.replace(m.caret, "$1"), t = t.replace(r2, s2), n;
23016
23022
  }, getRegex: () => new RegExp(t, e) };
23017
23023
  return n;
23018
23024
  }
23019
- 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} *[^
23020
- ]`).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 };
23021
- 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];
23022
23034
  function w(l3, e) {
23023
23035
  if (e) {
23024
- if (m.escapeTest.test(l3)) return l3.replace(m.escapeReplace, ke);
23025
- } 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);
23026
23038
  return l3;
23027
23039
  }
23028
23040
  function J(l3) {
@@ -23034,10 +23046,10 @@ function J(l3) {
23034
23046
  return l3;
23035
23047
  }
23036
23048
  function V(l3, e) {
23037
- let t = l3.replace(m.findPipe, (i, s2, o) => {
23038
- let a = false, u = s2;
23039
- for (; --u >= 0 && o[u] === "\\"; ) a = !a;
23040
- 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 ? "|" : " |";
23041
23053
  }), n = t.split(m.splitPipe), r2 = 0;
23042
23054
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), e) if (n.length > e) n.splice(e);
23043
23055
  else for (; n.length < e; ) n.push("");
@@ -23055,7 +23067,7 @@ function z(l3, e, t) {
23055
23067
  }
23056
23068
  return l3.slice(0, n - r2);
23057
23069
  }
23058
- function ge(l3, e) {
23070
+ function fe(l3, e) {
23059
23071
  if (l3.indexOf(e[1]) === -1) return -1;
23060
23072
  let t = 0;
23061
23073
  for (let n = 0; n < l3.length; n++) if (l3[n] === "\\") n++;
@@ -23063,13 +23075,13 @@ function ge(l3, e) {
23063
23075
  else if (l3[n] === e[1] && (t--, t < 0)) return n;
23064
23076
  return t > 0 ? -2 : -1;
23065
23077
  }
23066
- function fe(l3, e, t, n, r2) {
23067
- 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");
23068
23080
  n.state.inLink = true;
23069
- let a = { type: l3[0].charAt(0) === "!" ? "image" : "link", raw: t, href: i, title: s2, text: o, tokens: n.inlineTokens(o) };
23070
- 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;
23071
23083
  }
23072
- function Je(l3, e, t) {
23084
+ function Ye(l3, e, t) {
23073
23085
  let n = l3.match(t.other.indentCodeCompensation);
23074
23086
  if (n === null) return e;
23075
23087
  let r2 = n[1];
@@ -23077,8 +23089,8 @@ function Je(l3, e, t) {
23077
23089
  `).map((i) => {
23078
23090
  let s2 = i.match(t.other.beginningSpace);
23079
23091
  if (s2 === null) return i;
23080
- let [o] = s2;
23081
- 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;
23082
23094
  }).join(`
23083
23095
  `);
23084
23096
  }
@@ -23087,7 +23099,7 @@ var y = class {
23087
23099
  __publicField$2(this, "options");
23088
23100
  __publicField$2(this, "rules");
23089
23101
  __publicField$2(this, "lexer");
23090
- this.options = e || O;
23102
+ this.options = e || T;
23091
23103
  }
23092
23104
  space(e) {
23093
23105
  let t = this.rules.block.newline.exec(e);
@@ -23104,7 +23116,7 @@ var y = class {
23104
23116
  fences(e) {
23105
23117
  let t = this.rules.block.fences.exec(e);
23106
23118
  if (t) {
23107
- let n = t[0], r2 = Je(n, t[3] || "", this.rules);
23119
+ let n = t[0], r2 = Ye(n, t[3] || "", this.rules);
23108
23120
  return { type: "code", raw: n, lang: t[2] ? t[2].trim().replace(this.rules.inline.anyPunctuation, "$1") : t[2], text: r2 };
23109
23121
  }
23110
23122
  }
@@ -23131,32 +23143,32 @@ var y = class {
23131
23143
  `).split(`
23132
23144
  `), r2 = "", i = "", s2 = [];
23133
23145
  for (; n.length > 0; ) {
23134
- let o = false, a = [], u;
23135
- for (u = 0; u < n.length; u++) if (this.rules.other.blockquoteStart.test(n[u])) a.push(n[u]), o = true;
23136
- 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]);
23137
23149
  else break;
23138
- n = n.slice(u);
23139
- let p = a.join(`
23140
- `), 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, `
23141
23153
  $1`).replace(this.rules.other.blockquoteSetextReplace2, "");
23142
23154
  r2 = r2 ? `${r2}
23143
- ${p}` : p, i = i ? `${i}
23155
+ ${u}` : u, i = i ? `${i}
23144
23156
  ${c2}` : c2;
23145
- let f2 = this.lexer.state.top;
23146
- if (this.lexer.state.top = true, this.lexer.blockTokens(c2, s2, true), this.lexer.state.top = f2, n.length === 0) break;
23147
- let k2 = s2.at(-1);
23148
- if (k2?.type === "code") break;
23149
- if (k2?.type === "blockquote") {
23150
- 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 + `
23151
23163
  ` + n.join(`
23152
- `), T = this.blockquote(g);
23153
- 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;
23154
23166
  break;
23155
- } else if (k2?.type === "list") {
23156
- let x = k2, g = x.raw + `
23167
+ } else if (h?.type === "list") {
23168
+ let R = h, f2 = R.raw + `
23157
23169
  ` + n.join(`
23158
- `), T = this.list(g);
23159
- 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(`
23160
23172
  `);
23161
23173
  continue;
23162
23174
  }
@@ -23169,45 +23181,45 @@ ${c2}` : c2;
23169
23181
  if (t) {
23170
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: [] };
23171
23183
  n = r2 ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r2 ? n : "[*+-]");
23172
- let s2 = this.rules.other.listItemRegex(n), o = false;
23184
+ let s2 = this.rules.other.listItemRegex(n), a = false;
23173
23185
  for (; e; ) {
23174
- let u = false, p = "", c2 = "";
23186
+ let p = false, u = "", c2 = "";
23175
23187
  if (!(t = s2.exec(e)) || this.rules.block.hr.test(e)) break;
23176
- p = t[0], e = e.substring(p.length);
23177
- let f2 = t[2].split(`
23178
- `, 1)[0].replace(this.rules.other.listReplaceTabs, (H) => " ".repeat(3 * H.length)), k2 = e.split(`
23179
- `, 1)[0], x = !f2.trim(), g = 0;
23180
- 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 + `
23181
- `, e = e.substring(k2.length + 1), u = true), !u) {
23182
- 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);
23183
23195
  for (; e; ) {
23184
23196
  let Z = e.split(`
23185
23197
  `, 1)[0], A2;
23186
- 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;
23187
- if (A2.search(this.rules.other.nonSpaceChar) >= g || !k2.trim()) c2 += `
23188
- ` + 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);
23189
23201
  else {
23190
- 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;
23191
23203
  c2 += `
23192
- ` + k2;
23204
+ ` + h;
23193
23205
  }
23194
- !x && !k2.trim() && (x = true), p += Z + `
23195
- `, 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);
23196
23208
  }
23197
23209
  }
23198
- i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (o = true));
23199
- let T = null, Y2;
23200
- 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;
23201
23213
  }
23202
- let a = i.items.at(-1);
23203
- 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();
23204
23216
  else return;
23205
23217
  i.raw = i.raw.trimEnd();
23206
- 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) {
23207
- 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));
23208
23220
  i.loose = c2;
23209
23221
  }
23210
- 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;
23211
23223
  return i;
23212
23224
  }
23213
23225
  }
@@ -23228,9 +23240,9 @@ ${c2}` : c2;
23228
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(`
23229
23241
  `) : [], s2 = { type: "table", raw: t[0], header: [], align: [], rows: [] };
23230
23242
  if (n.length === r2.length) {
23231
- 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);
23232
- 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] });
23233
- 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] })));
23234
23246
  return s2;
23235
23247
  }
23236
23248
  }
@@ -23267,11 +23279,11 @@ ${c2}` : c2;
23267
23279
  let s2 = z(n.slice(0, -1), "\\");
23268
23280
  if ((n.length - s2.length) % 2 === 0) return;
23269
23281
  } else {
23270
- let s2 = ge(t[2], "()");
23282
+ let s2 = fe(t[2], "()");
23271
23283
  if (s2 === -2) return;
23272
23284
  if (s2 > -1) {
23273
- let a = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + s2;
23274
- 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] = "";
23275
23287
  }
23276
23288
  }
23277
23289
  let r2 = t[2], i = "";
@@ -23279,7 +23291,7 @@ ${c2}` : c2;
23279
23291
  let s2 = this.rules.other.pedanticHrefTitle.exec(r2);
23280
23292
  s2 && (r2 = s2[1], i = s2[3]);
23281
23293
  } else i = t[3] ? t[3].slice(1, -1) : "";
23282
- 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);
23283
23295
  }
23284
23296
  }
23285
23297
  reflink(e, t) {
@@ -23290,32 +23302,32 @@ ${c2}` : c2;
23290
23302
  let s2 = n[0].charAt(0);
23291
23303
  return { type: "text", raw: s2, text: s2 };
23292
23304
  }
23293
- return fe(n, i, n[0], this.lexer, this.rules);
23305
+ return me(n, i, n[0], this.lexer, this.rules);
23294
23306
  }
23295
23307
  }
23296
23308
  emStrong(e, t, n = "") {
23297
23309
  let r2 = this.rules.inline.emStrongLDelim.exec(e);
23298
23310
  if (!r2 || r2[3] && n.match(this.rules.other.unicodeAlphaNumeric)) return;
23299
23311
  if (!(r2[1] || r2[2] || "") || !n || this.rules.inline.punctuation.exec(n)) {
23300
- 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;
23301
23313
  for (c2.lastIndex = 0, t = t.slice(-1 * e.length + s2); (r2 = c2.exec(t)) != null; ) {
23302
- if (o = r2[1] || r2[2] || r2[3] || r2[4] || r2[5] || r2[6], !o) continue;
23303
- if (a = [...o].length, r2[3] || r2[4]) {
23304
- 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;
23305
23317
  continue;
23306
- } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + a) % 3)) {
23307
- p += a;
23318
+ } else if ((r2[5] || r2[6]) && s2 % 3 && !((s2 + o) % 3)) {
23319
+ u += o;
23308
23320
  continue;
23309
23321
  }
23310
- if (u -= a, u > 0) continue;
23311
- a = Math.min(a, a + u + p);
23312
- let f2 = [...r2[0]][0].length, k2 = e.slice(0, s2 + r2.index + f2 + a);
23313
- if (Math.min(s2, a) % 2) {
23314
- let g = k2.slice(1, -1);
23315
- 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) };
23316
23328
  }
23317
- let x = k2.slice(2, -2);
23318
- 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) };
23319
23331
  }
23320
23332
  }
23321
23333
  }
@@ -23364,19 +23376,19 @@ ${c2}` : c2;
23364
23376
  }
23365
23377
  }
23366
23378
  };
23367
- var b = class l {
23379
+ var x = class l {
23368
23380
  constructor(e) {
23369
23381
  __publicField$2(this, "tokens");
23370
23382
  __publicField$2(this, "options");
23371
23383
  __publicField$2(this, "state");
23372
23384
  __publicField$2(this, "tokenizer");
23373
23385
  __publicField$2(this, "inlineQueue");
23374
- 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 };
23375
- let t = { other: m, block: I.normal, inline: M$1.normal };
23376
- 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;
23377
23389
  }
23378
23390
  static get rules() {
23379
- return { block: I, inline: M$1 };
23391
+ return { block: C, inline: M$1 };
23380
23392
  }
23381
23393
  static lex(e, t) {
23382
23394
  return new l(t).lex(e);
@@ -23456,9 +23468,9 @@ var b = class l {
23456
23468
  }
23457
23469
  let i = e;
23458
23470
  if (this.options.extensions?.startBlock) {
23459
- let s2 = 1 / 0, o = e.slice(1), a;
23460
- this.options.extensions.startBlock.forEach((u) => {
23461
- 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));
23462
23474
  }), s2 < 1 / 0 && s2 >= 0 && (i = e.substring(0, s2 + 1));
23463
23475
  }
23464
23476
  if (this.state.top && (r2 = this.tokenizer.paragraph(i))) {
@@ -23498,11 +23510,12 @@ var b = class l {
23498
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));
23499
23511
  }
23500
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);
23501
- 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);
23502
23515
  n = this.options.hooks?.emStrongMask?.call({ lexer: this }, n) ?? n;
23503
- let i = false, s2 = "";
23516
+ let s2 = false, a = "";
23504
23517
  for (; e; ) {
23505
- i || (s2 = ""), i = false;
23518
+ s2 || (a = ""), s2 = false;
23506
23519
  let o;
23507
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;
23508
23521
  if (o = this.tokenizer.escape(e)) {
@@ -23523,7 +23536,7 @@ var b = class l {
23523
23536
  o.type === "text" && u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23524
23537
  continue;
23525
23538
  }
23526
- if (o = this.tokenizer.emStrong(e, n, s2)) {
23539
+ if (o = this.tokenizer.emStrong(e, n, a)) {
23527
23540
  e = e.substring(o.raw.length), t.push(o);
23528
23541
  continue;
23529
23542
  }
@@ -23547,15 +23560,15 @@ var b = class l {
23547
23560
  e = e.substring(o.raw.length), t.push(o);
23548
23561
  continue;
23549
23562
  }
23550
- let a = e;
23563
+ let p = e;
23551
23564
  if (this.options.extensions?.startInline) {
23552
- let u = 1 / 0, p = e.slice(1), c2;
23553
- this.options.extensions.startInline.forEach((f2) => {
23554
- c2 = f2.call({ lexer: this }, p), typeof c2 == "number" && c2 >= 0 && (u = Math.min(u, c2));
23555
- }), 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));
23556
23569
  }
23557
- if (o = this.tokenizer.inlineText(a)) {
23558
- 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;
23559
23572
  let u = t.at(-1);
23560
23573
  u?.type === "text" ? (u.raw += o.raw, u.text += o.text) : t.push(o);
23561
23574
  continue;
@@ -23575,7 +23588,7 @@ var P = class {
23575
23588
  constructor(e) {
23576
23589
  __publicField$2(this, "options");
23577
23590
  __publicField$2(this, "parser");
23578
- this.options = e || O;
23591
+ this.options = e || T;
23579
23592
  }
23580
23593
  space(e) {
23581
23594
  return "";
@@ -23608,9 +23621,9 @@ ${this.parser.parse(e)}</blockquote>
23608
23621
  }
23609
23622
  list(e) {
23610
23623
  let t = e.ordered, n = e.start, r2 = "";
23611
- for (let o = 0; o < e.items.length; o++) {
23612
- let a = e.items[o];
23613
- 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);
23614
23627
  }
23615
23628
  let i = t ? "ol" : "ul", s2 = t && n !== 1 ? ' start="' + n + '"' : "";
23616
23629
  return "<" + i + s2 + `>
@@ -23641,7 +23654,7 @@ ${this.parser.parse(e)}</blockquote>
23641
23654
  for (let i = 0; i < e.rows.length; i++) {
23642
23655
  let s2 = e.rows[i];
23643
23656
  n = "";
23644
- 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]);
23645
23658
  r2 += this.tablerow({ text: n });
23646
23659
  }
23647
23660
  return r2 && (r2 = `<tbody>${r2}</tbody>`), `<table>
@@ -23723,12 +23736,12 @@ var $ = class {
23723
23736
  return "";
23724
23737
  }
23725
23738
  };
23726
- var R = class l2 {
23739
+ var b = class l2 {
23727
23740
  constructor(e) {
23728
23741
  __publicField$2(this, "options");
23729
23742
  __publicField$2(this, "renderer");
23730
23743
  __publicField$2(this, "textRenderer");
23731
- 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 $();
23732
23745
  }
23733
23746
  static parse(e, t) {
23734
23747
  return new l2(t).parse(e);
@@ -23741,9 +23754,9 @@ var R = class l2 {
23741
23754
  for (let r2 = 0; r2 < e.length; r2++) {
23742
23755
  let i = e[r2];
23743
23756
  if (this.options.extensions?.renderers?.[i.type]) {
23744
- let o = i, a = this.options.extensions.renderers[o.type].call({ parser: this }, o);
23745
- if (a !== false || !["space", "hr", "heading", "code", "table", "blockquote", "list", "html", "def", "paragraph", "text"].includes(o.type)) {
23746
- 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 || "";
23747
23760
  continue;
23748
23761
  }
23749
23762
  }
@@ -23790,16 +23803,16 @@ var R = class l2 {
23790
23803
  continue;
23791
23804
  }
23792
23805
  case "text": {
23793
- let o = s2, a = this.renderer.text(o);
23794
- for (; r2 + 1 < e.length && e[r2 + 1].type === "text"; ) o = e[++r2], a += `
23795
- ` + this.renderer.text(o);
23796
- 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;
23797
23810
  continue;
23798
23811
  }
23799
23812
  default: {
23800
- let o = 'Token with "' + s2.type + '" type was not found.';
23801
- if (this.options.silent) return console.error(o), "";
23802
- 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);
23803
23816
  }
23804
23817
  }
23805
23818
  }
@@ -23810,9 +23823,9 @@ var R = class l2 {
23810
23823
  for (let r2 = 0; r2 < e.length; r2++) {
23811
23824
  let i = e[r2];
23812
23825
  if (this.options.extensions?.renderers?.[i.type]) {
23813
- let o = this.options.extensions.renderers[i.type].call({ parser: this }, i);
23814
- if (o !== false || !["escape", "html", "link", "image", "strong", "em", "codespan", "br", "del", "text"].includes(i.type)) {
23815
- 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 || "";
23816
23829
  continue;
23817
23830
  }
23818
23831
  }
@@ -23859,9 +23872,9 @@ var R = class l2 {
23859
23872
  break;
23860
23873
  }
23861
23874
  default: {
23862
- let o = 'Token with "' + s2.type + '" type was not found.';
23863
- if (this.options.silent) return console.error(o), "";
23864
- 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);
23865
23878
  }
23866
23879
  }
23867
23880
  }
@@ -23872,7 +23885,7 @@ var S = (_a = class {
23872
23885
  constructor(e) {
23873
23886
  __publicField$2(this, "options");
23874
23887
  __publicField$2(this, "block");
23875
- this.options = e || O;
23888
+ this.options = e || T;
23876
23889
  }
23877
23890
  preprocess(e) {
23878
23891
  return e;
@@ -23887,10 +23900,10 @@ var S = (_a = class {
23887
23900
  return e;
23888
23901
  }
23889
23902
  provideLexer() {
23890
- return this.block ? b.lex : b.lexInline;
23903
+ return this.block ? x.lex : x.lexInline;
23891
23904
  }
23892
23905
  provideParser() {
23893
- return this.block ? R.parse : R.parseInline;
23906
+ return this.block ? b.parse : b.parseInline;
23894
23907
  }
23895
23908
  }, __publicField$2(_a, "passThroughHooks", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens", "emStrongMask"])), __publicField$2(_a, "passThroughHooksRespectAsync", /* @__PURE__ */ new Set(["preprocess", "postprocess", "processAllTokens"])), _a);
23896
23909
  var B = class {
@@ -23899,10 +23912,10 @@ var B = class {
23899
23912
  __publicField$2(this, "options", this.setOptions);
23900
23913
  __publicField$2(this, "parse", this.parseMarkdown(true));
23901
23914
  __publicField$2(this, "parseInline", this.parseMarkdown(false));
23902
- __publicField$2(this, "Parser", R);
23915
+ __publicField$2(this, "Parser", b);
23903
23916
  __publicField$2(this, "Renderer", P);
23904
23917
  __publicField$2(this, "TextRenderer", $);
23905
- __publicField$2(this, "Lexer", b);
23918
+ __publicField$2(this, "Lexer", x);
23906
23919
  __publicField$2(this, "Tokenizer", y);
23907
23920
  __publicField$2(this, "Hooks", S);
23908
23921
  this.use(...e);
@@ -23913,7 +23926,7 @@ var B = class {
23913
23926
  case "table": {
23914
23927
  let i = r2;
23915
23928
  for (let s2 of i.header) n = n.concat(this.walkTokens(s2.tokens, t));
23916
- 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));
23917
23930
  break;
23918
23931
  }
23919
23932
  case "list": {
@@ -23924,8 +23937,8 @@ var B = class {
23924
23937
  default: {
23925
23938
  let i = r2;
23926
23939
  this.defaults.extensions?.childTokens?.[i.type] ? this.defaults.extensions.childTokens[i.type].forEach((s2) => {
23927
- let o = i[s2].flat(1 / 0);
23928
- n = n.concat(this.walkTokens(o, t));
23940
+ let a = i[s2].flat(1 / 0);
23941
+ n = n.concat(this.walkTokens(a, t));
23929
23942
  }) : i.tokens && (n = n.concat(this.walkTokens(i.tokens, t)));
23930
23943
  }
23931
23944
  }
@@ -23939,9 +23952,9 @@ var B = class {
23939
23952
  if (!i.name) throw new Error("extension name required");
23940
23953
  if ("renderer" in i) {
23941
23954
  let s2 = t.renderers[i.name];
23942
- s2 ? t.renderers[i.name] = function(...o) {
23943
- let a = i.renderer.apply(this, o);
23944
- 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;
23945
23958
  } : t.renderers[i.name] = i.renderer;
23946
23959
  }
23947
23960
  if ("tokenizer" in i) {
@@ -23955,10 +23968,10 @@ var B = class {
23955
23968
  for (let s2 in n.renderer) {
23956
23969
  if (!(s2 in i)) throw new Error(`renderer '${s2}' does not exist`);
23957
23970
  if (["options", "parser"].includes(s2)) continue;
23958
- let o = s2, a = n.renderer[o], u = i[o];
23959
- i[o] = (...p) => {
23960
- let c2 = a.apply(i, p);
23961
- 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 || "";
23962
23975
  };
23963
23976
  }
23964
23977
  r2.renderer = i;
@@ -23968,10 +23981,10 @@ var B = class {
23968
23981
  for (let s2 in n.tokenizer) {
23969
23982
  if (!(s2 in i)) throw new Error(`tokenizer '${s2}' does not exist`);
23970
23983
  if (["options", "rules", "lexer"].includes(s2)) continue;
23971
- let o = s2, a = n.tokenizer[o], u = i[o];
23972
- i[o] = (...p) => {
23973
- let c2 = a.apply(i, p);
23974
- 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;
23975
23988
  };
23976
23989
  }
23977
23990
  r2.tokenizer = i;
@@ -23981,23 +23994,30 @@ var B = class {
23981
23994
  for (let s2 in n.hooks) {
23982
23995
  if (!(s2 in i)) throw new Error(`hook '${s2}' does not exist`);
23983
23996
  if (["options", "block"].includes(s2)) continue;
23984
- let o = s2, a = n.hooks[o], u = i[o];
23985
- S.passThroughHooks.has(s2) ? i[o] = (p) => {
23986
- if (this.defaults.async && S.passThroughHooksRespectAsync.has(s2)) return Promise.resolve(a.call(i, p)).then((f2) => u.call(i, f2));
23987
- let c2 = a.call(i, p);
23988
- return u.call(i, c2);
23989
- } : i[o] = (...p) => {
23990
- let c2 = a.apply(i, p);
23991
- 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;
23992
24012
  };
23993
24013
  }
23994
24014
  r2.hooks = i;
23995
24015
  }
23996
24016
  if (n.walkTokens) {
23997
24017
  let i = this.defaults.walkTokens, s2 = n.walkTokens;
23998
- r2.walkTokens = function(o) {
23999
- let a = [];
24000
- 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;
24001
24021
  };
24002
24022
  }
24003
24023
  this.defaults = { ...this.defaults, ...r2 };
@@ -24007,28 +24027,31 @@ var B = class {
24007
24027
  return this.defaults = { ...this.defaults, ...e }, this;
24008
24028
  }
24009
24029
  lexer(e, t) {
24010
- return b.lex(e, t ?? this.defaults);
24030
+ return x.lex(e, t ?? this.defaults);
24011
24031
  }
24012
24032
  parser(e, t) {
24013
- return R.parse(e, t ?? this.defaults);
24033
+ return b.parse(e, t ?? this.defaults);
24014
24034
  }
24015
24035
  parseMarkdown(e) {
24016
24036
  return (n, r2) => {
24017
- let i = { ...r2 }, s2 = { ...this.defaults, ...i }, o = this.onError(!!s2.silent, !!s2.async);
24018
- 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."));
24019
- if (typeof n > "u" || n === null) return o(new Error("marked(): input parameter is undefined or null"));
24020
- if (typeof n != "string") return o(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
24021
- s2.hooks && (s2.hooks.options = s2, s2.hooks.block = e);
24022
- let a = s2.hooks ? s2.hooks.provideLexer() : e ? b.lex : b.lexInline, u = s2.hooks ? s2.hooks.provideParser() : e ? R.parse : R.parseInline;
24023
- 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);
24024
24047
  try {
24025
24048
  s2.hooks && (n = s2.hooks.preprocess(n));
24026
- let p = a(n, s2);
24049
+ let p = (s2.hooks ? s2.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s2);
24027
24050
  s2.hooks && (p = s2.hooks.processAllTokens(p)), s2.walkTokens && this.walkTokens(p, s2.walkTokens);
24028
- let c2 = u(p, s2);
24051
+ let c2 = (s2.hooks ? s2.hooks.provideParser() : e ? b.parse : b.parseInline)(p, s2);
24029
24052
  return s2.hooks && (c2 = s2.hooks.postprocess(c2)), c2;
24030
- } catch (p) {
24031
- return o(p);
24053
+ } catch (o) {
24054
+ return a(o);
24032
24055
  }
24033
24056
  };
24034
24057
  }
@@ -24045,38 +24068,38 @@ Please report this to https://github.com/markedjs/marked.`, e) {
24045
24068
  }
24046
24069
  };
24047
24070
  var _ = new B();
24048
- function d$1(l3, e) {
24071
+ function k$1(l3, e) {
24049
24072
  return _.parse(l3, e);
24050
24073
  }
24051
- d$1.options = d$1.setOptions = function(l3) {
24052
- 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;
24053
24076
  };
24054
- d$1.getDefaults = L;
24055
- d$1.defaults = O;
24056
- d$1.use = function(...l3) {
24057
- 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;
24058
24081
  };
24059
- d$1.walkTokens = function(l3, e) {
24082
+ k$1.walkTokens = function(l3, e) {
24060
24083
  return _.walkTokens(l3, e);
24061
24084
  };
24062
- d$1.parseInline = _.parseInline;
24063
- d$1.Parser = R;
24064
- d$1.parser = R.parse;
24065
- d$1.Renderer = P;
24066
- d$1.TextRenderer = $;
24067
- d$1.Lexer = b;
24068
- d$1.lexer = b.lex;
24069
- d$1.Tokenizer = y;
24070
- d$1.Hooks = S;
24071
- d$1.parse = d$1;
24072
- d$1.options;
24073
- d$1.setOptions;
24074
- d$1.use;
24075
- d$1.walkTokens;
24076
- d$1.parseInline;
24077
- R.parse;
24078
- b.lex;
24079
- 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({
24080
24103
  breaks: false,
24081
24104
  // Use proper paragraphs, not <br> tags
24082
24105
  gfm: true
@@ -24087,7 +24110,7 @@ function createDocFromMarkdown(markdown, schema, options = {}) {
24087
24110
  return createDocFromHTML(html, schema, options);
24088
24111
  }
24089
24112
  function convertMarkdownToHTML(markdown) {
24090
- let html = d$1.parse(markdown, { async: false });
24113
+ let html = k$1.parse(markdown, { async: false });
24091
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");
24092
24115
  }
24093
24116
  function processContent({ content, type: type2, schema }) {
@@ -28833,8 +28856,8 @@ const translateImageNode = (params2) => {
28833
28856
  const leftMargin = tableCell.attrs.cellMargins?.left || 8;
28834
28857
  const rightMargin = tableCell.attrs.cellMargins?.right || 8;
28835
28858
  const maxWidthEmu = pixelsToEmu(colwidthSum - (leftMargin + rightMargin));
28836
- const { width: w2, height: h2 } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
28837
- if (w2 && h2) size2 = { w: w2, h: h2 };
28859
+ const { width: w2, height: h } = resizeKeepAspectRatio(size2.w, size2.h, maxWidthEmu);
28860
+ if (w2 && h) size2 = { w: w2, h };
28838
28861
  }
28839
28862
  if (imageId) {
28840
28863
  const docx = params2.converter?.convertedXml || {};
@@ -30377,9 +30400,9 @@ var hasRequiredHe;
30377
30400
  function requireHe() {
30378
30401
  if (hasRequiredHe) return he$2.exports;
30379
30402
  hasRequiredHe = 1;
30380
- (function(module2, exports2) {
30403
+ (function(module2, exports$1) {
30381
30404
  (function(root2) {
30382
- var freeExports2 = exports2;
30405
+ var freeExports2 = exports$1;
30383
30406
  var freeModule2 = module2 && module2.exports == freeExports2 && module2;
30384
30407
  var freeGlobal2 = typeof commonjsGlobal == "object" && commonjsGlobal;
30385
30408
  if (freeGlobal2.global === freeGlobal2 || freeGlobal2.window === freeGlobal2) {
@@ -35629,7 +35652,7 @@ const _SuperConverter = class _SuperConverter2 {
35629
35652
  static getStoredSuperdocVersion(docx) {
35630
35653
  return _SuperConverter2.getStoredCustomProperty(docx, "SuperdocVersion");
35631
35654
  }
35632
- static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.0") {
35655
+ static setStoredSuperdocVersion(docx = this.convertedXml, version2 = "0.29.1") {
35633
35656
  return _SuperConverter2.setStoredCustomProperty(docx, "SuperdocVersion", version2, false);
35634
35657
  }
35635
35658
  /**
@@ -36020,7 +36043,7 @@ prepareCommentsXmlFilesForExport_fn = function({ defs, exportType, commentsWithP
36020
36043
  };
36021
36044
  exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36022
36045
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36023
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36046
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36024
36047
  const newDocRels = [];
36025
36048
  Object.entries(this.headers).forEach(([id, header], index2) => {
36026
36049
  const fileName = relationships.elements.find((el) => el.attributes.Id === id)?.attributes.Target || `header${index2 + 1}.xml`;
@@ -36061,7 +36084,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36061
36084
  }
36062
36085
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36063
36086
  if (params2.relationships.length) {
36064
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36087
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36065
36088
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36066
36089
  declaration: this.initialJSON?.declaration,
36067
36090
  elements: [
@@ -36115,7 +36138,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36115
36138
  }
36116
36139
  this.convertedXml[`word/${fileName}`].elements[0].elements = bodyContent;
36117
36140
  if (params2.relationships.length) {
36118
- const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x) => x.name === "Relationships")?.elements || [];
36141
+ const relationships2 = this.convertedXml[`word/_rels/${fileName}.rels`]?.elements?.find((x2) => x2.name === "Relationships")?.elements || [];
36119
36142
  this.convertedXml[`word/_rels/${fileName}.rels`] = {
36120
36143
  declaration: this.initialJSON?.declaration,
36121
36144
  elements: [
@@ -36134,7 +36157,7 @@ exportProcessHeadersFooters_fn = function({ isFinalDoc = false }) {
36134
36157
  };
36135
36158
  exportProcessNewRelationships_fn = function(rels = []) {
36136
36159
  const relsData = this.convertedXml["word/_rels/document.xml.rels"];
36137
- const relationships = relsData.elements.find((x) => x.name === "Relationships");
36160
+ const relationships = relsData.elements.find((x2) => x2.name === "Relationships");
36138
36161
  relationships.elements = mergeRelationshipElements(relationships.elements, rels);
36139
36162
  };
36140
36163
  exportProcessMediaFiles_fn = async function(media = {}) {
@@ -36214,11 +36237,11 @@ var hasRequiredJszip_min;
36214
36237
  function requireJszip_min() {
36215
36238
  if (hasRequiredJszip_min) return jszip_min.exports;
36216
36239
  hasRequiredJszip_min = 1;
36217
- (function(module2, exports2) {
36240
+ (function(module2, exports$1) {
36218
36241
  !(function(e) {
36219
36242
  module2.exports = e();
36220
36243
  })(function() {
36221
- return (function s2(a, o, h2) {
36244
+ return (function s2(a, o, h) {
36222
36245
  function u(r2, e2) {
36223
36246
  if (!o[r2]) {
36224
36247
  if (!a[r2]) {
@@ -36232,23 +36255,23 @@ function requireJszip_min() {
36232
36255
  a[r2][0].call(i.exports, function(e3) {
36233
36256
  var t2 = a[r2][1][e3];
36234
36257
  return u(t2 || e3);
36235
- }, i, i.exports, s2, a, o, h2);
36258
+ }, i, i.exports, s2, a, o, h);
36236
36259
  }
36237
36260
  return o[r2].exports;
36238
36261
  }
36239
- for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h2.length; e++) u(h2[e]);
36262
+ for (var l3 = "function" == typeof commonjsRequire && commonjsRequire, e = 0; e < h.length; e++) u(h[e]);
36240
36263
  return u;
36241
36264
  })({ 1: [function(e, t, r2) {
36242
36265
  var d2 = e("./utils"), c2 = e("./support"), p = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
36243
36266
  r2.encode = function(e2) {
36244
- 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));
36245
- return h2.join("");
36267
+ 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));
36268
+ return h.join("");
36246
36269
  }, r2.decode = function(e2) {
36247
- var t2, r22, n, i, s2, a, o = 0, h2 = 0, u = "data:";
36270
+ var t2, r22, n, i, s2, a, o = 0, h = 0, u = "data:";
36248
36271
  if (e2.substr(0, u.length) === u) throw new Error("Invalid base64 input, it looks like a data url.");
36249
36272
  var l3, f2 = 3 * (e2 = e2.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
36250
36273
  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.");
36251
- 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);
36274
+ 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);
36252
36275
  return l3;
36253
36276
  };
36254
36277
  }, { "./support": 30, "./utils": 32 }], 2: [function(e, t, r2) {
@@ -36303,25 +36326,25 @@ function requireJszip_min() {
36303
36326
  n = "undefined" != typeof Promise ? Promise : e("lie"), t.exports = { Promise: n };
36304
36327
  }, { lie: 37 }], 7: [function(e, t, r2) {
36305
36328
  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";
36306
- function h2(e2, t2) {
36329
+ function h(e2, t2) {
36307
36330
  a.call(this, "FlateWorker/" + e2), this._pako = null, this._pakoAction = e2, this._pakoOptions = t2, this.meta = {};
36308
36331
  }
36309
- r2.magic = "\b\0", s2.inherits(h2, a), h2.prototype.processChunk = function(e2) {
36332
+ r2.magic = "\b\0", s2.inherits(h, a), h.prototype.processChunk = function(e2) {
36310
36333
  this.meta = e2.meta, null === this._pako && this._createPako(), this._pako.push(s2.transformTo(o, e2.data), false);
36311
- }, h2.prototype.flush = function() {
36334
+ }, h.prototype.flush = function() {
36312
36335
  a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], true);
36313
- }, h2.prototype.cleanUp = function() {
36336
+ }, h.prototype.cleanUp = function() {
36314
36337
  a.prototype.cleanUp.call(this), this._pako = null;
36315
- }, h2.prototype._createPako = function() {
36338
+ }, h.prototype._createPako = function() {
36316
36339
  this._pako = new i[this._pakoAction]({ raw: true, level: this._pakoOptions.level || -1 });
36317
36340
  var t2 = this;
36318
36341
  this._pako.onData = function(e2) {
36319
36342
  t2.push({ data: e2, meta: t2.meta });
36320
36343
  };
36321
36344
  }, r2.compressWorker = function(e2) {
36322
- return new h2("Deflate", e2);
36345
+ return new h("Deflate", e2);
36323
36346
  }, r2.uncompressWorker = function() {
36324
- return new h2("Inflate", {});
36347
+ return new h("Inflate", {});
36325
36348
  };
36326
36349
  }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(e, t, r2) {
36327
36350
  function A2(e2, t2) {
@@ -36330,21 +36353,21 @@ function requireJszip_min() {
36330
36353
  return n2;
36331
36354
  }
36332
36355
  function n(e2, t2, r22, n2, i2, s22) {
36333
- 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 };
36334
- t2 && !r22 || (x.crc32 = e2.crc32, x.compressedSize = e2.compressedSize, x.uncompressedSize = e2.uncompressedSize);
36356
+ 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 };
36357
+ t2 && !r22 || (x2.crc32 = e2.crc32, x2.compressedSize = e2.compressedSize, x2.uncompressedSize = e2.uncompressedSize);
36335
36358
  var S2 = 0;
36336
36359
  t2 && (S2 |= 8), l3 || !_2 && !g || (S2 |= 2048);
36337
36360
  var z2 = 0, C2 = 0;
36338
36361
  w2 && (z2 |= 16), "UNIX" === i2 ? (C2 = 798, z2 |= (function(e3, t3) {
36339
36362
  var r3 = e3;
36340
36363
  return e3 || (r3 = t3 ? 16893 : 33204), (65535 & r3) << 16;
36341
- })(h2.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36364
+ })(h.unixPermissions, w2)) : (C2 = 20, z2 |= (function(e3) {
36342
36365
  return 63 & (e3 || 0);
36343
- })(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);
36366
+ })(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);
36344
36367
  var E2 = "";
36345
- 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 };
36368
+ 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 };
36346
36369
  }
36347
- var I2 = e("../utils"), i = e("../stream/GenericWorker"), O2 = e("../utf8"), B2 = e("../crc32"), R2 = e("../signature");
36370
+ var I2 = e("../utils"), i = e("../stream/GenericWorker"), O = e("../utf8"), B2 = e("../crc32"), R = e("../signature");
36348
36371
  function s2(e2, t2, r22, n2) {
36349
36372
  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 = [];
36350
36373
  }
@@ -36362,7 +36385,7 @@ function requireJszip_min() {
36362
36385
  this.accumulate = false;
36363
36386
  var t2 = this.streamFiles && !e2.file.dir, r22 = n(e2, t2, true, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
36364
36387
  if (this.dirRecords.push(r22.dirRecord), t2) this.push({ data: (function(e3) {
36365
- return R2.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36388
+ return R.DATA_DESCRIPTOR + A2(e3.crc32, 4) + A2(e3.compressedSize, 4) + A2(e3.uncompressedSize, 4);
36366
36389
  })(e2), meta: { percent: 100 } });
36367
36390
  else for (this.push({ data: r22.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
36368
36391
  this.currentFile = null;
@@ -36370,7 +36393,7 @@ function requireJszip_min() {
36370
36393
  for (var e2 = this.bytesWritten, t2 = 0; t2 < this.dirRecords.length; t2++) this.push({ data: this.dirRecords[t2], meta: { percent: 100 } });
36371
36394
  var r22 = this.bytesWritten - e2, n2 = (function(e3, t3, r3, n3, i2) {
36372
36395
  var s22 = I2.transformTo("string", i2(n3));
36373
- 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;
36396
+ 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;
36374
36397
  })(this.dirRecords.length, r22, e2, this.zipComment, this.encodeFileName);
36375
36398
  this.push({ data: n2, meta: { percent: 100 } });
36376
36399
  }, s2.prototype.prepareNextSource = function() {
@@ -36402,17 +36425,17 @@ function requireJszip_min() {
36402
36425
  }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(e, t, r2) {
36403
36426
  var u = e("../compressions"), n = e("./ZipFileWorker");
36404
36427
  r2.generateWorker = function(e2, a, t2) {
36405
- var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h2 = 0;
36428
+ var o = new n(a.streamFiles, t2, a.platform, a.encodeFileName), h = 0;
36406
36429
  try {
36407
36430
  e2.forEach(function(e3, t3) {
36408
- h2++;
36431
+ h++;
36409
36432
  var r22 = (function(e4, t4) {
36410
36433
  var r3 = e4 || t4, n3 = u[r3];
36411
36434
  if (!n3) throw new Error(r3 + " is not a valid compression method !");
36412
36435
  return n3;
36413
36436
  })(t3.options.compression, a.compression), n2 = t3.options.compressionOptions || a.compressionOptions || {}, i = t3.dir, s2 = t3.date;
36414
36437
  t3._compressWorker(r22, n2).withStreamInfo("file", { name: e3, dir: i, date: s2, comment: t3.comment || "", unixPermissions: t3.unixPermissions, dosPermissions: t3.dosPermissions }).pipe(o);
36415
- }), o.entriesCount = h2;
36438
+ }), o.entriesCount = h;
36416
36439
  } catch (e3) {
36417
36440
  o.error(e3);
36418
36441
  }
@@ -36444,7 +36467,7 @@ function requireJszip_min() {
36444
36467
  });
36445
36468
  }
36446
36469
  t.exports = function(e2, o) {
36447
- var h2 = this;
36470
+ var h = this;
36448
36471
  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) {
36449
36472
  var t2 = new s2(o);
36450
36473
  return t2.load(e3), t2;
@@ -36455,9 +36478,9 @@ function requireJszip_min() {
36455
36478
  }).then(function(e3) {
36456
36479
  for (var t2 = e3.shift(), r22 = t2.files, n2 = 0; n2 < r22.length; n2++) {
36457
36480
  var i2 = r22[n2], s22 = i2.fileNameStr, a2 = u.resolve(i2.fileNameStr);
36458
- 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);
36481
+ 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);
36459
36482
  }
36460
- return t2.zipComment.length && (h2.comment = t2.zipComment), h2;
36483
+ return t2.zipComment.length && (h.comment = t2.zipComment), h;
36461
36484
  });
36462
36485
  };
36463
36486
  }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(e, t, r2) {
@@ -36517,8 +36540,8 @@ function requireJszip_min() {
36517
36540
  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");
36518
36541
  var o2 = null;
36519
36542
  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);
36520
- var h22 = new d2(e2, o2, s22);
36521
- this.files[e2] = h22;
36543
+ var h2 = new d2(e2, o2, s22);
36544
+ this.files[e2] = h2;
36522
36545
  }
36523
36546
  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) {
36524
36547
  "/" === e2.slice(-1) && (e2 = e2.substring(0, e2.length - 1));
@@ -36529,7 +36552,7 @@ function requireJszip_min() {
36529
36552
  }, b2 = function(e2, t2) {
36530
36553
  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];
36531
36554
  };
36532
- function h2(e2) {
36555
+ function h(e2) {
36533
36556
  return "[object RegExp]" === Object.prototype.toString.call(e2);
36534
36557
  }
36535
36558
  var n = { load: function() {
@@ -36544,7 +36567,7 @@ function requireJszip_min() {
36544
36567
  }), n2;
36545
36568
  }, file: function(e2, t2, r22) {
36546
36569
  if (1 !== arguments.length) return e2 = this.root + e2, s2.call(this, e2, t2, r22), this;
36547
- if (h2(e2)) {
36570
+ if (h(e2)) {
36548
36571
  var n2 = e2;
36549
36572
  return this.filter(function(e3, t3) {
36550
36573
  return !t3.dir && n2.test(e3);
@@ -36554,7 +36577,7 @@ function requireJszip_min() {
36554
36577
  return i2 && !i2.dir ? i2 : null;
36555
36578
  }, folder: function(r22) {
36556
36579
  if (!r22) return this;
36557
- if (h2(r22)) return this.filter(function(e3, t3) {
36580
+ if (h(r22)) return this.filter(function(e3, t3) {
36558
36581
  return t3.dir && r22.test(e3);
36559
36582
  });
36560
36583
  var e2 = this.root + r22, t2 = b2.call(this, e2), n2 = this.clone();
@@ -36671,10 +36694,10 @@ function requireJszip_min() {
36671
36694
  return this.index += e2, t2;
36672
36695
  }, t.exports = i;
36673
36696
  }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(e, t, r2) {
36674
- var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h2 = e("./Uint8ArrayReader");
36697
+ var n = e("../utils"), i = e("../support"), s2 = e("./ArrayReader"), a = e("./StringReader"), o = e("./NodeBufferReader"), h = e("./Uint8ArrayReader");
36675
36698
  t.exports = function(e2) {
36676
36699
  var t2 = n.getTypeOf(e2);
36677
- 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);
36700
+ 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);
36678
36701
  };
36679
36702
  }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(e, t, r2) {
36680
36703
  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";
@@ -36797,7 +36820,7 @@ function requireJszip_min() {
36797
36820
  return this.previous ? this.previous + " -> " + e2 : e2;
36798
36821
  } }, t.exports = n;
36799
36822
  }, {}], 29: [function(e, t, r2) {
36800
- var h2 = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
36823
+ var h = e("../utils"), i = e("./ConvertWorker"), s2 = e("./GenericWorker"), u = e("../base64"), n = e("../support"), a = e("../external"), o = null;
36801
36824
  if (n.nodestream) try {
36802
36825
  o = e("../nodejs/NodejsStreamOutputAdapter");
36803
36826
  } catch (e2) {
@@ -36814,11 +36837,11 @@ function requireJszip_min() {
36814
36837
  var e3 = (function(e4, t3, r3) {
36815
36838
  switch (e4) {
36816
36839
  case "blob":
36817
- return h2.newBlob(h2.transformTo("arraybuffer", t3), r3);
36840
+ return h.newBlob(h.transformTo("arraybuffer", t3), r3);
36818
36841
  case "base64":
36819
36842
  return u.encode(t3);
36820
36843
  default:
36821
- return h2.transformTo(e4, t3);
36844
+ return h.transformTo(e4, t3);
36822
36845
  }
36823
36846
  })(s22, (function(e4, t3) {
36824
36847
  var r3, n3 = 0, i3 = null, s3 = 0;
@@ -36856,7 +36879,7 @@ function requireJszip_min() {
36856
36879
  n2 = "string";
36857
36880
  }
36858
36881
  try {
36859
- this._internalType = n2, this._outputType = t2, this._mimeType = r22, h2.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
36882
+ this._internalType = n2, this._outputType = t2, this._mimeType = r22, h.checkSupport(n2), this._worker = e2.pipe(new i(n2)), e2.lock();
36860
36883
  } catch (e3) {
36861
36884
  this._worker = new s2("error"), this._worker.error(e3);
36862
36885
  }
@@ -36868,14 +36891,14 @@ function requireJszip_min() {
36868
36891
  return "data" === e2 ? this._worker.on(e2, function(e3) {
36869
36892
  t2.call(r22, e3.data, e3.meta);
36870
36893
  }) : this._worker.on(e2, function() {
36871
- h2.delay(t2, arguments, r22);
36894
+ h.delay(t2, arguments, r22);
36872
36895
  }), this;
36873
36896
  }, resume: function() {
36874
- return h2.delay(this._worker.resume, [], this._worker), this;
36897
+ return h.delay(this._worker.resume, [], this._worker), this;
36875
36898
  }, pause: function() {
36876
36899
  return this._worker.pause(), this;
36877
36900
  }, toNodejsStream: function(e2) {
36878
- if (h2.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
36901
+ if (h.checkSupport("nodestream"), "nodebuffer" !== this._outputType) throw new Error(this._outputType + " is not supported by this method");
36879
36902
  return new o(this, { objectMode: "nodebuffer" !== this._outputType }, e2);
36880
36903
  } }, t.exports = f2;
36881
36904
  }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(e, t, r2) {
@@ -36899,7 +36922,7 @@ function requireJszip_min() {
36899
36922
  r2.nodestream = false;
36900
36923
  }
36901
36924
  }, { "readable-stream": 16 }], 31: [function(e, t, s2) {
36902
- 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;
36925
+ 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;
36903
36926
  u[254] = u[254] = 1;
36904
36927
  function a() {
36905
36928
  n.call(this, "utf-8 decode"), this.leftOver = null;
@@ -36908,14 +36931,14 @@ function requireJszip_min() {
36908
36931
  n.call(this, "utf-8 encode");
36909
36932
  }
36910
36933
  s2.utf8encode = function(e2) {
36911
- return h2.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
36934
+ return h.nodebuffer ? r2.newBufferFrom(e2, "utf-8") : (function(e3) {
36912
36935
  var t2, r22, n2, i2, s22, a2 = e3.length, o2 = 0;
36913
36936
  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;
36914
- 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);
36937
+ 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);
36915
36938
  return t2;
36916
36939
  })(e2);
36917
36940
  }, s2.utf8decode = function(e2) {
36918
- return h2.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
36941
+ return h.nodebuffer ? o.transformTo("nodebuffer", e2).toString("utf-8") : (function(e3) {
36919
36942
  var t2, r22, n2, i2, s22 = e3.length, a2 = new Array(2 * s22);
36920
36943
  for (t2 = r22 = 0; t2 < s22; ) if ((n2 = e3[t2++]) < 128) a2[r22++] = n2;
36921
36944
  else if (4 < (i2 = u[n2])) a2[r22++] = 65533, t2 += i2 - 1;
@@ -36924,11 +36947,11 @@ function requireJszip_min() {
36924
36947
  1 < i2 ? a2[r22++] = 65533 : n2 < 65536 ? a2[r22++] = n2 : (n2 -= 65536, a2[r22++] = 55296 | n2 >> 10 & 1023, a2[r22++] = 56320 | 1023 & n2);
36925
36948
  }
36926
36949
  return a2.length !== r22 && (a2.subarray ? a2 = a2.subarray(0, r22) : a2.length = r22), o.applyFromCharCode(a2);
36927
- })(e2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2));
36950
+ })(e2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2));
36928
36951
  }, o.inherits(a, n), a.prototype.processChunk = function(e2) {
36929
- var t2 = o.transformTo(h2.uint8array ? "uint8array" : "array", e2.data);
36952
+ var t2 = o.transformTo(h.uint8array ? "uint8array" : "array", e2.data);
36930
36953
  if (this.leftOver && this.leftOver.length) {
36931
- if (h2.uint8array) {
36954
+ if (h.uint8array) {
36932
36955
  var r22 = t2;
36933
36956
  (t2 = new Uint8Array(r22.length + this.leftOver.length)).set(this.leftOver, 0), t2.set(r22, this.leftOver.length);
36934
36957
  } else t2 = this.leftOver.concat(t2);
@@ -36939,14 +36962,14 @@ function requireJszip_min() {
36939
36962
  for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), r3 = t3 - 1; 0 <= r3 && 128 == (192 & e3[r3]); ) r3--;
36940
36963
  return r3 < 0 ? t3 : 0 === r3 ? t3 : r3 + u[e3[r3]] > t3 ? r3 : t3;
36941
36964
  })(t2), i2 = t2;
36942
- 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 });
36965
+ 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 });
36943
36966
  }, a.prototype.flush = function() {
36944
36967
  this.leftOver && this.leftOver.length && (this.push({ data: s2.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
36945
36968
  }, s2.Utf8DecodeWorker = a, o.inherits(l3, n), l3.prototype.processChunk = function(e2) {
36946
36969
  this.push({ data: s2.utf8encode(e2.data), meta: e2.meta });
36947
36970
  }, s2.Utf8EncodeWorker = l3;
36948
36971
  }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(e, t, a) {
36949
- var o = e("./support"), h2 = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
36972
+ var o = e("./support"), h = e("./base64"), r2 = e("./nodejsUtils"), u = e("./external");
36950
36973
  function n(e2) {
36951
36974
  return e2;
36952
36975
  }
@@ -37080,17 +37103,17 @@ function requireJszip_min() {
37080
37103
  }) : n3;
37081
37104
  }).then(function(e3) {
37082
37105
  var t2 = a.getTypeOf(e3);
37083
- return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h2.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
37106
+ return t2 ? ("arraybuffer" === t2 ? e3 = a.transformTo("uint8array", e3) : "string" === t2 && (s22 ? e3 = h.decode(e3) : n2 && true !== i2 && (e3 = (function(e4) {
37084
37107
  return l3(e4, o.uint8array ? new Uint8Array(e4.length) : new Array(e4.length));
37085
37108
  })(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) ?"));
37086
37109
  });
37087
37110
  };
37088
37111
  }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(e, t, r2) {
37089
37112
  var n = e("./reader/readerFor"), i = e("./utils"), s2 = e("./signature"), a = e("./zipEntry"), o = e("./support");
37090
- function h2(e2) {
37113
+ function h(e2) {
37091
37114
  this.files = [], this.loadOptions = e2;
37092
37115
  }
37093
- h2.prototype = { checkSignature: function(e2) {
37116
+ h.prototype = { checkSignature: function(e2) {
37094
37117
  if (!this.reader.readAndCheckSignature(e2)) {
37095
37118
  this.reader.index -= 4;
37096
37119
  var t2 = this.reader.readString(4);
@@ -37136,9 +37159,9 @@ function requireJszip_min() {
37136
37159
  this.reader = n(e2);
37137
37160
  }, load: function(e2) {
37138
37161
  this.prepareReader(e2), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
37139
- } }, t.exports = h2;
37162
+ } }, t.exports = h;
37140
37163
  }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(e, t, r2) {
37141
- var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h2 = e("./compressions"), u = e("./support");
37164
+ var n = e("./reader/readerFor"), s2 = e("./utils"), i = e("./compressedObject"), a = e("./crc32"), o = e("./utf8"), h = e("./compressions"), u = e("./support");
37142
37165
  function l3(e2, t2) {
37143
37166
  this.options = e2, this.loadOptions = t2;
37144
37167
  }
@@ -37150,7 +37173,7 @@ function requireJszip_min() {
37150
37173
  var t2, r22;
37151
37174
  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)");
37152
37175
  if (null === (t2 = (function(e3) {
37153
- for (var t3 in h2) if (Object.prototype.hasOwnProperty.call(h2, t3) && h2[t3].magic === e3) return h2[t3];
37176
+ for (var t3 in h) if (Object.prototype.hasOwnProperty.call(h, t3) && h[t3].magic === e3) return h[t3];
37154
37177
  return null;
37155
37178
  })(this.compressionMethod))) throw new Error("Corrupted zip : compression " + s2.pretty(this.compressionMethod) + " unknown (inner file : " + s2.transformTo("string", this.fileName) + ")");
37156
37179
  this.decompressed = new i(this.compressedSize, this.uncompressedSize, this.crc32, t2, e2.readData(this.compressedSize));
@@ -37208,7 +37231,7 @@ function requireJszip_min() {
37208
37231
  function n(e2, t2, r22) {
37209
37232
  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 };
37210
37233
  }
37211
- var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h2 = e("./stream/GenericWorker");
37234
+ var s2 = e("./stream/StreamHelper"), i = e("./stream/DataWorker"), a = e("./utf8"), o = e("./compressedObject"), h = e("./stream/GenericWorker");
37212
37235
  n.prototype = { internalStream: function(e2) {
37213
37236
  var t2 = null, r22 = "string";
37214
37237
  try {
@@ -37218,7 +37241,7 @@ function requireJszip_min() {
37218
37241
  var i2 = !this._dataBinary;
37219
37242
  i2 && !n2 && (t2 = t2.pipe(new a.Utf8EncodeWorker())), !i2 && n2 && (t2 = t2.pipe(new a.Utf8DecodeWorker()));
37220
37243
  } catch (e3) {
37221
- (t2 = new h2("error")).error(e3);
37244
+ (t2 = new h("error")).error(e3);
37222
37245
  }
37223
37246
  return new s2(t2, r22, "");
37224
37247
  }, async: function(e2, t2) {
@@ -37230,7 +37253,7 @@ function requireJszip_min() {
37230
37253
  var r22 = this._decompressWorker();
37231
37254
  return this._dataBinary || (r22 = r22.pipe(new a.Utf8EncodeWorker())), o.createWorkerFrom(r22, e2, t2);
37232
37255
  }, _decompressWorker: function() {
37233
- return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h2 ? this._data : new i(this._data);
37256
+ return this._data instanceof o ? this._data.getContentWorker() : this._data instanceof h ? this._data : new i(this._data);
37234
37257
  } };
37235
37258
  for (var u = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], l3 = function() {
37236
37259
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
@@ -37258,18 +37281,18 @@ function requireJszip_min() {
37258
37281
  o.port2.postMessage(0);
37259
37282
  };
37260
37283
  }
37261
- var h2 = [];
37284
+ var h = [];
37262
37285
  function u() {
37263
37286
  var e3, t3;
37264
37287
  n = true;
37265
- for (var r22 = h2.length; r22; ) {
37266
- for (t3 = h2, h2 = [], e3 = -1; ++e3 < r22; ) t3[e3]();
37267
- r22 = h2.length;
37288
+ for (var r22 = h.length; r22; ) {
37289
+ for (t3 = h, h = [], e3 = -1; ++e3 < r22; ) t3[e3]();
37290
+ r22 = h.length;
37268
37291
  }
37269
37292
  n = false;
37270
37293
  }
37271
37294
  l3.exports = function(e3) {
37272
- 1 !== h2.push(e3) || n || r2();
37295
+ 1 !== h.push(e3) || n || r2();
37273
37296
  };
37274
37297
  }).call(this, "undefined" != typeof commonjsGlobal ? commonjsGlobal : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
37275
37298
  }, {}], 37: [function(e, t, r2) {
@@ -37281,7 +37304,7 @@ function requireJszip_min() {
37281
37304
  if ("function" != typeof e2) throw new TypeError("resolver must be a function");
37282
37305
  this.state = n, this.queue = [], this.outcome = void 0, e2 !== u && d2(this, e2);
37283
37306
  }
37284
- function h2(e2, t2, r22) {
37307
+ function h(e2, t2, r22) {
37285
37308
  this.promise = e2, "function" == typeof t2 && (this.onFulfilled = t2, this.callFulfilled = this.otherCallFulfilled), "function" == typeof r22 && (this.onRejected = r22, this.callRejected = this.otherCallRejected);
37286
37309
  }
37287
37310
  function f2(t2, r22, n2) {
@@ -37340,15 +37363,15 @@ function requireJszip_min() {
37340
37363
  }, o.prototype.then = function(e2, t2) {
37341
37364
  if ("function" != typeof e2 && this.state === a || "function" != typeof t2 && this.state === s2) return this;
37342
37365
  var r22 = new this.constructor(u);
37343
- this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h2(r22, e2, t2));
37366
+ this.state !== n ? f2(r22, this.state === a ? e2 : t2, this.outcome) : this.queue.push(new h(r22, e2, t2));
37344
37367
  return r22;
37345
- }, h2.prototype.callFulfilled = function(e2) {
37368
+ }, h.prototype.callFulfilled = function(e2) {
37346
37369
  l3.resolve(this.promise, e2);
37347
- }, h2.prototype.otherCallFulfilled = function(e2) {
37370
+ }, h.prototype.otherCallFulfilled = function(e2) {
37348
37371
  f2(this.promise, this.onFulfilled, e2);
37349
- }, h2.prototype.callRejected = function(e2) {
37372
+ }, h.prototype.callRejected = function(e2) {
37350
37373
  l3.reject(this.promise, e2);
37351
- }, h2.prototype.otherCallRejected = function(e2) {
37374
+ }, h.prototype.otherCallRejected = function(e2) {
37352
37375
  f2(this.promise, this.onRejected, e2);
37353
37376
  }, l3.resolve = function(e2, t2) {
37354
37377
  var r22 = p(c2, t2);
@@ -37376,9 +37399,9 @@ function requireJszip_min() {
37376
37399
  var n2 = e2.length, i2 = false;
37377
37400
  if (!n2) return this.resolve([]);
37378
37401
  var s22 = new Array(n2), a2 = 0, t2 = -1, o2 = new this(u);
37379
- for (; ++t2 < n2; ) h22(e2[t2], t2);
37402
+ for (; ++t2 < n2; ) h2(e2[t2], t2);
37380
37403
  return o2;
37381
- function h22(e3, t3) {
37404
+ function h2(e3, t3) {
37382
37405
  r22.resolve(e3).then(function(e4) {
37383
37406
  s22[t3] = e4, ++a2 !== n2 || i2 || (i2 = true, l3.resolve(o2, s22));
37384
37407
  }, function(e4) {
@@ -37403,7 +37426,7 @@ function requireJszip_min() {
37403
37426
  var n = {};
37404
37427
  (0, e("./lib/utils/common").assign)(n, e("./lib/deflate"), e("./lib/inflate"), e("./lib/zlib/constants")), t.exports = n;
37405
37428
  }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(e, t, r2) {
37406
- 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;
37429
+ 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;
37407
37430
  function p(e2) {
37408
37431
  if (!(this instanceof p)) return new p(e2);
37409
37432
  this.options = o.assign({ level: f2, method: d2, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: c2, to: "" }, e2 || {});
@@ -37413,7 +37436,7 @@ function requireJszip_min() {
37413
37436
  if (r22 !== l3) throw new Error(i[r22]);
37414
37437
  if (t2.header && a.deflateSetHeader(this.strm, t2.header), t2.dictionary) {
37415
37438
  var n2;
37416
- 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]);
37439
+ 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]);
37417
37440
  this._dict_set = true;
37418
37441
  }
37419
37442
  }
@@ -37425,10 +37448,10 @@ function requireJszip_min() {
37425
37448
  p.prototype.push = function(e2, t2) {
37426
37449
  var r22, n2, i2 = this.strm, s22 = this.options.chunkSize;
37427
37450
  if (this.ended) return false;
37428
- 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;
37451
+ 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;
37429
37452
  do {
37430
37453
  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);
37431
- 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)));
37454
+ 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)));
37432
37455
  } while ((0 < i2.avail_in || 0 === i2.avail_out) && 1 !== r22);
37433
37456
  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));
37434
37457
  }, p.prototype.onData = function(e2) {
@@ -37457,14 +37480,14 @@ function requireJszip_min() {
37457
37480
  return r22.result;
37458
37481
  }
37459
37482
  a.prototype.push = function(e2, t2) {
37460
- var r22, n2, i2, s22, a2, o2, h2 = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37483
+ var r22, n2, i2, s22, a2, o2, h = this.strm, u = this.options.chunkSize, l3 = this.options.dictionary, f2 = false;
37461
37484
  if (this.ended) return false;
37462
- 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;
37485
+ 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;
37463
37486
  do {
37464
- 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);
37465
- 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);
37466
- } while ((0 < h2.avail_in || 0 === h2.avail_out) && r22 !== m2.Z_STREAM_END);
37467
- 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));
37487
+ 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);
37488
+ 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);
37489
+ } while ((0 < h.avail_in || 0 === h.avail_out) && r22 !== m2.Z_STREAM_END);
37490
+ 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));
37468
37491
  }, a.prototype.onData = function(e2) {
37469
37492
  this.chunks.push(e2);
37470
37493
  }, a.prototype.onEnd = function(e2) {
@@ -37503,7 +37526,7 @@ function requireJszip_min() {
37503
37526
  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));
37504
37527
  }, r2.setTyped(n);
37505
37528
  }, {}], 42: [function(e, t, r2) {
37506
- var h2 = e("./common"), i = true, s2 = true;
37529
+ var h = e("./common"), i = true, s2 = true;
37507
37530
  try {
37508
37531
  String.fromCharCode.apply(null, [0]);
37509
37532
  } catch (e2) {
@@ -37514,21 +37537,21 @@ function requireJszip_min() {
37514
37537
  } catch (e2) {
37515
37538
  s2 = false;
37516
37539
  }
37517
- 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;
37540
+ 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;
37518
37541
  function l3(e2, t2) {
37519
- if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h2.shrinkBuf(e2, t2));
37542
+ if (t2 < 65537 && (e2.subarray && s2 || !e2.subarray && i)) return String.fromCharCode.apply(null, h.shrinkBuf(e2, t2));
37520
37543
  for (var r22 = "", n2 = 0; n2 < t2; n2++) r22 += String.fromCharCode(e2[n2]);
37521
37544
  return r22;
37522
37545
  }
37523
37546
  u[254] = u[254] = 1, r2.string2buf = function(e2) {
37524
37547
  var t2, r22, n2, i2, s22, a = e2.length, o = 0;
37525
37548
  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;
37526
- 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);
37549
+ 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);
37527
37550
  return t2;
37528
37551
  }, r2.buf2binstring = function(e2) {
37529
37552
  return l3(e2, e2.length);
37530
37553
  }, r2.binstring2buf = function(e2) {
37531
- for (var t2 = new h2.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37554
+ for (var t2 = new h.Buf8(e2.length), r22 = 0, n2 = t2.length; r22 < n2; r22++) t2[r22] = e2.charCodeAt(r22);
37532
37555
  return t2;
37533
37556
  }, r2.buf2string = function(e2, t2) {
37534
37557
  var r22, n2, i2, s22, a = t2 || e2.length, o = new Array(2 * a);
@@ -37570,11 +37593,11 @@ function requireJszip_min() {
37570
37593
  return -1 ^ e2;
37571
37594
  };
37572
37595
  }, {}], 46: [function(e, t, r2) {
37573
- 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;
37574
- function R2(e2, t2) {
37596
+ 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;
37597
+ function R(e2, t2) {
37575
37598
  return e2.msg = n[t2], t2;
37576
37599
  }
37577
- function T(e2) {
37600
+ function T2(e2) {
37578
37601
  return (e2 << 1) - (4 < e2 ? 9 : 0);
37579
37602
  }
37580
37603
  function D2(e2) {
@@ -37594,7 +37617,7 @@ function requireJszip_min() {
37594
37617
  e2.pending_buf[e2.pending++] = t2 >>> 8 & 255, e2.pending_buf[e2.pending++] = 255 & t2;
37595
37618
  }
37596
37619
  function L2(e2, t2) {
37597
- 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];
37620
+ 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];
37598
37621
  e2.prev_length >= e2.good_match && (i2 >>= 2), o2 > e2.lookahead && (o2 = e2.lookahead);
37599
37622
  do {
37600
37623
  if (u2[(r22 = t2) + a2] === p2 && u2[r22 + a2 - 1] === d22 && u2[r22] === u2[s22] && u2[++r22] === u2[s22 + 1]) {
@@ -37606,11 +37629,11 @@ function requireJszip_min() {
37606
37629
  d22 = u2[s22 + a2 - 1], p2 = u2[s22 + a2];
37607
37630
  }
37608
37631
  }
37609
- } while ((t2 = f22[t2 & l22]) > h22 && 0 != --i2);
37632
+ } while ((t2 = f22[t2 & l22]) > h2 && 0 != --i2);
37610
37633
  return a2 <= e2.lookahead ? a2 : e2.lookahead;
37611
37634
  }
37612
37635
  function j2(e2) {
37613
- var t2, r22, n2, i2, s22, a2, o2, h22, u2, l22, f22 = e2.w_size;
37636
+ var t2, r22, n2, i2, s22, a2, o2, h2, u2, l22, f22 = e2.w_size;
37614
37637
  do {
37615
37638
  if (i2 = e2.window_size - e2.lookahead - e2.strstart, e2.strstart >= f22 + (f22 - z2)) {
37616
37639
  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; ) ;
@@ -37618,7 +37641,7 @@ function requireJszip_min() {
37618
37641
  i2 += f22;
37619
37642
  }
37620
37643
  if (0 === e2.strm.avail_in) break;
37621
- 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)); ) ;
37644
+ 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)); ) ;
37622
37645
  } while (e2.lookahead < z2 && 0 !== e2.strm.avail_in);
37623
37646
  }
37624
37647
  function Z(e2, t2) {
@@ -37627,14 +37650,14 @@ function requireJszip_min() {
37627
37650
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37628
37651
  if (0 === e2.lookahead) break;
37629
37652
  }
37630
- 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) {
37631
- 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; ) ;
37653
+ 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) {
37654
+ 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; ) ;
37632
37655
  e2.strstart++;
37633
37656
  } 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;
37634
37657
  else n2 = u._tr_tally(e2, 0, e2.window[e2.strstart]), e2.lookahead--, e2.strstart++;
37635
37658
  if (n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37636
37659
  }
37637
- 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;
37660
+ 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;
37638
37661
  }
37639
37662
  function W2(e2, t2) {
37640
37663
  for (var r22, n2, i2; ; ) {
@@ -37642,14 +37665,14 @@ function requireJszip_min() {
37642
37665
  if (j2(e2), e2.lookahead < z2 && t2 === l3) return A2;
37643
37666
  if (0 === e2.lookahead) break;
37644
37667
  }
37645
- 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) {
37646
- 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; ) ;
37647
- if (e2.match_available = 0, e2.match_length = x - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37668
+ 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) {
37669
+ 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; ) ;
37670
+ if (e2.match_available = 0, e2.match_length = x2 - 1, e2.strstart++, n2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37648
37671
  } else if (e2.match_available) {
37649
37672
  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;
37650
37673
  } else e2.match_available = 1, e2.strstart++, e2.lookahead--;
37651
37674
  }
37652
- 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;
37675
+ 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;
37653
37676
  }
37654
37677
  function M2(e2, t2, r22, n2, i2) {
37655
37678
  this.good_length = e2, this.max_lazy = t2, this.nice_length = r22, this.max_chain = n2, this.func = i2;
@@ -37659,23 +37682,23 @@ function requireJszip_min() {
37659
37682
  }
37660
37683
  function G2(e2) {
37661
37684
  var t2;
37662
- 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);
37685
+ 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);
37663
37686
  }
37664
37687
  function K2(e2) {
37665
37688
  var t2 = G2(e2);
37666
37689
  return t2 === m2 && (function(e3) {
37667
- 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;
37690
+ 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;
37668
37691
  })(e2.state), t2;
37669
37692
  }
37670
37693
  function Y2(e2, t2, r22, n2, i2, s22) {
37671
37694
  if (!e2) return _2;
37672
37695
  var a2 = 1;
37673
- 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);
37696
+ 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);
37674
37697
  8 === n2 && (n2 = 9);
37675
37698
  var o2 = new H();
37676
- 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);
37699
+ 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);
37677
37700
  }
37678
- h2 = [new M2(0, 0, 0, 0, function(e2, t2) {
37701
+ h = [new M2(0, 0, 0, 0, function(e2, t2) {
37679
37702
  var r22 = 65535;
37680
37703
  for (r22 > e2.pending_buf_size - 5 && (r22 = e2.pending_buf_size - 5); ; ) {
37681
37704
  if (e2.lookahead <= 1) {
@@ -37687,15 +37710,15 @@ function requireJszip_min() {
37687
37710
  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;
37688
37711
  if (e2.strstart - e2.block_start >= e2.w_size - z2 && (N2(e2, false), 0 === e2.strm.avail_out)) return A2;
37689
37712
  }
37690
- 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);
37713
+ 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);
37691
37714
  }), 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) {
37692
37715
  return Y2(e2, t2, v2, 15, 8, 0);
37693
37716
  }, r2.deflateInit2 = Y2, r2.deflateReset = K2, r2.deflateResetKeep = G2, r2.deflateSetHeader = function(e2, t2) {
37694
37717
  return e2 && e2.state ? 2 !== e2.state.wrap ? _2 : (e2.state.gzhead = t2, m2) : _2;
37695
37718
  }, r2.deflate = function(e2, t2) {
37696
37719
  var r22, n2, i2, s22;
37697
- if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R2(e2, _2) : _2;
37698
- 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);
37720
+ if (!e2 || !e2.state || 5 < t2 || t2 < 0) return e2 ? R(e2, _2) : _2;
37721
+ 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);
37699
37722
  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);
37700
37723
  else {
37701
37724
  var a2 = v2 + (n2.w_bits - 8 << 4) << 8;
@@ -37729,8 +37752,8 @@ function requireJszip_min() {
37729
37752
  } else n2.status = 103;
37730
37753
  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) {
37731
37754
  if (F2(e2), 0 === e2.avail_out) return n2.last_flush = -1, m2;
37732
- } else if (0 === e2.avail_in && T(t2) <= T(r22) && t2 !== f2) return R2(e2, -5);
37733
- if (666 === n2.status && 0 !== e2.avail_in) return R2(e2, -5);
37755
+ } else if (0 === e2.avail_in && T2(t2) <= T2(r22) && t2 !== f2) return R(e2, -5);
37756
+ if (666 === n2.status && 0 !== e2.avail_in) return R(e2, -5);
37734
37757
  if (0 !== e2.avail_in || 0 !== n2.lookahead || t2 !== l3 && 666 !== n2.status) {
37735
37758
  var o2 = 2 === n2.strategy ? (function(e3, t3) {
37736
37759
  for (var r3; ; ) {
@@ -37740,39 +37763,39 @@ function requireJszip_min() {
37740
37763
  }
37741
37764
  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;
37742
37765
  }
37743
- 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;
37766
+ 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;
37744
37767
  })(n2, t2) : 3 === n2.strategy ? (function(e3, t3) {
37745
37768
  for (var r3, n3, i3, s3, a3 = e3.window; ; ) {
37746
37769
  if (e3.lookahead <= S2) {
37747
37770
  if (j2(e3), e3.lookahead <= S2 && t3 === l3) return A2;
37748
37771
  if (0 === e3.lookahead) break;
37749
37772
  }
37750
- 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]) {
37773
+ 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]) {
37751
37774
  s3 = e3.strstart + S2;
37752
37775
  do {
37753
37776
  } 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);
37754
37777
  e3.match_length = S2 - (s3 - i3), e3.match_length > e3.lookahead && (e3.match_length = e3.lookahead);
37755
37778
  }
37756
- 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;
37779
+ 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;
37757
37780
  }
37758
- 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;
37759
- })(n2, t2) : h2[n2.level].func(n2, t2);
37760
- if (o2 !== O2 && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O2) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37781
+ 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;
37782
+ })(n2, t2) : h[n2.level].func(n2, t2);
37783
+ if (o2 !== O && o2 !== B2 || (n2.status = 666), o2 === A2 || o2 === O) return 0 === e2.avail_out && (n2.last_flush = -1), m2;
37761
37784
  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;
37762
37785
  }
37763
37786
  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);
37764
37787
  }, r2.deflateEnd = function(e2) {
37765
37788
  var t2;
37766
- 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;
37789
+ 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;
37767
37790
  }, r2.deflateSetDictionary = function(e2, t2) {
37768
- var r22, n2, i2, s22, a2, o2, h22, u2, l22 = t2.length;
37791
+ var r22, n2, i2, s22, a2, o2, h2, u2, l22 = t2.length;
37769
37792
  if (!e2 || !e2.state) return _2;
37770
37793
  if (2 === (s22 = (r22 = e2.state).wrap) || 1 === s22 && r22.status !== C2 || r22.lookahead) return _2;
37771
- 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; ) {
37772
- 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; ) ;
37773
- r22.strstart = n2, r22.lookahead = x - 1, j2(r22);
37794
+ 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; ) {
37795
+ 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; ) ;
37796
+ r22.strstart = n2, r22.lookahead = x2 - 1, j2(r22);
37774
37797
  }
37775
- 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;
37798
+ 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;
37776
37799
  }, r2.deflateInfo = "pako deflate (from Nodeca project)";
37777
37800
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(e, t, r2) {
37778
37801
  t.exports = function() {
@@ -37780,8 +37803,8 @@ function requireJszip_min() {
37780
37803
  };
37781
37804
  }, {}], 48: [function(e, t, r2) {
37782
37805
  t.exports = function(e2, t2) {
37783
- 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;
37784
- 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;
37806
+ 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;
37807
+ 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;
37785
37808
  e: do {
37786
37809
  p < 15 && (d2 += z2[n++] << p, p += 8, d2 += z2[n++] << p, p += 8), v2 = m2[d2 & g];
37787
37810
  t: for (; ; ) {
@@ -37809,7 +37832,7 @@ function requireJszip_min() {
37809
37832
  e2.msg = "invalid distance code", r22.mode = 30;
37810
37833
  break e;
37811
37834
  }
37812
- 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)) {
37835
+ 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)) {
37813
37836
  e2.msg = "invalid distance too far back", r22.mode = 30;
37814
37837
  break e;
37815
37838
  }
@@ -37818,28 +37841,28 @@ function requireJszip_min() {
37818
37841
  e2.msg = "invalid distance too far back", r22.mode = 30;
37819
37842
  break e;
37820
37843
  }
37821
- if (S2 = c2, (x = 0) === f2) {
37822
- if (x += u - y2, y2 < w2) {
37823
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37824
- x = s2 - k2, S2 = C2;
37844
+ if (S2 = c2, (x2 = 0) === f2) {
37845
+ if (x2 += u - y2, y2 < w2) {
37846
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37847
+ x2 = s2 - k2, S2 = C2;
37825
37848
  }
37826
37849
  } else if (f2 < y2) {
37827
- if (x += u + f2 - y2, (y2 -= f2) < w2) {
37828
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37829
- if (x = 0, f2 < w2) {
37830
- for (w2 -= y2 = f2; C2[s2++] = c2[x++], --y2; ) ;
37831
- x = s2 - k2, S2 = C2;
37850
+ if (x2 += u + f2 - y2, (y2 -= f2) < w2) {
37851
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37852
+ if (x2 = 0, f2 < w2) {
37853
+ for (w2 -= y2 = f2; C2[s2++] = c2[x2++], --y2; ) ;
37854
+ x2 = s2 - k2, S2 = C2;
37832
37855
  }
37833
37856
  }
37834
- } else if (x += f2 - y2, y2 < w2) {
37835
- for (w2 -= y2; C2[s2++] = c2[x++], --y2; ) ;
37836
- x = s2 - k2, S2 = C2;
37857
+ } else if (x2 += f2 - y2, y2 < w2) {
37858
+ for (w2 -= y2; C2[s2++] = c2[x2++], --y2; ) ;
37859
+ x2 = s2 - k2, S2 = C2;
37837
37860
  }
37838
- for (; 2 < w2; ) C2[s2++] = S2[x++], C2[s2++] = S2[x++], C2[s2++] = S2[x++], w2 -= 3;
37839
- w2 && (C2[s2++] = S2[x++], 1 < w2 && (C2[s2++] = S2[x++]));
37861
+ for (; 2 < w2; ) C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], C2[s2++] = S2[x2++], w2 -= 3;
37862
+ w2 && (C2[s2++] = S2[x2++], 1 < w2 && (C2[s2++] = S2[x2++]));
37840
37863
  } else {
37841
- for (x = s2 - k2; C2[s2++] = C2[x++], C2[s2++] = C2[x++], C2[s2++] = C2[x++], 2 < (w2 -= 3); ) ;
37842
- w2 && (C2[s2++] = C2[x++], 1 < w2 && (C2[s2++] = C2[x++]));
37864
+ for (x2 = s2 - k2; C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], C2[s2++] = C2[x2++], 2 < (w2 -= 3); ) ;
37865
+ w2 && (C2[s2++] = C2[x2++], 1 < w2 && (C2[s2++] = C2[x2++]));
37843
37866
  }
37844
37867
  break;
37845
37868
  }
@@ -37850,7 +37873,7 @@ function requireJszip_min() {
37850
37873
  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;
37851
37874
  };
37852
37875
  }, {}], 49: [function(e, t, r2) {
37853
- 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;
37876
+ 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;
37854
37877
  function L2(e2) {
37855
37878
  return (e2 >>> 24 & 255) + (e2 >>> 8 & 65280) + ((65280 & e2) << 8) + ((255 & e2) << 24);
37856
37879
  }
@@ -37865,13 +37888,13 @@ function requireJszip_min() {
37865
37888
  var t2;
37866
37889
  return e2 && e2.state ? ((t2 = e2.state).wsize = 0, t2.whave = 0, t2.wnext = 0, a(e2)) : U2;
37867
37890
  }
37868
- function h2(e2, t2) {
37891
+ function h(e2, t2) {
37869
37892
  var r22, n2;
37870
37893
  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;
37871
37894
  }
37872
37895
  function u(e2, t2) {
37873
37896
  var r22, n2;
37874
- return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h2(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
37897
+ return e2 ? (n2 = new s2(), (e2.state = n2).window = null, (r22 = h(e2, t2)) !== N2 && (e2.state = null), r22) : U2;
37875
37898
  }
37876
37899
  var l3, f2, c2 = true;
37877
37900
  function j2(e2) {
@@ -37881,8 +37904,8 @@ function requireJszip_min() {
37881
37904
  for (; t2 < 256; ) e2.lens[t2++] = 9;
37882
37905
  for (; t2 < 280; ) e2.lens[t2++] = 7;
37883
37906
  for (; t2 < 288; ) e2.lens[t2++] = 8;
37884
- for (T(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
37885
- T(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
37907
+ for (T2(D2, e2.lens, 0, 288, l3, 0, e2.work, { bits: 9 }), t2 = 0; t2 < 32; ) e2.lens[t2++] = 5;
37908
+ T2(F2, e2.lens, 0, 32, f2, 0, e2.work, { bits: 5 }), c2 = false;
37886
37909
  }
37887
37910
  e2.lencode = l3, e2.lenbits = 9, e2.distcode = f2, e2.distbits = 5;
37888
37911
  }
@@ -37890,12 +37913,12 @@ function requireJszip_min() {
37890
37913
  var i2, s22 = e2.state;
37891
37914
  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;
37892
37915
  }
37893
- r2.inflateReset = o, r2.inflateReset2 = h2, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
37916
+ r2.inflateReset = o, r2.inflateReset2 = h, r2.inflateResetKeep = a, r2.inflateInit = function(e2) {
37894
37917
  return u(e2, 15);
37895
37918
  }, r2.inflateInit2 = u, r2.inflate = function(e2, t2) {
37896
- 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];
37919
+ 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];
37897
37920
  if (!e2 || !e2.state || !e2.output || !e2.input && 0 !== e2.avail_in) return U2;
37898
- 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;
37921
+ 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;
37899
37922
  e: for (; ; ) switch (r22.mode) {
37900
37923
  case P2:
37901
37924
  if (0 === r22.wrap) {
@@ -37998,7 +38021,7 @@ function requireJszip_min() {
37998
38021
  }
37999
38022
  e2.adler = r22.check = L2(u2), l22 = u2 = 0, r22.mode = 11;
38000
38023
  case 11:
38001
- 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;
38024
+ 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;
38002
38025
  e2.adler = r22.check = 1, r22.mode = 12;
38003
38026
  case 12:
38004
38027
  if (5 === t2 || 6 === t2) break e;
@@ -38041,8 +38064,8 @@ function requireJszip_min() {
38041
38064
  r22.mode = 16;
38042
38065
  case 16:
38043
38066
  if (d2 = r22.length) {
38044
- if (o2 < d2 && (d2 = o2), h22 < d2 && (d2 = h22), 0 === d2) break e;
38045
- I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h22 -= d2, a2 += d2, r22.length -= d2;
38067
+ if (o2 < d2 && (d2 = o2), h2 < d2 && (d2 = h2), 0 === d2) break e;
38068
+ I2.arraySet(i2, n2, s22, d2, a2), o2 -= d2, s22 += d2, h2 -= d2, a2 += d2, r22.length -= d2;
38046
38069
  break;
38047
38070
  }
38048
38071
  r22.mode = 12;
@@ -38066,7 +38089,7 @@ function requireJszip_min() {
38066
38089
  r22.lens[A2[r22.have++]] = 7 & u2, u2 >>>= 3, l22 -= 3;
38067
38090
  }
38068
38091
  for (; r22.have < 19; ) r22.lens[A2[r22.have++]] = 0;
38069
- 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) {
38092
+ 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) {
38070
38093
  e2.msg = "invalid code lengths set", r22.mode = 30;
38071
38094
  break;
38072
38095
  }
@@ -38114,11 +38137,11 @@ function requireJszip_min() {
38114
38137
  e2.msg = "invalid code -- missing end-of-block", r22.mode = 30;
38115
38138
  break;
38116
38139
  }
38117
- 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) {
38140
+ 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) {
38118
38141
  e2.msg = "invalid literal/lengths set", r22.mode = 30;
38119
38142
  break;
38120
38143
  }
38121
- 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) {
38144
+ 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) {
38122
38145
  e2.msg = "invalid distances set", r22.mode = 30;
38123
38146
  break;
38124
38147
  }
@@ -38126,8 +38149,8 @@ function requireJszip_min() {
38126
38149
  case 20:
38127
38150
  r22.mode = 21;
38128
38151
  case 21:
38129
- if (6 <= o2 && 258 <= h22) {
38130
- 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);
38152
+ if (6 <= o2 && 258 <= h2) {
38153
+ 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);
38131
38154
  break;
38132
38155
  }
38133
38156
  for (r22.back = 0; g = (C2 = r22.lencode[u2 & (1 << r22.lenbits) - 1]) >>> 16 & 255, b2 = 65535 & C2, !((_2 = C2 >>> 24) <= l22); ) {
@@ -38194,20 +38217,20 @@ function requireJszip_min() {
38194
38217
  }
38195
38218
  r22.mode = 25;
38196
38219
  case 25:
38197
- if (0 === h22) break e;
38198
- if (d2 = c22 - h22, r22.offset > d2) {
38220
+ if (0 === h2) break e;
38221
+ if (d2 = c22 - h2, r22.offset > d2) {
38199
38222
  if ((d2 = r22.offset - d2) > r22.whave && r22.sane) {
38200
38223
  e2.msg = "invalid distance too far back", r22.mode = 30;
38201
38224
  break;
38202
38225
  }
38203
38226
  p = d2 > r22.wnext ? (d2 -= r22.wnext, r22.wsize - d2) : r22.wnext - d2, d2 > r22.length && (d2 = r22.length), m2 = r22.window;
38204
38227
  } else m2 = i2, p = a2 - r22.offset, d2 = r22.length;
38205
- for (h22 < d2 && (d2 = h22), h22 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
38228
+ for (h2 < d2 && (d2 = h2), h2 -= d2, r22.length -= d2; i2[a2++] = m2[p++], --d2; ) ;
38206
38229
  0 === r22.length && (r22.mode = 21);
38207
38230
  break;
38208
38231
  case 26:
38209
- if (0 === h22) break e;
38210
- i2[a2++] = r22.length, h22--, r22.mode = 21;
38232
+ if (0 === h2) break e;
38233
+ i2[a2++] = r22.length, h2--, r22.mode = 21;
38211
38234
  break;
38212
38235
  case 27:
38213
38236
  if (r22.wrap) {
@@ -38215,7 +38238,7 @@ function requireJszip_min() {
38215
38238
  if (0 === o2) break e;
38216
38239
  o2--, u2 |= n2[s22++] << l22, l22 += 8;
38217
38240
  }
38218
- 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) {
38241
+ 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) {
38219
38242
  e2.msg = "incorrect data check", r22.mode = 30;
38220
38243
  break;
38221
38244
  }
@@ -38236,10 +38259,10 @@ function requireJszip_min() {
38236
38259
  }
38237
38260
  r22.mode = 29;
38238
38261
  case 29:
38239
- x = 1;
38262
+ x2 = 1;
38240
38263
  break e;
38241
38264
  case 30:
38242
- x = -3;
38265
+ x2 = -3;
38243
38266
  break e;
38244
38267
  case 31:
38245
38268
  return -4;
@@ -38247,7 +38270,7 @@ function requireJszip_min() {
38247
38270
  default:
38248
38271
  return U2;
38249
38272
  }
38250
- 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);
38273
+ 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);
38251
38274
  }, r2.inflateEnd = function(e2) {
38252
38275
  if (!e2 || !e2.state) return U2;
38253
38276
  var t2 = e2.state;
@@ -38257,33 +38280,33 @@ function requireJszip_min() {
38257
38280
  return e2 && e2.state ? 0 == (2 & (r22 = e2.state).wrap) ? U2 : ((r22.head = t2).done = false, N2) : U2;
38258
38281
  }, r2.inflateSetDictionary = function(e2, t2) {
38259
38282
  var r22, n2 = t2.length;
38260
- 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;
38283
+ 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;
38261
38284
  }, r2.inflateInfo = "pako inflate (from Nodeca project)";
38262
38285
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(e, t, r2) {
38263
38286
  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];
38264
38287
  t.exports = function(e2, t2, r22, n, i, s2, a, o) {
38265
- 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;
38266
- for (b2 = 0; b2 <= 15; b2++) O2[b2] = 0;
38267
- for (v2 = 0; v2 < n; v2++) O2[t2[r22 + v2]]++;
38268
- for (k2 = g, w2 = 15; 1 <= w2 && 0 === O2[w2]; w2--) ;
38288
+ 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;
38289
+ for (b2 = 0; b2 <= 15; b2++) O[b2] = 0;
38290
+ for (v2 = 0; v2 < n; v2++) O[t2[r22 + v2]]++;
38291
+ for (k2 = g, w2 = 15; 1 <= w2 && 0 === O[w2]; w2--) ;
38269
38292
  if (w2 < k2 && (k2 = w2), 0 === w2) return i[s2++] = 20971520, i[s2++] = 20971520, o.bits = 1, 0;
38270
- for (y2 = 1; y2 < w2 && 0 === O2[y2]; y2++) ;
38271
- for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O2[b2]) < 0) return -1;
38293
+ for (y2 = 1; y2 < w2 && 0 === O[y2]; y2++) ;
38294
+ for (k2 < y2 && (k2 = y2), b2 = z2 = 1; b2 <= 15; b2++) if (z2 <<= 1, (z2 -= O[b2]) < 0) return -1;
38272
38295
  if (0 < z2 && (0 === e2 || 1 !== w2)) return -1;
38273
- for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O2[b2];
38296
+ for (B2[1] = 0, b2 = 1; b2 < 15; b2++) B2[b2 + 1] = B2[b2] + O[b2];
38274
38297
  for (v2 = 0; v2 < n; v2++) 0 !== t2[r22 + v2] && (a[B2[t2[r22 + v2]]++] = v2);
38275
- 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;
38298
+ 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;
38276
38299
  for (; ; ) {
38277
- 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; ) ;
38278
- for (h2 = 1 << b2 - 1; E2 & h2; ) h2 >>= 1;
38279
- if (0 !== h2 ? (E2 &= h2 - 1, E2 += h2) : E2 = 0, v2++, 0 == --O2[b2]) {
38300
+ 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; ) ;
38301
+ for (h = 1 << b2 - 1; E2 & h; ) h >>= 1;
38302
+ if (0 !== h ? (E2 &= h - 1, E2 += h) : E2 = 0, v2++, 0 == --O[b2]) {
38280
38303
  if (b2 === w2) break;
38281
38304
  b2 = t2[r22 + a[v2]];
38282
38305
  }
38283
38306
  if (k2 < b2 && (E2 & f2) !== l3) {
38284
- for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x = b2 - S2); x + S2 < w2 && !((z2 -= O2[x + S2]) <= 0); ) x++, z2 <<= 1;
38285
- if (C2 += 1 << x, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38286
- i[l3 = E2 & f2] = k2 << 24 | x << 16 | c2 - s2 | 0;
38307
+ for (0 === S2 && (S2 = k2), c2 += y2, z2 = 1 << (x2 = b2 - S2); x2 + S2 < w2 && !((z2 -= O[x2 + S2]) <= 0); ) x2++, z2 <<= 1;
38308
+ if (C2 += 1 << x2, 1 === e2 && 852 < C2 || 2 === e2 && 592 < C2) return 1;
38309
+ i[l3 = E2 & f2] = k2 << 24 | x2 << 16 | c2 - s2 | 0;
38287
38310
  }
38288
38311
  }
38289
38312
  return 0 !== E2 && (i[c2 + E2] = b2 - S2 << 24 | 64 << 16 | 0), o.bits = k2, 0;
@@ -38291,11 +38314,11 @@ function requireJszip_min() {
38291
38314
  }, { "../utils/common": 41 }], 51: [function(e, t, r2) {
38292
38315
  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" };
38293
38316
  }, {}], 52: [function(e, t, r2) {
38294
- var i = e("../utils/common"), o = 0, h2 = 1;
38317
+ var i = e("../utils/common"), o = 0, h = 1;
38295
38318
  function n(e2) {
38296
38319
  for (var t2 = e2.length; 0 <= --t2; ) e2[t2] = 0;
38297
38320
  }
38298
- 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));
38321
+ 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));
38299
38322
  n(z2);
38300
38323
  var C2 = new Array(2 * f2);
38301
38324
  n(C2);
@@ -38305,7 +38328,7 @@ function requireJszip_min() {
38305
38328
  n(A2);
38306
38329
  var I2 = new Array(a);
38307
38330
  n(I2);
38308
- var O2, B2, R2, T = new Array(f2);
38331
+ var O, B2, R, T2 = new Array(f2);
38309
38332
  function D2(e2, t2, r22, n2, i2) {
38310
38333
  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;
38311
38334
  }
@@ -38356,15 +38379,15 @@ function requireJszip_min() {
38356
38379
  }
38357
38380
  function K2(e2, t2, r22) {
38358
38381
  var n2, i2, s22, a2, o2 = 0;
38359
- 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; ) ;
38382
+ 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; ) ;
38360
38383
  L2(e2, m2, t2);
38361
38384
  }
38362
38385
  function Y2(e2, t2) {
38363
- 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;
38364
- 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;
38386
+ 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;
38387
+ 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;
38365
38388
  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]);
38366
38389
  for (t2.max_code = u2, r22 = e2.heap_len >> 1; 1 <= r22; r22--) G2(e2, s22, r22);
38367
- 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; ) ;
38390
+ 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; ) ;
38368
38391
  e2.heap[--e2.heap_max] = e2.heap[1], (function(e3, t3) {
38369
38392
  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;
38370
38393
  for (s3 = 0; s3 <= g; s3++) e3.bl_count[s3] = 0;
@@ -38379,18 +38402,18 @@ function requireJszip_min() {
38379
38402
  })(e2, t2), Z(s22, u2, e2.bl_count);
38380
38403
  }
38381
38404
  function X2(e2, t2, r22) {
38382
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38383
- 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));
38405
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38406
+ 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));
38384
38407
  }
38385
38408
  function V2(e2, t2, r22) {
38386
- var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h22 = 7, u2 = 4;
38387
- 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)) {
38409
+ var n2, i2, s22 = -1, a2 = t2[1], o2 = 0, h2 = 7, u2 = 4;
38410
+ 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)) {
38388
38411
  if (o2 < u2) for (; L2(e2, i2, e2.bl_tree), 0 != --o2; ) ;
38389
38412
  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));
38390
- s22 = i2, u2 = (o2 = 0) === a2 ? (h22 = 138, 3) : i2 === a2 ? (h22 = 6, 3) : (h22 = 7, 4);
38413
+ s22 = i2, u2 = (o2 = 0) === a2 ? (h2 = 138, 3) : i2 === a2 ? (h2 = 6, 3) : (h2 = 7, 4);
38391
38414
  }
38392
38415
  }
38393
- n(T);
38416
+ n(T2);
38394
38417
  var q2 = false;
38395
38418
  function J2(e2, t2, r22, n2) {
38396
38419
  P2(e2, (s2 << 1) + (n2 ? 1 : 0), 3), (function(e3, t3, r3, n3) {
@@ -38401,23 +38424,23 @@ function requireJszip_min() {
38401
38424
  q2 || ((function() {
38402
38425
  var e3, t2, r22, n2, i2, s22 = new Array(g + 1);
38403
38426
  for (n2 = r22 = 0; n2 < a - 1; n2++) for (I2[n2] = r22, e3 = 0; e3 < 1 << w2[n2]; e3++) A2[r22++] = n2;
38404
- 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;
38405
- for (i2 >>= 7; n2 < f2; n2++) for (T[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38427
+ 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;
38428
+ for (i2 >>= 7; n2 < f2; n2++) for (T2[n2] = i2 << 7, e3 = 0; e3 < 1 << k2[n2] - 7; e3++) E2[256 + i2++] = n2;
38406
38429
  for (t2 = 0; t2 <= g; t2++) s22[t2] = 0;
38407
38430
  for (e3 = 0; e3 <= 143; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38408
38431
  for (; e3 <= 255; ) z2[2 * e3 + 1] = 9, e3++, s22[9]++;
38409
38432
  for (; e3 <= 279; ) z2[2 * e3 + 1] = 7, e3++, s22[7]++;
38410
38433
  for (; e3 <= 287; ) z2[2 * e3 + 1] = 8, e3++, s22[8]++;
38411
38434
  for (Z(z2, l3 + 1, s22), e3 = 0; e3 < f2; e3++) C2[2 * e3 + 1] = 5, C2[2 * e3] = j2(e3, 5);
38412
- 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);
38413
- })(), 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);
38435
+ 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);
38436
+ })(), 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);
38414
38437
  }, r2._tr_stored_block = J2, r2._tr_flush_block = function(e2, t2, r22, n2) {
38415
38438
  var i2, s22, a2 = 0;
38416
38439
  0 < e2.level ? (2 === e2.strm.data_type && (e2.strm.data_type = (function(e3) {
38417
38440
  var t3, r3 = 4093624447;
38418
38441
  for (t3 = 0; t3 <= 31; t3++, r3 >>>= 1) if (1 & r3 && 0 !== e3.dyn_ltree[2 * t3]) return o;
38419
- if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h2;
38420
- for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h2;
38442
+ if (0 !== e3.dyn_ltree[18] || 0 !== e3.dyn_ltree[20] || 0 !== e3.dyn_ltree[26]) return h;
38443
+ for (t3 = 32; t3 < u; t3++) if (0 !== e3.dyn_ltree[2 * t3]) return h;
38421
38444
  return o;
38422
38445
  })(e2)), Y2(e2, e2.l_desc), Y2(e2, e2.d_desc), a2 = (function(e3) {
38423
38446
  var t3;
@@ -38443,7 +38466,7 @@ function requireJszip_min() {
38443
38466
  (function(e2) {
38444
38467
  !(function(r22, n) {
38445
38468
  if (!r22.setImmediate) {
38446
- var i, s2, t2, a, o = 1, h2 = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38469
+ var i, s2, t2, a, o = 1, h = {}, u = false, l3 = r22.document, e3 = Object.getPrototypeOf && Object.getPrototypeOf(r22);
38447
38470
  e3 = e3 && e3.setTimeout ? e3 : r22, i = "[object process]" === {}.toString.call(r22.process) ? function(e4) {
38448
38471
  process$1$1.nextTick(function() {
38449
38472
  c2(e4);
@@ -38472,16 +38495,16 @@ function requireJszip_min() {
38472
38495
  "function" != typeof e4 && (e4 = new Function("" + e4));
38473
38496
  for (var t3 = new Array(arguments.length - 1), r3 = 0; r3 < t3.length; r3++) t3[r3] = arguments[r3 + 1];
38474
38497
  var n2 = { callback: e4, args: t3 };
38475
- return h2[o] = n2, i(o), o++;
38498
+ return h[o] = n2, i(o), o++;
38476
38499
  }, e3.clearImmediate = f2;
38477
38500
  }
38478
38501
  function f2(e4) {
38479
- delete h2[e4];
38502
+ delete h[e4];
38480
38503
  }
38481
38504
  function c2(e4) {
38482
38505
  if (u) setTimeout(c2, 0, e4);
38483
38506
  else {
38484
- var t3 = h2[e4];
38507
+ var t3 = h[e4];
38485
38508
  if (t3) {
38486
38509
  u = true;
38487
38510
  try {
@@ -39330,7 +39353,7 @@ function history(config2 = {}) {
39330
39353
  beforeinput(view, e) {
39331
39354
  let inputType = e.inputType;
39332
39355
  let command2 = inputType == "historyUndo" ? undo$1 : inputType == "historyRedo" ? redo$1 : null;
39333
- if (!command2)
39356
+ if (!command2 || !view.editable)
39334
39357
  return false;
39335
39358
  e.preventDefault();
39336
39359
  return command2(view.state, view.dispatch);
@@ -39486,17 +39509,17 @@ function deepActiveElement(doc2) {
39486
39509
  elt = elt.shadowRoot.activeElement;
39487
39510
  return elt;
39488
39511
  }
39489
- function caretFromPoint(doc2, x, y2) {
39512
+ function caretFromPoint(doc2, x2, y2) {
39490
39513
  if (doc2.caretPositionFromPoint) {
39491
39514
  try {
39492
- let pos = doc2.caretPositionFromPoint(x, y2);
39515
+ let pos = doc2.caretPositionFromPoint(x2, y2);
39493
39516
  if (pos)
39494
39517
  return { node: pos.offsetNode, offset: Math.min(nodeSize(pos.offsetNode), pos.offset) };
39495
39518
  } catch (_2) {
39496
39519
  }
39497
39520
  }
39498
39521
  if (doc2.caretRangeFromPoint) {
39499
- let range2 = doc2.caretRangeFromPoint(x, y2);
39522
+ let range2 = doc2.caretRangeFromPoint(x2, y2);
39500
39523
  if (range2)
39501
39524
  return { node: range2.startContainer, offset: Math.min(nodeSize(range2.startContainer), range2.startOffset) };
39502
39525
  }
@@ -39595,8 +39618,8 @@ function scrollRectIntoView(view, rect, startDOM) {
39595
39618
  function storeScrollPos(view) {
39596
39619
  let rect = view.dom.getBoundingClientRect(), startY = Math.max(0, rect.top);
39597
39620
  let refDOM, refTop;
39598
- for (let x = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39599
- let dom = view.root.elementFromPoint(x, y2);
39621
+ for (let x2 = (rect.left + rect.right) / 2, y2 = startY + 1; y2 < Math.min(innerHeight, rect.bottom); y2 += 5) {
39622
+ let dom = view.root.elementFromPoint(x2, y2);
39600
39623
  if (!dom || dom == view.dom || !view.dom.contains(dom))
39601
39624
  continue;
39602
39625
  let localRect = dom.getBoundingClientRect();
@@ -39892,8 +39915,8 @@ function coordsAtPos(view, pos, side) {
39892
39915
  function flattenV(rect, left2) {
39893
39916
  if (rect.width == 0)
39894
39917
  return rect;
39895
- let x = left2 ? rect.left : rect.right;
39896
- return { top: rect.top, bottom: rect.bottom, left: x, right: x };
39918
+ let x2 = left2 ? rect.left : rect.right;
39919
+ return { top: rect.top, bottom: rect.bottom, left: x2, right: x2 };
39897
39920
  }
39898
39921
  function flattenH(rect, top2) {
39899
39922
  if (rect.height == 0)
@@ -44900,10 +44923,10 @@ const createTimeoutClass = (clearFunction) => class TT {
44900
44923
  const Timeout = createTimeoutClass(clearTimeout);
44901
44924
  const timeout = (timeout2, callback) => new Timeout(setTimeout(callback, timeout2));
44902
44925
  const rotr = (w2, shift2) => w2 >>> shift2 | w2 << 32 - shift2;
44903
- const sum0to256 = (x) => rotr(x, 2) ^ rotr(x, 13) ^ rotr(x, 22);
44904
- const sum1to256 = (x) => rotr(x, 6) ^ rotr(x, 11) ^ rotr(x, 25);
44905
- const sigma0to256 = (x) => rotr(x, 7) ^ rotr(x, 18) ^ x >>> 3;
44906
- const sigma1to256 = (x) => rotr(x, 17) ^ rotr(x, 19) ^ x >>> 10;
44926
+ const sum0to256 = (x2) => rotr(x2, 2) ^ rotr(x2, 13) ^ rotr(x2, 22);
44927
+ const sum1to256 = (x2) => rotr(x2, 6) ^ rotr(x2, 11) ^ rotr(x2, 25);
44928
+ const sigma0to256 = (x2) => rotr(x2, 7) ^ rotr(x2, 18) ^ x2 >>> 3;
44929
+ const sigma1to256 = (x2) => rotr(x2, 17) ^ rotr(x2, 19) ^ x2 >>> 10;
44907
44930
  const K = new Uint32Array([
44908
44931
  1116352408,
44909
44932
  1899447441,
@@ -45000,11 +45023,11 @@ class Hasher {
45000
45023
  let e = H[4];
45001
45024
  let f2 = H[5];
45002
45025
  let g = H[6];
45003
- let h2 = H[7];
45026
+ let h = H[7];
45004
45027
  for (let tt = 0, T1, T2; tt < 64; tt++) {
45005
- T1 = h2 + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
45028
+ T1 = h + sum1to256(e) + (e & f2 ^ ~e & g) + K[tt] + W2[tt] >>> 0;
45006
45029
  T2 = sum0to256(a) + (a & b2 ^ a & c2 ^ b2 & c2) >>> 0;
45007
- h2 = g;
45030
+ h = g;
45008
45031
  g = f2;
45009
45032
  f2 = e;
45010
45033
  e = d2 + T1 >>> 0;
@@ -45020,7 +45043,7 @@ class Hasher {
45020
45043
  H[4] += e;
45021
45044
  H[5] += f2;
45022
45045
  H[6] += g;
45023
- H[7] += h2;
45046
+ H[7] += h;
45024
45047
  }
45025
45048
  /**
45026
45049
  * Returns a 32-byte hash.
@@ -53818,7 +53841,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
53818
53841
  { default: remarkStringify },
53819
53842
  { default: remarkGfm }
53820
53843
  ] = await Promise.all([
53821
- Promise.resolve().then(() => require("./index-373DqHu6-CPe3gPzf.cjs")),
53844
+ Promise.resolve().then(() => require("./index-DldNo6-E-B0LsewRn.cjs")),
53822
53845
  Promise.resolve().then(() => require("./index-DRCvimau-H4Ck3S9a.cjs")),
53823
53846
  Promise.resolve().then(() => require("./index-C_x_N6Uh-Db3CUJMX.cjs")),
53824
53847
  Promise.resolve().then(() => require("./index-D_sWOSiG-BtDZzJ6I.cjs")),
@@ -54036,7 +54059,7 @@ const _Editor = class _Editor2 extends EventEmitter$1 {
54036
54059
  * @returns {Object | void} Migration results
54037
54060
  */
54038
54061
  processCollaborationMigrations() {
54039
- console.debug("[checkVersionMigrations] Current editor version", "0.29.0");
54062
+ console.debug("[checkVersionMigrations] Current editor version", "0.29.1");
54040
54063
  if (!this.options.ydoc) return;
54041
54064
  const metaMap = this.options.ydoc.getMap("meta");
54042
54065
  let docVersion = metaMap.get("version");
@@ -55910,16 +55933,16 @@ function getCursorPositionRelativeToContainer(view, eventLocation) {
55910
55933
  const { state: state2, dom } = view;
55911
55934
  const { selection } = state2;
55912
55935
  const containerRect = dom.getBoundingClientRect();
55913
- let x, y2;
55936
+ let x2, y2;
55914
55937
  if (typeof eventLocation.clientX === "number" && typeof eventLocation.clientY === "number") {
55915
- x = eventLocation.clientX - containerRect.left;
55938
+ x2 = eventLocation.clientX - containerRect.left;
55916
55939
  y2 = eventLocation.clientY - containerRect.top;
55917
55940
  } else {
55918
55941
  const cursorCoords = view.coordsAtPos(selection.from);
55919
- x = cursorCoords.left - containerRect.left;
55942
+ x2 = cursorCoords.left - containerRect.left;
55920
55943
  y2 = cursorCoords.top - containerRect.top;
55921
55944
  }
55922
- return { left: x, top: y2 };
55945
+ return { left: x2, top: y2 };
55923
55946
  }
55924
55947
  const SlashMenuPluginKey = new PluginKey("slashMenu");
55925
55948
  const SlashMenu = Extension.create({
@@ -56198,17 +56221,17 @@ class StructuredContentViewBase {
56198
56221
  if (!this.dom || this.contentDOM?.contains(target) || !dragHandle) {
56199
56222
  return;
56200
56223
  }
56201
- let x = 0;
56224
+ let x2 = 0;
56202
56225
  let y2 = 0;
56203
56226
  if (this.dom !== dragHandle) {
56204
56227
  const domBox = this.dom.getBoundingClientRect();
56205
56228
  const handleBox = dragHandle.getBoundingClientRect();
56206
56229
  const offsetX = event.offsetX ?? event.nativeEvent?.offsetX;
56207
56230
  const offsetY = event.offsetY ?? event.nativeEvent?.offsetY;
56208
- x = handleBox.x - domBox.x + offsetX;
56231
+ x2 = handleBox.x - domBox.x + offsetX;
56209
56232
  y2 = handleBox.y - domBox.y + offsetY;
56210
56233
  }
56211
- event.dataTransfer?.setDragImage(this.dom, x, y2);
56234
+ event.dataTransfer?.setDragImage(this.dom, x2, y2);
56212
56235
  const pos = this.getPos();
56213
56236
  if (typeof pos !== "number") {
56214
56237
  return;
@@ -60723,16 +60746,16 @@ function computeMap(table) {
60723
60746
  if (i == rowNode.childCount) break;
60724
60747
  const cellNode = rowNode.child(i);
60725
60748
  const { colspan, rowspan, colwidth } = cellNode.attrs;
60726
- for (let h2 = 0; h2 < rowspan; h2++) {
60727
- if (h2 + row >= height) {
60749
+ for (let h = 0; h < rowspan; h++) {
60750
+ if (h + row >= height) {
60728
60751
  (problems || (problems = [])).push({
60729
60752
  type: "overlong_rowspan",
60730
60753
  pos,
60731
- n: rowspan - h2
60754
+ n: rowspan - h
60732
60755
  });
60733
60756
  break;
60734
60757
  }
60735
- const start2 = mapPos + h2 * width;
60758
+ const start2 = mapPos + h * width;
60736
60759
  for (let w2 = 0; w2 < colspan; w2++) {
60737
60760
  if (map22[start2 + w2] == 0) map22[start2 + w2] = pos;
60738
60761
  else
@@ -64299,24 +64322,24 @@ function parseToRgba(color) {
64299
64322
  const reducedHexMatch = reducedHexRegex.exec(normalizedColor);
64300
64323
  if (reducedHexMatch) {
64301
64324
  const arr = Array.from(reducedHexMatch).slice(1);
64302
- return [...arr.slice(0, 3).map((x) => parseInt(r$1(x, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64325
+ return [...arr.slice(0, 3).map((x2) => parseInt(r$1(x2, 2), 16)), parseInt(r$1(arr[3] || "f", 2), 16) / 255];
64303
64326
  }
64304
64327
  const hexMatch = hexRegex$1.exec(normalizedColor);
64305
64328
  if (hexMatch) {
64306
64329
  const arr = Array.from(hexMatch).slice(1);
64307
- return [...arr.slice(0, 3).map((x) => parseInt(x, 16)), parseInt(arr[3] || "ff", 16) / 255];
64330
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 16)), parseInt(arr[3] || "ff", 16) / 255];
64308
64331
  }
64309
64332
  const rgbaMatch = rgbaRegex$1.exec(normalizedColor);
64310
64333
  if (rgbaMatch) {
64311
64334
  const arr = Array.from(rgbaMatch).slice(1);
64312
- return [...arr.slice(0, 3).map((x) => parseInt(x, 10)), parseFloat(arr[3] || "1")];
64335
+ return [...arr.slice(0, 3).map((x2) => parseInt(x2, 10)), parseFloat(arr[3] || "1")];
64313
64336
  }
64314
64337
  const hslaMatch = hslaRegex$1.exec(normalizedColor);
64315
64338
  if (hslaMatch) {
64316
- const [h2, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
64339
+ const [h, s2, l3, a] = Array.from(hslaMatch).slice(1).map(parseFloat);
64317
64340
  if (guard(0, 100, s2) !== s2) throw new ColorError$1(color);
64318
64341
  if (guard(0, 100, l3) !== l3) throw new ColorError$1(color);
64319
- return [...hslToRgb(h2, s2, l3), Number.isNaN(a) ? 1 : a];
64342
+ return [...hslToRgb(h, s2, l3), Number.isNaN(a) ? 1 : a];
64320
64343
  }
64321
64344
  throw new ColorError$1(color);
64322
64345
  }
@@ -64328,7 +64351,7 @@ function hash$2(str) {
64328
64351
  }
64329
64352
  return (hash2 >>> 0) % 2341;
64330
64353
  }
64331
- const colorToInt = (x) => parseInt(x.replace(/_/g, ""), 36);
64354
+ const colorToInt = (x2) => parseInt(x2.replace(/_/g, ""), 36);
64332
64355
  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) => {
64333
64356
  const key2 = colorToInt(next.substring(0, 3));
64334
64357
  const hex2 = colorToInt(next.substring(3)).toString(16);
@@ -64392,9 +64415,9 @@ const hslToRgb = (hue, saturation, lightness) => {
64392
64415
  };
64393
64416
  function toHex(color) {
64394
64417
  const [r2, g, b2, a] = parseToRgba(color);
64395
- let hex2 = (x) => {
64396
- const h2 = guard(0, 255, x).toString(16);
64397
- return h2.length === 1 ? `0${h2}` : h2;
64418
+ let hex2 = (x2) => {
64419
+ const h = guard(0, 255, x2).toString(16);
64420
+ return h.length === 1 ? `0${h}` : h;
64398
64421
  };
64399
64422
  return `#${hex2(r2)}${hex2(g)}${hex2(b2)}${a < 1 ? hex2(Math.round(a * 255)) : ""}`;
64400
64423
  }
@@ -66252,14 +66275,14 @@ const getNormalizedImageAttrs = (attrs = {}) => {
66252
66275
  marginOffset: normalizeMarginOffset(attrs.marginOffset ?? {})
66253
66276
  };
66254
66277
  };
66255
- const getRotationMargins = (w2, h2, angleDegrees) => {
66278
+ const getRotationMargins = (w2, h, angleDegrees) => {
66256
66279
  const rad = angleDegrees * (Math.PI / 180);
66257
66280
  const cos = Math.abs(Math.cos(rad));
66258
66281
  const sin = Math.abs(Math.sin(rad));
66259
- const boundingWidth = w2 * cos + h2 * sin;
66260
- const boundingHeight = w2 * sin + h2 * cos;
66282
+ const boundingWidth = w2 * cos + h * sin;
66283
+ const boundingHeight = w2 * sin + h * cos;
66261
66284
  const marginLeftRight = Math.round(Math.max(0, (boundingWidth - w2) / 2));
66262
- const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h2) / 2));
66285
+ const marginTopBottom = Math.round(Math.max(0, (boundingHeight - h) / 2));
66263
66286
  return {
66264
66287
  horizontal: marginLeftRight,
66265
66288
  vertical: marginTopBottom
@@ -66497,10 +66520,10 @@ const Image = Node$1.create({
66497
66520
  let minX = 0;
66498
66521
  let minY = 0;
66499
66522
  let maxY = 0;
66500
- attrs.polygon.forEach(([x, y2]) => {
66501
- if (floatRight && x < horizontalOffset) horizontalOffset = x;
66502
- if (x > maxX) maxX = x;
66503
- if (x < minX) minX = x;
66523
+ attrs.polygon.forEach(([x2, y2]) => {
66524
+ if (floatRight && x2 < horizontalOffset) horizontalOffset = x2;
66525
+ if (x2 > maxX) maxX = x2;
66526
+ if (x2 < minX) minX = x2;
66504
66527
  if (y2 > maxY) maxY = y2;
66505
66528
  if (y2 < minY) minY = y2;
66506
66529
  });
@@ -66509,7 +66532,7 @@ const Image = Node$1.create({
66509
66532
  const scaleWidth = Math.min(1, size2.width / originalWidth);
66510
66533
  const scaleHeight = Math.min(1, size2.height / originalHeight);
66511
66534
  const verticalOffset = Math.max(0, marginOffset.top);
66512
- const points = attrs.polygon.map(([x, y2]) => `${horizontalOffset + x * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66535
+ const points = attrs.polygon.map(([x2, y2]) => `${horizontalOffset + x2 * scaleWidth}px ${verticalOffset + y2 * scaleHeight}px`).join(", ");
66513
66536
  style2 += `shape-outside: polygon(${points});`;
66514
66537
  }
66515
66538
  break;
@@ -71644,7 +71667,7 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
71644
71667
  }
71645
71668
  var _ref = isElement$2(element) ? getWindow$1(element) : window, visualViewport = _ref.visualViewport;
71646
71669
  var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
71647
- var x = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
71670
+ var x2 = (clientRect2.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
71648
71671
  var y2 = (clientRect2.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
71649
71672
  var width = clientRect2.width / scaleX;
71650
71673
  var height = clientRect2.height / scaleY;
@@ -71652,10 +71675,10 @@ function getBoundingClientRect$1(element, includeScale, isFixedStrategy) {
71652
71675
  width,
71653
71676
  height,
71654
71677
  top: y2,
71655
- right: x + width,
71678
+ right: x2 + width,
71656
71679
  bottom: y2 + height,
71657
- left: x,
71658
- x,
71680
+ left: x2,
71681
+ x: x2,
71659
71682
  y: y2
71660
71683
  };
71661
71684
  }
@@ -71856,25 +71879,25 @@ var unsetSides = {
71856
71879
  left: "auto"
71857
71880
  };
71858
71881
  function roundOffsetsByDPR(_ref, win) {
71859
- var x = _ref.x, y2 = _ref.y;
71882
+ var x2 = _ref.x, y2 = _ref.y;
71860
71883
  var dpr = win.devicePixelRatio || 1;
71861
71884
  return {
71862
- x: round$1(x * dpr) / dpr || 0,
71885
+ x: round$1(x2 * dpr) / dpr || 0,
71863
71886
  y: round$1(y2 * dpr) / dpr || 0
71864
71887
  };
71865
71888
  }
71866
71889
  function mapToStyles(_ref2) {
71867
71890
  var _Object$assign2;
71868
71891
  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;
71869
- 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;
71892
+ 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;
71870
71893
  var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
71871
- x,
71894
+ x: x2,
71872
71895
  y: y2
71873
71896
  }) : {
71874
- x,
71897
+ x: x2,
71875
71898
  y: y2
71876
71899
  };
71877
- x = _ref3.x;
71900
+ x2 = _ref3.x;
71878
71901
  y2 = _ref3.y;
71879
71902
  var hasX = offsets.hasOwnProperty("x");
71880
71903
  var hasY = offsets.hasOwnProperty("y");
@@ -71908,27 +71931,27 @@ function mapToStyles(_ref2) {
71908
71931
  // $FlowFixMe[prop-missing]
71909
71932
  offsetParent[widthProp]
71910
71933
  );
71911
- x -= offsetX - popperRect.width;
71912
- x *= gpuAcceleration ? 1 : -1;
71934
+ x2 -= offsetX - popperRect.width;
71935
+ x2 *= gpuAcceleration ? 1 : -1;
71913
71936
  }
71914
71937
  }
71915
71938
  var commonStyles = Object.assign({
71916
71939
  position
71917
71940
  }, adaptive && unsetSides);
71918
71941
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
71919
- x,
71942
+ x: x2,
71920
71943
  y: y2
71921
71944
  }, getWindow$1(popper2)) : {
71922
- x,
71945
+ x: x2,
71923
71946
  y: y2
71924
71947
  };
71925
- x = _ref4.x;
71948
+ x2 = _ref4.x;
71926
71949
  y2 = _ref4.y;
71927
71950
  if (gpuAcceleration) {
71928
71951
  var _Object$assign;
71929
- 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));
71952
+ 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));
71930
71953
  }
71931
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
71954
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y2 + "px" : "", _Object$assign2[sideX] = hasX ? x2 + "px" : "", _Object$assign2.transform = "", _Object$assign2));
71932
71955
  }
71933
71956
  function computeStyles(_ref5) {
71934
71957
  var state2 = _ref5.state, options = _ref5.options;
@@ -72042,21 +72065,21 @@ function getViewportRect$1(element, strategy) {
72042
72065
  var visualViewport = win.visualViewport;
72043
72066
  var width = html.clientWidth;
72044
72067
  var height = html.clientHeight;
72045
- var x = 0;
72068
+ var x2 = 0;
72046
72069
  var y2 = 0;
72047
72070
  if (visualViewport) {
72048
72071
  width = visualViewport.width;
72049
72072
  height = visualViewport.height;
72050
72073
  var layoutViewport = isLayoutViewport();
72051
72074
  if (layoutViewport || !layoutViewport && strategy === "fixed") {
72052
- x = visualViewport.offsetLeft;
72075
+ x2 = visualViewport.offsetLeft;
72053
72076
  y2 = visualViewport.offsetTop;
72054
72077
  }
72055
72078
  }
72056
72079
  return {
72057
72080
  width,
72058
72081
  height,
72059
- x: x + getWindowScrollBarX$1(element),
72082
+ x: x2 + getWindowScrollBarX$1(element),
72060
72083
  y: y2
72061
72084
  };
72062
72085
  }
@@ -72067,15 +72090,15 @@ function getDocumentRect$1(element) {
72067
72090
  var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
72068
72091
  var width = max$1(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
72069
72092
  var height = max$1(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
72070
- var x = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72093
+ var x2 = -winScroll.scrollLeft + getWindowScrollBarX$1(element);
72071
72094
  var y2 = -winScroll.scrollTop;
72072
72095
  if (getComputedStyle$2(body || html).direction === "rtl") {
72073
- x += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72096
+ x2 += max$1(html.clientWidth, body ? body.clientWidth : 0) - width;
72074
72097
  }
72075
72098
  return {
72076
72099
  width,
72077
72100
  height,
72078
- x,
72101
+ x: x2,
72079
72102
  y: y2
72080
72103
  };
72081
72104
  }
@@ -72452,9 +72475,9 @@ function offset(_ref2) {
72452
72475
  acc[placement] = distanceAndSkiddingToXY(placement, state2.rects, offset2);
72453
72476
  return acc;
72454
72477
  }, {});
72455
- var _data$state$placement = data[state2.placement], x = _data$state$placement.x, y2 = _data$state$placement.y;
72478
+ var _data$state$placement = data[state2.placement], x2 = _data$state$placement.x, y2 = _data$state$placement.y;
72456
72479
  if (state2.modifiersData.popperOffsets != null) {
72457
- state2.modifiersData.popperOffsets.x += x;
72480
+ state2.modifiersData.popperOffsets.x += x2;
72458
72481
  state2.modifiersData.popperOffsets.y += y2;
72459
72482
  }
72460
72483
  state2.modifiersData[name] = data;
@@ -74405,7 +74428,7 @@ function getPaddingObject(padding) {
74405
74428
  }
74406
74429
  function rectToClientRect(rect) {
74407
74430
  const {
74408
- x,
74431
+ x: x2,
74409
74432
  y: y2,
74410
74433
  width,
74411
74434
  height
@@ -74414,10 +74437,10 @@ function rectToClientRect(rect) {
74414
74437
  width,
74415
74438
  height,
74416
74439
  top: y2,
74417
- left: x,
74418
- right: x + width,
74440
+ left: x2,
74441
+ right: x2 + width,
74419
74442
  bottom: y2 + height,
74420
- x,
74443
+ x: x2,
74421
74444
  y: y2
74422
74445
  };
74423
74446
  }
@@ -74491,7 +74514,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74491
74514
  strategy
74492
74515
  });
74493
74516
  let {
74494
- x,
74517
+ x: x2,
74495
74518
  y: y2
74496
74519
  } = computeCoordsFromPlacement(rects, placement, rtl);
74497
74520
  let statefulPlacement = placement;
@@ -74508,7 +74531,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74508
74531
  data,
74509
74532
  reset
74510
74533
  } = await fn2({
74511
- x,
74534
+ x: x2,
74512
74535
  y: y2,
74513
74536
  initialPlacement: placement,
74514
74537
  placement: statefulPlacement,
@@ -74521,7 +74544,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74521
74544
  floating
74522
74545
  }
74523
74546
  });
74524
- x = nextX != null ? nextX : x;
74547
+ x2 = nextX != null ? nextX : x2;
74525
74548
  y2 = nextY != null ? nextY : y2;
74526
74549
  middlewareData = {
74527
74550
  ...middlewareData,
@@ -74544,7 +74567,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74544
74567
  }) : reset.rects;
74545
74568
  }
74546
74569
  ({
74547
- x,
74570
+ x: x2,
74548
74571
  y: y2
74549
74572
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
74550
74573
  }
@@ -74552,7 +74575,7 @@ const computePosition$1 = async (reference2, floating, config2) => {
74552
74575
  }
74553
74576
  }
74554
74577
  return {
74555
- x,
74578
+ x: x2,
74556
74579
  y: y2,
74557
74580
  placement: statefulPlacement,
74558
74581
  strategy,
@@ -74565,7 +74588,7 @@ async function detectOverflow(state2, options) {
74565
74588
  options = {};
74566
74589
  }
74567
74590
  const {
74568
- x,
74591
+ x: x2,
74569
74592
  y: y2,
74570
74593
  platform: platform2,
74571
74594
  rects,
@@ -74589,7 +74612,7 @@ async function detectOverflow(state2, options) {
74589
74612
  strategy
74590
74613
  }));
74591
74614
  const rect = elementContext === "floating" ? {
74592
- x,
74615
+ x: x2,
74593
74616
  y: y2,
74594
74617
  width: rects.floating.width,
74595
74618
  height: rects.floating.height
@@ -74858,16 +74881,16 @@ function getScale(element) {
74858
74881
  height,
74859
74882
  $: $2
74860
74883
  } = getCssDimensions(domElement);
74861
- let x = ($2 ? round(rect.width) : rect.width) / width;
74884
+ let x2 = ($2 ? round(rect.width) : rect.width) / width;
74862
74885
  let y2 = ($2 ? round(rect.height) : rect.height) / height;
74863
- if (!x || !Number.isFinite(x)) {
74864
- x = 1;
74886
+ if (!x2 || !Number.isFinite(x2)) {
74887
+ x2 = 1;
74865
74888
  }
74866
74889
  if (!y2 || !Number.isFinite(y2)) {
74867
74890
  y2 = 1;
74868
74891
  }
74869
74892
  return {
74870
- x,
74893
+ x: x2,
74871
74894
  y: y2
74872
74895
  };
74873
74896
  }
@@ -74911,7 +74934,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
74911
74934
  }
74912
74935
  }
74913
74936
  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
74914
- let x = (clientRect2.left + visualOffsets.x) / scale.x;
74937
+ let x2 = (clientRect2.left + visualOffsets.x) / scale.x;
74915
74938
  let y2 = (clientRect2.top + visualOffsets.y) / scale.y;
74916
74939
  let width = clientRect2.width / scale.x;
74917
74940
  let height = clientRect2.height / scale.y;
@@ -74926,11 +74949,11 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
74926
74949
  const css = getComputedStyle$1(currentIFrame);
74927
74950
  const left2 = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
74928
74951
  const top2 = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
74929
- x *= iframeScale.x;
74952
+ x2 *= iframeScale.x;
74930
74953
  y2 *= iframeScale.y;
74931
74954
  width *= iframeScale.x;
74932
74955
  height *= iframeScale.y;
74933
- x += left2;
74956
+ x2 += left2;
74934
74957
  y2 += top2;
74935
74958
  currentWin = getWindow(currentIFrame);
74936
74959
  currentIFrame = getFrameElement(currentWin);
@@ -74939,7 +74962,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
74939
74962
  return rectToClientRect({
74940
74963
  width,
74941
74964
  height,
74942
- x,
74965
+ x: x2,
74943
74966
  y: y2
74944
74967
  });
74945
74968
  }
@@ -74952,10 +74975,10 @@ function getWindowScrollBarX(element, rect) {
74952
74975
  }
74953
74976
  function getHTMLOffset(documentElement, scroll) {
74954
74977
  const htmlRect = documentElement.getBoundingClientRect();
74955
- const x = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
74978
+ const x2 = htmlRect.left + scroll.scrollLeft - getWindowScrollBarX(documentElement, htmlRect);
74956
74979
  const y2 = htmlRect.top + scroll.scrollTop;
74957
74980
  return {
74958
- x,
74981
+ x: x2,
74959
74982
  y: y2
74960
74983
  };
74961
74984
  }
@@ -75007,15 +75030,15 @@ function getDocumentRect(element) {
75007
75030
  const body = element.ownerDocument.body;
75008
75031
  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
75009
75032
  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
75010
- let x = -scroll.scrollLeft + getWindowScrollBarX(element);
75033
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
75011
75034
  const y2 = -scroll.scrollTop;
75012
75035
  if (getComputedStyle$1(body).direction === "rtl") {
75013
- x += max(html.clientWidth, body.clientWidth) - width;
75036
+ x2 += max(html.clientWidth, body.clientWidth) - width;
75014
75037
  }
75015
75038
  return {
75016
75039
  width,
75017
75040
  height,
75018
- x,
75041
+ x: x2,
75019
75042
  y: y2
75020
75043
  };
75021
75044
  }
@@ -75026,14 +75049,14 @@ function getViewportRect(element, strategy) {
75026
75049
  const visualViewport = win.visualViewport;
75027
75050
  let width = html.clientWidth;
75028
75051
  let height = html.clientHeight;
75029
- let x = 0;
75052
+ let x2 = 0;
75030
75053
  let y2 = 0;
75031
75054
  if (visualViewport) {
75032
75055
  width = visualViewport.width;
75033
75056
  height = visualViewport.height;
75034
75057
  const visualViewportBased = isWebKit();
75035
75058
  if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
75036
- x = visualViewport.offsetLeft;
75059
+ x2 = visualViewport.offsetLeft;
75037
75060
  y2 = visualViewport.offsetTop;
75038
75061
  }
75039
75062
  }
@@ -75053,7 +75076,7 @@ function getViewportRect(element, strategy) {
75053
75076
  return {
75054
75077
  width,
75055
75078
  height,
75056
- x,
75079
+ x: x2,
75057
75080
  y: y2
75058
75081
  };
75059
75082
  }
@@ -75065,12 +75088,12 @@ function getInnerBoundingClientRect(element, strategy) {
75065
75088
  const scale = isHTMLElement$2(element) ? getScale(element) : createCoords(1);
75066
75089
  const width = element.clientWidth * scale.x;
75067
75090
  const height = element.clientHeight * scale.y;
75068
- const x = left2 * scale.x;
75091
+ const x2 = left2 * scale.x;
75069
75092
  const y2 = top2 * scale.y;
75070
75093
  return {
75071
75094
  width,
75072
75095
  height,
75073
- x,
75096
+ x: x2,
75074
75097
  y: y2
75075
75098
  };
75076
75099
  }
@@ -75190,10 +75213,10 @@ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
75190
75213
  setLeftRTLScrollbarOffset();
75191
75214
  }
75192
75215
  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
75193
- const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75216
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
75194
75217
  const y2 = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
75195
75218
  return {
75196
- x,
75219
+ x: x2,
75197
75220
  y: y2,
75198
75221
  width: rect.width,
75199
75222
  height: rect.height
@@ -76056,22 +76079,22 @@ function createFloatingSeparator(separator, editor) {
76056
76079
  const rect = elements.reference.getBoundingClientRect();
76057
76080
  const containerRect = editorElement.getBoundingClientRect();
76058
76081
  const scaleFactor = getScaleFactor(editorElement);
76059
- const x = Math.round((rect.left - containerRect.left) / scaleFactor);
76082
+ const x2 = Math.round((rect.left - containerRect.left) / scaleFactor);
76060
76083
  const y2 = Math.round((rect.top - containerRect.top) / scaleFactor);
76061
76084
  const width = Math.round(rect.width / scaleFactor);
76062
76085
  const height = Math.round(rect.height / scaleFactor);
76063
76086
  return {
76064
- x,
76087
+ x: x2,
76065
76088
  y: y2,
76066
76089
  data: { width, height }
76067
76090
  };
76068
76091
  }
76069
76092
  }
76070
76093
  ]
76071
- }).then(({ x, y: y2, middlewareData }) => {
76094
+ }).then(({ x: x2, y: y2, middlewareData }) => {
76072
76095
  Object.assign(floatingSeparator.style, {
76073
76096
  top: `${y2}px`,
76074
- left: `${x}px`,
76097
+ left: `${x2}px`,
76075
76098
  width: `${middlewareData.copy.width}px`,
76076
76099
  height: `${middlewareData.copy.height}px`,
76077
76100
  visibility: middlewareData.hide?.referenceHidden ? "hidden" : "visible"
@@ -79065,14 +79088,14 @@ function ensureViewBoundingRect() {
79065
79088
  }
79066
79089
  return viewMeasurer.getBoundingClientRect();
79067
79090
  }
79068
- function getPointRect(x, y2) {
79091
+ function getPointRect(x2, y2) {
79069
79092
  const viewRect = ensureViewBoundingRect();
79070
79093
  return {
79071
79094
  top: y2,
79072
- left: x,
79095
+ left: x2,
79073
79096
  height: 0,
79074
79097
  width: 0,
79075
- right: viewRect.width - x,
79098
+ right: viewRect.width - x2,
79076
79099
  bottom: viewRect.height - y2
79077
79100
  };
79078
79101
  }
@@ -79910,8 +79933,8 @@ const VFollower = vue.defineComponent({
79910
79933
  if (follower === null)
79911
79934
  return;
79912
79935
  const target = VBinder.targetRef;
79913
- const { x, y: y2, overlap } = props;
79914
- const targetRect = x !== void 0 && y2 !== void 0 ? getPointRect(x, y2) : getRect(target);
79936
+ const { x: x2, y: y2, overlap } = props;
79937
+ const targetRect = x2 !== void 0 && y2 !== void 0 ? getPointRect(x2, y2) : getRect(target);
79915
79938
  follower.style.setProperty("--v-target-width", `${Math.round(targetRect.width)}px`);
79916
79939
  follower.style.setProperty("--v-target-height", `${Math.round(targetRect.height)}px`);
79917
79940
  const { width, minWidth, placement, internalShift, flip: flip2 } = props;
@@ -80081,8 +80104,8 @@ var ResizeObserverSize = /* @__PURE__ */ (function() {
80081
80104
  return ResizeObserverSize2;
80082
80105
  })();
80083
80106
  var DOMRectReadOnly = (function() {
80084
- function DOMRectReadOnly2(x, y2, width, height) {
80085
- this.x = x;
80107
+ function DOMRectReadOnly2(x2, y2, width, height) {
80108
+ this.x = x2;
80086
80109
  this.y = y2;
80087
80110
  this.width = width;
80088
80111
  this.height = height;
@@ -80093,8 +80116,8 @@ var DOMRectReadOnly = (function() {
80093
80116
  return freeze(this);
80094
80117
  }
80095
80118
  DOMRectReadOnly2.prototype.toJSON = function() {
80096
- 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;
80097
- return { x, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80119
+ 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;
80120
+ return { x: x2, y: y2, top: top2, right: right2, bottom: bottom2, left: left2, width, height };
80098
80121
  };
80099
80122
  DOMRectReadOnly2.fromRect = function(rectangle) {
80100
80123
  return new DOMRectReadOnly2(rectangle.x, rectangle.y, rectangle.width, rectangle.height);