@expofp/loader 1.0.61 → 1.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/bundle/bundle.js +125 -110
  2. package/dist/bundle/bundle.js.map +1 -1
  3. package/dist/bundle/{downloadZip-CohB2rQN.js → downloadOfflineZip-B8tTyZYe.js} +1001 -995
  4. package/dist/bundle/downloadOfflineZip-B8tTyZYe.js.map +1 -0
  5. package/dist/bundle/{makeOffline-DuRXI_Dd.js → makeOffline-DH6wJEem.js} +37 -37
  6. package/dist/bundle/makeOffline-DH6wJEem.js.map +1 -0
  7. package/dist/bundle/makeOfflineBundle-C-xleVMN.js +58 -0
  8. package/dist/bundle/makeOfflineBundle-C-xleVMN.js.map +1 -0
  9. package/dist/bundle/saveOfflineZip.browser-BTQeRUY_.js +7 -0
  10. package/dist/bundle/saveOfflineZip.browser-BTQeRUY_.js.map +1 -0
  11. package/dist/esm/importJson.js +4 -0
  12. package/dist/esm/index.d.ts +1 -1
  13. package/dist/esm/index.js +1 -1
  14. package/dist/esm/offline/downloadOfflineZip.d.ts +4 -0
  15. package/dist/esm/offline/downloadOfflineZip.js +15 -0
  16. package/dist/esm/offline/generateZip.d.ts +4 -0
  17. package/dist/esm/offline/{downloadZip.js → generateZip.js} +9 -8
  18. package/dist/esm/offline/index.d.ts +9 -1
  19. package/dist/esm/offline/index.js +12 -4
  20. package/dist/esm/offline/makeOffline.js +3 -2
  21. package/dist/esm/offline/makeOfflineBundle.js +19 -8
  22. package/dist/esm/offline/saveOfflineZip.browser.d.ts +1 -0
  23. package/dist/esm/offline/saveOfflineZip.browser.js +3 -0
  24. package/dist/esm/offline/saveOfflineZip.d.ts +1 -0
  25. package/dist/esm/offline/saveOfflineZip.js +16 -0
  26. package/dist/esm/offline/tools.js +4 -4
  27. package/dist/esm/resolve.d.ts +11 -4
  28. package/dist/esm/resolve.js +6 -34
  29. package/dist/esm/resolvers/legacyAssetUrlsResolver.js +12 -1
  30. package/package.json +10 -2
  31. package/dist/bundle/downloadZip-CohB2rQN.js.map +0 -1
  32. package/dist/bundle/makeOffline-DuRXI_Dd.js.map +0 -1
  33. package/dist/bundle/makeOfflineBundle-XjvmvDQE.js +0 -58
  34. package/dist/bundle/makeOfflineBundle-XjvmvDQE.js.map +0 -1
  35. package/dist/esm/offline/downloadZip.d.ts +0 -1
