@courtifyai/docx-render 1.0.3 → 1.0.6

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.
package/dist/index.es.js CHANGED
@@ -1,12 +1,12 @@
1
1
  var Zt = Object.defineProperty;
2
- var Gt = (E, e, t) => e in E ? Zt(E, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : E[e] = t;
3
- var nt = (E, e, t) => Gt(E, typeof e != "symbol" ? e + "" : e, t);
2
+ var Gt = (x, e, t) => e in x ? Zt(x, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : x[e] = t;
3
+ var nt = (x, e, t) => Gt(x, typeof e != "symbol" ? e + "" : e, t);
4
4
  var St = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
- function Vt(E) {
6
- return E && E.__esModule && Object.prototype.hasOwnProperty.call(E, "default") ? E.default : E;
5
+ function Vt(x) {
6
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x.default : x;
7
7
  }
8
- function Tt(E) {
9
- throw new Error('Could not dynamically require "' + E + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
8
+ function Tt(x) {
9
+ throw new Error('Could not dynamically require "' + x + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
10
10
  }
11
11
  var Mt = { exports: {} };
12
12
  /*!
@@ -20,19 +20,19 @@ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/js
20
20
  JSZip uses the library pako released under the MIT license :
21
21
  https://github.com/nodeca/pako/blob/main/LICENSE
22
22
  */
23
- (function(E, e) {
23
+ (function(x, e) {
24
24
  (function(t) {
25
- E.exports = t();
25
+ x.exports = t();
26
26
  })(function() {
27
27
  return function t(r, n, a) {
28
28
  function o(p, f) {
29
29
  if (!n[p]) {
30
30
  if (!r[p]) {
31
- var _ = typeof Tt == "function" && Tt;
32
- if (!f && _) return _(p, !0);
33
- if (i) return i(p, !0);
34
- var g = new Error("Cannot find module '" + p + "'");
35
- throw g.code = "MODULE_NOT_FOUND", g;
31
+ var y = typeof Tt == "function" && Tt;
32
+ if (!f && y) return y(p, !0);
33
+ if (s) return s(p, !0);
34
+ var m = new Error("Cannot find module '" + p + "'");
35
+ throw m.code = "MODULE_NOT_FOUND", m;
36
36
  }
37
37
  var h = n[p] = { exports: {} };
38
38
  r[p][0].call(h.exports, function(b) {
@@ -42,35 +42,35 @@ https://github.com/nodeca/pako/blob/main/LICENSE
42
42
  }
43
43
  return n[p].exports;
44
44
  }
45
- for (var i = typeof Tt == "function" && Tt, c = 0; c < a.length; c++) o(a[c]);
45
+ for (var s = typeof Tt == "function" && Tt, c = 0; c < a.length; c++) o(a[c]);
46
46
  return o;
47
47
  }({ 1: [function(t, r, n) {
48
- var a = t("./utils"), o = t("./support"), i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
48
+ var a = t("./utils"), o = t("./support"), s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
49
49
  n.encode = function(c) {
50
- for (var p, f, _, g, h, b, d, y = [], u = 0, v = c.length, x = v, A = a.getTypeOf(c) !== "string"; u < c.length; ) x = v - u, _ = A ? (p = c[u++], f = u < v ? c[u++] : 0, u < v ? c[u++] : 0) : (p = c.charCodeAt(u++), f = u < v ? c.charCodeAt(u++) : 0, u < v ? c.charCodeAt(u++) : 0), g = p >> 2, h = (3 & p) << 4 | f >> 4, b = 1 < x ? (15 & f) << 2 | _ >> 6 : 64, d = 2 < x ? 63 & _ : 64, y.push(i.charAt(g) + i.charAt(h) + i.charAt(b) + i.charAt(d));
51
- return y.join("");
50
+ for (var p, f, y, m, h, b, d, _ = [], u = 0, v = c.length, E = v, A = a.getTypeOf(c) !== "string"; u < c.length; ) E = v - u, y = A ? (p = c[u++], f = u < v ? c[u++] : 0, u < v ? c[u++] : 0) : (p = c.charCodeAt(u++), f = u < v ? c.charCodeAt(u++) : 0, u < v ? c.charCodeAt(u++) : 0), m = p >> 2, h = (3 & p) << 4 | f >> 4, b = 1 < E ? (15 & f) << 2 | y >> 6 : 64, d = 2 < E ? 63 & y : 64, _.push(s.charAt(m) + s.charAt(h) + s.charAt(b) + s.charAt(d));
51
+ return _.join("");
52
52
  }, n.decode = function(c) {
53
- var p, f, _, g, h, b, d = 0, y = 0, u = "data:";
53
+ var p, f, y, m, h, b, d = 0, _ = 0, u = "data:";
54
54
  if (c.substr(0, u.length) === u) throw new Error("Invalid base64 input, it looks like a data url.");
55
- var v, x = 3 * (c = c.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
56
- if (c.charAt(c.length - 1) === i.charAt(64) && x--, c.charAt(c.length - 2) === i.charAt(64) && x--, x % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
57
- for (v = o.uint8array ? new Uint8Array(0 | x) : new Array(0 | x); d < c.length; ) p = i.indexOf(c.charAt(d++)) << 2 | (g = i.indexOf(c.charAt(d++))) >> 4, f = (15 & g) << 4 | (h = i.indexOf(c.charAt(d++))) >> 2, _ = (3 & h) << 6 | (b = i.indexOf(c.charAt(d++))), v[y++] = p, h !== 64 && (v[y++] = f), b !== 64 && (v[y++] = _);
55
+ var v, E = 3 * (c = c.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
56
+ if (c.charAt(c.length - 1) === s.charAt(64) && E--, c.charAt(c.length - 2) === s.charAt(64) && E--, E % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
57
+ for (v = o.uint8array ? new Uint8Array(0 | E) : new Array(0 | E); d < c.length; ) p = s.indexOf(c.charAt(d++)) << 2 | (m = s.indexOf(c.charAt(d++))) >> 4, f = (15 & m) << 4 | (h = s.indexOf(c.charAt(d++))) >> 2, y = (3 & h) << 6 | (b = s.indexOf(c.charAt(d++))), v[_++] = p, h !== 64 && (v[_++] = f), b !== 64 && (v[_++] = y);
58
58
  return v;
59
59
  };
60
60
  }, { "./support": 30, "./utils": 32 }], 2: [function(t, r, n) {
61
- var a = t("./external"), o = t("./stream/DataWorker"), i = t("./stream/Crc32Probe"), c = t("./stream/DataLengthProbe");
62
- function p(f, _, g, h, b) {
63
- this.compressedSize = f, this.uncompressedSize = _, this.crc32 = g, this.compression = h, this.compressedContent = b;
61
+ var a = t("./external"), o = t("./stream/DataWorker"), s = t("./stream/Crc32Probe"), c = t("./stream/DataLengthProbe");
62
+ function p(f, y, m, h, b) {
63
+ this.compressedSize = f, this.uncompressedSize = y, this.crc32 = m, this.compression = h, this.compressedContent = b;
64
64
  }
65
65
  p.prototype = { getContentWorker: function() {
66
- var f = new o(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")), _ = this;
66
+ var f = new o(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new c("data_length")), y = this;
67
67
  return f.on("end", function() {
68
- if (this.streamInfo.data_length !== _.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch");
68
+ if (this.streamInfo.data_length !== y.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch");
69
69
  }), f;
70
70
  }, getCompressedWorker: function() {
71
71
  return new o(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
72
- } }, p.createWorkerFrom = function(f, _, g) {
73
- return f.pipe(new i()).pipe(new c("uncompressedSize")).pipe(_.compressWorker(g)).pipe(new c("compressedSize")).withStreamInfo("compression", _);
72
+ } }, p.createWorkerFrom = function(f, y, m) {
73
+ return f.pipe(new s()).pipe(new c("uncompressedSize")).pipe(y.compressWorker(m)).pipe(new c("compressedSize")).withStreamInfo("compression", y);
74
74
  }, r.exports = p;
75
75
  }, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(t, r, n) {
76
76
  var a = t("./stream/GenericWorker");
@@ -81,25 +81,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
81
81
  } }, n.DEFLATE = t("./flate");
82
82
  }, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(t, r, n) {
83
83
  var a = t("./utils"), o = function() {
84
- for (var i, c = [], p = 0; p < 256; p++) {
85
- i = p;
86
- for (var f = 0; f < 8; f++) i = 1 & i ? 3988292384 ^ i >>> 1 : i >>> 1;
87
- c[p] = i;
84
+ for (var s, c = [], p = 0; p < 256; p++) {
85
+ s = p;
86
+ for (var f = 0; f < 8; f++) s = 1 & s ? 3988292384 ^ s >>> 1 : s >>> 1;
87
+ c[p] = s;
88
88
  }
89
89
  return c;
90
90
  }();
91
- r.exports = function(i, c) {
92
- return i !== void 0 && i.length ? a.getTypeOf(i) !== "string" ? function(p, f, _, g) {
93
- var h = o, b = g + _;
91
+ r.exports = function(s, c) {
92
+ return s !== void 0 && s.length ? a.getTypeOf(s) !== "string" ? function(p, f, y, m) {
93
+ var h = o, b = m + y;
94
94
  p ^= -1;
95
- for (var d = g; d < b; d++) p = p >>> 8 ^ h[255 & (p ^ f[d])];
95
+ for (var d = m; d < b; d++) p = p >>> 8 ^ h[255 & (p ^ f[d])];
96
96
  return -1 ^ p;
97
- }(0 | c, i, i.length, 0) : function(p, f, _, g) {
98
- var h = o, b = g + _;
97
+ }(0 | c, s, s.length, 0) : function(p, f, y, m) {
98
+ var h = o, b = m + y;
99
99
  p ^= -1;
100
- for (var d = g; d < b; d++) p = p >>> 8 ^ h[255 & (p ^ f.charCodeAt(d))];
100
+ for (var d = m; d < b; d++) p = p >>> 8 ^ h[255 & (p ^ f.charCodeAt(d))];
101
101
  return -1 ^ p;
102
- }(0 | c, i, i.length, 0) : 0;
102
+ }(0 | c, s, s.length, 0) : 0;
103
103
  };
104
104
  }, { "./utils": 32 }], 5: [function(t, r, n) {
105
105
  n.base64 = !1, n.binary = !1, n.dir = !1, n.createFolders = !0, n.date = null, n.compression = null, n.compressionOptions = null, n.comment = null, n.unixPermissions = null, n.dosPermissions = null;
@@ -107,81 +107,81 @@ https://github.com/nodeca/pako/blob/main/LICENSE
107
107
  var a = null;
108
108
  a = typeof Promise < "u" ? Promise : t("lie"), r.exports = { Promise: a };
109
109
  }, { lie: 37 }], 7: [function(t, r, n) {
110
- var a = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", o = t("pako"), i = t("./utils"), c = t("./stream/GenericWorker"), p = a ? "uint8array" : "array";
111
- function f(_, g) {
112
- c.call(this, "FlateWorker/" + _), this._pako = null, this._pakoAction = _, this._pakoOptions = g, this.meta = {};
110
+ var a = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", o = t("pako"), s = t("./utils"), c = t("./stream/GenericWorker"), p = a ? "uint8array" : "array";
111
+ function f(y, m) {
112
+ c.call(this, "FlateWorker/" + y), this._pako = null, this._pakoAction = y, this._pakoOptions = m, this.meta = {};
113
113
  }
114
- n.magic = "\b\0", i.inherits(f, c), f.prototype.processChunk = function(_) {
115
- this.meta = _.meta, this._pako === null && this._createPako(), this._pako.push(i.transformTo(p, _.data), !1);
114
+ n.magic = "\b\0", s.inherits(f, c), f.prototype.processChunk = function(y) {
115
+ this.meta = y.meta, this._pako === null && this._createPako(), this._pako.push(s.transformTo(p, y.data), !1);
116
116
  }, f.prototype.flush = function() {
117
117
  c.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
118
118
  }, f.prototype.cleanUp = function() {
119
119
  c.prototype.cleanUp.call(this), this._pako = null;
120
120
  }, f.prototype._createPako = function() {
121
121
  this._pako = new o[this._pakoAction]({ raw: !0, level: this._pakoOptions.level || -1 });
122
- var _ = this;
123
- this._pako.onData = function(g) {
124
- _.push({ data: g, meta: _.meta });
122
+ var y = this;
123
+ this._pako.onData = function(m) {
124
+ y.push({ data: m, meta: y.meta });
125
125
  };
126
- }, n.compressWorker = function(_) {
127
- return new f("Deflate", _);
126
+ }, n.compressWorker = function(y) {
127
+ return new f("Deflate", y);
128
128
  }, n.uncompressWorker = function() {
129
129
  return new f("Inflate", {});
130
130
  };
131
131
  }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(t, r, n) {
132
132
  function a(h, b) {
133
- var d, y = "";
134
- for (d = 0; d < b; d++) y += String.fromCharCode(255 & h), h >>>= 8;
135
- return y;
133
+ var d, _ = "";
134
+ for (d = 0; d < b; d++) _ += String.fromCharCode(255 & h), h >>>= 8;
135
+ return _;
136
136
  }
137
- function o(h, b, d, y, u, v) {
138
- var x, A, T = h.file, L = h.compression, B = v !== p.utf8encode, j = i.transformTo("string", v(T.name)), z = i.transformTo("string", p.utf8encode(T.name)), Z = T.comment, Q = i.transformTo("string", v(Z)), k = i.transformTo("string", p.utf8encode(Z)), N = z.length !== T.name.length, l = k.length !== Z.length, D = "", et = "", $ = "", rt = T.dir, W = T.date, tt = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
137
+ function o(h, b, d, _, u, v) {
138
+ var E, A, T = h.file, L = h.compression, B = v !== p.utf8encode, j = s.transformTo("string", v(T.name)), z = s.transformTo("string", p.utf8encode(T.name)), Z = T.comment, Q = s.transformTo("string", v(Z)), k = s.transformTo("string", p.utf8encode(Z)), N = z.length !== T.name.length, l = k.length !== Z.length, D = "", et = "", U = "", rt = T.dir, W = T.date, tt = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
139
139
  b && !d || (tt.crc32 = h.crc32, tt.compressedSize = h.compressedSize, tt.uncompressedSize = h.uncompressedSize);
140
- var R = 0;
141
- b && (R |= 8), B || !N && !l || (R |= 2048);
142
- var F = 0, J = 0;
143
- rt && (F |= 16), u === "UNIX" ? (J = 798, F |= function(V, lt) {
140
+ var P = 0;
141
+ b && (P |= 8), B || !N && !l || (P |= 2048);
142
+ var I = 0, J = 0;
143
+ rt && (I |= 16), u === "UNIX" ? (J = 798, I |= function(V, lt) {
144
144
  var ut = V;
145
145
  return V || (ut = lt ? 16893 : 33204), (65535 & ut) << 16;
146
- }(T.unixPermissions, rt)) : (J = 20, F |= function(V) {
146
+ }(T.unixPermissions, rt)) : (J = 20, I |= function(V) {
147
147
  return 63 & (V || 0);
148
- }(T.dosPermissions)), x = W.getUTCHours(), x <<= 6, x |= W.getUTCMinutes(), x <<= 5, x |= W.getUTCSeconds() / 2, A = W.getUTCFullYear() - 1980, A <<= 4, A |= W.getUTCMonth() + 1, A <<= 5, A |= W.getUTCDate(), N && (et = a(1, 1) + a(f(j), 4) + z, D += "up" + a(et.length, 2) + et), l && ($ = a(1, 1) + a(f(Q), 4) + k, D += "uc" + a($.length, 2) + $);
148
+ }(T.dosPermissions)), E = W.getUTCHours(), E <<= 6, E |= W.getUTCMinutes(), E <<= 5, E |= W.getUTCSeconds() / 2, A = W.getUTCFullYear() - 1980, A <<= 4, A |= W.getUTCMonth() + 1, A <<= 5, A |= W.getUTCDate(), N && (et = a(1, 1) + a(f(j), 4) + z, D += "up" + a(et.length, 2) + et), l && (U = a(1, 1) + a(f(Q), 4) + k, D += "uc" + a(U.length, 2) + U);
149
149
  var Y = "";
150
150
  return Y += `
151
- \0`, Y += a(R, 2), Y += L.magic, Y += a(x, 2), Y += a(A, 2), Y += a(tt.crc32, 4), Y += a(tt.compressedSize, 4), Y += a(tt.uncompressedSize, 4), Y += a(j.length, 2), Y += a(D.length, 2), { fileRecord: _.LOCAL_FILE_HEADER + Y + j + D, dirRecord: _.CENTRAL_FILE_HEADER + a(J, 2) + Y + a(Q.length, 2) + "\0\0\0\0" + a(F, 4) + a(y, 4) + j + D + Q };
151
+ \0`, Y += a(P, 2), Y += L.magic, Y += a(E, 2), Y += a(A, 2), Y += a(tt.crc32, 4), Y += a(tt.compressedSize, 4), Y += a(tt.uncompressedSize, 4), Y += a(j.length, 2), Y += a(D.length, 2), { fileRecord: y.LOCAL_FILE_HEADER + Y + j + D, dirRecord: y.CENTRAL_FILE_HEADER + a(J, 2) + Y + a(Q.length, 2) + "\0\0\0\0" + a(I, 4) + a(_, 4) + j + D + Q };
152
152
  }
153
- var i = t("../utils"), c = t("../stream/GenericWorker"), p = t("../utf8"), f = t("../crc32"), _ = t("../signature");
154
- function g(h, b, d, y) {
155
- c.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = b, this.zipPlatform = d, this.encodeFileName = y, this.streamFiles = h, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
153
+ var s = t("../utils"), c = t("../stream/GenericWorker"), p = t("../utf8"), f = t("../crc32"), y = t("../signature");
154
+ function m(h, b, d, _) {
155
+ c.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = b, this.zipPlatform = d, this.encodeFileName = _, this.streamFiles = h, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
156
156
  }
157
- i.inherits(g, c), g.prototype.push = function(h) {
158
- var b = h.meta.percent || 0, d = this.entriesCount, y = this._sources.length;
159
- this.accumulate ? this.contentBuffer.push(h) : (this.bytesWritten += h.data.length, c.prototype.push.call(this, { data: h.data, meta: { currentFile: this.currentFile, percent: d ? (b + 100 * (d - y - 1)) / d : 100 } }));
160
- }, g.prototype.openedSource = function(h) {
157
+ s.inherits(m, c), m.prototype.push = function(h) {
158
+ var b = h.meta.percent || 0, d = this.entriesCount, _ = this._sources.length;
159
+ this.accumulate ? this.contentBuffer.push(h) : (this.bytesWritten += h.data.length, c.prototype.push.call(this, { data: h.data, meta: { currentFile: this.currentFile, percent: d ? (b + 100 * (d - _ - 1)) / d : 100 } }));
160
+ }, m.prototype.openedSource = function(h) {
161
161
  this.currentSourceOffset = this.bytesWritten, this.currentFile = h.file.name;
162
162
  var b = this.streamFiles && !h.file.dir;
163
163
  if (b) {
164
164
  var d = o(h, b, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
165
165
  this.push({ data: d.fileRecord, meta: { percent: 0 } });
166
166
  } else this.accumulate = !0;
167
- }, g.prototype.closedSource = function(h) {
167
+ }, m.prototype.closedSource = function(h) {
168
168
  this.accumulate = !1;
169
169
  var b = this.streamFiles && !h.file.dir, d = o(h, b, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
170
- if (this.dirRecords.push(d.dirRecord), b) this.push({ data: function(y) {
171
- return _.DATA_DESCRIPTOR + a(y.crc32, 4) + a(y.compressedSize, 4) + a(y.uncompressedSize, 4);
170
+ if (this.dirRecords.push(d.dirRecord), b) this.push({ data: function(_) {
171
+ return y.DATA_DESCRIPTOR + a(_.crc32, 4) + a(_.compressedSize, 4) + a(_.uncompressedSize, 4);
172
172
  }(h), meta: { percent: 100 } });
173
173
  else for (this.push({ data: d.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
174
174
  this.currentFile = null;
175
- }, g.prototype.flush = function() {
175
+ }, m.prototype.flush = function() {
176
176
  for (var h = this.bytesWritten, b = 0; b < this.dirRecords.length; b++) this.push({ data: this.dirRecords[b], meta: { percent: 100 } });
177
- var d = this.bytesWritten - h, y = function(u, v, x, A, T) {
178
- var L = i.transformTo("string", T(A));
179
- return _.CENTRAL_DIRECTORY_END + "\0\0\0\0" + a(u, 2) + a(u, 2) + a(v, 4) + a(x, 4) + a(L.length, 2) + L;
177
+ var d = this.bytesWritten - h, _ = function(u, v, E, A, T) {
178
+ var L = s.transformTo("string", T(A));
179
+ return y.CENTRAL_DIRECTORY_END + "\0\0\0\0" + a(u, 2) + a(u, 2) + a(v, 4) + a(E, 4) + a(L.length, 2) + L;
180
180
  }(this.dirRecords.length, d, h, this.zipComment, this.encodeFileName);
181
- this.push({ data: y, meta: { percent: 100 } });
182
- }, g.prototype.prepareNextSource = function() {
181
+ this.push({ data: _, meta: { percent: 100 } });
182
+ }, m.prototype.prepareNextSource = function() {
183
183
  this.previous = this._sources.shift(), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume();
184
- }, g.prototype.registerPrevious = function(h) {
184
+ }, m.prototype.registerPrevious = function(h) {
185
185
  this._sources.push(h);
186
186
  var b = this;
187
187
  return h.on("data", function(d) {
@@ -191,9 +191,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
191
191
  }), h.on("error", function(d) {
192
192
  b.error(d);
193
193
  }), this;
194
- }, g.prototype.resume = function() {
194
+ }, m.prototype.resume = function() {
195
195
  return !!c.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0));
196
- }, g.prototype.error = function(h) {
196
+ }, m.prototype.error = function(h) {
197
197
  var b = this._sources;
198
198
  if (!c.prototype.error.call(this, h)) return !1;
199
199
  for (var d = 0; d < b.length; d++) try {
@@ -201,26 +201,26 @@ https://github.com/nodeca/pako/blob/main/LICENSE
201
201
  } catch {
202
202
  }
203
203
  return !0;
204
- }, g.prototype.lock = function() {
204
+ }, m.prototype.lock = function() {
205
205
  c.prototype.lock.call(this);
206
206
  for (var h = this._sources, b = 0; b < h.length; b++) h[b].lock();
207
- }, r.exports = g;
207
+ }, r.exports = m;
208
208
  }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(t, r, n) {
209
209
  var a = t("../compressions"), o = t("./ZipFileWorker");
210
- n.generateWorker = function(i, c, p) {
211
- var f = new o(c.streamFiles, p, c.platform, c.encodeFileName), _ = 0;
210
+ n.generateWorker = function(s, c, p) {
211
+ var f = new o(c.streamFiles, p, c.platform, c.encodeFileName), y = 0;
212
212
  try {
213
- i.forEach(function(g, h) {
214
- _++;
215
- var b = function(v, x) {
216
- var A = v || x, T = a[A];
213
+ s.forEach(function(m, h) {
214
+ y++;
215
+ var b = function(v, E) {
216
+ var A = v || E, T = a[A];
217
217
  if (!T) throw new Error(A + " is not a valid compression method !");
218
218
  return T;
219
- }(h.options.compression, c.compression), d = h.options.compressionOptions || c.compressionOptions || {}, y = h.dir, u = h.date;
220
- h._compressWorker(b, d).withStreamInfo("file", { name: g, dir: y, date: u, comment: h.comment || "", unixPermissions: h.unixPermissions, dosPermissions: h.dosPermissions }).pipe(f);
221
- }), f.entriesCount = _;
222
- } catch (g) {
223
- f.error(g);
219
+ }(h.options.compression, c.compression), d = h.options.compressionOptions || c.compressionOptions || {}, _ = h.dir, u = h.date;
220
+ h._compressWorker(b, d).withStreamInfo("file", { name: m, dir: _, date: u, comment: h.comment || "", unixPermissions: h.unixPermissions, dosPermissions: h.dosPermissions }).pipe(f);
221
+ }), f.entriesCount = y;
222
+ } catch (m) {
223
+ f.error(m);
224
224
  }
225
225
  return f;
226
226
  };
@@ -230,48 +230,48 @@ https://github.com/nodeca/pako/blob/main/LICENSE
230
230
  if (arguments.length) throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");
231
231
  this.files = /* @__PURE__ */ Object.create(null), this.comment = null, this.root = "", this.clone = function() {
232
232
  var o = new a();
233
- for (var i in this) typeof this[i] != "function" && (o[i] = this[i]);
233
+ for (var s in this) typeof this[s] != "function" && (o[s] = this[s]);
234
234
  return o;
235
235
  };
236
236
  }
237
- (a.prototype = t("./object")).loadAsync = t("./load"), a.support = t("./support"), a.defaults = t("./defaults"), a.version = "3.10.1", a.loadAsync = function(o, i) {
238
- return new a().loadAsync(o, i);
237
+ (a.prototype = t("./object")).loadAsync = t("./load"), a.support = t("./support"), a.defaults = t("./defaults"), a.version = "3.10.1", a.loadAsync = function(o, s) {
238
+ return new a().loadAsync(o, s);
239
239
  }, a.external = t("./external"), r.exports = a;
240
240
  }, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(t, r, n) {
241
- var a = t("./utils"), o = t("./external"), i = t("./utf8"), c = t("./zipEntries"), p = t("./stream/Crc32Probe"), f = t("./nodejsUtils");
242
- function _(g) {
241
+ var a = t("./utils"), o = t("./external"), s = t("./utf8"), c = t("./zipEntries"), p = t("./stream/Crc32Probe"), f = t("./nodejsUtils");
242
+ function y(m) {
243
243
  return new o.Promise(function(h, b) {
244
- var d = g.decompressed.getContentWorker().pipe(new p());
245
- d.on("error", function(y) {
246
- b(y);
244
+ var d = m.decompressed.getContentWorker().pipe(new p());
245
+ d.on("error", function(_) {
246
+ b(_);
247
247
  }).on("end", function() {
248
- d.streamInfo.crc32 !== g.decompressed.crc32 ? b(new Error("Corrupted zip : CRC32 mismatch")) : h();
248
+ d.streamInfo.crc32 !== m.decompressed.crc32 ? b(new Error("Corrupted zip : CRC32 mismatch")) : h();
249
249
  }).resume();
250
250
  });
251
251
  }
252
- r.exports = function(g, h) {
252
+ r.exports = function(m, h) {
253
253
  var b = this;
254
- return h = a.extend(h || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: i.utf8decode }), f.isNode && f.isStream(g) ? o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : a.prepareContent("the loaded zip file", g, !0, h.optimizedBinaryString, h.base64).then(function(d) {
255
- var y = new c(h);
256
- return y.load(d), y;
254
+ return h = a.extend(h || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: s.utf8decode }), f.isNode && f.isStream(m) ? o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : a.prepareContent("the loaded zip file", m, !0, h.optimizedBinaryString, h.base64).then(function(d) {
255
+ var _ = new c(h);
256
+ return _.load(d), _;
257
257
  }).then(function(d) {
258
- var y = [o.Promise.resolve(d)], u = d.files;
259
- if (h.checkCRC32) for (var v = 0; v < u.length; v++) y.push(_(u[v]));
260
- return o.Promise.all(y);
258
+ var _ = [o.Promise.resolve(d)], u = d.files;
259
+ if (h.checkCRC32) for (var v = 0; v < u.length; v++) _.push(y(u[v]));
260
+ return o.Promise.all(_);
261
261
  }).then(function(d) {
262
- for (var y = d.shift(), u = y.files, v = 0; v < u.length; v++) {
263
- var x = u[v], A = x.fileNameStr, T = a.resolve(x.fileNameStr);
264
- b.file(T, x.decompressed, { binary: !0, optimizedBinaryString: !0, date: x.date, dir: x.dir, comment: x.fileCommentStr.length ? x.fileCommentStr : null, unixPermissions: x.unixPermissions, dosPermissions: x.dosPermissions, createFolders: h.createFolders }), x.dir || (b.file(T).unsafeOriginalName = A);
262
+ for (var _ = d.shift(), u = _.files, v = 0; v < u.length; v++) {
263
+ var E = u[v], A = E.fileNameStr, T = a.resolve(E.fileNameStr);
264
+ b.file(T, E.decompressed, { binary: !0, optimizedBinaryString: !0, date: E.date, dir: E.dir, comment: E.fileCommentStr.length ? E.fileCommentStr : null, unixPermissions: E.unixPermissions, dosPermissions: E.dosPermissions, createFolders: h.createFolders }), E.dir || (b.file(T).unsafeOriginalName = A);
265
265
  }
266
- return y.zipComment.length && (b.comment = y.zipComment), b;
266
+ return _.zipComment.length && (b.comment = _.zipComment), b;
267
267
  });
268
268
  };
269
269
  }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(t, r, n) {
270
270
  var a = t("../utils"), o = t("../stream/GenericWorker");
271
- function i(c, p) {
271
+ function s(c, p) {
272
272
  o.call(this, "Nodejs stream input adapter for " + c), this._upstreamEnded = !1, this._bindStream(p);
273
273
  }
274
- a.inherits(i, o), i.prototype._bindStream = function(c) {
274
+ a.inherits(s, o), s.prototype._bindStream = function(c) {
275
275
  var p = this;
276
276
  (this._stream = c).pause(), c.on("data", function(f) {
277
277
  p.push({ data: f, meta: { percent: 0 } });
@@ -280,20 +280,20 @@ https://github.com/nodeca/pako/blob/main/LICENSE
280
280
  }).on("end", function() {
281
281
  p.isPaused ? p._upstreamEnded = !0 : p.end();
282
282
  });
283
- }, i.prototype.pause = function() {
283
+ }, s.prototype.pause = function() {
284
284
  return !!o.prototype.pause.call(this) && (this._stream.pause(), !0);
285
- }, i.prototype.resume = function() {
285
+ }, s.prototype.resume = function() {
286
286
  return !!o.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0);
287
- }, r.exports = i;
287
+ }, r.exports = s;
288
288
  }, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(t, r, n) {
289
289
  var a = t("readable-stream").Readable;
290
- function o(i, c, p) {
291
- a.call(this, c), this._helper = i;
290
+ function o(s, c, p) {
291
+ a.call(this, c), this._helper = s;
292
292
  var f = this;
293
- i.on("data", function(_, g) {
294
- f.push(_) || f._helper.pause(), p && p(g);
295
- }).on("error", function(_) {
296
- f.emit("error", _);
293
+ s.on("data", function(y, m) {
294
+ f.push(y) || f._helper.pause(), p && p(m);
295
+ }).on("error", function(y) {
296
+ f.emit("error", y);
297
297
  }).on("end", function() {
298
298
  f.push(null);
299
299
  });
@@ -317,16 +317,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
317
317
  } };
318
318
  }, {}], 15: [function(t, r, n) {
319
319
  function a(T, L, B) {
320
- var j, z = i.getTypeOf(L), Z = i.extend(B || {}, f);
321
- Z.date = Z.date || /* @__PURE__ */ new Date(), Z.compression !== null && (Z.compression = Z.compression.toUpperCase()), typeof Z.unixPermissions == "string" && (Z.unixPermissions = parseInt(Z.unixPermissions, 8)), Z.unixPermissions && 16384 & Z.unixPermissions && (Z.dir = !0), Z.dosPermissions && 16 & Z.dosPermissions && (Z.dir = !0), Z.dir && (T = u(T)), Z.createFolders && (j = y(T)) && v.call(this, j, !0);
320
+ var j, z = s.getTypeOf(L), Z = s.extend(B || {}, f);
321
+ Z.date = Z.date || /* @__PURE__ */ new Date(), Z.compression !== null && (Z.compression = Z.compression.toUpperCase()), typeof Z.unixPermissions == "string" && (Z.unixPermissions = parseInt(Z.unixPermissions, 8)), Z.unixPermissions && 16384 & Z.unixPermissions && (Z.dir = !0), Z.dosPermissions && 16 & Z.dosPermissions && (Z.dir = !0), Z.dir && (T = u(T)), Z.createFolders && (j = _(T)) && v.call(this, j, !0);
322
322
  var Q = z === "string" && Z.binary === !1 && Z.base64 === !1;
323
- B && B.binary !== void 0 || (Z.binary = !Q), (L instanceof _ && L.uncompressedSize === 0 || Z.dir || !L || L.length === 0) && (Z.base64 = !1, Z.binary = !0, L = "", Z.compression = "STORE", z = "string");
323
+ B && B.binary !== void 0 || (Z.binary = !Q), (L instanceof y && L.uncompressedSize === 0 || Z.dir || !L || L.length === 0) && (Z.base64 = !1, Z.binary = !0, L = "", Z.compression = "STORE", z = "string");
324
324
  var k = null;
325
- k = L instanceof _ || L instanceof c ? L : b.isNode && b.isStream(L) ? new d(T, L) : i.prepareContent(T, L, Z.binary, Z.optimizedBinaryString, Z.base64);
326
- var N = new g(T, k, Z);
325
+ k = L instanceof y || L instanceof c ? L : b.isNode && b.isStream(L) ? new d(T, L) : s.prepareContent(T, L, Z.binary, Z.optimizedBinaryString, Z.base64);
326
+ var N = new m(T, k, Z);
327
327
  this.files[T] = N;
328
328
  }
329
- var o = t("./utf8"), i = t("./utils"), c = t("./stream/GenericWorker"), p = t("./stream/StreamHelper"), f = t("./defaults"), _ = t("./compressedObject"), g = t("./zipObject"), h = t("./generate"), b = t("./nodejsUtils"), d = t("./nodejs/NodejsStreamInputAdapter"), y = function(T) {
329
+ var o = t("./utf8"), s = t("./utils"), c = t("./stream/GenericWorker"), p = t("./stream/StreamHelper"), f = t("./defaults"), y = t("./compressedObject"), m = t("./zipObject"), h = t("./generate"), b = t("./nodejsUtils"), d = t("./nodejs/NodejsStreamInputAdapter"), _ = function(T) {
330
330
  T.slice(-1) === "/" && (T = T.substring(0, T.length - 1));
331
331
  var L = T.lastIndexOf("/");
332
332
  return 0 < L ? T.substring(0, L) : "";
@@ -335,7 +335,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
335
335
  }, v = function(T, L) {
336
336
  return L = L !== void 0 ? L : f.createFolders, T = u(T), this.files[T] || a.call(this, T, null, { dir: !0, createFolders: L }), this.files[T];
337
337
  };
338
- function x(T) {
338
+ function E(T) {
339
339
  return Object.prototype.toString.call(T) === "[object RegExp]";
340
340
  }
341
341
  var A = { load: function() {
@@ -350,7 +350,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
350
350
  }), L;
351
351
  }, file: function(T, L, B) {
352
352
  if (arguments.length !== 1) return T = this.root + T, a.call(this, T, L, B), this;
353
- if (x(T)) {
353
+ if (E(T)) {
354
354
  var j = T;
355
355
  return this.filter(function(Z, Q) {
356
356
  return !Q.dir && j.test(Z);
@@ -360,7 +360,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
360
360
  return z && !z.dir ? z : null;
361
361
  }, folder: function(T) {
362
362
  if (!T) return this;
363
- if (x(T)) return this.filter(function(z, Z) {
363
+ if (E(T)) return this.filter(function(z, Z) {
364
364
  return Z.dir && T.test(z);
365
365
  });
366
366
  var L = this.root + T, B = v.call(this, L), j = this.clone();
@@ -378,8 +378,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
378
378
  }, generateInternalStream: function(T) {
379
379
  var L, B = {};
380
380
  try {
381
- if ((B = i.extend(T || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: o.utf8encode })).type = B.type.toLowerCase(), B.compression = B.compression.toUpperCase(), B.type === "binarystring" && (B.type = "string"), !B.type) throw new Error("No output type specified.");
382
- i.checkSupport(B.type), B.platform !== "darwin" && B.platform !== "freebsd" && B.platform !== "linux" && B.platform !== "sunos" || (B.platform = "UNIX"), B.platform === "win32" && (B.platform = "DOS");
381
+ if ((B = s.extend(T || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: o.utf8encode })).type = B.type.toLowerCase(), B.compression = B.compression.toUpperCase(), B.type === "binarystring" && (B.type = "string"), !B.type) throw new Error("No output type specified.");
382
+ s.checkSupport(B.type), B.platform !== "darwin" && B.platform !== "freebsd" && B.platform !== "linux" && B.platform !== "sunos" || (B.platform = "UNIX"), B.platform === "win32" && (B.platform = "DOS");
383
383
  var j = B.comment || this.comment || "";
384
384
  L = h.generateWorker(this, B, j);
385
385
  } catch (z) {
@@ -396,125 +396,125 @@ https://github.com/nodeca/pako/blob/main/LICENSE
396
396
  r.exports = t("stream");
397
397
  }, { stream: void 0 }], 17: [function(t, r, n) {
398
398
  var a = t("./DataReader");
399
- function o(i) {
400
- a.call(this, i);
401
- for (var c = 0; c < this.data.length; c++) i[c] = 255 & i[c];
399
+ function o(s) {
400
+ a.call(this, s);
401
+ for (var c = 0; c < this.data.length; c++) s[c] = 255 & s[c];
402
402
  }
403
- t("../utils").inherits(o, a), o.prototype.byteAt = function(i) {
404
- return this.data[this.zero + i];
405
- }, o.prototype.lastIndexOfSignature = function(i) {
406
- for (var c = i.charCodeAt(0), p = i.charCodeAt(1), f = i.charCodeAt(2), _ = i.charCodeAt(3), g = this.length - 4; 0 <= g; --g) if (this.data[g] === c && this.data[g + 1] === p && this.data[g + 2] === f && this.data[g + 3] === _) return g - this.zero;
403
+ t("../utils").inherits(o, a), o.prototype.byteAt = function(s) {
404
+ return this.data[this.zero + s];
405
+ }, o.prototype.lastIndexOfSignature = function(s) {
406
+ for (var c = s.charCodeAt(0), p = s.charCodeAt(1), f = s.charCodeAt(2), y = s.charCodeAt(3), m = this.length - 4; 0 <= m; --m) if (this.data[m] === c && this.data[m + 1] === p && this.data[m + 2] === f && this.data[m + 3] === y) return m - this.zero;
407
407
  return -1;
408
- }, o.prototype.readAndCheckSignature = function(i) {
409
- var c = i.charCodeAt(0), p = i.charCodeAt(1), f = i.charCodeAt(2), _ = i.charCodeAt(3), g = this.readData(4);
410
- return c === g[0] && p === g[1] && f === g[2] && _ === g[3];
411
- }, o.prototype.readData = function(i) {
412
- if (this.checkOffset(i), i === 0) return [];
413
- var c = this.data.slice(this.zero + this.index, this.zero + this.index + i);
414
- return this.index += i, c;
408
+ }, o.prototype.readAndCheckSignature = function(s) {
409
+ var c = s.charCodeAt(0), p = s.charCodeAt(1), f = s.charCodeAt(2), y = s.charCodeAt(3), m = this.readData(4);
410
+ return c === m[0] && p === m[1] && f === m[2] && y === m[3];
411
+ }, o.prototype.readData = function(s) {
412
+ if (this.checkOffset(s), s === 0) return [];
413
+ var c = this.data.slice(this.zero + this.index, this.zero + this.index + s);
414
+ return this.index += s, c;
415
415
  }, r.exports = o;
416
416
  }, { "../utils": 32, "./DataReader": 18 }], 18: [function(t, r, n) {
417
417
  var a = t("../utils");
418
- function o(i) {
419
- this.data = i, this.length = i.length, this.index = 0, this.zero = 0;
418
+ function o(s) {
419
+ this.data = s, this.length = s.length, this.index = 0, this.zero = 0;
420
420
  }
421
- o.prototype = { checkOffset: function(i) {
422
- this.checkIndex(this.index + i);
423
- }, checkIndex: function(i) {
424
- if (this.length < this.zero + i || i < 0) throw new Error("End of data reached (data length = " + this.length + ", asked index = " + i + "). Corrupted zip ?");
425
- }, setIndex: function(i) {
426
- this.checkIndex(i), this.index = i;
427
- }, skip: function(i) {
428
- this.setIndex(this.index + i);
421
+ o.prototype = { checkOffset: function(s) {
422
+ this.checkIndex(this.index + s);
423
+ }, checkIndex: function(s) {
424
+ if (this.length < this.zero + s || s < 0) throw new Error("End of data reached (data length = " + this.length + ", asked index = " + s + "). Corrupted zip ?");
425
+ }, setIndex: function(s) {
426
+ this.checkIndex(s), this.index = s;
427
+ }, skip: function(s) {
428
+ this.setIndex(this.index + s);
429
429
  }, byteAt: function() {
430
- }, readInt: function(i) {
430
+ }, readInt: function(s) {
431
431
  var c, p = 0;
432
- for (this.checkOffset(i), c = this.index + i - 1; c >= this.index; c--) p = (p << 8) + this.byteAt(c);
433
- return this.index += i, p;
434
- }, readString: function(i) {
435
- return a.transformTo("string", this.readData(i));
432
+ for (this.checkOffset(s), c = this.index + s - 1; c >= this.index; c--) p = (p << 8) + this.byteAt(c);
433
+ return this.index += s, p;
434
+ }, readString: function(s) {
435
+ return a.transformTo("string", this.readData(s));
436
436
  }, readData: function() {
437
437
  }, lastIndexOfSignature: function() {
438
438
  }, readAndCheckSignature: function() {
439
439
  }, readDate: function() {
440
- var i = this.readInt(4);
441
- return new Date(Date.UTC(1980 + (i >> 25 & 127), (i >> 21 & 15) - 1, i >> 16 & 31, i >> 11 & 31, i >> 5 & 63, (31 & i) << 1));
440
+ var s = this.readInt(4);
441
+ return new Date(Date.UTC(1980 + (s >> 25 & 127), (s >> 21 & 15) - 1, s >> 16 & 31, s >> 11 & 31, s >> 5 & 63, (31 & s) << 1));
442
442
  } }, r.exports = o;
443
443
  }, { "../utils": 32 }], 19: [function(t, r, n) {
444
444
  var a = t("./Uint8ArrayReader");
445
- function o(i) {
446
- a.call(this, i);
445
+ function o(s) {
446
+ a.call(this, s);
447
447
  }
448
- t("../utils").inherits(o, a), o.prototype.readData = function(i) {
449
- this.checkOffset(i);
450
- var c = this.data.slice(this.zero + this.index, this.zero + this.index + i);
451
- return this.index += i, c;
448
+ t("../utils").inherits(o, a), o.prototype.readData = function(s) {
449
+ this.checkOffset(s);
450
+ var c = this.data.slice(this.zero + this.index, this.zero + this.index + s);
451
+ return this.index += s, c;
452
452
  }, r.exports = o;
453
453
  }, { "../utils": 32, "./Uint8ArrayReader": 21 }], 20: [function(t, r, n) {
454
454
  var a = t("./DataReader");
455
- function o(i) {
456
- a.call(this, i);
455
+ function o(s) {
456
+ a.call(this, s);
457
457
  }
458
- t("../utils").inherits(o, a), o.prototype.byteAt = function(i) {
459
- return this.data.charCodeAt(this.zero + i);
460
- }, o.prototype.lastIndexOfSignature = function(i) {
461
- return this.data.lastIndexOf(i) - this.zero;
462
- }, o.prototype.readAndCheckSignature = function(i) {
463
- return i === this.readData(4);
464
- }, o.prototype.readData = function(i) {
465
- this.checkOffset(i);
466
- var c = this.data.slice(this.zero + this.index, this.zero + this.index + i);
467
- return this.index += i, c;
458
+ t("../utils").inherits(o, a), o.prototype.byteAt = function(s) {
459
+ return this.data.charCodeAt(this.zero + s);
460
+ }, o.prototype.lastIndexOfSignature = function(s) {
461
+ return this.data.lastIndexOf(s) - this.zero;
462
+ }, o.prototype.readAndCheckSignature = function(s) {
463
+ return s === this.readData(4);
464
+ }, o.prototype.readData = function(s) {
465
+ this.checkOffset(s);
466
+ var c = this.data.slice(this.zero + this.index, this.zero + this.index + s);
467
+ return this.index += s, c;
468
468
  }, r.exports = o;
469
469
  }, { "../utils": 32, "./DataReader": 18 }], 21: [function(t, r, n) {
470
470
  var a = t("./ArrayReader");
471
- function o(i) {
472
- a.call(this, i);
471
+ function o(s) {
472
+ a.call(this, s);
473
473
  }
474
- t("../utils").inherits(o, a), o.prototype.readData = function(i) {
475
- if (this.checkOffset(i), i === 0) return new Uint8Array(0);
476
- var c = this.data.subarray(this.zero + this.index, this.zero + this.index + i);
477
- return this.index += i, c;
474
+ t("../utils").inherits(o, a), o.prototype.readData = function(s) {
475
+ if (this.checkOffset(s), s === 0) return new Uint8Array(0);
476
+ var c = this.data.subarray(this.zero + this.index, this.zero + this.index + s);
477
+ return this.index += s, c;
478
478
  }, r.exports = o;
479
479
  }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(t, r, n) {
480
- var a = t("../utils"), o = t("../support"), i = t("./ArrayReader"), c = t("./StringReader"), p = t("./NodeBufferReader"), f = t("./Uint8ArrayReader");
481
- r.exports = function(_) {
482
- var g = a.getTypeOf(_);
483
- return a.checkSupport(g), g !== "string" || o.uint8array ? g === "nodebuffer" ? new p(_) : o.uint8array ? new f(a.transformTo("uint8array", _)) : new i(a.transformTo("array", _)) : new c(_);
480
+ var a = t("../utils"), o = t("../support"), s = t("./ArrayReader"), c = t("./StringReader"), p = t("./NodeBufferReader"), f = t("./Uint8ArrayReader");
481
+ r.exports = function(y) {
482
+ var m = a.getTypeOf(y);
483
+ return a.checkSupport(m), m !== "string" || o.uint8array ? m === "nodebuffer" ? new p(y) : o.uint8array ? new f(a.transformTo("uint8array", y)) : new s(a.transformTo("array", y)) : new c(y);
484
484
  };
485
485
  }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(t, r, n) {
486
486
  n.LOCAL_FILE_HEADER = "PK", n.CENTRAL_FILE_HEADER = "PK", n.CENTRAL_DIRECTORY_END = "PK", n.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", n.ZIP64_CENTRAL_DIRECTORY_END = "PK", n.DATA_DESCRIPTOR = "PK\x07\b";
487
487
  }, {}], 24: [function(t, r, n) {
488
488
  var a = t("./GenericWorker"), o = t("../utils");
489
- function i(c) {
489
+ function s(c) {
490
490
  a.call(this, "ConvertWorker to " + c), this.destType = c;
491
491
  }
492
- o.inherits(i, a), i.prototype.processChunk = function(c) {
492
+ o.inherits(s, a), s.prototype.processChunk = function(c) {
493
493
  this.push({ data: o.transformTo(this.destType, c.data), meta: c.meta });
494
- }, r.exports = i;
494
+ }, r.exports = s;
495
495
  }, { "../utils": 32, "./GenericWorker": 28 }], 25: [function(t, r, n) {
496
496
  var a = t("./GenericWorker"), o = t("../crc32");
497
- function i() {
497
+ function s() {
498
498
  a.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
499
499
  }
500
- t("../utils").inherits(i, a), i.prototype.processChunk = function(c) {
500
+ t("../utils").inherits(s, a), s.prototype.processChunk = function(c) {
501
501
  this.streamInfo.crc32 = o(c.data, this.streamInfo.crc32 || 0), this.push(c);
502
- }, r.exports = i;
502
+ }, r.exports = s;
503
503
  }, { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], 26: [function(t, r, n) {
504
504
  var a = t("../utils"), o = t("./GenericWorker");
505
- function i(c) {
505
+ function s(c) {
506
506
  o.call(this, "DataLengthProbe for " + c), this.propName = c, this.withStreamInfo(c, 0);
507
507
  }
508
- a.inherits(i, o), i.prototype.processChunk = function(c) {
508
+ a.inherits(s, o), s.prototype.processChunk = function(c) {
509
509
  if (c) {
510
510
  var p = this.streamInfo[this.propName] || 0;
511
511
  this.streamInfo[this.propName] = p + c.data.length;
512
512
  }
513
513
  o.prototype.processChunk.call(this, c);
514
- }, r.exports = i;
514
+ }, r.exports = s;
515
515
  }, { "../utils": 32, "./GenericWorker": 28 }], 27: [function(t, r, n) {
516
516
  var a = t("../utils"), o = t("./GenericWorker");
517
- function i(c) {
517
+ function s(c) {
518
518
  o.call(this, "DataWorker");
519
519
  var p = this;
520
520
  this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, c.then(function(f) {
@@ -523,13 +523,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
523
523
  p.error(f);
524
524
  });
525
525
  }
526
- a.inherits(i, o), i.prototype.cleanUp = function() {
526
+ a.inherits(s, o), s.prototype.cleanUp = function() {
527
527
  o.prototype.cleanUp.call(this), this.data = null;
528
- }, i.prototype.resume = function() {
528
+ }, s.prototype.resume = function() {
529
529
  return !!o.prototype.resume.call(this) && (!this._tickScheduled && this.dataIsReady && (this._tickScheduled = !0, a.delay(this._tickAndRepeat, [], this)), !0);
530
- }, i.prototype._tickAndRepeat = function() {
530
+ }, s.prototype._tickAndRepeat = function() {
531
531
  this._tickScheduled = !1, this.isPaused || this.isFinished || (this._tick(), this.isFinished || (a.delay(this._tickAndRepeat, [], this), this._tickScheduled = !0));
532
- }, i.prototype._tick = function() {
532
+ }, s.prototype._tick = function() {
533
533
  if (this.isPaused || this.isFinished) return !1;
534
534
  var c = null, p = Math.min(this.max, this.index + 16384);
535
535
  if (this.index >= this.max) return this.end();
@@ -545,7 +545,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
545
545
  c = this.data.slice(this.index, p);
546
546
  }
547
547
  return this.index = p, this.push({ data: c, meta: { percent: this.max ? this.index / this.max * 100 : 0 } });
548
- }, r.exports = i;
548
+ }, r.exports = s;
549
549
  }, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(t, r, n) {
550
550
  function a(o) {
551
551
  this.name = o || "default", this.streamInfo = {}, this.generatedError = null, this.extraStreamInfo = {}, this.isPaused = !0, this.isFinished = !1, this.isLocked = !1, this._listeners = { data: [], end: [], error: [] }, this.previous = null;
@@ -563,24 +563,24 @@ https://github.com/nodeca/pako/blob/main/LICENSE
563
563
  return !0;
564
564
  }, error: function(o) {
565
565
  return !this.isFinished && (this.isPaused ? this.generatedError = o : (this.isFinished = !0, this.emit("error", o), this.previous && this.previous.error(o), this.cleanUp()), !0);
566
- }, on: function(o, i) {
567
- return this._listeners[o].push(i), this;
566
+ }, on: function(o, s) {
567
+ return this._listeners[o].push(s), this;
568
568
  }, cleanUp: function() {
569
569
  this.streamInfo = this.generatedError = this.extraStreamInfo = null, this._listeners = [];
570
- }, emit: function(o, i) {
571
- if (this._listeners[o]) for (var c = 0; c < this._listeners[o].length; c++) this._listeners[o][c].call(this, i);
570
+ }, emit: function(o, s) {
571
+ if (this._listeners[o]) for (var c = 0; c < this._listeners[o].length; c++) this._listeners[o][c].call(this, s);
572
572
  }, pipe: function(o) {
573
573
  return o.registerPrevious(this);
574
574
  }, registerPrevious: function(o) {
575
575
  if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.");
576
576
  this.streamInfo = o.streamInfo, this.mergeStreamInfo(), this.previous = o;
577
- var i = this;
577
+ var s = this;
578
578
  return o.on("data", function(c) {
579
- i.processChunk(c);
579
+ s.processChunk(c);
580
580
  }), o.on("end", function() {
581
- i.end();
581
+ s.end();
582
582
  }), o.on("error", function(c) {
583
- i.error(c);
583
+ s.error(c);
584
584
  }), this;
585
585
  }, pause: function() {
586
586
  return !this.isPaused && !this.isFinished && (this.isPaused = !0, this.previous && this.previous.pause(), !0);
@@ -591,8 +591,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
591
591
  }, flush: function() {
592
592
  }, processChunk: function(o) {
593
593
  this.push(o);
594
- }, withStreamInfo: function(o, i) {
595
- return this.extraStreamInfo[o] = i, this.mergeStreamInfo(), this;
594
+ }, withStreamInfo: function(o, s) {
595
+ return this.extraStreamInfo[o] = s, this.mergeStreamInfo(), this;
596
596
  }, mergeStreamInfo: function() {
597
597
  for (var o in this.extraStreamInfo) Object.prototype.hasOwnProperty.call(this.extraStreamInfo, o) && (this.streamInfo[o] = this.extraStreamInfo[o]);
598
598
  }, lock: function() {
@@ -603,14 +603,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
603
603
  return this.previous ? this.previous + " -> " + o : o;
604
604
  } }, r.exports = a;
605
605
  }, {}], 29: [function(t, r, n) {
606
- var a = t("../utils"), o = t("./ConvertWorker"), i = t("./GenericWorker"), c = t("../base64"), p = t("../support"), f = t("../external"), _ = null;
606
+ var a = t("../utils"), o = t("./ConvertWorker"), s = t("./GenericWorker"), c = t("../base64"), p = t("../support"), f = t("../external"), y = null;
607
607
  if (p.nodestream) try {
608
- _ = t("../nodejs/NodejsStreamOutputAdapter");
608
+ y = t("../nodejs/NodejsStreamOutputAdapter");
609
609
  } catch {
610
610
  }
611
- function g(b, d) {
612
- return new f.Promise(function(y, u) {
613
- var v = [], x = b._internalType, A = b._outputType, T = b._mimeType;
611
+ function m(b, d) {
612
+ return new f.Promise(function(_, u) {
613
+ var v = [], E = b._internalType, A = b._outputType, T = b._mimeType;
614
614
  b.on("data", function(L, B) {
615
615
  v.push(L), d && d(B);
616
616
  }).on("error", function(L) {
@@ -642,8 +642,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
642
642
  default:
643
643
  throw new Error("concat : unsupported type '" + B + "'");
644
644
  }
645
- }(x, v), T);
646
- y(L);
645
+ }(E, v), T);
646
+ _(L);
647
647
  } catch (B) {
648
648
  u(B);
649
649
  }
@@ -651,7 +651,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
651
651
  }).resume();
652
652
  });
653
653
  }
654
- function h(b, d, y) {
654
+ function h(b, d, _) {
655
655
  var u = d;
656
656
  switch (d) {
657
657
  case "blob":
@@ -662,19 +662,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
662
662
  u = "string";
663
663
  }
664
664
  try {
665
- this._internalType = u, this._outputType = d, this._mimeType = y, a.checkSupport(u), this._worker = b.pipe(new o(u)), b.lock();
665
+ this._internalType = u, this._outputType = d, this._mimeType = _, a.checkSupport(u), this._worker = b.pipe(new o(u)), b.lock();
666
666
  } catch (v) {
667
- this._worker = new i("error"), this._worker.error(v);
667
+ this._worker = new s("error"), this._worker.error(v);
668
668
  }
669
669
  }
670
670
  h.prototype = { accumulate: function(b) {
671
- return g(this, b);
671
+ return m(this, b);
672
672
  }, on: function(b, d) {
673
- var y = this;
673
+ var _ = this;
674
674
  return b === "data" ? this._worker.on(b, function(u) {
675
- d.call(y, u.data, u.meta);
675
+ d.call(_, u.data, u.meta);
676
676
  }) : this._worker.on(b, function() {
677
- a.delay(d, arguments, y);
677
+ a.delay(d, arguments, _);
678
678
  }), this;
679
679
  }, resume: function() {
680
680
  return a.delay(this._worker.resume, [], this._worker), this;
@@ -682,7 +682,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
682
682
  return this._worker.pause(), this;
683
683
  }, toNodejsStream: function(b) {
684
684
  if (a.checkSupport("nodestream"), this._outputType !== "nodebuffer") throw new Error(this._outputType + " is not supported by this method");
685
- return new _(this, { objectMode: this._outputType !== "nodebuffer" }, b);
685
+ return new y(this, { objectMode: this._outputType !== "nodebuffer" }, b);
686
686
  } }, r.exports = h;
687
687
  }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(t, r, n) {
688
688
  if (n.base64 = !0, n.array = !0, n.string = !0, n.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", n.nodebuffer = typeof Buffer < "u", n.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") n.blob = !1;
@@ -705,33 +705,33 @@ https://github.com/nodeca/pako/blob/main/LICENSE
705
705
  n.nodestream = !1;
706
706
  }
707
707
  }, { "readable-stream": 16 }], 31: [function(t, r, n) {
708
- for (var a = t("./utils"), o = t("./support"), i = t("./nodejsUtils"), c = t("./stream/GenericWorker"), p = new Array(256), f = 0; f < 256; f++) p[f] = 252 <= f ? 6 : 248 <= f ? 5 : 240 <= f ? 4 : 224 <= f ? 3 : 192 <= f ? 2 : 1;
708
+ for (var a = t("./utils"), o = t("./support"), s = t("./nodejsUtils"), c = t("./stream/GenericWorker"), p = new Array(256), f = 0; f < 256; f++) p[f] = 252 <= f ? 6 : 248 <= f ? 5 : 240 <= f ? 4 : 224 <= f ? 3 : 192 <= f ? 2 : 1;
709
709
  p[254] = p[254] = 1;
710
- function _() {
710
+ function y() {
711
711
  c.call(this, "utf-8 decode"), this.leftOver = null;
712
712
  }
713
- function g() {
713
+ function m() {
714
714
  c.call(this, "utf-8 encode");
715
715
  }
716
716
  n.utf8encode = function(h) {
717
- return o.nodebuffer ? i.newBufferFrom(h, "utf-8") : function(b) {
718
- var d, y, u, v, x, A = b.length, T = 0;
719
- for (v = 0; v < A; v++) (64512 & (y = b.charCodeAt(v))) == 55296 && v + 1 < A && (64512 & (u = b.charCodeAt(v + 1))) == 56320 && (y = 65536 + (y - 55296 << 10) + (u - 56320), v++), T += y < 128 ? 1 : y < 2048 ? 2 : y < 65536 ? 3 : 4;
720
- for (d = o.uint8array ? new Uint8Array(T) : new Array(T), v = x = 0; x < T; v++) (64512 & (y = b.charCodeAt(v))) == 55296 && v + 1 < A && (64512 & (u = b.charCodeAt(v + 1))) == 56320 && (y = 65536 + (y - 55296 << 10) + (u - 56320), v++), y < 128 ? d[x++] = y : (y < 2048 ? d[x++] = 192 | y >>> 6 : (y < 65536 ? d[x++] = 224 | y >>> 12 : (d[x++] = 240 | y >>> 18, d[x++] = 128 | y >>> 12 & 63), d[x++] = 128 | y >>> 6 & 63), d[x++] = 128 | 63 & y);
717
+ return o.nodebuffer ? s.newBufferFrom(h, "utf-8") : function(b) {
718
+ var d, _, u, v, E, A = b.length, T = 0;
719
+ for (v = 0; v < A; v++) (64512 & (_ = b.charCodeAt(v))) == 55296 && v + 1 < A && (64512 & (u = b.charCodeAt(v + 1))) == 56320 && (_ = 65536 + (_ - 55296 << 10) + (u - 56320), v++), T += _ < 128 ? 1 : _ < 2048 ? 2 : _ < 65536 ? 3 : 4;
720
+ for (d = o.uint8array ? new Uint8Array(T) : new Array(T), v = E = 0; E < T; v++) (64512 & (_ = b.charCodeAt(v))) == 55296 && v + 1 < A && (64512 & (u = b.charCodeAt(v + 1))) == 56320 && (_ = 65536 + (_ - 55296 << 10) + (u - 56320), v++), _ < 128 ? d[E++] = _ : (_ < 2048 ? d[E++] = 192 | _ >>> 6 : (_ < 65536 ? d[E++] = 224 | _ >>> 12 : (d[E++] = 240 | _ >>> 18, d[E++] = 128 | _ >>> 12 & 63), d[E++] = 128 | _ >>> 6 & 63), d[E++] = 128 | 63 & _);
721
721
  return d;
722
722
  }(h);
723
723
  }, n.utf8decode = function(h) {
724
724
  return o.nodebuffer ? a.transformTo("nodebuffer", h).toString("utf-8") : function(b) {
725
- var d, y, u, v, x = b.length, A = new Array(2 * x);
726
- for (d = y = 0; d < x; ) if ((u = b[d++]) < 128) A[y++] = u;
727
- else if (4 < (v = p[u])) A[y++] = 65533, d += v - 1;
725
+ var d, _, u, v, E = b.length, A = new Array(2 * E);
726
+ for (d = _ = 0; d < E; ) if ((u = b[d++]) < 128) A[_++] = u;
727
+ else if (4 < (v = p[u])) A[_++] = 65533, d += v - 1;
728
728
  else {
729
- for (u &= v === 2 ? 31 : v === 3 ? 15 : 7; 1 < v && d < x; ) u = u << 6 | 63 & b[d++], v--;
730
- 1 < v ? A[y++] = 65533 : u < 65536 ? A[y++] = u : (u -= 65536, A[y++] = 55296 | u >> 10 & 1023, A[y++] = 56320 | 1023 & u);
729
+ for (u &= v === 2 ? 31 : v === 3 ? 15 : 7; 1 < v && d < E; ) u = u << 6 | 63 & b[d++], v--;
730
+ 1 < v ? A[_++] = 65533 : u < 65536 ? A[_++] = u : (u -= 65536, A[_++] = 55296 | u >> 10 & 1023, A[_++] = 56320 | 1023 & u);
731
731
  }
732
- return A.length !== y && (A.subarray ? A = A.subarray(0, y) : A.length = y), a.applyFromCharCode(A);
732
+ return A.length !== _ && (A.subarray ? A = A.subarray(0, _) : A.length = _), a.applyFromCharCode(A);
733
733
  }(h = a.transformTo(o.uint8array ? "uint8array" : "array", h));
734
- }, a.inherits(_, c), _.prototype.processChunk = function(h) {
734
+ }, a.inherits(y, c), y.prototype.processChunk = function(h) {
735
735
  var b = a.transformTo(o.uint8array ? "uint8array" : "array", h.data);
736
736
  if (this.leftOver && this.leftOver.length) {
737
737
  if (o.uint8array) {
@@ -740,47 +740,47 @@ https://github.com/nodeca/pako/blob/main/LICENSE
740
740
  } else b = this.leftOver.concat(b);
741
741
  this.leftOver = null;
742
742
  }
743
- var y = function(v, x) {
743
+ var _ = function(v, E) {
744
744
  var A;
745
- for ((x = x || v.length) > v.length && (x = v.length), A = x - 1; 0 <= A && (192 & v[A]) == 128; ) A--;
746
- return A < 0 || A === 0 ? x : A + p[v[A]] > x ? A : x;
745
+ for ((E = E || v.length) > v.length && (E = v.length), A = E - 1; 0 <= A && (192 & v[A]) == 128; ) A--;
746
+ return A < 0 || A === 0 ? E : A + p[v[A]] > E ? A : E;
747
747
  }(b), u = b;
748
- y !== b.length && (o.uint8array ? (u = b.subarray(0, y), this.leftOver = b.subarray(y, b.length)) : (u = b.slice(0, y), this.leftOver = b.slice(y, b.length))), this.push({ data: n.utf8decode(u), meta: h.meta });
749
- }, _.prototype.flush = function() {
748
+ _ !== b.length && (o.uint8array ? (u = b.subarray(0, _), this.leftOver = b.subarray(_, b.length)) : (u = b.slice(0, _), this.leftOver = b.slice(_, b.length))), this.push({ data: n.utf8decode(u), meta: h.meta });
749
+ }, y.prototype.flush = function() {
750
750
  this.leftOver && this.leftOver.length && (this.push({ data: n.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
751
- }, n.Utf8DecodeWorker = _, a.inherits(g, c), g.prototype.processChunk = function(h) {
751
+ }, n.Utf8DecodeWorker = y, a.inherits(m, c), m.prototype.processChunk = function(h) {
752
752
  this.push({ data: n.utf8encode(h.data), meta: h.meta });
753
- }, n.Utf8EncodeWorker = g;
753
+ }, n.Utf8EncodeWorker = m;
754
754
  }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(t, r, n) {
755
- var a = t("./support"), o = t("./base64"), i = t("./nodejsUtils"), c = t("./external");
755
+ var a = t("./support"), o = t("./base64"), s = t("./nodejsUtils"), c = t("./external");
756
756
  function p(d) {
757
757
  return d;
758
758
  }
759
- function f(d, y) {
760
- for (var u = 0; u < d.length; ++u) y[u] = 255 & d.charCodeAt(u);
761
- return y;
759
+ function f(d, _) {
760
+ for (var u = 0; u < d.length; ++u) _[u] = 255 & d.charCodeAt(u);
761
+ return _;
762
762
  }
763
- t("setimmediate"), n.newBlob = function(d, y) {
763
+ t("setimmediate"), n.newBlob = function(d, _) {
764
764
  n.checkSupport("blob");
765
765
  try {
766
- return new Blob([d], { type: y });
766
+ return new Blob([d], { type: _ });
767
767
  } catch {
768
768
  try {
769
769
  var u = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
770
- return u.append(d), u.getBlob(y);
770
+ return u.append(d), u.getBlob(_);
771
771
  } catch {
772
772
  throw new Error("Bug : can't construct the Blob.");
773
773
  }
774
774
  }
775
775
  };
776
- var _ = { stringifyByChunk: function(d, y, u) {
777
- var v = [], x = 0, A = d.length;
776
+ var y = { stringifyByChunk: function(d, _, u) {
777
+ var v = [], E = 0, A = d.length;
778
778
  if (A <= u) return String.fromCharCode.apply(null, d);
779
- for (; x < A; ) y === "array" || y === "nodebuffer" ? v.push(String.fromCharCode.apply(null, d.slice(x, Math.min(x + u, A)))) : v.push(String.fromCharCode.apply(null, d.subarray(x, Math.min(x + u, A)))), x += u;
779
+ for (; E < A; ) _ === "array" || _ === "nodebuffer" ? v.push(String.fromCharCode.apply(null, d.slice(E, Math.min(E + u, A)))) : v.push(String.fromCharCode.apply(null, d.subarray(E, Math.min(E + u, A)))), E += u;
780
780
  return v.join("");
781
781
  }, stringifyByChar: function(d) {
782
- for (var y = "", u = 0; u < d.length; u++) y += String.fromCharCode(d[u]);
783
- return y;
782
+ for (var _ = "", u = 0; u < d.length; u++) _ += String.fromCharCode(d[u]);
783
+ return _;
784
784
  }, applyCanBeUsed: { uint8array: function() {
785
785
  try {
786
786
  return a.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1;
@@ -789,25 +789,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
789
789
  }
790
790
  }(), nodebuffer: function() {
791
791
  try {
792
- return a.nodebuffer && String.fromCharCode.apply(null, i.allocBuffer(1)).length === 1;
792
+ return a.nodebuffer && String.fromCharCode.apply(null, s.allocBuffer(1)).length === 1;
793
793
  } catch {
794
794
  return !1;
795
795
  }
796
796
  }() } };
797
- function g(d) {
798
- var y = 65536, u = n.getTypeOf(d), v = !0;
799
- if (u === "uint8array" ? v = _.applyCanBeUsed.uint8array : u === "nodebuffer" && (v = _.applyCanBeUsed.nodebuffer), v) for (; 1 < y; ) try {
800
- return _.stringifyByChunk(d, u, y);
797
+ function m(d) {
798
+ var _ = 65536, u = n.getTypeOf(d), v = !0;
799
+ if (u === "uint8array" ? v = y.applyCanBeUsed.uint8array : u === "nodebuffer" && (v = y.applyCanBeUsed.nodebuffer), v) for (; 1 < _; ) try {
800
+ return y.stringifyByChunk(d, u, _);
801
801
  } catch {
802
- y = Math.floor(y / 2);
802
+ _ = Math.floor(_ / 2);
803
803
  }
804
- return _.stringifyByChar(d);
804
+ return y.stringifyByChar(d);
805
805
  }
806
- function h(d, y) {
807
- for (var u = 0; u < d.length; u++) y[u] = d[u];
808
- return y;
806
+ function h(d, _) {
807
+ for (var u = 0; u < d.length; u++) _[u] = d[u];
808
+ return _;
809
809
  }
810
- n.applyFromCharCode = g;
810
+ n.applyFromCharCode = m;
811
811
  var b = {};
812
812
  b.string = { string: p, array: function(d) {
813
813
  return f(d, new Array(d.length));
@@ -816,66 +816,66 @@ https://github.com/nodeca/pako/blob/main/LICENSE
816
816
  }, uint8array: function(d) {
817
817
  return f(d, new Uint8Array(d.length));
818
818
  }, nodebuffer: function(d) {
819
- return f(d, i.allocBuffer(d.length));
820
- } }, b.array = { string: g, array: p, arraybuffer: function(d) {
819
+ return f(d, s.allocBuffer(d.length));
820
+ } }, b.array = { string: m, array: p, arraybuffer: function(d) {
821
821
  return new Uint8Array(d).buffer;
822
822
  }, uint8array: function(d) {
823
823
  return new Uint8Array(d);
824
824
  }, nodebuffer: function(d) {
825
- return i.newBufferFrom(d);
825
+ return s.newBufferFrom(d);
826
826
  } }, b.arraybuffer = { string: function(d) {
827
- return g(new Uint8Array(d));
827
+ return m(new Uint8Array(d));
828
828
  }, array: function(d) {
829
829
  return h(new Uint8Array(d), new Array(d.byteLength));
830
830
  }, arraybuffer: p, uint8array: function(d) {
831
831
  return new Uint8Array(d);
832
832
  }, nodebuffer: function(d) {
833
- return i.newBufferFrom(new Uint8Array(d));
834
- } }, b.uint8array = { string: g, array: function(d) {
833
+ return s.newBufferFrom(new Uint8Array(d));
834
+ } }, b.uint8array = { string: m, array: function(d) {
835
835
  return h(d, new Array(d.length));
836
836
  }, arraybuffer: function(d) {
837
837
  return d.buffer;
838
838
  }, uint8array: p, nodebuffer: function(d) {
839
- return i.newBufferFrom(d);
840
- } }, b.nodebuffer = { string: g, array: function(d) {
839
+ return s.newBufferFrom(d);
840
+ } }, b.nodebuffer = { string: m, array: function(d) {
841
841
  return h(d, new Array(d.length));
842
842
  }, arraybuffer: function(d) {
843
843
  return b.nodebuffer.uint8array(d).buffer;
844
844
  }, uint8array: function(d) {
845
845
  return h(d, new Uint8Array(d.length));
846
- }, nodebuffer: p }, n.transformTo = function(d, y) {
847
- if (y = y || "", !d) return y;
846
+ }, nodebuffer: p }, n.transformTo = function(d, _) {
847
+ if (_ = _ || "", !d) return _;
848
848
  n.checkSupport(d);
849
- var u = n.getTypeOf(y);
850
- return b[u][d](y);
849
+ var u = n.getTypeOf(_);
850
+ return b[u][d](_);
851
851
  }, n.resolve = function(d) {
852
- for (var y = d.split("/"), u = [], v = 0; v < y.length; v++) {
853
- var x = y[v];
854
- x === "." || x === "" && v !== 0 && v !== y.length - 1 || (x === ".." ? u.pop() : u.push(x));
852
+ for (var _ = d.split("/"), u = [], v = 0; v < _.length; v++) {
853
+ var E = _[v];
854
+ E === "." || E === "" && v !== 0 && v !== _.length - 1 || (E === ".." ? u.pop() : u.push(E));
855
855
  }
856
856
  return u.join("/");
857
857
  }, n.getTypeOf = function(d) {
858
- return typeof d == "string" ? "string" : Object.prototype.toString.call(d) === "[object Array]" ? "array" : a.nodebuffer && i.isBuffer(d) ? "nodebuffer" : a.uint8array && d instanceof Uint8Array ? "uint8array" : a.arraybuffer && d instanceof ArrayBuffer ? "arraybuffer" : void 0;
858
+ return typeof d == "string" ? "string" : Object.prototype.toString.call(d) === "[object Array]" ? "array" : a.nodebuffer && s.isBuffer(d) ? "nodebuffer" : a.uint8array && d instanceof Uint8Array ? "uint8array" : a.arraybuffer && d instanceof ArrayBuffer ? "arraybuffer" : void 0;
859
859
  }, n.checkSupport = function(d) {
860
860
  if (!a[d.toLowerCase()]) throw new Error(d + " is not supported by this platform");
861
861
  }, n.MAX_VALUE_16BITS = 65535, n.MAX_VALUE_32BITS = -1, n.pretty = function(d) {
862
- var y, u, v = "";
863
- for (u = 0; u < (d || "").length; u++) v += "\\x" + ((y = d.charCodeAt(u)) < 16 ? "0" : "") + y.toString(16).toUpperCase();
862
+ var _, u, v = "";
863
+ for (u = 0; u < (d || "").length; u++) v += "\\x" + ((_ = d.charCodeAt(u)) < 16 ? "0" : "") + _.toString(16).toUpperCase();
864
864
  return v;
865
- }, n.delay = function(d, y, u) {
865
+ }, n.delay = function(d, _, u) {
866
866
  setImmediate(function() {
867
- d.apply(u || null, y || []);
867
+ d.apply(u || null, _ || []);
868
868
  });
869
- }, n.inherits = function(d, y) {
869
+ }, n.inherits = function(d, _) {
870
870
  function u() {
871
871
  }
872
- u.prototype = y.prototype, d.prototype = new u();
872
+ u.prototype = _.prototype, d.prototype = new u();
873
873
  }, n.extend = function() {
874
- var d, y, u = {};
875
- for (d = 0; d < arguments.length; d++) for (y in arguments[d]) Object.prototype.hasOwnProperty.call(arguments[d], y) && u[y] === void 0 && (u[y] = arguments[d][y]);
874
+ var d, _, u = {};
875
+ for (d = 0; d < arguments.length; d++) for (_ in arguments[d]) Object.prototype.hasOwnProperty.call(arguments[d], _) && u[_] === void 0 && (u[_] = arguments[d][_]);
876
876
  return u;
877
- }, n.prepareContent = function(d, y, u, v, x) {
878
- return c.Promise.resolve(y).then(function(A) {
877
+ }, n.prepareContent = function(d, _, u, v, E) {
878
+ return c.Promise.resolve(_).then(function(A) {
879
879
  return a.blob && (A instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(A)) !== -1) && typeof FileReader < "u" ? new c.Promise(function(T, L) {
880
880
  var B = new FileReader();
881
881
  B.onload = function(j) {
@@ -886,80 +886,80 @@ https://github.com/nodeca/pako/blob/main/LICENSE
886
886
  }) : A;
887
887
  }).then(function(A) {
888
888
  var T = n.getTypeOf(A);
889
- return T ? (T === "arraybuffer" ? A = n.transformTo("uint8array", A) : T === "string" && (x ? A = o.decode(A) : u && v !== !0 && (A = function(L) {
889
+ return T ? (T === "arraybuffer" ? A = n.transformTo("uint8array", A) : T === "string" && (E ? A = o.decode(A) : u && v !== !0 && (A = function(L) {
890
890
  return f(L, a.uint8array ? new Uint8Array(L.length) : new Array(L.length));
891
891
  }(A))), A) : c.Promise.reject(new Error("Can't read the data of '" + d + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
892
892
  });
893
893
  };
894
894
  }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(t, r, n) {
895
- var a = t("./reader/readerFor"), o = t("./utils"), i = t("./signature"), c = t("./zipEntry"), p = t("./support");
896
- function f(_) {
897
- this.files = [], this.loadOptions = _;
895
+ var a = t("./reader/readerFor"), o = t("./utils"), s = t("./signature"), c = t("./zipEntry"), p = t("./support");
896
+ function f(y) {
897
+ this.files = [], this.loadOptions = y;
898
898
  }
899
- f.prototype = { checkSignature: function(_) {
900
- if (!this.reader.readAndCheckSignature(_)) {
899
+ f.prototype = { checkSignature: function(y) {
900
+ if (!this.reader.readAndCheckSignature(y)) {
901
901
  this.reader.index -= 4;
902
- var g = this.reader.readString(4);
903
- throw new Error("Corrupted zip or bug: unexpected signature (" + o.pretty(g) + ", expected " + o.pretty(_) + ")");
902
+ var m = this.reader.readString(4);
903
+ throw new Error("Corrupted zip or bug: unexpected signature (" + o.pretty(m) + ", expected " + o.pretty(y) + ")");
904
904
  }
905
- }, isSignature: function(_, g) {
905
+ }, isSignature: function(y, m) {
906
906
  var h = this.reader.index;
907
- this.reader.setIndex(_);
908
- var b = this.reader.readString(4) === g;
907
+ this.reader.setIndex(y);
908
+ var b = this.reader.readString(4) === m;
909
909
  return this.reader.setIndex(h), b;
910
910
  }, readBlockEndOfCentral: function() {
911
911
  this.diskNumber = this.reader.readInt(2), this.diskWithCentralDirStart = this.reader.readInt(2), this.centralDirRecordsOnThisDisk = this.reader.readInt(2), this.centralDirRecords = this.reader.readInt(2), this.centralDirSize = this.reader.readInt(4), this.centralDirOffset = this.reader.readInt(4), this.zipCommentLength = this.reader.readInt(2);
912
- var _ = this.reader.readData(this.zipCommentLength), g = p.uint8array ? "uint8array" : "array", h = o.transformTo(g, _);
912
+ var y = this.reader.readData(this.zipCommentLength), m = p.uint8array ? "uint8array" : "array", h = o.transformTo(m, y);
913
913
  this.zipComment = this.loadOptions.decodeFileName(h);
914
914
  }, readBlockZip64EndOfCentral: function() {
915
915
  this.zip64EndOfCentralSize = this.reader.readInt(8), this.reader.skip(4), this.diskNumber = this.reader.readInt(4), this.diskWithCentralDirStart = this.reader.readInt(4), this.centralDirRecordsOnThisDisk = this.reader.readInt(8), this.centralDirRecords = this.reader.readInt(8), this.centralDirSize = this.reader.readInt(8), this.centralDirOffset = this.reader.readInt(8), this.zip64ExtensibleData = {};
916
- for (var _, g, h, b = this.zip64EndOfCentralSize - 44; 0 < b; ) _ = this.reader.readInt(2), g = this.reader.readInt(4), h = this.reader.readData(g), this.zip64ExtensibleData[_] = { id: _, length: g, value: h };
916
+ for (var y, m, h, b = this.zip64EndOfCentralSize - 44; 0 < b; ) y = this.reader.readInt(2), m = this.reader.readInt(4), h = this.reader.readData(m), this.zip64ExtensibleData[y] = { id: y, length: m, value: h };
917
917
  }, readBlockZip64EndOfCentralLocator: function() {
918
918
  if (this.diskWithZip64CentralDirStart = this.reader.readInt(4), this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8), this.disksCount = this.reader.readInt(4), 1 < this.disksCount) throw new Error("Multi-volumes zip are not supported");
919
919
  }, readLocalFiles: function() {
920
- var _, g;
921
- for (_ = 0; _ < this.files.length; _++) g = this.files[_], this.reader.setIndex(g.localHeaderOffset), this.checkSignature(i.LOCAL_FILE_HEADER), g.readLocalPart(this.reader), g.handleUTF8(), g.processAttributes();
920
+ var y, m;
921
+ for (y = 0; y < this.files.length; y++) m = this.files[y], this.reader.setIndex(m.localHeaderOffset), this.checkSignature(s.LOCAL_FILE_HEADER), m.readLocalPart(this.reader), m.handleUTF8(), m.processAttributes();
922
922
  }, readCentralDir: function() {
923
- var _;
924
- for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER); ) (_ = new c({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(_);
923
+ var y;
924
+ for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER); ) (y = new c({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(y);
925
925
  if (this.centralDirRecords !== this.files.length && this.centralDirRecords !== 0 && this.files.length === 0) throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length);
926
926
  }, readEndOfCentral: function() {
927
- var _ = this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);
928
- if (_ < 0) throw this.isSignature(0, i.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");
929
- this.reader.setIndex(_);
930
- var g = _;
931
- if (this.checkSignature(i.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === o.MAX_VALUE_16BITS || this.diskWithCentralDirStart === o.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === o.MAX_VALUE_16BITS || this.centralDirRecords === o.MAX_VALUE_16BITS || this.centralDirSize === o.MAX_VALUE_32BITS || this.centralDirOffset === o.MAX_VALUE_32BITS) {
932
- if (this.zip64 = !0, (_ = this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
933
- if (this.reader.setIndex(_), this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, i.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
934
- this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral();
927
+ var y = this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);
928
+ if (y < 0) throw this.isSignature(0, s.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");
929
+ this.reader.setIndex(y);
930
+ var m = y;
931
+ if (this.checkSignature(s.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === o.MAX_VALUE_16BITS || this.diskWithCentralDirStart === o.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === o.MAX_VALUE_16BITS || this.centralDirRecords === o.MAX_VALUE_16BITS || this.centralDirSize === o.MAX_VALUE_32BITS || this.centralDirOffset === o.MAX_VALUE_32BITS) {
932
+ if (this.zip64 = !0, (y = this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
933
+ if (this.reader.setIndex(y), this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, s.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
934
+ this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral();
935
935
  }
936
936
  var h = this.centralDirOffset + this.centralDirSize;
937
937
  this.zip64 && (h += 20, h += 12 + this.zip64EndOfCentralSize);
938
- var b = g - h;
939
- if (0 < b) this.isSignature(g, i.CENTRAL_FILE_HEADER) || (this.reader.zero = b);
938
+ var b = m - h;
939
+ if (0 < b) this.isSignature(m, s.CENTRAL_FILE_HEADER) || (this.reader.zero = b);
940
940
  else if (b < 0) throw new Error("Corrupted zip: missing " + Math.abs(b) + " bytes.");
941
- }, prepareReader: function(_) {
942
- this.reader = a(_);
943
- }, load: function(_) {
944
- this.prepareReader(_), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
941
+ }, prepareReader: function(y) {
942
+ this.reader = a(y);
943
+ }, load: function(y) {
944
+ this.prepareReader(y), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
945
945
  } }, r.exports = f;
946
946
  }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(t, r, n) {
947
- var a = t("./reader/readerFor"), o = t("./utils"), i = t("./compressedObject"), c = t("./crc32"), p = t("./utf8"), f = t("./compressions"), _ = t("./support");
948
- function g(h, b) {
947
+ var a = t("./reader/readerFor"), o = t("./utils"), s = t("./compressedObject"), c = t("./crc32"), p = t("./utf8"), f = t("./compressions"), y = t("./support");
948
+ function m(h, b) {
949
949
  this.options = h, this.loadOptions = b;
950
950
  }
951
- g.prototype = { isEncrypted: function() {
951
+ m.prototype = { isEncrypted: function() {
952
952
  return (1 & this.bitFlag) == 1;
953
953
  }, useUTF8: function() {
954
954
  return (2048 & this.bitFlag) == 2048;
955
955
  }, readLocalPart: function(h) {
956
956
  var b, d;
957
957
  if (h.skip(22), this.fileNameLength = h.readInt(2), d = h.readInt(2), this.fileName = h.readData(this.fileNameLength), h.skip(d), this.compressedSize === -1 || this.uncompressedSize === -1) throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");
958
- if ((b = function(y) {
959
- for (var u in f) if (Object.prototype.hasOwnProperty.call(f, u) && f[u].magic === y) return f[u];
958
+ if ((b = function(_) {
959
+ for (var u in f) if (Object.prototype.hasOwnProperty.call(f, u) && f[u].magic === _) return f[u];
960
960
  return null;
961
961
  }(this.compressionMethod)) === null) throw new Error("Corrupted zip : compression " + o.pretty(this.compressionMethod) + " unknown (inner file : " + o.transformTo("string", this.fileName) + ")");
962
- this.decompressed = new i(this.compressedSize, this.uncompressedSize, this.crc32, b, h.readData(this.compressedSize));
962
+ this.decompressed = new s(this.compressedSize, this.uncompressedSize, this.crc32, b, h.readData(this.compressedSize));
963
963
  }, readCentralPart: function(h) {
964
964
  this.versionMadeBy = h.readInt(2), h.skip(2), this.bitFlag = h.readInt(2), this.compressionMethod = h.readString(2), this.date = h.readDate(), this.crc32 = h.readInt(4), this.compressedSize = h.readInt(4), this.uncompressedSize = h.readInt(4);
965
965
  var b = h.readInt(2);
@@ -975,11 +975,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
975
975
  this.uncompressedSize === o.MAX_VALUE_32BITS && (this.uncompressedSize = h.readInt(8)), this.compressedSize === o.MAX_VALUE_32BITS && (this.compressedSize = h.readInt(8)), this.localHeaderOffset === o.MAX_VALUE_32BITS && (this.localHeaderOffset = h.readInt(8)), this.diskNumberStart === o.MAX_VALUE_32BITS && (this.diskNumberStart = h.readInt(4));
976
976
  }
977
977
  }, readExtraFields: function(h) {
978
- var b, d, y, u = h.index + this.extraFieldsLength;
979
- for (this.extraFields || (this.extraFields = {}); h.index + 4 < u; ) b = h.readInt(2), d = h.readInt(2), y = h.readData(d), this.extraFields[b] = { id: b, length: d, value: y };
978
+ var b, d, _, u = h.index + this.extraFieldsLength;
979
+ for (this.extraFields || (this.extraFields = {}); h.index + 4 < u; ) b = h.readInt(2), d = h.readInt(2), _ = h.readData(d), this.extraFields[b] = { id: b, length: d, value: _ };
980
980
  h.setIndex(u);
981
981
  }, handleUTF8: function() {
982
- var h = _.uint8array ? "uint8array" : "array";
982
+ var h = y.uint8array ? "uint8array" : "array";
983
983
  if (this.useUTF8()) this.fileNameStr = p.utf8decode(this.fileName), this.fileCommentStr = p.utf8decode(this.fileComment);
984
984
  else {
985
985
  var b = this.findExtraFieldUnicodePath();
@@ -988,8 +988,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
988
988
  var d = o.transformTo(h, this.fileName);
989
989
  this.fileNameStr = this.loadOptions.decodeFileName(d);
990
990
  }
991
- var y = this.findExtraFieldUnicodeComment();
992
- if (y !== null) this.fileCommentStr = y;
991
+ var _ = this.findExtraFieldUnicodeComment();
992
+ if (_ !== null) this.fileCommentStr = _;
993
993
  else {
994
994
  var u = o.transformTo(h, this.fileComment);
995
995
  this.fileCommentStr = this.loadOptions.decodeFileName(u);
@@ -1009,46 +1009,46 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1009
1009
  return b.readInt(1) !== 1 || c(this.fileComment) !== b.readInt(4) ? null : p.utf8decode(b.readData(h.length - 5));
1010
1010
  }
1011
1011
  return null;
1012
- } }, r.exports = g;
1012
+ } }, r.exports = m;
1013
1013
  }, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(t, r, n) {
1014
- function a(b, d, y) {
1015
- this.name = b, this.dir = y.dir, this.date = y.date, this.comment = y.comment, this.unixPermissions = y.unixPermissions, this.dosPermissions = y.dosPermissions, this._data = d, this._dataBinary = y.binary, this.options = { compression: y.compression, compressionOptions: y.compressionOptions };
1014
+ function a(b, d, _) {
1015
+ this.name = b, this.dir = _.dir, this.date = _.date, this.comment = _.comment, this.unixPermissions = _.unixPermissions, this.dosPermissions = _.dosPermissions, this._data = d, this._dataBinary = _.binary, this.options = { compression: _.compression, compressionOptions: _.compressionOptions };
1016
1016
  }
1017
- var o = t("./stream/StreamHelper"), i = t("./stream/DataWorker"), c = t("./utf8"), p = t("./compressedObject"), f = t("./stream/GenericWorker");
1017
+ var o = t("./stream/StreamHelper"), s = t("./stream/DataWorker"), c = t("./utf8"), p = t("./compressedObject"), f = t("./stream/GenericWorker");
1018
1018
  a.prototype = { internalStream: function(b) {
1019
- var d = null, y = "string";
1019
+ var d = null, _ = "string";
1020
1020
  try {
1021
1021
  if (!b) throw new Error("No output type specified.");
1022
- var u = (y = b.toLowerCase()) === "string" || y === "text";
1023
- y !== "binarystring" && y !== "text" || (y = "string"), d = this._decompressWorker();
1022
+ var u = (_ = b.toLowerCase()) === "string" || _ === "text";
1023
+ _ !== "binarystring" && _ !== "text" || (_ = "string"), d = this._decompressWorker();
1024
1024
  var v = !this._dataBinary;
1025
1025
  v && !u && (d = d.pipe(new c.Utf8EncodeWorker())), !v && u && (d = d.pipe(new c.Utf8DecodeWorker()));
1026
- } catch (x) {
1027
- (d = new f("error")).error(x);
1026
+ } catch (E) {
1027
+ (d = new f("error")).error(E);
1028
1028
  }
1029
- return new o(d, y, "");
1029
+ return new o(d, _, "");
1030
1030
  }, async: function(b, d) {
1031
1031
  return this.internalStream(b).accumulate(d);
1032
1032
  }, nodeStream: function(b, d) {
1033
1033
  return this.internalStream(b || "nodebuffer").toNodejsStream(d);
1034
1034
  }, _compressWorker: function(b, d) {
1035
1035
  if (this._data instanceof p && this._data.compression.magic === b.magic) return this._data.getCompressedWorker();
1036
- var y = this._decompressWorker();
1037
- return this._dataBinary || (y = y.pipe(new c.Utf8EncodeWorker())), p.createWorkerFrom(y, b, d);
1036
+ var _ = this._decompressWorker();
1037
+ return this._dataBinary || (_ = _.pipe(new c.Utf8EncodeWorker())), p.createWorkerFrom(_, b, d);
1038
1038
  }, _decompressWorker: function() {
1039
- return this._data instanceof p ? this._data.getContentWorker() : this._data instanceof f ? this._data : new i(this._data);
1039
+ return this._data instanceof p ? this._data.getContentWorker() : this._data instanceof f ? this._data : new s(this._data);
1040
1040
  } };
1041
- for (var _ = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], g = function() {
1041
+ for (var y = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], m = function() {
1042
1042
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
1043
- }, h = 0; h < _.length; h++) a.prototype[_[h]] = g;
1043
+ }, h = 0; h < y.length; h++) a.prototype[y[h]] = m;
1044
1044
  r.exports = a;
1045
1045
  }, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(t, r, n) {
1046
1046
  (function(a) {
1047
- var o, i, c = a.MutationObserver || a.WebKitMutationObserver;
1047
+ var o, s, c = a.MutationObserver || a.WebKitMutationObserver;
1048
1048
  if (c) {
1049
- var p = 0, f = new c(b), _ = a.document.createTextNode("");
1050
- f.observe(_, { characterData: !0 }), o = function() {
1051
- _.data = p = ++p % 2;
1049
+ var p = 0, f = new c(b), y = a.document.createTextNode("");
1050
+ f.observe(y, { characterData: !0 }), o = function() {
1051
+ y.data = p = ++p % 2;
1052
1052
  };
1053
1053
  } else if (a.setImmediate || a.MessageChannel === void 0) o = "document" in a && "onreadystatechange" in a.document.createElement("script") ? function() {
1054
1054
  var d = a.document.createElement("script");
@@ -1059,46 +1059,46 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1059
1059
  setTimeout(b, 0);
1060
1060
  };
1061
1061
  else {
1062
- var g = new a.MessageChannel();
1063
- g.port1.onmessage = b, o = function() {
1064
- g.port2.postMessage(0);
1062
+ var m = new a.MessageChannel();
1063
+ m.port1.onmessage = b, o = function() {
1064
+ m.port2.postMessage(0);
1065
1065
  };
1066
1066
  }
1067
1067
  var h = [];
1068
1068
  function b() {
1069
- var d, y;
1070
- i = !0;
1069
+ var d, _;
1070
+ s = !0;
1071
1071
  for (var u = h.length; u; ) {
1072
- for (y = h, h = [], d = -1; ++d < u; ) y[d]();
1072
+ for (_ = h, h = [], d = -1; ++d < u; ) _[d]();
1073
1073
  u = h.length;
1074
1074
  }
1075
- i = !1;
1075
+ s = !1;
1076
1076
  }
1077
1077
  r.exports = function(d) {
1078
- h.push(d) !== 1 || i || o();
1078
+ h.push(d) !== 1 || s || o();
1079
1079
  };
1080
1080
  }).call(this, typeof St < "u" ? St : typeof self < "u" ? self : typeof window < "u" ? window : {});
1081
1081
  }, {}], 37: [function(t, r, n) {
1082
1082
  var a = t("immediate");
1083
1083
  function o() {
1084
1084
  }
1085
- var i = {}, c = ["REJECTED"], p = ["FULFILLED"], f = ["PENDING"];
1086
- function _(u) {
1085
+ var s = {}, c = ["REJECTED"], p = ["FULFILLED"], f = ["PENDING"];
1086
+ function y(u) {
1087
1087
  if (typeof u != "function") throw new TypeError("resolver must be a function");
1088
1088
  this.state = f, this.queue = [], this.outcome = void 0, u !== o && d(this, u);
1089
1089
  }
1090
- function g(u, v, x) {
1091
- this.promise = u, typeof v == "function" && (this.onFulfilled = v, this.callFulfilled = this.otherCallFulfilled), typeof x == "function" && (this.onRejected = x, this.callRejected = this.otherCallRejected);
1090
+ function m(u, v, E) {
1091
+ this.promise = u, typeof v == "function" && (this.onFulfilled = v, this.callFulfilled = this.otherCallFulfilled), typeof E == "function" && (this.onRejected = E, this.callRejected = this.otherCallRejected);
1092
1092
  }
1093
- function h(u, v, x) {
1093
+ function h(u, v, E) {
1094
1094
  a(function() {
1095
1095
  var A;
1096
1096
  try {
1097
- A = v(x);
1097
+ A = v(E);
1098
1098
  } catch (T) {
1099
- return i.reject(u, T);
1099
+ return s.reject(u, T);
1100
1100
  }
1101
- A === u ? i.reject(u, new TypeError("Cannot resolve promise with itself")) : i.resolve(u, A);
1101
+ A === u ? s.reject(u, new TypeError("Cannot resolve promise with itself")) : s.resolve(u, A);
1102
1102
  });
1103
1103
  }
1104
1104
  function b(u) {
@@ -1108,95 +1108,95 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1108
1108
  };
1109
1109
  }
1110
1110
  function d(u, v) {
1111
- var x = !1;
1111
+ var E = !1;
1112
1112
  function A(B) {
1113
- x || (x = !0, i.reject(u, B));
1113
+ E || (E = !0, s.reject(u, B));
1114
1114
  }
1115
1115
  function T(B) {
1116
- x || (x = !0, i.resolve(u, B));
1116
+ E || (E = !0, s.resolve(u, B));
1117
1117
  }
1118
- var L = y(function() {
1118
+ var L = _(function() {
1119
1119
  v(T, A);
1120
1120
  });
1121
1121
  L.status === "error" && A(L.value);
1122
1122
  }
1123
- function y(u, v) {
1124
- var x = {};
1123
+ function _(u, v) {
1124
+ var E = {};
1125
1125
  try {
1126
- x.value = u(v), x.status = "success";
1126
+ E.value = u(v), E.status = "success";
1127
1127
  } catch (A) {
1128
- x.status = "error", x.value = A;
1128
+ E.status = "error", E.value = A;
1129
1129
  }
1130
- return x;
1130
+ return E;
1131
1131
  }
1132
- (r.exports = _).prototype.finally = function(u) {
1132
+ (r.exports = y).prototype.finally = function(u) {
1133
1133
  if (typeof u != "function") return this;
1134
1134
  var v = this.constructor;
1135
- return this.then(function(x) {
1135
+ return this.then(function(E) {
1136
1136
  return v.resolve(u()).then(function() {
1137
- return x;
1137
+ return E;
1138
1138
  });
1139
- }, function(x) {
1139
+ }, function(E) {
1140
1140
  return v.resolve(u()).then(function() {
1141
- throw x;
1141
+ throw E;
1142
1142
  });
1143
1143
  });
1144
- }, _.prototype.catch = function(u) {
1144
+ }, y.prototype.catch = function(u) {
1145
1145
  return this.then(null, u);
1146
- }, _.prototype.then = function(u, v) {
1146
+ }, y.prototype.then = function(u, v) {
1147
1147
  if (typeof u != "function" && this.state === p || typeof v != "function" && this.state === c) return this;
1148
- var x = new this.constructor(o);
1149
- return this.state !== f ? h(x, this.state === p ? u : v, this.outcome) : this.queue.push(new g(x, u, v)), x;
1150
- }, g.prototype.callFulfilled = function(u) {
1151
- i.resolve(this.promise, u);
1152
- }, g.prototype.otherCallFulfilled = function(u) {
1148
+ var E = new this.constructor(o);
1149
+ return this.state !== f ? h(E, this.state === p ? u : v, this.outcome) : this.queue.push(new m(E, u, v)), E;
1150
+ }, m.prototype.callFulfilled = function(u) {
1151
+ s.resolve(this.promise, u);
1152
+ }, m.prototype.otherCallFulfilled = function(u) {
1153
1153
  h(this.promise, this.onFulfilled, u);
1154
- }, g.prototype.callRejected = function(u) {
1155
- i.reject(this.promise, u);
1156
- }, g.prototype.otherCallRejected = function(u) {
1154
+ }, m.prototype.callRejected = function(u) {
1155
+ s.reject(this.promise, u);
1156
+ }, m.prototype.otherCallRejected = function(u) {
1157
1157
  h(this.promise, this.onRejected, u);
1158
- }, i.resolve = function(u, v) {
1159
- var x = y(b, v);
1160
- if (x.status === "error") return i.reject(u, x.value);
1161
- var A = x.value;
1158
+ }, s.resolve = function(u, v) {
1159
+ var E = _(b, v);
1160
+ if (E.status === "error") return s.reject(u, E.value);
1161
+ var A = E.value;
1162
1162
  if (A) d(u, A);
1163
1163
  else {
1164
1164
  u.state = p, u.outcome = v;
1165
1165
  for (var T = -1, L = u.queue.length; ++T < L; ) u.queue[T].callFulfilled(v);
1166
1166
  }
1167
1167
  return u;
1168
- }, i.reject = function(u, v) {
1168
+ }, s.reject = function(u, v) {
1169
1169
  u.state = c, u.outcome = v;
1170
- for (var x = -1, A = u.queue.length; ++x < A; ) u.queue[x].callRejected(v);
1170
+ for (var E = -1, A = u.queue.length; ++E < A; ) u.queue[E].callRejected(v);
1171
1171
  return u;
1172
- }, _.resolve = function(u) {
1173
- return u instanceof this ? u : i.resolve(new this(o), u);
1174
- }, _.reject = function(u) {
1172
+ }, y.resolve = function(u) {
1173
+ return u instanceof this ? u : s.resolve(new this(o), u);
1174
+ }, y.reject = function(u) {
1175
1175
  var v = new this(o);
1176
- return i.reject(v, u);
1177
- }, _.all = function(u) {
1176
+ return s.reject(v, u);
1177
+ }, y.all = function(u) {
1178
1178
  var v = this;
1179
1179
  if (Object.prototype.toString.call(u) !== "[object Array]") return this.reject(new TypeError("must be an array"));
1180
- var x = u.length, A = !1;
1181
- if (!x) return this.resolve([]);
1182
- for (var T = new Array(x), L = 0, B = -1, j = new this(o); ++B < x; ) z(u[B], B);
1180
+ var E = u.length, A = !1;
1181
+ if (!E) return this.resolve([]);
1182
+ for (var T = new Array(E), L = 0, B = -1, j = new this(o); ++B < E; ) z(u[B], B);
1183
1183
  return j;
1184
1184
  function z(Z, Q) {
1185
1185
  v.resolve(Z).then(function(k) {
1186
- T[Q] = k, ++L !== x || A || (A = !0, i.resolve(j, T));
1186
+ T[Q] = k, ++L !== E || A || (A = !0, s.resolve(j, T));
1187
1187
  }, function(k) {
1188
- A || (A = !0, i.reject(j, k));
1188
+ A || (A = !0, s.reject(j, k));
1189
1189
  });
1190
1190
  }
1191
- }, _.race = function(u) {
1191
+ }, y.race = function(u) {
1192
1192
  var v = this;
1193
1193
  if (Object.prototype.toString.call(u) !== "[object Array]") return this.reject(new TypeError("must be an array"));
1194
- var x = u.length, A = !1;
1195
- if (!x) return this.resolve([]);
1196
- for (var T = -1, L = new this(o); ++T < x; ) B = u[T], v.resolve(B).then(function(j) {
1197
- A || (A = !0, i.resolve(L, j));
1194
+ var E = u.length, A = !1;
1195
+ if (!E) return this.resolve([]);
1196
+ for (var T = -1, L = new this(o); ++T < E; ) B = u[T], v.resolve(B).then(function(j) {
1197
+ A || (A = !0, s.resolve(L, j));
1198
1198
  }, function(j) {
1199
- A || (A = !0, i.reject(L, j));
1199
+ A || (A = !0, s.reject(L, j));
1200
1200
  });
1201
1201
  var B;
1202
1202
  return L;
@@ -1205,74 +1205,74 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1205
1205
  var a = {};
1206
1206
  (0, t("./lib/utils/common").assign)(a, t("./lib/deflate"), t("./lib/inflate"), t("./lib/zlib/constants")), r.exports = a;
1207
1207
  }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(t, r, n) {
1208
- var a = t("./zlib/deflate"), o = t("./utils/common"), i = t("./utils/strings"), c = t("./zlib/messages"), p = t("./zlib/zstream"), f = Object.prototype.toString, _ = 0, g = -1, h = 0, b = 8;
1208
+ var a = t("./zlib/deflate"), o = t("./utils/common"), s = t("./utils/strings"), c = t("./zlib/messages"), p = t("./zlib/zstream"), f = Object.prototype.toString, y = 0, m = -1, h = 0, b = 8;
1209
1209
  function d(u) {
1210
1210
  if (!(this instanceof d)) return new d(u);
1211
- this.options = o.assign({ level: g, method: b, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: h, to: "" }, u || {});
1211
+ this.options = o.assign({ level: m, method: b, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: h, to: "" }, u || {});
1212
1212
  var v = this.options;
1213
1213
  v.raw && 0 < v.windowBits ? v.windowBits = -v.windowBits : v.gzip && 0 < v.windowBits && v.windowBits < 16 && (v.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new p(), this.strm.avail_out = 0;
1214
- var x = a.deflateInit2(this.strm, v.level, v.method, v.windowBits, v.memLevel, v.strategy);
1215
- if (x !== _) throw new Error(c[x]);
1214
+ var E = a.deflateInit2(this.strm, v.level, v.method, v.windowBits, v.memLevel, v.strategy);
1215
+ if (E !== y) throw new Error(c[E]);
1216
1216
  if (v.header && a.deflateSetHeader(this.strm, v.header), v.dictionary) {
1217
1217
  var A;
1218
- if (A = typeof v.dictionary == "string" ? i.string2buf(v.dictionary) : f.call(v.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(v.dictionary) : v.dictionary, (x = a.deflateSetDictionary(this.strm, A)) !== _) throw new Error(c[x]);
1218
+ if (A = typeof v.dictionary == "string" ? s.string2buf(v.dictionary) : f.call(v.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(v.dictionary) : v.dictionary, (E = a.deflateSetDictionary(this.strm, A)) !== y) throw new Error(c[E]);
1219
1219
  this._dict_set = !0;
1220
1220
  }
1221
1221
  }
1222
- function y(u, v) {
1223
- var x = new d(v);
1224
- if (x.push(u, !0), x.err) throw x.msg || c[x.err];
1225
- return x.result;
1222
+ function _(u, v) {
1223
+ var E = new d(v);
1224
+ if (E.push(u, !0), E.err) throw E.msg || c[E.err];
1225
+ return E.result;
1226
1226
  }
1227
1227
  d.prototype.push = function(u, v) {
1228
- var x, A, T = this.strm, L = this.options.chunkSize;
1228
+ var E, A, T = this.strm, L = this.options.chunkSize;
1229
1229
  if (this.ended) return !1;
1230
- A = v === ~~v ? v : v === !0 ? 4 : 0, typeof u == "string" ? T.input = i.string2buf(u) : f.call(u) === "[object ArrayBuffer]" ? T.input = new Uint8Array(u) : T.input = u, T.next_in = 0, T.avail_in = T.input.length;
1230
+ A = v === ~~v ? v : v === !0 ? 4 : 0, typeof u == "string" ? T.input = s.string2buf(u) : f.call(u) === "[object ArrayBuffer]" ? T.input = new Uint8Array(u) : T.input = u, T.next_in = 0, T.avail_in = T.input.length;
1231
1231
  do {
1232
- if (T.avail_out === 0 && (T.output = new o.Buf8(L), T.next_out = 0, T.avail_out = L), (x = a.deflate(T, A)) !== 1 && x !== _) return this.onEnd(x), !(this.ended = !0);
1233
- T.avail_out !== 0 && (T.avail_in !== 0 || A !== 4 && A !== 2) || (this.options.to === "string" ? this.onData(i.buf2binstring(o.shrinkBuf(T.output, T.next_out))) : this.onData(o.shrinkBuf(T.output, T.next_out)));
1234
- } while ((0 < T.avail_in || T.avail_out === 0) && x !== 1);
1235
- return A === 4 ? (x = a.deflateEnd(this.strm), this.onEnd(x), this.ended = !0, x === _) : A !== 2 || (this.onEnd(_), !(T.avail_out = 0));
1232
+ if (T.avail_out === 0 && (T.output = new o.Buf8(L), T.next_out = 0, T.avail_out = L), (E = a.deflate(T, A)) !== 1 && E !== y) return this.onEnd(E), !(this.ended = !0);
1233
+ T.avail_out !== 0 && (T.avail_in !== 0 || A !== 4 && A !== 2) || (this.options.to === "string" ? this.onData(s.buf2binstring(o.shrinkBuf(T.output, T.next_out))) : this.onData(o.shrinkBuf(T.output, T.next_out)));
1234
+ } while ((0 < T.avail_in || T.avail_out === 0) && E !== 1);
1235
+ return A === 4 ? (E = a.deflateEnd(this.strm), this.onEnd(E), this.ended = !0, E === y) : A !== 2 || (this.onEnd(y), !(T.avail_out = 0));
1236
1236
  }, d.prototype.onData = function(u) {
1237
1237
  this.chunks.push(u);
1238
1238
  }, d.prototype.onEnd = function(u) {
1239
- u === _ && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = o.flattenChunks(this.chunks)), this.chunks = [], this.err = u, this.msg = this.strm.msg;
1240
- }, n.Deflate = d, n.deflate = y, n.deflateRaw = function(u, v) {
1241
- return (v = v || {}).raw = !0, y(u, v);
1239
+ u === y && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = o.flattenChunks(this.chunks)), this.chunks = [], this.err = u, this.msg = this.strm.msg;
1240
+ }, n.Deflate = d, n.deflate = _, n.deflateRaw = function(u, v) {
1241
+ return (v = v || {}).raw = !0, _(u, v);
1242
1242
  }, n.gzip = function(u, v) {
1243
- return (v = v || {}).gzip = !0, y(u, v);
1243
+ return (v = v || {}).gzip = !0, _(u, v);
1244
1244
  };
1245
1245
  }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(t, r, n) {
1246
- var a = t("./zlib/inflate"), o = t("./utils/common"), i = t("./utils/strings"), c = t("./zlib/constants"), p = t("./zlib/messages"), f = t("./zlib/zstream"), _ = t("./zlib/gzheader"), g = Object.prototype.toString;
1246
+ var a = t("./zlib/inflate"), o = t("./utils/common"), s = t("./utils/strings"), c = t("./zlib/constants"), p = t("./zlib/messages"), f = t("./zlib/zstream"), y = t("./zlib/gzheader"), m = Object.prototype.toString;
1247
1247
  function h(d) {
1248
1248
  if (!(this instanceof h)) return new h(d);
1249
1249
  this.options = o.assign({ chunkSize: 16384, windowBits: 0, to: "" }, d || {});
1250
- var y = this.options;
1251
- y.raw && 0 <= y.windowBits && y.windowBits < 16 && (y.windowBits = -y.windowBits, y.windowBits === 0 && (y.windowBits = -15)), !(0 <= y.windowBits && y.windowBits < 16) || d && d.windowBits || (y.windowBits += 32), 15 < y.windowBits && y.windowBits < 48 && !(15 & y.windowBits) && (y.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new f(), this.strm.avail_out = 0;
1252
- var u = a.inflateInit2(this.strm, y.windowBits);
1250
+ var _ = this.options;
1251
+ _.raw && 0 <= _.windowBits && _.windowBits < 16 && (_.windowBits = -_.windowBits, _.windowBits === 0 && (_.windowBits = -15)), !(0 <= _.windowBits && _.windowBits < 16) || d && d.windowBits || (_.windowBits += 32), 15 < _.windowBits && _.windowBits < 48 && !(15 & _.windowBits) && (_.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new f(), this.strm.avail_out = 0;
1252
+ var u = a.inflateInit2(this.strm, _.windowBits);
1253
1253
  if (u !== c.Z_OK) throw new Error(p[u]);
1254
- this.header = new _(), a.inflateGetHeader(this.strm, this.header);
1254
+ this.header = new y(), a.inflateGetHeader(this.strm, this.header);
1255
1255
  }
1256
- function b(d, y) {
1257
- var u = new h(y);
1256
+ function b(d, _) {
1257
+ var u = new h(_);
1258
1258
  if (u.push(d, !0), u.err) throw u.msg || p[u.err];
1259
1259
  return u.result;
1260
1260
  }
1261
- h.prototype.push = function(d, y) {
1262
- var u, v, x, A, T, L, B = this.strm, j = this.options.chunkSize, z = this.options.dictionary, Z = !1;
1261
+ h.prototype.push = function(d, _) {
1262
+ var u, v, E, A, T, L, B = this.strm, j = this.options.chunkSize, z = this.options.dictionary, Z = !1;
1263
1263
  if (this.ended) return !1;
1264
- v = y === ~~y ? y : y === !0 ? c.Z_FINISH : c.Z_NO_FLUSH, typeof d == "string" ? B.input = i.binstring2buf(d) : g.call(d) === "[object ArrayBuffer]" ? B.input = new Uint8Array(d) : B.input = d, B.next_in = 0, B.avail_in = B.input.length;
1264
+ v = _ === ~~_ ? _ : _ === !0 ? c.Z_FINISH : c.Z_NO_FLUSH, typeof d == "string" ? B.input = s.binstring2buf(d) : m.call(d) === "[object ArrayBuffer]" ? B.input = new Uint8Array(d) : B.input = d, B.next_in = 0, B.avail_in = B.input.length;
1265
1265
  do {
1266
- if (B.avail_out === 0 && (B.output = new o.Buf8(j), B.next_out = 0, B.avail_out = j), (u = a.inflate(B, c.Z_NO_FLUSH)) === c.Z_NEED_DICT && z && (L = typeof z == "string" ? i.string2buf(z) : g.call(z) === "[object ArrayBuffer]" ? new Uint8Array(z) : z, u = a.inflateSetDictionary(this.strm, L)), u === c.Z_BUF_ERROR && Z === !0 && (u = c.Z_OK, Z = !1), u !== c.Z_STREAM_END && u !== c.Z_OK) return this.onEnd(u), !(this.ended = !0);
1267
- B.next_out && (B.avail_out !== 0 && u !== c.Z_STREAM_END && (B.avail_in !== 0 || v !== c.Z_FINISH && v !== c.Z_SYNC_FLUSH) || (this.options.to === "string" ? (x = i.utf8border(B.output, B.next_out), A = B.next_out - x, T = i.buf2string(B.output, x), B.next_out = A, B.avail_out = j - A, A && o.arraySet(B.output, B.output, x, A, 0), this.onData(T)) : this.onData(o.shrinkBuf(B.output, B.next_out)))), B.avail_in === 0 && B.avail_out === 0 && (Z = !0);
1266
+ if (B.avail_out === 0 && (B.output = new o.Buf8(j), B.next_out = 0, B.avail_out = j), (u = a.inflate(B, c.Z_NO_FLUSH)) === c.Z_NEED_DICT && z && (L = typeof z == "string" ? s.string2buf(z) : m.call(z) === "[object ArrayBuffer]" ? new Uint8Array(z) : z, u = a.inflateSetDictionary(this.strm, L)), u === c.Z_BUF_ERROR && Z === !0 && (u = c.Z_OK, Z = !1), u !== c.Z_STREAM_END && u !== c.Z_OK) return this.onEnd(u), !(this.ended = !0);
1267
+ B.next_out && (B.avail_out !== 0 && u !== c.Z_STREAM_END && (B.avail_in !== 0 || v !== c.Z_FINISH && v !== c.Z_SYNC_FLUSH) || (this.options.to === "string" ? (E = s.utf8border(B.output, B.next_out), A = B.next_out - E, T = s.buf2string(B.output, E), B.next_out = A, B.avail_out = j - A, A && o.arraySet(B.output, B.output, E, A, 0), this.onData(T)) : this.onData(o.shrinkBuf(B.output, B.next_out)))), B.avail_in === 0 && B.avail_out === 0 && (Z = !0);
1268
1268
  } while ((0 < B.avail_in || B.avail_out === 0) && u !== c.Z_STREAM_END);
1269
1269
  return u === c.Z_STREAM_END && (v = c.Z_FINISH), v === c.Z_FINISH ? (u = a.inflateEnd(this.strm), this.onEnd(u), this.ended = !0, u === c.Z_OK) : v !== c.Z_SYNC_FLUSH || (this.onEnd(c.Z_OK), !(B.avail_out = 0));
1270
1270
  }, h.prototype.onData = function(d) {
1271
1271
  this.chunks.push(d);
1272
1272
  }, h.prototype.onEnd = function(d) {
1273
1273
  d === c.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = o.flattenChunks(this.chunks)), this.chunks = [], this.err = d, this.msg = this.strm.msg;
1274
- }, n.Inflate = h, n.inflate = b, n.inflateRaw = function(d, y) {
1275
- return (y = y || {}).raw = !0, b(d, y);
1274
+ }, n.Inflate = h, n.inflate = b, n.inflateRaw = function(d, _) {
1275
+ return (_ = _ || {}).raw = !0, b(d, _);
1276
1276
  }, n.ungzip = b;
1277
1277
  }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(t, r, n) {
1278
1278
  var a = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
@@ -1281,31 +1281,31 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1281
1281
  var f = p.shift();
1282
1282
  if (f) {
1283
1283
  if (typeof f != "object") throw new TypeError(f + "must be non-object");
1284
- for (var _ in f) f.hasOwnProperty(_) && (c[_] = f[_]);
1284
+ for (var y in f) f.hasOwnProperty(y) && (c[y] = f[y]);
1285
1285
  }
1286
1286
  }
1287
1287
  return c;
1288
1288
  }, n.shrinkBuf = function(c, p) {
1289
1289
  return c.length === p ? c : c.subarray ? c.subarray(0, p) : (c.length = p, c);
1290
1290
  };
1291
- var o = { arraySet: function(c, p, f, _, g) {
1292
- if (p.subarray && c.subarray) c.set(p.subarray(f, f + _), g);
1293
- else for (var h = 0; h < _; h++) c[g + h] = p[f + h];
1291
+ var o = { arraySet: function(c, p, f, y, m) {
1292
+ if (p.subarray && c.subarray) c.set(p.subarray(f, f + y), m);
1293
+ else for (var h = 0; h < y; h++) c[m + h] = p[f + h];
1294
1294
  }, flattenChunks: function(c) {
1295
- var p, f, _, g, h, b;
1296
- for (p = _ = 0, f = c.length; p < f; p++) _ += c[p].length;
1297
- for (b = new Uint8Array(_), p = g = 0, f = c.length; p < f; p++) h = c[p], b.set(h, g), g += h.length;
1295
+ var p, f, y, m, h, b;
1296
+ for (p = y = 0, f = c.length; p < f; p++) y += c[p].length;
1297
+ for (b = new Uint8Array(y), p = m = 0, f = c.length; p < f; p++) h = c[p], b.set(h, m), m += h.length;
1298
1298
  return b;
1299
- } }, i = { arraySet: function(c, p, f, _, g) {
1300
- for (var h = 0; h < _; h++) c[g + h] = p[f + h];
1299
+ } }, s = { arraySet: function(c, p, f, y, m) {
1300
+ for (var h = 0; h < y; h++) c[m + h] = p[f + h];
1301
1301
  }, flattenChunks: function(c) {
1302
1302
  return [].concat.apply([], c);
1303
1303
  } };
1304
1304
  n.setTyped = function(c) {
1305
- c ? (n.Buf8 = Uint8Array, n.Buf16 = Uint16Array, n.Buf32 = Int32Array, n.assign(n, o)) : (n.Buf8 = Array, n.Buf16 = Array, n.Buf32 = Array, n.assign(n, i));
1305
+ c ? (n.Buf8 = Uint8Array, n.Buf16 = Uint16Array, n.Buf32 = Int32Array, n.assign(n, o)) : (n.Buf8 = Array, n.Buf16 = Array, n.Buf32 = Array, n.assign(n, s));
1306
1306
  }, n.setTyped(a);
1307
1307
  }, {}], 42: [function(t, r, n) {
1308
- var a = t("./common"), o = !0, i = !0;
1308
+ var a = t("./common"), o = !0, s = !0;
1309
1309
  try {
1310
1310
  String.fromCharCode.apply(null, [0]);
1311
1311
  } catch {
@@ -1314,42 +1314,42 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1314
1314
  try {
1315
1315
  String.fromCharCode.apply(null, new Uint8Array(1));
1316
1316
  } catch {
1317
- i = !1;
1317
+ s = !1;
1318
1318
  }
1319
1319
  for (var c = new a.Buf8(256), p = 0; p < 256; p++) c[p] = 252 <= p ? 6 : 248 <= p ? 5 : 240 <= p ? 4 : 224 <= p ? 3 : 192 <= p ? 2 : 1;
1320
- function f(_, g) {
1321
- if (g < 65537 && (_.subarray && i || !_.subarray && o)) return String.fromCharCode.apply(null, a.shrinkBuf(_, g));
1322
- for (var h = "", b = 0; b < g; b++) h += String.fromCharCode(_[b]);
1320
+ function f(y, m) {
1321
+ if (m < 65537 && (y.subarray && s || !y.subarray && o)) return String.fromCharCode.apply(null, a.shrinkBuf(y, m));
1322
+ for (var h = "", b = 0; b < m; b++) h += String.fromCharCode(y[b]);
1323
1323
  return h;
1324
1324
  }
1325
- c[254] = c[254] = 1, n.string2buf = function(_) {
1326
- var g, h, b, d, y, u = _.length, v = 0;
1327
- for (d = 0; d < u; d++) (64512 & (h = _.charCodeAt(d))) == 55296 && d + 1 < u && (64512 & (b = _.charCodeAt(d + 1))) == 56320 && (h = 65536 + (h - 55296 << 10) + (b - 56320), d++), v += h < 128 ? 1 : h < 2048 ? 2 : h < 65536 ? 3 : 4;
1328
- for (g = new a.Buf8(v), d = y = 0; y < v; d++) (64512 & (h = _.charCodeAt(d))) == 55296 && d + 1 < u && (64512 & (b = _.charCodeAt(d + 1))) == 56320 && (h = 65536 + (h - 55296 << 10) + (b - 56320), d++), h < 128 ? g[y++] = h : (h < 2048 ? g[y++] = 192 | h >>> 6 : (h < 65536 ? g[y++] = 224 | h >>> 12 : (g[y++] = 240 | h >>> 18, g[y++] = 128 | h >>> 12 & 63), g[y++] = 128 | h >>> 6 & 63), g[y++] = 128 | 63 & h);
1329
- return g;
1330
- }, n.buf2binstring = function(_) {
1331
- return f(_, _.length);
1332
- }, n.binstring2buf = function(_) {
1333
- for (var g = new a.Buf8(_.length), h = 0, b = g.length; h < b; h++) g[h] = _.charCodeAt(h);
1334
- return g;
1335
- }, n.buf2string = function(_, g) {
1336
- var h, b, d, y, u = g || _.length, v = new Array(2 * u);
1337
- for (h = b = 0; h < u; ) if ((d = _[h++]) < 128) v[b++] = d;
1338
- else if (4 < (y = c[d])) v[b++] = 65533, h += y - 1;
1325
+ c[254] = c[254] = 1, n.string2buf = function(y) {
1326
+ var m, h, b, d, _, u = y.length, v = 0;
1327
+ for (d = 0; d < u; d++) (64512 & (h = y.charCodeAt(d))) == 55296 && d + 1 < u && (64512 & (b = y.charCodeAt(d + 1))) == 56320 && (h = 65536 + (h - 55296 << 10) + (b - 56320), d++), v += h < 128 ? 1 : h < 2048 ? 2 : h < 65536 ? 3 : 4;
1328
+ for (m = new a.Buf8(v), d = _ = 0; _ < v; d++) (64512 & (h = y.charCodeAt(d))) == 55296 && d + 1 < u && (64512 & (b = y.charCodeAt(d + 1))) == 56320 && (h = 65536 + (h - 55296 << 10) + (b - 56320), d++), h < 128 ? m[_++] = h : (h < 2048 ? m[_++] = 192 | h >>> 6 : (h < 65536 ? m[_++] = 224 | h >>> 12 : (m[_++] = 240 | h >>> 18, m[_++] = 128 | h >>> 12 & 63), m[_++] = 128 | h >>> 6 & 63), m[_++] = 128 | 63 & h);
1329
+ return m;
1330
+ }, n.buf2binstring = function(y) {
1331
+ return f(y, y.length);
1332
+ }, n.binstring2buf = function(y) {
1333
+ for (var m = new a.Buf8(y.length), h = 0, b = m.length; h < b; h++) m[h] = y.charCodeAt(h);
1334
+ return m;
1335
+ }, n.buf2string = function(y, m) {
1336
+ var h, b, d, _, u = m || y.length, v = new Array(2 * u);
1337
+ for (h = b = 0; h < u; ) if ((d = y[h++]) < 128) v[b++] = d;
1338
+ else if (4 < (_ = c[d])) v[b++] = 65533, h += _ - 1;
1339
1339
  else {
1340
- for (d &= y === 2 ? 31 : y === 3 ? 15 : 7; 1 < y && h < u; ) d = d << 6 | 63 & _[h++], y--;
1341
- 1 < y ? v[b++] = 65533 : d < 65536 ? v[b++] = d : (d -= 65536, v[b++] = 55296 | d >> 10 & 1023, v[b++] = 56320 | 1023 & d);
1340
+ for (d &= _ === 2 ? 31 : _ === 3 ? 15 : 7; 1 < _ && h < u; ) d = d << 6 | 63 & y[h++], _--;
1341
+ 1 < _ ? v[b++] = 65533 : d < 65536 ? v[b++] = d : (d -= 65536, v[b++] = 55296 | d >> 10 & 1023, v[b++] = 56320 | 1023 & d);
1342
1342
  }
1343
1343
  return f(v, b);
1344
- }, n.utf8border = function(_, g) {
1344
+ }, n.utf8border = function(y, m) {
1345
1345
  var h;
1346
- for ((g = g || _.length) > _.length && (g = _.length), h = g - 1; 0 <= h && (192 & _[h]) == 128; ) h--;
1347
- return h < 0 || h === 0 ? g : h + c[_[h]] > g ? h : g;
1346
+ for ((m = m || y.length) > y.length && (m = y.length), h = m - 1; 0 <= h && (192 & y[h]) == 128; ) h--;
1347
+ return h < 0 || h === 0 ? m : h + c[y[h]] > m ? h : m;
1348
1348
  };
1349
1349
  }, { "./common": 41 }], 43: [function(t, r, n) {
1350
- r.exports = function(a, o, i, c) {
1351
- for (var p = 65535 & a | 0, f = a >>> 16 & 65535 | 0, _ = 0; i !== 0; ) {
1352
- for (i -= _ = 2e3 < i ? 2e3 : i; f = f + (p = p + o[c++] | 0) | 0, --_; ) ;
1350
+ r.exports = function(a, o, s, c) {
1351
+ for (var p = 65535 & a | 0, f = a >>> 16 & 65535 | 0, y = 0; s !== 0; ) {
1352
+ for (s -= y = 2e3 < s ? 2e3 : s; f = f + (p = p + o[c++] | 0) | 0, --y; ) ;
1353
1353
  p %= 65521, f %= 65521;
1354
1354
  }
1355
1355
  return p | f << 16 | 0;
@@ -1358,223 +1358,223 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1358
1358
  r.exports = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 };
1359
1359
  }, {}], 45: [function(t, r, n) {
1360
1360
  var a = function() {
1361
- for (var o, i = [], c = 0; c < 256; c++) {
1361
+ for (var o, s = [], c = 0; c < 256; c++) {
1362
1362
  o = c;
1363
1363
  for (var p = 0; p < 8; p++) o = 1 & o ? 3988292384 ^ o >>> 1 : o >>> 1;
1364
- i[c] = o;
1364
+ s[c] = o;
1365
1365
  }
1366
- return i;
1366
+ return s;
1367
1367
  }();
1368
- r.exports = function(o, i, c, p) {
1369
- var f = a, _ = p + c;
1368
+ r.exports = function(o, s, c, p) {
1369
+ var f = a, y = p + c;
1370
1370
  o ^= -1;
1371
- for (var g = p; g < _; g++) o = o >>> 8 ^ f[255 & (o ^ i[g])];
1371
+ for (var m = p; m < y; m++) o = o >>> 8 ^ f[255 & (o ^ s[m])];
1372
1372
  return -1 ^ o;
1373
1373
  };
1374
1374
  }, {}], 46: [function(t, r, n) {
1375
- var a, o = t("../utils/common"), i = t("./trees"), c = t("./adler32"), p = t("./crc32"), f = t("./messages"), _ = 0, g = 4, h = 0, b = -2, d = -1, y = 4, u = 2, v = 8, x = 9, A = 286, T = 30, L = 19, B = 2 * A + 1, j = 15, z = 3, Z = 258, Q = Z + z + 1, k = 42, N = 113, l = 1, D = 2, et = 3, $ = 4;
1376
- function rt(s, O) {
1377
- return s.msg = f[O], O;
1375
+ var a, o = t("../utils/common"), s = t("./trees"), c = t("./adler32"), p = t("./crc32"), f = t("./messages"), y = 0, m = 4, h = 0, b = -2, d = -1, _ = 4, u = 2, v = 8, E = 9, A = 286, T = 30, L = 19, B = 2 * A + 1, j = 15, z = 3, Z = 258, Q = Z + z + 1, k = 42, N = 113, l = 1, D = 2, et = 3, U = 4;
1376
+ function rt(i, O) {
1377
+ return i.msg = f[O], O;
1378
1378
  }
1379
- function W(s) {
1380
- return (s << 1) - (4 < s ? 9 : 0);
1379
+ function W(i) {
1380
+ return (i << 1) - (4 < i ? 9 : 0);
1381
1381
  }
1382
- function tt(s) {
1383
- for (var O = s.length; 0 <= --O; ) s[O] = 0;
1382
+ function tt(i) {
1383
+ for (var O = i.length; 0 <= --O; ) i[O] = 0;
1384
1384
  }
1385
- function R(s) {
1386
- var O = s.state, P = O.pending;
1387
- P > s.avail_out && (P = s.avail_out), P !== 0 && (o.arraySet(s.output, O.pending_buf, O.pending_out, P, s.next_out), s.next_out += P, O.pending_out += P, s.total_out += P, s.avail_out -= P, O.pending -= P, O.pending === 0 && (O.pending_out = 0));
1385
+ function P(i) {
1386
+ var O = i.state, F = O.pending;
1387
+ F > i.avail_out && (F = i.avail_out), F !== 0 && (o.arraySet(i.output, O.pending_buf, O.pending_out, F, i.next_out), i.next_out += F, O.pending_out += F, i.total_out += F, i.avail_out -= F, O.pending -= F, O.pending === 0 && (O.pending_out = 0));
1388
1388
  }
1389
- function F(s, O) {
1390
- i._tr_flush_block(s, 0 <= s.block_start ? s.block_start : -1, s.strstart - s.block_start, O), s.block_start = s.strstart, R(s.strm);
1389
+ function I(i, O) {
1390
+ s._tr_flush_block(i, 0 <= i.block_start ? i.block_start : -1, i.strstart - i.block_start, O), i.block_start = i.strstart, P(i.strm);
1391
1391
  }
1392
- function J(s, O) {
1393
- s.pending_buf[s.pending++] = O;
1392
+ function J(i, O) {
1393
+ i.pending_buf[i.pending++] = O;
1394
1394
  }
1395
- function Y(s, O) {
1396
- s.pending_buf[s.pending++] = O >>> 8 & 255, s.pending_buf[s.pending++] = 255 & O;
1395
+ function Y(i, O) {
1396
+ i.pending_buf[i.pending++] = O >>> 8 & 255, i.pending_buf[i.pending++] = 255 & O;
1397
1397
  }
1398
- function V(s, O) {
1399
- var P, w, m = s.max_chain_length, S = s.strstart, M = s.prev_length, U = s.nice_match, I = s.strstart > s.w_size - Q ? s.strstart - (s.w_size - Q) : 0, H = s.window, K = s.w_mask, G = s.prev, q = s.strstart + Z, ot = H[S + M - 1], st = H[S + M];
1400
- s.prev_length >= s.good_match && (m >>= 2), U > s.lookahead && (U = s.lookahead);
1398
+ function V(i, O) {
1399
+ var F, w, g = i.max_chain_length, S = i.strstart, M = i.prev_length, $ = i.nice_match, R = i.strstart > i.w_size - Q ? i.strstart - (i.w_size - Q) : 0, H = i.window, q = i.w_mask, G = i.prev, K = i.strstart + Z, ot = H[S + M - 1], st = H[S + M];
1400
+ i.prev_length >= i.good_match && (g >>= 2), $ > i.lookahead && ($ = i.lookahead);
1401
1401
  do
1402
- if (H[(P = O) + M] === st && H[P + M - 1] === ot && H[P] === H[S] && H[++P] === H[S + 1]) {
1403
- S += 2, P++;
1402
+ if (H[(F = O) + M] === st && H[F + M - 1] === ot && H[F] === H[S] && H[++F] === H[S + 1]) {
1403
+ S += 2, F++;
1404
1404
  do
1405
1405
  ;
1406
- while (H[++S] === H[++P] && H[++S] === H[++P] && H[++S] === H[++P] && H[++S] === H[++P] && H[++S] === H[++P] && H[++S] === H[++P] && H[++S] === H[++P] && H[++S] === H[++P] && S < q);
1407
- if (w = Z - (q - S), S = q - Z, M < w) {
1408
- if (s.match_start = O, U <= (M = w)) break;
1406
+ while (H[++S] === H[++F] && H[++S] === H[++F] && H[++S] === H[++F] && H[++S] === H[++F] && H[++S] === H[++F] && H[++S] === H[++F] && H[++S] === H[++F] && H[++S] === H[++F] && S < K);
1407
+ if (w = Z - (K - S), S = K - Z, M < w) {
1408
+ if (i.match_start = O, $ <= (M = w)) break;
1409
1409
  ot = H[S + M - 1], st = H[S + M];
1410
1410
  }
1411
1411
  }
1412
- while ((O = G[O & K]) > I && --m != 0);
1413
- return M <= s.lookahead ? M : s.lookahead;
1412
+ while ((O = G[O & q]) > R && --g != 0);
1413
+ return M <= i.lookahead ? M : i.lookahead;
1414
1414
  }
1415
- function lt(s) {
1416
- var O, P, w, m, S, M, U, I, H, K, G = s.w_size;
1415
+ function lt(i) {
1416
+ var O, F, w, g, S, M, $, R, H, q, G = i.w_size;
1417
1417
  do {
1418
- if (m = s.window_size - s.lookahead - s.strstart, s.strstart >= G + (G - Q)) {
1419
- for (o.arraySet(s.window, s.window, G, G, 0), s.match_start -= G, s.strstart -= G, s.block_start -= G, O = P = s.hash_size; w = s.head[--O], s.head[O] = G <= w ? w - G : 0, --P; ) ;
1420
- for (O = P = G; w = s.prev[--O], s.prev[O] = G <= w ? w - G : 0, --P; ) ;
1421
- m += G;
1418
+ if (g = i.window_size - i.lookahead - i.strstart, i.strstart >= G + (G - Q)) {
1419
+ for (o.arraySet(i.window, i.window, G, G, 0), i.match_start -= G, i.strstart -= G, i.block_start -= G, O = F = i.hash_size; w = i.head[--O], i.head[O] = G <= w ? w - G : 0, --F; ) ;
1420
+ for (O = F = G; w = i.prev[--O], i.prev[O] = G <= w ? w - G : 0, --F; ) ;
1421
+ g += G;
1422
1422
  }
1423
- if (s.strm.avail_in === 0) break;
1424
- if (M = s.strm, U = s.window, I = s.strstart + s.lookahead, H = m, K = void 0, K = M.avail_in, H < K && (K = H), P = K === 0 ? 0 : (M.avail_in -= K, o.arraySet(U, M.input, M.next_in, K, I), M.state.wrap === 1 ? M.adler = c(M.adler, U, K, I) : M.state.wrap === 2 && (M.adler = p(M.adler, U, K, I)), M.next_in += K, M.total_in += K, K), s.lookahead += P, s.lookahead + s.insert >= z) for (S = s.strstart - s.insert, s.ins_h = s.window[S], s.ins_h = (s.ins_h << s.hash_shift ^ s.window[S + 1]) & s.hash_mask; s.insert && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[S + z - 1]) & s.hash_mask, s.prev[S & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = S, S++, s.insert--, !(s.lookahead + s.insert < z)); ) ;
1425
- } while (s.lookahead < Q && s.strm.avail_in !== 0);
1423
+ if (i.strm.avail_in === 0) break;
1424
+ if (M = i.strm, $ = i.window, R = i.strstart + i.lookahead, H = g, q = void 0, q = M.avail_in, H < q && (q = H), F = q === 0 ? 0 : (M.avail_in -= q, o.arraySet($, M.input, M.next_in, q, R), M.state.wrap === 1 ? M.adler = c(M.adler, $, q, R) : M.state.wrap === 2 && (M.adler = p(M.adler, $, q, R)), M.next_in += q, M.total_in += q, q), i.lookahead += F, i.lookahead + i.insert >= z) for (S = i.strstart - i.insert, i.ins_h = i.window[S], i.ins_h = (i.ins_h << i.hash_shift ^ i.window[S + 1]) & i.hash_mask; i.insert && (i.ins_h = (i.ins_h << i.hash_shift ^ i.window[S + z - 1]) & i.hash_mask, i.prev[S & i.w_mask] = i.head[i.ins_h], i.head[i.ins_h] = S, S++, i.insert--, !(i.lookahead + i.insert < z)); ) ;
1425
+ } while (i.lookahead < Q && i.strm.avail_in !== 0);
1426
1426
  }
1427
- function ut(s, O) {
1428
- for (var P, w; ; ) {
1429
- if (s.lookahead < Q) {
1430
- if (lt(s), s.lookahead < Q && O === _) return l;
1431
- if (s.lookahead === 0) break;
1427
+ function ut(i, O) {
1428
+ for (var F, w; ; ) {
1429
+ if (i.lookahead < Q) {
1430
+ if (lt(i), i.lookahead < Q && O === y) return l;
1431
+ if (i.lookahead === 0) break;
1432
1432
  }
1433
- if (P = 0, s.lookahead >= z && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + z - 1]) & s.hash_mask, P = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart), P !== 0 && s.strstart - P <= s.w_size - Q && (s.match_length = V(s, P)), s.match_length >= z) if (w = i._tr_tally(s, s.strstart - s.match_start, s.match_length - z), s.lookahead -= s.match_length, s.match_length <= s.max_lazy_match && s.lookahead >= z) {
1434
- for (s.match_length--; s.strstart++, s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + z - 1]) & s.hash_mask, P = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart, --s.match_length != 0; ) ;
1435
- s.strstart++;
1436
- } else s.strstart += s.match_length, s.match_length = 0, s.ins_h = s.window[s.strstart], s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + 1]) & s.hash_mask;
1437
- else w = i._tr_tally(s, 0, s.window[s.strstart]), s.lookahead--, s.strstart++;
1438
- if (w && (F(s, !1), s.strm.avail_out === 0)) return l;
1433
+ if (F = 0, i.lookahead >= z && (i.ins_h = (i.ins_h << i.hash_shift ^ i.window[i.strstart + z - 1]) & i.hash_mask, F = i.prev[i.strstart & i.w_mask] = i.head[i.ins_h], i.head[i.ins_h] = i.strstart), F !== 0 && i.strstart - F <= i.w_size - Q && (i.match_length = V(i, F)), i.match_length >= z) if (w = s._tr_tally(i, i.strstart - i.match_start, i.match_length - z), i.lookahead -= i.match_length, i.match_length <= i.max_lazy_match && i.lookahead >= z) {
1434
+ for (i.match_length--; i.strstart++, i.ins_h = (i.ins_h << i.hash_shift ^ i.window[i.strstart + z - 1]) & i.hash_mask, F = i.prev[i.strstart & i.w_mask] = i.head[i.ins_h], i.head[i.ins_h] = i.strstart, --i.match_length != 0; ) ;
1435
+ i.strstart++;
1436
+ } else i.strstart += i.match_length, i.match_length = 0, i.ins_h = i.window[i.strstart], i.ins_h = (i.ins_h << i.hash_shift ^ i.window[i.strstart + 1]) & i.hash_mask;
1437
+ else w = s._tr_tally(i, 0, i.window[i.strstart]), i.lookahead--, i.strstart++;
1438
+ if (w && (I(i, !1), i.strm.avail_out === 0)) return l;
1439
1439
  }
1440
- return s.insert = s.strstart < z - 1 ? s.strstart : z - 1, O === g ? (F(s, !0), s.strm.avail_out === 0 ? et : $) : s.last_lit && (F(s, !1), s.strm.avail_out === 0) ? l : D;
1440
+ return i.insert = i.strstart < z - 1 ? i.strstart : z - 1, O === m ? (I(i, !0), i.strm.avail_out === 0 ? et : U) : i.last_lit && (I(i, !1), i.strm.avail_out === 0) ? l : D;
1441
1441
  }
1442
- function it(s, O) {
1443
- for (var P, w, m; ; ) {
1444
- if (s.lookahead < Q) {
1445
- if (lt(s), s.lookahead < Q && O === _) return l;
1446
- if (s.lookahead === 0) break;
1442
+ function it(i, O) {
1443
+ for (var F, w, g; ; ) {
1444
+ if (i.lookahead < Q) {
1445
+ if (lt(i), i.lookahead < Q && O === y) return l;
1446
+ if (i.lookahead === 0) break;
1447
1447
  }
1448
- if (P = 0, s.lookahead >= z && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + z - 1]) & s.hash_mask, P = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart), s.prev_length = s.match_length, s.prev_match = s.match_start, s.match_length = z - 1, P !== 0 && s.prev_length < s.max_lazy_match && s.strstart - P <= s.w_size - Q && (s.match_length = V(s, P), s.match_length <= 5 && (s.strategy === 1 || s.match_length === z && 4096 < s.strstart - s.match_start) && (s.match_length = z - 1)), s.prev_length >= z && s.match_length <= s.prev_length) {
1449
- for (m = s.strstart + s.lookahead - z, w = i._tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - z), s.lookahead -= s.prev_length - 1, s.prev_length -= 2; ++s.strstart <= m && (s.ins_h = (s.ins_h << s.hash_shift ^ s.window[s.strstart + z - 1]) & s.hash_mask, P = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h], s.head[s.ins_h] = s.strstart), --s.prev_length != 0; ) ;
1450
- if (s.match_available = 0, s.match_length = z - 1, s.strstart++, w && (F(s, !1), s.strm.avail_out === 0)) return l;
1451
- } else if (s.match_available) {
1452
- if ((w = i._tr_tally(s, 0, s.window[s.strstart - 1])) && F(s, !1), s.strstart++, s.lookahead--, s.strm.avail_out === 0) return l;
1453
- } else s.match_available = 1, s.strstart++, s.lookahead--;
1448
+ if (F = 0, i.lookahead >= z && (i.ins_h = (i.ins_h << i.hash_shift ^ i.window[i.strstart + z - 1]) & i.hash_mask, F = i.prev[i.strstart & i.w_mask] = i.head[i.ins_h], i.head[i.ins_h] = i.strstart), i.prev_length = i.match_length, i.prev_match = i.match_start, i.match_length = z - 1, F !== 0 && i.prev_length < i.max_lazy_match && i.strstart - F <= i.w_size - Q && (i.match_length = V(i, F), i.match_length <= 5 && (i.strategy === 1 || i.match_length === z && 4096 < i.strstart - i.match_start) && (i.match_length = z - 1)), i.prev_length >= z && i.match_length <= i.prev_length) {
1449
+ for (g = i.strstart + i.lookahead - z, w = s._tr_tally(i, i.strstart - 1 - i.prev_match, i.prev_length - z), i.lookahead -= i.prev_length - 1, i.prev_length -= 2; ++i.strstart <= g && (i.ins_h = (i.ins_h << i.hash_shift ^ i.window[i.strstart + z - 1]) & i.hash_mask, F = i.prev[i.strstart & i.w_mask] = i.head[i.ins_h], i.head[i.ins_h] = i.strstart), --i.prev_length != 0; ) ;
1450
+ if (i.match_available = 0, i.match_length = z - 1, i.strstart++, w && (I(i, !1), i.strm.avail_out === 0)) return l;
1451
+ } else if (i.match_available) {
1452
+ if ((w = s._tr_tally(i, 0, i.window[i.strstart - 1])) && I(i, !1), i.strstart++, i.lookahead--, i.strm.avail_out === 0) return l;
1453
+ } else i.match_available = 1, i.strstart++, i.lookahead--;
1454
1454
  }
1455
- return s.match_available && (w = i._tr_tally(s, 0, s.window[s.strstart - 1]), s.match_available = 0), s.insert = s.strstart < z - 1 ? s.strstart : z - 1, O === g ? (F(s, !0), s.strm.avail_out === 0 ? et : $) : s.last_lit && (F(s, !1), s.strm.avail_out === 0) ? l : D;
1455
+ return i.match_available && (w = s._tr_tally(i, 0, i.window[i.strstart - 1]), i.match_available = 0), i.insert = i.strstart < z - 1 ? i.strstart : z - 1, O === m ? (I(i, !0), i.strm.avail_out === 0 ? et : U) : i.last_lit && (I(i, !1), i.strm.avail_out === 0) ? l : D;
1456
1456
  }
1457
- function at(s, O, P, w, m) {
1458
- this.good_length = s, this.max_lazy = O, this.nice_length = P, this.max_chain = w, this.func = m;
1457
+ function at(i, O, F, w, g) {
1458
+ this.good_length = i, this.max_lazy = O, this.nice_length = F, this.max_chain = w, this.func = g;
1459
1459
  }
1460
1460
  function dt() {
1461
1461
  this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = v, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new o.Buf16(2 * B), this.dyn_dtree = new o.Buf16(2 * (2 * T + 1)), this.bl_tree = new o.Buf16(2 * (2 * L + 1)), tt(this.dyn_ltree), tt(this.dyn_dtree), tt(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new o.Buf16(j + 1), this.heap = new o.Buf16(2 * A + 1), tt(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new o.Buf16(2 * A + 1), tt(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
1462
1462
  }
1463
- function ct(s) {
1463
+ function ct(i) {
1464
1464
  var O;
1465
- return s && s.state ? (s.total_in = s.total_out = 0, s.data_type = u, (O = s.state).pending = 0, O.pending_out = 0, O.wrap < 0 && (O.wrap = -O.wrap), O.status = O.wrap ? k : N, s.adler = O.wrap === 2 ? 0 : 1, O.last_flush = _, i._tr_init(O), h) : rt(s, b);
1465
+ return i && i.state ? (i.total_in = i.total_out = 0, i.data_type = u, (O = i.state).pending = 0, O.pending_out = 0, O.wrap < 0 && (O.wrap = -O.wrap), O.status = O.wrap ? k : N, i.adler = O.wrap === 2 ? 0 : 1, O.last_flush = y, s._tr_init(O), h) : rt(i, b);
1466
1466
  }
1467
- function bt(s) {
1468
- var O = ct(s);
1469
- return O === h && function(P) {
1470
- P.window_size = 2 * P.w_size, tt(P.head), P.max_lazy_match = a[P.level].max_lazy, P.good_match = a[P.level].good_length, P.nice_match = a[P.level].nice_length, P.max_chain_length = a[P.level].max_chain, P.strstart = 0, P.block_start = 0, P.lookahead = 0, P.insert = 0, P.match_length = P.prev_length = z - 1, P.match_available = 0, P.ins_h = 0;
1471
- }(s.state), O;
1467
+ function bt(i) {
1468
+ var O = ct(i);
1469
+ return O === h && function(F) {
1470
+ F.window_size = 2 * F.w_size, tt(F.head), F.max_lazy_match = a[F.level].max_lazy, F.good_match = a[F.level].good_length, F.nice_match = a[F.level].nice_length, F.max_chain_length = a[F.level].max_chain, F.strstart = 0, F.block_start = 0, F.lookahead = 0, F.insert = 0, F.match_length = F.prev_length = z - 1, F.match_available = 0, F.ins_h = 0;
1471
+ }(i.state), O;
1472
1472
  }
1473
- function pt(s, O, P, w, m, S) {
1474
- if (!s) return b;
1473
+ function pt(i, O, F, w, g, S) {
1474
+ if (!i) return b;
1475
1475
  var M = 1;
1476
- if (O === d && (O = 6), w < 0 ? (M = 0, w = -w) : 15 < w && (M = 2, w -= 16), m < 1 || x < m || P !== v || w < 8 || 15 < w || O < 0 || 9 < O || S < 0 || y < S) return rt(s, b);
1476
+ if (O === d && (O = 6), w < 0 ? (M = 0, w = -w) : 15 < w && (M = 2, w -= 16), g < 1 || E < g || F !== v || w < 8 || 15 < w || O < 0 || 9 < O || S < 0 || _ < S) return rt(i, b);
1477
1477
  w === 8 && (w = 9);
1478
- var U = new dt();
1479
- return (s.state = U).strm = s, U.wrap = M, U.gzhead = null, U.w_bits = w, U.w_size = 1 << U.w_bits, U.w_mask = U.w_size - 1, U.hash_bits = m + 7, U.hash_size = 1 << U.hash_bits, U.hash_mask = U.hash_size - 1, U.hash_shift = ~~((U.hash_bits + z - 1) / z), U.window = new o.Buf8(2 * U.w_size), U.head = new o.Buf16(U.hash_size), U.prev = new o.Buf16(U.w_size), U.lit_bufsize = 1 << m + 6, U.pending_buf_size = 4 * U.lit_bufsize, U.pending_buf = new o.Buf8(U.pending_buf_size), U.d_buf = 1 * U.lit_bufsize, U.l_buf = 3 * U.lit_bufsize, U.level = O, U.strategy = S, U.method = P, bt(s);
1478
+ var $ = new dt();
1479
+ return (i.state = $).strm = i, $.wrap = M, $.gzhead = null, $.w_bits = w, $.w_size = 1 << $.w_bits, $.w_mask = $.w_size - 1, $.hash_bits = g + 7, $.hash_size = 1 << $.hash_bits, $.hash_mask = $.hash_size - 1, $.hash_shift = ~~(($.hash_bits + z - 1) / z), $.window = new o.Buf8(2 * $.w_size), $.head = new o.Buf16($.hash_size), $.prev = new o.Buf16($.w_size), $.lit_bufsize = 1 << g + 6, $.pending_buf_size = 4 * $.lit_bufsize, $.pending_buf = new o.Buf8($.pending_buf_size), $.d_buf = 1 * $.lit_bufsize, $.l_buf = 3 * $.lit_bufsize, $.level = O, $.strategy = S, $.method = F, bt(i);
1480
1480
  }
1481
- a = [new at(0, 0, 0, 0, function(s, O) {
1482
- var P = 65535;
1483
- for (P > s.pending_buf_size - 5 && (P = s.pending_buf_size - 5); ; ) {
1484
- if (s.lookahead <= 1) {
1485
- if (lt(s), s.lookahead === 0 && O === _) return l;
1486
- if (s.lookahead === 0) break;
1481
+ a = [new at(0, 0, 0, 0, function(i, O) {
1482
+ var F = 65535;
1483
+ for (F > i.pending_buf_size - 5 && (F = i.pending_buf_size - 5); ; ) {
1484
+ if (i.lookahead <= 1) {
1485
+ if (lt(i), i.lookahead === 0 && O === y) return l;
1486
+ if (i.lookahead === 0) break;
1487
1487
  }
1488
- s.strstart += s.lookahead, s.lookahead = 0;
1489
- var w = s.block_start + P;
1490
- if ((s.strstart === 0 || s.strstart >= w) && (s.lookahead = s.strstart - w, s.strstart = w, F(s, !1), s.strm.avail_out === 0) || s.strstart - s.block_start >= s.w_size - Q && (F(s, !1), s.strm.avail_out === 0)) return l;
1488
+ i.strstart += i.lookahead, i.lookahead = 0;
1489
+ var w = i.block_start + F;
1490
+ if ((i.strstart === 0 || i.strstart >= w) && (i.lookahead = i.strstart - w, i.strstart = w, I(i, !1), i.strm.avail_out === 0) || i.strstart - i.block_start >= i.w_size - Q && (I(i, !1), i.strm.avail_out === 0)) return l;
1491
1491
  }
1492
- return s.insert = 0, O === g ? (F(s, !0), s.strm.avail_out === 0 ? et : $) : (s.strstart > s.block_start && (F(s, !1), s.strm.avail_out), l);
1493
- }), new at(4, 4, 8, 4, ut), new at(4, 5, 16, 8, ut), new at(4, 6, 32, 32, ut), new at(4, 4, 16, 16, it), new at(8, 16, 32, 32, it), new at(8, 16, 128, 128, it), new at(8, 32, 128, 256, it), new at(32, 128, 258, 1024, it), new at(32, 258, 258, 4096, it)], n.deflateInit = function(s, O) {
1494
- return pt(s, O, v, 15, 8, 0);
1495
- }, n.deflateInit2 = pt, n.deflateReset = bt, n.deflateResetKeep = ct, n.deflateSetHeader = function(s, O) {
1496
- return s && s.state ? s.state.wrap !== 2 ? b : (s.state.gzhead = O, h) : b;
1497
- }, n.deflate = function(s, O) {
1498
- var P, w, m, S;
1499
- if (!s || !s.state || 5 < O || O < 0) return s ? rt(s, b) : b;
1500
- if (w = s.state, !s.output || !s.input && s.avail_in !== 0 || w.status === 666 && O !== g) return rt(s, s.avail_out === 0 ? -5 : b);
1501
- if (w.strm = s, P = w.last_flush, w.last_flush = O, w.status === k) if (w.wrap === 2) s.adler = 0, J(w, 31), J(w, 139), J(w, 8), w.gzhead ? (J(w, (w.gzhead.text ? 1 : 0) + (w.gzhead.hcrc ? 2 : 0) + (w.gzhead.extra ? 4 : 0) + (w.gzhead.name ? 8 : 0) + (w.gzhead.comment ? 16 : 0)), J(w, 255 & w.gzhead.time), J(w, w.gzhead.time >> 8 & 255), J(w, w.gzhead.time >> 16 & 255), J(w, w.gzhead.time >> 24 & 255), J(w, w.level === 9 ? 2 : 2 <= w.strategy || w.level < 2 ? 4 : 0), J(w, 255 & w.gzhead.os), w.gzhead.extra && w.gzhead.extra.length && (J(w, 255 & w.gzhead.extra.length), J(w, w.gzhead.extra.length >> 8 & 255)), w.gzhead.hcrc && (s.adler = p(s.adler, w.pending_buf, w.pending, 0)), w.gzindex = 0, w.status = 69) : (J(w, 0), J(w, 0), J(w, 0), J(w, 0), J(w, 0), J(w, w.level === 9 ? 2 : 2 <= w.strategy || w.level < 2 ? 4 : 0), J(w, 3), w.status = N);
1492
+ return i.insert = 0, O === m ? (I(i, !0), i.strm.avail_out === 0 ? et : U) : (i.strstart > i.block_start && (I(i, !1), i.strm.avail_out), l);
1493
+ }), new at(4, 4, 8, 4, ut), new at(4, 5, 16, 8, ut), new at(4, 6, 32, 32, ut), new at(4, 4, 16, 16, it), new at(8, 16, 32, 32, it), new at(8, 16, 128, 128, it), new at(8, 32, 128, 256, it), new at(32, 128, 258, 1024, it), new at(32, 258, 258, 4096, it)], n.deflateInit = function(i, O) {
1494
+ return pt(i, O, v, 15, 8, 0);
1495
+ }, n.deflateInit2 = pt, n.deflateReset = bt, n.deflateResetKeep = ct, n.deflateSetHeader = function(i, O) {
1496
+ return i && i.state ? i.state.wrap !== 2 ? b : (i.state.gzhead = O, h) : b;
1497
+ }, n.deflate = function(i, O) {
1498
+ var F, w, g, S;
1499
+ if (!i || !i.state || 5 < O || O < 0) return i ? rt(i, b) : b;
1500
+ if (w = i.state, !i.output || !i.input && i.avail_in !== 0 || w.status === 666 && O !== m) return rt(i, i.avail_out === 0 ? -5 : b);
1501
+ if (w.strm = i, F = w.last_flush, w.last_flush = O, w.status === k) if (w.wrap === 2) i.adler = 0, J(w, 31), J(w, 139), J(w, 8), w.gzhead ? (J(w, (w.gzhead.text ? 1 : 0) + (w.gzhead.hcrc ? 2 : 0) + (w.gzhead.extra ? 4 : 0) + (w.gzhead.name ? 8 : 0) + (w.gzhead.comment ? 16 : 0)), J(w, 255 & w.gzhead.time), J(w, w.gzhead.time >> 8 & 255), J(w, w.gzhead.time >> 16 & 255), J(w, w.gzhead.time >> 24 & 255), J(w, w.level === 9 ? 2 : 2 <= w.strategy || w.level < 2 ? 4 : 0), J(w, 255 & w.gzhead.os), w.gzhead.extra && w.gzhead.extra.length && (J(w, 255 & w.gzhead.extra.length), J(w, w.gzhead.extra.length >> 8 & 255)), w.gzhead.hcrc && (i.adler = p(i.adler, w.pending_buf, w.pending, 0)), w.gzindex = 0, w.status = 69) : (J(w, 0), J(w, 0), J(w, 0), J(w, 0), J(w, 0), J(w, w.level === 9 ? 2 : 2 <= w.strategy || w.level < 2 ? 4 : 0), J(w, 3), w.status = N);
1502
1502
  else {
1503
1503
  var M = v + (w.w_bits - 8 << 4) << 8;
1504
- M |= (2 <= w.strategy || w.level < 2 ? 0 : w.level < 6 ? 1 : w.level === 6 ? 2 : 3) << 6, w.strstart !== 0 && (M |= 32), M += 31 - M % 31, w.status = N, Y(w, M), w.strstart !== 0 && (Y(w, s.adler >>> 16), Y(w, 65535 & s.adler)), s.adler = 1;
1504
+ M |= (2 <= w.strategy || w.level < 2 ? 0 : w.level < 6 ? 1 : w.level === 6 ? 2 : 3) << 6, w.strstart !== 0 && (M |= 32), M += 31 - M % 31, w.status = N, Y(w, M), w.strstart !== 0 && (Y(w, i.adler >>> 16), Y(w, 65535 & i.adler)), i.adler = 1;
1505
1505
  }
1506
1506
  if (w.status === 69) if (w.gzhead.extra) {
1507
- for (m = w.pending; w.gzindex < (65535 & w.gzhead.extra.length) && (w.pending !== w.pending_buf_size || (w.gzhead.hcrc && w.pending > m && (s.adler = p(s.adler, w.pending_buf, w.pending - m, m)), R(s), m = w.pending, w.pending !== w.pending_buf_size)); ) J(w, 255 & w.gzhead.extra[w.gzindex]), w.gzindex++;
1508
- w.gzhead.hcrc && w.pending > m && (s.adler = p(s.adler, w.pending_buf, w.pending - m, m)), w.gzindex === w.gzhead.extra.length && (w.gzindex = 0, w.status = 73);
1507
+ for (g = w.pending; w.gzindex < (65535 & w.gzhead.extra.length) && (w.pending !== w.pending_buf_size || (w.gzhead.hcrc && w.pending > g && (i.adler = p(i.adler, w.pending_buf, w.pending - g, g)), P(i), g = w.pending, w.pending !== w.pending_buf_size)); ) J(w, 255 & w.gzhead.extra[w.gzindex]), w.gzindex++;
1508
+ w.gzhead.hcrc && w.pending > g && (i.adler = p(i.adler, w.pending_buf, w.pending - g, g)), w.gzindex === w.gzhead.extra.length && (w.gzindex = 0, w.status = 73);
1509
1509
  } else w.status = 73;
1510
1510
  if (w.status === 73) if (w.gzhead.name) {
1511
- m = w.pending;
1511
+ g = w.pending;
1512
1512
  do {
1513
- if (w.pending === w.pending_buf_size && (w.gzhead.hcrc && w.pending > m && (s.adler = p(s.adler, w.pending_buf, w.pending - m, m)), R(s), m = w.pending, w.pending === w.pending_buf_size)) {
1513
+ if (w.pending === w.pending_buf_size && (w.gzhead.hcrc && w.pending > g && (i.adler = p(i.adler, w.pending_buf, w.pending - g, g)), P(i), g = w.pending, w.pending === w.pending_buf_size)) {
1514
1514
  S = 1;
1515
1515
  break;
1516
1516
  }
1517
1517
  S = w.gzindex < w.gzhead.name.length ? 255 & w.gzhead.name.charCodeAt(w.gzindex++) : 0, J(w, S);
1518
1518
  } while (S !== 0);
1519
- w.gzhead.hcrc && w.pending > m && (s.adler = p(s.adler, w.pending_buf, w.pending - m, m)), S === 0 && (w.gzindex = 0, w.status = 91);
1519
+ w.gzhead.hcrc && w.pending > g && (i.adler = p(i.adler, w.pending_buf, w.pending - g, g)), S === 0 && (w.gzindex = 0, w.status = 91);
1520
1520
  } else w.status = 91;
1521
1521
  if (w.status === 91) if (w.gzhead.comment) {
1522
- m = w.pending;
1522
+ g = w.pending;
1523
1523
  do {
1524
- if (w.pending === w.pending_buf_size && (w.gzhead.hcrc && w.pending > m && (s.adler = p(s.adler, w.pending_buf, w.pending - m, m)), R(s), m = w.pending, w.pending === w.pending_buf_size)) {
1524
+ if (w.pending === w.pending_buf_size && (w.gzhead.hcrc && w.pending > g && (i.adler = p(i.adler, w.pending_buf, w.pending - g, g)), P(i), g = w.pending, w.pending === w.pending_buf_size)) {
1525
1525
  S = 1;
1526
1526
  break;
1527
1527
  }
1528
1528
  S = w.gzindex < w.gzhead.comment.length ? 255 & w.gzhead.comment.charCodeAt(w.gzindex++) : 0, J(w, S);
1529
1529
  } while (S !== 0);
1530
- w.gzhead.hcrc && w.pending > m && (s.adler = p(s.adler, w.pending_buf, w.pending - m, m)), S === 0 && (w.status = 103);
1530
+ w.gzhead.hcrc && w.pending > g && (i.adler = p(i.adler, w.pending_buf, w.pending - g, g)), S === 0 && (w.status = 103);
1531
1531
  } else w.status = 103;
1532
- if (w.status === 103 && (w.gzhead.hcrc ? (w.pending + 2 > w.pending_buf_size && R(s), w.pending + 2 <= w.pending_buf_size && (J(w, 255 & s.adler), J(w, s.adler >> 8 & 255), s.adler = 0, w.status = N)) : w.status = N), w.pending !== 0) {
1533
- if (R(s), s.avail_out === 0) return w.last_flush = -1, h;
1534
- } else if (s.avail_in === 0 && W(O) <= W(P) && O !== g) return rt(s, -5);
1535
- if (w.status === 666 && s.avail_in !== 0) return rt(s, -5);
1536
- if (s.avail_in !== 0 || w.lookahead !== 0 || O !== _ && w.status !== 666) {
1537
- var U = w.strategy === 2 ? function(I, H) {
1538
- for (var K; ; ) {
1539
- if (I.lookahead === 0 && (lt(I), I.lookahead === 0)) {
1540
- if (H === _) return l;
1532
+ if (w.status === 103 && (w.gzhead.hcrc ? (w.pending + 2 > w.pending_buf_size && P(i), w.pending + 2 <= w.pending_buf_size && (J(w, 255 & i.adler), J(w, i.adler >> 8 & 255), i.adler = 0, w.status = N)) : w.status = N), w.pending !== 0) {
1533
+ if (P(i), i.avail_out === 0) return w.last_flush = -1, h;
1534
+ } else if (i.avail_in === 0 && W(O) <= W(F) && O !== m) return rt(i, -5);
1535
+ if (w.status === 666 && i.avail_in !== 0) return rt(i, -5);
1536
+ if (i.avail_in !== 0 || w.lookahead !== 0 || O !== y && w.status !== 666) {
1537
+ var $ = w.strategy === 2 ? function(R, H) {
1538
+ for (var q; ; ) {
1539
+ if (R.lookahead === 0 && (lt(R), R.lookahead === 0)) {
1540
+ if (H === y) return l;
1541
1541
  break;
1542
1542
  }
1543
- if (I.match_length = 0, K = i._tr_tally(I, 0, I.window[I.strstart]), I.lookahead--, I.strstart++, K && (F(I, !1), I.strm.avail_out === 0)) return l;
1543
+ if (R.match_length = 0, q = s._tr_tally(R, 0, R.window[R.strstart]), R.lookahead--, R.strstart++, q && (I(R, !1), R.strm.avail_out === 0)) return l;
1544
1544
  }
1545
- return I.insert = 0, H === g ? (F(I, !0), I.strm.avail_out === 0 ? et : $) : I.last_lit && (F(I, !1), I.strm.avail_out === 0) ? l : D;
1546
- }(w, O) : w.strategy === 3 ? function(I, H) {
1547
- for (var K, G, q, ot, st = I.window; ; ) {
1548
- if (I.lookahead <= Z) {
1549
- if (lt(I), I.lookahead <= Z && H === _) return l;
1550
- if (I.lookahead === 0) break;
1545
+ return R.insert = 0, H === m ? (I(R, !0), R.strm.avail_out === 0 ? et : U) : R.last_lit && (I(R, !1), R.strm.avail_out === 0) ? l : D;
1546
+ }(w, O) : w.strategy === 3 ? function(R, H) {
1547
+ for (var q, G, K, ot, st = R.window; ; ) {
1548
+ if (R.lookahead <= Z) {
1549
+ if (lt(R), R.lookahead <= Z && H === y) return l;
1550
+ if (R.lookahead === 0) break;
1551
1551
  }
1552
- if (I.match_length = 0, I.lookahead >= z && 0 < I.strstart && (G = st[q = I.strstart - 1]) === st[++q] && G === st[++q] && G === st[++q]) {
1553
- ot = I.strstart + Z;
1552
+ if (R.match_length = 0, R.lookahead >= z && 0 < R.strstart && (G = st[K = R.strstart - 1]) === st[++K] && G === st[++K] && G === st[++K]) {
1553
+ ot = R.strstart + Z;
1554
1554
  do
1555
1555
  ;
1556
- while (G === st[++q] && G === st[++q] && G === st[++q] && G === st[++q] && G === st[++q] && G === st[++q] && G === st[++q] && G === st[++q] && q < ot);
1557
- I.match_length = Z - (ot - q), I.match_length > I.lookahead && (I.match_length = I.lookahead);
1556
+ while (G === st[++K] && G === st[++K] && G === st[++K] && G === st[++K] && G === st[++K] && G === st[++K] && G === st[++K] && G === st[++K] && K < ot);
1557
+ R.match_length = Z - (ot - K), R.match_length > R.lookahead && (R.match_length = R.lookahead);
1558
1558
  }
1559
- if (I.match_length >= z ? (K = i._tr_tally(I, 1, I.match_length - z), I.lookahead -= I.match_length, I.strstart += I.match_length, I.match_length = 0) : (K = i._tr_tally(I, 0, I.window[I.strstart]), I.lookahead--, I.strstart++), K && (F(I, !1), I.strm.avail_out === 0)) return l;
1559
+ if (R.match_length >= z ? (q = s._tr_tally(R, 1, R.match_length - z), R.lookahead -= R.match_length, R.strstart += R.match_length, R.match_length = 0) : (q = s._tr_tally(R, 0, R.window[R.strstart]), R.lookahead--, R.strstart++), q && (I(R, !1), R.strm.avail_out === 0)) return l;
1560
1560
  }
1561
- return I.insert = 0, H === g ? (F(I, !0), I.strm.avail_out === 0 ? et : $) : I.last_lit && (F(I, !1), I.strm.avail_out === 0) ? l : D;
1561
+ return R.insert = 0, H === m ? (I(R, !0), R.strm.avail_out === 0 ? et : U) : R.last_lit && (I(R, !1), R.strm.avail_out === 0) ? l : D;
1562
1562
  }(w, O) : a[w.level].func(w, O);
1563
- if (U !== et && U !== $ || (w.status = 666), U === l || U === et) return s.avail_out === 0 && (w.last_flush = -1), h;
1564
- if (U === D && (O === 1 ? i._tr_align(w) : O !== 5 && (i._tr_stored_block(w, 0, 0, !1), O === 3 && (tt(w.head), w.lookahead === 0 && (w.strstart = 0, w.block_start = 0, w.insert = 0))), R(s), s.avail_out === 0)) return w.last_flush = -1, h;
1563
+ if ($ !== et && $ !== U || (w.status = 666), $ === l || $ === et) return i.avail_out === 0 && (w.last_flush = -1), h;
1564
+ if ($ === D && (O === 1 ? s._tr_align(w) : O !== 5 && (s._tr_stored_block(w, 0, 0, !1), O === 3 && (tt(w.head), w.lookahead === 0 && (w.strstart = 0, w.block_start = 0, w.insert = 0))), P(i), i.avail_out === 0)) return w.last_flush = -1, h;
1565
1565
  }
1566
- return O !== g ? h : w.wrap <= 0 ? 1 : (w.wrap === 2 ? (J(w, 255 & s.adler), J(w, s.adler >> 8 & 255), J(w, s.adler >> 16 & 255), J(w, s.adler >> 24 & 255), J(w, 255 & s.total_in), J(w, s.total_in >> 8 & 255), J(w, s.total_in >> 16 & 255), J(w, s.total_in >> 24 & 255)) : (Y(w, s.adler >>> 16), Y(w, 65535 & s.adler)), R(s), 0 < w.wrap && (w.wrap = -w.wrap), w.pending !== 0 ? h : 1);
1567
- }, n.deflateEnd = function(s) {
1566
+ return O !== m ? h : w.wrap <= 0 ? 1 : (w.wrap === 2 ? (J(w, 255 & i.adler), J(w, i.adler >> 8 & 255), J(w, i.adler >> 16 & 255), J(w, i.adler >> 24 & 255), J(w, 255 & i.total_in), J(w, i.total_in >> 8 & 255), J(w, i.total_in >> 16 & 255), J(w, i.total_in >> 24 & 255)) : (Y(w, i.adler >>> 16), Y(w, 65535 & i.adler)), P(i), 0 < w.wrap && (w.wrap = -w.wrap), w.pending !== 0 ? h : 1);
1567
+ }, n.deflateEnd = function(i) {
1568
1568
  var O;
1569
- return s && s.state ? (O = s.state.status) !== k && O !== 69 && O !== 73 && O !== 91 && O !== 103 && O !== N && O !== 666 ? rt(s, b) : (s.state = null, O === N ? rt(s, -3) : h) : b;
1570
- }, n.deflateSetDictionary = function(s, O) {
1571
- var P, w, m, S, M, U, I, H, K = O.length;
1572
- if (!s || !s.state || (S = (P = s.state).wrap) === 2 || S === 1 && P.status !== k || P.lookahead) return b;
1573
- for (S === 1 && (s.adler = c(s.adler, O, K, 0)), P.wrap = 0, K >= P.w_size && (S === 0 && (tt(P.head), P.strstart = 0, P.block_start = 0, P.insert = 0), H = new o.Buf8(P.w_size), o.arraySet(H, O, K - P.w_size, P.w_size, 0), O = H, K = P.w_size), M = s.avail_in, U = s.next_in, I = s.input, s.avail_in = K, s.next_in = 0, s.input = O, lt(P); P.lookahead >= z; ) {
1574
- for (w = P.strstart, m = P.lookahead - (z - 1); P.ins_h = (P.ins_h << P.hash_shift ^ P.window[w + z - 1]) & P.hash_mask, P.prev[w & P.w_mask] = P.head[P.ins_h], P.head[P.ins_h] = w, w++, --m; ) ;
1575
- P.strstart = w, P.lookahead = z - 1, lt(P);
1569
+ return i && i.state ? (O = i.state.status) !== k && O !== 69 && O !== 73 && O !== 91 && O !== 103 && O !== N && O !== 666 ? rt(i, b) : (i.state = null, O === N ? rt(i, -3) : h) : b;
1570
+ }, n.deflateSetDictionary = function(i, O) {
1571
+ var F, w, g, S, M, $, R, H, q = O.length;
1572
+ if (!i || !i.state || (S = (F = i.state).wrap) === 2 || S === 1 && F.status !== k || F.lookahead) return b;
1573
+ for (S === 1 && (i.adler = c(i.adler, O, q, 0)), F.wrap = 0, q >= F.w_size && (S === 0 && (tt(F.head), F.strstart = 0, F.block_start = 0, F.insert = 0), H = new o.Buf8(F.w_size), o.arraySet(H, O, q - F.w_size, F.w_size, 0), O = H, q = F.w_size), M = i.avail_in, $ = i.next_in, R = i.input, i.avail_in = q, i.next_in = 0, i.input = O, lt(F); F.lookahead >= z; ) {
1574
+ for (w = F.strstart, g = F.lookahead - (z - 1); F.ins_h = (F.ins_h << F.hash_shift ^ F.window[w + z - 1]) & F.hash_mask, F.prev[w & F.w_mask] = F.head[F.ins_h], F.head[F.ins_h] = w, w++, --g; ) ;
1575
+ F.strstart = w, F.lookahead = z - 1, lt(F);
1576
1576
  }
1577
- return P.strstart += P.lookahead, P.block_start = P.strstart, P.insert = P.lookahead, P.lookahead = 0, P.match_length = P.prev_length = z - 1, P.match_available = 0, s.next_in = U, s.input = I, s.avail_in = M, P.wrap = S, h;
1577
+ return F.strstart += F.lookahead, F.block_start = F.strstart, F.insert = F.lookahead, F.lookahead = 0, F.match_length = F.prev_length = z - 1, F.match_available = 0, i.next_in = $, i.input = R, i.avail_in = M, F.wrap = S, h;
1578
1578
  }, n.deflateInfo = "pako deflate (from Nodeca project)";
1579
1579
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(t, r, n) {
1580
1580
  r.exports = function() {
@@ -1582,12 +1582,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1582
1582
  };
1583
1583
  }, {}], 48: [function(t, r, n) {
1584
1584
  r.exports = function(a, o) {
1585
- var i, c, p, f, _, g, h, b, d, y, u, v, x, A, T, L, B, j, z, Z, Q, k, N, l, D;
1586
- i = a.state, c = a.next_in, l = a.input, p = c + (a.avail_in - 5), f = a.next_out, D = a.output, _ = f - (o - a.avail_out), g = f + (a.avail_out - 257), h = i.dmax, b = i.wsize, d = i.whave, y = i.wnext, u = i.window, v = i.hold, x = i.bits, A = i.lencode, T = i.distcode, L = (1 << i.lenbits) - 1, B = (1 << i.distbits) - 1;
1585
+ var s, c, p, f, y, m, h, b, d, _, u, v, E, A, T, L, B, j, z, Z, Q, k, N, l, D;
1586
+ s = a.state, c = a.next_in, l = a.input, p = c + (a.avail_in - 5), f = a.next_out, D = a.output, y = f - (o - a.avail_out), m = f + (a.avail_out - 257), h = s.dmax, b = s.wsize, d = s.whave, _ = s.wnext, u = s.window, v = s.hold, E = s.bits, A = s.lencode, T = s.distcode, L = (1 << s.lenbits) - 1, B = (1 << s.distbits) - 1;
1587
1587
  t: do {
1588
- x < 15 && (v += l[c++] << x, x += 8, v += l[c++] << x, x += 8), j = A[v & L];
1588
+ E < 15 && (v += l[c++] << E, E += 8, v += l[c++] << E, E += 8), j = A[v & L];
1589
1589
  e: for (; ; ) {
1590
- if (v >>>= z = j >>> 24, x -= z, (z = j >>> 16 & 255) === 0) D[f++] = 65535 & j;
1590
+ if (v >>>= z = j >>> 24, E -= z, (z = j >>> 16 & 255) === 0) D[f++] = 65535 & j;
1591
1591
  else {
1592
1592
  if (!(16 & z)) {
1593
1593
  if (!(64 & z)) {
@@ -1595,45 +1595,45 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1595
1595
  continue e;
1596
1596
  }
1597
1597
  if (32 & z) {
1598
- i.mode = 12;
1598
+ s.mode = 12;
1599
1599
  break t;
1600
1600
  }
1601
- a.msg = "invalid literal/length code", i.mode = 30;
1601
+ a.msg = "invalid literal/length code", s.mode = 30;
1602
1602
  break t;
1603
1603
  }
1604
- Z = 65535 & j, (z &= 15) && (x < z && (v += l[c++] << x, x += 8), Z += v & (1 << z) - 1, v >>>= z, x -= z), x < 15 && (v += l[c++] << x, x += 8, v += l[c++] << x, x += 8), j = T[v & B];
1604
+ Z = 65535 & j, (z &= 15) && (E < z && (v += l[c++] << E, E += 8), Z += v & (1 << z) - 1, v >>>= z, E -= z), E < 15 && (v += l[c++] << E, E += 8, v += l[c++] << E, E += 8), j = T[v & B];
1605
1605
  r: for (; ; ) {
1606
- if (v >>>= z = j >>> 24, x -= z, !(16 & (z = j >>> 16 & 255))) {
1606
+ if (v >>>= z = j >>> 24, E -= z, !(16 & (z = j >>> 16 & 255))) {
1607
1607
  if (!(64 & z)) {
1608
1608
  j = T[(65535 & j) + (v & (1 << z) - 1)];
1609
1609
  continue r;
1610
1610
  }
1611
- a.msg = "invalid distance code", i.mode = 30;
1611
+ a.msg = "invalid distance code", s.mode = 30;
1612
1612
  break t;
1613
1613
  }
1614
- if (Q = 65535 & j, x < (z &= 15) && (v += l[c++] << x, (x += 8) < z && (v += l[c++] << x, x += 8)), h < (Q += v & (1 << z) - 1)) {
1615
- a.msg = "invalid distance too far back", i.mode = 30;
1614
+ if (Q = 65535 & j, E < (z &= 15) && (v += l[c++] << E, (E += 8) < z && (v += l[c++] << E, E += 8)), h < (Q += v & (1 << z) - 1)) {
1615
+ a.msg = "invalid distance too far back", s.mode = 30;
1616
1616
  break t;
1617
1617
  }
1618
- if (v >>>= z, x -= z, (z = f - _) < Q) {
1619
- if (d < (z = Q - z) && i.sane) {
1620
- a.msg = "invalid distance too far back", i.mode = 30;
1618
+ if (v >>>= z, E -= z, (z = f - y) < Q) {
1619
+ if (d < (z = Q - z) && s.sane) {
1620
+ a.msg = "invalid distance too far back", s.mode = 30;
1621
1621
  break t;
1622
1622
  }
1623
- if (N = u, (k = 0) === y) {
1623
+ if (N = u, (k = 0) === _) {
1624
1624
  if (k += b - z, z < Z) {
1625
1625
  for (Z -= z; D[f++] = u[k++], --z; ) ;
1626
1626
  k = f - Q, N = D;
1627
1627
  }
1628
- } else if (y < z) {
1629
- if (k += b + y - z, (z -= y) < Z) {
1628
+ } else if (_ < z) {
1629
+ if (k += b + _ - z, (z -= _) < Z) {
1630
1630
  for (Z -= z; D[f++] = u[k++], --z; ) ;
1631
- if (k = 0, y < Z) {
1632
- for (Z -= z = y; D[f++] = u[k++], --z; ) ;
1631
+ if (k = 0, _ < Z) {
1632
+ for (Z -= z = _; D[f++] = u[k++], --z; ) ;
1633
1633
  k = f - Q, N = D;
1634
1634
  }
1635
1635
  }
1636
- } else if (k += y - z, z < Z) {
1636
+ } else if (k += _ - z, z < Z) {
1637
1637
  for (Z -= z; D[f++] = u[k++], --z; ) ;
1638
1638
  k = f - Q, N = D;
1639
1639
  }
@@ -1648,24 +1648,24 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1648
1648
  }
1649
1649
  break;
1650
1650
  }
1651
- } while (c < p && f < g);
1652
- c -= Z = x >> 3, v &= (1 << (x -= Z << 3)) - 1, a.next_in = c, a.next_out = f, a.avail_in = c < p ? p - c + 5 : 5 - (c - p), a.avail_out = f < g ? g - f + 257 : 257 - (f - g), i.hold = v, i.bits = x;
1651
+ } while (c < p && f < m);
1652
+ c -= Z = E >> 3, v &= (1 << (E -= Z << 3)) - 1, a.next_in = c, a.next_out = f, a.avail_in = c < p ? p - c + 5 : 5 - (c - p), a.avail_out = f < m ? m - f + 257 : 257 - (f - m), s.hold = v, s.bits = E;
1653
1653
  };
1654
1654
  }, {}], 49: [function(t, r, n) {
1655
- var a = t("../utils/common"), o = t("./adler32"), i = t("./crc32"), c = t("./inffast"), p = t("./inftrees"), f = 1, _ = 2, g = 0, h = -2, b = 1, d = 852, y = 592;
1655
+ var a = t("../utils/common"), o = t("./adler32"), s = t("./crc32"), c = t("./inffast"), p = t("./inftrees"), f = 1, y = 2, m = 0, h = -2, b = 1, d = 852, _ = 592;
1656
1656
  function u(k) {
1657
1657
  return (k >>> 24 & 255) + (k >>> 8 & 65280) + ((65280 & k) << 8) + ((255 & k) << 24);
1658
1658
  }
1659
1659
  function v() {
1660
1660
  this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new a.Buf16(320), this.work = new a.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
1661
1661
  }
1662
- function x(k) {
1662
+ function E(k) {
1663
1663
  var N;
1664
- return k && k.state ? (N = k.state, k.total_in = k.total_out = N.total = 0, k.msg = "", N.wrap && (k.adler = 1 & N.wrap), N.mode = b, N.last = 0, N.havedict = 0, N.dmax = 32768, N.head = null, N.hold = 0, N.bits = 0, N.lencode = N.lendyn = new a.Buf32(d), N.distcode = N.distdyn = new a.Buf32(y), N.sane = 1, N.back = -1, g) : h;
1664
+ return k && k.state ? (N = k.state, k.total_in = k.total_out = N.total = 0, k.msg = "", N.wrap && (k.adler = 1 & N.wrap), N.mode = b, N.last = 0, N.havedict = 0, N.dmax = 32768, N.head = null, N.hold = 0, N.bits = 0, N.lencode = N.lendyn = new a.Buf32(d), N.distcode = N.distdyn = new a.Buf32(_), N.sane = 1, N.back = -1, m) : h;
1665
1665
  }
1666
1666
  function A(k) {
1667
1667
  var N;
1668
- return k && k.state ? ((N = k.state).wsize = 0, N.whave = 0, N.wnext = 0, x(k)) : h;
1668
+ return k && k.state ? ((N = k.state).wsize = 0, N.whave = 0, N.wnext = 0, E(k)) : h;
1669
1669
  }
1670
1670
  function T(k, N) {
1671
1671
  var l, D;
@@ -1673,7 +1673,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1673
1673
  }
1674
1674
  function L(k, N) {
1675
1675
  var l, D;
1676
- return k ? (D = new v(), (k.state = D).window = null, (l = T(k, N)) !== g && (k.state = null), l) : h;
1676
+ return k ? (D = new v(), (k.state = D).window = null, (l = T(k, N)) !== m && (k.state = null), l) : h;
1677
1677
  }
1678
1678
  var B, j, z = !0;
1679
1679
  function Z(k) {
@@ -1684,55 +1684,55 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1684
1684
  for (; N < 280; ) k.lens[N++] = 7;
1685
1685
  for (; N < 288; ) k.lens[N++] = 8;
1686
1686
  for (p(f, k.lens, 0, 288, B, 0, k.work, { bits: 9 }), N = 0; N < 32; ) k.lens[N++] = 5;
1687
- p(_, k.lens, 0, 32, j, 0, k.work, { bits: 5 }), z = !1;
1687
+ p(y, k.lens, 0, 32, j, 0, k.work, { bits: 5 }), z = !1;
1688
1688
  }
1689
1689
  k.lencode = B, k.lenbits = 9, k.distcode = j, k.distbits = 5;
1690
1690
  }
1691
1691
  function Q(k, N, l, D) {
1692
- var et, $ = k.state;
1693
- return $.window === null && ($.wsize = 1 << $.wbits, $.wnext = 0, $.whave = 0, $.window = new a.Buf8($.wsize)), D >= $.wsize ? (a.arraySet($.window, N, l - $.wsize, $.wsize, 0), $.wnext = 0, $.whave = $.wsize) : (D < (et = $.wsize - $.wnext) && (et = D), a.arraySet($.window, N, l - D, et, $.wnext), (D -= et) ? (a.arraySet($.window, N, l - D, D, 0), $.wnext = D, $.whave = $.wsize) : ($.wnext += et, $.wnext === $.wsize && ($.wnext = 0), $.whave < $.wsize && ($.whave += et))), 0;
1692
+ var et, U = k.state;
1693
+ return U.window === null && (U.wsize = 1 << U.wbits, U.wnext = 0, U.whave = 0, U.window = new a.Buf8(U.wsize)), D >= U.wsize ? (a.arraySet(U.window, N, l - U.wsize, U.wsize, 0), U.wnext = 0, U.whave = U.wsize) : (D < (et = U.wsize - U.wnext) && (et = D), a.arraySet(U.window, N, l - D, et, U.wnext), (D -= et) ? (a.arraySet(U.window, N, l - D, D, 0), U.wnext = D, U.whave = U.wsize) : (U.wnext += et, U.wnext === U.wsize && (U.wnext = 0), U.whave < U.wsize && (U.whave += et))), 0;
1694
1694
  }
1695
- n.inflateReset = A, n.inflateReset2 = T, n.inflateResetKeep = x, n.inflateInit = function(k) {
1695
+ n.inflateReset = A, n.inflateReset2 = T, n.inflateResetKeep = E, n.inflateInit = function(k) {
1696
1696
  return L(k, 15);
1697
1697
  }, n.inflateInit2 = L, n.inflate = function(k, N) {
1698
- var l, D, et, $, rt, W, tt, R, F, J, Y, V, lt, ut, it, at, dt, ct, bt, pt, s, O, P, w, m = 0, S = new a.Buf8(4), M = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
1698
+ var l, D, et, U, rt, W, tt, P, I, J, Y, V, lt, ut, it, at, dt, ct, bt, pt, i, O, F, w, g = 0, S = new a.Buf8(4), M = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
1699
1699
  if (!k || !k.state || !k.output || !k.input && k.avail_in !== 0) return h;
1700
- (l = k.state).mode === 12 && (l.mode = 13), rt = k.next_out, et = k.output, tt = k.avail_out, $ = k.next_in, D = k.input, W = k.avail_in, R = l.hold, F = l.bits, J = W, Y = tt, O = g;
1700
+ (l = k.state).mode === 12 && (l.mode = 13), rt = k.next_out, et = k.output, tt = k.avail_out, U = k.next_in, D = k.input, W = k.avail_in, P = l.hold, I = l.bits, J = W, Y = tt, O = m;
1701
1701
  t: for (; ; ) switch (l.mode) {
1702
1702
  case b:
1703
1703
  if (l.wrap === 0) {
1704
1704
  l.mode = 13;
1705
1705
  break;
1706
1706
  }
1707
- for (; F < 16; ) {
1707
+ for (; I < 16; ) {
1708
1708
  if (W === 0) break t;
1709
- W--, R += D[$++] << F, F += 8;
1709
+ W--, P += D[U++] << I, I += 8;
1710
1710
  }
1711
- if (2 & l.wrap && R === 35615) {
1712
- S[l.check = 0] = 255 & R, S[1] = R >>> 8 & 255, l.check = i(l.check, S, 2, 0), F = R = 0, l.mode = 2;
1711
+ if (2 & l.wrap && P === 35615) {
1712
+ S[l.check = 0] = 255 & P, S[1] = P >>> 8 & 255, l.check = s(l.check, S, 2, 0), I = P = 0, l.mode = 2;
1713
1713
  break;
1714
1714
  }
1715
- if (l.flags = 0, l.head && (l.head.done = !1), !(1 & l.wrap) || (((255 & R) << 8) + (R >> 8)) % 31) {
1715
+ if (l.flags = 0, l.head && (l.head.done = !1), !(1 & l.wrap) || (((255 & P) << 8) + (P >> 8)) % 31) {
1716
1716
  k.msg = "incorrect header check", l.mode = 30;
1717
1717
  break;
1718
1718
  }
1719
- if ((15 & R) != 8) {
1719
+ if ((15 & P) != 8) {
1720
1720
  k.msg = "unknown compression method", l.mode = 30;
1721
1721
  break;
1722
1722
  }
1723
- if (F -= 4, s = 8 + (15 & (R >>>= 4)), l.wbits === 0) l.wbits = s;
1724
- else if (s > l.wbits) {
1723
+ if (I -= 4, i = 8 + (15 & (P >>>= 4)), l.wbits === 0) l.wbits = i;
1724
+ else if (i > l.wbits) {
1725
1725
  k.msg = "invalid window size", l.mode = 30;
1726
1726
  break;
1727
1727
  }
1728
- l.dmax = 1 << s, k.adler = l.check = 1, l.mode = 512 & R ? 10 : 12, F = R = 0;
1728
+ l.dmax = 1 << i, k.adler = l.check = 1, l.mode = 512 & P ? 10 : 12, I = P = 0;
1729
1729
  break;
1730
1730
  case 2:
1731
- for (; F < 16; ) {
1731
+ for (; I < 16; ) {
1732
1732
  if (W === 0) break t;
1733
- W--, R += D[$++] << F, F += 8;
1733
+ W--, P += D[U++] << I, I += 8;
1734
1734
  }
1735
- if (l.flags = R, (255 & l.flags) != 8) {
1735
+ if (l.flags = P, (255 & l.flags) != 8) {
1736
1736
  k.msg = "unknown compression method", l.mode = 30;
1737
1737
  break;
1738
1738
  }
@@ -1740,86 +1740,86 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1740
1740
  k.msg = "unknown header flags set", l.mode = 30;
1741
1741
  break;
1742
1742
  }
1743
- l.head && (l.head.text = R >> 8 & 1), 512 & l.flags && (S[0] = 255 & R, S[1] = R >>> 8 & 255, l.check = i(l.check, S, 2, 0)), F = R = 0, l.mode = 3;
1743
+ l.head && (l.head.text = P >> 8 & 1), 512 & l.flags && (S[0] = 255 & P, S[1] = P >>> 8 & 255, l.check = s(l.check, S, 2, 0)), I = P = 0, l.mode = 3;
1744
1744
  case 3:
1745
- for (; F < 32; ) {
1745
+ for (; I < 32; ) {
1746
1746
  if (W === 0) break t;
1747
- W--, R += D[$++] << F, F += 8;
1747
+ W--, P += D[U++] << I, I += 8;
1748
1748
  }
1749
- l.head && (l.head.time = R), 512 & l.flags && (S[0] = 255 & R, S[1] = R >>> 8 & 255, S[2] = R >>> 16 & 255, S[3] = R >>> 24 & 255, l.check = i(l.check, S, 4, 0)), F = R = 0, l.mode = 4;
1749
+ l.head && (l.head.time = P), 512 & l.flags && (S[0] = 255 & P, S[1] = P >>> 8 & 255, S[2] = P >>> 16 & 255, S[3] = P >>> 24 & 255, l.check = s(l.check, S, 4, 0)), I = P = 0, l.mode = 4;
1750
1750
  case 4:
1751
- for (; F < 16; ) {
1751
+ for (; I < 16; ) {
1752
1752
  if (W === 0) break t;
1753
- W--, R += D[$++] << F, F += 8;
1753
+ W--, P += D[U++] << I, I += 8;
1754
1754
  }
1755
- l.head && (l.head.xflags = 255 & R, l.head.os = R >> 8), 512 & l.flags && (S[0] = 255 & R, S[1] = R >>> 8 & 255, l.check = i(l.check, S, 2, 0)), F = R = 0, l.mode = 5;
1755
+ l.head && (l.head.xflags = 255 & P, l.head.os = P >> 8), 512 & l.flags && (S[0] = 255 & P, S[1] = P >>> 8 & 255, l.check = s(l.check, S, 2, 0)), I = P = 0, l.mode = 5;
1756
1756
  case 5:
1757
1757
  if (1024 & l.flags) {
1758
- for (; F < 16; ) {
1758
+ for (; I < 16; ) {
1759
1759
  if (W === 0) break t;
1760
- W--, R += D[$++] << F, F += 8;
1760
+ W--, P += D[U++] << I, I += 8;
1761
1761
  }
1762
- l.length = R, l.head && (l.head.extra_len = R), 512 & l.flags && (S[0] = 255 & R, S[1] = R >>> 8 & 255, l.check = i(l.check, S, 2, 0)), F = R = 0;
1762
+ l.length = P, l.head && (l.head.extra_len = P), 512 & l.flags && (S[0] = 255 & P, S[1] = P >>> 8 & 255, l.check = s(l.check, S, 2, 0)), I = P = 0;
1763
1763
  } else l.head && (l.head.extra = null);
1764
1764
  l.mode = 6;
1765
1765
  case 6:
1766
- if (1024 & l.flags && (W < (V = l.length) && (V = W), V && (l.head && (s = l.head.extra_len - l.length, l.head.extra || (l.head.extra = new Array(l.head.extra_len)), a.arraySet(l.head.extra, D, $, V, s)), 512 & l.flags && (l.check = i(l.check, D, V, $)), W -= V, $ += V, l.length -= V), l.length)) break t;
1766
+ if (1024 & l.flags && (W < (V = l.length) && (V = W), V && (l.head && (i = l.head.extra_len - l.length, l.head.extra || (l.head.extra = new Array(l.head.extra_len)), a.arraySet(l.head.extra, D, U, V, i)), 512 & l.flags && (l.check = s(l.check, D, V, U)), W -= V, U += V, l.length -= V), l.length)) break t;
1767
1767
  l.length = 0, l.mode = 7;
1768
1768
  case 7:
1769
1769
  if (2048 & l.flags) {
1770
1770
  if (W === 0) break t;
1771
- for (V = 0; s = D[$ + V++], l.head && s && l.length < 65536 && (l.head.name += String.fromCharCode(s)), s && V < W; ) ;
1772
- if (512 & l.flags && (l.check = i(l.check, D, V, $)), W -= V, $ += V, s) break t;
1771
+ for (V = 0; i = D[U + V++], l.head && i && l.length < 65536 && (l.head.name += String.fromCharCode(i)), i && V < W; ) ;
1772
+ if (512 & l.flags && (l.check = s(l.check, D, V, U)), W -= V, U += V, i) break t;
1773
1773
  } else l.head && (l.head.name = null);
1774
1774
  l.length = 0, l.mode = 8;
1775
1775
  case 8:
1776
1776
  if (4096 & l.flags) {
1777
1777
  if (W === 0) break t;
1778
- for (V = 0; s = D[$ + V++], l.head && s && l.length < 65536 && (l.head.comment += String.fromCharCode(s)), s && V < W; ) ;
1779
- if (512 & l.flags && (l.check = i(l.check, D, V, $)), W -= V, $ += V, s) break t;
1778
+ for (V = 0; i = D[U + V++], l.head && i && l.length < 65536 && (l.head.comment += String.fromCharCode(i)), i && V < W; ) ;
1779
+ if (512 & l.flags && (l.check = s(l.check, D, V, U)), W -= V, U += V, i) break t;
1780
1780
  } else l.head && (l.head.comment = null);
1781
1781
  l.mode = 9;
1782
1782
  case 9:
1783
1783
  if (512 & l.flags) {
1784
- for (; F < 16; ) {
1784
+ for (; I < 16; ) {
1785
1785
  if (W === 0) break t;
1786
- W--, R += D[$++] << F, F += 8;
1786
+ W--, P += D[U++] << I, I += 8;
1787
1787
  }
1788
- if (R !== (65535 & l.check)) {
1788
+ if (P !== (65535 & l.check)) {
1789
1789
  k.msg = "header crc mismatch", l.mode = 30;
1790
1790
  break;
1791
1791
  }
1792
- F = R = 0;
1792
+ I = P = 0;
1793
1793
  }
1794
1794
  l.head && (l.head.hcrc = l.flags >> 9 & 1, l.head.done = !0), k.adler = l.check = 0, l.mode = 12;
1795
1795
  break;
1796
1796
  case 10:
1797
- for (; F < 32; ) {
1797
+ for (; I < 32; ) {
1798
1798
  if (W === 0) break t;
1799
- W--, R += D[$++] << F, F += 8;
1799
+ W--, P += D[U++] << I, I += 8;
1800
1800
  }
1801
- k.adler = l.check = u(R), F = R = 0, l.mode = 11;
1801
+ k.adler = l.check = u(P), I = P = 0, l.mode = 11;
1802
1802
  case 11:
1803
- if (l.havedict === 0) return k.next_out = rt, k.avail_out = tt, k.next_in = $, k.avail_in = W, l.hold = R, l.bits = F, 2;
1803
+ if (l.havedict === 0) return k.next_out = rt, k.avail_out = tt, k.next_in = U, k.avail_in = W, l.hold = P, l.bits = I, 2;
1804
1804
  k.adler = l.check = 1, l.mode = 12;
1805
1805
  case 12:
1806
1806
  if (N === 5 || N === 6) break t;
1807
1807
  case 13:
1808
1808
  if (l.last) {
1809
- R >>>= 7 & F, F -= 7 & F, l.mode = 27;
1809
+ P >>>= 7 & I, I -= 7 & I, l.mode = 27;
1810
1810
  break;
1811
1811
  }
1812
- for (; F < 3; ) {
1812
+ for (; I < 3; ) {
1813
1813
  if (W === 0) break t;
1814
- W--, R += D[$++] << F, F += 8;
1814
+ W--, P += D[U++] << I, I += 8;
1815
1815
  }
1816
- switch (l.last = 1 & R, F -= 1, 3 & (R >>>= 1)) {
1816
+ switch (l.last = 1 & P, I -= 1, 3 & (P >>>= 1)) {
1817
1817
  case 0:
1818
1818
  l.mode = 14;
1819
1819
  break;
1820
1820
  case 1:
1821
1821
  if (Z(l), l.mode = 20, N !== 6) break;
1822
- R >>>= 2, F -= 2;
1822
+ P >>>= 2, I -= 2;
1823
1823
  break t;
1824
1824
  case 2:
1825
1825
  l.mode = 17;
@@ -1827,88 +1827,88 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1827
1827
  case 3:
1828
1828
  k.msg = "invalid block type", l.mode = 30;
1829
1829
  }
1830
- R >>>= 2, F -= 2;
1830
+ P >>>= 2, I -= 2;
1831
1831
  break;
1832
1832
  case 14:
1833
- for (R >>>= 7 & F, F -= 7 & F; F < 32; ) {
1833
+ for (P >>>= 7 & I, I -= 7 & I; I < 32; ) {
1834
1834
  if (W === 0) break t;
1835
- W--, R += D[$++] << F, F += 8;
1835
+ W--, P += D[U++] << I, I += 8;
1836
1836
  }
1837
- if ((65535 & R) != (R >>> 16 ^ 65535)) {
1837
+ if ((65535 & P) != (P >>> 16 ^ 65535)) {
1838
1838
  k.msg = "invalid stored block lengths", l.mode = 30;
1839
1839
  break;
1840
1840
  }
1841
- if (l.length = 65535 & R, F = R = 0, l.mode = 15, N === 6) break t;
1841
+ if (l.length = 65535 & P, I = P = 0, l.mode = 15, N === 6) break t;
1842
1842
  case 15:
1843
1843
  l.mode = 16;
1844
1844
  case 16:
1845
1845
  if (V = l.length) {
1846
1846
  if (W < V && (V = W), tt < V && (V = tt), V === 0) break t;
1847
- a.arraySet(et, D, $, V, rt), W -= V, $ += V, tt -= V, rt += V, l.length -= V;
1847
+ a.arraySet(et, D, U, V, rt), W -= V, U += V, tt -= V, rt += V, l.length -= V;
1848
1848
  break;
1849
1849
  }
1850
1850
  l.mode = 12;
1851
1851
  break;
1852
1852
  case 17:
1853
- for (; F < 14; ) {
1853
+ for (; I < 14; ) {
1854
1854
  if (W === 0) break t;
1855
- W--, R += D[$++] << F, F += 8;
1855
+ W--, P += D[U++] << I, I += 8;
1856
1856
  }
1857
- if (l.nlen = 257 + (31 & R), R >>>= 5, F -= 5, l.ndist = 1 + (31 & R), R >>>= 5, F -= 5, l.ncode = 4 + (15 & R), R >>>= 4, F -= 4, 286 < l.nlen || 30 < l.ndist) {
1857
+ if (l.nlen = 257 + (31 & P), P >>>= 5, I -= 5, l.ndist = 1 + (31 & P), P >>>= 5, I -= 5, l.ncode = 4 + (15 & P), P >>>= 4, I -= 4, 286 < l.nlen || 30 < l.ndist) {
1858
1858
  k.msg = "too many length or distance symbols", l.mode = 30;
1859
1859
  break;
1860
1860
  }
1861
1861
  l.have = 0, l.mode = 18;
1862
1862
  case 18:
1863
1863
  for (; l.have < l.ncode; ) {
1864
- for (; F < 3; ) {
1864
+ for (; I < 3; ) {
1865
1865
  if (W === 0) break t;
1866
- W--, R += D[$++] << F, F += 8;
1866
+ W--, P += D[U++] << I, I += 8;
1867
1867
  }
1868
- l.lens[M[l.have++]] = 7 & R, R >>>= 3, F -= 3;
1868
+ l.lens[M[l.have++]] = 7 & P, P >>>= 3, I -= 3;
1869
1869
  }
1870
1870
  for (; l.have < 19; ) l.lens[M[l.have++]] = 0;
1871
- if (l.lencode = l.lendyn, l.lenbits = 7, P = { bits: l.lenbits }, O = p(0, l.lens, 0, 19, l.lencode, 0, l.work, P), l.lenbits = P.bits, O) {
1871
+ if (l.lencode = l.lendyn, l.lenbits = 7, F = { bits: l.lenbits }, O = p(0, l.lens, 0, 19, l.lencode, 0, l.work, F), l.lenbits = F.bits, O) {
1872
1872
  k.msg = "invalid code lengths set", l.mode = 30;
1873
1873
  break;
1874
1874
  }
1875
1875
  l.have = 0, l.mode = 19;
1876
1876
  case 19:
1877
1877
  for (; l.have < l.nlen + l.ndist; ) {
1878
- for (; at = (m = l.lencode[R & (1 << l.lenbits) - 1]) >>> 16 & 255, dt = 65535 & m, !((it = m >>> 24) <= F); ) {
1878
+ for (; at = (g = l.lencode[P & (1 << l.lenbits) - 1]) >>> 16 & 255, dt = 65535 & g, !((it = g >>> 24) <= I); ) {
1879
1879
  if (W === 0) break t;
1880
- W--, R += D[$++] << F, F += 8;
1880
+ W--, P += D[U++] << I, I += 8;
1881
1881
  }
1882
- if (dt < 16) R >>>= it, F -= it, l.lens[l.have++] = dt;
1882
+ if (dt < 16) P >>>= it, I -= it, l.lens[l.have++] = dt;
1883
1883
  else {
1884
1884
  if (dt === 16) {
1885
- for (w = it + 2; F < w; ) {
1885
+ for (w = it + 2; I < w; ) {
1886
1886
  if (W === 0) break t;
1887
- W--, R += D[$++] << F, F += 8;
1887
+ W--, P += D[U++] << I, I += 8;
1888
1888
  }
1889
- if (R >>>= it, F -= it, l.have === 0) {
1889
+ if (P >>>= it, I -= it, l.have === 0) {
1890
1890
  k.msg = "invalid bit length repeat", l.mode = 30;
1891
1891
  break;
1892
1892
  }
1893
- s = l.lens[l.have - 1], V = 3 + (3 & R), R >>>= 2, F -= 2;
1893
+ i = l.lens[l.have - 1], V = 3 + (3 & P), P >>>= 2, I -= 2;
1894
1894
  } else if (dt === 17) {
1895
- for (w = it + 3; F < w; ) {
1895
+ for (w = it + 3; I < w; ) {
1896
1896
  if (W === 0) break t;
1897
- W--, R += D[$++] << F, F += 8;
1897
+ W--, P += D[U++] << I, I += 8;
1898
1898
  }
1899
- F -= it, s = 0, V = 3 + (7 & (R >>>= it)), R >>>= 3, F -= 3;
1899
+ I -= it, i = 0, V = 3 + (7 & (P >>>= it)), P >>>= 3, I -= 3;
1900
1900
  } else {
1901
- for (w = it + 7; F < w; ) {
1901
+ for (w = it + 7; I < w; ) {
1902
1902
  if (W === 0) break t;
1903
- W--, R += D[$++] << F, F += 8;
1903
+ W--, P += D[U++] << I, I += 8;
1904
1904
  }
1905
- F -= it, s = 0, V = 11 + (127 & (R >>>= it)), R >>>= 7, F -= 7;
1905
+ I -= it, i = 0, V = 11 + (127 & (P >>>= it)), P >>>= 7, I -= 7;
1906
1906
  }
1907
1907
  if (l.have + V > l.nlen + l.ndist) {
1908
1908
  k.msg = "invalid bit length repeat", l.mode = 30;
1909
1909
  break;
1910
1910
  }
1911
- for (; V--; ) l.lens[l.have++] = s;
1911
+ for (; V--; ) l.lens[l.have++] = i;
1912
1912
  }
1913
1913
  }
1914
1914
  if (l.mode === 30) break;
@@ -1916,11 +1916,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1916
1916
  k.msg = "invalid code -- missing end-of-block", l.mode = 30;
1917
1917
  break;
1918
1918
  }
1919
- if (l.lenbits = 9, P = { bits: l.lenbits }, O = p(f, l.lens, 0, l.nlen, l.lencode, 0, l.work, P), l.lenbits = P.bits, O) {
1919
+ if (l.lenbits = 9, F = { bits: l.lenbits }, O = p(f, l.lens, 0, l.nlen, l.lencode, 0, l.work, F), l.lenbits = F.bits, O) {
1920
1920
  k.msg = "invalid literal/lengths set", l.mode = 30;
1921
1921
  break;
1922
1922
  }
1923
- if (l.distbits = 6, l.distcode = l.distdyn, P = { bits: l.distbits }, O = p(_, l.lens, l.nlen, l.ndist, l.distcode, 0, l.work, P), l.distbits = P.bits, O) {
1923
+ if (l.distbits = 6, l.distcode = l.distdyn, F = { bits: l.distbits }, O = p(y, l.lens, l.nlen, l.ndist, l.distcode, 0, l.work, F), l.distbits = F.bits, O) {
1924
1924
  k.msg = "invalid distances set", l.mode = 30;
1925
1925
  break;
1926
1926
  }
@@ -1929,21 +1929,21 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1929
1929
  l.mode = 21;
1930
1930
  case 21:
1931
1931
  if (6 <= W && 258 <= tt) {
1932
- k.next_out = rt, k.avail_out = tt, k.next_in = $, k.avail_in = W, l.hold = R, l.bits = F, c(k, Y), rt = k.next_out, et = k.output, tt = k.avail_out, $ = k.next_in, D = k.input, W = k.avail_in, R = l.hold, F = l.bits, l.mode === 12 && (l.back = -1);
1932
+ k.next_out = rt, k.avail_out = tt, k.next_in = U, k.avail_in = W, l.hold = P, l.bits = I, c(k, Y), rt = k.next_out, et = k.output, tt = k.avail_out, U = k.next_in, D = k.input, W = k.avail_in, P = l.hold, I = l.bits, l.mode === 12 && (l.back = -1);
1933
1933
  break;
1934
1934
  }
1935
- for (l.back = 0; at = (m = l.lencode[R & (1 << l.lenbits) - 1]) >>> 16 & 255, dt = 65535 & m, !((it = m >>> 24) <= F); ) {
1935
+ for (l.back = 0; at = (g = l.lencode[P & (1 << l.lenbits) - 1]) >>> 16 & 255, dt = 65535 & g, !((it = g >>> 24) <= I); ) {
1936
1936
  if (W === 0) break t;
1937
- W--, R += D[$++] << F, F += 8;
1937
+ W--, P += D[U++] << I, I += 8;
1938
1938
  }
1939
1939
  if (at && !(240 & at)) {
1940
- for (ct = it, bt = at, pt = dt; at = (m = l.lencode[pt + ((R & (1 << ct + bt) - 1) >> ct)]) >>> 16 & 255, dt = 65535 & m, !(ct + (it = m >>> 24) <= F); ) {
1940
+ for (ct = it, bt = at, pt = dt; at = (g = l.lencode[pt + ((P & (1 << ct + bt) - 1) >> ct)]) >>> 16 & 255, dt = 65535 & g, !(ct + (it = g >>> 24) <= I); ) {
1941
1941
  if (W === 0) break t;
1942
- W--, R += D[$++] << F, F += 8;
1942
+ W--, P += D[U++] << I, I += 8;
1943
1943
  }
1944
- R >>>= ct, F -= ct, l.back += ct;
1944
+ P >>>= ct, I -= ct, l.back += ct;
1945
1945
  }
1946
- if (R >>>= it, F -= it, l.back += it, l.length = dt, at === 0) {
1946
+ if (P >>>= it, I -= it, l.back += it, l.length = dt, at === 0) {
1947
1947
  l.mode = 26;
1948
1948
  break;
1949
1949
  }
@@ -1958,37 +1958,37 @@ https://github.com/nodeca/pako/blob/main/LICENSE
1958
1958
  l.extra = 15 & at, l.mode = 22;
1959
1959
  case 22:
1960
1960
  if (l.extra) {
1961
- for (w = l.extra; F < w; ) {
1961
+ for (w = l.extra; I < w; ) {
1962
1962
  if (W === 0) break t;
1963
- W--, R += D[$++] << F, F += 8;
1963
+ W--, P += D[U++] << I, I += 8;
1964
1964
  }
1965
- l.length += R & (1 << l.extra) - 1, R >>>= l.extra, F -= l.extra, l.back += l.extra;
1965
+ l.length += P & (1 << l.extra) - 1, P >>>= l.extra, I -= l.extra, l.back += l.extra;
1966
1966
  }
1967
1967
  l.was = l.length, l.mode = 23;
1968
1968
  case 23:
1969
- for (; at = (m = l.distcode[R & (1 << l.distbits) - 1]) >>> 16 & 255, dt = 65535 & m, !((it = m >>> 24) <= F); ) {
1969
+ for (; at = (g = l.distcode[P & (1 << l.distbits) - 1]) >>> 16 & 255, dt = 65535 & g, !((it = g >>> 24) <= I); ) {
1970
1970
  if (W === 0) break t;
1971
- W--, R += D[$++] << F, F += 8;
1971
+ W--, P += D[U++] << I, I += 8;
1972
1972
  }
1973
1973
  if (!(240 & at)) {
1974
- for (ct = it, bt = at, pt = dt; at = (m = l.distcode[pt + ((R & (1 << ct + bt) - 1) >> ct)]) >>> 16 & 255, dt = 65535 & m, !(ct + (it = m >>> 24) <= F); ) {
1974
+ for (ct = it, bt = at, pt = dt; at = (g = l.distcode[pt + ((P & (1 << ct + bt) - 1) >> ct)]) >>> 16 & 255, dt = 65535 & g, !(ct + (it = g >>> 24) <= I); ) {
1975
1975
  if (W === 0) break t;
1976
- W--, R += D[$++] << F, F += 8;
1976
+ W--, P += D[U++] << I, I += 8;
1977
1977
  }
1978
- R >>>= ct, F -= ct, l.back += ct;
1978
+ P >>>= ct, I -= ct, l.back += ct;
1979
1979
  }
1980
- if (R >>>= it, F -= it, l.back += it, 64 & at) {
1980
+ if (P >>>= it, I -= it, l.back += it, 64 & at) {
1981
1981
  k.msg = "invalid distance code", l.mode = 30;
1982
1982
  break;
1983
1983
  }
1984
1984
  l.offset = dt, l.extra = 15 & at, l.mode = 24;
1985
1985
  case 24:
1986
1986
  if (l.extra) {
1987
- for (w = l.extra; F < w; ) {
1987
+ for (w = l.extra; I < w; ) {
1988
1988
  if (W === 0) break t;
1989
- W--, R += D[$++] << F, F += 8;
1989
+ W--, P += D[U++] << I, I += 8;
1990
1990
  }
1991
- l.offset += R & (1 << l.extra) - 1, R >>>= l.extra, F -= l.extra, l.back += l.extra;
1991
+ l.offset += P & (1 << l.extra) - 1, P >>>= l.extra, I -= l.extra, l.back += l.extra;
1992
1992
  }
1993
1993
  if (l.offset > l.dmax) {
1994
1994
  k.msg = "invalid distance too far back", l.mode = 30;
@@ -2013,28 +2013,28 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2013
2013
  break;
2014
2014
  case 27:
2015
2015
  if (l.wrap) {
2016
- for (; F < 32; ) {
2016
+ for (; I < 32; ) {
2017
2017
  if (W === 0) break t;
2018
- W--, R |= D[$++] << F, F += 8;
2018
+ W--, P |= D[U++] << I, I += 8;
2019
2019
  }
2020
- if (Y -= tt, k.total_out += Y, l.total += Y, Y && (k.adler = l.check = l.flags ? i(l.check, et, Y, rt - Y) : o(l.check, et, Y, rt - Y)), Y = tt, (l.flags ? R : u(R)) !== l.check) {
2020
+ if (Y -= tt, k.total_out += Y, l.total += Y, Y && (k.adler = l.check = l.flags ? s(l.check, et, Y, rt - Y) : o(l.check, et, Y, rt - Y)), Y = tt, (l.flags ? P : u(P)) !== l.check) {
2021
2021
  k.msg = "incorrect data check", l.mode = 30;
2022
2022
  break;
2023
2023
  }
2024
- F = R = 0;
2024
+ I = P = 0;
2025
2025
  }
2026
2026
  l.mode = 28;
2027
2027
  case 28:
2028
2028
  if (l.wrap && l.flags) {
2029
- for (; F < 32; ) {
2029
+ for (; I < 32; ) {
2030
2030
  if (W === 0) break t;
2031
- W--, R += D[$++] << F, F += 8;
2031
+ W--, P += D[U++] << I, I += 8;
2032
2032
  }
2033
- if (R !== (4294967295 & l.total)) {
2033
+ if (P !== (4294967295 & l.total)) {
2034
2034
  k.msg = "incorrect length check", l.mode = 30;
2035
2035
  break;
2036
2036
  }
2037
- F = R = 0;
2037
+ I = P = 0;
2038
2038
  }
2039
2039
  l.mode = 29;
2040
2040
  case 29:
@@ -2049,55 +2049,55 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2049
2049
  default:
2050
2050
  return h;
2051
2051
  }
2052
- return k.next_out = rt, k.avail_out = tt, k.next_in = $, k.avail_in = W, l.hold = R, l.bits = F, (l.wsize || Y !== k.avail_out && l.mode < 30 && (l.mode < 27 || N !== 4)) && Q(k, k.output, k.next_out, Y - k.avail_out) ? (l.mode = 31, -4) : (J -= k.avail_in, Y -= k.avail_out, k.total_in += J, k.total_out += Y, l.total += Y, l.wrap && Y && (k.adler = l.check = l.flags ? i(l.check, et, Y, k.next_out - Y) : o(l.check, et, Y, k.next_out - Y)), k.data_type = l.bits + (l.last ? 64 : 0) + (l.mode === 12 ? 128 : 0) + (l.mode === 20 || l.mode === 15 ? 256 : 0), (J == 0 && Y === 0 || N === 4) && O === g && (O = -5), O);
2052
+ return k.next_out = rt, k.avail_out = tt, k.next_in = U, k.avail_in = W, l.hold = P, l.bits = I, (l.wsize || Y !== k.avail_out && l.mode < 30 && (l.mode < 27 || N !== 4)) && Q(k, k.output, k.next_out, Y - k.avail_out) ? (l.mode = 31, -4) : (J -= k.avail_in, Y -= k.avail_out, k.total_in += J, k.total_out += Y, l.total += Y, l.wrap && Y && (k.adler = l.check = l.flags ? s(l.check, et, Y, k.next_out - Y) : o(l.check, et, Y, k.next_out - Y)), k.data_type = l.bits + (l.last ? 64 : 0) + (l.mode === 12 ? 128 : 0) + (l.mode === 20 || l.mode === 15 ? 256 : 0), (J == 0 && Y === 0 || N === 4) && O === m && (O = -5), O);
2053
2053
  }, n.inflateEnd = function(k) {
2054
2054
  if (!k || !k.state) return h;
2055
2055
  var N = k.state;
2056
- return N.window && (N.window = null), k.state = null, g;
2056
+ return N.window && (N.window = null), k.state = null, m;
2057
2057
  }, n.inflateGetHeader = function(k, N) {
2058
2058
  var l;
2059
- return k && k.state && 2 & (l = k.state).wrap ? ((l.head = N).done = !1, g) : h;
2059
+ return k && k.state && 2 & (l = k.state).wrap ? ((l.head = N).done = !1, m) : h;
2060
2060
  }, n.inflateSetDictionary = function(k, N) {
2061
2061
  var l, D = N.length;
2062
- return k && k.state ? (l = k.state).wrap !== 0 && l.mode !== 11 ? h : l.mode === 11 && o(1, N, D, 0) !== l.check ? -3 : Q(k, N, D, D) ? (l.mode = 31, -4) : (l.havedict = 1, g) : h;
2062
+ return k && k.state ? (l = k.state).wrap !== 0 && l.mode !== 11 ? h : l.mode === 11 && o(1, N, D, 0) !== l.check ? -3 : Q(k, N, D, D) ? (l.mode = 31, -4) : (l.havedict = 1, m) : h;
2063
2063
  }, n.inflateInfo = "pako inflate (from Nodeca project)";
2064
2064
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(t, r, n) {
2065
- var a = t("../utils/common"), o = [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], i = [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], c = [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], p = [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];
2066
- r.exports = function(f, _, g, h, b, d, y, u) {
2067
- var v, x, A, T, L, B, j, z, Z, Q = u.bits, k = 0, N = 0, l = 0, D = 0, et = 0, $ = 0, rt = 0, W = 0, tt = 0, R = 0, F = null, J = 0, Y = new a.Buf16(16), V = new a.Buf16(16), lt = null, ut = 0;
2065
+ var a = t("../utils/common"), o = [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], s = [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], c = [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], p = [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];
2066
+ r.exports = function(f, y, m, h, b, d, _, u) {
2067
+ var v, E, A, T, L, B, j, z, Z, Q = u.bits, k = 0, N = 0, l = 0, D = 0, et = 0, U = 0, rt = 0, W = 0, tt = 0, P = 0, I = null, J = 0, Y = new a.Buf16(16), V = new a.Buf16(16), lt = null, ut = 0;
2068
2068
  for (k = 0; k <= 15; k++) Y[k] = 0;
2069
- for (N = 0; N < h; N++) Y[_[g + N]]++;
2069
+ for (N = 0; N < h; N++) Y[y[m + N]]++;
2070
2070
  for (et = Q, D = 15; 1 <= D && Y[D] === 0; D--) ;
2071
2071
  if (D < et && (et = D), D === 0) return b[d++] = 20971520, b[d++] = 20971520, u.bits = 1, 0;
2072
2072
  for (l = 1; l < D && Y[l] === 0; l++) ;
2073
2073
  for (et < l && (et = l), k = W = 1; k <= 15; k++) if (W <<= 1, (W -= Y[k]) < 0) return -1;
2074
2074
  if (0 < W && (f === 0 || D !== 1)) return -1;
2075
2075
  for (V[1] = 0, k = 1; k < 15; k++) V[k + 1] = V[k] + Y[k];
2076
- for (N = 0; N < h; N++) _[g + N] !== 0 && (y[V[_[g + N]]++] = N);
2077
- if (B = f === 0 ? (F = lt = y, 19) : f === 1 ? (F = o, J -= 257, lt = i, ut -= 257, 256) : (F = c, lt = p, -1), k = l, L = d, rt = N = R = 0, A = -1, T = (tt = 1 << ($ = et)) - 1, f === 1 && 852 < tt || f === 2 && 592 < tt) return 1;
2076
+ for (N = 0; N < h; N++) y[m + N] !== 0 && (_[V[y[m + N]]++] = N);
2077
+ if (B = f === 0 ? (I = lt = _, 19) : f === 1 ? (I = o, J -= 257, lt = s, ut -= 257, 256) : (I = c, lt = p, -1), k = l, L = d, rt = N = P = 0, A = -1, T = (tt = 1 << (U = et)) - 1, f === 1 && 852 < tt || f === 2 && 592 < tt) return 1;
2078
2078
  for (; ; ) {
2079
- for (j = k - rt, Z = y[N] < B ? (z = 0, y[N]) : y[N] > B ? (z = lt[ut + y[N]], F[J + y[N]]) : (z = 96, 0), v = 1 << k - rt, l = x = 1 << $; b[L + (R >> rt) + (x -= v)] = j << 24 | z << 16 | Z | 0, x !== 0; ) ;
2080
- for (v = 1 << k - 1; R & v; ) v >>= 1;
2081
- if (v !== 0 ? (R &= v - 1, R += v) : R = 0, N++, --Y[k] == 0) {
2079
+ for (j = k - rt, Z = _[N] < B ? (z = 0, _[N]) : _[N] > B ? (z = lt[ut + _[N]], I[J + _[N]]) : (z = 96, 0), v = 1 << k - rt, l = E = 1 << U; b[L + (P >> rt) + (E -= v)] = j << 24 | z << 16 | Z | 0, E !== 0; ) ;
2080
+ for (v = 1 << k - 1; P & v; ) v >>= 1;
2081
+ if (v !== 0 ? (P &= v - 1, P += v) : P = 0, N++, --Y[k] == 0) {
2082
2082
  if (k === D) break;
2083
- k = _[g + y[N]];
2083
+ k = y[m + _[N]];
2084
2084
  }
2085
- if (et < k && (R & T) !== A) {
2086
- for (rt === 0 && (rt = et), L += l, W = 1 << ($ = k - rt); $ + rt < D && !((W -= Y[$ + rt]) <= 0); ) $++, W <<= 1;
2087
- if (tt += 1 << $, f === 1 && 852 < tt || f === 2 && 592 < tt) return 1;
2088
- b[A = R & T] = et << 24 | $ << 16 | L - d | 0;
2085
+ if (et < k && (P & T) !== A) {
2086
+ for (rt === 0 && (rt = et), L += l, W = 1 << (U = k - rt); U + rt < D && !((W -= Y[U + rt]) <= 0); ) U++, W <<= 1;
2087
+ if (tt += 1 << U, f === 1 && 852 < tt || f === 2 && 592 < tt) return 1;
2088
+ b[A = P & T] = et << 24 | U << 16 | L - d | 0;
2089
2089
  }
2090
2090
  }
2091
- return R !== 0 && (b[L + R] = k - rt << 24 | 64 << 16 | 0), u.bits = et, 0;
2091
+ return P !== 0 && (b[L + P] = k - rt << 24 | 64 << 16 | 0), u.bits = et, 0;
2092
2092
  };
2093
2093
  }, { "../utils/common": 41 }], 51: [function(t, r, n) {
2094
2094
  r.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" };
2095
2095
  }, {}], 52: [function(t, r, n) {
2096
- var a = t("../utils/common"), o = 0, i = 1;
2097
- function c(m) {
2098
- for (var S = m.length; 0 <= --S; ) m[S] = 0;
2096
+ var a = t("../utils/common"), o = 0, s = 1;
2097
+ function c(g) {
2098
+ for (var S = g.length; 0 <= --S; ) g[S] = 0;
2099
2099
  }
2100
- var p = 0, f = 29, _ = 256, g = _ + 1 + f, h = 30, b = 19, d = 2 * g + 1, y = 15, u = 16, v = 7, x = 256, A = 16, T = 17, L = 18, B = [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], j = [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], z = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], Z = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Q = new Array(2 * (g + 2));
2100
+ var p = 0, f = 29, y = 256, m = y + 1 + f, h = 30, b = 19, d = 2 * m + 1, _ = 15, u = 16, v = 7, E = 256, A = 16, T = 17, L = 18, B = [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], j = [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], z = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], Z = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Q = new Array(2 * (m + 2));
2101
2101
  c(Q);
2102
2102
  var k = new Array(2 * h);
2103
2103
  c(k);
@@ -2107,135 +2107,135 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2107
2107
  c(l);
2108
2108
  var D = new Array(f);
2109
2109
  c(D);
2110
- var et, $, rt, W = new Array(h);
2111
- function tt(m, S, M, U, I) {
2112
- this.static_tree = m, this.extra_bits = S, this.extra_base = M, this.elems = U, this.max_length = I, this.has_stree = m && m.length;
2110
+ var et, U, rt, W = new Array(h);
2111
+ function tt(g, S, M, $, R) {
2112
+ this.static_tree = g, this.extra_bits = S, this.extra_base = M, this.elems = $, this.max_length = R, this.has_stree = g && g.length;
2113
2113
  }
2114
- function R(m, S) {
2115
- this.dyn_tree = m, this.max_code = 0, this.stat_desc = S;
2114
+ function P(g, S) {
2115
+ this.dyn_tree = g, this.max_code = 0, this.stat_desc = S;
2116
2116
  }
2117
- function F(m) {
2118
- return m < 256 ? N[m] : N[256 + (m >>> 7)];
2117
+ function I(g) {
2118
+ return g < 256 ? N[g] : N[256 + (g >>> 7)];
2119
2119
  }
2120
- function J(m, S) {
2121
- m.pending_buf[m.pending++] = 255 & S, m.pending_buf[m.pending++] = S >>> 8 & 255;
2120
+ function J(g, S) {
2121
+ g.pending_buf[g.pending++] = 255 & S, g.pending_buf[g.pending++] = S >>> 8 & 255;
2122
2122
  }
2123
- function Y(m, S, M) {
2124
- m.bi_valid > u - M ? (m.bi_buf |= S << m.bi_valid & 65535, J(m, m.bi_buf), m.bi_buf = S >> u - m.bi_valid, m.bi_valid += M - u) : (m.bi_buf |= S << m.bi_valid & 65535, m.bi_valid += M);
2123
+ function Y(g, S, M) {
2124
+ g.bi_valid > u - M ? (g.bi_buf |= S << g.bi_valid & 65535, J(g, g.bi_buf), g.bi_buf = S >> u - g.bi_valid, g.bi_valid += M - u) : (g.bi_buf |= S << g.bi_valid & 65535, g.bi_valid += M);
2125
2125
  }
2126
- function V(m, S, M) {
2127
- Y(m, M[2 * S], M[2 * S + 1]);
2126
+ function V(g, S, M) {
2127
+ Y(g, M[2 * S], M[2 * S + 1]);
2128
2128
  }
2129
- function lt(m, S) {
2130
- for (var M = 0; M |= 1 & m, m >>>= 1, M <<= 1, 0 < --S; ) ;
2129
+ function lt(g, S) {
2130
+ for (var M = 0; M |= 1 & g, g >>>= 1, M <<= 1, 0 < --S; ) ;
2131
2131
  return M >>> 1;
2132
2132
  }
2133
- function ut(m, S, M) {
2134
- var U, I, H = new Array(y + 1), K = 0;
2135
- for (U = 1; U <= y; U++) H[U] = K = K + M[U - 1] << 1;
2136
- for (I = 0; I <= S; I++) {
2137
- var G = m[2 * I + 1];
2138
- G !== 0 && (m[2 * I] = lt(H[G]++, G));
2133
+ function ut(g, S, M) {
2134
+ var $, R, H = new Array(_ + 1), q = 0;
2135
+ for ($ = 1; $ <= _; $++) H[$] = q = q + M[$ - 1] << 1;
2136
+ for (R = 0; R <= S; R++) {
2137
+ var G = g[2 * R + 1];
2138
+ G !== 0 && (g[2 * R] = lt(H[G]++, G));
2139
2139
  }
2140
2140
  }
2141
- function it(m) {
2141
+ function it(g) {
2142
2142
  var S;
2143
- for (S = 0; S < g; S++) m.dyn_ltree[2 * S] = 0;
2144
- for (S = 0; S < h; S++) m.dyn_dtree[2 * S] = 0;
2145
- for (S = 0; S < b; S++) m.bl_tree[2 * S] = 0;
2146
- m.dyn_ltree[2 * x] = 1, m.opt_len = m.static_len = 0, m.last_lit = m.matches = 0;
2143
+ for (S = 0; S < m; S++) g.dyn_ltree[2 * S] = 0;
2144
+ for (S = 0; S < h; S++) g.dyn_dtree[2 * S] = 0;
2145
+ for (S = 0; S < b; S++) g.bl_tree[2 * S] = 0;
2146
+ g.dyn_ltree[2 * E] = 1, g.opt_len = g.static_len = 0, g.last_lit = g.matches = 0;
2147
2147
  }
2148
- function at(m) {
2149
- 8 < m.bi_valid ? J(m, m.bi_buf) : 0 < m.bi_valid && (m.pending_buf[m.pending++] = m.bi_buf), m.bi_buf = 0, m.bi_valid = 0;
2148
+ function at(g) {
2149
+ 8 < g.bi_valid ? J(g, g.bi_buf) : 0 < g.bi_valid && (g.pending_buf[g.pending++] = g.bi_buf), g.bi_buf = 0, g.bi_valid = 0;
2150
2150
  }
2151
- function dt(m, S, M, U) {
2152
- var I = 2 * S, H = 2 * M;
2153
- return m[I] < m[H] || m[I] === m[H] && U[S] <= U[M];
2151
+ function dt(g, S, M, $) {
2152
+ var R = 2 * S, H = 2 * M;
2153
+ return g[R] < g[H] || g[R] === g[H] && $[S] <= $[M];
2154
2154
  }
2155
- function ct(m, S, M) {
2156
- for (var U = m.heap[M], I = M << 1; I <= m.heap_len && (I < m.heap_len && dt(S, m.heap[I + 1], m.heap[I], m.depth) && I++, !dt(S, U, m.heap[I], m.depth)); ) m.heap[M] = m.heap[I], M = I, I <<= 1;
2157
- m.heap[M] = U;
2155
+ function ct(g, S, M) {
2156
+ for (var $ = g.heap[M], R = M << 1; R <= g.heap_len && (R < g.heap_len && dt(S, g.heap[R + 1], g.heap[R], g.depth) && R++, !dt(S, $, g.heap[R], g.depth)); ) g.heap[M] = g.heap[R], M = R, R <<= 1;
2157
+ g.heap[M] = $;
2158
2158
  }
2159
- function bt(m, S, M) {
2160
- var U, I, H, K, G = 0;
2161
- if (m.last_lit !== 0) for (; U = m.pending_buf[m.d_buf + 2 * G] << 8 | m.pending_buf[m.d_buf + 2 * G + 1], I = m.pending_buf[m.l_buf + G], G++, U === 0 ? V(m, I, S) : (V(m, (H = l[I]) + _ + 1, S), (K = B[H]) !== 0 && Y(m, I -= D[H], K), V(m, H = F(--U), M), (K = j[H]) !== 0 && Y(m, U -= W[H], K)), G < m.last_lit; ) ;
2162
- V(m, x, S);
2159
+ function bt(g, S, M) {
2160
+ var $, R, H, q, G = 0;
2161
+ if (g.last_lit !== 0) for (; $ = g.pending_buf[g.d_buf + 2 * G] << 8 | g.pending_buf[g.d_buf + 2 * G + 1], R = g.pending_buf[g.l_buf + G], G++, $ === 0 ? V(g, R, S) : (V(g, (H = l[R]) + y + 1, S), (q = B[H]) !== 0 && Y(g, R -= D[H], q), V(g, H = I(--$), M), (q = j[H]) !== 0 && Y(g, $ -= W[H], q)), G < g.last_lit; ) ;
2162
+ V(g, E, S);
2163
2163
  }
2164
- function pt(m, S) {
2165
- var M, U, I, H = S.dyn_tree, K = S.stat_desc.static_tree, G = S.stat_desc.has_stree, q = S.stat_desc.elems, ot = -1;
2166
- for (m.heap_len = 0, m.heap_max = d, M = 0; M < q; M++) H[2 * M] !== 0 ? (m.heap[++m.heap_len] = ot = M, m.depth[M] = 0) : H[2 * M + 1] = 0;
2167
- for (; m.heap_len < 2; ) H[2 * (I = m.heap[++m.heap_len] = ot < 2 ? ++ot : 0)] = 1, m.depth[I] = 0, m.opt_len--, G && (m.static_len -= K[2 * I + 1]);
2168
- for (S.max_code = ot, M = m.heap_len >> 1; 1 <= M; M--) ct(m, H, M);
2169
- for (I = q; M = m.heap[1], m.heap[1] = m.heap[m.heap_len--], ct(m, H, 1), U = m.heap[1], m.heap[--m.heap_max] = M, m.heap[--m.heap_max] = U, H[2 * I] = H[2 * M] + H[2 * U], m.depth[I] = (m.depth[M] >= m.depth[U] ? m.depth[M] : m.depth[U]) + 1, H[2 * M + 1] = H[2 * U + 1] = I, m.heap[1] = I++, ct(m, H, 1), 2 <= m.heap_len; ) ;
2170
- m.heap[--m.heap_max] = m.heap[1], function(st, ft) {
2171
- var vt, yt, kt, ht, Ct, Ft, _t = ft.dyn_tree, Bt = ft.max_code, jt = ft.stat_desc.static_tree, Wt = ft.stat_desc.has_stree, Ht = ft.stat_desc.extra_bits, Nt = ft.stat_desc.extra_base, Et = ft.stat_desc.max_length, xt = 0;
2172
- for (ht = 0; ht <= y; ht++) st.bl_count[ht] = 0;
2173
- for (_t[2 * st.heap[st.heap_max] + 1] = 0, vt = st.heap_max + 1; vt < d; vt++) Et < (ht = _t[2 * _t[2 * (yt = st.heap[vt]) + 1] + 1] + 1) && (ht = Et, xt++), _t[2 * yt + 1] = ht, Bt < yt || (st.bl_count[ht]++, Ct = 0, Nt <= yt && (Ct = Ht[yt - Nt]), Ft = _t[2 * yt], st.opt_len += Ft * (ht + Ct), Wt && (st.static_len += Ft * (jt[2 * yt + 1] + Ct)));
2174
- if (xt !== 0) {
2164
+ function pt(g, S) {
2165
+ var M, $, R, H = S.dyn_tree, q = S.stat_desc.static_tree, G = S.stat_desc.has_stree, K = S.stat_desc.elems, ot = -1;
2166
+ for (g.heap_len = 0, g.heap_max = d, M = 0; M < K; M++) H[2 * M] !== 0 ? (g.heap[++g.heap_len] = ot = M, g.depth[M] = 0) : H[2 * M + 1] = 0;
2167
+ for (; g.heap_len < 2; ) H[2 * (R = g.heap[++g.heap_len] = ot < 2 ? ++ot : 0)] = 1, g.depth[R] = 0, g.opt_len--, G && (g.static_len -= q[2 * R + 1]);
2168
+ for (S.max_code = ot, M = g.heap_len >> 1; 1 <= M; M--) ct(g, H, M);
2169
+ for (R = K; M = g.heap[1], g.heap[1] = g.heap[g.heap_len--], ct(g, H, 1), $ = g.heap[1], g.heap[--g.heap_max] = M, g.heap[--g.heap_max] = $, H[2 * R] = H[2 * M] + H[2 * $], g.depth[R] = (g.depth[M] >= g.depth[$] ? g.depth[M] : g.depth[$]) + 1, H[2 * M + 1] = H[2 * $ + 1] = R, g.heap[1] = R++, ct(g, H, 1), 2 <= g.heap_len; ) ;
2170
+ g.heap[--g.heap_max] = g.heap[1], function(st, ft) {
2171
+ var vt, yt, kt, ht, Ct, It, _t = ft.dyn_tree, Bt = ft.max_code, jt = ft.stat_desc.static_tree, Wt = ft.stat_desc.has_stree, Ht = ft.stat_desc.extra_bits, Nt = ft.stat_desc.extra_base, xt = ft.stat_desc.max_length, Et = 0;
2172
+ for (ht = 0; ht <= _; ht++) st.bl_count[ht] = 0;
2173
+ for (_t[2 * st.heap[st.heap_max] + 1] = 0, vt = st.heap_max + 1; vt < d; vt++) xt < (ht = _t[2 * _t[2 * (yt = st.heap[vt]) + 1] + 1] + 1) && (ht = xt, Et++), _t[2 * yt + 1] = ht, Bt < yt || (st.bl_count[ht]++, Ct = 0, Nt <= yt && (Ct = Ht[yt - Nt]), It = _t[2 * yt], st.opt_len += It * (ht + Ct), Wt && (st.static_len += It * (jt[2 * yt + 1] + Ct)));
2174
+ if (Et !== 0) {
2175
2175
  do {
2176
- for (ht = Et - 1; st.bl_count[ht] === 0; ) ht--;
2177
- st.bl_count[ht]--, st.bl_count[ht + 1] += 2, st.bl_count[Et]--, xt -= 2;
2178
- } while (0 < xt);
2179
- for (ht = Et; ht !== 0; ht--) for (yt = st.bl_count[ht]; yt !== 0; ) Bt < (kt = st.heap[--vt]) || (_t[2 * kt + 1] !== ht && (st.opt_len += (ht - _t[2 * kt + 1]) * _t[2 * kt], _t[2 * kt + 1] = ht), yt--);
2176
+ for (ht = xt - 1; st.bl_count[ht] === 0; ) ht--;
2177
+ st.bl_count[ht]--, st.bl_count[ht + 1] += 2, st.bl_count[xt]--, Et -= 2;
2178
+ } while (0 < Et);
2179
+ for (ht = xt; ht !== 0; ht--) for (yt = st.bl_count[ht]; yt !== 0; ) Bt < (kt = st.heap[--vt]) || (_t[2 * kt + 1] !== ht && (st.opt_len += (ht - _t[2 * kt + 1]) * _t[2 * kt], _t[2 * kt + 1] = ht), yt--);
2180
2180
  }
2181
- }(m, S), ut(H, ot, m.bl_count);
2181
+ }(g, S), ut(H, ot, g.bl_count);
2182
2182
  }
2183
- function s(m, S, M) {
2184
- var U, I, H = -1, K = S[1], G = 0, q = 7, ot = 4;
2185
- for (K === 0 && (q = 138, ot = 3), S[2 * (M + 1) + 1] = 65535, U = 0; U <= M; U++) I = K, K = S[2 * (U + 1) + 1], ++G < q && I === K || (G < ot ? m.bl_tree[2 * I] += G : I !== 0 ? (I !== H && m.bl_tree[2 * I]++, m.bl_tree[2 * A]++) : G <= 10 ? m.bl_tree[2 * T]++ : m.bl_tree[2 * L]++, H = I, ot = (G = 0) === K ? (q = 138, 3) : I === K ? (q = 6, 3) : (q = 7, 4));
2183
+ function i(g, S, M) {
2184
+ var $, R, H = -1, q = S[1], G = 0, K = 7, ot = 4;
2185
+ for (q === 0 && (K = 138, ot = 3), S[2 * (M + 1) + 1] = 65535, $ = 0; $ <= M; $++) R = q, q = S[2 * ($ + 1) + 1], ++G < K && R === q || (G < ot ? g.bl_tree[2 * R] += G : R !== 0 ? (R !== H && g.bl_tree[2 * R]++, g.bl_tree[2 * A]++) : G <= 10 ? g.bl_tree[2 * T]++ : g.bl_tree[2 * L]++, H = R, ot = (G = 0) === q ? (K = 138, 3) : R === q ? (K = 6, 3) : (K = 7, 4));
2186
2186
  }
2187
- function O(m, S, M) {
2188
- var U, I, H = -1, K = S[1], G = 0, q = 7, ot = 4;
2189
- for (K === 0 && (q = 138, ot = 3), U = 0; U <= M; U++) if (I = K, K = S[2 * (U + 1) + 1], !(++G < q && I === K)) {
2190
- if (G < ot) for (; V(m, I, m.bl_tree), --G != 0; ) ;
2191
- else I !== 0 ? (I !== H && (V(m, I, m.bl_tree), G--), V(m, A, m.bl_tree), Y(m, G - 3, 2)) : G <= 10 ? (V(m, T, m.bl_tree), Y(m, G - 3, 3)) : (V(m, L, m.bl_tree), Y(m, G - 11, 7));
2192
- H = I, ot = (G = 0) === K ? (q = 138, 3) : I === K ? (q = 6, 3) : (q = 7, 4);
2187
+ function O(g, S, M) {
2188
+ var $, R, H = -1, q = S[1], G = 0, K = 7, ot = 4;
2189
+ for (q === 0 && (K = 138, ot = 3), $ = 0; $ <= M; $++) if (R = q, q = S[2 * ($ + 1) + 1], !(++G < K && R === q)) {
2190
+ if (G < ot) for (; V(g, R, g.bl_tree), --G != 0; ) ;
2191
+ else R !== 0 ? (R !== H && (V(g, R, g.bl_tree), G--), V(g, A, g.bl_tree), Y(g, G - 3, 2)) : G <= 10 ? (V(g, T, g.bl_tree), Y(g, G - 3, 3)) : (V(g, L, g.bl_tree), Y(g, G - 11, 7));
2192
+ H = R, ot = (G = 0) === q ? (K = 138, 3) : R === q ? (K = 6, 3) : (K = 7, 4);
2193
2193
  }
2194
2194
  }
2195
2195
  c(W);
2196
- var P = !1;
2197
- function w(m, S, M, U) {
2198
- Y(m, (p << 1) + (U ? 1 : 0), 3), function(I, H, K, G) {
2199
- at(I), J(I, K), J(I, ~K), a.arraySet(I.pending_buf, I.window, H, K, I.pending), I.pending += K;
2200
- }(m, S, M);
2196
+ var F = !1;
2197
+ function w(g, S, M, $) {
2198
+ Y(g, (p << 1) + ($ ? 1 : 0), 3), function(R, H, q, G) {
2199
+ at(R), J(R, q), J(R, ~q), a.arraySet(R.pending_buf, R.window, H, q, R.pending), R.pending += q;
2200
+ }(g, S, M);
2201
2201
  }
2202
- n._tr_init = function(m) {
2203
- P || (function() {
2204
- var S, M, U, I, H, K = new Array(y + 1);
2205
- for (I = U = 0; I < f - 1; I++) for (D[I] = U, S = 0; S < 1 << B[I]; S++) l[U++] = I;
2206
- for (l[U - 1] = I, I = H = 0; I < 16; I++) for (W[I] = H, S = 0; S < 1 << j[I]; S++) N[H++] = I;
2207
- for (H >>= 7; I < h; I++) for (W[I] = H << 7, S = 0; S < 1 << j[I] - 7; S++) N[256 + H++] = I;
2208
- for (M = 0; M <= y; M++) K[M] = 0;
2209
- for (S = 0; S <= 143; ) Q[2 * S + 1] = 8, S++, K[8]++;
2210
- for (; S <= 255; ) Q[2 * S + 1] = 9, S++, K[9]++;
2211
- for (; S <= 279; ) Q[2 * S + 1] = 7, S++, K[7]++;
2212
- for (; S <= 287; ) Q[2 * S + 1] = 8, S++, K[8]++;
2213
- for (ut(Q, g + 1, K), S = 0; S < h; S++) k[2 * S + 1] = 5, k[2 * S] = lt(S, 5);
2214
- et = new tt(Q, B, _ + 1, g, y), $ = new tt(k, j, 0, h, y), rt = new tt(new Array(0), z, 0, b, v);
2215
- }(), P = !0), m.l_desc = new R(m.dyn_ltree, et), m.d_desc = new R(m.dyn_dtree, $), m.bl_desc = new R(m.bl_tree, rt), m.bi_buf = 0, m.bi_valid = 0, it(m);
2216
- }, n._tr_stored_block = w, n._tr_flush_block = function(m, S, M, U) {
2217
- var I, H, K = 0;
2218
- 0 < m.level ? (m.strm.data_type === 2 && (m.strm.data_type = function(G) {
2219
- var q, ot = 4093624447;
2220
- for (q = 0; q <= 31; q++, ot >>>= 1) if (1 & ot && G.dyn_ltree[2 * q] !== 0) return o;
2221
- if (G.dyn_ltree[18] !== 0 || G.dyn_ltree[20] !== 0 || G.dyn_ltree[26] !== 0) return i;
2222
- for (q = 32; q < _; q++) if (G.dyn_ltree[2 * q] !== 0) return i;
2202
+ n._tr_init = function(g) {
2203
+ F || (function() {
2204
+ var S, M, $, R, H, q = new Array(_ + 1);
2205
+ for (R = $ = 0; R < f - 1; R++) for (D[R] = $, S = 0; S < 1 << B[R]; S++) l[$++] = R;
2206
+ for (l[$ - 1] = R, R = H = 0; R < 16; R++) for (W[R] = H, S = 0; S < 1 << j[R]; S++) N[H++] = R;
2207
+ for (H >>= 7; R < h; R++) for (W[R] = H << 7, S = 0; S < 1 << j[R] - 7; S++) N[256 + H++] = R;
2208
+ for (M = 0; M <= _; M++) q[M] = 0;
2209
+ for (S = 0; S <= 143; ) Q[2 * S + 1] = 8, S++, q[8]++;
2210
+ for (; S <= 255; ) Q[2 * S + 1] = 9, S++, q[9]++;
2211
+ for (; S <= 279; ) Q[2 * S + 1] = 7, S++, q[7]++;
2212
+ for (; S <= 287; ) Q[2 * S + 1] = 8, S++, q[8]++;
2213
+ for (ut(Q, m + 1, q), S = 0; S < h; S++) k[2 * S + 1] = 5, k[2 * S] = lt(S, 5);
2214
+ et = new tt(Q, B, y + 1, m, _), U = new tt(k, j, 0, h, _), rt = new tt(new Array(0), z, 0, b, v);
2215
+ }(), F = !0), g.l_desc = new P(g.dyn_ltree, et), g.d_desc = new P(g.dyn_dtree, U), g.bl_desc = new P(g.bl_tree, rt), g.bi_buf = 0, g.bi_valid = 0, it(g);
2216
+ }, n._tr_stored_block = w, n._tr_flush_block = function(g, S, M, $) {
2217
+ var R, H, q = 0;
2218
+ 0 < g.level ? (g.strm.data_type === 2 && (g.strm.data_type = function(G) {
2219
+ var K, ot = 4093624447;
2220
+ for (K = 0; K <= 31; K++, ot >>>= 1) if (1 & ot && G.dyn_ltree[2 * K] !== 0) return o;
2221
+ if (G.dyn_ltree[18] !== 0 || G.dyn_ltree[20] !== 0 || G.dyn_ltree[26] !== 0) return s;
2222
+ for (K = 32; K < y; K++) if (G.dyn_ltree[2 * K] !== 0) return s;
2223
2223
  return o;
2224
- }(m)), pt(m, m.l_desc), pt(m, m.d_desc), K = function(G) {
2225
- var q;
2226
- for (s(G, G.dyn_ltree, G.l_desc.max_code), s(G, G.dyn_dtree, G.d_desc.max_code), pt(G, G.bl_desc), q = b - 1; 3 <= q && G.bl_tree[2 * Z[q] + 1] === 0; q--) ;
2227
- return G.opt_len += 3 * (q + 1) + 5 + 5 + 4, q;
2228
- }(m), I = m.opt_len + 3 + 7 >>> 3, (H = m.static_len + 3 + 7 >>> 3) <= I && (I = H)) : I = H = M + 5, M + 4 <= I && S !== -1 ? w(m, S, M, U) : m.strategy === 4 || H === I ? (Y(m, 2 + (U ? 1 : 0), 3), bt(m, Q, k)) : (Y(m, 4 + (U ? 1 : 0), 3), function(G, q, ot, st) {
2224
+ }(g)), pt(g, g.l_desc), pt(g, g.d_desc), q = function(G) {
2225
+ var K;
2226
+ for (i(G, G.dyn_ltree, G.l_desc.max_code), i(G, G.dyn_dtree, G.d_desc.max_code), pt(G, G.bl_desc), K = b - 1; 3 <= K && G.bl_tree[2 * Z[K] + 1] === 0; K--) ;
2227
+ return G.opt_len += 3 * (K + 1) + 5 + 5 + 4, K;
2228
+ }(g), R = g.opt_len + 3 + 7 >>> 3, (H = g.static_len + 3 + 7 >>> 3) <= R && (R = H)) : R = H = M + 5, M + 4 <= R && S !== -1 ? w(g, S, M, $) : g.strategy === 4 || H === R ? (Y(g, 2 + ($ ? 1 : 0), 3), bt(g, Q, k)) : (Y(g, 4 + ($ ? 1 : 0), 3), function(G, K, ot, st) {
2229
2229
  var ft;
2230
- for (Y(G, q - 257, 5), Y(G, ot - 1, 5), Y(G, st - 4, 4), ft = 0; ft < st; ft++) Y(G, G.bl_tree[2 * Z[ft] + 1], 3);
2231
- O(G, G.dyn_ltree, q - 1), O(G, G.dyn_dtree, ot - 1);
2232
- }(m, m.l_desc.max_code + 1, m.d_desc.max_code + 1, K + 1), bt(m, m.dyn_ltree, m.dyn_dtree)), it(m), U && at(m);
2233
- }, n._tr_tally = function(m, S, M) {
2234
- return m.pending_buf[m.d_buf + 2 * m.last_lit] = S >>> 8 & 255, m.pending_buf[m.d_buf + 2 * m.last_lit + 1] = 255 & S, m.pending_buf[m.l_buf + m.last_lit] = 255 & M, m.last_lit++, S === 0 ? m.dyn_ltree[2 * M]++ : (m.matches++, S--, m.dyn_ltree[2 * (l[M] + _ + 1)]++, m.dyn_dtree[2 * F(S)]++), m.last_lit === m.lit_bufsize - 1;
2235
- }, n._tr_align = function(m) {
2236
- Y(m, 2, 3), V(m, x, Q), function(S) {
2230
+ for (Y(G, K - 257, 5), Y(G, ot - 1, 5), Y(G, st - 4, 4), ft = 0; ft < st; ft++) Y(G, G.bl_tree[2 * Z[ft] + 1], 3);
2231
+ O(G, G.dyn_ltree, K - 1), O(G, G.dyn_dtree, ot - 1);
2232
+ }(g, g.l_desc.max_code + 1, g.d_desc.max_code + 1, q + 1), bt(g, g.dyn_ltree, g.dyn_dtree)), it(g), $ && at(g);
2233
+ }, n._tr_tally = function(g, S, M) {
2234
+ return g.pending_buf[g.d_buf + 2 * g.last_lit] = S >>> 8 & 255, g.pending_buf[g.d_buf + 2 * g.last_lit + 1] = 255 & S, g.pending_buf[g.l_buf + g.last_lit] = 255 & M, g.last_lit++, S === 0 ? g.dyn_ltree[2 * M]++ : (g.matches++, S--, g.dyn_ltree[2 * (l[M] + y + 1)]++, g.dyn_dtree[2 * I(S)]++), g.last_lit === g.lit_bufsize - 1;
2235
+ }, n._tr_align = function(g) {
2236
+ Y(g, 2, 3), V(g, E, Q), function(S) {
2237
2237
  S.bi_valid === 16 ? (J(S, S.bi_buf), S.bi_buf = 0, S.bi_valid = 0) : 8 <= S.bi_valid && (S.pending_buf[S.pending++] = 255 & S.bi_buf, S.bi_buf >>= 8, S.bi_valid -= 8);
2238
- }(m);
2238
+ }(g);
2239
2239
  };
2240
2240
  }, { "../utils/common": 41 }], 53: [function(t, r, n) {
2241
2241
  r.exports = function() {
@@ -2243,10 +2243,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2243
2243
  };
2244
2244
  }, {}], 54: [function(t, r, n) {
2245
2245
  (function(a) {
2246
- (function(o, i) {
2246
+ (function(o, s) {
2247
2247
  if (!o.setImmediate) {
2248
- var c, p, f, _, g = 1, h = {}, b = !1, d = o.document, y = Object.getPrototypeOf && Object.getPrototypeOf(o);
2249
- y = y && y.setTimeout ? y : o, c = {}.toString.call(o.process) === "[object process]" ? function(A) {
2248
+ var c, p, f, y, m = 1, h = {}, b = !1, d = o.document, _ = Object.getPrototypeOf && Object.getPrototypeOf(o);
2249
+ _ = _ && _.setTimeout ? _ : o, c = {}.toString.call(o.process) === "[object process]" ? function(A) {
2250
2250
  process.nextTick(function() {
2251
2251
  v(A);
2252
2252
  });
@@ -2257,8 +2257,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2257
2257
  A = !1;
2258
2258
  }, o.postMessage("", "*"), o.onmessage = T, A;
2259
2259
  }
2260
- }() ? (_ = "setImmediate$" + Math.random() + "$", o.addEventListener ? o.addEventListener("message", x, !1) : o.attachEvent("onmessage", x), function(A) {
2261
- o.postMessage(_ + A, "*");
2260
+ }() ? (y = "setImmediate$" + Math.random() + "$", o.addEventListener ? o.addEventListener("message", E, !1) : o.attachEvent("onmessage", E), function(A) {
2261
+ o.postMessage(y + A, "*");
2262
2262
  }) : o.MessageChannel ? ((f = new MessageChannel()).port1.onmessage = function(A) {
2263
2263
  v(A.data);
2264
2264
  }, function(A) {
@@ -2270,12 +2270,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2270
2270
  }, p.appendChild(T);
2271
2271
  }) : function(A) {
2272
2272
  setTimeout(v, 0, A);
2273
- }, y.setImmediate = function(A) {
2273
+ }, _.setImmediate = function(A) {
2274
2274
  typeof A != "function" && (A = new Function("" + A));
2275
2275
  for (var T = new Array(arguments.length - 1), L = 0; L < T.length; L++) T[L] = arguments[L + 1];
2276
2276
  var B = { callback: A, args: T };
2277
- return h[g] = B, c(g), g++;
2278
- }, y.clearImmediate = u;
2277
+ return h[m] = B, c(m), m++;
2278
+ }, _.clearImmediate = u;
2279
2279
  }
2280
2280
  function u(A) {
2281
2281
  delete h[A];
@@ -2303,7 +2303,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2303
2303
  B(j[0], j[1], j[2]);
2304
2304
  break;
2305
2305
  default:
2306
- B.apply(i, j);
2306
+ B.apply(s, j);
2307
2307
  }
2308
2308
  })(T);
2309
2309
  } finally {
@@ -2312,8 +2312,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2312
2312
  }
2313
2313
  }
2314
2314
  }
2315
- function x(A) {
2316
- A.source === o && typeof A.data == "string" && A.data.indexOf(_) === 0 && v(+A.data.slice(_.length));
2315
+ function E(A) {
2316
+ A.source === o && typeof A.data == "string" && A.data.indexOf(y) === 0 && v(+A.data.slice(y.length));
2317
2317
  }
2318
2318
  })(typeof self > "u" ? a === void 0 ? this : a : self);
2319
2319
  }).call(this, typeof St < "u" ? St : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2322,8 +2322,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
2322
2322
  })(Mt);
2323
2323
  var Xt = Mt.exports;
2324
2324
  const Yt = /* @__PURE__ */ Vt(Xt);
2325
- var X = /* @__PURE__ */ ((E) => (E.Document = "document", E.Paragraph = "paragraph", E.Run = "run", E.Text = "text", E.Break = "break", E.Table = "table", E.TableRow = "tableRow", E.TableCell = "tableCell", E.Hyperlink = "hyperlink", E.Drawing = "drawing", E.Image = "image", E.BookmarkStart = "bookmarkStart", E.BookmarkEnd = "bookmarkEnd", E.Comment = "comment", E.CommentRangeStart = "commentRangeStart", E.CommentRangeEnd = "commentRangeEnd", E.CommentReference = "commentReference", E.Section = "section", E.Header = "header", E.Footer = "footer", E.Tab = "tab", E.Symbol = "symbol", E.SimpleField = "simpleField", E.ComplexField = "complexField", E.FieldInstruction = "fieldInstruction", E.Footnote = "footnote", E.Endnote = "endnote", E.FootnoteReference = "footnoteReference", E.EndnoteReference = "endnoteReference", E))(X || {});
2326
- const Kt = {
2325
+ var X = /* @__PURE__ */ ((x) => (x.Document = "document", x.Paragraph = "paragraph", x.Run = "run", x.Text = "text", x.Break = "break", x.Table = "table", x.TableRow = "tableRow", x.TableCell = "tableCell", x.Hyperlink = "hyperlink", x.Drawing = "drawing", x.Image = "image", x.BookmarkStart = "bookmarkStart", x.BookmarkEnd = "bookmarkEnd", x.Comment = "comment", x.CommentRangeStart = "commentRangeStart", x.CommentRangeEnd = "commentRangeEnd", x.CommentReference = "commentReference", x.Section = "section", x.Header = "header", x.Footer = "footer", x.Tab = "tab", x.Symbol = "symbol", x.SimpleField = "simpleField", x.ComplexField = "complexField", x.FieldInstruction = "fieldInstruction", x.Footnote = "footnote", x.Endnote = "endnote", x.FootnoteReference = "footnoteReference", x.EndnoteReference = "endnoteReference", x))(X || {});
2326
+ const qt = {
2327
2327
  W: "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
2328
2328
  W14: "http://schemas.microsoft.com/office/word/2010/wordml",
2329
2329
  W15: "http://schemas.microsoft.com/office/word/2012/wordml",
@@ -2352,7 +2352,7 @@ const Kt = {
2352
2352
  FOOTER: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",
2353
2353
  FONT: "http://schemas.openxmlformats.org/officeDocument/2006/relationships/font"
2354
2354
  };
2355
- class qt {
2355
+ class Kt {
2356
2356
  /**
2357
2357
  * 获取元素的所有子元素
2358
2358
  */
@@ -2380,7 +2380,7 @@ class qt {
2380
2380
  */
2381
2381
  attr(e, t) {
2382
2382
  if (!e) return;
2383
- for (const n of Object.values(Kt)) {
2383
+ for (const n of Object.values(qt)) {
2384
2384
  const a = e.getAttributeNS(n, t);
2385
2385
  if (a) return a;
2386
2386
  }
@@ -2435,73 +2435,73 @@ const wt = {
2435
2435
  /** 1/8 点 */
2436
2436
  Border: { mul: 0.125, unit: "pt" }
2437
2437
  };
2438
- function gt(E) {
2439
- E.charCodeAt(0) === 65279 && (E = E.substring(1)), E = E.replace(/<\?xml[^?]*\?>/g, "");
2440
- const t = new DOMParser().parseFromString(E, "application/xml"), r = t.getElementsByTagName("parsererror")[0];
2438
+ function gt(x) {
2439
+ x.charCodeAt(0) === 65279 && (x = x.substring(1)), x = x.replace(/<\?xml[^?]*\?>/g, "");
2440
+ const t = new DOMParser().parseFromString(x, "application/xml"), r = t.getElementsByTagName("parsererror")[0];
2441
2441
  if (r)
2442
2442
  throw new Error(`XML 解析错误: ${r.textContent}`);
2443
2443
  return t;
2444
2444
  }
2445
- const C = new qt();
2446
- function Jt(E) {
2445
+ const C = new Kt();
2446
+ function Jt(x) {
2447
2447
  const e = {
2448
2448
  colorScheme: { name: "", colors: {} },
2449
2449
  fontScheme: { name: "", majorFont: {}, minorFont: {} }
2450
- }, t = Pt(E, "themeElements");
2450
+ }, t = Ft(x, "themeElements");
2451
2451
  if (!t) return e;
2452
- for (const r of It(t)) {
2452
+ for (const r of Rt(t)) {
2453
2453
  const n = r.localName;
2454
2454
  n === "clrScheme" ? e.colorScheme = Qt(r) : n === "fontScheme" && (e.fontScheme = ee(r));
2455
2455
  }
2456
2456
  return e;
2457
2457
  }
2458
- function Qt(E) {
2458
+ function Qt(x) {
2459
2459
  const e = {
2460
- name: E.getAttribute("name") || "",
2460
+ name: x.getAttribute("name") || "",
2461
2461
  colors: {}
2462
2462
  };
2463
- for (const t of It(E)) {
2463
+ for (const t of Rt(x)) {
2464
2464
  const r = t.localName, n = te(t);
2465
2465
  n && (e.colors[r] = n);
2466
2466
  }
2467
2467
  return e;
2468
2468
  }
2469
- function te(E) {
2470
- const e = Pt(E, "srgbClr");
2469
+ function te(x) {
2470
+ const e = Ft(x, "srgbClr");
2471
2471
  if (e) {
2472
2472
  const r = e.getAttribute("val");
2473
2473
  return r ? `#${r}` : null;
2474
2474
  }
2475
- const t = Pt(E, "sysClr");
2475
+ const t = Ft(x, "sysClr");
2476
2476
  if (t) {
2477
2477
  const r = t.getAttribute("lastClr");
2478
2478
  return r ? `#${r}` : null;
2479
2479
  }
2480
2480
  return null;
2481
2481
  }
2482
- function ee(E) {
2482
+ function ee(x) {
2483
2483
  const e = {
2484
- name: E.getAttribute("name") || "",
2484
+ name: x.getAttribute("name") || "",
2485
2485
  majorFont: {},
2486
2486
  minorFont: {}
2487
2487
  };
2488
- for (const t of It(E)) {
2488
+ for (const t of Rt(x)) {
2489
2489
  const r = t.localName;
2490
2490
  r === "majorFont" ? e.majorFont = Ot(t) : r === "minorFont" && (e.minorFont = Ot(t));
2491
2491
  }
2492
2492
  return e;
2493
2493
  }
2494
- function Ot(E) {
2494
+ function Ot(x) {
2495
2495
  const e = {};
2496
- for (const t of It(E)) {
2496
+ for (const t of Rt(x)) {
2497
2497
  const r = t.localName, n = t.getAttribute("typeface");
2498
2498
  n && (r === "latin" ? e.latin = n : r === "ea" ? e.ea = n : r === "cs" && (e.cs = n));
2499
2499
  }
2500
2500
  return e;
2501
2501
  }
2502
- function Pt(E, e) {
2503
- for (let t = 0; t < E.childNodes.length; t++) {
2504
- const r = E.childNodes[t];
2502
+ function Ft(x, e) {
2503
+ for (let t = 0; t < x.childNodes.length; t++) {
2504
+ const r = x.childNodes[t];
2505
2505
  if (r.nodeType === Node.ELEMENT_NODE) {
2506
2506
  const n = r;
2507
2507
  if (n.localName === e)
@@ -2510,10 +2510,10 @@ function Pt(E, e) {
2510
2510
  }
2511
2511
  return null;
2512
2512
  }
2513
- function It(E) {
2513
+ function Rt(x) {
2514
2514
  const e = [];
2515
- for (let t = 0; t < E.childNodes.length; t++) {
2516
- const r = E.childNodes[t];
2515
+ for (let t = 0; t < x.childNodes.length; t++) {
2516
+ const r = x.childNodes[t];
2517
2517
  r.nodeType === Node.ELEMENT_NODE && e.push(r);
2518
2518
  }
2519
2519
  return e;
@@ -2545,32 +2545,32 @@ const re = {
2545
2545
  background1: "lt1",
2546
2546
  background2: "lt2"
2547
2547
  };
2548
- function ne(E, e) {
2548
+ function ne(x, e) {
2549
2549
  var a;
2550
- if (!((a = E == null ? void 0 : E.colorScheme) != null && a.colors)) return;
2551
- const t = e.themeColor, r = re[t] || t, n = E.colorScheme.colors[r];
2550
+ if (!((a = x == null ? void 0 : x.colorScheme) != null && a.colors)) return;
2551
+ const t = e.themeColor, r = re[t] || t, n = x.colorScheme.colors[r];
2552
2552
  if (n)
2553
2553
  return e.themeTint !== void 0 || e.themeShade !== void 0 ? ie(n, e.themeTint, e.themeShade) : n;
2554
2554
  }
2555
- function ie(E, e, t) {
2556
- const r = E.replace("#", ""), n = parseInt(r.substr(0, 2), 16), a = parseInt(r.substr(2, 2), 16), o = parseInt(r.substr(4, 2), 16);
2557
- let i = n, c = a, p = o;
2555
+ function ie(x, e, t) {
2556
+ const r = x.replace("#", ""), n = parseInt(r.substr(0, 2), 16), a = parseInt(r.substr(2, 2), 16), o = parseInt(r.substr(4, 2), 16);
2557
+ let s = n, c = a, p = o;
2558
2558
  if (e !== void 0 && e > 0) {
2559
2559
  const f = e / 255;
2560
- i = Math.round(n + (255 - n) * f), c = Math.round(a + (255 - a) * f), p = Math.round(o + (255 - o) * f);
2560
+ s = Math.round(n + (255 - n) * f), c = Math.round(a + (255 - a) * f), p = Math.round(o + (255 - o) * f);
2561
2561
  }
2562
2562
  if (t !== void 0 && t > 0) {
2563
2563
  const f = 1 - t / 255;
2564
- i = Math.round(i * f), c = Math.round(c * f), p = Math.round(p * f);
2564
+ s = Math.round(s * f), c = Math.round(c * f), p = Math.round(p * f);
2565
2565
  }
2566
- return i = Math.max(0, Math.min(255, i)), c = Math.max(0, Math.min(255, c)), p = Math.max(0, Math.min(255, p)), `#${Rt(i)}${Rt(c)}${Rt(p)}`;
2566
+ return s = Math.max(0, Math.min(255, s)), c = Math.max(0, Math.min(255, c)), p = Math.max(0, Math.min(255, p)), `#${Pt(s)}${Pt(c)}${Pt(p)}`;
2567
2567
  }
2568
- function Rt(E) {
2569
- const e = E.toString(16);
2568
+ function Pt(x) {
2569
+ const e = x.toString(16);
2570
2570
  return e.length === 1 ? "0" + e : e;
2571
2571
  }
2572
- function ze(E, e, t = "latin") {
2573
- return E != null && E.fontScheme ? (e === "major" ? E.fontScheme.majorFont : E.fontScheme.minorFont)[t] : void 0;
2572
+ function ze(x, e, t = "latin") {
2573
+ return x != null && x.fontScheme ? (e === "major" ? x.fontScheme.majorFont : x.fontScheme.minorFont)[t] : void 0;
2574
2574
  }
2575
2575
  const se = {
2576
2576
  embedRegular: "regular",
@@ -2578,23 +2578,23 @@ const se = {
2578
2578
  embedItalic: "italic",
2579
2579
  embedBoldItalic: "boldItalic"
2580
2580
  };
2581
- function ae(E) {
2582
- const t = gt(E).documentElement, r = oe(t), n = new Map(r.map((o) => [o.name, o])), a = de(r);
2581
+ function ae(x) {
2582
+ const t = gt(x).documentElement, r = oe(t), n = new Map(r.map((o) => [o.name, o])), a = de(r);
2583
2583
  return {
2584
2584
  fonts: r,
2585
2585
  fontMap: n,
2586
2586
  substitutionMap: a
2587
2587
  };
2588
2588
  }
2589
- function oe(E) {
2590
- return C.elements(E, "font").map((e) => le(e));
2589
+ function oe(x) {
2590
+ return C.elements(x, "font").map((e) => le(e));
2591
2591
  }
2592
- function le(E) {
2592
+ function le(x) {
2593
2593
  const e = {
2594
- name: C.attr(E, "name") || "",
2594
+ name: C.attr(x, "name") || "",
2595
2595
  embedFontRefs: []
2596
2596
  };
2597
- for (const t of C.elements(E))
2597
+ for (const t of C.elements(x))
2598
2598
  switch (t.localName) {
2599
2599
  case "family":
2600
2600
  e.family = C.attr(t, "val");
@@ -2621,60 +2621,60 @@ function le(E) {
2621
2621
  }
2622
2622
  return e;
2623
2623
  }
2624
- function ce(E) {
2624
+ function ce(x) {
2625
2625
  return {
2626
- usb0: C.attr(E, "usb0"),
2627
- usb1: C.attr(E, "usb1"),
2628
- usb2: C.attr(E, "usb2"),
2629
- usb3: C.attr(E, "usb3"),
2630
- csb0: C.attr(E, "csb0"),
2631
- csb1: C.attr(E, "csb1")
2626
+ usb0: C.attr(x, "usb0"),
2627
+ usb1: C.attr(x, "usb1"),
2628
+ usb2: C.attr(x, "usb2"),
2629
+ usb3: C.attr(x, "usb3"),
2630
+ csb0: C.attr(x, "csb0"),
2631
+ csb1: C.attr(x, "csb1")
2632
2632
  };
2633
2633
  }
2634
- function he(E) {
2635
- const e = C.attr(E, "id");
2634
+ function he(x) {
2635
+ const e = C.attr(x, "id");
2636
2636
  if (!e) return null;
2637
- const t = se[E.localName];
2637
+ const t = se[x.localName];
2638
2638
  return t ? {
2639
2639
  id: e,
2640
- key: C.attr(E, "fontKey"),
2641
- subsetted: C.boolAttr(E, "subsetted"),
2640
+ key: C.attr(x, "fontKey"),
2641
+ subsetted: C.boolAttr(x, "subsetted"),
2642
2642
  type: t
2643
2643
  } : null;
2644
2644
  }
2645
- function de(E) {
2645
+ function de(x) {
2646
2646
  const e = /* @__PURE__ */ new Map();
2647
- for (const t of E)
2647
+ for (const t of x)
2648
2648
  t.altName && e.set(t.name, t.altName);
2649
2649
  return e;
2650
2650
  }
2651
- function Be(E, e) {
2652
- return E.substitutionMap.get(e) || e;
2651
+ function Be(x, e) {
2652
+ return x.substitutionMap.get(e) || e;
2653
2653
  }
2654
- function Ne(E, e) {
2655
- return E.fontMap.get(e);
2654
+ function Ne(x, e) {
2655
+ return x.fontMap.get(e);
2656
2656
  }
2657
- function Oe(E, e) {
2658
- const t = E.fontMap.get(e);
2657
+ function Oe(x, e) {
2658
+ const t = x.fontMap.get(e);
2659
2659
  return t ? t.embedFontRefs.length > 0 : !1;
2660
2660
  }
2661
- function Le(E, e, t) {
2662
- const r = E.fontMap.get(e);
2661
+ function Le(x, e, t) {
2662
+ const r = x.fontMap.get(e);
2663
2663
  return r ? t ? r.embedFontRefs.filter((n) => n.type === t) : r.embedFontRefs : [];
2664
2664
  }
2665
- function De(E, e) {
2666
- const t = [], r = E.fontMap.get(e);
2665
+ function De(x, e) {
2666
+ const t = [], r = x.fontMap.get(e);
2667
2667
  if (t.push(Lt(e)), r != null && r.altName && t.push(Lt(r.altName)), r != null && r.family) {
2668
2668
  const n = ue(r.family);
2669
2669
  n && t.push(n);
2670
2670
  }
2671
2671
  return t.join(", ");
2672
2672
  }
2673
- function Lt(E) {
2674
- return /[\s,'"()]/.test(E) ? `"${E.replace(/"/g, '\\"')}"` : E;
2673
+ function Lt(x) {
2674
+ return /[\s,'"()]/.test(x) ? `"${x.replace(/"/g, '\\"')}"` : x;
2675
2675
  }
2676
- function ue(E) {
2677
- switch (E.toLowerCase()) {
2676
+ function ue(x) {
2677
+ switch (x.toLowerCase()) {
2678
2678
  case "roman":
2679
2679
  return "serif";
2680
2680
  case "swiss":
@@ -2693,41 +2693,41 @@ const Dt = {
2693
2693
  injectStyles: !0,
2694
2694
  timeout: 1e4
2695
2695
  };
2696
- async function fe(E, e, t, r = {}) {
2696
+ async function fe(x, e, t, r = {}) {
2697
2697
  const n = { ...Dt, ...r }, a = [];
2698
2698
  for (const o of e.fonts)
2699
2699
  if (o.embedFontRefs.length !== 0)
2700
- for (const i of o.embedFontRefs)
2700
+ for (const s of o.embedFontRefs)
2701
2701
  try {
2702
2702
  const c = await pe(
2703
- E,
2703
+ x,
2704
2704
  o,
2705
- i,
2705
+ s,
2706
2706
  t,
2707
2707
  n.timeout || Dt.timeout
2708
2708
  );
2709
2709
  c && a.push(c);
2710
2710
  } catch (c) {
2711
- console.warn(`加载嵌入字体失败: ${o.name} (${i.type})`, c);
2711
+ console.warn(`加载嵌入字体失败: ${o.name} (${s.type})`, c);
2712
2712
  }
2713
2713
  return n.injectStyles && a.length > 0 && _e(a, n.styleContainer), a;
2714
2714
  }
2715
- async function pe(E, e, t, r, n) {
2715
+ async function pe(x, e, t, r, n) {
2716
2716
  const a = r.find((b) => b.id === t.id);
2717
2717
  if (!a)
2718
2718
  return console.warn(`找不到嵌入字体关系: ${t.id}`), null;
2719
- const o = `word/${a.target}`, i = E.file(o);
2720
- if (!i)
2719
+ const o = `word/${a.target}`, s = x.file(o);
2720
+ if (!s)
2721
2721
  return console.warn(`找不到嵌入字体文件: ${o}`), null;
2722
2722
  const c = await Promise.race([
2723
- i.async("arraybuffer"),
2723
+ s.async("arraybuffer"),
2724
2724
  new Promise(
2725
2725
  (b, d) => setTimeout(() => d(new Error("字体加载超时")), n)
2726
2726
  )
2727
2727
  ]);
2728
2728
  let p = c;
2729
2729
  t.key && (p = me(c, t.key));
2730
- const f = ge(new Uint8Array(p)), _ = be(f), g = new Blob([p], { type: _ }), h = await ye(g);
2730
+ const f = ge(new Uint8Array(p)), y = be(f), m = new Blob([p], { type: y }), h = await ye(m);
2731
2731
  return {
2732
2732
  fontName: e.name,
2733
2733
  type: t.type,
@@ -2735,31 +2735,31 @@ async function pe(E, e, t, r, n) {
2735
2735
  format: f
2736
2736
  };
2737
2737
  }
2738
- function me(E, e) {
2738
+ function me(x, e) {
2739
2739
  const t = e.replace(/[{}-]/g, "");
2740
2740
  if (t.length !== 32)
2741
- return console.warn("无效的字体密钥格式:", e), E;
2741
+ return console.warn("无效的字体密钥格式:", e), x;
2742
2742
  const r = new Uint8Array(16);
2743
- for (let i = 0; i < 4; i++)
2744
- r[3 - i] = parseInt(t.substr(i * 2, 2), 16);
2745
- for (let i = 0; i < 2; i++)
2746
- r[5 - i] = parseInt(t.substr(8 + i * 2, 2), 16);
2747
- for (let i = 0; i < 2; i++)
2748
- r[7 - i] = parseInt(t.substr(12 + i * 2, 2), 16);
2749
- for (let i = 0; i < 8; i++)
2750
- r[8 + i] = parseInt(t.substr(16 + i * 2, 2), 16);
2751
- const n = new Uint8Array(E), a = new Uint8Array(n.length), o = Math.min(32, n.length);
2752
- for (let i = 0; i < o; i++)
2753
- a[i] = n[i] ^ r[i % 16];
2754
- for (let i = o; i < n.length; i++)
2755
- a[i] = n[i];
2743
+ for (let s = 0; s < 4; s++)
2744
+ r[3 - s] = parseInt(t.substr(s * 2, 2), 16);
2745
+ for (let s = 0; s < 2; s++)
2746
+ r[5 - s] = parseInt(t.substr(8 + s * 2, 2), 16);
2747
+ for (let s = 0; s < 2; s++)
2748
+ r[7 - s] = parseInt(t.substr(12 + s * 2, 2), 16);
2749
+ for (let s = 0; s < 8; s++)
2750
+ r[8 + s] = parseInt(t.substr(16 + s * 2, 2), 16);
2751
+ const n = new Uint8Array(x), a = new Uint8Array(n.length), o = Math.min(32, n.length);
2752
+ for (let s = 0; s < o; s++)
2753
+ a[s] = n[s] ^ r[s % 16];
2754
+ for (let s = o; s < n.length; s++)
2755
+ a[s] = n[s];
2756
2756
  return a.buffer;
2757
2757
  }
2758
- function ge(E) {
2759
- return E.length < 4 ? "truetype" : E[0] === 79 && E[1] === 84 && E[2] === 84 && E[3] === 79 ? "opentype" : E[0] === 0 && E[1] === 1 && E[2] === 0 && E[3] === 0 || E[0] === 116 && E[1] === 114 && E[2] === 117 && E[3] === 101 ? "truetype" : E[0] === 0 && E[1] === 0 && E[2] === 1 ? "embedded-opentype" : "truetype";
2758
+ function ge(x) {
2759
+ return x.length < 4 ? "truetype" : x[0] === 79 && x[1] === 84 && x[2] === 84 && x[3] === 79 ? "opentype" : x[0] === 0 && x[1] === 1 && x[2] === 0 && x[3] === 0 || x[0] === 116 && x[1] === 114 && x[2] === 117 && x[3] === 101 ? "truetype" : x[0] === 0 && x[1] === 0 && x[2] === 1 ? "embedded-opentype" : "truetype";
2760
2760
  }
2761
- function be(E) {
2762
- switch (E) {
2761
+ function be(x) {
2762
+ switch (x) {
2763
2763
  case "opentype":
2764
2764
  return "font/otf";
2765
2765
  case "truetype":
@@ -2770,33 +2770,33 @@ function be(E) {
2770
2770
  return "font/ttf";
2771
2771
  }
2772
2772
  }
2773
- function ye(E) {
2773
+ function ye(x) {
2774
2774
  return new Promise((e, t) => {
2775
2775
  const r = new FileReader();
2776
- r.onloadend = () => e(r.result), r.onerror = t, r.readAsDataURL(E);
2776
+ r.onloadend = () => e(r.result), r.onerror = t, r.readAsDataURL(x);
2777
2777
  });
2778
2778
  }
2779
- function _e(E, e) {
2779
+ function _e(x, e) {
2780
2780
  const t = document.createElement("style");
2781
2781
  t.setAttribute("data-docx-fonts", "true");
2782
- const r = E.map((o) => we(o)).join(`
2782
+ const r = x.map((o) => we(o)).join(`
2783
2783
  `);
2784
2784
  t.textContent = r;
2785
2785
  const n = e || document.head, a = n.querySelector("style[data-docx-fonts]");
2786
2786
  a && a.remove(), n.appendChild(t);
2787
2787
  }
2788
- function we(E) {
2789
- const e = ve(E.type), t = ke(E.type), r = Ee(E.format);
2788
+ function we(x) {
2789
+ const e = ve(x.type), t = ke(x.type), r = xe(x.format);
2790
2790
  return `@font-face {
2791
- font-family: "${Ce(E.fontName)}";
2792
- src: url("${E.dataUrl}") format("${r}");
2791
+ font-family: "${Ce(x.fontName)}";
2792
+ src: url("${x.dataUrl}") format("${r}");
2793
2793
  font-weight: ${e};
2794
2794
  font-style: ${t};
2795
2795
  font-display: swap;
2796
2796
  }`;
2797
2797
  }
2798
- function ve(E) {
2799
- switch (E) {
2798
+ function ve(x) {
2799
+ switch (x) {
2800
2800
  case "bold":
2801
2801
  case "boldItalic":
2802
2802
  return "700";
@@ -2804,8 +2804,8 @@ function ve(E) {
2804
2804
  return "400";
2805
2805
  }
2806
2806
  }
2807
- function ke(E) {
2808
- switch (E) {
2807
+ function ke(x) {
2808
+ switch (x) {
2809
2809
  case "italic":
2810
2810
  case "boldItalic":
2811
2811
  return "italic";
@@ -2813,8 +2813,8 @@ function ke(E) {
2813
2813
  return "normal";
2814
2814
  }
2815
2815
  }
2816
- function Ee(E) {
2817
- switch (E) {
2816
+ function xe(x) {
2817
+ switch (x) {
2818
2818
  case "opentype":
2819
2819
  return "opentype";
2820
2820
  case "truetype":
@@ -2825,42 +2825,42 @@ function Ee(E) {
2825
2825
  return "truetype";
2826
2826
  }
2827
2827
  }
2828
- function Ce(E) {
2829
- return E.replace(/"/g, '\\"');
2828
+ function Ce(x) {
2829
+ return x.replace(/"/g, '\\"');
2830
2830
  }
2831
- function Me(E) {
2832
- const t = (E || document.head).querySelector("style[data-docx-fonts]");
2831
+ function Me(x) {
2832
+ const t = (x || document.head).querySelector("style[data-docx-fonts]");
2833
2833
  t && t.remove();
2834
2834
  }
2835
- function xe(E) {
2836
- const r = new DOMParser().parseFromString(E, "application/xml").documentElement, n = [], a = r.getElementsByTagName("Relationship");
2835
+ function Ee(x) {
2836
+ const r = new DOMParser().parseFromString(x, "application/xml").documentElement, n = [], a = r.getElementsByTagName("Relationship");
2837
2837
  for (let o = 0; o < a.length; o++) {
2838
- const i = a[o], c = i.getAttribute("Type") || "";
2838
+ const s = a[o], c = s.getAttribute("Type") || "";
2839
2839
  c === At.FONT && n.push({
2840
- id: i.getAttribute("Id") || "",
2840
+ id: s.getAttribute("Id") || "",
2841
2841
  type: c,
2842
- target: i.getAttribute("Target") || "",
2843
- targetMode: i.getAttribute("TargetMode") || void 0
2842
+ target: s.getAttribute("Target") || "",
2843
+ targetMode: s.getAttribute("TargetMode") || void 0
2844
2844
  });
2845
2845
  }
2846
2846
  return n;
2847
2847
  }
2848
- const Ut = "http://schemas.microsoft.com/office/word/2012/wordml";
2849
- function Se(E) {
2848
+ const $t = "http://schemas.microsoft.com/office/word/2012/wordml";
2849
+ function Se(x) {
2850
2850
  const e = /* @__PURE__ */ new Map();
2851
- if (!E)
2851
+ if (!x)
2852
2852
  return e;
2853
2853
  try {
2854
- const r = gt(E).documentElement, n = r.getElementsByTagNameNS(Ut, "commentEx"), a = n.length > 0 ? Array.from(n) : Array.from(r.getElementsByTagName("commentEx"));
2854
+ const r = gt(x).documentElement, n = r.getElementsByTagNameNS($t, "commentEx"), a = n.length > 0 ? Array.from(n) : Array.from(r.getElementsByTagName("commentEx"));
2855
2855
  for (const o of a) {
2856
- const i = zt(o, "paraId");
2857
- if (!i) continue;
2856
+ const s = zt(o, "paraId");
2857
+ if (!s) continue;
2858
2858
  const c = {
2859
- paraId: i,
2859
+ paraId: s,
2860
2860
  paraIdParent: zt(o, "paraIdParent"),
2861
2861
  done: Ae(o, "done")
2862
2862
  };
2863
- e.set(i, c);
2863
+ e.set(s, c);
2864
2864
  }
2865
2865
  console.log("[DEBUG] parseCommentsExtended: found", e.size, "extended comments");
2866
2866
  } catch (t) {
@@ -2868,46 +2868,46 @@ function Se(E) {
2868
2868
  }
2869
2869
  return e;
2870
2870
  }
2871
- function Te(E, e) {
2871
+ function Te(x, e) {
2872
2872
  const t = /* @__PURE__ */ new Map();
2873
- for (const n of E)
2873
+ for (const n of x)
2874
2874
  n.paraId && t.set(n.paraId, n);
2875
- for (const n of E)
2875
+ for (const n of x)
2876
2876
  n.replies = [];
2877
2877
  for (const [n, a] of e) {
2878
2878
  const o = t.get(n);
2879
2879
  if (o && (o.done = a.done, a.paraIdParent)) {
2880
- const i = t.get(a.paraIdParent);
2881
- i && (o.parentId = i.id, i.replies.push(o));
2880
+ const s = t.get(a.paraIdParent);
2881
+ s && (o.parentId = s.id, s.replies.push(o));
2882
2882
  }
2883
2883
  }
2884
- const r = E.filter((n) => !n.parentId);
2884
+ const r = x.filter((n) => !n.parentId);
2885
2885
  return r.sort((n, a) => {
2886
- const o = new Date(n.date).getTime(), i = new Date(a.date).getTime();
2887
- return o - i;
2888
- }), $t(r), console.log(
2886
+ const o = new Date(n.date).getTime(), s = new Date(a.date).getTime();
2887
+ return o - s;
2888
+ }), Ut(r), console.log(
2889
2889
  "[DEBUG] buildCommentTree: root comments:",
2890
2890
  r.length,
2891
2891
  "total comments:",
2892
- E.length
2892
+ x.length
2893
2893
  ), r;
2894
2894
  }
2895
- function $t(E) {
2896
- for (const e of E)
2895
+ function Ut(x) {
2896
+ for (const e of x)
2897
2897
  e.replies && e.replies.length > 0 && (e.replies.sort((t, r) => {
2898
2898
  const n = new Date(t.date).getTime(), a = new Date(r.date).getTime();
2899
2899
  return n - a;
2900
- }), $t(e.replies));
2900
+ }), Ut(e.replies));
2901
2901
  }
2902
- function zt(E, e) {
2903
- let t = E.getAttributeNS(Ut, e);
2904
- return t || (t = E.getAttribute(e), t) ? t : (t = E.getAttribute(`w15:${e}`), t || void 0);
2902
+ function zt(x, e) {
2903
+ let t = x.getAttributeNS($t, e);
2904
+ return t || (t = x.getAttribute(e), t) ? t : (t = x.getAttribute(`w15:${e}`), t || void 0);
2905
2905
  }
2906
- function Ae(E, e) {
2907
- const t = zt(E, e);
2906
+ function Ae(x, e) {
2907
+ const t = zt(x, e);
2908
2908
  return t ? t === "1" || t === "true" : !1;
2909
2909
  }
2910
- class Ie {
2910
+ class Re {
2911
2911
  constructor() {
2912
2912
  nt(this, "zip", null);
2913
2913
  nt(this, "relationships", []);
@@ -2923,23 +2923,23 @@ class Ie {
2923
2923
  async parse(e) {
2924
2924
  const t = e instanceof ArrayBuffer ? e : await e.arrayBuffer();
2925
2925
  this.zip = await Yt.loadAsync(t), this.bookmarks = /* @__PURE__ */ new Map(), await this.parseRelationships(), await this.loadImages();
2926
- const r = await this.parseStyles(), n = new Map(r.map((u) => [u.id, u])), a = await this.parseComments(), o = new Map(a.map((u) => [u.id, u])), i = await this.parseCommentsExtended(), c = Te(a, i), { numberings: p, abstractNumberings: f, numberingMap: _ } = await this.parseNumberings();
2926
+ const r = await this.parseStyles(), n = new Map(r.map((u) => [u.id, u])), a = await this.parseComments(), o = new Map(a.map((u) => [u.id, u])), s = await this.parseCommentsExtended(), c = Te(a, s), { numberings: p, abstractNumberings: f, numberingMap: y } = await this.parseNumberings();
2927
2927
  this.theme = await this.parseTheme();
2928
- const g = await this.parseHeadersFooters("header"), h = await this.parseHeadersFooters("footer"), b = await this.parseFootnotes(), d = await this.parseEndnotes();
2928
+ const m = await this.parseHeadersFooters("header"), h = await this.parseHeadersFooters("footer"), b = await this.parseFootnotes(), d = await this.parseEndnotes();
2929
2929
  return this.fontTable = await this.parseFontTable(), this.embeddedFonts = await this.loadEmbeddedFonts(), {
2930
2930
  body: await this.parseDocument(),
2931
2931
  comments: a,
2932
2932
  commentMap: o,
2933
2933
  rootComments: c,
2934
- commentsExtendedMap: i,
2934
+ commentsExtendedMap: s,
2935
2935
  styles: r,
2936
2936
  styleMap: n,
2937
2937
  numberings: p,
2938
- numberingMap: _,
2938
+ numberingMap: y,
2939
2939
  abstractNumberings: f,
2940
2940
  images: this.images,
2941
2941
  relationships: this.relationships,
2942
- headers: g,
2942
+ headers: m,
2943
2943
  footers: h,
2944
2944
  theme: this.theme,
2945
2945
  footnotes: b,
@@ -3004,16 +3004,16 @@ class Ie {
3004
3004
  "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
3005
3005
  "style"
3006
3006
  );
3007
- for (let i = 0; i < n.length; i++) {
3008
- const c = n[i], p = C.element(c, "name"), f = C.element(c, "basedOn"), _ = {
3007
+ for (let s = 0; s < n.length; s++) {
3008
+ const c = n[s], p = C.element(c, "name"), f = C.element(c, "basedOn"), y = {
3009
3009
  id: C.attr(c, "styleId") || "",
3010
3010
  name: p ? C.attr(p, "val") : void 0,
3011
3011
  type: C.attr(c, "type") || "paragraph",
3012
3012
  basedOn: f ? C.attr(f, "val") : void 0
3013
- }, g = C.element(c, "pPr");
3014
- g && (_.paragraphProps = this.parseParagraphProperties(g));
3013
+ }, m = C.element(c, "pPr");
3014
+ m && (y.paragraphProps = this.parseParagraphProperties(m));
3015
3015
  const h = C.element(c, "rPr");
3016
- h && (_.runProps = this.parseRunProperties(h)), r.push(_);
3016
+ h && (y.runProps = this.parseRunProperties(h)), r.push(y);
3017
3017
  }
3018
3018
  return r;
3019
3019
  }
@@ -3057,7 +3057,7 @@ class Ie {
3057
3057
  const r = await ((t = this.zip.file(mt.FONT_TABLE_RELS)) == null ? void 0 : t.async("string"));
3058
3058
  if (!r)
3059
3059
  return console.warn("找不到字体表关系文件"), [];
3060
- const n = xe(r);
3060
+ const n = Ee(r);
3061
3061
  return await fe(this.zip, this.fontTable, n, {
3062
3062
  injectStyles: !0
3063
3063
  });
@@ -3102,14 +3102,14 @@ class Ie {
3102
3102
  t
3103
3103
  );
3104
3104
  for (let o = 0; o < a.length; o++) {
3105
- const i = a[o], c = C.attr(i, "id") || "", p = C.attr(i, "type");
3105
+ const s = a[o], c = C.attr(s, "id") || "", p = C.attr(s, "type");
3106
3106
  if (p === "separator" || p === "continuationSeparator")
3107
3107
  continue;
3108
3108
  const f = {
3109
3109
  type: r,
3110
3110
  id: c,
3111
3111
  noteType: p,
3112
- children: this.parseChildren(i)
3112
+ children: this.parseChildren(s)
3113
3113
  };
3114
3114
  n.set(c, f);
3115
3115
  }
@@ -3134,26 +3134,26 @@ class Ie {
3134
3134
  n.push(this.parseAbstractNumbering(f));
3135
3135
  break;
3136
3136
  case "num":
3137
- const _ = C.attr(f, "numId") || "", g = C.element(f, "abstractNumId");
3138
- if (g) {
3139
- const h = C.attr(g, "val") || "";
3140
- a.set(_, h);
3137
+ const y = C.attr(f, "numId") || "", m = C.element(f, "abstractNumId");
3138
+ if (m) {
3139
+ const h = C.attr(m, "val") || "";
3140
+ a.set(y, h);
3141
3141
  }
3142
3142
  break;
3143
3143
  }
3144
- const o = [], i = /* @__PURE__ */ new Map();
3145
- for (const [f, _] of a) {
3146
- const g = n.find((h) => h.id === _);
3147
- if (g) {
3144
+ const o = [], s = /* @__PURE__ */ new Map();
3145
+ for (const [f, y] of a) {
3146
+ const m = n.find((h) => h.id === y);
3147
+ if (m) {
3148
3148
  const h = {
3149
3149
  id: f,
3150
- abstractNumId: _,
3151
- levels: g.levels.map((b) => ({ ...b }))
3150
+ abstractNumId: y,
3151
+ levels: m.levels.map((b) => ({ ...b }))
3152
3152
  };
3153
- o.push(h), i.set(f, h);
3153
+ o.push(h), s.set(f, h);
3154
3154
  }
3155
3155
  }
3156
- return { numberings: o, abstractNumberings: n, numberingMap: i };
3156
+ return { numberings: o, abstractNumberings: n, numberingMap: s };
3157
3157
  }
3158
3158
  /**
3159
3159
  * 解析抽象编号定义
@@ -3224,17 +3224,17 @@ class Ie {
3224
3224
  * 解析评论
3225
3225
  */
3226
3226
  async parseComments() {
3227
- var o, i, c;
3228
- const e = await ((i = (o = this.zip) == null ? void 0 : o.file(mt.COMMENTS)) == null ? void 0 : i.async("string"));
3227
+ var o, s, c;
3228
+ const e = await ((s = (o = this.zip) == null ? void 0 : o.file(mt.COMMENTS)) == null ? void 0 : s.async("string"));
3229
3229
  if (!e) return [];
3230
3230
  const t = gt(e), r = [], n = t.getElementsByTagNameNS(
3231
3231
  "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
3232
3232
  "comment"
3233
3233
  ), a = "http://schemas.microsoft.com/office/word/2010/wordml";
3234
3234
  for (let p = 0; p < n.length; p++) {
3235
- const f = n[p], _ = ((c = f.textContent) == null ? void 0 : c.trim()) || "";
3236
- let g = f.getAttributeNS(a, "paraId");
3237
- g || (g = f.getAttribute("w14:paraId") || null);
3235
+ const f = n[p], y = ((c = f.textContent) == null ? void 0 : c.trim()) || "";
3236
+ let m = f.getAttributeNS(a, "paraId");
3237
+ m || (m = f.getAttribute("w14:paraId") || null);
3238
3238
  const h = {
3239
3239
  type: X.Comment,
3240
3240
  id: C.attr(f, "id") || "",
@@ -3242,8 +3242,8 @@ class Ie {
3242
3242
  date: C.attr(f, "date") || (/* @__PURE__ */ new Date()).toISOString(),
3243
3243
  initials: C.attr(f, "initials"),
3244
3244
  children: this.parseChildren(f),
3245
- rawText: _,
3246
- paraId: g || void 0
3245
+ rawText: y,
3246
+ paraId: m || void 0
3247
3247
  };
3248
3248
  r.push(h);
3249
3249
  }
@@ -3275,7 +3275,7 @@ class Ie {
3275
3275
  const n = C.element(r, "sectPr"), a = n ? this.parseSectionProperties(n) : void 0, o = t.getElementsByTagNameNS(
3276
3276
  "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
3277
3277
  "document"
3278
- )[0], i = o ? C.element(o, "background") : null, c = i ? this.parseBackground(i) : void 0;
3278
+ )[0], s = o ? C.element(o, "background") : null, c = s ? this.parseBackground(s) : void 0;
3279
3279
  return {
3280
3280
  type: X.Document,
3281
3281
  children: this.parseChildren(r),
@@ -3291,18 +3291,18 @@ class Ie {
3291
3291
  const t = /* @__PURE__ */ new Map(), r = e === "header" ? At.HEADER : At.FOOTER;
3292
3292
  for (const o of this.relationships)
3293
3293
  if (o.type === r) {
3294
- const i = `word/${o.target}`, c = await ((a = (n = this.zip) == null ? void 0 : n.file(i)) == null ? void 0 : a.async("string"));
3294
+ const s = `word/${o.target}`, c = await ((a = (n = this.zip) == null ? void 0 : n.file(s)) == null ? void 0 : a.async("string"));
3295
3295
  if (c) {
3296
3296
  const f = gt(c).getElementsByTagNameNS(
3297
3297
  "http://schemas.openxmlformats.org/wordprocessingml/2006/main",
3298
3298
  e === "header" ? "hdr" : "ftr"
3299
3299
  )[0];
3300
3300
  if (f) {
3301
- const _ = {
3301
+ const y = {
3302
3302
  type: e === "header" ? X.Header : X.Footer,
3303
3303
  children: this.parseChildren(f)
3304
3304
  };
3305
- t.set(o.id, _);
3305
+ t.set(o.id, y);
3306
3306
  }
3307
3307
  }
3308
3308
  }
@@ -3545,8 +3545,8 @@ class Ie {
3545
3545
  r && (t.styleId = C.attr(r, "val"));
3546
3546
  const n = C.element(e, "jc");
3547
3547
  if (n) {
3548
- const _ = C.attr(n, "val");
3549
- (_ === "left" || _ === "center" || _ === "right" || _ === "both") && (t.justification = _);
3548
+ const y = C.attr(n, "val");
3549
+ (y === "left" || y === "center" || y === "right" || y === "both") && (t.justification = y);
3550
3550
  }
3551
3551
  const a = C.element(e, "ind");
3552
3552
  a && (t.indentation = {
@@ -3563,8 +3563,8 @@ class Ie {
3563
3563
  line: C.intAttr(o, "line"),
3564
3564
  lineRule: C.attr(o, "lineRule")
3565
3565
  });
3566
- const i = C.element(e, "pageBreakBefore");
3567
- i && (t.pageBreakBefore = C.boolAttr(i, "val") !== !1);
3566
+ const s = C.element(e, "pageBreakBefore");
3567
+ s && (t.pageBreakBefore = C.boolAttr(s, "val") !== !1);
3568
3568
  const c = C.element(e, "pBdr");
3569
3569
  c && (t.borders = this.parseBorders(c));
3570
3570
  const p = C.element(e, "sectPr");
@@ -3607,7 +3607,7 @@ class Ie {
3607
3607
  * 解析 Run 属性
3608
3608
  */
3609
3609
  parseRunProperties(e) {
3610
- var b, d, y, u;
3610
+ var b, d, _, u;
3611
3611
  const t = {}, r = C.element(e, "rStyle");
3612
3612
  r && (t.styleId = C.attr(r, "val"));
3613
3613
  const n = C.element(e, "b");
@@ -3616,8 +3616,8 @@ class Ie {
3616
3616
  a && (t.italic = C.attr(a, "val") !== "0");
3617
3617
  const o = C.element(e, "u");
3618
3618
  o && (t.underline = C.attr(o, "val") || "single");
3619
- const i = C.element(e, "strike");
3620
- i && (t.strike = C.attr(i, "val") !== "0");
3619
+ const s = C.element(e, "strike");
3620
+ s && (t.strike = C.attr(s, "val") !== "0");
3621
3621
  const c = C.element(e, "dstrike");
3622
3622
  c && (t.dstrike = C.attr(c, "val") !== "0");
3623
3623
  const p = C.element(e, "vertAlign");
@@ -3627,11 +3627,11 @@ class Ie {
3627
3627
  }
3628
3628
  const f = C.element(e, "color");
3629
3629
  if (f) {
3630
- const v = C.attr(f, "val"), x = C.attr(f, "themeColor");
3631
- if (x) {
3630
+ const v = C.attr(f, "val"), E = C.attr(f, "themeColor");
3631
+ if (E) {
3632
3632
  const A = C.attr(f, "themeTint"), T = C.attr(f, "themeShade");
3633
3633
  if (t.themeColor = {
3634
- themeColor: x,
3634
+ themeColor: E,
3635
3635
  themeTint: A ? parseInt(A, 16) : void 0,
3636
3636
  themeShade: T ? parseInt(T, 16) : void 0
3637
3637
  }, this.theme) {
@@ -3640,24 +3640,24 @@ class Ie {
3640
3640
  }
3641
3641
  } else v && v !== "auto" && (t.color = `#${v}`);
3642
3642
  }
3643
- const _ = C.element(e, "sz");
3644
- _ && (t.fontSize = C.lengthAttr(_, "val", wt.FontSize));
3645
- const g = C.element(e, "rFonts");
3646
- if (g) {
3647
- const v = C.attr(g, "asciiTheme"), x = C.attr(g, "eastAsiaTheme");
3648
- if (v || x) {
3649
- const A = v || x || "";
3643
+ const y = C.element(e, "sz");
3644
+ y && (t.fontSize = C.lengthAttr(y, "val", wt.FontSize));
3645
+ const m = C.element(e, "rFonts");
3646
+ if (m) {
3647
+ const v = C.attr(m, "asciiTheme"), E = C.attr(m, "eastAsiaTheme");
3648
+ if (v || E) {
3649
+ const A = v || E || "";
3650
3650
  if (A.startsWith("major")) {
3651
3651
  if (t.themeFontFamily = "major", (d = (b = this.theme) == null ? void 0 : b.fontScheme) != null && d.majorFont) {
3652
3652
  const T = A.includes("EastAsia") ? this.theme.fontScheme.majorFont.ea : this.theme.fontScheme.majorFont.latin;
3653
3653
  T && (t.fontFamily = T);
3654
3654
  }
3655
- } else if (A.startsWith("minor") && (t.themeFontFamily = "minor", (u = (y = this.theme) == null ? void 0 : y.fontScheme) != null && u.minorFont)) {
3655
+ } else if (A.startsWith("minor") && (t.themeFontFamily = "minor", (u = (_ = this.theme) == null ? void 0 : _.fontScheme) != null && u.minorFont)) {
3656
3656
  const T = A.includes("EastAsia") ? this.theme.fontScheme.minorFont.ea : this.theme.fontScheme.minorFont.latin;
3657
3657
  T && (t.fontFamily = T);
3658
3658
  }
3659
3659
  }
3660
- t.fontFamily || (t.fontFamily = C.attr(g, "ascii") || C.attr(g, "eastAsia") || C.attr(g, "hAnsi"));
3660
+ t.fontFamily || (t.fontFamily = C.attr(m, "ascii") || C.attr(m, "eastAsia") || C.attr(m, "hAnsi"));
3661
3661
  }
3662
3662
  const h = C.element(e, "highlight");
3663
3663
  return h && (t.highlight = C.attr(h, "val")), t;
@@ -3918,14 +3918,14 @@ class Ie {
3918
3918
  "embed"
3919
3919
  );
3920
3920
  if (o && this.images.has(o)) {
3921
- const i = e.getElementsByTagNameNS(
3921
+ const s = e.getElementsByTagNameNS(
3922
3922
  "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",
3923
3923
  "extent"
3924
3924
  )[0];
3925
3925
  let c, p;
3926
- if (i) {
3927
- const f = i.getAttribute("cx"), _ = i.getAttribute("cy");
3928
- f && (c = C.convertLength(f, wt.Emu)), _ && (p = C.convertLength(_, wt.Emu));
3926
+ if (s) {
3927
+ const f = s.getAttribute("cx"), y = s.getAttribute("cy");
3928
+ f && (c = C.convertLength(f, wt.Emu)), y && (p = C.convertLength(y, wt.Emu));
3929
3929
  }
3930
3930
  t.push({
3931
3931
  type: X.Image,
@@ -4010,7 +4010,7 @@ class Ie {
4010
4010
  };
4011
4011
  }
4012
4012
  }
4013
- class Fe {
4013
+ class Ie {
4014
4014
  // 尾注编号计数器
4015
4015
  constructor(e) {
4016
4016
  nt(this, "document", null);
@@ -4068,7 +4068,9 @@ class Fe {
4068
4068
  onCommentClick: e.onCommentClick || (() => {
4069
4069
  }),
4070
4070
  onCommentChange: e.onCommentChange || (() => {
4071
- })
4071
+ }),
4072
+ onCommentAccept: e.onCommentAccept,
4073
+ onCommentReject: e.onCommentReject
4072
4074
  };
4073
4075
  }
4074
4076
  /**
@@ -4112,38 +4114,38 @@ class Fe {
4112
4114
  renderWithPages(e, t) {
4113
4115
  const r = t.body, n = r.sectionProps, a = this.splitBySection(r.children || [], n), o = this.groupByPageBreaks(a);
4114
4116
  this.totalPages = o.length;
4115
- let i;
4117
+ let s;
4116
4118
  for (let c = 0; c < o.length; c++) {
4117
4119
  this.currentPageNumber = c + 1;
4118
4120
  const p = this.currentFootnoteIds.length, f = o[c];
4119
4121
  if (f.length === 0) continue;
4120
- let g = f[0].sectProps || n;
4121
- const h = this.createPageElement(g);
4122
- g != null && g.headerRefs && this.renderHeaderFooter(
4123
- g.headerRefs,
4124
- g,
4122
+ let m = f[0].sectProps || n;
4123
+ const h = this.createPageElement(m);
4124
+ m != null && m.headerRefs && this.renderHeaderFooter(
4125
+ m.headerRefs,
4126
+ m,
4125
4127
  c,
4126
- i !== g,
4128
+ s !== m,
4127
4129
  h,
4128
4130
  "header"
4129
4131
  );
4130
4132
  for (const d of f) {
4131
- const y = this.createSectionContent(d.sectProps);
4133
+ const _ = this.createSectionContent(d.sectProps);
4132
4134
  for (const u of d.elements) {
4133
4135
  const v = this.renderElement(u);
4134
- v && y.appendChild(v);
4136
+ v && _.appendChild(v);
4135
4137
  }
4136
- h.appendChild(y), g = d.sectProps || g;
4138
+ h.appendChild(_), m = d.sectProps || m;
4137
4139
  }
4138
4140
  const b = this.currentFootnoteIds.slice(p);
4139
- this.renderPageFootnotes(b, h), g != null && g.footerRefs && this.renderHeaderFooter(
4140
- g.footerRefs,
4141
- g,
4141
+ this.renderPageFootnotes(b, h), m != null && m.footerRefs && this.renderHeaderFooter(
4142
+ m.footerRefs,
4143
+ m,
4142
4144
  c,
4143
- i !== g,
4145
+ s !== m,
4144
4146
  h,
4145
4147
  "footer"
4146
- ), e.appendChild(h), i = g;
4148
+ ), e.appendChild(h), s = m;
4147
4149
  }
4148
4150
  this.renderDocumentEndnotes(e);
4149
4151
  }
@@ -4151,27 +4153,27 @@ class Fe {
4151
4153
  * 按 Section 分割内容
4152
4154
  */
4153
4155
  splitBySection(e, t) {
4154
- var o, i;
4156
+ var o, s;
4155
4157
  const r = [];
4156
4158
  let n = { sectProps: null, elements: [], pageBreak: !1 };
4157
4159
  r.push(n);
4158
4160
  for (const c of e)
4159
4161
  if (c.type === X.Paragraph && (o = c.props) != null && o.pageBreakBefore && (n.pageBreak = !0, n = { sectProps: null, elements: [], pageBreak: !1 }, r.push(n)), n.elements.push(c), c.type === X.Paragraph) {
4160
- const p = c, f = (i = p.props) == null ? void 0 : i.sectionProps;
4161
- let _ = !1;
4162
- const g = (h) => {
4162
+ const p = c, f = (s = p.props) == null ? void 0 : s.sectionProps;
4163
+ let y = !1;
4164
+ const m = (h) => {
4163
4165
  for (const b of h) {
4164
4166
  if (b.type === X.Break) {
4165
4167
  const d = b;
4166
4168
  if (d.breakType === "page" || d.breakType === "lastRenderedPageBreak") {
4167
- _ = !0;
4169
+ y = !0;
4168
4170
  return;
4169
4171
  }
4170
4172
  }
4171
- b.type === X.Run && b.children && g(b.children);
4173
+ b.type === X.Run && b.children && m(b.children);
4172
4174
  }
4173
4175
  };
4174
- this.options.breakPages && p.children && g(p.children), (f || _) && (n.sectProps = f || null, n.pageBreak = _, n = { sectProps: null, elements: [], pageBreak: !1 }, r.push(n));
4176
+ this.options.breakPages && p.children && m(p.children), (f || y) && (n.sectProps = f || null, n.pageBreak = y, n = { sectProps: null, elements: [], pageBreak: !1 }, r.push(n));
4175
4177
  }
4176
4178
  let a = null;
4177
4179
  for (let c = r.length - 1; c >= 0; c--)
@@ -4224,11 +4226,11 @@ class Fe {
4224
4226
  * 渲染页眉或页脚
4225
4227
  */
4226
4228
  renderHeaderFooter(e, t, r, n, a, o) {
4227
- var _, g;
4229
+ var y, m;
4228
4230
  if (!e || e.length === 0) return;
4229
- let i = null;
4230
- if (t.titlePage && n && (i = e.find((h) => h.type === "first")), i || r % 2 === 1 && (i = e.find((h) => h.type === "even")), i || (i = e.find((h) => h.type === "default")), !i) return;
4231
- const c = o === "header" ? (_ = this.document) == null ? void 0 : _.headers : (g = this.document) == null ? void 0 : g.footers, p = c == null ? void 0 : c.get(i.id);
4231
+ let s = null;
4232
+ if (t.titlePage && n && (s = e.find((h) => h.type === "first")), s || r % 2 === 1 && (s = e.find((h) => h.type === "even")), s || (s = e.find((h) => h.type === "default")), !s) return;
4233
+ const c = o === "header" ? (y = this.document) == null ? void 0 : y.headers : (m = this.document) == null ? void 0 : m.footers, p = c == null ? void 0 : c.get(s.id);
4232
4234
  if (!p) return;
4233
4235
  const f = this.createElement("div", `${this.classPrefix}-${o}`);
4234
4236
  for (const h of p.children || []) {
@@ -4272,18 +4274,19 @@ class Fe {
4272
4274
  * 原文不可见时隐藏评论
4273
4275
  */
4274
4276
  positionCommentBubbles() {
4275
- const e = [], r = window.innerHeight - 40;
4276
- for (const [, a] of this.commentRanges) {
4277
- if (!a.panelElement || a.highlightElements.length === 0) continue;
4278
- const i = a.highlightElements[0].getBoundingClientRect(), c = i.top + i.height / 2;
4279
- c > 60 && c < r ? (e.push({ range: a, top: i.top }), a.panelElement.style.display = "block") : a.panelElement.style.display = "none";
4277
+ const e = this.container.querySelector(`.${this.classPrefix}-comments-layer`), t = this.container.querySelector(`.${this.classPrefix}-page`);
4278
+ if (e && t) {
4279
+ const o = t.getBoundingClientRect();
4280
+ e.style.left = `${o.right + 10}px`;
4280
4281
  }
4281
- e.sort((a, o) => a.top - o.top);
4282
- let n = 60;
4283
- for (const { range: a, top: o } of e) {
4284
- let i = Math.max(o, n + 8);
4285
- i = Math.min(i, r - 100), a.panelElement.style.top = `${i}px`, n = i + a.panelElement.offsetHeight;
4282
+ const r = [], n = 60, a = window.innerHeight - 40;
4283
+ for (const [, o] of this.commentRanges) {
4284
+ if (!o.panelElement || o.highlightElements.length === 0) continue;
4285
+ const c = o.highlightElements[0].getBoundingClientRect(), p = c.top + c.height / 2;
4286
+ p > n && p < a ? (r.push({ range: o, top: c.top }), o.panelElement.style.display = "block") : o.panelElement.style.display = "none";
4286
4287
  }
4288
+ for (const { range: o, top: s } of r)
4289
+ o.panelElement.style.top = `${s}px`;
4287
4290
  }
4288
4291
  /**
4289
4292
  * 创建 SVG 连线层
@@ -4310,8 +4313,8 @@ class Fe {
4310
4313
  drawCommentLine(e, t) {
4311
4314
  const r = this.commentRanges.get(e);
4312
4315
  if (!r || !r.highlightElements.length || !r.panelElement || !this.svgLayer || r.panelElement.style.display === "none") return;
4313
- const n = r.highlightElements[0].getBoundingClientRect(), a = r.panelElement.getBoundingClientRect(), o = n.right, i = n.top + n.height / 2, c = a.left, p = a.top + 16, f = document.createElementNS("http://www.w3.org/2000/svg", "line");
4314
- f.setAttribute("x1", String(o)), f.setAttribute("y1", String(i)), f.setAttribute("x2", String(c)), f.setAttribute("y2", String(p)), f.setAttribute("stroke", "#ef4444"), f.setAttribute("stroke-width", t ? "2" : "1"), this.svgLayer.appendChild(f);
4316
+ const n = r.highlightElements[0].getBoundingClientRect(), a = r.panelElement.getBoundingClientRect(), o = n.right, s = n.top + n.height / 2, c = a.left, p = s, f = document.createElementNS("http://www.w3.org/2000/svg", "line");
4317
+ f.setAttribute("x1", String(o)), f.setAttribute("y1", String(s)), f.setAttribute("x2", String(c)), f.setAttribute("y2", String(p)), f.setAttribute("stroke", "#ef4444"), f.setAttribute("stroke-width", t ? "2" : "1"), this.svgLayer.appendChild(f);
4315
4318
  }
4316
4319
  /**
4317
4320
  * 渲染元素
@@ -4392,17 +4395,17 @@ class Fe {
4392
4395
  * 渲染编号
4393
4396
  */
4394
4397
  renderNumbering(e) {
4395
- var f, _;
4398
+ var f, y;
4396
4399
  if (!(e != null && e.numbering) || !((f = this.document) != null && f.numberingMap))
4397
4400
  return null;
4398
4401
  const { id: t, level: r } = e.numbering, n = this.document.numberingMap.get(t);
4399
4402
  if (!n)
4400
4403
  return null;
4401
- const a = n.levels.find((g) => g.level === r);
4404
+ const a = n.levels.find((m) => m.level === r);
4402
4405
  if (!a)
4403
4406
  return null;
4404
- const o = this.getNumberingContent(n, a, t, r), i = this.createElement("span", `${this.classPrefix}-numbering`);
4405
- i.textContent = o, a.runProps && this.applyRunStyles(i, a.runProps);
4407
+ const o = this.getNumberingContent(n, a, t, r), s = this.createElement("span", `${this.classPrefix}-numbering`);
4408
+ s.textContent = o, a.runProps && this.applyRunStyles(s, a.runProps);
4406
4409
  const c = this.createElement("span", `${this.classPrefix}-numbering-suffix`);
4407
4410
  switch (a.suffix) {
4408
4411
  case "tab":
@@ -4413,9 +4416,9 @@ class Fe {
4413
4416
  break;
4414
4417
  }
4415
4418
  const p = this.createElement("span", `${this.classPrefix}-numbering-wrapper`);
4416
- if (p.appendChild(i), p.appendChild(c), (_ = a.paragraphProps) != null && _.indentation) {
4417
- const g = a.paragraphProps.indentation;
4418
- g.left && (p.style.marginLeft = g.left), g.hanging && (p.style.textIndent = `-${g.hanging}`, p.style.paddingLeft = g.hanging);
4419
+ if (p.appendChild(s), p.appendChild(c), (y = a.paragraphProps) != null && y.indentation) {
4420
+ const m = a.paragraphProps.indentation;
4421
+ m.left && (p.style.marginLeft = m.left), m.hanging && (p.style.textIndent = `-${m.hanging}`, p.style.paddingLeft = m.hanging);
4419
4422
  }
4420
4423
  return p;
4421
4424
  }
@@ -4426,14 +4429,14 @@ class Fe {
4426
4429
  const a = t.format, o = t.text;
4427
4430
  if (a === "bullet")
4428
4431
  return o || "•";
4429
- const i = `${r}-${n}`;
4430
- let c = this.numberingCounters.get(i) ?? t.start - 1;
4431
- c++, this.numberingCounters.set(i, c);
4432
+ const s = `${r}-${n}`;
4433
+ let c = this.numberingCounters.get(s) ?? t.start - 1;
4434
+ c++, this.numberingCounters.set(s, c);
4432
4435
  for (let f = n + 1; f <= 8; f++)
4433
4436
  this.numberingCounters.delete(`${r}-${f}`);
4434
4437
  let p = o;
4435
4438
  for (let f = 0; f <= n; f++) {
4436
- const _ = this.numberingCounters.get(`${r}-${f}`) ?? 1, g = e.levels.find((d) => d.level === f), h = (g == null ? void 0 : g.format) || "decimal", b = this.formatNumber(_, h);
4439
+ const y = this.numberingCounters.get(`${r}-${f}`) ?? 1, m = e.levels.find((d) => d.level === f), h = (m == null ? void 0 : m.format) || "decimal", b = this.formatNumber(y, h);
4437
4440
  p = p.replace(`%${f + 1}`, b);
4438
4441
  }
4439
4442
  return p;
@@ -4528,7 +4531,28 @@ class Fe {
4528
4531
  createCommentBubble(e) {
4529
4532
  const t = this.createElement("div", `${this.classPrefix}-comment-bubble`);
4530
4533
  t.dataset.commentId = e.id;
4531
- const r = e.initials || e.author.charAt(0).toUpperCase(), n = this.formatDate(e.date), a = this.getCommentText(e);
4534
+ const r = e.initials || e.author.charAt(0).toUpperCase(), n = this.formatDate(e.date), a = this.getCommentText(e), s = this.options.enableCommentEdit || this.options.onCommentAccept || this.options.onCommentReject ? `
4535
+ <div class="${this.classPrefix}-comment-actions">
4536
+ ${this.options.onCommentAccept ? `
4537
+ <button class="${this.classPrefix}-comment-btn accept" title="接受建议">
4538
+ <svg viewBox="0 0 24 24" width="14" height="14"><path fill="currentColor" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>
4539
+ </button>
4540
+ ` : ""}
4541
+ ${this.options.onCommentReject ? `
4542
+ <button class="${this.classPrefix}-comment-btn reject" title="拒绝建议">
4543
+ <svg viewBox="0 0 24 24" width="14" height="14"><path fill="currentColor" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>
4544
+ </button>
4545
+ ` : ""}
4546
+ ${this.options.enableCommentEdit ? `
4547
+ <button class="${this.classPrefix}-comment-btn edit" title="编辑">
4548
+ <svg viewBox="0 0 24 24" width="14" height="14"><path fill="currentColor" d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>
4549
+ </button>
4550
+ <button class="${this.classPrefix}-comment-btn delete" title="删除">
4551
+ <svg viewBox="0 0 24 24" width="14" height="14"><path fill="currentColor" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/></svg>
4552
+ </button>
4553
+ ` : ""}
4554
+ </div>
4555
+ ` : "";
4532
4556
  t.innerHTML = `
4533
4557
  <div class="${this.classPrefix}-comment-header">
4534
4558
  <div class="${this.classPrefix}-comment-avatar">${this.escapeHtml(r)}</div>
@@ -4538,26 +4562,27 @@ class Fe {
4538
4562
  </div>
4539
4563
  </div>
4540
4564
  <div class="${this.classPrefix}-comment-content">${this.escapeHtml(a)}</div>
4541
- ${this.options.enableCommentEdit ? `
4542
- <div class="${this.classPrefix}-comment-actions">
4543
- <button class="${this.classPrefix}-comment-btn edit" title="编辑">
4544
- <svg viewBox="0 0 24 24" width="14" height="14"><path fill="currentColor" d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>
4545
- </button>
4546
- <button class="${this.classPrefix}-comment-btn delete" title="删除">
4547
- <svg viewBox="0 0 24 24" width="14" height="14"><path fill="currentColor" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/></svg>
4548
- </button>
4549
- </div>
4550
- ` : ""}
4565
+ ${s}
4551
4566
  `, t.addEventListener("mouseenter", () => this.highlightComment(e.id)), t.addEventListener("mouseleave", () => this.unhighlightComment(e.id)), t.addEventListener("click", () => {
4552
4567
  this.selectComment(e.id), this.options.onCommentClick(e);
4553
4568
  });
4554
- const o = t.querySelector(".edit");
4555
- o == null || o.addEventListener("click", (c) => {
4556
- c.stopPropagation(), this.editComment(e);
4569
+ const c = t.querySelector(".accept");
4570
+ c == null || c.addEventListener("click", (m) => {
4571
+ var h, b;
4572
+ m.stopPropagation(), (b = (h = this.options).onCommentAccept) == null || b.call(h, e);
4557
4573
  });
4558
- const i = t.querySelector(".delete");
4559
- return i == null || i.addEventListener("click", (c) => {
4560
- c.stopPropagation(), this.deleteComment(e.id);
4574
+ const p = t.querySelector(".reject");
4575
+ p == null || p.addEventListener("click", (m) => {
4576
+ var h, b;
4577
+ m.stopPropagation(), (b = (h = this.options).onCommentReject) == null || b.call(h, e);
4578
+ });
4579
+ const f = t.querySelector(".edit");
4580
+ f == null || f.addEventListener("click", (m) => {
4581
+ m.stopPropagation(), this.editComment(e);
4582
+ });
4583
+ const y = t.querySelector(".delete");
4584
+ return y == null || y.addEventListener("click", (m) => {
4585
+ m.stopPropagation(), this.deleteComment(e.id);
4561
4586
  }), t;
4562
4587
  }
4563
4588
  /**
@@ -4608,9 +4633,9 @@ class Fe {
4608
4633
  if (r !== null && r !== t) {
4609
4634
  const n = { type: X.Text, text: r }, a = { type: X.Run, children: [n] }, o = { type: X.Paragraph, children: [a] };
4610
4635
  e.children = [o];
4611
- const i = this.commentRanges.get(e.id);
4612
- if (i != null && i.panelElement) {
4613
- const c = i.panelElement.querySelector(`.${this.classPrefix}-comment-content`);
4636
+ const s = this.commentRanges.get(e.id);
4637
+ if (s != null && s.panelElement) {
4638
+ const c = s.panelElement.querySelector(`.${this.classPrefix}-comment-content`);
4614
4639
  c && (c.textContent = r);
4615
4640
  }
4616
4641
  this.options.onCommentChange(e, "update");
@@ -4841,18 +4866,18 @@ class Fe {
4841
4866
  var n, a, o;
4842
4867
  const t = this.createElement("table", `${this.classPrefix}-table`);
4843
4868
  if (this.tableVerticalMerges.push(this.currentVerticalMerge), this.currentVerticalMerge = /* @__PURE__ */ new Map(), this.tableBordersStack.push(this.currentTableBorders), this.currentTableBorders = (n = e.props) == null ? void 0 : n.borders, this.currentTableRowCount = ((a = e.children) == null ? void 0 : a.length) || 0, this.currentTableColCount = ((o = e.columns) == null ? void 0 : o.length) || 0, this.currentTableRowIndex = 0, e.columns && e.columns.length > 0) {
4844
- const i = document.createElement("colgroup");
4869
+ const s = document.createElement("colgroup");
4845
4870
  for (const c of e.columns) {
4846
4871
  const p = document.createElement("col");
4847
- c.width && (p.style.width = c.width), i.appendChild(p);
4872
+ c.width && (p.style.width = c.width), s.appendChild(p);
4848
4873
  }
4849
- t.appendChild(i);
4874
+ t.appendChild(s);
4850
4875
  }
4851
4876
  e.props && this.applyTableStyles(t, e.props);
4852
4877
  const r = document.createElement("tbody");
4853
- for (const i of e.children || []) {
4878
+ for (const s of e.children || []) {
4854
4879
  this.currentCellCol = 0;
4855
- const c = this.renderTableRow(i);
4880
+ const c = this.renderTableRow(s);
4856
4881
  r.appendChild(c), this.currentTableRowIndex++;
4857
4882
  }
4858
4883
  return t.appendChild(r), this.currentVerticalMerge = this.tableVerticalMerges.pop() || /* @__PURE__ */ new Map(), this.currentTableBorders = this.tableBordersStack.pop(), t;
@@ -4942,11 +4967,11 @@ class Fe {
4942
4967
  * 应用单元格边框样式
4943
4968
  */
4944
4969
  applyCellBorders(e, t, r, n, a) {
4945
- const o = this.currentTableBorders, i = r === 0, c = r === this.currentTableRowCount - 1, p = n === 0, f = n + a >= this.currentTableColCount;
4946
- let _ = t == null ? void 0 : t.top;
4947
- _ || (i ? _ = o == null ? void 0 : o.top : _ = o == null ? void 0 : o.insideH), _ && (e.style.borderTop = this.borderToCss(_));
4948
- let g = t == null ? void 0 : t.bottom;
4949
- g || (c ? g = o == null ? void 0 : o.bottom : g = o == null ? void 0 : o.insideH), g && (e.style.borderBottom = this.borderToCss(g));
4970
+ const o = this.currentTableBorders, s = r === 0, c = r === this.currentTableRowCount - 1, p = n === 0, f = n + a >= this.currentTableColCount;
4971
+ let y = t == null ? void 0 : t.top;
4972
+ y || (s ? y = o == null ? void 0 : o.top : y = o == null ? void 0 : o.insideH), y && (e.style.borderTop = this.borderToCss(y));
4973
+ let m = t == null ? void 0 : t.bottom;
4974
+ m || (c ? m = o == null ? void 0 : o.bottom : m = o == null ? void 0 : o.insideH), m && (e.style.borderBottom = this.borderToCss(m));
4950
4975
  let h = t == null ? void 0 : t.left;
4951
4976
  h || (p ? h = o == null ? void 0 : o.left : h = o == null ? void 0 : o.insideV), h && (e.style.borderLeft = this.borderToCss(h));
4952
4977
  let b = t == null ? void 0 : t.right;
@@ -5099,8 +5124,8 @@ class Fe {
5099
5124
  const r = this.createElement("div", `${this.classPrefix}-footnotes-section`), n = this.createElement("hr", `${this.classPrefix}-footnotes-separator`);
5100
5125
  r.appendChild(n);
5101
5126
  const a = this.createElement("ol", `${this.classPrefix}-footnotes-list`);
5102
- for (const i of e) {
5103
- const c = this.document.footnotes.get(i);
5127
+ for (const s of e) {
5128
+ const c = this.document.footnotes.get(s);
5104
5129
  if (c) {
5105
5130
  const p = this.renderFootnote(c);
5106
5131
  a.appendChild(p);
@@ -5118,9 +5143,9 @@ class Fe {
5118
5143
  r.textContent = "尾注", t.appendChild(r);
5119
5144
  const n = this.createElement("ol", `${this.classPrefix}-endnotes-list`);
5120
5145
  for (const o of this.currentEndnoteIds) {
5121
- const i = this.document.endnotes.get(o);
5122
- if (i) {
5123
- const c = this.renderEndnote(i);
5146
+ const s = this.document.endnotes.get(o);
5147
+ if (s) {
5148
+ const c = this.renderEndnote(s);
5124
5149
  n.appendChild(c);
5125
5150
  }
5126
5151
  }
@@ -5170,18 +5195,24 @@ class Fe {
5170
5195
  return this.document;
5171
5196
  }
5172
5197
  }
5173
- class Re {
5198
+ console.log("[docx-render] 模块开始加载...");
5199
+ console.log("[docx-render] DocumentParser 已导入");
5200
+ console.log("[docx-render] DocumentRenderer 已导入");
5201
+ console.log("[docx-render] types 已导入");
5202
+ console.log("[docx-render] 开始导入样式...");
5203
+ console.log("[docx-render] 样式导入完成");
5204
+ class Pe {
5174
5205
  constructor(e) {
5175
5206
  nt(this, "parser");
5176
5207
  nt(this, "renderer");
5177
5208
  nt(this, "document", null);
5178
- this.parser = new Ie(), this.renderer = new Fe(e);
5209
+ console.log("[docx-render] DocxRender 构造函数被调用"), this.parser = new Re(), this.renderer = new Ie(e);
5179
5210
  }
5180
5211
  /**
5181
5212
  * 渲染 DOCX 文件
5182
5213
  */
5183
5214
  async render(e) {
5184
- this.document = await this.parser.parse(e), this.renderer.render(this.document);
5215
+ console.log("[docx-render] DocxRender.render() 开始"), this.document = await this.parser.parse(e), console.log("[docx-render] 文档解析完成,开始渲染"), this.renderer.render(this.document), console.log("[docx-render] DocxRender.render() 完成");
5185
5216
  }
5186
5217
  /**
5187
5218
  * 获取文档对象
@@ -5203,20 +5234,22 @@ class Re {
5203
5234
  return this.parser;
5204
5235
  }
5205
5236
  }
5206
- async function Ue(E, e, t) {
5207
- const r = new Re({
5237
+ async function $e(x, e, t) {
5238
+ console.log("[docx-render] renderDocx() 被调用");
5239
+ const r = new Pe({
5208
5240
  container: e,
5209
5241
  ...t
5210
5242
  });
5211
- return await r.render(E), r;
5243
+ return await r.render(x), r;
5212
5244
  }
5245
+ console.log("[docx-render] 模块加载完成!");
5213
5246
  export {
5214
5247
  mt as DOCX_PARTS,
5215
- Ie as DocumentParser,
5216
- Fe as DocumentRenderer,
5217
- Re as DocxRender,
5248
+ Re as DocumentParser,
5249
+ Ie as DocumentRenderer,
5250
+ Pe as DocxRender,
5218
5251
  X as DomType,
5219
- Kt as XML_NS,
5252
+ qt as XML_NS,
5220
5253
  ie as applyTintShade,
5221
5254
  Te as buildCommentTree,
5222
5255
  De as buildFontFamily,
@@ -5229,7 +5262,7 @@ export {
5229
5262
  Se as parseCommentsExtended,
5230
5263
  ae as parseFontTable,
5231
5264
  Jt as parseTheme,
5232
- Ue as renderDocx,
5265
+ $e as renderDocx,
5233
5266
  ne as resolveThemeColor,
5234
5267
  ze as resolveThemeFont
5235
5268
  };