@wp-playground/blueprints 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.
package/index.js CHANGED
@@ -623,7 +623,7 @@ const Jr = async (r, { wpCliPath: t }) => {
623
623
  home: h
624
624
  }
625
625
  }), await _r(r, {
626
- command: `wp core multisite-convert --base="${c}"`
626
+ command: "wp core multisite-convert"
627
627
  });
628
628
  }, Kr = async (r, { fromPath: t, toPath: p }) => {
629
629
  await r.writeFile(
@@ -747,14 +747,14 @@ const Jr = async (r, { wpCliPath: t }) => {
747
747
  extractToPath: h
748
748
  }), h = ie(h, p);
749
749
  const i = ie(h, "wp-content"), e = ie(c, "wp-content");
750
- for (const j of hr) {
750
+ for (const q of hr) {
751
751
  const P = ie(
752
752
  i,
753
- j
753
+ q
754
754
  );
755
755
  await dr(r, P);
756
- const E = ie(e, j);
757
- await r.fileExists(E) && (await r.mkdir(mr(P)), await r.mv(E, P));
756
+ const $ = ie(e, q);
757
+ await r.fileExists($) && (await r.mkdir(mr(P)), await r.mv($, P));
758
758
  }
759
759
  const d = ie(
760
760
  h,
@@ -766,10 +766,10 @@ const Jr = async (r, { wpCliPath: t }) => {
766
766
  d
767
767
  );
768
768
  const g = await r.listFiles(h);
769
- for (const j of g)
770
- await dr(r, ie(c, j)), await r.mv(
771
- ie(h, j),
772
- ie(c, j)
769
+ for (const q of g)
770
+ await dr(r, ie(c, q)), await r.mv(
771
+ ie(h, q),
772
+ ie(c, q)
773
773
  );
774
774
  await r.rmdir(h), await Or(r, {
775
775
  siteUrl: await r.absoluteUrl
@@ -808,18 +808,18 @@ async function Er(r, {
808
808
  zipFile: p,
809
809
  extractToPath: x
810
810
  });
811
- let j = await r.listFiles(x, {
811
+ let q = await r.listFiles(x, {
812
812
  prependPath: !0
813
813
  });
814
- j = j.filter((y) => !y.endsWith("/__MACOSX"));
815
- const P = j.length === 1 && await r.isDir(j[0]);
816
- let E, L = "";
817
- P ? (L = j[0], E = j[0].split("/").pop()) : (L = x, E = e), h && h.length && (E = h);
818
- const N = `${t}/${E}`;
814
+ q = q.filter((m) => !m.endsWith("/__MACOSX"));
815
+ const P = q.length === 1 && await r.isDir(q[0]);
816
+ let $, L = "";
817
+ P ? (L = q[0], $ = q[0].split("/").pop()) : (L = x, $ = e), h && h.length && ($ = h);
818
+ const N = `${t}/${$}`;
819
819
  if (await r.fileExists(N)) {
820
820
  if (!await r.isDir(N))
821
821
  throw new Error(
822
- `Cannot install asset ${E} to ${N} because a file with the same name already exists. Note it's a file, not a directory! Is this by mistake?`
822
+ `Cannot install asset ${$} to ${N} because a file with the same name already exists. Note it's a file, not a directory! Is this by mistake?`
823
823
  );
824
824
  if (c === "overwrite")
825
825
  await r.rmdir(N, {
@@ -829,16 +829,16 @@ async function Er(r, {
829
829
  if (c === "skip")
830
830
  return {
831
831
  assetFolderPath: N,
832
- assetFolderName: E
832
+ assetFolderName: $
833
833
  };
834
834
  throw new Error(
835
- `Cannot install asset ${E} to ${t} because it already exists and the ifAlreadyInstalled option was set to ${c}`
835
+ `Cannot install asset ${$} to ${t} because it already exists and the ifAlreadyInstalled option was set to ${c}`
836
836
  );
837
837
  }
838
838
  }
839
839
  return await r.mv(L, N), {
840
840
  assetFolderPath: N,
841
- assetFolderName: E
841
+ assetFolderName: $
842
842
  };
843
843
  } finally {
844
844
  await r.rmdir(g, {
@@ -857,8 +857,8 @@ const at = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: c, o
857
857
  const e = "targetFolderName" in h ? h.targetFolderName : "";
858
858
  let d = "", g = "";
859
859
  if (t instanceof File) {
860
- const j = t.name.split("/").pop() || "plugin.zip";
861
- g = Ke(j), i == null || i.tracker.setCaption(`Installing the ${g} plugin`);
860
+ const q = t.name.split("/").pop() || "plugin.zip";
861
+ g = Ke(q), i == null || i.tracker.setCaption(`Installing the ${g} plugin`);
862
862
  const P = await Er(r, {
863
863
  ifAlreadyInstalled: c,
864
864
  zipFile: t,
@@ -868,15 +868,15 @@ const at = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: c, o
868
868
  d = P.assetFolderPath, g = P.assetFolderName;
869
869
  } else if (t) {
870
870
  g = t.name, i == null || i.tracker.setCaption(`Installing the ${g} plugin`);
871
- const j = ie(
871
+ const q = ie(
872
872
  await r.documentRoot,
873
873
  "wp-content",
874
874
  "plugins",
875
875
  e || t.name
876
876
  );
877
- await or(r, j, t.files, {
877
+ await or(r, q, t.files, {
878
878
  rmRoot: !0
879
- }), d = j;
879
+ }), d = q;
880
880
  }
881
881
  ("activate" in h ? h.activate : !0) && await gr(
882
882
  r,
@@ -1095,9 +1095,9 @@ const yt = async (r, { language: t }, p) => {
1095
1095
  )
1096
1096
  );`
1097
1097
  })).json;
1098
- for (const { slug: j, version: P } of d)
1098
+ for (const { slug: q, version: P } of d)
1099
1099
  i.push({
1100
- url: `https://downloads.wordpress.org/translation/plugin/${j}/${P}/${t}.zip`,
1100
+ url: `https://downloads.wordpress.org/translation/plugin/${q}/${P}/${t}.zip`,
1101
1101
  type: "plugin"
1102
1102
  });
1103
1103
  const x = (await r.run({
@@ -1118,31 +1118,31 @@ const yt = async (r, { language: t }, p) => {
1118
1118
  )
1119
1119
  );`
1120
1120
  })).json;
1121
- for (const { slug: j, version: P } of x)
1121
+ for (const { slug: q, version: P } of x)
1122
1122
  i.push({
1123
- url: `https://downloads.wordpress.org/translation/theme/${j}/${P}/${t}.zip`,
1123
+ url: `https://downloads.wordpress.org/translation/theme/${q}/${P}/${t}.zip`,
1124
1124
  type: "theme"
1125
1125
  });
1126
1126
  await r.isDir(`${c}/wp-content/languages/plugins`) || await r.mkdir(`${c}/wp-content/languages/plugins`), await r.isDir(`${c}/wp-content/languages/themes`) || await r.mkdir(`${c}/wp-content/languages/themes`);
1127
- for (const { url: j, type: P } of i)
1127
+ for (const { url: q, type: P } of i)
1128
1128
  try {
1129
- const E = await fetch(j);
1130
- if (!E.ok)
1129
+ const $ = await fetch(q);
1130
+ if (!$.ok)
1131
1131
  throw new Error(
1132
- `Failed to download translations for ${P}: ${E.statusText}`
1132
+ `Failed to download translations for ${P}: ${$.statusText}`
1133
1133
  );
1134
1134
  let L = `${c}/wp-content/languages`;
1135
1135
  P === "plugin" ? L += "/plugins" : P === "theme" && (L += "/themes"), await yr(
1136
1136
  r,
1137
- new File([await E.blob()], `${t}-${P}.zip`),
1137
+ new File([await $.blob()], `${t}-${P}.zip`),
1138
1138
  L
1139
1139
  );
1140
- } catch (E) {
1140
+ } catch ($) {
1141
1141
  if (P === "core")
1142
1142
  throw new Error(
1143
1143
  `Failed to download translations for WordPress. Please check if the language code ${t} is correct. You can find all available languages and translations on https://translate.wordpress.org/.`
1144
1144
  );
1145
- me.warn(`Error downloading translations for ${P}: ${E}`);
1145
+ me.warn(`Error downloading translations for ${P}: ${$}`);
1146
1146
  }
1147
1147
  }, ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1148
1148
  __proto__: null,
@@ -1419,7 +1419,7 @@ class kt extends Oe {
1419
1419
  }
1420
1420
  async resolve() {
1421
1421
  var d;
1422
- const t = (d = this.options) != null && d.corsProxy ? `${this.options.corsProxy}/${this.reference.url}` : this.reference.url, p = ["", "HEAD"].includes(this.reference.ref) ? "HEAD" : `refs/heads/${this.reference.ref}`, c = await Ir(t, p), h = this.reference.path.replace(/^\/+/, ""), i = Wr(c, h);
1422
+ const t = (d = this.options) != null && d.corsProxy ? `${this.options.corsProxy}?${this.reference.url}` : this.reference.url, p = ["", "HEAD"].includes(this.reference.ref) ? "HEAD" : `refs/heads/${this.reference.ref}`, c = await Ir(t, p), h = this.reference.path.replace(/^\/+/, ""), i = Wr(c, h);
1423
1423
  let e = await Ur(t, p, i);
1424
1424
  return e = Object.fromEntries(
1425
1425
  Object.entries(e).map(([g, x]) => (g = g.substring(this.reference.path.length), g = g.replace(/^\/+/, ""), [g, x]))
@@ -1559,8 +1559,7 @@ const qt = {
1559
1559
  description: "Extra libraries to preload into the Playground instance."
1560
1560
  },
1561
1561
  constants: {
1562
- type: "object",
1563
- additionalProperties: { type: "string" },
1562
+ $ref: "#/definitions/PHPConstants",
1564
1563
  description: "PHP Constants to define on every request"
1565
1564
  },
1566
1565
  plugins: {
@@ -1618,6 +1617,9 @@ const qt = {
1618
1617
  }, At = {
1619
1618
  type: "string",
1620
1619
  enum: ["8.3", "8.2", "8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0"]
1620
+ }, Rt = {
1621
+ type: "object",
1622
+ additionalProperties: { type: ["string", "boolean", "number"] }
1621
1623
  }, qr = Object.prototype.hasOwnProperty;
1622
1624
  function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, rootData: h = r } = {}) {
1623
1625
  let i = null, e = 0;
@@ -1628,32 +1630,32 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1628
1630
  if (r && typeof r == "object" && !Array.isArray(r)) {
1629
1631
  let M;
1630
1632
  if (r.resource === void 0 && (M = "resource") || r.path === void 0 && (M = "path")) {
1631
- const T = {
1633
+ const E = {
1632
1634
  instancePath: t,
1633
1635
  schemaPath: "#/definitions/VFSReference/required",
1634
1636
  keyword: "required",
1635
1637
  params: { missingProperty: M },
1636
1638
  message: "must have required property '" + M + "'"
1637
1639
  };
1638
- i === null ? i = [T] : i.push(T), e++;
1640
+ i === null ? i = [E] : i.push(E), e++;
1639
1641
  } else {
1640
- const T = e;
1642
+ const E = e;
1641
1643
  for (const u in r)
1642
1644
  if (!(u === "resource" || u === "path")) {
1643
- const O = {
1645
+ const T = {
1644
1646
  instancePath: t,
1645
1647
  schemaPath: "#/definitions/VFSReference/additionalProperties",
1646
1648
  keyword: "additionalProperties",
1647
1649
  params: { additionalProperty: u },
1648
1650
  message: "must NOT have additional properties"
1649
1651
  };
1650
- i === null ? i = [O] : i.push(O), e++;
1652
+ i === null ? i = [T] : i.push(T), e++;
1651
1653
  break;
1652
1654
  }
1653
- if (T === e) {
1655
+ if (E === e) {
1654
1656
  if (r.resource !== void 0) {
1655
1657
  let u = r.resource;
1656
- const O = e;
1658
+ const T = e;
1657
1659
  if (typeof u != "string") {
1658
1660
  const z = {
1659
1661
  instancePath: t + "/resource",
@@ -1674,7 +1676,7 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1674
1676
  };
1675
1677
  i === null ? i = [z] : i.push(z), e++;
1676
1678
  }
1677
- var P = O === e;
1679
+ var P = T === e;
1678
1680
  } else
1679
1681
  var P = !0;
1680
1682
  if (P)
@@ -1705,30 +1707,30 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1705
1707
  };
1706
1708
  i === null ? i = [M] : i.push(M), e++;
1707
1709
  }
1708
- var E = x === e;
1709
- if (g = g || E, !g) {
1710
+ var $ = x === e;
1711
+ if (g = g || $, !g) {
1710
1712
  const M = e;
1711
1713
  if (e === e)
1712
1714
  if (r && typeof r == "object" && !Array.isArray(r)) {
1713
- let O;
1714
- if (r.resource === void 0 && (O = "resource") || r.name === void 0 && (O = "name") || r.contents === void 0 && (O = "contents")) {
1715
+ let T;
1716
+ if (r.resource === void 0 && (T = "resource") || r.name === void 0 && (T = "name") || r.contents === void 0 && (T = "contents")) {
1715
1717
  const z = {
1716
1718
  instancePath: t,
1717
1719
  schemaPath: "#/definitions/LiteralReference/required",
1718
1720
  keyword: "required",
1719
- params: { missingProperty: O },
1720
- message: "must have required property '" + O + "'"
1721
+ params: { missingProperty: T },
1722
+ message: "must have required property '" + T + "'"
1721
1723
  };
1722
1724
  i === null ? i = [z] : i.push(z), e++;
1723
1725
  } else {
1724
1726
  const z = e;
1725
- for (const m in r)
1726
- if (!(m === "resource" || m === "name" || m === "contents")) {
1727
+ for (const y in r)
1728
+ if (!(y === "resource" || y === "name" || y === "contents")) {
1727
1729
  const v = {
1728
1730
  instancePath: t,
1729
1731
  schemaPath: "#/definitions/LiteralReference/additionalProperties",
1730
1732
  keyword: "additionalProperties",
1731
- params: { additionalProperty: m },
1733
+ params: { additionalProperty: y },
1732
1734
  message: "must NOT have additional properties"
1733
1735
  };
1734
1736
  i === null ? i = [v] : i.push(v), e++;
@@ -1736,54 +1738,54 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1736
1738
  }
1737
1739
  if (z === e) {
1738
1740
  if (r.resource !== void 0) {
1739
- let m = r.resource;
1741
+ let y = r.resource;
1740
1742
  const v = e;
1741
- if (typeof m != "string") {
1742
- const w = {
1743
+ if (typeof y != "string") {
1744
+ const b = {
1743
1745
  instancePath: t + "/resource",
1744
1746
  schemaPath: "#/definitions/LiteralReference/properties/resource/type",
1745
1747
  keyword: "type",
1746
1748
  params: { type: "string" },
1747
1749
  message: "must be string"
1748
1750
  };
1749
- i === null ? i = [w] : i.push(w), e++;
1751
+ i === null ? i = [b] : i.push(b), e++;
1750
1752
  }
1751
- if (m !== "literal") {
1752
- const w = {
1753
+ if (y !== "literal") {
1754
+ const b = {
1753
1755
  instancePath: t + "/resource",
1754
1756
  schemaPath: "#/definitions/LiteralReference/properties/resource/const",
1755
1757
  keyword: "const",
1756
1758
  params: { allowedValue: "literal" },
1757
1759
  message: "must be equal to constant"
1758
1760
  };
1759
- i === null ? i = [w] : i.push(w), e++;
1761
+ i === null ? i = [b] : i.push(b), e++;
1760
1762
  }
1761
1763
  var L = v === e;
1762
1764
  } else
1763
1765
  var L = !0;
1764
1766
  if (L) {
1765
1767
  if (r.name !== void 0) {
1766
- const m = e;
1768
+ const y = e;
1767
1769
  if (typeof r.name != "string") {
1768
- const w = {
1770
+ const b = {
1769
1771
  instancePath: t + "/name",
1770
1772
  schemaPath: "#/definitions/LiteralReference/properties/name/type",
1771
1773
  keyword: "type",
1772
1774
  params: { type: "string" },
1773
1775
  message: "must be string"
1774
1776
  };
1775
- i === null ? i = [w] : i.push(w), e++;
1777
+ i === null ? i = [b] : i.push(b), e++;
1776
1778
  }
1777
- var L = m === e;
1779
+ var L = y === e;
1778
1780
  } else
1779
1781
  var L = !0;
1780
1782
  if (L)
1781
1783
  if (r.contents !== void 0) {
1782
- let m = r.contents;
1783
- const v = e, w = e;
1784
- let q = !1;
1785
- const b = e;
1786
- if (typeof m != "string") {
1784
+ let y = r.contents;
1785
+ const v = e, b = e;
1786
+ let j = !1;
1787
+ const w = e;
1788
+ if (typeof y != "string") {
1787
1789
  const D = {
1788
1790
  instancePath: t + "/contents",
1789
1791
  schemaPath: "#/definitions/LiteralReference/properties/contents/anyOf/0/type",
@@ -1793,13 +1795,13 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1793
1795
  };
1794
1796
  i === null ? i = [D] : i.push(D), e++;
1795
1797
  }
1796
- var N = b === e;
1797
- if (q = q || N, !q) {
1798
+ var N = w === e;
1799
+ if (j = j || N, !j) {
1798
1800
  const D = e;
1799
1801
  if (e === D)
1800
- if (m && typeof m == "object" && !Array.isArray(m)) {
1802
+ if (y && typeof y == "object" && !Array.isArray(y)) {
1801
1803
  let R;
1802
- if (m.BYTES_PER_ELEMENT === void 0 && (R = "BYTES_PER_ELEMENT") || m.buffer === void 0 && (R = "buffer") || m.byteLength === void 0 && (R = "byteLength") || m.byteOffset === void 0 && (R = "byteOffset") || m.length === void 0 && (R = "length")) {
1804
+ if (y.BYTES_PER_ELEMENT === void 0 && (R = "BYTES_PER_ELEMENT") || y.buffer === void 0 && (R = "buffer") || y.byteLength === void 0 && (R = "byteLength") || y.byteOffset === void 0 && (R = "byteOffset") || y.length === void 0 && (R = "length")) {
1803
1805
  const W = {
1804
1806
  instancePath: t + "/contents",
1805
1807
  schemaPath: "#/definitions/LiteralReference/properties/contents/anyOf/1/required",
@@ -1812,9 +1814,9 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1812
1814
  i === null ? i = [W] : i.push(W), e++;
1813
1815
  } else {
1814
1816
  const W = e;
1815
- for (const F in m)
1817
+ for (const F in y)
1816
1818
  if (!(F === "BYTES_PER_ELEMENT" || F === "buffer" || F === "byteLength" || F === "byteOffset" || F === "length")) {
1817
- let H = m[F];
1819
+ let H = y[F];
1818
1820
  const te = e;
1819
1821
  if (!(typeof H == "number" && isFinite(
1820
1822
  H
@@ -1840,13 +1842,13 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1840
1842
  G
1841
1843
  ), e++;
1842
1844
  }
1843
- var y = te === e;
1844
- if (!y)
1845
+ var m = te === e;
1846
+ if (!m)
1845
1847
  break;
1846
1848
  }
1847
1849
  if (W === e) {
1848
- if (m.BYTES_PER_ELEMENT !== void 0) {
1849
- let F = m.BYTES_PER_ELEMENT;
1850
+ if (y.BYTES_PER_ELEMENT !== void 0) {
1851
+ let F = y.BYTES_PER_ELEMENT;
1850
1852
  const H = e;
1851
1853
  if (!(typeof F == "number" && isFinite(
1852
1854
  F
@@ -1870,8 +1872,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1870
1872
  } else
1871
1873
  var I = !0;
1872
1874
  if (I) {
1873
- if (m.buffer !== void 0) {
1874
- let F = m.buffer;
1875
+ if (y.buffer !== void 0) {
1876
+ let F = y.buffer;
1875
1877
  const H = e;
1876
1878
  if (e === H)
1877
1879
  if (F && typeof F == "object" && !Array.isArray(
@@ -1955,8 +1957,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1955
1957
  } else
1956
1958
  var I = !0;
1957
1959
  if (I) {
1958
- if (m.byteLength !== void 0) {
1959
- let F = m.byteLength;
1960
+ if (y.byteLength !== void 0) {
1961
+ let F = y.byteLength;
1960
1962
  const H = e;
1961
1963
  if (!(typeof F == "number" && isFinite(
1962
1964
  F
@@ -1980,8 +1982,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1980
1982
  } else
1981
1983
  var I = !0;
1982
1984
  if (I) {
1983
- if (m.byteOffset !== void 0) {
1984
- let F = m.byteOffset;
1985
+ if (y.byteOffset !== void 0) {
1986
+ let F = y.byteOffset;
1985
1987
  const H = e;
1986
1988
  if (!(typeof F == "number" && isFinite(
1987
1989
  F
@@ -2005,8 +2007,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2005
2007
  } else
2006
2008
  var I = !0;
2007
2009
  if (I)
2008
- if (m.length !== void 0) {
2009
- let F = m.length;
2010
+ if (y.length !== void 0) {
2011
+ let F = y.length;
2010
2012
  const H = e;
2011
2013
  if (!(typeof F == "number" && isFinite(
2012
2014
  F
@@ -2045,10 +2047,10 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2045
2047
  i === null ? i = [R] : i.push(R), e++;
2046
2048
  }
2047
2049
  var N = D === e;
2048
- q = q || N;
2050
+ j = j || N;
2049
2051
  }
2050
- if (q)
2051
- e = w, i !== null && (w ? i.length = w : i = null);
2052
+ if (j)
2053
+ e = b, i !== null && (b ? i.length = b : i = null);
2052
2054
  else {
2053
2055
  const D = {
2054
2056
  instancePath: t + "/contents",
@@ -2066,49 +2068,49 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2066
2068
  }
2067
2069
  }
2068
2070
  } else {
2069
- const O = {
2071
+ const T = {
2070
2072
  instancePath: t,
2071
2073
  schemaPath: "#/definitions/LiteralReference/type",
2072
2074
  keyword: "type",
2073
2075
  params: { type: "object" },
2074
2076
  message: "must be object"
2075
2077
  };
2076
- i === null ? i = [O] : i.push(O), e++;
2078
+ i === null ? i = [T] : i.push(T), e++;
2077
2079
  }
2078
- var E = M === e;
2079
- if (g = g || E, !g) {
2080
- const O = e;
2080
+ var $ = M === e;
2081
+ if (g = g || $, !g) {
2082
+ const T = e;
2081
2083
  if (e === e)
2082
2084
  if (r && typeof r == "object" && !Array.isArray(r)) {
2083
2085
  let v;
2084
2086
  if (r.resource === void 0 && (v = "resource") || r.slug === void 0 && (v = "slug")) {
2085
- const w = {
2087
+ const b = {
2086
2088
  instancePath: t,
2087
2089
  schemaPath: "#/definitions/CoreThemeReference/required",
2088
2090
  keyword: "required",
2089
2091
  params: { missingProperty: v },
2090
2092
  message: "must have required property '" + v + "'"
2091
2093
  };
2092
- i === null ? i = [w] : i.push(w), e++;
2094
+ i === null ? i = [b] : i.push(b), e++;
2093
2095
  } else {
2094
- const w = e;
2095
- for (const q in r)
2096
- if (!(q === "resource" || q === "slug")) {
2097
- const b = {
2096
+ const b = e;
2097
+ for (const j in r)
2098
+ if (!(j === "resource" || j === "slug")) {
2099
+ const w = {
2098
2100
  instancePath: t,
2099
2101
  schemaPath: "#/definitions/CoreThemeReference/additionalProperties",
2100
2102
  keyword: "additionalProperties",
2101
- params: { additionalProperty: q },
2103
+ params: { additionalProperty: j },
2102
2104
  message: "must NOT have additional properties"
2103
2105
  };
2104
- i === null ? i = [b] : i.push(b), e++;
2106
+ i === null ? i = [w] : i.push(w), e++;
2105
2107
  break;
2106
2108
  }
2107
- if (w === e) {
2109
+ if (b === e) {
2108
2110
  if (r.resource !== void 0) {
2109
- let q = r.resource;
2110
- const b = e;
2111
- if (typeof q != "string") {
2111
+ let j = r.resource;
2112
+ const w = e;
2113
+ if (typeof j != "string") {
2112
2114
  const l = {
2113
2115
  instancePath: t + "/resource",
2114
2116
  schemaPath: "#/definitions/CoreThemeReference/properties/resource/type",
@@ -2118,7 +2120,7 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2118
2120
  };
2119
2121
  i === null ? i = [l] : i.push(l), e++;
2120
2122
  }
2121
- if (q !== "wordpress.org/themes") {
2123
+ if (j !== "wordpress.org/themes") {
2122
2124
  const l = {
2123
2125
  instancePath: t + "/resource",
2124
2126
  schemaPath: "#/definitions/CoreThemeReference/properties/resource/const",
@@ -2130,12 +2132,12 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2130
2132
  };
2131
2133
  i === null ? i = [l] : i.push(l), e++;
2132
2134
  }
2133
- var U = b === e;
2135
+ var U = w === e;
2134
2136
  } else
2135
2137
  var U = !0;
2136
2138
  if (U)
2137
2139
  if (r.slug !== void 0) {
2138
- const q = e;
2140
+ const j = e;
2139
2141
  if (typeof r.slug != "string") {
2140
2142
  const l = {
2141
2143
  instancePath: t + "/slug",
@@ -2146,7 +2148,7 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2146
2148
  };
2147
2149
  i === null ? i = [l] : i.push(l), e++;
2148
2150
  }
2149
- var U = q === e;
2151
+ var U = j === e;
2150
2152
  } else
2151
2153
  var U = !0;
2152
2154
  }
@@ -2161,19 +2163,19 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2161
2163
  };
2162
2164
  i === null ? i = [v] : i.push(v), e++;
2163
2165
  }
2164
- var E = O === e;
2165
- if (g = g || E, !g) {
2166
+ var $ = T === e;
2167
+ if (g = g || $, !g) {
2166
2168
  const v = e;
2167
2169
  if (e === e)
2168
2170
  if (r && typeof r == "object" && !Array.isArray(r)) {
2169
- let b;
2170
- if (r.resource === void 0 && (b = "resource") || r.slug === void 0 && (b = "slug")) {
2171
+ let w;
2172
+ if (r.resource === void 0 && (w = "resource") || r.slug === void 0 && (w = "slug")) {
2171
2173
  const l = {
2172
2174
  instancePath: t,
2173
2175
  schemaPath: "#/definitions/CorePluginReference/required",
2174
2176
  keyword: "required",
2175
- params: { missingProperty: b },
2176
- message: "must have required property '" + b + "'"
2177
+ params: { missingProperty: w },
2178
+ message: "must have required property '" + w + "'"
2177
2179
  };
2178
2180
  i === null ? i = [l] : i.push(l), e++;
2179
2181
  } else {
@@ -2238,18 +2240,18 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2238
2240
  }
2239
2241
  }
2240
2242
  } else {
2241
- const b = {
2243
+ const w = {
2242
2244
  instancePath: t,
2243
2245
  schemaPath: "#/definitions/CorePluginReference/type",
2244
2246
  keyword: "type",
2245
2247
  params: { type: "object" },
2246
2248
  message: "must be object"
2247
2249
  };
2248
- i === null ? i = [b] : i.push(b), e++;
2250
+ i === null ? i = [w] : i.push(w), e++;
2249
2251
  }
2250
- var E = v === e;
2251
- if (g = g || E, !g) {
2252
- const b = e;
2252
+ var $ = v === e;
2253
+ if (g = g || $, !g) {
2254
+ const w = e;
2253
2255
  if (e === e)
2254
2256
  if (r && typeof r == "object" && !Array.isArray(r)) {
2255
2257
  let A;
@@ -2352,8 +2354,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2352
2354
  };
2353
2355
  i === null ? i = [A] : i.push(A), e++;
2354
2356
  }
2355
- var E = b === e;
2356
- g = g || E;
2357
+ var $ = w === e;
2358
+ g = g || $;
2357
2359
  }
2358
2360
  }
2359
2361
  }
@@ -3073,7 +3075,7 @@ Only the username field is required for user authentication.`
3073
3075
  required: ["language", "step"]
3074
3076
  }
3075
3077
  ]
3076
- }, Rt = {
3078
+ }, Lt = {
3077
3079
  type: "object",
3078
3080
  additionalProperties: {
3079
3081
  anyOf: [
@@ -3088,11 +3090,11 @@ function Le(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3088
3090
  if (e === 0)
3089
3091
  if (r && typeof r == "object" && !Array.isArray(r))
3090
3092
  for (const x in r) {
3091
- let j = r[x];
3092
- const P = e, E = e;
3093
+ let q = r[x];
3094
+ const P = e, $ = e;
3093
3095
  let L = !1;
3094
3096
  const N = e;
3095
- sr.validate(j, {
3097
+ sr.validate(q, {
3096
3098
  instancePath: t + "/" + x.replace(/~/g, "~0").replace(/\//g, "~1"),
3097
3099
  parentData: r,
3098
3100
  parentDataProperty: x,
@@ -3100,33 +3102,33 @@ function Le(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3100
3102
  }) || (i = i === null ? sr.validate.errors : i.concat(sr.validate.errors), e = i.length);
3101
3103
  var d = N === e;
3102
3104
  if (L = L || d, !L) {
3103
- const y = e;
3104
- if (!(j && typeof j == "object" && !Array.isArray(j)) && typeof j != "string") {
3105
+ const m = e;
3106
+ if (!(q && typeof q == "object" && !Array.isArray(q)) && typeof q != "string") {
3105
3107
  const U = {
3106
3108
  instancePath: t + "/" + x.replace(/~/g, "~0").replace(/\//g, "~1"),
3107
3109
  schemaPath: "#/additionalProperties/anyOf/1/type",
3108
3110
  keyword: "type",
3109
3111
  params: {
3110
- type: Rt.additionalProperties.anyOf[1].type
3112
+ type: Lt.additionalProperties.anyOf[1].type
3111
3113
  },
3112
3114
  message: "must be object,string"
3113
3115
  };
3114
3116
  i === null ? i = [U] : i.push(U), e++;
3115
3117
  }
3116
- var d = y === e;
3118
+ var d = m === e;
3117
3119
  L = L || d;
3118
3120
  }
3119
3121
  if (L)
3120
- e = E, i !== null && (E ? i.length = E : i = null);
3122
+ e = $, i !== null && ($ ? i.length = $ : i = null);
3121
3123
  else {
3122
- const y = {
3124
+ const m = {
3123
3125
  instancePath: t + "/" + x.replace(/~/g, "~0").replace(/\//g, "~1"),
3124
3126
  schemaPath: "#/additionalProperties/anyOf",
3125
3127
  keyword: "anyOf",
3126
3128
  params: {},
3127
3129
  message: "must match a schema in anyOf"
3128
3130
  };
3129
- return i === null ? i = [y] : i.push(y), e++, Le.errors = i, !1;
3131
+ return i === null ? i = [m] : i.push(m), e++, Le.errors = i, !1;
3130
3132
  }
3131
3133
  var g = P === e;
3132
3134
  if (!g)
@@ -3161,22 +3163,22 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3161
3163
  ], !1;
3162
3164
  {
3163
3165
  const x = e;
3164
- for (const j in r)
3165
- if (!(j === "resource" || j === "files" || j === "name"))
3166
+ for (const q in r)
3167
+ if (!(q === "resource" || q === "files" || q === "name"))
3166
3168
  return ke.errors = [
3167
3169
  {
3168
3170
  instancePath: t,
3169
3171
  schemaPath: "#/additionalProperties",
3170
3172
  keyword: "additionalProperties",
3171
- params: { additionalProperty: j },
3173
+ params: { additionalProperty: q },
3172
3174
  message: "must NOT have additional properties"
3173
3175
  }
3174
3176
  ], !1;
3175
3177
  if (x === e) {
3176
3178
  if (r.resource !== void 0) {
3177
- let j = r.resource;
3179
+ let q = r.resource;
3178
3180
  const P = e;
3179
- if (typeof j != "string")
3181
+ if (typeof q != "string")
3180
3182
  return ke.errors = [
3181
3183
  {
3182
3184
  instancePath: t + "/resource",
@@ -3186,7 +3188,7 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3186
3188
  message: "must be string"
3187
3189
  }
3188
3190
  ], !1;
3189
- if (j !== "literal:directory")
3191
+ if (q !== "literal:directory")
3190
3192
  return ke.errors = [
3191
3193
  {
3192
3194
  instancePath: t + "/resource",
@@ -3203,19 +3205,19 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3203
3205
  var d = !0;
3204
3206
  if (d) {
3205
3207
  if (r.files !== void 0) {
3206
- const j = e;
3208
+ const q = e;
3207
3209
  Le(r.files, {
3208
3210
  instancePath: t + "/files",
3209
3211
  parentData: r,
3210
3212
  parentDataProperty: "files",
3211
3213
  rootData: h
3212
3214
  }) || (i = i === null ? Le.errors : i.concat(Le.errors), e = i.length);
3213
- var d = j === e;
3215
+ var d = q === e;
3214
3216
  } else
3215
3217
  var d = !0;
3216
3218
  if (d)
3217
3219
  if (r.name !== void 0) {
3218
- const j = e;
3220
+ const q = e;
3219
3221
  if (typeof r.name != "string")
3220
3222
  return ke.errors = [
3221
3223
  {
@@ -3226,7 +3228,7 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3226
3228
  message: "must be string"
3227
3229
  }
3228
3230
  ], !1;
3229
- var d = j === e;
3231
+ var d = q === e;
3230
3232
  } else
3231
3233
  var d = !0;
3232
3234
  }
@@ -3263,13 +3265,13 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3263
3265
  i === null ? i = [N] : i.push(N), e++;
3264
3266
  } else {
3265
3267
  const N = e;
3266
- for (const y in r)
3267
- if (!(y === "resource" || y === "url" || y === "ref" || y === "path")) {
3268
+ for (const m in r)
3269
+ if (!(m === "resource" || m === "url" || m === "ref" || m === "path")) {
3268
3270
  const I = {
3269
3271
  instancePath: t,
3270
3272
  schemaPath: "#/definitions/GitDirectoryReference/additionalProperties",
3271
3273
  keyword: "additionalProperties",
3272
- params: { additionalProperty: y },
3274
+ params: { additionalProperty: m },
3273
3275
  message: "must NOT have additional properties"
3274
3276
  };
3275
3277
  i === null ? i = [I] : i.push(I), e++;
@@ -3277,9 +3279,9 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3277
3279
  }
3278
3280
  if (N === e) {
3279
3281
  if (r.resource !== void 0) {
3280
- let y = r.resource;
3282
+ let m = r.resource;
3281
3283
  const I = e;
3282
- if (typeof y != "string") {
3284
+ if (typeof m != "string") {
3283
3285
  const U = {
3284
3286
  instancePath: t + "/resource",
3285
3287
  schemaPath: "#/definitions/GitDirectoryReference/properties/resource/type",
@@ -3289,7 +3291,7 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3289
3291
  };
3290
3292
  i === null ? i = [U] : i.push(U), e++;
3291
3293
  }
3292
- if (y !== "git:directory") {
3294
+ if (m !== "git:directory") {
3293
3295
  const U = {
3294
3296
  instancePath: t + "/resource",
3295
3297
  schemaPath: "#/definitions/GitDirectoryReference/properties/resource/const",
@@ -3304,7 +3306,7 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3304
3306
  var P = !0;
3305
3307
  if (P) {
3306
3308
  if (r.url !== void 0) {
3307
- const y = e;
3309
+ const m = e;
3308
3310
  if (typeof r.url != "string") {
3309
3311
  const U = {
3310
3312
  instancePath: t + "/url",
@@ -3315,12 +3317,12 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3315
3317
  };
3316
3318
  i === null ? i = [U] : i.push(U), e++;
3317
3319
  }
3318
- var P = y === e;
3320
+ var P = m === e;
3319
3321
  } else
3320
3322
  var P = !0;
3321
3323
  if (P) {
3322
3324
  if (r.ref !== void 0) {
3323
- const y = e;
3325
+ const m = e;
3324
3326
  if (typeof r.ref != "string") {
3325
3327
  const U = {
3326
3328
  instancePath: t + "/ref",
@@ -3331,12 +3333,12 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3331
3333
  };
3332
3334
  i === null ? i = [U] : i.push(U), e++;
3333
3335
  }
3334
- var P = y === e;
3336
+ var P = m === e;
3335
3337
  } else
3336
3338
  var P = !0;
3337
3339
  if (P)
3338
3340
  if (r.path !== void 0) {
3339
- const y = e;
3341
+ const m = e;
3340
3342
  if (typeof r.path != "string") {
3341
3343
  const U = {
3342
3344
  instancePath: t + "/path",
@@ -3347,7 +3349,7 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3347
3349
  };
3348
3350
  i === null ? i = [U] : i.push(U), e++;
3349
3351
  }
3350
- var P = y === e;
3352
+ var P = m === e;
3351
3353
  } else
3352
3354
  var P = !0;
3353
3355
  }
@@ -3364,8 +3366,8 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3364
3366
  };
3365
3367
  i === null ? i = [L] : i.push(L), e++;
3366
3368
  }
3367
- var E = x === e;
3368
- if (g = g || E, !g) {
3369
+ var $ = x === e;
3370
+ if (g = g || $, !g) {
3369
3371
  const L = e;
3370
3372
  ke(r, {
3371
3373
  instancePath: t,
@@ -3373,8 +3375,8 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3373
3375
  parentDataProperty: c,
3374
3376
  rootData: h
3375
3377
  }) || (i = i === null ? ke.errors : i.concat(ke.errors), e = i.length);
3376
- var E = L === e;
3377
- g = g || E;
3378
+ var $ = L === e;
3379
+ g = g || $;
3378
3380
  }
3379
3381
  if (g)
3380
3382
  e = d, i !== null && (d ? i.length = d : i = null);
@@ -3471,12 +3473,12 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3471
3473
  const M = e;
3472
3474
  if (e === e)
3473
3475
  if (_ && typeof _ == "object" && !Array.isArray(_))
3474
- for (const O in _) {
3476
+ for (const T in _) {
3475
3477
  const z = e;
3476
- if (typeof _[O] != "string")
3478
+ if (typeof _[T] != "string")
3477
3479
  return ce.errors = [
3478
3480
  {
3479
- instancePath: t + "/headers/" + O.replace(
3481
+ instancePath: t + "/headers/" + T.replace(
3480
3482
  /~/g,
3481
3483
  "~0"
3482
3484
  ).replace(
@@ -3511,47 +3513,47 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3511
3513
  if (d)
3512
3514
  if (r.body !== void 0) {
3513
3515
  let _ = r.body;
3514
- const M = e, T = e;
3516
+ const M = e, E = e;
3515
3517
  let u = !1;
3516
- const O = e;
3518
+ const T = e;
3517
3519
  if (typeof _ != "string") {
3518
- const m = {
3520
+ const y = {
3519
3521
  instancePath: t + "/body",
3520
3522
  schemaPath: "#/properties/body/anyOf/0/type",
3521
3523
  keyword: "type",
3522
3524
  params: { type: "string" },
3523
3525
  message: "must be string"
3524
3526
  };
3525
- i === null ? i = [m] : i.push(m), e++;
3527
+ i === null ? i = [y] : i.push(y), e++;
3526
3528
  }
3527
- var x = O === e;
3529
+ var x = T === e;
3528
3530
  if (u = u || x, !u) {
3529
- const m = e;
3530
- if (e === m)
3531
+ const y = e;
3532
+ if (e === y)
3531
3533
  if (_ && typeof _ == "object" && !Array.isArray(_)) {
3532
- let w;
3533
- if (_.BYTES_PER_ELEMENT === void 0 && (w = "BYTES_PER_ELEMENT") || _.buffer === void 0 && (w = "buffer") || _.byteLength === void 0 && (w = "byteLength") || _.byteOffset === void 0 && (w = "byteOffset") || _.length === void 0 && (w = "length")) {
3534
- const q = {
3534
+ let b;
3535
+ if (_.BYTES_PER_ELEMENT === void 0 && (b = "BYTES_PER_ELEMENT") || _.buffer === void 0 && (b = "buffer") || _.byteLength === void 0 && (b = "byteLength") || _.byteOffset === void 0 && (b = "byteOffset") || _.length === void 0 && (b = "length")) {
3536
+ const j = {
3535
3537
  instancePath: t + "/body",
3536
3538
  schemaPath: "#/properties/body/anyOf/1/required",
3537
3539
  keyword: "required",
3538
3540
  params: {
3539
- missingProperty: w
3541
+ missingProperty: b
3540
3542
  },
3541
- message: "must have required property '" + w + "'"
3543
+ message: "must have required property '" + b + "'"
3542
3544
  };
3543
- i === null ? i = [q] : i.push(q), e++;
3545
+ i === null ? i = [j] : i.push(j), e++;
3544
3546
  } else {
3545
- const q = e;
3546
- for (const b in _)
3547
- if (!(b === "BYTES_PER_ELEMENT" || b === "buffer" || b === "byteLength" || b === "byteOffset" || b === "length")) {
3548
- let l = _[b];
3547
+ const j = e;
3548
+ for (const w in _)
3549
+ if (!(w === "BYTES_PER_ELEMENT" || w === "buffer" || w === "byteLength" || w === "byteOffset" || w === "length")) {
3550
+ let l = _[w];
3549
3551
  const D = e;
3550
3552
  if (!(typeof l == "number" && isFinite(
3551
3553
  l
3552
3554
  ))) {
3553
3555
  const A = {
3554
- instancePath: t + "/body/" + b.replace(
3556
+ instancePath: t + "/body/" + w.replace(
3555
3557
  /~/g,
3556
3558
  "~0"
3557
3559
  ).replace(
@@ -3571,16 +3573,16 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3571
3573
  A
3572
3574
  ), e++;
3573
3575
  }
3574
- var j = D === e;
3575
- if (!j)
3576
+ var q = D === e;
3577
+ if (!q)
3576
3578
  break;
3577
3579
  }
3578
- if (q === e) {
3580
+ if (j === e) {
3579
3581
  if (_.BYTES_PER_ELEMENT !== void 0) {
3580
- let b = _.BYTES_PER_ELEMENT;
3582
+ let w = _.BYTES_PER_ELEMENT;
3581
3583
  const l = e;
3582
- if (!(typeof b == "number" && isFinite(
3583
- b
3584
+ if (!(typeof w == "number" && isFinite(
3585
+ w
3584
3586
  ))) {
3585
3587
  const D = {
3586
3588
  instancePath: t + "/body/BYTES_PER_ELEMENT",
@@ -3602,14 +3604,14 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3602
3604
  var P = !0;
3603
3605
  if (P) {
3604
3606
  if (_.buffer !== void 0) {
3605
- let b = _.buffer;
3607
+ let w = _.buffer;
3606
3608
  const l = e;
3607
3609
  if (e === l)
3608
- if (b && typeof b == "object" && !Array.isArray(
3609
- b
3610
+ if (w && typeof w == "object" && !Array.isArray(
3611
+ w
3610
3612
  )) {
3611
3613
  let A;
3612
- if (b.byteLength === void 0 && (A = "byteLength")) {
3614
+ if (w.byteLength === void 0 && (A = "byteLength")) {
3613
3615
  const R = {
3614
3616
  instancePath: t + "/body/buffer",
3615
3617
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
@@ -3626,7 +3628,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3626
3628
  ), e++;
3627
3629
  } else {
3628
3630
  const R = e;
3629
- for (const W in b)
3631
+ for (const W in w)
3630
3632
  if (W !== "byteLength") {
3631
3633
  const F = {
3632
3634
  instancePath: t + "/body/buffer",
@@ -3644,8 +3646,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3644
3646
  ), e++;
3645
3647
  break;
3646
3648
  }
3647
- if (R === e && b.byteLength !== void 0) {
3648
- let W = b.byteLength;
3649
+ if (R === e && w.byteLength !== void 0) {
3650
+ let W = w.byteLength;
3649
3651
  if (!(typeof W == "number" && isFinite(
3650
3652
  W
3651
3653
  ))) {
@@ -3687,10 +3689,10 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3687
3689
  var P = !0;
3688
3690
  if (P) {
3689
3691
  if (_.byteLength !== void 0) {
3690
- let b = _.byteLength;
3692
+ let w = _.byteLength;
3691
3693
  const l = e;
3692
- if (!(typeof b == "number" && isFinite(
3693
- b
3694
+ if (!(typeof w == "number" && isFinite(
3695
+ w
3694
3696
  ))) {
3695
3697
  const A = {
3696
3698
  instancePath: t + "/body/byteLength",
@@ -3712,10 +3714,10 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3712
3714
  var P = !0;
3713
3715
  if (P) {
3714
3716
  if (_.byteOffset !== void 0) {
3715
- let b = _.byteOffset;
3717
+ let w = _.byteOffset;
3716
3718
  const l = e;
3717
- if (!(typeof b == "number" && isFinite(
3718
- b
3719
+ if (!(typeof w == "number" && isFinite(
3720
+ w
3719
3721
  ))) {
3720
3722
  const A = {
3721
3723
  instancePath: t + "/body/byteOffset",
@@ -3737,10 +3739,10 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3737
3739
  var P = !0;
3738
3740
  if (P)
3739
3741
  if (_.length !== void 0) {
3740
- let b = _.length;
3742
+ let w = _.length;
3741
3743
  const l = e;
3742
- if (!(typeof b == "number" && isFinite(
3743
- b
3744
+ if (!(typeof w == "number" && isFinite(
3745
+ w
3744
3746
  ))) {
3745
3747
  const A = {
3746
3748
  instancePath: t + "/body/length",
@@ -3766,28 +3768,28 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3766
3768
  }
3767
3769
  }
3768
3770
  } else {
3769
- const w = {
3771
+ const b = {
3770
3772
  instancePath: t + "/body",
3771
3773
  schemaPath: "#/properties/body/anyOf/1/type",
3772
3774
  keyword: "type",
3773
3775
  params: { type: "object" },
3774
3776
  message: "must be object"
3775
3777
  };
3776
- i === null ? i = [w] : i.push(w), e++;
3778
+ i === null ? i = [b] : i.push(b), e++;
3777
3779
  }
3778
- var x = m === e;
3780
+ var x = y === e;
3779
3781
  if (u = u || x, !u) {
3780
- const w = e;
3781
- if (e === w)
3782
+ const b = e;
3783
+ if (e === b)
3782
3784
  if (_ && typeof _ == "object" && !Array.isArray(_))
3783
- for (const b in _) {
3784
- let l = _[b];
3785
+ for (const w in _) {
3786
+ let l = _[w];
3785
3787
  const D = e, A = e;
3786
3788
  let R = !1;
3787
3789
  const W = e;
3788
3790
  if (typeof l != "string") {
3789
3791
  const F = {
3790
- instancePath: t + "/body/" + b.replace(
3792
+ instancePath: t + "/body/" + w.replace(
3791
3793
  /~/g,
3792
3794
  "~0"
3793
3795
  ).replace(
@@ -3807,8 +3809,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3807
3809
  F
3808
3810
  ), e++;
3809
3811
  }
3810
- var E = W === e;
3811
- if (R = R || E, !R) {
3812
+ var $ = W === e;
3813
+ if (R = R || $, !R) {
3812
3814
  const F = e;
3813
3815
  if (e === F)
3814
3816
  if (l && typeof l == "object" && !Array.isArray(
@@ -3817,7 +3819,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3817
3819
  let te;
3818
3820
  if (l.BYTES_PER_ELEMENT === void 0 && (te = "BYTES_PER_ELEMENT") || l.buffer === void 0 && (te = "buffer") || l.byteLength === void 0 && (te = "byteLength") || l.byteOffset === void 0 && (te = "byteOffset") || l.length === void 0 && (te = "length")) {
3819
3821
  const G = {
3820
- instancePath: t + "/body/" + b.replace(
3822
+ instancePath: t + "/body/" + w.replace(
3821
3823
  /~/g,
3822
3824
  "~0"
3823
3825
  ).replace(
@@ -3846,7 +3848,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3846
3848
  B
3847
3849
  ))) {
3848
3850
  const Y = {
3849
- instancePath: t + "/body/" + b.replace(
3851
+ instancePath: t + "/body/" + w.replace(
3850
3852
  /~/g,
3851
3853
  "~0"
3852
3854
  ).replace(
@@ -3884,7 +3886,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3884
3886
  C
3885
3887
  ))) {
3886
3888
  const Q = {
3887
- instancePath: t + "/body/" + b.replace(
3889
+ instancePath: t + "/body/" + w.replace(
3888
3890
  /~/g,
3889
3891
  "~0"
3890
3892
  ).replace(
@@ -3918,7 +3920,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3918
3920
  let Y;
3919
3921
  if (C.byteLength === void 0 && (Y = "byteLength")) {
3920
3922
  const oe = {
3921
- instancePath: t + "/body/" + b.replace(
3923
+ instancePath: t + "/body/" + w.replace(
3922
3924
  /~/g,
3923
3925
  "~0"
3924
3926
  ).replace(
@@ -3942,7 +3944,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3942
3944
  for (const pe in C)
3943
3945
  if (pe !== "byteLength") {
3944
3946
  const ge = {
3945
- instancePath: t + "/body/" + b.replace(
3947
+ instancePath: t + "/body/" + w.replace(
3946
3948
  /~/g,
3947
3949
  "~0"
3948
3950
  ).replace(
@@ -3969,7 +3971,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3969
3971
  pe
3970
3972
  ))) {
3971
3973
  const ge = {
3972
- instancePath: t + "/body/" + b.replace(
3974
+ instancePath: t + "/body/" + w.replace(
3973
3975
  /~/g,
3974
3976
  "~0"
3975
3977
  ).replace(
@@ -3993,7 +3995,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3993
3995
  }
3994
3996
  } else {
3995
3997
  const Y = {
3996
- instancePath: t + "/body/" + b.replace(
3998
+ instancePath: t + "/body/" + w.replace(
3997
3999
  /~/g,
3998
4000
  "~0"
3999
4001
  ).replace(
@@ -4024,7 +4026,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4024
4026
  C
4025
4027
  ))) {
4026
4028
  const Y = {
4027
- instancePath: t + "/body/" + b.replace(
4029
+ instancePath: t + "/body/" + w.replace(
4028
4030
  /~/g,
4029
4031
  "~0"
4030
4032
  ).replace(
@@ -4055,7 +4057,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4055
4057
  C
4056
4058
  ))) {
4057
4059
  const Y = {
4058
- instancePath: t + "/body/" + b.replace(
4060
+ instancePath: t + "/body/" + w.replace(
4059
4061
  /~/g,
4060
4062
  "~0"
4061
4063
  ).replace(
@@ -4086,7 +4088,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4086
4088
  C
4087
4089
  ))) {
4088
4090
  const Y = {
4089
- instancePath: t + "/body/" + b.replace(
4091
+ instancePath: t + "/body/" + w.replace(
4090
4092
  /~/g,
4091
4093
  "~0"
4092
4094
  ).replace(
@@ -4116,7 +4118,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4116
4118
  }
4117
4119
  } else {
4118
4120
  const te = {
4119
- instancePath: t + "/body/" + b.replace(
4121
+ instancePath: t + "/body/" + w.replace(
4120
4122
  /~/g,
4121
4123
  "~0"
4122
4124
  ).replace(
@@ -4136,8 +4138,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4136
4138
  te
4137
4139
  ), e++;
4138
4140
  }
4139
- var E = F === e;
4140
- if (R = R || E, !R) {
4141
+ var $ = F === e;
4142
+ if (R = R || $, !R) {
4141
4143
  const te = e;
4142
4144
  if (e === te)
4143
4145
  if (l && typeof l == "object" && !Array.isArray(
@@ -4146,7 +4148,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4146
4148
  let C;
4147
4149
  if (l.lastModified === void 0 && (C = "lastModified") || l.name === void 0 && (C = "name") || l.size === void 0 && (C = "size") || l.type === void 0 && (C = "type") || l.webkitRelativePath === void 0 && (C = "webkitRelativePath")) {
4148
4150
  const B = {
4149
- instancePath: t + "/body/" + b.replace(
4151
+ instancePath: t + "/body/" + w.replace(
4150
4152
  /~/g,
4151
4153
  "~0"
4152
4154
  ).replace(
@@ -4170,7 +4172,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4170
4172
  for (const Q in l)
4171
4173
  if (!(Q === "size" || Q === "type" || Q === "lastModified" || Q === "name" || Q === "webkitRelativePath")) {
4172
4174
  const Y = {
4173
- instancePath: t + "/body/" + b.replace(
4175
+ instancePath: t + "/body/" + w.replace(
4174
4176
  /~/g,
4175
4177
  "~0"
4176
4178
  ).replace(
@@ -4199,7 +4201,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4199
4201
  Q
4200
4202
  ))) {
4201
4203
  const oe = {
4202
- instancePath: t + "/body/" + b.replace(
4204
+ instancePath: t + "/body/" + w.replace(
4203
4205
  /~/g,
4204
4206
  "~0"
4205
4207
  ).replace(
@@ -4219,15 +4221,15 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4219
4221
  oe
4220
4222
  ), e++;
4221
4223
  }
4222
- var y = Y === e;
4224
+ var m = Y === e;
4223
4225
  } else
4224
- var y = !0;
4225
- if (y) {
4226
+ var m = !0;
4227
+ if (m) {
4226
4228
  if (l.type !== void 0) {
4227
4229
  const Q = e;
4228
4230
  if (typeof l.type != "string") {
4229
4231
  const oe = {
4230
- instancePath: t + "/body/" + b.replace(
4232
+ instancePath: t + "/body/" + w.replace(
4231
4233
  /~/g,
4232
4234
  "~0"
4233
4235
  ).replace(
@@ -4247,10 +4249,10 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4247
4249
  oe
4248
4250
  ), e++;
4249
4251
  }
4250
- var y = Q === e;
4252
+ var m = Q === e;
4251
4253
  } else
4252
- var y = !0;
4253
- if (y) {
4254
+ var m = !0;
4255
+ if (m) {
4254
4256
  if (l.lastModified !== void 0) {
4255
4257
  let Q = l.lastModified;
4256
4258
  const Y = e;
@@ -4258,7 +4260,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4258
4260
  Q
4259
4261
  ))) {
4260
4262
  const pe = {
4261
- instancePath: t + "/body/" + b.replace(
4263
+ instancePath: t + "/body/" + w.replace(
4262
4264
  /~/g,
4263
4265
  "~0"
4264
4266
  ).replace(
@@ -4278,15 +4280,15 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4278
4280
  pe
4279
4281
  ), e++;
4280
4282
  }
4281
- var y = Y === e;
4283
+ var m = Y === e;
4282
4284
  } else
4283
- var y = !0;
4284
- if (y) {
4285
+ var m = !0;
4286
+ if (m) {
4285
4287
  if (l.name !== void 0) {
4286
4288
  const Q = e;
4287
4289
  if (typeof l.name != "string") {
4288
4290
  const oe = {
4289
- instancePath: t + "/body/" + b.replace(
4291
+ instancePath: t + "/body/" + w.replace(
4290
4292
  /~/g,
4291
4293
  "~0"
4292
4294
  ).replace(
@@ -4306,15 +4308,15 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4306
4308
  oe
4307
4309
  ), e++;
4308
4310
  }
4309
- var y = Q === e;
4311
+ var m = Q === e;
4310
4312
  } else
4311
- var y = !0;
4312
- if (y)
4313
+ var m = !0;
4314
+ if (m)
4313
4315
  if (l.webkitRelativePath !== void 0) {
4314
4316
  const Q = e;
4315
4317
  if (typeof l.webkitRelativePath != "string") {
4316
4318
  const oe = {
4317
- instancePath: t + "/body/" + b.replace(
4319
+ instancePath: t + "/body/" + w.replace(
4318
4320
  /~/g,
4319
4321
  "~0"
4320
4322
  ).replace(
@@ -4334,9 +4336,9 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4334
4336
  oe
4335
4337
  ), e++;
4336
4338
  }
4337
- var y = Q === e;
4339
+ var m = Q === e;
4338
4340
  } else
4339
- var y = !0;
4341
+ var m = !0;
4340
4342
  }
4341
4343
  }
4342
4344
  }
@@ -4344,7 +4346,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4344
4346
  }
4345
4347
  } else {
4346
4348
  const C = {
4347
- instancePath: t + "/body/" + b.replace(
4349
+ instancePath: t + "/body/" + w.replace(
4348
4350
  /~/g,
4349
4351
  "~0"
4350
4352
  ).replace(
@@ -4364,15 +4366,15 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4364
4366
  C
4365
4367
  ), e++;
4366
4368
  }
4367
- var E = te === e;
4368
- R = R || E;
4369
+ var $ = te === e;
4370
+ R = R || $;
4369
4371
  }
4370
4372
  }
4371
4373
  if (R)
4372
4374
  e = A, i !== null && (A ? i.length = A : i = null);
4373
4375
  else {
4374
4376
  const F = {
4375
- instancePath: t + "/body/" + b.replace(
4377
+ instancePath: t + "/body/" + w.replace(
4376
4378
  /~/g,
4377
4379
  "~0"
4378
4380
  ).replace(
@@ -4395,7 +4397,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4395
4397
  break;
4396
4398
  }
4397
4399
  else {
4398
- const b = {
4400
+ const w = {
4399
4401
  instancePath: t + "/body",
4400
4402
  schemaPath: "#/properties/body/anyOf/2/type",
4401
4403
  keyword: "type",
@@ -4404,23 +4406,23 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4404
4406
  },
4405
4407
  message: "must be object"
4406
4408
  };
4407
- i === null ? i = [b] : i.push(b), e++;
4409
+ i === null ? i = [w] : i.push(w), e++;
4408
4410
  }
4409
- var x = w === e;
4411
+ var x = b === e;
4410
4412
  u = u || x;
4411
4413
  }
4412
4414
  }
4413
4415
  if (u)
4414
- e = T, i !== null && (T ? i.length = T : i = null);
4416
+ e = E, i !== null && (E ? i.length = E : i = null);
4415
4417
  else {
4416
- const m = {
4418
+ const y = {
4417
4419
  instancePath: t + "/body",
4418
4420
  schemaPath: "#/properties/body/anyOf",
4419
4421
  keyword: "anyOf",
4420
4422
  params: {},
4421
4423
  message: "must match a schema in anyOf"
4422
4424
  };
4423
- return i === null ? i = [m] : i.push(m), e++, ce.errors = i, !1;
4425
+ return i === null ? i = [y] : i.push(y), e++, ce.errors = i, !1;
4424
4426
  }
4425
4427
  var d = M === e;
4426
4428
  } else
@@ -4441,7 +4443,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4441
4443
  ], !1;
4442
4444
  return ce.errors = i, e === 0;
4443
4445
  }
4444
- const Lt = {
4446
+ const Ft = {
4445
4447
  type: "object",
4446
4448
  properties: {
4447
4449
  relativeUri: {
@@ -4512,20 +4514,20 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4512
4514
  if (e === 0)
4513
4515
  if (r && typeof r == "object" && !Array.isArray(r)) {
4514
4516
  const N = e;
4515
- for (const y in r)
4516
- if (!qr.call(Lt.properties, y))
4517
+ for (const m in r)
4518
+ if (!qr.call(Ft.properties, m))
4517
4519
  return ne.errors = [
4518
4520
  {
4519
4521
  instancePath: t,
4520
4522
  schemaPath: "#/additionalProperties",
4521
4523
  keyword: "additionalProperties",
4522
- params: { additionalProperty: y },
4524
+ params: { additionalProperty: m },
4523
4525
  message: "must NOT have additional properties"
4524
4526
  }
4525
4527
  ], !1;
4526
4528
  if (N === e) {
4527
4529
  if (r.relativeUri !== void 0) {
4528
- const y = e;
4530
+ const m = e;
4529
4531
  if (typeof r.relativeUri != "string")
4530
4532
  return ne.errors = [
4531
4533
  {
@@ -4536,12 +4538,12 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4536
4538
  message: "must be string"
4537
4539
  }
4538
4540
  ], !1;
4539
- var d = y === e;
4541
+ var d = m === e;
4540
4542
  } else
4541
4543
  var d = !0;
4542
4544
  if (d) {
4543
4545
  if (r.scriptPath !== void 0) {
4544
- const y = e;
4546
+ const m = e;
4545
4547
  if (typeof r.scriptPath != "string")
4546
4548
  return ne.errors = [
4547
4549
  {
@@ -4552,12 +4554,12 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4552
4554
  message: "must be string"
4553
4555
  }
4554
4556
  ], !1;
4555
- var d = y === e;
4557
+ var d = m === e;
4556
4558
  } else
4557
4559
  var d = !0;
4558
4560
  if (d) {
4559
4561
  if (r.protocol !== void 0) {
4560
- const y = e;
4562
+ const m = e;
4561
4563
  if (typeof r.protocol != "string")
4562
4564
  return ne.errors = [
4563
4565
  {
@@ -4568,14 +4570,14 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4568
4570
  message: "must be string"
4569
4571
  }
4570
4572
  ], !1;
4571
- var d = y === e;
4573
+ var d = m === e;
4572
4574
  } else
4573
4575
  var d = !0;
4574
4576
  if (d) {
4575
4577
  if (r.method !== void 0) {
4576
- let y = r.method;
4578
+ let m = r.method;
4577
4579
  const I = e;
4578
- if (typeof y != "string")
4580
+ if (typeof m != "string")
4579
4581
  return ne.errors = [
4580
4582
  {
4581
4583
  instancePath: t + "/method",
@@ -4585,7 +4587,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4585
4587
  message: "must be string"
4586
4588
  }
4587
4589
  ], !1;
4588
- if (!(y === "GET" || y === "POST" || y === "HEAD" || y === "OPTIONS" || y === "PATCH" || y === "PUT" || y === "DELETE"))
4590
+ if (!(m === "GET" || m === "POST" || m === "HEAD" || m === "OPTIONS" || m === "PATCH" || m === "PUT" || m === "DELETE"))
4589
4591
  return ne.errors = [
4590
4592
  {
4591
4593
  instancePath: t + "/method",
@@ -4602,13 +4604,13 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4602
4604
  var d = !0;
4603
4605
  if (d) {
4604
4606
  if (r.headers !== void 0) {
4605
- let y = r.headers;
4607
+ let m = r.headers;
4606
4608
  const I = e;
4607
4609
  if (e === e)
4608
- if (y && typeof y == "object" && !Array.isArray(y))
4609
- for (const _ in y) {
4610
+ if (m && typeof m == "object" && !Array.isArray(m))
4611
+ for (const _ in m) {
4610
4612
  const M = e;
4611
- if (typeof y[_] != "string")
4613
+ if (typeof m[_] != "string")
4612
4614
  return ne.errors = [
4613
4615
  {
4614
4616
  instancePath: t + "/headers/" + _.replace(
@@ -4645,48 +4647,48 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4645
4647
  var d = !0;
4646
4648
  if (d) {
4647
4649
  if (r.body !== void 0) {
4648
- let y = r.body;
4650
+ let m = r.body;
4649
4651
  const I = e, U = e;
4650
4652
  let Z = !1;
4651
4653
  const _ = e;
4652
- if (typeof y != "string") {
4653
- const T = {
4654
+ if (typeof m != "string") {
4655
+ const E = {
4654
4656
  instancePath: t + "/body",
4655
4657
  schemaPath: "#/properties/body/anyOf/0/type",
4656
4658
  keyword: "type",
4657
4659
  params: { type: "string" },
4658
4660
  message: "must be string"
4659
4661
  };
4660
- i === null ? i = [T] : i.push(T), e++;
4662
+ i === null ? i = [E] : i.push(E), e++;
4661
4663
  }
4662
4664
  var x = _ === e;
4663
4665
  if (Z = Z || x, !Z) {
4664
- const T = e;
4665
- if (e === T)
4666
- if (y && typeof y == "object" && !Array.isArray(y)) {
4667
- let O;
4668
- if (y.BYTES_PER_ELEMENT === void 0 && (O = "BYTES_PER_ELEMENT") || y.buffer === void 0 && (O = "buffer") || y.byteLength === void 0 && (O = "byteLength") || y.byteOffset === void 0 && (O = "byteOffset") || y.length === void 0 && (O = "length")) {
4666
+ const E = e;
4667
+ if (e === E)
4668
+ if (m && typeof m == "object" && !Array.isArray(m)) {
4669
+ let T;
4670
+ if (m.BYTES_PER_ELEMENT === void 0 && (T = "BYTES_PER_ELEMENT") || m.buffer === void 0 && (T = "buffer") || m.byteLength === void 0 && (T = "byteLength") || m.byteOffset === void 0 && (T = "byteOffset") || m.length === void 0 && (T = "length")) {
4669
4671
  const z = {
4670
4672
  instancePath: t + "/body",
4671
4673
  schemaPath: "#/properties/body/anyOf/1/required",
4672
4674
  keyword: "required",
4673
4675
  params: {
4674
- missingProperty: O
4676
+ missingProperty: T
4675
4677
  },
4676
- message: "must have required property '" + O + "'"
4678
+ message: "must have required property '" + T + "'"
4677
4679
  };
4678
4680
  i === null ? i = [z] : i.push(z), e++;
4679
4681
  } else {
4680
4682
  const z = e;
4681
- for (const m in y)
4682
- if (!(m === "BYTES_PER_ELEMENT" || m === "buffer" || m === "byteLength" || m === "byteOffset" || m === "length")) {
4683
- let v = y[m];
4684
- const w = e;
4683
+ for (const y in m)
4684
+ if (!(y === "BYTES_PER_ELEMENT" || y === "buffer" || y === "byteLength" || y === "byteOffset" || y === "length")) {
4685
+ let v = m[y];
4686
+ const b = e;
4685
4687
  if (!(typeof v == "number" && isFinite(
4686
4688
  v
4687
4689
  ))) {
4688
- const q = {
4689
- instancePath: t + "/body/" + m.replace(
4690
+ const j = {
4691
+ instancePath: t + "/body/" + y.replace(
4690
4692
  /~/g,
4691
4693
  "~0"
4692
4694
  ).replace(
@@ -4701,23 +4703,23 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4701
4703
  message: "must be number"
4702
4704
  };
4703
4705
  i === null ? i = [
4704
- q
4706
+ j
4705
4707
  ] : i.push(
4706
- q
4708
+ j
4707
4709
  ), e++;
4708
4710
  }
4709
- var j = w === e;
4710
- if (!j)
4711
+ var q = b === e;
4712
+ if (!q)
4711
4713
  break;
4712
4714
  }
4713
4715
  if (z === e) {
4714
- if (y.BYTES_PER_ELEMENT !== void 0) {
4715
- let m = y.BYTES_PER_ELEMENT;
4716
+ if (m.BYTES_PER_ELEMENT !== void 0) {
4717
+ let y = m.BYTES_PER_ELEMENT;
4716
4718
  const v = e;
4717
- if (!(typeof m == "number" && isFinite(
4718
- m
4719
+ if (!(typeof y == "number" && isFinite(
4720
+ y
4719
4721
  ))) {
4720
- const w = {
4722
+ const b = {
4721
4723
  instancePath: t + "/body/BYTES_PER_ELEMENT",
4722
4724
  schemaPath: "#/properties/body/anyOf/1/properties/BYTES_PER_ELEMENT/type",
4723
4725
  keyword: "type",
@@ -4727,41 +4729,41 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4727
4729
  message: "must be number"
4728
4730
  };
4729
4731
  i === null ? i = [
4730
- w
4732
+ b
4731
4733
  ] : i.push(
4732
- w
4734
+ b
4733
4735
  ), e++;
4734
4736
  }
4735
4737
  var P = v === e;
4736
4738
  } else
4737
4739
  var P = !0;
4738
4740
  if (P) {
4739
- if (y.buffer !== void 0) {
4740
- let m = y.buffer;
4741
+ if (m.buffer !== void 0) {
4742
+ let y = m.buffer;
4741
4743
  const v = e;
4742
4744
  if (e === v)
4743
- if (m && typeof m == "object" && !Array.isArray(
4744
- m
4745
+ if (y && typeof y == "object" && !Array.isArray(
4746
+ y
4745
4747
  )) {
4746
- let q;
4747
- if (m.byteLength === void 0 && (q = "byteLength")) {
4748
- const b = {
4748
+ let j;
4749
+ if (y.byteLength === void 0 && (j = "byteLength")) {
4750
+ const w = {
4749
4751
  instancePath: t + "/body/buffer",
4750
4752
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
4751
4753
  keyword: "required",
4752
4754
  params: {
4753
- missingProperty: q
4755
+ missingProperty: j
4754
4756
  },
4755
- message: "must have required property '" + q + "'"
4757
+ message: "must have required property '" + j + "'"
4756
4758
  };
4757
4759
  i === null ? i = [
4758
- b
4760
+ w
4759
4761
  ] : i.push(
4760
- b
4762
+ w
4761
4763
  ), e++;
4762
4764
  } else {
4763
- const b = e;
4764
- for (const l in m)
4765
+ const w = e;
4766
+ for (const l in y)
4765
4767
  if (l !== "byteLength") {
4766
4768
  const D = {
4767
4769
  instancePath: t + "/body/buffer",
@@ -4779,8 +4781,8 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4779
4781
  ), e++;
4780
4782
  break;
4781
4783
  }
4782
- if (b === e && m.byteLength !== void 0) {
4783
- let l = m.byteLength;
4784
+ if (w === e && y.byteLength !== void 0) {
4785
+ let l = y.byteLength;
4784
4786
  if (!(typeof l == "number" && isFinite(
4785
4787
  l
4786
4788
  ))) {
@@ -4802,7 +4804,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4802
4804
  }
4803
4805
  }
4804
4806
  } else {
4805
- const q = {
4807
+ const j = {
4806
4808
  instancePath: t + "/body/buffer",
4807
4809
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/type",
4808
4810
  keyword: "type",
@@ -4812,22 +4814,22 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4812
4814
  message: "must be object"
4813
4815
  };
4814
4816
  i === null ? i = [
4815
- q
4817
+ j
4816
4818
  ] : i.push(
4817
- q
4819
+ j
4818
4820
  ), e++;
4819
4821
  }
4820
4822
  var P = v === e;
4821
4823
  } else
4822
4824
  var P = !0;
4823
4825
  if (P) {
4824
- if (y.byteLength !== void 0) {
4825
- let m = y.byteLength;
4826
+ if (m.byteLength !== void 0) {
4827
+ let y = m.byteLength;
4826
4828
  const v = e;
4827
- if (!(typeof m == "number" && isFinite(
4828
- m
4829
+ if (!(typeof y == "number" && isFinite(
4830
+ y
4829
4831
  ))) {
4830
- const q = {
4832
+ const j = {
4831
4833
  instancePath: t + "/body/byteLength",
4832
4834
  schemaPath: "#/properties/body/anyOf/1/properties/byteLength/type",
4833
4835
  keyword: "type",
@@ -4837,22 +4839,22 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4837
4839
  message: "must be number"
4838
4840
  };
4839
4841
  i === null ? i = [
4840
- q
4842
+ j
4841
4843
  ] : i.push(
4842
- q
4844
+ j
4843
4845
  ), e++;
4844
4846
  }
4845
4847
  var P = v === e;
4846
4848
  } else
4847
4849
  var P = !0;
4848
4850
  if (P) {
4849
- if (y.byteOffset !== void 0) {
4850
- let m = y.byteOffset;
4851
+ if (m.byteOffset !== void 0) {
4852
+ let y = m.byteOffset;
4851
4853
  const v = e;
4852
- if (!(typeof m == "number" && isFinite(
4853
- m
4854
+ if (!(typeof y == "number" && isFinite(
4855
+ y
4854
4856
  ))) {
4855
- const q = {
4857
+ const j = {
4856
4858
  instancePath: t + "/body/byteOffset",
4857
4859
  schemaPath: "#/properties/body/anyOf/1/properties/byteOffset/type",
4858
4860
  keyword: "type",
@@ -4862,22 +4864,22 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4862
4864
  message: "must be number"
4863
4865
  };
4864
4866
  i === null ? i = [
4865
- q
4867
+ j
4866
4868
  ] : i.push(
4867
- q
4869
+ j
4868
4870
  ), e++;
4869
4871
  }
4870
4872
  var P = v === e;
4871
4873
  } else
4872
4874
  var P = !0;
4873
4875
  if (P)
4874
- if (y.length !== void 0) {
4875
- let m = y.length;
4876
+ if (m.length !== void 0) {
4877
+ let y = m.length;
4876
4878
  const v = e;
4877
- if (!(typeof m == "number" && isFinite(
4878
- m
4879
+ if (!(typeof y == "number" && isFinite(
4880
+ y
4879
4881
  ))) {
4880
- const q = {
4882
+ const j = {
4881
4883
  instancePath: t + "/body/length",
4882
4884
  schemaPath: "#/properties/body/anyOf/1/properties/length/type",
4883
4885
  keyword: "type",
@@ -4887,9 +4889,9 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4887
4889
  message: "must be number"
4888
4890
  };
4889
4891
  i === null ? i = [
4890
- q
4892
+ j
4891
4893
  ] : i.push(
4892
- q
4894
+ j
4893
4895
  ), e++;
4894
4896
  }
4895
4897
  var P = v === e;
@@ -4901,7 +4903,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4901
4903
  }
4902
4904
  }
4903
4905
  } else {
4904
- const O = {
4906
+ const T = {
4905
4907
  instancePath: t + "/body",
4906
4908
  schemaPath: "#/properties/body/anyOf/1/type",
4907
4909
  keyword: "type",
@@ -4910,35 +4912,35 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4910
4912
  },
4911
4913
  message: "must be object"
4912
4914
  };
4913
- i === null ? i = [O] : i.push(O), e++;
4915
+ i === null ? i = [T] : i.push(T), e++;
4914
4916
  }
4915
- var x = T === e;
4917
+ var x = E === e;
4916
4918
  Z = Z || x;
4917
4919
  }
4918
4920
  if (Z)
4919
4921
  e = U, i !== null && (U ? i.length = U : i = null);
4920
4922
  else {
4921
- const T = {
4923
+ const E = {
4922
4924
  instancePath: t + "/body",
4923
4925
  schemaPath: "#/properties/body/anyOf",
4924
4926
  keyword: "anyOf",
4925
4927
  params: {},
4926
4928
  message: "must match a schema in anyOf"
4927
4929
  };
4928
- return i === null ? i = [T] : i.push(T), e++, ne.errors = i, !1;
4930
+ return i === null ? i = [E] : i.push(E), e++, ne.errors = i, !1;
4929
4931
  }
4930
4932
  var d = I === e;
4931
4933
  } else
4932
4934
  var d = !0;
4933
4935
  if (d) {
4934
4936
  if (r.env !== void 0) {
4935
- let y = r.env;
4937
+ let m = r.env;
4936
4938
  const I = e;
4937
4939
  if (e === I)
4938
- if (y && typeof y == "object" && !Array.isArray(y))
4939
- for (const Z in y) {
4940
+ if (m && typeof m == "object" && !Array.isArray(m))
4941
+ for (const Z in m) {
4940
4942
  const _ = e;
4941
- if (typeof y[Z] != "string")
4943
+ if (typeof m[Z] != "string")
4942
4944
  return ne.errors = [
4943
4945
  {
4944
4946
  instancePath: t + "/env/" + Z.replace(
@@ -4956,8 +4958,8 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4956
4958
  message: "must be string"
4957
4959
  }
4958
4960
  ], !1;
4959
- var E = _ === e;
4960
- if (!E)
4961
+ var $ = _ === e;
4962
+ if (!$)
4961
4963
  break;
4962
4964
  }
4963
4965
  else
@@ -4977,13 +4979,13 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4977
4979
  var d = !0;
4978
4980
  if (d) {
4979
4981
  if (r.$_SERVER !== void 0) {
4980
- let y = r.$_SERVER;
4982
+ let m = r.$_SERVER;
4981
4983
  const I = e;
4982
4984
  if (e === I)
4983
- if (y && typeof y == "object" && !Array.isArray(y))
4984
- for (const Z in y) {
4985
+ if (m && typeof m == "object" && !Array.isArray(m))
4986
+ for (const Z in m) {
4985
4987
  const _ = e;
4986
- if (typeof y[Z] != "string")
4988
+ if (typeof m[Z] != "string")
4987
4989
  return ne.errors = [
4988
4990
  {
4989
4991
  instancePath: t + "/$_SERVER/" + Z.replace(
@@ -5022,7 +5024,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
5022
5024
  var d = !0;
5023
5025
  if (d)
5024
5026
  if (r.code !== void 0) {
5025
- const y = e;
5027
+ const m = e;
5026
5028
  if (typeof r.code != "string")
5027
5029
  return ne.errors = [
5028
5030
  {
@@ -5035,7 +5037,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
5035
5037
  message: "must be string"
5036
5038
  }
5037
5039
  ], !1;
5038
- var d = y === e;
5040
+ var d = m === e;
5039
5041
  } else
5040
5042
  var d = !0;
5041
5043
  }
@@ -5130,7 +5132,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5130
5132
  if (k === e) {
5131
5133
  if (s.weight !== void 0) {
5132
5134
  let n = s.weight;
5133
- const $ = e;
5135
+ const O = e;
5134
5136
  if (!(typeof n == "number" && isFinite(
5135
5137
  n
5136
5138
  )))
@@ -5145,7 +5147,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5145
5147
  message: "must be number"
5146
5148
  }
5147
5149
  ], !1;
5148
- var d = $ === e;
5150
+ var d = O === e;
5149
5151
  } else
5150
5152
  var d = !0;
5151
5153
  if (d)
@@ -5317,7 +5319,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5317
5319
  if (k === e) {
5318
5320
  if (s.weight !== void 0) {
5319
5321
  let n = s.weight;
5320
- const $ = e;
5322
+ const O = e;
5321
5323
  if (!(typeof n == "number" && isFinite(
5322
5324
  n
5323
5325
  )))
@@ -5332,7 +5334,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5332
5334
  message: "must be number"
5333
5335
  }
5334
5336
  ], !1;
5335
- var x = $ === e;
5337
+ var x = O === e;
5336
5338
  } else
5337
5339
  var x = !0;
5338
5340
  if (x)
@@ -5366,10 +5368,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5366
5368
  message: "must be object"
5367
5369
  }
5368
5370
  ], !1;
5369
- var j = a === e;
5371
+ var q = a === e;
5370
5372
  } else
5371
- var j = !0;
5372
- if (j) {
5373
+ var q = !0;
5374
+ if (q) {
5373
5375
  if (r.step !== void 0) {
5374
5376
  let s = r.step;
5375
5377
  const a = e;
@@ -5397,10 +5399,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5397
5399
  message: "must be equal to constant"
5398
5400
  }
5399
5401
  ], !1;
5400
- var j = a === e;
5402
+ var q = a === e;
5401
5403
  } else
5402
- var j = !0;
5403
- if (j)
5404
+ var q = !0;
5405
+ if (q)
5404
5406
  if (r.themeFolderName !== void 0) {
5405
5407
  const s = e;
5406
5408
  if (typeof r.themeFolderName != "string")
@@ -5415,9 +5417,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5415
5417
  message: "must be string"
5416
5418
  }
5417
5419
  ], !1;
5418
- var j = s === e;
5420
+ var q = s === e;
5419
5421
  } else
5420
- var j = !0;
5422
+ var q = !0;
5421
5423
  }
5422
5424
  }
5423
5425
  }
@@ -5485,7 +5487,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5485
5487
  if (k === e) {
5486
5488
  if (s.weight !== void 0) {
5487
5489
  let n = s.weight;
5488
- const $ = e;
5490
+ const O = e;
5489
5491
  if (!(typeof n == "number" && isFinite(
5490
5492
  n
5491
5493
  )))
@@ -5500,7 +5502,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5500
5502
  message: "must be number"
5501
5503
  }
5502
5504
  ], !1;
5503
- var P = $ === e;
5505
+ var P = O === e;
5504
5506
  } else
5505
5507
  var P = !0;
5506
5508
  if (P)
@@ -5534,10 +5536,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5534
5536
  message: "must be object"
5535
5537
  }
5536
5538
  ], !1;
5537
- var E = a === e;
5539
+ var $ = a === e;
5538
5540
  } else
5539
- var E = !0;
5540
- if (E) {
5541
+ var $ = !0;
5542
+ if ($) {
5541
5543
  if (r.step !== void 0) {
5542
5544
  let s = r.step;
5543
5545
  const a = e;
@@ -5565,10 +5567,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5565
5567
  message: "must be equal to constant"
5566
5568
  }
5567
5569
  ], !1;
5568
- var E = a === e;
5570
+ var $ = a === e;
5569
5571
  } else
5570
- var E = !0;
5571
- if (E) {
5572
+ var $ = !0;
5573
+ if ($) {
5572
5574
  if (r.fromPath !== void 0) {
5573
5575
  const s = e;
5574
5576
  if (typeof r.fromPath != "string")
@@ -5583,10 +5585,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5583
5585
  message: "must be string"
5584
5586
  }
5585
5587
  ], !1;
5586
- var E = s === e;
5588
+ var $ = s === e;
5587
5589
  } else
5588
- var E = !0;
5589
- if (E)
5590
+ var $ = !0;
5591
+ if ($)
5590
5592
  if (r.toPath !== void 0) {
5591
5593
  const s = e;
5592
5594
  if (typeof r.toPath != "string")
@@ -5601,9 +5603,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5601
5603
  message: "must be string"
5602
5604
  }
5603
5605
  ], !1;
5604
- var E = s === e;
5606
+ var $ = s === e;
5605
5607
  } else
5606
- var E = !0;
5608
+ var $ = !0;
5607
5609
  }
5608
5610
  }
5609
5611
  }
@@ -5672,7 +5674,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5672
5674
  if (k === e) {
5673
5675
  if (s.weight !== void 0) {
5674
5676
  let n = s.weight;
5675
- const $ = e;
5677
+ const O = e;
5676
5678
  if (!(typeof n == "number" && isFinite(
5677
5679
  n
5678
5680
  )))
@@ -5687,7 +5689,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5687
5689
  message: "must be number"
5688
5690
  }
5689
5691
  ], !1;
5690
- var L = $ === e;
5692
+ var L = O === e;
5691
5693
  } else
5692
5694
  var L = !0;
5693
5695
  if (L)
@@ -5894,7 +5896,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5894
5896
  if (k === e) {
5895
5897
  if (s.weight !== void 0) {
5896
5898
  let n = s.weight;
5897
- const $ = e;
5899
+ const O = e;
5898
5900
  if (!(typeof n == "number" && isFinite(
5899
5901
  n
5900
5902
  )))
@@ -5909,10 +5911,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5909
5911
  message: "must be number"
5910
5912
  }
5911
5913
  ], !1;
5912
- var y = $ === e;
5914
+ var m = O === e;
5913
5915
  } else
5914
- var y = !0;
5915
- if (y)
5916
+ var m = !0;
5917
+ if (m)
5916
5918
  if (s.caption !== void 0) {
5917
5919
  const n = e;
5918
5920
  if (typeof s.caption != "string")
@@ -5927,9 +5929,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5927
5929
  message: "must be string"
5928
5930
  }
5929
5931
  ], !1;
5930
- var y = n === e;
5932
+ var m = n === e;
5931
5933
  } else
5932
- var y = !0;
5934
+ var m = !0;
5933
5935
  }
5934
5936
  } else
5935
5937
  return o.errors = [
@@ -6062,7 +6064,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6062
6064
  if (k === e) {
6063
6065
  if (s.weight !== void 0) {
6064
6066
  let n = s.weight;
6065
- const $ = e;
6067
+ const O = e;
6066
6068
  if (!(typeof n == "number" && isFinite(
6067
6069
  n
6068
6070
  )))
@@ -6077,7 +6079,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6077
6079
  message: "must be number"
6078
6080
  }
6079
6081
  ], !1;
6080
- var U = $ === e;
6082
+ var U = O === e;
6081
6083
  } else
6082
6084
  var U = !0;
6083
6085
  if (U)
@@ -6230,7 +6232,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6230
6232
  if (k === e) {
6231
6233
  if (s.weight !== void 0) {
6232
6234
  let n = s.weight;
6233
- const $ = e;
6235
+ const O = e;
6234
6236
  if (!(typeof n == "number" && isFinite(
6235
6237
  n
6236
6238
  )))
@@ -6245,7 +6247,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6245
6247
  message: "must be number"
6246
6248
  }
6247
6249
  ], !1;
6248
- var _ = $ === e;
6250
+ var _ = O === e;
6249
6251
  } else
6250
6252
  var _ = !0;
6251
6253
  if (_)
@@ -6394,7 +6396,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6394
6396
  if (k === e) {
6395
6397
  if (s.weight !== void 0) {
6396
6398
  let n = s.weight;
6397
- const $ = e;
6399
+ const O = e;
6398
6400
  if (!(typeof n == "number" && isFinite(
6399
6401
  n
6400
6402
  )))
@@ -6409,10 +6411,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6409
6411
  message: "must be number"
6410
6412
  }
6411
6413
  ], !1;
6412
- var T = $ === e;
6414
+ var E = O === e;
6413
6415
  } else
6414
- var T = !0;
6415
- if (T)
6416
+ var E = !0;
6417
+ if (E)
6416
6418
  if (s.caption !== void 0) {
6417
6419
  const n = e;
6418
6420
  if (typeof s.caption != "string")
@@ -6427,9 +6429,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6427
6429
  message: "must be string"
6428
6430
  }
6429
6431
  ], !1;
6430
- var T = n === e;
6432
+ var E = n === e;
6431
6433
  } else
6432
- var T = !0;
6434
+ var E = !0;
6433
6435
  }
6434
6436
  } else
6435
6437
  return o.errors = [
@@ -6562,7 +6564,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6562
6564
  if (k === e) {
6563
6565
  if (s.weight !== void 0) {
6564
6566
  let n = s.weight;
6565
- const $ = e;
6567
+ const O = e;
6566
6568
  if (!(typeof n == "number" && isFinite(
6567
6569
  n
6568
6570
  )))
@@ -6577,10 +6579,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6577
6579
  message: "must be number"
6578
6580
  }
6579
6581
  ], !1;
6580
- var O = $ === e;
6582
+ var T = O === e;
6581
6583
  } else
6582
- var O = !0;
6583
- if (O)
6584
+ var T = !0;
6585
+ if (T)
6584
6586
  if (s.caption !== void 0) {
6585
6587
  const n = e;
6586
6588
  if (typeof s.caption != "string")
@@ -6595,9 +6597,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6595
6597
  message: "must be string"
6596
6598
  }
6597
6599
  ], !1;
6598
- var O = n === e;
6600
+ var T = n === e;
6599
6601
  } else
6600
- var O = !0;
6602
+ var T = !0;
6601
6603
  }
6602
6604
  } else
6603
6605
  return o.errors = [
@@ -6748,7 +6750,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6748
6750
  if (k === e) {
6749
6751
  if (s.weight !== void 0) {
6750
6752
  let n = s.weight;
6751
- const $ = e;
6753
+ const O = e;
6752
6754
  if (!(typeof n == "number" && isFinite(
6753
6755
  n
6754
6756
  )))
@@ -6763,10 +6765,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6763
6765
  message: "must be number"
6764
6766
  }
6765
6767
  ], !1;
6766
- var m = $ === e;
6768
+ var y = O === e;
6767
6769
  } else
6768
- var m = !0;
6769
- if (m)
6770
+ var y = !0;
6771
+ if (y)
6770
6772
  if (s.caption !== void 0) {
6771
6773
  const n = e;
6772
6774
  if (typeof s.caption != "string")
@@ -6781,9 +6783,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6781
6783
  message: "must be string"
6782
6784
  }
6783
6785
  ], !1;
6784
- var m = n === e;
6786
+ var y = n === e;
6785
6787
  } else
6786
- var m = !0;
6788
+ var y = !0;
6787
6789
  }
6788
6790
  } else
6789
6791
  return o.errors = [
@@ -6867,7 +6869,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6867
6869
  let s = r.pluginData;
6868
6870
  const a = e, k = e;
6869
6871
  let n = !1;
6870
- const $ = e;
6872
+ const O = e;
6871
6873
  J(
6872
6874
  s,
6873
6875
  {
@@ -6879,8 +6881,8 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6879
6881
  ) || (i = i === null ? J.errors : i.concat(
6880
6882
  J.errors
6881
6883
  ), e = i.length);
6882
- var w = $ === e;
6883
- if (n = n || w, !n) {
6884
+ var b = O === e;
6885
+ if (n = n || b, !n) {
6884
6886
  const se = e;
6885
6887
  he(
6886
6888
  s,
@@ -6893,8 +6895,8 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6893
6895
  ) || (i = i === null ? he.errors : i.concat(
6894
6896
  he.errors
6895
6897
  ), e = i.length);
6896
- var w = se === e;
6897
- n = n || w;
6898
+ var b = se === e;
6899
+ n = n || b;
6898
6900
  }
6899
6901
  if (n)
6900
6902
  e = k, i !== null && (k ? i.length = k : i = null);
@@ -6940,7 +6942,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6940
6942
  if (s && typeof s == "object" && !Array.isArray(
6941
6943
  s
6942
6944
  )) {
6943
- const $ = e;
6945
+ const O = e;
6944
6946
  for (const re in s)
6945
6947
  if (!(re === "activate" || re === "targetFolderName"))
6946
6948
  return o.errors = [
@@ -6954,7 +6956,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6954
6956
  message: "must NOT have additional properties"
6955
6957
  }
6956
6958
  ], !1;
6957
- if ($ === e) {
6959
+ if (O === e) {
6958
6960
  if (s.activate !== void 0) {
6959
6961
  const re = e;
6960
6962
  if (typeof s.activate != "boolean")
@@ -6969,10 +6971,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6969
6971
  message: "must be boolean"
6970
6972
  }
6971
6973
  ], !1;
6972
- var q = re === e;
6974
+ var j = re === e;
6973
6975
  } else
6974
- var q = !0;
6975
- if (q)
6976
+ var j = !0;
6977
+ if (j)
6976
6978
  if (s.targetFolderName !== void 0) {
6977
6979
  const re = e;
6978
6980
  if (typeof s.targetFolderName != "string")
@@ -6987,9 +6989,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6987
6989
  message: "must be string"
6988
6990
  }
6989
6991
  ], !1;
6990
- var q = re === e;
6992
+ var j = re === e;
6991
6993
  } else
6992
- var q = !0;
6994
+ var j = !0;
6993
6995
  }
6994
6996
  } else
6995
6997
  return o.errors = [
@@ -7076,7 +7078,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7076
7078
  if (k === e) {
7077
7079
  if (s.weight !== void 0) {
7078
7080
  let n = s.weight;
7079
- const $ = e;
7081
+ const O = e;
7080
7082
  if (!(typeof n == "number" && isFinite(
7081
7083
  n
7082
7084
  )))
@@ -7091,10 +7093,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7091
7093
  message: "must be number"
7092
7094
  }
7093
7095
  ], !1;
7094
- var b = $ === e;
7096
+ var w = O === e;
7095
7097
  } else
7096
- var b = !0;
7097
- if (b)
7098
+ var w = !0;
7099
+ if (w)
7098
7100
  if (s.caption !== void 0) {
7099
7101
  const n = e;
7100
7102
  if (typeof s.caption != "string")
@@ -7109,9 +7111,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7109
7111
  message: "must be string"
7110
7112
  }
7111
7113
  ], !1;
7112
- var b = n === e;
7114
+ var w = n === e;
7113
7115
  } else
7114
- var b = !0;
7116
+ var w = !0;
7115
7117
  }
7116
7118
  } else
7117
7119
  return o.errors = [
@@ -7195,7 +7197,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7195
7197
  let s = r.themeData;
7196
7198
  const a = e, k = e;
7197
7199
  let n = !1;
7198
- const $ = e;
7200
+ const O = e;
7199
7201
  J(
7200
7202
  s,
7201
7203
  {
@@ -7207,7 +7209,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7207
7209
  ) || (i = i === null ? J.errors : i.concat(
7208
7210
  J.errors
7209
7211
  ), e = i.length);
7210
- var D = $ === e;
7212
+ var D = O === e;
7211
7213
  if (n = n || D, !n) {
7212
7214
  const se = e;
7213
7215
  he(
@@ -7268,7 +7270,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7268
7270
  if (s && typeof s == "object" && !Array.isArray(
7269
7271
  s
7270
7272
  )) {
7271
- const $ = e;
7273
+ const O = e;
7272
7274
  for (const re in s)
7273
7275
  if (!(re === "activate" || re === "importStarterContent" || re === "targetFolderName"))
7274
7276
  return o.errors = [
@@ -7282,7 +7284,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7282
7284
  message: "must NOT have additional properties"
7283
7285
  }
7284
7286
  ], !1;
7285
- if ($ === e) {
7287
+ if (O === e) {
7286
7288
  if (s.activate !== void 0) {
7287
7289
  const re = e;
7288
7290
  if (typeof s.activate != "boolean")
@@ -7423,7 +7425,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7423
7425
  if (k === e) {
7424
7426
  if (s.weight !== void 0) {
7425
7427
  let n = s.weight;
7426
- const $ = e;
7428
+ const O = e;
7427
7429
  if (!(typeof n == "number" && isFinite(
7428
7430
  n
7429
7431
  )))
@@ -7438,7 +7440,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7438
7440
  message: "must be number"
7439
7441
  }
7440
7442
  ], !1;
7441
- var R = $ === e;
7443
+ var R = O === e;
7442
7444
  } else
7443
7445
  var R = !0;
7444
7446
  if (R)
@@ -7610,7 +7612,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7610
7612
  if (k === e) {
7611
7613
  if (s.weight !== void 0) {
7612
7614
  let n = s.weight;
7613
- const $ = e;
7615
+ const O = e;
7614
7616
  if (!(typeof n == "number" && isFinite(
7615
7617
  n
7616
7618
  )))
@@ -7625,7 +7627,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7625
7627
  message: "must be number"
7626
7628
  }
7627
7629
  ], !1;
7628
- var F = $ === e;
7630
+ var F = O === e;
7629
7631
  } else
7630
7632
  var F = !0;
7631
7633
  if (F)
@@ -7778,7 +7780,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7778
7780
  if (k === e) {
7779
7781
  if (s.weight !== void 0) {
7780
7782
  let n = s.weight;
7781
- const $ = e;
7783
+ const O = e;
7782
7784
  if (!(typeof n == "number" && isFinite(
7783
7785
  n
7784
7786
  )))
@@ -7793,7 +7795,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7793
7795
  message: "must be number"
7794
7796
  }
7795
7797
  ], !1;
7796
- var te = $ === e;
7798
+ var te = O === e;
7797
7799
  } else
7798
7800
  var te = !0;
7799
7801
  if (te)
@@ -7965,7 +7967,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7965
7967
  if (k === e) {
7966
7968
  if (s.weight !== void 0) {
7967
7969
  let n = s.weight;
7968
- const $ = e;
7970
+ const O = e;
7969
7971
  if (!(typeof n == "number" && isFinite(
7970
7972
  n
7971
7973
  )))
@@ -7980,7 +7982,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7980
7982
  message: "must be number"
7981
7983
  }
7982
7984
  ], !1;
7983
- var C = $ === e;
7985
+ var C = O === e;
7984
7986
  } else
7985
7987
  var C = !0;
7986
7988
  if (C)
@@ -8114,7 +8116,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8114
8116
  if (k === e) {
8115
8117
  if (s.weight !== void 0) {
8116
8118
  let n = s.weight;
8117
- const $ = e;
8119
+ const O = e;
8118
8120
  if (!(typeof n == "number" && isFinite(
8119
8121
  n
8120
8122
  )))
@@ -8129,7 +8131,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8129
8131
  message: "must be number"
8130
8132
  }
8131
8133
  ], !1;
8132
- var Q = $ === e;
8134
+ var Q = O === e;
8133
8135
  } else
8134
8136
  var Q = !0;
8135
8137
  if (Q)
@@ -8281,7 +8283,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8281
8283
  if (k === e) {
8282
8284
  if (s.weight !== void 0) {
8283
8285
  let n = s.weight;
8284
- const $ = e;
8286
+ const O = e;
8285
8287
  if (!(typeof n == "number" && isFinite(
8286
8288
  n
8287
8289
  )))
@@ -8296,7 +8298,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8296
8298
  message: "must be number"
8297
8299
  }
8298
8300
  ], !1;
8299
- var oe = $ === e;
8301
+ var oe = O === e;
8300
8302
  } else
8301
8303
  var oe = !0;
8302
8304
  if (oe)
@@ -8449,7 +8451,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8449
8451
  if (k === e) {
8450
8452
  if (s.weight !== void 0) {
8451
8453
  let n = s.weight;
8452
- const $ = e;
8454
+ const O = e;
8453
8455
  if (!(typeof n == "number" && isFinite(
8454
8456
  n
8455
8457
  )))
@@ -8464,7 +8466,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8464
8466
  message: "must be number"
8465
8467
  }
8466
8468
  ], !1;
8467
- var ge = $ === e;
8469
+ var ge = O === e;
8468
8470
  } else
8469
8471
  var ge = !0;
8470
8472
  if (ge)
@@ -8617,7 +8619,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8617
8619
  if (k === e) {
8618
8620
  if (s.weight !== void 0) {
8619
8621
  let n = s.weight;
8620
- const $ = e;
8622
+ const O = e;
8621
8623
  if (!(typeof n == "number" && isFinite(
8622
8624
  n
8623
8625
  )))
@@ -8632,7 +8634,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8632
8634
  message: "must be number"
8633
8635
  }
8634
8636
  ], !1;
8635
- var De = $ === e;
8637
+ var De = O === e;
8636
8638
  } else
8637
8639
  var De = !0;
8638
8640
  if (De)
@@ -8785,7 +8787,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8785
8787
  if (k === e) {
8786
8788
  if (s.weight !== void 0) {
8787
8789
  let n = s.weight;
8788
- const $ = e;
8790
+ const O = e;
8789
8791
  if (!(typeof n == "number" && isFinite(
8790
8792
  n
8791
8793
  )))
@@ -8800,7 +8802,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8800
8802
  message: "must be number"
8801
8803
  }
8802
8804
  ], !1;
8803
- var xe = $ === e;
8805
+ var xe = O === e;
8804
8806
  } else
8805
8807
  var xe = !0;
8806
8808
  if (xe)
@@ -8952,7 +8954,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8952
8954
  if (k === e) {
8953
8955
  if (s.weight !== void 0) {
8954
8956
  let n = s.weight;
8955
- const $ = e;
8957
+ const O = e;
8956
8958
  if (!(typeof n == "number" && isFinite(
8957
8959
  n
8958
8960
  )))
@@ -8967,7 +8969,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8967
8969
  message: "must be number"
8968
8970
  }
8969
8971
  ], !1;
8970
- var Ce = $ === e;
8972
+ var Ce = O === e;
8971
8973
  } else
8972
8974
  var Ce = !0;
8973
8975
  if (Ce)
@@ -9043,7 +9045,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9043
9045
  if (s && typeof s == "object" && !Array.isArray(
9044
9046
  s
9045
9047
  )) {
9046
- const $ = e;
9048
+ const O = e;
9047
9049
  for (const re in s)
9048
9050
  if (!(re === "adminUsername" || re === "adminPassword"))
9049
9051
  return o.errors = [
@@ -9057,7 +9059,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9057
9059
  message: "must NOT have additional properties"
9058
9060
  }
9059
9061
  ], !1;
9060
- if ($ === e) {
9062
+ if (O === e) {
9061
9063
  if (s.adminUsername !== void 0) {
9062
9064
  const re = e;
9063
9065
  if (typeof s.adminUsername != "string")
@@ -9176,7 +9178,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9176
9178
  if (k === e) {
9177
9179
  if (s.weight !== void 0) {
9178
9180
  let n = s.weight;
9179
- const $ = e;
9181
+ const O = e;
9180
9182
  if (!(typeof n == "number" && isFinite(
9181
9183
  n
9182
9184
  )))
@@ -9191,7 +9193,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9191
9193
  message: "must be number"
9192
9194
  }
9193
9195
  ], !1;
9194
- var We = $ === e;
9196
+ var We = O === e;
9195
9197
  } else
9196
9198
  var We = !0;
9197
9199
  if (We)
@@ -9340,7 +9342,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9340
9342
  if (k === e) {
9341
9343
  if (s.weight !== void 0) {
9342
9344
  let n = s.weight;
9343
- const $ = e;
9345
+ const O = e;
9344
9346
  if (!(typeof n == "number" && isFinite(
9345
9347
  n
9346
9348
  )))
@@ -9355,7 +9357,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9355
9357
  message: "must be number"
9356
9358
  }
9357
9359
  ], !1;
9358
- var Ue = $ === e;
9360
+ var Ue = O === e;
9359
9361
  } else
9360
9362
  var Ue = !0;
9361
9363
  if (Ue)
@@ -9511,7 +9513,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9511
9513
  if (k === e) {
9512
9514
  if (s.weight !== void 0) {
9513
9515
  let n = s.weight;
9514
- const $ = e;
9516
+ const O = e;
9515
9517
  if (!(typeof n == "number" && isFinite(
9516
9518
  n
9517
9519
  )))
@@ -9526,7 +9528,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9526
9528
  message: "must be number"
9527
9529
  }
9528
9530
  ], !1;
9529
- var Me = $ === e;
9531
+ var Me = O === e;
9530
9532
  } else
9531
9533
  var Me = !0;
9532
9534
  if (Me)
@@ -9716,7 +9718,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9716
9718
  if (k === e) {
9717
9719
  if (s.weight !== void 0) {
9718
9720
  let n = s.weight;
9719
- const $ = e;
9721
+ const O = e;
9720
9722
  if (!(typeof n == "number" && isFinite(
9721
9723
  n
9722
9724
  )))
@@ -9731,7 +9733,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9731
9733
  message: "must be number"
9732
9734
  }
9733
9735
  ], !1;
9734
- var ze = $ === e;
9736
+ var ze = O === e;
9735
9737
  } else
9736
9738
  var ze = !0;
9737
9739
  if (ze)
@@ -9909,7 +9911,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9909
9911
  if (k === e) {
9910
9912
  if (s.weight !== void 0) {
9911
9913
  let n = s.weight;
9912
- const $ = e;
9914
+ const O = e;
9913
9915
  if (!(typeof n == "number" && isFinite(
9914
9916
  n
9915
9917
  )))
@@ -9924,7 +9926,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9924
9926
  message: "must be number"
9925
9927
  }
9926
9928
  ], !1;
9927
- var Ve = $ === e;
9929
+ var Ve = O === e;
9928
9930
  } else
9929
9931
  var Ve = !0;
9930
9932
  if (Ve)
@@ -10015,7 +10017,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10015
10017
  let s = r.data;
10016
10018
  const a = e, k = e;
10017
10019
  let n = !1;
10018
- const $ = e;
10020
+ const O = e;
10019
10021
  J(
10020
10022
  s,
10021
10023
  {
@@ -10027,7 +10029,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10027
10029
  ) || (i = i === null ? J.errors : i.concat(
10028
10030
  J.errors
10029
10031
  ), e = i.length);
10030
- var Fe = $ === e;
10032
+ var Fe = O === e;
10031
10033
  if (n = n || Fe, !n) {
10032
10034
  const se = e;
10033
10035
  if (typeof s != "string") {
@@ -10400,7 +10402,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10400
10402
  if (k === e) {
10401
10403
  if (s.weight !== void 0) {
10402
10404
  let n = s.weight;
10403
- const $ = e;
10405
+ const O = e;
10404
10406
  if (!(typeof n == "number" && isFinite(
10405
10407
  n
10406
10408
  )))
@@ -10415,7 +10417,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10415
10417
  message: "must be number"
10416
10418
  }
10417
10419
  ], !1;
10418
- var Be = $ === e;
10420
+ var Be = O === e;
10419
10421
  } else
10420
10422
  var Be = !0;
10421
10423
  if (Be)
@@ -10586,7 +10588,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10586
10588
  if (k === e) {
10587
10589
  if (s.weight !== void 0) {
10588
10590
  let n = s.weight;
10589
- const $ = e;
10591
+ const O = e;
10590
10592
  if (!(typeof n == "number" && isFinite(
10591
10593
  n
10592
10594
  )))
@@ -10601,7 +10603,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10601
10603
  message: "must be number"
10602
10604
  }
10603
10605
  ], !1;
10604
- var He = $ === e;
10606
+ var He = O === e;
10605
10607
  } else
10606
10608
  var He = !0;
10607
10609
  if (He)
@@ -10674,7 +10676,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10674
10676
  let s = r.command;
10675
10677
  const a = e, k = e;
10676
10678
  let n = !1;
10677
- const $ = e;
10679
+ const O = e;
10678
10680
  if (typeof s != "string") {
10679
10681
  const se = {
10680
10682
  instancePath: t + "/command",
@@ -10687,7 +10689,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10687
10689
  };
10688
10690
  i === null ? i = [se] : i.push(se), e++;
10689
10691
  }
10690
- var er = $ === e;
10692
+ var er = O === e;
10691
10693
  if (n = n || er, !n) {
10692
10694
  const se = e;
10693
10695
  if (e === se)
@@ -10838,7 +10840,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10838
10840
  if (k === e) {
10839
10841
  if (s.weight !== void 0) {
10840
10842
  let n = s.weight;
10841
- const $ = e;
10843
+ const O = e;
10842
10844
  if (!(typeof n == "number" && isFinite(
10843
10845
  n
10844
10846
  )))
@@ -10853,7 +10855,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10853
10855
  message: "must be number"
10854
10856
  }
10855
10857
  ], !1;
10856
- var Ge = $ === e;
10858
+ var Ge = O === e;
10857
10859
  } else
10858
10860
  var Ge = !0;
10859
10861
  if (Ge)
@@ -10997,7 +10999,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10997
10999
  let i = null, e = 0;
10998
11000
  if (e === 0)
10999
11001
  if (r && typeof r == "object" && !Array.isArray(r)) {
11000
- const T = e;
11002
+ const E = e;
11001
11003
  for (const u in r)
11002
11004
  if (!qr.call(qt.properties, u))
11003
11005
  return V.errors = [
@@ -11009,7 +11011,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11009
11011
  message: "must NOT have additional properties"
11010
11012
  }
11011
11013
  ], !1;
11012
- if (T === e) {
11014
+ if (E === e) {
11013
11015
  if (r.landingPage !== void 0) {
11014
11016
  const u = e;
11015
11017
  if (typeof r.landingPage != "string")
@@ -11044,40 +11046,40 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11044
11046
  if (d) {
11045
11047
  if (r.meta !== void 0) {
11046
11048
  let u = r.meta;
11047
- const O = e;
11048
- if (e === O)
11049
+ const T = e;
11050
+ if (e === T)
11049
11051
  if (u && typeof u == "object" && !Array.isArray(u)) {
11050
- let m;
11051
- if (u.title === void 0 && (m = "title") || u.author === void 0 && (m = "author"))
11052
+ let y;
11053
+ if (u.title === void 0 && (y = "title") || u.author === void 0 && (y = "author"))
11052
11054
  return V.errors = [
11053
11055
  {
11054
11056
  instancePath: t + "/meta",
11055
11057
  schemaPath: "#/properties/meta/required",
11056
11058
  keyword: "required",
11057
11059
  params: {
11058
- missingProperty: m
11060
+ missingProperty: y
11059
11061
  },
11060
- message: "must have required property '" + m + "'"
11062
+ message: "must have required property '" + y + "'"
11061
11063
  }
11062
11064
  ], !1;
11063
11065
  {
11064
11066
  const v = e;
11065
- for (const w in u)
11066
- if (!(w === "title" || w === "description" || w === "author" || w === "categories"))
11067
+ for (const b in u)
11068
+ if (!(b === "title" || b === "description" || b === "author" || b === "categories"))
11067
11069
  return V.errors = [
11068
11070
  {
11069
11071
  instancePath: t + "/meta",
11070
11072
  schemaPath: "#/properties/meta/additionalProperties",
11071
11073
  keyword: "additionalProperties",
11072
11074
  params: {
11073
- additionalProperty: w
11075
+ additionalProperty: b
11074
11076
  },
11075
11077
  message: "must NOT have additional properties"
11076
11078
  }
11077
11079
  ], !1;
11078
11080
  if (v === e) {
11079
11081
  if (u.title !== void 0) {
11080
- const w = e;
11082
+ const b = e;
11081
11083
  if (typeof u.title != "string")
11082
11084
  return V.errors = [
11083
11085
  {
@@ -11090,12 +11092,12 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11090
11092
  message: "must be string"
11091
11093
  }
11092
11094
  ], !1;
11093
- var g = w === e;
11095
+ var g = b === e;
11094
11096
  } else
11095
11097
  var g = !0;
11096
11098
  if (g) {
11097
11099
  if (u.description !== void 0) {
11098
- const w = e;
11100
+ const b = e;
11099
11101
  if (typeof u.description != "string")
11100
11102
  return V.errors = [
11101
11103
  {
@@ -11108,12 +11110,12 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11108
11110
  message: "must be string"
11109
11111
  }
11110
11112
  ], !1;
11111
- var g = w === e;
11113
+ var g = b === e;
11112
11114
  } else
11113
11115
  var g = !0;
11114
11116
  if (g) {
11115
11117
  if (u.author !== void 0) {
11116
- const w = e;
11118
+ const b = e;
11117
11119
  if (typeof u.author != "string")
11118
11120
  return V.errors = [
11119
11121
  {
@@ -11126,22 +11128,22 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11126
11128
  message: "must be string"
11127
11129
  }
11128
11130
  ], !1;
11129
- var g = w === e;
11131
+ var g = b === e;
11130
11132
  } else
11131
11133
  var g = !0;
11132
11134
  if (g)
11133
11135
  if (u.categories !== void 0) {
11134
- let w = u.categories;
11135
- const q = e;
11136
- if (e === q)
11136
+ let b = u.categories;
11137
+ const j = e;
11138
+ if (e === j)
11137
11139
  if (Array.isArray(
11138
- w
11140
+ b
11139
11141
  )) {
11140
11142
  var x = !0;
11141
- const l = w.length;
11143
+ const l = b.length;
11142
11144
  for (let D = 0; D < l; D++) {
11143
11145
  const A = e;
11144
- if (typeof w[D] != "string")
11146
+ if (typeof b[D] != "string")
11145
11147
  return V.errors = [
11146
11148
  {
11147
11149
  instancePath: t + "/meta/categories/" + D,
@@ -11169,7 +11171,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11169
11171
  message: "must be array"
11170
11172
  }
11171
11173
  ], !1;
11172
- var g = q === e;
11174
+ var g = j === e;
11173
11175
  } else
11174
11176
  var g = !0;
11175
11177
  }
@@ -11186,50 +11188,50 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11186
11188
  message: "must be object"
11187
11189
  }
11188
11190
  ], !1;
11189
- var d = O === e;
11191
+ var d = T === e;
11190
11192
  } else
11191
11193
  var d = !0;
11192
11194
  if (d) {
11193
11195
  if (r.preferredVersions !== void 0) {
11194
11196
  let u = r.preferredVersions;
11195
- const O = e;
11196
- if (e === O)
11197
+ const T = e;
11198
+ if (e === T)
11197
11199
  if (u && typeof u == "object" && !Array.isArray(u)) {
11198
- let m;
11199
- if (u.php === void 0 && (m = "php") || u.wp === void 0 && (m = "wp"))
11200
+ let y;
11201
+ if (u.php === void 0 && (y = "php") || u.wp === void 0 && (y = "wp"))
11200
11202
  return V.errors = [
11201
11203
  {
11202
11204
  instancePath: t + "/preferredVersions",
11203
11205
  schemaPath: "#/properties/preferredVersions/required",
11204
11206
  keyword: "required",
11205
11207
  params: {
11206
- missingProperty: m
11208
+ missingProperty: y
11207
11209
  },
11208
- message: "must have required property '" + m + "'"
11210
+ message: "must have required property '" + y + "'"
11209
11211
  }
11210
11212
  ], !1;
11211
11213
  {
11212
11214
  const v = e;
11213
- for (const w in u)
11214
- if (!(w === "php" || w === "wp"))
11215
+ for (const b in u)
11216
+ if (!(b === "php" || b === "wp"))
11215
11217
  return V.errors = [
11216
11218
  {
11217
11219
  instancePath: t + "/preferredVersions",
11218
11220
  schemaPath: "#/properties/preferredVersions/additionalProperties",
11219
11221
  keyword: "additionalProperties",
11220
11222
  params: {
11221
- additionalProperty: w
11223
+ additionalProperty: b
11222
11224
  },
11223
11225
  message: "must NOT have additional properties"
11224
11226
  }
11225
11227
  ], !1;
11226
11228
  if (v === e) {
11227
11229
  if (u.php !== void 0) {
11228
- let w = u.php;
11229
- const q = e, b = e;
11230
+ let b = u.php;
11231
+ const j = e, w = e;
11230
11232
  let l = !1;
11231
11233
  const D = e;
11232
- if (typeof w != "string") {
11234
+ if (typeof b != "string") {
11233
11235
  const A = {
11234
11236
  instancePath: t + "/preferredVersions/php",
11235
11237
  schemaPath: "#/definitions/SupportedPHPVersion/type",
@@ -11241,7 +11243,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11241
11243
  };
11242
11244
  i === null ? i = [A] : i.push(A), e++;
11243
11245
  }
11244
- if (!(w === "8.3" || w === "8.2" || w === "8.1" || w === "8.0" || w === "7.4" || w === "7.3" || w === "7.2" || w === "7.1" || w === "7.0")) {
11246
+ if (!(b === "8.3" || b === "8.2" || b === "8.1" || b === "8.0" || b === "7.4" || b === "7.3" || b === "7.2" || b === "7.1" || b === "7.0")) {
11245
11247
  const A = {
11246
11248
  instancePath: t + "/preferredVersions/php",
11247
11249
  schemaPath: "#/definitions/SupportedPHPVersion/enum",
@@ -11253,10 +11255,10 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11253
11255
  };
11254
11256
  i === null ? i = [A] : i.push(A), e++;
11255
11257
  }
11256
- var j = D === e;
11257
- if (l = l || j, !l) {
11258
+ var q = D === e;
11259
+ if (l = l || q, !l) {
11258
11260
  const A = e;
11259
- if (typeof w != "string") {
11261
+ if (typeof b != "string") {
11260
11262
  const W = {
11261
11263
  instancePath: t + "/preferredVersions/php",
11262
11264
  schemaPath: "#/properties/preferredVersions/properties/php/anyOf/1/type",
@@ -11272,7 +11274,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11272
11274
  W
11273
11275
  ), e++;
11274
11276
  }
11275
- if (w !== "latest") {
11277
+ if (b !== "latest") {
11276
11278
  const W = {
11277
11279
  instancePath: t + "/preferredVersions/php",
11278
11280
  schemaPath: "#/properties/preferredVersions/properties/php/anyOf/1/const",
@@ -11288,11 +11290,11 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11288
11290
  W
11289
11291
  ), e++;
11290
11292
  }
11291
- var j = A === e;
11292
- l = l || j;
11293
+ var q = A === e;
11294
+ l = l || q;
11293
11295
  }
11294
11296
  if (l)
11295
- e = b, i !== null && (b ? i.length = b : i = null);
11297
+ e = w, i !== null && (w ? i.length = w : i = null);
11296
11298
  else {
11297
11299
  const A = {
11298
11300
  instancePath: t + "/preferredVersions/php",
@@ -11303,12 +11305,12 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11303
11305
  };
11304
11306
  return i === null ? i = [A] : i.push(A), e++, V.errors = i, !1;
11305
11307
  }
11306
- var P = q === e;
11308
+ var P = j === e;
11307
11309
  } else
11308
11310
  var P = !0;
11309
11311
  if (P)
11310
11312
  if (u.wp !== void 0) {
11311
- const w = e;
11313
+ const b = e;
11312
11314
  if (typeof u.wp != "string")
11313
11315
  return V.errors = [
11314
11316
  {
@@ -11321,7 +11323,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11321
11323
  message: "must be string"
11322
11324
  }
11323
11325
  ], !1;
11324
- var P = w === e;
11326
+ var P = b === e;
11325
11327
  } else
11326
11328
  var P = !0;
11327
11329
  }
@@ -11336,16 +11338,16 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11336
11338
  message: "must be object"
11337
11339
  }
11338
11340
  ], !1;
11339
- var d = O === e;
11341
+ var d = T === e;
11340
11342
  } else
11341
11343
  var d = !0;
11342
11344
  if (d) {
11343
11345
  if (r.features !== void 0) {
11344
11346
  let u = r.features;
11345
- const O = e;
11346
- if (e === O)
11347
+ const T = e;
11348
+ if (e === T)
11347
11349
  if (u && typeof u == "object" && !Array.isArray(u)) {
11348
- const m = e;
11350
+ const y = e;
11349
11351
  for (const v in u)
11350
11352
  if (v !== "networking")
11351
11353
  return V.errors = [
@@ -11359,7 +11361,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11359
11361
  message: "must NOT have additional properties"
11360
11362
  }
11361
11363
  ], !1;
11362
- if (m === e && u.networking !== void 0 && typeof u.networking != "boolean")
11364
+ if (y === e && u.networking !== void 0 && typeof u.networking != "boolean")
11363
11365
  return V.errors = [
11364
11366
  {
11365
11367
  instancePath: t + "/features/networking",
@@ -11381,21 +11383,21 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11381
11383
  message: "must be object"
11382
11384
  }
11383
11385
  ], !1;
11384
- var d = O === e;
11386
+ var d = T === e;
11385
11387
  } else
11386
11388
  var d = !0;
11387
11389
  if (d) {
11388
11390
  if (r.extraLibraries !== void 0) {
11389
11391
  let u = r.extraLibraries;
11390
- const O = e;
11391
- if (e === O)
11392
+ const T = e;
11393
+ if (e === T)
11392
11394
  if (Array.isArray(u)) {
11393
- var E = !0;
11394
- const m = u.length;
11395
- for (let v = 0; v < m; v++) {
11396
- let w = u[v];
11397
- const q = e;
11398
- if (typeof w != "string")
11395
+ var $ = !0;
11396
+ const y = u.length;
11397
+ for (let v = 0; v < y; v++) {
11398
+ let b = u[v];
11399
+ const j = e;
11400
+ if (typeof b != "string")
11399
11401
  return V.errors = [
11400
11402
  {
11401
11403
  instancePath: t + "/extraLibraries/" + v,
@@ -11407,7 +11409,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11407
11409
  message: "must be string"
11408
11410
  }
11409
11411
  ], !1;
11410
- if (w !== "wp-cli")
11412
+ if (b !== "wp-cli")
11411
11413
  return V.errors = [
11412
11414
  {
11413
11415
  instancePath: t + "/extraLibraries/" + v,
@@ -11419,8 +11421,8 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11419
11421
  message: "must be equal to constant"
11420
11422
  }
11421
11423
  ], !1;
11422
- var E = q === e;
11423
- if (!E)
11424
+ var $ = j === e;
11425
+ if (!$)
11424
11426
  break;
11425
11427
  }
11426
11428
  } else
@@ -11435,36 +11437,37 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11435
11437
  message: "must be array"
11436
11438
  }
11437
11439
  ], !1;
11438
- var d = O === e;
11440
+ var d = T === e;
11439
11441
  } else
11440
11442
  var d = !0;
11441
11443
  if (d) {
11442
11444
  if (r.constants !== void 0) {
11443
11445
  let u = r.constants;
11444
- const O = e;
11445
- if (e === O)
11446
+ const T = e;
11447
+ if (e === e)
11446
11448
  if (u && typeof u == "object" && !Array.isArray(u))
11447
- for (const m in u) {
11448
- const v = e;
11449
- if (typeof u[m] != "string")
11449
+ for (const v in u) {
11450
+ let b = u[v];
11451
+ const j = e;
11452
+ if (typeof b != "string" && typeof b != "boolean" && !(typeof b == "number" && isFinite(b)))
11450
11453
  return V.errors = [
11451
11454
  {
11452
- instancePath: t + "/constants/" + m.replace(
11455
+ instancePath: t + "/constants/" + v.replace(
11453
11456
  /~/g,
11454
11457
  "~0"
11455
11458
  ).replace(
11456
11459
  /\//g,
11457
11460
  "~1"
11458
11461
  ),
11459
- schemaPath: "#/properties/constants/additionalProperties/type",
11462
+ schemaPath: "#/definitions/PHPConstants/additionalProperties/type",
11460
11463
  keyword: "type",
11461
11464
  params: {
11462
- type: "string"
11465
+ type: Rt.additionalProperties.type
11463
11466
  },
11464
- message: "must be string"
11467
+ message: "must be string,boolean,number"
11465
11468
  }
11466
11469
  ], !1;
11467
- var L = v === e;
11470
+ var L = j === e;
11468
11471
  if (!L)
11469
11472
  break;
11470
11473
  }
@@ -11472,7 +11475,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11472
11475
  return V.errors = [
11473
11476
  {
11474
11477
  instancePath: t + "/constants",
11475
- schemaPath: "#/properties/constants/type",
11478
+ schemaPath: "#/definitions/PHPConstants/type",
11476
11479
  keyword: "type",
11477
11480
  params: {
11478
11481
  type: "object"
@@ -11480,23 +11483,23 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11480
11483
  message: "must be object"
11481
11484
  }
11482
11485
  ], !1;
11483
- var d = O === e;
11486
+ var d = T === e;
11484
11487
  } else
11485
11488
  var d = !0;
11486
11489
  if (d) {
11487
11490
  if (r.plugins !== void 0) {
11488
11491
  let u = r.plugins;
11489
- const O = e;
11490
- if (e === O)
11492
+ const T = e;
11493
+ if (e === T)
11491
11494
  if (Array.isArray(u)) {
11492
11495
  var N = !0;
11493
- const m = u.length;
11494
- for (let v = 0; v < m; v++) {
11495
- let w = u[v];
11496
- const q = e, b = e;
11496
+ const y = u.length;
11497
+ for (let v = 0; v < y; v++) {
11498
+ let b = u[v];
11499
+ const j = e, w = e;
11497
11500
  let l = !1;
11498
11501
  const D = e;
11499
- if (typeof w != "string") {
11502
+ if (typeof b != "string") {
11500
11503
  const R = {
11501
11504
  instancePath: t + "/plugins/" + v,
11502
11505
  schemaPath: "#/properties/plugins/items/anyOf/0/type",
@@ -11512,11 +11515,11 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11512
11515
  R
11513
11516
  ), e++;
11514
11517
  }
11515
- var y = D === e;
11516
- if (l = l || y, !l) {
11518
+ var m = D === e;
11519
+ if (l = l || m, !l) {
11517
11520
  const R = e;
11518
11521
  J(
11519
- w,
11522
+ b,
11520
11523
  {
11521
11524
  instancePath: t + "/plugins/" + v,
11522
11525
  parentData: u,
@@ -11526,11 +11529,11 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11526
11529
  ) || (i = i === null ? J.errors : i.concat(
11527
11530
  J.errors
11528
11531
  ), e = i.length);
11529
- var y = R === e;
11530
- l = l || y;
11532
+ var m = R === e;
11533
+ l = l || m;
11531
11534
  }
11532
11535
  if (l)
11533
- e = b, i !== null && (b ? i.length = b : i = null);
11536
+ e = w, i !== null && (w ? i.length = w : i = null);
11534
11537
  else {
11535
11538
  const R = {
11536
11539
  instancePath: t + "/plugins/" + v,
@@ -11545,7 +11548,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11545
11548
  R
11546
11549
  ), e++, V.errors = i, !1;
11547
11550
  }
11548
- var N = q === e;
11551
+ var N = j === e;
11549
11552
  if (!N)
11550
11553
  break;
11551
11554
  }
@@ -11561,21 +11564,21 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11561
11564
  message: "must be array"
11562
11565
  }
11563
11566
  ], !1;
11564
- var d = O === e;
11567
+ var d = T === e;
11565
11568
  } else
11566
11569
  var d = !0;
11567
11570
  if (d) {
11568
11571
  if (r.siteOptions !== void 0) {
11569
11572
  let u = r.siteOptions;
11570
- const O = e;
11571
- if (e === O)
11573
+ const T = e;
11574
+ if (e === T)
11572
11575
  if (u && typeof u == "object" && !Array.isArray(
11573
11576
  u
11574
11577
  )) {
11575
- const m = e;
11578
+ const y = e;
11576
11579
  for (const v in u)
11577
11580
  if (v !== "blogname") {
11578
- const w = e;
11581
+ const b = e;
11579
11582
  if (typeof u[v] != "string")
11580
11583
  return V.errors = [
11581
11584
  {
@@ -11594,11 +11597,11 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11594
11597
  message: "must be string"
11595
11598
  }
11596
11599
  ], !1;
11597
- var I = w === e;
11600
+ var I = b === e;
11598
11601
  if (!I)
11599
11602
  break;
11600
11603
  }
11601
- if (m === e && u.blogname !== void 0 && typeof u.blogname != "string")
11604
+ if (y === e && u.blogname !== void 0 && typeof u.blogname != "string")
11602
11605
  return V.errors = [
11603
11606
  {
11604
11607
  instancePath: t + "/siteOptions/blogname",
@@ -11622,17 +11625,17 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11622
11625
  message: "must be object"
11623
11626
  }
11624
11627
  ], !1;
11625
- var d = O === e;
11628
+ var d = T === e;
11626
11629
  } else
11627
11630
  var d = !0;
11628
11631
  if (d) {
11629
11632
  if (r.login !== void 0) {
11630
11633
  let u = r.login;
11631
- const O = e, z = e;
11632
- let m = !1;
11634
+ const T = e, z = e;
11635
+ let y = !1;
11633
11636
  const v = e;
11634
11637
  if (typeof u != "boolean") {
11635
- const q = {
11638
+ const j = {
11636
11639
  instancePath: t + "/login",
11637
11640
  schemaPath: "#/properties/login/anyOf/0/type",
11638
11641
  keyword: "type",
@@ -11642,15 +11645,15 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11642
11645
  message: "must be boolean"
11643
11646
  };
11644
11647
  i === null ? i = [
11645
- q
11648
+ j
11646
11649
  ] : i.push(
11647
- q
11650
+ j
11648
11651
  ), e++;
11649
11652
  }
11650
11653
  var U = v === e;
11651
- if (m = m || U, !m) {
11652
- const q = e;
11653
- if (e === q)
11654
+ if (y = y || U, !y) {
11655
+ const j = e;
11656
+ if (e === j)
11654
11657
  if (u && typeof u == "object" && !Array.isArray(
11655
11658
  u
11656
11659
  )) {
@@ -11752,13 +11755,13 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11752
11755
  l
11753
11756
  ), e++;
11754
11757
  }
11755
- var U = q === e;
11756
- m = m || U;
11758
+ var U = j === e;
11759
+ y = y || U;
11757
11760
  }
11758
- if (m)
11761
+ if (y)
11759
11762
  e = z, i !== null && (z ? i.length = z : i = null);
11760
11763
  else {
11761
- const q = {
11764
+ const j = {
11762
11765
  instancePath: t + "/login",
11763
11766
  schemaPath: "#/properties/login/anyOf",
11764
11767
  keyword: "anyOf",
@@ -11766,31 +11769,31 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11766
11769
  message: "must match a schema in anyOf"
11767
11770
  };
11768
11771
  return i === null ? i = [
11769
- q
11772
+ j
11770
11773
  ] : i.push(
11771
- q
11774
+ j
11772
11775
  ), e++, V.errors = i, !1;
11773
11776
  }
11774
- var d = O === e;
11777
+ var d = T === e;
11775
11778
  } else
11776
11779
  var d = !0;
11777
11780
  if (d) {
11778
11781
  if (r.steps !== void 0) {
11779
11782
  let u = r.steps;
11780
- const O = e;
11781
- if (e === O)
11783
+ const T = e;
11784
+ if (e === T)
11782
11785
  if (Array.isArray(
11783
11786
  u
11784
11787
  )) {
11785
11788
  var _ = !0;
11786
- const m = u.length;
11787
- for (let v = 0; v < m; v++) {
11788
- let w = u[v];
11789
- const q = e, b = e;
11789
+ const y = u.length;
11790
+ for (let v = 0; v < y; v++) {
11791
+ let b = u[v];
11792
+ const j = e, w = e;
11790
11793
  let l = !1;
11791
11794
  const D = e;
11792
11795
  o(
11793
- w,
11796
+ b,
11794
11797
  {
11795
11798
  instancePath: t + "/steps/" + v,
11796
11799
  parentData: u,
@@ -11803,7 +11806,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11803
11806
  var M = D === e;
11804
11807
  if (l = l || M, !l) {
11805
11808
  const R = e;
11806
- if (typeof w != "string") {
11809
+ if (typeof b != "string") {
11807
11810
  const F = {
11808
11811
  instancePath: t + "/steps/" + v,
11809
11812
  schemaPath: "#/properties/steps/items/anyOf/1/type",
@@ -11836,7 +11839,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11836
11839
  var M = F === e;
11837
11840
  if (l = l || M, !l) {
11838
11841
  const G = e;
11839
- if (typeof w != "boolean") {
11842
+ if (typeof b != "boolean") {
11840
11843
  const B = {
11841
11844
  instancePath: t + "/steps/" + v,
11842
11845
  schemaPath: "#/properties/steps/items/anyOf/3/type",
@@ -11852,7 +11855,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11852
11855
  B
11853
11856
  ), e++;
11854
11857
  }
11855
- if (w !== !1) {
11858
+ if (b !== !1) {
11856
11859
  const B = {
11857
11860
  instancePath: t + "/steps/" + v,
11858
11861
  schemaPath: "#/properties/steps/items/anyOf/3/const",
@@ -11871,7 +11874,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11871
11874
  var M = G === e;
11872
11875
  if (l = l || M, !l) {
11873
11876
  const B = e;
11874
- if (w !== null) {
11877
+ if (b !== null) {
11875
11878
  const Y = {
11876
11879
  instancePath: t + "/steps/" + v,
11877
11880
  schemaPath: "#/properties/steps/items/anyOf/4/type",
@@ -11894,7 +11897,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11894
11897
  }
11895
11898
  }
11896
11899
  if (l)
11897
- e = b, i !== null && (b ? i.length = b : i = null);
11900
+ e = w, i !== null && (w ? i.length = w : i = null);
11898
11901
  else {
11899
11902
  const R = {
11900
11903
  instancePath: t + "/steps/" + v,
@@ -11909,7 +11912,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11909
11912
  R
11910
11913
  ), e++, V.errors = i, !1;
11911
11914
  }
11912
- var _ = q === e;
11915
+ var _ = j === e;
11913
11916
  if (!_)
11914
11917
  break;
11915
11918
  }
@@ -11925,7 +11928,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11925
11928
  message: "must be array"
11926
11929
  }
11927
11930
  ], !1;
11928
- var d = O === e;
11931
+ var d = T === e;
11929
11932
  } else
11930
11933
  var d = !0;
11931
11934
  if (d)
@@ -11978,29 +11981,29 @@ function Je(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
11978
11981
  rootData: h
11979
11982
  }) || (i = i === null ? V.errors : i.concat(V.errors), e = i.length), Je.errors = i, e === 0;
11980
11983
  }
11981
- const { wpCLI: Ft, ...ur } = ht, St = {
11984
+ const { wpCLI: St, ...ur } = ht, Nt = {
11982
11985
  ...ur,
11983
- "wp-cli": Ft,
11986
+ "wp-cli": St,
11984
11987
  importFile: ur.importWxr
11985
11988
  };
11986
- function Yt(r, {
11989
+ function Zt(r, {
11987
11990
  progress: t = new Cr(),
11988
11991
  semaphore: p = new Sr({ concurrency: 3 }),
11989
11992
  onStepCompleted: c = () => {
11990
11993
  },
11991
11994
  corsProxy: h
11992
11995
  } = {}) {
11993
- var E, L, N, y, I, U, Z, _, M;
11996
+ var $, L, N, m, I, U, Z, _, M;
11994
11997
  r = structuredClone(r), r = {
11995
11998
  ...r,
11996
- steps: (r.steps || []).filter(xt).filter(Ct)
11999
+ steps: (r.steps || []).filter(Ct).filter(It)
11997
12000
  };
11998
- for (const T of r.steps)
11999
- !T || typeof T != "object" || (T.step === "importFile" ? (T.step = "importWxr", me.warn(
12001
+ for (const E of r.steps)
12002
+ !E || typeof E != "object" || (E.step === "importFile" ? (E.step = "importWxr", me.warn(
12000
12003
  'The "importFile" step is deprecated. Use "importWxr" instead.'
12001
- )) : (T == null ? void 0 : T.step) === "installPlugin" && "pluginZipFile" in T ? (T.pluginData = T.pluginZipFile, me.warn(
12004
+ )) : (E == null ? void 0 : E.step) === "installPlugin" && "pluginZipFile" in E ? (E.pluginData = E.pluginZipFile, me.warn(
12002
12005
  'The "pluginZipFile" option of the "installPlugin" step is deprecated. Use "pluginData" instead.'
12003
- )) : (T == null ? void 0 : T.step) === "installTheme" && "themeZipFile" in T && (T.themeData = T.themeZipFile, me.warn(
12006
+ )) : (E == null ? void 0 : E.step) === "installTheme" && "themeZipFile" in E && (E.themeData = E.themeZipFile, me.warn(
12004
12007
  'The "themeZipFile" option of the "installTheme" step is deprecated. Use "themeData" instead.'
12005
12008
  )));
12006
12009
  if (r.constants && r.steps.unshift({
@@ -12010,7 +12013,7 @@ function Yt(r, {
12010
12013
  step: "setSiteOptions",
12011
12014
  options: r.siteOptions
12012
12015
  }), r.plugins) {
12013
- const T = r.plugins.map((u) => typeof u == "string" ? u.startsWith("https://") ? {
12016
+ const E = r.plugins.map((u) => typeof u == "string" ? u.startsWith("https://") ? {
12014
12017
  resource: "url",
12015
12018
  url: u
12016
12019
  } : {
@@ -12020,29 +12023,29 @@ function Yt(r, {
12020
12023
  step: "installPlugin",
12021
12024
  pluginData: u
12022
12025
  }));
12023
- r.steps.unshift(...T);
12026
+ r.steps.unshift(...E);
12024
12027
  }
12025
12028
  r.login && r.steps.push({
12026
12029
  step: "login",
12027
12030
  ...r.login === !0 ? { username: "admin" } : r.login
12028
12031
  });
12029
- const i = ((E = r.steps) == null ? void 0 : E.findIndex(
12030
- (T) => typeof T == "object" && (T == null ? void 0 : T.step) && ["wp-cli", "enableMultisite"].includes(T.step)
12032
+ const i = (($ = r.steps) == null ? void 0 : $.findIndex(
12033
+ (E) => typeof E == "object" && (E == null ? void 0 : E.step) && ["wp-cli", "enableMultisite"].includes(E.step)
12031
12034
  )) ?? -1;
12032
12035
  if ((L = r == null ? void 0 : r.extraLibraries) != null && L.includes("wp-cli") || i !== -1) {
12033
- const T = {
12036
+ const E = {
12034
12037
  step: "writeFile",
12035
12038
  data: Qr,
12036
12039
  path: ar
12037
12040
  };
12038
- i === -1 ? (N = r.steps) == null || N.push(T) : (y = r.steps) == null || y.splice(
12041
+ i === -1 ? (N = r.steps) == null || N.push(E) : (m = r.steps) == null || m.splice(
12039
12042
  i,
12040
12043
  0,
12041
- T
12044
+ E
12042
12045
  );
12043
12046
  }
12044
12047
  const e = (I = r.steps) == null ? void 0 : I.findIndex(
12045
- (T) => typeof T == "object" && (T == null ? void 0 : T.step) === "importWxr"
12048
+ (E) => typeof E == "object" && (E == null ? void 0 : E.step) === "importWxr"
12046
12049
  );
12047
12050
  e !== void 0 && e > -1 && ((U = r.steps) == null || U.splice(e, 0, {
12048
12051
  step: "installPlugin",
@@ -12052,30 +12055,30 @@ function Yt(r, {
12052
12055
  caption: "Downloading the WordPress Importer plugin"
12053
12056
  }
12054
12057
  }));
12055
- const { valid: d, errors: g } = Nt(r);
12058
+ const { valid: d, errors: g } = Dt(r);
12056
12059
  if (!d) {
12057
- const T = new Error(
12060
+ const E = new Error(
12058
12061
  `Invalid blueprint: ${g[0].message} at ${g[0].instancePath}`
12059
12062
  );
12060
- throw T.errors = g, T;
12063
+ throw E.errors = g, E;
12061
12064
  }
12062
- const x = r.steps || [], j = x.reduce(
12063
- (T, u) => {
12064
- var O;
12065
- return T + (((O = u.progress) == null ? void 0 : O.weight) || 1);
12065
+ const x = r.steps || [], q = x.reduce(
12066
+ (E, u) => {
12067
+ var T;
12068
+ return E + (((T = u.progress) == null ? void 0 : T.weight) || 1);
12066
12069
  },
12067
12070
  0
12068
12071
  ), P = x.map(
12069
- (T) => It(T, {
12072
+ (E) => Wt(E, {
12070
12073
  semaphore: p,
12071
12074
  rootProgressTracker: t,
12072
- totalProgressWeight: j,
12075
+ totalProgressWeight: q,
12073
12076
  corsProxy: h
12074
12077
  })
12075
12078
  );
12076
12079
  return {
12077
12080
  versions: {
12078
- php: Dt(
12081
+ php: xt(
12079
12082
  (Z = r.preferredVersions) == null ? void 0 : Z.php,
12080
12083
  Dr,
12081
12084
  Nr
@@ -12087,26 +12090,26 @@ function Yt(r, {
12087
12090
  networking: ((M = r.features) == null ? void 0 : M.networking) ?? !1
12088
12091
  },
12089
12092
  extraLibraries: r.extraLibraries || [],
12090
- run: async (T) => {
12093
+ run: async (E) => {
12091
12094
  try {
12092
12095
  for (const { resources: u } of P)
12093
- for (const O of u)
12094
- O.setPlayground(T), O.isAsync && O.resolve();
12095
- for (const [u, { run: O, step: z }] of Object.entries(P))
12096
+ for (const T of u)
12097
+ T.setPlayground(E), T.isAsync && T.resolve();
12098
+ for (const [u, { run: T, step: z }] of Object.entries(P))
12096
12099
  try {
12097
- const m = await O(T);
12098
- c(m, z);
12099
- } catch (m) {
12100
- throw me.error(m), new Error(
12100
+ const y = await T(E);
12101
+ c(y, z);
12102
+ } catch (y) {
12103
+ throw me.error(y), new Error(
12101
12104
  `Error when executing the blueprint step #${u} (${JSON.stringify(
12102
12105
  z
12103
- )}) ${m instanceof Error ? `: ${m.message}` : m}`,
12104
- { cause: m }
12106
+ )}) ${y instanceof Error ? `: ${y.message}` : y}`,
12107
+ { cause: y }
12105
12108
  );
12106
12109
  }
12107
12110
  } finally {
12108
12111
  try {
12109
- await T.goTo(
12112
+ await E.goTo(
12110
12113
  r.landingPage || "/"
12111
12114
  );
12112
12115
  } catch {
@@ -12116,7 +12119,7 @@ function Yt(r, {
12116
12119
  }
12117
12120
  };
12118
12121
  }
12119
- function Nt(r) {
12122
+ function Dt(r) {
12120
12123
  var h;
12121
12124
  const t = Je(r);
12122
12125
  if (t)
@@ -12132,18 +12135,18 @@ function Nt(r) {
12132
12135
  errors: c
12133
12136
  };
12134
12137
  }
12135
- function Dt(r, t, p) {
12138
+ function xt(r, t, p) {
12136
12139
  return r && t.includes(r) ? r : p;
12137
12140
  }
12138
- function xt(r) {
12141
+ function Ct(r) {
12139
12142
  return !!(typeof r == "object" && r);
12140
12143
  }
12141
- function Ct(r) {
12144
+ function It(r) {
12142
12145
  return ["setPhpIniEntry", "request"].includes(r.step) ? (me.warn(
12143
12146
  `The "${r.step}" Blueprint is no longer supported and you can remove it from your Blueprint.`
12144
12147
  ), !1) : !0;
12145
12148
  }
12146
- function It(r, {
12149
+ function Wt(r, {
12147
12150
  semaphore: t,
12148
12151
  rootProgressTracker: p,
12149
12152
  totalProgressWeight: c,
@@ -12153,19 +12156,19 @@ function It(r, {
12153
12156
  const i = p.stage(
12154
12157
  (((P = r.progress) == null ? void 0 : P.weight) || 1) / c
12155
12158
  ), e = {};
12156
- for (const E of Object.keys(r)) {
12157
- let L = r[E];
12159
+ for (const $ of Object.keys(r)) {
12160
+ let L = r[$];
12158
12161
  bt(L) && (L = Oe.create(L, {
12159
12162
  semaphore: t,
12160
12163
  corsProxy: h
12161
- })), e[E] = L;
12164
+ })), e[$] = L;
12162
12165
  }
12163
- const d = async (E) => {
12166
+ const d = async ($) => {
12164
12167
  var L;
12165
12168
  try {
12166
- return i.fillSlowly(), await St[r.step](
12167
- E,
12168
- await Wt(e),
12169
+ return i.fillSlowly(), await Nt[r.step](
12170
+ $,
12171
+ await Ut(e),
12169
12172
  {
12170
12173
  tracker: i,
12171
12174
  initialCaption: (L = r.progress) == null ? void 0 : L.caption
@@ -12175,10 +12178,10 @@ function It(r, {
12175
12178
  i.finish();
12176
12179
  }
12177
12180
  }, g = cr(e), x = cr(e).filter(
12178
- (E) => E.isAsync
12179
- ), j = 1 / (x.length + 1);
12180
- for (const E of x)
12181
- E.progress = i.stage(j);
12181
+ ($) => $.isAsync
12182
+ ), q = 1 / (x.length + 1);
12183
+ for (const $ of x)
12184
+ $.progress = i.stage(q);
12182
12185
  return { run: d, step: r, resources: g };
12183
12186
  }
12184
12187
  function cr(r) {
@@ -12189,7 +12192,7 @@ function cr(r) {
12189
12192
  }
12190
12193
  return t;
12191
12194
  }
12192
- async function Wt(r) {
12195
+ async function Ut(r) {
12193
12196
  const t = {};
12194
12197
  for (const p in r) {
12195
12198
  const c = r[p];
@@ -12197,15 +12200,15 @@ async function Wt(r) {
12197
12200
  }
12198
12201
  return t;
12199
12202
  }
12200
- async function Zt(r, t) {
12203
+ async function Qt(r, t) {
12201
12204
  await r.run(t);
12202
12205
  }
12203
- function Qt() {
12206
+ function Xt() {
12204
12207
  }
12205
12208
  export {
12206
12209
  gr as activatePlugin,
12207
12210
  br as activateTheme,
12208
- Yt as compileBlueprint,
12211
+ Zt as compileBlueprint,
12209
12212
  Kr as cp,
12210
12213
  Or as defineSiteUrl,
12211
12214
  nr as defineWpConfigConsts,
@@ -12223,12 +12226,12 @@ export {
12223
12226
  lt as resetData,
12224
12227
  wr as rm,
12225
12228
  tt as rmdir,
12226
- Zt as runBlueprintSteps,
12229
+ Qt as runBlueprintSteps,
12227
12230
  Mr as runPHP,
12228
12231
  zr as runPHPWithOptions,
12229
12232
  Vr as runSql,
12230
12233
  dt as runWpInstallationWizard,
12231
- Qt as setPluginProxyURL,
12234
+ Xt as setPluginProxyURL,
12232
12235
  yt as setSiteLanguage,
12233
12236
  vr as setSiteOptions,
12234
12237
  pr as unzip,