@wp-playground/client 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/index.cjs +6 -6
  2. package/index.d.ts +1 -1
  3. package/index.js +450 -447
  4. package/package.json +8 -8
package/index.js CHANGED
@@ -1004,7 +1004,7 @@ const So = async (e, { wpCliPath: r }) => {
1004
1004
  home: o
1005
1005
  }
1006
1006
  }), await Bn(e, {
1007
- command: `wp core multisite-convert --base="${n}"`
1007
+ command: "wp core multisite-convert"
1008
1008
  });
1009
1009
  }, Ro = async (e, { fromPath: r, toPath: s }) => {
1010
1010
  await e.writeFile(
@@ -1466,7 +1466,7 @@ var Ei = {
1466
1466
  safe: yr,
1467
1467
  unsafe: Ut
1468
1468
  };
1469
- async function qu(e, r) {
1469
+ async function Uu(e, r) {
1470
1470
  const s = Ei.parse(await e.readFileAsText(Pi));
1471
1471
  for (const [n, o] of Object.entries(r))
1472
1472
  o == null ? delete s[n] : s[n] = o;
@@ -1496,7 +1496,7 @@ const ni = [
1496
1496
  "7.2",
1497
1497
  "7.1",
1498
1498
  "7.0"
1499
- ], Do = ni[0], Uu = ni;
1499
+ ], Do = ni[0], zu = ni;
1500
1500
  async function ns(e, r, s, { rmRoot: n = !1 } = {}) {
1501
1501
  n && await e.isDir(r) && await e.rmdir(r, { recursive: !0 });
1502
1502
  for (const [o, i] of Object.entries(s)) {
@@ -2816,42 +2816,42 @@ var Zn = {};
2816
2816
  })(function(r) {
2817
2817
  r.version = "1.2.2";
2818
2818
  function s() {
2819
- for (var S = 0, x = new Array(256), E = 0; E != 256; ++E)
2820
- S = E, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, x[E] = S;
2821
- return typeof Int32Array < "u" ? new Int32Array(x) : x;
2819
+ for (var S = 0, T = new Array(256), E = 0; E != 256; ++E)
2820
+ S = E, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, S = S & 1 ? -306674912 ^ S >>> 1 : S >>> 1, T[E] = S;
2821
+ return typeof Int32Array < "u" ? new Int32Array(T) : T;
2822
2822
  }
2823
2823
  var n = s();
2824
2824
  function o(S) {
2825
- var x = 0, E = 0, O = 0, D = typeof Int32Array < "u" ? new Int32Array(4096) : new Array(4096);
2825
+ var T = 0, E = 0, O = 0, C = typeof Int32Array < "u" ? new Int32Array(4096) : new Array(4096);
2826
2826
  for (O = 0; O != 256; ++O)
2827
- D[O] = S[O];
2827
+ C[O] = S[O];
2828
2828
  for (O = 0; O != 256; ++O)
2829
- for (E = S[O], x = 256 + O; x < 4096; x += 256)
2830
- E = D[x] = E >>> 8 ^ S[E & 255];
2829
+ for (E = S[O], T = 256 + O; T < 4096; T += 256)
2830
+ E = C[T] = E >>> 8 ^ S[E & 255];
2831
2831
  var L = [];
2832
2832
  for (O = 1; O != 16; ++O)
2833
- L[O - 1] = typeof Int32Array < "u" ? D.subarray(O * 256, O * 256 + 256) : D.slice(O * 256, O * 256 + 256);
2833
+ L[O - 1] = typeof Int32Array < "u" ? C.subarray(O * 256, O * 256 + 256) : C.slice(O * 256, O * 256 + 256);
2834
2834
  return L;
2835
2835
  }
2836
- var i = o(n), t = i[0], p = i[1], y = i[2], u = i[3], d = i[4], w = i[5], _ = i[6], b = i[7], j = i[8], P = i[9], q = i[10], C = i[11], M = i[12], B = i[13], U = i[14];
2837
- function A(S, x) {
2838
- for (var E = x ^ -1, O = 0, D = S.length; O < D; )
2836
+ var i = o(n), t = i[0], p = i[1], y = i[2], u = i[3], d = i[4], w = i[5], _ = i[6], b = i[7], j = i[8], P = i[9], q = i[10], D = i[11], M = i[12], B = i[13], U = i[14];
2837
+ function A(S, T) {
2838
+ for (var E = T ^ -1, O = 0, C = S.length; O < C; )
2839
2839
  E = E >>> 8 ^ n[(E ^ S.charCodeAt(O++)) & 255];
2840
2840
  return ~E;
2841
2841
  }
2842
- function T(S, x) {
2843
- for (var E = x ^ -1, O = S.length - 15, D = 0; D < O; )
2844
- E = U[S[D++] ^ E & 255] ^ B[S[D++] ^ E >> 8 & 255] ^ M[S[D++] ^ E >> 16 & 255] ^ C[S[D++] ^ E >>> 24] ^ q[S[D++]] ^ P[S[D++]] ^ j[S[D++]] ^ b[S[D++]] ^ _[S[D++]] ^ w[S[D++]] ^ d[S[D++]] ^ u[S[D++]] ^ y[S[D++]] ^ p[S[D++]] ^ t[S[D++]] ^ n[S[D++]];
2845
- for (O += 15; D < O; )
2846
- E = E >>> 8 ^ n[(E ^ S[D++]) & 255];
2842
+ function x(S, T) {
2843
+ for (var E = T ^ -1, O = S.length - 15, C = 0; C < O; )
2844
+ E = U[S[C++] ^ E & 255] ^ B[S[C++] ^ E >> 8 & 255] ^ M[S[C++] ^ E >> 16 & 255] ^ D[S[C++] ^ E >>> 24] ^ q[S[C++]] ^ P[S[C++]] ^ j[S[C++]] ^ b[S[C++]] ^ _[S[C++]] ^ w[S[C++]] ^ d[S[C++]] ^ u[S[C++]] ^ y[S[C++]] ^ p[S[C++]] ^ t[S[C++]] ^ n[S[C++]];
2845
+ for (O += 15; C < O; )
2846
+ E = E >>> 8 ^ n[(E ^ S[C++]) & 255];
2847
2847
  return ~E;
2848
2848
  }
2849
- function N(S, x) {
2850
- for (var E = x ^ -1, O = 0, D = S.length, L = 0, F = 0; O < D; )
2849
+ function N(S, T) {
2850
+ for (var E = T ^ -1, O = 0, C = S.length, L = 0, F = 0; O < C; )
2851
2851
  L = S.charCodeAt(O++), L < 128 ? E = E >>> 8 ^ n[(E ^ L) & 255] : L < 2048 ? (E = E >>> 8 ^ n[(E ^ (192 | L >> 6 & 31)) & 255], E = E >>> 8 ^ n[(E ^ (128 | L & 63)) & 255]) : L >= 55296 && L < 57344 ? (L = (L & 1023) + 64, F = S.charCodeAt(O++) & 1023, E = E >>> 8 ^ n[(E ^ (240 | L >> 8 & 7)) & 255], E = E >>> 8 ^ n[(E ^ (128 | L >> 2 & 63)) & 255], E = E >>> 8 ^ n[(E ^ (128 | F >> 6 & 15 | (L & 3) << 4)) & 255], E = E >>> 8 ^ n[(E ^ (128 | F & 63)) & 255]) : (E = E >>> 8 ^ n[(E ^ (224 | L >> 12 & 15)) & 255], E = E >>> 8 ^ n[(E ^ (128 | L >> 6 & 63)) & 255], E = E >>> 8 ^ n[(E ^ (128 | L & 63)) & 255]);
2852
2852
  return ~E;
2853
2853
  }
2854
- r.table = n, r.bstr = A, r.buf = T, r.str = N;
2854
+ r.table = n, r.bstr = A, r.buf = x, r.str = N;
2855
2855
  });
2856
2856
  })(Zn);
2857
2857
  const mp = /* @__PURE__ */ ii(Zn);
@@ -3765,8 +3765,8 @@ xt.deflate = di;
3765
3765
  xt.deflateRaw = Af;
3766
3766
  xt.gzip = Sf;
3767
3767
  var At = {}, rr = {}, Lt = 30, Rf = 12, Ff = function(r, s) {
3768
- var n, o, i, t, p, y, u, d, w, _, b, j, P, q, C, M, B, U, A, T, N, S, x, E, O;
3769
- n = r.state, o = r.next_in, E = r.input, i = o + (r.avail_in - 5), t = r.next_out, O = r.output, p = t - (s - r.avail_out), y = t + (r.avail_out - 257), u = n.dmax, d = n.wsize, w = n.whave, _ = n.wnext, b = n.window, j = n.hold, P = n.bits, q = n.lencode, C = n.distcode, M = (1 << n.lenbits) - 1, B = (1 << n.distbits) - 1;
3768
+ var n, o, i, t, p, y, u, d, w, _, b, j, P, q, D, M, B, U, A, x, N, S, T, E, O;
3769
+ n = r.state, o = r.next_in, E = r.input, i = o + (r.avail_in - 5), t = r.next_out, O = r.output, p = t - (s - r.avail_out), y = t + (r.avail_out - 257), u = n.dmax, d = n.wsize, w = n.whave, _ = n.wnext, b = n.window, j = n.hold, P = n.bits, q = n.lencode, D = n.distcode, M = (1 << n.lenbits) - 1, B = (1 << n.distbits) - 1;
3770
3770
  e:
3771
3771
  do {
3772
3772
  P < 15 && (j += E[o++] << P, P += 8, j += E[o++] << P, P += 8), U = q[j & M];
@@ -3775,7 +3775,7 @@ var At = {}, rr = {}, Lt = 30, Rf = 12, Ff = function(r, s) {
3775
3775
  if (A = U >>> 24, j >>>= A, P -= A, A = U >>> 16 & 255, A === 0)
3776
3776
  O[t++] = U & 65535;
3777
3777
  else if (A & 16) {
3778
- T = U & 65535, A &= 15, A && (P < A && (j += E[o++] << P, P += 8), T += j & (1 << A) - 1, j >>>= A, P -= A), P < 15 && (j += E[o++] << P, P += 8, j += E[o++] << P, P += 8), U = C[j & B];
3778
+ x = U & 65535, A &= 15, A && (P < A && (j += E[o++] << P, P += 8), x += j & (1 << A) - 1, j >>>= A, P -= A), P < 15 && (j += E[o++] << P, P += 8, j += E[o++] << P, P += 8), U = D[j & B];
3779
3779
  t:
3780
3780
  for (; ; ) {
3781
3781
  if (A = U >>> 24, j >>>= A, P -= A, A = U >>> 16 & 255, A & 16) {
@@ -3788,50 +3788,50 @@ var At = {}, rr = {}, Lt = 30, Rf = 12, Ff = function(r, s) {
3788
3788
  r.msg = "invalid distance too far back", n.mode = Lt;
3789
3789
  break e;
3790
3790
  }
3791
- if (S = 0, x = b, _ === 0) {
3792
- if (S += d - A, A < T) {
3793
- T -= A;
3791
+ if (S = 0, T = b, _ === 0) {
3792
+ if (S += d - A, A < x) {
3793
+ x -= A;
3794
3794
  do
3795
3795
  O[t++] = b[S++];
3796
3796
  while (--A);
3797
- S = t - N, x = O;
3797
+ S = t - N, T = O;
3798
3798
  }
3799
3799
  } else if (_ < A) {
3800
- if (S += d + _ - A, A -= _, A < T) {
3801
- T -= A;
3800
+ if (S += d + _ - A, A -= _, A < x) {
3801
+ x -= A;
3802
3802
  do
3803
3803
  O[t++] = b[S++];
3804
3804
  while (--A);
3805
- if (S = 0, _ < T) {
3806
- A = _, T -= A;
3805
+ if (S = 0, _ < x) {
3806
+ A = _, x -= A;
3807
3807
  do
3808
3808
  O[t++] = b[S++];
3809
3809
  while (--A);
3810
- S = t - N, x = O;
3810
+ S = t - N, T = O;
3811
3811
  }
3812
3812
  }
3813
- } else if (S += _ - A, A < T) {
3814
- T -= A;
3813
+ } else if (S += _ - A, A < x) {
3814
+ x -= A;
3815
3815
  do
3816
3816
  O[t++] = b[S++];
3817
3817
  while (--A);
3818
- S = t - N, x = O;
3818
+ S = t - N, T = O;
3819
3819
  }
3820
- for (; T > 2; )
3821
- O[t++] = x[S++], O[t++] = x[S++], O[t++] = x[S++], T -= 3;
3822
- T && (O[t++] = x[S++], T > 1 && (O[t++] = x[S++]));
3820
+ for (; x > 2; )
3821
+ O[t++] = T[S++], O[t++] = T[S++], O[t++] = T[S++], x -= 3;
3822
+ x && (O[t++] = T[S++], x > 1 && (O[t++] = T[S++]));
3823
3823
  } else {
3824
3824
  S = t - N;
3825
3825
  do
3826
- O[t++] = O[S++], O[t++] = O[S++], O[t++] = O[S++], T -= 3;
3827
- while (T > 2);
3828
- T && (O[t++] = O[S++], T > 1 && (O[t++] = O[S++]));
3826
+ O[t++] = O[S++], O[t++] = O[S++], O[t++] = O[S++], x -= 3;
3827
+ while (x > 2);
3828
+ x && (O[t++] = O[S++], x > 1 && (O[t++] = O[S++]));
3829
3829
  }
3830
3830
  } else if (A & 64) {
3831
3831
  r.msg = "invalid distance code", n.mode = Lt;
3832
3832
  break e;
3833
3833
  } else {
3834
- U = C[(U & 65535) + (j & (1 << A) - 1)];
3834
+ U = D[(U & 65535) + (j & (1 << A) - 1)];
3835
3835
  continue t;
3836
3836
  }
3837
3837
  break;
@@ -3851,7 +3851,7 @@ var At = {}, rr = {}, Lt = 30, Rf = 12, Ff = function(r, s) {
3851
3851
  break;
3852
3852
  }
3853
3853
  } while (o < i && t < y);
3854
- T = P >> 3, o -= T, P -= T << 3, j &= (1 << P) - 1, r.next_in = o, r.next_out = t, r.avail_in = o < i ? 5 + (i - o) : 5 - (o - i), r.avail_out = t < y ? 257 + (y - t) : 257 - (t - y), n.hold = j, n.bits = P;
3854
+ x = P >> 3, o -= x, P -= x << 3, j &= (1 << P) - 1, r.next_in = o, r.next_out = t, r.avail_in = o < i ? 5 + (i - o) : 5 - (o - i), r.avail_out = t < y ? 257 + (y - t) : 257 - (t - y), n.hold = j, n.bits = P;
3855
3855
  }, zi = br, Yr = 15, Mi = 852, Wi = 592, Hi = 0, $s = 1, Zi = 2, jf = [
3856
3856
  /* Length codes 257..285 base */
3857
3857
  3,
@@ -3987,46 +3987,46 @@ var At = {}, rr = {}, Lt = 30, Rf = 12, Ff = function(r, s) {
3987
3987
  64,
3988
3988
  64
3989
3989
  ], Nf = function(r, s, n, o, i, t, p, y) {
3990
- var u = y.bits, d = 0, w = 0, _ = 0, b = 0, j = 0, P = 0, q = 0, C = 0, M = 0, B = 0, U, A, T, N, S, x = null, E = 0, O, D = new zi.Buf16(Yr + 1), L = new zi.Buf16(Yr + 1), F = null, Y = 0, Z, H, K;
3990
+ var u = y.bits, d = 0, w = 0, _ = 0, b = 0, j = 0, P = 0, q = 0, D = 0, M = 0, B = 0, U, A, x, N, S, T = null, E = 0, O, C = new zi.Buf16(Yr + 1), L = new zi.Buf16(Yr + 1), F = null, Y = 0, Z, H, K;
3991
3991
  for (d = 0; d <= Yr; d++)
3992
- D[d] = 0;
3992
+ C[d] = 0;
3993
3993
  for (w = 0; w < o; w++)
3994
- D[s[n + w]]++;
3995
- for (j = u, b = Yr; b >= 1 && D[b] === 0; b--)
3994
+ C[s[n + w]]++;
3995
+ for (j = u, b = Yr; b >= 1 && C[b] === 0; b--)
3996
3996
  ;
3997
3997
  if (j > b && (j = b), b === 0)
3998
3998
  return i[t++] = 1 << 24 | 64 << 16 | 0, i[t++] = 1 << 24 | 64 << 16 | 0, y.bits = 1, 0;
3999
- for (_ = 1; _ < b && D[_] === 0; _++)
3999
+ for (_ = 1; _ < b && C[_] === 0; _++)
4000
4000
  ;
4001
- for (j < _ && (j = _), C = 1, d = 1; d <= Yr; d++)
4002
- if (C <<= 1, C -= D[d], C < 0)
4001
+ for (j < _ && (j = _), D = 1, d = 1; d <= Yr; d++)
4002
+ if (D <<= 1, D -= C[d], D < 0)
4003
4003
  return -1;
4004
- if (C > 0 && (r === Hi || b !== 1))
4004
+ if (D > 0 && (r === Hi || b !== 1))
4005
4005
  return -1;
4006
4006
  for (L[1] = 0, d = 1; d < Yr; d++)
4007
- L[d + 1] = L[d] + D[d];
4007
+ L[d + 1] = L[d] + C[d];
4008
4008
  for (w = 0; w < o; w++)
4009
4009
  s[n + w] !== 0 && (p[L[s[n + w]]++] = w);
4010
- if (r === Hi ? (x = F = p, O = 19) : r === $s ? (x = jf, E -= 257, F = Bf, Y -= 257, O = 256) : (x = If, F = Lf, O = -1), B = 0, w = 0, d = _, S = t, P = j, q = 0, T = -1, M = 1 << j, N = M - 1, r === $s && M > Mi || r === Zi && M > Wi)
4010
+ if (r === Hi ? (T = F = p, O = 19) : r === $s ? (T = jf, E -= 257, F = Bf, Y -= 257, O = 256) : (T = If, F = Lf, O = -1), B = 0, w = 0, d = _, S = t, P = j, q = 0, x = -1, M = 1 << j, N = M - 1, r === $s && M > Mi || r === Zi && M > Wi)
4011
4011
  return 1;
4012
4012
  for (; ; ) {
4013
- Z = d - q, p[w] < O ? (H = 0, K = p[w]) : p[w] > O ? (H = F[Y + p[w]], K = x[E + p[w]]) : (H = 32 + 64, K = 0), U = 1 << d - q, A = 1 << P, _ = A;
4013
+ Z = d - q, p[w] < O ? (H = 0, K = p[w]) : p[w] > O ? (H = F[Y + p[w]], K = T[E + p[w]]) : (H = 32 + 64, K = 0), U = 1 << d - q, A = 1 << P, _ = A;
4014
4014
  do
4015
4015
  A -= U, i[S + (B >> q) + A] = Z << 24 | H << 16 | K | 0;
4016
4016
  while (A !== 0);
4017
4017
  for (U = 1 << d - 1; B & U; )
4018
4018
  U >>= 1;
4019
- if (U !== 0 ? (B &= U - 1, B += U) : B = 0, w++, --D[d] === 0) {
4019
+ if (U !== 0 ? (B &= U - 1, B += U) : B = 0, w++, --C[d] === 0) {
4020
4020
  if (d === b)
4021
4021
  break;
4022
4022
  d = s[n + p[w]];
4023
4023
  }
4024
- if (d > j && (B & N) !== T) {
4025
- for (q === 0 && (q = j), S += _, P = d - q, C = 1 << P; P + q < b && (C -= D[P + q], !(C <= 0)); )
4026
- P++, C <<= 1;
4024
+ if (d > j && (B & N) !== x) {
4025
+ for (q === 0 && (q = j), S += _, P = d - q, D = 1 << P; P + q < b && (D -= C[P + q], !(D <= 0)); )
4026
+ P++, D <<= 1;
4027
4027
  if (M += 1 << P, r === $s && M > Mi || r === Zi && M > Wi)
4028
4028
  return 1;
4029
- T = B & N, i[T] = j << 24 | P << 16 | S - t | 0;
4029
+ x = B & N, i[x] = j << 24 | P << 16 | S - t | 0;
4030
4030
  }
4031
4031
  }
4032
4032
  return B !== 0 && (i[S + B] = d - q << 24 | 64 << 16 | 0), y.bits = j, 0;
@@ -4079,7 +4079,7 @@ function Sa(e, r, s, n) {
4079
4079
  return i.window === null && (i.wsize = 1 << i.wbits, i.wnext = 0, i.whave = 0, i.window = new ze.Buf8(i.wsize)), n >= i.wsize ? (ze.arraySet(i.window, r, s - i.wsize, i.wsize, 0), i.wnext = 0, i.whave = i.wsize) : (o = i.wsize - i.wnext, o > n && (o = n), ze.arraySet(i.window, r, s - n, o, i.wnext), n -= o, n ? (ze.arraySet(i.window, r, s - n, n, 0), i.wnext = n, i.whave = i.wsize) : (i.wnext += o, i.wnext === i.wsize && (i.wnext = 0), i.whave < i.wsize && (i.whave += o))), 0;
4080
4080
  }
4081
4081
  function Qf(e, r) {
4082
- var s, n, o, i, t, p, y, u, d, w, _, b, j, P, q = 0, C, M, B, U, A, T, N, S, x = new ze.Buf8(4), E, O, D = (
4082
+ var s, n, o, i, t, p, y, u, d, w, _, b, j, P, q = 0, D, M, B, U, A, x, N, S, T = new ze.Buf8(4), E, O, C = (
4083
4083
  /* permutation of code lengths */
4084
4084
  [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]
4085
4085
  );
@@ -4100,7 +4100,7 @@ function Qf(e, r) {
4100
4100
  p--, u += n[i++] << d, d += 8;
4101
4101
  }
4102
4102
  if (s.wrap & 2 && u === 35615) {
4103
- s.check = 0, x[0] = u & 255, x[1] = u >>> 8 & 255, s.check = ar(s.check, x, 2, 0), u = 0, d = 0, s.mode = Yi;
4103
+ s.check = 0, T[0] = u & 255, T[1] = u >>> 8 & 255, s.check = ar(s.check, T, 2, 0), u = 0, d = 0, s.mode = Yi;
4104
4104
  break;
4105
4105
  }
4106
4106
  if (s.flags = 0, s.head && (s.head.done = !1), !(s.wrap & 1) || /* check if zlib header allowed */
@@ -4134,21 +4134,21 @@ function Qf(e, r) {
4134
4134
  e.msg = "unknown header flags set", s.mode = be;
4135
4135
  break;
4136
4136
  }
4137
- s.head && (s.head.text = u >> 8 & 1), s.flags & 512 && (x[0] = u & 255, x[1] = u >>> 8 & 255, s.check = ar(s.check, x, 2, 0)), u = 0, d = 0, s.mode = Ki;
4137
+ s.head && (s.head.text = u >> 8 & 1), s.flags & 512 && (T[0] = u & 255, T[1] = u >>> 8 & 255, s.check = ar(s.check, T, 2, 0)), u = 0, d = 0, s.mode = Ki;
4138
4138
  case Ki:
4139
4139
  for (; d < 32; ) {
4140
4140
  if (p === 0)
4141
4141
  break e;
4142
4142
  p--, u += n[i++] << d, d += 8;
4143
4143
  }
4144
- s.head && (s.head.time = u), s.flags & 512 && (x[0] = u & 255, x[1] = u >>> 8 & 255, x[2] = u >>> 16 & 255, x[3] = u >>> 24 & 255, s.check = ar(s.check, x, 4, 0)), u = 0, d = 0, s.mode = Xi;
4144
+ s.head && (s.head.time = u), s.flags & 512 && (T[0] = u & 255, T[1] = u >>> 8 & 255, T[2] = u >>> 16 & 255, T[3] = u >>> 24 & 255, s.check = ar(s.check, T, 4, 0)), u = 0, d = 0, s.mode = Xi;
4145
4145
  case Xi:
4146
4146
  for (; d < 16; ) {
4147
4147
  if (p === 0)
4148
4148
  break e;
4149
4149
  p--, u += n[i++] << d, d += 8;
4150
4150
  }
4151
- s.head && (s.head.xflags = u & 255, s.head.os = u >> 8), s.flags & 512 && (x[0] = u & 255, x[1] = u >>> 8 & 255, s.check = ar(s.check, x, 2, 0)), u = 0, d = 0, s.mode = Qi;
4151
+ s.head && (s.head.xflags = u & 255, s.head.os = u >> 8), s.flags & 512 && (T[0] = u & 255, T[1] = u >>> 8 & 255, s.check = ar(s.check, T, 2, 0)), u = 0, d = 0, s.mode = Qi;
4152
4152
  case Qi:
4153
4153
  if (s.flags & 1024) {
4154
4154
  for (; d < 16; ) {
@@ -4156,7 +4156,7 @@ function Qf(e, r) {
4156
4156
  break e;
4157
4157
  p--, u += n[i++] << d, d += 8;
4158
4158
  }
4159
- s.length = u, s.head && (s.head.extra_len = u), s.flags & 512 && (x[0] = u & 255, x[1] = u >>> 8 & 255, s.check = ar(s.check, x, 2, 0)), u = 0, d = 0;
4159
+ s.length = u, s.head && (s.head.extra_len = u), s.flags & 512 && (T[0] = u & 255, T[1] = u >>> 8 & 255, s.check = ar(s.check, T, 2, 0)), u = 0, d = 0;
4160
4160
  } else
4161
4161
  s.head && (s.head.extra = null);
4162
4162
  s.mode = Ji;
@@ -4297,10 +4297,10 @@ function Qf(e, r) {
4297
4297
  break e;
4298
4298
  p--, u += n[i++] << d, d += 8;
4299
4299
  }
4300
- s.lens[D[s.have++]] = u & 7, u >>>= 3, d -= 3;
4300
+ s.lens[C[s.have++]] = u & 7, u >>>= 3, d -= 3;
4301
4301
  }
4302
4302
  for (; s.have < 19; )
4303
- s.lens[D[s.have++]] = 0;
4303
+ s.lens[C[s.have++]] = 0;
4304
4304
  if (s.lencode = s.lendyn, s.lenbits = 7, E = { bits: s.lenbits }, S = yt(Df, s.lens, 0, 19, s.lencode, 0, s.work, E), s.lenbits = E.bits, S) {
4305
4305
  e.msg = "invalid code lengths set", s.mode = be;
4306
4306
  break;
@@ -4308,39 +4308,39 @@ function Qf(e, r) {
4308
4308
  s.have = 0, s.mode = fn;
4309
4309
  case fn:
4310
4310
  for (; s.have < s.nlen + s.ndist; ) {
4311
- for (; q = s.lencode[u & (1 << s.lenbits) - 1], C = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(C <= d); ) {
4311
+ for (; q = s.lencode[u & (1 << s.lenbits) - 1], D = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(D <= d); ) {
4312
4312
  if (p === 0)
4313
4313
  break e;
4314
4314
  p--, u += n[i++] << d, d += 8;
4315
4315
  }
4316
4316
  if (B < 16)
4317
- u >>>= C, d -= C, s.lens[s.have++] = B;
4317
+ u >>>= D, d -= D, s.lens[s.have++] = B;
4318
4318
  else {
4319
4319
  if (B === 16) {
4320
- for (O = C + 2; d < O; ) {
4320
+ for (O = D + 2; d < O; ) {
4321
4321
  if (p === 0)
4322
4322
  break e;
4323
4323
  p--, u += n[i++] << d, d += 8;
4324
4324
  }
4325
- if (u >>>= C, d -= C, s.have === 0) {
4325
+ if (u >>>= D, d -= D, s.have === 0) {
4326
4326
  e.msg = "invalid bit length repeat", s.mode = be;
4327
4327
  break;
4328
4328
  }
4329
4329
  N = s.lens[s.have - 1], b = 3 + (u & 3), u >>>= 2, d -= 2;
4330
4330
  } else if (B === 17) {
4331
- for (O = C + 3; d < O; ) {
4331
+ for (O = D + 3; d < O; ) {
4332
4332
  if (p === 0)
4333
4333
  break e;
4334
4334
  p--, u += n[i++] << d, d += 8;
4335
4335
  }
4336
- u >>>= C, d -= C, N = 0, b = 3 + (u & 7), u >>>= 3, d -= 3;
4336
+ u >>>= D, d -= D, N = 0, b = 3 + (u & 7), u >>>= 3, d -= 3;
4337
4337
  } else {
4338
- for (O = C + 7; d < O; ) {
4338
+ for (O = D + 7; d < O; ) {
4339
4339
  if (p === 0)
4340
4340
  break e;
4341
4341
  p--, u += n[i++] << d, d += 8;
4342
4342
  }
4343
- u >>>= C, d -= C, N = 0, b = 11 + (u & 127), u >>>= 7, d -= 7;
4343
+ u >>>= D, d -= D, N = 0, b = 11 + (u & 127), u >>>= 7, d -= 7;
4344
4344
  }
4345
4345
  if (s.have + b > s.nlen + s.ndist) {
4346
4346
  e.msg = "invalid bit length repeat", s.mode = be;
@@ -4373,20 +4373,20 @@ function Qf(e, r) {
4373
4373
  e.next_out = t, e.avail_out = y, e.next_in = i, e.avail_in = p, s.hold = u, s.bits = d, Cf(e, _), t = e.next_out, o = e.output, y = e.avail_out, i = e.next_in, n = e.input, p = e.avail_in, u = s.hold, d = s.bits, s.mode === hr && (s.back = -1);
4374
4374
  break;
4375
4375
  }
4376
- for (s.back = 0; q = s.lencode[u & (1 << s.lenbits) - 1], C = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(C <= d); ) {
4376
+ for (s.back = 0; q = s.lencode[u & (1 << s.lenbits) - 1], D = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(D <= d); ) {
4377
4377
  if (p === 0)
4378
4378
  break e;
4379
4379
  p--, u += n[i++] << d, d += 8;
4380
4380
  }
4381
4381
  if (M && !(M & 240)) {
4382
- for (U = C, A = M, T = B; q = s.lencode[T + ((u & (1 << U + A) - 1) >> U)], C = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(U + C <= d); ) {
4382
+ for (U = D, A = M, x = B; q = s.lencode[x + ((u & (1 << U + A) - 1) >> U)], D = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(U + D <= d); ) {
4383
4383
  if (p === 0)
4384
4384
  break e;
4385
4385
  p--, u += n[i++] << d, d += 8;
4386
4386
  }
4387
4387
  u >>>= U, d -= U, s.back += U;
4388
4388
  }
4389
- if (u >>>= C, d -= C, s.back += C, s.length = B, M === 0) {
4389
+ if (u >>>= D, d -= D, s.back += D, s.length = B, M === 0) {
4390
4390
  s.mode = hn;
4391
4391
  break;
4392
4392
  }
@@ -4410,20 +4410,20 @@ function Qf(e, r) {
4410
4410
  }
4411
4411
  s.was = s.length, s.mode = un;
4412
4412
  case un:
4413
- for (; q = s.distcode[u & (1 << s.distbits) - 1], C = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(C <= d); ) {
4413
+ for (; q = s.distcode[u & (1 << s.distbits) - 1], D = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(D <= d); ) {
4414
4414
  if (p === 0)
4415
4415
  break e;
4416
4416
  p--, u += n[i++] << d, d += 8;
4417
4417
  }
4418
4418
  if (!(M & 240)) {
4419
- for (U = C, A = M, T = B; q = s.distcode[T + ((u & (1 << U + A) - 1) >> U)], C = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(U + C <= d); ) {
4419
+ for (U = D, A = M, x = B; q = s.distcode[x + ((u & (1 << U + A) - 1) >> U)], D = q >>> 24, M = q >>> 16 & 255, B = q & 65535, !(U + D <= d); ) {
4420
4420
  if (p === 0)
4421
4421
  break e;
4422
4422
  p--, u += n[i++] << d, d += 8;
4423
4423
  }
4424
4424
  u >>>= U, d -= U, s.back += U;
4425
4425
  }
4426
- if (u >>>= C, d -= C, s.back += C, M & 64) {
4426
+ if (u >>>= D, d -= D, s.back += D, M & 64) {
4427
4427
  e.msg = "invalid distance code", s.mode = be;
4428
4428
  break;
4429
4429
  }
@@ -4885,7 +4885,7 @@ yi.write = function(e, r, s, n, o, i) {
4885
4885
  return d(c, f, l);
4886
4886
  };
4887
4887
  function w(c) {
4888
- return u(c), t(c < 0 ? 0 : C(c) | 0);
4888
+ return u(c), t(c < 0 ? 0 : D(c) | 0);
4889
4889
  }
4890
4890
  p.allocUnsafe = function(c) {
4891
4891
  return w(c);
@@ -4901,7 +4901,7 @@ yi.write = function(e, r, s, n, o, i) {
4901
4901
  return v !== l && (g = g.slice(0, v)), g;
4902
4902
  }
4903
4903
  function b(c) {
4904
- const f = c.length < 0 ? 0 : C(c.length) | 0, l = t(f);
4904
+ const f = c.length < 0 ? 0 : D(c.length) | 0, l = t(f);
4905
4905
  for (let g = 0; g < f; g += 1)
4906
4906
  l[g] = c[g] & 255;
4907
4907
  return l;
@@ -4923,7 +4923,7 @@ yi.write = function(e, r, s, n, o, i) {
4923
4923
  }
4924
4924
  function q(c) {
4925
4925
  if (p.isBuffer(c)) {
4926
- const f = C(c.length) | 0, l = t(f);
4926
+ const f = D(c.length) | 0, l = t(f);
4927
4927
  return l.length === 0 || c.copy(l, 0, 0, f), l;
4928
4928
  }
4929
4929
  if (c.length !== void 0)
@@ -4931,7 +4931,7 @@ yi.write = function(e, r, s, n, o, i) {
4931
4931
  if (c.type === "Buffer" && Array.isArray(c.data))
4932
4932
  return b(c.data);
4933
4933
  }
4934
- function C(c) {
4934
+ function D(c) {
4935
4935
  if (c >= o)
4936
4936
  throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + o.toString(16) + " bytes");
4937
4937
  return c | 0;
@@ -5127,7 +5127,7 @@ yi.write = function(e, r, s, n, o, i) {
5127
5127
  }
5128
5128
  return I < J ? -1 : J < I ? 1 : 0;
5129
5129
  };
5130
- function T(c, f, l, g, v) {
5130
+ function x(c, f, l, g, v) {
5131
5131
  if (c.length === 0)
5132
5132
  return -1;
5133
5133
  if (typeof l == "string" ? (g = l, l = 0) : l > 2147483647 ? l = 2147483647 : l < -2147483648 && (l = -2147483648), l = +l, Ae(l) && (l = v ? 0 : c.length - 1), l < 0 && (l = c.length + l), l >= c.length) {
@@ -5180,9 +5180,9 @@ yi.write = function(e, r, s, n, o, i) {
5180
5180
  p.prototype.includes = function(f, l, g) {
5181
5181
  return this.indexOf(f, l, g) !== -1;
5182
5182
  }, p.prototype.indexOf = function(f, l, g) {
5183
- return T(this, f, l, g, !0);
5183
+ return x(this, f, l, g, !0);
5184
5184
  }, p.prototype.lastIndexOf = function(f, l, g) {
5185
- return T(this, f, l, g, !1);
5185
+ return x(this, f, l, g, !1);
5186
5186
  };
5187
5187
  function S(c, f, l, g) {
5188
5188
  l = Number(l) || 0;
@@ -5199,7 +5199,7 @@ yi.write = function(e, r, s, n, o, i) {
5199
5199
  }
5200
5200
  return I;
5201
5201
  }
5202
- function x(c, f, l, g) {
5202
+ function T(c, f, l, g) {
5203
5203
  return Me(vr(f, c.length - l), c, l, g);
5204
5204
  }
5205
5205
  function E(c, f, l, g) {
@@ -5208,7 +5208,7 @@ yi.write = function(e, r, s, n, o, i) {
5208
5208
  function O(c, f, l, g) {
5209
5209
  return Me(Ar(f), c, l, g);
5210
5210
  }
5211
- function D(c, f, l, g) {
5211
+ function C(c, f, l, g) {
5212
5212
  return Me(dr(f, c.length - l), c, l, g);
5213
5213
  }
5214
5214
  p.prototype.write = function(f, l, g, v) {
@@ -5233,7 +5233,7 @@ yi.write = function(e, r, s, n, o, i) {
5233
5233
  return S(this, f, l, g);
5234
5234
  case "utf8":
5235
5235
  case "utf-8":
5236
- return x(this, f, l, g);
5236
+ return T(this, f, l, g);
5237
5237
  case "ascii":
5238
5238
  case "latin1":
5239
5239
  case "binary":
@@ -5244,7 +5244,7 @@ yi.write = function(e, r, s, n, o, i) {
5244
5244
  case "ucs-2":
5245
5245
  case "utf16le":
5246
5246
  case "utf-16le":
5247
- return D(this, f, l, g);
5247
+ return C(this, f, l, g);
5248
5248
  default:
5249
5249
  if (I)
5250
5250
  throw new TypeError("Unknown encoding: " + v);
@@ -5955,7 +5955,7 @@ class kt {
5955
5955
  7: "ref-delta"
5956
5956
  }, i = {}, t = r.slice(-20).toString("hex"), p = [], y = {}, u = /* @__PURE__ */ new Map();
5957
5957
  let d = null, w = null;
5958
- await cl([r], async ({ data: q, type: C, reference: M, offset: B, num: U }) => {
5958
+ await cl([r], async ({ data: q, type: D, reference: M, offset: B, num: U }) => {
5959
5959
  d === null && (d = U);
5960
5960
  const A = Math.floor(
5961
5961
  (d - U) * 100 / d
@@ -5964,20 +5964,20 @@ class kt {
5964
5964
  phase: "Receiving objects",
5965
5965
  loaded: d - U,
5966
5966
  total: d
5967
- }), w = A, C = o[C], ["commit", "tree", "blob", "tag"].includes(C) ? i[B] = {
5968
- type: C,
5967
+ }), w = A, D = o[D], ["commit", "tree", "blob", "tag"].includes(D) ? i[B] = {
5968
+ type: D,
5969
5969
  offset: B
5970
- } : C === "ofs-delta" ? i[B] = {
5971
- type: C,
5970
+ } : D === "ofs-delta" ? i[B] = {
5971
+ type: D,
5972
5972
  offset: B
5973
- } : C === "ref-delta" && (i[B] = {
5974
- type: C,
5973
+ } : D === "ref-delta" && (i[B] = {
5974
+ type: D,
5975
5975
  offset: B
5976
5976
  });
5977
5977
  });
5978
5978
  const _ = Object.keys(i).map(Number);
5979
- for (const [q, C] of _.entries()) {
5980
- const M = q + 1 === _.length ? r.byteLength - 20 : _[q + 1], B = i[C], U = mp.buf(r.slice(C, M)) >>> 0;
5979
+ for (const [q, D] of _.entries()) {
5980
+ const M = q + 1 === _.length ? r.byteLength - 20 : _[q + 1], B = i[D], U = mp.buf(r.slice(D, M)) >>> 0;
5981
5981
  B.end = M, B.crc = U;
5982
5982
  }
5983
5983
  const b = new kt({
@@ -5993,12 +5993,12 @@ class kt {
5993
5993
  const P = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
5994
5994
  for (let q in i) {
5995
5995
  q = Number(q);
5996
- const C = Math.floor(j * 100 / d);
5997
- C !== w && n && await n({
5996
+ const D = Math.floor(j * 100 / d);
5997
+ D !== w && n && await n({
5998
5998
  phase: "Resolving deltas",
5999
5999
  loaded: j,
6000
6000
  total: d
6001
- }), j++, w = C;
6001
+ }), j++, w = D;
6002
6002
  const M = i[q];
6003
6003
  if (!M.oid)
6004
6004
  try {
@@ -6811,7 +6811,7 @@ class tu extends _r {
6811
6811
  }
6812
6812
  async resolve() {
6813
6813
  var p;
6814
- const r = (p = this.options) != null && p.corsProxy ? `${this.options.corsProxy}/${this.reference.url}` : this.reference.url, s = ["", "HEAD"].includes(this.reference.ref) ? "HEAD" : `refs/heads/${this.reference.ref}`, n = await Wl(r, s), o = this.reference.path.replace(/^\/+/, ""), i = Yl(n, o);
6814
+ const r = (p = this.options) != null && p.corsProxy ? `${this.options.corsProxy}?${this.reference.url}` : this.reference.url, s = ["", "HEAD"].includes(this.reference.ref) ? "HEAD" : `refs/heads/${this.reference.ref}`, n = await Wl(r, s), o = this.reference.path.replace(/^\/+/, ""), i = Yl(n, o);
6815
6815
  let t = await Ml(r, s, i);
6816
6816
  return t = Object.fromEntries(
6817
6817
  Object.entries(t).map(([y, u]) => (y = y.substring(this.reference.path.length), y = y.replace(/^\/+/, ""), [y, u]))
@@ -6951,8 +6951,7 @@ const pu = {
6951
6951
  description: "Extra libraries to preload into the Playground instance."
6952
6952
  },
6953
6953
  constants: {
6954
- type: "object",
6955
- additionalProperties: { type: "string" },
6954
+ $ref: "#/definitions/PHPConstants",
6956
6955
  description: "PHP Constants to define on every request"
6957
6956
  },
6958
6957
  plugins: {
@@ -7010,6 +7009,9 @@ const pu = {
7010
7009
  }, fu = {
7011
7010
  type: "string",
7012
7011
  enum: ["8.3", "8.2", "8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0"]
7012
+ }, lu = {
7013
+ type: "object",
7014
+ additionalProperties: { type: ["string", "boolean", "number"] }
7013
7015
  }, Ya = Object.prototype.hasOwnProperty;
7014
7016
  function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, rootData: o = e } = {}) {
7015
7017
  let i = null, t = 0;
@@ -7030,13 +7032,13 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7030
7032
  i === null ? i = [A] : i.push(A), t++;
7031
7033
  } else {
7032
7034
  const A = t;
7033
- for (const T in e)
7034
- if (!(T === "resource" || T === "path")) {
7035
+ for (const x in e)
7036
+ if (!(x === "resource" || x === "path")) {
7035
7037
  const N = {
7036
7038
  instancePath: r,
7037
7039
  schemaPath: "#/definitions/VFSReference/additionalProperties",
7038
7040
  keyword: "additionalProperties",
7039
- params: { additionalProperty: T },
7041
+ params: { additionalProperty: x },
7040
7042
  message: "must NOT have additional properties"
7041
7043
  };
7042
7044
  i === null ? i = [N] : i.push(N), t++;
@@ -7044,9 +7046,9 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7044
7046
  }
7045
7047
  if (A === t) {
7046
7048
  if (e.resource !== void 0) {
7047
- let T = e.resource;
7049
+ let x = e.resource;
7048
7050
  const N = t;
7049
- if (typeof T != "string") {
7051
+ if (typeof x != "string") {
7050
7052
  const S = {
7051
7053
  instancePath: r + "/resource",
7052
7054
  schemaPath: "#/definitions/VFSReference/properties/resource/type",
@@ -7056,7 +7058,7 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7056
7058
  };
7057
7059
  i === null ? i = [S] : i.push(S), t++;
7058
7060
  }
7059
- if (T !== "vfs") {
7061
+ if (x !== "vfs") {
7060
7062
  const S = {
7061
7063
  instancePath: r + "/resource",
7062
7064
  schemaPath: "#/definitions/VFSReference/properties/resource/const",
@@ -7071,7 +7073,7 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7071
7073
  var w = !0;
7072
7074
  if (w)
7073
7075
  if (e.path !== void 0) {
7074
- const T = t;
7076
+ const x = t;
7075
7077
  if (typeof e.path != "string") {
7076
7078
  const S = {
7077
7079
  instancePath: r + "/path",
@@ -7082,7 +7084,7 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7082
7084
  };
7083
7085
  i === null ? i = [S] : i.push(S), t++;
7084
7086
  }
7085
- var w = T === t;
7087
+ var w = x === t;
7086
7088
  } else
7087
7089
  var w = !0;
7088
7090
  }
@@ -7114,13 +7116,13 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7114
7116
  i === null ? i = [S] : i.push(S), t++;
7115
7117
  } else {
7116
7118
  const S = t;
7117
- for (const x in e)
7118
- if (!(x === "resource" || x === "name" || x === "contents")) {
7119
+ for (const T in e)
7120
+ if (!(T === "resource" || T === "name" || T === "contents")) {
7119
7121
  const E = {
7120
7122
  instancePath: r,
7121
7123
  schemaPath: "#/definitions/LiteralReference/additionalProperties",
7122
7124
  keyword: "additionalProperties",
7123
- params: { additionalProperty: x },
7125
+ params: { additionalProperty: T },
7124
7126
  message: "must NOT have additional properties"
7125
7127
  };
7126
7128
  i === null ? i = [E] : i.push(E), t++;
@@ -7128,9 +7130,9 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7128
7130
  }
7129
7131
  if (S === t) {
7130
7132
  if (e.resource !== void 0) {
7131
- let x = e.resource;
7133
+ let T = e.resource;
7132
7134
  const E = t;
7133
- if (typeof x != "string") {
7135
+ if (typeof T != "string") {
7134
7136
  const O = {
7135
7137
  instancePath: r + "/resource",
7136
7138
  schemaPath: "#/definitions/LiteralReference/properties/resource/type",
@@ -7140,7 +7142,7 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7140
7142
  };
7141
7143
  i === null ? i = [O] : i.push(O), t++;
7142
7144
  }
7143
- if (x !== "literal") {
7145
+ if (T !== "literal") {
7144
7146
  const O = {
7145
7147
  instancePath: r + "/resource",
7146
7148
  schemaPath: "#/definitions/LiteralReference/properties/resource/const",
@@ -7155,7 +7157,7 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7155
7157
  var b = !0;
7156
7158
  if (b) {
7157
7159
  if (e.name !== void 0) {
7158
- const x = t;
7160
+ const T = t;
7159
7161
  if (typeof e.name != "string") {
7160
7162
  const O = {
7161
7163
  instancePath: r + "/name",
@@ -7166,16 +7168,16 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7166
7168
  };
7167
7169
  i === null ? i = [O] : i.push(O), t++;
7168
7170
  }
7169
- var b = x === t;
7171
+ var b = T === t;
7170
7172
  } else
7171
7173
  var b = !0;
7172
7174
  if (b)
7173
7175
  if (e.contents !== void 0) {
7174
- let x = e.contents;
7176
+ let T = e.contents;
7175
7177
  const E = t, O = t;
7176
- let D = !1;
7178
+ let C = !1;
7177
7179
  const L = t;
7178
- if (typeof x != "string") {
7180
+ if (typeof T != "string") {
7179
7181
  const Y = {
7180
7182
  instancePath: r + "/contents",
7181
7183
  schemaPath: "#/definitions/LiteralReference/properties/contents/anyOf/0/type",
@@ -7186,12 +7188,12 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7186
7188
  i === null ? i = [Y] : i.push(Y), t++;
7187
7189
  }
7188
7190
  var j = L === t;
7189
- if (D = D || j, !D) {
7191
+ if (C = C || j, !C) {
7190
7192
  const Y = t;
7191
7193
  if (t === Y)
7192
- if (x && typeof x == "object" && !Array.isArray(x)) {
7194
+ if (T && typeof T == "object" && !Array.isArray(T)) {
7193
7195
  let H;
7194
- if (x.BYTES_PER_ELEMENT === void 0 && (H = "BYTES_PER_ELEMENT") || x.buffer === void 0 && (H = "buffer") || x.byteLength === void 0 && (H = "byteLength") || x.byteOffset === void 0 && (H = "byteOffset") || x.length === void 0 && (H = "length")) {
7196
+ if (T.BYTES_PER_ELEMENT === void 0 && (H = "BYTES_PER_ELEMENT") || T.buffer === void 0 && (H = "buffer") || T.byteLength === void 0 && (H = "byteLength") || T.byteOffset === void 0 && (H = "byteOffset") || T.length === void 0 && (H = "length")) {
7195
7197
  const K = {
7196
7198
  instancePath: r + "/contents",
7197
7199
  schemaPath: "#/definitions/LiteralReference/properties/contents/anyOf/1/required",
@@ -7204,9 +7206,9 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7204
7206
  i === null ? i = [K] : i.push(K), t++;
7205
7207
  } else {
7206
7208
  const K = t;
7207
- for (const G in x)
7209
+ for (const G in T)
7208
7210
  if (!(G === "BYTES_PER_ELEMENT" || G === "buffer" || G === "byteLength" || G === "byteOffset" || G === "length")) {
7209
- let se = x[G];
7211
+ let se = T[G];
7210
7212
  const ee = t;
7211
7213
  if (!(typeof se == "number" && isFinite(
7212
7214
  se
@@ -7237,8 +7239,8 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7237
7239
  break;
7238
7240
  }
7239
7241
  if (K === t) {
7240
- if (x.BYTES_PER_ELEMENT !== void 0) {
7241
- let G = x.BYTES_PER_ELEMENT;
7242
+ if (T.BYTES_PER_ELEMENT !== void 0) {
7243
+ let G = T.BYTES_PER_ELEMENT;
7242
7244
  const se = t;
7243
7245
  if (!(typeof G == "number" && isFinite(
7244
7246
  G
@@ -7262,8 +7264,8 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7262
7264
  } else
7263
7265
  var q = !0;
7264
7266
  if (q) {
7265
- if (x.buffer !== void 0) {
7266
- let G = x.buffer;
7267
+ if (T.buffer !== void 0) {
7268
+ let G = T.buffer;
7267
7269
  const se = t;
7268
7270
  if (t === se)
7269
7271
  if (G && typeof G == "object" && !Array.isArray(
@@ -7347,8 +7349,8 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7347
7349
  } else
7348
7350
  var q = !0;
7349
7351
  if (q) {
7350
- if (x.byteLength !== void 0) {
7351
- let G = x.byteLength;
7352
+ if (T.byteLength !== void 0) {
7353
+ let G = T.byteLength;
7352
7354
  const se = t;
7353
7355
  if (!(typeof G == "number" && isFinite(
7354
7356
  G
@@ -7372,8 +7374,8 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7372
7374
  } else
7373
7375
  var q = !0;
7374
7376
  if (q) {
7375
- if (x.byteOffset !== void 0) {
7376
- let G = x.byteOffset;
7377
+ if (T.byteOffset !== void 0) {
7378
+ let G = T.byteOffset;
7377
7379
  const se = t;
7378
7380
  if (!(typeof G == "number" && isFinite(
7379
7381
  G
@@ -7397,8 +7399,8 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7397
7399
  } else
7398
7400
  var q = !0;
7399
7401
  if (q)
7400
- if (x.length !== void 0) {
7401
- let G = x.length;
7402
+ if (T.length !== void 0) {
7403
+ let G = T.length;
7402
7404
  const se = t;
7403
7405
  if (!(typeof G == "number" && isFinite(
7404
7406
  G
@@ -7437,9 +7439,9 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7437
7439
  i === null ? i = [H] : i.push(H), t++;
7438
7440
  }
7439
7441
  var j = Y === t;
7440
- D = D || j;
7442
+ C = C || j;
7441
7443
  }
7442
- if (D)
7444
+ if (C)
7443
7445
  t = O, i !== null && (O ? i.length = O : i = null);
7444
7446
  else {
7445
7447
  const Y = {
@@ -7484,13 +7486,13 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7484
7486
  i === null ? i = [O] : i.push(O), t++;
7485
7487
  } else {
7486
7488
  const O = t;
7487
- for (const D in e)
7488
- if (!(D === "resource" || D === "slug")) {
7489
+ for (const C in e)
7490
+ if (!(C === "resource" || C === "slug")) {
7489
7491
  const L = {
7490
7492
  instancePath: r,
7491
7493
  schemaPath: "#/definitions/CoreThemeReference/additionalProperties",
7492
7494
  keyword: "additionalProperties",
7493
- params: { additionalProperty: D },
7495
+ params: { additionalProperty: C },
7494
7496
  message: "must NOT have additional properties"
7495
7497
  };
7496
7498
  i === null ? i = [L] : i.push(L), t++;
@@ -7498,9 +7500,9 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7498
7500
  }
7499
7501
  if (O === t) {
7500
7502
  if (e.resource !== void 0) {
7501
- let D = e.resource;
7503
+ let C = e.resource;
7502
7504
  const L = t;
7503
- if (typeof D != "string") {
7505
+ if (typeof C != "string") {
7504
7506
  const F = {
7505
7507
  instancePath: r + "/resource",
7506
7508
  schemaPath: "#/definitions/CoreThemeReference/properties/resource/type",
@@ -7510,7 +7512,7 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7510
7512
  };
7511
7513
  i === null ? i = [F] : i.push(F), t++;
7512
7514
  }
7513
- if (D !== "wordpress.org/themes") {
7515
+ if (C !== "wordpress.org/themes") {
7514
7516
  const F = {
7515
7517
  instancePath: r + "/resource",
7516
7518
  schemaPath: "#/definitions/CoreThemeReference/properties/resource/const",
@@ -7522,12 +7524,12 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7522
7524
  };
7523
7525
  i === null ? i = [F] : i.push(F), t++;
7524
7526
  }
7525
- var C = L === t;
7527
+ var D = L === t;
7526
7528
  } else
7527
- var C = !0;
7528
- if (C)
7529
+ var D = !0;
7530
+ if (D)
7529
7531
  if (e.slug !== void 0) {
7530
- const D = t;
7532
+ const C = t;
7531
7533
  if (typeof e.slug != "string") {
7532
7534
  const F = {
7533
7535
  instancePath: r + "/slug",
@@ -7538,9 +7540,9 @@ function le(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
7538
7540
  };
7539
7541
  i === null ? i = [F] : i.push(F), t++;
7540
7542
  }
7541
- var C = D === t;
7543
+ var D = C === t;
7542
7544
  } else
7543
- var C = !0;
7545
+ var D = !0;
7544
7546
  }
7545
7547
  }
7546
7548
  } else {
@@ -8465,7 +8467,7 @@ Only the username field is required for user authentication.`
8465
8467
  required: ["language", "step"]
8466
8468
  }
8467
8469
  ]
8468
- }, lu = {
8470
+ }, uu = {
8469
8471
  type: "object",
8470
8472
  additionalProperties: {
8471
8473
  anyOf: [
@@ -8494,16 +8496,16 @@ function Ir(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
8494
8496
  if (b = b || p, !b) {
8495
8497
  const P = t;
8496
8498
  if (!(d && typeof d == "object" && !Array.isArray(d)) && typeof d != "string") {
8497
- const C = {
8499
+ const D = {
8498
8500
  instancePath: r + "/" + u.replace(/~/g, "~0").replace(/\//g, "~1"),
8499
8501
  schemaPath: "#/additionalProperties/anyOf/1/type",
8500
8502
  keyword: "type",
8501
8503
  params: {
8502
- type: lu.additionalProperties.anyOf[1].type
8504
+ type: uu.additionalProperties.anyOf[1].type
8503
8505
  },
8504
8506
  message: "must be object,string"
8505
8507
  };
8506
- i === null ? i = [C] : i.push(C), t++;
8508
+ i === null ? i = [D] : i.push(D), t++;
8507
8509
  }
8508
8510
  var p = P === t;
8509
8511
  b = b || p;
@@ -8672,24 +8674,24 @@ function Je(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
8672
8674
  let P = e.resource;
8673
8675
  const q = t;
8674
8676
  if (typeof P != "string") {
8675
- const C = {
8677
+ const D = {
8676
8678
  instancePath: r + "/resource",
8677
8679
  schemaPath: "#/definitions/GitDirectoryReference/properties/resource/type",
8678
8680
  keyword: "type",
8679
8681
  params: { type: "string" },
8680
8682
  message: "must be string"
8681
8683
  };
8682
- i === null ? i = [C] : i.push(C), t++;
8684
+ i === null ? i = [D] : i.push(D), t++;
8683
8685
  }
8684
8686
  if (P !== "git:directory") {
8685
- const C = {
8687
+ const D = {
8686
8688
  instancePath: r + "/resource",
8687
8689
  schemaPath: "#/definitions/GitDirectoryReference/properties/resource/const",
8688
8690
  keyword: "const",
8689
8691
  params: { allowedValue: "git:directory" },
8690
8692
  message: "must be equal to constant"
8691
8693
  };
8692
- i === null ? i = [C] : i.push(C), t++;
8694
+ i === null ? i = [D] : i.push(D), t++;
8693
8695
  }
8694
8696
  var w = q === t;
8695
8697
  } else
@@ -8698,14 +8700,14 @@ function Je(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
8698
8700
  if (e.url !== void 0) {
8699
8701
  const P = t;
8700
8702
  if (typeof e.url != "string") {
8701
- const C = {
8703
+ const D = {
8702
8704
  instancePath: r + "/url",
8703
8705
  schemaPath: "#/definitions/GitDirectoryReference/properties/url/type",
8704
8706
  keyword: "type",
8705
8707
  params: { type: "string" },
8706
8708
  message: "must be string"
8707
8709
  };
8708
- i === null ? i = [C] : i.push(C), t++;
8710
+ i === null ? i = [D] : i.push(D), t++;
8709
8711
  }
8710
8712
  var w = P === t;
8711
8713
  } else
@@ -8714,14 +8716,14 @@ function Je(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
8714
8716
  if (e.ref !== void 0) {
8715
8717
  const P = t;
8716
8718
  if (typeof e.ref != "string") {
8717
- const C = {
8719
+ const D = {
8718
8720
  instancePath: r + "/ref",
8719
8721
  schemaPath: "#/definitions/GitDirectoryReference/properties/ref/type",
8720
8722
  keyword: "type",
8721
8723
  params: { type: "string" },
8722
8724
  message: "must be string"
8723
8725
  };
8724
- i === null ? i = [C] : i.push(C), t++;
8726
+ i === null ? i = [D] : i.push(D), t++;
8725
8727
  }
8726
8728
  var w = P === t;
8727
8729
  } else
@@ -8730,14 +8732,14 @@ function Je(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
8730
8732
  if (e.path !== void 0) {
8731
8733
  const P = t;
8732
8734
  if (typeof e.path != "string") {
8733
- const C = {
8735
+ const D = {
8734
8736
  instancePath: r + "/path",
8735
8737
  schemaPath: "#/definitions/GitDirectoryReference/properties/path/type",
8736
8738
  keyword: "type",
8737
8739
  params: { type: "string" },
8738
8740
  message: "must be string"
8739
8741
  };
8740
- i === null ? i = [C] : i.push(C), t++;
8742
+ i === null ? i = [D] : i.push(D), t++;
8741
8743
  }
8742
8744
  var w = P === t;
8743
8745
  } else
@@ -8790,15 +8792,15 @@ function Ue(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
8790
8792
  let i = null, t = 0;
8791
8793
  if (t === 0)
8792
8794
  if (e && typeof e == "object" && !Array.isArray(e)) {
8793
- let C;
8794
- if (e.url === void 0 && (C = "url"))
8795
+ let D;
8796
+ if (e.url === void 0 && (D = "url"))
8795
8797
  return Ue.errors = [
8796
8798
  {
8797
8799
  instancePath: r,
8798
8800
  schemaPath: "#/required",
8799
8801
  keyword: "required",
8800
- params: { missingProperty: C },
8801
- message: "must have required property '" + C + "'"
8802
+ params: { missingProperty: D },
8803
+ message: "must have required property '" + D + "'"
8802
8804
  }
8803
8805
  ], !1;
8804
8806
  {
@@ -8904,26 +8906,26 @@ function Ue(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
8904
8906
  if (e.body !== void 0) {
8905
8907
  let B = e.body;
8906
8908
  const U = t, A = t;
8907
- let T = !1;
8909
+ let x = !1;
8908
8910
  const N = t;
8909
8911
  if (typeof B != "string") {
8910
- const x = {
8912
+ const T = {
8911
8913
  instancePath: r + "/body",
8912
8914
  schemaPath: "#/properties/body/anyOf/0/type",
8913
8915
  keyword: "type",
8914
8916
  params: { type: "string" },
8915
8917
  message: "must be string"
8916
8918
  };
8917
- i === null ? i = [x] : i.push(x), t++;
8919
+ i === null ? i = [T] : i.push(T), t++;
8918
8920
  }
8919
8921
  var u = N === t;
8920
- if (T = T || u, !T) {
8921
- const x = t;
8922
- if (t === x)
8922
+ if (x = x || u, !x) {
8923
+ const T = t;
8924
+ if (t === T)
8923
8925
  if (B && typeof B == "object" && !Array.isArray(B)) {
8924
8926
  let O;
8925
8927
  if (B.BYTES_PER_ELEMENT === void 0 && (O = "BYTES_PER_ELEMENT") || B.buffer === void 0 && (O = "buffer") || B.byteLength === void 0 && (O = "byteLength") || B.byteOffset === void 0 && (O = "byteOffset") || B.length === void 0 && (O = "length")) {
8926
- const D = {
8928
+ const C = {
8927
8929
  instancePath: r + "/body",
8928
8930
  schemaPath: "#/properties/body/anyOf/1/required",
8929
8931
  keyword: "required",
@@ -8932,9 +8934,9 @@ function Ue(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
8932
8934
  },
8933
8935
  message: "must have required property '" + O + "'"
8934
8936
  };
8935
- i === null ? i = [D] : i.push(D), t++;
8937
+ i === null ? i = [C] : i.push(C), t++;
8936
8938
  } else {
8937
- const D = t;
8939
+ const C = t;
8938
8940
  for (const L in B)
8939
8941
  if (!(L === "BYTES_PER_ELEMENT" || L === "buffer" || L === "byteLength" || L === "byteOffset" || L === "length")) {
8940
8942
  let F = B[L];
@@ -8967,7 +8969,7 @@ function Ue(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
8967
8969
  if (!d)
8968
8970
  break;
8969
8971
  }
8970
- if (D === t) {
8972
+ if (C === t) {
8971
8973
  if (B.BYTES_PER_ELEMENT !== void 0) {
8972
8974
  let L = B.BYTES_PER_ELEMENT;
8973
8975
  const F = t;
@@ -9167,8 +9169,8 @@ function Ue(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
9167
9169
  };
9168
9170
  i === null ? i = [O] : i.push(O), t++;
9169
9171
  }
9170
- var u = x === t;
9171
- if (T = T || u, !T) {
9172
+ var u = T === t;
9173
+ if (x = x || u, !x) {
9172
9174
  const O = t;
9173
9175
  if (t === O)
9174
9176
  if (B && typeof B == "object" && !Array.isArray(B))
@@ -9799,20 +9801,20 @@ function Ue(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
9799
9801
  i === null ? i = [L] : i.push(L), t++;
9800
9802
  }
9801
9803
  var u = O === t;
9802
- T = T || u;
9804
+ x = x || u;
9803
9805
  }
9804
9806
  }
9805
- if (T)
9807
+ if (x)
9806
9808
  t = A, i !== null && (A ? i.length = A : i = null);
9807
9809
  else {
9808
- const x = {
9810
+ const T = {
9809
9811
  instancePath: r + "/body",
9810
9812
  schemaPath: "#/properties/body/anyOf",
9811
9813
  keyword: "anyOf",
9812
9814
  params: {},
9813
9815
  message: "must match a schema in anyOf"
9814
9816
  };
9815
- return i === null ? i = [x] : i.push(x), t++, Ue.errors = i, !1;
9817
+ return i === null ? i = [T] : i.push(T), t++, Ue.errors = i, !1;
9816
9818
  }
9817
9819
  var p = U === t;
9818
9820
  } else
@@ -9833,7 +9835,7 @@ function Ue(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
9833
9835
  ], !1;
9834
9836
  return Ue.errors = i, t === 0;
9835
9837
  }
9836
- const uu = {
9838
+ const cu = {
9837
9839
  type: "object",
9838
9840
  properties: {
9839
9841
  relativeUri: {
@@ -9905,7 +9907,7 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
9905
9907
  if (e && typeof e == "object" && !Array.isArray(e)) {
9906
9908
  const j = t;
9907
9909
  for (const P in e)
9908
- if (!Ya.call(uu.properties, P))
9910
+ if (!Ya.call(cu.properties, P))
9909
9911
  return Oe.errors = [
9910
9912
  {
9911
9913
  instancePath: r,
@@ -10038,7 +10040,7 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10038
10040
  if (p) {
10039
10041
  if (e.body !== void 0) {
10040
10042
  let P = e.body;
10041
- const q = t, C = t;
10043
+ const q = t, D = t;
10042
10044
  let M = !1;
10043
10045
  const B = t;
10044
10046
  if (typeof P != "string") {
@@ -10070,15 +10072,15 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10070
10072
  i === null ? i = [S] : i.push(S), t++;
10071
10073
  } else {
10072
10074
  const S = t;
10073
- for (const x in P)
10074
- if (!(x === "BYTES_PER_ELEMENT" || x === "buffer" || x === "byteLength" || x === "byteOffset" || x === "length")) {
10075
- let E = P[x];
10075
+ for (const T in P)
10076
+ if (!(T === "BYTES_PER_ELEMENT" || T === "buffer" || T === "byteLength" || T === "byteOffset" || T === "length")) {
10077
+ let E = P[T];
10076
10078
  const O = t;
10077
10079
  if (!(typeof E == "number" && isFinite(
10078
10080
  E
10079
10081
  ))) {
10080
- const D = {
10081
- instancePath: r + "/body/" + x.replace(
10082
+ const C = {
10083
+ instancePath: r + "/body/" + T.replace(
10082
10084
  /~/g,
10083
10085
  "~0"
10084
10086
  ).replace(
@@ -10093,9 +10095,9 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10093
10095
  message: "must be number"
10094
10096
  };
10095
10097
  i === null ? i = [
10096
- D
10098
+ C
10097
10099
  ] : i.push(
10098
- D
10100
+ C
10099
10101
  ), t++;
10100
10102
  }
10101
10103
  var d = O === t;
@@ -10104,10 +10106,10 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10104
10106
  }
10105
10107
  if (S === t) {
10106
10108
  if (P.BYTES_PER_ELEMENT !== void 0) {
10107
- let x = P.BYTES_PER_ELEMENT;
10109
+ let T = P.BYTES_PER_ELEMENT;
10108
10110
  const E = t;
10109
- if (!(typeof x == "number" && isFinite(
10110
- x
10111
+ if (!(typeof T == "number" && isFinite(
10112
+ T
10111
10113
  ))) {
10112
10114
  const O = {
10113
10115
  instancePath: r + "/body/BYTES_PER_ELEMENT",
@@ -10129,22 +10131,22 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10129
10131
  var w = !0;
10130
10132
  if (w) {
10131
10133
  if (P.buffer !== void 0) {
10132
- let x = P.buffer;
10134
+ let T = P.buffer;
10133
10135
  const E = t;
10134
10136
  if (t === E)
10135
- if (x && typeof x == "object" && !Array.isArray(
10136
- x
10137
+ if (T && typeof T == "object" && !Array.isArray(
10138
+ T
10137
10139
  )) {
10138
- let D;
10139
- if (x.byteLength === void 0 && (D = "byteLength")) {
10140
+ let C;
10141
+ if (T.byteLength === void 0 && (C = "byteLength")) {
10140
10142
  const L = {
10141
10143
  instancePath: r + "/body/buffer",
10142
10144
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
10143
10145
  keyword: "required",
10144
10146
  params: {
10145
- missingProperty: D
10147
+ missingProperty: C
10146
10148
  },
10147
- message: "must have required property '" + D + "'"
10149
+ message: "must have required property '" + C + "'"
10148
10150
  };
10149
10151
  i === null ? i = [
10150
10152
  L
@@ -10153,7 +10155,7 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10153
10155
  ), t++;
10154
10156
  } else {
10155
10157
  const L = t;
10156
- for (const F in x)
10158
+ for (const F in T)
10157
10159
  if (F !== "byteLength") {
10158
10160
  const Y = {
10159
10161
  instancePath: r + "/body/buffer",
@@ -10171,8 +10173,8 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10171
10173
  ), t++;
10172
10174
  break;
10173
10175
  }
10174
- if (L === t && x.byteLength !== void 0) {
10175
- let F = x.byteLength;
10176
+ if (L === t && T.byteLength !== void 0) {
10177
+ let F = T.byteLength;
10176
10178
  if (!(typeof F == "number" && isFinite(
10177
10179
  F
10178
10180
  ))) {
@@ -10194,7 +10196,7 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10194
10196
  }
10195
10197
  }
10196
10198
  } else {
10197
- const D = {
10199
+ const C = {
10198
10200
  instancePath: r + "/body/buffer",
10199
10201
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/type",
10200
10202
  keyword: "type",
@@ -10204,9 +10206,9 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10204
10206
  message: "must be object"
10205
10207
  };
10206
10208
  i === null ? i = [
10207
- D
10209
+ C
10208
10210
  ] : i.push(
10209
- D
10211
+ C
10210
10212
  ), t++;
10211
10213
  }
10212
10214
  var w = E === t;
@@ -10214,12 +10216,12 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10214
10216
  var w = !0;
10215
10217
  if (w) {
10216
10218
  if (P.byteLength !== void 0) {
10217
- let x = P.byteLength;
10219
+ let T = P.byteLength;
10218
10220
  const E = t;
10219
- if (!(typeof x == "number" && isFinite(
10220
- x
10221
+ if (!(typeof T == "number" && isFinite(
10222
+ T
10221
10223
  ))) {
10222
- const D = {
10224
+ const C = {
10223
10225
  instancePath: r + "/body/byteLength",
10224
10226
  schemaPath: "#/properties/body/anyOf/1/properties/byteLength/type",
10225
10227
  keyword: "type",
@@ -10229,9 +10231,9 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10229
10231
  message: "must be number"
10230
10232
  };
10231
10233
  i === null ? i = [
10232
- D
10234
+ C
10233
10235
  ] : i.push(
10234
- D
10236
+ C
10235
10237
  ), t++;
10236
10238
  }
10237
10239
  var w = E === t;
@@ -10239,12 +10241,12 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10239
10241
  var w = !0;
10240
10242
  if (w) {
10241
10243
  if (P.byteOffset !== void 0) {
10242
- let x = P.byteOffset;
10244
+ let T = P.byteOffset;
10243
10245
  const E = t;
10244
- if (!(typeof x == "number" && isFinite(
10245
- x
10246
+ if (!(typeof T == "number" && isFinite(
10247
+ T
10246
10248
  ))) {
10247
- const D = {
10249
+ const C = {
10248
10250
  instancePath: r + "/body/byteOffset",
10249
10251
  schemaPath: "#/properties/body/anyOf/1/properties/byteOffset/type",
10250
10252
  keyword: "type",
@@ -10254,9 +10256,9 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10254
10256
  message: "must be number"
10255
10257
  };
10256
10258
  i === null ? i = [
10257
- D
10259
+ C
10258
10260
  ] : i.push(
10259
- D
10261
+ C
10260
10262
  ), t++;
10261
10263
  }
10262
10264
  var w = E === t;
@@ -10264,12 +10266,12 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10264
10266
  var w = !0;
10265
10267
  if (w)
10266
10268
  if (P.length !== void 0) {
10267
- let x = P.length;
10269
+ let T = P.length;
10268
10270
  const E = t;
10269
- if (!(typeof x == "number" && isFinite(
10270
- x
10271
+ if (!(typeof T == "number" && isFinite(
10272
+ T
10271
10273
  ))) {
10272
- const D = {
10274
+ const C = {
10273
10275
  instancePath: r + "/body/length",
10274
10276
  schemaPath: "#/properties/body/anyOf/1/properties/length/type",
10275
10277
  keyword: "type",
@@ -10279,9 +10281,9 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10279
10281
  message: "must be number"
10280
10282
  };
10281
10283
  i === null ? i = [
10282
- D
10284
+ C
10283
10285
  ] : i.push(
10284
- D
10286
+ C
10285
10287
  ), t++;
10286
10288
  }
10287
10289
  var w = E === t;
@@ -10308,7 +10310,7 @@ function Oe(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
10308
10310
  M = M || u;
10309
10311
  }
10310
10312
  if (M)
10311
- t = C, i !== null && (C ? i.length = C : i = null);
10313
+ t = D, i !== null && (D ? i.length = D : i = null);
10312
10314
  else {
10313
10315
  const A = {
10314
10316
  instancePath: r + "/body",
@@ -11469,10 +11471,10 @@ function h(e, { instancePath: r = "", parentData: s, parentDataProperty: n, root
11469
11471
  message: "must be number"
11470
11472
  }
11471
11473
  ], !1;
11472
- var C = W === t;
11474
+ var D = W === t;
11473
11475
  } else
11474
- var C = !0;
11475
- if (C)
11476
+ var D = !0;
11477
+ if (D)
11476
11478
  if (a.caption !== void 0) {
11477
11479
  const m = t;
11478
11480
  if (typeof a.caption != "string")
@@ -11487,9 +11489,9 @@ function h(e, { instancePath: r = "", parentData: s, parentDataProperty: n, root
11487
11489
  message: "must be string"
11488
11490
  }
11489
11491
  ], !1;
11490
- var C = m === t;
11492
+ var D = m === t;
11491
11493
  } else
11492
- var C = !0;
11494
+ var D = !0;
11493
11495
  }
11494
11496
  } else
11495
11497
  return h.errors = [
@@ -11835,10 +11837,10 @@ function h(e, { instancePath: r = "", parentData: s, parentDataProperty: n, root
11835
11837
  message: "must be object"
11836
11838
  }
11837
11839
  ], !1;
11838
- var T = k === t;
11840
+ var x = k === t;
11839
11841
  } else
11840
- var T = !0;
11841
- if (T) {
11842
+ var x = !0;
11843
+ if (x) {
11842
11844
  if (e.step !== void 0) {
11843
11845
  let a = e.step;
11844
11846
  const k = t;
@@ -11866,10 +11868,10 @@ function h(e, { instancePath: r = "", parentData: s, parentDataProperty: n, root
11866
11868
  message: "must be equal to constant"
11867
11869
  }
11868
11870
  ], !1;
11869
- var T = k === t;
11871
+ var x = k === t;
11870
11872
  } else
11871
- var T = !0;
11872
- if (T)
11873
+ var x = !0;
11874
+ if (x)
11873
11875
  if (e.themeSlug !== void 0) {
11874
11876
  const a = t;
11875
11877
  if (typeof e.themeSlug != "string")
@@ -11884,9 +11886,9 @@ function h(e, { instancePath: r = "", parentData: s, parentDataProperty: n, root
11884
11886
  message: "must be string"
11885
11887
  }
11886
11888
  ], !1;
11887
- var T = a === t;
11889
+ var x = a === t;
11888
11890
  } else
11889
- var T = !0;
11891
+ var x = !0;
11890
11892
  }
11891
11893
  }
11892
11894
  }
@@ -12155,10 +12157,10 @@ function h(e, { instancePath: r = "", parentData: s, parentDataProperty: n, root
12155
12157
  message: "must be number"
12156
12158
  }
12157
12159
  ], !1;
12158
- var x = W === t;
12160
+ var T = W === t;
12159
12161
  } else
12160
- var x = !0;
12161
- if (x)
12162
+ var T = !0;
12163
+ if (T)
12162
12164
  if (a.caption !== void 0) {
12163
12165
  const m = t;
12164
12166
  if (typeof a.caption != "string")
@@ -12173,9 +12175,9 @@ function h(e, { instancePath: r = "", parentData: s, parentDataProperty: n, root
12173
12175
  message: "must be string"
12174
12176
  }
12175
12177
  ], !1;
12176
- var x = m === t;
12178
+ var T = m === t;
12177
12179
  } else
12178
- var x = !0;
12180
+ var T = !0;
12179
12181
  }
12180
12182
  } else
12181
12183
  return h.errors = [
@@ -12361,10 +12363,10 @@ function h(e, { instancePath: r = "", parentData: s, parentDataProperty: n, root
12361
12363
  message: "must be boolean"
12362
12364
  }
12363
12365
  ], !1;
12364
- var D = me === t;
12366
+ var C = me === t;
12365
12367
  } else
12366
- var D = !0;
12367
- if (D)
12368
+ var C = !0;
12369
+ if (C)
12368
12370
  if (a.targetFolderName !== void 0) {
12369
12371
  const me = t;
12370
12372
  if (typeof a.targetFolderName != "string")
@@ -12379,9 +12381,9 @@ function h(e, { instancePath: r = "", parentData: s, parentDataProperty: n, root
12379
12381
  message: "must be string"
12380
12382
  }
12381
12383
  ], !1;
12382
- var D = me === t;
12384
+ var C = me === t;
12383
12385
  } else
12384
- var D = !0;
12386
+ var C = !0;
12385
12387
  }
12386
12388
  } else
12387
12389
  return h.errors = [
@@ -16390,20 +16392,20 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16390
16392
  if (t === 0)
16391
16393
  if (e && typeof e == "object" && !Array.isArray(e)) {
16392
16394
  const A = t;
16393
- for (const T in e)
16394
- if (!Ya.call(pu.properties, T))
16395
+ for (const x in e)
16396
+ if (!Ya.call(pu.properties, x))
16395
16397
  return ie.errors = [
16396
16398
  {
16397
16399
  instancePath: r,
16398
16400
  schemaPath: "#/additionalProperties",
16399
16401
  keyword: "additionalProperties",
16400
- params: { additionalProperty: T },
16402
+ params: { additionalProperty: x },
16401
16403
  message: "must NOT have additional properties"
16402
16404
  }
16403
16405
  ], !1;
16404
16406
  if (A === t) {
16405
16407
  if (e.landingPage !== void 0) {
16406
- const T = t;
16408
+ const x = t;
16407
16409
  if (typeof e.landingPage != "string")
16408
16410
  return ie.errors = [
16409
16411
  {
@@ -16414,12 +16416,12 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16414
16416
  message: "must be string"
16415
16417
  }
16416
16418
  ], !1;
16417
- var p = T === t;
16419
+ var p = x === t;
16418
16420
  } else
16419
16421
  var p = !0;
16420
16422
  if (p) {
16421
16423
  if (e.description !== void 0) {
16422
- const T = t;
16424
+ const x = t;
16423
16425
  if (typeof e.description != "string")
16424
16426
  return ie.errors = [
16425
16427
  {
@@ -16430,31 +16432,31 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16430
16432
  message: "must be string"
16431
16433
  }
16432
16434
  ], !1;
16433
- var p = T === t;
16435
+ var p = x === t;
16434
16436
  } else
16435
16437
  var p = !0;
16436
16438
  if (p) {
16437
16439
  if (e.meta !== void 0) {
16438
- let T = e.meta;
16440
+ let x = e.meta;
16439
16441
  const N = t;
16440
16442
  if (t === N)
16441
- if (T && typeof T == "object" && !Array.isArray(T)) {
16442
- let x;
16443
- if (T.title === void 0 && (x = "title") || T.author === void 0 && (x = "author"))
16443
+ if (x && typeof x == "object" && !Array.isArray(x)) {
16444
+ let T;
16445
+ if (x.title === void 0 && (T = "title") || x.author === void 0 && (T = "author"))
16444
16446
  return ie.errors = [
16445
16447
  {
16446
16448
  instancePath: r + "/meta",
16447
16449
  schemaPath: "#/properties/meta/required",
16448
16450
  keyword: "required",
16449
16451
  params: {
16450
- missingProperty: x
16452
+ missingProperty: T
16451
16453
  },
16452
- message: "must have required property '" + x + "'"
16454
+ message: "must have required property '" + T + "'"
16453
16455
  }
16454
16456
  ], !1;
16455
16457
  {
16456
16458
  const E = t;
16457
- for (const O in T)
16459
+ for (const O in x)
16458
16460
  if (!(O === "title" || O === "description" || O === "author" || O === "categories"))
16459
16461
  return ie.errors = [
16460
16462
  {
@@ -16468,9 +16470,9 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16468
16470
  }
16469
16471
  ], !1;
16470
16472
  if (E === t) {
16471
- if (T.title !== void 0) {
16473
+ if (x.title !== void 0) {
16472
16474
  const O = t;
16473
- if (typeof T.title != "string")
16475
+ if (typeof x.title != "string")
16474
16476
  return ie.errors = [
16475
16477
  {
16476
16478
  instancePath: r + "/meta/title",
@@ -16486,9 +16488,9 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16486
16488
  } else
16487
16489
  var y = !0;
16488
16490
  if (y) {
16489
- if (T.description !== void 0) {
16491
+ if (x.description !== void 0) {
16490
16492
  const O = t;
16491
- if (typeof T.description != "string")
16493
+ if (typeof x.description != "string")
16492
16494
  return ie.errors = [
16493
16495
  {
16494
16496
  instancePath: r + "/meta/description",
@@ -16504,9 +16506,9 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16504
16506
  } else
16505
16507
  var y = !0;
16506
16508
  if (y) {
16507
- if (T.author !== void 0) {
16509
+ if (x.author !== void 0) {
16508
16510
  const O = t;
16509
- if (typeof T.author != "string")
16511
+ if (typeof x.author != "string")
16510
16512
  return ie.errors = [
16511
16513
  {
16512
16514
  instancePath: r + "/meta/author",
@@ -16522,10 +16524,10 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16522
16524
  } else
16523
16525
  var y = !0;
16524
16526
  if (y)
16525
- if (T.categories !== void 0) {
16526
- let O = T.categories;
16527
- const D = t;
16528
- if (t === D)
16527
+ if (x.categories !== void 0) {
16528
+ let O = x.categories;
16529
+ const C = t;
16530
+ if (t === C)
16529
16531
  if (Array.isArray(
16530
16532
  O
16531
16533
  )) {
@@ -16561,7 +16563,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16561
16563
  message: "must be array"
16562
16564
  }
16563
16565
  ], !1;
16564
- var y = D === t;
16566
+ var y = C === t;
16565
16567
  } else
16566
16568
  var y = !0;
16567
16569
  }
@@ -16583,26 +16585,26 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16583
16585
  var p = !0;
16584
16586
  if (p) {
16585
16587
  if (e.preferredVersions !== void 0) {
16586
- let T = e.preferredVersions;
16588
+ let x = e.preferredVersions;
16587
16589
  const N = t;
16588
16590
  if (t === N)
16589
- if (T && typeof T == "object" && !Array.isArray(T)) {
16590
- let x;
16591
- if (T.php === void 0 && (x = "php") || T.wp === void 0 && (x = "wp"))
16591
+ if (x && typeof x == "object" && !Array.isArray(x)) {
16592
+ let T;
16593
+ if (x.php === void 0 && (T = "php") || x.wp === void 0 && (T = "wp"))
16592
16594
  return ie.errors = [
16593
16595
  {
16594
16596
  instancePath: r + "/preferredVersions",
16595
16597
  schemaPath: "#/properties/preferredVersions/required",
16596
16598
  keyword: "required",
16597
16599
  params: {
16598
- missingProperty: x
16600
+ missingProperty: T
16599
16601
  },
16600
- message: "must have required property '" + x + "'"
16602
+ message: "must have required property '" + T + "'"
16601
16603
  }
16602
16604
  ], !1;
16603
16605
  {
16604
16606
  const E = t;
16605
- for (const O in T)
16607
+ for (const O in x)
16606
16608
  if (!(O === "php" || O === "wp"))
16607
16609
  return ie.errors = [
16608
16610
  {
@@ -16616,9 +16618,9 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16616
16618
  }
16617
16619
  ], !1;
16618
16620
  if (E === t) {
16619
- if (T.php !== void 0) {
16620
- let O = T.php;
16621
- const D = t, L = t;
16621
+ if (x.php !== void 0) {
16622
+ let O = x.php;
16623
+ const C = t, L = t;
16622
16624
  let F = !1;
16623
16625
  const Y = t;
16624
16626
  if (typeof O != "string") {
@@ -16695,13 +16697,13 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16695
16697
  };
16696
16698
  return i === null ? i = [Z] : i.push(Z), t++, ie.errors = i, !1;
16697
16699
  }
16698
- var w = D === t;
16700
+ var w = C === t;
16699
16701
  } else
16700
16702
  var w = !0;
16701
16703
  if (w)
16702
- if (T.wp !== void 0) {
16704
+ if (x.wp !== void 0) {
16703
16705
  const O = t;
16704
- if (typeof T.wp != "string")
16706
+ if (typeof x.wp != "string")
16705
16707
  return ie.errors = [
16706
16708
  {
16707
16709
  instancePath: r + "/preferredVersions/wp",
@@ -16733,12 +16735,12 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16733
16735
  var p = !0;
16734
16736
  if (p) {
16735
16737
  if (e.features !== void 0) {
16736
- let T = e.features;
16738
+ let x = e.features;
16737
16739
  const N = t;
16738
16740
  if (t === N)
16739
- if (T && typeof T == "object" && !Array.isArray(T)) {
16740
- const x = t;
16741
- for (const E in T)
16741
+ if (x && typeof x == "object" && !Array.isArray(x)) {
16742
+ const T = t;
16743
+ for (const E in x)
16742
16744
  if (E !== "networking")
16743
16745
  return ie.errors = [
16744
16746
  {
@@ -16751,7 +16753,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16751
16753
  message: "must NOT have additional properties"
16752
16754
  }
16753
16755
  ], !1;
16754
- if (x === t && T.networking !== void 0 && typeof T.networking != "boolean")
16756
+ if (T === t && x.networking !== void 0 && typeof x.networking != "boolean")
16755
16757
  return ie.errors = [
16756
16758
  {
16757
16759
  instancePath: r + "/features/networking",
@@ -16778,15 +16780,15 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16778
16780
  var p = !0;
16779
16781
  if (p) {
16780
16782
  if (e.extraLibraries !== void 0) {
16781
- let T = e.extraLibraries;
16783
+ let x = e.extraLibraries;
16782
16784
  const N = t;
16783
16785
  if (t === N)
16784
- if (Array.isArray(T)) {
16786
+ if (Array.isArray(x)) {
16785
16787
  var _ = !0;
16786
- const x = T.length;
16787
- for (let E = 0; E < x; E++) {
16788
- let O = T[E];
16789
- const D = t;
16788
+ const T = x.length;
16789
+ for (let E = 0; E < T; E++) {
16790
+ let O = x[E];
16791
+ const C = t;
16790
16792
  if (typeof O != "string")
16791
16793
  return ie.errors = [
16792
16794
  {
@@ -16811,7 +16813,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16811
16813
  message: "must be equal to constant"
16812
16814
  }
16813
16815
  ], !1;
16814
- var _ = D === t;
16816
+ var _ = C === t;
16815
16817
  if (!_)
16816
16818
  break;
16817
16819
  }
@@ -16832,31 +16834,32 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16832
16834
  var p = !0;
16833
16835
  if (p) {
16834
16836
  if (e.constants !== void 0) {
16835
- let T = e.constants;
16837
+ let x = e.constants;
16836
16838
  const N = t;
16837
- if (t === N)
16838
- if (T && typeof T == "object" && !Array.isArray(T))
16839
- for (const x in T) {
16840
- const E = t;
16841
- if (typeof T[x] != "string")
16839
+ if (t === t)
16840
+ if (x && typeof x == "object" && !Array.isArray(x))
16841
+ for (const E in x) {
16842
+ let O = x[E];
16843
+ const C = t;
16844
+ if (typeof O != "string" && typeof O != "boolean" && !(typeof O == "number" && isFinite(O)))
16842
16845
  return ie.errors = [
16843
16846
  {
16844
- instancePath: r + "/constants/" + x.replace(
16847
+ instancePath: r + "/constants/" + E.replace(
16845
16848
  /~/g,
16846
16849
  "~0"
16847
16850
  ).replace(
16848
16851
  /\//g,
16849
16852
  "~1"
16850
16853
  ),
16851
- schemaPath: "#/properties/constants/additionalProperties/type",
16854
+ schemaPath: "#/definitions/PHPConstants/additionalProperties/type",
16852
16855
  keyword: "type",
16853
16856
  params: {
16854
- type: "string"
16857
+ type: lu.additionalProperties.type
16855
16858
  },
16856
- message: "must be string"
16859
+ message: "must be string,boolean,number"
16857
16860
  }
16858
16861
  ], !1;
16859
- var b = E === t;
16862
+ var b = C === t;
16860
16863
  if (!b)
16861
16864
  break;
16862
16865
  }
@@ -16864,7 +16867,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16864
16867
  return ie.errors = [
16865
16868
  {
16866
16869
  instancePath: r + "/constants",
16867
- schemaPath: "#/properties/constants/type",
16870
+ schemaPath: "#/definitions/PHPConstants/type",
16868
16871
  keyword: "type",
16869
16872
  params: {
16870
16873
  type: "object"
@@ -16877,15 +16880,15 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16877
16880
  var p = !0;
16878
16881
  if (p) {
16879
16882
  if (e.plugins !== void 0) {
16880
- let T = e.plugins;
16883
+ let x = e.plugins;
16881
16884
  const N = t;
16882
16885
  if (t === N)
16883
- if (Array.isArray(T)) {
16886
+ if (Array.isArray(x)) {
16884
16887
  var j = !0;
16885
- const x = T.length;
16886
- for (let E = 0; E < x; E++) {
16887
- let O = T[E];
16888
- const D = t, L = t;
16888
+ const T = x.length;
16889
+ for (let E = 0; E < T; E++) {
16890
+ let O = x[E];
16891
+ const C = t, L = t;
16889
16892
  let F = !1;
16890
16893
  const Y = t;
16891
16894
  if (typeof O != "string") {
@@ -16911,7 +16914,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16911
16914
  O,
16912
16915
  {
16913
16916
  instancePath: r + "/plugins/" + E,
16914
- parentData: T,
16917
+ parentData: x,
16915
16918
  parentDataProperty: E,
16916
16919
  rootData: o
16917
16920
  }
@@ -16937,7 +16940,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16937
16940
  H
16938
16941
  ), t++, ie.errors = i, !1;
16939
16942
  }
16940
- var j = D === t;
16943
+ var j = C === t;
16941
16944
  if (!j)
16942
16945
  break;
16943
16946
  }
@@ -16958,17 +16961,17 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16958
16961
  var p = !0;
16959
16962
  if (p) {
16960
16963
  if (e.siteOptions !== void 0) {
16961
- let T = e.siteOptions;
16964
+ let x = e.siteOptions;
16962
16965
  const N = t;
16963
16966
  if (t === N)
16964
- if (T && typeof T == "object" && !Array.isArray(
16965
- T
16967
+ if (x && typeof x == "object" && !Array.isArray(
16968
+ x
16966
16969
  )) {
16967
- const x = t;
16968
- for (const E in T)
16970
+ const T = t;
16971
+ for (const E in x)
16969
16972
  if (E !== "blogname") {
16970
16973
  const O = t;
16971
- if (typeof T[E] != "string")
16974
+ if (typeof x[E] != "string")
16972
16975
  return ie.errors = [
16973
16976
  {
16974
16977
  instancePath: r + "/siteOptions/" + E.replace(
@@ -16990,7 +16993,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
16990
16993
  if (!q)
16991
16994
  break;
16992
16995
  }
16993
- if (x === t && T.blogname !== void 0 && typeof T.blogname != "string")
16996
+ if (T === t && x.blogname !== void 0 && typeof x.blogname != "string")
16994
16997
  return ie.errors = [
16995
16998
  {
16996
16999
  instancePath: r + "/siteOptions/blogname",
@@ -17019,12 +17022,12 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17019
17022
  var p = !0;
17020
17023
  if (p) {
17021
17024
  if (e.login !== void 0) {
17022
- let T = e.login;
17025
+ let x = e.login;
17023
17026
  const N = t, S = t;
17024
- let x = !1;
17027
+ let T = !1;
17025
17028
  const E = t;
17026
- if (typeof T != "boolean") {
17027
- const D = {
17029
+ if (typeof x != "boolean") {
17030
+ const C = {
17028
17031
  instancePath: r + "/login",
17029
17032
  schemaPath: "#/properties/login/anyOf/0/type",
17030
17033
  keyword: "type",
@@ -17034,20 +17037,20 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17034
17037
  message: "must be boolean"
17035
17038
  };
17036
17039
  i === null ? i = [
17037
- D
17040
+ C
17038
17041
  ] : i.push(
17039
- D
17042
+ C
17040
17043
  ), t++;
17041
17044
  }
17042
- var C = E === t;
17043
- if (x = x || C, !x) {
17044
- const D = t;
17045
- if (t === D)
17046
- if (T && typeof T == "object" && !Array.isArray(
17047
- T
17045
+ var D = E === t;
17046
+ if (T = T || D, !T) {
17047
+ const C = t;
17048
+ if (t === C)
17049
+ if (x && typeof x == "object" && !Array.isArray(
17050
+ x
17048
17051
  )) {
17049
17052
  let F;
17050
- if (T.username === void 0 && (F = "username") || T.password === void 0 && (F = "password")) {
17053
+ if (x.username === void 0 && (F = "username") || x.password === void 0 && (F = "password")) {
17051
17054
  const Y = {
17052
17055
  instancePath: r + "/login",
17053
17056
  schemaPath: "#/properties/login/anyOf/1/required",
@@ -17064,7 +17067,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17064
17067
  ), t++;
17065
17068
  } else {
17066
17069
  const Y = t;
17067
- for (const Z in T)
17070
+ for (const Z in x)
17068
17071
  if (!(Z === "username" || Z === "password")) {
17069
17072
  const H = {
17070
17073
  instancePath: r + "/login",
@@ -17083,9 +17086,9 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17083
17086
  break;
17084
17087
  }
17085
17088
  if (Y === t) {
17086
- if (T.username !== void 0) {
17089
+ if (x.username !== void 0) {
17087
17090
  const Z = t;
17088
- if (typeof T.username != "string") {
17091
+ if (typeof x.username != "string") {
17089
17092
  const H = {
17090
17093
  instancePath: r + "/login/username",
17091
17094
  schemaPath: "#/properties/login/anyOf/1/properties/username/type",
@@ -17105,9 +17108,9 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17105
17108
  } else
17106
17109
  var M = !0;
17107
17110
  if (M)
17108
- if (T.password !== void 0) {
17111
+ if (x.password !== void 0) {
17109
17112
  const Z = t;
17110
- if (typeof T.password != "string") {
17113
+ if (typeof x.password != "string") {
17111
17114
  const K = {
17112
17115
  instancePath: r + "/login/password",
17113
17116
  schemaPath: "#/properties/login/anyOf/1/properties/password/type",
@@ -17144,13 +17147,13 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17144
17147
  F
17145
17148
  ), t++;
17146
17149
  }
17147
- var C = D === t;
17148
- x = x || C;
17150
+ var D = C === t;
17151
+ T = T || D;
17149
17152
  }
17150
- if (x)
17153
+ if (T)
17151
17154
  t = S, i !== null && (S ? i.length = S : i = null);
17152
17155
  else {
17153
- const D = {
17156
+ const C = {
17154
17157
  instancePath: r + "/login",
17155
17158
  schemaPath: "#/properties/login/anyOf",
17156
17159
  keyword: "anyOf",
@@ -17158,9 +17161,9 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17158
17161
  message: "must match a schema in anyOf"
17159
17162
  };
17160
17163
  return i === null ? i = [
17161
- D
17164
+ C
17162
17165
  ] : i.push(
17163
- D
17166
+ C
17164
17167
  ), t++, ie.errors = i, !1;
17165
17168
  }
17166
17169
  var p = N === t;
@@ -17168,24 +17171,24 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17168
17171
  var p = !0;
17169
17172
  if (p) {
17170
17173
  if (e.steps !== void 0) {
17171
- let T = e.steps;
17174
+ let x = e.steps;
17172
17175
  const N = t;
17173
17176
  if (t === N)
17174
17177
  if (Array.isArray(
17175
- T
17178
+ x
17176
17179
  )) {
17177
17180
  var B = !0;
17178
- const x = T.length;
17179
- for (let E = 0; E < x; E++) {
17180
- let O = T[E];
17181
- const D = t, L = t;
17181
+ const T = x.length;
17182
+ for (let E = 0; E < T; E++) {
17183
+ let O = x[E];
17184
+ const C = t, L = t;
17182
17185
  let F = !1;
17183
17186
  const Y = t;
17184
17187
  h(
17185
17188
  O,
17186
17189
  {
17187
17190
  instancePath: r + "/steps/" + E,
17188
- parentData: T,
17191
+ parentData: x,
17189
17192
  parentDataProperty: E,
17190
17193
  rootData: o
17191
17194
  }
@@ -17301,7 +17304,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17301
17304
  H
17302
17305
  ), t++, ie.errors = i, !1;
17303
17306
  }
17304
- var B = D === t;
17307
+ var B = C === t;
17305
17308
  if (!B)
17306
17309
  break;
17307
17310
  }
@@ -17322,7 +17325,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17322
17325
  var p = !0;
17323
17326
  if (p)
17324
17327
  if (e.$schema !== void 0) {
17325
- const T = t;
17328
+ const x = t;
17326
17329
  if (typeof e.$schema != "string")
17327
17330
  return ie.errors = [
17328
17331
  {
@@ -17335,7 +17338,7 @@ function ie(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17335
17338
  message: "must be string"
17336
17339
  }
17337
17340
  ], !1;
17338
- var p = T === t;
17341
+ var p = x === t;
17339
17342
  } else
17340
17343
  var p = !0;
17341
17344
  }
@@ -17370,22 +17373,22 @@ function Gt(e, { instancePath: r = "", parentData: s, parentDataProperty: n, roo
17370
17373
  rootData: o
17371
17374
  }) || (i = i === null ? ie.errors : i.concat(ie.errors), t = i.length), Gt.errors = i, t === 0;
17372
17375
  }
17373
- const { wpCLI: cu, ..._n } = Jo, du = {
17376
+ const { wpCLI: du, ..._n } = Jo, hu = {
17374
17377
  ..._n,
17375
- "wp-cli": cu,
17378
+ "wp-cli": du,
17376
17379
  importFile: _n.importWxr
17377
17380
  };
17378
- function hu(e, {
17381
+ function yu(e, {
17379
17382
  progress: r = new os(),
17380
17383
  semaphore: s = new ao({ concurrency: 3 }),
17381
17384
  onStepCompleted: n = () => {
17382
17385
  },
17383
17386
  corsProxy: o
17384
17387
  } = {}) {
17385
- var _, b, j, P, q, C, M, B, U;
17388
+ var _, b, j, P, q, D, M, B, U;
17386
17389
  e = structuredClone(e), e = {
17387
17390
  ...e,
17388
- steps: (e.steps || []).filter(gu).filter(wu)
17391
+ steps: (e.steps || []).filter(wu).filter(bu)
17389
17392
  };
17390
17393
  for (const A of e.steps)
17391
17394
  !A || typeof A != "object" || (A.step === "importFile" ? (A.step = "importWxr", Se.warn(
@@ -17402,15 +17405,15 @@ function hu(e, {
17402
17405
  step: "setSiteOptions",
17403
17406
  options: e.siteOptions
17404
17407
  }), e.plugins) {
17405
- const A = e.plugins.map((T) => typeof T == "string" ? T.startsWith("https://") ? {
17408
+ const A = e.plugins.map((x) => typeof x == "string" ? x.startsWith("https://") ? {
17406
17409
  resource: "url",
17407
- url: T
17410
+ url: x
17408
17411
  } : {
17409
17412
  resource: "wordpress.org/plugins",
17410
- slug: T
17411
- } : T).map((T) => ({
17413
+ slug: x
17414
+ } : x).map((x) => ({
17412
17415
  step: "installPlugin",
17413
- pluginData: T
17416
+ pluginData: x
17414
17417
  }));
17415
17418
  e.steps.unshift(...A);
17416
17419
  }
@@ -17436,7 +17439,7 @@ function hu(e, {
17436
17439
  const t = (q = e.steps) == null ? void 0 : q.findIndex(
17437
17440
  (A) => typeof A == "object" && (A == null ? void 0 : A.step) === "importWxr"
17438
17441
  );
17439
- t !== void 0 && t > -1 && ((C = e.steps) == null || C.splice(t, 0, {
17442
+ t !== void 0 && t > -1 && ((D = e.steps) == null || D.splice(t, 0, {
17440
17443
  step: "installPlugin",
17441
17444
  pluginData: {
17442
17445
  resource: "url",
@@ -17444,7 +17447,7 @@ function hu(e, {
17444
17447
  caption: "Downloading the WordPress Importer plugin"
17445
17448
  }
17446
17449
  }));
17447
- const { valid: p, errors: y } = yu(e);
17450
+ const { valid: p, errors: y } = mu(e);
17448
17451
  if (!p) {
17449
17452
  const A = new Error(
17450
17453
  `Invalid blueprint: ${y[0].message} at ${y[0].instancePath}`
@@ -17452,13 +17455,13 @@ function hu(e, {
17452
17455
  throw A.errors = y, A;
17453
17456
  }
17454
17457
  const u = e.steps || [], d = u.reduce(
17455
- (A, T) => {
17458
+ (A, x) => {
17456
17459
  var N;
17457
- return A + (((N = T.progress) == null ? void 0 : N.weight) || 1);
17460
+ return A + (((N = x.progress) == null ? void 0 : N.weight) || 1);
17458
17461
  },
17459
17462
  0
17460
17463
  ), w = u.map(
17461
- (A) => bu(A, {
17464
+ (A) => _u(A, {
17462
17465
  semaphore: s,
17463
17466
  rootProgressTracker: r,
17464
17467
  totalProgressWeight: d,
@@ -17467,7 +17470,7 @@ function hu(e, {
17467
17470
  );
17468
17471
  return {
17469
17472
  versions: {
17470
- php: mu(
17473
+ php: gu(
17471
17474
  (M = e.preferredVersions) == null ? void 0 : M.php,
17472
17475
  ni,
17473
17476
  Do
@@ -17481,19 +17484,19 @@ function hu(e, {
17481
17484
  extraLibraries: e.extraLibraries || [],
17482
17485
  run: async (A) => {
17483
17486
  try {
17484
- for (const { resources: T } of w)
17485
- for (const N of T)
17487
+ for (const { resources: x } of w)
17488
+ for (const N of x)
17486
17489
  N.setPlayground(A), N.isAsync && N.resolve();
17487
- for (const [T, { run: N, step: S }] of Object.entries(w))
17490
+ for (const [x, { run: N, step: S }] of Object.entries(w))
17488
17491
  try {
17489
- const x = await N(A);
17490
- n(x, S);
17491
- } catch (x) {
17492
- throw Se.error(x), new Error(
17493
- `Error when executing the blueprint step #${T} (${JSON.stringify(
17492
+ const T = await N(A);
17493
+ n(T, S);
17494
+ } catch (T) {
17495
+ throw Se.error(T), new Error(
17496
+ `Error when executing the blueprint step #${x} (${JSON.stringify(
17494
17497
  S
17495
- )}) ${x instanceof Error ? `: ${x.message}` : x}`,
17496
- { cause: x }
17498
+ )}) ${T instanceof Error ? `: ${T.message}` : T}`,
17499
+ { cause: T }
17497
17500
  );
17498
17501
  }
17499
17502
  } finally {
@@ -17508,7 +17511,7 @@ function hu(e, {
17508
17511
  }
17509
17512
  };
17510
17513
  }
17511
- function yu(e) {
17514
+ function mu(e) {
17512
17515
  var o;
17513
17516
  const r = Gt(e);
17514
17517
  if (r)
@@ -17524,18 +17527,18 @@ function yu(e) {
17524
17527
  errors: n
17525
17528
  };
17526
17529
  }
17527
- function mu(e, r, s) {
17530
+ function gu(e, r, s) {
17528
17531
  return e && r.includes(e) ? e : s;
17529
17532
  }
17530
- function gu(e) {
17533
+ function wu(e) {
17531
17534
  return !!(typeof e == "object" && e);
17532
17535
  }
17533
- function wu(e) {
17536
+ function bu(e) {
17534
17537
  return ["setPhpIniEntry", "request"].includes(e.step) ? (Se.warn(
17535
17538
  `The "${e.step}" Blueprint is no longer supported and you can remove it from your Blueprint.`
17536
17539
  ), !1) : !0;
17537
17540
  }
17538
- function bu(e, {
17541
+ function _u(e, {
17539
17542
  semaphore: r,
17540
17543
  rootProgressTracker: s,
17541
17544
  totalProgressWeight: n,
@@ -17555,9 +17558,9 @@ function bu(e, {
17555
17558
  const p = async (_) => {
17556
17559
  var b;
17557
17560
  try {
17558
- return i.fillSlowly(), await du[e.step](
17561
+ return i.fillSlowly(), await hu[e.step](
17559
17562
  _,
17560
- await _u(t),
17563
+ await vu(t),
17561
17564
  {
17562
17565
  tracker: i,
17563
17566
  initialCaption: (b = e.progress) == null ? void 0 : b.caption
@@ -17581,7 +17584,7 @@ function vn(e) {
17581
17584
  }
17582
17585
  return r;
17583
17586
  }
17584
- async function _u(e) {
17587
+ async function vu(e) {
17585
17588
  const r = {};
17586
17589
  for (const s in e) {
17587
17590
  const n = e[s];
@@ -17589,17 +17592,17 @@ async function _u(e) {
17589
17592
  }
17590
17593
  return r;
17591
17594
  }
17592
- async function vu(e, r) {
17595
+ async function Pu(e, r) {
17593
17596
  await e.run(r);
17594
17597
  }
17595
- function Mu() {
17598
+ function Wu() {
17596
17599
  }
17597
17600
  /**
17598
17601
  * @license
17599
17602
  * Copyright 2019 Google LLC
17600
17603
  * SPDX-License-Identifier: Apache-2.0
17601
17604
  */
17602
- const Xa = Symbol("Comlink.proxy"), Pu = Symbol("Comlink.endpoint"), ku = Symbol("Comlink.releaseProxy"), Ds = Symbol("Comlink.finalizer"), Vt = Symbol("Comlink.thrown"), Qa = (e) => typeof e == "object" && e !== null || typeof e == "function", Eu = {
17605
+ const Xa = Symbol("Comlink.proxy"), ku = Symbol("Comlink.endpoint"), Eu = Symbol("Comlink.releaseProxy"), Ds = Symbol("Comlink.finalizer"), Vt = Symbol("Comlink.thrown"), Qa = (e) => typeof e == "object" && e !== null || typeof e == "function", Ou = {
17603
17606
  canHandle: (e) => Qa(e) && e[Xa],
17604
17607
  serialize(e) {
17605
17608
  const { port1: r, port2: s } = new MessageChannel();
@@ -17608,7 +17611,7 @@ const Xa = Symbol("Comlink.proxy"), Pu = Symbol("Comlink.endpoint"), ku = Symbol
17608
17611
  deserialize(e) {
17609
17612
  return e.start(), wi(e);
17610
17613
  }
17611
- }, Ou = {
17614
+ }, xu = {
17612
17615
  canHandle: (e) => Qa(e) && Vt in e,
17613
17616
  serialize({ value: e }) {
17614
17617
  let r;
@@ -17625,10 +17628,10 @@ const Xa = Symbol("Comlink.proxy"), Pu = Symbol("Comlink.endpoint"), ku = Symbol
17625
17628
  throw e.isError ? Object.assign(new Error(e.value.message), e.value) : e.value;
17626
17629
  }
17627
17630
  }, Jr = /* @__PURE__ */ new Map([
17628
- ["proxy", Eu],
17629
- ["throw", Ou]
17631
+ ["proxy", Ou],
17632
+ ["throw", xu]
17630
17633
  ]);
17631
- function xu(e, r) {
17634
+ function Tu(e, r) {
17632
17635
  for (const s of e)
17633
17636
  if (r === s || s === "*" || s instanceof RegExp && s.test(r))
17634
17637
  return !0;
@@ -17638,7 +17641,7 @@ function gi(e, r = globalThis, s = ["*"]) {
17638
17641
  r.addEventListener("message", function n(o) {
17639
17642
  if (!o || !o.data)
17640
17643
  return;
17641
- if (!xu(s, o.origin)) {
17644
+ if (!Tu(s, o.origin)) {
17642
17645
  console.warn(`Invalid origin '${o.origin}' for comlink proxy`);
17643
17646
  return;
17644
17647
  }
@@ -17665,7 +17668,7 @@ function gi(e, r = globalThis, s = ["*"]) {
17665
17668
  case "ENDPOINT":
17666
17669
  {
17667
17670
  const { port1: _, port2: b } = new MessageChannel();
17668
- gi(e, b), u = Ru(_, [_]);
17671
+ gi(e, b), u = Fu(_, [_]);
17669
17672
  }
17670
17673
  break;
17671
17674
  case "RELEASE":
@@ -17689,11 +17692,11 @@ function gi(e, r = globalThis, s = ["*"]) {
17689
17692
  });
17690
17693
  }), r.start && r.start();
17691
17694
  }
17692
- function Tu(e) {
17695
+ function $u(e) {
17693
17696
  return e.constructor.name === "MessagePort";
17694
17697
  }
17695
17698
  function Ja(e) {
17696
- Tu(e) && e.close();
17699
+ $u(e) && e.close();
17697
17700
  }
17698
17701
  function wi(e, r) {
17699
17702
  return ei(e, [], r);
@@ -17713,11 +17716,11 @@ const rs = /* @__PURE__ */ new WeakMap(), ts = "FinalizationRegistry" in globalT
17713
17716
  const r = (rs.get(e) || 0) - 1;
17714
17717
  rs.set(e, r), r === 0 && eo(e);
17715
17718
  });
17716
- function $u(e, r) {
17719
+ function Au(e, r) {
17717
17720
  const s = (rs.get(r) || 0) + 1;
17718
17721
  rs.set(r, s), ts && ts.register(e, r, e);
17719
17722
  }
17720
- function Au(e) {
17723
+ function Su(e) {
17721
17724
  ts && ts.unregister(e);
17722
17725
  }
17723
17726
  function ei(e, r = [], s = function() {
@@ -17725,9 +17728,9 @@ function ei(e, r = [], s = function() {
17725
17728
  let n = !1;
17726
17729
  const o = new Proxy(s, {
17727
17730
  get(i, t) {
17728
- if (qt(n), t === ku)
17731
+ if (qt(n), t === Eu)
17729
17732
  return () => {
17730
- Au(o), eo(e), n = !0;
17733
+ Su(o), eo(e), n = !0;
17731
17734
  };
17732
17735
  if (t === "then") {
17733
17736
  if (r.length === 0)
@@ -17752,7 +17755,7 @@ function ei(e, r = [], s = function() {
17752
17755
  apply(i, t, p) {
17753
17756
  qt(n);
17754
17757
  const y = r[r.length - 1];
17755
- if (y === Pu)
17758
+ if (y === ku)
17756
17759
  return Xr(e, {
17757
17760
  type: "ENDPOINT"
17758
17761
  }).then(Rr);
@@ -17775,23 +17778,23 @@ function ei(e, r = [], s = function() {
17775
17778
  }, y).then(Rr);
17776
17779
  }
17777
17780
  });
17778
- return $u(o, e), o;
17781
+ return Au(o, e), o;
17779
17782
  }
17780
- function Su(e) {
17783
+ function Ru(e) {
17781
17784
  return Array.prototype.concat.apply([], e);
17782
17785
  }
17783
17786
  function Pn(e) {
17784
17787
  const r = e.map(ss);
17785
- return [r.map((s) => s[0]), Su(r.map((s) => s[1]))];
17788
+ return [r.map((s) => s[0]), Ru(r.map((s) => s[1]))];
17786
17789
  }
17787
17790
  const ro = /* @__PURE__ */ new WeakMap();
17788
- function Ru(e, r) {
17791
+ function Fu(e, r) {
17789
17792
  return ro.set(e, r), e;
17790
17793
  }
17791
17794
  function to(e) {
17792
17795
  return Object.assign(e, { [Xa]: !0 });
17793
17796
  }
17794
- function Fu(e, r = globalThis, s = "*") {
17797
+ function ju(e, r = globalThis, s = "*") {
17795
17798
  return {
17796
17799
  postMessage: (n, o) => e.postMessage(n, s, o),
17797
17800
  addEventListener: r.addEventListener.bind(r),
@@ -17829,36 +17832,36 @@ function Rr(e) {
17829
17832
  }
17830
17833
  function Xr(e, r, s) {
17831
17834
  return new Promise((n) => {
17832
- const o = ju();
17835
+ const o = Bu();
17833
17836
  e.addEventListener("message", function i(t) {
17834
17837
  !t.data || !t.data.id || t.data.id !== o || (e.removeEventListener("message", i), n(t.data));
17835
17838
  }), e.start && e.start(), e.postMessage(Object.assign({ id: o }, r), s);
17836
17839
  });
17837
17840
  }
17838
- function ju() {
17841
+ function Bu() {
17839
17842
  return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
17840
17843
  }
17841
- function Bu(e, r = void 0) {
17842
- Lu();
17843
- const s = e instanceof Worker ? e : Fu(e, r), n = wi(s), o = so(n);
17844
+ function Iu(e, r = void 0) {
17845
+ Nu();
17846
+ const s = e instanceof Worker ? e : ju(e, r), n = wi(s), o = so(n);
17844
17847
  return new Proxy(o, {
17845
17848
  get: (i, t) => t === "isConnected" ? async () => {
17846
17849
  for (; ; )
17847
17850
  try {
17848
- await Iu(n.isConnected(), 200);
17851
+ await Lu(n.isConnected(), 200);
17849
17852
  break;
17850
17853
  } catch {
17851
17854
  }
17852
17855
  } : n[t]
17853
17856
  });
17854
17857
  }
17855
- async function Iu(e, r) {
17858
+ async function Lu(e, r) {
17856
17859
  return new Promise((s, n) => {
17857
17860
  setTimeout(n, r), e.then(s);
17858
17861
  });
17859
17862
  }
17860
17863
  let kn = !1;
17861
- function Lu() {
17864
+ function Nu() {
17862
17865
  if (kn)
17863
17866
  return;
17864
17867
  kn = !0, Jr.set("EVENT", {
@@ -17912,7 +17915,7 @@ function so(e) {
17912
17915
  }
17913
17916
  });
17914
17917
  }
17915
- async function Wu({
17918
+ async function Hu({
17916
17919
  iframe: e,
17917
17920
  blueprint: r,
17918
17921
  remoteUrl: s,
@@ -17928,10 +17931,10 @@ async function Wu({
17928
17931
  corsProxy: w,
17929
17932
  shouldInstallWordPress: _
17930
17933
  }) {
17931
- Cu(s), Nu(e), s = Du(s, {
17934
+ Du(s), Cu(e), s = qu(s, {
17932
17935
  progressbar: !o
17933
17936
  }), n.setCaption("Preparing WordPress"), r || (r = {});
17934
- const b = hu(r, {
17937
+ const b = yu(r, {
17935
17938
  progress: n.stage(0.5),
17936
17939
  onStepCompleted: i,
17937
17940
  corsProxy: w
@@ -17939,7 +17942,7 @@ async function Wu({
17939
17942
  await new Promise((q) => {
17940
17943
  e.src = s, e.addEventListener("load", q, !1);
17941
17944
  });
17942
- const j = Bu(
17945
+ const j = Iu(
17943
17946
  e.contentWindow,
17944
17947
  e.ownerDocument.defaultView
17945
17948
  );
@@ -17953,21 +17956,21 @@ async function Wu({
17953
17956
  phpVersion: b.versions.php,
17954
17957
  wpVersion: b.versions.wp,
17955
17958
  withNetworking: b.features.networking
17956
- }), await j.isReady(), P.finish(), mo(Se, j), t(j), y && await y(), await vu(b, j), n.finish(), j;
17959
+ }), await j.isReady(), P.finish(), mo(Se, j), t(j), y && await y(), await Pu(b, j), n.finish(), j;
17957
17960
  }
17958
- function Nu(e) {
17961
+ function Cu(e) {
17959
17962
  var r, s;
17960
17963
  (r = e.sandbox) != null && r.length && !((s = e.sandbox) != null && s.contains("allow-storage-access-by-user-activation")) && e.sandbox.add("allow-storage-access-by-user-activation");
17961
17964
  }
17962
17965
  const Yt = "https://playground.wordpress.net";
17963
- function Cu(e) {
17966
+ function Du(e) {
17964
17967
  const r = new URL(e, Yt);
17965
17968
  if ((r.origin === Yt || r.hostname === "localhost") && r.pathname !== "/remote.html")
17966
17969
  throw new Error(
17967
17970
  `Invalid remote URL: ${r}. Expected origin to be ${Yt}/remote.html.`
17968
17971
  );
17969
17972
  }
17970
- function Du(e, r) {
17973
+ function qu(e, r) {
17971
17974
  const s = new URL(e, Yt), n = new URLSearchParams(s.search);
17972
17975
  for (const [o, i] of Object.entries(r))
17973
17976
  if (i != null && i !== !1)
@@ -17981,10 +17984,10 @@ function Du(e, r) {
17981
17984
  export {
17982
17985
  Do as LatestSupportedPHPVersion,
17983
17986
  ni as SupportedPHPVersions,
17984
- Uu as SupportedPHPVersionsList,
17987
+ zu as SupportedPHPVersionsList,
17985
17988
  An as activatePlugin,
17986
17989
  Sn as activateTheme,
17987
- hu as compileBlueprint,
17990
+ yu as compileBlueprint,
17988
17991
  Ro as cp,
17989
17992
  Cn as defineSiteUrl,
17990
17993
  ti as defineWpConfigConsts,
@@ -18004,16 +18007,16 @@ export {
18004
18007
  Go as resetData,
18005
18008
  Rn as rm,
18006
18009
  Bo as rmdir,
18007
- vu as runBlueprintSteps,
18010
+ Pu as runBlueprintSteps,
18008
18011
  _o as runPHP,
18009
18012
  vo as runPHPWithOptions,
18010
18013
  Po as runSql,
18011
18014
  Vo as runWpInstallationWizard,
18012
- qu as setPhpIniEntries,
18013
- Mu as setPluginProxyURL,
18015
+ Uu as setPhpIniEntries,
18016
+ Wu as setPluginProxyURL,
18014
18017
  Qo as setSiteLanguage,
18015
18018
  Fn as setSiteOptions,
18016
- Wu as startPlaygroundWeb,
18019
+ Hu as startPlaygroundWeb,
18017
18020
  ai as unzip,
18018
18021
  To as updateUserMeta,
18019
18022
  Bn as wpCLI,