@genome-spy/app 0.57.0 → 0.58.0

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.
@@ -1,2375 +0,0 @@
1
- import { b as Pi } from "./index-DluFz_0j.js";
2
- import { g as Da } from "./_commonjsHelpers-DjF3Plf2.js";
3
- var re = {};
4
- (function(e) {
5
- var i = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Int32Array < "u";
6
- function t(n, h) {
7
- return Object.prototype.hasOwnProperty.call(n, h);
8
- }
9
- e.assign = function(n) {
10
- for (var h = Array.prototype.slice.call(arguments, 1); h.length; ) {
11
- var f = h.shift();
12
- if (f) {
13
- if (typeof f != "object")
14
- throw new TypeError(f + "must be non-object");
15
- for (var _ in f)
16
- t(f, _) && (n[_] = f[_]);
17
- }
18
- }
19
- return n;
20
- }, e.shrinkBuf = function(n, h) {
21
- return n.length === h ? n : n.subarray ? n.subarray(0, h) : (n.length = h, n);
22
- };
23
- var a = {
24
- arraySet: function(n, h, f, _, l) {
25
- if (h.subarray && n.subarray) {
26
- n.set(h.subarray(f, f + _), l);
27
- return;
28
- }
29
- for (var o = 0; o < _; o++)
30
- n[l + o] = h[f + o];
31
- },
32
- // Join array of chunks to single array.
33
- flattenChunks: function(n) {
34
- var h, f, _, l, o, v;
35
- for (_ = 0, h = 0, f = n.length; h < f; h++)
36
- _ += n[h].length;
37
- for (v = new Uint8Array(_), l = 0, h = 0, f = n.length; h < f; h++)
38
- o = n[h], v.set(o, l), l += o.length;
39
- return v;
40
- }
41
- }, r = {
42
- arraySet: function(n, h, f, _, l) {
43
- for (var o = 0; o < _; o++)
44
- n[l + o] = h[f + o];
45
- },
46
- // Join array of chunks to single array.
47
- flattenChunks: function(n) {
48
- return [].concat.apply([], n);
49
- }
50
- };
51
- e.setTyped = function(n) {
52
- n ? (e.Buf8 = Uint8Array, e.Buf16 = Uint16Array, e.Buf32 = Int32Array, e.assign(e, a)) : (e.Buf8 = Array, e.Buf16 = Array, e.Buf32 = Array, e.assign(e, r));
53
- }, e.setTyped(i);
54
- })(re);
55
- var qe = {}, ie = {}, Ze = {}, Ra = re, Ba = 4, jt = 0, Vt = 1, Ca = 2;
56
- function Ie(e) {
57
- for (var i = e.length; --i >= 0; )
58
- e[i] = 0;
59
- }
60
- var Ua = 0, Ki = 1, $a = 2, Ma = 3, Ha = 258, $t = 29, Ge = 256, He = Ge + 1 + $t, Ne = 30, Mt = 19, Yi = 2 * He + 1, se = 15, bt = 16, Pa = 7, Ht = 256, Xi = 16, qi = 17, Gi = 18, Ot = (
61
- /* extra bits for each length code */
62
- [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]
63
- ), ft = (
64
- /* extra bits for each distance code */
65
- [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]
66
- ), Ka = (
67
- /* extra bits for each bit length code */
68
- [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]
69
- ), Wi = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Ya = 512, ne = new Array((He + 2) * 2);
70
- Ie(ne);
71
- var Be = new Array(Ne * 2);
72
- Ie(Be);
73
- var Pe = new Array(Ya);
74
- Ie(Pe);
75
- var Ke = new Array(Ha - Ma + 1);
76
- Ie(Ke);
77
- var Pt = new Array($t);
78
- Ie(Pt);
79
- var ut = new Array(Ne);
80
- Ie(ut);
81
- function pt(e, i, t, a, r) {
82
- this.static_tree = e, this.extra_bits = i, this.extra_base = t, this.elems = a, this.max_length = r, this.has_stree = e && e.length;
83
- }
84
- var ji, Vi, Ji;
85
- function xt(e, i) {
86
- this.dyn_tree = e, this.max_code = 0, this.stat_desc = i;
87
- }
88
- function Qi(e) {
89
- return e < 256 ? Pe[e] : Pe[256 + (e >>> 7)];
90
- }
91
- function Ye(e, i) {
92
- e.pending_buf[e.pending++] = i & 255, e.pending_buf[e.pending++] = i >>> 8 & 255;
93
- }
94
- function C(e, i, t) {
95
- e.bi_valid > bt - t ? (e.bi_buf |= i << e.bi_valid & 65535, Ye(e, e.bi_buf), e.bi_buf = i >> bt - e.bi_valid, e.bi_valid += t - bt) : (e.bi_buf |= i << e.bi_valid & 65535, e.bi_valid += t);
96
- }
97
- function ee(e, i, t) {
98
- C(
99
- e,
100
- t[i * 2],
101
- t[i * 2 + 1]
102
- /*.Len*/
103
- );
104
- }
105
- function ea(e, i) {
106
- var t = 0;
107
- do
108
- t |= e & 1, e >>>= 1, t <<= 1;
109
- while (--i > 0);
110
- return t >>> 1;
111
- }
112
- function Xa(e) {
113
- e.bi_valid === 16 ? (Ye(e, e.bi_buf), e.bi_buf = 0, e.bi_valid = 0) : e.bi_valid >= 8 && (e.pending_buf[e.pending++] = e.bi_buf & 255, e.bi_buf >>= 8, e.bi_valid -= 8);
114
- }
115
- function qa(e, i) {
116
- var t = i.dyn_tree, a = i.max_code, r = i.stat_desc.static_tree, n = i.stat_desc.has_stree, h = i.stat_desc.extra_bits, f = i.stat_desc.extra_base, _ = i.stat_desc.max_length, l, o, v, d, u, g, w = 0;
117
- for (d = 0; d <= se; d++)
118
- e.bl_count[d] = 0;
119
- for (t[e.heap[e.heap_max] * 2 + 1] = 0, l = e.heap_max + 1; l < Yi; l++)
120
- o = e.heap[l], d = t[t[o * 2 + 1] * 2 + 1] + 1, d > _ && (d = _, w++), t[o * 2 + 1] = d, !(o > a) && (e.bl_count[d]++, u = 0, o >= f && (u = h[o - f]), g = t[o * 2], e.opt_len += g * (d + u), n && (e.static_len += g * (r[o * 2 + 1] + u)));
121
- if (w !== 0) {
122
- do {
123
- for (d = _ - 1; e.bl_count[d] === 0; )
124
- d--;
125
- e.bl_count[d]--, e.bl_count[d + 1] += 2, e.bl_count[_]--, w -= 2;
126
- } while (w > 0);
127
- for (d = _; d !== 0; d--)
128
- for (o = e.bl_count[d]; o !== 0; )
129
- v = e.heap[--l], !(v > a) && (t[v * 2 + 1] !== d && (e.opt_len += (d - t[v * 2 + 1]) * t[v * 2], t[v * 2 + 1] = d), o--);
130
- }
131
- }
132
- function ta(e, i, t) {
133
- var a = new Array(se + 1), r = 0, n, h;
134
- for (n = 1; n <= se; n++)
135
- a[n] = r = r + t[n - 1] << 1;
136
- for (h = 0; h <= i; h++) {
137
- var f = e[h * 2 + 1];
138
- f !== 0 && (e[h * 2] = ea(a[f]++, f));
139
- }
140
- }
141
- function Ga() {
142
- var e, i, t, a, r, n = new Array(se + 1);
143
- for (t = 0, a = 0; a < $t - 1; a++)
144
- for (Pt[a] = t, e = 0; e < 1 << Ot[a]; e++)
145
- Ke[t++] = a;
146
- for (Ke[t - 1] = a, r = 0, a = 0; a < 16; a++)
147
- for (ut[a] = r, e = 0; e < 1 << ft[a]; e++)
148
- Pe[r++] = a;
149
- for (r >>= 7; a < Ne; a++)
150
- for (ut[a] = r << 7, e = 0; e < 1 << ft[a] - 7; e++)
151
- Pe[256 + r++] = a;
152
- for (i = 0; i <= se; i++)
153
- n[i] = 0;
154
- for (e = 0; e <= 143; )
155
- ne[e * 2 + 1] = 8, e++, n[8]++;
156
- for (; e <= 255; )
157
- ne[e * 2 + 1] = 9, e++, n[9]++;
158
- for (; e <= 279; )
159
- ne[e * 2 + 1] = 7, e++, n[7]++;
160
- for (; e <= 287; )
161
- ne[e * 2 + 1] = 8, e++, n[8]++;
162
- for (ta(ne, He + 1, n), e = 0; e < Ne; e++)
163
- Be[e * 2 + 1] = 5, Be[e * 2] = ea(e, 5);
164
- ji = new pt(ne, Ot, Ge + 1, He, se), Vi = new pt(Be, ft, 0, Ne, se), Ji = new pt(new Array(0), Ka, 0, Mt, Pa);
165
- }
166
- function ia(e) {
167
- var i;
168
- for (i = 0; i < He; i++)
169
- e.dyn_ltree[i * 2] = 0;
170
- for (i = 0; i < Ne; i++)
171
- e.dyn_dtree[i * 2] = 0;
172
- for (i = 0; i < Mt; i++)
173
- e.bl_tree[i * 2] = 0;
174
- e.dyn_ltree[Ht * 2] = 1, e.opt_len = e.static_len = 0, e.last_lit = e.matches = 0;
175
- }
176
- function aa(e) {
177
- e.bi_valid > 8 ? Ye(e, e.bi_buf) : e.bi_valid > 0 && (e.pending_buf[e.pending++] = e.bi_buf), e.bi_buf = 0, e.bi_valid = 0;
178
- }
179
- function Wa(e, i, t, a) {
180
- aa(e), Ye(e, t), Ye(e, ~t), Ra.arraySet(e.pending_buf, e.window, i, t, e.pending), e.pending += t;
181
- }
182
- function Jt(e, i, t, a) {
183
- var r = i * 2, n = t * 2;
184
- return e[r] < e[n] || e[r] === e[n] && a[i] <= a[t];
185
- }
186
- function kt(e, i, t) {
187
- for (var a = e.heap[t], r = t << 1; r <= e.heap_len && (r < e.heap_len && Jt(i, e.heap[r + 1], e.heap[r], e.depth) && r++, !Jt(i, a, e.heap[r], e.depth)); )
188
- e.heap[t] = e.heap[r], t = r, r <<= 1;
189
- e.heap[t] = a;
190
- }
191
- function Qt(e, i, t) {
192
- var a, r, n = 0, h, f;
193
- if (e.last_lit !== 0)
194
- do
195
- a = e.pending_buf[e.d_buf + n * 2] << 8 | e.pending_buf[e.d_buf + n * 2 + 1], r = e.pending_buf[e.l_buf + n], n++, a === 0 ? ee(e, r, i) : (h = Ke[r], ee(e, h + Ge + 1, i), f = Ot[h], f !== 0 && (r -= Pt[h], C(e, r, f)), a--, h = Qi(a), ee(e, h, t), f = ft[h], f !== 0 && (a -= ut[h], C(e, a, f)));
196
- while (n < e.last_lit);
197
- ee(e, Ht, i);
198
- }
199
- function Zt(e, i) {
200
- var t = i.dyn_tree, a = i.stat_desc.static_tree, r = i.stat_desc.has_stree, n = i.stat_desc.elems, h, f, _ = -1, l;
201
- for (e.heap_len = 0, e.heap_max = Yi, h = 0; h < n; h++)
202
- t[h * 2] !== 0 ? (e.heap[++e.heap_len] = _ = h, e.depth[h] = 0) : t[h * 2 + 1] = 0;
203
- for (; e.heap_len < 2; )
204
- l = e.heap[++e.heap_len] = _ < 2 ? ++_ : 0, t[l * 2] = 1, e.depth[l] = 0, e.opt_len--, r && (e.static_len -= a[l * 2 + 1]);
205
- for (i.max_code = _, h = e.heap_len >> 1; h >= 1; h--)
206
- kt(e, t, h);
207
- l = n;
208
- do
209
- h = e.heap[
210
- 1
211
- /*SMALLEST*/
212
- ], e.heap[
213
- 1
214
- /*SMALLEST*/
215
- ] = e.heap[e.heap_len--], kt(
216
- e,
217
- t,
218
- 1
219
- /*SMALLEST*/
220
- ), f = e.heap[
221
- 1
222
- /*SMALLEST*/
223
- ], e.heap[--e.heap_max] = h, e.heap[--e.heap_max] = f, t[l * 2] = t[h * 2] + t[f * 2], e.depth[l] = (e.depth[h] >= e.depth[f] ? e.depth[h] : e.depth[f]) + 1, t[h * 2 + 1] = t[f * 2 + 1] = l, e.heap[
224
- 1
225
- /*SMALLEST*/
226
- ] = l++, kt(
227
- e,
228
- t,
229
- 1
230
- /*SMALLEST*/
231
- );
232
- while (e.heap_len >= 2);
233
- e.heap[--e.heap_max] = e.heap[
234
- 1
235
- /*SMALLEST*/
236
- ], qa(e, i), ta(t, _, e.bl_count);
237
- }
238
- function ei(e, i, t) {
239
- var a, r = -1, n, h = i[0 * 2 + 1], f = 0, _ = 7, l = 4;
240
- for (h === 0 && (_ = 138, l = 3), i[(t + 1) * 2 + 1] = 65535, a = 0; a <= t; a++)
241
- n = h, h = i[(a + 1) * 2 + 1], !(++f < _ && n === h) && (f < l ? e.bl_tree[n * 2] += f : n !== 0 ? (n !== r && e.bl_tree[n * 2]++, e.bl_tree[Xi * 2]++) : f <= 10 ? e.bl_tree[qi * 2]++ : e.bl_tree[Gi * 2]++, f = 0, r = n, h === 0 ? (_ = 138, l = 3) : n === h ? (_ = 6, l = 3) : (_ = 7, l = 4));
242
- }
243
- function ti(e, i, t) {
244
- var a, r = -1, n, h = i[0 * 2 + 1], f = 0, _ = 7, l = 4;
245
- for (h === 0 && (_ = 138, l = 3), a = 0; a <= t; a++)
246
- if (n = h, h = i[(a + 1) * 2 + 1], !(++f < _ && n === h)) {
247
- if (f < l)
248
- do
249
- ee(e, n, e.bl_tree);
250
- while (--f !== 0);
251
- else n !== 0 ? (n !== r && (ee(e, n, e.bl_tree), f--), ee(e, Xi, e.bl_tree), C(e, f - 3, 2)) : f <= 10 ? (ee(e, qi, e.bl_tree), C(e, f - 3, 3)) : (ee(e, Gi, e.bl_tree), C(e, f - 11, 7));
252
- f = 0, r = n, h === 0 ? (_ = 138, l = 3) : n === h ? (_ = 6, l = 3) : (_ = 7, l = 4);
253
- }
254
- }
255
- function ja(e) {
256
- var i;
257
- for (ei(e, e.dyn_ltree, e.l_desc.max_code), ei(e, e.dyn_dtree, e.d_desc.max_code), Zt(e, e.bl_desc), i = Mt - 1; i >= 3 && e.bl_tree[Wi[i] * 2 + 1] === 0; i--)
258
- ;
259
- return e.opt_len += 3 * (i + 1) + 5 + 5 + 4, i;
260
- }
261
- function Va(e, i, t, a) {
262
- var r;
263
- for (C(e, i - 257, 5), C(e, t - 1, 5), C(e, a - 4, 4), r = 0; r < a; r++)
264
- C(e, e.bl_tree[Wi[r] * 2 + 1], 3);
265
- ti(e, e.dyn_ltree, i - 1), ti(e, e.dyn_dtree, t - 1);
266
- }
267
- function Ja(e) {
268
- var i = 4093624447, t;
269
- for (t = 0; t <= 31; t++, i >>>= 1)
270
- if (i & 1 && e.dyn_ltree[t * 2] !== 0)
271
- return jt;
272
- if (e.dyn_ltree[9 * 2] !== 0 || e.dyn_ltree[10 * 2] !== 0 || e.dyn_ltree[13 * 2] !== 0)
273
- return Vt;
274
- for (t = 32; t < Ge; t++)
275
- if (e.dyn_ltree[t * 2] !== 0)
276
- return Vt;
277
- return jt;
278
- }
279
- var ii = !1;
280
- function Qa(e) {
281
- ii || (Ga(), ii = !0), e.l_desc = new xt(e.dyn_ltree, ji), e.d_desc = new xt(e.dyn_dtree, Vi), e.bl_desc = new xt(e.bl_tree, Ji), e.bi_buf = 0, e.bi_valid = 0, ia(e);
282
- }
283
- function na(e, i, t, a) {
284
- C(e, (Ua << 1) + (a ? 1 : 0), 3), Wa(e, i, t);
285
- }
286
- function en(e) {
287
- C(e, Ki << 1, 3), ee(e, Ht, ne), Xa(e);
288
- }
289
- function tn(e, i, t, a) {
290
- var r, n, h = 0;
291
- e.level > 0 ? (e.strm.data_type === Ca && (e.strm.data_type = Ja(e)), Zt(e, e.l_desc), Zt(e, e.d_desc), h = ja(e), r = e.opt_len + 3 + 7 >>> 3, n = e.static_len + 3 + 7 >>> 3, n <= r && (r = n)) : r = n = t + 5, t + 4 <= r && i !== -1 ? na(e, i, t, a) : e.strategy === Ba || n === r ? (C(e, (Ki << 1) + (a ? 1 : 0), 3), Qt(e, ne, Be)) : (C(e, ($a << 1) + (a ? 1 : 0), 3), Va(e, e.l_desc.max_code + 1, e.d_desc.max_code + 1, h + 1), Qt(e, e.dyn_ltree, e.dyn_dtree)), ia(e), a && aa(e);
292
- }
293
- function an(e, i, t) {
294
- return e.pending_buf[e.d_buf + e.last_lit * 2] = i >>> 8 & 255, e.pending_buf[e.d_buf + e.last_lit * 2 + 1] = i & 255, e.pending_buf[e.l_buf + e.last_lit] = t & 255, e.last_lit++, i === 0 ? e.dyn_ltree[t * 2]++ : (e.matches++, i--, e.dyn_ltree[(Ke[t] + Ge + 1) * 2]++, e.dyn_dtree[Qi(i) * 2]++), e.last_lit === e.lit_bufsize - 1;
295
- }
296
- Ze._tr_init = Qa;
297
- Ze._tr_stored_block = na;
298
- Ze._tr_flush_block = tn;
299
- Ze._tr_tally = an;
300
- Ze._tr_align = en;
301
- function nn(e, i, t, a) {
302
- for (var r = e & 65535 | 0, n = e >>> 16 & 65535 | 0, h = 0; t !== 0; ) {
303
- h = t > 2e3 ? 2e3 : t, t -= h;
304
- do
305
- r = r + i[a++] | 0, n = n + r | 0;
306
- while (--h);
307
- r %= 65521, n %= 65521;
308
- }
309
- return r | n << 16 | 0;
310
- }
311
- var ra = nn;
312
- function rn() {
313
- for (var e, i = [], t = 0; t < 256; t++) {
314
- e = t;
315
- for (var a = 0; a < 8; a++)
316
- e = e & 1 ? 3988292384 ^ e >>> 1 : e >>> 1;
317
- i[t] = e;
318
- }
319
- return i;
320
- }
321
- var fn = rn();
322
- function hn(e, i, t, a) {
323
- var r = fn, n = a + t;
324
- e ^= -1;
325
- for (var h = a; h < n; h++)
326
- e = e >>> 8 ^ r[(e ^ i[h]) & 255];
327
- return e ^ -1;
328
- }
329
- var fa = hn, Kt = {
330
- 2: "need dictionary",
331
- /* Z_NEED_DICT 2 */
332
- 1: "stream end",
333
- /* Z_STREAM_END 1 */
334
- 0: "",
335
- /* Z_OK 0 */
336
- "-1": "file error",
337
- /* Z_ERRNO (-1) */
338
- "-2": "stream error",
339
- /* Z_STREAM_ERROR (-2) */
340
- "-3": "data error",
341
- /* Z_DATA_ERROR (-3) */
342
- "-4": "insufficient memory",
343
- /* Z_MEM_ERROR (-4) */
344
- "-5": "buffer error",
345
- /* Z_BUF_ERROR (-5) */
346
- "-6": "incompatible version"
347
- /* Z_VERSION_ERROR (-6) */
348
- }, B = re, Y = Ze, ha = ra, he = fa, ln = Kt, ke = 0, on = 1, _n = 3, de = 4, ai = 5, te = 0, ni = 1, X = -2, un = -3, Et = -5, dn = -1, sn = 1, tt = 2, cn = 3, vn = 4, gn = 0, wn = 2, vt = 8, bn = 9, pn = 15, xn = 8, kn = 29, En = 256, It = En + 1 + kn, Sn = 30, yn = 19, mn = 2 * It + 1, Fn = 15, S = 3, _e = 258, W = _e + S + 1, Tn = 32, gt = 42, Lt = 69, ht = 73, lt = 91, ot = 103, ce = 113, Re = 666, D = 1, We = 2, ge = 3, Le = 4, Nn = 3;
349
- function ue(e, i) {
350
- return e.msg = ln[i], i;
351
- }
352
- function ri(e) {
353
- return (e << 1) - (e > 4 ? 9 : 0);
354
- }
355
- function oe(e) {
356
- for (var i = e.length; --i >= 0; )
357
- e[i] = 0;
358
- }
359
- function le(e) {
360
- var i = e.state, t = i.pending;
361
- t > e.avail_out && (t = e.avail_out), t !== 0 && (B.arraySet(e.output, i.pending_buf, i.pending_out, t, e.next_out), e.next_out += t, i.pending_out += t, e.total_out += t, e.avail_out -= t, i.pending -= t, i.pending === 0 && (i.pending_out = 0));
362
- }
363
- function R(e, i) {
364
- Y._tr_flush_block(e, e.block_start >= 0 ? e.block_start : -1, e.strstart - e.block_start, i), e.block_start = e.strstart, le(e.strm);
365
- }
366
- function F(e, i) {
367
- e.pending_buf[e.pending++] = i;
368
- }
369
- function De(e, i) {
370
- e.pending_buf[e.pending++] = i >>> 8 & 255, e.pending_buf[e.pending++] = i & 255;
371
- }
372
- function zn(e, i, t, a) {
373
- var r = e.avail_in;
374
- return r > a && (r = a), r === 0 ? 0 : (e.avail_in -= r, B.arraySet(i, e.input, e.next_in, r, t), e.state.wrap === 1 ? e.adler = ha(e.adler, i, r, t) : e.state.wrap === 2 && (e.adler = he(e.adler, i, r, t)), e.next_in += r, e.total_in += r, r);
375
- }
376
- function la(e, i) {
377
- var t = e.max_chain_length, a = e.strstart, r, n, h = e.prev_length, f = e.nice_match, _ = e.strstart > e.w_size - W ? e.strstart - (e.w_size - W) : 0, l = e.window, o = e.w_mask, v = e.prev, d = e.strstart + _e, u = l[a + h - 1], g = l[a + h];
378
- e.prev_length >= e.good_match && (t >>= 2), f > e.lookahead && (f = e.lookahead);
379
- do
380
- if (r = i, !(l[r + h] !== g || l[r + h - 1] !== u || l[r] !== l[a] || l[++r] !== l[a + 1])) {
381
- a += 2, r++;
382
- do
383
- ;
384
- while (l[++a] === l[++r] && l[++a] === l[++r] && l[++a] === l[++r] && l[++a] === l[++r] && l[++a] === l[++r] && l[++a] === l[++r] && l[++a] === l[++r] && l[++a] === l[++r] && a < d);
385
- if (n = _e - (d - a), a = d - _e, n > h) {
386
- if (e.match_start = i, h = n, n >= f)
387
- break;
388
- u = l[a + h - 1], g = l[a + h];
389
- }
390
- }
391
- while ((i = v[i & o]) > _ && --t !== 0);
392
- return h <= e.lookahead ? h : e.lookahead;
393
- }
394
- function we(e) {
395
- var i = e.w_size, t, a, r, n, h;
396
- do {
397
- if (n = e.window_size - e.lookahead - e.strstart, e.strstart >= i + (i - W)) {
398
- B.arraySet(e.window, e.window, i, i, 0), e.match_start -= i, e.strstart -= i, e.block_start -= i, a = e.hash_size, t = a;
399
- do
400
- r = e.head[--t], e.head[t] = r >= i ? r - i : 0;
401
- while (--a);
402
- a = i, t = a;
403
- do
404
- r = e.prev[--t], e.prev[t] = r >= i ? r - i : 0;
405
- while (--a);
406
- n += i;
407
- }
408
- if (e.strm.avail_in === 0)
409
- break;
410
- if (a = zn(e.strm, e.window, e.strstart + e.lookahead, n), e.lookahead += a, e.lookahead + e.insert >= S)
411
- for (h = e.strstart - e.insert, e.ins_h = e.window[h], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[h + 1]) & e.hash_mask; e.insert && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[h + S - 1]) & e.hash_mask, e.prev[h & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = h, h++, e.insert--, !(e.lookahead + e.insert < S)); )
412
- ;
413
- } while (e.lookahead < W && e.strm.avail_in !== 0);
414
- }
415
- function An(e, i) {
416
- var t = 65535;
417
- for (t > e.pending_buf_size - 5 && (t = e.pending_buf_size - 5); ; ) {
418
- if (e.lookahead <= 1) {
419
- if (we(e), e.lookahead === 0 && i === ke)
420
- return D;
421
- if (e.lookahead === 0)
422
- break;
423
- }
424
- e.strstart += e.lookahead, e.lookahead = 0;
425
- var a = e.block_start + t;
426
- if ((e.strstart === 0 || e.strstart >= a) && (e.lookahead = e.strstart - a, e.strstart = a, R(e, !1), e.strm.avail_out === 0) || e.strstart - e.block_start >= e.w_size - W && (R(e, !1), e.strm.avail_out === 0))
427
- return D;
428
- }
429
- return e.insert = 0, i === de ? (R(e, !0), e.strm.avail_out === 0 ? ge : Le) : (e.strstart > e.block_start && (R(e, !1), e.strm.avail_out === 0), D);
430
- }
431
- function St(e, i) {
432
- for (var t, a; ; ) {
433
- if (e.lookahead < W) {
434
- if (we(e), e.lookahead < W && i === ke)
435
- return D;
436
- if (e.lookahead === 0)
437
- break;
438
- }
439
- if (t = 0, e.lookahead >= S && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + S - 1]) & e.hash_mask, t = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), t !== 0 && e.strstart - t <= e.w_size - W && (e.match_length = la(e, t)), e.match_length >= S)
440
- if (a = Y._tr_tally(e, e.strstart - e.match_start, e.match_length - S), e.lookahead -= e.match_length, e.match_length <= e.max_lazy_match && e.lookahead >= S) {
441
- e.match_length--;
442
- do
443
- e.strstart++, e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + S - 1]) & e.hash_mask, t = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart;
444
- while (--e.match_length !== 0);
445
- e.strstart++;
446
- } else
447
- e.strstart += e.match_length, e.match_length = 0, e.ins_h = e.window[e.strstart], e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + 1]) & e.hash_mask;
448
- else
449
- a = Y._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++;
450
- if (a && (R(e, !1), e.strm.avail_out === 0))
451
- return D;
452
- }
453
- return e.insert = e.strstart < S - 1 ? e.strstart : S - 1, i === de ? (R(e, !0), e.strm.avail_out === 0 ? ge : Le) : e.last_lit && (R(e, !1), e.strm.avail_out === 0) ? D : We;
454
- }
455
- function ye(e, i) {
456
- for (var t, a, r; ; ) {
457
- if (e.lookahead < W) {
458
- if (we(e), e.lookahead < W && i === ke)
459
- return D;
460
- if (e.lookahead === 0)
461
- break;
462
- }
463
- if (t = 0, e.lookahead >= S && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + S - 1]) & e.hash_mask, t = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart), e.prev_length = e.match_length, e.prev_match = e.match_start, e.match_length = S - 1, t !== 0 && e.prev_length < e.max_lazy_match && e.strstart - t <= e.w_size - W && (e.match_length = la(e, t), e.match_length <= 5 && (e.strategy === sn || e.match_length === S && e.strstart - e.match_start > 4096) && (e.match_length = S - 1)), e.prev_length >= S && e.match_length <= e.prev_length) {
464
- r = e.strstart + e.lookahead - S, a = Y._tr_tally(e, e.strstart - 1 - e.prev_match, e.prev_length - S), e.lookahead -= e.prev_length - 1, e.prev_length -= 2;
465
- do
466
- ++e.strstart <= r && (e.ins_h = (e.ins_h << e.hash_shift ^ e.window[e.strstart + S - 1]) & e.hash_mask, t = e.prev[e.strstart & e.w_mask] = e.head[e.ins_h], e.head[e.ins_h] = e.strstart);
467
- while (--e.prev_length !== 0);
468
- if (e.match_available = 0, e.match_length = S - 1, e.strstart++, a && (R(e, !1), e.strm.avail_out === 0))
469
- return D;
470
- } else if (e.match_available) {
471
- if (a = Y._tr_tally(e, 0, e.window[e.strstart - 1]), a && R(e, !1), e.strstart++, e.lookahead--, e.strm.avail_out === 0)
472
- return D;
473
- } else
474
- e.match_available = 1, e.strstart++, e.lookahead--;
475
- }
476
- return e.match_available && (a = Y._tr_tally(e, 0, e.window[e.strstart - 1]), e.match_available = 0), e.insert = e.strstart < S - 1 ? e.strstart : S - 1, i === de ? (R(e, !0), e.strm.avail_out === 0 ? ge : Le) : e.last_lit && (R(e, !1), e.strm.avail_out === 0) ? D : We;
477
- }
478
- function On(e, i) {
479
- for (var t, a, r, n, h = e.window; ; ) {
480
- if (e.lookahead <= _e) {
481
- if (we(e), e.lookahead <= _e && i === ke)
482
- return D;
483
- if (e.lookahead === 0)
484
- break;
485
- }
486
- if (e.match_length = 0, e.lookahead >= S && e.strstart > 0 && (r = e.strstart - 1, a = h[r], a === h[++r] && a === h[++r] && a === h[++r])) {
487
- n = e.strstart + _e;
488
- do
489
- ;
490
- while (a === h[++r] && a === h[++r] && a === h[++r] && a === h[++r] && a === h[++r] && a === h[++r] && a === h[++r] && a === h[++r] && r < n);
491
- e.match_length = _e - (n - r), e.match_length > e.lookahead && (e.match_length = e.lookahead);
492
- }
493
- if (e.match_length >= S ? (t = Y._tr_tally(e, 1, e.match_length - S), e.lookahead -= e.match_length, e.strstart += e.match_length, e.match_length = 0) : (t = Y._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++), t && (R(e, !1), e.strm.avail_out === 0))
494
- return D;
495
- }
496
- return e.insert = 0, i === de ? (R(e, !0), e.strm.avail_out === 0 ? ge : Le) : e.last_lit && (R(e, !1), e.strm.avail_out === 0) ? D : We;
497
- }
498
- function Zn(e, i) {
499
- for (var t; ; ) {
500
- if (e.lookahead === 0 && (we(e), e.lookahead === 0)) {
501
- if (i === ke)
502
- return D;
503
- break;
504
- }
505
- if (e.match_length = 0, t = Y._tr_tally(e, 0, e.window[e.strstart]), e.lookahead--, e.strstart++, t && (R(e, !1), e.strm.avail_out === 0))
506
- return D;
507
- }
508
- return e.insert = 0, i === de ? (R(e, !0), e.strm.avail_out === 0 ? ge : Le) : e.last_lit && (R(e, !1), e.strm.avail_out === 0) ? D : We;
509
- }
510
- function J(e, i, t, a, r) {
511
- this.good_length = e, this.max_lazy = i, this.nice_length = t, this.max_chain = a, this.func = r;
512
- }
513
- var Fe;
514
- Fe = [
515
- /* good lazy nice chain */
516
- new J(0, 0, 0, 0, An),
517
- /* 0 store only */
518
- new J(4, 4, 8, 4, St),
519
- /* 1 max speed, no lazy matches */
520
- new J(4, 5, 16, 8, St),
521
- /* 2 */
522
- new J(4, 6, 32, 32, St),
523
- /* 3 */
524
- new J(4, 4, 16, 16, ye),
525
- /* 4 lazy matches */
526
- new J(8, 16, 32, 32, ye),
527
- /* 5 */
528
- new J(8, 16, 128, 128, ye),
529
- /* 6 */
530
- new J(8, 32, 128, 256, ye),
531
- /* 7 */
532
- new J(32, 128, 258, 1024, ye),
533
- /* 8 */
534
- new J(32, 258, 258, 4096, ye)
535
- /* 9 max compression */
536
- ];
537
- function In(e) {
538
- e.window_size = 2 * e.w_size, oe(e.head), e.max_lazy_match = Fe[e.level].max_lazy, e.good_match = Fe[e.level].good_length, e.nice_match = Fe[e.level].nice_length, e.max_chain_length = Fe[e.level].max_chain, e.strstart = 0, e.block_start = 0, e.lookahead = 0, e.insert = 0, e.match_length = e.prev_length = S - 1, e.match_available = 0, e.ins_h = 0;
539
- }
540
- function Ln() {
541
- 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 = vt, 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 B.Buf16(mn * 2), this.dyn_dtree = new B.Buf16((2 * Sn + 1) * 2), this.bl_tree = new B.Buf16((2 * yn + 1) * 2), oe(this.dyn_ltree), oe(this.dyn_dtree), oe(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new B.Buf16(Fn + 1), this.heap = new B.Buf16(2 * It + 1), oe(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new B.Buf16(2 * It + 1), oe(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;
542
- }
543
- function oa(e) {
544
- var i;
545
- return !e || !e.state ? ue(e, X) : (e.total_in = e.total_out = 0, e.data_type = wn, i = e.state, i.pending = 0, i.pending_out = 0, i.wrap < 0 && (i.wrap = -i.wrap), i.status = i.wrap ? gt : ce, e.adler = i.wrap === 2 ? 0 : 1, i.last_flush = ke, Y._tr_init(i), te);
546
- }
547
- function _a(e) {
548
- var i = oa(e);
549
- return i === te && In(e.state), i;
550
- }
551
- function Dn(e, i) {
552
- return !e || !e.state || e.state.wrap !== 2 ? X : (e.state.gzhead = i, te);
553
- }
554
- function ua(e, i, t, a, r, n) {
555
- if (!e)
556
- return X;
557
- var h = 1;
558
- if (i === dn && (i = 6), a < 0 ? (h = 0, a = -a) : a > 15 && (h = 2, a -= 16), r < 1 || r > bn || t !== vt || a < 8 || a > 15 || i < 0 || i > 9 || n < 0 || n > vn)
559
- return ue(e, X);
560
- a === 8 && (a = 9);
561
- var f = new Ln();
562
- return e.state = f, f.strm = e, f.wrap = h, f.gzhead = null, f.w_bits = a, f.w_size = 1 << f.w_bits, f.w_mask = f.w_size - 1, f.hash_bits = r + 7, f.hash_size = 1 << f.hash_bits, f.hash_mask = f.hash_size - 1, f.hash_shift = ~~((f.hash_bits + S - 1) / S), f.window = new B.Buf8(f.w_size * 2), f.head = new B.Buf16(f.hash_size), f.prev = new B.Buf16(f.w_size), f.lit_bufsize = 1 << r + 6, f.pending_buf_size = f.lit_bufsize * 4, f.pending_buf = new B.Buf8(f.pending_buf_size), f.d_buf = 1 * f.lit_bufsize, f.l_buf = 3 * f.lit_bufsize, f.level = i, f.strategy = n, f.method = t, _a(e);
563
- }
564
- function Rn(e, i) {
565
- return ua(e, i, vt, pn, xn, gn);
566
- }
567
- function Bn(e, i) {
568
- var t, a, r, n;
569
- if (!e || !e.state || i > ai || i < 0)
570
- return e ? ue(e, X) : X;
571
- if (a = e.state, !e.output || !e.input && e.avail_in !== 0 || a.status === Re && i !== de)
572
- return ue(e, e.avail_out === 0 ? Et : X);
573
- if (a.strm = e, t = a.last_flush, a.last_flush = i, a.status === gt)
574
- if (a.wrap === 2)
575
- e.adler = 0, F(a, 31), F(a, 139), F(a, 8), a.gzhead ? (F(
576
- a,
577
- (a.gzhead.text ? 1 : 0) + (a.gzhead.hcrc ? 2 : 0) + (a.gzhead.extra ? 4 : 0) + (a.gzhead.name ? 8 : 0) + (a.gzhead.comment ? 16 : 0)
578
- ), F(a, a.gzhead.time & 255), F(a, a.gzhead.time >> 8 & 255), F(a, a.gzhead.time >> 16 & 255), F(a, a.gzhead.time >> 24 & 255), F(a, a.level === 9 ? 2 : a.strategy >= tt || a.level < 2 ? 4 : 0), F(a, a.gzhead.os & 255), a.gzhead.extra && a.gzhead.extra.length && (F(a, a.gzhead.extra.length & 255), F(a, a.gzhead.extra.length >> 8 & 255)), a.gzhead.hcrc && (e.adler = he(e.adler, a.pending_buf, a.pending, 0)), a.gzindex = 0, a.status = Lt) : (F(a, 0), F(a, 0), F(a, 0), F(a, 0), F(a, 0), F(a, a.level === 9 ? 2 : a.strategy >= tt || a.level < 2 ? 4 : 0), F(a, Nn), a.status = ce);
579
- else {
580
- var h = vt + (a.w_bits - 8 << 4) << 8, f = -1;
581
- a.strategy >= tt || a.level < 2 ? f = 0 : a.level < 6 ? f = 1 : a.level === 6 ? f = 2 : f = 3, h |= f << 6, a.strstart !== 0 && (h |= Tn), h += 31 - h % 31, a.status = ce, De(a, h), a.strstart !== 0 && (De(a, e.adler >>> 16), De(a, e.adler & 65535)), e.adler = 1;
582
- }
583
- if (a.status === Lt)
584
- if (a.gzhead.extra) {
585
- for (r = a.pending; a.gzindex < (a.gzhead.extra.length & 65535) && !(a.pending === a.pending_buf_size && (a.gzhead.hcrc && a.pending > r && (e.adler = he(e.adler, a.pending_buf, a.pending - r, r)), le(e), r = a.pending, a.pending === a.pending_buf_size)); )
586
- F(a, a.gzhead.extra[a.gzindex] & 255), a.gzindex++;
587
- a.gzhead.hcrc && a.pending > r && (e.adler = he(e.adler, a.pending_buf, a.pending - r, r)), a.gzindex === a.gzhead.extra.length && (a.gzindex = 0, a.status = ht);
588
- } else
589
- a.status = ht;
590
- if (a.status === ht)
591
- if (a.gzhead.name) {
592
- r = a.pending;
593
- do {
594
- if (a.pending === a.pending_buf_size && (a.gzhead.hcrc && a.pending > r && (e.adler = he(e.adler, a.pending_buf, a.pending - r, r)), le(e), r = a.pending, a.pending === a.pending_buf_size)) {
595
- n = 1;
596
- break;
597
- }
598
- a.gzindex < a.gzhead.name.length ? n = a.gzhead.name.charCodeAt(a.gzindex++) & 255 : n = 0, F(a, n);
599
- } while (n !== 0);
600
- a.gzhead.hcrc && a.pending > r && (e.adler = he(e.adler, a.pending_buf, a.pending - r, r)), n === 0 && (a.gzindex = 0, a.status = lt);
601
- } else
602
- a.status = lt;
603
- if (a.status === lt)
604
- if (a.gzhead.comment) {
605
- r = a.pending;
606
- do {
607
- if (a.pending === a.pending_buf_size && (a.gzhead.hcrc && a.pending > r && (e.adler = he(e.adler, a.pending_buf, a.pending - r, r)), le(e), r = a.pending, a.pending === a.pending_buf_size)) {
608
- n = 1;
609
- break;
610
- }
611
- a.gzindex < a.gzhead.comment.length ? n = a.gzhead.comment.charCodeAt(a.gzindex++) & 255 : n = 0, F(a, n);
612
- } while (n !== 0);
613
- a.gzhead.hcrc && a.pending > r && (e.adler = he(e.adler, a.pending_buf, a.pending - r, r)), n === 0 && (a.status = ot);
614
- } else
615
- a.status = ot;
616
- if (a.status === ot && (a.gzhead.hcrc ? (a.pending + 2 > a.pending_buf_size && le(e), a.pending + 2 <= a.pending_buf_size && (F(a, e.adler & 255), F(a, e.adler >> 8 & 255), e.adler = 0, a.status = ce)) : a.status = ce), a.pending !== 0) {
617
- if (le(e), e.avail_out === 0)
618
- return a.last_flush = -1, te;
619
- } else if (e.avail_in === 0 && ri(i) <= ri(t) && i !== de)
620
- return ue(e, Et);
621
- if (a.status === Re && e.avail_in !== 0)
622
- return ue(e, Et);
623
- if (e.avail_in !== 0 || a.lookahead !== 0 || i !== ke && a.status !== Re) {
624
- var _ = a.strategy === tt ? Zn(a, i) : a.strategy === cn ? On(a, i) : Fe[a.level].func(a, i);
625
- if ((_ === ge || _ === Le) && (a.status = Re), _ === D || _ === ge)
626
- return e.avail_out === 0 && (a.last_flush = -1), te;
627
- if (_ === We && (i === on ? Y._tr_align(a) : i !== ai && (Y._tr_stored_block(a, 0, 0, !1), i === _n && (oe(a.head), a.lookahead === 0 && (a.strstart = 0, a.block_start = 0, a.insert = 0))), le(e), e.avail_out === 0))
628
- return a.last_flush = -1, te;
629
- }
630
- return i !== de ? te : a.wrap <= 0 ? ni : (a.wrap === 2 ? (F(a, e.adler & 255), F(a, e.adler >> 8 & 255), F(a, e.adler >> 16 & 255), F(a, e.adler >> 24 & 255), F(a, e.total_in & 255), F(a, e.total_in >> 8 & 255), F(a, e.total_in >> 16 & 255), F(a, e.total_in >> 24 & 255)) : (De(a, e.adler >>> 16), De(a, e.adler & 65535)), le(e), a.wrap > 0 && (a.wrap = -a.wrap), a.pending !== 0 ? te : ni);
631
- }
632
- function Cn(e) {
633
- var i;
634
- return !e || !e.state ? X : (i = e.state.status, i !== gt && i !== Lt && i !== ht && i !== lt && i !== ot && i !== ce && i !== Re ? ue(e, X) : (e.state = null, i === ce ? ue(e, un) : te));
635
- }
636
- function Un(e, i) {
637
- var t = i.length, a, r, n, h, f, _, l, o;
638
- if (!e || !e.state || (a = e.state, h = a.wrap, h === 2 || h === 1 && a.status !== gt || a.lookahead))
639
- return X;
640
- for (h === 1 && (e.adler = ha(e.adler, i, t, 0)), a.wrap = 0, t >= a.w_size && (h === 0 && (oe(a.head), a.strstart = 0, a.block_start = 0, a.insert = 0), o = new B.Buf8(a.w_size), B.arraySet(o, i, t - a.w_size, a.w_size, 0), i = o, t = a.w_size), f = e.avail_in, _ = e.next_in, l = e.input, e.avail_in = t, e.next_in = 0, e.input = i, we(a); a.lookahead >= S; ) {
641
- r = a.strstart, n = a.lookahead - (S - 1);
642
- do
643
- a.ins_h = (a.ins_h << a.hash_shift ^ a.window[r + S - 1]) & a.hash_mask, a.prev[r & a.w_mask] = a.head[a.ins_h], a.head[a.ins_h] = r, r++;
644
- while (--n);
645
- a.strstart = r, a.lookahead = S - 1, we(a);
646
- }
647
- return a.strstart += a.lookahead, a.block_start = a.strstart, a.insert = a.lookahead, a.lookahead = 0, a.match_length = a.prev_length = S - 1, a.match_available = 0, e.next_in = _, e.input = l, e.avail_in = f, a.wrap = h, te;
648
- }
649
- ie.deflateInit = Rn;
650
- ie.deflateInit2 = ua;
651
- ie.deflateReset = _a;
652
- ie.deflateResetKeep = oa;
653
- ie.deflateSetHeader = Dn;
654
- ie.deflate = Bn;
655
- ie.deflateEnd = Cn;
656
- ie.deflateSetDictionary = Un;
657
- ie.deflateInfo = "pako deflate (from Nodeca project)";
658
- var Ee = {}, wt = re, da = !0, sa = !0;
659
- try {
660
- String.fromCharCode.apply(null, [0]);
661
- } catch {
662
- da = !1;
663
- }
664
- try {
665
- String.fromCharCode.apply(null, new Uint8Array(1));
666
- } catch {
667
- sa = !1;
668
- }
669
- var Xe = new wt.Buf8(256);
670
- for (var fe = 0; fe < 256; fe++)
671
- Xe[fe] = fe >= 252 ? 6 : fe >= 248 ? 5 : fe >= 240 ? 4 : fe >= 224 ? 3 : fe >= 192 ? 2 : 1;
672
- Xe[254] = Xe[254] = 1;
673
- Ee.string2buf = function(e) {
674
- var i, t, a, r, n, h = e.length, f = 0;
675
- for (r = 0; r < h; r++)
676
- t = e.charCodeAt(r), (t & 64512) === 55296 && r + 1 < h && (a = e.charCodeAt(r + 1), (a & 64512) === 56320 && (t = 65536 + (t - 55296 << 10) + (a - 56320), r++)), f += t < 128 ? 1 : t < 2048 ? 2 : t < 65536 ? 3 : 4;
677
- for (i = new wt.Buf8(f), n = 0, r = 0; n < f; r++)
678
- t = e.charCodeAt(r), (t & 64512) === 55296 && r + 1 < h && (a = e.charCodeAt(r + 1), (a & 64512) === 56320 && (t = 65536 + (t - 55296 << 10) + (a - 56320), r++)), t < 128 ? i[n++] = t : t < 2048 ? (i[n++] = 192 | t >>> 6, i[n++] = 128 | t & 63) : t < 65536 ? (i[n++] = 224 | t >>> 12, i[n++] = 128 | t >>> 6 & 63, i[n++] = 128 | t & 63) : (i[n++] = 240 | t >>> 18, i[n++] = 128 | t >>> 12 & 63, i[n++] = 128 | t >>> 6 & 63, i[n++] = 128 | t & 63);
679
- return i;
680
- };
681
- function ca(e, i) {
682
- if (i < 65534 && (e.subarray && sa || !e.subarray && da))
683
- return String.fromCharCode.apply(null, wt.shrinkBuf(e, i));
684
- for (var t = "", a = 0; a < i; a++)
685
- t += String.fromCharCode(e[a]);
686
- return t;
687
- }
688
- Ee.buf2binstring = function(e) {
689
- return ca(e, e.length);
690
- };
691
- Ee.binstring2buf = function(e) {
692
- for (var i = new wt.Buf8(e.length), t = 0, a = i.length; t < a; t++)
693
- i[t] = e.charCodeAt(t);
694
- return i;
695
- };
696
- Ee.buf2string = function(e, i) {
697
- var t, a, r, n, h = i || e.length, f = new Array(h * 2);
698
- for (a = 0, t = 0; t < h; ) {
699
- if (r = e[t++], r < 128) {
700
- f[a++] = r;
701
- continue;
702
- }
703
- if (n = Xe[r], n > 4) {
704
- f[a++] = 65533, t += n - 1;
705
- continue;
706
- }
707
- for (r &= n === 2 ? 31 : n === 3 ? 15 : 7; n > 1 && t < h; )
708
- r = r << 6 | e[t++] & 63, n--;
709
- if (n > 1) {
710
- f[a++] = 65533;
711
- continue;
712
- }
713
- r < 65536 ? f[a++] = r : (r -= 65536, f[a++] = 55296 | r >> 10 & 1023, f[a++] = 56320 | r & 1023);
714
- }
715
- return ca(f, a);
716
- };
717
- Ee.utf8border = function(e, i) {
718
- var t;
719
- for (i = i || e.length, i > e.length && (i = e.length), t = i - 1; t >= 0 && (e[t] & 192) === 128; )
720
- t--;
721
- return t < 0 || t === 0 ? i : t + Xe[e[t]] > i ? t : i;
722
- };
723
- function $n() {
724
- 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;
725
- }
726
- var va = $n, Ce = ie, Ue = re, Dt = Ee, Rt = Kt, Mn = va, ga = Object.prototype.toString, Hn = 0, yt = 4, ze = 0, fi = 1, hi = 2, Pn = -1, Kn = 0, Yn = 8;
727
- function be(e) {
728
- if (!(this instanceof be)) return new be(e);
729
- this.options = Ue.assign({
730
- level: Pn,
731
- method: Yn,
732
- chunkSize: 16384,
733
- windowBits: 15,
734
- memLevel: 8,
735
- strategy: Kn,
736
- to: ""
737
- }, e || {});
738
- var i = this.options;
739
- i.raw && i.windowBits > 0 ? i.windowBits = -i.windowBits : i.gzip && i.windowBits > 0 && i.windowBits < 16 && (i.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new Mn(), this.strm.avail_out = 0;
740
- var t = Ce.deflateInit2(
741
- this.strm,
742
- i.level,
743
- i.method,
744
- i.windowBits,
745
- i.memLevel,
746
- i.strategy
747
- );
748
- if (t !== ze)
749
- throw new Error(Rt[t]);
750
- if (i.header && Ce.deflateSetHeader(this.strm, i.header), i.dictionary) {
751
- var a;
752
- if (typeof i.dictionary == "string" ? a = Dt.string2buf(i.dictionary) : ga.call(i.dictionary) === "[object ArrayBuffer]" ? a = new Uint8Array(i.dictionary) : a = i.dictionary, t = Ce.deflateSetDictionary(this.strm, a), t !== ze)
753
- throw new Error(Rt[t]);
754
- this._dict_set = !0;
755
- }
756
- }
757
- be.prototype.push = function(e, i) {
758
- var t = this.strm, a = this.options.chunkSize, r, n;
759
- if (this.ended)
760
- return !1;
761
- n = i === ~~i ? i : i === !0 ? yt : Hn, typeof e == "string" ? t.input = Dt.string2buf(e) : ga.call(e) === "[object ArrayBuffer]" ? t.input = new Uint8Array(e) : t.input = e, t.next_in = 0, t.avail_in = t.input.length;
762
- do {
763
- if (t.avail_out === 0 && (t.output = new Ue.Buf8(a), t.next_out = 0, t.avail_out = a), r = Ce.deflate(t, n), r !== fi && r !== ze)
764
- return this.onEnd(r), this.ended = !0, !1;
765
- (t.avail_out === 0 || t.avail_in === 0 && (n === yt || n === hi)) && (this.options.to === "string" ? this.onData(Dt.buf2binstring(Ue.shrinkBuf(t.output, t.next_out))) : this.onData(Ue.shrinkBuf(t.output, t.next_out)));
766
- } while ((t.avail_in > 0 || t.avail_out === 0) && r !== fi);
767
- return n === yt ? (r = Ce.deflateEnd(this.strm), this.onEnd(r), this.ended = !0, r === ze) : (n === hi && (this.onEnd(ze), t.avail_out = 0), !0);
768
- };
769
- be.prototype.onData = function(e) {
770
- this.chunks.push(e);
771
- };
772
- be.prototype.onEnd = function(e) {
773
- e === ze && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = Ue.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
774
- };
775
- function Yt(e, i) {
776
- var t = new be(i);
777
- if (t.push(e, !0), t.err)
778
- throw t.msg || Rt[t.err];
779
- return t.result;
780
- }
781
- function Xn(e, i) {
782
- return i = i || {}, i.raw = !0, Yt(e, i);
783
- }
784
- function qn(e, i) {
785
- return i = i || {}, i.gzip = !0, Yt(e, i);
786
- }
787
- qe.Deflate = be;
788
- qe.deflate = Yt;
789
- qe.deflateRaw = Xn;
790
- qe.gzip = qn;
791
- var je = {}, j = {}, it = 30, Gn = 12, Wn = function(i, t) {
792
- var a, r, n, h, f, _, l, o, v, d, u, g, w, k, b, N, z, E, c, T, y, p, m, I, x;
793
- a = i.state, r = i.next_in, I = i.input, n = r + (i.avail_in - 5), h = i.next_out, x = i.output, f = h - (t - i.avail_out), _ = h + (i.avail_out - 257), l = a.dmax, o = a.wsize, v = a.whave, d = a.wnext, u = a.window, g = a.hold, w = a.bits, k = a.lencode, b = a.distcode, N = (1 << a.lenbits) - 1, z = (1 << a.distbits) - 1;
794
- e:
795
- do {
796
- w < 15 && (g += I[r++] << w, w += 8, g += I[r++] << w, w += 8), E = k[g & N];
797
- t:
798
- for (; ; ) {
799
- if (c = E >>> 24, g >>>= c, w -= c, c = E >>> 16 & 255, c === 0)
800
- x[h++] = E & 65535;
801
- else if (c & 16) {
802
- T = E & 65535, c &= 15, c && (w < c && (g += I[r++] << w, w += 8), T += g & (1 << c) - 1, g >>>= c, w -= c), w < 15 && (g += I[r++] << w, w += 8, g += I[r++] << w, w += 8), E = b[g & z];
803
- i:
804
- for (; ; ) {
805
- if (c = E >>> 24, g >>>= c, w -= c, c = E >>> 16 & 255, c & 16) {
806
- if (y = E & 65535, c &= 15, w < c && (g += I[r++] << w, w += 8, w < c && (g += I[r++] << w, w += 8)), y += g & (1 << c) - 1, y > l) {
807
- i.msg = "invalid distance too far back", a.mode = it;
808
- break e;
809
- }
810
- if (g >>>= c, w -= c, c = h - f, y > c) {
811
- if (c = y - c, c > v && a.sane) {
812
- i.msg = "invalid distance too far back", a.mode = it;
813
- break e;
814
- }
815
- if (p = 0, m = u, d === 0) {
816
- if (p += o - c, c < T) {
817
- T -= c;
818
- do
819
- x[h++] = u[p++];
820
- while (--c);
821
- p = h - y, m = x;
822
- }
823
- } else if (d < c) {
824
- if (p += o + d - c, c -= d, c < T) {
825
- T -= c;
826
- do
827
- x[h++] = u[p++];
828
- while (--c);
829
- if (p = 0, d < T) {
830
- c = d, T -= c;
831
- do
832
- x[h++] = u[p++];
833
- while (--c);
834
- p = h - y, m = x;
835
- }
836
- }
837
- } else if (p += d - c, c < T) {
838
- T -= c;
839
- do
840
- x[h++] = u[p++];
841
- while (--c);
842
- p = h - y, m = x;
843
- }
844
- for (; T > 2; )
845
- x[h++] = m[p++], x[h++] = m[p++], x[h++] = m[p++], T -= 3;
846
- T && (x[h++] = m[p++], T > 1 && (x[h++] = m[p++]));
847
- } else {
848
- p = h - y;
849
- do
850
- x[h++] = x[p++], x[h++] = x[p++], x[h++] = x[p++], T -= 3;
851
- while (T > 2);
852
- T && (x[h++] = x[p++], T > 1 && (x[h++] = x[p++]));
853
- }
854
- } else if (c & 64) {
855
- i.msg = "invalid distance code", a.mode = it;
856
- break e;
857
- } else {
858
- E = b[(E & 65535) + (g & (1 << c) - 1)];
859
- continue i;
860
- }
861
- break;
862
- }
863
- } else if (c & 64)
864
- if (c & 32) {
865
- a.mode = Gn;
866
- break e;
867
- } else {
868
- i.msg = "invalid literal/length code", a.mode = it;
869
- break e;
870
- }
871
- else {
872
- E = k[(E & 65535) + (g & (1 << c) - 1)];
873
- continue t;
874
- }
875
- break;
876
- }
877
- } while (r < n && h < _);
878
- T = w >> 3, r -= T, w -= T << 3, g &= (1 << w) - 1, i.next_in = r, i.next_out = h, i.avail_in = r < n ? 5 + (n - r) : 5 - (r - n), i.avail_out = h < _ ? 257 + (_ - h) : 257 - (h - _), a.hold = g, a.bits = w;
879
- }, li = re, me = 15, oi = 852, _i = 592, ui = 0, mt = 1, di = 2, jn = [
880
- /* Length codes 257..285 base */
881
- 3,
882
- 4,
883
- 5,
884
- 6,
885
- 7,
886
- 8,
887
- 9,
888
- 10,
889
- 11,
890
- 13,
891
- 15,
892
- 17,
893
- 19,
894
- 23,
895
- 27,
896
- 31,
897
- 35,
898
- 43,
899
- 51,
900
- 59,
901
- 67,
902
- 83,
903
- 99,
904
- 115,
905
- 131,
906
- 163,
907
- 195,
908
- 227,
909
- 258,
910
- 0,
911
- 0
912
- ], Vn = [
913
- /* Length codes 257..285 extra */
914
- 16,
915
- 16,
916
- 16,
917
- 16,
918
- 16,
919
- 16,
920
- 16,
921
- 16,
922
- 17,
923
- 17,
924
- 17,
925
- 17,
926
- 18,
927
- 18,
928
- 18,
929
- 18,
930
- 19,
931
- 19,
932
- 19,
933
- 19,
934
- 20,
935
- 20,
936
- 20,
937
- 20,
938
- 21,
939
- 21,
940
- 21,
941
- 21,
942
- 16,
943
- 72,
944
- 78
945
- ], Jn = [
946
- /* Distance codes 0..29 base */
947
- 1,
948
- 2,
949
- 3,
950
- 4,
951
- 5,
952
- 7,
953
- 9,
954
- 13,
955
- 17,
956
- 25,
957
- 33,
958
- 49,
959
- 65,
960
- 97,
961
- 129,
962
- 193,
963
- 257,
964
- 385,
965
- 513,
966
- 769,
967
- 1025,
968
- 1537,
969
- 2049,
970
- 3073,
971
- 4097,
972
- 6145,
973
- 8193,
974
- 12289,
975
- 16385,
976
- 24577,
977
- 0,
978
- 0
979
- ], Qn = [
980
- /* Distance codes 0..29 extra */
981
- 16,
982
- 16,
983
- 16,
984
- 16,
985
- 17,
986
- 17,
987
- 18,
988
- 18,
989
- 19,
990
- 19,
991
- 20,
992
- 20,
993
- 21,
994
- 21,
995
- 22,
996
- 22,
997
- 23,
998
- 23,
999
- 24,
1000
- 24,
1001
- 25,
1002
- 25,
1003
- 26,
1004
- 26,
1005
- 27,
1006
- 27,
1007
- 28,
1008
- 28,
1009
- 29,
1010
- 29,
1011
- 64,
1012
- 64
1013
- ], er = function(i, t, a, r, n, h, f, _) {
1014
- var l = _.bits, o = 0, v = 0, d = 0, u = 0, g = 0, w = 0, k = 0, b = 0, N = 0, z = 0, E, c, T, y, p, m = null, I = 0, x, G = new li.Buf16(me + 1), Ve = new li.Buf16(me + 1), Je = null, Gt = 0, Wt, Qe, et;
1015
- for (o = 0; o <= me; o++)
1016
- G[o] = 0;
1017
- for (v = 0; v < r; v++)
1018
- G[t[a + v]]++;
1019
- for (g = l, u = me; u >= 1 && G[u] === 0; u--)
1020
- ;
1021
- if (g > u && (g = u), u === 0)
1022
- return n[h++] = 1 << 24 | 64 << 16 | 0, n[h++] = 1 << 24 | 64 << 16 | 0, _.bits = 1, 0;
1023
- for (d = 1; d < u && G[d] === 0; d++)
1024
- ;
1025
- for (g < d && (g = d), b = 1, o = 1; o <= me; o++)
1026
- if (b <<= 1, b -= G[o], b < 0)
1027
- return -1;
1028
- if (b > 0 && (i === ui || u !== 1))
1029
- return -1;
1030
- for (Ve[1] = 0, o = 1; o < me; o++)
1031
- Ve[o + 1] = Ve[o] + G[o];
1032
- for (v = 0; v < r; v++)
1033
- t[a + v] !== 0 && (f[Ve[t[a + v]]++] = v);
1034
- if (i === ui ? (m = Je = f, x = 19) : i === mt ? (m = jn, I -= 257, Je = Vn, Gt -= 257, x = 256) : (m = Jn, Je = Qn, x = -1), z = 0, v = 0, o = d, p = h, w = g, k = 0, T = -1, N = 1 << g, y = N - 1, i === mt && N > oi || i === di && N > _i)
1035
- return 1;
1036
- for (; ; ) {
1037
- Wt = o - k, f[v] < x ? (Qe = 0, et = f[v]) : f[v] > x ? (Qe = Je[Gt + f[v]], et = m[I + f[v]]) : (Qe = 96, et = 0), E = 1 << o - k, c = 1 << w, d = c;
1038
- do
1039
- c -= E, n[p + (z >> k) + c] = Wt << 24 | Qe << 16 | et | 0;
1040
- while (c !== 0);
1041
- for (E = 1 << o - 1; z & E; )
1042
- E >>= 1;
1043
- if (E !== 0 ? (z &= E - 1, z += E) : z = 0, v++, --G[o] === 0) {
1044
- if (o === u)
1045
- break;
1046
- o = t[a + f[v]];
1047
- }
1048
- if (o > g && (z & y) !== T) {
1049
- for (k === 0 && (k = g), p += d, w = o - k, b = 1 << w; w + k < u && (b -= G[w + k], !(b <= 0)); )
1050
- w++, b <<= 1;
1051
- if (N += 1 << w, i === mt && N > oi || i === di && N > _i)
1052
- return 1;
1053
- T = z & y, n[T] = g << 24 | w << 16 | p - h | 0;
1054
- }
1055
- }
1056
- return z !== 0 && (n[p + z] = o - k << 24 | 64 << 16 | 0), _.bits = g, 0;
1057
- }, M = re, Bt = ra, Q = fa, tr = Wn, $e = er, ir = 0, wa = 1, ba = 2, si = 4, ar = 5, at = 6, pe = 0, nr = 1, rr = 2, q = -2, pa = -3, xa = -4, fr = -5, ci = 8, ka = 1, vi = 2, gi = 3, wi = 4, bi = 5, pi = 6, xi = 7, ki = 8, Ei = 9, Si = 10, dt = 11, ae = 12, Ft = 13, yi = 14, Tt = 15, mi = 16, Fi = 17, Ti = 18, Ni = 19, nt = 20, rt = 21, zi = 22, Ai = 23, Oi = 24, Zi = 25, Ii = 26, Nt = 27, Li = 28, Di = 29, Z = 30, Ea = 31, hr = 32, lr = 852, or = 592, _r = 15, ur = _r;
1058
- function Ri(e) {
1059
- return (e >>> 24 & 255) + (e >>> 8 & 65280) + ((e & 65280) << 8) + ((e & 255) << 24);
1060
- }
1061
- function dr() {
1062
- 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 M.Buf16(320), this.work = new M.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
1063
- }
1064
- function Sa(e) {
1065
- var i;
1066
- return !e || !e.state ? q : (i = e.state, e.total_in = e.total_out = i.total = 0, e.msg = "", i.wrap && (e.adler = i.wrap & 1), i.mode = ka, i.last = 0, i.havedict = 0, i.dmax = 32768, i.head = null, i.hold = 0, i.bits = 0, i.lencode = i.lendyn = new M.Buf32(lr), i.distcode = i.distdyn = new M.Buf32(or), i.sane = 1, i.back = -1, pe);
1067
- }
1068
- function ya(e) {
1069
- var i;
1070
- return !e || !e.state ? q : (i = e.state, i.wsize = 0, i.whave = 0, i.wnext = 0, Sa(e));
1071
- }
1072
- function ma(e, i) {
1073
- var t, a;
1074
- return !e || !e.state || (a = e.state, i < 0 ? (t = 0, i = -i) : (t = (i >> 4) + 1, i < 48 && (i &= 15)), i && (i < 8 || i > 15)) ? q : (a.window !== null && a.wbits !== i && (a.window = null), a.wrap = t, a.wbits = i, ya(e));
1075
- }
1076
- function Fa(e, i) {
1077
- var t, a;
1078
- return e ? (a = new dr(), e.state = a, a.window = null, t = ma(e, i), t !== pe && (e.state = null), t) : q;
1079
- }
1080
- function sr(e) {
1081
- return Fa(e, ur);
1082
- }
1083
- var Bi = !0, zt, At;
1084
- function cr(e) {
1085
- if (Bi) {
1086
- var i;
1087
- for (zt = new M.Buf32(512), At = new M.Buf32(32), i = 0; i < 144; )
1088
- e.lens[i++] = 8;
1089
- for (; i < 256; )
1090
- e.lens[i++] = 9;
1091
- for (; i < 280; )
1092
- e.lens[i++] = 7;
1093
- for (; i < 288; )
1094
- e.lens[i++] = 8;
1095
- for ($e(wa, e.lens, 0, 288, zt, 0, e.work, { bits: 9 }), i = 0; i < 32; )
1096
- e.lens[i++] = 5;
1097
- $e(ba, e.lens, 0, 32, At, 0, e.work, { bits: 5 }), Bi = !1;
1098
- }
1099
- e.lencode = zt, e.lenbits = 9, e.distcode = At, e.distbits = 5;
1100
- }
1101
- function Ta(e, i, t, a) {
1102
- var r, n = e.state;
1103
- return n.window === null && (n.wsize = 1 << n.wbits, n.wnext = 0, n.whave = 0, n.window = new M.Buf8(n.wsize)), a >= n.wsize ? (M.arraySet(n.window, i, t - n.wsize, n.wsize, 0), n.wnext = 0, n.whave = n.wsize) : (r = n.wsize - n.wnext, r > a && (r = a), M.arraySet(n.window, i, t - a, r, n.wnext), a -= r, a ? (M.arraySet(n.window, i, t - a, a, 0), n.wnext = a, n.whave = n.wsize) : (n.wnext += r, n.wnext === n.wsize && (n.wnext = 0), n.whave < n.wsize && (n.whave += r))), 0;
1104
- }
1105
- function vr(e, i) {
1106
- var t, a, r, n, h, f, _, l, o, v, d, u, g, w, k = 0, b, N, z, E, c, T, y, p, m = new M.Buf8(4), I, x, G = (
1107
- /* permutation of code lengths */
1108
- [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
1109
- );
1110
- if (!e || !e.state || !e.output || !e.input && e.avail_in !== 0)
1111
- return q;
1112
- t = e.state, t.mode === ae && (t.mode = Ft), h = e.next_out, r = e.output, _ = e.avail_out, n = e.next_in, a = e.input, f = e.avail_in, l = t.hold, o = t.bits, v = f, d = _, p = pe;
1113
- e:
1114
- for (; ; )
1115
- switch (t.mode) {
1116
- case ka:
1117
- if (t.wrap === 0) {
1118
- t.mode = Ft;
1119
- break;
1120
- }
1121
- for (; o < 16; ) {
1122
- if (f === 0)
1123
- break e;
1124
- f--, l += a[n++] << o, o += 8;
1125
- }
1126
- if (t.wrap & 2 && l === 35615) {
1127
- t.check = 0, m[0] = l & 255, m[1] = l >>> 8 & 255, t.check = Q(t.check, m, 2, 0), l = 0, o = 0, t.mode = vi;
1128
- break;
1129
- }
1130
- if (t.flags = 0, t.head && (t.head.done = !1), !(t.wrap & 1) || /* check if zlib header allowed */
1131
- (((l & 255) << 8) + (l >> 8)) % 31) {
1132
- e.msg = "incorrect header check", t.mode = Z;
1133
- break;
1134
- }
1135
- if ((l & 15) !== ci) {
1136
- e.msg = "unknown compression method", t.mode = Z;
1137
- break;
1138
- }
1139
- if (l >>>= 4, o -= 4, y = (l & 15) + 8, t.wbits === 0)
1140
- t.wbits = y;
1141
- else if (y > t.wbits) {
1142
- e.msg = "invalid window size", t.mode = Z;
1143
- break;
1144
- }
1145
- t.dmax = 1 << y, e.adler = t.check = 1, t.mode = l & 512 ? Si : ae, l = 0, o = 0;
1146
- break;
1147
- case vi:
1148
- for (; o < 16; ) {
1149
- if (f === 0)
1150
- break e;
1151
- f--, l += a[n++] << o, o += 8;
1152
- }
1153
- if (t.flags = l, (t.flags & 255) !== ci) {
1154
- e.msg = "unknown compression method", t.mode = Z;
1155
- break;
1156
- }
1157
- if (t.flags & 57344) {
1158
- e.msg = "unknown header flags set", t.mode = Z;
1159
- break;
1160
- }
1161
- t.head && (t.head.text = l >> 8 & 1), t.flags & 512 && (m[0] = l & 255, m[1] = l >>> 8 & 255, t.check = Q(t.check, m, 2, 0)), l = 0, o = 0, t.mode = gi;
1162
- case gi:
1163
- for (; o < 32; ) {
1164
- if (f === 0)
1165
- break e;
1166
- f--, l += a[n++] << o, o += 8;
1167
- }
1168
- t.head && (t.head.time = l), t.flags & 512 && (m[0] = l & 255, m[1] = l >>> 8 & 255, m[2] = l >>> 16 & 255, m[3] = l >>> 24 & 255, t.check = Q(t.check, m, 4, 0)), l = 0, o = 0, t.mode = wi;
1169
- case wi:
1170
- for (; o < 16; ) {
1171
- if (f === 0)
1172
- break e;
1173
- f--, l += a[n++] << o, o += 8;
1174
- }
1175
- t.head && (t.head.xflags = l & 255, t.head.os = l >> 8), t.flags & 512 && (m[0] = l & 255, m[1] = l >>> 8 & 255, t.check = Q(t.check, m, 2, 0)), l = 0, o = 0, t.mode = bi;
1176
- case bi:
1177
- if (t.flags & 1024) {
1178
- for (; o < 16; ) {
1179
- if (f === 0)
1180
- break e;
1181
- f--, l += a[n++] << o, o += 8;
1182
- }
1183
- t.length = l, t.head && (t.head.extra_len = l), t.flags & 512 && (m[0] = l & 255, m[1] = l >>> 8 & 255, t.check = Q(t.check, m, 2, 0)), l = 0, o = 0;
1184
- } else t.head && (t.head.extra = null);
1185
- t.mode = pi;
1186
- case pi:
1187
- if (t.flags & 1024 && (u = t.length, u > f && (u = f), u && (t.head && (y = t.head.extra_len - t.length, t.head.extra || (t.head.extra = new Array(t.head.extra_len)), M.arraySet(
1188
- t.head.extra,
1189
- a,
1190
- n,
1191
- // extra field is limited to 65536 bytes
1192
- // - no need for additional size check
1193
- u,
1194
- /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/
1195
- y
1196
- )), t.flags & 512 && (t.check = Q(t.check, a, u, n)), f -= u, n += u, t.length -= u), t.length))
1197
- break e;
1198
- t.length = 0, t.mode = xi;
1199
- case xi:
1200
- if (t.flags & 2048) {
1201
- if (f === 0)
1202
- break e;
1203
- u = 0;
1204
- do
1205
- y = a[n + u++], t.head && y && t.length < 65536 && (t.head.name += String.fromCharCode(y));
1206
- while (y && u < f);
1207
- if (t.flags & 512 && (t.check = Q(t.check, a, u, n)), f -= u, n += u, y)
1208
- break e;
1209
- } else t.head && (t.head.name = null);
1210
- t.length = 0, t.mode = ki;
1211
- case ki:
1212
- if (t.flags & 4096) {
1213
- if (f === 0)
1214
- break e;
1215
- u = 0;
1216
- do
1217
- y = a[n + u++], t.head && y && t.length < 65536 && (t.head.comment += String.fromCharCode(y));
1218
- while (y && u < f);
1219
- if (t.flags & 512 && (t.check = Q(t.check, a, u, n)), f -= u, n += u, y)
1220
- break e;
1221
- } else t.head && (t.head.comment = null);
1222
- t.mode = Ei;
1223
- case Ei:
1224
- if (t.flags & 512) {
1225
- for (; o < 16; ) {
1226
- if (f === 0)
1227
- break e;
1228
- f--, l += a[n++] << o, o += 8;
1229
- }
1230
- if (l !== (t.check & 65535)) {
1231
- e.msg = "header crc mismatch", t.mode = Z;
1232
- break;
1233
- }
1234
- l = 0, o = 0;
1235
- }
1236
- t.head && (t.head.hcrc = t.flags >> 9 & 1, t.head.done = !0), e.adler = t.check = 0, t.mode = ae;
1237
- break;
1238
- case Si:
1239
- for (; o < 32; ) {
1240
- if (f === 0)
1241
- break e;
1242
- f--, l += a[n++] << o, o += 8;
1243
- }
1244
- e.adler = t.check = Ri(l), l = 0, o = 0, t.mode = dt;
1245
- case dt:
1246
- if (t.havedict === 0)
1247
- return e.next_out = h, e.avail_out = _, e.next_in = n, e.avail_in = f, t.hold = l, t.bits = o, rr;
1248
- e.adler = t.check = 1, t.mode = ae;
1249
- case ae:
1250
- if (i === ar || i === at)
1251
- break e;
1252
- case Ft:
1253
- if (t.last) {
1254
- l >>>= o & 7, o -= o & 7, t.mode = Nt;
1255
- break;
1256
- }
1257
- for (; o < 3; ) {
1258
- if (f === 0)
1259
- break e;
1260
- f--, l += a[n++] << o, o += 8;
1261
- }
1262
- switch (t.last = l & 1, l >>>= 1, o -= 1, l & 3) {
1263
- case 0:
1264
- t.mode = yi;
1265
- break;
1266
- case 1:
1267
- if (cr(t), t.mode = nt, i === at) {
1268
- l >>>= 2, o -= 2;
1269
- break e;
1270
- }
1271
- break;
1272
- case 2:
1273
- t.mode = Fi;
1274
- break;
1275
- case 3:
1276
- e.msg = "invalid block type", t.mode = Z;
1277
- }
1278
- l >>>= 2, o -= 2;
1279
- break;
1280
- case yi:
1281
- for (l >>>= o & 7, o -= o & 7; o < 32; ) {
1282
- if (f === 0)
1283
- break e;
1284
- f--, l += a[n++] << o, o += 8;
1285
- }
1286
- if ((l & 65535) !== (l >>> 16 ^ 65535)) {
1287
- e.msg = "invalid stored block lengths", t.mode = Z;
1288
- break;
1289
- }
1290
- if (t.length = l & 65535, l = 0, o = 0, t.mode = Tt, i === at)
1291
- break e;
1292
- case Tt:
1293
- t.mode = mi;
1294
- case mi:
1295
- if (u = t.length, u) {
1296
- if (u > f && (u = f), u > _ && (u = _), u === 0)
1297
- break e;
1298
- M.arraySet(r, a, n, u, h), f -= u, n += u, _ -= u, h += u, t.length -= u;
1299
- break;
1300
- }
1301
- t.mode = ae;
1302
- break;
1303
- case Fi:
1304
- for (; o < 14; ) {
1305
- if (f === 0)
1306
- break e;
1307
- f--, l += a[n++] << o, o += 8;
1308
- }
1309
- if (t.nlen = (l & 31) + 257, l >>>= 5, o -= 5, t.ndist = (l & 31) + 1, l >>>= 5, o -= 5, t.ncode = (l & 15) + 4, l >>>= 4, o -= 4, t.nlen > 286 || t.ndist > 30) {
1310
- e.msg = "too many length or distance symbols", t.mode = Z;
1311
- break;
1312
- }
1313
- t.have = 0, t.mode = Ti;
1314
- case Ti:
1315
- for (; t.have < t.ncode; ) {
1316
- for (; o < 3; ) {
1317
- if (f === 0)
1318
- break e;
1319
- f--, l += a[n++] << o, o += 8;
1320
- }
1321
- t.lens[G[t.have++]] = l & 7, l >>>= 3, o -= 3;
1322
- }
1323
- for (; t.have < 19; )
1324
- t.lens[G[t.have++]] = 0;
1325
- if (t.lencode = t.lendyn, t.lenbits = 7, I = { bits: t.lenbits }, p = $e(ir, t.lens, 0, 19, t.lencode, 0, t.work, I), t.lenbits = I.bits, p) {
1326
- e.msg = "invalid code lengths set", t.mode = Z;
1327
- break;
1328
- }
1329
- t.have = 0, t.mode = Ni;
1330
- case Ni:
1331
- for (; t.have < t.nlen + t.ndist; ) {
1332
- for (; k = t.lencode[l & (1 << t.lenbits) - 1], b = k >>> 24, N = k >>> 16 & 255, z = k & 65535, !(b <= o); ) {
1333
- if (f === 0)
1334
- break e;
1335
- f--, l += a[n++] << o, o += 8;
1336
- }
1337
- if (z < 16)
1338
- l >>>= b, o -= b, t.lens[t.have++] = z;
1339
- else {
1340
- if (z === 16) {
1341
- for (x = b + 2; o < x; ) {
1342
- if (f === 0)
1343
- break e;
1344
- f--, l += a[n++] << o, o += 8;
1345
- }
1346
- if (l >>>= b, o -= b, t.have === 0) {
1347
- e.msg = "invalid bit length repeat", t.mode = Z;
1348
- break;
1349
- }
1350
- y = t.lens[t.have - 1], u = 3 + (l & 3), l >>>= 2, o -= 2;
1351
- } else if (z === 17) {
1352
- for (x = b + 3; o < x; ) {
1353
- if (f === 0)
1354
- break e;
1355
- f--, l += a[n++] << o, o += 8;
1356
- }
1357
- l >>>= b, o -= b, y = 0, u = 3 + (l & 7), l >>>= 3, o -= 3;
1358
- } else {
1359
- for (x = b + 7; o < x; ) {
1360
- if (f === 0)
1361
- break e;
1362
- f--, l += a[n++] << o, o += 8;
1363
- }
1364
- l >>>= b, o -= b, y = 0, u = 11 + (l & 127), l >>>= 7, o -= 7;
1365
- }
1366
- if (t.have + u > t.nlen + t.ndist) {
1367
- e.msg = "invalid bit length repeat", t.mode = Z;
1368
- break;
1369
- }
1370
- for (; u--; )
1371
- t.lens[t.have++] = y;
1372
- }
1373
- }
1374
- if (t.mode === Z)
1375
- break;
1376
- if (t.lens[256] === 0) {
1377
- e.msg = "invalid code -- missing end-of-block", t.mode = Z;
1378
- break;
1379
- }
1380
- if (t.lenbits = 9, I = { bits: t.lenbits }, p = $e(wa, t.lens, 0, t.nlen, t.lencode, 0, t.work, I), t.lenbits = I.bits, p) {
1381
- e.msg = "invalid literal/lengths set", t.mode = Z;
1382
- break;
1383
- }
1384
- if (t.distbits = 6, t.distcode = t.distdyn, I = { bits: t.distbits }, p = $e(ba, t.lens, t.nlen, t.ndist, t.distcode, 0, t.work, I), t.distbits = I.bits, p) {
1385
- e.msg = "invalid distances set", t.mode = Z;
1386
- break;
1387
- }
1388
- if (t.mode = nt, i === at)
1389
- break e;
1390
- case nt:
1391
- t.mode = rt;
1392
- case rt:
1393
- if (f >= 6 && _ >= 258) {
1394
- e.next_out = h, e.avail_out = _, e.next_in = n, e.avail_in = f, t.hold = l, t.bits = o, tr(e, d), h = e.next_out, r = e.output, _ = e.avail_out, n = e.next_in, a = e.input, f = e.avail_in, l = t.hold, o = t.bits, t.mode === ae && (t.back = -1);
1395
- break;
1396
- }
1397
- for (t.back = 0; k = t.lencode[l & (1 << t.lenbits) - 1], b = k >>> 24, N = k >>> 16 & 255, z = k & 65535, !(b <= o); ) {
1398
- if (f === 0)
1399
- break e;
1400
- f--, l += a[n++] << o, o += 8;
1401
- }
1402
- if (N && !(N & 240)) {
1403
- for (E = b, c = N, T = z; k = t.lencode[T + ((l & (1 << E + c) - 1) >> E)], b = k >>> 24, N = k >>> 16 & 255, z = k & 65535, !(E + b <= o); ) {
1404
- if (f === 0)
1405
- break e;
1406
- f--, l += a[n++] << o, o += 8;
1407
- }
1408
- l >>>= E, o -= E, t.back += E;
1409
- }
1410
- if (l >>>= b, o -= b, t.back += b, t.length = z, N === 0) {
1411
- t.mode = Ii;
1412
- break;
1413
- }
1414
- if (N & 32) {
1415
- t.back = -1, t.mode = ae;
1416
- break;
1417
- }
1418
- if (N & 64) {
1419
- e.msg = "invalid literal/length code", t.mode = Z;
1420
- break;
1421
- }
1422
- t.extra = N & 15, t.mode = zi;
1423
- case zi:
1424
- if (t.extra) {
1425
- for (x = t.extra; o < x; ) {
1426
- if (f === 0)
1427
- break e;
1428
- f--, l += a[n++] << o, o += 8;
1429
- }
1430
- t.length += l & (1 << t.extra) - 1, l >>>= t.extra, o -= t.extra, t.back += t.extra;
1431
- }
1432
- t.was = t.length, t.mode = Ai;
1433
- case Ai:
1434
- for (; k = t.distcode[l & (1 << t.distbits) - 1], b = k >>> 24, N = k >>> 16 & 255, z = k & 65535, !(b <= o); ) {
1435
- if (f === 0)
1436
- break e;
1437
- f--, l += a[n++] << o, o += 8;
1438
- }
1439
- if (!(N & 240)) {
1440
- for (E = b, c = N, T = z; k = t.distcode[T + ((l & (1 << E + c) - 1) >> E)], b = k >>> 24, N = k >>> 16 & 255, z = k & 65535, !(E + b <= o); ) {
1441
- if (f === 0)
1442
- break e;
1443
- f--, l += a[n++] << o, o += 8;
1444
- }
1445
- l >>>= E, o -= E, t.back += E;
1446
- }
1447
- if (l >>>= b, o -= b, t.back += b, N & 64) {
1448
- e.msg = "invalid distance code", t.mode = Z;
1449
- break;
1450
- }
1451
- t.offset = z, t.extra = N & 15, t.mode = Oi;
1452
- case Oi:
1453
- if (t.extra) {
1454
- for (x = t.extra; o < x; ) {
1455
- if (f === 0)
1456
- break e;
1457
- f--, l += a[n++] << o, o += 8;
1458
- }
1459
- t.offset += l & (1 << t.extra) - 1, l >>>= t.extra, o -= t.extra, t.back += t.extra;
1460
- }
1461
- if (t.offset > t.dmax) {
1462
- e.msg = "invalid distance too far back", t.mode = Z;
1463
- break;
1464
- }
1465
- t.mode = Zi;
1466
- case Zi:
1467
- if (_ === 0)
1468
- break e;
1469
- if (u = d - _, t.offset > u) {
1470
- if (u = t.offset - u, u > t.whave && t.sane) {
1471
- e.msg = "invalid distance too far back", t.mode = Z;
1472
- break;
1473
- }
1474
- u > t.wnext ? (u -= t.wnext, g = t.wsize - u) : g = t.wnext - u, u > t.length && (u = t.length), w = t.window;
1475
- } else
1476
- w = r, g = h - t.offset, u = t.length;
1477
- u > _ && (u = _), _ -= u, t.length -= u;
1478
- do
1479
- r[h++] = w[g++];
1480
- while (--u);
1481
- t.length === 0 && (t.mode = rt);
1482
- break;
1483
- case Ii:
1484
- if (_ === 0)
1485
- break e;
1486
- r[h++] = t.length, _--, t.mode = rt;
1487
- break;
1488
- case Nt:
1489
- if (t.wrap) {
1490
- for (; o < 32; ) {
1491
- if (f === 0)
1492
- break e;
1493
- f--, l |= a[n++] << o, o += 8;
1494
- }
1495
- if (d -= _, e.total_out += d, t.total += d, d && (e.adler = t.check = /*UPDATE(state.check, put - _out, _out);*/
1496
- t.flags ? Q(t.check, r, d, h - d) : Bt(t.check, r, d, h - d)), d = _, (t.flags ? l : Ri(l)) !== t.check) {
1497
- e.msg = "incorrect data check", t.mode = Z;
1498
- break;
1499
- }
1500
- l = 0, o = 0;
1501
- }
1502
- t.mode = Li;
1503
- case Li:
1504
- if (t.wrap && t.flags) {
1505
- for (; o < 32; ) {
1506
- if (f === 0)
1507
- break e;
1508
- f--, l += a[n++] << o, o += 8;
1509
- }
1510
- if (l !== (t.total & 4294967295)) {
1511
- e.msg = "incorrect length check", t.mode = Z;
1512
- break;
1513
- }
1514
- l = 0, o = 0;
1515
- }
1516
- t.mode = Di;
1517
- case Di:
1518
- p = nr;
1519
- break e;
1520
- case Z:
1521
- p = pa;
1522
- break e;
1523
- case Ea:
1524
- return xa;
1525
- case hr:
1526
- default:
1527
- return q;
1528
- }
1529
- return e.next_out = h, e.avail_out = _, e.next_in = n, e.avail_in = f, t.hold = l, t.bits = o, (t.wsize || d !== e.avail_out && t.mode < Z && (t.mode < Nt || i !== si)) && Ta(e, e.output, e.next_out, d - e.avail_out), v -= e.avail_in, d -= e.avail_out, e.total_in += v, e.total_out += d, t.total += d, t.wrap && d && (e.adler = t.check = /*UPDATE(state.check, strm.next_out - _out, _out);*/
1530
- t.flags ? Q(t.check, r, d, e.next_out - d) : Bt(t.check, r, d, e.next_out - d)), e.data_type = t.bits + (t.last ? 64 : 0) + (t.mode === ae ? 128 : 0) + (t.mode === nt || t.mode === Tt ? 256 : 0), (v === 0 && d === 0 || i === si) && p === pe && (p = fr), p;
1531
- }
1532
- function gr(e) {
1533
- if (!e || !e.state)
1534
- return q;
1535
- var i = e.state;
1536
- return i.window && (i.window = null), e.state = null, pe;
1537
- }
1538
- function wr(e, i) {
1539
- var t;
1540
- return !e || !e.state || (t = e.state, !(t.wrap & 2)) ? q : (t.head = i, i.done = !1, pe);
1541
- }
1542
- function br(e, i) {
1543
- var t = i.length, a, r, n;
1544
- return !e || !e.state || (a = e.state, a.wrap !== 0 && a.mode !== dt) ? q : a.mode === dt && (r = 1, r = Bt(r, i, t, 0), r !== a.check) ? pa : (n = Ta(e, i, t, t), n ? (a.mode = Ea, xa) : (a.havedict = 1, pe));
1545
- }
1546
- j.inflateReset = ya;
1547
- j.inflateReset2 = ma;
1548
- j.inflateResetKeep = Sa;
1549
- j.inflateInit = sr;
1550
- j.inflateInit2 = Fa;
1551
- j.inflate = vr;
1552
- j.inflateEnd = gr;
1553
- j.inflateGetHeader = wr;
1554
- j.inflateSetDictionary = br;
1555
- j.inflateInfo = "pako inflate (from Nodeca project)";
1556
- var Na = {
1557
- /* Allowed flush values; see deflate() and inflate() below for details */
1558
- Z_NO_FLUSH: 0,
1559
- Z_PARTIAL_FLUSH: 1,
1560
- Z_SYNC_FLUSH: 2,
1561
- Z_FULL_FLUSH: 3,
1562
- Z_FINISH: 4,
1563
- Z_BLOCK: 5,
1564
- Z_TREES: 6,
1565
- /* Return codes for the compression/decompression functions. Negative values
1566
- * are errors, positive values are used for special but normal events.
1567
- */
1568
- Z_OK: 0,
1569
- Z_STREAM_END: 1,
1570
- Z_NEED_DICT: 2,
1571
- Z_ERRNO: -1,
1572
- Z_STREAM_ERROR: -2,
1573
- Z_DATA_ERROR: -3,
1574
- //Z_MEM_ERROR: -4,
1575
- Z_BUF_ERROR: -5,
1576
- //Z_VERSION_ERROR: -6,
1577
- /* compression levels */
1578
- Z_NO_COMPRESSION: 0,
1579
- Z_BEST_SPEED: 1,
1580
- Z_BEST_COMPRESSION: 9,
1581
- Z_DEFAULT_COMPRESSION: -1,
1582
- Z_FILTERED: 1,
1583
- Z_HUFFMAN_ONLY: 2,
1584
- Z_RLE: 3,
1585
- Z_FIXED: 4,
1586
- Z_DEFAULT_STRATEGY: 0,
1587
- /* Possible values of the data_type field (though see inflate()) */
1588
- Z_BINARY: 0,
1589
- Z_TEXT: 1,
1590
- //Z_ASCII: 1, // = Z_TEXT (deprecated)
1591
- Z_UNKNOWN: 2,
1592
- /* The deflate compression method */
1593
- Z_DEFLATED: 8
1594
- //Z_NULL: null // Use -1 or null inline, depending on var type
1595
- };
1596
- function pr() {
1597
- 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;
1598
- }
1599
- var xr = pr, Ae = j, Me = re, _t = Ee, L = Na, Ct = Kt, kr = va, Er = xr, za = Object.prototype.toString;
1600
- function xe(e) {
1601
- if (!(this instanceof xe)) return new xe(e);
1602
- this.options = Me.assign({
1603
- chunkSize: 16384,
1604
- windowBits: 0,
1605
- to: ""
1606
- }, e || {});
1607
- var i = this.options;
1608
- i.raw && i.windowBits >= 0 && i.windowBits < 16 && (i.windowBits = -i.windowBits, i.windowBits === 0 && (i.windowBits = -15)), i.windowBits >= 0 && i.windowBits < 16 && !(e && e.windowBits) && (i.windowBits += 32), i.windowBits > 15 && i.windowBits < 48 && (i.windowBits & 15 || (i.windowBits |= 15)), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new kr(), this.strm.avail_out = 0;
1609
- var t = Ae.inflateInit2(
1610
- this.strm,
1611
- i.windowBits
1612
- );
1613
- if (t !== L.Z_OK)
1614
- throw new Error(Ct[t]);
1615
- if (this.header = new Er(), Ae.inflateGetHeader(this.strm, this.header), i.dictionary && (typeof i.dictionary == "string" ? i.dictionary = _t.string2buf(i.dictionary) : za.call(i.dictionary) === "[object ArrayBuffer]" && (i.dictionary = new Uint8Array(i.dictionary)), i.raw && (t = Ae.inflateSetDictionary(this.strm, i.dictionary), t !== L.Z_OK)))
1616
- throw new Error(Ct[t]);
1617
- }
1618
- xe.prototype.push = function(e, i) {
1619
- var t = this.strm, a = this.options.chunkSize, r = this.options.dictionary, n, h, f, _, l, o = !1;
1620
- if (this.ended)
1621
- return !1;
1622
- h = i === ~~i ? i : i === !0 ? L.Z_FINISH : L.Z_NO_FLUSH, typeof e == "string" ? t.input = _t.binstring2buf(e) : za.call(e) === "[object ArrayBuffer]" ? t.input = new Uint8Array(e) : t.input = e, t.next_in = 0, t.avail_in = t.input.length;
1623
- do {
1624
- if (t.avail_out === 0 && (t.output = new Me.Buf8(a), t.next_out = 0, t.avail_out = a), n = Ae.inflate(t, L.Z_NO_FLUSH), n === L.Z_NEED_DICT && r && (n = Ae.inflateSetDictionary(this.strm, r)), n === L.Z_BUF_ERROR && o === !0 && (n = L.Z_OK, o = !1), n !== L.Z_STREAM_END && n !== L.Z_OK)
1625
- return this.onEnd(n), this.ended = !0, !1;
1626
- t.next_out && (t.avail_out === 0 || n === L.Z_STREAM_END || t.avail_in === 0 && (h === L.Z_FINISH || h === L.Z_SYNC_FLUSH)) && (this.options.to === "string" ? (f = _t.utf8border(t.output, t.next_out), _ = t.next_out - f, l = _t.buf2string(t.output, f), t.next_out = _, t.avail_out = a - _, _ && Me.arraySet(t.output, t.output, f, _, 0), this.onData(l)) : this.onData(Me.shrinkBuf(t.output, t.next_out))), t.avail_in === 0 && t.avail_out === 0 && (o = !0);
1627
- } while ((t.avail_in > 0 || t.avail_out === 0) && n !== L.Z_STREAM_END);
1628
- return n === L.Z_STREAM_END && (h = L.Z_FINISH), h === L.Z_FINISH ? (n = Ae.inflateEnd(this.strm), this.onEnd(n), this.ended = !0, n === L.Z_OK) : (h === L.Z_SYNC_FLUSH && (this.onEnd(L.Z_OK), t.avail_out = 0), !0);
1629
- };
1630
- xe.prototype.onData = function(e) {
1631
- this.chunks.push(e);
1632
- };
1633
- xe.prototype.onEnd = function(e) {
1634
- e === L.Z_OK && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = Me.flattenChunks(this.chunks)), this.chunks = [], this.err = e, this.msg = this.strm.msg;
1635
- };
1636
- function Xt(e, i) {
1637
- var t = new xe(i);
1638
- if (t.push(e, !0), t.err)
1639
- throw t.msg || Ct[t.err];
1640
- return t.result;
1641
- }
1642
- function Sr(e, i) {
1643
- return i = i || {}, i.raw = !0, Xt(e, i);
1644
- }
1645
- je.Inflate = xe;
1646
- je.inflate = Xt;
1647
- je.inflateRaw = Sr;
1648
- je.ungzip = Xt;
1649
- var yr = re.assign, mr = qe, Fr = je, Tr = Na, Aa = {};
1650
- yr(Aa, mr, Fr, Tr);
1651
- var st = Aa;
1652
- async function Zr(e) {
1653
- try {
1654
- let i, t = 0, a = 0;
1655
- const r = [];
1656
- let n = 0, h;
1657
- do {
1658
- const _ = e.subarray(t);
1659
- if (h = new st.Inflate(), { strm: i } = h, h.push(_, st.Z_SYNC_FLUSH), h.err)
1660
- throw new Error(h.msg);
1661
- t += i.next_in, r[a] = h.result, n += r[a].length, a += 1;
1662
- } while (i.avail_in);
1663
- const f = new Uint8Array(n);
1664
- for (let _ = 0, l = 0; _ < r.length; _++)
1665
- f.set(r[_], l), l += r[_].length;
1666
- return Pi.Buffer.from(f);
1667
- } catch (i) {
1668
- throw `${i}`.match(/incorrect header check/) ? new Error("problem decompressing block: incorrect gzip header check") : i;
1669
- }
1670
- }
1671
- async function Ir(e, i) {
1672
- try {
1673
- let t;
1674
- const { minv: a, maxv: r } = i;
1675
- let n = a.blockPosition, h = a.dataPosition;
1676
- const f = [], _ = [], l = [];
1677
- let o = 0, v = 0;
1678
- do {
1679
- const g = e.subarray(n - a.blockPosition), w = new st.Inflate();
1680
- if ({ strm: t } = w, w.push(g, st.Z_SYNC_FLUSH), w.err)
1681
- throw new Error(w.msg);
1682
- const k = w.result;
1683
- f.push(k);
1684
- let b = k.length;
1685
- _.push(n), l.push(h), f.length === 1 && a.dataPosition && (f[0] = f[0].subarray(a.dataPosition), b = f[0].length);
1686
- const N = n;
1687
- if (n += t.next_in, h += b, N >= r.blockPosition) {
1688
- f[v] = f[v].subarray(0, r.blockPosition === a.blockPosition ? r.dataPosition - a.dataPosition + 1 : r.dataPosition + 1), _.push(n), l.push(h), o += f[v].length;
1689
- break;
1690
- }
1691
- o += f[v].length, v++;
1692
- } while (t.avail_in);
1693
- const d = new Uint8Array(o);
1694
- for (let g = 0, w = 0; g < f.length; g++)
1695
- d.set(f[g], w), w += f[g].length;
1696
- return { buffer: Pi.Buffer.from(d), cpositions: _, dpositions: l };
1697
- } catch (t) {
1698
- throw `${t}`.match(/incorrect header check/) ? new Error("problem decompressing block: incorrect gzip header check") : t;
1699
- }
1700
- }
1701
- var Nr = A, H = null;
1702
- try {
1703
- H = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([
1704
- 0,
1705
- 97,
1706
- 115,
1707
- 109,
1708
- 1,
1709
- 0,
1710
- 0,
1711
- 0,
1712
- 1,
1713
- 13,
1714
- 2,
1715
- 96,
1716
- 0,
1717
- 1,
1718
- 127,
1719
- 96,
1720
- 4,
1721
- 127,
1722
- 127,
1723
- 127,
1724
- 127,
1725
- 1,
1726
- 127,
1727
- 3,
1728
- 7,
1729
- 6,
1730
- 0,
1731
- 1,
1732
- 1,
1733
- 1,
1734
- 1,
1735
- 1,
1736
- 6,
1737
- 6,
1738
- 1,
1739
- 127,
1740
- 1,
1741
- 65,
1742
- 0,
1743
- 11,
1744
- 7,
1745
- 50,
1746
- 6,
1747
- 3,
1748
- 109,
1749
- 117,
1750
- 108,
1751
- 0,
1752
- 1,
1753
- 5,
1754
- 100,
1755
- 105,
1756
- 118,
1757
- 95,
1758
- 115,
1759
- 0,
1760
- 2,
1761
- 5,
1762
- 100,
1763
- 105,
1764
- 118,
1765
- 95,
1766
- 117,
1767
- 0,
1768
- 3,
1769
- 5,
1770
- 114,
1771
- 101,
1772
- 109,
1773
- 95,
1774
- 115,
1775
- 0,
1776
- 4,
1777
- 5,
1778
- 114,
1779
- 101,
1780
- 109,
1781
- 95,
1782
- 117,
1783
- 0,
1784
- 5,
1785
- 8,
1786
- 103,
1787
- 101,
1788
- 116,
1789
- 95,
1790
- 104,
1791
- 105,
1792
- 103,
1793
- 104,
1794
- 0,
1795
- 0,
1796
- 10,
1797
- 191,
1798
- 1,
1799
- 6,
1800
- 4,
1801
- 0,
1802
- 35,
1803
- 0,
1804
- 11,
1805
- 36,
1806
- 1,
1807
- 1,
1808
- 126,
1809
- 32,
1810
- 0,
1811
- 173,
1812
- 32,
1813
- 1,
1814
- 173,
1815
- 66,
1816
- 32,
1817
- 134,
1818
- 132,
1819
- 32,
1820
- 2,
1821
- 173,
1822
- 32,
1823
- 3,
1824
- 173,
1825
- 66,
1826
- 32,
1827
- 134,
1828
- 132,
1829
- 126,
1830
- 34,
1831
- 4,
1832
- 66,
1833
- 32,
1834
- 135,
1835
- 167,
1836
- 36,
1837
- 0,
1838
- 32,
1839
- 4,
1840
- 167,
1841
- 11,
1842
- 36,
1843
- 1,
1844
- 1,
1845
- 126,
1846
- 32,
1847
- 0,
1848
- 173,
1849
- 32,
1850
- 1,
1851
- 173,
1852
- 66,
1853
- 32,
1854
- 134,
1855
- 132,
1856
- 32,
1857
- 2,
1858
- 173,
1859
- 32,
1860
- 3,
1861
- 173,
1862
- 66,
1863
- 32,
1864
- 134,
1865
- 132,
1866
- 127,
1867
- 34,
1868
- 4,
1869
- 66,
1870
- 32,
1871
- 135,
1872
- 167,
1873
- 36,
1874
- 0,
1875
- 32,
1876
- 4,
1877
- 167,
1878
- 11,
1879
- 36,
1880
- 1,
1881
- 1,
1882
- 126,
1883
- 32,
1884
- 0,
1885
- 173,
1886
- 32,
1887
- 1,
1888
- 173,
1889
- 66,
1890
- 32,
1891
- 134,
1892
- 132,
1893
- 32,
1894
- 2,
1895
- 173,
1896
- 32,
1897
- 3,
1898
- 173,
1899
- 66,
1900
- 32,
1901
- 134,
1902
- 132,
1903
- 128,
1904
- 34,
1905
- 4,
1906
- 66,
1907
- 32,
1908
- 135,
1909
- 167,
1910
- 36,
1911
- 0,
1912
- 32,
1913
- 4,
1914
- 167,
1915
- 11,
1916
- 36,
1917
- 1,
1918
- 1,
1919
- 126,
1920
- 32,
1921
- 0,
1922
- 173,
1923
- 32,
1924
- 1,
1925
- 173,
1926
- 66,
1927
- 32,
1928
- 134,
1929
- 132,
1930
- 32,
1931
- 2,
1932
- 173,
1933
- 32,
1934
- 3,
1935
- 173,
1936
- 66,
1937
- 32,
1938
- 134,
1939
- 132,
1940
- 129,
1941
- 34,
1942
- 4,
1943
- 66,
1944
- 32,
1945
- 135,
1946
- 167,
1947
- 36,
1948
- 0,
1949
- 32,
1950
- 4,
1951
- 167,
1952
- 11,
1953
- 36,
1954
- 1,
1955
- 1,
1956
- 126,
1957
- 32,
1958
- 0,
1959
- 173,
1960
- 32,
1961
- 1,
1962
- 173,
1963
- 66,
1964
- 32,
1965
- 134,
1966
- 132,
1967
- 32,
1968
- 2,
1969
- 173,
1970
- 32,
1971
- 3,
1972
- 173,
1973
- 66,
1974
- 32,
1975
- 134,
1976
- 132,
1977
- 130,
1978
- 34,
1979
- 4,
1980
- 66,
1981
- 32,
1982
- 135,
1983
- 167,
1984
- 36,
1985
- 0,
1986
- 32,
1987
- 4,
1988
- 167,
1989
- 11
1990
- ])), {}).exports;
1991
- } catch {
1992
- }
1993
- function A(e, i, t) {
1994
- this.low = e | 0, this.high = i | 0, this.unsigned = !!t;
1995
- }
1996
- A.prototype.__isLong__;
1997
- Object.defineProperty(A.prototype, "__isLong__", { value: !0 });
1998
- function $(e) {
1999
- return (e && e.__isLong__) === !0;
2000
- }
2001
- A.isLong = $;
2002
- var Ci = {}, Ui = {};
2003
- function Se(e, i) {
2004
- var t, a, r;
2005
- return i ? (e >>>= 0, (r = 0 <= e && e < 256) && (a = Ui[e], a) ? a : (t = O(e, (e | 0) < 0 ? -1 : 0, !0), r && (Ui[e] = t), t)) : (e |= 0, (r = -128 <= e && e < 128) && (a = Ci[e], a) ? a : (t = O(e, e < 0 ? -1 : 0, !1), r && (Ci[e] = t), t));
2006
- }
2007
- A.fromInt = Se;
2008
- function P(e, i) {
2009
- if (isNaN(e))
2010
- return i ? ve : K;
2011
- if (i) {
2012
- if (e < 0)
2013
- return ve;
2014
- if (e >= Oa)
2015
- return La;
2016
- } else {
2017
- if (e <= -Mi)
2018
- return U;
2019
- if (e + 1 >= Mi)
2020
- return Ia;
2021
- }
2022
- return e < 0 ? P(-e, i).neg() : O(e % Oe | 0, e / Oe | 0, i);
2023
- }
2024
- A.fromNumber = P;
2025
- function O(e, i, t) {
2026
- return new A(e, i, t);
2027
- }
2028
- A.fromBits = O;
2029
- var ct = Math.pow;
2030
- function qt(e, i, t) {
2031
- if (e.length === 0)
2032
- throw Error("empty string");
2033
- if (e === "NaN" || e === "Infinity" || e === "+Infinity" || e === "-Infinity")
2034
- return K;
2035
- if (typeof i == "number" ? (t = i, i = !1) : i = !!i, t = t || 10, t < 2 || 36 < t)
2036
- throw RangeError("radix");
2037
- var a;
2038
- if ((a = e.indexOf("-")) > 0)
2039
- throw Error("interior hyphen");
2040
- if (a === 0)
2041
- return qt(e.substring(1), i, t).neg();
2042
- for (var r = P(ct(t, 8)), n = K, h = 0; h < e.length; h += 8) {
2043
- var f = Math.min(8, e.length - h), _ = parseInt(e.substring(h, h + f), t);
2044
- if (f < 8) {
2045
- var l = P(ct(t, f));
2046
- n = n.mul(l).add(P(_));
2047
- } else
2048
- n = n.mul(r), n = n.add(P(_));
2049
- }
2050
- return n.unsigned = i, n;
2051
- }
2052
- A.fromString = qt;
2053
- function V(e, i) {
2054
- return typeof e == "number" ? P(e, i) : typeof e == "string" ? qt(e, i) : O(e.low, e.high, typeof i == "boolean" ? i : e.unsigned);
2055
- }
2056
- A.fromValue = V;
2057
- var $i = 65536, zr = 1 << 24, Oe = $i * $i, Oa = Oe * Oe, Mi = Oa / 2, Hi = Se(zr), K = Se(0);
2058
- A.ZERO = K;
2059
- var ve = Se(0, !0);
2060
- A.UZERO = ve;
2061
- var Te = Se(1);
2062
- A.ONE = Te;
2063
- var Za = Se(1, !0);
2064
- A.UONE = Za;
2065
- var Ut = Se(-1);
2066
- A.NEG_ONE = Ut;
2067
- var Ia = O(-1, 2147483647, !1);
2068
- A.MAX_VALUE = Ia;
2069
- var La = O(-1, -1, !0);
2070
- A.MAX_UNSIGNED_VALUE = La;
2071
- var U = O(0, -2147483648, !1);
2072
- A.MIN_VALUE = U;
2073
- var s = A.prototype;
2074
- s.toInt = function() {
2075
- return this.unsigned ? this.low >>> 0 : this.low;
2076
- };
2077
- s.toNumber = function() {
2078
- return this.unsigned ? (this.high >>> 0) * Oe + (this.low >>> 0) : this.high * Oe + (this.low >>> 0);
2079
- };
2080
- s.toString = function(i) {
2081
- if (i = i || 10, i < 2 || 36 < i)
2082
- throw RangeError("radix");
2083
- if (this.isZero())
2084
- return "0";
2085
- if (this.isNegative())
2086
- if (this.eq(U)) {
2087
- var t = P(i), a = this.div(t), r = a.mul(t).sub(this);
2088
- return a.toString(i) + r.toInt().toString(i);
2089
- } else
2090
- return "-" + this.neg().toString(i);
2091
- for (var n = P(ct(i, 6), this.unsigned), h = this, f = ""; ; ) {
2092
- var _ = h.div(n), l = h.sub(_.mul(n)).toInt() >>> 0, o = l.toString(i);
2093
- if (h = _, h.isZero())
2094
- return o + f;
2095
- for (; o.length < 6; )
2096
- o = "0" + o;
2097
- f = "" + o + f;
2098
- }
2099
- };
2100
- s.getHighBits = function() {
2101
- return this.high;
2102
- };
2103
- s.getHighBitsUnsigned = function() {
2104
- return this.high >>> 0;
2105
- };
2106
- s.getLowBits = function() {
2107
- return this.low;
2108
- };
2109
- s.getLowBitsUnsigned = function() {
2110
- return this.low >>> 0;
2111
- };
2112
- s.getNumBitsAbs = function() {
2113
- if (this.isNegative())
2114
- return this.eq(U) ? 64 : this.neg().getNumBitsAbs();
2115
- for (var i = this.high != 0 ? this.high : this.low, t = 31; t > 0 && !(i & 1 << t); t--)
2116
- ;
2117
- return this.high != 0 ? t + 33 : t + 1;
2118
- };
2119
- s.isZero = function() {
2120
- return this.high === 0 && this.low === 0;
2121
- };
2122
- s.eqz = s.isZero;
2123
- s.isNegative = function() {
2124
- return !this.unsigned && this.high < 0;
2125
- };
2126
- s.isPositive = function() {
2127
- return this.unsigned || this.high >= 0;
2128
- };
2129
- s.isOdd = function() {
2130
- return (this.low & 1) === 1;
2131
- };
2132
- s.isEven = function() {
2133
- return (this.low & 1) === 0;
2134
- };
2135
- s.equals = function(i) {
2136
- return $(i) || (i = V(i)), this.unsigned !== i.unsigned && this.high >>> 31 === 1 && i.high >>> 31 === 1 ? !1 : this.high === i.high && this.low === i.low;
2137
- };
2138
- s.eq = s.equals;
2139
- s.notEquals = function(i) {
2140
- return !this.eq(
2141
- /* validates */
2142
- i
2143
- );
2144
- };
2145
- s.neq = s.notEquals;
2146
- s.ne = s.notEquals;
2147
- s.lessThan = function(i) {
2148
- return this.comp(
2149
- /* validates */
2150
- i
2151
- ) < 0;
2152
- };
2153
- s.lt = s.lessThan;
2154
- s.lessThanOrEqual = function(i) {
2155
- return this.comp(
2156
- /* validates */
2157
- i
2158
- ) <= 0;
2159
- };
2160
- s.lte = s.lessThanOrEqual;
2161
- s.le = s.lessThanOrEqual;
2162
- s.greaterThan = function(i) {
2163
- return this.comp(
2164
- /* validates */
2165
- i
2166
- ) > 0;
2167
- };
2168
- s.gt = s.greaterThan;
2169
- s.greaterThanOrEqual = function(i) {
2170
- return this.comp(
2171
- /* validates */
2172
- i
2173
- ) >= 0;
2174
- };
2175
- s.gte = s.greaterThanOrEqual;
2176
- s.ge = s.greaterThanOrEqual;
2177
- s.compare = function(i) {
2178
- if ($(i) || (i = V(i)), this.eq(i))
2179
- return 0;
2180
- var t = this.isNegative(), a = i.isNegative();
2181
- return t && !a ? -1 : !t && a ? 1 : this.unsigned ? i.high >>> 0 > this.high >>> 0 || i.high === this.high && i.low >>> 0 > this.low >>> 0 ? -1 : 1 : this.sub(i).isNegative() ? -1 : 1;
2182
- };
2183
- s.comp = s.compare;
2184
- s.negate = function() {
2185
- return !this.unsigned && this.eq(U) ? U : this.not().add(Te);
2186
- };
2187
- s.neg = s.negate;
2188
- s.add = function(i) {
2189
- $(i) || (i = V(i));
2190
- var t = this.high >>> 16, a = this.high & 65535, r = this.low >>> 16, n = this.low & 65535, h = i.high >>> 16, f = i.high & 65535, _ = i.low >>> 16, l = i.low & 65535, o = 0, v = 0, d = 0, u = 0;
2191
- return u += n + l, d += u >>> 16, u &= 65535, d += r + _, v += d >>> 16, d &= 65535, v += a + f, o += v >>> 16, v &= 65535, o += t + h, o &= 65535, O(d << 16 | u, o << 16 | v, this.unsigned);
2192
- };
2193
- s.subtract = function(i) {
2194
- return $(i) || (i = V(i)), this.add(i.neg());
2195
- };
2196
- s.sub = s.subtract;
2197
- s.multiply = function(i) {
2198
- if (this.isZero())
2199
- return K;
2200
- if ($(i) || (i = V(i)), H) {
2201
- var t = H.mul(
2202
- this.low,
2203
- this.high,
2204
- i.low,
2205
- i.high
2206
- );
2207
- return O(t, H.get_high(), this.unsigned);
2208
- }
2209
- if (i.isZero())
2210
- return K;
2211
- if (this.eq(U))
2212
- return i.isOdd() ? U : K;
2213
- if (i.eq(U))
2214
- return this.isOdd() ? U : K;
2215
- if (this.isNegative())
2216
- return i.isNegative() ? this.neg().mul(i.neg()) : this.neg().mul(i).neg();
2217
- if (i.isNegative())
2218
- return this.mul(i.neg()).neg();
2219
- if (this.lt(Hi) && i.lt(Hi))
2220
- return P(this.toNumber() * i.toNumber(), this.unsigned);
2221
- var a = this.high >>> 16, r = this.high & 65535, n = this.low >>> 16, h = this.low & 65535, f = i.high >>> 16, _ = i.high & 65535, l = i.low >>> 16, o = i.low & 65535, v = 0, d = 0, u = 0, g = 0;
2222
- return g += h * o, u += g >>> 16, g &= 65535, u += n * o, d += u >>> 16, u &= 65535, u += h * l, d += u >>> 16, u &= 65535, d += r * o, v += d >>> 16, d &= 65535, d += n * l, v += d >>> 16, d &= 65535, d += h * _, v += d >>> 16, d &= 65535, v += a * o + r * l + n * _ + h * f, v &= 65535, O(u << 16 | g, v << 16 | d, this.unsigned);
2223
- };
2224
- s.mul = s.multiply;
2225
- s.divide = function(i) {
2226
- if ($(i) || (i = V(i)), i.isZero())
2227
- throw Error("division by zero");
2228
- if (H) {
2229
- if (!this.unsigned && this.high === -2147483648 && i.low === -1 && i.high === -1)
2230
- return this;
2231
- var t = (this.unsigned ? H.div_u : H.div_s)(
2232
- this.low,
2233
- this.high,
2234
- i.low,
2235
- i.high
2236
- );
2237
- return O(t, H.get_high(), this.unsigned);
2238
- }
2239
- if (this.isZero())
2240
- return this.unsigned ? ve : K;
2241
- var a, r, n;
2242
- if (this.unsigned) {
2243
- if (i.unsigned || (i = i.toUnsigned()), i.gt(this))
2244
- return ve;
2245
- if (i.gt(this.shru(1)))
2246
- return Za;
2247
- n = ve;
2248
- } else {
2249
- if (this.eq(U)) {
2250
- if (i.eq(Te) || i.eq(Ut))
2251
- return U;
2252
- if (i.eq(U))
2253
- return Te;
2254
- var h = this.shr(1);
2255
- return a = h.div(i).shl(1), a.eq(K) ? i.isNegative() ? Te : Ut : (r = this.sub(i.mul(a)), n = a.add(r.div(i)), n);
2256
- } else if (i.eq(U))
2257
- return this.unsigned ? ve : K;
2258
- if (this.isNegative())
2259
- return i.isNegative() ? this.neg().div(i.neg()) : this.neg().div(i).neg();
2260
- if (i.isNegative())
2261
- return this.div(i.neg()).neg();
2262
- n = K;
2263
- }
2264
- for (r = this; r.gte(i); ) {
2265
- a = Math.max(1, Math.floor(r.toNumber() / i.toNumber()));
2266
- for (var f = Math.ceil(Math.log(a) / Math.LN2), _ = f <= 48 ? 1 : ct(2, f - 48), l = P(a), o = l.mul(i); o.isNegative() || o.gt(r); )
2267
- a -= _, l = P(a, this.unsigned), o = l.mul(i);
2268
- l.isZero() && (l = Te), n = n.add(l), r = r.sub(o);
2269
- }
2270
- return n;
2271
- };
2272
- s.div = s.divide;
2273
- s.modulo = function(i) {
2274
- if ($(i) || (i = V(i)), H) {
2275
- var t = (this.unsigned ? H.rem_u : H.rem_s)(
2276
- this.low,
2277
- this.high,
2278
- i.low,
2279
- i.high
2280
- );
2281
- return O(t, H.get_high(), this.unsigned);
2282
- }
2283
- return this.sub(this.div(i).mul(i));
2284
- };
2285
- s.mod = s.modulo;
2286
- s.rem = s.modulo;
2287
- s.not = function() {
2288
- return O(~this.low, ~this.high, this.unsigned);
2289
- };
2290
- s.and = function(i) {
2291
- return $(i) || (i = V(i)), O(this.low & i.low, this.high & i.high, this.unsigned);
2292
- };
2293
- s.or = function(i) {
2294
- return $(i) || (i = V(i)), O(this.low | i.low, this.high | i.high, this.unsigned);
2295
- };
2296
- s.xor = function(i) {
2297
- return $(i) || (i = V(i)), O(this.low ^ i.low, this.high ^ i.high, this.unsigned);
2298
- };
2299
- s.shiftLeft = function(i) {
2300
- return $(i) && (i = i.toInt()), (i &= 63) === 0 ? this : i < 32 ? O(this.low << i, this.high << i | this.low >>> 32 - i, this.unsigned) : O(0, this.low << i - 32, this.unsigned);
2301
- };
2302
- s.shl = s.shiftLeft;
2303
- s.shiftRight = function(i) {
2304
- return $(i) && (i = i.toInt()), (i &= 63) === 0 ? this : i < 32 ? O(this.low >>> i | this.high << 32 - i, this.high >> i, this.unsigned) : O(this.high >> i - 32, this.high >= 0 ? 0 : -1, this.unsigned);
2305
- };
2306
- s.shr = s.shiftRight;
2307
- s.shiftRightUnsigned = function(i) {
2308
- if ($(i) && (i = i.toInt()), i &= 63, i === 0)
2309
- return this;
2310
- var t = this.high;
2311
- if (i < 32) {
2312
- var a = this.low;
2313
- return O(a >>> i | t << 32 - i, t >>> i, this.unsigned);
2314
- } else return i === 32 ? O(t, 0, this.unsigned) : O(t >>> i - 32, 0, this.unsigned);
2315
- };
2316
- s.shru = s.shiftRightUnsigned;
2317
- s.shr_u = s.shiftRightUnsigned;
2318
- s.toSigned = function() {
2319
- return this.unsigned ? O(this.low, this.high, !1) : this;
2320
- };
2321
- s.toUnsigned = function() {
2322
- return this.unsigned ? this : O(this.low, this.high, !0);
2323
- };
2324
- s.toBytes = function(i) {
2325
- return i ? this.toBytesLE() : this.toBytesBE();
2326
- };
2327
- s.toBytesLE = function() {
2328
- var i = this.high, t = this.low;
2329
- return [
2330
- t & 255,
2331
- t >>> 8 & 255,
2332
- t >>> 16 & 255,
2333
- t >>> 24,
2334
- i & 255,
2335
- i >>> 8 & 255,
2336
- i >>> 16 & 255,
2337
- i >>> 24
2338
- ];
2339
- };
2340
- s.toBytesBE = function() {
2341
- var i = this.high, t = this.low;
2342
- return [
2343
- i >>> 24,
2344
- i >>> 16 & 255,
2345
- i >>> 8 & 255,
2346
- i & 255,
2347
- t >>> 24,
2348
- t >>> 16 & 255,
2349
- t >>> 8 & 255,
2350
- t & 255
2351
- ];
2352
- };
2353
- A.fromBytes = function(i, t, a) {
2354
- return a ? A.fromBytesLE(i, t) : A.fromBytesBE(i, t);
2355
- };
2356
- A.fromBytesLE = function(i, t) {
2357
- return new A(
2358
- i[0] | i[1] << 8 | i[2] << 16 | i[3] << 24,
2359
- i[4] | i[5] << 8 | i[6] << 16 | i[7] << 24,
2360
- t
2361
- );
2362
- };
2363
- A.fromBytesBE = function(i, t) {
2364
- return new A(
2365
- i[4] << 24 | i[5] << 16 | i[6] << 8 | i[7],
2366
- i[0] << 24 | i[1] << 16 | i[2] << 8 | i[3],
2367
- t
2368
- );
2369
- };
2370
- const Lr = /* @__PURE__ */ Da(Nr);
2371
- export {
2372
- Lr as L,
2373
- Ir as a,
2374
- Zr as u
2375
- };