@wp-playground/client 3.1.40 → 3.1.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +22 -22
- package/index.js +766 -764
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -934,7 +934,7 @@ const Bd = (e, t = {}) => {
|
|
|
934
934
|
const y = m ? d.slice(0, -2) : d;
|
|
935
935
|
if (y === "__proto__")
|
|
936
936
|
continue;
|
|
937
|
-
const
|
|
937
|
+
const S = c[3] ? Ii(c[4]) : !0, g = S === "true" || S === "false" || S === "null" ? JSON.parse(S) : S;
|
|
938
938
|
m && (Li.call(i, y) ? Array.isArray(i[y]) || (i[y] = [i[y]]) : i[y] = []), Array.isArray(i[y]) ? i[y].push(g) : i[y] = g;
|
|
939
939
|
}
|
|
940
940
|
const l = [];
|
|
@@ -1283,7 +1283,7 @@ function go(e, t = globalThis, r = ["*"], i) {
|
|
|
1283
1283
|
}, p = (s.data.argumentList || []).map(Er);
|
|
1284
1284
|
let c;
|
|
1285
1285
|
try {
|
|
1286
|
-
const d = l.slice(0, -1).reduce((y,
|
|
1286
|
+
const d = l.slice(0, -1).reduce((y, S) => y[S], e), m = l.reduce((y, S) => y[S], e);
|
|
1287
1287
|
switch (o) {
|
|
1288
1288
|
case xt.GET:
|
|
1289
1289
|
c = m;
|
|
@@ -1304,8 +1304,8 @@ function go(e, t = globalThis, r = ["*"], i) {
|
|
|
1304
1304
|
break;
|
|
1305
1305
|
case xt.ENDPOINT:
|
|
1306
1306
|
{
|
|
1307
|
-
const { port1: y, port2:
|
|
1308
|
-
go(e,
|
|
1307
|
+
const { port1: y, port2: S } = new MessageChannel();
|
|
1308
|
+
go(e, S), c = hh(y, [y]);
|
|
1309
1309
|
}
|
|
1310
1310
|
break;
|
|
1311
1311
|
case xt.RELEASE:
|
|
@@ -2558,30 +2558,30 @@ var tc = {};
|
|
|
2558
2558
|
}
|
|
2559
2559
|
var i = r();
|
|
2560
2560
|
function a(b) {
|
|
2561
|
-
var F = 0, P = 0,
|
|
2562
|
-
for (
|
|
2563
|
-
for (
|
|
2564
|
-
for (P = b[
|
|
2561
|
+
var F = 0, P = 0, T = 0, j = typeof Int32Array < "u" ? new Int32Array(4096) : new Array(4096);
|
|
2562
|
+
for (T = 0; T != 256; ++T) j[T] = b[T];
|
|
2563
|
+
for (T = 0; T != 256; ++T)
|
|
2564
|
+
for (P = b[T], F = 256 + T; F < 4096; F += 256) P = j[F] = P >>> 8 ^ b[P & 255];
|
|
2565
2565
|
var R = [];
|
|
2566
|
-
for (
|
|
2566
|
+
for (T = 1; T != 16; ++T) R[T - 1] = typeof Int32Array < "u" ? j.subarray(T * 256, T * 256 + 256) : j.slice(T * 256, T * 256 + 256);
|
|
2567
2567
|
return R;
|
|
2568
2568
|
}
|
|
2569
|
-
var s = a(i), n = s[0], o = s[1], l = s[2], p = s[3], c = s[4], d = s[5], m = s[6], y = s[7],
|
|
2569
|
+
var s = a(i), n = s[0], o = s[1], l = s[2], p = s[3], c = s[4], d = s[5], m = s[6], y = s[7], S = s[8], g = s[9], w = s[10], _ = s[11], O = s[12], E = s[13], L = s[14];
|
|
2570
2570
|
function $(b, F) {
|
|
2571
|
-
for (var P = F ^ -1,
|
|
2571
|
+
for (var P = F ^ -1, T = 0, j = b.length; T < j; ) P = P >>> 8 ^ i[(P ^ b.charCodeAt(T++)) & 255];
|
|
2572
2572
|
return ~P;
|
|
2573
2573
|
}
|
|
2574
|
-
function
|
|
2575
|
-
for (var P = F ^ -1,
|
|
2576
|
-
for (
|
|
2574
|
+
function I(b, F) {
|
|
2575
|
+
for (var P = F ^ -1, T = b.length - 15, j = 0; j < T; ) P = L[b[j++] ^ P & 255] ^ E[b[j++] ^ P >> 8 & 255] ^ O[b[j++] ^ P >> 16 & 255] ^ _[b[j++] ^ P >>> 24] ^ w[b[j++]] ^ g[b[j++]] ^ S[b[j++]] ^ y[b[j++]] ^ m[b[j++]] ^ d[b[j++]] ^ c[b[j++]] ^ p[b[j++]] ^ l[b[j++]] ^ o[b[j++]] ^ n[b[j++]] ^ i[b[j++]];
|
|
2576
|
+
for (T += 15; j < T; ) P = P >>> 8 ^ i[(P ^ b[j++]) & 255];
|
|
2577
2577
|
return ~P;
|
|
2578
2578
|
}
|
|
2579
|
-
function
|
|
2580
|
-
for (var P = F ^ -1,
|
|
2581
|
-
R = b.charCodeAt(
|
|
2579
|
+
function C(b, F) {
|
|
2580
|
+
for (var P = F ^ -1, T = 0, j = b.length, R = 0, D = 0; T < j; )
|
|
2581
|
+
R = b.charCodeAt(T++), R < 128 ? P = P >>> 8 ^ i[(P ^ R) & 255] : R < 2048 ? (P = P >>> 8 ^ i[(P ^ (192 | R >> 6 & 31)) & 255], P = P >>> 8 ^ i[(P ^ (128 | R & 63)) & 255]) : R >= 55296 && R < 57344 ? (R = (R & 1023) + 64, D = b.charCodeAt(T++) & 1023, P = P >>> 8 ^ i[(P ^ (240 | R >> 8 & 7)) & 255], P = P >>> 8 ^ i[(P ^ (128 | R >> 2 & 63)) & 255], P = P >>> 8 ^ i[(P ^ (128 | D >> 6 & 15 | (R & 3) << 4)) & 255], P = P >>> 8 ^ i[(P ^ (128 | D & 63)) & 255]) : (P = P >>> 8 ^ i[(P ^ (224 | R >> 12 & 15)) & 255], P = P >>> 8 ^ i[(P ^ (128 | R >> 6 & 63)) & 255], P = P >>> 8 ^ i[(P ^ (128 | R & 63)) & 255]);
|
|
2582
2582
|
return ~P;
|
|
2583
2583
|
}
|
|
2584
|
-
t.table = i, t.bstr = $, t.buf =
|
|
2584
|
+
t.table = i, t.bstr = $, t.buf = I, t.str = C;
|
|
2585
2585
|
});
|
|
2586
2586
|
})(tc);
|
|
2587
2587
|
const Zh = /* @__PURE__ */ ho(tc);
|
|
@@ -2817,11 +2817,11 @@ function am(e) {
|
|
|
2817
2817
|
e.bi_valid === 16 ? (Wn(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);
|
|
2818
2818
|
}
|
|
2819
2819
|
function om(e, t) {
|
|
2820
|
-
var r = t.dyn_tree, i = t.max_code, a = t.stat_desc.static_tree, s = t.stat_desc.has_stree, n = t.stat_desc.extra_bits, o = t.stat_desc.extra_base, l = t.stat_desc.max_length, p, c, d, m, y,
|
|
2820
|
+
var r = t.dyn_tree, i = t.max_code, a = t.stat_desc.static_tree, s = t.stat_desc.has_stree, n = t.stat_desc.extra_bits, o = t.stat_desc.extra_base, l = t.stat_desc.max_length, p, c, d, m, y, S, g = 0;
|
|
2821
2821
|
for (m = 0; m <= Or; m++)
|
|
2822
2822
|
e.bl_count[m] = 0;
|
|
2823
2823
|
for (r[e.heap[e.heap_max] * 2 + 1] = 0, p = e.heap_max + 1; p < nc; p++)
|
|
2824
|
-
c = e.heap[p], m = r[r[c * 2 + 1] * 2 + 1] + 1, m > l && (m = l, g++), r[c * 2 + 1] = m, !(c > i) && (e.bl_count[m]++, y = 0, c >= o && (y = n[c - o]),
|
|
2824
|
+
c = e.heap[p], m = r[r[c * 2 + 1] * 2 + 1] + 1, m > l && (m = l, g++), r[c * 2 + 1] = m, !(c > i) && (e.bl_count[m]++, y = 0, c >= o && (y = n[c - o]), S = r[c * 2], e.opt_len += S * (m + y), s && (e.static_len += S * (a[c * 2 + 1] + y)));
|
|
2825
2825
|
if (g !== 0) {
|
|
2826
2826
|
do {
|
|
2827
2827
|
for (m = l - 1; e.bl_count[m] === 0; )
|
|
@@ -3078,10 +3078,10 @@ function Mm(e, t, r, i) {
|
|
|
3078
3078
|
return a > i && (a = i), a === 0 ? 0 : (e.avail_in -= a, ot.arraySet(t, e.input, e.next_in, a, r), e.state.wrap === 1 ? e.adler = bc(e.adler, t, a, r) : e.state.wrap === 2 && (e.adler = ur(e.adler, t, a, r)), e.next_in += a, e.total_in += a, a);
|
|
3079
3079
|
}
|
|
3080
3080
|
function _c(e, t) {
|
|
3081
|
-
var r = e.max_chain_length, i = e.strstart, a, s, n = e.prev_length, o = e.nice_match, l = e.strstart > e.w_size - Dt ? e.strstart - (e.w_size - Dt) : 0, p = e.window, c = e.w_mask, d = e.prev, m = e.strstart + br, y = p[i + n - 1],
|
|
3081
|
+
var r = e.max_chain_length, i = e.strstart, a, s, n = e.prev_length, o = e.nice_match, l = e.strstart > e.w_size - Dt ? e.strstart - (e.w_size - Dt) : 0, p = e.window, c = e.w_mask, d = e.prev, m = e.strstart + br, y = p[i + n - 1], S = p[i + n];
|
|
3082
3082
|
e.prev_length >= e.good_match && (r >>= 2), o > e.lookahead && (o = e.lookahead);
|
|
3083
3083
|
do
|
|
3084
|
-
if (a = t, !(p[a + n] !==
|
|
3084
|
+
if (a = t, !(p[a + n] !== S || p[a + n - 1] !== y || p[a] !== p[i] || p[++a] !== p[i + 1])) {
|
|
3085
3085
|
i += 2, a++;
|
|
3086
3086
|
do
|
|
3087
3087
|
;
|
|
@@ -3089,7 +3089,7 @@ function _c(e, t) {
|
|
|
3089
3089
|
if (s = br - (m - i), i = m - br, s > n) {
|
|
3090
3090
|
if (e.match_start = t, n = s, s >= o)
|
|
3091
3091
|
break;
|
|
3092
|
-
y = p[i + n - 1],
|
|
3092
|
+
y = p[i + n - 1], S = p[i + n];
|
|
3093
3093
|
}
|
|
3094
3094
|
}
|
|
3095
3095
|
while ((t = d[t & c]) > l && --r !== 0);
|
|
@@ -3493,73 +3493,73 @@ ss.deflate = To;
|
|
|
3493
3493
|
ss.deflateRaw = iy;
|
|
3494
3494
|
ss.gzip = ay;
|
|
3495
3495
|
var os = {}, Ut = {}, _s = 30, oy = 12, ly = function(t, r) {
|
|
3496
|
-
var i, a, s, n, o, l, p, c, d, m, y,
|
|
3497
|
-
i = t.state, a = t.next_in, P = t.input, s = a + (t.avail_in - 5), n = t.next_out,
|
|
3496
|
+
var i, a, s, n, o, l, p, c, d, m, y, S, g, w, _, O, E, L, $, I, C, b, F, P, T;
|
|
3497
|
+
i = t.state, a = t.next_in, P = t.input, s = a + (t.avail_in - 5), n = t.next_out, T = t.output, o = n - (r - t.avail_out), l = n + (t.avail_out - 257), p = i.dmax, c = i.wsize, d = i.whave, m = i.wnext, y = i.window, S = i.hold, g = i.bits, w = i.lencode, _ = i.distcode, O = (1 << i.lenbits) - 1, E = (1 << i.distbits) - 1;
|
|
3498
3498
|
e:
|
|
3499
3499
|
do {
|
|
3500
|
-
g < 15 && (
|
|
3500
|
+
g < 15 && (S += P[a++] << g, g += 8, S += P[a++] << g, g += 8), L = w[S & O];
|
|
3501
3501
|
t:
|
|
3502
3502
|
for (; ; ) {
|
|
3503
|
-
if ($ =
|
|
3504
|
-
|
|
3503
|
+
if ($ = L >>> 24, S >>>= $, g -= $, $ = L >>> 16 & 255, $ === 0)
|
|
3504
|
+
T[n++] = L & 65535;
|
|
3505
3505
|
else if ($ & 16) {
|
|
3506
|
-
|
|
3506
|
+
I = L & 65535, $ &= 15, $ && (g < $ && (S += P[a++] << g, g += 8), I += S & (1 << $) - 1, S >>>= $, g -= $), g < 15 && (S += P[a++] << g, g += 8, S += P[a++] << g, g += 8), L = _[S & E];
|
|
3507
3507
|
r:
|
|
3508
3508
|
for (; ; ) {
|
|
3509
|
-
if ($ =
|
|
3510
|
-
if (
|
|
3509
|
+
if ($ = L >>> 24, S >>>= $, g -= $, $ = L >>> 16 & 255, $ & 16) {
|
|
3510
|
+
if (C = L & 65535, $ &= 15, g < $ && (S += P[a++] << g, g += 8, g < $ && (S += P[a++] << g, g += 8)), C += S & (1 << $) - 1, C > p) {
|
|
3511
3511
|
t.msg = "invalid distance too far back", i.mode = _s;
|
|
3512
3512
|
break e;
|
|
3513
3513
|
}
|
|
3514
|
-
if (
|
|
3515
|
-
if ($ =
|
|
3514
|
+
if (S >>>= $, g -= $, $ = n - o, C > $) {
|
|
3515
|
+
if ($ = C - $, $ > d && i.sane) {
|
|
3516
3516
|
t.msg = "invalid distance too far back", i.mode = _s;
|
|
3517
3517
|
break e;
|
|
3518
3518
|
}
|
|
3519
3519
|
if (b = 0, F = y, m === 0) {
|
|
3520
|
-
if (b += c - $, $ <
|
|
3521
|
-
|
|
3520
|
+
if (b += c - $, $ < I) {
|
|
3521
|
+
I -= $;
|
|
3522
3522
|
do
|
|
3523
|
-
|
|
3523
|
+
T[n++] = y[b++];
|
|
3524
3524
|
while (--$);
|
|
3525
|
-
b = n -
|
|
3525
|
+
b = n - C, F = T;
|
|
3526
3526
|
}
|
|
3527
3527
|
} else if (m < $) {
|
|
3528
|
-
if (b += c + m - $, $ -= m, $ <
|
|
3529
|
-
|
|
3528
|
+
if (b += c + m - $, $ -= m, $ < I) {
|
|
3529
|
+
I -= $;
|
|
3530
3530
|
do
|
|
3531
|
-
|
|
3531
|
+
T[n++] = y[b++];
|
|
3532
3532
|
while (--$);
|
|
3533
|
-
if (b = 0, m <
|
|
3534
|
-
$ = m,
|
|
3533
|
+
if (b = 0, m < I) {
|
|
3534
|
+
$ = m, I -= $;
|
|
3535
3535
|
do
|
|
3536
|
-
|
|
3536
|
+
T[n++] = y[b++];
|
|
3537
3537
|
while (--$);
|
|
3538
|
-
b = n -
|
|
3538
|
+
b = n - C, F = T;
|
|
3539
3539
|
}
|
|
3540
3540
|
}
|
|
3541
|
-
} else if (b += m - $, $ <
|
|
3542
|
-
|
|
3541
|
+
} else if (b += m - $, $ < I) {
|
|
3542
|
+
I -= $;
|
|
3543
3543
|
do
|
|
3544
|
-
|
|
3544
|
+
T[n++] = y[b++];
|
|
3545
3545
|
while (--$);
|
|
3546
|
-
b = n -
|
|
3546
|
+
b = n - C, F = T;
|
|
3547
3547
|
}
|
|
3548
|
-
for (;
|
|
3549
|
-
|
|
3550
|
-
|
|
3548
|
+
for (; I > 2; )
|
|
3549
|
+
T[n++] = F[b++], T[n++] = F[b++], T[n++] = F[b++], I -= 3;
|
|
3550
|
+
I && (T[n++] = F[b++], I > 1 && (T[n++] = F[b++]));
|
|
3551
3551
|
} else {
|
|
3552
|
-
b = n -
|
|
3552
|
+
b = n - C;
|
|
3553
3553
|
do
|
|
3554
|
-
|
|
3555
|
-
while (
|
|
3556
|
-
|
|
3554
|
+
T[n++] = T[b++], T[n++] = T[b++], T[n++] = T[b++], I -= 3;
|
|
3555
|
+
while (I > 2);
|
|
3556
|
+
I && (T[n++] = T[b++], I > 1 && (T[n++] = T[b++]));
|
|
3557
3557
|
}
|
|
3558
3558
|
} else if ($ & 64) {
|
|
3559
3559
|
t.msg = "invalid distance code", i.mode = _s;
|
|
3560
3560
|
break e;
|
|
3561
3561
|
} else {
|
|
3562
|
-
|
|
3562
|
+
L = _[(L & 65535) + (S & (1 << $) - 1)];
|
|
3563
3563
|
continue r;
|
|
3564
3564
|
}
|
|
3565
3565
|
break;
|
|
@@ -3573,13 +3573,13 @@ var os = {}, Ut = {}, _s = 30, oy = 12, ly = function(t, r) {
|
|
|
3573
3573
|
break e;
|
|
3574
3574
|
}
|
|
3575
3575
|
else {
|
|
3576
|
-
|
|
3576
|
+
L = w[(L & 65535) + (S & (1 << $) - 1)];
|
|
3577
3577
|
continue t;
|
|
3578
3578
|
}
|
|
3579
3579
|
break;
|
|
3580
3580
|
}
|
|
3581
3581
|
} while (a < s && n < l);
|
|
3582
|
-
|
|
3582
|
+
I = g >> 3, a -= I, g -= I << 3, S &= (1 << g) - 1, t.next_in = a, t.next_out = n, t.avail_in = a < s ? 5 + (s - a) : 5 - (a - s), t.avail_out = n < l ? 257 + (l - n) : 257 - (n - l), i.hold = S, i.bits = g;
|
|
3583
3583
|
}, vl = ar, Vr = 15, xl = 852, kl = 592, Pl = 0, Zi = 1, El = 2, fy = [
|
|
3584
3584
|
/* Length codes 257..285 base */
|
|
3585
3585
|
3,
|
|
@@ -3715,49 +3715,49 @@ var os = {}, Ut = {}, _s = 30, oy = 12, ly = function(t, r) {
|
|
|
3715
3715
|
64,
|
|
3716
3716
|
64
|
|
3717
3717
|
], dy = function(t, r, i, a, s, n, o, l) {
|
|
3718
|
-
var p = l.bits, c = 0, d = 0, m = 0, y = 0,
|
|
3718
|
+
var p = l.bits, c = 0, d = 0, m = 0, y = 0, S = 0, g = 0, w = 0, _ = 0, O = 0, E = 0, L, $, I, C, b, F = null, P = 0, T, j = new vl.Buf16(Vr + 1), R = new vl.Buf16(Vr + 1), D = null, V = 0, B, Y, G;
|
|
3719
3719
|
for (c = 0; c <= Vr; c++)
|
|
3720
|
-
|
|
3720
|
+
j[c] = 0;
|
|
3721
3721
|
for (d = 0; d < a; d++)
|
|
3722
|
-
|
|
3723
|
-
for (
|
|
3722
|
+
j[r[i + d]]++;
|
|
3723
|
+
for (S = p, y = Vr; y >= 1 && j[y] === 0; y--)
|
|
3724
3724
|
;
|
|
3725
|
-
if (
|
|
3725
|
+
if (S > y && (S = y), y === 0)
|
|
3726
3726
|
return s[n++] = 1 << 24 | 64 << 16 | 0, s[n++] = 1 << 24 | 64 << 16 | 0, l.bits = 1, 0;
|
|
3727
|
-
for (m = 1; m < y &&
|
|
3727
|
+
for (m = 1; m < y && j[m] === 0; m++)
|
|
3728
3728
|
;
|
|
3729
|
-
for (
|
|
3730
|
-
if (_ <<= 1, _ -=
|
|
3729
|
+
for (S < m && (S = m), _ = 1, c = 1; c <= Vr; c++)
|
|
3730
|
+
if (_ <<= 1, _ -= j[c], _ < 0)
|
|
3731
3731
|
return -1;
|
|
3732
3732
|
if (_ > 0 && (t === Pl || y !== 1))
|
|
3733
3733
|
return -1;
|
|
3734
3734
|
for (R[1] = 0, c = 1; c < Vr; c++)
|
|
3735
|
-
R[c + 1] = R[c] +
|
|
3735
|
+
R[c + 1] = R[c] + j[c];
|
|
3736
3736
|
for (d = 0; d < a; d++)
|
|
3737
3737
|
r[i + d] !== 0 && (o[R[r[i + d]]++] = d);
|
|
3738
|
-
if (t === Pl ? (F = D = o,
|
|
3738
|
+
if (t === Pl ? (F = D = o, T = 19) : t === Zi ? (F = fy, P -= 257, D = py, V -= 257, T = 256) : (F = cy, D = uy, T = -1), E = 0, d = 0, c = m, b = n, g = S, w = 0, I = -1, O = 1 << S, C = O - 1, t === Zi && O > xl || t === El && O > kl)
|
|
3739
3739
|
return 1;
|
|
3740
3740
|
for (; ; ) {
|
|
3741
|
-
B = c - w, o[d] <
|
|
3741
|
+
B = c - w, o[d] < T ? (Y = 0, G = o[d]) : o[d] > T ? (Y = D[V + o[d]], G = F[P + o[d]]) : (Y = 96, G = 0), L = 1 << c - w, $ = 1 << g, m = $;
|
|
3742
3742
|
do
|
|
3743
|
-
$ -=
|
|
3743
|
+
$ -= L, s[b + (E >> w) + $] = B << 24 | Y << 16 | G | 0;
|
|
3744
3744
|
while ($ !== 0);
|
|
3745
|
-
for (
|
|
3746
|
-
|
|
3747
|
-
if (
|
|
3745
|
+
for (L = 1 << c - 1; E & L; )
|
|
3746
|
+
L >>= 1;
|
|
3747
|
+
if (L !== 0 ? (E &= L - 1, E += L) : E = 0, d++, --j[c] === 0) {
|
|
3748
3748
|
if (c === y)
|
|
3749
3749
|
break;
|
|
3750
3750
|
c = r[i + o[d]];
|
|
3751
3751
|
}
|
|
3752
|
-
if (c >
|
|
3753
|
-
for (w === 0 && (w =
|
|
3752
|
+
if (c > S && (E & C) !== I) {
|
|
3753
|
+
for (w === 0 && (w = S), b += m, g = c - w, _ = 1 << g; g + w < y && (_ -= j[g + w], !(_ <= 0)); )
|
|
3754
3754
|
g++, _ <<= 1;
|
|
3755
3755
|
if (O += 1 << g, t === Zi && O > xl || t === El && O > kl)
|
|
3756
3756
|
return 1;
|
|
3757
|
-
|
|
3757
|
+
I = E & C, s[I] = S << 24 | g << 16 | b - n | 0;
|
|
3758
3758
|
}
|
|
3759
3759
|
}
|
|
3760
|
-
return E !== 0 && (s[b + E] = c - w << 24 | 64 << 16 | 0), l.bits =
|
|
3760
|
+
return E !== 0 && (s[b + E] = c - w << 24 | 64 << 16 | 0), l.bits = S, 0;
|
|
3761
3761
|
}, kt = ar, Ja = gc, Mt = wc, hy = ly, In = dy, my = 0, Ac = 1, $c = 2, Sl = 4, yy = 5, vs = 6, Dr = 0, gy = 1, wy = 2, Rt = -2, Rc = -3, Fc = -4, by = -5, Tl = 8, Lc = 1, Ol = 2, Al = 3, $l = 4, Rl = 5, Fl = 6, Ll = 7, Il = 8, Cl = 9, jl = 10, ri = 11, tr = 12, Gi = 13, Nl = 14, Yi = 15, Dl = 16, Ul = 17, Bl = 18, ql = 19, xs = 20, ks = 21, Ml = 22, Wl = 23, Hl = 24, zl = 25, Vl = 26, Ki = 27, Zl = 28, Gl = 29, je = 30, Ic = 31, _y = 32, vy = 852, xy = 592, ky = 15, Py = ky;
|
|
3762
3762
|
function Yl(e) {
|
|
3763
3763
|
return (e >>> 24 & 255) + (e >>> 8 & 65280) + ((e & 65280) << 8) + ((e & 255) << 24);
|
|
@@ -3807,7 +3807,7 @@ function Uc(e, t, r, i) {
|
|
|
3807
3807
|
return s.window === null && (s.wsize = 1 << s.wbits, s.wnext = 0, s.whave = 0, s.window = new kt.Buf8(s.wsize)), i >= s.wsize ? (kt.arraySet(s.window, t, r - s.wsize, s.wsize, 0), s.wnext = 0, s.whave = s.wsize) : (a = s.wsize - s.wnext, a > i && (a = i), kt.arraySet(s.window, t, r - i, a, s.wnext), i -= a, i ? (kt.arraySet(s.window, t, r - i, i, 0), s.wnext = i, s.whave = s.wsize) : (s.wnext += a, s.wnext === s.wsize && (s.wnext = 0), s.whave < s.wsize && (s.whave += a))), 0;
|
|
3808
3808
|
}
|
|
3809
3809
|
function Oy(e, t) {
|
|
3810
|
-
var r, i, a, s, n, o, l, p, c, d, m, y,
|
|
3810
|
+
var r, i, a, s, n, o, l, p, c, d, m, y, S, g, w = 0, _, O, E, L, $, I, C, b, F = new kt.Buf8(4), P, T, j = (
|
|
3811
3811
|
/* permutation of code lengths */
|
|
3812
3812
|
[16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
|
|
3813
3813
|
);
|
|
@@ -3840,13 +3840,13 @@ function Oy(e, t) {
|
|
|
3840
3840
|
e.msg = "unknown compression method", r.mode = je;
|
|
3841
3841
|
break;
|
|
3842
3842
|
}
|
|
3843
|
-
if (p >>>= 4, c -= 4,
|
|
3844
|
-
r.wbits =
|
|
3845
|
-
else if (
|
|
3843
|
+
if (p >>>= 4, c -= 4, C = (p & 15) + 8, r.wbits === 0)
|
|
3844
|
+
r.wbits = C;
|
|
3845
|
+
else if (C > r.wbits) {
|
|
3846
3846
|
e.msg = "invalid window size", r.mode = je;
|
|
3847
3847
|
break;
|
|
3848
3848
|
}
|
|
3849
|
-
r.dmax = 1 <<
|
|
3849
|
+
r.dmax = 1 << C, e.adler = r.check = 1, r.mode = p & 512 ? jl : tr, p = 0, c = 0;
|
|
3850
3850
|
break;
|
|
3851
3851
|
case Ol:
|
|
3852
3852
|
for (; c < 16; ) {
|
|
@@ -3888,7 +3888,7 @@ function Oy(e, t) {
|
|
|
3888
3888
|
} else r.head && (r.head.extra = null);
|
|
3889
3889
|
r.mode = Fl;
|
|
3890
3890
|
case Fl:
|
|
3891
|
-
if (r.flags & 1024 && (y = r.length, y > o && (y = o), y && (r.head && (
|
|
3891
|
+
if (r.flags & 1024 && (y = r.length, y > o && (y = o), y && (r.head && (C = r.head.extra_len - r.length, r.head.extra || (r.head.extra = new Array(r.head.extra_len)), kt.arraySet(
|
|
3892
3892
|
r.head.extra,
|
|
3893
3893
|
i,
|
|
3894
3894
|
s,
|
|
@@ -3896,7 +3896,7 @@ function Oy(e, t) {
|
|
|
3896
3896
|
// - no need for additional size check
|
|
3897
3897
|
y,
|
|
3898
3898
|
/*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/
|
|
3899
|
-
|
|
3899
|
+
C
|
|
3900
3900
|
)), r.flags & 512 && (r.check = Mt(r.check, i, y, s)), o -= y, s += y, r.length -= y), r.length))
|
|
3901
3901
|
break e;
|
|
3902
3902
|
r.length = 0, r.mode = Ll;
|
|
@@ -3906,9 +3906,9 @@ function Oy(e, t) {
|
|
|
3906
3906
|
break e;
|
|
3907
3907
|
y = 0;
|
|
3908
3908
|
do
|
|
3909
|
-
|
|
3910
|
-
while (
|
|
3911
|
-
if (r.flags & 512 && (r.check = Mt(r.check, i, y, s)), o -= y, s += y,
|
|
3909
|
+
C = i[s + y++], r.head && C && r.length < 65536 && (r.head.name += String.fromCharCode(C));
|
|
3910
|
+
while (C && y < o);
|
|
3911
|
+
if (r.flags & 512 && (r.check = Mt(r.check, i, y, s)), o -= y, s += y, C)
|
|
3912
3912
|
break e;
|
|
3913
3913
|
} else r.head && (r.head.name = null);
|
|
3914
3914
|
r.length = 0, r.mode = Il;
|
|
@@ -3918,9 +3918,9 @@ function Oy(e, t) {
|
|
|
3918
3918
|
break e;
|
|
3919
3919
|
y = 0;
|
|
3920
3920
|
do
|
|
3921
|
-
|
|
3922
|
-
while (
|
|
3923
|
-
if (r.flags & 512 && (r.check = Mt(r.check, i, y, s)), o -= y, s += y,
|
|
3921
|
+
C = i[s + y++], r.head && C && r.length < 65536 && (r.head.comment += String.fromCharCode(C));
|
|
3922
|
+
while (C && y < o);
|
|
3923
|
+
if (r.flags & 512 && (r.check = Mt(r.check, i, y, s)), o -= y, s += y, C)
|
|
3924
3924
|
break e;
|
|
3925
3925
|
} else r.head && (r.head.comment = null);
|
|
3926
3926
|
r.mode = Cl;
|
|
@@ -4022,10 +4022,10 @@ function Oy(e, t) {
|
|
|
4022
4022
|
break e;
|
|
4023
4023
|
o--, p += i[s++] << c, c += 8;
|
|
4024
4024
|
}
|
|
4025
|
-
r.lens[
|
|
4025
|
+
r.lens[j[r.have++]] = p & 7, p >>>= 3, c -= 3;
|
|
4026
4026
|
}
|
|
4027
4027
|
for (; r.have < 19; )
|
|
4028
|
-
r.lens[
|
|
4028
|
+
r.lens[j[r.have++]] = 0;
|
|
4029
4029
|
if (r.lencode = r.lendyn, r.lenbits = 7, P = { bits: r.lenbits }, b = In(my, r.lens, 0, 19, r.lencode, 0, r.work, P), r.lenbits = P.bits, b) {
|
|
4030
4030
|
e.msg = "invalid code lengths set", r.mode = je;
|
|
4031
4031
|
break;
|
|
@@ -4042,7 +4042,7 @@ function Oy(e, t) {
|
|
|
4042
4042
|
p >>>= _, c -= _, r.lens[r.have++] = E;
|
|
4043
4043
|
else {
|
|
4044
4044
|
if (E === 16) {
|
|
4045
|
-
for (
|
|
4045
|
+
for (T = _ + 2; c < T; ) {
|
|
4046
4046
|
if (o === 0)
|
|
4047
4047
|
break e;
|
|
4048
4048
|
o--, p += i[s++] << c, c += 8;
|
|
@@ -4051,28 +4051,28 @@ function Oy(e, t) {
|
|
|
4051
4051
|
e.msg = "invalid bit length repeat", r.mode = je;
|
|
4052
4052
|
break;
|
|
4053
4053
|
}
|
|
4054
|
-
|
|
4054
|
+
C = r.lens[r.have - 1], y = 3 + (p & 3), p >>>= 2, c -= 2;
|
|
4055
4055
|
} else if (E === 17) {
|
|
4056
|
-
for (
|
|
4056
|
+
for (T = _ + 3; c < T; ) {
|
|
4057
4057
|
if (o === 0)
|
|
4058
4058
|
break e;
|
|
4059
4059
|
o--, p += i[s++] << c, c += 8;
|
|
4060
4060
|
}
|
|
4061
|
-
p >>>= _, c -= _,
|
|
4061
|
+
p >>>= _, c -= _, C = 0, y = 3 + (p & 7), p >>>= 3, c -= 3;
|
|
4062
4062
|
} else {
|
|
4063
|
-
for (
|
|
4063
|
+
for (T = _ + 7; c < T; ) {
|
|
4064
4064
|
if (o === 0)
|
|
4065
4065
|
break e;
|
|
4066
4066
|
o--, p += i[s++] << c, c += 8;
|
|
4067
4067
|
}
|
|
4068
|
-
p >>>= _, c -= _,
|
|
4068
|
+
p >>>= _, c -= _, C = 0, y = 11 + (p & 127), p >>>= 7, c -= 7;
|
|
4069
4069
|
}
|
|
4070
4070
|
if (r.have + y > r.nlen + r.ndist) {
|
|
4071
4071
|
e.msg = "invalid bit length repeat", r.mode = je;
|
|
4072
4072
|
break;
|
|
4073
4073
|
}
|
|
4074
4074
|
for (; y--; )
|
|
4075
|
-
r.lens[r.have++] =
|
|
4075
|
+
r.lens[r.have++] = C;
|
|
4076
4076
|
}
|
|
4077
4077
|
}
|
|
4078
4078
|
if (r.mode === je)
|
|
@@ -4104,12 +4104,12 @@ function Oy(e, t) {
|
|
|
4104
4104
|
o--, p += i[s++] << c, c += 8;
|
|
4105
4105
|
}
|
|
4106
4106
|
if (O && !(O & 240)) {
|
|
4107
|
-
for (
|
|
4107
|
+
for (L = _, $ = O, I = E; w = r.lencode[I + ((p & (1 << L + $) - 1) >> L)], _ = w >>> 24, O = w >>> 16 & 255, E = w & 65535, !(L + _ <= c); ) {
|
|
4108
4108
|
if (o === 0)
|
|
4109
4109
|
break e;
|
|
4110
4110
|
o--, p += i[s++] << c, c += 8;
|
|
4111
4111
|
}
|
|
4112
|
-
p >>>=
|
|
4112
|
+
p >>>= L, c -= L, r.back += L;
|
|
4113
4113
|
}
|
|
4114
4114
|
if (p >>>= _, c -= _, r.back += _, r.length = E, O === 0) {
|
|
4115
4115
|
r.mode = Vl;
|
|
@@ -4126,7 +4126,7 @@ function Oy(e, t) {
|
|
|
4126
4126
|
r.extra = O & 15, r.mode = Ml;
|
|
4127
4127
|
case Ml:
|
|
4128
4128
|
if (r.extra) {
|
|
4129
|
-
for (
|
|
4129
|
+
for (T = r.extra; c < T; ) {
|
|
4130
4130
|
if (o === 0)
|
|
4131
4131
|
break e;
|
|
4132
4132
|
o--, p += i[s++] << c, c += 8;
|
|
@@ -4141,12 +4141,12 @@ function Oy(e, t) {
|
|
|
4141
4141
|
o--, p += i[s++] << c, c += 8;
|
|
4142
4142
|
}
|
|
4143
4143
|
if (!(O & 240)) {
|
|
4144
|
-
for (
|
|
4144
|
+
for (L = _, $ = O, I = E; w = r.distcode[I + ((p & (1 << L + $) - 1) >> L)], _ = w >>> 24, O = w >>> 16 & 255, E = w & 65535, !(L + _ <= c); ) {
|
|
4145
4145
|
if (o === 0)
|
|
4146
4146
|
break e;
|
|
4147
4147
|
o--, p += i[s++] << c, c += 8;
|
|
4148
4148
|
}
|
|
4149
|
-
p >>>=
|
|
4149
|
+
p >>>= L, c -= L, r.back += L;
|
|
4150
4150
|
}
|
|
4151
4151
|
if (p >>>= _, c -= _, r.back += _, O & 64) {
|
|
4152
4152
|
e.msg = "invalid distance code", r.mode = je;
|
|
@@ -4155,7 +4155,7 @@ function Oy(e, t) {
|
|
|
4155
4155
|
r.offset = E, r.extra = O & 15, r.mode = Hl;
|
|
4156
4156
|
case Hl:
|
|
4157
4157
|
if (r.extra) {
|
|
4158
|
-
for (
|
|
4158
|
+
for (T = r.extra; c < T; ) {
|
|
4159
4159
|
if (o === 0)
|
|
4160
4160
|
break e;
|
|
4161
4161
|
o--, p += i[s++] << c, c += 8;
|
|
@@ -4175,12 +4175,12 @@ function Oy(e, t) {
|
|
|
4175
4175
|
e.msg = "invalid distance too far back", r.mode = je;
|
|
4176
4176
|
break;
|
|
4177
4177
|
}
|
|
4178
|
-
y > r.wnext ? (y -= r.wnext,
|
|
4178
|
+
y > r.wnext ? (y -= r.wnext, S = r.wsize - y) : S = r.wnext - y, y > r.length && (y = r.length), g = r.window;
|
|
4179
4179
|
} else
|
|
4180
|
-
g = a,
|
|
4180
|
+
g = a, S = n - r.offset, y = r.length;
|
|
4181
4181
|
y > l && (y = l), l -= y, r.length -= y;
|
|
4182
4182
|
do
|
|
4183
|
-
a[n++] = g[
|
|
4183
|
+
a[n++] = g[S++];
|
|
4184
4184
|
while (--y);
|
|
4185
4185
|
r.length === 0 && (r.mode = ks);
|
|
4186
4186
|
break;
|
|
@@ -4500,12 +4500,12 @@ Ro.read = function(e, t, r, i, a) {
|
|
|
4500
4500
|
return (y ? -1 : 1) * n * Math.pow(2, s - i);
|
|
4501
4501
|
};
|
|
4502
4502
|
Ro.write = function(e, t, r, i, a, s) {
|
|
4503
|
-
var n, o, l, p = s * 8 - a - 1, c = (1 << p) - 1, d = c >> 1, m = a === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, y = i ? 0 : s - 1,
|
|
4504
|
-
for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (o = isNaN(t) ? 1 : 0, n = c) : (n = Math.floor(Math.log(t) / Math.LN2), t * (l = Math.pow(2, -n)) < 1 && (n--, l *= 2), n + d >= 1 ? t += m / l : t += m * Math.pow(2, 1 - d), t * l >= 2 && (n++, l /= 2), n + d >= c ? (o = 0, n = c) : n + d >= 1 ? (o = (t * l - 1) * Math.pow(2, a), n = n + d) : (o = t * Math.pow(2, d - 1) * Math.pow(2, a), n = 0)); a >= 8; e[r + y] = o & 255, y +=
|
|
4503
|
+
var n, o, l, p = s * 8 - a - 1, c = (1 << p) - 1, d = c >> 1, m = a === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, y = i ? 0 : s - 1, S = i ? 1 : -1, g = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
|
|
4504
|
+
for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (o = isNaN(t) ? 1 : 0, n = c) : (n = Math.floor(Math.log(t) / Math.LN2), t * (l = Math.pow(2, -n)) < 1 && (n--, l *= 2), n + d >= 1 ? t += m / l : t += m * Math.pow(2, 1 - d), t * l >= 2 && (n++, l /= 2), n + d >= c ? (o = 0, n = c) : n + d >= 1 ? (o = (t * l - 1) * Math.pow(2, a), n = n + d) : (o = t * Math.pow(2, d - 1) * Math.pow(2, a), n = 0)); a >= 8; e[r + y] = o & 255, y += S, o /= 256, a -= 8)
|
|
4505
4505
|
;
|
|
4506
|
-
for (n = n << a | o, p += a; p > 0; e[r + y] = n & 255, y +=
|
|
4506
|
+
for (n = n << a | o, p += a; p > 0; e[r + y] = n & 255, y += S, n /= 256, p -= 8)
|
|
4507
4507
|
;
|
|
4508
|
-
e[r + y -
|
|
4508
|
+
e[r + y - S] |= g * 128;
|
|
4509
4509
|
};
|
|
4510
4510
|
/*!
|
|
4511
4511
|
* The buffer module from node.js, for the browser.
|
|
@@ -4564,7 +4564,7 @@ Ro.write = function(e, t, r, i, a, s) {
|
|
|
4564
4564
|
if (typeof x == "string")
|
|
4565
4565
|
return m(x, u);
|
|
4566
4566
|
if (ArrayBuffer.isView(x))
|
|
4567
|
-
return
|
|
4567
|
+
return S(x);
|
|
4568
4568
|
if (x == null)
|
|
4569
4569
|
throw new TypeError(
|
|
4570
4570
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof x
|
|
@@ -4624,7 +4624,7 @@ Ro.write = function(e, t, r, i, a, s) {
|
|
|
4624
4624
|
h[A] = x[A] & 255;
|
|
4625
4625
|
return h;
|
|
4626
4626
|
}
|
|
4627
|
-
function
|
|
4627
|
+
function S(x) {
|
|
4628
4628
|
if (Ce(x, Uint8Array)) {
|
|
4629
4629
|
var u = new Uint8Array(x);
|
|
4630
4630
|
return g(u.buffer, u.byteOffset, u.byteLength);
|
|
@@ -4750,7 +4750,7 @@ Ro.write = function(e, t, r, i, a, s) {
|
|
|
4750
4750
|
}
|
|
4751
4751
|
}
|
|
4752
4752
|
o.byteLength = E;
|
|
4753
|
-
function
|
|
4753
|
+
function L(x, u, h) {
|
|
4754
4754
|
var A = !1;
|
|
4755
4755
|
if ((u === void 0 || u < 0) && (u = 0), u > this.length || ((h === void 0 || h > this.length) && (h = this.length), h <= 0) || (h >>>= 0, u >>>= 0, h <= u))
|
|
4756
4756
|
return "";
|
|
@@ -4806,7 +4806,7 @@ Ro.write = function(e, t, r, i, a, s) {
|
|
|
4806
4806
|
return this;
|
|
4807
4807
|
}, o.prototype.toString = function() {
|
|
4808
4808
|
var u = this.length;
|
|
4809
|
-
return u === 0 ? "" : arguments.length === 0 ? D(this, 0, u) :
|
|
4809
|
+
return u === 0 ? "" : arguments.length === 0 ? D(this, 0, u) : L.apply(this, arguments);
|
|
4810
4810
|
}, o.prototype.toLocaleString = o.prototype.toString, o.prototype.equals = function(u) {
|
|
4811
4811
|
if (!o.isBuffer(u)) throw new TypeError("Argument must be a Buffer");
|
|
4812
4812
|
return this === u ? !0 : o.compare(this, u) === 0;
|
|
@@ -4834,7 +4834,7 @@ Ro.write = function(e, t, r, i, a, s) {
|
|
|
4834
4834
|
}
|
|
4835
4835
|
return J < pe ? -1 : pe < J ? 1 : 0;
|
|
4836
4836
|
};
|
|
4837
|
-
function
|
|
4837
|
+
function I(x, u, h, A, U) {
|
|
4838
4838
|
if (x.length === 0) return -1;
|
|
4839
4839
|
if (typeof h == "string" ? (A = h, h = 0) : h > 2147483647 ? h = 2147483647 : h < -2147483648 && (h = -2147483648), h = +h, pt(h) && (h = U ? 0 : x.length - 1), h < 0 && (h = x.length + h), h >= x.length) {
|
|
4840
4840
|
if (U) return -1;
|
|
@@ -4843,12 +4843,12 @@ Ro.write = function(e, t, r, i, a, s) {
|
|
|
4843
4843
|
if (U) h = 0;
|
|
4844
4844
|
else return -1;
|
|
4845
4845
|
if (typeof u == "string" && (u = o.from(u, A)), o.isBuffer(u))
|
|
4846
|
-
return u.length === 0 ? -1 :
|
|
4846
|
+
return u.length === 0 ? -1 : C(x, u, h, A, U);
|
|
4847
4847
|
if (typeof u == "number")
|
|
4848
|
-
return u = u & 255, typeof Uint8Array.prototype.indexOf == "function" ? U ? Uint8Array.prototype.indexOf.call(x, u, h) : Uint8Array.prototype.lastIndexOf.call(x, u, h) :
|
|
4848
|
+
return u = u & 255, typeof Uint8Array.prototype.indexOf == "function" ? U ? Uint8Array.prototype.indexOf.call(x, u, h) : Uint8Array.prototype.lastIndexOf.call(x, u, h) : C(x, [u], h, A, U);
|
|
4849
4849
|
throw new TypeError("val must be string, number or Buffer");
|
|
4850
4850
|
}
|
|
4851
|
-
function
|
|
4851
|
+
function C(x, u, h, A, U) {
|
|
4852
4852
|
var H = 1, J = x.length, pe = u.length;
|
|
4853
4853
|
if (A !== void 0 && (A = String(A).toLowerCase(), A === "ucs2" || A === "ucs-2" || A === "utf16le" || A === "utf-16le")) {
|
|
4854
4854
|
if (x.length < 2 || u.length < 2)
|
|
@@ -4880,9 +4880,9 @@ Ro.write = function(e, t, r, i, a, s) {
|
|
|
4880
4880
|
o.prototype.includes = function(u, h, A) {
|
|
4881
4881
|
return this.indexOf(u, h, A) !== -1;
|
|
4882
4882
|
}, o.prototype.indexOf = function(u, h, A) {
|
|
4883
|
-
return
|
|
4883
|
+
return I(this, u, h, A, !0);
|
|
4884
4884
|
}, o.prototype.lastIndexOf = function(u, h, A) {
|
|
4885
|
-
return
|
|
4885
|
+
return I(this, u, h, A, !1);
|
|
4886
4886
|
};
|
|
4887
4887
|
function b(x, u, h, A) {
|
|
4888
4888
|
h = Number(h) || 0;
|
|
@@ -4903,10 +4903,10 @@ Ro.write = function(e, t, r, i, a, s) {
|
|
|
4903
4903
|
function P(x, u, h, A) {
|
|
4904
4904
|
return Ie(Xe(u), x, h, A);
|
|
4905
4905
|
}
|
|
4906
|
-
function
|
|
4906
|
+
function T(x, u, h, A) {
|
|
4907
4907
|
return Ie(Et(u), x, h, A);
|
|
4908
4908
|
}
|
|
4909
|
-
function
|
|
4909
|
+
function j(x, u, h, A) {
|
|
4910
4910
|
return Ie(rt(u, x.length - h), x, h, A);
|
|
4911
4911
|
}
|
|
4912
4912
|
o.prototype.write = function(u, h, A, U) {
|
|
@@ -4936,12 +4936,12 @@ Ro.write = function(e, t, r, i, a, s) {
|
|
|
4936
4936
|
case "binary":
|
|
4937
4937
|
return P(this, u, h, A);
|
|
4938
4938
|
case "base64":
|
|
4939
|
-
return
|
|
4939
|
+
return T(this, u, h, A);
|
|
4940
4940
|
case "ucs2":
|
|
4941
4941
|
case "ucs-2":
|
|
4942
4942
|
case "utf16le":
|
|
4943
4943
|
case "utf-16le":
|
|
4944
|
-
return
|
|
4944
|
+
return j(this, u, h, A);
|
|
4945
4945
|
default:
|
|
4946
4946
|
if (J) throw new TypeError("Unknown encoding: " + U);
|
|
4947
4947
|
U = ("" + U).toLowerCase(), J = !0;
|
|
@@ -5690,8 +5690,8 @@ var rg = function e(t) {
|
|
|
5690
5690
|
var i = lg(t), a = i.length > 0 ? i[0] : "", s = fg("%" + a + "%", r), n = s.name, o = s.value, l = !1, p = s.alias;
|
|
5691
5691
|
p && (a = p[0], sg(i, ng([0, 1], p)));
|
|
5692
5692
|
for (var c = 1, d = !0; c < i.length; c += 1) {
|
|
5693
|
-
var m = i[c], y = si(m, 0, 1),
|
|
5694
|
-
if ((y === '"' || y === "'" || y === "`" ||
|
|
5693
|
+
var m = i[c], y = si(m, 0, 1), S = si(m, -1);
|
|
5694
|
+
if ((y === '"' || y === "'" || y === "`" || S === '"' || S === "'" || S === "`") && y !== S)
|
|
5695
5695
|
throw new cn("property names with quotes must have matching quotes");
|
|
5696
5696
|
if ((m === "constructor" || !d) && (l = !0), a += "." + m, n = "%" + a + "%", ni($r, n))
|
|
5697
5697
|
o = $r[n];
|
|
@@ -5740,8 +5740,8 @@ function cg() {
|
|
|
5740
5740
|
t = null;
|
|
5741
5741
|
var a = /^\s*class\b/, s = function(E) {
|
|
5742
5742
|
try {
|
|
5743
|
-
var
|
|
5744
|
-
return a.test(
|
|
5743
|
+
var L = e.call(E);
|
|
5744
|
+
return a.test(L);
|
|
5745
5745
|
} catch {
|
|
5746
5746
|
return !1;
|
|
5747
5747
|
}
|
|
@@ -5751,7 +5751,7 @@ function cg() {
|
|
|
5751
5751
|
} catch {
|
|
5752
5752
|
return !1;
|
|
5753
5753
|
}
|
|
5754
|
-
}, o = Object.prototype.toString, l = "[object Object]", p = "[object Function]", c = "[object GeneratorFunction]", d = "[object HTMLAllCollection]", m = "[object HTML document.all class]", y = "[object HTMLCollection]",
|
|
5754
|
+
}, o = Object.prototype.toString, l = "[object Object]", p = "[object Function]", c = "[object GeneratorFunction]", d = "[object HTMLAllCollection]", m = "[object HTML document.all class]", y = "[object HTMLCollection]", S = typeof Symbol == "function" && !!Symbol.toStringTag, g = !(0 in [,]), w = function() {
|
|
5755
5755
|
return !1;
|
|
5756
5756
|
};
|
|
5757
5757
|
if (typeof document == "object") {
|
|
@@ -5759,8 +5759,8 @@ function cg() {
|
|
|
5759
5759
|
o.call(_) === o.call(document.all) && (w = function(E) {
|
|
5760
5760
|
if ((g || !E) && (typeof E > "u" || typeof E == "object"))
|
|
5761
5761
|
try {
|
|
5762
|
-
var
|
|
5763
|
-
return (
|
|
5762
|
+
var L = o.call(E);
|
|
5763
|
+
return (L === d || L === m || L === y || L === l) && E("") == null;
|
|
5764
5764
|
} catch {
|
|
5765
5765
|
}
|
|
5766
5766
|
return !1;
|
|
@@ -5773,8 +5773,8 @@ function cg() {
|
|
|
5773
5773
|
return !1;
|
|
5774
5774
|
try {
|
|
5775
5775
|
t(E, null, r);
|
|
5776
|
-
} catch (
|
|
5777
|
-
if (
|
|
5776
|
+
} catch (L) {
|
|
5777
|
+
if (L !== i)
|
|
5778
5778
|
return !1;
|
|
5779
5779
|
}
|
|
5780
5780
|
return !s(E) && n(E);
|
|
@@ -5783,12 +5783,12 @@ function cg() {
|
|
|
5783
5783
|
return !0;
|
|
5784
5784
|
if (!E || typeof E != "function" && typeof E != "object")
|
|
5785
5785
|
return !1;
|
|
5786
|
-
if (
|
|
5786
|
+
if (S)
|
|
5787
5787
|
return n(E);
|
|
5788
5788
|
if (s(E))
|
|
5789
5789
|
return !1;
|
|
5790
|
-
var
|
|
5791
|
-
return
|
|
5790
|
+
var L = o.call(E);
|
|
5791
|
+
return L !== p && L !== c && !/^\[object HTML/.test(L) ? !1 : n(E);
|
|
5792
5792
|
}, fa;
|
|
5793
5793
|
}
|
|
5794
5794
|
var pa, ff;
|
|
@@ -5973,11 +5973,11 @@ function vg() {
|
|
|
5973
5973
|
O = a(E, Symbol.toStringTag);
|
|
5974
5974
|
}
|
|
5975
5975
|
if (O && O.get) {
|
|
5976
|
-
var
|
|
5976
|
+
var L = r(O.get);
|
|
5977
5977
|
m[
|
|
5978
5978
|
/** @type {`$${import('.').TypedArrayName}`} */
|
|
5979
5979
|
"$" + g
|
|
5980
|
-
] =
|
|
5980
|
+
] = L;
|
|
5981
5981
|
}
|
|
5982
5982
|
}
|
|
5983
5983
|
}) : e(p, function(g) {
|
|
@@ -6009,7 +6009,7 @@ function vg() {
|
|
|
6009
6009
|
}
|
|
6010
6010
|
}
|
|
6011
6011
|
), _;
|
|
6012
|
-
},
|
|
6012
|
+
}, S = function(w) {
|
|
6013
6013
|
var _ = !1;
|
|
6014
6014
|
return e(
|
|
6015
6015
|
/** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
|
|
@@ -6030,7 +6030,7 @@ function vg() {
|
|
|
6030
6030
|
return !1;
|
|
6031
6031
|
if (!o) {
|
|
6032
6032
|
var _ = c(n(w), 8, -1);
|
|
6033
|
-
return d(p, _) > -1 ? _ : _ !== "Object" ? !1 :
|
|
6033
|
+
return d(p, _) > -1 ? _ : _ !== "Object" ? !1 : S(w);
|
|
6034
6034
|
}
|
|
6035
6035
|
return a ? y(w) : null;
|
|
6036
6036
|
}, ba;
|
|
@@ -6242,14 +6242,14 @@ class un {
|
|
|
6242
6242
|
7: "ref-delta"
|
|
6243
6243
|
}, s = {}, n = t.slice(-20).toString("hex"), o = [], l = {}, p = /* @__PURE__ */ new Map();
|
|
6244
6244
|
let c = null, d = null;
|
|
6245
|
-
await My([t], async ({ data: w, type: _, reference: O, offset: E, num:
|
|
6246
|
-
c === null && (c =
|
|
6245
|
+
await My([t], async ({ data: w, type: _, reference: O, offset: E, num: L }) => {
|
|
6246
|
+
c === null && (c = L);
|
|
6247
6247
|
const $ = Math.floor(
|
|
6248
|
-
(c -
|
|
6248
|
+
(c - L) * 100 / c
|
|
6249
6249
|
);
|
|
6250
6250
|
$ !== d && i && await i({
|
|
6251
6251
|
phase: "Receiving objects",
|
|
6252
|
-
loaded: c -
|
|
6252
|
+
loaded: c - L,
|
|
6253
6253
|
total: c
|
|
6254
6254
|
}), d = $, _ = a[_], ["commit", "tree", "blob", "tag"].includes(_) ? s[E] = {
|
|
6255
6255
|
type: _,
|
|
@@ -6264,8 +6264,8 @@ class un {
|
|
|
6264
6264
|
});
|
|
6265
6265
|
const m = Object.keys(s).map(Number);
|
|
6266
6266
|
for (const [w, _] of m.entries()) {
|
|
6267
|
-
const O = w + 1 === m.length ? t.byteLength - 20 : m[w + 1], E = s[_],
|
|
6268
|
-
E.end = O, E.crc =
|
|
6267
|
+
const O = w + 1 === m.length ? t.byteLength - 20 : m[w + 1], E = s[_], L = Zh.buf(t.slice(_, O)) >>> 0;
|
|
6268
|
+
E.end = O, E.crc = L;
|
|
6269
6269
|
}
|
|
6270
6270
|
const y = new un({
|
|
6271
6271
|
pack: Promise.resolve(t),
|
|
@@ -6276,23 +6276,23 @@ class un {
|
|
|
6276
6276
|
getExternalRefDelta: r
|
|
6277
6277
|
});
|
|
6278
6278
|
d = null;
|
|
6279
|
-
let
|
|
6279
|
+
let S = 0;
|
|
6280
6280
|
const g = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
6281
6281
|
for (let w in s) {
|
|
6282
6282
|
w = Number(w);
|
|
6283
|
-
const _ = Math.floor(
|
|
6283
|
+
const _ = Math.floor(S * 100 / c);
|
|
6284
6284
|
_ !== d && i && await i({
|
|
6285
6285
|
phase: "Resolving deltas",
|
|
6286
|
-
loaded:
|
|
6286
|
+
loaded: S,
|
|
6287
6287
|
total: c
|
|
6288
|
-
}),
|
|
6288
|
+
}), S++, d = _;
|
|
6289
6289
|
const O = s[w];
|
|
6290
6290
|
if (!O.oid)
|
|
6291
6291
|
try {
|
|
6292
6292
|
y.readDepth = 0, y.externalReadDepth = 0;
|
|
6293
|
-
const { type: E, object:
|
|
6293
|
+
const { type: E, object: L } = await y.readSlice({ start: w });
|
|
6294
6294
|
g[y.readDepth] += 1;
|
|
6295
|
-
const $ = await ii(Gh.wrap({ type: E, object:
|
|
6295
|
+
const $ = await ii(Gh.wrap({ type: E, object: L }));
|
|
6296
6296
|
O.oid = $, o.push($), p.set($, w), l[$] = O.crc;
|
|
6297
6297
|
} catch {
|
|
6298
6298
|
continue;
|
|
@@ -6366,12 +6366,12 @@ class un {
|
|
|
6366
6366
|
s & 128 && (p = Xg(a, l));
|
|
6367
6367
|
let d = null, m = null;
|
|
6368
6368
|
if (o === "ofs_delta") {
|
|
6369
|
-
const
|
|
6369
|
+
const S = Kg(a), g = t - S;
|
|
6370
6370
|
({ object: d, type: o } = await this.readSlice({ start: g }));
|
|
6371
6371
|
}
|
|
6372
6372
|
if (o === "ref_delta") {
|
|
6373
|
-
const
|
|
6374
|
-
({ object: d, type: o } = await this.read({ oid:
|
|
6373
|
+
const S = a.slice(20).toString("hex");
|
|
6374
|
+
({ object: d, type: o } = await this.read({ oid: S }));
|
|
6375
6375
|
}
|
|
6376
6376
|
const y = i.slice(a.tell());
|
|
6377
6377
|
if (m = Buffer.from(await Hy(y)), m.byteLength !== p)
|
|
@@ -6508,10 +6508,10 @@ class Sr {
|
|
|
6508
6508
|
throw new ns(c.path);
|
|
6509
6509
|
let y = 8 - (i.tell() - 12) % 8;
|
|
6510
6510
|
for (y === 0 && (y = 8); y--; ) {
|
|
6511
|
-
const
|
|
6512
|
-
if (
|
|
6511
|
+
const S = i.readUInt8();
|
|
6512
|
+
if (S !== 0)
|
|
6513
6513
|
throw new Ee(
|
|
6514
|
-
`Expected 1-8 null characters but got '${
|
|
6514
|
+
`Expected 1-8 null characters but got '${S}' after ${c.path}`
|
|
6515
6515
|
);
|
|
6516
6516
|
if (i.eof())
|
|
6517
6517
|
throw new Ee("Unexpected end of file");
|
|
@@ -6781,8 +6781,8 @@ async function ou(e) {
|
|
|
6781
6781
|
const y = m.slice(-41).trim();
|
|
6782
6782
|
y.length !== 40 && c(new Vn(y)), s.push(y);
|
|
6783
6783
|
} else if (m.startsWith("ACK")) {
|
|
6784
|
-
const [, y,
|
|
6785
|
-
n.push({ oid: y, status:
|
|
6784
|
+
const [, y, S] = m.split(" ");
|
|
6785
|
+
n.push({ oid: y, status: S }), S || (l = !0);
|
|
6786
6786
|
} else m.startsWith("NAK") ? (o = !0, l = !0) : (l = !0, o = !0);
|
|
6787
6787
|
l && (e.error ? c(e.error) : p({ shallows: a, unshallows: s, acks: n, nak: o, packfile: r, progress: i }));
|
|
6788
6788
|
}).finally(() => {
|
|
@@ -7381,11 +7381,11 @@ function Fe() {
|
|
|
7381
7381
|
const e = this;
|
|
7382
7382
|
function t(a) {
|
|
7383
7383
|
const s = e.dyn_tree, n = e.stat_desc.static_tree, o = e.stat_desc.extra_bits, l = e.stat_desc.extra_base, p = e.stat_desc.max_length;
|
|
7384
|
-
let c, d, m, y,
|
|
7384
|
+
let c, d, m, y, S, g, w = 0;
|
|
7385
7385
|
for (y = 0; y <= Kn; y++)
|
|
7386
7386
|
a.bl_count[y] = 0;
|
|
7387
7387
|
for (s[a.heap[a.heap_max] * 2 + 1] = 0, c = a.heap_max + 1; c < kf; c++)
|
|
7388
|
-
d = a.heap[c], y = s[s[d * 2 + 1] * 2 + 1] + 1, y > p && (y = p, w++), s[d * 2 + 1] = y, !(d > e.max_code) && (a.bl_count[y]++,
|
|
7388
|
+
d = a.heap[c], y = s[s[d * 2 + 1] * 2 + 1] + 1, y > p && (y = p, w++), s[d * 2 + 1] = y, !(d > e.max_code) && (a.bl_count[y]++, S = 0, d >= l && (S = o[d - l]), g = s[d * 2], a.opt_len += g * (y + S), n && (a.static_len += g * (n[d * 2 + 1] + S)));
|
|
7389
7389
|
if (w !== 0) {
|
|
7390
7390
|
do {
|
|
7391
7391
|
for (y = p - 1; a.bl_count[y] === 0; )
|
|
@@ -7835,7 +7835,7 @@ function Af(e, t, r, i) {
|
|
|
7835
7835
|
}
|
|
7836
7836
|
function Iw() {
|
|
7837
7837
|
const e = this;
|
|
7838
|
-
let t, r, i, a, s, n, o, l, p, c, d, m, y,
|
|
7838
|
+
let t, r, i, a, s, n, o, l, p, c, d, m, y, S, g, w, _, O, E, L, $, I, C, b, F, P, T, j, R, D, V, B, Y;
|
|
7839
7839
|
const G = new Fe(), te = new Fe(), z = new Fe();
|
|
7840
7840
|
e.depth = [];
|
|
7841
7841
|
let X, ee, Z, fe, oe, ie;
|
|
@@ -7844,7 +7844,7 @@ function Iw() {
|
|
|
7844
7844
|
p = 2 * s, d[y - 1] = 0;
|
|
7845
7845
|
for (let M = 0; M < y - 1; M++)
|
|
7846
7846
|
d[M] = 0;
|
|
7847
|
-
P = Lt[
|
|
7847
|
+
P = Lt[T].max_lazy, R = Lt[T].good_length, D = Lt[T].nice_length, F = Lt[T].max_chain, $ = 0, _ = 0, C = 0, O = b = Ne - 1, L = 0, m = 0;
|
|
7848
7848
|
}
|
|
7849
7849
|
function Oe() {
|
|
7850
7850
|
let M;
|
|
@@ -7922,7 +7922,7 @@ function Iw() {
|
|
|
7922
7922
|
}
|
|
7923
7923
|
function H(M, K) {
|
|
7924
7924
|
let W, Q, se;
|
|
7925
|
-
if (e.dist_buf[ee] = M, e.lc_buf[ee] = K & 255, ee++, M === 0 ? V[K * 2]++ : (Z++, M--, V[(Fe._length_code[K] + ai + 1) * 2]++, B[Fe.d_code(M) * 2]++), !(ee & 8191) &&
|
|
7925
|
+
if (e.dist_buf[ee] = M, e.lc_buf[ee] = K & 255, ee++, M === 0 ? V[K * 2]++ : (Z++, M--, V[(Fe._length_code[K] + ai + 1) * 2]++, B[Fe.d_code(M) * 2]++), !(ee & 8191) && T > 2) {
|
|
7926
7926
|
for (W = ee * 8, Q = $ - _, se = 0; se < no; se++)
|
|
7927
7927
|
W += B[se * 2] * (5 + Fe.extra_dbits[se]);
|
|
7928
7928
|
if (W >>>= 3, Z < Math.floor(ee / 2) && W < Math.floor(Q / 2))
|
|
@@ -7949,7 +7949,7 @@ function Iw() {
|
|
|
7949
7949
|
}
|
|
7950
7950
|
function De(M, K, W) {
|
|
7951
7951
|
let Q, se, le = 0;
|
|
7952
|
-
|
|
7952
|
+
T > 0 ? (G.build_tree(e), te.build_tree(e), le = Et(), Q = e.opt_len + 3 + 7 >>> 3, se = e.static_len + 3 + 7 >>> 3, se <= Q && (Q = se)) : Q = se = K + 5, K + 4 <= Q && M != -1 ? he(M, K, W) : se == Q ? (Re((Sa << 1) + (W ? 1 : 0), 3), J(Je.static_ltree, Je.static_dtree)) : (Re((Lw << 1) + (W ? 1 : 0), 3), h(G.max_code + 1, te.max_code + 1, le + 1), J(V, B)), Oe(), W && pe();
|
|
7953
7953
|
}
|
|
7954
7954
|
function ue(M) {
|
|
7955
7955
|
De(_ >= 0 ? _ : -1, $ - _, M), _ = $, t.flush_pending();
|
|
@@ -7957,12 +7957,12 @@ function Iw() {
|
|
|
7957
7957
|
function yt() {
|
|
7958
7958
|
let M, K, W, Q;
|
|
7959
7959
|
do {
|
|
7960
|
-
if (Q = p -
|
|
7960
|
+
if (Q = p - C - $, Q === 0 && $ === 0 && C === 0)
|
|
7961
7961
|
Q = s;
|
|
7962
7962
|
else if (Q == -1)
|
|
7963
7963
|
Q--;
|
|
7964
7964
|
else if ($ >= s + s - wt) {
|
|
7965
|
-
l.set(l.subarray(s, s + s), 0),
|
|
7965
|
+
l.set(l.subarray(s, s + s), 0), I -= s, $ -= s, _ -= s, M = y, W = M;
|
|
7966
7966
|
do
|
|
7967
7967
|
K = d[--W] & 65535, d[W] = K >= s ? K - s : 0;
|
|
7968
7968
|
while (--M !== 0);
|
|
@@ -7974,19 +7974,19 @@ function Iw() {
|
|
|
7974
7974
|
}
|
|
7975
7975
|
if (t.avail_in === 0)
|
|
7976
7976
|
return;
|
|
7977
|
-
M = t.read_buf(l, $ +
|
|
7978
|
-
} while (
|
|
7977
|
+
M = t.read_buf(l, $ + C, Q), C += M, C >= Ne && (m = l[$] & 255, m = (m << w ^ l[$ + 1] & 255) & g);
|
|
7978
|
+
} while (C < wt && t.avail_in !== 0);
|
|
7979
7979
|
}
|
|
7980
7980
|
function nt(M) {
|
|
7981
7981
|
let K = 65535, W;
|
|
7982
7982
|
for (K > i - 5 && (K = i - 5); ; ) {
|
|
7983
|
-
if (
|
|
7984
|
-
if (yt(),
|
|
7983
|
+
if (C <= 1) {
|
|
7984
|
+
if (yt(), C === 0 && M == en)
|
|
7985
7985
|
return St;
|
|
7986
|
-
if (
|
|
7986
|
+
if (C === 0)
|
|
7987
7987
|
break;
|
|
7988
7988
|
}
|
|
7989
|
-
if ($ +=
|
|
7989
|
+
if ($ += C, C = 0, W = _ + K, ($ === 0 || $ >= W) && (C = $ - W, $ = W, ue(!1), t.avail_out === 0) || $ - _ >= s - wt && (ue(!1), t.avail_out === 0))
|
|
7990
7990
|
return St;
|
|
7991
7991
|
}
|
|
7992
7992
|
return ue(M == ct), t.avail_out === 0 ? M == ct ? kn : St : M == ct ? Os : Ts;
|
|
@@ -7997,7 +7997,7 @@ function Iw() {
|
|
|
7997
7997
|
let Me = D;
|
|
7998
7998
|
const ce = o, xe = $ + Hs;
|
|
7999
7999
|
let q = l[W + le - 1], ae = l[W + le];
|
|
8000
|
-
b >= R && (K >>= 2), Me >
|
|
8000
|
+
b >= R && (K >>= 2), Me > C && (Me = C);
|
|
8001
8001
|
do
|
|
8002
8002
|
if (Q = M, !(l[Q + le] != ae || l[Q + le - 1] != q || l[Q] != l[W] || l[++Q] != l[W + 1])) {
|
|
8003
8003
|
W += 2, Q++;
|
|
@@ -8005,25 +8005,25 @@ function Iw() {
|
|
|
8005
8005
|
;
|
|
8006
8006
|
while (l[++W] == l[++Q] && l[++W] == l[++Q] && l[++W] == l[++Q] && l[++W] == l[++Q] && l[++W] == l[++Q] && l[++W] == l[++Q] && l[++W] == l[++Q] && l[++W] == l[++Q] && W < xe);
|
|
8007
8007
|
if (se = Hs - (xe - W), W = xe - Hs, se > le) {
|
|
8008
|
-
if (
|
|
8008
|
+
if (I = M, le = se, se >= Me)
|
|
8009
8009
|
break;
|
|
8010
8010
|
q = l[W + le - 1], ae = l[W + le];
|
|
8011
8011
|
}
|
|
8012
8012
|
}
|
|
8013
8013
|
while ((M = c[M & ce] & 65535) > de && --K !== 0);
|
|
8014
|
-
return le <=
|
|
8014
|
+
return le <= C ? le : C;
|
|
8015
8015
|
}
|
|
8016
8016
|
function Ti(M) {
|
|
8017
8017
|
let K = 0, W;
|
|
8018
8018
|
for (; ; ) {
|
|
8019
|
-
if (
|
|
8020
|
-
if (yt(),
|
|
8019
|
+
if (C < wt) {
|
|
8020
|
+
if (yt(), C < wt && M == en)
|
|
8021
8021
|
return St;
|
|
8022
|
-
if (
|
|
8022
|
+
if (C === 0)
|
|
8023
8023
|
break;
|
|
8024
8024
|
}
|
|
8025
|
-
if (
|
|
8026
|
-
if (W = H($ -
|
|
8025
|
+
if (C >= Ne && (m = (m << w ^ l[$ + (Ne - 1)] & 255) & g, K = d[m] & 65535, c[$ & o] = d[m], d[m] = $), K !== 0 && ($ - K & 65535) <= s - wt && j != Ps && (O = Ft(K)), O >= Ne)
|
|
8026
|
+
if (W = H($ - I, O - Ne), C -= O, O <= P && C >= Ne) {
|
|
8027
8027
|
O--;
|
|
8028
8028
|
do
|
|
8029
8029
|
$++, m = (m << w ^ l[$ + (Ne - 1)] & 255) & g, K = d[m] & 65535, c[$ & o] = d[m], d[m] = $;
|
|
@@ -8032,7 +8032,7 @@ function Iw() {
|
|
|
8032
8032
|
} else
|
|
8033
8033
|
$ += O, O = 0, m = l[$] & 255, m = (m << w ^ l[$ + 1] & 255) & g;
|
|
8034
8034
|
else
|
|
8035
|
-
W = H(0, l[$] & 255),
|
|
8035
|
+
W = H(0, l[$] & 255), C--, $++;
|
|
8036
8036
|
if (W && (ue(!1), t.avail_out === 0))
|
|
8037
8037
|
return St;
|
|
8038
8038
|
}
|
|
@@ -8041,37 +8041,37 @@ function Iw() {
|
|
|
8041
8041
|
function st(M) {
|
|
8042
8042
|
let K = 0, W, Q;
|
|
8043
8043
|
for (; ; ) {
|
|
8044
|
-
if (
|
|
8045
|
-
if (yt(),
|
|
8044
|
+
if (C < wt) {
|
|
8045
|
+
if (yt(), C < wt && M == en)
|
|
8046
8046
|
return St;
|
|
8047
|
-
if (
|
|
8047
|
+
if (C === 0)
|
|
8048
8048
|
break;
|
|
8049
8049
|
}
|
|
8050
|
-
if (
|
|
8051
|
-
Q = $ +
|
|
8050
|
+
if (C >= Ne && (m = (m << w ^ l[$ + (Ne - 1)] & 255) & g, K = d[m] & 65535, c[$ & o] = d[m], d[m] = $), b = O, E = I, O = Ne - 1, K !== 0 && b < P && ($ - K & 65535) <= s - wt && (j != Ps && (O = Ft(K)), O <= 5 && (j == vw || O == Ne && $ - I > 4096) && (O = Ne - 1)), b >= Ne && O <= b) {
|
|
8051
|
+
Q = $ + C - Ne, W = H($ - 1 - E, b - Ne), C -= b - 1, b -= 2;
|
|
8052
8052
|
do
|
|
8053
8053
|
++$ <= Q && (m = (m << w ^ l[$ + (Ne - 1)] & 255) & g, K = d[m] & 65535, c[$ & o] = d[m], d[m] = $);
|
|
8054
8054
|
while (--b !== 0);
|
|
8055
|
-
if (
|
|
8055
|
+
if (L = 0, O = Ne - 1, $++, W && (ue(!1), t.avail_out === 0))
|
|
8056
8056
|
return St;
|
|
8057
|
-
} else if (
|
|
8058
|
-
if (W = H(0, l[$ - 1] & 255), W && ue(!1), $++,
|
|
8057
|
+
} else if (L !== 0) {
|
|
8058
|
+
if (W = H(0, l[$ - 1] & 255), W && ue(!1), $++, C--, t.avail_out === 0)
|
|
8059
8059
|
return St;
|
|
8060
8060
|
} else
|
|
8061
|
-
|
|
8061
|
+
L = 1, $++, C--;
|
|
8062
8062
|
}
|
|
8063
|
-
return
|
|
8063
|
+
return L !== 0 && (W = H(0, l[$ - 1] & 255), L = 0), ue(M == ct), t.avail_out === 0 ? M == ct ? kn : St : M == ct ? Os : Ts;
|
|
8064
8064
|
}
|
|
8065
8065
|
function Hr(M) {
|
|
8066
8066
|
return M.total_in = M.total_out = 0, M.msg = null, e.pending = 0, e.pending_out = 0, r = As, a = en, Xe(), Ae(), Ct;
|
|
8067
8067
|
}
|
|
8068
8068
|
e.deflateInit = function(M, K, W, Q, se, le) {
|
|
8069
|
-
return Q || (Q = Ea), se || (se = $w), le || (le = xw), M.msg = null, K == oi && (K = 6), se < 1 || se > Aw || Q != Ea || W < 9 || W > 15 || K < 0 || K > 9 || le < 0 || le > Ps ? Nt : (M.dstate = e, n = W, s = 1 << n, o = s - 1,
|
|
8069
|
+
return Q || (Q = Ea), se || (se = $w), le || (le = xw), M.msg = null, K == oi && (K = 6), se < 1 || se > Aw || Q != Ea || W < 9 || W > 15 || K < 0 || K > 9 || le < 0 || le > Ps ? Nt : (M.dstate = e, n = W, s = 1 << n, o = s - 1, S = se + 7, y = 1 << S, g = y - 1, w = Math.floor((S + Ne - 1) / Ne), l = new Uint8Array(s * 2), c = [], d = [], X = 1 << se + 6, e.pending_buf = new Uint8Array(X * 4), i = X * 4, e.dist_buf = new Uint16Array(X), e.lc_buf = new Uint8Array(X), T = K, j = le, Hr(M));
|
|
8070
8070
|
}, e.deflateEnd = function() {
|
|
8071
8071
|
return r != Pa && r != As && r != Pn ? Nt : (e.lc_buf = null, e.dist_buf = null, e.pending_buf = null, d = null, c = null, l = null, e.dstate = null, r == As ? Pw : Ct);
|
|
8072
8072
|
}, e.deflateParams = function(M, K, W) {
|
|
8073
8073
|
let Q = Ct;
|
|
8074
|
-
return K == oi && (K = 6), K < 0 || K > 9 || W < 0 || W > Ps ? Nt : (Lt[
|
|
8074
|
+
return K == oi && (K = 6), K < 0 || K > 9 || W < 0 || W > Ps ? Nt : (Lt[T].func != Lt[K].func && M.total_in !== 0 && (Q = M.deflate(Tf)), T != K && (T = K, P = Lt[T].max_lazy, R = Lt[T].good_length, D = Lt[T].nice_length, F = Lt[T].max_chain), j = W, Q);
|
|
8075
8075
|
}, e.deflateSetDictionary = function(M, K, W) {
|
|
8076
8076
|
let Q = W, se, le = 0;
|
|
8077
8077
|
if (!K || r != Pa)
|
|
@@ -8089,15 +8089,15 @@ function Iw() {
|
|
|
8089
8089
|
return M.msg = Ss[Es - Nt], Nt;
|
|
8090
8090
|
if (M.avail_out === 0)
|
|
8091
8091
|
return M.msg = Ss[Es - Yr], Yr;
|
|
8092
|
-
if (t = M, le = a, a = K, r == Pa && (Q = Ea + (n - 8 << 4) << 8, se = (
|
|
8092
|
+
if (t = M, le = a, a = K, r == Pa && (Q = Ea + (n - 8 << 4) << 8, se = (T - 1 & 255) >> 1, se > 3 && (se = 3), Q |= se << 6, $ !== 0 && (Q |= Rw), Q += 31 - Q % 31, r = As, pt(Q)), e.pending !== 0) {
|
|
8093
8093
|
if (t.flush_pending(), t.avail_out === 0)
|
|
8094
8094
|
return a = -1, Ct;
|
|
8095
8095
|
} else if (t.avail_in === 0 && K <= le && K != ct)
|
|
8096
8096
|
return t.msg = Ss[Es - Yr], Yr;
|
|
8097
8097
|
if (r == Pn && t.avail_in !== 0)
|
|
8098
8098
|
return M.msg = Ss[Es - Yr], Yr;
|
|
8099
|
-
if (t.avail_in !== 0 ||
|
|
8100
|
-
switch (de = -1, Lt[
|
|
8099
|
+
if (t.avail_in !== 0 || C !== 0 || K != en && r != Pn) {
|
|
8100
|
+
switch (de = -1, Lt[T].func) {
|
|
8101
8101
|
case du:
|
|
8102
8102
|
de = nt(K);
|
|
8103
8103
|
break;
|
|
@@ -8176,17 +8176,17 @@ function Cw(e) {
|
|
|
8176
8176
|
let n = e ? e.level : oi;
|
|
8177
8177
|
typeof n > "u" && (n = oi), r.deflateInit(n), r.next_out = s, t.append = function(o, l) {
|
|
8178
8178
|
let p, c, d = 0, m = 0, y = 0;
|
|
8179
|
-
const
|
|
8179
|
+
const S = [];
|
|
8180
8180
|
if (o.length) {
|
|
8181
8181
|
r.next_in_index = 0, r.next_in = o, r.avail_in = o.length;
|
|
8182
8182
|
do {
|
|
8183
8183
|
if (r.next_out_index = 0, r.avail_out = i, p = r.deflate(a), p != Ct)
|
|
8184
8184
|
throw new Error("deflating: " + r.msg);
|
|
8185
|
-
r.next_out_index && (r.next_out_index == i ?
|
|
8185
|
+
r.next_out_index && (r.next_out_index == i ? S.push(new Uint8Array(s)) : S.push(s.subarray(0, r.next_out_index))), y += r.next_out_index, l && r.next_in_index > 0 && r.next_in_index != d && (l(r.next_in_index), d = r.next_in_index);
|
|
8186
8186
|
} while (r.avail_in > 0 || r.avail_out === 0);
|
|
8187
|
-
return
|
|
8187
|
+
return S.length > 1 ? (c = new Uint8Array(y), S.forEach(function(g) {
|
|
8188
8188
|
c.set(g, m), m += g.length;
|
|
8189
|
-
})) : c =
|
|
8189
|
+
})) : c = S[0] ? new Uint8Array(S[0]) : new Uint8Array(), c;
|
|
8190
8190
|
}
|
|
8191
8191
|
}, t.flush = function() {
|
|
8192
8192
|
let o, l, p = 0, c = 0;
|
|
@@ -9991,19 +9991,19 @@ const Nw = 15, ve = 0, sr = 1, Dw = 2, dt = -2, Le = -3, $f = -4, ir = -5, _t =
|
|
|
9991
9991
|
function io() {
|
|
9992
9992
|
const e = this;
|
|
9993
9993
|
let t, r, i, a, s, n;
|
|
9994
|
-
function o(p, c, d, m, y,
|
|
9995
|
-
let
|
|
9994
|
+
function o(p, c, d, m, y, S, g, w, _, O, E) {
|
|
9995
|
+
let L, $, I, C, b, F, P, T, j, R, D, V, B, Y, G;
|
|
9996
9996
|
R = 0, b = d;
|
|
9997
9997
|
do
|
|
9998
9998
|
i[p[c + R]]++, R++, b--;
|
|
9999
9999
|
while (b !== 0);
|
|
10000
10000
|
if (i[0] == d)
|
|
10001
10001
|
return g[0] = -1, w[0] = 0, ve;
|
|
10002
|
-
for (
|
|
10002
|
+
for (T = w[0], F = 1; F <= fr && i[F] === 0; F++)
|
|
10003
10003
|
;
|
|
10004
|
-
for (P = F,
|
|
10004
|
+
for (P = F, T < F && (T = F), b = fr; b !== 0 && i[b] === 0; b--)
|
|
10005
10005
|
;
|
|
10006
|
-
for (
|
|
10006
|
+
for (I = b, T > b && (T = b), w[0] = T, Y = 1 << F; F < b; F++, Y <<= 1)
|
|
10007
10007
|
if ((Y -= i[F]) < 0)
|
|
10008
10008
|
return Le;
|
|
10009
10009
|
if ((Y -= i[b]) < 0)
|
|
@@ -10014,31 +10014,31 @@ function io() {
|
|
|
10014
10014
|
do
|
|
10015
10015
|
(F = p[c + R]) !== 0 && (E[n[F]++] = b), R++;
|
|
10016
10016
|
while (++b < d);
|
|
10017
|
-
for (d = n[
|
|
10018
|
-
for (
|
|
10019
|
-
for (; P > V +
|
|
10020
|
-
if (
|
|
10017
|
+
for (d = n[I], n[0] = b = 0, R = 0, C = -1, V = -T, s[0] = 0, D = 0, G = 0; P <= I; P++)
|
|
10018
|
+
for (L = i[P]; L-- !== 0; ) {
|
|
10019
|
+
for (; P > V + T; ) {
|
|
10020
|
+
if (C++, V += T, G = I - V, G = G > T ? T : G, ($ = 1 << (F = P - V)) > L + 1 && ($ -= L + 1, B = P, F < G))
|
|
10021
10021
|
for (; ++F < G && !(($ <<= 1) <= i[++B]); )
|
|
10022
10022
|
$ -= i[B];
|
|
10023
10023
|
if (G = 1 << F, O[0] + G > mu)
|
|
10024
10024
|
return Le;
|
|
10025
|
-
s[
|
|
10026
|
-
O[0], O[0] += G,
|
|
10025
|
+
s[C] = D = /* hp+ */
|
|
10026
|
+
O[0], O[0] += G, C !== 0 ? (n[C] = b, a[0] = /* (byte) */
|
|
10027
10027
|
F, a[1] = /* (byte) */
|
|
10028
|
-
|
|
10029
|
-
D - s[
|
|
10028
|
+
T, F = b >>> V - T, a[2] = /* (int) */
|
|
10029
|
+
D - s[C - 1] - F, _.set(a, (s[C - 1] + F) * 3)) : g[0] = D;
|
|
10030
10030
|
}
|
|
10031
10031
|
for (a[1] = /* (byte) */
|
|
10032
10032
|
P - V, R >= d ? a[0] = 192 : E[R] < m ? (a[0] = /* (byte) */
|
|
10033
10033
|
E[R] < 256 ? 0 : 96, a[2] = E[R++]) : (a[0] = /* (byte) */
|
|
10034
|
-
|
|
10034
|
+
S[E[R] - m] + 16 + 64, a[2] = y[E[R++] - m]), $ = 1 << P - V, F = b >>> V; F < G; F += $)
|
|
10035
10035
|
_.set(a, (D + F) * 3);
|
|
10036
10036
|
for (F = 1 << P - 1; b & F; F >>>= 1)
|
|
10037
10037
|
b ^= F;
|
|
10038
|
-
for (b ^= F,
|
|
10039
|
-
|
|
10038
|
+
for (b ^= F, j = (1 << V) - 1; (b & j) != n[C]; )
|
|
10039
|
+
C--, V -= T, j = (1 << V) - 1;
|
|
10040
10040
|
}
|
|
10041
|
-
return Y !== 0 &&
|
|
10041
|
+
return Y !== 0 && I != 1 ? ir : ve;
|
|
10042
10042
|
}
|
|
10043
10043
|
function l(p) {
|
|
10044
10044
|
let c;
|
|
@@ -10051,11 +10051,11 @@ function io() {
|
|
|
10051
10051
|
s.set(i.subarray(0, fr), 0), n.set(i.subarray(0, fr + 1), 0);
|
|
10052
10052
|
}
|
|
10053
10053
|
e.inflate_trees_bits = function(p, c, d, m, y) {
|
|
10054
|
-
let
|
|
10055
|
-
return l(19), t[0] = 0,
|
|
10056
|
-
}, e.inflate_trees_dynamic = function(p, c, d, m, y,
|
|
10054
|
+
let S;
|
|
10055
|
+
return l(19), t[0] = 0, S = o(p, 0, 19, 19, null, null, d, c, m, t, r), S == Le ? y.msg = "oversubscribed dynamic bit lengths tree" : (S == ir || c[0] === 0) && (y.msg = "incomplete dynamic bit lengths tree", S = Le), S;
|
|
10056
|
+
}, e.inflate_trees_dynamic = function(p, c, d, m, y, S, g, w, _) {
|
|
10057
10057
|
let O;
|
|
10058
|
-
return l(288), t[0] = 0, O = o(d, 0, p, 257, zw, Vw,
|
|
10058
|
+
return l(288), t[0] = 0, O = o(d, 0, p, 257, zw, Vw, S, m, w, t, r), O != ve || m[0] === 0 ? (O == Le ? _.msg = "oversubscribed literal/length tree" : O != $f && (_.msg = "incomplete literal/length tree", O = Le), O) : (l(288), O = o(d, p, c, 0, Zw, Gw, g, y, w, t, r), O != ve || y[0] === 0 && p > 257 ? (O == Le ? _.msg = "oversubscribed distance tree" : O == ir ? (_.msg = "incomplete distance tree", O = Le) : O != $f && (_.msg = "empty distance tree with lengths", O = Le), O) : ve);
|
|
10059
10059
|
};
|
|
10060
10060
|
}
|
|
10061
10061
|
io.inflate_trees_fixed = function(e, t, r, i) {
|
|
@@ -10064,170 +10064,170 @@ io.inflate_trees_fixed = function(e, t, r, i) {
|
|
|
10064
10064
|
const $s = 0, Rf = 1, Ff = 2, Lf = 3, If = 4, Cf = 5, jf = 6, Ta = 7, Nf = 8, Rs = 9;
|
|
10065
10065
|
function Yw() {
|
|
10066
10066
|
const e = this;
|
|
10067
|
-
let t, r = 0, i, a = 0, s = 0, n = 0, o = 0, l = 0, p = 0, c = 0, d, m = 0, y,
|
|
10068
|
-
function g(w, _, O, E,
|
|
10069
|
-
let b, F, P,
|
|
10070
|
-
D =
|
|
10067
|
+
let t, r = 0, i, a = 0, s = 0, n = 0, o = 0, l = 0, p = 0, c = 0, d, m = 0, y, S = 0;
|
|
10068
|
+
function g(w, _, O, E, L, $, I, C) {
|
|
10069
|
+
let b, F, P, T, j, R, D, V, B, Y, G, te, z, X, ee, Z;
|
|
10070
|
+
D = C.next_in_index, V = C.avail_in, j = I.bitb, R = I.bitk, B = I.write, Y = B < I.read ? I.read - B - 1 : I.end - B, G = _t[w], te = _t[_];
|
|
10071
10071
|
do {
|
|
10072
10072
|
for (; R < 20; )
|
|
10073
|
-
V--,
|
|
10074
|
-
if (b =
|
|
10075
|
-
|
|
10073
|
+
V--, j |= (C.read_byte(D++) & 255) << R, R += 8;
|
|
10074
|
+
if (b = j & G, F = O, P = E, Z = (P + b) * 3, (T = F[Z]) === 0) {
|
|
10075
|
+
j >>= F[Z + 1], R -= F[Z + 1], I.win[B++] = /* (byte) */
|
|
10076
10076
|
F[Z + 2], Y--;
|
|
10077
10077
|
continue;
|
|
10078
10078
|
}
|
|
10079
10079
|
do {
|
|
10080
|
-
if (
|
|
10081
|
-
for (
|
|
10082
|
-
(
|
|
10083
|
-
V--,
|
|
10084
|
-
b =
|
|
10080
|
+
if (j >>= F[Z + 1], R -= F[Z + 1], T & 16) {
|
|
10081
|
+
for (T &= 15, z = F[Z + 2] + /* (int) */
|
|
10082
|
+
(j & _t[T]), j >>= T, R -= T; R < 15; )
|
|
10083
|
+
V--, j |= (C.read_byte(D++) & 255) << R, R += 8;
|
|
10084
|
+
b = j & te, F = L, P = $, Z = (P + b) * 3, T = F[Z];
|
|
10085
10085
|
do
|
|
10086
|
-
if (
|
|
10087
|
-
for (
|
|
10088
|
-
V--,
|
|
10089
|
-
if (X = F[Z + 2] + (
|
|
10090
|
-
ee = B - X, B - ee > 0 && 2 > B - ee ? (
|
|
10086
|
+
if (j >>= F[Z + 1], R -= F[Z + 1], T & 16) {
|
|
10087
|
+
for (T &= 15; R < T; )
|
|
10088
|
+
V--, j |= (C.read_byte(D++) & 255) << R, R += 8;
|
|
10089
|
+
if (X = F[Z + 2] + (j & _t[T]), j >>= T, R -= T, Y -= z, B >= X)
|
|
10090
|
+
ee = B - X, B - ee > 0 && 2 > B - ee ? (I.win[B++] = I.win[ee++], I.win[B++] = I.win[ee++], z -= 2) : (I.win.set(I.win.subarray(ee, ee + 2), B), B += 2, ee += 2, z -= 2);
|
|
10091
10091
|
else {
|
|
10092
10092
|
ee = B - X;
|
|
10093
10093
|
do
|
|
10094
|
-
ee +=
|
|
10094
|
+
ee += I.end;
|
|
10095
10095
|
while (ee < 0);
|
|
10096
|
-
if (
|
|
10097
|
-
if (z -=
|
|
10096
|
+
if (T = I.end - ee, z > T) {
|
|
10097
|
+
if (z -= T, B - ee > 0 && T > B - ee)
|
|
10098
10098
|
do
|
|
10099
|
-
|
|
10100
|
-
while (--
|
|
10099
|
+
I.win[B++] = I.win[ee++];
|
|
10100
|
+
while (--T !== 0);
|
|
10101
10101
|
else
|
|
10102
|
-
|
|
10102
|
+
I.win.set(I.win.subarray(ee, ee + T), B), B += T, ee += T, T = 0;
|
|
10103
10103
|
ee = 0;
|
|
10104
10104
|
}
|
|
10105
10105
|
}
|
|
10106
10106
|
if (B - ee > 0 && z > B - ee)
|
|
10107
10107
|
do
|
|
10108
|
-
|
|
10108
|
+
I.win[B++] = I.win[ee++];
|
|
10109
10109
|
while (--z !== 0);
|
|
10110
10110
|
else
|
|
10111
|
-
|
|
10111
|
+
I.win.set(I.win.subarray(ee, ee + z), B), B += z, ee += z, z = 0;
|
|
10112
10112
|
break;
|
|
10113
|
-
} else if (!(
|
|
10114
|
-
b += F[Z + 2], b +=
|
|
10113
|
+
} else if (!(T & 64))
|
|
10114
|
+
b += F[Z + 2], b += j & _t[T], Z = (P + b) * 3, T = F[Z];
|
|
10115
10115
|
else
|
|
10116
|
-
return
|
|
10116
|
+
return C.msg = "invalid distance code", z = C.avail_in - V, z = R >> 3 < z ? R >> 3 : z, V += z, D -= z, R -= z << 3, I.bitb = j, I.bitk = R, C.avail_in = V, C.total_in += D - C.next_in_index, C.next_in_index = D, I.write = B, Le;
|
|
10117
10117
|
while (!0);
|
|
10118
10118
|
break;
|
|
10119
10119
|
}
|
|
10120
|
-
if (
|
|
10121
|
-
return
|
|
10122
|
-
if (b += F[Z + 2], b +=
|
|
10123
|
-
|
|
10120
|
+
if (T & 64)
|
|
10121
|
+
return T & 32 ? (z = C.avail_in - V, z = R >> 3 < z ? R >> 3 : z, V += z, D -= z, R -= z << 3, I.bitb = j, I.bitk = R, C.avail_in = V, C.total_in += D - C.next_in_index, C.next_in_index = D, I.write = B, sr) : (C.msg = "invalid literal/length code", z = C.avail_in - V, z = R >> 3 < z ? R >> 3 : z, V += z, D -= z, R -= z << 3, I.bitb = j, I.bitk = R, C.avail_in = V, C.total_in += D - C.next_in_index, C.next_in_index = D, I.write = B, Le);
|
|
10122
|
+
if (b += F[Z + 2], b += j & _t[T], Z = (P + b) * 3, (T = F[Z]) === 0) {
|
|
10123
|
+
j >>= F[Z + 1], R -= F[Z + 1], I.win[B++] = /* (byte) */
|
|
10124
10124
|
F[Z + 2], Y--;
|
|
10125
10125
|
break;
|
|
10126
10126
|
}
|
|
10127
10127
|
} while (!0);
|
|
10128
10128
|
} while (Y >= 258 && V >= 10);
|
|
10129
|
-
return z =
|
|
10129
|
+
return z = C.avail_in - V, z = R >> 3 < z ? R >> 3 : z, V += z, D -= z, R -= z << 3, I.bitb = j, I.bitk = R, C.avail_in = V, C.total_in += D - C.next_in_index, C.next_in_index = D, I.write = B, ve;
|
|
10130
10130
|
}
|
|
10131
|
-
e.init = function(w, _, O, E,
|
|
10131
|
+
e.init = function(w, _, O, E, L, $) {
|
|
10132
10132
|
t = $s, p = /* (byte) */
|
|
10133
10133
|
w, c = /* (byte) */
|
|
10134
|
-
_, d = O, m = E, y =
|
|
10134
|
+
_, d = O, m = E, y = L, S = $, i = null;
|
|
10135
10135
|
}, e.proc = function(w, _, O) {
|
|
10136
|
-
let E,
|
|
10137
|
-
for (b = _.next_in_index, F = _.avail_in,
|
|
10136
|
+
let E, L, $, I = 0, C = 0, b = 0, F, P, T, j;
|
|
10137
|
+
for (b = _.next_in_index, F = _.avail_in, I = w.bitb, C = w.bitk, P = w.write, T = P < w.read ? w.read - P - 1 : w.end - P; ; )
|
|
10138
10138
|
switch (t) {
|
|
10139
10139
|
case $s:
|
|
10140
|
-
if (
|
|
10140
|
+
if (T >= 258 && F >= 10 && (w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, O = g(p, c, d, m, y, S, w, _), b = _.next_in_index, F = _.avail_in, I = w.bitb, C = w.bitk, P = w.write, T = P < w.read ? w.read - P - 1 : w.end - P, O != ve)) {
|
|
10141
10141
|
t = O == sr ? Ta : Rs;
|
|
10142
10142
|
break;
|
|
10143
10143
|
}
|
|
10144
10144
|
s = p, i = d, a = m, t = Rf;
|
|
10145
10145
|
case Rf:
|
|
10146
|
-
for (E = s;
|
|
10146
|
+
for (E = s; C < E; ) {
|
|
10147
10147
|
if (F !== 0)
|
|
10148
10148
|
O = ve;
|
|
10149
10149
|
else
|
|
10150
|
-
return w.bitb =
|
|
10151
|
-
F--,
|
|
10150
|
+
return w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10151
|
+
F--, I |= (_.read_byte(b++) & 255) << C, C += 8;
|
|
10152
10152
|
}
|
|
10153
|
-
if (
|
|
10154
|
-
n = i[
|
|
10153
|
+
if (L = (a + (I & _t[E])) * 3, I >>>= i[L + 1], C -= i[L + 1], $ = i[L], $ === 0) {
|
|
10154
|
+
n = i[L + 2], t = jf;
|
|
10155
10155
|
break;
|
|
10156
10156
|
}
|
|
10157
10157
|
if ($ & 16) {
|
|
10158
|
-
o = $ & 15, r = i[
|
|
10158
|
+
o = $ & 15, r = i[L + 2], t = Ff;
|
|
10159
10159
|
break;
|
|
10160
10160
|
}
|
|
10161
10161
|
if (!($ & 64)) {
|
|
10162
|
-
s = $, a =
|
|
10162
|
+
s = $, a = L / 3 + i[L + 2];
|
|
10163
10163
|
break;
|
|
10164
10164
|
}
|
|
10165
10165
|
if ($ & 32) {
|
|
10166
10166
|
t = Ta;
|
|
10167
10167
|
break;
|
|
10168
10168
|
}
|
|
10169
|
-
return t = Rs, _.msg = "invalid literal/length code", O = Le, w.bitb =
|
|
10169
|
+
return t = Rs, _.msg = "invalid literal/length code", O = Le, w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10170
10170
|
case Ff:
|
|
10171
|
-
for (E = o;
|
|
10171
|
+
for (E = o; C < E; ) {
|
|
10172
10172
|
if (F !== 0)
|
|
10173
10173
|
O = ve;
|
|
10174
10174
|
else
|
|
10175
|
-
return w.bitb =
|
|
10176
|
-
F--,
|
|
10175
|
+
return w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10176
|
+
F--, I |= (_.read_byte(b++) & 255) << C, C += 8;
|
|
10177
10177
|
}
|
|
10178
|
-
r +=
|
|
10178
|
+
r += I & _t[E], I >>= E, C -= E, s = c, i = y, a = S, t = Lf;
|
|
10179
10179
|
case Lf:
|
|
10180
|
-
for (E = s;
|
|
10180
|
+
for (E = s; C < E; ) {
|
|
10181
10181
|
if (F !== 0)
|
|
10182
10182
|
O = ve;
|
|
10183
10183
|
else
|
|
10184
|
-
return w.bitb =
|
|
10185
|
-
F--,
|
|
10184
|
+
return w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10185
|
+
F--, I |= (_.read_byte(b++) & 255) << C, C += 8;
|
|
10186
10186
|
}
|
|
10187
|
-
if (
|
|
10188
|
-
o = $ & 15, l = i[
|
|
10187
|
+
if (L = (a + (I & _t[E])) * 3, I >>= i[L + 1], C -= i[L + 1], $ = i[L], $ & 16) {
|
|
10188
|
+
o = $ & 15, l = i[L + 2], t = If;
|
|
10189
10189
|
break;
|
|
10190
10190
|
}
|
|
10191
10191
|
if (!($ & 64)) {
|
|
10192
|
-
s = $, a =
|
|
10192
|
+
s = $, a = L / 3 + i[L + 2];
|
|
10193
10193
|
break;
|
|
10194
10194
|
}
|
|
10195
|
-
return t = Rs, _.msg = "invalid distance code", O = Le, w.bitb =
|
|
10195
|
+
return t = Rs, _.msg = "invalid distance code", O = Le, w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10196
10196
|
case If:
|
|
10197
|
-
for (E = o;
|
|
10197
|
+
for (E = o; C < E; ) {
|
|
10198
10198
|
if (F !== 0)
|
|
10199
10199
|
O = ve;
|
|
10200
10200
|
else
|
|
10201
|
-
return w.bitb =
|
|
10202
|
-
F--,
|
|
10201
|
+
return w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10202
|
+
F--, I |= (_.read_byte(b++) & 255) << C, C += 8;
|
|
10203
10203
|
}
|
|
10204
|
-
l +=
|
|
10204
|
+
l += I & _t[E], I >>= E, C -= E, t = Cf;
|
|
10205
10205
|
case Cf:
|
|
10206
|
-
for (
|
|
10207
|
-
|
|
10206
|
+
for (j = P - l; j < 0; )
|
|
10207
|
+
j += w.end;
|
|
10208
10208
|
for (; r !== 0; ) {
|
|
10209
|
-
if (
|
|
10210
|
-
return w.bitb =
|
|
10211
|
-
w.win[P++] = w.win[
|
|
10209
|
+
if (T === 0 && (P == w.end && w.read !== 0 && (P = 0, T = P < w.read ? w.read - P - 1 : w.end - P), T === 0 && (w.write = P, O = w.inflate_flush(_, O), P = w.write, T = P < w.read ? w.read - P - 1 : w.end - P, P == w.end && w.read !== 0 && (P = 0, T = P < w.read ? w.read - P - 1 : w.end - P), T === 0)))
|
|
10210
|
+
return w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10211
|
+
w.win[P++] = w.win[j++], T--, j == w.end && (j = 0), r--;
|
|
10212
10212
|
}
|
|
10213
10213
|
t = $s;
|
|
10214
10214
|
break;
|
|
10215
10215
|
case jf:
|
|
10216
|
-
if (
|
|
10217
|
-
return w.bitb =
|
|
10216
|
+
if (T === 0 && (P == w.end && w.read !== 0 && (P = 0, T = P < w.read ? w.read - P - 1 : w.end - P), T === 0 && (w.write = P, O = w.inflate_flush(_, O), P = w.write, T = P < w.read ? w.read - P - 1 : w.end - P, P == w.end && w.read !== 0 && (P = 0, T = P < w.read ? w.read - P - 1 : w.end - P), T === 0)))
|
|
10217
|
+
return w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10218
10218
|
O = ve, w.win[P++] = /* (byte) */
|
|
10219
|
-
n,
|
|
10219
|
+
n, T--, t = $s;
|
|
10220
10220
|
break;
|
|
10221
10221
|
case Ta:
|
|
10222
|
-
if (
|
|
10223
|
-
return w.bitb =
|
|
10222
|
+
if (C > 7 && (C -= 8, F++, b--), w.write = P, O = w.inflate_flush(_, O), P = w.write, T = P < w.read ? w.read - P - 1 : w.end - P, w.read != w.write)
|
|
10223
|
+
return w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10224
10224
|
t = Nf;
|
|
10225
10225
|
case Nf:
|
|
10226
|
-
return O = sr, w.bitb =
|
|
10226
|
+
return O = sr, w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10227
10227
|
case Rs:
|
|
10228
|
-
return O = Le, w.bitb =
|
|
10228
|
+
return O = Le, w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10229
10229
|
default:
|
|
10230
|
-
return O = dt, w.bitb =
|
|
10230
|
+
return O = dt, w.bitb = I, w.bitk = C, _.avail_in = F, _.total_in += b - _.next_in_index, _.next_in_index = b, w.write = P, w.inflate_flush(_, O);
|
|
10231
10231
|
}
|
|
10232
10232
|
}, e.free = function() {
|
|
10233
10233
|
};
|
|
@@ -10259,7 +10259,7 @@ function Kw(e, t) {
|
|
|
10259
10259
|
let i = Kr, a = 0, s = 0, n = 0, o;
|
|
10260
10260
|
const l = [0], p = [0], c = new Yw();
|
|
10261
10261
|
let d = 0, m = new Int32Array(mu * 3);
|
|
10262
|
-
const y = 0,
|
|
10262
|
+
const y = 0, S = new io();
|
|
10263
10263
|
r.bitk = 0, r.bitb = 0, r.win = new Uint8Array(t), r.end = t, r.read = 0, r.write = 0, r.reset = function(g, w) {
|
|
10264
10264
|
w && (w[0] = y), i == Fs && c.free(g), i = Kr, r.bitk = 0, r.bitb = 0, r.read = r.write = 0;
|
|
10265
10265
|
}, r.reset(e, null), r.inflate_flush = function(g, w) {
|
|
@@ -10267,18 +10267,18 @@ function Kw(e, t) {
|
|
|
10267
10267
|
return O = g.next_out_index, E = r.read, _ = /* (int) */
|
|
10268
10268
|
(E <= r.write ? r.write : r.end) - E, _ > g.avail_out && (_ = g.avail_out), _ !== 0 && w == ir && (w = ve), g.avail_out -= _, g.total_out += _, g.next_out.set(r.win.subarray(E, E + _), O), O += _, E += _, E == r.end && (E = 0, r.write == r.end && (r.write = 0), _ = r.write - E, _ > g.avail_out && (_ = g.avail_out), _ !== 0 && w == ir && (w = ve), g.avail_out -= _, g.total_out += _, g.next_out.set(r.win.subarray(E, E + _), O), O += _, E += _), g.next_out_index = O, r.read = E, w;
|
|
10269
10269
|
}, r.proc = function(g, w) {
|
|
10270
|
-
let _, O, E,
|
|
10271
|
-
for (
|
|
10272
|
-
|
|
10273
|
-
let F, P,
|
|
10270
|
+
let _, O, E, L, $, I, C, b;
|
|
10271
|
+
for (L = g.next_in_index, $ = g.avail_in, O = r.bitb, E = r.bitk, I = r.write, C = /* (int) */
|
|
10272
|
+
I < r.read ? r.read - I - 1 : r.end - I; ; ) {
|
|
10273
|
+
let F, P, T, j, R, D, V, B;
|
|
10274
10274
|
switch (i) {
|
|
10275
10275
|
case Kr:
|
|
10276
10276
|
for (; E < 3; ) {
|
|
10277
10277
|
if ($ !== 0)
|
|
10278
10278
|
w = ve;
|
|
10279
10279
|
else
|
|
10280
|
-
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10281
|
-
$--, O |= (g.read_byte(
|
|
10280
|
+
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10281
|
+
$--, O |= (g.read_byte(L++) & 255) << E, E += 8;
|
|
10282
10282
|
}
|
|
10283
10283
|
switch (_ = /* (int) */
|
|
10284
10284
|
O & 7, d = _ & 1, _ >>> 1) {
|
|
@@ -10286,13 +10286,13 @@ function Kw(e, t) {
|
|
|
10286
10286
|
O >>>= 3, E -= 3, _ = E & 7, O >>>= _, E -= _, i = Oa;
|
|
10287
10287
|
break;
|
|
10288
10288
|
case 1:
|
|
10289
|
-
F = [], P = [],
|
|
10289
|
+
F = [], P = [], T = [[]], j = [[]], io.inflate_trees_fixed(F, P, T, j), c.init(F[0], P[0], T[0], 0, j[0], 0), O >>>= 3, E -= 3, i = Fs;
|
|
10290
10290
|
break;
|
|
10291
10291
|
case 2:
|
|
10292
10292
|
O >>>= 3, E -= 3, i = Bf;
|
|
10293
10293
|
break;
|
|
10294
10294
|
case 3:
|
|
10295
|
-
return O >>>= 3, E -= 3, i = kr, g.msg = "invalid block type", w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10295
|
+
return O >>>= 3, E -= 3, i = kr, g.msg = "invalid block type", w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10296
10296
|
}
|
|
10297
10297
|
break;
|
|
10298
10298
|
case Oa:
|
|
@@ -10300,20 +10300,20 @@ function Kw(e, t) {
|
|
|
10300
10300
|
if ($ !== 0)
|
|
10301
10301
|
w = ve;
|
|
10302
10302
|
else
|
|
10303
|
-
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10304
|
-
$--, O |= (g.read_byte(
|
|
10303
|
+
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10304
|
+
$--, O |= (g.read_byte(L++) & 255) << E, E += 8;
|
|
10305
10305
|
}
|
|
10306
10306
|
if ((~O >>> 16 & 65535) != (O & 65535))
|
|
10307
|
-
return i = kr, g.msg = "invalid stored block lengths", w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10307
|
+
return i = kr, g.msg = "invalid stored block lengths", w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10308
10308
|
a = O & 65535, O = E = 0, i = a !== 0 ? Uf : d !== 0 ? Ls : Kr;
|
|
10309
10309
|
break;
|
|
10310
10310
|
case Uf:
|
|
10311
|
-
if ($ === 0 ||
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10316
|
-
if (w = ve, _ = a, _ > $ && (_ = $), _ >
|
|
10311
|
+
if ($ === 0 || C === 0 && (I == r.end && r.read !== 0 && (I = 0, C = /* (int) */
|
|
10312
|
+
I < r.read ? r.read - I - 1 : r.end - I), C === 0 && (r.write = I, w = r.inflate_flush(g, w), I = r.write, C = /* (int) */
|
|
10313
|
+
I < r.read ? r.read - I - 1 : r.end - I, I == r.end && r.read !== 0 && (I = 0, C = /* (int) */
|
|
10314
|
+
I < r.read ? r.read - I - 1 : r.end - I), C === 0)))
|
|
10315
|
+
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10316
|
+
if (w = ve, _ = a, _ > $ && (_ = $), _ > C && (_ = C), r.win.set(g.read_buf(L, _), I), L += _, $ -= _, I += _, C -= _, (a -= _) !== 0)
|
|
10317
10317
|
break;
|
|
10318
10318
|
i = d !== 0 ? Ls : Kr;
|
|
10319
10319
|
break;
|
|
@@ -10322,11 +10322,11 @@ function Kw(e, t) {
|
|
|
10322
10322
|
if ($ !== 0)
|
|
10323
10323
|
w = ve;
|
|
10324
10324
|
else
|
|
10325
|
-
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10326
|
-
$--, O |= (g.read_byte(
|
|
10325
|
+
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10326
|
+
$--, O |= (g.read_byte(L++) & 255) << E, E += 8;
|
|
10327
10327
|
}
|
|
10328
10328
|
if (s = _ = O & 16383, (_ & 31) > 29 || (_ >> 5 & 31) > 29)
|
|
10329
|
-
return i = kr, g.msg = "too many length or distance symbols", w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10329
|
+
return i = kr, g.msg = "too many length or distance symbols", w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10330
10330
|
if (_ = 258 + (_ & 31) + (_ >> 5 & 31), !o || o.length < _)
|
|
10331
10331
|
o = [];
|
|
10332
10332
|
else
|
|
@@ -10339,15 +10339,15 @@ function Kw(e, t) {
|
|
|
10339
10339
|
if ($ !== 0)
|
|
10340
10340
|
w = ve;
|
|
10341
10341
|
else
|
|
10342
|
-
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10343
|
-
$--, O |= (g.read_byte(
|
|
10342
|
+
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10343
|
+
$--, O |= (g.read_byte(L++) & 255) << E, E += 8;
|
|
10344
10344
|
}
|
|
10345
10345
|
o[Df[n++]] = O & 7, O >>>= 3, E -= 3;
|
|
10346
10346
|
}
|
|
10347
10347
|
for (; n < 19; )
|
|
10348
10348
|
o[Df[n++]] = 0;
|
|
10349
|
-
if (l[0] = 7, _ =
|
|
10350
|
-
return w = _, w == Le && (o = null, i = kr), r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10349
|
+
if (l[0] = 7, _ = S.inflate_trees_bits(o, l, p, m, g), _ != ve)
|
|
10350
|
+
return w = _, w == Le && (o = null, i = kr), r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10351
10351
|
n = 0, i = Mf;
|
|
10352
10352
|
case Mf:
|
|
10353
10353
|
for (; _ = s, !(n >= 258 + (_ & 31) + (_ >> 5 & 31)); ) {
|
|
@@ -10356,8 +10356,8 @@ function Kw(e, t) {
|
|
|
10356
10356
|
if ($ !== 0)
|
|
10357
10357
|
w = ve;
|
|
10358
10358
|
else
|
|
10359
|
-
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10360
|
-
$--, O |= (g.read_byte(
|
|
10359
|
+
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10360
|
+
$--, O |= (g.read_byte(L++) & 255) << E, E += 8;
|
|
10361
10361
|
}
|
|
10362
10362
|
if (_ = m[(p[0] + (O & _t[_])) * 3 + 1], G = m[(p[0] + (O & _t[_])) * 3 + 2], G < 16)
|
|
10363
10363
|
O >>>= _, E -= _, o[n++] = G;
|
|
@@ -10366,11 +10366,11 @@ function Kw(e, t) {
|
|
|
10366
10366
|
if ($ !== 0)
|
|
10367
10367
|
w = ve;
|
|
10368
10368
|
else
|
|
10369
|
-
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10370
|
-
$--, O |= (g.read_byte(
|
|
10369
|
+
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10370
|
+
$--, O |= (g.read_byte(L++) & 255) << E, E += 8;
|
|
10371
10371
|
}
|
|
10372
10372
|
if (O >>>= _, E -= _, Y += O & _t[b], O >>>= b, E -= b, b = n, _ = s, b + Y > 258 + (_ & 31) + (_ >> 5 & 31) || G == 16 && b < 1)
|
|
10373
|
-
return o = null, i = kr, g.msg = "invalid bit length repeat", w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10373
|
+
return o = null, i = kr, g.msg = "invalid bit length repeat", w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10374
10374
|
G = G == 16 ? o[b - 1] : 0;
|
|
10375
10375
|
do
|
|
10376
10376
|
o[b++] = G;
|
|
@@ -10378,29 +10378,29 @@ function Kw(e, t) {
|
|
|
10378
10378
|
n = b;
|
|
10379
10379
|
}
|
|
10380
10380
|
}
|
|
10381
|
-
if (p[0] = -1, R = [], D = [], V = [], B = [], R[0] = 9, D[0] = 6, _ = s, _ =
|
|
10382
|
-
return _ == Le && (o = null, i = kr), w = _, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10381
|
+
if (p[0] = -1, R = [], D = [], V = [], B = [], R[0] = 9, D[0] = 6, _ = s, _ = S.inflate_trees_dynamic(257 + (_ & 31), 1 + (_ >> 5 & 31), o, R, D, V, B, m, g), _ != ve)
|
|
10382
|
+
return _ == Le && (o = null, i = kr), w = _, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10383
10383
|
c.init(R[0], D[0], m, V[0], m, B[0]), i = Fs;
|
|
10384
10384
|
case Fs:
|
|
10385
|
-
if (r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10385
|
+
if (r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, (w = c.proc(r, g, w)) != sr)
|
|
10386
10386
|
return r.inflate_flush(g, w);
|
|
10387
|
-
if (w = ve, c.free(g),
|
|
10388
|
-
|
|
10387
|
+
if (w = ve, c.free(g), L = g.next_in_index, $ = g.avail_in, O = r.bitb, E = r.bitk, I = r.write, C = /* (int) */
|
|
10388
|
+
I < r.read ? r.read - I - 1 : r.end - I, d === 0) {
|
|
10389
10389
|
i = Kr;
|
|
10390
10390
|
break;
|
|
10391
10391
|
}
|
|
10392
10392
|
i = Ls;
|
|
10393
10393
|
case Ls:
|
|
10394
|
-
if (r.write =
|
|
10395
|
-
|
|
10396
|
-
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10394
|
+
if (r.write = I, w = r.inflate_flush(g, w), I = r.write, C = /* (int) */
|
|
10395
|
+
I < r.read ? r.read - I - 1 : r.end - I, r.read != r.write)
|
|
10396
|
+
return r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10397
10397
|
i = Wf;
|
|
10398
10398
|
case Wf:
|
|
10399
|
-
return w = sr, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10399
|
+
return w = sr, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10400
10400
|
case kr:
|
|
10401
|
-
return w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10401
|
+
return w = Le, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10402
10402
|
default:
|
|
10403
|
-
return w = dt, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in +=
|
|
10403
|
+
return w = dt, r.bitb = O, r.bitk = E, g.avail_in = $, g.total_in += L - g.next_in_index, g.next_in_index = L, r.write = I, r.inflate_flush(g, w);
|
|
10404
10404
|
}
|
|
10405
10405
|
}
|
|
10406
10406
|
}, r.free = function(g) {
|
|
@@ -10542,7 +10542,7 @@ function r1(e) {
|
|
|
10542
10542
|
let n = !1;
|
|
10543
10543
|
r.inflateInit(), r.next_out = s, t.append = function(o, l) {
|
|
10544
10544
|
const p = [];
|
|
10545
|
-
let c, d, m = 0, y = 0,
|
|
10545
|
+
let c, d, m = 0, y = 0, S = 0;
|
|
10546
10546
|
if (o.length !== 0) {
|
|
10547
10547
|
r.next_in_index = 0, r.next_in = o, r.avail_in = o.length;
|
|
10548
10548
|
do {
|
|
@@ -10553,9 +10553,9 @@ function r1(e) {
|
|
|
10553
10553
|
throw new Error("inflating: " + r.msg);
|
|
10554
10554
|
if ((n || c === sr) && r.avail_in === o.length)
|
|
10555
10555
|
throw new Error("inflating: bad input");
|
|
10556
|
-
r.next_out_index && (r.next_out_index === i ? p.push(new Uint8Array(s)) : p.push(s.subarray(0, r.next_out_index))),
|
|
10556
|
+
r.next_out_index && (r.next_out_index === i ? p.push(new Uint8Array(s)) : p.push(s.subarray(0, r.next_out_index))), S += r.next_out_index, l && r.next_in_index > 0 && r.next_in_index != m && (l(r.next_in_index), m = r.next_in_index);
|
|
10557
10557
|
} while (r.avail_in > 0 || r.avail_out === 0);
|
|
10558
|
-
return p.length > 1 ? (d = new Uint8Array(
|
|
10558
|
+
return p.length > 1 ? (d = new Uint8Array(S), p.forEach(function(g) {
|
|
10559
10559
|
d.set(g, y), y += g.length;
|
|
10560
10560
|
})) : d = p[0] ? new Uint8Array(p[0]) : new Uint8Array(), d;
|
|
10561
10561
|
}
|
|
@@ -12506,8 +12506,8 @@ vu.aes = class {
|
|
|
12506
12506
|
let d = n ^ n << 1 ^ n << 2 ^ n << 3 ^ n << 4;
|
|
12507
12507
|
d = d >> 8 ^ d & 255 ^ 99, r[c] = d, i[d] = c, p = a[l = a[o = a[c]]];
|
|
12508
12508
|
let m = p * 16843009 ^ l * 65537 ^ o * 257 ^ c * 16843008, y = a[d] * 257 ^ d * 16843008;
|
|
12509
|
-
for (let
|
|
12510
|
-
e[
|
|
12509
|
+
for (let S = 0; S < 4; S++)
|
|
12510
|
+
e[S][c] = y = y << 24 ^ y >>> 8, t[S][d] = m = m << 24 ^ m >>> 8;
|
|
12511
12511
|
}
|
|
12512
12512
|
for (let c = 0; c < 5; c++)
|
|
12513
12513
|
e[c] = e[c].slice(0), t[c] = t[c].slice(0);
|
|
@@ -12523,11 +12523,11 @@ vu.aes = class {
|
|
|
12523
12523
|
if (e.length !== 4)
|
|
12524
12524
|
throw new Error("invalid aes block size");
|
|
12525
12525
|
const r = this._key[t], i = r.length / 4 - 2, a = [0, 0, 0, 0], s = this._tables[t], n = s[0], o = s[1], l = s[2], p = s[3], c = s[4];
|
|
12526
|
-
let d = e[0] ^ r[0], m = e[t ? 3 : 1] ^ r[1], y = e[2] ^ r[2],
|
|
12526
|
+
let d = e[0] ^ r[0], m = e[t ? 3 : 1] ^ r[1], y = e[2] ^ r[2], S = e[t ? 1 : 3] ^ r[3], g = 4, w, _, O;
|
|
12527
12527
|
for (let E = 0; E < i; E++)
|
|
12528
|
-
w = n[d >>> 24] ^ o[m >> 16 & 255] ^ l[y >> 8 & 255] ^ p[
|
|
12528
|
+
w = n[d >>> 24] ^ o[m >> 16 & 255] ^ l[y >> 8 & 255] ^ p[S & 255] ^ r[g], _ = n[m >>> 24] ^ o[y >> 16 & 255] ^ l[S >> 8 & 255] ^ p[d & 255] ^ r[g + 1], O = n[y >>> 24] ^ o[S >> 16 & 255] ^ l[d >> 8 & 255] ^ p[m & 255] ^ r[g + 2], S = n[S >>> 24] ^ o[d >> 16 & 255] ^ l[m >> 8 & 255] ^ p[y & 255] ^ r[g + 3], g += 4, d = w, m = _, y = O;
|
|
12529
12529
|
for (let E = 0; E < 4; E++)
|
|
12530
|
-
a[t ? 3 & -E : E] = c[d >>> 24] << 24 ^ c[m >> 16 & 255] << 16 ^ c[y >> 8 & 255] << 8 ^ c[
|
|
12530
|
+
a[t ? 3 & -E : E] = c[d >>> 24] << 24 ^ c[m >> 16 & 255] << 16 ^ c[y >> 8 & 255] << 8 ^ c[S & 255] ^ r[g++], w = d, d = m, m = y, y = S, S = w;
|
|
12531
12531
|
return a;
|
|
12532
12532
|
}
|
|
12533
12533
|
};
|
|
@@ -12679,12 +12679,12 @@ class C1 extends TransformStream {
|
|
|
12679
12679
|
if (p && l) {
|
|
12680
12680
|
await d;
|
|
12681
12681
|
const m = Ot(c, 0, c.length - hr), y = Ot(c, c.length - hr);
|
|
12682
|
-
let
|
|
12682
|
+
let S = new Uint8Array();
|
|
12683
12683
|
if (m.length) {
|
|
12684
12684
|
const g = Qn(Xt, m);
|
|
12685
12685
|
p.update(g);
|
|
12686
12686
|
const w = l.update(g);
|
|
12687
|
-
|
|
12687
|
+
S = Jn(Xt, w);
|
|
12688
12688
|
}
|
|
12689
12689
|
if (o) {
|
|
12690
12690
|
const g = Ot(Jn(Xt, p.digest()), 0, hr);
|
|
@@ -12692,7 +12692,7 @@ class C1 extends TransformStream {
|
|
|
12692
12692
|
if (g[w] != y[w])
|
|
12693
12693
|
throw new Error(Pu);
|
|
12694
12694
|
}
|
|
12695
|
-
n.enqueue(
|
|
12695
|
+
n.enqueue(S);
|
|
12696
12696
|
}
|
|
12697
12697
|
}
|
|
12698
12698
|
});
|
|
@@ -12910,8 +12910,8 @@ class H1 extends TransformStream {
|
|
|
12910
12910
|
constructor(t, { chunkSize: r, CompressionStream: i, CompressionStreamNative: a }) {
|
|
12911
12911
|
super({});
|
|
12912
12912
|
const { compressed: s, encrypted: n, useCompressionStream: o, zipCrypto: l, signed: p, level: c } = t, d = this;
|
|
12913
|
-
let m, y,
|
|
12914
|
-
(!n || l) && p && (m = new bu(),
|
|
12913
|
+
let m, y, S = Iu(super.readable);
|
|
12914
|
+
(!n || l) && p && (m = new bu(), S = Jt(S, m)), s && (S = ju(S, o, { level: c, chunkSize: r }, a, i)), n && (l ? S = Jt(S, new W1(t)) : (y = new j1(t), S = Jt(S, y))), Cu(d, S, () => {
|
|
12915
12915
|
let g;
|
|
12916
12916
|
n && !l && (g = y.signature), (!n || l) && p && (g = new DataView(m.value.buffer).getUint32(0)), d.signature = g;
|
|
12917
12917
|
});
|
|
@@ -12924,8 +12924,8 @@ class z1 extends TransformStream {
|
|
|
12924
12924
|
let d, m, y = Iu(super.readable);
|
|
12925
12925
|
n && (s ? y = Jt(y, new M1(t)) : (m = new C1(t), y = Jt(y, m))), p && (y = ju(y, c, { chunkSize: r }, a, i)), (!n || s) && o && (d = new bu(), y = Jt(y, d)), Cu(this, y, () => {
|
|
12926
12926
|
if ((!n || s) && o) {
|
|
12927
|
-
const
|
|
12928
|
-
if (l !=
|
|
12927
|
+
const S = new DataView(d.value.buffer);
|
|
12928
|
+
if (l != S.getUint32(0, !1))
|
|
12929
12929
|
throw new Error(Pu);
|
|
12930
12930
|
}
|
|
12931
12931
|
});
|
|
@@ -13032,8 +13032,8 @@ class La {
|
|
|
13032
13032
|
transferStreams: l,
|
|
13033
13033
|
terminate() {
|
|
13034
13034
|
return new Promise((m) => {
|
|
13035
|
-
const { worker: y, busy:
|
|
13036
|
-
y ? (
|
|
13035
|
+
const { worker: y, busy: S } = t;
|
|
13036
|
+
y ? (S ? t.resolveTerminated = m : (y.terminate(), m()), t.interface = null) : m();
|
|
13037
13037
|
});
|
|
13038
13038
|
},
|
|
13039
13039
|
onTaskFinished() {
|
|
@@ -13188,20 +13188,20 @@ async function ib({ data: e }, t) {
|
|
|
13188
13188
|
const { type: r, value: i, messageId: a, result: s, error: n } = e, { reader: o, writer: l, resolveResult: p, rejectResult: c, onTaskFinished: d } = t;
|
|
13189
13189
|
try {
|
|
13190
13190
|
if (n) {
|
|
13191
|
-
const { message: y, stack:
|
|
13192
|
-
Object.assign(_, { stack:
|
|
13191
|
+
const { message: y, stack: S, code: g, name: w } = n, _ = new Error(y);
|
|
13192
|
+
Object.assign(_, { stack: S, code: g, name: w }), m(_);
|
|
13193
13193
|
} else {
|
|
13194
13194
|
if (r == G1) {
|
|
13195
|
-
const { value: y, done:
|
|
13196
|
-
zs({ type: up, value: y, done:
|
|
13195
|
+
const { value: y, done: S } = await o.read();
|
|
13196
|
+
zs({ type: up, value: y, done: S, messageId: a }, t);
|
|
13197
13197
|
}
|
|
13198
13198
|
r == up && (await l.ready, await l.write(new Uint8Array(i)), zs({ type: Y1, messageId: a }, t)), r == dp && m(null, s);
|
|
13199
13199
|
}
|
|
13200
13200
|
} catch (y) {
|
|
13201
13201
|
zs({ type: dp, messageId: a }, t), m(y);
|
|
13202
13202
|
}
|
|
13203
|
-
function m(y,
|
|
13204
|
-
y ? c(y) : p(
|
|
13203
|
+
function m(y, S) {
|
|
13204
|
+
y ? c(y) : p(S), l && l.releaseLock(), d();
|
|
13205
13205
|
}
|
|
13206
13206
|
}
|
|
13207
13207
|
let Tr = [];
|
|
@@ -13211,8 +13211,8 @@ async function ab(e, t) {
|
|
|
13211
13211
|
const { options: r, config: i } = t, { transferStreams: a, useWebWorkers: s, useCompressionStream: n, codecType: o, compressed: l, signed: p, encrypted: c } = r, { workerScripts: d, maxWorkers: m } = i;
|
|
13212
13212
|
t.transferStreams = a || a === ft;
|
|
13213
13213
|
const y = !l && !p && !c && !t.transferStreams;
|
|
13214
|
-
return t.useWebWorkers = !y && (s || s === ft && i.useWebWorkers), t.scripts = t.useWebWorkers && d ? d[o] : [], r.useCompressionStream = n || n === ft && i.useCompressionStream, (await
|
|
13215
|
-
async function
|
|
13214
|
+
return t.useWebWorkers = !y && (s || s === ft && i.useWebWorkers), t.scripts = t.useWebWorkers && d ? d[o] : [], r.useCompressionStream = n || n === ft && i.useCompressionStream, (await S()).run();
|
|
13215
|
+
async function S() {
|
|
13216
13216
|
const w = Tr.find((_) => !_.busy);
|
|
13217
13217
|
if (w)
|
|
13218
13218
|
return gp(w), new La(w, e, t, g);
|
|
@@ -13483,53 +13483,53 @@ class Pp {
|
|
|
13483
13483
|
i.chunkSize = x1(a);
|
|
13484
13484
|
const s = await Zb(i, l1, i.size, Xr, mr * 16);
|
|
13485
13485
|
if (!s) {
|
|
13486
|
-
const P = await et(i, 0, 4),
|
|
13487
|
-
throw Be(
|
|
13486
|
+
const P = await et(i, 0, 4), T = Ye(P);
|
|
13487
|
+
throw Be(T) == o1 ? new Error(vp) : new Error(Lb);
|
|
13488
13488
|
}
|
|
13489
13489
|
const n = Ye(s);
|
|
13490
13490
|
let o = Be(n, 12), l = Be(n, 16);
|
|
13491
13491
|
const p = s.offset, c = Ge(n, 20), d = p + Xr + c;
|
|
13492
13492
|
let m = Ge(n, 4);
|
|
13493
13493
|
const y = i.lastDiskNumber || 0;
|
|
13494
|
-
let
|
|
13495
|
-
if (l == Fr || o == Fr || g == mr ||
|
|
13496
|
-
const P = await et(i, s.offset - $a, $a),
|
|
13497
|
-
if (Be(
|
|
13498
|
-
l = Zs(
|
|
13499
|
-
let
|
|
13494
|
+
let S = Ge(n, 6), g = Ge(n, 8), w = 0, _ = 0;
|
|
13495
|
+
if (l == Fr || o == Fr || g == mr || S == mr) {
|
|
13496
|
+
const P = await et(i, s.offset - $a, $a), T = Ye(P);
|
|
13497
|
+
if (Be(T, 0) == f1) {
|
|
13498
|
+
l = Zs(T, 8);
|
|
13499
|
+
let j = await et(i, l, Ra, -1), R = Ye(j);
|
|
13500
13500
|
const D = s.offset - $a - Ra;
|
|
13501
13501
|
if (Be(R, 0) != Xf && l != D) {
|
|
13502
13502
|
const V = l;
|
|
13503
|
-
l = D, w = l - V,
|
|
13503
|
+
l = D, w = l - V, j = await et(i, l, Ra, -1), R = Ye(j);
|
|
13504
13504
|
}
|
|
13505
13505
|
if (Be(R, 0) != Xf)
|
|
13506
13506
|
throw new Error(Ib);
|
|
13507
|
-
m == mr && (m = Be(R, 16)),
|
|
13507
|
+
m == mr && (m = Be(R, 16)), S == mr && (S = Be(R, 20)), g == mr && (g = Zs(R, 32)), o == Fr && (o = Zs(R, 40)), l -= o;
|
|
13508
13508
|
}
|
|
13509
13509
|
}
|
|
13510
13510
|
if (l >= i.size && (w = i.size - l - o - Xr, l = i.size - o - Xr), y != m)
|
|
13511
13511
|
throw new Error(vp);
|
|
13512
13512
|
if (l < 0)
|
|
13513
13513
|
throw new Error(ja);
|
|
13514
|
-
let O = 0, E = await et(i, l, o,
|
|
13514
|
+
let O = 0, E = await et(i, l, o, S), L = Ye(E);
|
|
13515
13515
|
if (o) {
|
|
13516
13516
|
const P = s.offset - o;
|
|
13517
|
-
if (Be(
|
|
13518
|
-
const
|
|
13519
|
-
l = P, w += l -
|
|
13517
|
+
if (Be(L, O) != Kf && l != P) {
|
|
13518
|
+
const T = l;
|
|
13519
|
+
l = P, w += l - T, E = await et(i, l, o, S), L = Ye(E);
|
|
13520
13520
|
}
|
|
13521
13521
|
}
|
|
13522
13522
|
const $ = s.offset - l - (i.lastDiskOffset || 0);
|
|
13523
|
-
if (o != $ && $ >= 0 && (o = $, E = await et(i, l, o,
|
|
13523
|
+
if (o != $ && $ >= 0 && (o = $, E = await et(i, l, o, S), L = Ye(E)), l < 0 || l >= i.size)
|
|
13524
13524
|
throw new Error(ja);
|
|
13525
|
-
const
|
|
13525
|
+
const I = at(r, t, "filenameEncoding"), C = at(r, t, "commentEncoding");
|
|
13526
13526
|
for (let P = 0; P < g; P++) {
|
|
13527
|
-
const
|
|
13528
|
-
if (Be(
|
|
13527
|
+
const T = new Mb(i, a, r.options);
|
|
13528
|
+
if (Be(L, O) != Kf)
|
|
13529
13529
|
throw new Error(Cb);
|
|
13530
|
-
Ju(
|
|
13531
|
-
const
|
|
13532
|
-
Object.assign(
|
|
13530
|
+
Ju(T, L, O + 6);
|
|
13531
|
+
const j = !!T.bitFlag.languageEncodingFlag, R = O + 46, D = R + T.filenameLength, V = D + T.extraFieldLength, B = Ge(L, O + 4), Y = B >> 8 == 0, G = B >> 8 == 3, te = E.subarray(R, D), z = Ge(L, O + 32), X = V + z, ee = E.subarray(V, X), Z = j, fe = j, oe = Be(L, O + 38), ie = Y && (pn(L, O + 38) & tp) == tp || G && (oe >> 16 & rp) == rp || te.length && te[te.length - 1] == sp.charCodeAt(0), Ae = G && (oe >> 16 & np) == np, Oe = Be(L, O + 42) + w;
|
|
13532
|
+
Object.assign(T, {
|
|
13533
13533
|
versionMadeBy: B,
|
|
13534
13534
|
msDosCompatible: Y,
|
|
13535
13535
|
compressedSize: 0,
|
|
@@ -13537,31 +13537,31 @@ class Pp {
|
|
|
13537
13537
|
commentLength: z,
|
|
13538
13538
|
directory: ie,
|
|
13539
13539
|
offset: Oe,
|
|
13540
|
-
diskNumberStart: Ge(
|
|
13541
|
-
internalFileAttributes: Ge(
|
|
13540
|
+
diskNumberStart: Ge(L, O + 34),
|
|
13541
|
+
internalFileAttributes: Ge(L, O + 36),
|
|
13542
13542
|
externalFileAttributes: oe,
|
|
13543
13543
|
rawFilename: te,
|
|
13544
13544
|
filenameUTF8: Z,
|
|
13545
13545
|
commentUTF8: fe,
|
|
13546
13546
|
rawExtraField: E.subarray(D, V),
|
|
13547
13547
|
executable: Ae
|
|
13548
|
-
}),
|
|
13549
|
-
const Xe = at(r, t, "decodeText") || Vs, rt = Z ? xp :
|
|
13548
|
+
}), T.internalFileAttribute = T.internalFileAttributes, T.externalFileAttribute = T.externalFileAttributes;
|
|
13549
|
+
const Xe = at(r, t, "decodeText") || Vs, rt = Z ? xp : I || kp, Et = fe ? xp : C || kp;
|
|
13550
13550
|
let Ie = Xe(te, rt);
|
|
13551
13551
|
Ie === ft && (Ie = Vs(te, rt));
|
|
13552
13552
|
let Ce = Xe(ee, Et);
|
|
13553
|
-
Ce === ft && (Ce = Vs(ee, Et)), Object.assign(
|
|
13553
|
+
Ce === ft && (Ce = Vs(ee, Et)), Object.assign(T, {
|
|
13554
13554
|
rawComment: ee,
|
|
13555
13555
|
filename: Ie,
|
|
13556
13556
|
comment: Ce,
|
|
13557
13557
|
directory: ie || Ie.endsWith(sp)
|
|
13558
|
-
}), _ = Math.max(Oe, _), Qu(
|
|
13559
|
-
const pt = new bp(
|
|
13560
|
-
pt.getData = (x, u) =>
|
|
13558
|
+
}), _ = Math.max(Oe, _), Qu(T, T, L, O + 6), T.zipCrypto = T.encrypted && !T.extraFieldAES;
|
|
13559
|
+
const pt = new bp(T);
|
|
13560
|
+
pt.getData = (x, u) => T.getData(x, pt, u), O = X;
|
|
13561
13561
|
const { onprogress: Re } = t;
|
|
13562
13562
|
if (Re)
|
|
13563
13563
|
try {
|
|
13564
|
-
await Re(P + 1, g, new bp(
|
|
13564
|
+
await Re(P + 1, g, new bp(T));
|
|
13565
13565
|
} catch {
|
|
13566
13566
|
}
|
|
13567
13567
|
yield pt;
|
|
@@ -13597,12 +13597,12 @@ class Mb {
|
|
|
13597
13597
|
bitFlag: d,
|
|
13598
13598
|
signature: m,
|
|
13599
13599
|
rawLastModDate: y,
|
|
13600
|
-
uncompressedSize:
|
|
13600
|
+
uncompressedSize: S,
|
|
13601
13601
|
compressedSize: g
|
|
13602
13602
|
} = a, w = r.localDirectory = {}, _ = await et(s, n, 30, o), O = Ye(_);
|
|
13603
|
-
let E = at(a, i, "password"),
|
|
13603
|
+
let E = at(a, i, "password"), L = at(a, i, "rawPassword");
|
|
13604
13604
|
const $ = at(a, i, "passThrough");
|
|
13605
|
-
if (E = E && E.length && E,
|
|
13605
|
+
if (E = E && E.length && E, L = L && L.length && L, l && l.originalCompressionMethod != i1)
|
|
13606
13606
|
throw new Error(_p);
|
|
13607
13607
|
if (p != s1 && p != n1 && !$)
|
|
13608
13608
|
throw new Error(_p);
|
|
@@ -13612,11 +13612,11 @@ class Mb {
|
|
|
13612
13612
|
lastAccessDate: w.lastAccessDate,
|
|
13613
13613
|
creationDate: w.creationDate
|
|
13614
13614
|
});
|
|
13615
|
-
const
|
|
13616
|
-
if ($ || (r.zipCrypto =
|
|
13617
|
-
if (!
|
|
13615
|
+
const I = a.encrypted && w.encrypted && !$, C = I && !l;
|
|
13616
|
+
if ($ || (r.zipCrypto = C), I) {
|
|
13617
|
+
if (!C && l.strength === ft)
|
|
13618
13618
|
throw new Error(Ub);
|
|
13619
|
-
if (!E && !
|
|
13619
|
+
if (!E && !L)
|
|
13620
13620
|
throw new Error(Db);
|
|
13621
13621
|
}
|
|
13622
13622
|
const b = n + 30 + w.filenameLength + w.extraFieldLength, F = g, P = s.readable;
|
|
@@ -13625,39 +13625,39 @@ class Mb {
|
|
|
13625
13625
|
offset: b,
|
|
13626
13626
|
size: F
|
|
13627
13627
|
});
|
|
13628
|
-
const
|
|
13629
|
-
|
|
13628
|
+
const T = at(a, i, "signal"), j = at(a, i, "checkPasswordOnly");
|
|
13629
|
+
j && (t = new WritableStream()), t = mb(t), await pi(t, $ ? g : S);
|
|
13630
13630
|
const { writable: R } = t, { onstart: D, onprogress: V, onend: B } = i, Y = {
|
|
13631
13631
|
options: {
|
|
13632
13632
|
codecType: Nu,
|
|
13633
13633
|
password: E,
|
|
13634
|
-
rawPassword:
|
|
13635
|
-
zipCrypto:
|
|
13634
|
+
rawPassword: L,
|
|
13635
|
+
zipCrypto: C,
|
|
13636
13636
|
encryptionStrength: l && l.strength,
|
|
13637
13637
|
signed: at(a, i, "checkSignature") && !$,
|
|
13638
|
-
passwordVerification:
|
|
13638
|
+
passwordVerification: C && (d.dataDescriptor ? y >>> 8 & 255 : m >>> 24 & 255),
|
|
13639
13639
|
signature: m,
|
|
13640
13640
|
compressed: p != 0 && !$,
|
|
13641
13641
|
encrypted: a.encrypted && !$,
|
|
13642
13642
|
useWebWorkers: at(a, i, "useWebWorkers"),
|
|
13643
13643
|
useCompressionStream: at(a, i, "useCompressionStream"),
|
|
13644
13644
|
transferStreams: at(a, i, "transferStreams"),
|
|
13645
|
-
checkPasswordOnly:
|
|
13645
|
+
checkPasswordOnly: j
|
|
13646
13646
|
},
|
|
13647
13647
|
config: c,
|
|
13648
|
-
streamOptions: { signal:
|
|
13648
|
+
streamOptions: { signal: T, size: F, onstart: D, onprogress: V, onend: B }
|
|
13649
13649
|
};
|
|
13650
13650
|
let G = 0;
|
|
13651
13651
|
try {
|
|
13652
13652
|
({ outputSize: G } = await ab({ readable: P, writable: R }, Y));
|
|
13653
13653
|
} catch (te) {
|
|
13654
|
-
if (!
|
|
13654
|
+
if (!j || te.message != Do)
|
|
13655
13655
|
throw te;
|
|
13656
13656
|
} finally {
|
|
13657
13657
|
const te = at(a, i, "preventClose");
|
|
13658
13658
|
R.size += G, !te && !R.locked && await R.getWriter().close();
|
|
13659
13659
|
}
|
|
13660
|
-
return
|
|
13660
|
+
return j ? ft : t.getData ? t.getData() : R;
|
|
13661
13661
|
}
|
|
13662
13662
|
}
|
|
13663
13663
|
function Ju(e, t, r) {
|
|
@@ -13703,8 +13703,8 @@ function Qu(e, t, r, i, a) {
|
|
|
13703
13703
|
m && (Ep(m, zu, Vu, t, e), t.extraFieldUnicodeComment = m);
|
|
13704
13704
|
const y = n.get(c1);
|
|
13705
13705
|
y ? (Hb(y, t, p), t.extraFieldAES = y) : t.compressionMethod = p;
|
|
13706
|
-
const
|
|
13707
|
-
|
|
13706
|
+
const S = n.get(u1);
|
|
13707
|
+
S && (zb(S, t), t.extraFieldNTFS = S);
|
|
13708
13708
|
const g = n.get(h1);
|
|
13709
13709
|
g && (Vb(g, t, a), t.extraFieldExtendedTimestamp = g);
|
|
13710
13710
|
const w = n.get(g1);
|
|
@@ -14090,8 +14090,8 @@ async function n_(e, t, r, i) {
|
|
|
14090
14090
|
const p = new Headers(a.headers), c = ((l = p.get("x-cors-proxy-allowed-request-headers")) == null ? void 0 : l.split(",")) || [], d = c.includes("authorization") || c.includes("cookie"), m = p.get("content-type");
|
|
14091
14091
|
m && m.toLowerCase().includes("multipart/form-data") && (p.set("x-cors-proxy-content-type", m), p.set("content-type", "application/octet-stream"));
|
|
14092
14092
|
let y = null;
|
|
14093
|
-
const
|
|
14094
|
-
|
|
14093
|
+
const S = a.method.toUpperCase();
|
|
14094
|
+
S !== "GET" && S !== "HEAD" && (await e_() ? y = o.body : y = await o.arrayBuffer()), y instanceof ReadableStream && new URL(r, import.meta.url).protocol === "http:" && (y = await new Response(y).arrayBuffer());
|
|
14095
14095
|
const g = await co(a, {
|
|
14096
14096
|
url: `${r}${a.url}`,
|
|
14097
14097
|
headers: p,
|
|
@@ -14184,10 +14184,10 @@ function u_(e) {
|
|
|
14184
14184
|
return null;
|
|
14185
14185
|
const s = i.get("release"), n = i.get("asset");
|
|
14186
14186
|
if (s && n) {
|
|
14187
|
-
const
|
|
14187
|
+
const S = s === "latest" ? "releases/latest/download" : `releases/download/${s}`;
|
|
14188
14188
|
return {
|
|
14189
14189
|
resource: "url",
|
|
14190
|
-
url: `https://github.com/${a}/${
|
|
14190
|
+
url: `https://github.com/${a}/${S}/${n}`
|
|
14191
14191
|
};
|
|
14192
14192
|
}
|
|
14193
14193
|
let o, l;
|
|
@@ -16152,13 +16152,13 @@ const ud = async (e, { themeSlug: t = "" }, r) => {
|
|
|
16152
16152
|
}
|
|
16153
16153
|
const o = Se(a, "wp-content"), l = Se(i, "wp-content");
|
|
16154
16154
|
for (const y of dd) {
|
|
16155
|
-
const
|
|
16155
|
+
const S = Se(
|
|
16156
16156
|
o,
|
|
16157
16157
|
y
|
|
16158
16158
|
);
|
|
16159
|
-
await Tp(e,
|
|
16159
|
+
await Tp(e, S);
|
|
16160
16160
|
const g = Se(l, y);
|
|
16161
|
-
await e.fileExists(g) && (await e.mkdir(Un(
|
|
16161
|
+
await e.fileExists(g) && (await e.mkdir(Un(S)), await e.mv(g, S));
|
|
16162
16162
|
}
|
|
16163
16163
|
const p = Se(
|
|
16164
16164
|
a,
|
|
@@ -16301,20 +16301,20 @@ async function hd(e, {
|
|
|
16301
16301
|
const d = c.length === 1 && await e.isDir(c[0]);
|
|
16302
16302
|
let m, y = "";
|
|
16303
16303
|
d ? (y = c[0], m = c[0].split("/").pop()) : (y = p, m = n), a && a.length && (m = a);
|
|
16304
|
-
const
|
|
16305
|
-
if (await e.fileExists(
|
|
16306
|
-
if (!await e.isDir(
|
|
16304
|
+
const S = `${t}/${m}`;
|
|
16305
|
+
if (await e.fileExists(S)) {
|
|
16306
|
+
if (!await e.isDir(S))
|
|
16307
16307
|
throw new Error(
|
|
16308
|
-
`Cannot install asset ${m} to ${
|
|
16308
|
+
`Cannot install asset ${m} to ${S} because a file with the same name already exists. Note it's a file, not a directory! Is this by mistake?`
|
|
16309
16309
|
);
|
|
16310
16310
|
if (i === "overwrite")
|
|
16311
|
-
await e.rmdir(
|
|
16311
|
+
await e.rmdir(S, {
|
|
16312
16312
|
recursive: !0
|
|
16313
16313
|
});
|
|
16314
16314
|
else {
|
|
16315
16315
|
if (i === "skip")
|
|
16316
16316
|
return {
|
|
16317
|
-
assetFolderPath:
|
|
16317
|
+
assetFolderPath: S,
|
|
16318
16318
|
assetFolderName: m
|
|
16319
16319
|
};
|
|
16320
16320
|
throw new Error(
|
|
@@ -16322,8 +16322,8 @@ async function hd(e, {
|
|
|
16322
16322
|
);
|
|
16323
16323
|
}
|
|
16324
16324
|
}
|
|
16325
|
-
return await e.mv(y,
|
|
16326
|
-
assetFolderPath:
|
|
16325
|
+
return await e.mv(y, S), {
|
|
16326
|
+
assetFolderPath: S,
|
|
16327
16327
|
assetFolderName: m
|
|
16328
16328
|
};
|
|
16329
16329
|
} finally {
|
|
@@ -16658,27 +16658,27 @@ const ov = async (e, t) => {
|
|
|
16658
16658
|
const c = new rs({ concurrency: 5 }), d = s.map(
|
|
16659
16659
|
({ url: m, type: y }) => c.run(async () => {
|
|
16660
16660
|
try {
|
|
16661
|
-
const
|
|
16662
|
-
if (!
|
|
16661
|
+
const S = await fetch(m);
|
|
16662
|
+
if (!S.ok)
|
|
16663
16663
|
throw new Error(
|
|
16664
|
-
`Failed to download translations for ${y}: ${
|
|
16664
|
+
`Failed to download translations for ${y}: ${S.statusText}`
|
|
16665
16665
|
);
|
|
16666
16666
|
let g = `${i}/wp-content/languages`;
|
|
16667
16667
|
y === "plugin" ? g += "/plugins" : y === "theme" && (g += "/themes"), await ad(
|
|
16668
16668
|
e,
|
|
16669
16669
|
new File(
|
|
16670
|
-
[await
|
|
16670
|
+
[await S.arrayBuffer()],
|
|
16671
16671
|
`${t}-${y}.zip`
|
|
16672
16672
|
),
|
|
16673
16673
|
g
|
|
16674
16674
|
);
|
|
16675
|
-
} catch (
|
|
16675
|
+
} catch (S) {
|
|
16676
16676
|
if (y === "core")
|
|
16677
16677
|
throw new Error(
|
|
16678
16678
|
`Failed to download translations for WordPress. Please check if the language code ${t} is correct. You can find all available languages and translations on https://translate.wordpress.org/.`
|
|
16679
16679
|
);
|
|
16680
16680
|
Te.warn(
|
|
16681
|
-
`Error downloading translations for ${y}: ${
|
|
16681
|
+
`Error downloading translations for ${y}: ${S}`
|
|
16682
16682
|
);
|
|
16683
16683
|
}
|
|
16684
16684
|
})
|
|
@@ -17204,14 +17204,14 @@ function Lr(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17204
17204
|
let c = e[p];
|
|
17205
17205
|
const d = n, m = n;
|
|
17206
17206
|
let y = !1;
|
|
17207
|
-
const
|
|
17207
|
+
const S = n;
|
|
17208
17208
|
Ba.validate(c, {
|
|
17209
17209
|
instancePath: t + "/" + p.replace(/~/g, "~0").replace(/\//g, "~1"),
|
|
17210
17210
|
parentData: e,
|
|
17211
17211
|
parentDataProperty: p,
|
|
17212
17212
|
rootData: a
|
|
17213
17213
|
}) || (s = s === null ? Ba.validate.errors : s.concat(Ba.validate.errors), n = s.length);
|
|
17214
|
-
var o =
|
|
17214
|
+
var o = S === n;
|
|
17215
17215
|
if (y = y || o, !y) {
|
|
17216
17216
|
const g = n;
|
|
17217
17217
|
if (!(c && typeof c == "object" && !Array.isArray(c)) && typeof c != "string") {
|
|
@@ -17453,7 +17453,7 @@ function jt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17453
17453
|
if (e.inner !== void 0) {
|
|
17454
17454
|
let d = e.inner;
|
|
17455
17455
|
const m = n, y = n;
|
|
17456
|
-
let
|
|
17456
|
+
let S = !1;
|
|
17457
17457
|
const g = n;
|
|
17458
17458
|
Ua.validate(d, {
|
|
17459
17459
|
instancePath: t + "/inner",
|
|
@@ -17464,7 +17464,7 @@ function jt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17464
17464
|
Ua.validate.errors
|
|
17465
17465
|
), n = s.length);
|
|
17466
17466
|
var l = g === n;
|
|
17467
|
-
if (
|
|
17467
|
+
if (S = S || l, !S) {
|
|
17468
17468
|
const _ = n;
|
|
17469
17469
|
ut(d, {
|
|
17470
17470
|
instancePath: t + "/inner",
|
|
@@ -17473,9 +17473,9 @@ function jt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17473
17473
|
rootData: a
|
|
17474
17474
|
}) || (s = s === null ? ut.errors : s.concat(ut.errors), n = s.length);
|
|
17475
17475
|
var l = _ === n;
|
|
17476
|
-
|
|
17476
|
+
S = S || l;
|
|
17477
17477
|
}
|
|
17478
|
-
if (
|
|
17478
|
+
if (S)
|
|
17479
17479
|
n = y, s !== null && (y ? s.length = y : s = null);
|
|
17480
17480
|
else {
|
|
17481
17481
|
const _ = {
|
|
@@ -17530,33 +17530,33 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17530
17530
|
if (e && typeof e == "object" && !Array.isArray(e)) {
|
|
17531
17531
|
let $;
|
|
17532
17532
|
if (e.resource === void 0 && ($ = "resource") || e.path === void 0 && ($ = "path")) {
|
|
17533
|
-
const
|
|
17533
|
+
const I = {
|
|
17534
17534
|
instancePath: t,
|
|
17535
17535
|
schemaPath: "#/definitions/VFSReference/required",
|
|
17536
17536
|
keyword: "required",
|
|
17537
17537
|
params: { missingProperty: $ },
|
|
17538
17538
|
message: "must have required property '" + $ + "'"
|
|
17539
17539
|
};
|
|
17540
|
-
s === null ? s = [
|
|
17540
|
+
s === null ? s = [I] : s.push(I), n++;
|
|
17541
17541
|
} else {
|
|
17542
|
-
const
|
|
17543
|
-
for (const
|
|
17544
|
-
if (!(
|
|
17542
|
+
const I = n;
|
|
17543
|
+
for (const C in e)
|
|
17544
|
+
if (!(C === "resource" || C === "path")) {
|
|
17545
17545
|
const b = {
|
|
17546
17546
|
instancePath: t,
|
|
17547
17547
|
schemaPath: "#/definitions/VFSReference/additionalProperties",
|
|
17548
17548
|
keyword: "additionalProperties",
|
|
17549
|
-
params: { additionalProperty:
|
|
17549
|
+
params: { additionalProperty: C },
|
|
17550
17550
|
message: "must NOT have additional properties"
|
|
17551
17551
|
};
|
|
17552
17552
|
s === null ? s = [b] : s.push(b), n++;
|
|
17553
17553
|
break;
|
|
17554
17554
|
}
|
|
17555
|
-
if (
|
|
17555
|
+
if (I === n) {
|
|
17556
17556
|
if (e.resource !== void 0) {
|
|
17557
|
-
let
|
|
17557
|
+
let C = e.resource;
|
|
17558
17558
|
const b = n;
|
|
17559
|
-
if (typeof
|
|
17559
|
+
if (typeof C != "string") {
|
|
17560
17560
|
const F = {
|
|
17561
17561
|
instancePath: t + "/resource",
|
|
17562
17562
|
schemaPath: "#/definitions/VFSReference/properties/resource/type",
|
|
@@ -17566,7 +17566,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17566
17566
|
};
|
|
17567
17567
|
s === null ? s = [F] : s.push(F), n++;
|
|
17568
17568
|
}
|
|
17569
|
-
if (
|
|
17569
|
+
if (C !== "vfs") {
|
|
17570
17570
|
const F = {
|
|
17571
17571
|
instancePath: t + "/resource",
|
|
17572
17572
|
schemaPath: "#/definitions/VFSReference/properties/resource/const",
|
|
@@ -17581,7 +17581,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17581
17581
|
var d = !0;
|
|
17582
17582
|
if (d)
|
|
17583
17583
|
if (e.path !== void 0) {
|
|
17584
|
-
const
|
|
17584
|
+
const C = n;
|
|
17585
17585
|
if (typeof e.path != "string") {
|
|
17586
17586
|
const F = {
|
|
17587
17587
|
instancePath: t + "/path",
|
|
@@ -17592,7 +17592,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17592
17592
|
};
|
|
17593
17593
|
s === null ? s = [F] : s.push(F), n++;
|
|
17594
17594
|
}
|
|
17595
|
-
var d =
|
|
17595
|
+
var d = C === n;
|
|
17596
17596
|
} else
|
|
17597
17597
|
var d = !0;
|
|
17598
17598
|
}
|
|
@@ -17626,55 +17626,55 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17626
17626
|
const F = n;
|
|
17627
17627
|
for (const P in e)
|
|
17628
17628
|
if (!(P === "resource" || P === "name" || P === "contents")) {
|
|
17629
|
-
const
|
|
17629
|
+
const T = {
|
|
17630
17630
|
instancePath: t,
|
|
17631
17631
|
schemaPath: "#/definitions/LiteralReference/additionalProperties",
|
|
17632
17632
|
keyword: "additionalProperties",
|
|
17633
17633
|
params: { additionalProperty: P },
|
|
17634
17634
|
message: "must NOT have additional properties"
|
|
17635
17635
|
};
|
|
17636
|
-
s === null ? s = [
|
|
17636
|
+
s === null ? s = [T] : s.push(T), n++;
|
|
17637
17637
|
break;
|
|
17638
17638
|
}
|
|
17639
17639
|
if (F === n) {
|
|
17640
17640
|
if (e.resource !== void 0) {
|
|
17641
17641
|
let P = e.resource;
|
|
17642
|
-
const
|
|
17642
|
+
const T = n;
|
|
17643
17643
|
if (typeof P != "string") {
|
|
17644
|
-
const
|
|
17644
|
+
const j = {
|
|
17645
17645
|
instancePath: t + "/resource",
|
|
17646
17646
|
schemaPath: "#/definitions/LiteralReference/properties/resource/type",
|
|
17647
17647
|
keyword: "type",
|
|
17648
17648
|
params: { type: "string" },
|
|
17649
17649
|
message: "must be string"
|
|
17650
17650
|
};
|
|
17651
|
-
s === null ? s = [
|
|
17651
|
+
s === null ? s = [j] : s.push(j), n++;
|
|
17652
17652
|
}
|
|
17653
17653
|
if (P !== "literal") {
|
|
17654
|
-
const
|
|
17654
|
+
const j = {
|
|
17655
17655
|
instancePath: t + "/resource",
|
|
17656
17656
|
schemaPath: "#/definitions/LiteralReference/properties/resource/const",
|
|
17657
17657
|
keyword: "const",
|
|
17658
17658
|
params: { allowedValue: "literal" },
|
|
17659
17659
|
message: "must be equal to constant"
|
|
17660
17660
|
};
|
|
17661
|
-
s === null ? s = [
|
|
17661
|
+
s === null ? s = [j] : s.push(j), n++;
|
|
17662
17662
|
}
|
|
17663
|
-
var y =
|
|
17663
|
+
var y = T === n;
|
|
17664
17664
|
} else
|
|
17665
17665
|
var y = !0;
|
|
17666
17666
|
if (y) {
|
|
17667
17667
|
if (e.name !== void 0) {
|
|
17668
17668
|
const P = n;
|
|
17669
17669
|
if (typeof e.name != "string") {
|
|
17670
|
-
const
|
|
17670
|
+
const j = {
|
|
17671
17671
|
instancePath: t + "/name",
|
|
17672
17672
|
schemaPath: "#/definitions/LiteralReference/properties/name/type",
|
|
17673
17673
|
keyword: "type",
|
|
17674
17674
|
params: { type: "string" },
|
|
17675
17675
|
message: "must be string"
|
|
17676
17676
|
};
|
|
17677
|
-
s === null ? s = [
|
|
17677
|
+
s === null ? s = [j] : s.push(j), n++;
|
|
17678
17678
|
}
|
|
17679
17679
|
var y = P === n;
|
|
17680
17680
|
} else
|
|
@@ -17682,7 +17682,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17682
17682
|
if (y)
|
|
17683
17683
|
if (e.contents !== void 0) {
|
|
17684
17684
|
let P = e.contents;
|
|
17685
|
-
const
|
|
17685
|
+
const T = n, j = n;
|
|
17686
17686
|
let R = !1;
|
|
17687
17687
|
const D = n;
|
|
17688
17688
|
if (typeof P != "string") {
|
|
@@ -17695,8 +17695,8 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17695
17695
|
};
|
|
17696
17696
|
s === null ? s = [B] : s.push(B), n++;
|
|
17697
17697
|
}
|
|
17698
|
-
var
|
|
17699
|
-
if (R = R ||
|
|
17698
|
+
var S = D === n;
|
|
17699
|
+
if (R = R || S, !R) {
|
|
17700
17700
|
const B = n;
|
|
17701
17701
|
if (n === B)
|
|
17702
17702
|
if (P && typeof P == "object" && !Array.isArray(P)) {
|
|
@@ -17946,11 +17946,11 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17946
17946
|
};
|
|
17947
17947
|
s === null ? s = [G] : s.push(G), n++;
|
|
17948
17948
|
}
|
|
17949
|
-
var
|
|
17950
|
-
R = R ||
|
|
17949
|
+
var S = B === n;
|
|
17950
|
+
R = R || S;
|
|
17951
17951
|
}
|
|
17952
17952
|
if (R)
|
|
17953
|
-
n =
|
|
17953
|
+
n = j, s !== null && (j ? s.length = j : s = null);
|
|
17954
17954
|
else {
|
|
17955
17955
|
const B = {
|
|
17956
17956
|
instancePath: t + "/contents",
|
|
@@ -17961,7 +17961,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17961
17961
|
};
|
|
17962
17962
|
s === null ? s = [B] : s.push(B), n++;
|
|
17963
17963
|
}
|
|
17964
|
-
var y =
|
|
17964
|
+
var y = T === n;
|
|
17965
17965
|
} else
|
|
17966
17966
|
var y = !0;
|
|
17967
17967
|
}
|
|
@@ -17982,18 +17982,18 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
17982
17982
|
const b = n;
|
|
17983
17983
|
if (n === n)
|
|
17984
17984
|
if (e && typeof e == "object" && !Array.isArray(e)) {
|
|
17985
|
-
let
|
|
17986
|
-
if (e.resource === void 0 && (
|
|
17987
|
-
const
|
|
17985
|
+
let T;
|
|
17986
|
+
if (e.resource === void 0 && (T = "resource") || e.slug === void 0 && (T = "slug")) {
|
|
17987
|
+
const j = {
|
|
17988
17988
|
instancePath: t,
|
|
17989
17989
|
schemaPath: "#/definitions/CoreThemeReference/required",
|
|
17990
17990
|
keyword: "required",
|
|
17991
|
-
params: { missingProperty:
|
|
17992
|
-
message: "must have required property '" +
|
|
17991
|
+
params: { missingProperty: T },
|
|
17992
|
+
message: "must have required property '" + T + "'"
|
|
17993
17993
|
};
|
|
17994
|
-
s === null ? s = [
|
|
17994
|
+
s === null ? s = [j] : s.push(j), n++;
|
|
17995
17995
|
} else {
|
|
17996
|
-
const
|
|
17996
|
+
const j = n;
|
|
17997
17997
|
for (const R in e)
|
|
17998
17998
|
if (!(R === "resource" || R === "slug")) {
|
|
17999
17999
|
const D = {
|
|
@@ -18006,7 +18006,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18006
18006
|
s === null ? s = [D] : s.push(D), n++;
|
|
18007
18007
|
break;
|
|
18008
18008
|
}
|
|
18009
|
-
if (
|
|
18009
|
+
if (j === n) {
|
|
18010
18010
|
if (e.resource !== void 0) {
|
|
18011
18011
|
let R = e.resource;
|
|
18012
18012
|
const D = n;
|
|
@@ -18054,18 +18054,18 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18054
18054
|
}
|
|
18055
18055
|
}
|
|
18056
18056
|
} else {
|
|
18057
|
-
const
|
|
18057
|
+
const T = {
|
|
18058
18058
|
instancePath: t,
|
|
18059
18059
|
schemaPath: "#/definitions/CoreThemeReference/type",
|
|
18060
18060
|
keyword: "type",
|
|
18061
18061
|
params: { type: "object" },
|
|
18062
18062
|
message: "must be object"
|
|
18063
18063
|
};
|
|
18064
|
-
s === null ? s = [
|
|
18064
|
+
s === null ? s = [T] : s.push(T), n++;
|
|
18065
18065
|
}
|
|
18066
18066
|
var m = b === n;
|
|
18067
18067
|
if (l = l || m, !l) {
|
|
18068
|
-
const
|
|
18068
|
+
const T = n;
|
|
18069
18069
|
if (n === n)
|
|
18070
18070
|
if (e && typeof e == "object" && !Array.isArray(e)) {
|
|
18071
18071
|
let D;
|
|
@@ -18149,7 +18149,7 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18149
18149
|
};
|
|
18150
18150
|
s === null ? s = [D] : s.push(D), n++;
|
|
18151
18151
|
}
|
|
18152
|
-
var m =
|
|
18152
|
+
var m = T === n;
|
|
18153
18153
|
if (l = l || m, !l) {
|
|
18154
18154
|
const D = n;
|
|
18155
18155
|
if (n === n)
|
|
@@ -18311,10 +18311,10 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18311
18311
|
};
|
|
18312
18312
|
s === null ? s = [fe] : s.push(fe), n++;
|
|
18313
18313
|
}
|
|
18314
|
-
var
|
|
18314
|
+
var L = Z === n;
|
|
18315
18315
|
} else
|
|
18316
|
-
var
|
|
18317
|
-
if (
|
|
18316
|
+
var L = !0;
|
|
18317
|
+
if (L)
|
|
18318
18318
|
if (e.path !== void 0) {
|
|
18319
18319
|
const ee = n;
|
|
18320
18320
|
if (typeof e.path != "string") {
|
|
@@ -18329,9 +18329,9 @@ function _e(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
18329
18329
|
};
|
|
18330
18330
|
s === null ? s = [fe] : s.push(fe), n++;
|
|
18331
18331
|
}
|
|
18332
|
-
var
|
|
18332
|
+
var L = ee === n;
|
|
18333
18333
|
} else
|
|
18334
|
-
var
|
|
18334
|
+
var L = !0;
|
|
18335
18335
|
}
|
|
18336
18336
|
}
|
|
18337
18337
|
} else {
|
|
@@ -19130,7 +19130,7 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19130
19130
|
if (O === n) {
|
|
19131
19131
|
if (e.method !== void 0) {
|
|
19132
19132
|
let E = e.method;
|
|
19133
|
-
const
|
|
19133
|
+
const L = n;
|
|
19134
19134
|
if (typeof E != "string")
|
|
19135
19135
|
return vt.errors = [
|
|
19136
19136
|
{
|
|
@@ -19151,7 +19151,7 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19151
19151
|
message: "must be equal to one of the allowed values"
|
|
19152
19152
|
}
|
|
19153
19153
|
], !1;
|
|
19154
|
-
var o =
|
|
19154
|
+
var o = L === n;
|
|
19155
19155
|
} else
|
|
19156
19156
|
var o = !0;
|
|
19157
19157
|
if (o) {
|
|
@@ -19173,15 +19173,15 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19173
19173
|
if (o) {
|
|
19174
19174
|
if (e.headers !== void 0) {
|
|
19175
19175
|
let E = e.headers;
|
|
19176
|
-
const
|
|
19176
|
+
const L = n;
|
|
19177
19177
|
if (n === n)
|
|
19178
19178
|
if (E && typeof E == "object" && !Array.isArray(E))
|
|
19179
|
-
for (const
|
|
19179
|
+
for (const C in E) {
|
|
19180
19180
|
const b = n;
|
|
19181
|
-
if (typeof E[
|
|
19181
|
+
if (typeof E[C] != "string")
|
|
19182
19182
|
return vt.errors = [
|
|
19183
19183
|
{
|
|
19184
|
-
instancePath: t + "/headers/" +
|
|
19184
|
+
instancePath: t + "/headers/" + C.replace(
|
|
19185
19185
|
/~/g,
|
|
19186
19186
|
"~0"
|
|
19187
19187
|
).replace(
|
|
@@ -19210,15 +19210,15 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19210
19210
|
message: "must be object"
|
|
19211
19211
|
}
|
|
19212
19212
|
], !1;
|
|
19213
|
-
var o =
|
|
19213
|
+
var o = L === n;
|
|
19214
19214
|
} else
|
|
19215
19215
|
var o = !0;
|
|
19216
19216
|
if (o)
|
|
19217
19217
|
if (e.body !== void 0) {
|
|
19218
19218
|
let E = e.body;
|
|
19219
|
-
const
|
|
19220
|
-
let
|
|
19221
|
-
const
|
|
19219
|
+
const L = n, $ = n;
|
|
19220
|
+
let I = !1;
|
|
19221
|
+
const C = n;
|
|
19222
19222
|
if (typeof E != "string") {
|
|
19223
19223
|
const F = {
|
|
19224
19224
|
instancePath: t + "/body",
|
|
@@ -19229,25 +19229,25 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19229
19229
|
};
|
|
19230
19230
|
s === null ? s = [F] : s.push(F), n++;
|
|
19231
19231
|
}
|
|
19232
|
-
var p =
|
|
19233
|
-
if (
|
|
19232
|
+
var p = C === n;
|
|
19233
|
+
if (I = I || p, !I) {
|
|
19234
19234
|
const F = n;
|
|
19235
19235
|
if (n === F)
|
|
19236
19236
|
if (E && typeof E == "object" && !Array.isArray(E)) {
|
|
19237
|
-
let
|
|
19238
|
-
if (E.BYTES_PER_ELEMENT === void 0 && (
|
|
19239
|
-
const
|
|
19237
|
+
let T;
|
|
19238
|
+
if (E.BYTES_PER_ELEMENT === void 0 && (T = "BYTES_PER_ELEMENT") || E.buffer === void 0 && (T = "buffer") || E.byteLength === void 0 && (T = "byteLength") || E.byteOffset === void 0 && (T = "byteOffset") || E.length === void 0 && (T = "length")) {
|
|
19239
|
+
const j = {
|
|
19240
19240
|
instancePath: t + "/body",
|
|
19241
19241
|
schemaPath: "#/properties/body/anyOf/1/required",
|
|
19242
19242
|
keyword: "required",
|
|
19243
19243
|
params: {
|
|
19244
|
-
missingProperty:
|
|
19244
|
+
missingProperty: T
|
|
19245
19245
|
},
|
|
19246
|
-
message: "must have required property '" +
|
|
19246
|
+
message: "must have required property '" + T + "'"
|
|
19247
19247
|
};
|
|
19248
|
-
s === null ? s = [
|
|
19248
|
+
s === null ? s = [j] : s.push(j), n++;
|
|
19249
19249
|
} else {
|
|
19250
|
-
const
|
|
19250
|
+
const j = n;
|
|
19251
19251
|
for (const R in E)
|
|
19252
19252
|
if (!(R === "BYTES_PER_ELEMENT" || R === "buffer" || R === "byteLength" || R === "byteOffset" || R === "length")) {
|
|
19253
19253
|
let D = E[R];
|
|
@@ -19280,7 +19280,7 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19280
19280
|
if (!c)
|
|
19281
19281
|
break;
|
|
19282
19282
|
}
|
|
19283
|
-
if (
|
|
19283
|
+
if (j === n) {
|
|
19284
19284
|
if (E.BYTES_PER_ELEMENT !== void 0) {
|
|
19285
19285
|
let R = E.BYTES_PER_ELEMENT;
|
|
19286
19286
|
const D = n;
|
|
@@ -19471,19 +19471,19 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19471
19471
|
}
|
|
19472
19472
|
}
|
|
19473
19473
|
} else {
|
|
19474
|
-
const
|
|
19474
|
+
const T = {
|
|
19475
19475
|
instancePath: t + "/body",
|
|
19476
19476
|
schemaPath: "#/properties/body/anyOf/1/type",
|
|
19477
19477
|
keyword: "type",
|
|
19478
19478
|
params: { type: "object" },
|
|
19479
19479
|
message: "must be object"
|
|
19480
19480
|
};
|
|
19481
|
-
s === null ? s = [
|
|
19481
|
+
s === null ? s = [T] : s.push(T), n++;
|
|
19482
19482
|
}
|
|
19483
19483
|
var p = F === n;
|
|
19484
|
-
if (
|
|
19485
|
-
const
|
|
19486
|
-
if (n ===
|
|
19484
|
+
if (I = I || p, !I) {
|
|
19485
|
+
const T = n;
|
|
19486
|
+
if (n === T)
|
|
19487
19487
|
if (E && typeof E == "object" && !Array.isArray(E))
|
|
19488
19488
|
for (const R in E) {
|
|
19489
19489
|
let D = E[R];
|
|
@@ -19609,10 +19609,10 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19609
19609
|
oe
|
|
19610
19610
|
), n++;
|
|
19611
19611
|
}
|
|
19612
|
-
var
|
|
19612
|
+
var S = fe === n;
|
|
19613
19613
|
} else
|
|
19614
|
-
var
|
|
19615
|
-
if (
|
|
19614
|
+
var S = !0;
|
|
19615
|
+
if (S) {
|
|
19616
19616
|
if (D.buffer !== void 0) {
|
|
19617
19617
|
let Z = D.buffer;
|
|
19618
19618
|
const fe = n;
|
|
@@ -19718,10 +19718,10 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19718
19718
|
ie
|
|
19719
19719
|
), n++;
|
|
19720
19720
|
}
|
|
19721
|
-
var
|
|
19721
|
+
var S = fe === n;
|
|
19722
19722
|
} else
|
|
19723
|
-
var
|
|
19724
|
-
if (
|
|
19723
|
+
var S = !0;
|
|
19724
|
+
if (S) {
|
|
19725
19725
|
if (D.byteLength !== void 0) {
|
|
19726
19726
|
let Z = D.byteLength;
|
|
19727
19727
|
const fe = n;
|
|
@@ -19749,10 +19749,10 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19749
19749
|
ie
|
|
19750
19750
|
), n++;
|
|
19751
19751
|
}
|
|
19752
|
-
var
|
|
19752
|
+
var S = fe === n;
|
|
19753
19753
|
} else
|
|
19754
|
-
var
|
|
19755
|
-
if (
|
|
19754
|
+
var S = !0;
|
|
19755
|
+
if (S) {
|
|
19756
19756
|
if (D.byteOffset !== void 0) {
|
|
19757
19757
|
let Z = D.byteOffset;
|
|
19758
19758
|
const fe = n;
|
|
@@ -19780,10 +19780,10 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19780
19780
|
ie
|
|
19781
19781
|
), n++;
|
|
19782
19782
|
}
|
|
19783
|
-
var
|
|
19783
|
+
var S = fe === n;
|
|
19784
19784
|
} else
|
|
19785
|
-
var
|
|
19786
|
-
if (
|
|
19785
|
+
var S = !0;
|
|
19786
|
+
if (S)
|
|
19787
19787
|
if (D.length !== void 0) {
|
|
19788
19788
|
let Z = D.length;
|
|
19789
19789
|
const fe = n;
|
|
@@ -19811,9 +19811,9 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
19811
19811
|
ie
|
|
19812
19812
|
), n++;
|
|
19813
19813
|
}
|
|
19814
|
-
var
|
|
19814
|
+
var S = fe === n;
|
|
19815
19815
|
} else
|
|
19816
|
-
var
|
|
19816
|
+
var S = !0;
|
|
19817
19817
|
}
|
|
19818
19818
|
}
|
|
19819
19819
|
}
|
|
@@ -20111,11 +20111,11 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20111
20111
|
};
|
|
20112
20112
|
s === null ? s = [R] : s.push(R), n++;
|
|
20113
20113
|
}
|
|
20114
|
-
var p =
|
|
20115
|
-
|
|
20114
|
+
var p = T === n;
|
|
20115
|
+
I = I || p;
|
|
20116
20116
|
}
|
|
20117
20117
|
}
|
|
20118
|
-
if (
|
|
20118
|
+
if (I)
|
|
20119
20119
|
n = $, s !== null && ($ ? s.length = $ : s = null);
|
|
20120
20120
|
else {
|
|
20121
20121
|
const F = {
|
|
@@ -20127,7 +20127,7 @@ function vt(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20127
20127
|
};
|
|
20128
20128
|
return s === null ? s = [F] : s.push(F), n++, vt.errors = s, !1;
|
|
20129
20129
|
}
|
|
20130
|
-
var o =
|
|
20130
|
+
var o = L === n;
|
|
20131
20131
|
} else
|
|
20132
20132
|
var o = !0;
|
|
20133
20133
|
}
|
|
@@ -20214,7 +20214,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20214
20214
|
let s = null, n = 0;
|
|
20215
20215
|
if (n === 0)
|
|
20216
20216
|
if (e && typeof e == "object" && !Array.isArray(e)) {
|
|
20217
|
-
const
|
|
20217
|
+
const S = n;
|
|
20218
20218
|
for (const g in e)
|
|
20219
20219
|
if (!md.call(yv.properties, g))
|
|
20220
20220
|
return We.errors = [
|
|
@@ -20226,7 +20226,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20226
20226
|
message: "must NOT have additional properties"
|
|
20227
20227
|
}
|
|
20228
20228
|
], !1;
|
|
20229
|
-
if (
|
|
20229
|
+
if (S === n) {
|
|
20230
20230
|
if (e.relativeUri !== void 0) {
|
|
20231
20231
|
const g = n;
|
|
20232
20232
|
if (typeof e.relativeUri != "string")
|
|
@@ -20310,7 +20310,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20310
20310
|
if (n === n)
|
|
20311
20311
|
if (g && typeof g == "object" && !Array.isArray(g))
|
|
20312
20312
|
for (const E in g) {
|
|
20313
|
-
const
|
|
20313
|
+
const L = n;
|
|
20314
20314
|
if (typeof g[E] != "string")
|
|
20315
20315
|
return We.errors = [
|
|
20316
20316
|
{
|
|
@@ -20329,7 +20329,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20329
20329
|
message: "must be string"
|
|
20330
20330
|
}
|
|
20331
20331
|
], !1;
|
|
20332
|
-
var l =
|
|
20332
|
+
var l = L === n;
|
|
20333
20333
|
if (!l)
|
|
20334
20334
|
break;
|
|
20335
20335
|
}
|
|
@@ -20367,16 +20367,16 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20367
20367
|
const $ = n;
|
|
20368
20368
|
if (n === $)
|
|
20369
20369
|
if (g && typeof g == "object" && !Array.isArray(g)) {
|
|
20370
|
-
let
|
|
20371
|
-
if (g.BYTES_PER_ELEMENT === void 0 && (
|
|
20370
|
+
let C;
|
|
20371
|
+
if (g.BYTES_PER_ELEMENT === void 0 && (C = "BYTES_PER_ELEMENT") || g.buffer === void 0 && (C = "buffer") || g.byteLength === void 0 && (C = "byteLength") || g.byteOffset === void 0 && (C = "byteOffset") || g.length === void 0 && (C = "length")) {
|
|
20372
20372
|
const b = {
|
|
20373
20373
|
instancePath: t + "/body",
|
|
20374
20374
|
schemaPath: "#/properties/body/anyOf/1/required",
|
|
20375
20375
|
keyword: "required",
|
|
20376
20376
|
params: {
|
|
20377
|
-
missingProperty:
|
|
20377
|
+
missingProperty: C
|
|
20378
20378
|
},
|
|
20379
|
-
message: "must have required property '" +
|
|
20379
|
+
message: "must have required property '" + C + "'"
|
|
20380
20380
|
};
|
|
20381
20381
|
s === null ? s = [b] : s.push(b), n++;
|
|
20382
20382
|
} else {
|
|
@@ -20384,11 +20384,11 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20384
20384
|
for (const F in g)
|
|
20385
20385
|
if (!(F === "BYTES_PER_ELEMENT" || F === "buffer" || F === "byteLength" || F === "byteOffset" || F === "length")) {
|
|
20386
20386
|
let P = g[F];
|
|
20387
|
-
const
|
|
20387
|
+
const T = n;
|
|
20388
20388
|
if (!(typeof P == "number" && isFinite(
|
|
20389
20389
|
P
|
|
20390
20390
|
))) {
|
|
20391
|
-
const
|
|
20391
|
+
const j = {
|
|
20392
20392
|
instancePath: t + "/body/" + F.replace(
|
|
20393
20393
|
/~/g,
|
|
20394
20394
|
"~0"
|
|
@@ -20404,12 +20404,12 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20404
20404
|
message: "must be number"
|
|
20405
20405
|
};
|
|
20406
20406
|
s === null ? s = [
|
|
20407
|
-
|
|
20407
|
+
j
|
|
20408
20408
|
] : s.push(
|
|
20409
|
-
|
|
20409
|
+
j
|
|
20410
20410
|
), n++;
|
|
20411
20411
|
}
|
|
20412
|
-
var c =
|
|
20412
|
+
var c = T === n;
|
|
20413
20413
|
if (!c)
|
|
20414
20414
|
break;
|
|
20415
20415
|
}
|
|
@@ -20420,7 +20420,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20420
20420
|
if (!(typeof F == "number" && isFinite(
|
|
20421
20421
|
F
|
|
20422
20422
|
))) {
|
|
20423
|
-
const
|
|
20423
|
+
const T = {
|
|
20424
20424
|
instancePath: t + "/body/BYTES_PER_ELEMENT",
|
|
20425
20425
|
schemaPath: "#/properties/body/anyOf/1/properties/BYTES_PER_ELEMENT/type",
|
|
20426
20426
|
keyword: "type",
|
|
@@ -20430,9 +20430,9 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20430
20430
|
message: "must be number"
|
|
20431
20431
|
};
|
|
20432
20432
|
s === null ? s = [
|
|
20433
|
-
|
|
20433
|
+
T
|
|
20434
20434
|
] : s.push(
|
|
20435
|
-
|
|
20435
|
+
T
|
|
20436
20436
|
), n++;
|
|
20437
20437
|
}
|
|
20438
20438
|
var d = P === n;
|
|
@@ -20446,16 +20446,16 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20446
20446
|
if (F && typeof F == "object" && !Array.isArray(
|
|
20447
20447
|
F
|
|
20448
20448
|
)) {
|
|
20449
|
-
let
|
|
20450
|
-
if (F.byteLength === void 0 && (
|
|
20449
|
+
let j;
|
|
20450
|
+
if (F.byteLength === void 0 && (j = "byteLength")) {
|
|
20451
20451
|
const R = {
|
|
20452
20452
|
instancePath: t + "/body/buffer",
|
|
20453
20453
|
schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
|
|
20454
20454
|
keyword: "required",
|
|
20455
20455
|
params: {
|
|
20456
|
-
missingProperty:
|
|
20456
|
+
missingProperty: j
|
|
20457
20457
|
},
|
|
20458
|
-
message: "must have required property '" +
|
|
20458
|
+
message: "must have required property '" + j + "'"
|
|
20459
20459
|
};
|
|
20460
20460
|
s === null ? s = [
|
|
20461
20461
|
R
|
|
@@ -20505,7 +20505,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20505
20505
|
}
|
|
20506
20506
|
}
|
|
20507
20507
|
} else {
|
|
20508
|
-
const
|
|
20508
|
+
const j = {
|
|
20509
20509
|
instancePath: t + "/body/buffer",
|
|
20510
20510
|
schemaPath: "#/properties/body/anyOf/1/properties/buffer/type",
|
|
20511
20511
|
keyword: "type",
|
|
@@ -20515,9 +20515,9 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20515
20515
|
message: "must be object"
|
|
20516
20516
|
};
|
|
20517
20517
|
s === null ? s = [
|
|
20518
|
-
|
|
20518
|
+
j
|
|
20519
20519
|
] : s.push(
|
|
20520
|
-
|
|
20520
|
+
j
|
|
20521
20521
|
), n++;
|
|
20522
20522
|
}
|
|
20523
20523
|
var d = P === n;
|
|
@@ -20530,7 +20530,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20530
20530
|
if (!(typeof F == "number" && isFinite(
|
|
20531
20531
|
F
|
|
20532
20532
|
))) {
|
|
20533
|
-
const
|
|
20533
|
+
const j = {
|
|
20534
20534
|
instancePath: t + "/body/byteLength",
|
|
20535
20535
|
schemaPath: "#/properties/body/anyOf/1/properties/byteLength/type",
|
|
20536
20536
|
keyword: "type",
|
|
@@ -20540,9 +20540,9 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20540
20540
|
message: "must be number"
|
|
20541
20541
|
};
|
|
20542
20542
|
s === null ? s = [
|
|
20543
|
-
|
|
20543
|
+
j
|
|
20544
20544
|
] : s.push(
|
|
20545
|
-
|
|
20545
|
+
j
|
|
20546
20546
|
), n++;
|
|
20547
20547
|
}
|
|
20548
20548
|
var d = P === n;
|
|
@@ -20555,7 +20555,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20555
20555
|
if (!(typeof F == "number" && isFinite(
|
|
20556
20556
|
F
|
|
20557
20557
|
))) {
|
|
20558
|
-
const
|
|
20558
|
+
const j = {
|
|
20559
20559
|
instancePath: t + "/body/byteOffset",
|
|
20560
20560
|
schemaPath: "#/properties/body/anyOf/1/properties/byteOffset/type",
|
|
20561
20561
|
keyword: "type",
|
|
@@ -20565,9 +20565,9 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20565
20565
|
message: "must be number"
|
|
20566
20566
|
};
|
|
20567
20567
|
s === null ? s = [
|
|
20568
|
-
|
|
20568
|
+
j
|
|
20569
20569
|
] : s.push(
|
|
20570
|
-
|
|
20570
|
+
j
|
|
20571
20571
|
), n++;
|
|
20572
20572
|
}
|
|
20573
20573
|
var d = P === n;
|
|
@@ -20580,7 +20580,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20580
20580
|
if (!(typeof F == "number" && isFinite(
|
|
20581
20581
|
F
|
|
20582
20582
|
))) {
|
|
20583
|
-
const
|
|
20583
|
+
const j = {
|
|
20584
20584
|
instancePath: t + "/body/length",
|
|
20585
20585
|
schemaPath: "#/properties/body/anyOf/1/properties/length/type",
|
|
20586
20586
|
keyword: "type",
|
|
@@ -20590,9 +20590,9 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20590
20590
|
message: "must be number"
|
|
20591
20591
|
};
|
|
20592
20592
|
s === null ? s = [
|
|
20593
|
-
|
|
20593
|
+
j
|
|
20594
20594
|
] : s.push(
|
|
20595
|
-
|
|
20595
|
+
j
|
|
20596
20596
|
), n++;
|
|
20597
20597
|
}
|
|
20598
20598
|
var d = P === n;
|
|
@@ -20604,7 +20604,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20604
20604
|
}
|
|
20605
20605
|
}
|
|
20606
20606
|
} else {
|
|
20607
|
-
const
|
|
20607
|
+
const C = {
|
|
20608
20608
|
instancePath: t + "/body",
|
|
20609
20609
|
schemaPath: "#/properties/body/anyOf/1/type",
|
|
20610
20610
|
keyword: "type",
|
|
@@ -20613,7 +20613,7 @@ function We(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
20613
20613
|
},
|
|
20614
20614
|
message: "must be object"
|
|
20615
20615
|
};
|
|
20616
|
-
s === null ? s = [
|
|
20616
|
+
s === null ? s = [C] : s.push(C), n++;
|
|
20617
20617
|
}
|
|
20618
20618
|
var p = $ === n;
|
|
20619
20619
|
O = O || p;
|
|
@@ -21424,10 +21424,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
21424
21424
|
message: "must be object"
|
|
21425
21425
|
}
|
|
21426
21426
|
], !1;
|
|
21427
|
-
var
|
|
21427
|
+
var S = N === n;
|
|
21428
21428
|
} else
|
|
21429
|
-
var
|
|
21430
|
-
if (
|
|
21429
|
+
var S = !0;
|
|
21430
|
+
if (S) {
|
|
21431
21431
|
if (e.step !== void 0) {
|
|
21432
21432
|
let f = e.step;
|
|
21433
21433
|
const N = n;
|
|
@@ -21455,10 +21455,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
21455
21455
|
message: "must be equal to constant"
|
|
21456
21456
|
}
|
|
21457
21457
|
], !1;
|
|
21458
|
-
var
|
|
21458
|
+
var S = N === n;
|
|
21459
21459
|
} else
|
|
21460
|
-
var
|
|
21461
|
-
if (
|
|
21460
|
+
var S = !0;
|
|
21461
|
+
if (S) {
|
|
21462
21462
|
if (e.consts !== void 0) {
|
|
21463
21463
|
let f = e.consts;
|
|
21464
21464
|
const N = n;
|
|
@@ -21476,10 +21476,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
21476
21476
|
message: "must be object"
|
|
21477
21477
|
}
|
|
21478
21478
|
], !1;
|
|
21479
|
-
var
|
|
21479
|
+
var S = N === n;
|
|
21480
21480
|
} else
|
|
21481
|
-
var
|
|
21482
|
-
if (
|
|
21481
|
+
var S = !0;
|
|
21482
|
+
if (S) {
|
|
21483
21483
|
if (e.method !== void 0) {
|
|
21484
21484
|
let f = e.method;
|
|
21485
21485
|
const N = n;
|
|
@@ -21507,10 +21507,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
21507
21507
|
message: "must be equal to one of the allowed values"
|
|
21508
21508
|
}
|
|
21509
21509
|
], !1;
|
|
21510
|
-
var
|
|
21510
|
+
var S = N === n;
|
|
21511
21511
|
} else
|
|
21512
|
-
var
|
|
21513
|
-
if (
|
|
21512
|
+
var S = !0;
|
|
21513
|
+
if (S)
|
|
21514
21514
|
if (e.virtualize !== void 0) {
|
|
21515
21515
|
const f = n;
|
|
21516
21516
|
if (typeof e.virtualize != "boolean")
|
|
@@ -21525,9 +21525,9 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
21525
21525
|
message: "must be boolean"
|
|
21526
21526
|
}
|
|
21527
21527
|
], !1;
|
|
21528
|
-
var
|
|
21528
|
+
var S = f === n;
|
|
21529
21529
|
} else
|
|
21530
|
-
var
|
|
21530
|
+
var S = !0;
|
|
21531
21531
|
}
|
|
21532
21532
|
}
|
|
21533
21533
|
}
|
|
@@ -21982,10 +21982,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
21982
21982
|
message: "must be object"
|
|
21983
21983
|
}
|
|
21984
21984
|
], !1;
|
|
21985
|
-
var
|
|
21985
|
+
var L = N === n;
|
|
21986
21986
|
} else
|
|
21987
|
-
var
|
|
21988
|
-
if (
|
|
21987
|
+
var L = !0;
|
|
21988
|
+
if (L) {
|
|
21989
21989
|
if (e.step !== void 0) {
|
|
21990
21990
|
let f = e.step;
|
|
21991
21991
|
const N = n;
|
|
@@ -22013,10 +22013,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22013
22013
|
message: "must be equal to constant"
|
|
22014
22014
|
}
|
|
22015
22015
|
], !1;
|
|
22016
|
-
var
|
|
22016
|
+
var L = N === n;
|
|
22017
22017
|
} else
|
|
22018
|
-
var
|
|
22019
|
-
if (
|
|
22018
|
+
var L = !0;
|
|
22019
|
+
if (L) {
|
|
22020
22020
|
if (e.file !== void 0) {
|
|
22021
22021
|
const f = n;
|
|
22022
22022
|
_e(e.file, {
|
|
@@ -22027,10 +22027,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22027
22027
|
}) || (s = s === null ? _e.errors : s.concat(
|
|
22028
22028
|
_e.errors
|
|
22029
22029
|
), n = s.length);
|
|
22030
|
-
var
|
|
22030
|
+
var L = f === n;
|
|
22031
22031
|
} else
|
|
22032
|
-
var
|
|
22033
|
-
if (
|
|
22032
|
+
var L = !0;
|
|
22033
|
+
if (L)
|
|
22034
22034
|
if (e.importer !== void 0) {
|
|
22035
22035
|
let f = e.importer;
|
|
22036
22036
|
const N = n;
|
|
@@ -22058,9 +22058,9 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22058
22058
|
message: "must be equal to one of the allowed values"
|
|
22059
22059
|
}
|
|
22060
22060
|
], !1;
|
|
22061
|
-
var
|
|
22061
|
+
var L = N === n;
|
|
22062
22062
|
} else
|
|
22063
|
-
var
|
|
22063
|
+
var L = !0;
|
|
22064
22064
|
}
|
|
22065
22065
|
}
|
|
22066
22066
|
}
|
|
@@ -22178,10 +22178,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22178
22178
|
message: "must be object"
|
|
22179
22179
|
}
|
|
22180
22180
|
], !1;
|
|
22181
|
-
var
|
|
22181
|
+
var I = N === n;
|
|
22182
22182
|
} else
|
|
22183
|
-
var
|
|
22184
|
-
if (
|
|
22183
|
+
var I = !0;
|
|
22184
|
+
if (I) {
|
|
22185
22185
|
if (e.step !== void 0) {
|
|
22186
22186
|
let f = e.step;
|
|
22187
22187
|
const N = n;
|
|
@@ -22209,10 +22209,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22209
22209
|
message: "must be equal to constant"
|
|
22210
22210
|
}
|
|
22211
22211
|
], !1;
|
|
22212
|
-
var
|
|
22212
|
+
var I = N === n;
|
|
22213
22213
|
} else
|
|
22214
|
-
var
|
|
22215
|
-
if (
|
|
22214
|
+
var I = !0;
|
|
22215
|
+
if (I)
|
|
22216
22216
|
if (e.themeSlug !== void 0) {
|
|
22217
22217
|
const f = n;
|
|
22218
22218
|
if (typeof e.themeSlug != "string")
|
|
@@ -22227,9 +22227,9 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22227
22227
|
message: "must be string"
|
|
22228
22228
|
}
|
|
22229
22229
|
], !1;
|
|
22230
|
-
var
|
|
22230
|
+
var I = f === n;
|
|
22231
22231
|
} else
|
|
22232
|
-
var
|
|
22232
|
+
var I = !0;
|
|
22233
22233
|
}
|
|
22234
22234
|
}
|
|
22235
22235
|
}
|
|
@@ -22312,10 +22312,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22312
22312
|
message: "must be number"
|
|
22313
22313
|
}
|
|
22314
22314
|
], !1;
|
|
22315
|
-
var
|
|
22315
|
+
var C = ne === n;
|
|
22316
22316
|
} else
|
|
22317
|
-
var
|
|
22318
|
-
if (
|
|
22317
|
+
var C = !0;
|
|
22318
|
+
if (C)
|
|
22319
22319
|
if (f.caption !== void 0) {
|
|
22320
22320
|
const k = n;
|
|
22321
22321
|
if (typeof f.caption != "string")
|
|
@@ -22330,9 +22330,9 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22330
22330
|
message: "must be string"
|
|
22331
22331
|
}
|
|
22332
22332
|
], !1;
|
|
22333
|
-
var
|
|
22333
|
+
var C = k === n;
|
|
22334
22334
|
} else
|
|
22335
|
-
var
|
|
22335
|
+
var C = !0;
|
|
22336
22336
|
}
|
|
22337
22337
|
} else
|
|
22338
22338
|
return v.errors = [
|
|
@@ -22614,8 +22614,8 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22614
22614
|
) || (s = s === null ? _e.errors : s.concat(
|
|
22615
22615
|
_e.errors
|
|
22616
22616
|
), n = s.length);
|
|
22617
|
-
var
|
|
22618
|
-
if (k = k ||
|
|
22617
|
+
var T = ne === n;
|
|
22618
|
+
if (k = k || T, !k) {
|
|
22619
22619
|
const ke = n;
|
|
22620
22620
|
ut(
|
|
22621
22621
|
f,
|
|
@@ -22628,8 +22628,8 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22628
22628
|
) || (s = s === null ? ut.errors : s.concat(
|
|
22629
22629
|
ut.errors
|
|
22630
22630
|
), n = s.length);
|
|
22631
|
-
var
|
|
22632
|
-
k = k ||
|
|
22631
|
+
var T = ke === n;
|
|
22632
|
+
k = k || T;
|
|
22633
22633
|
}
|
|
22634
22634
|
if (k)
|
|
22635
22635
|
n = re, s !== null && (re ? s.length = re : s = null);
|
|
@@ -22704,10 +22704,10 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22704
22704
|
message: "must be boolean"
|
|
22705
22705
|
}
|
|
22706
22706
|
], !1;
|
|
22707
|
-
var
|
|
22707
|
+
var j = $e === n;
|
|
22708
22708
|
} else
|
|
22709
|
-
var
|
|
22710
|
-
if (
|
|
22709
|
+
var j = !0;
|
|
22710
|
+
if (j)
|
|
22711
22711
|
if (f.targetFolderName !== void 0) {
|
|
22712
22712
|
const $e = n;
|
|
22713
22713
|
if (typeof f.targetFolderName != "string")
|
|
@@ -22722,9 +22722,9 @@ function v(e, { instancePath: t = "", parentData: r, parentDataProperty: i, root
|
|
|
22722
22722
|
message: "must be string"
|
|
22723
22723
|
}
|
|
22724
22724
|
], !1;
|
|
22725
|
-
var
|
|
22725
|
+
var j = $e === n;
|
|
22726
22726
|
} else
|
|
22727
|
-
var
|
|
22727
|
+
var j = !0;
|
|
22728
22728
|
}
|
|
22729
22729
|
} else
|
|
22730
22730
|
return v.errors = [
|
|
@@ -26855,7 +26855,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26855
26855
|
let s = null, n = 0;
|
|
26856
26856
|
if (n === 0)
|
|
26857
26857
|
if (e && typeof e == "object" && !Array.isArray(e)) {
|
|
26858
|
-
const
|
|
26858
|
+
const C = n;
|
|
26859
26859
|
for (const b in e)
|
|
26860
26860
|
if (!md.call(pv.properties, b))
|
|
26861
26861
|
return me.errors = [
|
|
@@ -26867,7 +26867,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26867
26867
|
message: "must NOT have additional properties"
|
|
26868
26868
|
}
|
|
26869
26869
|
], !1;
|
|
26870
|
-
if (
|
|
26870
|
+
if (C === n) {
|
|
26871
26871
|
if (e.landingPage !== void 0) {
|
|
26872
26872
|
const b = n;
|
|
26873
26873
|
if (typeof e.landingPage != "string")
|
|
@@ -26905,21 +26905,21 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26905
26905
|
const F = n;
|
|
26906
26906
|
if (n === F)
|
|
26907
26907
|
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
26908
|
-
let
|
|
26909
|
-
if (b.title === void 0 && (
|
|
26908
|
+
let T;
|
|
26909
|
+
if (b.title === void 0 && (T = "title") || b.author === void 0 && (T = "author"))
|
|
26910
26910
|
return me.errors = [
|
|
26911
26911
|
{
|
|
26912
26912
|
instancePath: t + "/meta",
|
|
26913
26913
|
schemaPath: "#/properties/meta/required",
|
|
26914
26914
|
keyword: "required",
|
|
26915
26915
|
params: {
|
|
26916
|
-
missingProperty:
|
|
26916
|
+
missingProperty: T
|
|
26917
26917
|
},
|
|
26918
|
-
message: "must have required property '" +
|
|
26918
|
+
message: "must have required property '" + T + "'"
|
|
26919
26919
|
}
|
|
26920
26920
|
], !1;
|
|
26921
26921
|
{
|
|
26922
|
-
const
|
|
26922
|
+
const j = n;
|
|
26923
26923
|
for (const R in b)
|
|
26924
26924
|
if (!(R === "title" || R === "description" || R === "author" || R === "categories"))
|
|
26925
26925
|
return me.errors = [
|
|
@@ -26933,7 +26933,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
26933
26933
|
message: "must NOT have additional properties"
|
|
26934
26934
|
}
|
|
26935
26935
|
], !1;
|
|
26936
|
-
if (
|
|
26936
|
+
if (j === n) {
|
|
26937
26937
|
if (b.title !== void 0) {
|
|
26938
26938
|
const R = n;
|
|
26939
26939
|
if (typeof b.title != "string")
|
|
@@ -27053,21 +27053,21 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27053
27053
|
const F = n;
|
|
27054
27054
|
if (n === F)
|
|
27055
27055
|
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
27056
|
-
let
|
|
27057
|
-
if (b.php === void 0 && (
|
|
27056
|
+
let T;
|
|
27057
|
+
if (b.php === void 0 && (T = "php") || b.wp === void 0 && (T = "wp"))
|
|
27058
27058
|
return me.errors = [
|
|
27059
27059
|
{
|
|
27060
27060
|
instancePath: t + "/preferredVersions",
|
|
27061
27061
|
schemaPath: "#/properties/preferredVersions/required",
|
|
27062
27062
|
keyword: "required",
|
|
27063
27063
|
params: {
|
|
27064
|
-
missingProperty:
|
|
27064
|
+
missingProperty: T
|
|
27065
27065
|
},
|
|
27066
|
-
message: "must have required property '" +
|
|
27066
|
+
message: "must have required property '" + T + "'"
|
|
27067
27067
|
}
|
|
27068
27068
|
], !1;
|
|
27069
27069
|
{
|
|
27070
|
-
const
|
|
27070
|
+
const j = n;
|
|
27071
27071
|
for (const R in b)
|
|
27072
27072
|
if (!(R === "php" || R === "wp"))
|
|
27073
27073
|
return me.errors = [
|
|
@@ -27081,7 +27081,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27081
27081
|
message: "must NOT have additional properties"
|
|
27082
27082
|
}
|
|
27083
27083
|
], !1;
|
|
27084
|
-
if (
|
|
27084
|
+
if (j === n) {
|
|
27085
27085
|
if (b.php !== void 0) {
|
|
27086
27086
|
let R = b.php;
|
|
27087
27087
|
const D = n, V = n;
|
|
@@ -27284,23 +27284,23 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27284
27284
|
const F = n;
|
|
27285
27285
|
if (n === F)
|
|
27286
27286
|
if (b && typeof b == "object" && !Array.isArray(b)) {
|
|
27287
|
-
const
|
|
27288
|
-
for (const
|
|
27289
|
-
if (!(
|
|
27287
|
+
const T = n;
|
|
27288
|
+
for (const j in b)
|
|
27289
|
+
if (!(j === "intl" || j === "networking"))
|
|
27290
27290
|
return me.errors = [
|
|
27291
27291
|
{
|
|
27292
27292
|
instancePath: t + "/features",
|
|
27293
27293
|
schemaPath: "#/properties/features/additionalProperties",
|
|
27294
27294
|
keyword: "additionalProperties",
|
|
27295
27295
|
params: {
|
|
27296
|
-
additionalProperty:
|
|
27296
|
+
additionalProperty: j
|
|
27297
27297
|
},
|
|
27298
27298
|
message: "must NOT have additional properties"
|
|
27299
27299
|
}
|
|
27300
27300
|
], !1;
|
|
27301
|
-
if (
|
|
27301
|
+
if (T === n) {
|
|
27302
27302
|
if (b.intl !== void 0) {
|
|
27303
|
-
const
|
|
27303
|
+
const j = n;
|
|
27304
27304
|
if (typeof b.intl != "boolean")
|
|
27305
27305
|
return me.errors = [
|
|
27306
27306
|
{
|
|
@@ -27313,12 +27313,12 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27313
27313
|
message: "must be boolean"
|
|
27314
27314
|
}
|
|
27315
27315
|
], !1;
|
|
27316
|
-
var y =
|
|
27316
|
+
var y = j === n;
|
|
27317
27317
|
} else
|
|
27318
27318
|
var y = !0;
|
|
27319
27319
|
if (y)
|
|
27320
27320
|
if (b.networking !== void 0) {
|
|
27321
|
-
const
|
|
27321
|
+
const j = n;
|
|
27322
27322
|
if (typeof b.networking != "boolean")
|
|
27323
27323
|
return me.errors = [
|
|
27324
27324
|
{
|
|
@@ -27331,7 +27331,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27331
27331
|
message: "must be boolean"
|
|
27332
27332
|
}
|
|
27333
27333
|
], !1;
|
|
27334
|
-
var y =
|
|
27334
|
+
var y = j === n;
|
|
27335
27335
|
} else
|
|
27336
27336
|
var y = !0;
|
|
27337
27337
|
}
|
|
@@ -27354,15 +27354,15 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27354
27354
|
const F = n;
|
|
27355
27355
|
if (n === F)
|
|
27356
27356
|
if (Array.isArray(b)) {
|
|
27357
|
-
var
|
|
27358
|
-
const
|
|
27359
|
-
for (let
|
|
27360
|
-
let R = b[
|
|
27357
|
+
var S = !0;
|
|
27358
|
+
const T = b.length;
|
|
27359
|
+
for (let j = 0; j < T; j++) {
|
|
27360
|
+
let R = b[j];
|
|
27361
27361
|
const D = n;
|
|
27362
27362
|
if (typeof R != "string")
|
|
27363
27363
|
return me.errors = [
|
|
27364
27364
|
{
|
|
27365
|
-
instancePath: t + "/extraLibraries/" +
|
|
27365
|
+
instancePath: t + "/extraLibraries/" + j,
|
|
27366
27366
|
schemaPath: "#/definitions/ExtraLibrary/type",
|
|
27367
27367
|
keyword: "type",
|
|
27368
27368
|
params: {
|
|
@@ -27374,7 +27374,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27374
27374
|
if (R !== "wp-cli")
|
|
27375
27375
|
return me.errors = [
|
|
27376
27376
|
{
|
|
27377
|
-
instancePath: t + "/extraLibraries/" +
|
|
27377
|
+
instancePath: t + "/extraLibraries/" + j,
|
|
27378
27378
|
schemaPath: "#/definitions/ExtraLibrary/const",
|
|
27379
27379
|
keyword: "const",
|
|
27380
27380
|
params: {
|
|
@@ -27383,8 +27383,8 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27383
27383
|
message: "must be equal to constant"
|
|
27384
27384
|
}
|
|
27385
27385
|
], !1;
|
|
27386
|
-
var
|
|
27387
|
-
if (!
|
|
27386
|
+
var S = D === n;
|
|
27387
|
+
if (!S)
|
|
27388
27388
|
break;
|
|
27389
27389
|
}
|
|
27390
27390
|
} else
|
|
@@ -27408,13 +27408,13 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27408
27408
|
const F = n;
|
|
27409
27409
|
if (n === n)
|
|
27410
27410
|
if (b && typeof b == "object" && !Array.isArray(b))
|
|
27411
|
-
for (const
|
|
27412
|
-
let R = b[
|
|
27411
|
+
for (const j in b) {
|
|
27412
|
+
let R = b[j];
|
|
27413
27413
|
const D = n;
|
|
27414
27414
|
if (typeof R != "string" && typeof R != "boolean" && !(typeof R == "number" && isFinite(R)))
|
|
27415
27415
|
return me.errors = [
|
|
27416
27416
|
{
|
|
27417
|
-
instancePath: t + "/constants/" +
|
|
27417
|
+
instancePath: t + "/constants/" + j.replace(
|
|
27418
27418
|
/~/g,
|
|
27419
27419
|
"~0"
|
|
27420
27420
|
).replace(
|
|
@@ -27455,15 +27455,15 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27455
27455
|
if (n === F)
|
|
27456
27456
|
if (Array.isArray(b)) {
|
|
27457
27457
|
var w = !0;
|
|
27458
|
-
const
|
|
27459
|
-
for (let
|
|
27460
|
-
let R = b[
|
|
27458
|
+
const T = b.length;
|
|
27459
|
+
for (let j = 0; j < T; j++) {
|
|
27460
|
+
let R = b[j];
|
|
27461
27461
|
const D = n, V = n;
|
|
27462
27462
|
let B = !1;
|
|
27463
27463
|
const Y = n;
|
|
27464
27464
|
if (typeof R != "string") {
|
|
27465
27465
|
const te = {
|
|
27466
|
-
instancePath: t + "/plugins/" +
|
|
27466
|
+
instancePath: t + "/plugins/" + j,
|
|
27467
27467
|
schemaPath: "#/properties/plugins/items/anyOf/0/type",
|
|
27468
27468
|
keyword: "type",
|
|
27469
27469
|
params: {
|
|
@@ -27483,9 +27483,9 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27483
27483
|
_e(
|
|
27484
27484
|
R,
|
|
27485
27485
|
{
|
|
27486
|
-
instancePath: t + "/plugins/" +
|
|
27486
|
+
instancePath: t + "/plugins/" + j,
|
|
27487
27487
|
parentData: b,
|
|
27488
|
-
parentDataProperty:
|
|
27488
|
+
parentDataProperty: j,
|
|
27489
27489
|
rootData: a
|
|
27490
27490
|
}
|
|
27491
27491
|
) || (s = s === null ? _e.errors : s.concat(
|
|
@@ -27498,7 +27498,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27498
27498
|
n = V, s !== null && (V ? s.length = V : s = null);
|
|
27499
27499
|
else {
|
|
27500
27500
|
const te = {
|
|
27501
|
-
instancePath: t + "/plugins/" +
|
|
27501
|
+
instancePath: t + "/plugins/" + j,
|
|
27502
27502
|
schemaPath: "#/properties/plugins/items/anyOf",
|
|
27503
27503
|
keyword: "anyOf",
|
|
27504
27504
|
params: {},
|
|
@@ -27537,14 +27537,14 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27537
27537
|
if (b && typeof b == "object" && !Array.isArray(
|
|
27538
27538
|
b
|
|
27539
27539
|
)) {
|
|
27540
|
-
const
|
|
27541
|
-
for (const
|
|
27542
|
-
if (
|
|
27540
|
+
const T = n;
|
|
27541
|
+
for (const j in b)
|
|
27542
|
+
if (j !== "blogname") {
|
|
27543
27543
|
const R = n;
|
|
27544
|
-
if (typeof b[
|
|
27544
|
+
if (typeof b[j] != "string")
|
|
27545
27545
|
return me.errors = [
|
|
27546
27546
|
{
|
|
27547
|
-
instancePath: t + "/siteOptions/" +
|
|
27547
|
+
instancePath: t + "/siteOptions/" + j.replace(
|
|
27548
27548
|
/~/g,
|
|
27549
27549
|
"~0"
|
|
27550
27550
|
).replace(
|
|
@@ -27563,7 +27563,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27563
27563
|
if (!O)
|
|
27564
27564
|
break;
|
|
27565
27565
|
}
|
|
27566
|
-
if (
|
|
27566
|
+
if (T === n && b.blogname !== void 0 && typeof b.blogname != "string")
|
|
27567
27567
|
return me.errors = [
|
|
27568
27568
|
{
|
|
27569
27569
|
instancePath: t + "/siteOptions/blogname",
|
|
@@ -27594,8 +27594,8 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27594
27594
|
if (e.login !== void 0) {
|
|
27595
27595
|
let b = e.login;
|
|
27596
27596
|
const F = n, P = n;
|
|
27597
|
-
let
|
|
27598
|
-
const
|
|
27597
|
+
let T = !1;
|
|
27598
|
+
const j = n;
|
|
27599
27599
|
if (typeof b != "boolean") {
|
|
27600
27600
|
const D = {
|
|
27601
27601
|
instancePath: t + "/login",
|
|
@@ -27612,8 +27612,8 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27612
27612
|
D
|
|
27613
27613
|
), n++;
|
|
27614
27614
|
}
|
|
27615
|
-
var E =
|
|
27616
|
-
if (
|
|
27615
|
+
var E = j === n;
|
|
27616
|
+
if (T = T || E, !T) {
|
|
27617
27617
|
const D = n;
|
|
27618
27618
|
if (n === D)
|
|
27619
27619
|
if (b && typeof b == "object" && !Array.isArray(
|
|
@@ -27674,10 +27674,10 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27674
27674
|
te
|
|
27675
27675
|
), n++;
|
|
27676
27676
|
}
|
|
27677
|
-
var
|
|
27677
|
+
var L = G === n;
|
|
27678
27678
|
} else
|
|
27679
|
-
var
|
|
27680
|
-
if (
|
|
27679
|
+
var L = !0;
|
|
27680
|
+
if (L)
|
|
27681
27681
|
if (b.password !== void 0) {
|
|
27682
27682
|
const G = n;
|
|
27683
27683
|
if (typeof b.password != "string") {
|
|
@@ -27696,9 +27696,9 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27696
27696
|
z
|
|
27697
27697
|
), n++;
|
|
27698
27698
|
}
|
|
27699
|
-
var
|
|
27699
|
+
var L = G === n;
|
|
27700
27700
|
} else
|
|
27701
|
-
var
|
|
27701
|
+
var L = !0;
|
|
27702
27702
|
}
|
|
27703
27703
|
}
|
|
27704
27704
|
} else {
|
|
@@ -27718,9 +27718,9 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27718
27718
|
), n++;
|
|
27719
27719
|
}
|
|
27720
27720
|
var E = D === n;
|
|
27721
|
-
|
|
27721
|
+
T = T || E;
|
|
27722
27722
|
}
|
|
27723
|
-
if (
|
|
27723
|
+
if (T)
|
|
27724
27724
|
n = P, s !== null && (P ? s.length = P : s = null);
|
|
27725
27725
|
else {
|
|
27726
27726
|
const D = {
|
|
@@ -27748,29 +27748,29 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27748
27748
|
b
|
|
27749
27749
|
)) {
|
|
27750
27750
|
var $ = !0;
|
|
27751
|
-
const
|
|
27752
|
-
for (let
|
|
27753
|
-
let R = b[
|
|
27751
|
+
const T = b.length;
|
|
27752
|
+
for (let j = 0; j < T; j++) {
|
|
27753
|
+
let R = b[j];
|
|
27754
27754
|
const D = n, V = n;
|
|
27755
27755
|
let B = !1;
|
|
27756
27756
|
const Y = n;
|
|
27757
27757
|
v(
|
|
27758
27758
|
R,
|
|
27759
27759
|
{
|
|
27760
|
-
instancePath: t + "/steps/" +
|
|
27760
|
+
instancePath: t + "/steps/" + j,
|
|
27761
27761
|
parentData: b,
|
|
27762
|
-
parentDataProperty:
|
|
27762
|
+
parentDataProperty: j,
|
|
27763
27763
|
rootData: a
|
|
27764
27764
|
}
|
|
27765
27765
|
) || (s = s === null ? v.errors : s.concat(
|
|
27766
27766
|
v.errors
|
|
27767
27767
|
), n = s.length);
|
|
27768
|
-
var
|
|
27769
|
-
if (B = B ||
|
|
27768
|
+
var I = Y === n;
|
|
27769
|
+
if (B = B || I, !B) {
|
|
27770
27770
|
const te = n;
|
|
27771
27771
|
if (typeof R != "string") {
|
|
27772
27772
|
const X = {
|
|
27773
|
-
instancePath: t + "/steps/" +
|
|
27773
|
+
instancePath: t + "/steps/" + j,
|
|
27774
27774
|
schemaPath: "#/properties/steps/items/anyOf/1/type",
|
|
27775
27775
|
keyword: "type",
|
|
27776
27776
|
params: {
|
|
@@ -27784,10 +27784,10 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27784
27784
|
X
|
|
27785
27785
|
), n++;
|
|
27786
27786
|
}
|
|
27787
|
-
var
|
|
27788
|
-
if (B = B ||
|
|
27787
|
+
var I = te === n;
|
|
27788
|
+
if (B = B || I, !B) {
|
|
27789
27789
|
const X = n, ee = {
|
|
27790
|
-
instancePath: t + "/steps/" +
|
|
27790
|
+
instancePath: t + "/steps/" + j,
|
|
27791
27791
|
schemaPath: "#/properties/steps/items/anyOf/2/not",
|
|
27792
27792
|
keyword: "not",
|
|
27793
27793
|
params: {},
|
|
@@ -27798,12 +27798,12 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27798
27798
|
] : s.push(
|
|
27799
27799
|
ee
|
|
27800
27800
|
), n++;
|
|
27801
|
-
var
|
|
27802
|
-
if (B = B ||
|
|
27801
|
+
var I = X === n;
|
|
27802
|
+
if (B = B || I, !B) {
|
|
27803
27803
|
const fe = n;
|
|
27804
27804
|
if (typeof R != "boolean") {
|
|
27805
27805
|
const ie = {
|
|
27806
|
-
instancePath: t + "/steps/" +
|
|
27806
|
+
instancePath: t + "/steps/" + j,
|
|
27807
27807
|
schemaPath: "#/properties/steps/items/anyOf/3/type",
|
|
27808
27808
|
keyword: "type",
|
|
27809
27809
|
params: {
|
|
@@ -27819,7 +27819,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27819
27819
|
}
|
|
27820
27820
|
if (R !== !1) {
|
|
27821
27821
|
const ie = {
|
|
27822
|
-
instancePath: t + "/steps/" +
|
|
27822
|
+
instancePath: t + "/steps/" + j,
|
|
27823
27823
|
schemaPath: "#/properties/steps/items/anyOf/3/const",
|
|
27824
27824
|
keyword: "const",
|
|
27825
27825
|
params: {
|
|
@@ -27833,12 +27833,12 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27833
27833
|
ie
|
|
27834
27834
|
), n++;
|
|
27835
27835
|
}
|
|
27836
|
-
var
|
|
27837
|
-
if (B = B ||
|
|
27836
|
+
var I = fe === n;
|
|
27837
|
+
if (B = B || I, !B) {
|
|
27838
27838
|
const ie = n;
|
|
27839
27839
|
if (R !== null) {
|
|
27840
27840
|
const Oe = {
|
|
27841
|
-
instancePath: t + "/steps/" +
|
|
27841
|
+
instancePath: t + "/steps/" + j,
|
|
27842
27842
|
schemaPath: "#/properties/steps/items/anyOf/4/type",
|
|
27843
27843
|
keyword: "type",
|
|
27844
27844
|
params: {
|
|
@@ -27852,8 +27852,8 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27852
27852
|
Oe
|
|
27853
27853
|
), n++;
|
|
27854
27854
|
}
|
|
27855
|
-
var
|
|
27856
|
-
B = B ||
|
|
27855
|
+
var I = ie === n;
|
|
27856
|
+
B = B || I;
|
|
27857
27857
|
}
|
|
27858
27858
|
}
|
|
27859
27859
|
}
|
|
@@ -27862,7 +27862,7 @@ function me(e, { instancePath: t = "", parentData: r, parentDataProperty: i, roo
|
|
|
27862
27862
|
n = V, s !== null && (V ? s.length = V : s = null);
|
|
27863
27863
|
else {
|
|
27864
27864
|
const te = {
|
|
27865
|
-
instancePath: t + "/steps/" +
|
|
27865
|
+
instancePath: t + "/steps/" + j,
|
|
27866
27866
|
schemaPath: "#/properties/steps/items/anyOf",
|
|
27867
27867
|
keyword: "anyOf",
|
|
27868
27868
|
params: {},
|
|
@@ -27990,7 +27990,7 @@ function vv(e, {
|
|
|
27990
27990
|
gitAdditionalHeadersCallback: o,
|
|
27991
27991
|
additionalSteps: l
|
|
27992
27992
|
} = {}) {
|
|
27993
|
-
var g, w, _, O, E,
|
|
27993
|
+
var g, w, _, O, E, L, $, I, C, b, F;
|
|
27994
27994
|
e = structuredClone(e), e = {
|
|
27995
27995
|
...e,
|
|
27996
27996
|
steps: (e.steps || []).filter(Ev).filter(Sv)
|
|
@@ -28010,22 +28010,22 @@ function vv(e, {
|
|
|
28010
28010
|
step: "setSiteOptions",
|
|
28011
28011
|
options: e.siteOptions
|
|
28012
28012
|
}), e.plugins) {
|
|
28013
|
-
const P = e.plugins.map((
|
|
28013
|
+
const P = e.plugins.map((T) => typeof T == "string" ? Fv(T) ? {
|
|
28014
28014
|
resource: "zip",
|
|
28015
28015
|
inner: {
|
|
28016
28016
|
resource: "git:directory",
|
|
28017
|
-
url:
|
|
28017
|
+
url: T.trim().replace(/\/+$/, ""),
|
|
28018
28018
|
ref: "HEAD"
|
|
28019
28019
|
}
|
|
28020
|
-
} :
|
|
28020
|
+
} : T.startsWith("https://") ? {
|
|
28021
28021
|
resource: "url",
|
|
28022
|
-
url:
|
|
28022
|
+
url: T
|
|
28023
28023
|
} : {
|
|
28024
28024
|
resource: "wordpress.org/plugins",
|
|
28025
|
-
slug:
|
|
28026
|
-
} :
|
|
28025
|
+
slug: T
|
|
28026
|
+
} : T).map((T) => ({
|
|
28027
28027
|
step: "installPlugin",
|
|
28028
|
-
pluginData:
|
|
28028
|
+
pluginData: T
|
|
28029
28029
|
}));
|
|
28030
28030
|
e.steps.unshift(...P);
|
|
28031
28031
|
}
|
|
@@ -28048,7 +28048,7 @@ function vv(e, {
|
|
|
28048
28048
|
P
|
|
28049
28049
|
);
|
|
28050
28050
|
}
|
|
28051
|
-
const c = (
|
|
28051
|
+
const c = (L = e.steps) == null ? void 0 : L.findIndex(
|
|
28052
28052
|
(P) => typeof P == "object" && (P == null ? void 0 : P.step) === "importWxr"
|
|
28053
28053
|
);
|
|
28054
28054
|
c !== void 0 && c > -1 && (($ = e.steps) == null || $.splice(c, 0, {
|
|
@@ -28060,13 +28060,13 @@ function vv(e, {
|
|
|
28060
28060
|
}));
|
|
28061
28061
|
const d = kv(e);
|
|
28062
28062
|
if (!d.valid) {
|
|
28063
|
-
const { errors: P } = d,
|
|
28063
|
+
const { errors: P } = d, T = xv(e, P);
|
|
28064
28064
|
throw new gd(
|
|
28065
28065
|
`Invalid Blueprint: The Blueprint does not conform to the schema.
|
|
28066
28066
|
|
|
28067
28067
|
Found ${P.length} validation error(s):
|
|
28068
28068
|
|
|
28069
|
-
${
|
|
28069
|
+
${T}
|
|
28070
28070
|
|
|
28071
28071
|
Please review your Blueprint and fix these issues. Learn more about the Blueprint format: https://wordpress.github.io/wordpress-playground/blueprints/data-format`,
|
|
28072
28072
|
P
|
|
@@ -28074,12 +28074,12 @@ Please review your Blueprint and fix these issues. Learn more about the Blueprin
|
|
|
28074
28074
|
}
|
|
28075
28075
|
a(e);
|
|
28076
28076
|
const m = e.steps || [], y = m.reduce(
|
|
28077
|
-
(P,
|
|
28078
|
-
var
|
|
28079
|
-
return P + (((
|
|
28077
|
+
(P, T) => {
|
|
28078
|
+
var j;
|
|
28079
|
+
return P + (((j = T.progress) == null ? void 0 : j.weight) || 1);
|
|
28080
28080
|
},
|
|
28081
28081
|
0
|
|
28082
|
-
),
|
|
28082
|
+
), S = m.map(
|
|
28083
28083
|
(P) => Tv(P, {
|
|
28084
28084
|
semaphore: r,
|
|
28085
28085
|
rootProgressTracker: t,
|
|
@@ -28092,11 +28092,11 @@ Please review your Blueprint and fix these issues. Learn more about the Blueprin
|
|
|
28092
28092
|
return {
|
|
28093
28093
|
versions: {
|
|
28094
28094
|
php: Pv(
|
|
28095
|
-
(
|
|
28095
|
+
(I = e.preferredVersions) == null ? void 0 : I.php,
|
|
28096
28096
|
sh,
|
|
28097
28097
|
rh
|
|
28098
28098
|
),
|
|
28099
|
-
wp: ((
|
|
28099
|
+
wp: ((C = e.preferredVersions) == null ? void 0 : C.wp) || "latest"
|
|
28100
28100
|
},
|
|
28101
28101
|
features: {
|
|
28102
28102
|
// Disable intl by default to reduce the transfer size
|
|
@@ -28107,16 +28107,16 @@ Please review your Blueprint and fix these issues. Learn more about the Blueprin
|
|
|
28107
28107
|
extraLibraries: e.extraLibraries || [],
|
|
28108
28108
|
run: async (P) => {
|
|
28109
28109
|
try {
|
|
28110
|
-
for (const { resources:
|
|
28111
|
-
for (const
|
|
28112
|
-
|
|
28110
|
+
for (const { resources: T } of S)
|
|
28111
|
+
for (const j of T)
|
|
28112
|
+
j.setPlayground(P), j.isAsync && j.resolve().catch(() => {
|
|
28113
28113
|
});
|
|
28114
|
-
for (const [
|
|
28114
|
+
for (const [T, { run: j, step: R }] of Object.entries(S))
|
|
28115
28115
|
try {
|
|
28116
|
-
const D = await
|
|
28116
|
+
const D = await j(P);
|
|
28117
28117
|
i(D, R);
|
|
28118
28118
|
} catch (D) {
|
|
28119
|
-
const V = Number(
|
|
28119
|
+
const V = Number(T) + 1;
|
|
28120
28120
|
throw new bv({
|
|
28121
28121
|
stepNumber: V,
|
|
28122
28122
|
step: R,
|
|
@@ -28125,9 +28125,9 @@ Please review your Blueprint and fix these issues. Learn more about the Blueprin
|
|
|
28125
28125
|
}
|
|
28126
28126
|
} finally {
|
|
28127
28127
|
try {
|
|
28128
|
-
const
|
|
28128
|
+
const T = await P.pathToInternalUrl(e.landingPage || "/");
|
|
28129
28129
|
await P.goTo(
|
|
28130
|
-
"/index.php?playground-redirection-handler&next=" + encodeURIComponent(
|
|
28130
|
+
"/index.php?playground-redirection-handler&next=" + encodeURIComponent(T)
|
|
28131
28131
|
);
|
|
28132
28132
|
} catch {
|
|
28133
28133
|
}
|
|
@@ -28221,20 +28221,20 @@ function Tv(e, {
|
|
|
28221
28221
|
const o = r.stage(
|
|
28222
28222
|
(((y = e.progress) == null ? void 0 : y.weight) || 1) / i
|
|
28223
28223
|
), l = {};
|
|
28224
|
-
for (const
|
|
28225
|
-
let g = e[
|
|
28224
|
+
for (const S of Object.keys(e)) {
|
|
28225
|
+
let g = e[S];
|
|
28226
28226
|
p_(g) && (g = Pt.create(g, {
|
|
28227
28227
|
semaphore: t,
|
|
28228
28228
|
corsProxy: a,
|
|
28229
28229
|
streamBundledFile: s,
|
|
28230
28230
|
gitAdditionalHeadersCallback: n
|
|
28231
|
-
})), l[
|
|
28231
|
+
})), l[S] = g;
|
|
28232
28232
|
}
|
|
28233
|
-
const p = async (
|
|
28233
|
+
const p = async (S) => {
|
|
28234
28234
|
var g;
|
|
28235
28235
|
try {
|
|
28236
28236
|
return o.fillSlowly(), await wv[e.step](
|
|
28237
|
-
|
|
28237
|
+
S,
|
|
28238
28238
|
await Ov(l),
|
|
28239
28239
|
{
|
|
28240
28240
|
tracker: o,
|
|
@@ -28245,10 +28245,10 @@ function Tv(e, {
|
|
|
28245
28245
|
o.finish();
|
|
28246
28246
|
}
|
|
28247
28247
|
}, c = Ap(l), d = Ap(l).filter(
|
|
28248
|
-
(
|
|
28248
|
+
(S) => S.isAsync
|
|
28249
28249
|
), m = 1 / (d.length + 1);
|
|
28250
|
-
for (const
|
|
28251
|
-
|
|
28250
|
+
for (const S of d)
|
|
28251
|
+
S.progress = o.stage(m);
|
|
28252
28252
|
return { run: p, step: e, resources: c };
|
|
28253
28253
|
}
|
|
28254
28254
|
function Ap(e) {
|
|
@@ -28371,7 +28371,7 @@ async function Qv(e) {
|
|
|
28371
28371
|
const y = typeof m == "string" ? JSON.parse(m) : m;
|
|
28372
28372
|
if (!y)
|
|
28373
28373
|
return;
|
|
28374
|
-
await new Promise((
|
|
28374
|
+
await new Promise((S) => setTimeout(S, 0)), y.type.startsWith("blueprint.") && await a(y);
|
|
28375
28375
|
} catch (y) {
|
|
28376
28376
|
Te.warn("Failed to parse message as JSON:", m, y);
|
|
28377
28377
|
}
|
|
@@ -28589,7 +28589,7 @@ class Wv {
|
|
|
28589
28589
|
this.options = t;
|
|
28590
28590
|
}
|
|
28591
28591
|
async bootPlayground(t, r) {
|
|
28592
|
-
var
|
|
28592
|
+
var j;
|
|
28593
28593
|
const {
|
|
28594
28594
|
onBlueprintValidated: i,
|
|
28595
28595
|
onBlueprintStepCompleted: a,
|
|
@@ -28602,50 +28602,51 @@ class Wv {
|
|
|
28602
28602
|
sqliteDriverVersion: d,
|
|
28603
28603
|
wordpressInstallMode: m,
|
|
28604
28604
|
onClientConnected: y,
|
|
28605
|
-
pathAliases:
|
|
28606
|
-
|
|
28605
|
+
pathAliases: S,
|
|
28606
|
+
disableProgressBar: g
|
|
28607
|
+
} = this.options, w = r.stage(0.5), _ = r.stage(), O = this.options.blueprint || {}, E = Gp(
|
|
28607
28608
|
t.contentWindow,
|
|
28608
28609
|
t.ownerDocument.defaultView
|
|
28609
28610
|
);
|
|
28610
|
-
await
|
|
28611
|
-
const
|
|
28612
|
-
|
|
28613
|
-
const
|
|
28614
|
-
if (
|
|
28611
|
+
await E.isConnected(), g || r.pipe(E);
|
|
28612
|
+
const L = await Uv(O), $ = L.intl ? ["intl"] : [];
|
|
28613
|
+
$.push(...this.options.extensions || []), await E.onDownloadProgress(_.loadingListener);
|
|
28614
|
+
const I = !Si(O) && ((j = O.preferredVersions) == null ? void 0 : j.wp) === !1, C = m ?? (I ? "do-not-attempt-installing" : c === !1 ? "install-from-existing-files-if-needed" : "download-and-install");
|
|
28615
|
+
if (I && (c === !0 || m !== void 0 && m !== "do-not-attempt-installing"))
|
|
28615
28616
|
throw new Error(
|
|
28616
28617
|
"Conflicting options: WordPress was requested, but the Blueprint sets `preferredVersions.wp: false`. Pick one."
|
|
28617
28618
|
);
|
|
28618
|
-
if (await
|
|
28619
|
+
if (await E.boot({
|
|
28619
28620
|
mounts: o,
|
|
28620
28621
|
sapiName: l,
|
|
28621
28622
|
scope: p ?? Math.random().toFixed(16),
|
|
28622
|
-
wordpressInstallMode:
|
|
28623
|
-
phpVersion:
|
|
28624
|
-
wpVersion:
|
|
28625
|
-
extensions:
|
|
28626
|
-
withNetworking:
|
|
28623
|
+
wordpressInstallMode: C,
|
|
28624
|
+
phpVersion: L.phpVersion,
|
|
28625
|
+
wpVersion: L.wpVersion,
|
|
28626
|
+
extensions: $,
|
|
28627
|
+
withNetworking: L.networking,
|
|
28627
28628
|
corsProxyUrl: s,
|
|
28628
28629
|
sqliteDriverVersion: d,
|
|
28629
|
-
pathAliases:
|
|
28630
|
-
}), await
|
|
28631
|
-
const
|
|
28632
|
-
progress:
|
|
28630
|
+
pathAliases: S
|
|
28631
|
+
}), await E.isReady(), _.finish(), Lp(Te, E), y == null || y(E), (await Dn.create(O)).getVersion() === 1) {
|
|
28632
|
+
const R = await wd(O, {
|
|
28633
|
+
progress: w,
|
|
28633
28634
|
onStepCompleted: a,
|
|
28634
28635
|
onBlueprintValidated: i,
|
|
28635
28636
|
corsProxy: s,
|
|
28636
28637
|
gitAdditionalHeadersCallback: n
|
|
28637
28638
|
});
|
|
28638
|
-
await Av(
|
|
28639
|
+
await Av(R, E);
|
|
28639
28640
|
}
|
|
28640
|
-
const
|
|
28641
|
-
if (
|
|
28642
|
-
if (await Hv(
|
|
28643
|
-
await
|
|
28641
|
+
const F = parseFloat(L.wpVersion), P = Number.isFinite(F) && F < 5.1;
|
|
28642
|
+
if (L.networking && !P && C === "download-and-install")
|
|
28643
|
+
if (await Hv(O))
|
|
28644
|
+
await E.prefetchUpdateChecks();
|
|
28644
28645
|
else {
|
|
28645
|
-
const
|
|
28646
|
-
globalThis.requestIdleCallback ? globalThis.requestIdleCallback(
|
|
28646
|
+
const R = () => E.prefetchUpdateChecks();
|
|
28647
|
+
globalThis.requestIdleCallback ? globalThis.requestIdleCallback(R, { timeout: 5e3 }) : setTimeout(R, 0);
|
|
28647
28648
|
}
|
|
28648
|
-
return
|
|
28649
|
+
return E;
|
|
28649
28650
|
}
|
|
28650
28651
|
}
|
|
28651
28652
|
async function Hv(e) {
|
|
@@ -28680,36 +28681,37 @@ class zv {
|
|
|
28680
28681
|
mounts: n,
|
|
28681
28682
|
sapiName: o,
|
|
28682
28683
|
scope: l,
|
|
28683
|
-
pathAliases: p
|
|
28684
|
-
|
|
28684
|
+
pathAliases: p,
|
|
28685
|
+
disableProgressBar: c
|
|
28686
|
+
} = this.options, d = r.stage(0.25), m = r.stage(0.75), y = Gp(
|
|
28685
28687
|
t.contentWindow,
|
|
28686
28688
|
t.ownerDocument.defaultView
|
|
28687
28689
|
);
|
|
28688
|
-
return await
|
|
28690
|
+
return await y.isConnected(), c || r.pipe(y), await y.onDownloadProgress(d.loadingListener), await y.addEventListener(
|
|
28689
28691
|
"blueprint.message",
|
|
28690
|
-
({ message:
|
|
28691
|
-
switch (
|
|
28692
|
+
({ message: S }) => {
|
|
28693
|
+
switch (S.type) {
|
|
28692
28694
|
case "blueprint.target_resolved":
|
|
28693
28695
|
break;
|
|
28694
28696
|
case "blueprint.progress": {
|
|
28695
|
-
|
|
28697
|
+
m.set(S.progress), m.setCaption(S.caption);
|
|
28696
28698
|
break;
|
|
28697
28699
|
}
|
|
28698
28700
|
case "blueprint.error": {
|
|
28699
|
-
const
|
|
28700
|
-
throw
|
|
28701
|
-
`${
|
|
28702
|
-
at ${
|
|
28703
|
-
` + (
|
|
28701
|
+
const g = "\x1B[31m", w = "\x1B[1m", _ = "\x1B[0m";
|
|
28702
|
+
throw S.details ? Te.error(
|
|
28703
|
+
`${g}${w}Fatal error:${_} Uncaught ${S.details.exception}: ${S.details.message}
|
|
28704
|
+
at ${S.details.file}:${S.details.line}
|
|
28705
|
+
` + (S.details.trace ? S.details.trace + `
|
|
28704
28706
|
` : "")
|
|
28705
28707
|
) : Te.error(
|
|
28706
|
-
`${
|
|
28708
|
+
`${g}${w}Error:${_} ${S.message}
|
|
28707
28709
|
`
|
|
28708
|
-
), new Error(
|
|
28710
|
+
), new Error(S.message);
|
|
28709
28711
|
}
|
|
28710
28712
|
}
|
|
28711
28713
|
}
|
|
28712
|
-
), await
|
|
28714
|
+
), await y.boot({
|
|
28713
28715
|
mounts: n,
|
|
28714
28716
|
sapiName: o,
|
|
28715
28717
|
scope: l ?? Math.random().toFixed(16),
|
|
@@ -28719,7 +28721,7 @@ class zv {
|
|
|
28719
28721
|
// Pass the declaration directly – the worker runs the V2 runner.
|
|
28720
28722
|
blueprint: i,
|
|
28721
28723
|
pathAliases: p
|
|
28722
|
-
}), await
|
|
28724
|
+
}), await y.isReady(), d.finish(), Lp(Te, y), a == null || a(y), y.goTo("/"), y;
|
|
28723
28725
|
}
|
|
28724
28726
|
}
|
|
28725
28727
|
async function r2(e) {
|