@@ -1,127 +1,127 @@
1
- import { c as vt, g as Ot, l as Bt } from "./bundle.js";
2
- import { makeOfflineBundle as Rt } from "./makeOfflineBundle-XjvmvDQE.js";
3
- function yt(ct) {
1
+ import { c as yt, g as Bt, d as Rt } from "./bundle.js";
2
+ import { makeOfflineBundle as Tt } from "./makeOfflineBundle-C-xleVMN.js";
3
+ function wt(ct) {
4
4
  throw new Error('Could not dynamically require "' + ct + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
5
5
  }
6
6
  var xt = { exports: {} };
7
- var Ct;
8
- function Tt() {
9
- return Ct || (Ct = 1, (function(ct, wt) {
10
- (function(b) {
11
- ct.exports = b();
7
+ var Et;
8
+ function Dt() {
9
+ return Et || (Et = 1, (function(ct, pt) {
10
+ (function(_) {
11
+ ct.exports = _();
12
12
  })(function() {
13
- return (function b(U, w, l) {
14
- function o(_, y) {
15
- if (!w[_]) {
16
- if (!U[_]) {
17
- var p = typeof yt == "function" && yt;
18
- if (!y && p) return p(_, !0);
19
- if (n) return n(_, !0);
20
- var g = new Error("Cannot find module '" + _ + "'");
21
- throw g.code = "MODULE_NOT_FOUND", g;
13
+ return (function _(N, k, o) {
14
+ function u(g, y) {
15
+ if (!k[g]) {
16
+ if (!N[g]) {
17
+ var p = typeof wt == "function" && wt;
18
+ if (!y && p) return p(g, !0);
19
+ if (n) return n(g, !0);
20
+ var b = new Error("Cannot find module '" + g + "'");
21
+ throw b.code = "MODULE_NOT_FOUND", b;
22
22
  }
23
- var i = w[_] = { exports: {} };
24
- U[_][0].call(i.exports, function(d) {
25
- var r = U[_][1][d];
26
- return o(r || d);
27
- }, i, i.exports, b, U, w, l);
23
+ var i = k[g] = { exports: {} };
24
+ N[g][0].call(i.exports, function(d) {
25
+ var r = N[g][1][d];
26
+ return u(r || d);
27
+ }, i, i.exports, _, N, k, o);
28
28
  }
29
- return w[_].exports;
30
- }
31
- for (var n = typeof yt == "function" && yt, u = 0; u < l.length; u++) o(l[u]);
32
- return o;
33
- })({ 1: [function(b, U, w) {
34
- var l = b("./utils"), o = b("./support"), n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
35
- w.encode = function(u) {
36
- for (var _, y, p, g, i, d, r, h = [], a = 0, c = u.length, v = c, S = l.getTypeOf(u) !== "string"; a < u.length; ) v = c - a, p = S ? (_ = u[a++], y = a < c ? u[a++] : 0, a < c ? u[a++] : 0) : (_ = u.charCodeAt(a++), y = a < c ? u.charCodeAt(a++) : 0, a < c ? u.charCodeAt(a++) : 0), g = _ >> 2, i = (3 & _) << 4 | y >> 4, d = 1 < v ? (15 & y) << 2 | p >> 6 : 64, r = 2 < v ? 63 & p : 64, h.push(n.charAt(g) + n.charAt(i) + n.charAt(d) + n.charAt(r));
37
- return h.join("");
38
- }, w.decode = function(u) {
39
- var _, y, p, g, i, d, r = 0, h = 0, a = "data:";
40
- if (u.substr(0, a.length) === a) throw new Error("Invalid base64 input, it looks like a data url.");
41
- var c, v = 3 * (u = u.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
42
- if (u.charAt(u.length - 1) === n.charAt(64) && v--, u.charAt(u.length - 2) === n.charAt(64) && v--, v % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
43
- for (c = o.uint8array ? new Uint8Array(0 | v) : new Array(0 | v); r < u.length; ) _ = n.indexOf(u.charAt(r++)) << 2 | (g = n.indexOf(u.charAt(r++))) >> 4, y = (15 & g) << 4 | (i = n.indexOf(u.charAt(r++))) >> 2, p = (3 & i) << 6 | (d = n.indexOf(u.charAt(r++))), c[h++] = _, i !== 64 && (c[h++] = y), d !== 64 && (c[h++] = p);
29
+ return k[g].exports;
30
+ }
31
+ for (var n = typeof wt == "function" && wt, h = 0; h < o.length; h++) u(o[h]);
32
+ return u;
33
+ })({ 1: [function(_, N, k) {
34
+ var o = _("./utils"), u = _("./support"), n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
35
+ k.encode = function(h) {
36
+ for (var g, y, p, b, i, d, r, l = [], a = 0, c = h.length, v = c, z = o.getTypeOf(h) !== "string"; a < h.length; ) v = c - a, p = z ? (g = h[a++], y = a < c ? h[a++] : 0, a < c ? h[a++] : 0) : (g = h.charCodeAt(a++), y = a < c ? h.charCodeAt(a++) : 0, a < c ? h.charCodeAt(a++) : 0), b = g >> 2, i = (3 & g) << 4 | y >> 4, d = 1 < v ? (15 & y) << 2 | p >> 6 : 64, r = 2 < v ? 63 & p : 64, l.push(n.charAt(b) + n.charAt(i) + n.charAt(d) + n.charAt(r));
37
+ return l.join("");
38
+ }, k.decode = function(h) {
39
+ var g, y, p, b, i, d, r = 0, l = 0, a = "data:";
40
+ if (h.substr(0, a.length) === a) throw new Error("Invalid base64 input, it looks like a data url.");
41
+ var c, v = 3 * (h = h.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
42
+ if (h.charAt(h.length - 1) === n.charAt(64) && v--, h.charAt(h.length - 2) === n.charAt(64) && v--, v % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
43
+ for (c = u.uint8array ? new Uint8Array(0 | v) : new Array(0 | v); r < h.length; ) g = n.indexOf(h.charAt(r++)) << 2 | (b = n.indexOf(h.charAt(r++))) >> 4, y = (15 & b) << 4 | (i = n.indexOf(h.charAt(r++))) >> 2, p = (3 & i) << 6 | (d = n.indexOf(h.charAt(r++))), c[l++] = g, i !== 64 && (c[l++] = y), d !== 64 && (c[l++] = p);
44
44
  return c;
45
45
  };
46
- }, { "./support": 30, "./utils": 32 }], 2: [function(b, U, w) {
47
- var l = b("./external"), o = b("./stream/DataWorker"), n = b("./stream/Crc32Probe"), u = b("./stream/DataLengthProbe");
48
- function _(y, p, g, i, d) {
49
- this.compressedSize = y, this.uncompressedSize = p, this.crc32 = g, this.compression = i, this.compressedContent = d;
46
+ }, { "./support": 30, "./utils": 32 }], 2: [function(_, N, k) {
47
+ var o = _("./external"), u = _("./stream/DataWorker"), n = _("./stream/Crc32Probe"), h = _("./stream/DataLengthProbe");
48
+ function g(y, p, b, i, d) {
49
+ this.compressedSize = y, this.uncompressedSize = p, this.crc32 = b, this.compression = i, this.compressedContent = d;
50
50
  }
51
- _.prototype = { getContentWorker: function() {
52
- var y = new o(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")), p = this;
51
+ g.prototype = { getContentWorker: function() {
52
+ var y = new u(o.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new h("data_length")), p = this;
53
53
  return y.on("end", function() {
54
54
  if (this.streamInfo.data_length !== p.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch");
55
55
  }), y;
56
56
  }, getCompressedWorker: function() {
57
- return new o(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
58
- } }, _.createWorkerFrom = function(y, p, g) {
59
- return y.pipe(new n()).pipe(new u("uncompressedSize")).pipe(p.compressWorker(g)).pipe(new u("compressedSize")).withStreamInfo("compression", p);
60
- }, U.exports = _;
61
- }, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(b, U, w) {
62
- var l = b("./stream/GenericWorker");
63
- w.STORE = { magic: "\0\0", compressWorker: function() {
64
- return new l("STORE compression");
57
+ return new u(o.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
58
+ } }, g.createWorkerFrom = function(y, p, b) {
59
+ return y.pipe(new n()).pipe(new h("uncompressedSize")).pipe(p.compressWorker(b)).pipe(new h("compressedSize")).withStreamInfo("compression", p);
60
+ }, N.exports = g;
61
+ }, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(_, N, k) {
62
+ var o = _("./stream/GenericWorker");
63
+ k.STORE = { magic: "\0\0", compressWorker: function() {
64
+ return new o("STORE compression");
65
65
  }, uncompressWorker: function() {
66
- return new l("STORE decompression");
67
- } }, w.DEFLATE = b("./flate");
68
- }, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(b, U, w) {
69
- var l = b("./utils"), o = (function() {
70
- for (var n, u = [], _ = 0; _ < 256; _++) {
71
- n = _;
66
+ return new o("STORE decompression");
67
+ } }, k.DEFLATE = _("./flate");
68
+ }, { "./flate": 7, "./stream/GenericWorker": 28 }], 4: [function(_, N, k) {
69
+ var o = _("./utils"), u = (function() {
70
+ for (var n, h = [], g = 0; g < 256; g++) {
71
+ n = g;
72
72
  for (var y = 0; y < 8; y++) n = 1 & n ? 3988292384 ^ n >>> 1 : n >>> 1;
73
- u[_] = n;
73
+ h[g] = n;
74
74
  }
75
- return u;
75
+ return h;
76
76
  })();
77
- U.exports = function(n, u) {
78
- return n !== void 0 && n.length ? l.getTypeOf(n) !== "string" ? (function(_, y, p, g) {
79
- var i = o, d = g + p;
80
- _ ^= -1;
81
- for (var r = g; r < d; r++) _ = _ >>> 8 ^ i[255 & (_ ^ y[r])];
82
- return -1 ^ _;
83
- })(0 | u, n, n.length, 0) : (function(_, y, p, g) {
84
- var i = o, d = g + p;
85
- _ ^= -1;
86
- for (var r = g; r < d; r++) _ = _ >>> 8 ^ i[255 & (_ ^ y.charCodeAt(r))];
87
- return -1 ^ _;
88
- })(0 | u, n, n.length, 0) : 0;
77
+ N.exports = function(n, h) {
78
+ return n !== void 0 && n.length ? o.getTypeOf(n) !== "string" ? (function(g, y, p, b) {
79
+ var i = u, d = b + p;
80
+ g ^= -1;
81
+ for (var r = b; r < d; r++) g = g >>> 8 ^ i[255 & (g ^ y[r])];
82
+ return -1 ^ g;
83
+ })(0 | h, n, n.length, 0) : (function(g, y, p, b) {
84
+ var i = u, d = b + p;
85
+ g ^= -1;
86
+ for (var r = b; r < d; r++) g = g >>> 8 ^ i[255 & (g ^ y.charCodeAt(r))];
87
+ return -1 ^ g;
88
+ })(0 | h, n, n.length, 0) : 0;
89
89
  };
90
- }, { "./utils": 32 }], 5: [function(b, U, w) {
91
- w.base64 = !1, w.binary = !1, w.dir = !1, w.createFolders = !0, w.date = null, w.compression = null, w.compressionOptions = null, w.comment = null, w.unixPermissions = null, w.dosPermissions = null;
92
- }, {}], 6: [function(b, U, w) {
93
- var l = null;
94
- l = typeof Promise < "u" ? Promise : b("lie"), U.exports = { Promise: l };
95
- }, { lie: 37 }], 7: [function(b, U, w) {
96
- var l = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", o = b("pako"), n = b("./utils"), u = b("./stream/GenericWorker"), _ = l ? "uint8array" : "array";
97
- function y(p, g) {
98
- u.call(this, "FlateWorker/" + p), this._pako = null, this._pakoAction = p, this._pakoOptions = g, this.meta = {};
99
- }
100
- w.magic = "\b\0", n.inherits(y, u), y.prototype.processChunk = function(p) {
101
- this.meta = p.meta, this._pako === null && this._createPako(), this._pako.push(n.transformTo(_, p.data), !1);
90
+ }, { "./utils": 32 }], 5: [function(_, N, k) {
91
+ k.base64 = !1, k.binary = !1, k.dir = !1, k.createFolders = !0, k.date = null, k.compression = null, k.compressionOptions = null, k.comment = null, k.unixPermissions = null, k.dosPermissions = null;
92
+ }, {}], 6: [function(_, N, k) {
93
+ var o = null;
94
+ o = typeof Promise < "u" ? Promise : _("lie"), N.exports = { Promise: o };
95
+ }, { lie: 37 }], 7: [function(_, N, k) {
96
+ var o = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", u = _("pako"), n = _("./utils"), h = _("./stream/GenericWorker"), g = o ? "uint8array" : "array";
97
+ function y(p, b) {
98
+ h.call(this, "FlateWorker/" + p), this._pako = null, this._pakoAction = p, this._pakoOptions = b, this.meta = {};
99
+ }
100
+ k.magic = "\b\0", n.inherits(y, h), y.prototype.processChunk = function(p) {
101
+ this.meta = p.meta, this._pako === null && this._createPako(), this._pako.push(n.transformTo(g, p.data), !1);
102
102
  }, y.prototype.flush = function() {
103
- u.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
103
+ h.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
104
104
  }, y.prototype.cleanUp = function() {
105
- u.prototype.cleanUp.call(this), this._pako = null;
105
+ h.prototype.cleanUp.call(this), this._pako = null;
106
106
  }, y.prototype._createPako = function() {
107
- this._pako = new o[this._pakoAction]({ raw: !0, level: this._pakoOptions.level || -1 });
107
+ this._pako = new u[this._pakoAction]({ raw: !0, level: this._pakoOptions.level || -1 });
108
108
  var p = this;
109
- this._pako.onData = function(g) {
110
- p.push({ data: g, meta: p.meta });
109
+ this._pako.onData = function(b) {
110
+ p.push({ data: b, meta: p.meta });
111
111
  };
112
- }, w.compressWorker = function(p) {
112
+ }, k.compressWorker = function(p) {
113
113
  return new y("Deflate", p);
114
- }, w.uncompressWorker = function() {
114
+ }, k.uncompressWorker = function() {
115
115
  return new y("Inflate", {});
116
116
  };
117
- }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(b, U, w) {
118
- function l(i, d) {
119
- var r, h = "";
120
- for (r = 0; r < d; r++) h += String.fromCharCode(255 & i), i >>>= 8;
121
- return h;
122
- }
123
- function o(i, d, r, h, a, c) {
124
- var v, S, x = i.file, D = i.compression, O = c !== _.utf8encode, L = n.transformTo("string", c(x.name)), I = n.transformTo("string", _.utf8encode(x.name)), W = x.comment, q = n.transformTo("string", c(W)), m = n.transformTo("string", _.utf8encode(W)), B = I.length !== x.name.length, e = m.length !== W.length, T = "", J = "", P = "", $ = x.dir, j = x.date, V = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
117
+ }, { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 }], 8: [function(_, N, k) {
118
+ function o(i, d) {
119
+ var r, l = "";
120
+ for (r = 0; r < d; r++) l += String.fromCharCode(255 & i), i >>>= 8;
121
+ return l;
122
+ }
123
+ function u(i, d, r, l, a, c) {
124
+ var v, z, x = i.file, D = i.compression, O = c !== g.utf8encode, L = n.transformTo("string", c(x.name)), I = n.transformTo("string", g.utf8encode(x.name)), W = x.comment, q = n.transformTo("string", c(W)), m = n.transformTo("string", g.utf8encode(W)), B = I.length !== x.name.length, e = m.length !== W.length, T = "", J = "", P = "", $ = x.dir, j = x.date, V = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
125
125
  d && !r || (V.crc32 = i.crc32, V.compressedSize = i.compressedSize, V.uncompressedSize = i.uncompressedSize);
126
126
  var E = 0;
127
127
  d && (E |= 8), O || !B && !e || (E |= 2048);
@@ -131,43 +131,43 @@ function Tt() {
131
131
  return H || (ot = nt ? 16893 : 33204), (65535 & ot) << 16;
132
132
  })(x.unixPermissions, $)) : (X = 20, C |= (function(H) {
133
133
  return 63 & (H || 0);
134
- })(x.dosPermissions)), v = j.getUTCHours(), v <<= 6, v |= j.getUTCMinutes(), v <<= 5, v |= j.getUTCSeconds() / 2, S = j.getUTCFullYear() - 1980, S <<= 4, S |= j.getUTCMonth() + 1, S <<= 5, S |= j.getUTCDate(), B && (J = l(1, 1) + l(y(L), 4) + I, T += "up" + l(J.length, 2) + J), e && (P = l(1, 1) + l(y(q), 4) + m, T += "uc" + l(P.length, 2) + P);
134
+ })(x.dosPermissions)), v = j.getUTCHours(), v <<= 6, v |= j.getUTCMinutes(), v <<= 5, v |= j.getUTCSeconds() / 2, z = j.getUTCFullYear() - 1980, z <<= 4, z |= j.getUTCMonth() + 1, z <<= 5, z |= j.getUTCDate(), B && (J = o(1, 1) + o(y(L), 4) + I, T += "up" + o(J.length, 2) + J), e && (P = o(1, 1) + o(y(q), 4) + m, T += "uc" + o(P.length, 2) + P);
135
135
  var G = "";
136
136
  return G += `
137
- \0`, G += l(E, 2), G += D.magic, G += l(v, 2), G += l(S, 2), G += l(V.crc32, 4), G += l(V.compressedSize, 4), G += l(V.uncompressedSize, 4), G += l(L.length, 2), G += l(T.length, 2), { fileRecord: p.LOCAL_FILE_HEADER + G + L + T, dirRecord: p.CENTRAL_FILE_HEADER + l(X, 2) + G + l(q.length, 2) + "\0\0\0\0" + l(C, 4) + l(h, 4) + L + T + q };
137
+ \0`, G += o(E, 2), G += D.magic, G += o(v, 2), G += o(z, 2), G += o(V.crc32, 4), G += o(V.compressedSize, 4), G += o(V.uncompressedSize, 4), G += o(L.length, 2), G += o(T.length, 2), { fileRecord: p.LOCAL_FILE_HEADER + G + L + T, dirRecord: p.CENTRAL_FILE_HEADER + o(X, 2) + G + o(q.length, 2) + "\0\0\0\0" + o(C, 4) + o(l, 4) + L + T + q };
138
138
  }
139
- var n = b("../utils"), u = b("../stream/GenericWorker"), _ = b("../utf8"), y = b("../crc32"), p = b("../signature");
140
- function g(i, d, r, h) {
141
- u.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = d, this.zipPlatform = r, this.encodeFileName = h, this.streamFiles = i, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
139
+ var n = _("../utils"), h = _("../stream/GenericWorker"), g = _("../utf8"), y = _("../crc32"), p = _("../signature");
140
+ function b(i, d, r, l) {
141
+ h.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = d, this.zipPlatform = r, this.encodeFileName = l, this.streamFiles = i, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
142
142
  }
143
- n.inherits(g, u), g.prototype.push = function(i) {
144
- var d = i.meta.percent || 0, r = this.entriesCount, h = this._sources.length;
145
- this.accumulate ? this.contentBuffer.push(i) : (this.bytesWritten += i.data.length, u.prototype.push.call(this, { data: i.data, meta: { currentFile: this.currentFile, percent: r ? (d + 100 * (r - h - 1)) / r : 100 } }));
146
- }, g.prototype.openedSource = function(i) {
143
+ n.inherits(b, h), b.prototype.push = function(i) {
144
+ var d = i.meta.percent || 0, r = this.entriesCount, l = this._sources.length;
145
+ this.accumulate ? this.contentBuffer.push(i) : (this.bytesWritten += i.data.length, h.prototype.push.call(this, { data: i.data, meta: { currentFile: this.currentFile, percent: r ? (d + 100 * (r - l - 1)) / r : 100 } }));
146
+ }, b.prototype.openedSource = function(i) {
147
147
  this.currentSourceOffset = this.bytesWritten, this.currentFile = i.file.name;
148
148
  var d = this.streamFiles && !i.file.dir;
149
149
  if (d) {
150
- var r = o(i, d, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
150
+ var r = u(i, d, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
151
151
  this.push({ data: r.fileRecord, meta: { percent: 0 } });
152
152
  } else this.accumulate = !0;
153
- }, g.prototype.closedSource = function(i) {
153
+ }, b.prototype.closedSource = function(i) {
154
154
  this.accumulate = !1;
155
- var d = this.streamFiles && !i.file.dir, r = o(i, d, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
156
- if (this.dirRecords.push(r.dirRecord), d) this.push({ data: (function(h) {
157
- return p.DATA_DESCRIPTOR + l(h.crc32, 4) + l(h.compressedSize, 4) + l(h.uncompressedSize, 4);
155
+ var d = this.streamFiles && !i.file.dir, r = u(i, d, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
156
+ if (this.dirRecords.push(r.dirRecord), d) this.push({ data: (function(l) {
157
+ return p.DATA_DESCRIPTOR + o(l.crc32, 4) + o(l.compressedSize, 4) + o(l.uncompressedSize, 4);
158
158
  })(i), meta: { percent: 100 } });
159
159
  else for (this.push({ data: r.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
160
160
  this.currentFile = null;
161
- }, g.prototype.flush = function() {
161
+ }, b.prototype.flush = function() {
162
162
  for (var i = this.bytesWritten, d = 0; d < this.dirRecords.length; d++) this.push({ data: this.dirRecords[d], meta: { percent: 100 } });
163
- var r = this.bytesWritten - i, h = (function(a, c, v, S, x) {
164
- var D = n.transformTo("string", x(S));
165
- return p.CENTRAL_DIRECTORY_END + "\0\0\0\0" + l(a, 2) + l(a, 2) + l(c, 4) + l(v, 4) + l(D.length, 2) + D;
163
+ var r = this.bytesWritten - i, l = (function(a, c, v, z, x) {
164
+ var D = n.transformTo("string", x(z));
165
+ return p.CENTRAL_DIRECTORY_END + "\0\0\0\0" + o(a, 2) + o(a, 2) + o(c, 4) + o(v, 4) + o(D.length, 2) + D;
166
166
  })(this.dirRecords.length, r, i, this.zipComment, this.encodeFileName);
167
- this.push({ data: h, meta: { percent: 100 } });
168
- }, g.prototype.prepareNextSource = function() {
167
+ this.push({ data: l, meta: { percent: 100 } });
168
+ }, b.prototype.prepareNextSource = function() {
169
169
  this.previous = this._sources.shift(), this.openedSource(this.previous.streamInfo), this.isPaused ? this.previous.pause() : this.previous.resume();
170
- }, g.prototype.registerPrevious = function(i) {
170
+ }, b.prototype.registerPrevious = function(i) {
171
171
  this._sources.push(i);
172
172
  var d = this;
173
173
  return i.on("data", function(r) {
@@ -177,154 +177,154 @@ function Tt() {
177
177
  }), i.on("error", function(r) {
178
178
  d.error(r);
179
179
  }), this;
180
- }, g.prototype.resume = function() {
181
- return !!u.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0));
182
- }, g.prototype.error = function(i) {
180
+ }, b.prototype.resume = function() {
181
+ return !!h.prototype.resume.call(this) && (!this.previous && this._sources.length ? (this.prepareNextSource(), !0) : this.previous || this._sources.length || this.generatedError ? void 0 : (this.end(), !0));
182
+ }, b.prototype.error = function(i) {
183
183
  var d = this._sources;
184
- if (!u.prototype.error.call(this, i)) return !1;
184
+ if (!h.prototype.error.call(this, i)) return !1;
185
185
  for (var r = 0; r < d.length; r++) try {
186
186
  d[r].error(i);
187
187
  } catch {
188
188
  }
189
189
  return !0;
190
- }, g.prototype.lock = function() {
191
- u.prototype.lock.call(this);
190
+ }, b.prototype.lock = function() {
191
+ h.prototype.lock.call(this);
192
192
  for (var i = this._sources, d = 0; d < i.length; d++) i[d].lock();
193
- }, U.exports = g;
194
- }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(b, U, w) {
195
- var l = b("../compressions"), o = b("./ZipFileWorker");
196
- w.generateWorker = function(n, u, _) {
197
- var y = new o(u.streamFiles, _, u.platform, u.encodeFileName), p = 0;
193
+ }, N.exports = b;
194
+ }, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(_, N, k) {
195
+ var o = _("../compressions"), u = _("./ZipFileWorker");
196
+ k.generateWorker = function(n, h, g) {
197
+ var y = new u(h.streamFiles, g, h.platform, h.encodeFileName), p = 0;
198
198
  try {
199
- n.forEach(function(g, i) {
199
+ n.forEach(function(b, i) {
200
200
  p++;
201
201
  var d = (function(c, v) {
202
- var S = c || v, x = l[S];
203
- if (!x) throw new Error(S + " is not a valid compression method !");
202
+ var z = c || v, x = o[z];
203
+ if (!x) throw new Error(z + " is not a valid compression method !");
204
204
  return x;
205
- })(i.options.compression, u.compression), r = i.options.compressionOptions || u.compressionOptions || {}, h = i.dir, a = i.date;
206
- i._compressWorker(d, r).withStreamInfo("file", { name: g, dir: h, date: a, comment: i.comment || "", unixPermissions: i.unixPermissions, dosPermissions: i.dosPermissions }).pipe(y);
205
+ })(i.options.compression, h.compression), r = i.options.compressionOptions || h.compressionOptions || {}, l = i.dir, a = i.date;
206
+ i._compressWorker(d, r).withStreamInfo("file", { name: b, dir: l, date: a, comment: i.comment || "", unixPermissions: i.unixPermissions, dosPermissions: i.dosPermissions }).pipe(y);
207
207
  }), y.entriesCount = p;
208
- } catch (g) {
209
- y.error(g);
208
+ } catch (b) {
209
+ y.error(b);
210
210
  }
211
211
  return y;
212
212
  };
213
- }, { "../compressions": 3, "./ZipFileWorker": 8 }], 10: [function(b, U, w) {
214
- function l() {
215
- if (!(this instanceof l)) return new l();
213
+ }, { "../compressions": 3, "./ZipFileWorker": 8 }], 10: [function(_, N, k) {
214
+ function o() {
215
+ if (!(this instanceof o)) return new o();
216
216
  if (arguments.length) throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");
217
217
  this.files = /* @__PURE__ */ Object.create(null), this.comment = null, this.root = "", this.clone = function() {
218
- var o = new l();
219
- for (var n in this) typeof this[n] != "function" && (o[n] = this[n]);
220
- return o;
218
+ var u = new o();
219
+ for (var n in this) typeof this[n] != "function" && (u[n] = this[n]);
220
+ return u;
221
221
  };
222
222
  }
223
- (l.prototype = b("./object")).loadAsync = b("./load"), l.support = b("./support"), l.defaults = b("./defaults"), l.version = "3.10.1", l.loadAsync = function(o, n) {
224
- return new l().loadAsync(o, n);
225
- }, l.external = b("./external"), U.exports = l;
226
- }, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(b, U, w) {
227
- var l = b("./utils"), o = b("./external"), n = b("./utf8"), u = b("./zipEntries"), _ = b("./stream/Crc32Probe"), y = b("./nodejsUtils");
228
- function p(g) {
229
- return new o.Promise(function(i, d) {
230
- var r = g.decompressed.getContentWorker().pipe(new _());
231
- r.on("error", function(h) {
232
- d(h);
223
+ (o.prototype = _("./object")).loadAsync = _("./load"), o.support = _("./support"), o.defaults = _("./defaults"), o.version = "3.10.1", o.loadAsync = function(u, n) {
224
+ return new o().loadAsync(u, n);
225
+ }, o.external = _("./external"), N.exports = o;
226
+ }, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(_, N, k) {
227
+ var o = _("./utils"), u = _("./external"), n = _("./utf8"), h = _("./zipEntries"), g = _("./stream/Crc32Probe"), y = _("./nodejsUtils");
228
+ function p(b) {
229
+ return new u.Promise(function(i, d) {
230
+ var r = b.decompressed.getContentWorker().pipe(new g());
231
+ r.on("error", function(l) {
232
+ d(l);
233
233
  }).on("end", function() {
234
- r.streamInfo.crc32 !== g.decompressed.crc32 ? d(new Error("Corrupted zip : CRC32 mismatch")) : i();
234
+ r.streamInfo.crc32 !== b.decompressed.crc32 ? d(new Error("Corrupted zip : CRC32 mismatch")) : i();
235
235
  }).resume();
236
236
  });
237
237
  }
238
- U.exports = function(g, i) {
238
+ N.exports = function(b, i) {
239
239
  var d = this;
240
- return i = l.extend(i || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: n.utf8decode }), y.isNode && y.isStream(g) ? o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : l.prepareContent("the loaded zip file", g, !0, i.optimizedBinaryString, i.base64).then(function(r) {
241
- var h = new u(i);
242
- return h.load(r), h;
240
+ return i = o.extend(i || {}, { base64: !1, checkCRC32: !1, optimizedBinaryString: !1, createFolders: !1, decodeFileName: n.utf8decode }), y.isNode && y.isStream(b) ? u.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")) : o.prepareContent("the loaded zip file", b, !0, i.optimizedBinaryString, i.base64).then(function(r) {
241
+ var l = new h(i);
242
+ return l.load(r), l;
243
243
  }).then(function(r) {
244
- var h = [o.Promise.resolve(r)], a = r.files;
245
- if (i.checkCRC32) for (var c = 0; c < a.length; c++) h.push(p(a[c]));
246
- return o.Promise.all(h);
244
+ var l = [u.Promise.resolve(r)], a = r.files;
245
+ if (i.checkCRC32) for (var c = 0; c < a.length; c++) l.push(p(a[c]));
246
+ return u.Promise.all(l);
247
247
  }).then(function(r) {
248
- for (var h = r.shift(), a = h.files, c = 0; c < a.length; c++) {
249
- var v = a[c], S = v.fileNameStr, x = l.resolve(v.fileNameStr);
250
- d.file(x, v.decompressed, { binary: !0, optimizedBinaryString: !0, date: v.date, dir: v.dir, comment: v.fileCommentStr.length ? v.fileCommentStr : null, unixPermissions: v.unixPermissions, dosPermissions: v.dosPermissions, createFolders: i.createFolders }), v.dir || (d.file(x).unsafeOriginalName = S);
248
+ for (var l = r.shift(), a = l.files, c = 0; c < a.length; c++) {
249
+ var v = a[c], z = v.fileNameStr, x = o.resolve(v.fileNameStr);
250
+ d.file(x, v.decompressed, { binary: !0, optimizedBinaryString: !0, date: v.date, dir: v.dir, comment: v.fileCommentStr.length ? v.fileCommentStr : null, unixPermissions: v.unixPermissions, dosPermissions: v.dosPermissions, createFolders: i.createFolders }), v.dir || (d.file(x).unsafeOriginalName = z);
251
251
  }
252
- return h.zipComment.length && (d.comment = h.zipComment), d;
252
+ return l.zipComment.length && (d.comment = l.zipComment), d;
253
253
  });
254
254
  };
255
- }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(b, U, w) {
256
- var l = b("../utils"), o = b("../stream/GenericWorker");
257
- function n(u, _) {
258
- o.call(this, "Nodejs stream input adapter for " + u), this._upstreamEnded = !1, this._bindStream(_);
259
- }
260
- l.inherits(n, o), n.prototype._bindStream = function(u) {
261
- var _ = this;
262
- (this._stream = u).pause(), u.on("data", function(y) {
263
- _.push({ data: y, meta: { percent: 0 } });
255
+ }, { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 }], 12: [function(_, N, k) {
256
+ var o = _("../utils"), u = _("../stream/GenericWorker");
257
+ function n(h, g) {
258
+ u.call(this, "Nodejs stream input adapter for " + h), this._upstreamEnded = !1, this._bindStream(g);
259
+ }
260
+ o.inherits(n, u), n.prototype._bindStream = function(h) {
261
+ var g = this;
262
+ (this._stream = h).pause(), h.on("data", function(y) {
263
+ g.push({ data: y, meta: { percent: 0 } });
264
264
  }).on("error", function(y) {
265
- _.isPaused ? this.generatedError = y : _.error(y);
265
+ g.isPaused ? this.generatedError = y : g.error(y);
266
266
  }).on("end", function() {
267
- _.isPaused ? _._upstreamEnded = !0 : _.end();
267
+ g.isPaused ? g._upstreamEnded = !0 : g.end();
268
268
  });
269
269
  }, n.prototype.pause = function() {
270
- return !!o.prototype.pause.call(this) && (this._stream.pause(), !0);
270
+ return !!u.prototype.pause.call(this) && (this._stream.pause(), !0);
271
271
  }, n.prototype.resume = function() {
272
- return !!o.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0);
273
- }, U.exports = n;
274
- }, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(b, U, w) {
275
- var l = b("readable-stream").Readable;
276
- function o(n, u, _) {
277
- l.call(this, u), this._helper = n;
272
+ return !!u.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0);
273
+ }, N.exports = n;
274
+ }, { "../stream/GenericWorker": 28, "../utils": 32 }], 13: [function(_, N, k) {
275
+ var o = _("readable-stream").Readable;
276
+ function u(n, h, g) {
277
+ o.call(this, h), this._helper = n;
278
278
  var y = this;
279
- n.on("data", function(p, g) {
280
- y.push(p) || y._helper.pause(), _ && _(g);
279
+ n.on("data", function(p, b) {
280
+ y.push(p) || y._helper.pause(), g && g(b);
281
281
  }).on("error", function(p) {
282
282
  y.emit("error", p);
283
283
  }).on("end", function() {
284
284
  y.push(null);
285
285
  });
286
286
  }
287
- b("../utils").inherits(o, l), o.prototype._read = function() {
287
+ _("../utils").inherits(u, o), u.prototype._read = function() {
288
288
  this._helper.resume();
289
- }, U.exports = o;
290
- }, { "../utils": 32, "readable-stream": 16 }], 14: [function(b, U, w) {
291
- U.exports = { isNode: typeof Buffer < "u", newBufferFrom: function(l, o) {
292
- if (Buffer.from && Buffer.from !== Uint8Array.from) return Buffer.from(l, o);
293
- if (typeof l == "number") throw new Error('The "data" argument must not be a number');
294
- return new Buffer(l, o);
295
- }, allocBuffer: function(l) {
296
- if (Buffer.alloc) return Buffer.alloc(l);
297
- var o = new Buffer(l);
298
- return o.fill(0), o;
299
- }, isBuffer: function(l) {
300
- return Buffer.isBuffer(l);
301
- }, isStream: function(l) {
302
- return l && typeof l.on == "function" && typeof l.pause == "function" && typeof l.resume == "function";
289
+ }, N.exports = u;
290
+ }, { "../utils": 32, "readable-stream": 16 }], 14: [function(_, N, k) {
291
+ N.exports = { isNode: typeof Buffer < "u", newBufferFrom: function(o, u) {
292
+ if (Buffer.from && Buffer.from !== Uint8Array.from) return Buffer.from(o, u);
293
+ if (typeof o == "number") throw new Error('The "data" argument must not be a number');
294
+ return new Buffer(o, u);
295
+ }, allocBuffer: function(o) {
296
+ if (Buffer.alloc) return Buffer.alloc(o);
297
+ var u = new Buffer(o);
298
+ return u.fill(0), u;
299
+ }, isBuffer: function(o) {
300
+ return Buffer.isBuffer(o);
301
+ }, isStream: function(o) {
302
+ return o && typeof o.on == "function" && typeof o.pause == "function" && typeof o.resume == "function";
303
303
  } };
304
- }, {}], 15: [function(b, U, w) {
305
- function l(x, D, O) {
304
+ }, {}], 15: [function(_, N, k) {
305
+ function o(x, D, O) {
306
306
  var L, I = n.getTypeOf(D), W = n.extend(O || {}, y);
307
- W.date = W.date || /* @__PURE__ */ new Date(), W.compression !== null && (W.compression = W.compression.toUpperCase()), typeof W.unixPermissions == "string" && (W.unixPermissions = parseInt(W.unixPermissions, 8)), W.unixPermissions && 16384 & W.unixPermissions && (W.dir = !0), W.dosPermissions && 16 & W.dosPermissions && (W.dir = !0), W.dir && (x = a(x)), W.createFolders && (L = h(x)) && c.call(this, L, !0);
307
+ W.date = W.date || /* @__PURE__ */ new Date(), W.compression !== null && (W.compression = W.compression.toUpperCase()), typeof W.unixPermissions == "string" && (W.unixPermissions = parseInt(W.unixPermissions, 8)), W.unixPermissions && 16384 & W.unixPermissions && (W.dir = !0), W.dosPermissions && 16 & W.dosPermissions && (W.dir = !0), W.dir && (x = a(x)), W.createFolders && (L = l(x)) && c.call(this, L, !0);
308
308
  var q = I === "string" && W.binary === !1 && W.base64 === !1;
309
309
  O && O.binary !== void 0 || (W.binary = !q), (D instanceof p && D.uncompressedSize === 0 || W.dir || !D || D.length === 0) && (W.base64 = !1, W.binary = !0, D = "", W.compression = "STORE", I = "string");
310
310
  var m = null;
311
- m = D instanceof p || D instanceof u ? D : d.isNode && d.isStream(D) ? new r(x, D) : n.prepareContent(x, D, W.binary, W.optimizedBinaryString, W.base64);
312
- var B = new g(x, m, W);
311
+ m = D instanceof p || D instanceof h ? D : d.isNode && d.isStream(D) ? new r(x, D) : n.prepareContent(x, D, W.binary, W.optimizedBinaryString, W.base64);
312
+ var B = new b(x, m, W);
313
313
  this.files[x] = B;
314
314
  }
315
- var o = b("./utf8"), n = b("./utils"), u = b("./stream/GenericWorker"), _ = b("./stream/StreamHelper"), y = b("./defaults"), p = b("./compressedObject"), g = b("./zipObject"), i = b("./generate"), d = b("./nodejsUtils"), r = b("./nodejs/NodejsStreamInputAdapter"), h = function(x) {
315
+ var u = _("./utf8"), n = _("./utils"), h = _("./stream/GenericWorker"), g = _("./stream/StreamHelper"), y = _("./defaults"), p = _("./compressedObject"), b = _("./zipObject"), i = _("./generate"), d = _("./nodejsUtils"), r = _("./nodejs/NodejsStreamInputAdapter"), l = function(x) {
316
316
  x.slice(-1) === "/" && (x = x.substring(0, x.length - 1));
317
317
  var D = x.lastIndexOf("/");
318
318
  return 0 < D ? x.substring(0, D) : "";
319
319
  }, a = function(x) {
320
320
  return x.slice(-1) !== "/" && (x += "/"), x;
321
321
  }, c = function(x, D) {
322
- return D = D !== void 0 ? D : y.createFolders, x = a(x), this.files[x] || l.call(this, x, null, { dir: !0, createFolders: D }), this.files[x];
322
+ return D = D !== void 0 ? D : y.createFolders, x = a(x), this.files[x] || o.call(this, x, null, { dir: !0, createFolders: D }), this.files[x];
323
323
  };
324
324
  function v(x) {
325
325
  return Object.prototype.toString.call(x) === "[object RegExp]";
326
326
  }
327
- var S = { load: function() {
327
+ var z = { load: function() {
328
328
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
329
329
  }, forEach: function(x) {
330
330
  var D, O, L;
@@ -335,7 +335,7 @@ function Tt() {
335
335
  x(O, L) && D.push(L);
336
336
  }), D;
337
337
  }, file: function(x, D, O) {
338
- if (arguments.length !== 1) return x = this.root + x, l.call(this, x, D, O), this;
338
+ if (arguments.length !== 1) return x = this.root + x, o.call(this, x, D, O), this;
339
339
  if (v(x)) {
340
340
  var L = x;
341
341
  return this.filter(function(W, q) {
@@ -364,47 +364,47 @@ function Tt() {
364
364
  }, generateInternalStream: function(x) {
365
365
  var D, O = {};
366
366
  try {
367
- if ((O = n.extend(x || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: o.utf8encode })).type = O.type.toLowerCase(), O.compression = O.compression.toUpperCase(), O.type === "binarystring" && (O.type = "string"), !O.type) throw new Error("No output type specified.");
367
+ if ((O = n.extend(x || {}, { streamFiles: !1, compression: "STORE", compressionOptions: null, type: "", platform: "DOS", comment: null, mimeType: "application/zip", encodeFileName: u.utf8encode })).type = O.type.toLowerCase(), O.compression = O.compression.toUpperCase(), O.type === "binarystring" && (O.type = "string"), !O.type) throw new Error("No output type specified.");
368
368
  n.checkSupport(O.type), O.platform !== "darwin" && O.platform !== "freebsd" && O.platform !== "linux" && O.platform !== "sunos" || (O.platform = "UNIX"), O.platform === "win32" && (O.platform = "DOS");
369
369
  var L = O.comment || this.comment || "";
370
370
  D = i.generateWorker(this, O, L);
371
371
  } catch (I) {
372
- (D = new u("error")).error(I);
372
+ (D = new h("error")).error(I);
373
373
  }
374
- return new _(D, O.type || "string", O.mimeType);
374
+ return new g(D, O.type || "string", O.mimeType);
375
375
  }, generateAsync: function(x, D) {
376
376
  return this.generateInternalStream(x).accumulate(D);
377
377
  }, generateNodeStream: function(x, D) {
378
378
  return (x = x || {}).type || (x.type = "nodebuffer"), this.generateInternalStream(x).toNodejsStream(D);
379
379
  } };
380
- U.exports = S;
381
- }, { "./compressedObject": 2, "./defaults": 5, "./generate": 9, "./nodejs/NodejsStreamInputAdapter": 12, "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31, "./utils": 32, "./zipObject": 35 }], 16: [function(b, U, w) {
382
- U.exports = b("stream");
383
- }, { stream: void 0 }], 17: [function(b, U, w) {
384
- var l = b("./DataReader");
385
- function o(n) {
386
- l.call(this, n);
387
- for (var u = 0; u < this.data.length; u++) n[u] = 255 & n[u];
388
- }
389
- b("../utils").inherits(o, l), o.prototype.byteAt = function(n) {
380
+ N.exports = z;
381
+ }, { "./compressedObject": 2, "./defaults": 5, "./generate": 9, "./nodejs/NodejsStreamInputAdapter": 12, "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31, "./utils": 32, "./zipObject": 35 }], 16: [function(_, N, k) {
382
+ N.exports = _("stream");
383
+ }, { stream: void 0 }], 17: [function(_, N, k) {
384
+ var o = _("./DataReader");
385
+ function u(n) {
386
+ o.call(this, n);
387
+ for (var h = 0; h < this.data.length; h++) n[h] = 255 & n[h];
388
+ }
389
+ _("../utils").inherits(u, o), u.prototype.byteAt = function(n) {
390
390
  return this.data[this.zero + n];
391
- }, o.prototype.lastIndexOfSignature = function(n) {
392
- for (var u = n.charCodeAt(0), _ = n.charCodeAt(1), y = n.charCodeAt(2), p = n.charCodeAt(3), g = this.length - 4; 0 <= g; --g) if (this.data[g] === u && this.data[g + 1] === _ && this.data[g + 2] === y && this.data[g + 3] === p) return g - this.zero;
391
+ }, u.prototype.lastIndexOfSignature = function(n) {
392
+ for (var h = n.charCodeAt(0), g = n.charCodeAt(1), y = n.charCodeAt(2), p = n.charCodeAt(3), b = this.length - 4; 0 <= b; --b) if (this.data[b] === h && this.data[b + 1] === g && this.data[b + 2] === y && this.data[b + 3] === p) return b - this.zero;
393
393
  return -1;
394
- }, o.prototype.readAndCheckSignature = function(n) {
395
- var u = n.charCodeAt(0), _ = n.charCodeAt(1), y = n.charCodeAt(2), p = n.charCodeAt(3), g = this.readData(4);
396
- return u === g[0] && _ === g[1] && y === g[2] && p === g[3];
397
- }, o.prototype.readData = function(n) {
394
+ }, u.prototype.readAndCheckSignature = function(n) {
395
+ var h = n.charCodeAt(0), g = n.charCodeAt(1), y = n.charCodeAt(2), p = n.charCodeAt(3), b = this.readData(4);
396
+ return h === b[0] && g === b[1] && y === b[2] && p === b[3];
397
+ }, u.prototype.readData = function(n) {
398
398
  if (this.checkOffset(n), n === 0) return [];
399
- var u = this.data.slice(this.zero + this.index, this.zero + this.index + n);
400
- return this.index += n, u;
401
- }, U.exports = o;
402
- }, { "../utils": 32, "./DataReader": 18 }], 18: [function(b, U, w) {
403
- var l = b("../utils");
404
- function o(n) {
399
+ var h = this.data.slice(this.zero + this.index, this.zero + this.index + n);
400
+ return this.index += n, h;
401
+ }, N.exports = u;
402
+ }, { "../utils": 32, "./DataReader": 18 }], 18: [function(_, N, k) {
403
+ var o = _("../utils");
404
+ function u(n) {
405
405
  this.data = n, this.length = n.length, this.index = 0, this.zero = 0;
406
406
  }
407
- o.prototype = { checkOffset: function(n) {
407
+ u.prototype = { checkOffset: function(n) {
408
408
  this.checkIndex(this.index + n);
409
409
  }, checkIndex: function(n) {
410
410
  if (this.length < this.zero + n || n < 0) throw new Error("End of data reached (data length = " + this.length + ", asked index = " + n + "). Corrupted zip ?");
@@ -414,189 +414,189 @@ function Tt() {
414
414
  this.setIndex(this.index + n);
415
415
  }, byteAt: function() {
416
416
  }, readInt: function(n) {
417
- var u, _ = 0;
418
- for (this.checkOffset(n), u = this.index + n - 1; u >= this.index; u--) _ = (_ << 8) + this.byteAt(u);
419
- return this.index += n, _;
417
+ var h, g = 0;
418
+ for (this.checkOffset(n), h = this.index + n - 1; h >= this.index; h--) g = (g << 8) + this.byteAt(h);
419
+ return this.index += n, g;
420
420
  }, readString: function(n) {
421
- return l.transformTo("string", this.readData(n));
421
+ return o.transformTo("string", this.readData(n));
422
422
  }, readData: function() {
423
423
  }, lastIndexOfSignature: function() {
424
424
  }, readAndCheckSignature: function() {
425
425
  }, readDate: function() {
426
426
  var n = this.readInt(4);
427
427
  return new Date(Date.UTC(1980 + (n >> 25 & 127), (n >> 21 & 15) - 1, n >> 16 & 31, n >> 11 & 31, n >> 5 & 63, (31 & n) << 1));
428
- } }, U.exports = o;
429
- }, { "../utils": 32 }], 19: [function(b, U, w) {
430
- var l = b("./Uint8ArrayReader");
431
- function o(n) {
432
- l.call(this, n);
428
+ } }, N.exports = u;
429
+ }, { "../utils": 32 }], 19: [function(_, N, k) {
430
+ var o = _("./Uint8ArrayReader");
431
+ function u(n) {
432
+ o.call(this, n);
433
433
  }
434
- b("../utils").inherits(o, l), o.prototype.readData = function(n) {
434
+ _("../utils").inherits(u, o), u.prototype.readData = function(n) {
435
435
  this.checkOffset(n);
436
- var u = this.data.slice(this.zero + this.index, this.zero + this.index + n);
437
- return this.index += n, u;
438
- }, U.exports = o;
439
- }, { "../utils": 32, "./Uint8ArrayReader": 21 }], 20: [function(b, U, w) {
440
- var l = b("./DataReader");
441
- function o(n) {
442
- l.call(this, n);
443
- }
444
- b("../utils").inherits(o, l), o.prototype.byteAt = function(n) {
436
+ var h = this.data.slice(this.zero + this.index, this.zero + this.index + n);
437
+ return this.index += n, h;
438
+ }, N.exports = u;
439
+ }, { "../utils": 32, "./Uint8ArrayReader": 21 }], 20: [function(_, N, k) {
440
+ var o = _("./DataReader");
441
+ function u(n) {
442
+ o.call(this, n);
443
+ }
444
+ _("../utils").inherits(u, o), u.prototype.byteAt = function(n) {
445
445
  return this.data.charCodeAt(this.zero + n);
446
- }, o.prototype.lastIndexOfSignature = function(n) {
446
+ }, u.prototype.lastIndexOfSignature = function(n) {
447
447
  return this.data.lastIndexOf(n) - this.zero;
448
- }, o.prototype.readAndCheckSignature = function(n) {
448
+ }, u.prototype.readAndCheckSignature = function(n) {
449
449
  return n === this.readData(4);
450
- }, o.prototype.readData = function(n) {
450
+ }, u.prototype.readData = function(n) {
451
451
  this.checkOffset(n);
452
- var u = this.data.slice(this.zero + this.index, this.zero + this.index + n);
453
- return this.index += n, u;
454
- }, U.exports = o;
455
- }, { "../utils": 32, "./DataReader": 18 }], 21: [function(b, U, w) {
456
- var l = b("./ArrayReader");
457
- function o(n) {
458
- l.call(this, n);
459
- }
460
- b("../utils").inherits(o, l), o.prototype.readData = function(n) {
452
+ var h = this.data.slice(this.zero + this.index, this.zero + this.index + n);
453
+ return this.index += n, h;
454
+ }, N.exports = u;
455
+ }, { "../utils": 32, "./DataReader": 18 }], 21: [function(_, N, k) {
456
+ var o = _("./ArrayReader");
457
+ function u(n) {
458
+ o.call(this, n);
459
+ }
460
+ _("../utils").inherits(u, o), u.prototype.readData = function(n) {
461
461
  if (this.checkOffset(n), n === 0) return new Uint8Array(0);
462
- var u = this.data.subarray(this.zero + this.index, this.zero + this.index + n);
463
- return this.index += n, u;
464
- }, U.exports = o;
465
- }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(b, U, w) {
466
- var l = b("../utils"), o = b("../support"), n = b("./ArrayReader"), u = b("./StringReader"), _ = b("./NodeBufferReader"), y = b("./Uint8ArrayReader");
467
- U.exports = function(p) {
468
- var g = l.getTypeOf(p);
469
- return l.checkSupport(g), g !== "string" || o.uint8array ? g === "nodebuffer" ? new _(p) : o.uint8array ? new y(l.transformTo("uint8array", p)) : new n(l.transformTo("array", p)) : new u(p);
462
+ var h = this.data.subarray(this.zero + this.index, this.zero + this.index + n);
463
+ return this.index += n, h;
464
+ }, N.exports = u;
465
+ }, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(_, N, k) {
466
+ var o = _("../utils"), u = _("../support"), n = _("./ArrayReader"), h = _("./StringReader"), g = _("./NodeBufferReader"), y = _("./Uint8ArrayReader");
467
+ N.exports = function(p) {
468
+ var b = o.getTypeOf(p);
469
+ return o.checkSupport(b), b !== "string" || u.uint8array ? b === "nodebuffer" ? new g(p) : u.uint8array ? new y(o.transformTo("uint8array", p)) : new n(o.transformTo("array", p)) : new h(p);
470
470
  };
471
- }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(b, U, w) {
472
- w.LOCAL_FILE_HEADER = "PK", w.CENTRAL_FILE_HEADER = "PK", w.CENTRAL_DIRECTORY_END = "PK", w.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", w.ZIP64_CENTRAL_DIRECTORY_END = "PK", w.DATA_DESCRIPTOR = "PK\x07\b";
473
- }, {}], 24: [function(b, U, w) {
474
- var l = b("./GenericWorker"), o = b("../utils");
475
- function n(u) {
476
- l.call(this, "ConvertWorker to " + u), this.destType = u;
477
- }
478
- o.inherits(n, l), n.prototype.processChunk = function(u) {
479
- this.push({ data: o.transformTo(this.destType, u.data), meta: u.meta });
480
- }, U.exports = n;
481
- }, { "../utils": 32, "./GenericWorker": 28 }], 25: [function(b, U, w) {
482
- var l = b("./GenericWorker"), o = b("../crc32");
471
+ }, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(_, N, k) {
472
+ k.LOCAL_FILE_HEADER = "PK", k.CENTRAL_FILE_HEADER = "PK", k.CENTRAL_DIRECTORY_END = "PK", k.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", k.ZIP64_CENTRAL_DIRECTORY_END = "PK", k.DATA_DESCRIPTOR = "PK\x07\b";
473
+ }, {}], 24: [function(_, N, k) {
474
+ var o = _("./GenericWorker"), u = _("../utils");
475
+ function n(h) {
476
+ o.call(this, "ConvertWorker to " + h), this.destType = h;
477
+ }
478
+ u.inherits(n, o), n.prototype.processChunk = function(h) {
479
+ this.push({ data: u.transformTo(this.destType, h.data), meta: h.meta });
480
+ }, N.exports = n;
481
+ }, { "../utils": 32, "./GenericWorker": 28 }], 25: [function(_, N, k) {
482
+ var o = _("./GenericWorker"), u = _("../crc32");
483
483
  function n() {
484
- l.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
485
- }
486
- b("../utils").inherits(n, l), n.prototype.processChunk = function(u) {
487
- this.streamInfo.crc32 = o(u.data, this.streamInfo.crc32 || 0), this.push(u);
488
- }, U.exports = n;
489
- }, { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], 26: [function(b, U, w) {
490
- var l = b("../utils"), o = b("./GenericWorker");
491
- function n(u) {
492
- o.call(this, "DataLengthProbe for " + u), this.propName = u, this.withStreamInfo(u, 0);
493
- }
494
- l.inherits(n, o), n.prototype.processChunk = function(u) {
495
- if (u) {
496
- var _ = this.streamInfo[this.propName] || 0;
497
- this.streamInfo[this.propName] = _ + u.data.length;
484
+ o.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
485
+ }
486
+ _("../utils").inherits(n, o), n.prototype.processChunk = function(h) {
487
+ this.streamInfo.crc32 = u(h.data, this.streamInfo.crc32 || 0), this.push(h);
488
+ }, N.exports = n;
489
+ }, { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 }], 26: [function(_, N, k) {
490
+ var o = _("../utils"), u = _("./GenericWorker");
491
+ function n(h) {
492
+ u.call(this, "DataLengthProbe for " + h), this.propName = h, this.withStreamInfo(h, 0);
493
+ }
494
+ o.inherits(n, u), n.prototype.processChunk = function(h) {
495
+ if (h) {
496
+ var g = this.streamInfo[this.propName] || 0;
497
+ this.streamInfo[this.propName] = g + h.data.length;
498
498
  }
499
- o.prototype.processChunk.call(this, u);
500
- }, U.exports = n;
501
- }, { "../utils": 32, "./GenericWorker": 28 }], 27: [function(b, U, w) {
502
- var l = b("../utils"), o = b("./GenericWorker");
503
- function n(u) {
504
- o.call(this, "DataWorker");
505
- var _ = this;
506
- this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, u.then(function(y) {
507
- _.dataIsReady = !0, _.data = y, _.max = y && y.length || 0, _.type = l.getTypeOf(y), _.isPaused || _._tickAndRepeat();
499
+ u.prototype.processChunk.call(this, h);
500
+ }, N.exports = n;
501
+ }, { "../utils": 32, "./GenericWorker": 28 }], 27: [function(_, N, k) {
502
+ var o = _("../utils"), u = _("./GenericWorker");
503
+ function n(h) {
504
+ u.call(this, "DataWorker");
505
+ var g = this;
506
+ this.dataIsReady = !1, this.index = 0, this.max = 0, this.data = null, this.type = "", this._tickScheduled = !1, h.then(function(y) {
507
+ g.dataIsReady = !0, g.data = y, g.max = y && y.length || 0, g.type = o.getTypeOf(y), g.isPaused || g._tickAndRepeat();
508
508
  }, function(y) {
509
- _.error(y);
509
+ g.error(y);
510
510
  });
511
511
  }
512
- l.inherits(n, o), n.prototype.cleanUp = function() {
513
- o.prototype.cleanUp.call(this), this.data = null;
512
+ o.inherits(n, u), n.prototype.cleanUp = function() {
513
+ u.prototype.cleanUp.call(this), this.data = null;
514
514
  }, n.prototype.resume = function() {
515
- return !!o.prototype.resume.call(this) && (!this._tickScheduled && this.dataIsReady && (this._tickScheduled = !0, l.delay(this._tickAndRepeat, [], this)), !0);
515
+ return !!u.prototype.resume.call(this) && (!this._tickScheduled && this.dataIsReady && (this._tickScheduled = !0, o.delay(this._tickAndRepeat, [], this)), !0);
516
516
  }, n.prototype._tickAndRepeat = function() {
517
- this._tickScheduled = !1, this.isPaused || this.isFinished || (this._tick(), this.isFinished || (l.delay(this._tickAndRepeat, [], this), this._tickScheduled = !0));
517
+ this._tickScheduled = !1, this.isPaused || this.isFinished || (this._tick(), this.isFinished || (o.delay(this._tickAndRepeat, [], this), this._tickScheduled = !0));
518
518
  }, n.prototype._tick = function() {
519
519
  if (this.isPaused || this.isFinished) return !1;
520
- var u = null, _ = Math.min(this.max, this.index + 16384);
520
+ var h = null, g = Math.min(this.max, this.index + 16384);
521
521
  if (this.index >= this.max) return this.end();
522
522
  switch (this.type) {
523
523
  case "string":
524
- u = this.data.substring(this.index, _);
524
+ h = this.data.substring(this.index, g);
525
525
  break;
526
526
  case "uint8array":
527
- u = this.data.subarray(this.index, _);
527
+ h = this.data.subarray(this.index, g);
528
528
  break;
529
529
  case "array":
530
530
  case "nodebuffer":
531
- u = this.data.slice(this.index, _);
531
+ h = this.data.slice(this.index, g);
532
532
  }
533
- return this.index = _, this.push({ data: u, meta: { percent: this.max ? this.index / this.max * 100 : 0 } });
534
- }, U.exports = n;
535
- }, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(b, U, w) {
536
- function l(o) {
537
- 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;
538
- }
539
- l.prototype = { push: function(o) {
540
- this.emit("data", o);
533
+ return this.index = g, this.push({ data: h, meta: { percent: this.max ? this.index / this.max * 100 : 0 } });
534
+ }, N.exports = n;
535
+ }, { "../utils": 32, "./GenericWorker": 28 }], 28: [function(_, N, k) {
536
+ function o(u) {
537
+ this.name = u || "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;
538
+ }
539
+ o.prototype = { push: function(u) {
540
+ this.emit("data", u);
541
541
  }, end: function() {
542
542
  if (this.isFinished) return !1;
543
543
  this.flush();
544
544
  try {
545
545
  this.emit("end"), this.cleanUp(), this.isFinished = !0;
546
- } catch (o) {
547
- this.emit("error", o);
546
+ } catch (u) {
547
+ this.emit("error", u);
548
548
  }
549
549
  return !0;
550
- }, error: function(o) {
551
- return !this.isFinished && (this.isPaused ? this.generatedError = o : (this.isFinished = !0, this.emit("error", o), this.previous && this.previous.error(o), this.cleanUp()), !0);
552
- }, on: function(o, n) {
553
- return this._listeners[o].push(n), this;
550
+ }, error: function(u) {
551
+ return !this.isFinished && (this.isPaused ? this.generatedError = u : (this.isFinished = !0, this.emit("error", u), this.previous && this.previous.error(u), this.cleanUp()), !0);
552
+ }, on: function(u, n) {
553
+ return this._listeners[u].push(n), this;
554
554
  }, cleanUp: function() {
555
555
  this.streamInfo = this.generatedError = this.extraStreamInfo = null, this._listeners = [];
556
- }, emit: function(o, n) {
557
- if (this._listeners[o]) for (var u = 0; u < this._listeners[o].length; u++) this._listeners[o][u].call(this, n);
558
- }, pipe: function(o) {
559
- return o.registerPrevious(this);
560
- }, registerPrevious: function(o) {
556
+ }, emit: function(u, n) {
557
+ if (this._listeners[u]) for (var h = 0; h < this._listeners[u].length; h++) this._listeners[u][h].call(this, n);
558
+ }, pipe: function(u) {
559
+ return u.registerPrevious(this);
560
+ }, registerPrevious: function(u) {
561
561
  if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.");
562
- this.streamInfo = o.streamInfo, this.mergeStreamInfo(), this.previous = o;
562
+ this.streamInfo = u.streamInfo, this.mergeStreamInfo(), this.previous = u;
563
563
  var n = this;
564
- return o.on("data", function(u) {
565
- n.processChunk(u);
566
- }), o.on("end", function() {
564
+ return u.on("data", function(h) {
565
+ n.processChunk(h);
566
+ }), u.on("end", function() {
567
567
  n.end();
568
- }), o.on("error", function(u) {
569
- n.error(u);
568
+ }), u.on("error", function(h) {
569
+ n.error(h);
570
570
  }), this;
571
571
  }, pause: function() {
572
572
  return !this.isPaused && !this.isFinished && (this.isPaused = !0, this.previous && this.previous.pause(), !0);
573
573
  }, resume: function() {
574
574
  if (!this.isPaused || this.isFinished) return !1;
575
- var o = this.isPaused = !1;
576
- return this.generatedError && (this.error(this.generatedError), o = !0), this.previous && this.previous.resume(), !o;
575
+ var u = this.isPaused = !1;
576
+ return this.generatedError && (this.error(this.generatedError), u = !0), this.previous && this.previous.resume(), !u;
577
577
  }, flush: function() {
578
- }, processChunk: function(o) {
579
- this.push(o);
580
- }, withStreamInfo: function(o, n) {
581
- return this.extraStreamInfo[o] = n, this.mergeStreamInfo(), this;
578
+ }, processChunk: function(u) {
579
+ this.push(u);
580
+ }, withStreamInfo: function(u, n) {
581
+ return this.extraStreamInfo[u] = n, this.mergeStreamInfo(), this;
582
582
  }, mergeStreamInfo: function() {
583
- for (var o in this.extraStreamInfo) Object.prototype.hasOwnProperty.call(this.extraStreamInfo, o) && (this.streamInfo[o] = this.extraStreamInfo[o]);
583
+ for (var u in this.extraStreamInfo) Object.prototype.hasOwnProperty.call(this.extraStreamInfo, u) && (this.streamInfo[u] = this.extraStreamInfo[u]);
584
584
  }, lock: function() {
585
585
  if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.");
586
586
  this.isLocked = !0, this.previous && this.previous.lock();
587
587
  }, toString: function() {
588
- var o = "Worker " + this.name;
589
- return this.previous ? this.previous + " -> " + o : o;
590
- } }, U.exports = l;
591
- }, {}], 29: [function(b, U, w) {
592
- var l = b("../utils"), o = b("./ConvertWorker"), n = b("./GenericWorker"), u = b("../base64"), _ = b("../support"), y = b("../external"), p = null;
593
- if (_.nodestream) try {
594
- p = b("../nodejs/NodejsStreamOutputAdapter");
588
+ var u = "Worker " + this.name;
589
+ return this.previous ? this.previous + " -> " + u : u;
590
+ } }, N.exports = o;
591
+ }, {}], 29: [function(_, N, k) {
592
+ var o = _("../utils"), u = _("./ConvertWorker"), n = _("./GenericWorker"), h = _("../base64"), g = _("../support"), y = _("../external"), p = null;
593
+ if (g.nodestream) try {
594
+ p = _("../nodejs/NodejsStreamOutputAdapter");
595
595
  } catch {
596
596
  }
597
- function g(d, r) {
598
- return new y.Promise(function(h, a) {
599
- var c = [], v = d._internalType, S = d._outputType, x = d._mimeType;
597
+ function b(d, r) {
598
+ return new y.Promise(function(l, a) {
599
+ var c = [], v = d._internalType, z = d._outputType, x = d._mimeType;
600
600
  d.on("data", function(D, O) {
601
601
  c.push(D), r && r(O);
602
602
  }).on("error", function(D) {
@@ -606,13 +606,13 @@ function Tt() {
606
606
  var D = (function(O, L, I) {
607
607
  switch (O) {
608
608
  case "blob":
609
- return l.newBlob(l.transformTo("arraybuffer", L), I);
609
+ return o.newBlob(o.transformTo("arraybuffer", L), I);
610
610
  case "base64":
611
- return u.encode(L);
611
+ return h.encode(L);
612
612
  default:
613
- return l.transformTo(O, L);
613
+ return o.transformTo(O, L);
614
614
  }
615
- })(S, (function(O, L) {
615
+ })(z, (function(O, L) {
616
616
  var I, W = 0, q = null, m = 0;
617
617
  for (I = 0; I < L.length; I++) m += L[I].length;
618
618
  switch (O) {
@@ -629,7 +629,7 @@ function Tt() {
629
629
  throw new Error("concat : unsupported type '" + O + "'");
630
630
  }
631
631
  })(v, c), x);
632
- h(D);
632
+ l(D);
633
633
  } catch (O) {
634
634
  a(O);
635
635
  }
@@ -637,7 +637,7 @@ function Tt() {
637
637
  }).resume();
638
638
  });
639
639
  }
640
- function i(d, r, h) {
640
+ function i(d, r, l) {
641
641
  var a = r;
642
642
  switch (r) {
643
643
  case "blob":
@@ -648,154 +648,154 @@ function Tt() {
648
648
  a = "string";
649
649
  }
650
650
  try {
651
- this._internalType = a, this._outputType = r, this._mimeType = h, l.checkSupport(a), this._worker = d.pipe(new o(a)), d.lock();
651
+ this._internalType = a, this._outputType = r, this._mimeType = l, o.checkSupport(a), this._worker = d.pipe(new u(a)), d.lock();
652
652
  } catch (c) {
653
653
  this._worker = new n("error"), this._worker.error(c);
654
654
  }
655
655
  }
656
656
  i.prototype = { accumulate: function(d) {
657
- return g(this, d);
657
+ return b(this, d);
658
658
  }, on: function(d, r) {
659
- var h = this;
659
+ var l = this;
660
660
  return d === "data" ? this._worker.on(d, function(a) {
661
- r.call(h, a.data, a.meta);
661
+ r.call(l, a.data, a.meta);
662
662
  }) : this._worker.on(d, function() {
663
- l.delay(r, arguments, h);
663
+ o.delay(r, arguments, l);
664
664
  }), this;
665
665
  }, resume: function() {
666
- return l.delay(this._worker.resume, [], this._worker), this;
666
+ return o.delay(this._worker.resume, [], this._worker), this;
667
667
  }, pause: function() {
668
668
  return this._worker.pause(), this;
669
669
  }, toNodejsStream: function(d) {
670
- if (l.checkSupport("nodestream"), this._outputType !== "nodebuffer") throw new Error(this._outputType + " is not supported by this method");
670
+ if (o.checkSupport("nodestream"), this._outputType !== "nodebuffer") throw new Error(this._outputType + " is not supported by this method");
671
671
  return new p(this, { objectMode: this._outputType !== "nodebuffer" }, d);
672
- } }, U.exports = i;
673
- }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(b, U, w) {
674
- if (w.base64 = !0, w.array = !0, w.string = !0, w.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", w.nodebuffer = typeof Buffer < "u", w.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") w.blob = !1;
672
+ } }, N.exports = i;
673
+ }, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(_, N, k) {
674
+ if (k.base64 = !0, k.array = !0, k.string = !0, k.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", k.nodebuffer = typeof Buffer < "u", k.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") k.blob = !1;
675
675
  else {
676
- var l = new ArrayBuffer(0);
676
+ var o = new ArrayBuffer(0);
677
677
  try {
678
- w.blob = new Blob([l], { type: "application/zip" }).size === 0;
678
+ k.blob = new Blob([o], { type: "application/zip" }).size === 0;
679
679
  } catch {
680
680
  try {
681
- var o = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
682
- o.append(l), w.blob = o.getBlob("application/zip").size === 0;
681
+ var u = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
682
+ u.append(o), k.blob = u.getBlob("application/zip").size === 0;
683
683
  } catch {
684
- w.blob = !1;
684
+ k.blob = !1;
685
685
  }
686
686
  }
687
687
  }
688
688
  try {
689
- w.nodestream = !!b("readable-stream").Readable;
689
+ k.nodestream = !!_("readable-stream").Readable;
690
690
  } catch {
691
- w.nodestream = !1;
691
+ k.nodestream = !1;
692
692
  }
693
- }, { "readable-stream": 16 }], 31: [function(b, U, w) {
694
- for (var l = b("./utils"), o = b("./support"), n = b("./nodejsUtils"), u = b("./stream/GenericWorker"), _ = new Array(256), y = 0; y < 256; y++) _[y] = 252 <= y ? 6 : 248 <= y ? 5 : 240 <= y ? 4 : 224 <= y ? 3 : 192 <= y ? 2 : 1;
695
- _[254] = _[254] = 1;
693
+ }, { "readable-stream": 16 }], 31: [function(_, N, k) {
694
+ for (var o = _("./utils"), u = _("./support"), n = _("./nodejsUtils"), h = _("./stream/GenericWorker"), g = new Array(256), y = 0; y < 256; y++) g[y] = 252 <= y ? 6 : 248 <= y ? 5 : 240 <= y ? 4 : 224 <= y ? 3 : 192 <= y ? 2 : 1;
695
+ g[254] = g[254] = 1;
696
696
  function p() {
697
- u.call(this, "utf-8 decode"), this.leftOver = null;
697
+ h.call(this, "utf-8 decode"), this.leftOver = null;
698
698
  }
699
- function g() {
700
- u.call(this, "utf-8 encode");
699
+ function b() {
700
+ h.call(this, "utf-8 encode");
701
701
  }
702
- w.utf8encode = function(i) {
703
- return o.nodebuffer ? n.newBufferFrom(i, "utf-8") : (function(d) {
704
- var r, h, a, c, v, S = d.length, x = 0;
705
- for (c = 0; c < S; c++) (64512 & (h = d.charCodeAt(c))) == 55296 && c + 1 < S && (64512 & (a = d.charCodeAt(c + 1))) == 56320 && (h = 65536 + (h - 55296 << 10) + (a - 56320), c++), x += h < 128 ? 1 : h < 2048 ? 2 : h < 65536 ? 3 : 4;
706
- for (r = o.uint8array ? new Uint8Array(x) : new Array(x), c = v = 0; v < x; c++) (64512 & (h = d.charCodeAt(c))) == 55296 && c + 1 < S && (64512 & (a = d.charCodeAt(c + 1))) == 56320 && (h = 65536 + (h - 55296 << 10) + (a - 56320), c++), h < 128 ? r[v++] = h : (h < 2048 ? r[v++] = 192 | h >>> 6 : (h < 65536 ? r[v++] = 224 | h >>> 12 : (r[v++] = 240 | h >>> 18, r[v++] = 128 | h >>> 12 & 63), r[v++] = 128 | h >>> 6 & 63), r[v++] = 128 | 63 & h);
702
+ k.utf8encode = function(i) {
703
+ return u.nodebuffer ? n.newBufferFrom(i, "utf-8") : (function(d) {
704
+ var r, l, a, c, v, z = d.length, x = 0;
705
+ for (c = 0; c < z; c++) (64512 & (l = d.charCodeAt(c))) == 55296 && c + 1 < z && (64512 & (a = d.charCodeAt(c + 1))) == 56320 && (l = 65536 + (l - 55296 << 10) + (a - 56320), c++), x += l < 128 ? 1 : l < 2048 ? 2 : l < 65536 ? 3 : 4;
706
+ for (r = u.uint8array ? new Uint8Array(x) : new Array(x), c = v = 0; v < x; c++) (64512 & (l = d.charCodeAt(c))) == 55296 && c + 1 < z && (64512 & (a = d.charCodeAt(c + 1))) == 56320 && (l = 65536 + (l - 55296 << 10) + (a - 56320), c++), l < 128 ? r[v++] = l : (l < 2048 ? r[v++] = 192 | l >>> 6 : (l < 65536 ? r[v++] = 224 | l >>> 12 : (r[v++] = 240 | l >>> 18, r[v++] = 128 | l >>> 12 & 63), r[v++] = 128 | l >>> 6 & 63), r[v++] = 128 | 63 & l);
707
707
  return r;
708
708
  })(i);
709
- }, w.utf8decode = function(i) {
710
- return o.nodebuffer ? l.transformTo("nodebuffer", i).toString("utf-8") : (function(d) {
711
- var r, h, a, c, v = d.length, S = new Array(2 * v);
712
- for (r = h = 0; r < v; ) if ((a = d[r++]) < 128) S[h++] = a;
713
- else if (4 < (c = _[a])) S[h++] = 65533, r += c - 1;
709
+ }, k.utf8decode = function(i) {
710
+ return u.nodebuffer ? o.transformTo("nodebuffer", i).toString("utf-8") : (function(d) {
711
+ var r, l, a, c, v = d.length, z = new Array(2 * v);
712
+ for (r = l = 0; r < v; ) if ((a = d[r++]) < 128) z[l++] = a;
713
+ else if (4 < (c = g[a])) z[l++] = 65533, r += c - 1;
714
714
  else {
715
715
  for (a &= c === 2 ? 31 : c === 3 ? 15 : 7; 1 < c && r < v; ) a = a << 6 | 63 & d[r++], c--;
716
- 1 < c ? S[h++] = 65533 : a < 65536 ? S[h++] = a : (a -= 65536, S[h++] = 55296 | a >> 10 & 1023, S[h++] = 56320 | 1023 & a);
716
+ 1 < c ? z[l++] = 65533 : a < 65536 ? z[l++] = a : (a -= 65536, z[l++] = 55296 | a >> 10 & 1023, z[l++] = 56320 | 1023 & a);
717
717
  }
718
- return S.length !== h && (S.subarray ? S = S.subarray(0, h) : S.length = h), l.applyFromCharCode(S);
719
- })(i = l.transformTo(o.uint8array ? "uint8array" : "array", i));
720
- }, l.inherits(p, u), p.prototype.processChunk = function(i) {
721
- var d = l.transformTo(o.uint8array ? "uint8array" : "array", i.data);
718
+ return z.length !== l && (z.subarray ? z = z.subarray(0, l) : z.length = l), o.applyFromCharCode(z);
719
+ })(i = o.transformTo(u.uint8array ? "uint8array" : "array", i));
720
+ }, o.inherits(p, h), p.prototype.processChunk = function(i) {
721
+ var d = o.transformTo(u.uint8array ? "uint8array" : "array", i.data);
722
722
  if (this.leftOver && this.leftOver.length) {
723
- if (o.uint8array) {
723
+ if (u.uint8array) {
724
724
  var r = d;
725
725
  (d = new Uint8Array(r.length + this.leftOver.length)).set(this.leftOver, 0), d.set(r, this.leftOver.length);
726
726
  } else d = this.leftOver.concat(d);
727
727
  this.leftOver = null;
728
728
  }
729
- var h = (function(c, v) {
730
- var S;
731
- for ((v = v || c.length) > c.length && (v = c.length), S = v - 1; 0 <= S && (192 & c[S]) == 128; ) S--;
732
- return S < 0 || S === 0 ? v : S + _[c[S]] > v ? S : v;
729
+ var l = (function(c, v) {
730
+ var z;
731
+ for ((v = v || c.length) > c.length && (v = c.length), z = v - 1; 0 <= z && (192 & c[z]) == 128; ) z--;
732
+ return z < 0 || z === 0 ? v : z + g[c[z]] > v ? z : v;
733
733
  })(d), a = d;
734
- h !== d.length && (o.uint8array ? (a = d.subarray(0, h), this.leftOver = d.subarray(h, d.length)) : (a = d.slice(0, h), this.leftOver = d.slice(h, d.length))), this.push({ data: w.utf8decode(a), meta: i.meta });
734
+ l !== d.length && (u.uint8array ? (a = d.subarray(0, l), this.leftOver = d.subarray(l, d.length)) : (a = d.slice(0, l), this.leftOver = d.slice(l, d.length))), this.push({ data: k.utf8decode(a), meta: i.meta });
735
735
  }, p.prototype.flush = function() {
736
- this.leftOver && this.leftOver.length && (this.push({ data: w.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
737
- }, w.Utf8DecodeWorker = p, l.inherits(g, u), g.prototype.processChunk = function(i) {
738
- this.push({ data: w.utf8encode(i.data), meta: i.meta });
739
- }, w.Utf8EncodeWorker = g;
740
- }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(b, U, w) {
741
- var l = b("./support"), o = b("./base64"), n = b("./nodejsUtils"), u = b("./external");
742
- function _(r) {
736
+ this.leftOver && this.leftOver.length && (this.push({ data: k.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
737
+ }, k.Utf8DecodeWorker = p, o.inherits(b, h), b.prototype.processChunk = function(i) {
738
+ this.push({ data: k.utf8encode(i.data), meta: i.meta });
739
+ }, k.Utf8EncodeWorker = b;
740
+ }, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(_, N, k) {
741
+ var o = _("./support"), u = _("./base64"), n = _("./nodejsUtils"), h = _("./external");
742
+ function g(r) {
743
743
  return r;
744
744
  }
745
- function y(r, h) {
746
- for (var a = 0; a < r.length; ++a) h[a] = 255 & r.charCodeAt(a);
747
- return h;
745
+ function y(r, l) {
746
+ for (var a = 0; a < r.length; ++a) l[a] = 255 & r.charCodeAt(a);
747
+ return l;
748
748
  }
749
- b("setimmediate"), w.newBlob = function(r, h) {
750
- w.checkSupport("blob");
749
+ _("setimmediate"), k.newBlob = function(r, l) {
750
+ k.checkSupport("blob");
751
751
  try {
752
- return new Blob([r], { type: h });
752
+ return new Blob([r], { type: l });
753
753
  } catch {
754
754
  try {
755
755
  var a = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
756
- return a.append(r), a.getBlob(h);
756
+ return a.append(r), a.getBlob(l);
757
757
  } catch {
758
758
  throw new Error("Bug : can't construct the Blob.");
759
759
  }
760
760
  }
761
761
  };
762
- var p = { stringifyByChunk: function(r, h, a) {
763
- var c = [], v = 0, S = r.length;
764
- if (S <= a) return String.fromCharCode.apply(null, r);
765
- for (; v < S; ) h === "array" || h === "nodebuffer" ? c.push(String.fromCharCode.apply(null, r.slice(v, Math.min(v + a, S)))) : c.push(String.fromCharCode.apply(null, r.subarray(v, Math.min(v + a, S)))), v += a;
762
+ var p = { stringifyByChunk: function(r, l, a) {
763
+ var c = [], v = 0, z = r.length;
764
+ if (z <= a) return String.fromCharCode.apply(null, r);
765
+ for (; v < z; ) l === "array" || l === "nodebuffer" ? c.push(String.fromCharCode.apply(null, r.slice(v, Math.min(v + a, z)))) : c.push(String.fromCharCode.apply(null, r.subarray(v, Math.min(v + a, z)))), v += a;
766
766
  return c.join("");
767
767
  }, stringifyByChar: function(r) {
768
- for (var h = "", a = 0; a < r.length; a++) h += String.fromCharCode(r[a]);
769
- return h;
768
+ for (var l = "", a = 0; a < r.length; a++) l += String.fromCharCode(r[a]);
769
+ return l;
770
770
  }, applyCanBeUsed: { uint8array: (function() {
771
771
  try {
772
- return l.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1;
772
+ return o.uint8array && String.fromCharCode.apply(null, new Uint8Array(1)).length === 1;
773
773
  } catch {
774
774
  return !1;
775
775
  }
776
776
  })(), nodebuffer: (function() {
777
777
  try {
778
- return l.nodebuffer && String.fromCharCode.apply(null, n.allocBuffer(1)).length === 1;
778
+ return o.nodebuffer && String.fromCharCode.apply(null, n.allocBuffer(1)).length === 1;
779
779
  } catch {
780
780
  return !1;
781
781
  }
782
782
  })() } };
783
- function g(r) {
784
- var h = 65536, a = w.getTypeOf(r), c = !0;
785
- if (a === "uint8array" ? c = p.applyCanBeUsed.uint8array : a === "nodebuffer" && (c = p.applyCanBeUsed.nodebuffer), c) for (; 1 < h; ) try {
786
- return p.stringifyByChunk(r, a, h);
783
+ function b(r) {
784
+ var l = 65536, a = k.getTypeOf(r), c = !0;
785
+ if (a === "uint8array" ? c = p.applyCanBeUsed.uint8array : a === "nodebuffer" && (c = p.applyCanBeUsed.nodebuffer), c) for (; 1 < l; ) try {
786
+ return p.stringifyByChunk(r, a, l);
787
787
  } catch {
788
- h = Math.floor(h / 2);
788
+ l = Math.floor(l / 2);
789
789
  }
790
790
  return p.stringifyByChar(r);
791
791
  }
792
- function i(r, h) {
793
- for (var a = 0; a < r.length; a++) h[a] = r[a];
794
- return h;
792
+ function i(r, l) {
793
+ for (var a = 0; a < r.length; a++) l[a] = r[a];
794
+ return l;
795
795
  }
796
- w.applyFromCharCode = g;
796
+ k.applyFromCharCode = b;
797
797
  var d = {};
798
- d.string = { string: _, array: function(r) {
798
+ d.string = { string: g, array: function(r) {
799
799
  return y(r, new Array(r.length));
800
800
  }, arraybuffer: function(r) {
801
801
  return d.string.uint8array(r).buffer;
@@ -803,148 +803,148 @@ function Tt() {
803
803
  return y(r, new Uint8Array(r.length));
804
804
  }, nodebuffer: function(r) {
805
805
  return y(r, n.allocBuffer(r.length));
806
- } }, d.array = { string: g, array: _, arraybuffer: function(r) {
806
+ } }, d.array = { string: b, array: g, arraybuffer: function(r) {
807
807
  return new Uint8Array(r).buffer;
808
808
  }, uint8array: function(r) {
809
809
  return new Uint8Array(r);
810
810
  }, nodebuffer: function(r) {
811
811
  return n.newBufferFrom(r);
812
812
  } }, d.arraybuffer = { string: function(r) {
813
- return g(new Uint8Array(r));
813
+ return b(new Uint8Array(r));
814
814
  }, array: function(r) {
815
815
  return i(new Uint8Array(r), new Array(r.byteLength));
816
- }, arraybuffer: _, uint8array: function(r) {
816
+ }, arraybuffer: g, uint8array: function(r) {
817
817
  return new Uint8Array(r);
818
818
  }, nodebuffer: function(r) {
819
819
  return n.newBufferFrom(new Uint8Array(r));
820
- } }, d.uint8array = { string: g, array: function(r) {
820
+ } }, d.uint8array = { string: b, array: function(r) {
821
821
  return i(r, new Array(r.length));
822
822
  }, arraybuffer: function(r) {
823
823
  return r.buffer;
824
- }, uint8array: _, nodebuffer: function(r) {
824
+ }, uint8array: g, nodebuffer: function(r) {
825
825
  return n.newBufferFrom(r);
826
- } }, d.nodebuffer = { string: g, array: function(r) {
826
+ } }, d.nodebuffer = { string: b, array: function(r) {
827
827
  return i(r, new Array(r.length));
828
828
  }, arraybuffer: function(r) {
829
829
  return d.nodebuffer.uint8array(r).buffer;
830
830
  }, uint8array: function(r) {
831
831
  return i(r, new Uint8Array(r.length));
832
- }, nodebuffer: _ }, w.transformTo = function(r, h) {
833
- if (h = h || "", !r) return h;
834
- w.checkSupport(r);
835
- var a = w.getTypeOf(h);
836
- return d[a][r](h);
837
- }, w.resolve = function(r) {
838
- for (var h = r.split("/"), a = [], c = 0; c < h.length; c++) {
839
- var v = h[c];
840
- v === "." || v === "" && c !== 0 && c !== h.length - 1 || (v === ".." ? a.pop() : a.push(v));
832
+ }, nodebuffer: g }, k.transformTo = function(r, l) {
833
+ if (l = l || "", !r) return l;
834
+ k.checkSupport(r);
835
+ var a = k.getTypeOf(l);
836
+ return d[a][r](l);
837
+ }, k.resolve = function(r) {
838
+ for (var l = r.split("/"), a = [], c = 0; c < l.length; c++) {
839
+ var v = l[c];
840
+ v === "." || v === "" && c !== 0 && c !== l.length - 1 || (v === ".." ? a.pop() : a.push(v));
841
841
  }
842
842
  return a.join("/");
843
- }, w.getTypeOf = function(r) {
844
- return typeof r == "string" ? "string" : Object.prototype.toString.call(r) === "[object Array]" ? "array" : l.nodebuffer && n.isBuffer(r) ? "nodebuffer" : l.uint8array && r instanceof Uint8Array ? "uint8array" : l.arraybuffer && r instanceof ArrayBuffer ? "arraybuffer" : void 0;
845
- }, w.checkSupport = function(r) {
846
- if (!l[r.toLowerCase()]) throw new Error(r + " is not supported by this platform");
847
- }, w.MAX_VALUE_16BITS = 65535, w.MAX_VALUE_32BITS = -1, w.pretty = function(r) {
848
- var h, a, c = "";
849
- for (a = 0; a < (r || "").length; a++) c += "\\x" + ((h = r.charCodeAt(a)) < 16 ? "0" : "") + h.toString(16).toUpperCase();
843
+ }, k.getTypeOf = function(r) {
844
+ return typeof r == "string" ? "string" : Object.prototype.toString.call(r) === "[object Array]" ? "array" : o.nodebuffer && n.isBuffer(r) ? "nodebuffer" : o.uint8array && r instanceof Uint8Array ? "uint8array" : o.arraybuffer && r instanceof ArrayBuffer ? "arraybuffer" : void 0;
845
+ }, k.checkSupport = function(r) {
846
+ if (!o[r.toLowerCase()]) throw new Error(r + " is not supported by this platform");
847
+ }, k.MAX_VALUE_16BITS = 65535, k.MAX_VALUE_32BITS = -1, k.pretty = function(r) {
848
+ var l, a, c = "";
849
+ for (a = 0; a < (r || "").length; a++) c += "\\x" + ((l = r.charCodeAt(a)) < 16 ? "0" : "") + l.toString(16).toUpperCase();
850
850
  return c;
851
- }, w.delay = function(r, h, a) {
851
+ }, k.delay = function(r, l, a) {
852
852
  setImmediate(function() {
853
- r.apply(a || null, h || []);
853
+ r.apply(a || null, l || []);
854
854
  });
855
- }, w.inherits = function(r, h) {
855
+ }, k.inherits = function(r, l) {
856
856
  function a() {
857
857
  }
858
- a.prototype = h.prototype, r.prototype = new a();
859
- }, w.extend = function() {
860
- var r, h, a = {};
861
- for (r = 0; r < arguments.length; r++) for (h in arguments[r]) Object.prototype.hasOwnProperty.call(arguments[r], h) && a[h] === void 0 && (a[h] = arguments[r][h]);
858
+ a.prototype = l.prototype, r.prototype = new a();
859
+ }, k.extend = function() {
860
+ var r, l, a = {};
861
+ for (r = 0; r < arguments.length; r++) for (l in arguments[r]) Object.prototype.hasOwnProperty.call(arguments[r], l) && a[l] === void 0 && (a[l] = arguments[r][l]);
862
862
  return a;
863
- }, w.prepareContent = function(r, h, a, c, v) {
864
- return u.Promise.resolve(h).then(function(S) {
865
- return l.blob && (S instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(S)) !== -1) && typeof FileReader < "u" ? new u.Promise(function(x, D) {
863
+ }, k.prepareContent = function(r, l, a, c, v) {
864
+ return h.Promise.resolve(l).then(function(z) {
865
+ return o.blob && (z instanceof Blob || ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(z)) !== -1) && typeof FileReader < "u" ? new h.Promise(function(x, D) {
866
866
  var O = new FileReader();
867
867
  O.onload = function(L) {
868
868
  x(L.target.result);
869
869
  }, O.onerror = function(L) {
870
870
  D(L.target.error);
871
- }, O.readAsArrayBuffer(S);
872
- }) : S;
873
- }).then(function(S) {
874
- var x = w.getTypeOf(S);
875
- return x ? (x === "arraybuffer" ? S = w.transformTo("uint8array", S) : x === "string" && (v ? S = o.decode(S) : a && c !== !0 && (S = (function(D) {
876
- return y(D, l.uint8array ? new Uint8Array(D.length) : new Array(D.length));
877
- })(S))), S) : u.Promise.reject(new Error("Can't read the data of '" + r + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
871
+ }, O.readAsArrayBuffer(z);
872
+ }) : z;
873
+ }).then(function(z) {
874
+ var x = k.getTypeOf(z);
875
+ return x ? (x === "arraybuffer" ? z = k.transformTo("uint8array", z) : x === "string" && (v ? z = u.decode(z) : a && c !== !0 && (z = (function(D) {
876
+ return y(D, o.uint8array ? new Uint8Array(D.length) : new Array(D.length));
877
+ })(z))), z) : h.Promise.reject(new Error("Can't read the data of '" + r + "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"));
878
878
  });
879
879
  };
880
- }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(b, U, w) {
881
- var l = b("./reader/readerFor"), o = b("./utils"), n = b("./signature"), u = b("./zipEntry"), _ = b("./support");
880
+ }, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(_, N, k) {
881
+ var o = _("./reader/readerFor"), u = _("./utils"), n = _("./signature"), h = _("./zipEntry"), g = _("./support");
882
882
  function y(p) {
883
883
  this.files = [], this.loadOptions = p;
884
884
  }
885
885
  y.prototype = { checkSignature: function(p) {
886
886
  if (!this.reader.readAndCheckSignature(p)) {
887
887
  this.reader.index -= 4;
888
- var g = this.reader.readString(4);
889
- throw new Error("Corrupted zip or bug: unexpected signature (" + o.pretty(g) + ", expected " + o.pretty(p) + ")");
888
+ var b = this.reader.readString(4);
889
+ throw new Error("Corrupted zip or bug: unexpected signature (" + u.pretty(b) + ", expected " + u.pretty(p) + ")");
890
890
  }
891
- }, isSignature: function(p, g) {
891
+ }, isSignature: function(p, b) {
892
892
  var i = this.reader.index;
893
893
  this.reader.setIndex(p);
894
- var d = this.reader.readString(4) === g;
894
+ var d = this.reader.readString(4) === b;
895
895
  return this.reader.setIndex(i), d;
896
896
  }, readBlockEndOfCentral: function() {
897
897
  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);
898
- var p = this.reader.readData(this.zipCommentLength), g = _.uint8array ? "uint8array" : "array", i = o.transformTo(g, p);
898
+ var p = this.reader.readData(this.zipCommentLength), b = g.uint8array ? "uint8array" : "array", i = u.transformTo(b, p);
899
899
  this.zipComment = this.loadOptions.decodeFileName(i);
900
900
  }, readBlockZip64EndOfCentral: function() {
901
901
  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 = {};
902
- for (var p, g, i, d = this.zip64EndOfCentralSize - 44; 0 < d; ) p = this.reader.readInt(2), g = this.reader.readInt(4), i = this.reader.readData(g), this.zip64ExtensibleData[p] = { id: p, length: g, value: i };
902
+ for (var p, b, i, d = this.zip64EndOfCentralSize - 44; 0 < d; ) p = this.reader.readInt(2), b = this.reader.readInt(4), i = this.reader.readData(b), this.zip64ExtensibleData[p] = { id: p, length: b, value: i };
903
903
  }, readBlockZip64EndOfCentralLocator: function() {
904
904
  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");
905
905
  }, readLocalFiles: function() {
906
- var p, g;
907
- for (p = 0; p < this.files.length; p++) g = this.files[p], this.reader.setIndex(g.localHeaderOffset), this.checkSignature(n.LOCAL_FILE_HEADER), g.readLocalPart(this.reader), g.handleUTF8(), g.processAttributes();
906
+ var p, b;
907
+ for (p = 0; p < this.files.length; p++) b = this.files[p], this.reader.setIndex(b.localHeaderOffset), this.checkSignature(n.LOCAL_FILE_HEADER), b.readLocalPart(this.reader), b.handleUTF8(), b.processAttributes();
908
908
  }, readCentralDir: function() {
909
909
  var p;
910
- for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER); ) (p = new u({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(p);
910
+ for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER); ) (p = new h({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(p);
911
911
  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);
912
912
  }, readEndOfCentral: function() {
913
913
  var p = this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);
914
914
  if (p < 0) throw this.isSignature(0, n.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");
915
915
  this.reader.setIndex(p);
916
- var g = p;
917
- if (this.checkSignature(n.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) {
916
+ var b = p;
917
+ if (this.checkSignature(n.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === u.MAX_VALUE_16BITS || this.diskWithCentralDirStart === u.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === u.MAX_VALUE_16BITS || this.centralDirRecords === u.MAX_VALUE_16BITS || this.centralDirSize === u.MAX_VALUE_32BITS || this.centralDirOffset === u.MAX_VALUE_32BITS) {
918
918
  if (this.zip64 = !0, (p = this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
919
919
  if (this.reader.setIndex(p), this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, n.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
920
920
  this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral();
921
921
  }
922
922
  var i = this.centralDirOffset + this.centralDirSize;
923
923
  this.zip64 && (i += 20, i += 12 + this.zip64EndOfCentralSize);
924
- var d = g - i;
925
- if (0 < d) this.isSignature(g, n.CENTRAL_FILE_HEADER) || (this.reader.zero = d);
924
+ var d = b - i;
925
+ if (0 < d) this.isSignature(b, n.CENTRAL_FILE_HEADER) || (this.reader.zero = d);
926
926
  else if (d < 0) throw new Error("Corrupted zip: missing " + Math.abs(d) + " bytes.");
927
927
  }, prepareReader: function(p) {
928
- this.reader = l(p);
928
+ this.reader = o(p);
929
929
  }, load: function(p) {
930
930
  this.prepareReader(p), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
931
- } }, U.exports = y;
932
- }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(b, U, w) {
933
- var l = b("./reader/readerFor"), o = b("./utils"), n = b("./compressedObject"), u = b("./crc32"), _ = b("./utf8"), y = b("./compressions"), p = b("./support");
934
- function g(i, d) {
931
+ } }, N.exports = y;
932
+ }, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(_, N, k) {
933
+ var o = _("./reader/readerFor"), u = _("./utils"), n = _("./compressedObject"), h = _("./crc32"), g = _("./utf8"), y = _("./compressions"), p = _("./support");
934
+ function b(i, d) {
935
935
  this.options = i, this.loadOptions = d;
936
936
  }
937
- g.prototype = { isEncrypted: function() {
937
+ b.prototype = { isEncrypted: function() {
938
938
  return (1 & this.bitFlag) == 1;
939
939
  }, useUTF8: function() {
940
940
  return (2048 & this.bitFlag) == 2048;
941
941
  }, readLocalPart: function(i) {
942
942
  var d, r;
943
943
  if (i.skip(22), this.fileNameLength = i.readInt(2), r = i.readInt(2), this.fileName = i.readData(this.fileNameLength), i.skip(r), 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)");
944
- if ((d = (function(h) {
945
- for (var a in y) if (Object.prototype.hasOwnProperty.call(y, a) && y[a].magic === h) return y[a];
944
+ if ((d = (function(l) {
945
+ for (var a in y) if (Object.prototype.hasOwnProperty.call(y, a) && y[a].magic === l) return y[a];
946
946
  return null;
947
- })(this.compressionMethod)) === null) throw new Error("Corrupted zip : compression " + o.pretty(this.compressionMethod) + " unknown (inner file : " + o.transformTo("string", this.fileName) + ")");
947
+ })(this.compressionMethod)) === null) throw new Error("Corrupted zip : compression " + u.pretty(this.compressionMethod) + " unknown (inner file : " + u.transformTo("string", this.fileName) + ")");
948
948
  this.decompressed = new n(this.compressedSize, this.uncompressedSize, this.crc32, d, i.readData(this.compressedSize));
949
949
  }, readCentralPart: function(i) {
950
950
  this.versionMadeBy = i.readInt(2), i.skip(2), this.bitFlag = i.readInt(2), this.compressionMethod = i.readString(2), this.date = i.readDate(), this.crc32 = i.readInt(4), this.compressedSize = i.readInt(4), this.uncompressedSize = i.readInt(4);
@@ -957,134 +957,134 @@ function Tt() {
957
957
  this.dir = !!(16 & this.externalFileAttributes), i == 0 && (this.dosPermissions = 63 & this.externalFileAttributes), i == 3 && (this.unixPermissions = this.externalFileAttributes >> 16 & 65535), this.dir || this.fileNameStr.slice(-1) !== "/" || (this.dir = !0);
958
958
  }, parseZIP64ExtraField: function() {
959
959
  if (this.extraFields[1]) {
960
- var i = l(this.extraFields[1].value);
961
- this.uncompressedSize === o.MAX_VALUE_32BITS && (this.uncompressedSize = i.readInt(8)), this.compressedSize === o.MAX_VALUE_32BITS && (this.compressedSize = i.readInt(8)), this.localHeaderOffset === o.MAX_VALUE_32BITS && (this.localHeaderOffset = i.readInt(8)), this.diskNumberStart === o.MAX_VALUE_32BITS && (this.diskNumberStart = i.readInt(4));
960
+ var i = o(this.extraFields[1].value);
961
+ this.uncompressedSize === u.MAX_VALUE_32BITS && (this.uncompressedSize = i.readInt(8)), this.compressedSize === u.MAX_VALUE_32BITS && (this.compressedSize = i.readInt(8)), this.localHeaderOffset === u.MAX_VALUE_32BITS && (this.localHeaderOffset = i.readInt(8)), this.diskNumberStart === u.MAX_VALUE_32BITS && (this.diskNumberStart = i.readInt(4));
962
962
  }
963
963
  }, readExtraFields: function(i) {
964
- var d, r, h, a = i.index + this.extraFieldsLength;
965
- for (this.extraFields || (this.extraFields = {}); i.index + 4 < a; ) d = i.readInt(2), r = i.readInt(2), h = i.readData(r), this.extraFields[d] = { id: d, length: r, value: h };
964
+ var d, r, l, a = i.index + this.extraFieldsLength;
965
+ for (this.extraFields || (this.extraFields = {}); i.index + 4 < a; ) d = i.readInt(2), r = i.readInt(2), l = i.readData(r), this.extraFields[d] = { id: d, length: r, value: l };
966
966
  i.setIndex(a);
967
967
  }, handleUTF8: function() {
968
968
  var i = p.uint8array ? "uint8array" : "array";
969
- if (this.useUTF8()) this.fileNameStr = _.utf8decode(this.fileName), this.fileCommentStr = _.utf8decode(this.fileComment);
969
+ if (this.useUTF8()) this.fileNameStr = g.utf8decode(this.fileName), this.fileCommentStr = g.utf8decode(this.fileComment);
970
970
  else {
971
971
  var d = this.findExtraFieldUnicodePath();
972
972
  if (d !== null) this.fileNameStr = d;
973
973
  else {
974
- var r = o.transformTo(i, this.fileName);
974
+ var r = u.transformTo(i, this.fileName);
975
975
  this.fileNameStr = this.loadOptions.decodeFileName(r);
976
976
  }
977
- var h = this.findExtraFieldUnicodeComment();
978
- if (h !== null) this.fileCommentStr = h;
977
+ var l = this.findExtraFieldUnicodeComment();
978
+ if (l !== null) this.fileCommentStr = l;
979
979
  else {
980
- var a = o.transformTo(i, this.fileComment);
980
+ var a = u.transformTo(i, this.fileComment);
981
981
  this.fileCommentStr = this.loadOptions.decodeFileName(a);
982
982
  }
983
983
  }
984
984
  }, findExtraFieldUnicodePath: function() {
985
985
  var i = this.extraFields[28789];
986
986
  if (i) {
987
- var d = l(i.value);
988
- return d.readInt(1) !== 1 || u(this.fileName) !== d.readInt(4) ? null : _.utf8decode(d.readData(i.length - 5));
987
+ var d = o(i.value);
988
+ return d.readInt(1) !== 1 || h(this.fileName) !== d.readInt(4) ? null : g.utf8decode(d.readData(i.length - 5));
989
989
  }
990
990
  return null;
991
991
  }, findExtraFieldUnicodeComment: function() {
992
992
  var i = this.extraFields[25461];
993
993
  if (i) {
994
- var d = l(i.value);
995
- return d.readInt(1) !== 1 || u(this.fileComment) !== d.readInt(4) ? null : _.utf8decode(d.readData(i.length - 5));
994
+ var d = o(i.value);
995
+ return d.readInt(1) !== 1 || h(this.fileComment) !== d.readInt(4) ? null : g.utf8decode(d.readData(i.length - 5));
996
996
  }
997
997
  return null;
998
- } }, U.exports = g;
999
- }, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(b, U, w) {
1000
- function l(d, r, h) {
1001
- this.name = d, this.dir = h.dir, this.date = h.date, this.comment = h.comment, this.unixPermissions = h.unixPermissions, this.dosPermissions = h.dosPermissions, this._data = r, this._dataBinary = h.binary, this.options = { compression: h.compression, compressionOptions: h.compressionOptions };
1002
- }
1003
- var o = b("./stream/StreamHelper"), n = b("./stream/DataWorker"), u = b("./utf8"), _ = b("./compressedObject"), y = b("./stream/GenericWorker");
1004
- l.prototype = { internalStream: function(d) {
1005
- var r = null, h = "string";
998
+ } }, N.exports = b;
999
+ }, { "./compressedObject": 2, "./compressions": 3, "./crc32": 4, "./reader/readerFor": 22, "./support": 30, "./utf8": 31, "./utils": 32 }], 35: [function(_, N, k) {
1000
+ function o(d, r, l) {
1001
+ this.name = d, this.dir = l.dir, this.date = l.date, this.comment = l.comment, this.unixPermissions = l.unixPermissions, this.dosPermissions = l.dosPermissions, this._data = r, this._dataBinary = l.binary, this.options = { compression: l.compression, compressionOptions: l.compressionOptions };
1002
+ }
1003
+ var u = _("./stream/StreamHelper"), n = _("./stream/DataWorker"), h = _("./utf8"), g = _("./compressedObject"), y = _("./stream/GenericWorker");
1004
+ o.prototype = { internalStream: function(d) {
1005
+ var r = null, l = "string";
1006
1006
  try {
1007
1007
  if (!d) throw new Error("No output type specified.");
1008
- var a = (h = d.toLowerCase()) === "string" || h === "text";
1009
- h !== "binarystring" && h !== "text" || (h = "string"), r = this._decompressWorker();
1008
+ var a = (l = d.toLowerCase()) === "string" || l === "text";
1009
+ l !== "binarystring" && l !== "text" || (l = "string"), r = this._decompressWorker();
1010
1010
  var c = !this._dataBinary;
1011
- c && !a && (r = r.pipe(new u.Utf8EncodeWorker())), !c && a && (r = r.pipe(new u.Utf8DecodeWorker()));
1011
+ c && !a && (r = r.pipe(new h.Utf8EncodeWorker())), !c && a && (r = r.pipe(new h.Utf8DecodeWorker()));
1012
1012
  } catch (v) {
1013
1013
  (r = new y("error")).error(v);
1014
1014
  }
1015
- return new o(r, h, "");
1015
+ return new u(r, l, "");
1016
1016
  }, async: function(d, r) {
1017
1017
  return this.internalStream(d).accumulate(r);
1018
1018
  }, nodeStream: function(d, r) {
1019
1019
  return this.internalStream(d || "nodebuffer").toNodejsStream(r);
1020
1020
  }, _compressWorker: function(d, r) {
1021
- if (this._data instanceof _ && this._data.compression.magic === d.magic) return this._data.getCompressedWorker();
1022
- var h = this._decompressWorker();
1023
- return this._dataBinary || (h = h.pipe(new u.Utf8EncodeWorker())), _.createWorkerFrom(h, d, r);
1021
+ if (this._data instanceof g && this._data.compression.magic === d.magic) return this._data.getCompressedWorker();
1022
+ var l = this._decompressWorker();
1023
+ return this._dataBinary || (l = l.pipe(new h.Utf8EncodeWorker())), g.createWorkerFrom(l, d, r);
1024
1024
  }, _decompressWorker: function() {
1025
- return this._data instanceof _ ? this._data.getContentWorker() : this._data instanceof y ? this._data : new n(this._data);
1025
+ return this._data instanceof g ? this._data.getContentWorker() : this._data instanceof y ? this._data : new n(this._data);
1026
1026
  } };
1027
- for (var p = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], g = function() {
1027
+ for (var p = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], b = function() {
1028
1028
  throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
1029
- }, i = 0; i < p.length; i++) l.prototype[p[i]] = g;
1030
- U.exports = l;
1031
- }, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(b, U, w) {
1032
- (function(l) {
1033
- var o, n, u = l.MutationObserver || l.WebKitMutationObserver;
1034
- if (u) {
1035
- var _ = 0, y = new u(d), p = l.document.createTextNode("");
1036
- y.observe(p, { characterData: !0 }), o = function() {
1037
- p.data = _ = ++_ % 2;
1029
+ }, i = 0; i < p.length; i++) o.prototype[p[i]] = b;
1030
+ N.exports = o;
1031
+ }, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(_, N, k) {
1032
+ (function(o) {
1033
+ var u, n, h = o.MutationObserver || o.WebKitMutationObserver;
1034
+ if (h) {
1035
+ var g = 0, y = new h(d), p = o.document.createTextNode("");
1036
+ y.observe(p, { characterData: !0 }), u = function() {
1037
+ p.data = g = ++g % 2;
1038
1038
  };
1039
- } else if (l.setImmediate || l.MessageChannel === void 0) o = "document" in l && "onreadystatechange" in l.document.createElement("script") ? function() {
1040
- var r = l.document.createElement("script");
1039
+ } else if (o.setImmediate || o.MessageChannel === void 0) u = "document" in o && "onreadystatechange" in o.document.createElement("script") ? function() {
1040
+ var r = o.document.createElement("script");
1041
1041
  r.onreadystatechange = function() {
1042
1042
  d(), r.onreadystatechange = null, r.parentNode.removeChild(r), r = null;
1043
- }, l.document.documentElement.appendChild(r);
1043
+ }, o.document.documentElement.appendChild(r);
1044
1044
  } : function() {
1045
1045
  setTimeout(d, 0);
1046
1046
  };
1047
1047
  else {
1048
- var g = new l.MessageChannel();
1049
- g.port1.onmessage = d, o = function() {
1050
- g.port2.postMessage(0);
1048
+ var b = new o.MessageChannel();
1049
+ b.port1.onmessage = d, u = function() {
1050
+ b.port2.postMessage(0);
1051
1051
  };
1052
1052
  }
1053
1053
  var i = [];
1054
1054
  function d() {
1055
- var r, h;
1055
+ var r, l;
1056
1056
  n = !0;
1057
1057
  for (var a = i.length; a; ) {
1058
- for (h = i, i = [], r = -1; ++r < a; ) h[r]();
1058
+ for (l = i, i = [], r = -1; ++r < a; ) l[r]();
1059
1059
  a = i.length;
1060
1060
  }
1061
1061
  n = !1;
1062
1062
  }
1063
- U.exports = function(r) {
1064
- i.push(r) !== 1 || n || o();
1063
+ N.exports = function(r) {
1064
+ i.push(r) !== 1 || n || u();
1065
1065
  };
1066
- }).call(this, typeof vt < "u" ? vt : typeof self < "u" ? self : typeof window < "u" ? window : {});
1067
- }, {}], 37: [function(b, U, w) {
1068
- var l = b("immediate");
1069
- function o() {
1066
+ }).call(this, typeof yt < "u" ? yt : typeof self < "u" ? self : typeof window < "u" ? window : {});
1067
+ }, {}], 37: [function(_, N, k) {
1068
+ var o = _("immediate");
1069
+ function u() {
1070
1070
  }
1071
- var n = {}, u = ["REJECTED"], _ = ["FULFILLED"], y = ["PENDING"];
1071
+ var n = {}, h = ["REJECTED"], g = ["FULFILLED"], y = ["PENDING"];
1072
1072
  function p(a) {
1073
1073
  if (typeof a != "function") throw new TypeError("resolver must be a function");
1074
- this.state = y, this.queue = [], this.outcome = void 0, a !== o && r(this, a);
1074
+ this.state = y, this.queue = [], this.outcome = void 0, a !== u && r(this, a);
1075
1075
  }
1076
- function g(a, c, v) {
1076
+ function b(a, c, v) {
1077
1077
  this.promise = a, typeof c == "function" && (this.onFulfilled = c, this.callFulfilled = this.otherCallFulfilled), typeof v == "function" && (this.onRejected = v, this.callRejected = this.otherCallRejected);
1078
1078
  }
1079
1079
  function i(a, c, v) {
1080
- l(function() {
1081
- var S;
1080
+ o(function() {
1081
+ var z;
1082
1082
  try {
1083
- S = c(v);
1083
+ z = c(v);
1084
1084
  } catch (x) {
1085
1085
  return n.reject(a, x);
1086
1086
  }
1087
- S === a ? n.reject(a, new TypeError("Cannot resolve promise with itself")) : n.resolve(a, S);
1087
+ z === a ? n.reject(a, new TypeError("Cannot resolve promise with itself")) : n.resolve(a, z);
1088
1088
  });
1089
1089
  }
1090
1090
  function d(a) {
@@ -1095,27 +1095,27 @@ function Tt() {
1095
1095
  }
1096
1096
  function r(a, c) {
1097
1097
  var v = !1;
1098
- function S(O) {
1098
+ function z(O) {
1099
1099
  v || (v = !0, n.reject(a, O));
1100
1100
  }
1101
1101
  function x(O) {
1102
1102
  v || (v = !0, n.resolve(a, O));
1103
1103
  }
1104
- var D = h(function() {
1105
- c(x, S);
1104
+ var D = l(function() {
1105
+ c(x, z);
1106
1106
  });
1107
- D.status === "error" && S(D.value);
1107
+ D.status === "error" && z(D.value);
1108
1108
  }
1109
- function h(a, c) {
1109
+ function l(a, c) {
1110
1110
  var v = {};
1111
1111
  try {
1112
1112
  v.value = a(c), v.status = "success";
1113
- } catch (S) {
1114
- v.status = "error", v.value = S;
1113
+ } catch (z) {
1114
+ v.status = "error", v.value = z;
1115
1115
  }
1116
1116
  return v;
1117
1117
  }
1118
- (U.exports = p).prototype.finally = function(a) {
1118
+ (N.exports = p).prototype.finally = function(a) {
1119
1119
  if (typeof a != "function") return this;
1120
1120
  var c = this.constructor;
1121
1121
  return this.then(function(v) {
@@ -1130,235 +1130,235 @@ function Tt() {
1130
1130
  }, p.prototype.catch = function(a) {
1131
1131
  return this.then(null, a);
1132
1132
  }, p.prototype.then = function(a, c) {
1133
- if (typeof a != "function" && this.state === _ || typeof c != "function" && this.state === u) return this;
1134
- var v = new this.constructor(o);
1135
- return this.state !== y ? i(v, this.state === _ ? a : c, this.outcome) : this.queue.push(new g(v, a, c)), v;
1136
- }, g.prototype.callFulfilled = function(a) {
1133
+ if (typeof a != "function" && this.state === g || typeof c != "function" && this.state === h) return this;
1134
+ var v = new this.constructor(u);
1135
+ return this.state !== y ? i(v, this.state === g ? a : c, this.outcome) : this.queue.push(new b(v, a, c)), v;
1136
+ }, b.prototype.callFulfilled = function(a) {
1137
1137
  n.resolve(this.promise, a);
1138
- }, g.prototype.otherCallFulfilled = function(a) {
1138
+ }, b.prototype.otherCallFulfilled = function(a) {
1139
1139
  i(this.promise, this.onFulfilled, a);
1140
- }, g.prototype.callRejected = function(a) {
1140
+ }, b.prototype.callRejected = function(a) {
1141
1141
  n.reject(this.promise, a);
1142
- }, g.prototype.otherCallRejected = function(a) {
1142
+ }, b.prototype.otherCallRejected = function(a) {
1143
1143
  i(this.promise, this.onRejected, a);
1144
1144
  }, n.resolve = function(a, c) {
1145
- var v = h(d, c);
1145
+ var v = l(d, c);
1146
1146
  if (v.status === "error") return n.reject(a, v.value);
1147
- var S = v.value;
1148
- if (S) r(a, S);
1147
+ var z = v.value;
1148
+ if (z) r(a, z);
1149
1149
  else {
1150
- a.state = _, a.outcome = c;
1150
+ a.state = g, a.outcome = c;
1151
1151
  for (var x = -1, D = a.queue.length; ++x < D; ) a.queue[x].callFulfilled(c);
1152
1152
  }
1153
1153
  return a;
1154
1154
  }, n.reject = function(a, c) {
1155
- a.state = u, a.outcome = c;
1156
- for (var v = -1, S = a.queue.length; ++v < S; ) a.queue[v].callRejected(c);
1155
+ a.state = h, a.outcome = c;
1156
+ for (var v = -1, z = a.queue.length; ++v < z; ) a.queue[v].callRejected(c);
1157
1157
  return a;
1158
1158
  }, p.resolve = function(a) {
1159
- return a instanceof this ? a : n.resolve(new this(o), a);
1159
+ return a instanceof this ? a : n.resolve(new this(u), a);
1160
1160
  }, p.reject = function(a) {
1161
- var c = new this(o);
1161
+ var c = new this(u);
1162
1162
  return n.reject(c, a);
1163
1163
  }, p.all = function(a) {
1164
1164
  var c = this;
1165
1165
  if (Object.prototype.toString.call(a) !== "[object Array]") return this.reject(new TypeError("must be an array"));
1166
- var v = a.length, S = !1;
1166
+ var v = a.length, z = !1;
1167
1167
  if (!v) return this.resolve([]);
1168
- for (var x = new Array(v), D = 0, O = -1, L = new this(o); ++O < v; ) I(a[O], O);
1168
+ for (var x = new Array(v), D = 0, O = -1, L = new this(u); ++O < v; ) I(a[O], O);
1169
1169
  return L;
1170
1170
  function I(W, q) {
1171
1171
  c.resolve(W).then(function(m) {
1172
- x[q] = m, ++D !== v || S || (S = !0, n.resolve(L, x));
1172
+ x[q] = m, ++D !== v || z || (z = !0, n.resolve(L, x));
1173
1173
  }, function(m) {
1174
- S || (S = !0, n.reject(L, m));
1174
+ z || (z = !0, n.reject(L, m));
1175
1175
  });
1176
1176
  }
1177
1177
  }, p.race = function(a) {
1178
1178
  var c = this;
1179
1179
  if (Object.prototype.toString.call(a) !== "[object Array]") return this.reject(new TypeError("must be an array"));
1180
- var v = a.length, S = !1;
1180
+ var v = a.length, z = !1;
1181
1181
  if (!v) return this.resolve([]);
1182
- for (var x = -1, D = new this(o); ++x < v; ) O = a[x], c.resolve(O).then(function(L) {
1183
- S || (S = !0, n.resolve(D, L));
1182
+ for (var x = -1, D = new this(u); ++x < v; ) O = a[x], c.resolve(O).then(function(L) {
1183
+ z || (z = !0, n.resolve(D, L));
1184
1184
  }, function(L) {
1185
- S || (S = !0, n.reject(D, L));
1185
+ z || (z = !0, n.reject(D, L));
1186
1186
  });
1187
1187
  var O;
1188
1188
  return D;
1189
1189
  };
1190
- }, { immediate: 36 }], 38: [function(b, U, w) {
1191
- var l = {};
1192
- (0, b("./lib/utils/common").assign)(l, b("./lib/deflate"), b("./lib/inflate"), b("./lib/zlib/constants")), U.exports = l;
1193
- }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(b, U, w) {
1194
- var l = b("./zlib/deflate"), o = b("./utils/common"), n = b("./utils/strings"), u = b("./zlib/messages"), _ = b("./zlib/zstream"), y = Object.prototype.toString, p = 0, g = -1, i = 0, d = 8;
1190
+ }, { immediate: 36 }], 38: [function(_, N, k) {
1191
+ var o = {};
1192
+ (0, _("./lib/utils/common").assign)(o, _("./lib/deflate"), _("./lib/inflate"), _("./lib/zlib/constants")), N.exports = o;
1193
+ }, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(_, N, k) {
1194
+ var o = _("./zlib/deflate"), u = _("./utils/common"), n = _("./utils/strings"), h = _("./zlib/messages"), g = _("./zlib/zstream"), y = Object.prototype.toString, p = 0, b = -1, i = 0, d = 8;
1195
1195
  function r(a) {
1196
1196
  if (!(this instanceof r)) return new r(a);
1197
- this.options = o.assign({ level: g, method: d, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: i, to: "" }, a || {});
1197
+ this.options = u.assign({ level: b, method: d, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: i, to: "" }, a || {});
1198
1198
  var c = this.options;
1199
- c.raw && 0 < c.windowBits ? c.windowBits = -c.windowBits : c.gzip && 0 < c.windowBits && c.windowBits < 16 && (c.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new _(), this.strm.avail_out = 0;
1200
- var v = l.deflateInit2(this.strm, c.level, c.method, c.windowBits, c.memLevel, c.strategy);
1201
- if (v !== p) throw new Error(u[v]);
1202
- if (c.header && l.deflateSetHeader(this.strm, c.header), c.dictionary) {
1203
- var S;
1204
- if (S = typeof c.dictionary == "string" ? n.string2buf(c.dictionary) : y.call(c.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(c.dictionary) : c.dictionary, (v = l.deflateSetDictionary(this.strm, S)) !== p) throw new Error(u[v]);
1199
+ c.raw && 0 < c.windowBits ? c.windowBits = -c.windowBits : c.gzip && 0 < c.windowBits && c.windowBits < 16 && (c.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new g(), this.strm.avail_out = 0;
1200
+ var v = o.deflateInit2(this.strm, c.level, c.method, c.windowBits, c.memLevel, c.strategy);
1201
+ if (v !== p) throw new Error(h[v]);
1202
+ if (c.header && o.deflateSetHeader(this.strm, c.header), c.dictionary) {
1203
+ var z;
1204
+ if (z = typeof c.dictionary == "string" ? n.string2buf(c.dictionary) : y.call(c.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(c.dictionary) : c.dictionary, (v = o.deflateSetDictionary(this.strm, z)) !== p) throw new Error(h[v]);
1205
1205
  this._dict_set = !0;
1206
1206
  }
1207
1207
  }
1208
- function h(a, c) {
1208
+ function l(a, c) {
1209
1209
  var v = new r(c);
1210
- if (v.push(a, !0), v.err) throw v.msg || u[v.err];
1210
+ if (v.push(a, !0), v.err) throw v.msg || h[v.err];
1211
1211
  return v.result;
1212
1212
  }
1213
1213
  r.prototype.push = function(a, c) {
1214
- var v, S, x = this.strm, D = this.options.chunkSize;
1214
+ var v, z, x = this.strm, D = this.options.chunkSize;
1215
1215
  if (this.ended) return !1;
1216
- S = c === ~~c ? c : c === !0 ? 4 : 0, typeof a == "string" ? x.input = n.string2buf(a) : y.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
1216
+ z = c === ~~c ? c : c === !0 ? 4 : 0, typeof a == "string" ? x.input = n.string2buf(a) : y.call(a) === "[object ArrayBuffer]" ? x.input = new Uint8Array(a) : x.input = a, x.next_in = 0, x.avail_in = x.input.length;
1217
1217
  do {
1218
- if (x.avail_out === 0 && (x.output = new o.Buf8(D), x.next_out = 0, x.avail_out = D), (v = l.deflate(x, S)) !== 1 && v !== p) return this.onEnd(v), !(this.ended = !0);
1219
- x.avail_out !== 0 && (x.avail_in !== 0 || S !== 4 && S !== 2) || (this.options.to === "string" ? this.onData(n.buf2binstring(o.shrinkBuf(x.output, x.next_out))) : this.onData(o.shrinkBuf(x.output, x.next_out)));
1218
+ if (x.avail_out === 0 && (x.output = new u.Buf8(D), x.next_out = 0, x.avail_out = D), (v = o.deflate(x, z)) !== 1 && v !== p) return this.onEnd(v), !(this.ended = !0);
1219
+ x.avail_out !== 0 && (x.avail_in !== 0 || z !== 4 && z !== 2) || (this.options.to === "string" ? this.onData(n.buf2binstring(u.shrinkBuf(x.output, x.next_out))) : this.onData(u.shrinkBuf(x.output, x.next_out)));
1220
1220
  } while ((0 < x.avail_in || x.avail_out === 0) && v !== 1);
1221
- return S === 4 ? (v = l.deflateEnd(this.strm), this.onEnd(v), this.ended = !0, v === p) : S !== 2 || (this.onEnd(p), !(x.avail_out = 0));
1221
+ return z === 4 ? (v = o.deflateEnd(this.strm), this.onEnd(v), this.ended = !0, v === p) : z !== 2 || (this.onEnd(p), !(x.avail_out = 0));
1222
1222
  }, r.prototype.onData = function(a) {
1223
1223
  this.chunks.push(a);
1224
1224
  }, r.prototype.onEnd = function(a) {
1225
- a === p && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = o.flattenChunks(this.chunks)), this.chunks = [], this.err = a, this.msg = this.strm.msg;
1226
- }, w.Deflate = r, w.deflate = h, w.deflateRaw = function(a, c) {
1227
- return (c = c || {}).raw = !0, h(a, c);
1228
- }, w.gzip = function(a, c) {
1229
- return (c = c || {}).gzip = !0, h(a, c);
1225
+ a === p && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = u.flattenChunks(this.chunks)), this.chunks = [], this.err = a, this.msg = this.strm.msg;
1226
+ }, k.Deflate = r, k.deflate = l, k.deflateRaw = function(a, c) {
1227
+ return (c = c || {}).raw = !0, l(a, c);
1228
+ }, k.gzip = function(a, c) {
1229
+ return (c = c || {}).gzip = !0, l(a, c);
1230
1230
  };
1231
- }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(b, U, w) {
1232
- var l = b("./zlib/inflate"), o = b("./utils/common"), n = b("./utils/strings"), u = b("./zlib/constants"), _ = b("./zlib/messages"), y = b("./zlib/zstream"), p = b("./zlib/gzheader"), g = Object.prototype.toString;
1231
+ }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(_, N, k) {
1232
+ var o = _("./zlib/inflate"), u = _("./utils/common"), n = _("./utils/strings"), h = _("./zlib/constants"), g = _("./zlib/messages"), y = _("./zlib/zstream"), p = _("./zlib/gzheader"), b = Object.prototype.toString;
1233
1233
  function i(r) {
1234
1234
  if (!(this instanceof i)) return new i(r);
1235
- this.options = o.assign({ chunkSize: 16384, windowBits: 0, to: "" }, r || {});
1236
- var h = this.options;
1237
- h.raw && 0 <= h.windowBits && h.windowBits < 16 && (h.windowBits = -h.windowBits, h.windowBits === 0 && (h.windowBits = -15)), !(0 <= h.windowBits && h.windowBits < 16) || r && r.windowBits || (h.windowBits += 32), 15 < h.windowBits && h.windowBits < 48 && (15 & h.windowBits) == 0 && (h.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new y(), this.strm.avail_out = 0;
1238
- var a = l.inflateInit2(this.strm, h.windowBits);
1239
- if (a !== u.Z_OK) throw new Error(_[a]);
1240
- this.header = new p(), l.inflateGetHeader(this.strm, this.header);
1241
- }
1242
- function d(r, h) {
1243
- var a = new i(h);
1244
- if (a.push(r, !0), a.err) throw a.msg || _[a.err];
1235
+ this.options = u.assign({ chunkSize: 16384, windowBits: 0, to: "" }, r || {});
1236
+ var l = this.options;
1237
+ l.raw && 0 <= l.windowBits && l.windowBits < 16 && (l.windowBits = -l.windowBits, l.windowBits === 0 && (l.windowBits = -15)), !(0 <= l.windowBits && l.windowBits < 16) || r && r.windowBits || (l.windowBits += 32), 15 < l.windowBits && l.windowBits < 48 && (15 & l.windowBits) == 0 && (l.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new y(), this.strm.avail_out = 0;
1238
+ var a = o.inflateInit2(this.strm, l.windowBits);
1239
+ if (a !== h.Z_OK) throw new Error(g[a]);
1240
+ this.header = new p(), o.inflateGetHeader(this.strm, this.header);
1241
+ }
1242
+ function d(r, l) {
1243
+ var a = new i(l);
1244
+ if (a.push(r, !0), a.err) throw a.msg || g[a.err];
1245
1245
  return a.result;
1246
1246
  }
1247
- i.prototype.push = function(r, h) {
1248
- var a, c, v, S, x, D, O = this.strm, L = this.options.chunkSize, I = this.options.dictionary, W = !1;
1247
+ i.prototype.push = function(r, l) {
1248
+ var a, c, v, z, x, D, O = this.strm, L = this.options.chunkSize, I = this.options.dictionary, W = !1;
1249
1249
  if (this.ended) return !1;
1250
- c = h === ~~h ? h : h === !0 ? u.Z_FINISH : u.Z_NO_FLUSH, typeof r == "string" ? O.input = n.binstring2buf(r) : g.call(r) === "[object ArrayBuffer]" ? O.input = new Uint8Array(r) : O.input = r, O.next_in = 0, O.avail_in = O.input.length;
1250
+ c = l === ~~l ? l : l === !0 ? h.Z_FINISH : h.Z_NO_FLUSH, typeof r == "string" ? O.input = n.binstring2buf(r) : b.call(r) === "[object ArrayBuffer]" ? O.input = new Uint8Array(r) : O.input = r, O.next_in = 0, O.avail_in = O.input.length;
1251
1251
  do {
1252
- if (O.avail_out === 0 && (O.output = new o.Buf8(L), O.next_out = 0, O.avail_out = L), (a = l.inflate(O, u.Z_NO_FLUSH)) === u.Z_NEED_DICT && I && (D = typeof I == "string" ? n.string2buf(I) : g.call(I) === "[object ArrayBuffer]" ? new Uint8Array(I) : I, a = l.inflateSetDictionary(this.strm, D)), a === u.Z_BUF_ERROR && W === !0 && (a = u.Z_OK, W = !1), a !== u.Z_STREAM_END && a !== u.Z_OK) return this.onEnd(a), !(this.ended = !0);
1253
- O.next_out && (O.avail_out !== 0 && a !== u.Z_STREAM_END && (O.avail_in !== 0 || c !== u.Z_FINISH && c !== u.Z_SYNC_FLUSH) || (this.options.to === "string" ? (v = n.utf8border(O.output, O.next_out), S = O.next_out - v, x = n.buf2string(O.output, v), O.next_out = S, O.avail_out = L - S, S && o.arraySet(O.output, O.output, v, S, 0), this.onData(x)) : this.onData(o.shrinkBuf(O.output, O.next_out)))), O.avail_in === 0 && O.avail_out === 0 && (W = !0);
1254
- } while ((0 < O.avail_in || O.avail_out === 0) && a !== u.Z_STREAM_END);
1255
- return a === u.Z_STREAM_END && (c = u.Z_FINISH), c === u.Z_FINISH ? (a = l.inflateEnd(this.strm), this.onEnd(a), this.ended = !0, a === u.Z_OK) : c !== u.Z_SYNC_FLUSH || (this.onEnd(u.Z_OK), !(O.avail_out = 0));
1252
+ if (O.avail_out === 0 && (O.output = new u.Buf8(L), O.next_out = 0, O.avail_out = L), (a = o.inflate(O, h.Z_NO_FLUSH)) === h.Z_NEED_DICT && I && (D = typeof I == "string" ? n.string2buf(I) : b.call(I) === "[object ArrayBuffer]" ? new Uint8Array(I) : I, a = o.inflateSetDictionary(this.strm, D)), a === h.Z_BUF_ERROR && W === !0 && (a = h.Z_OK, W = !1), a !== h.Z_STREAM_END && a !== h.Z_OK) return this.onEnd(a), !(this.ended = !0);
1253
+ O.next_out && (O.avail_out !== 0 && a !== h.Z_STREAM_END && (O.avail_in !== 0 || c !== h.Z_FINISH && c !== h.Z_SYNC_FLUSH) || (this.options.to === "string" ? (v = n.utf8border(O.output, O.next_out), z = O.next_out - v, x = n.buf2string(O.output, v), O.next_out = z, O.avail_out = L - z, z && u.arraySet(O.output, O.output, v, z, 0), this.onData(x)) : this.onData(u.shrinkBuf(O.output, O.next_out)))), O.avail_in === 0 && O.avail_out === 0 && (W = !0);
1254
+ } while ((0 < O.avail_in || O.avail_out === 0) && a !== h.Z_STREAM_END);
1255
+ return a === h.Z_STREAM_END && (c = h.Z_FINISH), c === h.Z_FINISH ? (a = o.inflateEnd(this.strm), this.onEnd(a), this.ended = !0, a === h.Z_OK) : c !== h.Z_SYNC_FLUSH || (this.onEnd(h.Z_OK), !(O.avail_out = 0));
1256
1256
  }, i.prototype.onData = function(r) {
1257
1257
  this.chunks.push(r);
1258
1258
  }, i.prototype.onEnd = function(r) {
1259
- r === u.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = o.flattenChunks(this.chunks)), this.chunks = [], this.err = r, this.msg = this.strm.msg;
1260
- }, w.Inflate = i, w.inflate = d, w.inflateRaw = function(r, h) {
1261
- return (h = h || {}).raw = !0, d(r, h);
1262
- }, w.ungzip = d;
1263
- }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(b, U, w) {
1264
- var l = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
1265
- w.assign = function(u) {
1266
- for (var _ = Array.prototype.slice.call(arguments, 1); _.length; ) {
1267
- var y = _.shift();
1259
+ r === h.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = u.flattenChunks(this.chunks)), this.chunks = [], this.err = r, this.msg = this.strm.msg;
1260
+ }, k.Inflate = i, k.inflate = d, k.inflateRaw = function(r, l) {
1261
+ return (l = l || {}).raw = !0, d(r, l);
1262
+ }, k.ungzip = d;
1263
+ }, { "./utils/common": 41, "./utils/strings": 42, "./zlib/constants": 44, "./zlib/gzheader": 47, "./zlib/inflate": 49, "./zlib/messages": 51, "./zlib/zstream": 53 }], 41: [function(_, N, k) {
1264
+ var o = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
1265
+ k.assign = function(h) {
1266
+ for (var g = Array.prototype.slice.call(arguments, 1); g.length; ) {
1267
+ var y = g.shift();
1268
1268
  if (y) {
1269
1269
  if (typeof y != "object") throw new TypeError(y + "must be non-object");
1270
- for (var p in y) y.hasOwnProperty(p) && (u[p] = y[p]);
1270
+ for (var p in y) y.hasOwnProperty(p) && (h[p] = y[p]);
1271
1271
  }
1272
1272
  }
1273
- return u;
1274
- }, w.shrinkBuf = function(u, _) {
1275
- return u.length === _ ? u : u.subarray ? u.subarray(0, _) : (u.length = _, u);
1273
+ return h;
1274
+ }, k.shrinkBuf = function(h, g) {
1275
+ return h.length === g ? h : h.subarray ? h.subarray(0, g) : (h.length = g, h);
1276
1276
  };
1277
- var o = { arraySet: function(u, _, y, p, g) {
1278
- if (_.subarray && u.subarray) u.set(_.subarray(y, y + p), g);
1279
- else for (var i = 0; i < p; i++) u[g + i] = _[y + i];
1280
- }, flattenChunks: function(u) {
1281
- var _, y, p, g, i, d;
1282
- for (_ = p = 0, y = u.length; _ < y; _++) p += u[_].length;
1283
- for (d = new Uint8Array(p), _ = g = 0, y = u.length; _ < y; _++) i = u[_], d.set(i, g), g += i.length;
1277
+ var u = { arraySet: function(h, g, y, p, b) {
1278
+ if (g.subarray && h.subarray) h.set(g.subarray(y, y + p), b);
1279
+ else for (var i = 0; i < p; i++) h[b + i] = g[y + i];
1280
+ }, flattenChunks: function(h) {
1281
+ var g, y, p, b, i, d;
1282
+ for (g = p = 0, y = h.length; g < y; g++) p += h[g].length;
1283
+ for (d = new Uint8Array(p), g = b = 0, y = h.length; g < y; g++) i = h[g], d.set(i, b), b += i.length;
1284
1284
  return d;
1285
- } }, n = { arraySet: function(u, _, y, p, g) {
1286
- for (var i = 0; i < p; i++) u[g + i] = _[y + i];
1287
- }, flattenChunks: function(u) {
1288
- return [].concat.apply([], u);
1285
+ } }, n = { arraySet: function(h, g, y, p, b) {
1286
+ for (var i = 0; i < p; i++) h[b + i] = g[y + i];
1287
+ }, flattenChunks: function(h) {
1288
+ return [].concat.apply([], h);
1289
1289
  } };
1290
- w.setTyped = function(u) {
1291
- u ? (w.Buf8 = Uint8Array, w.Buf16 = Uint16Array, w.Buf32 = Int32Array, w.assign(w, o)) : (w.Buf8 = Array, w.Buf16 = Array, w.Buf32 = Array, w.assign(w, n));
1292
- }, w.setTyped(l);
1293
- }, {}], 42: [function(b, U, w) {
1294
- var l = b("./common"), o = !0, n = !0;
1290
+ k.setTyped = function(h) {
1291
+ h ? (k.Buf8 = Uint8Array, k.Buf16 = Uint16Array, k.Buf32 = Int32Array, k.assign(k, u)) : (k.Buf8 = Array, k.Buf16 = Array, k.Buf32 = Array, k.assign(k, n));
1292
+ }, k.setTyped(o);
1293
+ }, {}], 42: [function(_, N, k) {
1294
+ var o = _("./common"), u = !0, n = !0;
1295
1295
  try {
1296
1296
  String.fromCharCode.apply(null, [0]);
1297
1297
  } catch {
1298
- o = !1;
1298
+ u = !1;
1299
1299
  }
1300
1300
  try {
1301
1301
  String.fromCharCode.apply(null, new Uint8Array(1));
1302
1302
  } catch {
1303
1303
  n = !1;
1304
1304
  }
1305
- for (var u = new l.Buf8(256), _ = 0; _ < 256; _++) u[_] = 252 <= _ ? 6 : 248 <= _ ? 5 : 240 <= _ ? 4 : 224 <= _ ? 3 : 192 <= _ ? 2 : 1;
1306
- function y(p, g) {
1307
- if (g < 65537 && (p.subarray && n || !p.subarray && o)) return String.fromCharCode.apply(null, l.shrinkBuf(p, g));
1308
- for (var i = "", d = 0; d < g; d++) i += String.fromCharCode(p[d]);
1305
+ for (var h = new o.Buf8(256), g = 0; g < 256; g++) h[g] = 252 <= g ? 6 : 248 <= g ? 5 : 240 <= g ? 4 : 224 <= g ? 3 : 192 <= g ? 2 : 1;
1306
+ function y(p, b) {
1307
+ if (b < 65537 && (p.subarray && n || !p.subarray && u)) return String.fromCharCode.apply(null, o.shrinkBuf(p, b));
1308
+ for (var i = "", d = 0; d < b; d++) i += String.fromCharCode(p[d]);
1309
1309
  return i;
1310
1310
  }
1311
- u[254] = u[254] = 1, w.string2buf = function(p) {
1312
- var g, i, d, r, h, a = p.length, c = 0;
1311
+ h[254] = h[254] = 1, k.string2buf = function(p) {
1312
+ var b, i, d, r, l, a = p.length, c = 0;
1313
1313
  for (r = 0; r < a; r++) (64512 & (i = p.charCodeAt(r))) == 55296 && r + 1 < a && (64512 & (d = p.charCodeAt(r + 1))) == 56320 && (i = 65536 + (i - 55296 << 10) + (d - 56320), r++), c += i < 128 ? 1 : i < 2048 ? 2 : i < 65536 ? 3 : 4;
1314
- for (g = new l.Buf8(c), r = h = 0; h < c; r++) (64512 & (i = p.charCodeAt(r))) == 55296 && r + 1 < a && (64512 & (d = p.charCodeAt(r + 1))) == 56320 && (i = 65536 + (i - 55296 << 10) + (d - 56320), r++), i < 128 ? g[h++] = i : (i < 2048 ? g[h++] = 192 | i >>> 6 : (i < 65536 ? g[h++] = 224 | i >>> 12 : (g[h++] = 240 | i >>> 18, g[h++] = 128 | i >>> 12 & 63), g[h++] = 128 | i >>> 6 & 63), g[h++] = 128 | 63 & i);
1315
- return g;
1316
- }, w.buf2binstring = function(p) {
1314
+ for (b = new o.Buf8(c), r = l = 0; l < c; r++) (64512 & (i = p.charCodeAt(r))) == 55296 && r + 1 < a && (64512 & (d = p.charCodeAt(r + 1))) == 56320 && (i = 65536 + (i - 55296 << 10) + (d - 56320), r++), i < 128 ? b[l++] = i : (i < 2048 ? b[l++] = 192 | i >>> 6 : (i < 65536 ? b[l++] = 224 | i >>> 12 : (b[l++] = 240 | i >>> 18, b[l++] = 128 | i >>> 12 & 63), b[l++] = 128 | i >>> 6 & 63), b[l++] = 128 | 63 & i);
1315
+ return b;
1316
+ }, k.buf2binstring = function(p) {
1317
1317
  return y(p, p.length);
1318
- }, w.binstring2buf = function(p) {
1319
- for (var g = new l.Buf8(p.length), i = 0, d = g.length; i < d; i++) g[i] = p.charCodeAt(i);
1320
- return g;
1321
- }, w.buf2string = function(p, g) {
1322
- var i, d, r, h, a = g || p.length, c = new Array(2 * a);
1318
+ }, k.binstring2buf = function(p) {
1319
+ for (var b = new o.Buf8(p.length), i = 0, d = b.length; i < d; i++) b[i] = p.charCodeAt(i);
1320
+ return b;
1321
+ }, k.buf2string = function(p, b) {
1322
+ var i, d, r, l, a = b || p.length, c = new Array(2 * a);
1323
1323
  for (i = d = 0; i < a; ) if ((r = p[i++]) < 128) c[d++] = r;
1324
- else if (4 < (h = u[r])) c[d++] = 65533, i += h - 1;
1324
+ else if (4 < (l = h[r])) c[d++] = 65533, i += l - 1;
1325
1325
  else {
1326
- for (r &= h === 2 ? 31 : h === 3 ? 15 : 7; 1 < h && i < a; ) r = r << 6 | 63 & p[i++], h--;
1327
- 1 < h ? c[d++] = 65533 : r < 65536 ? c[d++] = r : (r -= 65536, c[d++] = 55296 | r >> 10 & 1023, c[d++] = 56320 | 1023 & r);
1326
+ for (r &= l === 2 ? 31 : l === 3 ? 15 : 7; 1 < l && i < a; ) r = r << 6 | 63 & p[i++], l--;
1327
+ 1 < l ? c[d++] = 65533 : r < 65536 ? c[d++] = r : (r -= 65536, c[d++] = 55296 | r >> 10 & 1023, c[d++] = 56320 | 1023 & r);
1328
1328
  }
1329
1329
  return y(c, d);
1330
- }, w.utf8border = function(p, g) {
1330
+ }, k.utf8border = function(p, b) {
1331
1331
  var i;
1332
- for ((g = g || p.length) > p.length && (g = p.length), i = g - 1; 0 <= i && (192 & p[i]) == 128; ) i--;
1333
- return i < 0 || i === 0 ? g : i + u[p[i]] > g ? i : g;
1332
+ for ((b = b || p.length) > p.length && (b = p.length), i = b - 1; 0 <= i && (192 & p[i]) == 128; ) i--;
1333
+ return i < 0 || i === 0 ? b : i + h[p[i]] > b ? i : b;
1334
1334
  };
1335
- }, { "./common": 41 }], 43: [function(b, U, w) {
1336
- U.exports = function(l, o, n, u) {
1337
- for (var _ = 65535 & l | 0, y = l >>> 16 & 65535 | 0, p = 0; n !== 0; ) {
1338
- for (n -= p = 2e3 < n ? 2e3 : n; y = y + (_ = _ + o[u++] | 0) | 0, --p; ) ;
1339
- _ %= 65521, y %= 65521;
1335
+ }, { "./common": 41 }], 43: [function(_, N, k) {
1336
+ N.exports = function(o, u, n, h) {
1337
+ for (var g = 65535 & o | 0, y = o >>> 16 & 65535 | 0, p = 0; n !== 0; ) {
1338
+ for (n -= p = 2e3 < n ? 2e3 : n; y = y + (g = g + u[h++] | 0) | 0, --p; ) ;
1339
+ g %= 65521, y %= 65521;
1340
1340
  }
1341
- return _ | y << 16 | 0;
1341
+ return g | y << 16 | 0;
1342
1342
  };
1343
- }, {}], 44: [function(b, U, w) {
1344
- U.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 };
1345
- }, {}], 45: [function(b, U, w) {
1346
- var l = (function() {
1347
- for (var o, n = [], u = 0; u < 256; u++) {
1348
- o = u;
1349
- for (var _ = 0; _ < 8; _++) o = 1 & o ? 3988292384 ^ o >>> 1 : o >>> 1;
1350
- n[u] = o;
1343
+ }, {}], 44: [function(_, N, k) {
1344
+ N.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 };
1345
+ }, {}], 45: [function(_, N, k) {
1346
+ var o = (function() {
1347
+ for (var u, n = [], h = 0; h < 256; h++) {
1348
+ u = h;
1349
+ for (var g = 0; g < 8; g++) u = 1 & u ? 3988292384 ^ u >>> 1 : u >>> 1;
1350
+ n[h] = u;
1351
1351
  }
1352
1352
  return n;
1353
1353
  })();
1354
- U.exports = function(o, n, u, _) {
1355
- var y = l, p = _ + u;
1356
- o ^= -1;
1357
- for (var g = _; g < p; g++) o = o >>> 8 ^ y[255 & (o ^ n[g])];
1358
- return -1 ^ o;
1354
+ N.exports = function(u, n, h, g) {
1355
+ var y = o, p = g + h;
1356
+ u ^= -1;
1357
+ for (var b = g; b < p; b++) u = u >>> 8 ^ y[255 & (u ^ n[b])];
1358
+ return -1 ^ u;
1359
1359
  };
1360
- }, {}], 46: [function(b, U, w) {
1361
- var l, o = b("../utils/common"), n = b("./trees"), u = b("./adler32"), _ = b("./crc32"), y = b("./messages"), p = 0, g = 4, i = 0, d = -2, r = -1, h = 4, a = 2, c = 8, v = 9, S = 286, x = 30, D = 19, O = 2 * S + 1, L = 15, I = 3, W = 258, q = W + I + 1, m = 42, B = 113, e = 1, T = 2, J = 3, P = 4;
1360
+ }, {}], 46: [function(_, N, k) {
1361
+ var o, u = _("../utils/common"), n = _("./trees"), h = _("./adler32"), g = _("./crc32"), y = _("./messages"), p = 0, b = 4, i = 0, d = -2, r = -1, l = 4, a = 2, c = 8, v = 9, z = 286, x = 30, D = 19, O = 2 * z + 1, L = 15, I = 3, W = 258, q = W + I + 1, m = 42, B = 113, e = 1, T = 2, J = 3, P = 4;
1362
1362
  function $(t, R) {
1363
1363
  return t.msg = y[R], R;
1364
1364
  }
@@ -1370,7 +1370,7 @@ function Tt() {
1370
1370
  }
1371
1371
  function E(t) {
1372
1372
  var R = t.state, A = R.pending;
1373
- A > t.avail_out && (A = t.avail_out), A !== 0 && (o.arraySet(t.output, R.pending_buf, R.pending_out, A, t.next_out), t.next_out += A, R.pending_out += A, t.total_out += A, t.avail_out -= A, R.pending -= A, R.pending === 0 && (R.pending_out = 0));
1373
+ A > t.avail_out && (A = t.avail_out), A !== 0 && (u.arraySet(t.output, R.pending_buf, R.pending_out, A, t.next_out), t.next_out += A, R.pending_out += A, t.total_out += A, t.avail_out -= A, R.pending -= A, R.pending === 0 && (R.pending_out = 0));
1374
1374
  }
1375
1375
  function C(t, R) {
1376
1376
  n._tr_flush_block(t, 0 <= t.block_start ? t.block_start : -1, t.strstart - t.block_start, R), t.block_start = t.strstart, E(t.strm);
@@ -1382,32 +1382,32 @@ function Tt() {
1382
1382
  t.pending_buf[t.pending++] = R >>> 8 & 255, t.pending_buf[t.pending++] = 255 & R;
1383
1383
  }
1384
1384
  function H(t, R) {
1385
- var A, f, s = t.max_chain_length, k = t.strstart, F = t.prev_length, N = t.nice_match, z = t.strstart > t.w_size - q ? t.strstart - (t.w_size - q) : 0, Z = t.window, K = t.w_mask, M = t.prev, Y = t.strstart + W, rt = Z[k + F - 1], tt = Z[k + F];
1386
- t.prev_length >= t.good_match && (s >>= 2), N > t.lookahead && (N = t.lookahead);
1385
+ var A, f, s = t.max_chain_length, w = t.strstart, F = t.prev_length, U = t.nice_match, S = t.strstart > t.w_size - q ? t.strstart - (t.w_size - q) : 0, Z = t.window, K = t.w_mask, M = t.prev, Y = t.strstart + W, rt = Z[w + F - 1], tt = Z[w + F];
1386
+ t.prev_length >= t.good_match && (s >>= 2), U > t.lookahead && (U = t.lookahead);
1387
1387
  do
1388
- if (Z[(A = R) + F] === tt && Z[A + F - 1] === rt && Z[A] === Z[k] && Z[++A] === Z[k + 1]) {
1389
- k += 2, A++;
1388
+ if (Z[(A = R) + F] === tt && Z[A + F - 1] === rt && Z[A] === Z[w] && Z[++A] === Z[w + 1]) {
1389
+ w += 2, A++;
1390
1390
  do
1391
1391
  ;
1392
- while (Z[++k] === Z[++A] && Z[++k] === Z[++A] && Z[++k] === Z[++A] && Z[++k] === Z[++A] && Z[++k] === Z[++A] && Z[++k] === Z[++A] && Z[++k] === Z[++A] && Z[++k] === Z[++A] && k < Y);
1393
- if (f = W - (Y - k), k = Y - W, F < f) {
1394
- if (t.match_start = R, N <= (F = f)) break;
1395
- rt = Z[k + F - 1], tt = Z[k + F];
1392
+ while (Z[++w] === Z[++A] && Z[++w] === Z[++A] && Z[++w] === Z[++A] && Z[++w] === Z[++A] && Z[++w] === Z[++A] && Z[++w] === Z[++A] && Z[++w] === Z[++A] && Z[++w] === Z[++A] && w < Y);
1393
+ if (f = W - (Y - w), w = Y - W, F < f) {
1394
+ if (t.match_start = R, U <= (F = f)) break;
1395
+ rt = Z[w + F - 1], tt = Z[w + F];
1396
1396
  }
1397
1397
  }
1398
- while ((R = M[R & K]) > z && --s != 0);
1398
+ while ((R = M[R & K]) > S && --s != 0);
1399
1399
  return F <= t.lookahead ? F : t.lookahead;
1400
1400
  }
1401
1401
  function nt(t) {
1402
- var R, A, f, s, k, F, N, z, Z, K, M = t.w_size;
1402
+ var R, A, f, s, w, F, U, S, Z, K, M = t.w_size;
1403
1403
  do {
1404
1404
  if (s = t.window_size - t.lookahead - t.strstart, t.strstart >= M + (M - q)) {
1405
- for (o.arraySet(t.window, t.window, M, M, 0), t.match_start -= M, t.strstart -= M, t.block_start -= M, R = A = t.hash_size; f = t.head[--R], t.head[R] = M <= f ? f - M : 0, --A; ) ;
1405
+ for (u.arraySet(t.window, t.window, M, M, 0), t.match_start -= M, t.strstart -= M, t.block_start -= M, R = A = t.hash_size; f = t.head[--R], t.head[R] = M <= f ? f - M : 0, --A; ) ;
1406
1406
  for (R = A = M; f = t.prev[--R], t.prev[R] = M <= f ? f - M : 0, --A; ) ;
1407
1407
  s += M;
1408
1408
  }
1409
1409
  if (t.strm.avail_in === 0) break;
1410
- if (F = t.strm, N = t.window, z = t.strstart + t.lookahead, Z = s, K = void 0, K = F.avail_in, Z < K && (K = Z), A = K === 0 ? 0 : (F.avail_in -= K, o.arraySet(N, F.input, F.next_in, K, z), F.state.wrap === 1 ? F.adler = u(F.adler, N, K, z) : F.state.wrap === 2 && (F.adler = _(F.adler, N, K, z)), F.next_in += K, F.total_in += K, K), t.lookahead += A, t.lookahead + t.insert >= I) for (k = t.strstart - t.insert, t.ins_h = t.window[k], t.ins_h = (t.ins_h << t.hash_shift ^ t.window[k + 1]) & t.hash_mask; t.insert && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[k + I - 1]) & t.hash_mask, t.prev[k & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = k, k++, t.insert--, !(t.lookahead + t.insert < I)); ) ;
1410
+ if (F = t.strm, U = t.window, S = t.strstart + t.lookahead, Z = s, K = void 0, K = F.avail_in, Z < K && (K = Z), A = K === 0 ? 0 : (F.avail_in -= K, u.arraySet(U, F.input, F.next_in, K, S), F.state.wrap === 1 ? F.adler = h(F.adler, U, K, S) : F.state.wrap === 2 && (F.adler = g(F.adler, U, K, S)), F.next_in += K, F.total_in += K, K), t.lookahead += A, t.lookahead + t.insert >= I) for (w = t.strstart - t.insert, t.ins_h = t.window[w], t.ins_h = (t.ins_h << t.hash_shift ^ t.window[w + 1]) & t.hash_mask; t.insert && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[w + I - 1]) & t.hash_mask, t.prev[w & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = w, w++, t.insert--, !(t.lookahead + t.insert < I)); ) ;
1411
1411
  } while (t.lookahead < q && t.strm.avail_in !== 0);
1412
1412
  }
1413
1413
  function ot(t, R) {
@@ -1423,7 +1423,7 @@ function Tt() {
1423
1423
  else f = n._tr_tally(t, 0, t.window[t.strstart]), t.lookahead--, t.strstart++;
1424
1424
  if (f && (C(t, !1), t.strm.avail_out === 0)) return e;
1425
1425
  }
1426
- return t.insert = t.strstart < I - 1 ? t.strstart : I - 1, R === g ? (C(t, !0), t.strm.avail_out === 0 ? J : P) : t.last_lit && (C(t, !1), t.strm.avail_out === 0) ? e : T;
1426
+ return t.insert = t.strstart < I - 1 ? t.strstart : I - 1, R === b ? (C(t, !0), t.strm.avail_out === 0 ? J : P) : t.last_lit && (C(t, !1), t.strm.avail_out === 0) ? e : T;
1427
1427
  }
1428
1428
  function Q(t, R) {
1429
1429
  for (var A, f, s; ; ) {
@@ -1438,13 +1438,13 @@ function Tt() {
1438
1438
  if ((f = n._tr_tally(t, 0, t.window[t.strstart - 1])) && C(t, !1), t.strstart++, t.lookahead--, t.strm.avail_out === 0) return e;
1439
1439
  } else t.match_available = 1, t.strstart++, t.lookahead--;
1440
1440
  }
1441
- return t.match_available && (f = n._tr_tally(t, 0, t.window[t.strstart - 1]), t.match_available = 0), t.insert = t.strstart < I - 1 ? t.strstart : I - 1, R === g ? (C(t, !0), t.strm.avail_out === 0 ? J : P) : t.last_lit && (C(t, !1), t.strm.avail_out === 0) ? e : T;
1441
+ return t.match_available && (f = n._tr_tally(t, 0, t.window[t.strstart - 1]), t.match_available = 0), t.insert = t.strstart < I - 1 ? t.strstart : I - 1, R === b ? (C(t, !0), t.strm.avail_out === 0 ? J : P) : t.last_lit && (C(t, !1), t.strm.avail_out === 0) ? e : T;
1442
1442
  }
1443
1443
  function et(t, R, A, f, s) {
1444
1444
  this.good_length = t, this.max_lazy = R, this.nice_length = A, this.max_chain = f, this.func = s;
1445
1445
  }
1446
1446
  function st() {
1447
- 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 = c, 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 * O), this.dyn_dtree = new o.Buf16(2 * (2 * x + 1)), this.bl_tree = new o.Buf16(2 * (2 * D + 1)), V(this.dyn_ltree), V(this.dyn_dtree), V(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new o.Buf16(L + 1), this.heap = new o.Buf16(2 * S + 1), V(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new o.Buf16(2 * S + 1), V(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;
1447
+ 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 = c, 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 u.Buf16(2 * O), this.dyn_dtree = new u.Buf16(2 * (2 * x + 1)), this.bl_tree = new u.Buf16(2 * (2 * D + 1)), V(this.dyn_ltree), V(this.dyn_dtree), V(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new u.Buf16(L + 1), this.heap = new u.Buf16(2 * z + 1), V(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new u.Buf16(2 * z + 1), V(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;
1448
1448
  }
1449
1449
  function it(t) {
1450
1450
  var R;
@@ -1453,18 +1453,18 @@ function Tt() {
1453
1453
  function lt(t) {
1454
1454
  var R = it(t);
1455
1455
  return R === i && (function(A) {
1456
- A.window_size = 2 * A.w_size, V(A.head), A.max_lazy_match = l[A.level].max_lazy, A.good_match = l[A.level].good_length, A.nice_match = l[A.level].nice_length, A.max_chain_length = l[A.level].max_chain, A.strstart = 0, A.block_start = 0, A.lookahead = 0, A.insert = 0, A.match_length = A.prev_length = I - 1, A.match_available = 0, A.ins_h = 0;
1456
+ A.window_size = 2 * A.w_size, V(A.head), A.max_lazy_match = o[A.level].max_lazy, A.good_match = o[A.level].good_length, A.nice_match = o[A.level].nice_length, A.max_chain_length = o[A.level].max_chain, A.strstart = 0, A.block_start = 0, A.lookahead = 0, A.insert = 0, A.match_length = A.prev_length = I - 1, A.match_available = 0, A.ins_h = 0;
1457
1457
  })(t.state), R;
1458
1458
  }
1459
- function ht(t, R, A, f, s, k) {
1459
+ function ht(t, R, A, f, s, w) {
1460
1460
  if (!t) return d;
1461
1461
  var F = 1;
1462
- if (R === r && (R = 6), f < 0 ? (F = 0, f = -f) : 15 < f && (F = 2, f -= 16), s < 1 || v < s || A !== c || f < 8 || 15 < f || R < 0 || 9 < R || k < 0 || h < k) return $(t, d);
1462
+ if (R === r && (R = 6), f < 0 ? (F = 0, f = -f) : 15 < f && (F = 2, f -= 16), s < 1 || v < s || A !== c || f < 8 || 15 < f || R < 0 || 9 < R || w < 0 || l < w) return $(t, d);
1463
1463
  f === 8 && (f = 9);
1464
- var N = new st();
1465
- return (t.state = N).strm = t, N.wrap = F, N.gzhead = null, N.w_bits = f, N.w_size = 1 << N.w_bits, N.w_mask = N.w_size - 1, N.hash_bits = s + 7, N.hash_size = 1 << N.hash_bits, N.hash_mask = N.hash_size - 1, N.hash_shift = ~~((N.hash_bits + I - 1) / I), N.window = new o.Buf8(2 * N.w_size), N.head = new o.Buf16(N.hash_size), N.prev = new o.Buf16(N.w_size), N.lit_bufsize = 1 << s + 6, N.pending_buf_size = 4 * N.lit_bufsize, N.pending_buf = new o.Buf8(N.pending_buf_size), N.d_buf = 1 * N.lit_bufsize, N.l_buf = 3 * N.lit_bufsize, N.level = R, N.strategy = k, N.method = A, lt(t);
1464
+ var U = new st();
1465
+ return (t.state = U).strm = t, U.wrap = F, U.gzhead = null, U.w_bits = f, U.w_size = 1 << U.w_bits, U.w_mask = U.w_size - 1, U.hash_bits = s + 7, U.hash_size = 1 << U.hash_bits, U.hash_mask = U.hash_size - 1, U.hash_shift = ~~((U.hash_bits + I - 1) / I), U.window = new u.Buf8(2 * U.w_size), U.head = new u.Buf16(U.hash_size), U.prev = new u.Buf16(U.w_size), U.lit_bufsize = 1 << s + 6, U.pending_buf_size = 4 * U.lit_bufsize, U.pending_buf = new u.Buf8(U.pending_buf_size), U.d_buf = 1 * U.lit_bufsize, U.l_buf = 3 * U.lit_bufsize, U.level = R, U.strategy = w, U.method = A, lt(t);
1466
1466
  }
1467
- l = [new et(0, 0, 0, 0, function(t, R) {
1467
+ o = [new et(0, 0, 0, 0, function(t, R) {
1468
1468
  var A = 65535;
1469
1469
  for (A > t.pending_buf_size - 5 && (A = t.pending_buf_size - 5); ; ) {
1470
1470
  if (t.lookahead <= 1) {
@@ -1475,151 +1475,151 @@ function Tt() {
1475
1475
  var f = t.block_start + A;
1476
1476
  if ((t.strstart === 0 || t.strstart >= f) && (t.lookahead = t.strstart - f, t.strstart = f, C(t, !1), t.strm.avail_out === 0) || t.strstart - t.block_start >= t.w_size - q && (C(t, !1), t.strm.avail_out === 0)) return e;
1477
1477
  }
1478
- return t.insert = 0, R === g ? (C(t, !0), t.strm.avail_out === 0 ? J : P) : (t.strstart > t.block_start && (C(t, !1), t.strm.avail_out), e);
1479
- }), new et(4, 4, 8, 4, ot), new et(4, 5, 16, 8, ot), new et(4, 6, 32, 32, ot), new et(4, 4, 16, 16, Q), new et(8, 16, 32, 32, Q), new et(8, 16, 128, 128, Q), new et(8, 32, 128, 256, Q), new et(32, 128, 258, 1024, Q), new et(32, 258, 258, 4096, Q)], w.deflateInit = function(t, R) {
1478
+ return t.insert = 0, R === b ? (C(t, !0), t.strm.avail_out === 0 ? J : P) : (t.strstart > t.block_start && (C(t, !1), t.strm.avail_out), e);
1479
+ }), new et(4, 4, 8, 4, ot), new et(4, 5, 16, 8, ot), new et(4, 6, 32, 32, ot), new et(4, 4, 16, 16, Q), new et(8, 16, 32, 32, Q), new et(8, 16, 128, 128, Q), new et(8, 32, 128, 256, Q), new et(32, 128, 258, 1024, Q), new et(32, 258, 258, 4096, Q)], k.deflateInit = function(t, R) {
1480
1480
  return ht(t, R, c, 15, 8, 0);
1481
- }, w.deflateInit2 = ht, w.deflateReset = lt, w.deflateResetKeep = it, w.deflateSetHeader = function(t, R) {
1481
+ }, k.deflateInit2 = ht, k.deflateReset = lt, k.deflateResetKeep = it, k.deflateSetHeader = function(t, R) {
1482
1482
  return t && t.state ? t.state.wrap !== 2 ? d : (t.state.gzhead = R, i) : d;
1483
- }, w.deflate = function(t, R) {
1484
- var A, f, s, k;
1483
+ }, k.deflate = function(t, R) {
1484
+ var A, f, s, w;
1485
1485
  if (!t || !t.state || 5 < R || R < 0) return t ? $(t, d) : d;
1486
- if (f = t.state, !t.output || !t.input && t.avail_in !== 0 || f.status === 666 && R !== g) return $(t, t.avail_out === 0 ? -5 : d);
1487
- if (f.strm = t, A = f.last_flush, f.last_flush = R, f.status === m) if (f.wrap === 2) t.adler = 0, X(f, 31), X(f, 139), X(f, 8), f.gzhead ? (X(f, (f.gzhead.text ? 1 : 0) + (f.gzhead.hcrc ? 2 : 0) + (f.gzhead.extra ? 4 : 0) + (f.gzhead.name ? 8 : 0) + (f.gzhead.comment ? 16 : 0)), X(f, 255 & f.gzhead.time), X(f, f.gzhead.time >> 8 & 255), X(f, f.gzhead.time >> 16 & 255), X(f, f.gzhead.time >> 24 & 255), X(f, f.level === 9 ? 2 : 2 <= f.strategy || f.level < 2 ? 4 : 0), X(f, 255 & f.gzhead.os), f.gzhead.extra && f.gzhead.extra.length && (X(f, 255 & f.gzhead.extra.length), X(f, f.gzhead.extra.length >> 8 & 255)), f.gzhead.hcrc && (t.adler = _(t.adler, f.pending_buf, f.pending, 0)), f.gzindex = 0, f.status = 69) : (X(f, 0), X(f, 0), X(f, 0), X(f, 0), X(f, 0), X(f, f.level === 9 ? 2 : 2 <= f.strategy || f.level < 2 ? 4 : 0), X(f, 3), f.status = B);
1486
+ if (f = t.state, !t.output || !t.input && t.avail_in !== 0 || f.status === 666 && R !== b) return $(t, t.avail_out === 0 ? -5 : d);
1487
+ if (f.strm = t, A = f.last_flush, f.last_flush = R, f.status === m) if (f.wrap === 2) t.adler = 0, X(f, 31), X(f, 139), X(f, 8), f.gzhead ? (X(f, (f.gzhead.text ? 1 : 0) + (f.gzhead.hcrc ? 2 : 0) + (f.gzhead.extra ? 4 : 0) + (f.gzhead.name ? 8 : 0) + (f.gzhead.comment ? 16 : 0)), X(f, 255 & f.gzhead.time), X(f, f.gzhead.time >> 8 & 255), X(f, f.gzhead.time >> 16 & 255), X(f, f.gzhead.time >> 24 & 255), X(f, f.level === 9 ? 2 : 2 <= f.strategy || f.level < 2 ? 4 : 0), X(f, 255 & f.gzhead.os), f.gzhead.extra && f.gzhead.extra.length && (X(f, 255 & f.gzhead.extra.length), X(f, f.gzhead.extra.length >> 8 & 255)), f.gzhead.hcrc && (t.adler = g(t.adler, f.pending_buf, f.pending, 0)), f.gzindex = 0, f.status = 69) : (X(f, 0), X(f, 0), X(f, 0), X(f, 0), X(f, 0), X(f, f.level === 9 ? 2 : 2 <= f.strategy || f.level < 2 ? 4 : 0), X(f, 3), f.status = B);
1488
1488
  else {
1489
1489
  var F = c + (f.w_bits - 8 << 4) << 8;
1490
1490
  F |= (2 <= f.strategy || f.level < 2 ? 0 : f.level < 6 ? 1 : f.level === 6 ? 2 : 3) << 6, f.strstart !== 0 && (F |= 32), F += 31 - F % 31, f.status = B, G(f, F), f.strstart !== 0 && (G(f, t.adler >>> 16), G(f, 65535 & t.adler)), t.adler = 1;
1491
1491
  }
1492
1492
  if (f.status === 69) if (f.gzhead.extra) {
1493
- for (s = f.pending; f.gzindex < (65535 & f.gzhead.extra.length) && (f.pending !== f.pending_buf_size || (f.gzhead.hcrc && f.pending > s && (t.adler = _(t.adler, f.pending_buf, f.pending - s, s)), E(t), s = f.pending, f.pending !== f.pending_buf_size)); ) X(f, 255 & f.gzhead.extra[f.gzindex]), f.gzindex++;
1494
- f.gzhead.hcrc && f.pending > s && (t.adler = _(t.adler, f.pending_buf, f.pending - s, s)), f.gzindex === f.gzhead.extra.length && (f.gzindex = 0, f.status = 73);
1493
+ for (s = f.pending; f.gzindex < (65535 & f.gzhead.extra.length) && (f.pending !== f.pending_buf_size || (f.gzhead.hcrc && f.pending > s && (t.adler = g(t.adler, f.pending_buf, f.pending - s, s)), E(t), s = f.pending, f.pending !== f.pending_buf_size)); ) X(f, 255 & f.gzhead.extra[f.gzindex]), f.gzindex++;
1494
+ f.gzhead.hcrc && f.pending > s && (t.adler = g(t.adler, f.pending_buf, f.pending - s, s)), f.gzindex === f.gzhead.extra.length && (f.gzindex = 0, f.status = 73);
1495
1495
  } else f.status = 73;
1496
1496
  if (f.status === 73) if (f.gzhead.name) {
1497
1497
  s = f.pending;
1498
1498
  do {
1499
- if (f.pending === f.pending_buf_size && (f.gzhead.hcrc && f.pending > s && (t.adler = _(t.adler, f.pending_buf, f.pending - s, s)), E(t), s = f.pending, f.pending === f.pending_buf_size)) {
1500
- k = 1;
1499
+ if (f.pending === f.pending_buf_size && (f.gzhead.hcrc && f.pending > s && (t.adler = g(t.adler, f.pending_buf, f.pending - s, s)), E(t), s = f.pending, f.pending === f.pending_buf_size)) {
1500
+ w = 1;
1501
1501
  break;
1502
1502
  }
1503
- k = f.gzindex < f.gzhead.name.length ? 255 & f.gzhead.name.charCodeAt(f.gzindex++) : 0, X(f, k);
1504
- } while (k !== 0);
1505
- f.gzhead.hcrc && f.pending > s && (t.adler = _(t.adler, f.pending_buf, f.pending - s, s)), k === 0 && (f.gzindex = 0, f.status = 91);
1503
+ w = f.gzindex < f.gzhead.name.length ? 255 & f.gzhead.name.charCodeAt(f.gzindex++) : 0, X(f, w);
1504
+ } while (w !== 0);
1505
+ f.gzhead.hcrc && f.pending > s && (t.adler = g(t.adler, f.pending_buf, f.pending - s, s)), w === 0 && (f.gzindex = 0, f.status = 91);
1506
1506
  } else f.status = 91;
1507
1507
  if (f.status === 91) if (f.gzhead.comment) {
1508
1508
  s = f.pending;
1509
1509
  do {
1510
- if (f.pending === f.pending_buf_size && (f.gzhead.hcrc && f.pending > s && (t.adler = _(t.adler, f.pending_buf, f.pending - s, s)), E(t), s = f.pending, f.pending === f.pending_buf_size)) {
1511
- k = 1;
1510
+ if (f.pending === f.pending_buf_size && (f.gzhead.hcrc && f.pending > s && (t.adler = g(t.adler, f.pending_buf, f.pending - s, s)), E(t), s = f.pending, f.pending === f.pending_buf_size)) {
1511
+ w = 1;
1512
1512
  break;
1513
1513
  }
1514
- k = f.gzindex < f.gzhead.comment.length ? 255 & f.gzhead.comment.charCodeAt(f.gzindex++) : 0, X(f, k);
1515
- } while (k !== 0);
1516
- f.gzhead.hcrc && f.pending > s && (t.adler = _(t.adler, f.pending_buf, f.pending - s, s)), k === 0 && (f.status = 103);
1514
+ w = f.gzindex < f.gzhead.comment.length ? 255 & f.gzhead.comment.charCodeAt(f.gzindex++) : 0, X(f, w);
1515
+ } while (w !== 0);
1516
+ f.gzhead.hcrc && f.pending > s && (t.adler = g(t.adler, f.pending_buf, f.pending - s, s)), w === 0 && (f.status = 103);
1517
1517
  } else f.status = 103;
1518
1518
  if (f.status === 103 && (f.gzhead.hcrc ? (f.pending + 2 > f.pending_buf_size && E(t), f.pending + 2 <= f.pending_buf_size && (X(f, 255 & t.adler), X(f, t.adler >> 8 & 255), t.adler = 0, f.status = B)) : f.status = B), f.pending !== 0) {
1519
1519
  if (E(t), t.avail_out === 0) return f.last_flush = -1, i;
1520
- } else if (t.avail_in === 0 && j(R) <= j(A) && R !== g) return $(t, -5);
1520
+ } else if (t.avail_in === 0 && j(R) <= j(A) && R !== b) return $(t, -5);
1521
1521
  if (f.status === 666 && t.avail_in !== 0) return $(t, -5);
1522
1522
  if (t.avail_in !== 0 || f.lookahead !== 0 || R !== p && f.status !== 666) {
1523
- var N = f.strategy === 2 ? (function(z, Z) {
1523
+ var U = f.strategy === 2 ? (function(S, Z) {
1524
1524
  for (var K; ; ) {
1525
- if (z.lookahead === 0 && (nt(z), z.lookahead === 0)) {
1525
+ if (S.lookahead === 0 && (nt(S), S.lookahead === 0)) {
1526
1526
  if (Z === p) return e;
1527
1527
  break;
1528
1528
  }
1529
- if (z.match_length = 0, K = n._tr_tally(z, 0, z.window[z.strstart]), z.lookahead--, z.strstart++, K && (C(z, !1), z.strm.avail_out === 0)) return e;
1529
+ if (S.match_length = 0, K = n._tr_tally(S, 0, S.window[S.strstart]), S.lookahead--, S.strstart++, K && (C(S, !1), S.strm.avail_out === 0)) return e;
1530
1530
  }
1531
- return z.insert = 0, Z === g ? (C(z, !0), z.strm.avail_out === 0 ? J : P) : z.last_lit && (C(z, !1), z.strm.avail_out === 0) ? e : T;
1532
- })(f, R) : f.strategy === 3 ? (function(z, Z) {
1533
- for (var K, M, Y, rt, tt = z.window; ; ) {
1534
- if (z.lookahead <= W) {
1535
- if (nt(z), z.lookahead <= W && Z === p) return e;
1536
- if (z.lookahead === 0) break;
1531
+ return S.insert = 0, Z === b ? (C(S, !0), S.strm.avail_out === 0 ? J : P) : S.last_lit && (C(S, !1), S.strm.avail_out === 0) ? e : T;
1532
+ })(f, R) : f.strategy === 3 ? (function(S, Z) {
1533
+ for (var K, M, Y, rt, tt = S.window; ; ) {
1534
+ if (S.lookahead <= W) {
1535
+ if (nt(S), S.lookahead <= W && Z === p) return e;
1536
+ if (S.lookahead === 0) break;
1537
1537
  }
1538
- if (z.match_length = 0, z.lookahead >= I && 0 < z.strstart && (M = tt[Y = z.strstart - 1]) === tt[++Y] && M === tt[++Y] && M === tt[++Y]) {
1539
- rt = z.strstart + W;
1538
+ if (S.match_length = 0, S.lookahead >= I && 0 < S.strstart && (M = tt[Y = S.strstart - 1]) === tt[++Y] && M === tt[++Y] && M === tt[++Y]) {
1539
+ rt = S.strstart + W;
1540
1540
  do
1541
1541
  ;
1542
1542
  while (M === tt[++Y] && M === tt[++Y] && M === tt[++Y] && M === tt[++Y] && M === tt[++Y] && M === tt[++Y] && M === tt[++Y] && M === tt[++Y] && Y < rt);
1543
- z.match_length = W - (rt - Y), z.match_length > z.lookahead && (z.match_length = z.lookahead);
1543
+ S.match_length = W - (rt - Y), S.match_length > S.lookahead && (S.match_length = S.lookahead);
1544
1544
  }
1545
- if (z.match_length >= I ? (K = n._tr_tally(z, 1, z.match_length - I), z.lookahead -= z.match_length, z.strstart += z.match_length, z.match_length = 0) : (K = n._tr_tally(z, 0, z.window[z.strstart]), z.lookahead--, z.strstart++), K && (C(z, !1), z.strm.avail_out === 0)) return e;
1545
+ if (S.match_length >= I ? (K = n._tr_tally(S, 1, S.match_length - I), S.lookahead -= S.match_length, S.strstart += S.match_length, S.match_length = 0) : (K = n._tr_tally(S, 0, S.window[S.strstart]), S.lookahead--, S.strstart++), K && (C(S, !1), S.strm.avail_out === 0)) return e;
1546
1546
  }
1547
- return z.insert = 0, Z === g ? (C(z, !0), z.strm.avail_out === 0 ? J : P) : z.last_lit && (C(z, !1), z.strm.avail_out === 0) ? e : T;
1548
- })(f, R) : l[f.level].func(f, R);
1549
- if (N !== J && N !== P || (f.status = 666), N === e || N === J) return t.avail_out === 0 && (f.last_flush = -1), i;
1550
- if (N === T && (R === 1 ? n._tr_align(f) : R !== 5 && (n._tr_stored_block(f, 0, 0, !1), R === 3 && (V(f.head), f.lookahead === 0 && (f.strstart = 0, f.block_start = 0, f.insert = 0))), E(t), t.avail_out === 0)) return f.last_flush = -1, i;
1547
+ return S.insert = 0, Z === b ? (C(S, !0), S.strm.avail_out === 0 ? J : P) : S.last_lit && (C(S, !1), S.strm.avail_out === 0) ? e : T;
1548
+ })(f, R) : o[f.level].func(f, R);
1549
+ if (U !== J && U !== P || (f.status = 666), U === e || U === J) return t.avail_out === 0 && (f.last_flush = -1), i;
1550
+ if (U === T && (R === 1 ? n._tr_align(f) : R !== 5 && (n._tr_stored_block(f, 0, 0, !1), R === 3 && (V(f.head), f.lookahead === 0 && (f.strstart = 0, f.block_start = 0, f.insert = 0))), E(t), t.avail_out === 0)) return f.last_flush = -1, i;
1551
1551
  }
1552
- return R !== g ? i : f.wrap <= 0 ? 1 : (f.wrap === 2 ? (X(f, 255 & t.adler), X(f, t.adler >> 8 & 255), X(f, t.adler >> 16 & 255), X(f, t.adler >> 24 & 255), X(f, 255 & t.total_in), X(f, t.total_in >> 8 & 255), X(f, t.total_in >> 16 & 255), X(f, t.total_in >> 24 & 255)) : (G(f, t.adler >>> 16), G(f, 65535 & t.adler)), E(t), 0 < f.wrap && (f.wrap = -f.wrap), f.pending !== 0 ? i : 1);
1553
- }, w.deflateEnd = function(t) {
1552
+ return R !== b ? i : f.wrap <= 0 ? 1 : (f.wrap === 2 ? (X(f, 255 & t.adler), X(f, t.adler >> 8 & 255), X(f, t.adler >> 16 & 255), X(f, t.adler >> 24 & 255), X(f, 255 & t.total_in), X(f, t.total_in >> 8 & 255), X(f, t.total_in >> 16 & 255), X(f, t.total_in >> 24 & 255)) : (G(f, t.adler >>> 16), G(f, 65535 & t.adler)), E(t), 0 < f.wrap && (f.wrap = -f.wrap), f.pending !== 0 ? i : 1);
1553
+ }, k.deflateEnd = function(t) {
1554
1554
  var R;
1555
1555
  return t && t.state ? (R = t.state.status) !== m && R !== 69 && R !== 73 && R !== 91 && R !== 103 && R !== B && R !== 666 ? $(t, d) : (t.state = null, R === B ? $(t, -3) : i) : d;
1556
- }, w.deflateSetDictionary = function(t, R) {
1557
- var A, f, s, k, F, N, z, Z, K = R.length;
1558
- if (!t || !t.state || (k = (A = t.state).wrap) === 2 || k === 1 && A.status !== m || A.lookahead) return d;
1559
- for (k === 1 && (t.adler = u(t.adler, R, K, 0)), A.wrap = 0, K >= A.w_size && (k === 0 && (V(A.head), A.strstart = 0, A.block_start = 0, A.insert = 0), Z = new o.Buf8(A.w_size), o.arraySet(Z, R, K - A.w_size, A.w_size, 0), R = Z, K = A.w_size), F = t.avail_in, N = t.next_in, z = t.input, t.avail_in = K, t.next_in = 0, t.input = R, nt(A); A.lookahead >= I; ) {
1556
+ }, k.deflateSetDictionary = function(t, R) {
1557
+ var A, f, s, w, F, U, S, Z, K = R.length;
1558
+ if (!t || !t.state || (w = (A = t.state).wrap) === 2 || w === 1 && A.status !== m || A.lookahead) return d;
1559
+ for (w === 1 && (t.adler = h(t.adler, R, K, 0)), A.wrap = 0, K >= A.w_size && (w === 0 && (V(A.head), A.strstart = 0, A.block_start = 0, A.insert = 0), Z = new u.Buf8(A.w_size), u.arraySet(Z, R, K - A.w_size, A.w_size, 0), R = Z, K = A.w_size), F = t.avail_in, U = t.next_in, S = t.input, t.avail_in = K, t.next_in = 0, t.input = R, nt(A); A.lookahead >= I; ) {
1560
1560
  for (f = A.strstart, s = A.lookahead - (I - 1); A.ins_h = (A.ins_h << A.hash_shift ^ A.window[f + I - 1]) & A.hash_mask, A.prev[f & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = f, f++, --s; ) ;
1561
1561
  A.strstart = f, A.lookahead = I - 1, nt(A);
1562
1562
  }
1563
- return A.strstart += A.lookahead, A.block_start = A.strstart, A.insert = A.lookahead, A.lookahead = 0, A.match_length = A.prev_length = I - 1, A.match_available = 0, t.next_in = N, t.input = z, t.avail_in = F, A.wrap = k, i;
1564
- }, w.deflateInfo = "pako deflate (from Nodeca project)";
1565
- }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(b, U, w) {
1566
- U.exports = function() {
1563
+ return A.strstart += A.lookahead, A.block_start = A.strstart, A.insert = A.lookahead, A.lookahead = 0, A.match_length = A.prev_length = I - 1, A.match_available = 0, t.next_in = U, t.input = S, t.avail_in = F, A.wrap = w, i;
1564
+ }, k.deflateInfo = "pako deflate (from Nodeca project)";
1565
+ }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(_, N, k) {
1566
+ N.exports = function() {
1567
1567
  this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = !1;
1568
1568
  };
1569
- }, {}], 48: [function(b, U, w) {
1570
- U.exports = function(l, o) {
1571
- var n, u, _, y, p, g, i, d, r, h, a, c, v, S, x, D, O, L, I, W, q, m, B, e, T;
1572
- n = l.state, u = l.next_in, e = l.input, _ = u + (l.avail_in - 5), y = l.next_out, T = l.output, p = y - (o - l.avail_out), g = y + (l.avail_out - 257), i = n.dmax, d = n.wsize, r = n.whave, h = n.wnext, a = n.window, c = n.hold, v = n.bits, S = n.lencode, x = n.distcode, D = (1 << n.lenbits) - 1, O = (1 << n.distbits) - 1;
1569
+ }, {}], 48: [function(_, N, k) {
1570
+ N.exports = function(o, u) {
1571
+ var n, h, g, y, p, b, i, d, r, l, a, c, v, z, x, D, O, L, I, W, q, m, B, e, T;
1572
+ n = o.state, h = o.next_in, e = o.input, g = h + (o.avail_in - 5), y = o.next_out, T = o.output, p = y - (u - o.avail_out), b = y + (o.avail_out - 257), i = n.dmax, d = n.wsize, r = n.whave, l = n.wnext, a = n.window, c = n.hold, v = n.bits, z = n.lencode, x = n.distcode, D = (1 << n.lenbits) - 1, O = (1 << n.distbits) - 1;
1573
1573
  t: do {
1574
- v < 15 && (c += e[u++] << v, v += 8, c += e[u++] << v, v += 8), L = S[c & D];
1574
+ v < 15 && (c += e[h++] << v, v += 8, c += e[h++] << v, v += 8), L = z[c & D];
1575
1575
  e: for (; ; ) {
1576
1576
  if (c >>>= I = L >>> 24, v -= I, (I = L >>> 16 & 255) === 0) T[y++] = 65535 & L;
1577
1577
  else {
1578
1578
  if (!(16 & I)) {
1579
1579
  if ((64 & I) == 0) {
1580
- L = S[(65535 & L) + (c & (1 << I) - 1)];
1580
+ L = z[(65535 & L) + (c & (1 << I) - 1)];
1581
1581
  continue e;
1582
1582
  }
1583
1583
  if (32 & I) {
1584
1584
  n.mode = 12;
1585
1585
  break t;
1586
1586
  }
1587
- l.msg = "invalid literal/length code", n.mode = 30;
1587
+ o.msg = "invalid literal/length code", n.mode = 30;
1588
1588
  break t;
1589
1589
  }
1590
- W = 65535 & L, (I &= 15) && (v < I && (c += e[u++] << v, v += 8), W += c & (1 << I) - 1, c >>>= I, v -= I), v < 15 && (c += e[u++] << v, v += 8, c += e[u++] << v, v += 8), L = x[c & O];
1590
+ W = 65535 & L, (I &= 15) && (v < I && (c += e[h++] << v, v += 8), W += c & (1 << I) - 1, c >>>= I, v -= I), v < 15 && (c += e[h++] << v, v += 8, c += e[h++] << v, v += 8), L = x[c & O];
1591
1591
  r: for (; ; ) {
1592
1592
  if (c >>>= I = L >>> 24, v -= I, !(16 & (I = L >>> 16 & 255))) {
1593
1593
  if ((64 & I) == 0) {
1594
1594
  L = x[(65535 & L) + (c & (1 << I) - 1)];
1595
1595
  continue r;
1596
1596
  }
1597
- l.msg = "invalid distance code", n.mode = 30;
1597
+ o.msg = "invalid distance code", n.mode = 30;
1598
1598
  break t;
1599
1599
  }
1600
- if (q = 65535 & L, v < (I &= 15) && (c += e[u++] << v, (v += 8) < I && (c += e[u++] << v, v += 8)), i < (q += c & (1 << I) - 1)) {
1601
- l.msg = "invalid distance too far back", n.mode = 30;
1600
+ if (q = 65535 & L, v < (I &= 15) && (c += e[h++] << v, (v += 8) < I && (c += e[h++] << v, v += 8)), i < (q += c & (1 << I) - 1)) {
1601
+ o.msg = "invalid distance too far back", n.mode = 30;
1602
1602
  break t;
1603
1603
  }
1604
1604
  if (c >>>= I, v -= I, (I = y - p) < q) {
1605
1605
  if (r < (I = q - I) && n.sane) {
1606
- l.msg = "invalid distance too far back", n.mode = 30;
1606
+ o.msg = "invalid distance too far back", n.mode = 30;
1607
1607
  break t;
1608
1608
  }
1609
- if (B = a, (m = 0) === h) {
1609
+ if (B = a, (m = 0) === l) {
1610
1610
  if (m += d - I, I < W) {
1611
1611
  for (W -= I; T[y++] = a[m++], --I; ) ;
1612
1612
  m = y - q, B = T;
1613
1613
  }
1614
- } else if (h < I) {
1615
- if (m += d + h - I, (I -= h) < W) {
1614
+ } else if (l < I) {
1615
+ if (m += d + l - I, (I -= l) < W) {
1616
1616
  for (W -= I; T[y++] = a[m++], --I; ) ;
1617
- if (m = 0, h < W) {
1618
- for (W -= I = h; T[y++] = a[m++], --I; ) ;
1617
+ if (m = 0, l < W) {
1618
+ for (W -= I = l; T[y++] = a[m++], --I; ) ;
1619
1619
  m = y - q, B = T;
1620
1620
  }
1621
1621
  }
1622
- } else if (m += h - I, I < W) {
1622
+ } else if (m += l - I, I < W) {
1623
1623
  for (W -= I; T[y++] = a[m++], --I; ) ;
1624
1624
  m = y - q, B = T;
1625
1625
  }
@@ -1634,56 +1634,56 @@ function Tt() {
1634
1634
  }
1635
1635
  break;
1636
1636
  }
1637
- } while (u < _ && y < g);
1638
- u -= W = v >> 3, c &= (1 << (v -= W << 3)) - 1, l.next_in = u, l.next_out = y, l.avail_in = u < _ ? _ - u + 5 : 5 - (u - _), l.avail_out = y < g ? g - y + 257 : 257 - (y - g), n.hold = c, n.bits = v;
1637
+ } while (h < g && y < b);
1638
+ h -= W = v >> 3, c &= (1 << (v -= W << 3)) - 1, o.next_in = h, o.next_out = y, o.avail_in = h < g ? g - h + 5 : 5 - (h - g), o.avail_out = y < b ? b - y + 257 : 257 - (y - b), n.hold = c, n.bits = v;
1639
1639
  };
1640
- }, {}], 49: [function(b, U, w) {
1641
- var l = b("../utils/common"), o = b("./adler32"), n = b("./crc32"), u = b("./inffast"), _ = b("./inftrees"), y = 1, p = 2, g = 0, i = -2, d = 1, r = 852, h = 592;
1640
+ }, {}], 49: [function(_, N, k) {
1641
+ var o = _("../utils/common"), u = _("./adler32"), n = _("./crc32"), h = _("./inffast"), g = _("./inftrees"), y = 1, p = 2, b = 0, i = -2, d = 1, r = 852, l = 592;
1642
1642
  function a(m) {
1643
1643
  return (m >>> 24 & 255) + (m >>> 8 & 65280) + ((65280 & m) << 8) + ((255 & m) << 24);
1644
1644
  }
1645
1645
  function c() {
1646
- 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 l.Buf16(320), this.work = new l.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
1646
+ 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 o.Buf16(320), this.work = new o.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
1647
1647
  }
1648
1648
  function v(m) {
1649
1649
  var B;
1650
- return m && m.state ? (B = m.state, m.total_in = m.total_out = B.total = 0, m.msg = "", B.wrap && (m.adler = 1 & B.wrap), B.mode = d, B.last = 0, B.havedict = 0, B.dmax = 32768, B.head = null, B.hold = 0, B.bits = 0, B.lencode = B.lendyn = new l.Buf32(r), B.distcode = B.distdyn = new l.Buf32(h), B.sane = 1, B.back = -1, g) : i;
1650
+ return m && m.state ? (B = m.state, m.total_in = m.total_out = B.total = 0, m.msg = "", B.wrap && (m.adler = 1 & B.wrap), B.mode = d, B.last = 0, B.havedict = 0, B.dmax = 32768, B.head = null, B.hold = 0, B.bits = 0, B.lencode = B.lendyn = new o.Buf32(r), B.distcode = B.distdyn = new o.Buf32(l), B.sane = 1, B.back = -1, b) : i;
1651
1651
  }
1652
- function S(m) {
1652
+ function z(m) {
1653
1653
  var B;
1654
1654
  return m && m.state ? ((B = m.state).wsize = 0, B.whave = 0, B.wnext = 0, v(m)) : i;
1655
1655
  }
1656
1656
  function x(m, B) {
1657
1657
  var e, T;
1658
- return m && m.state ? (T = m.state, B < 0 ? (e = 0, B = -B) : (e = 1 + (B >> 4), B < 48 && (B &= 15)), B && (B < 8 || 15 < B) ? i : (T.window !== null && T.wbits !== B && (T.window = null), T.wrap = e, T.wbits = B, S(m))) : i;
1658
+ return m && m.state ? (T = m.state, B < 0 ? (e = 0, B = -B) : (e = 1 + (B >> 4), B < 48 && (B &= 15)), B && (B < 8 || 15 < B) ? i : (T.window !== null && T.wbits !== B && (T.window = null), T.wrap = e, T.wbits = B, z(m))) : i;
1659
1659
  }
1660
1660
  function D(m, B) {
1661
1661
  var e, T;
1662
- return m ? (T = new c(), (m.state = T).window = null, (e = x(m, B)) !== g && (m.state = null), e) : i;
1662
+ return m ? (T = new c(), (m.state = T).window = null, (e = x(m, B)) !== b && (m.state = null), e) : i;
1663
1663
  }
1664
1664
  var O, L, I = !0;
1665
1665
  function W(m) {
1666
1666
  if (I) {
1667
1667
  var B;
1668
- for (O = new l.Buf32(512), L = new l.Buf32(32), B = 0; B < 144; ) m.lens[B++] = 8;
1668
+ for (O = new o.Buf32(512), L = new o.Buf32(32), B = 0; B < 144; ) m.lens[B++] = 8;
1669
1669
  for (; B < 256; ) m.lens[B++] = 9;
1670
1670
  for (; B < 280; ) m.lens[B++] = 7;
1671
1671
  for (; B < 288; ) m.lens[B++] = 8;
1672
- for (_(y, m.lens, 0, 288, O, 0, m.work, { bits: 9 }), B = 0; B < 32; ) m.lens[B++] = 5;
1673
- _(p, m.lens, 0, 32, L, 0, m.work, { bits: 5 }), I = !1;
1672
+ for (g(y, m.lens, 0, 288, O, 0, m.work, { bits: 9 }), B = 0; B < 32; ) m.lens[B++] = 5;
1673
+ g(p, m.lens, 0, 32, L, 0, m.work, { bits: 5 }), I = !1;
1674
1674
  }
1675
1675
  m.lencode = O, m.lenbits = 9, m.distcode = L, m.distbits = 5;
1676
1676
  }
1677
1677
  function q(m, B, e, T) {
1678
1678
  var J, P = m.state;
1679
- return P.window === null && (P.wsize = 1 << P.wbits, P.wnext = 0, P.whave = 0, P.window = new l.Buf8(P.wsize)), T >= P.wsize ? (l.arraySet(P.window, B, e - P.wsize, P.wsize, 0), P.wnext = 0, P.whave = P.wsize) : (T < (J = P.wsize - P.wnext) && (J = T), l.arraySet(P.window, B, e - T, J, P.wnext), (T -= J) ? (l.arraySet(P.window, B, e - T, T, 0), P.wnext = T, P.whave = P.wsize) : (P.wnext += J, P.wnext === P.wsize && (P.wnext = 0), P.whave < P.wsize && (P.whave += J))), 0;
1679
+ return P.window === null && (P.wsize = 1 << P.wbits, P.wnext = 0, P.whave = 0, P.window = new o.Buf8(P.wsize)), T >= P.wsize ? (o.arraySet(P.window, B, e - P.wsize, P.wsize, 0), P.wnext = 0, P.whave = P.wsize) : (T < (J = P.wsize - P.wnext) && (J = T), o.arraySet(P.window, B, e - T, J, P.wnext), (T -= J) ? (o.arraySet(P.window, B, e - T, T, 0), P.wnext = T, P.whave = P.wsize) : (P.wnext += J, P.wnext === P.wsize && (P.wnext = 0), P.whave < P.wsize && (P.whave += J))), 0;
1680
1680
  }
1681
- w.inflateReset = S, w.inflateReset2 = x, w.inflateResetKeep = v, w.inflateInit = function(m) {
1681
+ k.inflateReset = z, k.inflateReset2 = x, k.inflateResetKeep = v, k.inflateInit = function(m) {
1682
1682
  return D(m, 15);
1683
- }, w.inflateInit2 = D, w.inflate = function(m, B) {
1684
- var e, T, J, P, $, j, V, E, C, X, G, H, nt, ot, Q, et, st, it, lt, ht, t, R, A, f, s = 0, k = new l.Buf8(4), F = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
1683
+ }, k.inflateInit2 = D, k.inflate = function(m, B) {
1684
+ var e, T, J, P, $, j, V, E, C, X, G, H, nt, ot, Q, et, st, it, lt, ht, t, R, A, f, s = 0, w = new o.Buf8(4), F = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
1685
1685
  if (!m || !m.state || !m.output || !m.input && m.avail_in !== 0) return i;
1686
- (e = m.state).mode === 12 && (e.mode = 13), $ = m.next_out, J = m.output, V = m.avail_out, P = m.next_in, T = m.input, j = m.avail_in, E = e.hold, C = e.bits, X = j, G = V, R = g;
1686
+ (e = m.state).mode === 12 && (e.mode = 13), $ = m.next_out, J = m.output, V = m.avail_out, P = m.next_in, T = m.input, j = m.avail_in, E = e.hold, C = e.bits, X = j, G = V, R = b;
1687
1687
  t: for (; ; ) switch (e.mode) {
1688
1688
  case d:
1689
1689
  if (e.wrap === 0) {
@@ -1695,7 +1695,7 @@ function Tt() {
1695
1695
  j--, E += T[P++] << C, C += 8;
1696
1696
  }
1697
1697
  if (2 & e.wrap && E === 35615) {
1698
- k[e.check = 0] = 255 & E, k[1] = E >>> 8 & 255, e.check = n(e.check, k, 2, 0), C = E = 0, e.mode = 2;
1698
+ w[e.check = 0] = 255 & E, w[1] = E >>> 8 & 255, e.check = n(e.check, w, 2, 0), C = E = 0, e.mode = 2;
1699
1699
  break;
1700
1700
  }
1701
1701
  if (e.flags = 0, e.head && (e.head.done = !1), !(1 & e.wrap) || (((255 & E) << 8) + (E >> 8)) % 31) {
@@ -1726,30 +1726,30 @@ function Tt() {
1726
1726
  m.msg = "unknown header flags set", e.mode = 30;
1727
1727
  break;
1728
1728
  }
1729
- e.head && (e.head.text = E >> 8 & 1), 512 & e.flags && (k[0] = 255 & E, k[1] = E >>> 8 & 255, e.check = n(e.check, k, 2, 0)), C = E = 0, e.mode = 3;
1729
+ e.head && (e.head.text = E >> 8 & 1), 512 & e.flags && (w[0] = 255 & E, w[1] = E >>> 8 & 255, e.check = n(e.check, w, 2, 0)), C = E = 0, e.mode = 3;
1730
1730
  case 3:
1731
1731
  for (; C < 32; ) {
1732
1732
  if (j === 0) break t;
1733
1733
  j--, E += T[P++] << C, C += 8;
1734
1734
  }
1735
- e.head && (e.head.time = E), 512 & e.flags && (k[0] = 255 & E, k[1] = E >>> 8 & 255, k[2] = E >>> 16 & 255, k[3] = E >>> 24 & 255, e.check = n(e.check, k, 4, 0)), C = E = 0, e.mode = 4;
1735
+ e.head && (e.head.time = E), 512 & e.flags && (w[0] = 255 & E, w[1] = E >>> 8 & 255, w[2] = E >>> 16 & 255, w[3] = E >>> 24 & 255, e.check = n(e.check, w, 4, 0)), C = E = 0, e.mode = 4;
1736
1736
  case 4:
1737
1737
  for (; C < 16; ) {
1738
1738
  if (j === 0) break t;
1739
1739
  j--, E += T[P++] << C, C += 8;
1740
1740
  }
1741
- e.head && (e.head.xflags = 255 & E, e.head.os = E >> 8), 512 & e.flags && (k[0] = 255 & E, k[1] = E >>> 8 & 255, e.check = n(e.check, k, 2, 0)), C = E = 0, e.mode = 5;
1741
+ e.head && (e.head.xflags = 255 & E, e.head.os = E >> 8), 512 & e.flags && (w[0] = 255 & E, w[1] = E >>> 8 & 255, e.check = n(e.check, w, 2, 0)), C = E = 0, e.mode = 5;
1742
1742
  case 5:
1743
1743
  if (1024 & e.flags) {
1744
1744
  for (; C < 16; ) {
1745
1745
  if (j === 0) break t;
1746
1746
  j--, E += T[P++] << C, C += 8;
1747
1747
  }
1748
- e.length = E, e.head && (e.head.extra_len = E), 512 & e.flags && (k[0] = 255 & E, k[1] = E >>> 8 & 255, e.check = n(e.check, k, 2, 0)), C = E = 0;
1748
+ e.length = E, e.head && (e.head.extra_len = E), 512 & e.flags && (w[0] = 255 & E, w[1] = E >>> 8 & 255, e.check = n(e.check, w, 2, 0)), C = E = 0;
1749
1749
  } else e.head && (e.head.extra = null);
1750
1750
  e.mode = 6;
1751
1751
  case 6:
1752
- if (1024 & e.flags && (j < (H = e.length) && (H = j), H && (e.head && (t = e.head.extra_len - e.length, e.head.extra || (e.head.extra = new Array(e.head.extra_len)), l.arraySet(e.head.extra, T, P, H, t)), 512 & e.flags && (e.check = n(e.check, T, H, P)), j -= H, P += H, e.length -= H), e.length)) break t;
1752
+ if (1024 & e.flags && (j < (H = e.length) && (H = j), H && (e.head && (t = e.head.extra_len - e.length, e.head.extra || (e.head.extra = new Array(e.head.extra_len)), o.arraySet(e.head.extra, T, P, H, t)), 512 & e.flags && (e.check = n(e.check, T, H, P)), j -= H, P += H, e.length -= H), e.length)) break t;
1753
1753
  e.length = 0, e.mode = 7;
1754
1754
  case 7:
1755
1755
  if (2048 & e.flags) {
@@ -1830,7 +1830,7 @@ function Tt() {
1830
1830
  case 16:
1831
1831
  if (H = e.length) {
1832
1832
  if (j < H && (H = j), V < H && (H = V), H === 0) break t;
1833
- l.arraySet(J, T, P, H, $), j -= H, P += H, V -= H, $ += H, e.length -= H;
1833
+ o.arraySet(J, T, P, H, $), j -= H, P += H, V -= H, $ += H, e.length -= H;
1834
1834
  break;
1835
1835
  }
1836
1836
  e.mode = 12;
@@ -1854,7 +1854,7 @@ function Tt() {
1854
1854
  e.lens[F[e.have++]] = 7 & E, E >>>= 3, C -= 3;
1855
1855
  }
1856
1856
  for (; e.have < 19; ) e.lens[F[e.have++]] = 0;
1857
- if (e.lencode = e.lendyn, e.lenbits = 7, A = { bits: e.lenbits }, R = _(0, e.lens, 0, 19, e.lencode, 0, e.work, A), e.lenbits = A.bits, R) {
1857
+ if (e.lencode = e.lendyn, e.lenbits = 7, A = { bits: e.lenbits }, R = g(0, e.lens, 0, 19, e.lencode, 0, e.work, A), e.lenbits = A.bits, R) {
1858
1858
  m.msg = "invalid code lengths set", e.mode = 30;
1859
1859
  break;
1860
1860
  }
@@ -1902,11 +1902,11 @@ function Tt() {
1902
1902
  m.msg = "invalid code -- missing end-of-block", e.mode = 30;
1903
1903
  break;
1904
1904
  }
1905
- if (e.lenbits = 9, A = { bits: e.lenbits }, R = _(y, e.lens, 0, e.nlen, e.lencode, 0, e.work, A), e.lenbits = A.bits, R) {
1905
+ if (e.lenbits = 9, A = { bits: e.lenbits }, R = g(y, e.lens, 0, e.nlen, e.lencode, 0, e.work, A), e.lenbits = A.bits, R) {
1906
1906
  m.msg = "invalid literal/lengths set", e.mode = 30;
1907
1907
  break;
1908
1908
  }
1909
- if (e.distbits = 6, e.distcode = e.distdyn, A = { bits: e.distbits }, R = _(p, e.lens, e.nlen, e.ndist, e.distcode, 0, e.work, A), e.distbits = A.bits, R) {
1909
+ if (e.distbits = 6, e.distcode = e.distdyn, A = { bits: e.distbits }, R = g(p, e.lens, e.nlen, e.ndist, e.distcode, 0, e.work, A), e.distbits = A.bits, R) {
1910
1910
  m.msg = "invalid distances set", e.mode = 30;
1911
1911
  break;
1912
1912
  }
@@ -1915,7 +1915,7 @@ function Tt() {
1915
1915
  e.mode = 21;
1916
1916
  case 21:
1917
1917
  if (6 <= j && 258 <= V) {
1918
- m.next_out = $, m.avail_out = V, m.next_in = P, m.avail_in = j, e.hold = E, e.bits = C, u(m, G), $ = m.next_out, J = m.output, V = m.avail_out, P = m.next_in, T = m.input, j = m.avail_in, E = e.hold, C = e.bits, e.mode === 12 && (e.back = -1);
1918
+ m.next_out = $, m.avail_out = V, m.next_in = P, m.avail_in = j, e.hold = E, e.bits = C, h(m, G), $ = m.next_out, J = m.output, V = m.avail_out, P = m.next_in, T = m.input, j = m.avail_in, E = e.hold, C = e.bits, e.mode === 12 && (e.back = -1);
1919
1919
  break;
1920
1920
  }
1921
1921
  for (e.back = 0; et = (s = e.lencode[E & (1 << e.lenbits) - 1]) >>> 16 & 255, st = 65535 & s, !((Q = s >>> 24) <= C); ) {
@@ -2003,7 +2003,7 @@ function Tt() {
2003
2003
  if (j === 0) break t;
2004
2004
  j--, E |= T[P++] << C, C += 8;
2005
2005
  }
2006
- if (G -= V, m.total_out += G, e.total += G, G && (m.adler = e.check = e.flags ? n(e.check, J, G, $ - G) : o(e.check, J, G, $ - G)), G = V, (e.flags ? E : a(E)) !== e.check) {
2006
+ if (G -= V, m.total_out += G, e.total += G, G && (m.adler = e.check = e.flags ? n(e.check, J, G, $ - G) : u(e.check, J, G, $ - G)), G = V, (e.flags ? E : a(E)) !== e.check) {
2007
2007
  m.msg = "incorrect data check", e.mode = 30;
2008
2008
  break;
2009
2009
  }
@@ -2035,241 +2035,241 @@ function Tt() {
2035
2035
  default:
2036
2036
  return i;
2037
2037
  }
2038
- return m.next_out = $, m.avail_out = V, m.next_in = P, m.avail_in = j, e.hold = E, e.bits = C, (e.wsize || G !== m.avail_out && e.mode < 30 && (e.mode < 27 || B !== 4)) && q(m, m.output, m.next_out, G - m.avail_out) ? (e.mode = 31, -4) : (X -= m.avail_in, G -= m.avail_out, m.total_in += X, m.total_out += G, e.total += G, e.wrap && G && (m.adler = e.check = e.flags ? n(e.check, J, G, m.next_out - G) : o(e.check, J, G, m.next_out - G)), m.data_type = e.bits + (e.last ? 64 : 0) + (e.mode === 12 ? 128 : 0) + (e.mode === 20 || e.mode === 15 ? 256 : 0), (X == 0 && G === 0 || B === 4) && R === g && (R = -5), R);
2039
- }, w.inflateEnd = function(m) {
2038
+ return m.next_out = $, m.avail_out = V, m.next_in = P, m.avail_in = j, e.hold = E, e.bits = C, (e.wsize || G !== m.avail_out && e.mode < 30 && (e.mode < 27 || B !== 4)) && q(m, m.output, m.next_out, G - m.avail_out) ? (e.mode = 31, -4) : (X -= m.avail_in, G -= m.avail_out, m.total_in += X, m.total_out += G, e.total += G, e.wrap && G && (m.adler = e.check = e.flags ? n(e.check, J, G, m.next_out - G) : u(e.check, J, G, m.next_out - G)), m.data_type = e.bits + (e.last ? 64 : 0) + (e.mode === 12 ? 128 : 0) + (e.mode === 20 || e.mode === 15 ? 256 : 0), (X == 0 && G === 0 || B === 4) && R === b && (R = -5), R);
2039
+ }, k.inflateEnd = function(m) {
2040
2040
  if (!m || !m.state) return i;
2041
2041
  var B = m.state;
2042
- return B.window && (B.window = null), m.state = null, g;
2043
- }, w.inflateGetHeader = function(m, B) {
2042
+ return B.window && (B.window = null), m.state = null, b;
2043
+ }, k.inflateGetHeader = function(m, B) {
2044
2044
  var e;
2045
- return m && m.state ? (2 & (e = m.state).wrap) == 0 ? i : ((e.head = B).done = !1, g) : i;
2046
- }, w.inflateSetDictionary = function(m, B) {
2045
+ return m && m.state ? (2 & (e = m.state).wrap) == 0 ? i : ((e.head = B).done = !1, b) : i;
2046
+ }, k.inflateSetDictionary = function(m, B) {
2047
2047
  var e, T = B.length;
2048
- return m && m.state ? (e = m.state).wrap !== 0 && e.mode !== 11 ? i : e.mode === 11 && o(1, B, T, 0) !== e.check ? -3 : q(m, B, T, T) ? (e.mode = 31, -4) : (e.havedict = 1, g) : i;
2049
- }, w.inflateInfo = "pako inflate (from Nodeca project)";
2050
- }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(b, U, w) {
2051
- var l = b("../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], n = [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], u = [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], _ = [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];
2052
- U.exports = function(y, p, g, i, d, r, h, a) {
2053
- var c, v, S, x, D, O, L, I, W, q = a.bits, m = 0, B = 0, e = 0, T = 0, J = 0, P = 0, $ = 0, j = 0, V = 0, E = 0, C = null, X = 0, G = new l.Buf16(16), H = new l.Buf16(16), nt = null, ot = 0;
2048
+ return m && m.state ? (e = m.state).wrap !== 0 && e.mode !== 11 ? i : e.mode === 11 && u(1, B, T, 0) !== e.check ? -3 : q(m, B, T, T) ? (e.mode = 31, -4) : (e.havedict = 1, b) : i;
2049
+ }, k.inflateInfo = "pako inflate (from Nodeca project)";
2050
+ }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(_, N, k) {
2051
+ var o = _("../utils/common"), u = [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], n = [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], h = [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], g = [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];
2052
+ N.exports = function(y, p, b, i, d, r, l, a) {
2053
+ var c, v, z, x, D, O, L, I, W, q = a.bits, m = 0, B = 0, e = 0, T = 0, J = 0, P = 0, $ = 0, j = 0, V = 0, E = 0, C = null, X = 0, G = new o.Buf16(16), H = new o.Buf16(16), nt = null, ot = 0;
2054
2054
  for (m = 0; m <= 15; m++) G[m] = 0;
2055
- for (B = 0; B < i; B++) G[p[g + B]]++;
2055
+ for (B = 0; B < i; B++) G[p[b + B]]++;
2056
2056
  for (J = q, T = 15; 1 <= T && G[T] === 0; T--) ;
2057
2057
  if (T < J && (J = T), T === 0) return d[r++] = 20971520, d[r++] = 20971520, a.bits = 1, 0;
2058
2058
  for (e = 1; e < T && G[e] === 0; e++) ;
2059
2059
  for (J < e && (J = e), m = j = 1; m <= 15; m++) if (j <<= 1, (j -= G[m]) < 0) return -1;
2060
2060
  if (0 < j && (y === 0 || T !== 1)) return -1;
2061
2061
  for (H[1] = 0, m = 1; m < 15; m++) H[m + 1] = H[m] + G[m];
2062
- for (B = 0; B < i; B++) p[g + B] !== 0 && (h[H[p[g + B]]++] = B);
2063
- if (O = y === 0 ? (C = nt = h, 19) : y === 1 ? (C = o, X -= 257, nt = n, ot -= 257, 256) : (C = u, nt = _, -1), m = e, D = r, $ = B = E = 0, S = -1, x = (V = 1 << (P = J)) - 1, y === 1 && 852 < V || y === 2 && 592 < V) return 1;
2062
+ for (B = 0; B < i; B++) p[b + B] !== 0 && (l[H[p[b + B]]++] = B);
2063
+ if (O = y === 0 ? (C = nt = l, 19) : y === 1 ? (C = u, X -= 257, nt = n, ot -= 257, 256) : (C = h, nt = g, -1), m = e, D = r, $ = B = E = 0, z = -1, x = (V = 1 << (P = J)) - 1, y === 1 && 852 < V || y === 2 && 592 < V) return 1;
2064
2064
  for (; ; ) {
2065
- for (L = m - $, W = h[B] < O ? (I = 0, h[B]) : h[B] > O ? (I = nt[ot + h[B]], C[X + h[B]]) : (I = 96, 0), c = 1 << m - $, e = v = 1 << P; d[D + (E >> $) + (v -= c)] = L << 24 | I << 16 | W | 0, v !== 0; ) ;
2065
+ for (L = m - $, W = l[B] < O ? (I = 0, l[B]) : l[B] > O ? (I = nt[ot + l[B]], C[X + l[B]]) : (I = 96, 0), c = 1 << m - $, e = v = 1 << P; d[D + (E >> $) + (v -= c)] = L << 24 | I << 16 | W | 0, v !== 0; ) ;
2066
2066
  for (c = 1 << m - 1; E & c; ) c >>= 1;
2067
2067
  if (c !== 0 ? (E &= c - 1, E += c) : E = 0, B++, --G[m] == 0) {
2068
2068
  if (m === T) break;
2069
- m = p[g + h[B]];
2069
+ m = p[b + l[B]];
2070
2070
  }
2071
- if (J < m && (E & x) !== S) {
2071
+ if (J < m && (E & x) !== z) {
2072
2072
  for ($ === 0 && ($ = J), D += e, j = 1 << (P = m - $); P + $ < T && !((j -= G[P + $]) <= 0); ) P++, j <<= 1;
2073
2073
  if (V += 1 << P, y === 1 && 852 < V || y === 2 && 592 < V) return 1;
2074
- d[S = E & x] = J << 24 | P << 16 | D - r | 0;
2074
+ d[z = E & x] = J << 24 | P << 16 | D - r | 0;
2075
2075
  }
2076
2076
  }
2077
2077
  return E !== 0 && (d[D + E] = m - $ << 24 | 64 << 16 | 0), a.bits = J, 0;
2078
2078
  };
2079
- }, { "../utils/common": 41 }], 51: [function(b, U, w) {
2080
- U.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" };
2081
- }, {}], 52: [function(b, U, w) {
2082
- var l = b("../utils/common"), o = 0, n = 1;
2083
- function u(s) {
2084
- for (var k = s.length; 0 <= --k; ) s[k] = 0;
2085
- }
2086
- var _ = 0, y = 29, p = 256, g = p + 1 + y, i = 30, d = 19, r = 2 * g + 1, h = 15, a = 16, c = 7, v = 256, S = 16, x = 17, D = 18, O = [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], L = [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], I = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], W = [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));
2087
- u(q);
2079
+ }, { "../utils/common": 41 }], 51: [function(_, N, k) {
2080
+ N.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" };
2081
+ }, {}], 52: [function(_, N, k) {
2082
+ var o = _("../utils/common"), u = 0, n = 1;
2083
+ function h(s) {
2084
+ for (var w = s.length; 0 <= --w; ) s[w] = 0;
2085
+ }
2086
+ var g = 0, y = 29, p = 256, b = p + 1 + y, i = 30, d = 19, r = 2 * b + 1, l = 15, a = 16, c = 7, v = 256, z = 16, x = 17, D = 18, O = [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], L = [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], I = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], W = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], q = new Array(2 * (b + 2));
2087
+ h(q);
2088
2088
  var m = new Array(2 * i);
2089
- u(m);
2089
+ h(m);
2090
2090
  var B = new Array(512);
2091
- u(B);
2091
+ h(B);
2092
2092
  var e = new Array(256);
2093
- u(e);
2093
+ h(e);
2094
2094
  var T = new Array(y);
2095
- u(T);
2095
+ h(T);
2096
2096
  var J, P, $, j = new Array(i);
2097
- function V(s, k, F, N, z) {
2098
- this.static_tree = s, this.extra_bits = k, this.extra_base = F, this.elems = N, this.max_length = z, this.has_stree = s && s.length;
2097
+ function V(s, w, F, U, S) {
2098
+ this.static_tree = s, this.extra_bits = w, this.extra_base = F, this.elems = U, this.max_length = S, this.has_stree = s && s.length;
2099
2099
  }
2100
- function E(s, k) {
2101
- this.dyn_tree = s, this.max_code = 0, this.stat_desc = k;
2100
+ function E(s, w) {
2101
+ this.dyn_tree = s, this.max_code = 0, this.stat_desc = w;
2102
2102
  }
2103
2103
  function C(s) {
2104
2104
  return s < 256 ? B[s] : B[256 + (s >>> 7)];
2105
2105
  }
2106
- function X(s, k) {
2107
- s.pending_buf[s.pending++] = 255 & k, s.pending_buf[s.pending++] = k >>> 8 & 255;
2106
+ function X(s, w) {
2107
+ s.pending_buf[s.pending++] = 255 & w, s.pending_buf[s.pending++] = w >>> 8 & 255;
2108
2108
  }
2109
- function G(s, k, F) {
2110
- s.bi_valid > a - F ? (s.bi_buf |= k << s.bi_valid & 65535, X(s, s.bi_buf), s.bi_buf = k >> a - s.bi_valid, s.bi_valid += F - a) : (s.bi_buf |= k << s.bi_valid & 65535, s.bi_valid += F);
2109
+ function G(s, w, F) {
2110
+ s.bi_valid > a - F ? (s.bi_buf |= w << s.bi_valid & 65535, X(s, s.bi_buf), s.bi_buf = w >> a - s.bi_valid, s.bi_valid += F - a) : (s.bi_buf |= w << s.bi_valid & 65535, s.bi_valid += F);
2111
2111
  }
2112
- function H(s, k, F) {
2113
- G(s, F[2 * k], F[2 * k + 1]);
2112
+ function H(s, w, F) {
2113
+ G(s, F[2 * w], F[2 * w + 1]);
2114
2114
  }
2115
- function nt(s, k) {
2116
- for (var F = 0; F |= 1 & s, s >>>= 1, F <<= 1, 0 < --k; ) ;
2115
+ function nt(s, w) {
2116
+ for (var F = 0; F |= 1 & s, s >>>= 1, F <<= 1, 0 < --w; ) ;
2117
2117
  return F >>> 1;
2118
2118
  }
2119
- function ot(s, k, F) {
2120
- var N, z, Z = new Array(h + 1), K = 0;
2121
- for (N = 1; N <= h; N++) Z[N] = K = K + F[N - 1] << 1;
2122
- for (z = 0; z <= k; z++) {
2123
- var M = s[2 * z + 1];
2124
- M !== 0 && (s[2 * z] = nt(Z[M]++, M));
2119
+ function ot(s, w, F) {
2120
+ var U, S, Z = new Array(l + 1), K = 0;
2121
+ for (U = 1; U <= l; U++) Z[U] = K = K + F[U - 1] << 1;
2122
+ for (S = 0; S <= w; S++) {
2123
+ var M = s[2 * S + 1];
2124
+ M !== 0 && (s[2 * S] = nt(Z[M]++, M));
2125
2125
  }
2126
2126
  }
2127
2127
  function Q(s) {
2128
- var k;
2129
- for (k = 0; k < g; k++) s.dyn_ltree[2 * k] = 0;
2130
- for (k = 0; k < i; k++) s.dyn_dtree[2 * k] = 0;
2131
- for (k = 0; k < d; k++) s.bl_tree[2 * k] = 0;
2128
+ var w;
2129
+ for (w = 0; w < b; w++) s.dyn_ltree[2 * w] = 0;
2130
+ for (w = 0; w < i; w++) s.dyn_dtree[2 * w] = 0;
2131
+ for (w = 0; w < d; w++) s.bl_tree[2 * w] = 0;
2132
2132
  s.dyn_ltree[2 * v] = 1, s.opt_len = s.static_len = 0, s.last_lit = s.matches = 0;
2133
2133
  }
2134
2134
  function et(s) {
2135
2135
  8 < s.bi_valid ? X(s, s.bi_buf) : 0 < s.bi_valid && (s.pending_buf[s.pending++] = s.bi_buf), s.bi_buf = 0, s.bi_valid = 0;
2136
2136
  }
2137
- function st(s, k, F, N) {
2138
- var z = 2 * k, Z = 2 * F;
2139
- return s[z] < s[Z] || s[z] === s[Z] && N[k] <= N[F];
2137
+ function st(s, w, F, U) {
2138
+ var S = 2 * w, Z = 2 * F;
2139
+ return s[S] < s[Z] || s[S] === s[Z] && U[w] <= U[F];
2140
2140
  }
2141
- function it(s, k, F) {
2142
- for (var N = s.heap[F], z = F << 1; z <= s.heap_len && (z < s.heap_len && st(k, s.heap[z + 1], s.heap[z], s.depth) && z++, !st(k, N, s.heap[z], s.depth)); ) s.heap[F] = s.heap[z], F = z, z <<= 1;
2143
- s.heap[F] = N;
2141
+ function it(s, w, F) {
2142
+ for (var U = s.heap[F], S = F << 1; S <= s.heap_len && (S < s.heap_len && st(w, s.heap[S + 1], s.heap[S], s.depth) && S++, !st(w, U, s.heap[S], s.depth)); ) s.heap[F] = s.heap[S], F = S, S <<= 1;
2143
+ s.heap[F] = U;
2144
2144
  }
2145
- function lt(s, k, F) {
2146
- var N, z, Z, K, M = 0;
2147
- if (s.last_lit !== 0) for (; N = s.pending_buf[s.d_buf + 2 * M] << 8 | s.pending_buf[s.d_buf + 2 * M + 1], z = s.pending_buf[s.l_buf + M], M++, N === 0 ? H(s, z, k) : (H(s, (Z = e[z]) + p + 1, k), (K = O[Z]) !== 0 && G(s, z -= T[Z], K), H(s, Z = C(--N), F), (K = L[Z]) !== 0 && G(s, N -= j[Z], K)), M < s.last_lit; ) ;
2148
- H(s, v, k);
2145
+ function lt(s, w, F) {
2146
+ var U, S, Z, K, M = 0;
2147
+ if (s.last_lit !== 0) for (; U = s.pending_buf[s.d_buf + 2 * M] << 8 | s.pending_buf[s.d_buf + 2 * M + 1], S = s.pending_buf[s.l_buf + M], M++, U === 0 ? H(s, S, w) : (H(s, (Z = e[S]) + p + 1, w), (K = O[Z]) !== 0 && G(s, S -= T[Z], K), H(s, Z = C(--U), F), (K = L[Z]) !== 0 && G(s, U -= j[Z], K)), M < s.last_lit; ) ;
2148
+ H(s, v, w);
2149
2149
  }
2150
- function ht(s, k) {
2151
- var F, N, z, Z = k.dyn_tree, K = k.stat_desc.static_tree, M = k.stat_desc.has_stree, Y = k.stat_desc.elems, rt = -1;
2150
+ function ht(s, w) {
2151
+ var F, U, S, Z = w.dyn_tree, K = w.stat_desc.static_tree, M = w.stat_desc.has_stree, Y = w.stat_desc.elems, rt = -1;
2152
2152
  for (s.heap_len = 0, s.heap_max = r, F = 0; F < Y; F++) Z[2 * F] !== 0 ? (s.heap[++s.heap_len] = rt = F, s.depth[F] = 0) : Z[2 * F + 1] = 0;
2153
- for (; s.heap_len < 2; ) Z[2 * (z = s.heap[++s.heap_len] = rt < 2 ? ++rt : 0)] = 1, s.depth[z] = 0, s.opt_len--, M && (s.static_len -= K[2 * z + 1]);
2154
- for (k.max_code = rt, F = s.heap_len >> 1; 1 <= F; F--) it(s, Z, F);
2155
- for (z = Y; F = s.heap[1], s.heap[1] = s.heap[s.heap_len--], it(s, Z, 1), N = s.heap[1], s.heap[--s.heap_max] = F, s.heap[--s.heap_max] = N, Z[2 * z] = Z[2 * F] + Z[2 * N], s.depth[z] = (s.depth[F] >= s.depth[N] ? s.depth[F] : s.depth[N]) + 1, Z[2 * F + 1] = Z[2 * N + 1] = z, s.heap[1] = z++, it(s, Z, 1), 2 <= s.heap_len; ) ;
2153
+ for (; s.heap_len < 2; ) Z[2 * (S = s.heap[++s.heap_len] = rt < 2 ? ++rt : 0)] = 1, s.depth[S] = 0, s.opt_len--, M && (s.static_len -= K[2 * S + 1]);
2154
+ for (w.max_code = rt, F = s.heap_len >> 1; 1 <= F; F--) it(s, Z, F);
2155
+ for (S = Y; F = s.heap[1], s.heap[1] = s.heap[s.heap_len--], it(s, Z, 1), U = s.heap[1], s.heap[--s.heap_max] = F, s.heap[--s.heap_max] = U, Z[2 * S] = Z[2 * F] + Z[2 * U], s.depth[S] = (s.depth[F] >= s.depth[U] ? s.depth[F] : s.depth[U]) + 1, Z[2 * F + 1] = Z[2 * U + 1] = S, s.heap[1] = S++, it(s, Z, 1), 2 <= s.heap_len; ) ;
2156
2156
  s.heap[--s.heap_max] = s.heap[1], (function(tt, ut) {
2157
- var pt, ft, mt, at, gt, kt, dt = ut.dyn_tree, St = ut.max_code, Et = ut.stat_desc.static_tree, At = ut.stat_desc.has_stree, It = ut.stat_desc.extra_bits, zt = ut.stat_desc.extra_base, _t = ut.stat_desc.max_length, bt = 0;
2158
- for (at = 0; at <= h; at++) tt.bl_count[at] = 0;
2159
- for (dt[2 * tt.heap[tt.heap_max] + 1] = 0, pt = tt.heap_max + 1; pt < r; pt++) _t < (at = dt[2 * dt[2 * (ft = tt.heap[pt]) + 1] + 1] + 1) && (at = _t, bt++), dt[2 * ft + 1] = at, St < ft || (tt.bl_count[at]++, gt = 0, zt <= ft && (gt = It[ft - zt]), kt = dt[2 * ft], tt.opt_len += kt * (at + gt), At && (tt.static_len += kt * (Et[2 * ft + 1] + gt)));
2160
- if (bt !== 0) {
2157
+ var mt, ft, _t, at, bt, kt, dt = ut.dyn_tree, St = ut.max_code, At = ut.stat_desc.static_tree, It = ut.stat_desc.has_stree, Ot = ut.stat_desc.extra_bits, Ct = ut.stat_desc.extra_base, gt = ut.stat_desc.max_length, vt = 0;
2158
+ for (at = 0; at <= l; at++) tt.bl_count[at] = 0;
2159
+ for (dt[2 * tt.heap[tt.heap_max] + 1] = 0, mt = tt.heap_max + 1; mt < r; mt++) gt < (at = dt[2 * dt[2 * (ft = tt.heap[mt]) + 1] + 1] + 1) && (at = gt, vt++), dt[2 * ft + 1] = at, St < ft || (tt.bl_count[at]++, bt = 0, Ct <= ft && (bt = Ot[ft - Ct]), kt = dt[2 * ft], tt.opt_len += kt * (at + bt), It && (tt.static_len += kt * (At[2 * ft + 1] + bt)));
2160
+ if (vt !== 0) {
2161
2161
  do {
2162
- for (at = _t - 1; tt.bl_count[at] === 0; ) at--;
2163
- tt.bl_count[at]--, tt.bl_count[at + 1] += 2, tt.bl_count[_t]--, bt -= 2;
2164
- } while (0 < bt);
2165
- for (at = _t; at !== 0; at--) for (ft = tt.bl_count[at]; ft !== 0; ) St < (mt = tt.heap[--pt]) || (dt[2 * mt + 1] !== at && (tt.opt_len += (at - dt[2 * mt + 1]) * dt[2 * mt], dt[2 * mt + 1] = at), ft--);
2162
+ for (at = gt - 1; tt.bl_count[at] === 0; ) at--;
2163
+ tt.bl_count[at]--, tt.bl_count[at + 1] += 2, tt.bl_count[gt]--, vt -= 2;
2164
+ } while (0 < vt);
2165
+ for (at = gt; at !== 0; at--) for (ft = tt.bl_count[at]; ft !== 0; ) St < (_t = tt.heap[--mt]) || (dt[2 * _t + 1] !== at && (tt.opt_len += (at - dt[2 * _t + 1]) * dt[2 * _t], dt[2 * _t + 1] = at), ft--);
2166
2166
  }
2167
- })(s, k), ot(Z, rt, s.bl_count);
2168
- }
2169
- function t(s, k, F) {
2170
- var N, z, Z = -1, K = k[1], M = 0, Y = 7, rt = 4;
2171
- for (K === 0 && (Y = 138, rt = 3), k[2 * (F + 1) + 1] = 65535, N = 0; N <= F; N++) z = K, K = k[2 * (N + 1) + 1], ++M < Y && z === K || (M < rt ? s.bl_tree[2 * z] += M : z !== 0 ? (z !== Z && s.bl_tree[2 * z]++, s.bl_tree[2 * S]++) : M <= 10 ? s.bl_tree[2 * x]++ : s.bl_tree[2 * D]++, Z = z, rt = (M = 0) === K ? (Y = 138, 3) : z === K ? (Y = 6, 3) : (Y = 7, 4));
2172
- }
2173
- function R(s, k, F) {
2174
- var N, z, Z = -1, K = k[1], M = 0, Y = 7, rt = 4;
2175
- for (K === 0 && (Y = 138, rt = 3), N = 0; N <= F; N++) if (z = K, K = k[2 * (N + 1) + 1], !(++M < Y && z === K)) {
2176
- if (M < rt) for (; H(s, z, s.bl_tree), --M != 0; ) ;
2177
- else z !== 0 ? (z !== Z && (H(s, z, s.bl_tree), M--), H(s, S, s.bl_tree), G(s, M - 3, 2)) : M <= 10 ? (H(s, x, s.bl_tree), G(s, M - 3, 3)) : (H(s, D, s.bl_tree), G(s, M - 11, 7));
2178
- Z = z, rt = (M = 0) === K ? (Y = 138, 3) : z === K ? (Y = 6, 3) : (Y = 7, 4);
2167
+ })(s, w), ot(Z, rt, s.bl_count);
2168
+ }
2169
+ function t(s, w, F) {
2170
+ var U, S, Z = -1, K = w[1], M = 0, Y = 7, rt = 4;
2171
+ for (K === 0 && (Y = 138, rt = 3), w[2 * (F + 1) + 1] = 65535, U = 0; U <= F; U++) S = K, K = w[2 * (U + 1) + 1], ++M < Y && S === K || (M < rt ? s.bl_tree[2 * S] += M : S !== 0 ? (S !== Z && s.bl_tree[2 * S]++, s.bl_tree[2 * z]++) : M <= 10 ? s.bl_tree[2 * x]++ : s.bl_tree[2 * D]++, Z = S, rt = (M = 0) === K ? (Y = 138, 3) : S === K ? (Y = 6, 3) : (Y = 7, 4));
2172
+ }
2173
+ function R(s, w, F) {
2174
+ var U, S, Z = -1, K = w[1], M = 0, Y = 7, rt = 4;
2175
+ for (K === 0 && (Y = 138, rt = 3), U = 0; U <= F; U++) if (S = K, K = w[2 * (U + 1) + 1], !(++M < Y && S === K)) {
2176
+ if (M < rt) for (; H(s, S, s.bl_tree), --M != 0; ) ;
2177
+ else S !== 0 ? (S !== Z && (H(s, S, s.bl_tree), M--), H(s, z, s.bl_tree), G(s, M - 3, 2)) : M <= 10 ? (H(s, x, s.bl_tree), G(s, M - 3, 3)) : (H(s, D, s.bl_tree), G(s, M - 11, 7));
2178
+ Z = S, rt = (M = 0) === K ? (Y = 138, 3) : S === K ? (Y = 6, 3) : (Y = 7, 4);
2179
2179
  }
2180
2180
  }
2181
- u(j);
2181
+ h(j);
2182
2182
  var A = !1;
2183
- function f(s, k, F, N) {
2184
- G(s, (_ << 1) + (N ? 1 : 0), 3), (function(z, Z, K, M) {
2185
- et(z), X(z, K), X(z, ~K), l.arraySet(z.pending_buf, z.window, Z, K, z.pending), z.pending += K;
2186
- })(s, k, F);
2183
+ function f(s, w, F, U) {
2184
+ G(s, (g << 1) + (U ? 1 : 0), 3), (function(S, Z, K, M) {
2185
+ et(S), X(S, K), X(S, ~K), o.arraySet(S.pending_buf, S.window, Z, K, S.pending), S.pending += K;
2186
+ })(s, w, F);
2187
2187
  }
2188
- w._tr_init = function(s) {
2188
+ k._tr_init = function(s) {
2189
2189
  A || ((function() {
2190
- var k, F, N, z, Z, K = new Array(h + 1);
2191
- for (z = N = 0; z < y - 1; z++) for (T[z] = N, k = 0; k < 1 << O[z]; k++) e[N++] = z;
2192
- for (e[N - 1] = z, z = Z = 0; z < 16; z++) for (j[z] = Z, k = 0; k < 1 << L[z]; k++) B[Z++] = z;
2193
- for (Z >>= 7; z < i; z++) for (j[z] = Z << 7, k = 0; k < 1 << L[z] - 7; k++) B[256 + Z++] = z;
2194
- for (F = 0; F <= h; F++) K[F] = 0;
2195
- for (k = 0; k <= 143; ) q[2 * k + 1] = 8, k++, K[8]++;
2196
- for (; k <= 255; ) q[2 * k + 1] = 9, k++, K[9]++;
2197
- for (; k <= 279; ) q[2 * k + 1] = 7, k++, K[7]++;
2198
- for (; k <= 287; ) q[2 * k + 1] = 8, k++, K[8]++;
2199
- for (ot(q, g + 1, K), k = 0; k < i; k++) m[2 * k + 1] = 5, m[2 * k] = nt(k, 5);
2200
- J = new V(q, O, p + 1, g, h), P = new V(m, L, 0, i, h), $ = new V(new Array(0), I, 0, d, c);
2190
+ var w, F, U, S, Z, K = new Array(l + 1);
2191
+ for (S = U = 0; S < y - 1; S++) for (T[S] = U, w = 0; w < 1 << O[S]; w++) e[U++] = S;
2192
+ for (e[U - 1] = S, S = Z = 0; S < 16; S++) for (j[S] = Z, w = 0; w < 1 << L[S]; w++) B[Z++] = S;
2193
+ for (Z >>= 7; S < i; S++) for (j[S] = Z << 7, w = 0; w < 1 << L[S] - 7; w++) B[256 + Z++] = S;
2194
+ for (F = 0; F <= l; F++) K[F] = 0;
2195
+ for (w = 0; w <= 143; ) q[2 * w + 1] = 8, w++, K[8]++;
2196
+ for (; w <= 255; ) q[2 * w + 1] = 9, w++, K[9]++;
2197
+ for (; w <= 279; ) q[2 * w + 1] = 7, w++, K[7]++;
2198
+ for (; w <= 287; ) q[2 * w + 1] = 8, w++, K[8]++;
2199
+ for (ot(q, b + 1, K), w = 0; w < i; w++) m[2 * w + 1] = 5, m[2 * w] = nt(w, 5);
2200
+ J = new V(q, O, p + 1, b, l), P = new V(m, L, 0, i, l), $ = new V(new Array(0), I, 0, d, c);
2201
2201
  })(), A = !0), s.l_desc = new E(s.dyn_ltree, J), s.d_desc = new E(s.dyn_dtree, P), s.bl_desc = new E(s.bl_tree, $), s.bi_buf = 0, s.bi_valid = 0, Q(s);
2202
- }, w._tr_stored_block = f, w._tr_flush_block = function(s, k, F, N) {
2203
- var z, Z, K = 0;
2202
+ }, k._tr_stored_block = f, k._tr_flush_block = function(s, w, F, U) {
2203
+ var S, Z, K = 0;
2204
2204
  0 < s.level ? (s.strm.data_type === 2 && (s.strm.data_type = (function(M) {
2205
2205
  var Y, rt = 4093624447;
2206
- for (Y = 0; Y <= 31; Y++, rt >>>= 1) if (1 & rt && M.dyn_ltree[2 * Y] !== 0) return o;
2206
+ for (Y = 0; Y <= 31; Y++, rt >>>= 1) if (1 & rt && M.dyn_ltree[2 * Y] !== 0) return u;
2207
2207
  if (M.dyn_ltree[18] !== 0 || M.dyn_ltree[20] !== 0 || M.dyn_ltree[26] !== 0) return n;
2208
2208
  for (Y = 32; Y < p; Y++) if (M.dyn_ltree[2 * Y] !== 0) return n;
2209
- return o;
2209
+ return u;
2210
2210
  })(s)), ht(s, s.l_desc), ht(s, s.d_desc), K = (function(M) {
2211
2211
  var Y;
2212
2212
  for (t(M, M.dyn_ltree, M.l_desc.max_code), t(M, M.dyn_dtree, M.d_desc.max_code), ht(M, M.bl_desc), Y = d - 1; 3 <= Y && M.bl_tree[2 * W[Y] + 1] === 0; Y--) ;
2213
2213
  return M.opt_len += 3 * (Y + 1) + 5 + 5 + 4, Y;
2214
- })(s), z = s.opt_len + 3 + 7 >>> 3, (Z = s.static_len + 3 + 7 >>> 3) <= z && (z = Z)) : z = Z = F + 5, F + 4 <= z && k !== -1 ? f(s, k, F, N) : s.strategy === 4 || Z === z ? (G(s, 2 + (N ? 1 : 0), 3), lt(s, q, m)) : (G(s, 4 + (N ? 1 : 0), 3), (function(M, Y, rt, tt) {
2214
+ })(s), S = s.opt_len + 3 + 7 >>> 3, (Z = s.static_len + 3 + 7 >>> 3) <= S && (S = Z)) : S = Z = F + 5, F + 4 <= S && w !== -1 ? f(s, w, F, U) : s.strategy === 4 || Z === S ? (G(s, 2 + (U ? 1 : 0), 3), lt(s, q, m)) : (G(s, 4 + (U ? 1 : 0), 3), (function(M, Y, rt, tt) {
2215
2215
  var ut;
2216
2216
  for (G(M, Y - 257, 5), G(M, rt - 1, 5), G(M, tt - 4, 4), ut = 0; ut < tt; ut++) G(M, M.bl_tree[2 * W[ut] + 1], 3);
2217
2217
  R(M, M.dyn_ltree, Y - 1), R(M, M.dyn_dtree, rt - 1);
2218
- })(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, K + 1), lt(s, s.dyn_ltree, s.dyn_dtree)), Q(s), N && et(s);
2219
- }, w._tr_tally = function(s, k, F) {
2220
- return s.pending_buf[s.d_buf + 2 * s.last_lit] = k >>> 8 & 255, s.pending_buf[s.d_buf + 2 * s.last_lit + 1] = 255 & k, s.pending_buf[s.l_buf + s.last_lit] = 255 & F, s.last_lit++, k === 0 ? s.dyn_ltree[2 * F]++ : (s.matches++, k--, s.dyn_ltree[2 * (e[F] + p + 1)]++, s.dyn_dtree[2 * C(k)]++), s.last_lit === s.lit_bufsize - 1;
2221
- }, w._tr_align = function(s) {
2222
- G(s, 2, 3), H(s, v, q), (function(k) {
2223
- k.bi_valid === 16 ? (X(k, k.bi_buf), k.bi_buf = 0, k.bi_valid = 0) : 8 <= k.bi_valid && (k.pending_buf[k.pending++] = 255 & k.bi_buf, k.bi_buf >>= 8, k.bi_valid -= 8);
2218
+ })(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, K + 1), lt(s, s.dyn_ltree, s.dyn_dtree)), Q(s), U && et(s);
2219
+ }, k._tr_tally = function(s, w, F) {
2220
+ return s.pending_buf[s.d_buf + 2 * s.last_lit] = w >>> 8 & 255, s.pending_buf[s.d_buf + 2 * s.last_lit + 1] = 255 & w, s.pending_buf[s.l_buf + s.last_lit] = 255 & F, s.last_lit++, w === 0 ? s.dyn_ltree[2 * F]++ : (s.matches++, w--, s.dyn_ltree[2 * (e[F] + p + 1)]++, s.dyn_dtree[2 * C(w)]++), s.last_lit === s.lit_bufsize - 1;
2221
+ }, k._tr_align = function(s) {
2222
+ G(s, 2, 3), H(s, v, q), (function(w) {
2223
+ w.bi_valid === 16 ? (X(w, w.bi_buf), w.bi_buf = 0, w.bi_valid = 0) : 8 <= w.bi_valid && (w.pending_buf[w.pending++] = 255 & w.bi_buf, w.bi_buf >>= 8, w.bi_valid -= 8);
2224
2224
  })(s);
2225
2225
  };
2226
- }, { "../utils/common": 41 }], 53: [function(b, U, w) {
2227
- U.exports = function() {
2226
+ }, { "../utils/common": 41 }], 53: [function(_, N, k) {
2227
+ N.exports = function() {
2228
2228
  this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
2229
2229
  };
2230
- }, {}], 54: [function(b, U, w) {
2231
- (function(l) {
2232
- (function(o, n) {
2233
- if (!o.setImmediate) {
2234
- var u, _, y, p, g = 1, i = {}, d = !1, r = o.document, h = Object.getPrototypeOf && Object.getPrototypeOf(o);
2235
- h = h && h.setTimeout ? h : o, u = {}.toString.call(o.process) === "[object process]" ? function(S) {
2230
+ }, {}], 54: [function(_, N, k) {
2231
+ (function(o) {
2232
+ (function(u, n) {
2233
+ if (!u.setImmediate) {
2234
+ var h, g, y, p, b = 1, i = {}, d = !1, r = u.document, l = Object.getPrototypeOf && Object.getPrototypeOf(u);
2235
+ l = l && l.setTimeout ? l : u, h = {}.toString.call(u.process) === "[object process]" ? function(z) {
2236
2236
  process.nextTick(function() {
2237
- c(S);
2237
+ c(z);
2238
2238
  });
2239
2239
  } : (function() {
2240
- if (o.postMessage && !o.importScripts) {
2241
- var S = !0, x = o.onmessage;
2242
- return o.onmessage = function() {
2243
- S = !1;
2244
- }, o.postMessage("", "*"), o.onmessage = x, S;
2240
+ if (u.postMessage && !u.importScripts) {
2241
+ var z = !0, x = u.onmessage;
2242
+ return u.onmessage = function() {
2243
+ z = !1;
2244
+ }, u.postMessage("", "*"), u.onmessage = x, z;
2245
2245
  }
2246
- })() ? (p = "setImmediate$" + Math.random() + "$", o.addEventListener ? o.addEventListener("message", v, !1) : o.attachEvent("onmessage", v), function(S) {
2247
- o.postMessage(p + S, "*");
2248
- }) : o.MessageChannel ? ((y = new MessageChannel()).port1.onmessage = function(S) {
2249
- c(S.data);
2250
- }, function(S) {
2251
- y.port2.postMessage(S);
2252
- }) : r && "onreadystatechange" in r.createElement("script") ? (_ = r.documentElement, function(S) {
2246
+ })() ? (p = "setImmediate$" + Math.random() + "$", u.addEventListener ? u.addEventListener("message", v, !1) : u.attachEvent("onmessage", v), function(z) {
2247
+ u.postMessage(p + z, "*");
2248
+ }) : u.MessageChannel ? ((y = new MessageChannel()).port1.onmessage = function(z) {
2249
+ c(z.data);
2250
+ }, function(z) {
2251
+ y.port2.postMessage(z);
2252
+ }) : r && "onreadystatechange" in r.createElement("script") ? (g = r.documentElement, function(z) {
2253
2253
  var x = r.createElement("script");
2254
2254
  x.onreadystatechange = function() {
2255
- c(S), x.onreadystatechange = null, _.removeChild(x), x = null;
2256
- }, _.appendChild(x);
2257
- }) : function(S) {
2258
- setTimeout(c, 0, S);
2259
- }, h.setImmediate = function(S) {
2260
- typeof S != "function" && (S = new Function("" + S));
2255
+ c(z), x.onreadystatechange = null, g.removeChild(x), x = null;
2256
+ }, g.appendChild(x);
2257
+ }) : function(z) {
2258
+ setTimeout(c, 0, z);
2259
+ }, l.setImmediate = function(z) {
2260
+ typeof z != "function" && (z = new Function("" + z));
2261
2261
  for (var x = new Array(arguments.length - 1), D = 0; D < x.length; D++) x[D] = arguments[D + 1];
2262
- var O = { callback: S, args: x };
2263
- return i[g] = O, u(g), g++;
2264
- }, h.clearImmediate = a;
2262
+ var O = { callback: z, args: x };
2263
+ return i[b] = O, h(b), b++;
2264
+ }, l.clearImmediate = a;
2265
2265
  }
2266
- function a(S) {
2267
- delete i[S];
2266
+ function a(z) {
2267
+ delete i[z];
2268
2268
  }
2269
- function c(S) {
2270
- if (d) setTimeout(c, 0, S);
2269
+ function c(z) {
2270
+ if (d) setTimeout(c, 0, z);
2271
2271
  else {
2272
- var x = i[S];
2272
+ var x = i[z];
2273
2273
  if (x) {
2274
2274
  d = !0;
2275
2275
  try {
@@ -2293,32 +2293,38 @@ function Tt() {
2293
2293
  }
2294
2294
  })(x);
2295
2295
  } finally {
2296
- a(S), d = !1;
2296
+ a(z), d = !1;
2297
2297
  }
2298
2298
  }
2299
2299
  }
2300
2300
  }
2301
- function v(S) {
2302
- S.source === o && typeof S.data == "string" && S.data.indexOf(p) === 0 && c(+S.data.slice(p.length));
2301
+ function v(z) {
2302
+ z.source === u && typeof z.data == "string" && z.data.indexOf(p) === 0 && c(+z.data.slice(p.length));
2303
2303
  }
2304
- })(typeof self > "u" ? l === void 0 ? this : l : self);
2305
- }).call(this, typeof vt < "u" ? vt : typeof self < "u" ? self : typeof window < "u" ? window : {});
2304
+ })(typeof self > "u" ? o === void 0 ? this : o : self);
2305
+ }).call(this, typeof yt < "u" ? yt : typeof self < "u" ? self : typeof window < "u" ? window : {});
2306
2306
  }, {}] }, {}, [10])(10);
2307
2307
  });
2308
2308
  })(xt)), xt.exports;
2309
2309
  }
2310
- var Dt = Tt();
2311
- const Ft = /* @__PURE__ */ Ot(Dt);
2312
- async function Pt(ct) {
2313
- const wt = new Ft(), b = await Rt(ct);
2314
- for await (const l of b)
2315
- wt.file(l.path, l.data);
2316
- const U = await wt.generateAsync({ type: "blob" });
2317
- Bt("Generated offline ZIP bundle, size:", U.size);
2318
- const w = document.createElement("a");
2319
- w.href = URL.createObjectURL(U), w.download = "offline.zip", w.click(), URL.revokeObjectURL(w.href);
2310
+ var Ft = Dt();
2311
+ const Nt = /* @__PURE__ */ Bt(Ft), zt = Rt("efp:loader:generateZip");
2312
+ async function Ut(ct, pt) {
2313
+ const _ = new Nt(), N = await Tt(ct);
2314
+ for await (const o of N)
2315
+ zt("Adding file to zip:", o.path, "size:", o.data.byteLength), _.file(o.path, o.data);
2316
+ for (const o of pt != null ? pt : [])
2317
+ zt("Adding extra file to zip:", o.path, "size:", o.data.byteLength), _.file(o.path, o.data);
2318
+ const k = await _.generateAsync({ type: "blob" });
2319
+ return zt("Generated offline ZIP bundle, size:", k.size), k;
2320
+ }
2321
+ async function jt(ct, pt) {
2322
+ if (typeof window > "u" || typeof document > "u")
2323
+ throw new Error("downloadOfflineZip can only be used in a browser environment");
2324
+ const _ = await Ut(ct, pt), N = document.createElement("a");
2325
+ N.href = URL.createObjectURL(_), N.download = "offline.zip", N.click(), URL.revokeObjectURL(N.href);
2320
2326
  }
2321
2327
  export {
2322
- Pt as downloadZip
2328
+ jt as downloadOfflineZip
2323
2329
  };
2324
- //# sourceMappingURL=downloadZip-CohB2rQN.js.map
2330
+ //# sourceMappingURL=downloadOfflineZip-B8tTyZYe.js.map