@wp-playground/blueprints 3.1.4 → 3.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -329,7 +329,7 @@ class hr extends we {
329
329
  throw new fr(
330
330
  `Could not download "${t}".
331
331
 
332
- Confirm that the URL is correct, the server is reachable, and the file isactually served at that URL. Original error:
332
+ Confirm that the URL is correct, the server is reachable, and the file is actually served at that URL. Original error:
333
333
  ${s}`,
334
334
  t,
335
335
  { cause: s }
@@ -2811,24 +2811,24 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
2811
2811
  let m = r.resource;
2812
2812
  const N = e;
2813
2813
  if (typeof m != "string") {
2814
- const w = {
2814
+ const v = {
2815
2815
  instancePath: t + "/resource",
2816
2816
  schemaPath: "#/definitions/VFSReference/properties/resource/type",
2817
2817
  keyword: "type",
2818
2818
  params: { type: "string" },
2819
2819
  message: "must be string"
2820
2820
  };
2821
- s === null ? s = [w] : s.push(w), e++;
2821
+ s === null ? s = [v] : s.push(v), e++;
2822
2822
  }
2823
2823
  if (m !== "vfs") {
2824
- const w = {
2824
+ const v = {
2825
2825
  instancePath: t + "/resource",
2826
2826
  schemaPath: "#/definitions/VFSReference/properties/resource/const",
2827
2827
  keyword: "const",
2828
2828
  params: { allowedValue: "vfs" },
2829
2829
  message: "must be equal to constant"
2830
2830
  };
2831
- s === null ? s = [w] : s.push(w), e++;
2831
+ s === null ? s = [v] : s.push(v), e++;
2832
2832
  }
2833
2833
  var h = N === e;
2834
2834
  } else
@@ -2837,14 +2837,14 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
2837
2837
  if (r.path !== void 0) {
2838
2838
  const m = e;
2839
2839
  if (typeof r.path != "string") {
2840
- const w = {
2840
+ const v = {
2841
2841
  instancePath: t + "/path",
2842
2842
  schemaPath: "#/definitions/VFSReference/properties/path/type",
2843
2843
  keyword: "type",
2844
2844
  params: { type: "string" },
2845
2845
  message: "must be string"
2846
2846
  };
2847
- s === null ? s = [w] : s.push(w), e++;
2847
+ s === null ? s = [v] : s.push(v), e++;
2848
2848
  }
2849
2849
  var h = m === e;
2850
2850
  } else
@@ -2868,33 +2868,33 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
2868
2868
  if (r && typeof r == "object" && !Array.isArray(r)) {
2869
2869
  let N;
2870
2870
  if (r.resource === void 0 && (N = "resource") || r.name === void 0 && (N = "name") || r.contents === void 0 && (N = "contents")) {
2871
- const w = {
2871
+ const v = {
2872
2872
  instancePath: t,
2873
2873
  schemaPath: "#/definitions/LiteralReference/required",
2874
2874
  keyword: "required",
2875
2875
  params: { missingProperty: N },
2876
2876
  message: "must have required property '" + N + "'"
2877
2877
  };
2878
- s === null ? s = [w] : s.push(w), e++;
2878
+ s === null ? s = [v] : s.push(v), e++;
2879
2879
  } else {
2880
- const w = e;
2881
- for (const v in r)
2882
- if (!(v === "resource" || v === "name" || v === "contents")) {
2880
+ const v = e;
2881
+ for (const b in r)
2882
+ if (!(b === "resource" || b === "name" || b === "contents")) {
2883
2883
  const O = {
2884
2884
  instancePath: t,
2885
2885
  schemaPath: "#/definitions/LiteralReference/additionalProperties",
2886
2886
  keyword: "additionalProperties",
2887
- params: { additionalProperty: v },
2887
+ params: { additionalProperty: b },
2888
2888
  message: "must NOT have additional properties"
2889
2889
  };
2890
2890
  s === null ? s = [O] : s.push(O), e++;
2891
2891
  break;
2892
2892
  }
2893
- if (w === e) {
2893
+ if (v === e) {
2894
2894
  if (r.resource !== void 0) {
2895
- let v = r.resource;
2895
+ let b = r.resource;
2896
2896
  const O = e;
2897
- if (typeof v != "string") {
2897
+ if (typeof b != "string") {
2898
2898
  const T = {
2899
2899
  instancePath: t + "/resource",
2900
2900
  schemaPath: "#/definitions/LiteralReference/properties/resource/type",
@@ -2904,7 +2904,7 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
2904
2904
  };
2905
2905
  s === null ? s = [T] : s.push(T), e++;
2906
2906
  }
2907
- if (v !== "literal") {
2907
+ if (b !== "literal") {
2908
2908
  const T = {
2909
2909
  instancePath: t + "/resource",
2910
2910
  schemaPath: "#/definitions/LiteralReference/properties/resource/const",
@@ -2919,7 +2919,7 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
2919
2919
  var E = !0;
2920
2920
  if (E) {
2921
2921
  if (r.name !== void 0) {
2922
- const v = e;
2922
+ const b = e;
2923
2923
  if (typeof r.name != "string") {
2924
2924
  const T = {
2925
2925
  instancePath: t + "/name",
@@ -2930,16 +2930,16 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
2930
2930
  };
2931
2931
  s === null ? s = [T] : s.push(T), e++;
2932
2932
  }
2933
- var E = v === e;
2933
+ var E = b === e;
2934
2934
  } else
2935
2935
  var E = !0;
2936
2936
  if (E)
2937
2937
  if (r.contents !== void 0) {
2938
- let v = r.contents;
2938
+ let b = r.contents;
2939
2939
  const O = e, T = e;
2940
2940
  let P = !1;
2941
- const b = e;
2942
- if (typeof v != "string") {
2941
+ const w = e;
2942
+ if (typeof b != "string") {
2943
2943
  const L = {
2944
2944
  instancePath: t + "/contents",
2945
2945
  schemaPath: "#/definitions/LiteralReference/properties/contents/anyOf/0/type",
@@ -2949,13 +2949,13 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
2949
2949
  };
2950
2950
  s === null ? s = [L] : s.push(L), e++;
2951
2951
  }
2952
- var $ = b === e;
2952
+ var $ = w === e;
2953
2953
  if (P = P || $, !P) {
2954
2954
  const L = e;
2955
2955
  if (e === L)
2956
- if (v && typeof v == "object" && !Array.isArray(v)) {
2956
+ if (b && typeof b == "object" && !Array.isArray(b)) {
2957
2957
  let F;
2958
- if (v.BYTES_PER_ELEMENT === void 0 && (F = "BYTES_PER_ELEMENT") || v.buffer === void 0 && (F = "buffer") || v.byteLength === void 0 && (F = "byteLength") || v.byteOffset === void 0 && (F = "byteOffset") || v.length === void 0 && (F = "length")) {
2958
+ if (b.BYTES_PER_ELEMENT === void 0 && (F = "BYTES_PER_ELEMENT") || b.buffer === void 0 && (F = "buffer") || b.byteLength === void 0 && (F = "byteLength") || b.byteOffset === void 0 && (F = "byteOffset") || b.length === void 0 && (F = "length")) {
2959
2959
  const I = {
2960
2960
  instancePath: t + "/contents",
2961
2961
  schemaPath: "#/definitions/LiteralReference/properties/contents/anyOf/1/required",
@@ -2968,9 +2968,9 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
2968
2968
  s === null ? s = [I] : s.push(I), e++;
2969
2969
  } else {
2970
2970
  const I = e;
2971
- for (const C in v)
2971
+ for (const C in b)
2972
2972
  if (!(C === "BYTES_PER_ELEMENT" || C === "buffer" || C === "byteLength" || C === "byteOffset" || C === "length")) {
2973
- let D = v[C];
2973
+ let D = b[C];
2974
2974
  const ee = e;
2975
2975
  if (!(typeof D == "number" && isFinite(
2976
2976
  D
@@ -3001,8 +3001,8 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3001
3001
  break;
3002
3002
  }
3003
3003
  if (I === e) {
3004
- if (v.BYTES_PER_ELEMENT !== void 0) {
3005
- let C = v.BYTES_PER_ELEMENT;
3004
+ if (b.BYTES_PER_ELEMENT !== void 0) {
3005
+ let C = b.BYTES_PER_ELEMENT;
3006
3006
  const D = e;
3007
3007
  if (!(typeof C == "number" && isFinite(
3008
3008
  C
@@ -3026,8 +3026,8 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3026
3026
  } else
3027
3027
  var M = !0;
3028
3028
  if (M) {
3029
- if (v.buffer !== void 0) {
3030
- let C = v.buffer;
3029
+ if (b.buffer !== void 0) {
3030
+ let C = b.buffer;
3031
3031
  const D = e;
3032
3032
  if (e === D)
3033
3033
  if (C && typeof C == "object" && !Array.isArray(
@@ -3111,8 +3111,8 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3111
3111
  } else
3112
3112
  var M = !0;
3113
3113
  if (M) {
3114
- if (v.byteLength !== void 0) {
3115
- let C = v.byteLength;
3114
+ if (b.byteLength !== void 0) {
3115
+ let C = b.byteLength;
3116
3116
  const D = e;
3117
3117
  if (!(typeof C == "number" && isFinite(
3118
3118
  C
@@ -3136,8 +3136,8 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3136
3136
  } else
3137
3137
  var M = !0;
3138
3138
  if (M) {
3139
- if (v.byteOffset !== void 0) {
3140
- let C = v.byteOffset;
3139
+ if (b.byteOffset !== void 0) {
3140
+ let C = b.byteOffset;
3141
3141
  const D = e;
3142
3142
  if (!(typeof C == "number" && isFinite(
3143
3143
  C
@@ -3161,8 +3161,8 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3161
3161
  } else
3162
3162
  var M = !0;
3163
3163
  if (M)
3164
- if (v.length !== void 0) {
3165
- let C = v.length;
3164
+ if (b.length !== void 0) {
3165
+ let C = b.length;
3166
3166
  const D = e;
3167
3167
  if (!(typeof C == "number" && isFinite(
3168
3168
  C
@@ -3250,20 +3250,20 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3250
3250
  const T = e;
3251
3251
  for (const P in r)
3252
3252
  if (!(P === "resource" || P === "slug")) {
3253
- const b = {
3253
+ const w = {
3254
3254
  instancePath: t,
3255
3255
  schemaPath: "#/definitions/CoreThemeReference/additionalProperties",
3256
3256
  keyword: "additionalProperties",
3257
3257
  params: { additionalProperty: P },
3258
3258
  message: "must NOT have additional properties"
3259
3259
  };
3260
- s === null ? s = [b] : s.push(b), e++;
3260
+ s === null ? s = [w] : s.push(w), e++;
3261
3261
  break;
3262
3262
  }
3263
3263
  if (T === e) {
3264
3264
  if (r.resource !== void 0) {
3265
3265
  let P = r.resource;
3266
- const b = e;
3266
+ const w = e;
3267
3267
  if (typeof P != "string") {
3268
3268
  const R = {
3269
3269
  instancePath: t + "/resource",
@@ -3286,7 +3286,7 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3286
3286
  };
3287
3287
  s === null ? s = [R] : s.push(R), e++;
3288
3288
  }
3289
- var K = b === e;
3289
+ var K = w === e;
3290
3290
  } else
3291
3291
  var K = !0;
3292
3292
  if (K)
@@ -3322,14 +3322,14 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3322
3322
  const O = e;
3323
3323
  if (e === e)
3324
3324
  if (r && typeof r == "object" && !Array.isArray(r)) {
3325
- let b;
3326
- if (r.resource === void 0 && (b = "resource") || r.slug === void 0 && (b = "slug")) {
3325
+ let w;
3326
+ if (r.resource === void 0 && (w = "resource") || r.slug === void 0 && (w = "slug")) {
3327
3327
  const R = {
3328
3328
  instancePath: t,
3329
3329
  schemaPath: "#/definitions/CorePluginReference/required",
3330
3330
  keyword: "required",
3331
- params: { missingProperty: b },
3332
- message: "must have required property '" + b + "'"
3331
+ params: { missingProperty: w },
3332
+ message: "must have required property '" + w + "'"
3333
3333
  };
3334
3334
  s === null ? s = [R] : s.push(R), e++;
3335
3335
  } else {
@@ -3394,18 +3394,18 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3394
3394
  }
3395
3395
  }
3396
3396
  } else {
3397
- const b = {
3397
+ const w = {
3398
3398
  instancePath: t,
3399
3399
  schemaPath: "#/definitions/CorePluginReference/type",
3400
3400
  keyword: "type",
3401
3401
  params: { type: "object" },
3402
3402
  message: "must be object"
3403
3403
  };
3404
- s === null ? s = [b] : s.push(b), e++;
3404
+ s === null ? s = [w] : s.push(w), e++;
3405
3405
  }
3406
3406
  var k = O === e;
3407
3407
  if (u = u || k, !u) {
3408
- const b = e;
3408
+ const w = e;
3409
3409
  if (e === e)
3410
3410
  if (r && typeof r == "object" && !Array.isArray(r)) {
3411
3411
  let U;
@@ -3508,7 +3508,7 @@ function Z(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
3508
3508
  };
3509
3509
  s === null ? s = [U] : s.push(U), e++;
3510
3510
  }
3511
- var k = b === e;
3511
+ var k = w === e;
3512
3512
  if (u = u || k, !u) {
3513
3513
  const U = e;
3514
3514
  if (e === e)
@@ -4474,19 +4474,19 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4474
4474
  let re = !1;
4475
4475
  const m = e;
4476
4476
  if (typeof q != "string") {
4477
- const w = {
4477
+ const v = {
4478
4478
  instancePath: t + "/body",
4479
4479
  schemaPath: "#/properties/body/anyOf/0/type",
4480
4480
  keyword: "type",
4481
4481
  params: { type: "string" },
4482
4482
  message: "must be string"
4483
4483
  };
4484
- s === null ? s = [w] : s.push(w), e++;
4484
+ s === null ? s = [v] : s.push(v), e++;
4485
4485
  }
4486
4486
  var y = m === e;
4487
4487
  if (re = re || y, !re) {
4488
- const w = e;
4489
- if (e === w)
4488
+ const v = e;
4489
+ if (e === v)
4490
4490
  if (q && typeof q == "object" && !Array.isArray(q)) {
4491
4491
  let O;
4492
4492
  if (q.BYTES_PER_ELEMENT === void 0 && (O = "BYTES_PER_ELEMENT") || q.buffer === void 0 && (O = "buffer") || q.byteLength === void 0 && (O = "byteLength") || q.byteOffset === void 0 && (O = "byteOffset") || q.length === void 0 && (O = "length")) {
@@ -4504,10 +4504,10 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4504
4504
  const T = e;
4505
4505
  for (const P in q)
4506
4506
  if (!(P === "BYTES_PER_ELEMENT" || P === "buffer" || P === "byteLength" || P === "byteOffset" || P === "length")) {
4507
- let b = q[P];
4507
+ let w = q[P];
4508
4508
  const R = e;
4509
- if (!(typeof b == "number" && isFinite(
4510
- b
4509
+ if (!(typeof w == "number" && isFinite(
4510
+ w
4511
4511
  ))) {
4512
4512
  const L = {
4513
4513
  instancePath: t + "/body/" + P.replace(
@@ -4537,7 +4537,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4537
4537
  if (T === e) {
4538
4538
  if (q.BYTES_PER_ELEMENT !== void 0) {
4539
4539
  let P = q.BYTES_PER_ELEMENT;
4540
- const b = e;
4540
+ const w = e;
4541
4541
  if (!(typeof P == "number" && isFinite(
4542
4542
  P
4543
4543
  ))) {
@@ -4556,14 +4556,14 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4556
4556
  R
4557
4557
  ), e++;
4558
4558
  }
4559
- var h = b === e;
4559
+ var h = w === e;
4560
4560
  } else
4561
4561
  var h = !0;
4562
4562
  if (h) {
4563
4563
  if (q.buffer !== void 0) {
4564
4564
  let P = q.buffer;
4565
- const b = e;
4566
- if (e === b)
4565
+ const w = e;
4566
+ if (e === w)
4567
4567
  if (P && typeof P == "object" && !Array.isArray(
4568
4568
  P
4569
4569
  )) {
@@ -4641,13 +4641,13 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4641
4641
  L
4642
4642
  ), e++;
4643
4643
  }
4644
- var h = b === e;
4644
+ var h = w === e;
4645
4645
  } else
4646
4646
  var h = !0;
4647
4647
  if (h) {
4648
4648
  if (q.byteLength !== void 0) {
4649
4649
  let P = q.byteLength;
4650
- const b = e;
4650
+ const w = e;
4651
4651
  if (!(typeof P == "number" && isFinite(
4652
4652
  P
4653
4653
  ))) {
@@ -4666,13 +4666,13 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4666
4666
  L
4667
4667
  ), e++;
4668
4668
  }
4669
- var h = b === e;
4669
+ var h = w === e;
4670
4670
  } else
4671
4671
  var h = !0;
4672
4672
  if (h) {
4673
4673
  if (q.byteOffset !== void 0) {
4674
4674
  let P = q.byteOffset;
4675
- const b = e;
4675
+ const w = e;
4676
4676
  if (!(typeof P == "number" && isFinite(
4677
4677
  P
4678
4678
  ))) {
@@ -4691,13 +4691,13 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4691
4691
  L
4692
4692
  ), e++;
4693
4693
  }
4694
- var h = b === e;
4694
+ var h = w === e;
4695
4695
  } else
4696
4696
  var h = !0;
4697
4697
  if (h)
4698
4698
  if (q.length !== void 0) {
4699
4699
  let P = q.length;
4700
- const b = e;
4700
+ const w = e;
4701
4701
  if (!(typeof P == "number" && isFinite(
4702
4702
  P
4703
4703
  ))) {
@@ -4716,7 +4716,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4716
4716
  L
4717
4717
  ), e++;
4718
4718
  }
4719
- var h = b === e;
4719
+ var h = w === e;
4720
4720
  } else
4721
4721
  var h = !0;
4722
4722
  }
@@ -4734,17 +4734,17 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4734
4734
  };
4735
4735
  s === null ? s = [O] : s.push(O), e++;
4736
4736
  }
4737
- var y = w === e;
4737
+ var y = v === e;
4738
4738
  if (re = re || y, !re) {
4739
4739
  const O = e;
4740
4740
  if (e === O)
4741
4741
  if (q && typeof q == "object" && !Array.isArray(q))
4742
4742
  for (const P in q) {
4743
- let b = q[P];
4743
+ let w = q[P];
4744
4744
  const R = e, L = e;
4745
4745
  let U = !1;
4746
4746
  const F = e;
4747
- if (typeof b != "string") {
4747
+ if (typeof w != "string") {
4748
4748
  const I = {
4749
4749
  instancePath: t + "/body/" + P.replace(
4750
4750
  /~/g,
@@ -4770,11 +4770,11 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4770
4770
  if (U = U || k, !U) {
4771
4771
  const I = e;
4772
4772
  if (e === I)
4773
- if (b && typeof b == "object" && !Array.isArray(
4774
- b
4773
+ if (w && typeof w == "object" && !Array.isArray(
4774
+ w
4775
4775
  )) {
4776
4776
  let D;
4777
- if (b.BYTES_PER_ELEMENT === void 0 && (D = "BYTES_PER_ELEMENT") || b.buffer === void 0 && (D = "buffer") || b.byteLength === void 0 && (D = "byteLength") || b.byteOffset === void 0 && (D = "byteOffset") || b.length === void 0 && (D = "length")) {
4777
+ if (w.BYTES_PER_ELEMENT === void 0 && (D = "BYTES_PER_ELEMENT") || w.buffer === void 0 && (D = "buffer") || w.byteLength === void 0 && (D = "byteLength") || w.byteOffset === void 0 && (D = "byteOffset") || w.length === void 0 && (D = "length")) {
4778
4778
  const ee = {
4779
4779
  instancePath: t + "/body/" + P.replace(
4780
4780
  /~/g,
@@ -4797,9 +4797,9 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4797
4797
  ), e++;
4798
4798
  } else {
4799
4799
  const ee = e;
4800
- for (const S in b)
4800
+ for (const S in w)
4801
4801
  if (!(S === "BYTES_PER_ELEMENT" || S === "buffer" || S === "byteLength" || S === "byteOffset" || S === "length")) {
4802
- let H = b[S];
4802
+ let H = w[S];
4803
4803
  const B = e;
4804
4804
  if (!(typeof H == "number" && isFinite(
4805
4805
  H
@@ -4836,8 +4836,8 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4836
4836
  break;
4837
4837
  }
4838
4838
  if (ee === e) {
4839
- if (b.BYTES_PER_ELEMENT !== void 0) {
4840
- let S = b.BYTES_PER_ELEMENT;
4839
+ if (w.BYTES_PER_ELEMENT !== void 0) {
4840
+ let S = w.BYTES_PER_ELEMENT;
4841
4841
  const H = e;
4842
4842
  if (!(typeof S == "number" && isFinite(
4843
4843
  S
@@ -4867,8 +4867,8 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4867
4867
  } else
4868
4868
  var $ = !0;
4869
4869
  if ($) {
4870
- if (b.buffer !== void 0) {
4871
- let S = b.buffer;
4870
+ if (w.buffer !== void 0) {
4871
+ let S = w.buffer;
4872
4872
  const H = e;
4873
4873
  if (e === H)
4874
4874
  if (S && typeof S == "object" && !Array.isArray(
@@ -4976,8 +4976,8 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
4976
4976
  } else
4977
4977
  var $ = !0;
4978
4978
  if ($) {
4979
- if (b.byteLength !== void 0) {
4980
- let S = b.byteLength;
4979
+ if (w.byteLength !== void 0) {
4980
+ let S = w.byteLength;
4981
4981
  const H = e;
4982
4982
  if (!(typeof S == "number" && isFinite(
4983
4983
  S
@@ -5007,8 +5007,8 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5007
5007
  } else
5008
5008
  var $ = !0;
5009
5009
  if ($) {
5010
- if (b.byteOffset !== void 0) {
5011
- let S = b.byteOffset;
5010
+ if (w.byteOffset !== void 0) {
5011
+ let S = w.byteOffset;
5012
5012
  const H = e;
5013
5013
  if (!(typeof S == "number" && isFinite(
5014
5014
  S
@@ -5038,8 +5038,8 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5038
5038
  } else
5039
5039
  var $ = !0;
5040
5040
  if ($)
5041
- if (b.length !== void 0) {
5042
- let S = b.length;
5041
+ if (w.length !== void 0) {
5042
+ let S = w.length;
5043
5043
  const H = e;
5044
5044
  if (!(typeof S == "number" && isFinite(
5045
5045
  S
@@ -5099,11 +5099,11 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5099
5099
  if (U = U || k, !U) {
5100
5100
  const D = e;
5101
5101
  if (e === D)
5102
- if (b && typeof b == "object" && !Array.isArray(
5103
- b
5102
+ if (w && typeof w == "object" && !Array.isArray(
5103
+ w
5104
5104
  )) {
5105
5105
  let S;
5106
- if (b.lastModified === void 0 && (S = "lastModified") || b.name === void 0 && (S = "name") || b.size === void 0 && (S = "size") || b.type === void 0 && (S = "type") || b.webkitRelativePath === void 0 && (S = "webkitRelativePath")) {
5106
+ if (w.lastModified === void 0 && (S = "lastModified") || w.name === void 0 && (S = "name") || w.size === void 0 && (S = "size") || w.type === void 0 && (S = "type") || w.webkitRelativePath === void 0 && (S = "webkitRelativePath")) {
5107
5107
  const H = {
5108
5108
  instancePath: t + "/body/" + P.replace(
5109
5109
  /~/g,
@@ -5126,7 +5126,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5126
5126
  ), e++;
5127
5127
  } else {
5128
5128
  const H = e;
5129
- for (const B in b)
5129
+ for (const B in w)
5130
5130
  if (!(B === "size" || B === "type" || B === "lastModified" || B === "name" || B === "webkitRelativePath")) {
5131
5131
  const z = {
5132
5132
  instancePath: t + "/body/" + P.replace(
@@ -5151,8 +5151,8 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5151
5151
  break;
5152
5152
  }
5153
5153
  if (H === e) {
5154
- if (b.size !== void 0) {
5155
- let B = b.size;
5154
+ if (w.size !== void 0) {
5155
+ let B = w.size;
5156
5156
  const z = e;
5157
5157
  if (!(typeof B == "number" && isFinite(
5158
5158
  B
@@ -5182,9 +5182,9 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5182
5182
  } else
5183
5183
  var g = !0;
5184
5184
  if (g) {
5185
- if (b.type !== void 0) {
5185
+ if (w.type !== void 0) {
5186
5186
  const B = e;
5187
- if (typeof b.type != "string") {
5187
+ if (typeof w.type != "string") {
5188
5188
  const oe = {
5189
5189
  instancePath: t + "/body/" + P.replace(
5190
5190
  /~/g,
@@ -5210,8 +5210,8 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5210
5210
  } else
5211
5211
  var g = !0;
5212
5212
  if (g) {
5213
- if (b.lastModified !== void 0) {
5214
- let B = b.lastModified;
5213
+ if (w.lastModified !== void 0) {
5214
+ let B = w.lastModified;
5215
5215
  const z = e;
5216
5216
  if (!(typeof B == "number" && isFinite(
5217
5217
  B
@@ -5241,9 +5241,9 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5241
5241
  } else
5242
5242
  var g = !0;
5243
5243
  if (g) {
5244
- if (b.name !== void 0) {
5244
+ if (w.name !== void 0) {
5245
5245
  const B = e;
5246
- if (typeof b.name != "string") {
5246
+ if (typeof w.name != "string") {
5247
5247
  const oe = {
5248
5248
  instancePath: t + "/body/" + P.replace(
5249
5249
  /~/g,
@@ -5269,9 +5269,9 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5269
5269
  } else
5270
5270
  var g = !0;
5271
5271
  if (g)
5272
- if (b.webkitRelativePath !== void 0) {
5272
+ if (w.webkitRelativePath !== void 0) {
5273
5273
  const B = e;
5274
- if (typeof b.webkitRelativePath != "string") {
5274
+ if (typeof w.webkitRelativePath != "string") {
5275
5275
  const oe = {
5276
5276
  instancePath: t + "/body/" + P.replace(
5277
5277
  /~/g,
@@ -5372,14 +5372,14 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5372
5372
  if (re)
5373
5373
  e = W, s !== null && (W ? s.length = W : s = null);
5374
5374
  else {
5375
- const w = {
5375
+ const v = {
5376
5376
  instancePath: t + "/body",
5377
5377
  schemaPath: "#/properties/body/anyOf",
5378
5378
  keyword: "anyOf",
5379
5379
  params: {},
5380
5380
  message: "must match a schema in anyOf"
5381
5381
  };
5382
- return s === null ? s = [w] : s.push(w), e++, ge.errors = s, !1;
5382
+ return s === null ? s = [v] : s.push(v), e++, ge.errors = s, !1;
5383
5383
  }
5384
5384
  var p = X === e;
5385
5385
  } else
@@ -5635,15 +5635,15 @@ function pe(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5635
5635
  s === null ? s = [N] : s.push(N), e++;
5636
5636
  } else {
5637
5637
  const N = e;
5638
- for (const w in g)
5639
- if (!(w === "BYTES_PER_ELEMENT" || w === "buffer" || w === "byteLength" || w === "byteOffset" || w === "length")) {
5640
- let v = g[w];
5638
+ for (const v in g)
5639
+ if (!(v === "BYTES_PER_ELEMENT" || v === "buffer" || v === "byteLength" || v === "byteOffset" || v === "length")) {
5640
+ let b = g[v];
5641
5641
  const O = e;
5642
- if (!(typeof v == "number" && isFinite(
5643
- v
5642
+ if (!(typeof b == "number" && isFinite(
5643
+ b
5644
5644
  ))) {
5645
5645
  const T = {
5646
- instancePath: t + "/body/" + w.replace(
5646
+ instancePath: t + "/body/" + v.replace(
5647
5647
  /~/g,
5648
5648
  "~0"
5649
5649
  ).replace(
@@ -5669,10 +5669,10 @@ function pe(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5669
5669
  }
5670
5670
  if (N === e) {
5671
5671
  if (g.BYTES_PER_ELEMENT !== void 0) {
5672
- let w = g.BYTES_PER_ELEMENT;
5673
- const v = e;
5674
- if (!(typeof w == "number" && isFinite(
5675
- w
5672
+ let v = g.BYTES_PER_ELEMENT;
5673
+ const b = e;
5674
+ if (!(typeof v == "number" && isFinite(
5675
+ v
5676
5676
  ))) {
5677
5677
  const O = {
5678
5678
  instancePath: t + "/body/BYTES_PER_ELEMENT",
@@ -5689,19 +5689,19 @@ function pe(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5689
5689
  O
5690
5690
  ), e++;
5691
5691
  }
5692
- var h = v === e;
5692
+ var h = b === e;
5693
5693
  } else
5694
5694
  var h = !0;
5695
5695
  if (h) {
5696
5696
  if (g.buffer !== void 0) {
5697
- let w = g.buffer;
5698
- const v = e;
5699
- if (e === v)
5700
- if (w && typeof w == "object" && !Array.isArray(
5701
- w
5697
+ let v = g.buffer;
5698
+ const b = e;
5699
+ if (e === b)
5700
+ if (v && typeof v == "object" && !Array.isArray(
5701
+ v
5702
5702
  )) {
5703
5703
  let T;
5704
- if (w.byteLength === void 0 && (T = "byteLength")) {
5704
+ if (v.byteLength === void 0 && (T = "byteLength")) {
5705
5705
  const P = {
5706
5706
  instancePath: t + "/body/buffer",
5707
5707
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
@@ -5718,14 +5718,14 @@ function pe(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5718
5718
  ), e++;
5719
5719
  } else {
5720
5720
  const P = e;
5721
- for (const b in w)
5722
- if (b !== "byteLength") {
5721
+ for (const w in v)
5722
+ if (w !== "byteLength") {
5723
5723
  const R = {
5724
5724
  instancePath: t + "/body/buffer",
5725
5725
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/additionalProperties",
5726
5726
  keyword: "additionalProperties",
5727
5727
  params: {
5728
- additionalProperty: b
5728
+ additionalProperty: w
5729
5729
  },
5730
5730
  message: "must NOT have additional properties"
5731
5731
  };
@@ -5736,10 +5736,10 @@ function pe(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5736
5736
  ), e++;
5737
5737
  break;
5738
5738
  }
5739
- if (P === e && w.byteLength !== void 0) {
5740
- let b = w.byteLength;
5741
- if (!(typeof b == "number" && isFinite(
5742
- b
5739
+ if (P === e && v.byteLength !== void 0) {
5740
+ let w = v.byteLength;
5741
+ if (!(typeof w == "number" && isFinite(
5742
+ w
5743
5743
  ))) {
5744
5744
  const R = {
5745
5745
  instancePath: t + "/body/buffer/byteLength",
@@ -5774,15 +5774,15 @@ function pe(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5774
5774
  T
5775
5775
  ), e++;
5776
5776
  }
5777
- var h = v === e;
5777
+ var h = b === e;
5778
5778
  } else
5779
5779
  var h = !0;
5780
5780
  if (h) {
5781
5781
  if (g.byteLength !== void 0) {
5782
- let w = g.byteLength;
5783
- const v = e;
5784
- if (!(typeof w == "number" && isFinite(
5785
- w
5782
+ let v = g.byteLength;
5783
+ const b = e;
5784
+ if (!(typeof v == "number" && isFinite(
5785
+ v
5786
5786
  ))) {
5787
5787
  const T = {
5788
5788
  instancePath: t + "/body/byteLength",
@@ -5799,15 +5799,15 @@ function pe(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5799
5799
  T
5800
5800
  ), e++;
5801
5801
  }
5802
- var h = v === e;
5802
+ var h = b === e;
5803
5803
  } else
5804
5804
  var h = !0;
5805
5805
  if (h) {
5806
5806
  if (g.byteOffset !== void 0) {
5807
- let w = g.byteOffset;
5808
- const v = e;
5809
- if (!(typeof w == "number" && isFinite(
5810
- w
5807
+ let v = g.byteOffset;
5808
+ const b = e;
5809
+ if (!(typeof v == "number" && isFinite(
5810
+ v
5811
5811
  ))) {
5812
5812
  const T = {
5813
5813
  instancePath: t + "/body/byteOffset",
@@ -5824,15 +5824,15 @@ function pe(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5824
5824
  T
5825
5825
  ), e++;
5826
5826
  }
5827
- var h = v === e;
5827
+ var h = b === e;
5828
5828
  } else
5829
5829
  var h = !0;
5830
5830
  if (h)
5831
5831
  if (g.length !== void 0) {
5832
- let w = g.length;
5833
- const v = e;
5834
- if (!(typeof w == "number" && isFinite(
5835
- w
5832
+ let v = g.length;
5833
+ const b = e;
5834
+ if (!(typeof v == "number" && isFinite(
5835
+ v
5836
5836
  ))) {
5837
5837
  const T = {
5838
5838
  instancePath: t + "/body/length",
@@ -5849,7 +5849,7 @@ function pe(r, { instancePath: t = "", parentData: n, parentDataProperty: f, roo
5849
5849
  T
5850
5850
  ), e++;
5851
5851
  }
5852
- var h = v === e;
5852
+ var h = b === e;
5853
5853
  } else
5854
5854
  var h = !0;
5855
5855
  }
@@ -7752,10 +7752,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
7752
7752
  message: "must be number"
7753
7753
  }
7754
7754
  ], !1;
7755
- var w = A === e;
7755
+ var v = A === e;
7756
7756
  } else
7757
- var w = !0;
7758
- if (w)
7757
+ var v = !0;
7758
+ if (v)
7759
7759
  if (i.caption !== void 0) {
7760
7760
  const a = e;
7761
7761
  if (typeof i.caption != "string")
@@ -7770,9 +7770,9 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
7770
7770
  message: "must be string"
7771
7771
  }
7772
7772
  ], !1;
7773
- var w = a === e;
7773
+ var v = a === e;
7774
7774
  } else
7775
- var w = !0;
7775
+ var v = !0;
7776
7776
  }
7777
7777
  } else
7778
7778
  return o.errors = [
@@ -7786,10 +7786,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
7786
7786
  message: "must be object"
7787
7787
  }
7788
7788
  ], !1;
7789
- var v = l === e;
7789
+ var b = l === e;
7790
7790
  } else
7791
- var v = !0;
7792
- if (v) {
7791
+ var b = !0;
7792
+ if (b) {
7793
7793
  if (r.ifAlreadyInstalled !== void 0) {
7794
7794
  let i = r.ifAlreadyInstalled;
7795
7795
  const l = e;
@@ -7817,10 +7817,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
7817
7817
  message: "must be equal to one of the allowed values"
7818
7818
  }
7819
7819
  ], !1;
7820
- var v = l === e;
7820
+ var b = l === e;
7821
7821
  } else
7822
- var v = !0;
7823
- if (v) {
7822
+ var b = !0;
7823
+ if (b) {
7824
7824
  if (r.step !== void 0) {
7825
7825
  let i = r.step;
7826
7826
  const l = e;
@@ -7848,10 +7848,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
7848
7848
  message: "must be equal to constant"
7849
7849
  }
7850
7850
  ], !1;
7851
- var v = l === e;
7851
+ var b = l === e;
7852
7852
  } else
7853
- var v = !0;
7854
- if (v) {
7853
+ var b = !0;
7854
+ if (b) {
7855
7855
  if (r.pluginData !== void 0) {
7856
7856
  let i = r.pluginData;
7857
7857
  const l = e, j = e;
@@ -7901,10 +7901,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
7901
7901
  J
7902
7902
  ), e++, o.errors = s, !1;
7903
7903
  }
7904
- var v = l === e;
7904
+ var b = l === e;
7905
7905
  } else
7906
- var v = !0;
7907
- if (v) {
7906
+ var b = !0;
7907
+ if (b) {
7908
7908
  if (r.pluginZipFile !== void 0) {
7909
7909
  const i = e;
7910
7910
  Z(
@@ -7918,10 +7918,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
7918
7918
  ) || (s = s === null ? Z.errors : s.concat(
7919
7919
  Z.errors
7920
7920
  ), e = s.length);
7921
- var v = i === e;
7921
+ var b = i === e;
7922
7922
  } else
7923
- var v = !0;
7924
- if (v)
7923
+ var b = !0;
7924
+ if (b)
7925
7925
  if (r.options !== void 0) {
7926
7926
  let i = r.options;
7927
7927
  const l = e;
@@ -7992,9 +7992,9 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
7992
7992
  message: "must be object"
7993
7993
  }
7994
7994
  ], !1;
7995
- var v = l === e;
7995
+ var b = l === e;
7996
7996
  } else
7997
- var v = !0;
7997
+ var b = !0;
7998
7998
  }
7999
7999
  }
8000
8000
  }
@@ -8114,10 +8114,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
8114
8114
  message: "must be object"
8115
8115
  }
8116
8116
  ], !1;
8117
- var b = l === e;
8117
+ var w = l === e;
8118
8118
  } else
8119
- var b = !0;
8120
- if (b) {
8119
+ var w = !0;
8120
+ if (w) {
8121
8121
  if (r.ifAlreadyInstalled !== void 0) {
8122
8122
  let i = r.ifAlreadyInstalled;
8123
8123
  const l = e;
@@ -8145,10 +8145,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
8145
8145
  message: "must be equal to one of the allowed values"
8146
8146
  }
8147
8147
  ], !1;
8148
- var b = l === e;
8148
+ var w = l === e;
8149
8149
  } else
8150
- var b = !0;
8151
- if (b) {
8150
+ var w = !0;
8151
+ if (w) {
8152
8152
  if (r.step !== void 0) {
8153
8153
  let i = r.step;
8154
8154
  const l = e;
@@ -8176,10 +8176,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
8176
8176
  message: "must be equal to constant"
8177
8177
  }
8178
8178
  ], !1;
8179
- var b = l === e;
8179
+ var w = l === e;
8180
8180
  } else
8181
- var b = !0;
8182
- if (b) {
8181
+ var w = !0;
8182
+ if (w) {
8183
8183
  if (r.themeData !== void 0) {
8184
8184
  let i = r.themeData;
8185
8185
  const l = e, j = e;
@@ -8229,10 +8229,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
8229
8229
  J
8230
8230
  ), e++, o.errors = s, !1;
8231
8231
  }
8232
- var b = l === e;
8232
+ var w = l === e;
8233
8233
  } else
8234
- var b = !0;
8235
- if (b) {
8234
+ var w = !0;
8235
+ if (w) {
8236
8236
  if (r.themeZipFile !== void 0) {
8237
8237
  const i = e;
8238
8238
  Z(
@@ -8246,10 +8246,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
8246
8246
  ) || (s = s === null ? Z.errors : s.concat(
8247
8247
  Z.errors
8248
8248
  ), e = s.length);
8249
- var b = i === e;
8249
+ var w = i === e;
8250
8250
  } else
8251
- var b = !0;
8252
- if (b)
8251
+ var w = !0;
8252
+ if (w)
8253
8253
  if (r.options !== void 0) {
8254
8254
  let i = r.options;
8255
8255
  const l = e;
@@ -8339,9 +8339,9 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
8339
8339
  message: "must be object"
8340
8340
  }
8341
8341
  ], !1;
8342
- var b = l === e;
8342
+ var w = l === e;
8343
8343
  } else
8344
- var b = !0;
8344
+ var w = !0;
8345
8345
  }
8346
8346
  }
8347
8347
  }
@@ -12159,17 +12159,17 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12159
12159
  const N = e;
12160
12160
  if (e === N)
12161
12161
  if (m && typeof m == "object" && !Array.isArray(m)) {
12162
- let v;
12163
- if (m.title === void 0 && (v = "title") || m.author === void 0 && (v = "author"))
12162
+ let b;
12163
+ if (m.title === void 0 && (b = "title") || m.author === void 0 && (b = "author"))
12164
12164
  return V.errors = [
12165
12165
  {
12166
12166
  instancePath: t + "/meta",
12167
12167
  schemaPath: "#/properties/meta/required",
12168
12168
  keyword: "required",
12169
12169
  params: {
12170
- missingProperty: v
12170
+ missingProperty: b
12171
12171
  },
12172
- message: "must have required property '" + v + "'"
12172
+ message: "must have required property '" + b + "'"
12173
12173
  }
12174
12174
  ], !1;
12175
12175
  {
@@ -12307,17 +12307,17 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12307
12307
  const N = e;
12308
12308
  if (e === N)
12309
12309
  if (m && typeof m == "object" && !Array.isArray(m)) {
12310
- let v;
12311
- if (m.php === void 0 && (v = "php") || m.wp === void 0 && (v = "wp"))
12310
+ let b;
12311
+ if (m.php === void 0 && (b = "php") || m.wp === void 0 && (b = "wp"))
12312
12312
  return V.errors = [
12313
12313
  {
12314
12314
  instancePath: t + "/preferredVersions",
12315
12315
  schemaPath: "#/properties/preferredVersions/required",
12316
12316
  keyword: "required",
12317
12317
  params: {
12318
- missingProperty: v
12318
+ missingProperty: b
12319
12319
  },
12320
- message: "must have required property '" + v + "'"
12320
+ message: "must have required property '" + b + "'"
12321
12321
  }
12322
12322
  ], !1;
12323
12323
  {
@@ -12338,7 +12338,7 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12338
12338
  if (O === e) {
12339
12339
  if (m.php !== void 0) {
12340
12340
  let T = m.php;
12341
- const P = e, b = e;
12341
+ const P = e, w = e;
12342
12342
  let R = !1;
12343
12343
  const L = e;
12344
12344
  Ie(T, {
@@ -12388,7 +12388,7 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12388
12388
  R = R || _;
12389
12389
  }
12390
12390
  if (R)
12391
- e = b, s !== null && (b ? s.length = b : s = null);
12391
+ e = w, s !== null && (w ? s.length = w : s = null);
12392
12392
  else {
12393
12393
  const U = {
12394
12394
  instancePath: t + "/preferredVersions/php",
@@ -12441,7 +12441,7 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12441
12441
  const N = e;
12442
12442
  if (e === N)
12443
12443
  if (m && typeof m == "object" && !Array.isArray(m)) {
12444
- const v = e;
12444
+ const b = e;
12445
12445
  for (const O in m)
12446
12446
  if (!(O === "intl" || O === "networking"))
12447
12447
  return V.errors = [
@@ -12455,7 +12455,7 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12455
12455
  message: "must NOT have additional properties"
12456
12456
  }
12457
12457
  ], !1;
12458
- if (v === e) {
12458
+ if (b === e) {
12459
12459
  if (m.intl !== void 0) {
12460
12460
  const O = e;
12461
12461
  if (typeof m.intl != "boolean")
@@ -12512,8 +12512,8 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12512
12512
  if (e === N)
12513
12513
  if (Array.isArray(m)) {
12514
12514
  var E = !0;
12515
- const v = m.length;
12516
- for (let O = 0; O < v; O++) {
12515
+ const b = m.length;
12516
+ for (let O = 0; O < b; O++) {
12517
12517
  let T = m[O];
12518
12518
  const P = e;
12519
12519
  if (typeof T != "string")
@@ -12612,10 +12612,10 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12612
12612
  if (e === N)
12613
12613
  if (Array.isArray(m)) {
12614
12614
  var g = !0;
12615
- const v = m.length;
12616
- for (let O = 0; O < v; O++) {
12615
+ const b = m.length;
12616
+ for (let O = 0; O < b; O++) {
12617
12617
  let T = m[O];
12618
- const P = e, b = e;
12618
+ const P = e, w = e;
12619
12619
  let R = !1;
12620
12620
  const L = e;
12621
12621
  if (typeof T != "string") {
@@ -12652,7 +12652,7 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12652
12652
  R = R || M;
12653
12653
  }
12654
12654
  if (R)
12655
- e = b, s !== null && (b ? s.length = b : s = null);
12655
+ e = w, s !== null && (w ? s.length = w : s = null);
12656
12656
  else {
12657
12657
  const F = {
12658
12658
  instancePath: t + "/plugins/" + O,
@@ -12694,7 +12694,7 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12694
12694
  if (m && typeof m == "object" && !Array.isArray(
12695
12695
  m
12696
12696
  )) {
12697
- const v = e;
12697
+ const b = e;
12698
12698
  for (const O in m)
12699
12699
  if (O !== "blogname") {
12700
12700
  const T = e;
@@ -12720,7 +12720,7 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12720
12720
  if (!K)
12721
12721
  break;
12722
12722
  }
12723
- if (v === e && m.blogname !== void 0 && typeof m.blogname != "string")
12723
+ if (b === e && m.blogname !== void 0 && typeof m.blogname != "string")
12724
12724
  return V.errors = [
12725
12725
  {
12726
12726
  instancePath: t + "/siteOptions/blogname",
@@ -12750,8 +12750,8 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12750
12750
  if (p) {
12751
12751
  if (r.login !== void 0) {
12752
12752
  let m = r.login;
12753
- const N = e, w = e;
12754
- let v = !1;
12753
+ const N = e, v = e;
12754
+ let b = !1;
12755
12755
  const O = e;
12756
12756
  if (typeof m != "boolean") {
12757
12757
  const P = {
@@ -12770,7 +12770,7 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12770
12770
  ), e++;
12771
12771
  }
12772
12772
  var Q = O === e;
12773
- if (v = v || Q, !v) {
12773
+ if (b = b || Q, !b) {
12774
12774
  const P = e;
12775
12775
  if (e === P)
12776
12776
  if (m && typeof m == "object" && !Array.isArray(
@@ -12875,10 +12875,10 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12875
12875
  ), e++;
12876
12876
  }
12877
12877
  var Q = P === e;
12878
- v = v || Q;
12878
+ b = b || Q;
12879
12879
  }
12880
- if (v)
12881
- e = w, s !== null && (w ? s.length = w : s = null);
12880
+ if (b)
12881
+ e = v, s !== null && (v ? s.length = v : s = null);
12882
12882
  else {
12883
12883
  const P = {
12884
12884
  instancePath: t + "/login",
@@ -12905,10 +12905,10 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
12905
12905
  m
12906
12906
  )) {
12907
12907
  var X = !0;
12908
- const v = m.length;
12909
- for (let O = 0; O < v; O++) {
12908
+ const b = m.length;
12909
+ for (let O = 0; O < b; O++) {
12910
12910
  let T = m[O];
12911
- const P = e, b = e;
12911
+ const P = e, w = e;
12912
12912
  let R = !1;
12913
12913
  const L = e;
12914
12914
  o(
@@ -13016,7 +13016,7 @@ function V(r, { instancePath: t = "", parentData: n, parentDataProperty: f, root
13016
13016
  }
13017
13017
  }
13018
13018
  if (R)
13019
- e = b, s !== null && (b ? s.length = b : s = null);
13019
+ e = w, s !== null && (w ? s.length = w : s = null);
13020
13020
  else {
13021
13021
  const F = {
13022
13022
  instancePath: t + "/steps/" + O,
@@ -13152,12 +13152,12 @@ function Ts(r, {
13152
13152
  ...r,
13153
13153
  steps: (r.steps || []).filter(qs).filter(As)
13154
13154
  }, r.steps = [...r.steps || [], ...u || []];
13155
- for (const w of r.steps)
13156
- !w || typeof w != "object" || (w.step === "importFile" ? (w.step = "importWxr", ae.warn(
13155
+ for (const v of r.steps)
13156
+ !v || typeof v != "object" || (v.step === "importFile" ? (v.step = "importWxr", ae.warn(
13157
13157
  'The "importFile" step is deprecated. Use "importWxr" instead.'
13158
- )) : (w == null ? void 0 : w.step) === "installPlugin" && "pluginZipFile" in w ? (w.pluginData = w.pluginZipFile, ae.warn(
13158
+ )) : (v == null ? void 0 : v.step) === "installPlugin" && "pluginZipFile" in v ? (v.pluginData = v.pluginZipFile, ae.warn(
13159
13159
  'The "pluginZipFile" option of the "installPlugin" step is deprecated. Use "pluginData" instead.'
13160
- )) : (w == null ? void 0 : w.step) === "installTheme" && "themeZipFile" in w && (w.themeData = w.themeZipFile, ae.warn(
13160
+ )) : (v == null ? void 0 : v.step) === "installTheme" && "themeZipFile" in v && (v.themeData = v.themeZipFile, ae.warn(
13161
13161
  'The "themeZipFile" option of the "installTheme" step is deprecated. Use "themeData" instead.'
13162
13162
  )));
13163
13163
  if (r.constants && r.steps.unshift({
@@ -13167,39 +13167,46 @@ function Ts(r, {
13167
13167
  step: "setSiteOptions",
13168
13168
  options: r.siteOptions
13169
13169
  }), r.plugins) {
13170
- const w = r.plugins.map((v) => typeof v == "string" ? v.startsWith("https://") ? {
13170
+ const v = r.plugins.map((b) => typeof b == "string" ? Ls(b) ? {
13171
+ resource: "zip",
13172
+ inner: {
13173
+ resource: "git:directory",
13174
+ url: b.replace(/\.git\/?$/, "").replace(/\/$/, ""),
13175
+ ref: "HEAD"
13176
+ }
13177
+ } : b.startsWith("https://") ? {
13171
13178
  resource: "url",
13172
- url: v
13179
+ url: b
13173
13180
  } : {
13174
13181
  resource: "wordpress.org/plugins",
13175
- slug: v
13176
- } : v).map((v) => ({
13182
+ slug: b
13183
+ } : b).map((b) => ({
13177
13184
  step: "installPlugin",
13178
- pluginData: v
13185
+ pluginData: b
13179
13186
  }));
13180
- r.steps.unshift(...w);
13187
+ r.steps.unshift(...v);
13181
13188
  }
13182
13189
  r.login && r.steps.unshift({
13183
13190
  step: "login",
13184
13191
  ...r.login === !0 ? { username: "admin" } : r.login
13185
13192
  });
13186
13193
  const y = ((g = r.steps) == null ? void 0 : g.findIndex(
13187
- (w) => typeof w == "object" && (w == null ? void 0 : w.step) && ["wp-cli", "enableMultisite"].includes(w.step)
13194
+ (v) => typeof v == "object" && (v == null ? void 0 : v.step) && ["wp-cli", "enableMultisite"].includes(v.step)
13188
13195
  )) ?? -1;
13189
13196
  if ((M = r == null ? void 0 : r.extraLibraries) != null && M.includes("wp-cli") || y !== -1) {
13190
- const w = {
13197
+ const v = {
13191
13198
  step: "writeFile",
13192
13199
  data: Mt,
13193
13200
  path: br
13194
13201
  };
13195
- y === -1 ? (K = r.steps) == null || K.push(w) : (Q = r.steps) == null || Q.splice(
13202
+ y === -1 ? (K = r.steps) == null || K.push(v) : (Q = r.steps) == null || Q.splice(
13196
13203
  y,
13197
13204
  0,
13198
- w
13205
+ v
13199
13206
  );
13200
13207
  }
13201
13208
  const _ = (q = r.steps) == null ? void 0 : q.findIndex(
13202
- (w) => typeof w == "object" && (w == null ? void 0 : w.step) === "importWxr"
13209
+ (v) => typeof v == "object" && (v == null ? void 0 : v.step) === "importWxr"
13203
13210
  );
13204
13211
  _ !== void 0 && _ > -1 && ((X = r.steps) == null || X.splice(_, 0, {
13205
13212
  step: "installPlugin",
@@ -13210,27 +13217,27 @@ function Ts(r, {
13210
13217
  }));
13211
13218
  const h = $s(r);
13212
13219
  if (!h.valid) {
13213
- const { errors: w } = h, v = Es(r, w);
13220
+ const { errors: v } = h, b = Es(r, v);
13214
13221
  throw new Ps(
13215
13222
  `Invalid Blueprint: The Blueprint does not conform to the schema.
13216
13223
 
13217
- Found ${w.length} validation error(s):
13224
+ Found ${v.length} validation error(s):
13218
13225
 
13219
- ${v}
13226
+ ${b}
13220
13227
 
13221
13228
  Please review your Blueprint and fix these issues. Learn more about the Blueprint format: https://wordpress.github.io/wordpress-playground/blueprints/data-format`,
13222
- w
13229
+ v
13223
13230
  );
13224
13231
  }
13225
13232
  d(r);
13226
13233
  const k = r.steps || [], E = k.reduce(
13227
- (w, v) => {
13234
+ (v, b) => {
13228
13235
  var O;
13229
- return w + (((O = v.progress) == null ? void 0 : O.weight) || 1);
13236
+ return v + (((O = b.progress) == null ? void 0 : O.weight) || 1);
13230
13237
  },
13231
13238
  0
13232
13239
  ), $ = k.map(
13233
- (w) => Rs(w, {
13240
+ (v) => Rs(v, {
13234
13241
  semaphore: n,
13235
13242
  rootProgressTracker: t,
13236
13243
  totalProgressWeight: E,
@@ -13255,29 +13262,29 @@ Please review your Blueprint and fix these issues. Learn more about the Blueprin
13255
13262
  networking: ((N = r.features) == null ? void 0 : N.networking) ?? !0
13256
13263
  },
13257
13264
  extraLibraries: r.extraLibraries || [],
13258
- run: async (w) => {
13265
+ run: async (v) => {
13259
13266
  try {
13260
- for (const { resources: v } of $)
13261
- for (const O of v)
13262
- O.setPlayground(w), O.isAsync && O.resolve().catch(() => {
13267
+ for (const { resources: b } of $)
13268
+ for (const O of b)
13269
+ O.setPlayground(v), O.isAsync && O.resolve().catch(() => {
13263
13270
  });
13264
- for (const [v, { run: O, step: T }] of Object.entries($))
13271
+ for (const [b, { run: O, step: T }] of Object.entries($))
13265
13272
  try {
13266
- const P = await O(w);
13273
+ const P = await O(v);
13267
13274
  f(P, T);
13268
13275
  } catch (P) {
13269
- const b = Number(v) + 1;
13276
+ const w = Number(b) + 1;
13270
13277
  throw new _s({
13271
- stepNumber: b,
13278
+ stepNumber: w,
13272
13279
  step: T,
13273
13280
  cause: P
13274
13281
  });
13275
13282
  }
13276
13283
  } finally {
13277
13284
  try {
13278
- const v = await w.pathToInternalUrl(r.landingPage || "/");
13279
- await w.goTo(
13280
- "/index.php?playground-redirection-handler&next=" + encodeURIComponent(v)
13285
+ const b = await v.pathToInternalUrl(r.landingPage || "/");
13286
+ await v.goTo(
13287
+ "/index.php?playground-redirection-handler&next=" + encodeURIComponent(b)
13281
13288
  );
13282
13289
  } catch {
13283
13290
  }
@@ -13417,10 +13424,13 @@ async function Ss(r) {
13417
13424
  }
13418
13425
  return t;
13419
13426
  }
13420
- async function Qs(r, t) {
13427
+ async function Ys(r, t) {
13421
13428
  await r.run(t);
13422
13429
  }
13423
- async function Ls() {
13430
+ function Ls(r) {
13431
+ return !!(/^https:\/\/.+\.git\/?$/.test(r) || /^https:\/\/github\.com\/[^/]+\/[^/]+\/?$/.test(r) || /^https:\/\/gitlab\.com\/[^/]+\/[^/]+(\/[^/]+)*\/?$/.test(r));
13432
+ }
13433
+ async function Fs() {
13424
13434
  const r = (
13425
13435
  // @ts-ignore
13426
13436
  (await import("./blueprints-pMn3V9MZ.js")).default
@@ -13429,7 +13439,7 @@ async function Ls() {
13429
13439
  type: "application/zip"
13430
13440
  });
13431
13441
  }
13432
- function Fs(r) {
13442
+ function Ns(r) {
13433
13443
  if (typeof r == "object" && "type" in r && ["inline-file", "file-reference"].includes(r.type))
13434
13444
  return r;
13435
13445
  if (!r)
@@ -13454,7 +13464,7 @@ function Fs(r) {
13454
13464
  };
13455
13465
  }
13456
13466
  }
13457
- async function Ys(r) {
13467
+ async function Zs(r) {
13458
13468
  var _, h;
13459
13469
  const t = r.cliArgs || [];
13460
13470
  for (const k of t)
@@ -13464,12 +13474,12 @@ async function Ys(r) {
13464
13474
  );
13465
13475
  t.push("--site-path=/wordpress"), t.find((k) => k.startsWith("--db-engine=")) || t.push("--db-engine=sqlite");
13466
13476
  const f = r.php, d = (r == null ? void 0 : r.onMessage) || (() => {
13467
- }), s = await Ls();
13477
+ }), s = await Fs();
13468
13478
  f.writeFile(
13469
13479
  "/tmp/blueprints.phar",
13470
13480
  new Uint8Array(await s.arrayBuffer())
13471
13481
  );
13472
- const e = Fs(
13482
+ const e = Ns(
13473
13483
  r.blueprint
13474
13484
  );
13475
13485
  let p = "";
@@ -13592,12 +13602,12 @@ require( "/tmp/blueprints.phar" );
13592
13602
  ]);
13593
13603
  return y.finished.finally(u), y;
13594
13604
  }
13595
- class Ns extends Error {
13605
+ class xs extends Error {
13596
13606
  constructor(t, n, f) {
13597
13607
  super(t, f), this.name = "BlueprintFetchError", this.url = n;
13598
13608
  }
13599
13609
  }
13600
- async function Zs(r) {
13610
+ async function Gs(r) {
13601
13611
  let t;
13602
13612
  try {
13603
13613
  const n = await fetch(r, {
@@ -13607,7 +13617,7 @@ async function Zs(r) {
13607
13617
  throw new Error(`Failed to fetch blueprint from ${r}`);
13608
13618
  t = await n.arrayBuffer();
13609
13619
  } catch (n) {
13610
- throw new Ns(
13620
+ throw new xs(
13611
13621
  `Blueprint file could not be resolved from ${r}: ${n instanceof Error ? n.message : String(n)}`,
13612
13622
  r,
13613
13623
  { cause: n }
@@ -13624,7 +13634,7 @@ async function Zs(r) {
13624
13634
  })
13625
13635
  ]);
13626
13636
  } catch (n) {
13627
- if (await xs(t))
13637
+ if (await Cs(t))
13628
13638
  return ot.fromArrayBuffer(t);
13629
13639
  throw new Error(
13630
13640
  `Blueprint file at ${r} is neither a valid JSON nor a ZIP file.`,
@@ -13632,13 +13642,13 @@ async function Zs(r) {
13632
13642
  );
13633
13643
  }
13634
13644
  }
13635
- async function xs(r) {
13645
+ async function Cs(r) {
13636
13646
  if (r.byteLength < 4)
13637
13647
  return !1;
13638
13648
  const t = new Uint8Array(r, 0, 4);
13639
13649
  return t[0] === 80 && t[1] === 75 && t[2] === 3 && t[3] === 4;
13640
13650
  }
13641
- async function Gs(r) {
13651
+ async function Js(r) {
13642
13652
  if ((await or.create(r)).getVersion() === 1) {
13643
13653
  const n = await ks(
13644
13654
  r
@@ -13670,10 +13680,10 @@ async function Gs(r) {
13670
13680
  extraLibraries: []
13671
13681
  };
13672
13682
  }
13673
- function Js() {
13683
+ function Ks() {
13674
13684
  }
13675
13685
  export {
13676
- Ns as BlueprintFetchError,
13686
+ xs as BlueprintFetchError,
13677
13687
  yt as BlueprintFilesystemRequiredError,
13678
13688
  or as BlueprintReflection,
13679
13689
  _s as BlueprintStepExecutionError,
@@ -13689,7 +13699,7 @@ export {
13689
13699
  zt as enableMultisite,
13690
13700
  rs as exportWXR,
13691
13701
  Os as getBlueprintDeclaration,
13692
- Ls as getV2Runner,
13702
+ Fs as getV2Runner,
13693
13703
  Dr as importThemeStarterContent,
13694
13704
  Kt as importWordPressFiles,
13695
13705
  Gt as importWxr,
@@ -13702,18 +13712,18 @@ export {
13702
13712
  Ht as mv,
13703
13713
  Ut as request,
13704
13714
  os as resetData,
13705
- Zs as resolveRemoteBlueprint,
13706
- Gs as resolveRuntimeConfiguration,
13715
+ Gs as resolveRemoteBlueprint,
13716
+ Js as resolveRuntimeConfiguration,
13707
13717
  cr as rm,
13708
13718
  Yt as rmdir,
13709
- Qs as runBlueprintSteps,
13710
- Qs as runBlueprintV1Steps,
13711
- Ys as runBlueprintV2,
13719
+ Ys as runBlueprintSteps,
13720
+ Ys as runBlueprintV1Steps,
13721
+ Zs as runBlueprintV2,
13712
13722
  Nt as runPHP,
13713
13723
  xt as runPHPWithOptions,
13714
13724
  Dt as runSql,
13715
13725
  as as runWpInstallationWizard,
13716
- Js as setPluginProxyURL,
13726
+ Ks as setPluginProxyURL,
13717
13727
  us as setSiteLanguage,
13718
13728
  Fr as setSiteOptions,
13719
13729
  vr as unzip,