@storm-software/workspace-tools 1.21.7 → 1.21.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1671,21 +1671,21 @@ var require_ansi_styles = __commonJS({
1671
1671
  "node_modules/.pnpm/ansi-styles@3.2.1/node_modules/ansi-styles/index.js"(exports, module2) {
1672
1672
  "use strict";
1673
1673
  var colorConvert = require_color_convert();
1674
- var wrapAnsi16 = (fn, offset) => function() {
1674
+ var wrapAnsi162 = (fn, offset) => function() {
1675
1675
  const code = fn.apply(colorConvert, arguments);
1676
1676
  return `\x1B[${code + offset}m`;
1677
1677
  };
1678
- var wrapAnsi256 = (fn, offset) => function() {
1678
+ var wrapAnsi2562 = (fn, offset) => function() {
1679
1679
  const code = fn.apply(colorConvert, arguments);
1680
1680
  return `\x1B[${38 + offset};5;${code}m`;
1681
1681
  };
1682
- var wrapAnsi16m = (fn, offset) => function() {
1682
+ var wrapAnsi16m2 = (fn, offset) => function() {
1683
1683
  const rgb = fn.apply(colorConvert, arguments);
1684
1684
  return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
1685
1685
  };
1686
- function assembleStyles() {
1686
+ function assembleStyles2() {
1687
1687
  const codes = /* @__PURE__ */ new Map();
1688
- const styles = {
1688
+ const styles3 = {
1689
1689
  modifier: {
1690
1690
  reset: [0, 0],
1691
1691
  // 21 isn't widely supported and 22 does the same thing
@@ -1736,48 +1736,48 @@ var require_ansi_styles = __commonJS({
1736
1736
  bgWhiteBright: [107, 49]
1737
1737
  }
1738
1738
  };
1739
- styles.color.grey = styles.color.gray;
1740
- for (const groupName of Object.keys(styles)) {
1741
- const group = styles[groupName];
1739
+ styles3.color.grey = styles3.color.gray;
1740
+ for (const groupName of Object.keys(styles3)) {
1741
+ const group = styles3[groupName];
1742
1742
  for (const styleName of Object.keys(group)) {
1743
1743
  const style = group[styleName];
1744
- styles[styleName] = {
1744
+ styles3[styleName] = {
1745
1745
  open: `\x1B[${style[0]}m`,
1746
1746
  close: `\x1B[${style[1]}m`
1747
1747
  };
1748
- group[styleName] = styles[styleName];
1748
+ group[styleName] = styles3[styleName];
1749
1749
  codes.set(style[0], style[1]);
1750
1750
  }
1751
- Object.defineProperty(styles, groupName, {
1751
+ Object.defineProperty(styles3, groupName, {
1752
1752
  value: group,
1753
1753
  enumerable: false
1754
1754
  });
1755
- Object.defineProperty(styles, "codes", {
1755
+ Object.defineProperty(styles3, "codes", {
1756
1756
  value: codes,
1757
1757
  enumerable: false
1758
1758
  });
1759
1759
  }
1760
1760
  const ansi2ansi = (n) => n;
1761
1761
  const rgb2rgb = (r, g, b) => [r, g, b];
1762
- styles.color.close = "\x1B[39m";
1763
- styles.bgColor.close = "\x1B[49m";
1764
- styles.color.ansi = {
1765
- ansi: wrapAnsi16(ansi2ansi, 0)
1762
+ styles3.color.close = "\x1B[39m";
1763
+ styles3.bgColor.close = "\x1B[49m";
1764
+ styles3.color.ansi = {
1765
+ ansi: wrapAnsi162(ansi2ansi, 0)
1766
1766
  };
1767
- styles.color.ansi256 = {
1768
- ansi256: wrapAnsi256(ansi2ansi, 0)
1767
+ styles3.color.ansi256 = {
1768
+ ansi256: wrapAnsi2562(ansi2ansi, 0)
1769
1769
  };
1770
- styles.color.ansi16m = {
1771
- rgb: wrapAnsi16m(rgb2rgb, 0)
1770
+ styles3.color.ansi16m = {
1771
+ rgb: wrapAnsi16m2(rgb2rgb, 0)
1772
1772
  };
1773
- styles.bgColor.ansi = {
1774
- ansi: wrapAnsi16(ansi2ansi, 10)
1773
+ styles3.bgColor.ansi = {
1774
+ ansi: wrapAnsi162(ansi2ansi, 10)
1775
1775
  };
1776
- styles.bgColor.ansi256 = {
1777
- ansi256: wrapAnsi256(ansi2ansi, 10)
1776
+ styles3.bgColor.ansi256 = {
1777
+ ansi256: wrapAnsi2562(ansi2ansi, 10)
1778
1778
  };
1779
- styles.bgColor.ansi16m = {
1780
- rgb: wrapAnsi16m(rgb2rgb, 10)
1779
+ styles3.bgColor.ansi16m = {
1780
+ rgb: wrapAnsi16m2(rgb2rgb, 10)
1781
1781
  };
1782
1782
  for (let key of Object.keys(colorConvert)) {
1783
1783
  if (typeof colorConvert[key] !== "object") {
@@ -1788,23 +1788,23 @@ var require_ansi_styles = __commonJS({
1788
1788
  key = "ansi";
1789
1789
  }
1790
1790
  if ("ansi16" in suite) {
1791
- styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
1792
- styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
1791
+ styles3.color.ansi[key] = wrapAnsi162(suite.ansi16, 0);
1792
+ styles3.bgColor.ansi[key] = wrapAnsi162(suite.ansi16, 10);
1793
1793
  }
1794
1794
  if ("ansi256" in suite) {
1795
- styles.color.ansi256[key] = wrapAnsi256(suite.ansi256, 0);
1796
- styles.bgColor.ansi256[key] = wrapAnsi256(suite.ansi256, 10);
1795
+ styles3.color.ansi256[key] = wrapAnsi2562(suite.ansi256, 0);
1796
+ styles3.bgColor.ansi256[key] = wrapAnsi2562(suite.ansi256, 10);
1797
1797
  }
1798
1798
  if ("rgb" in suite) {
1799
- styles.color.ansi16m[key] = wrapAnsi16m(suite.rgb, 0);
1800
- styles.bgColor.ansi16m[key] = wrapAnsi16m(suite.rgb, 10);
1799
+ styles3.color.ansi16m[key] = wrapAnsi16m2(suite.rgb, 0);
1800
+ styles3.bgColor.ansi16m[key] = wrapAnsi16m2(suite.rgb, 10);
1801
1801
  }
1802
1802
  }
1803
- return styles;
1803
+ return styles3;
1804
1804
  }
1805
1805
  Object.defineProperty(module2, "exports", {
1806
1806
  enumerable: true,
1807
- get: assembleStyles
1807
+ get: assembleStyles2
1808
1808
  });
1809
1809
  }
1810
1810
  });
@@ -1827,19 +1827,19 @@ var require_has_flag = __commonJS({
1827
1827
  var require_supports_color = __commonJS({
1828
1828
  "node_modules/.pnpm/supports-color@5.5.0/node_modules/supports-color/index.js"(exports, module2) {
1829
1829
  "use strict";
1830
- var os = require("os");
1831
- var hasFlag = require_has_flag();
1832
- var env = process.env;
1830
+ var os2 = require("os");
1831
+ var hasFlag2 = require_has_flag();
1832
+ var env2 = process.env;
1833
1833
  var forceColor;
1834
- if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
1834
+ if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false")) {
1835
1835
  forceColor = false;
1836
- } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
1836
+ } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
1837
1837
  forceColor = true;
1838
1838
  }
1839
- if ("FORCE_COLOR" in env) {
1840
- forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
1839
+ if ("FORCE_COLOR" in env2) {
1840
+ forceColor = env2.FORCE_COLOR.length === 0 || parseInt(env2.FORCE_COLOR, 10) !== 0;
1841
1841
  }
1842
- function translateLevel(level) {
1842
+ function translateLevel2(level) {
1843
1843
  if (level === 0) {
1844
1844
  return false;
1845
1845
  }
@@ -1850,14 +1850,14 @@ var require_supports_color = __commonJS({
1850
1850
  has16m: level >= 3
1851
1851
  };
1852
1852
  }
1853
- function supportsColor(stream2) {
1853
+ function supportsColor2(stream2) {
1854
1854
  if (forceColor === false) {
1855
1855
  return 0;
1856
1856
  }
1857
- if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
1857
+ if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
1858
1858
  return 3;
1859
1859
  }
1860
- if (hasFlag("color=256")) {
1860
+ if (hasFlag2("color=256")) {
1861
1861
  return 2;
1862
1862
  }
1863
1863
  if (stream2 && !stream2.isTTY && forceColor !== true) {
@@ -1865,50 +1865,50 @@ var require_supports_color = __commonJS({
1865
1865
  }
1866
1866
  const min = forceColor ? 1 : 0;
1867
1867
  if (process.platform === "win32") {
1868
- const osRelease = os.release().split(".");
1868
+ const osRelease = os2.release().split(".");
1869
1869
  if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
1870
1870
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
1871
1871
  }
1872
1872
  return 1;
1873
1873
  }
1874
- if ("CI" in env) {
1875
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
1874
+ if ("CI" in env2) {
1875
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
1876
1876
  return 1;
1877
1877
  }
1878
1878
  return min;
1879
1879
  }
1880
- if ("TEAMCITY_VERSION" in env) {
1881
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
1880
+ if ("TEAMCITY_VERSION" in env2) {
1881
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
1882
1882
  }
1883
- if (env.COLORTERM === "truecolor") {
1883
+ if (env2.COLORTERM === "truecolor") {
1884
1884
  return 3;
1885
1885
  }
1886
- if ("TERM_PROGRAM" in env) {
1887
- const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
1888
- switch (env.TERM_PROGRAM) {
1886
+ if ("TERM_PROGRAM" in env2) {
1887
+ const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
1888
+ switch (env2.TERM_PROGRAM) {
1889
1889
  case "iTerm.app":
1890
1890
  return version >= 3 ? 3 : 2;
1891
1891
  case "Apple_Terminal":
1892
1892
  return 2;
1893
1893
  }
1894
1894
  }
1895
- if (/-256(color)?$/i.test(env.TERM)) {
1895
+ if (/-256(color)?$/i.test(env2.TERM)) {
1896
1896
  return 2;
1897
1897
  }
1898
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
1898
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
1899
1899
  return 1;
1900
1900
  }
1901
- if ("COLORTERM" in env) {
1901
+ if ("COLORTERM" in env2) {
1902
1902
  return 1;
1903
1903
  }
1904
- if (env.TERM === "dumb") {
1904
+ if (env2.TERM === "dumb") {
1905
1905
  return min;
1906
1906
  }
1907
1907
  return min;
1908
1908
  }
1909
1909
  function getSupportLevel(stream2) {
1910
- const level = supportsColor(stream2);
1911
- return translateLevel(level);
1910
+ const level = supportsColor2(stream2);
1911
+ return translateLevel2(level);
1912
1912
  }
1913
1913
  module2.exports = {
1914
1914
  supportsColor: getSupportLevel,
@@ -1974,14 +1974,14 @@ var require_templates = __commonJS({
1974
1974
  }
1975
1975
  return results;
1976
1976
  }
1977
- function buildStyle(chalk, styles) {
1977
+ function buildStyle(chalk2, styles3) {
1978
1978
  const enabled = {};
1979
- for (const layer of styles) {
1979
+ for (const layer of styles3) {
1980
1980
  for (const style of layer.styles) {
1981
1981
  enabled[style[0]] = layer.inverse ? null : style.slice(1);
1982
1982
  }
1983
1983
  }
1984
- let current = chalk;
1984
+ let current = chalk2;
1985
1985
  for (const styleName of Object.keys(enabled)) {
1986
1986
  if (Array.isArray(enabled[styleName])) {
1987
1987
  if (!(styleName in current)) {
@@ -1996,8 +1996,8 @@ var require_templates = __commonJS({
1996
1996
  }
1997
1997
  return current;
1998
1998
  }
1999
- module2.exports = (chalk, tmp) => {
2000
- const styles = [];
1999
+ module2.exports = (chalk2, tmp) => {
2000
+ const styles3 = [];
2001
2001
  const chunks = [];
2002
2002
  let chunk = [];
2003
2003
  tmp.replace(TEMPLATE_REGEX, (m, escapeChar, inverse, style, close, chr) => {
@@ -2006,22 +2006,22 @@ var require_templates = __commonJS({
2006
2006
  } else if (style) {
2007
2007
  const str = chunk.join("");
2008
2008
  chunk = [];
2009
- chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str));
2010
- styles.push({ inverse, styles: parseStyle(style) });
2009
+ chunks.push(styles3.length === 0 ? str : buildStyle(chalk2, styles3)(str));
2010
+ styles3.push({ inverse, styles: parseStyle(style) });
2011
2011
  } else if (close) {
2012
- if (styles.length === 0) {
2012
+ if (styles3.length === 0) {
2013
2013
  throw new Error("Found extraneous } in Chalk template literal");
2014
2014
  }
2015
- chunks.push(buildStyle(chalk, styles)(chunk.join("")));
2015
+ chunks.push(buildStyle(chalk2, styles3)(chunk.join("")));
2016
2016
  chunk = [];
2017
- styles.pop();
2017
+ styles3.pop();
2018
2018
  } else {
2019
2019
  chunk.push(chr);
2020
2020
  }
2021
2021
  });
2022
2022
  chunks.push(chunk.join(""));
2023
- if (styles.length > 0) {
2024
- const errMsg = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? "" : "s"} (\`}\`)`;
2023
+ if (styles3.length > 0) {
2024
+ const errMsg = `Chalk template literal is missing ${styles3.length} closing bracket${styles3.length === 1 ? "" : "s"} (\`}\`)`;
2025
2025
  throw new Error(errMsg);
2026
2026
  }
2027
2027
  return chunks.join("");
@@ -2034,97 +2034,97 @@ var require_chalk = __commonJS({
2034
2034
  "node_modules/.pnpm/chalk@2.4.2/node_modules/chalk/index.js"(exports, module2) {
2035
2035
  "use strict";
2036
2036
  var escapeStringRegexp = require_escape_string_regexp();
2037
- var ansiStyles = require_ansi_styles();
2038
- var stdoutColor = require_supports_color().stdout;
2037
+ var ansiStyles2 = require_ansi_styles();
2038
+ var stdoutColor2 = require_supports_color().stdout;
2039
2039
  var template = require_templates();
2040
2040
  var isSimpleWindowsTerm = process.platform === "win32" && !(process.env.TERM || "").toLowerCase().startsWith("xterm");
2041
- var levelMapping = ["ansi", "ansi", "ansi256", "ansi16m"];
2041
+ var levelMapping2 = ["ansi", "ansi", "ansi256", "ansi16m"];
2042
2042
  var skipModels = /* @__PURE__ */ new Set(["gray"]);
2043
- var styles = /* @__PURE__ */ Object.create(null);
2044
- function applyOptions(obj, options) {
2043
+ var styles3 = /* @__PURE__ */ Object.create(null);
2044
+ function applyOptions2(obj, options) {
2045
2045
  options = options || {};
2046
- const scLevel = stdoutColor ? stdoutColor.level : 0;
2046
+ const scLevel = stdoutColor2 ? stdoutColor2.level : 0;
2047
2047
  obj.level = options.level === void 0 ? scLevel : options.level;
2048
2048
  obj.enabled = "enabled" in options ? options.enabled : obj.level > 0;
2049
2049
  }
2050
2050
  function Chalk(options) {
2051
2051
  if (!this || !(this instanceof Chalk) || this.template) {
2052
- const chalk = {};
2053
- applyOptions(chalk, options);
2054
- chalk.template = function() {
2052
+ const chalk2 = {};
2053
+ applyOptions2(chalk2, options);
2054
+ chalk2.template = function() {
2055
2055
  const args = [].slice.call(arguments);
2056
- return chalkTag.apply(null, [chalk.template].concat(args));
2056
+ return chalkTag.apply(null, [chalk2.template].concat(args));
2057
2057
  };
2058
- Object.setPrototypeOf(chalk, Chalk.prototype);
2059
- Object.setPrototypeOf(chalk.template, chalk);
2060
- chalk.template.constructor = Chalk;
2061
- return chalk.template;
2058
+ Object.setPrototypeOf(chalk2, Chalk.prototype);
2059
+ Object.setPrototypeOf(chalk2.template, chalk2);
2060
+ chalk2.template.constructor = Chalk;
2061
+ return chalk2.template;
2062
2062
  }
2063
- applyOptions(this, options);
2063
+ applyOptions2(this, options);
2064
2064
  }
2065
2065
  if (isSimpleWindowsTerm) {
2066
- ansiStyles.blue.open = "\x1B[94m";
2066
+ ansiStyles2.blue.open = "\x1B[94m";
2067
2067
  }
2068
- for (const key of Object.keys(ansiStyles)) {
2069
- ansiStyles[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles[key].close), "g");
2070
- styles[key] = {
2068
+ for (const key of Object.keys(ansiStyles2)) {
2069
+ ansiStyles2[key].closeRe = new RegExp(escapeStringRegexp(ansiStyles2[key].close), "g");
2070
+ styles3[key] = {
2071
2071
  get() {
2072
- const codes = ansiStyles[key];
2072
+ const codes = ansiStyles2[key];
2073
2073
  return build2.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key);
2074
2074
  }
2075
2075
  };
2076
2076
  }
2077
- styles.visible = {
2077
+ styles3.visible = {
2078
2078
  get() {
2079
2079
  return build2.call(this, this._styles || [], true, "visible");
2080
2080
  }
2081
2081
  };
2082
- ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), "g");
2083
- for (const model of Object.keys(ansiStyles.color.ansi)) {
2082
+ ansiStyles2.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles2.color.close), "g");
2083
+ for (const model of Object.keys(ansiStyles2.color.ansi)) {
2084
2084
  if (skipModels.has(model)) {
2085
2085
  continue;
2086
2086
  }
2087
- styles[model] = {
2087
+ styles3[model] = {
2088
2088
  get() {
2089
2089
  const level = this.level;
2090
2090
  return function() {
2091
- const open = ansiStyles.color[levelMapping[level]][model].apply(null, arguments);
2091
+ const open = ansiStyles2.color[levelMapping2[level]][model].apply(null, arguments);
2092
2092
  const codes = {
2093
2093
  open,
2094
- close: ansiStyles.color.close,
2095
- closeRe: ansiStyles.color.closeRe
2094
+ close: ansiStyles2.color.close,
2095
+ closeRe: ansiStyles2.color.closeRe
2096
2096
  };
2097
2097
  return build2.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
2098
2098
  };
2099
2099
  }
2100
2100
  };
2101
2101
  }
2102
- ansiStyles.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles.bgColor.close), "g");
2103
- for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
2102
+ ansiStyles2.bgColor.closeRe = new RegExp(escapeStringRegexp(ansiStyles2.bgColor.close), "g");
2103
+ for (const model of Object.keys(ansiStyles2.bgColor.ansi)) {
2104
2104
  if (skipModels.has(model)) {
2105
2105
  continue;
2106
2106
  }
2107
2107
  const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
2108
- styles[bgModel] = {
2108
+ styles3[bgModel] = {
2109
2109
  get() {
2110
2110
  const level = this.level;
2111
2111
  return function() {
2112
- const open = ansiStyles.bgColor[levelMapping[level]][model].apply(null, arguments);
2112
+ const open = ansiStyles2.bgColor[levelMapping2[level]][model].apply(null, arguments);
2113
2113
  const codes = {
2114
2114
  open,
2115
- close: ansiStyles.bgColor.close,
2116
- closeRe: ansiStyles.bgColor.closeRe
2115
+ close: ansiStyles2.bgColor.close,
2116
+ closeRe: ansiStyles2.bgColor.closeRe
2117
2117
  };
2118
2118
  return build2.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
2119
2119
  };
2120
2120
  }
2121
2121
  };
2122
2122
  }
2123
- var proto = Object.defineProperties(() => {
2124
- }, styles);
2123
+ var proto2 = Object.defineProperties(() => {
2124
+ }, styles3);
2125
2125
  function build2(_styles, _empty, key) {
2126
2126
  const builder = function() {
2127
- return applyStyle.apply(builder, arguments);
2127
+ return applyStyle2.apply(builder, arguments);
2128
2128
  };
2129
2129
  builder._styles = _styles;
2130
2130
  builder._empty = _empty;
@@ -2148,10 +2148,10 @@ var require_chalk = __commonJS({
2148
2148
  }
2149
2149
  });
2150
2150
  builder.hasGrey = this.hasGrey || key === "gray" || key === "grey";
2151
- builder.__proto__ = proto;
2151
+ builder.__proto__ = proto2;
2152
2152
  return builder;
2153
2153
  }
2154
- function applyStyle() {
2154
+ function applyStyle2() {
2155
2155
  const args = arguments;
2156
2156
  const argsLen = args.length;
2157
2157
  let str = String(arguments[0]);
@@ -2166,18 +2166,18 @@ var require_chalk = __commonJS({
2166
2166
  if (!this.enabled || this.level <= 0 || !str) {
2167
2167
  return this._empty ? "" : str;
2168
2168
  }
2169
- const originalDim = ansiStyles.dim.open;
2169
+ const originalDim = ansiStyles2.dim.open;
2170
2170
  if (isSimpleWindowsTerm && this.hasGrey) {
2171
- ansiStyles.dim.open = "";
2171
+ ansiStyles2.dim.open = "";
2172
2172
  }
2173
2173
  for (const code of this._styles.slice().reverse()) {
2174
2174
  str = code.open + str.replace(code.closeRe, code.open) + code.close;
2175
2175
  str = str.replace(/\r?\n/g, `${code.close}$&${code.open}`);
2176
2176
  }
2177
- ansiStyles.dim.open = originalDim;
2177
+ ansiStyles2.dim.open = originalDim;
2178
2178
  return str;
2179
2179
  }
2180
- function chalkTag(chalk, strings) {
2180
+ function chalkTag(chalk2, strings) {
2181
2181
  if (!Array.isArray(strings)) {
2182
2182
  return [].slice.call(arguments, 1).join(" ");
2183
2183
  }
@@ -2187,11 +2187,11 @@ var require_chalk = __commonJS({
2187
2187
  parts.push(String(args[i - 1]).replace(/[{}\\]/g, "\\$&"));
2188
2188
  parts.push(String(strings.raw[i]));
2189
2189
  }
2190
- return template(chalk, parts.join(""));
2190
+ return template(chalk2, parts.join(""));
2191
2191
  }
2192
- Object.defineProperties(Chalk.prototype, styles);
2192
+ Object.defineProperties(Chalk.prototype, styles3);
2193
2193
  module2.exports = Chalk();
2194
- module2.exports.supportsColor = stdoutColor;
2194
+ module2.exports.supportsColor = stdoutColor2;
2195
2195
  module2.exports.default = module2.exports;
2196
2196
  }
2197
2197
  });
@@ -2247,17 +2247,17 @@ var require_lib2 = __commonJS({
2247
2247
  return newObj;
2248
2248
  }
2249
2249
  var sometimesKeywords = /* @__PURE__ */ new Set(["as", "async", "from", "get", "of", "set"]);
2250
- function getDefs(chalk) {
2250
+ function getDefs(chalk2) {
2251
2251
  return {
2252
- keyword: chalk.cyan,
2253
- capitalized: chalk.yellow,
2254
- jsxIdentifier: chalk.yellow,
2255
- punctuator: chalk.yellow,
2256
- number: chalk.magenta,
2257
- string: chalk.green,
2258
- regex: chalk.magenta,
2259
- comment: chalk.grey,
2260
- invalid: chalk.white.bgRed.bold
2252
+ keyword: chalk2.cyan,
2253
+ capitalized: chalk2.yellow,
2254
+ jsxIdentifier: chalk2.yellow,
2255
+ punctuator: chalk2.yellow,
2256
+ number: chalk2.magenta,
2257
+ string: chalk2.green,
2258
+ regex: chalk2.magenta,
2259
+ comment: chalk2.grey,
2260
+ invalid: chalk2.white.bgRed.bold
2261
2261
  };
2262
2262
  }
2263
2263
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
@@ -2402,11 +2402,11 @@ var require_lib3 = __commonJS({
2402
2402
  return _chalk.default;
2403
2403
  }
2404
2404
  var deprecationWarningShown = false;
2405
- function getDefs(chalk) {
2405
+ function getDefs(chalk2) {
2406
2406
  return {
2407
- gutter: chalk.grey,
2408
- marker: chalk.red.bold,
2409
- message: chalk.red.bold
2407
+ gutter: chalk2.grey,
2408
+ marker: chalk2.red.bold,
2409
+ message: chalk2.red.bold
2410
2410
  };
2411
2411
  }
2412
2412
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
@@ -2468,8 +2468,8 @@ var require_lib3 = __commonJS({
2468
2468
  }
2469
2469
  function codeFrameColumns(rawLines, loc, opts = {}) {
2470
2470
  const highlighted = (opts.highlightCode || opts.forceColor) && (0, _highlight.shouldHighlight)(opts);
2471
- const chalk = getChalk(opts.forceColor);
2472
- const defs = getDefs(chalk);
2471
+ const chalk2 = getChalk(opts.forceColor);
2472
+ const defs = getDefs(chalk2);
2473
2473
  const maybeHighlight = (chalkFn, string) => {
2474
2474
  return highlighted ? chalkFn(string) : string;
2475
2475
  };
@@ -2508,7 +2508,7 @@ var require_lib3 = __commonJS({
2508
2508
  ${frame}`;
2509
2509
  }
2510
2510
  if (highlighted) {
2511
- return chalk.reset(frame);
2511
+ return chalk2.reset(frame);
2512
2512
  } else {
2513
2513
  return frame;
2514
2514
  }
@@ -5707,10 +5707,10 @@ var require_env_paths = __commonJS({
5707
5707
  "node_modules/.pnpm/env-paths@2.2.1/node_modules/env-paths/index.js"(exports, module2) {
5708
5708
  "use strict";
5709
5709
  var path3 = require("path");
5710
- var os = require("os");
5711
- var homedir = os.homedir();
5712
- var tmpdir = os.tmpdir();
5713
- var { env } = process;
5710
+ var os2 = require("os");
5711
+ var homedir = os2.homedir();
5712
+ var tmpdir = os2.tmpdir();
5713
+ var { env: env2 } = process;
5714
5714
  var macos = (name) => {
5715
5715
  const library = path3.join(homedir, "Library");
5716
5716
  return {
@@ -5722,8 +5722,8 @@ var require_env_paths = __commonJS({
5722
5722
  };
5723
5723
  };
5724
5724
  var windows = (name) => {
5725
- const appData = env.APPDATA || path3.join(homedir, "AppData", "Roaming");
5726
- const localAppData = env.LOCALAPPDATA || path3.join(homedir, "AppData", "Local");
5725
+ const appData = env2.APPDATA || path3.join(homedir, "AppData", "Roaming");
5726
+ const localAppData = env2.LOCALAPPDATA || path3.join(homedir, "AppData", "Local");
5727
5727
  return {
5728
5728
  // Data/config/cache/log are invented by me as Windows isn't opinionated about this
5729
5729
  data: path3.join(localAppData, name, "Data"),
@@ -5736,11 +5736,11 @@ var require_env_paths = __commonJS({
5736
5736
  var linux = (name) => {
5737
5737
  const username = path3.basename(homedir);
5738
5738
  return {
5739
- data: path3.join(env.XDG_DATA_HOME || path3.join(homedir, ".local", "share"), name),
5740
- config: path3.join(env.XDG_CONFIG_HOME || path3.join(homedir, ".config"), name),
5741
- cache: path3.join(env.XDG_CACHE_HOME || path3.join(homedir, ".cache"), name),
5739
+ data: path3.join(env2.XDG_DATA_HOME || path3.join(homedir, ".local", "share"), name),
5740
+ config: path3.join(env2.XDG_CONFIG_HOME || path3.join(homedir, ".config"), name),
5741
+ cache: path3.join(env2.XDG_CACHE_HOME || path3.join(homedir, ".cache"), name),
5742
5742
  // https://wiki.debian.org/XDGBaseDirectorySpecification#state
5743
- log: path3.join(env.XDG_STATE_HOME || path3.join(homedir, ".local", "state"), name),
5743
+ log: path3.join(env2.XDG_STATE_HOME || path3.join(homedir, ".local", "state"), name),
5744
5744
  temp: path3.join(tmpdir, username, name)
5745
5745
  };
5746
5746
  };
@@ -6923,7 +6923,7 @@ function __classPrivateFieldIn(state, receiver) {
6923
6923
  throw new TypeError("Cannot use 'in' operator on non-object");
6924
6924
  return typeof state === "function" ? receiver === state : state.has(receiver);
6925
6925
  }
6926
- function __addDisposableResource(env, value, async) {
6926
+ function __addDisposableResource(env2, value, async) {
6927
6927
  if (value !== null && value !== void 0) {
6928
6928
  if (typeof value !== "object" && typeof value !== "function")
6929
6929
  throw new TypeError("Object expected.");
@@ -6940,20 +6940,20 @@ function __addDisposableResource(env, value, async) {
6940
6940
  }
6941
6941
  if (typeof dispose !== "function")
6942
6942
  throw new TypeError("Object not disposable.");
6943
- env.stack.push({ value, dispose, async });
6943
+ env2.stack.push({ value, dispose, async });
6944
6944
  } else if (async) {
6945
- env.stack.push({ async: true });
6945
+ env2.stack.push({ async: true });
6946
6946
  }
6947
6947
  return value;
6948
6948
  }
6949
- function __disposeResources(env) {
6949
+ function __disposeResources(env2) {
6950
6950
  function fail(e) {
6951
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
6952
- env.hasError = true;
6951
+ env2.error = env2.hasError ? new _SuppressedError(e, env2.error, "An error was suppressed during disposal.") : e;
6952
+ env2.hasError = true;
6953
6953
  }
6954
6954
  function next() {
6955
- while (env.stack.length) {
6956
- var rec = env.stack.pop();
6955
+ while (env2.stack.length) {
6956
+ var rec = env2.stack.pop();
6957
6957
  try {
6958
6958
  var result = rec.dispose && rec.dispose.call(rec.value);
6959
6959
  if (rec.async)
@@ -6965,8 +6965,8 @@ function __disposeResources(env) {
6965
6965
  fail(e);
6966
6966
  }
6967
6967
  }
6968
- if (env.hasError)
6969
- throw env.error;
6968
+ if (env2.hasError)
6969
+ throw env2.error;
6970
6970
  }
6971
6971
  return next();
6972
6972
  }
@@ -13597,16 +13597,16 @@ var require_rimraf = __commonJS({
13597
13597
  var require_tmp = __commonJS({
13598
13598
  "node_modules/.pnpm/tmp@0.2.1/node_modules/tmp/lib/tmp.js"(exports, module2) {
13599
13599
  var fs = require("fs");
13600
- var os = require("os");
13600
+ var os2 = require("os");
13601
13601
  var path3 = require("path");
13602
13602
  var crypto = require("crypto");
13603
- var _c = { fs: fs.constants, os: os.constants };
13603
+ var _c = { fs: fs.constants, os: os2.constants };
13604
13604
  var rimraf = require_rimraf();
13605
13605
  var RANDOM_CHARS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
13606
13606
  var TEMPLATE_PATTERN = /XXXXXX/;
13607
13607
  var DEFAULT_TRIES = 3;
13608
13608
  var CREATE_FLAGS = (_c.O_CREAT || _c.fs.O_CREAT) | (_c.O_EXCL || _c.fs.O_EXCL) | (_c.O_RDWR || _c.fs.O_RDWR);
13609
- var IS_WIN32 = os.platform() === "win32";
13609
+ var IS_WIN32 = os2.platform() === "win32";
13610
13610
  var EBADF = _c.EBADF || _c.os.errno.EBADF;
13611
13611
  var ENOENT2 = _c.ENOENT || _c.os.errno.ENOENT;
13612
13612
  var DIR_MODE = 448;
@@ -13903,7 +13903,7 @@ var require_tmp = __commonJS({
13903
13903
  _gracefulCleanup = true;
13904
13904
  }
13905
13905
  function _getTmpDir(options) {
13906
- return path3.resolve(_sanitizeName(options && options.tmpdir || os.tmpdir()));
13906
+ return path3.resolve(_sanitizeName(options && options.tmpdir || os2.tmpdir()));
13907
13907
  }
13908
13908
  process.addListener(EXIT, _garbageCollector);
13909
13909
  Object.defineProperty(module2.exports, "tmpdir", {
@@ -18276,7 +18276,7 @@ var require_innerFrom = __commonJS({
18276
18276
  exports.fromIterable = fromIterable;
18277
18277
  function fromAsyncIterable(asyncIterable) {
18278
18278
  return new Observable_1.Observable(function(subscriber) {
18279
- process2(asyncIterable, subscriber).catch(function(err) {
18279
+ process3(asyncIterable, subscriber).catch(function(err) {
18280
18280
  return subscriber.error(err);
18281
18281
  });
18282
18282
  });
@@ -18286,7 +18286,7 @@ var require_innerFrom = __commonJS({
18286
18286
  return fromAsyncIterable(isReadableStreamLike_1.readableStreamLikeToAsyncGenerator(readableStream));
18287
18287
  }
18288
18288
  exports.fromReadableStreamLike = fromReadableStreamLike;
18289
- function process2(asyncIterable, subscriber) {
18289
+ function process3(asyncIterable, subscriber) {
18290
18290
  var asyncIterable_1, asyncIterable_1_1;
18291
18291
  var e_2, _a;
18292
18292
  return __awaiter2(this, void 0, void 0, function() {
@@ -26152,15 +26152,15 @@ var require_color_convert2 = __commonJS({
26152
26152
  var require_ansi_styles2 = __commonJS({
26153
26153
  "node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js"(exports, module2) {
26154
26154
  "use strict";
26155
- var wrapAnsi16 = (fn, offset) => (...args) => {
26155
+ var wrapAnsi162 = (fn, offset) => (...args) => {
26156
26156
  const code = fn(...args);
26157
26157
  return `\x1B[${code + offset}m`;
26158
26158
  };
26159
- var wrapAnsi256 = (fn, offset) => (...args) => {
26159
+ var wrapAnsi2562 = (fn, offset) => (...args) => {
26160
26160
  const code = fn(...args);
26161
26161
  return `\x1B[${38 + offset};5;${code}m`;
26162
26162
  };
26163
- var wrapAnsi16m = (fn, offset) => (...args) => {
26163
+ var wrapAnsi16m2 = (fn, offset) => (...args) => {
26164
26164
  const rgb = fn(...args);
26165
26165
  return `\x1B[${38 + offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`;
26166
26166
  };
@@ -26187,20 +26187,20 @@ var require_ansi_styles2 = __commonJS({
26187
26187
  colorConvert = require_color_convert2();
26188
26188
  }
26189
26189
  const offset = isBackground ? 10 : 0;
26190
- const styles = {};
26190
+ const styles3 = {};
26191
26191
  for (const [sourceSpace, suite] of Object.entries(colorConvert)) {
26192
26192
  const name = sourceSpace === "ansi16" ? "ansi" : sourceSpace;
26193
26193
  if (sourceSpace === targetSpace) {
26194
- styles[name] = wrap(identity, offset);
26194
+ styles3[name] = wrap(identity, offset);
26195
26195
  } else if (typeof suite === "object") {
26196
- styles[name] = wrap(suite[targetSpace], offset);
26196
+ styles3[name] = wrap(suite[targetSpace], offset);
26197
26197
  }
26198
26198
  }
26199
- return styles;
26199
+ return styles3;
26200
26200
  };
26201
- function assembleStyles() {
26201
+ function assembleStyles2() {
26202
26202
  const codes = /* @__PURE__ */ new Map();
26203
- const styles = {
26203
+ const styles3 = {
26204
26204
  modifier: {
26205
26205
  reset: [0, 0],
26206
26206
  // 21 isn't widely supported and 22 does the same thing
@@ -26251,41 +26251,41 @@ var require_ansi_styles2 = __commonJS({
26251
26251
  bgWhiteBright: [107, 49]
26252
26252
  }
26253
26253
  };
26254
- styles.color.gray = styles.color.blackBright;
26255
- styles.bgColor.bgGray = styles.bgColor.bgBlackBright;
26256
- styles.color.grey = styles.color.blackBright;
26257
- styles.bgColor.bgGrey = styles.bgColor.bgBlackBright;
26258
- for (const [groupName, group] of Object.entries(styles)) {
26254
+ styles3.color.gray = styles3.color.blackBright;
26255
+ styles3.bgColor.bgGray = styles3.bgColor.bgBlackBright;
26256
+ styles3.color.grey = styles3.color.blackBright;
26257
+ styles3.bgColor.bgGrey = styles3.bgColor.bgBlackBright;
26258
+ for (const [groupName, group] of Object.entries(styles3)) {
26259
26259
  for (const [styleName, style] of Object.entries(group)) {
26260
- styles[styleName] = {
26260
+ styles3[styleName] = {
26261
26261
  open: `\x1B[${style[0]}m`,
26262
26262
  close: `\x1B[${style[1]}m`
26263
26263
  };
26264
- group[styleName] = styles[styleName];
26264
+ group[styleName] = styles3[styleName];
26265
26265
  codes.set(style[0], style[1]);
26266
26266
  }
26267
- Object.defineProperty(styles, groupName, {
26267
+ Object.defineProperty(styles3, groupName, {
26268
26268
  value: group,
26269
26269
  enumerable: false
26270
26270
  });
26271
26271
  }
26272
- Object.defineProperty(styles, "codes", {
26272
+ Object.defineProperty(styles3, "codes", {
26273
26273
  value: codes,
26274
26274
  enumerable: false
26275
26275
  });
26276
- styles.color.close = "\x1B[39m";
26277
- styles.bgColor.close = "\x1B[49m";
26278
- setLazyProperty(styles.color, "ansi", () => makeDynamicStyles(wrapAnsi16, "ansi16", ansi2ansi, false));
26279
- setLazyProperty(styles.color, "ansi256", () => makeDynamicStyles(wrapAnsi256, "ansi256", ansi2ansi, false));
26280
- setLazyProperty(styles.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m, "rgb", rgb2rgb, false));
26281
- setLazyProperty(styles.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi16, "ansi16", ansi2ansi, true));
26282
- setLazyProperty(styles.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi256, "ansi256", ansi2ansi, true));
26283
- setLazyProperty(styles.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m, "rgb", rgb2rgb, true));
26284
- return styles;
26276
+ styles3.color.close = "\x1B[39m";
26277
+ styles3.bgColor.close = "\x1B[49m";
26278
+ setLazyProperty(styles3.color, "ansi", () => makeDynamicStyles(wrapAnsi162, "ansi16", ansi2ansi, false));
26279
+ setLazyProperty(styles3.color, "ansi256", () => makeDynamicStyles(wrapAnsi2562, "ansi256", ansi2ansi, false));
26280
+ setLazyProperty(styles3.color, "ansi16m", () => makeDynamicStyles(wrapAnsi16m2, "rgb", rgb2rgb, false));
26281
+ setLazyProperty(styles3.bgColor, "ansi", () => makeDynamicStyles(wrapAnsi162, "ansi16", ansi2ansi, true));
26282
+ setLazyProperty(styles3.bgColor, "ansi256", () => makeDynamicStyles(wrapAnsi2562, "ansi256", ansi2ansi, true));
26283
+ setLazyProperty(styles3.bgColor, "ansi16m", () => makeDynamicStyles(wrapAnsi16m2, "rgb", rgb2rgb, true));
26284
+ return styles3;
26285
26285
  }
26286
26286
  Object.defineProperty(module2, "exports", {
26287
26287
  enumerable: true,
26288
- get: assembleStyles
26288
+ get: assembleStyles2
26289
26289
  });
26290
26290
  }
26291
26291
  });
@@ -26307,26 +26307,26 @@ var require_has_flag2 = __commonJS({
26307
26307
  var require_supports_color2 = __commonJS({
26308
26308
  "node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module2) {
26309
26309
  "use strict";
26310
- var os = require("os");
26311
- var tty = require("tty");
26312
- var hasFlag = require_has_flag2();
26313
- var { env } = process;
26310
+ var os2 = require("os");
26311
+ var tty2 = require("tty");
26312
+ var hasFlag2 = require_has_flag2();
26313
+ var { env: env2 } = process;
26314
26314
  var forceColor;
26315
- if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
26315
+ if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
26316
26316
  forceColor = 0;
26317
- } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
26317
+ } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
26318
26318
  forceColor = 1;
26319
26319
  }
26320
- if ("FORCE_COLOR" in env) {
26321
- if (env.FORCE_COLOR === "true") {
26320
+ if ("FORCE_COLOR" in env2) {
26321
+ if (env2.FORCE_COLOR === "true") {
26322
26322
  forceColor = 1;
26323
- } else if (env.FORCE_COLOR === "false") {
26323
+ } else if (env2.FORCE_COLOR === "false") {
26324
26324
  forceColor = 0;
26325
26325
  } else {
26326
- forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
26326
+ forceColor = env2.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env2.FORCE_COLOR, 10), 3);
26327
26327
  }
26328
26328
  }
26329
- function translateLevel(level) {
26329
+ function translateLevel2(level) {
26330
26330
  if (level === 0) {
26331
26331
  return false;
26332
26332
  }
@@ -26337,70 +26337,70 @@ var require_supports_color2 = __commonJS({
26337
26337
  has16m: level >= 3
26338
26338
  };
26339
26339
  }
26340
- function supportsColor(haveStream, streamIsTTY) {
26340
+ function supportsColor2(haveStream, streamIsTTY) {
26341
26341
  if (forceColor === 0) {
26342
26342
  return 0;
26343
26343
  }
26344
- if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
26344
+ if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
26345
26345
  return 3;
26346
26346
  }
26347
- if (hasFlag("color=256")) {
26347
+ if (hasFlag2("color=256")) {
26348
26348
  return 2;
26349
26349
  }
26350
26350
  if (haveStream && !streamIsTTY && forceColor === void 0) {
26351
26351
  return 0;
26352
26352
  }
26353
26353
  const min = forceColor || 0;
26354
- if (env.TERM === "dumb") {
26354
+ if (env2.TERM === "dumb") {
26355
26355
  return min;
26356
26356
  }
26357
26357
  if (process.platform === "win32") {
26358
- const osRelease = os.release().split(".");
26358
+ const osRelease = os2.release().split(".");
26359
26359
  if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
26360
26360
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
26361
26361
  }
26362
26362
  return 1;
26363
26363
  }
26364
- if ("CI" in env) {
26365
- if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
26364
+ if ("CI" in env2) {
26365
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env2) || env2.CI_NAME === "codeship") {
26366
26366
  return 1;
26367
26367
  }
26368
26368
  return min;
26369
26369
  }
26370
- if ("TEAMCITY_VERSION" in env) {
26371
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
26370
+ if ("TEAMCITY_VERSION" in env2) {
26371
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env2.TEAMCITY_VERSION) ? 1 : 0;
26372
26372
  }
26373
- if (env.COLORTERM === "truecolor") {
26373
+ if (env2.COLORTERM === "truecolor") {
26374
26374
  return 3;
26375
26375
  }
26376
- if ("TERM_PROGRAM" in env) {
26377
- const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
26378
- switch (env.TERM_PROGRAM) {
26376
+ if ("TERM_PROGRAM" in env2) {
26377
+ const version = parseInt((env2.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
26378
+ switch (env2.TERM_PROGRAM) {
26379
26379
  case "iTerm.app":
26380
26380
  return version >= 3 ? 3 : 2;
26381
26381
  case "Apple_Terminal":
26382
26382
  return 2;
26383
26383
  }
26384
26384
  }
26385
- if (/-256(color)?$/i.test(env.TERM)) {
26385
+ if (/-256(color)?$/i.test(env2.TERM)) {
26386
26386
  return 2;
26387
26387
  }
26388
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
26388
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env2.TERM)) {
26389
26389
  return 1;
26390
26390
  }
26391
- if ("COLORTERM" in env) {
26391
+ if ("COLORTERM" in env2) {
26392
26392
  return 1;
26393
26393
  }
26394
26394
  return min;
26395
26395
  }
26396
26396
  function getSupportLevel(stream2) {
26397
- const level = supportsColor(stream2, stream2 && stream2.isTTY);
26398
- return translateLevel(level);
26397
+ const level = supportsColor2(stream2, stream2 && stream2.isTTY);
26398
+ return translateLevel2(level);
26399
26399
  }
26400
26400
  module2.exports = {
26401
26401
  supportsColor: getSupportLevel,
26402
- stdout: translateLevel(supportsColor(true, tty.isatty(1))),
26403
- stderr: translateLevel(supportsColor(true, tty.isatty(2)))
26402
+ stdout: translateLevel2(supportsColor2(true, tty2.isatty(1))),
26403
+ stderr: translateLevel2(supportsColor2(true, tty2.isatty(2)))
26404
26404
  };
26405
26405
  }
26406
26406
  });
@@ -26409,7 +26409,7 @@ var require_supports_color2 = __commonJS({
26409
26409
  var require_util2 = __commonJS({
26410
26410
  "node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports, module2) {
26411
26411
  "use strict";
26412
- var stringReplaceAll = (string, substring, replacer) => {
26412
+ var stringReplaceAll2 = (string, substring, replacer) => {
26413
26413
  let index = string.indexOf(substring);
26414
26414
  if (index === -1) {
26415
26415
  return string;
@@ -26425,7 +26425,7 @@ var require_util2 = __commonJS({
26425
26425
  returnValue += string.substr(endIndex);
26426
26426
  return returnValue;
26427
26427
  };
26428
- var stringEncaseCRLFWithFirstIndex = (string, prefix, postfix, index) => {
26428
+ var stringEncaseCRLFWithFirstIndex2 = (string, prefix, postfix, index) => {
26429
26429
  let endIndex = 0;
26430
26430
  let returnValue = "";
26431
26431
  do {
@@ -26438,8 +26438,8 @@ var require_util2 = __commonJS({
26438
26438
  return returnValue;
26439
26439
  };
26440
26440
  module2.exports = {
26441
- stringReplaceAll,
26442
- stringEncaseCRLFWithFirstIndex
26441
+ stringReplaceAll: stringReplaceAll2,
26442
+ stringEncaseCRLFWithFirstIndex: stringEncaseCRLFWithFirstIndex2
26443
26443
  };
26444
26444
  }
26445
26445
  });
@@ -26506,27 +26506,27 @@ var require_templates2 = __commonJS({
26506
26506
  }
26507
26507
  return results;
26508
26508
  }
26509
- function buildStyle(chalk, styles) {
26509
+ function buildStyle(chalk2, styles3) {
26510
26510
  const enabled = {};
26511
- for (const layer of styles) {
26511
+ for (const layer of styles3) {
26512
26512
  for (const style of layer.styles) {
26513
26513
  enabled[style[0]] = layer.inverse ? null : style.slice(1);
26514
26514
  }
26515
26515
  }
26516
- let current = chalk;
26517
- for (const [styleName, styles2] of Object.entries(enabled)) {
26518
- if (!Array.isArray(styles2)) {
26516
+ let current = chalk2;
26517
+ for (const [styleName, styles4] of Object.entries(enabled)) {
26518
+ if (!Array.isArray(styles4)) {
26519
26519
  continue;
26520
26520
  }
26521
26521
  if (!(styleName in current)) {
26522
26522
  throw new Error(`Unknown Chalk style: ${styleName}`);
26523
26523
  }
26524
- current = styles2.length > 0 ? current[styleName](...styles2) : current[styleName];
26524
+ current = styles4.length > 0 ? current[styleName](...styles4) : current[styleName];
26525
26525
  }
26526
26526
  return current;
26527
26527
  }
26528
- module2.exports = (chalk, temporary) => {
26529
- const styles = [];
26528
+ module2.exports = (chalk2, temporary) => {
26529
+ const styles3 = [];
26530
26530
  const chunks = [];
26531
26531
  let chunk = [];
26532
26532
  temporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => {
@@ -26535,22 +26535,22 @@ var require_templates2 = __commonJS({
26535
26535
  } else if (style) {
26536
26536
  const string = chunk.join("");
26537
26537
  chunk = [];
26538
- chunks.push(styles.length === 0 ? string : buildStyle(chalk, styles)(string));
26539
- styles.push({ inverse, styles: parseStyle(style) });
26538
+ chunks.push(styles3.length === 0 ? string : buildStyle(chalk2, styles3)(string));
26539
+ styles3.push({ inverse, styles: parseStyle(style) });
26540
26540
  } else if (close) {
26541
- if (styles.length === 0) {
26541
+ if (styles3.length === 0) {
26542
26542
  throw new Error("Found extraneous } in Chalk template literal");
26543
26543
  }
26544
- chunks.push(buildStyle(chalk, styles)(chunk.join("")));
26544
+ chunks.push(buildStyle(chalk2, styles3)(chunk.join("")));
26545
26545
  chunk = [];
26546
- styles.pop();
26546
+ styles3.pop();
26547
26547
  } else {
26548
26548
  chunk.push(character);
26549
26549
  }
26550
26550
  });
26551
26551
  chunks.push(chunk.join(""));
26552
- if (styles.length > 0) {
26553
- const errMessage = `Chalk template literal is missing ${styles.length} closing bracket${styles.length === 1 ? "" : "s"} (\`}\`)`;
26552
+ if (styles3.length > 0) {
26553
+ const errMessage = `Chalk template literal is missing ${styles3.length} closing bracket${styles3.length === 1 ? "" : "s"} (\`}\`)`;
26554
26554
  throw new Error(errMessage);
26555
26555
  }
26556
26556
  return chunks.join("");
@@ -26562,90 +26562,90 @@ var require_templates2 = __commonJS({
26562
26562
  var require_source = __commonJS({
26563
26563
  "node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports, module2) {
26564
26564
  "use strict";
26565
- var ansiStyles = require_ansi_styles2();
26566
- var { stdout: stdoutColor, stderr: stderrColor } = require_supports_color2();
26565
+ var ansiStyles2 = require_ansi_styles2();
26566
+ var { stdout: stdoutColor2, stderr: stderrColor2 } = require_supports_color2();
26567
26567
  var {
26568
- stringReplaceAll,
26569
- stringEncaseCRLFWithFirstIndex
26568
+ stringReplaceAll: stringReplaceAll2,
26569
+ stringEncaseCRLFWithFirstIndex: stringEncaseCRLFWithFirstIndex2
26570
26570
  } = require_util2();
26571
26571
  var { isArray } = Array;
26572
- var levelMapping = [
26572
+ var levelMapping2 = [
26573
26573
  "ansi",
26574
26574
  "ansi",
26575
26575
  "ansi256",
26576
26576
  "ansi16m"
26577
26577
  ];
26578
- var styles = /* @__PURE__ */ Object.create(null);
26579
- var applyOptions = (object, options = {}) => {
26578
+ var styles3 = /* @__PURE__ */ Object.create(null);
26579
+ var applyOptions2 = (object, options = {}) => {
26580
26580
  if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
26581
26581
  throw new Error("The `level` option should be an integer from 0 to 3");
26582
26582
  }
26583
- const colorLevel = stdoutColor ? stdoutColor.level : 0;
26583
+ const colorLevel = stdoutColor2 ? stdoutColor2.level : 0;
26584
26584
  object.level = options.level === void 0 ? colorLevel : options.level;
26585
26585
  };
26586
26586
  var ChalkClass = class {
26587
26587
  constructor(options) {
26588
- return chalkFactory(options);
26588
+ return chalkFactory2(options);
26589
26589
  }
26590
26590
  };
26591
- var chalkFactory = (options) => {
26592
- const chalk2 = {};
26593
- applyOptions(chalk2, options);
26594
- chalk2.template = (...arguments_) => chalkTag(chalk2.template, ...arguments_);
26595
- Object.setPrototypeOf(chalk2, Chalk.prototype);
26596
- Object.setPrototypeOf(chalk2.template, chalk2);
26597
- chalk2.template.constructor = () => {
26591
+ var chalkFactory2 = (options) => {
26592
+ const chalk3 = {};
26593
+ applyOptions2(chalk3, options);
26594
+ chalk3.template = (...arguments_) => chalkTag(chalk3.template, ...arguments_);
26595
+ Object.setPrototypeOf(chalk3, Chalk.prototype);
26596
+ Object.setPrototypeOf(chalk3.template, chalk3);
26597
+ chalk3.template.constructor = () => {
26598
26598
  throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.");
26599
26599
  };
26600
- chalk2.template.Instance = ChalkClass;
26601
- return chalk2.template;
26600
+ chalk3.template.Instance = ChalkClass;
26601
+ return chalk3.template;
26602
26602
  };
26603
26603
  function Chalk(options) {
26604
- return chalkFactory(options);
26604
+ return chalkFactory2(options);
26605
26605
  }
26606
- for (const [styleName, style] of Object.entries(ansiStyles)) {
26607
- styles[styleName] = {
26606
+ for (const [styleName, style] of Object.entries(ansiStyles2)) {
26607
+ styles3[styleName] = {
26608
26608
  get() {
26609
- const builder = createBuilder(this, createStyler(style.open, style.close, this._styler), this._isEmpty);
26609
+ const builder = createBuilder2(this, createStyler2(style.open, style.close, this._styler), this._isEmpty);
26610
26610
  Object.defineProperty(this, styleName, { value: builder });
26611
26611
  return builder;
26612
26612
  }
26613
26613
  };
26614
26614
  }
26615
- styles.visible = {
26615
+ styles3.visible = {
26616
26616
  get() {
26617
- const builder = createBuilder(this, this._styler, true);
26617
+ const builder = createBuilder2(this, this._styler, true);
26618
26618
  Object.defineProperty(this, "visible", { value: builder });
26619
26619
  return builder;
26620
26620
  }
26621
26621
  };
26622
- var usedModels = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"];
26623
- for (const model of usedModels) {
26624
- styles[model] = {
26622
+ var usedModels2 = ["rgb", "hex", "keyword", "hsl", "hsv", "hwb", "ansi", "ansi256"];
26623
+ for (const model of usedModels2) {
26624
+ styles3[model] = {
26625
26625
  get() {
26626
26626
  const { level } = this;
26627
26627
  return function(...arguments_) {
26628
- const styler = createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_), ansiStyles.color.close, this._styler);
26629
- return createBuilder(this, styler, this._isEmpty);
26628
+ const styler = createStyler2(ansiStyles2.color[levelMapping2[level]][model](...arguments_), ansiStyles2.color.close, this._styler);
26629
+ return createBuilder2(this, styler, this._isEmpty);
26630
26630
  };
26631
26631
  }
26632
26632
  };
26633
26633
  }
26634
- for (const model of usedModels) {
26634
+ for (const model of usedModels2) {
26635
26635
  const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
26636
- styles[bgModel] = {
26636
+ styles3[bgModel] = {
26637
26637
  get() {
26638
26638
  const { level } = this;
26639
26639
  return function(...arguments_) {
26640
- const styler = createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_), ansiStyles.bgColor.close, this._styler);
26641
- return createBuilder(this, styler, this._isEmpty);
26640
+ const styler = createStyler2(ansiStyles2.bgColor[levelMapping2[level]][model](...arguments_), ansiStyles2.bgColor.close, this._styler);
26641
+ return createBuilder2(this, styler, this._isEmpty);
26642
26642
  };
26643
26643
  }
26644
26644
  };
26645
26645
  }
26646
- var proto = Object.defineProperties(() => {
26646
+ var proto2 = Object.defineProperties(() => {
26647
26647
  }, {
26648
- ...styles,
26648
+ ...styles3,
26649
26649
  level: {
26650
26650
  enumerable: true,
26651
26651
  get() {
@@ -26656,7 +26656,7 @@ var require_source = __commonJS({
26656
26656
  }
26657
26657
  }
26658
26658
  });
26659
- var createStyler = (open, close, parent) => {
26659
+ var createStyler2 = (open, close, parent) => {
26660
26660
  let openAll;
26661
26661
  let closeAll;
26662
26662
  if (parent === void 0) {
@@ -26674,20 +26674,20 @@ var require_source = __commonJS({
26674
26674
  parent
26675
26675
  };
26676
26676
  };
26677
- var createBuilder = (self2, _styler, _isEmpty) => {
26677
+ var createBuilder2 = (self2, _styler, _isEmpty) => {
26678
26678
  const builder = (...arguments_) => {
26679
26679
  if (isArray(arguments_[0]) && isArray(arguments_[0].raw)) {
26680
- return applyStyle(builder, chalkTag(builder, ...arguments_));
26680
+ return applyStyle2(builder, chalkTag(builder, ...arguments_));
26681
26681
  }
26682
- return applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
26682
+ return applyStyle2(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
26683
26683
  };
26684
- Object.setPrototypeOf(builder, proto);
26684
+ Object.setPrototypeOf(builder, proto2);
26685
26685
  builder._generator = self2;
26686
26686
  builder._styler = _styler;
26687
26687
  builder._isEmpty = _isEmpty;
26688
26688
  return builder;
26689
26689
  };
26690
- var applyStyle = (self2, string) => {
26690
+ var applyStyle2 = (self2, string) => {
26691
26691
  if (self2.level <= 0 || !string) {
26692
26692
  return self2._isEmpty ? "" : string;
26693
26693
  }
@@ -26698,18 +26698,18 @@ var require_source = __commonJS({
26698
26698
  const { openAll, closeAll } = styler;
26699
26699
  if (string.indexOf("\x1B") !== -1) {
26700
26700
  while (styler !== void 0) {
26701
- string = stringReplaceAll(string, styler.close, styler.open);
26701
+ string = stringReplaceAll2(string, styler.close, styler.open);
26702
26702
  styler = styler.parent;
26703
26703
  }
26704
26704
  }
26705
26705
  const lfIndex = string.indexOf("\n");
26706
26706
  if (lfIndex !== -1) {
26707
- string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
26707
+ string = stringEncaseCRLFWithFirstIndex2(string, closeAll, openAll, lfIndex);
26708
26708
  }
26709
26709
  return openAll + string + closeAll;
26710
26710
  };
26711
26711
  var template;
26712
- var chalkTag = (chalk2, ...strings) => {
26712
+ var chalkTag = (chalk3, ...strings) => {
26713
26713
  const [firstString] = strings;
26714
26714
  if (!isArray(firstString) || !isArray(firstString.raw)) {
26715
26715
  return strings.join(" ");
@@ -26725,14 +26725,14 @@ var require_source = __commonJS({
26725
26725
  if (template === void 0) {
26726
26726
  template = require_templates2();
26727
26727
  }
26728
- return template(chalk2, parts.join(""));
26728
+ return template(chalk3, parts.join(""));
26729
26729
  };
26730
- Object.defineProperties(Chalk.prototype, styles);
26731
- var chalk = Chalk();
26732
- chalk.supportsColor = stdoutColor;
26733
- chalk.stderr = Chalk({ level: stderrColor ? stderrColor.level : 0 });
26734
- chalk.stderr.supportsColor = stderrColor;
26735
- module2.exports = chalk;
26730
+ Object.defineProperties(Chalk.prototype, styles3);
26731
+ var chalk2 = Chalk();
26732
+ chalk2.supportsColor = stdoutColor2;
26733
+ chalk2.stderr = Chalk({ level: stderrColor2 ? stderrColor2.level : 0 });
26734
+ chalk2.stderr.supportsColor = stderrColor2;
26735
+ module2.exports = chalk2;
26736
26736
  }
26737
26737
  });
26738
26738
 
@@ -26797,20 +26797,20 @@ var require_highlight = __commonJS({
26797
26797
  Object.defineProperty(exports, "__esModule", { value: true });
26798
26798
  exports.highlight = void 0;
26799
26799
  var jsTokens = require_js_tokens();
26800
- var chalk = require_source();
26800
+ var chalk2 = require_source();
26801
26801
  var identifiers_1 = require_identifiers2();
26802
- function getDefs(chalk2) {
26802
+ function getDefs(chalk3) {
26803
26803
  return {
26804
- keyword: chalk2.cyan,
26805
- capitalized: chalk2.yellow,
26806
- jsx_tag: chalk2.yellow,
26807
- punctuator: chalk2.yellow,
26804
+ keyword: chalk3.cyan,
26805
+ capitalized: chalk3.yellow,
26806
+ jsx_tag: chalk3.yellow,
26807
+ punctuator: chalk3.yellow,
26808
26808
  // bracket: intentionally omitted.
26809
- number: chalk2.magenta,
26810
- string: chalk2.green,
26811
- regex: chalk2.magenta,
26812
- comment: chalk2.grey,
26813
- invalid: chalk2.white.bgRed.bold
26809
+ number: chalk3.magenta,
26810
+ string: chalk3.green,
26811
+ regex: chalk3.magenta,
26812
+ comment: chalk3.grey,
26813
+ invalid: chalk3.white.bgRed.bold
26814
26814
  };
26815
26815
  }
26816
26816
  var NEWLINE = /\r\n|[\n\r\u2028\u2029]/;
@@ -26850,7 +26850,7 @@ var require_highlight = __commonJS({
26850
26850
  });
26851
26851
  }
26852
26852
  function highlight(code) {
26853
- const defs = getDefs(chalk);
26853
+ const defs = getDefs(chalk2);
26854
26854
  return highlightTokens(defs, code);
26855
26855
  }
26856
26856
  exports.highlight = highlight;
@@ -26963,7 +26963,7 @@ var require_run_type_check = __commonJS({
26963
26963
  "use strict";
26964
26964
  Object.defineProperty(exports, "__esModule", { value: true });
26965
26965
  exports.getFormattedDiagnostic = exports.runTypeCheck = exports.runTypeCheckWatch = void 0;
26966
- var chalk = require_source();
26966
+ var chalk2 = require_source();
26967
26967
  var path3 = require("path");
26968
26968
  var code_frames_1 = require("nx/src/utils/code-frames");
26969
26969
  var highlight_1 = require_highlight();
@@ -27043,17 +27043,17 @@ var require_run_type_check = __commonJS({
27043
27043
  const category = diagnostic.category;
27044
27044
  switch (category) {
27045
27045
  case ts2.DiagnosticCategory.Warning: {
27046
- message += `${chalk.yellow.bold("warning")} ${chalk.gray(`TS${diagnostic.code}`)}: `;
27046
+ message += `${chalk2.yellow.bold("warning")} ${chalk2.gray(`TS${diagnostic.code}`)}: `;
27047
27047
  break;
27048
27048
  }
27049
27049
  case ts2.DiagnosticCategory.Error: {
27050
- message += `${chalk.red.bold("error")} ${chalk.gray(`TS${diagnostic.code}`)}: `;
27050
+ message += `${chalk2.red.bold("error")} ${chalk2.gray(`TS${diagnostic.code}`)}: `;
27051
27051
  break;
27052
27052
  }
27053
27053
  case ts2.DiagnosticCategory.Suggestion:
27054
27054
  case ts2.DiagnosticCategory.Message:
27055
27055
  default: {
27056
- message += `${chalk.cyan.bold(category === 2 ? "suggestion" : "info")}: `;
27056
+ message += `${chalk2.cyan.bold(category === 2 ? "suggestion" : "info")}: `;
27057
27057
  break;
27058
27058
  }
27059
27059
  }
@@ -27063,7 +27063,7 @@ var require_run_type_check = __commonJS({
27063
27063
  const line = pos.line + 1;
27064
27064
  const column = pos.character + 1;
27065
27065
  const fileName = path3.relative(workspaceRoot, diagnostic.file.fileName);
27066
- message = `${chalk.underline.blue(`${fileName}:${line}:${column}`)} - ` + message;
27066
+ message = `${chalk2.underline.blue(`${fileName}:${line}:${column}`)} - ` + message;
27067
27067
  const code = diagnostic.file.getFullText(diagnostic.file.getSourceFile());
27068
27068
  message += "\n" + (0, code_frames_1.codeFrameColumns)(code, {
27069
27069
  start: { line, column }
@@ -36671,8 +36671,8 @@ var require_settings4 = __commonJS({
36671
36671
  Object.defineProperty(exports, "__esModule", { value: true });
36672
36672
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
36673
36673
  var fs = require("fs");
36674
- var os = require("os");
36675
- var CPU_COUNT = Math.max(os.cpus().length, 1);
36674
+ var os2 = require("os");
36675
+ var CPU_COUNT = Math.max(os2.cpus().length, 1);
36676
36676
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
36677
36677
  lstat: fs.lstat,
36678
36678
  lstatSync: fs.lstatSync,
@@ -37423,9 +37423,9 @@ var require_utils8 = __commonJS({
37423
37423
  return target;
37424
37424
  };
37425
37425
  exports.mixinEmitter = (obj, emitter) => {
37426
- let proto = emitter.constructor.prototype;
37427
- for (let key of Object.keys(proto)) {
37428
- let val = proto[key];
37426
+ let proto2 = emitter.constructor.prototype;
37427
+ for (let key of Object.keys(proto2)) {
37428
+ let val = proto2[key];
37429
37429
  if (typeof val === "function") {
37430
37430
  exports.define(obj, key, val.bind(emitter));
37431
37431
  } else {
@@ -37834,13 +37834,13 @@ var require_state = __commonJS({
37834
37834
  this._color = val;
37835
37835
  }
37836
37836
  get color() {
37837
- let styles = this.prompt.styles;
37837
+ let styles3 = this.prompt.styles;
37838
37838
  if (this.cancelled)
37839
- return styles.cancelled;
37839
+ return styles3.cancelled;
37840
37840
  if (this.submitted)
37841
- return styles.submitted;
37842
- let color = this._color || styles[this.status];
37843
- return typeof color === "function" ? color : styles.pending;
37841
+ return styles3.submitted;
37842
+ let color = this._color || styles3[this.status];
37843
+ return typeof color === "function" ? color : styles3.pending;
37844
37844
  }
37845
37845
  set loading(value) {
37846
37846
  this._loading = value;
@@ -37870,7 +37870,7 @@ var require_styles = __commonJS({
37870
37870
  "use strict";
37871
37871
  var utils = require_utils8();
37872
37872
  var colors = require_ansi_colors();
37873
- var styles = {
37873
+ var styles3 = {
37874
37874
  default: colors.noop,
37875
37875
  noop: colors.noop,
37876
37876
  /**
@@ -37964,14 +37964,14 @@ var require_styles = __commonJS({
37964
37964
  return this._highlight || this.inverse;
37965
37965
  }
37966
37966
  };
37967
- styles.merge = (options = {}) => {
37967
+ styles3.merge = (options = {}) => {
37968
37968
  if (options.styles && typeof options.styles.enabled === "boolean") {
37969
37969
  colors.enabled = options.styles.enabled;
37970
37970
  }
37971
37971
  if (options.styles && typeof options.styles.visible === "boolean") {
37972
37972
  colors.visible = options.styles.visible;
37973
37973
  }
37974
- let result = utils.merge({}, styles, options.styles);
37974
+ let result = utils.merge({}, styles3, options.styles);
37975
37975
  delete result.merge;
37976
37976
  for (let key of Object.keys(colors)) {
37977
37977
  if (!result.hasOwnProperty(key)) {
@@ -37985,7 +37985,7 @@ var require_styles = __commonJS({
37985
37985
  }
37986
37986
  return result;
37987
37987
  };
37988
- module2.exports = styles;
37988
+ module2.exports = styles3;
37989
37989
  }
37990
37990
  });
37991
37991
 
@@ -38060,13 +38060,13 @@ var require_symbols2 = __commonJS({
38060
38060
  var require_theme = __commonJS({
38061
38061
  "node_modules/.pnpm/enquirer@2.3.6/node_modules/enquirer/lib/theme.js"(exports, module2) {
38062
38062
  "use strict";
38063
- var styles = require_styles();
38063
+ var styles3 = require_styles();
38064
38064
  var symbols = require_symbols2();
38065
38065
  var utils = require_utils8();
38066
38066
  module2.exports = (prompt) => {
38067
38067
  prompt.options = utils.merge({}, prompt.options.theme, prompt.options);
38068
38068
  prompt.symbols = symbols.merge(prompt.options);
38069
- prompt.styles = styles.merge(prompt.options);
38069
+ prompt.styles = styles3.merge(prompt.options);
38070
38070
  };
38071
38071
  }
38072
38072
  });
@@ -38437,9 +38437,9 @@ var require_prompt = __commonJS({
38437
38437
  return val;
38438
38438
  }
38439
38439
  if (val) {
38440
- let styles = this.styles;
38440
+ let styles3 = this.styles;
38441
38441
  let focused = this.index === i;
38442
- let style = focused ? styles.primary : (val2) => val2;
38442
+ let style = focused ? styles3.primary : (val2) => val2;
38443
38443
  let ele = await this.resolve(val[focused ? "on" : "off"] || val, this.state);
38444
38444
  let styled = !utils.hasColor(ele) ? style(ele) : ele;
38445
38445
  return focused ? styled : " ".repeat(ele.length);
@@ -38451,9 +38451,9 @@ var require_prompt = __commonJS({
38451
38451
  return val;
38452
38452
  }
38453
38453
  if (val) {
38454
- let styles = this.styles;
38454
+ let styles3 = this.styles;
38455
38455
  let enabled = choice.enabled === true;
38456
- let style = enabled ? styles.success : styles.dark;
38456
+ let style = enabled ? styles3.success : styles3.dark;
38457
38457
  let ele = val[enabled ? "on" : "off"] || val;
38458
38458
  return !utils.hasColor(ele) ? style(ele) : ele;
38459
38459
  }
@@ -39631,9 +39631,9 @@ var require_form = __commonJS({
39631
39631
  }
39632
39632
  async renderChoice(choice, i) {
39633
39633
  await this.onChoice(choice, i);
39634
- let { state, styles } = this;
39634
+ let { state, styles: styles3 } = this;
39635
39635
  let { cursor, initial = "", name, hint, input = "" } = choice;
39636
- let { muted, submitted, primary, danger } = styles;
39636
+ let { muted, submitted, primary, danger } = styles3;
39637
39637
  let help = hint;
39638
39638
  let focused = this.index === i;
39639
39639
  let validate = choice.validate || (() => true);
@@ -39648,7 +39648,7 @@ var require_form = __commonJS({
39648
39648
  if (await validate.call(choice, value, this.state) !== true) {
39649
39649
  color = "danger";
39650
39650
  }
39651
- let style = styles[color];
39651
+ let style = styles3[color];
39652
39652
  let indicator = style(await this.indicator(choice, i)) + (choice.pad || "");
39653
39653
  let indent = this.indent(choice);
39654
39654
  let line = () => [indent, indicator, msg + sep2, input, help].filter(Boolean).join(" ");
@@ -39780,8 +39780,8 @@ var require_boolean = __commonJS({
39780
39780
  return this.submit();
39781
39781
  }
39782
39782
  format(value) {
39783
- let { styles, state } = this;
39784
- return !state.submitted ? styles.primary(value) : styles.success(value);
39783
+ let { styles: styles3, state } = this;
39784
+ return !state.submitted ? styles3.primary(value) : styles3.success(value);
39785
39785
  }
39786
39786
  cast(input) {
39787
39787
  return this.isTrue(input);
@@ -44994,9 +44994,9 @@ var require_path2 = __commonJS({
44994
44994
  "use strict";
44995
44995
  Object.defineProperty(exports, "__esModule", { value: true });
44996
44996
  exports.convertPosixPathToPattern = exports.convertWindowsPathToPattern = exports.convertPathToPattern = exports.escapePosixPath = exports.escapeWindowsPath = exports.escape = exports.removeLeadingDotSegment = exports.makeAbsolute = exports.unixify = void 0;
44997
- var os = require("os");
44997
+ var os2 = require("os");
44998
44998
  var path3 = require("path");
44999
- var IS_WINDOWS_PLATFORM = os.platform() === "win32";
44999
+ var IS_WINDOWS_PLATFORM = os2.platform() === "win32";
45000
45000
  var LEADING_DOT_SEGMENT_CHARACTERS_COUNT = 2;
45001
45001
  var POSIX_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g;
45002
45002
  var WINDOWS_UNESCAPED_GLOB_SYMBOLS_RE = /(\\?)([()[\]{}]|^!|[!+@](?=\())/g;
@@ -45956,8 +45956,8 @@ var require_settings5 = __commonJS({
45956
45956
  Object.defineProperty(exports, "__esModule", { value: true });
45957
45957
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
45958
45958
  var fs = require("fs");
45959
- var os = require("os");
45960
- var CPU_COUNT = Math.max(os.cpus().length, 1);
45959
+ var os2 = require("os");
45960
+ var CPU_COUNT = Math.max(os2.cpus().length, 1);
45961
45961
  exports.DEFAULT_FILE_SYSTEM_ADAPTER = {
45962
45962
  lstat: fs.lstat,
45963
45963
  lstatSync: fs.lstatSync,
@@ -46216,7 +46216,7 @@ var require_decky = __commonJS({
46216
46216
  }), entryPoints;
46217
46217
  }
46218
46218
  var path3 = __toModule(require("path"));
46219
- var import_chalk = __toModule(require_source());
46219
+ var import_chalk2 = __toModule(require_source());
46220
46220
  var esmLexer = require_lexer();
46221
46221
  var hasLoadedLexers = false;
46222
46222
  async function initLexers() {
@@ -46388,7 +46388,7 @@ ${result.code}`, result.filePath, result.code.substring(0, prefixStart).split(`
46388
46388
 
46389
46389
  `).join(`
46390
46390
  `).trim() + `
46391
- `, globalThis.process.env.DECKY_VERBOSE && console.log(import_chalk.default.yellow(code)), moduleI !== modules.length && (modules.length = moduleI);
46391
+ `, globalThis.process.env.DECKY_VERBOSE && console.log(import_chalk2.default.yellow(code)), moduleI !== modules.length && (modules.length = moduleI);
46392
46392
  let result = {
46393
46393
  code,
46394
46394
  originalSource: code,
@@ -46436,7 +46436,7 @@ ${result.code}`, result.filePath, result.code.substring(0, prefixStart).split(`
46436
46436
  didChange ? result.startIndex > -1 && result.stopIndex > -1 && (result.code = _code.substring(0, result.startIndex) + result.code + _code.substring(result.stopIndex)) : result.code = _code.substring(0, result.startIndex - 1) + _code.substring(result.stopIndex), result.startIndex = result.stopIndex = -1;
46437
46437
  }
46438
46438
  } while (symbolI > -1);
46439
- return globalThis.process.env.DECKY_VERBOSE && console.log(import_chalk.default.green(result.code)), {
46439
+ return globalThis.process.env.DECKY_VERBOSE && console.log(import_chalk2.default.green(result.code)), {
46440
46440
  contents: result.code.replace(/🍤/gm, "@"),
46441
46441
  note: null
46442
46442
  };
@@ -46467,7 +46467,7 @@ export function ${stub}(...args){return args;}
46467
46467
  };
46468
46468
  }
46469
46469
  function plugin(decorators2) {
46470
- let { prefixes, process: process2 } = buildDecoratorProcessor(decorators2), prefixesWithAt = prefixes.map((a) => a.startsWith("@") ? a : "@" + a);
46470
+ let { prefixes, process: process22 } = buildDecoratorProcessor(decorators2), prefixesWithAt = prefixes.map((a) => a.startsWith("@") ? a : "@" + a);
46471
46471
  function isPotentialMatch(content) {
46472
46472
  if (!content.includes("@"))
46473
46473
  return false;
@@ -46494,7 +46494,7 @@ export function ${stub2}(...args){return args;}
46494
46494
  loader
46495
46495
  };
46496
46496
  globalThis.process.env.DECKY_TIMINGS && console.time("[decky] ./" + path3.relative(globalThis.process.cwd(), args.path)), await initLexers();
46497
- let { note, contents: _contents } = await process2(contents, args.path) ?? {};
46497
+ let { note, contents: _contents } = await process22(contents, args.path) ?? {};
46498
46498
  return globalThis.process.env.DECKY_TIMINGS && console.timeEnd("[decky] ./" + path3.relative(globalThis.process.cwd(), args.path)), {
46499
46499
  contents: _contents,
46500
46500
  errors: note ? [{ location: note.location, text: note.text }] : void 0,
@@ -47506,14 +47506,14 @@ var require_chunk_UIX4URMV = __commonJS({
47506
47506
  yellowBright: () => yellowBright
47507
47507
  });
47508
47508
  var _tty = require("tty");
47509
- var tty = _interopRequireWildcard(_tty);
47510
- var env = process.env || {};
47509
+ var tty2 = _interopRequireWildcard(_tty);
47510
+ var env2 = process.env || {};
47511
47511
  var argv = process.argv || [];
47512
- var isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
47513
- var isForced = "FORCE_COLOR" in env || argv.includes("--color");
47512
+ var isDisabled = "NO_COLOR" in env2 || argv.includes("--no-color");
47513
+ var isForced = "FORCE_COLOR" in env2 || argv.includes("--color");
47514
47514
  var isWindows = process.platform === "win32";
47515
- var isCompatibleTerminal = tty && tty.isatty && tty.isatty(1) && env.TERM && env.TERM !== "dumb";
47516
- var isCI = "CI" in env && ("GITHUB_ACTIONS" in env || "GITLAB_CI" in env || "CIRCLECI" in env);
47515
+ var isCompatibleTerminal = tty2 && tty2.isatty && tty2.isatty(1) && env2.TERM && env2.TERM !== "dumb";
47516
+ var isCI = "CI" in env2 && ("GITHUB_ACTIONS" in env2 || "GITLAB_CI" in env2 || "CIRCLECI" in env2);
47517
47517
  var isColorSupported = !isDisabled && (isForced || isWindows || isCompatibleTerminal || isCI);
47518
47518
  var replaceClose = (index, string, close, replace, head = string.substring(0, index) + replace, tail = string.substring(index + close.length), next = tail.indexOf(close)) => head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
47519
47519
  var clearBleed = (index, string, open, close, replace) => index < 0 ? open + string + close : open + replaceClose(index, string, close, replace) + close;
@@ -48850,7 +48850,7 @@ var require_resolveCommand = __commonJS({
48850
48850
  var which = require_which();
48851
48851
  var getPathKey = require_path_key();
48852
48852
  function resolveCommandAttempt(parsed, withoutPathExt) {
48853
- const env = parsed.options.env || process.env;
48853
+ const env2 = parsed.options.env || process.env;
48854
48854
  const cwd = process.cwd();
48855
48855
  const hasCustomCwd = parsed.options.cwd != null;
48856
48856
  const shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;
@@ -48863,7 +48863,7 @@ var require_resolveCommand = __commonJS({
48863
48863
  let resolved;
48864
48864
  try {
48865
48865
  resolved = which.sync(parsed.command, {
48866
- path: env[getPathKey({ env })],
48866
+ path: env2[getPathKey({ env: env2 })],
48867
48867
  pathExt: withoutPathExt ? path3.delimiter : void 0
48868
48868
  });
48869
48869
  } catch (e) {
@@ -49148,11 +49148,11 @@ var require_npm_run_path = __commonJS({
49148
49148
  env: process.env,
49149
49149
  ...options
49150
49150
  };
49151
- const env = { ...options.env };
49152
- const path4 = pathKey({ env });
49153
- options.path = env[path4];
49154
- env[path4] = module2.exports(options);
49155
- return env;
49151
+ const env2 = { ...options.env };
49152
+ const path4 = pathKey({ env: env2 });
49153
+ options.path = env2[path4];
49154
+ env2[path4] = module2.exports(options);
49155
+ return env2;
49156
49156
  };
49157
49157
  }
49158
49158
  });
@@ -49767,11 +49767,11 @@ var require_signals2 = __commonJS({
49767
49767
  // node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js
49768
49768
  var require_signal_exit = __commonJS({
49769
49769
  "node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js"(exports, module2) {
49770
- var process2 = global.process;
49771
- var processOk = function(process3) {
49772
- return process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function";
49770
+ var process3 = global.process;
49771
+ var processOk = function(process4) {
49772
+ return process4 && typeof process4 === "object" && typeof process4.removeListener === "function" && typeof process4.emit === "function" && typeof process4.reallyExit === "function" && typeof process4.listeners === "function" && typeof process4.kill === "function" && typeof process4.pid === "number" && typeof process4.on === "function";
49773
49773
  };
49774
- if (!processOk(process2)) {
49774
+ if (!processOk(process3)) {
49775
49775
  module2.exports = function() {
49776
49776
  return function() {
49777
49777
  };
@@ -49779,15 +49779,15 @@ var require_signal_exit = __commonJS({
49779
49779
  } else {
49780
49780
  assert = require("assert");
49781
49781
  signals = require_signals2();
49782
- isWin = /^win/i.test(process2.platform);
49782
+ isWin = /^win/i.test(process3.platform);
49783
49783
  EE = require("events");
49784
49784
  if (typeof EE !== "function") {
49785
49785
  EE = EE.EventEmitter;
49786
49786
  }
49787
- if (process2.__signal_exit_emitter__) {
49788
- emitter = process2.__signal_exit_emitter__;
49787
+ if (process3.__signal_exit_emitter__) {
49788
+ emitter = process3.__signal_exit_emitter__;
49789
49789
  } else {
49790
- emitter = process2.__signal_exit_emitter__ = new EE();
49790
+ emitter = process3.__signal_exit_emitter__ = new EE();
49791
49791
  emitter.count = 0;
49792
49792
  emitter.emitted = {};
49793
49793
  }
@@ -49824,12 +49824,12 @@ var require_signal_exit = __commonJS({
49824
49824
  loaded = false;
49825
49825
  signals.forEach(function(sig) {
49826
49826
  try {
49827
- process2.removeListener(sig, sigListeners[sig]);
49827
+ process3.removeListener(sig, sigListeners[sig]);
49828
49828
  } catch (er) {
49829
49829
  }
49830
49830
  });
49831
- process2.emit = originalProcessEmit;
49832
- process2.reallyExit = originalProcessReallyExit;
49831
+ process3.emit = originalProcessEmit;
49832
+ process3.reallyExit = originalProcessReallyExit;
49833
49833
  emitter.count -= 1;
49834
49834
  };
49835
49835
  module2.exports.unload = unload;
@@ -49846,7 +49846,7 @@ var require_signal_exit = __commonJS({
49846
49846
  if (!processOk(global.process)) {
49847
49847
  return;
49848
49848
  }
49849
- var listeners = process2.listeners(sig);
49849
+ var listeners = process3.listeners(sig);
49850
49850
  if (listeners.length === emitter.count) {
49851
49851
  unload();
49852
49852
  emit("exit", null, sig);
@@ -49854,7 +49854,7 @@ var require_signal_exit = __commonJS({
49854
49854
  if (isWin && sig === "SIGHUP") {
49855
49855
  sig = "SIGINT";
49856
49856
  }
49857
- process2.kill(process2.pid, sig);
49857
+ process3.kill(process3.pid, sig);
49858
49858
  }
49859
49859
  };
49860
49860
  });
@@ -49870,36 +49870,36 @@ var require_signal_exit = __commonJS({
49870
49870
  emitter.count += 1;
49871
49871
  signals = signals.filter(function(sig) {
49872
49872
  try {
49873
- process2.on(sig, sigListeners[sig]);
49873
+ process3.on(sig, sigListeners[sig]);
49874
49874
  return true;
49875
49875
  } catch (er) {
49876
49876
  return false;
49877
49877
  }
49878
49878
  });
49879
- process2.emit = processEmit;
49880
- process2.reallyExit = processReallyExit;
49879
+ process3.emit = processEmit;
49880
+ process3.reallyExit = processReallyExit;
49881
49881
  };
49882
49882
  module2.exports.load = load2;
49883
- originalProcessReallyExit = process2.reallyExit;
49883
+ originalProcessReallyExit = process3.reallyExit;
49884
49884
  processReallyExit = function processReallyExit2(code) {
49885
49885
  if (!processOk(global.process)) {
49886
49886
  return;
49887
49887
  }
49888
- process2.exitCode = code || /* istanbul ignore next */
49888
+ process3.exitCode = code || /* istanbul ignore next */
49889
49889
  0;
49890
- emit("exit", process2.exitCode, null);
49891
- emit("afterexit", process2.exitCode, null);
49892
- originalProcessReallyExit.call(process2, process2.exitCode);
49890
+ emit("exit", process3.exitCode, null);
49891
+ emit("afterexit", process3.exitCode, null);
49892
+ originalProcessReallyExit.call(process3, process3.exitCode);
49893
49893
  };
49894
- originalProcessEmit = process2.emit;
49894
+ originalProcessEmit = process3.emit;
49895
49895
  processEmit = function processEmit2(ev, arg) {
49896
49896
  if (ev === "exit" && processOk(global.process)) {
49897
49897
  if (arg !== void 0) {
49898
- process2.exitCode = arg;
49898
+ process3.exitCode = arg;
49899
49899
  }
49900
49900
  var ret = originalProcessEmit.apply(this, arguments);
49901
- emit("exit", process2.exitCode, null);
49902
- emit("afterexit", process2.exitCode, null);
49901
+ emit("exit", process3.exitCode, null);
49902
+ emit("afterexit", process3.exitCode, null);
49903
49903
  return ret;
49904
49904
  } else {
49905
49905
  return originalProcessEmit.apply(this, arguments);
@@ -49927,7 +49927,7 @@ var require_signal_exit = __commonJS({
49927
49927
  var require_kill = __commonJS({
49928
49928
  "node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js"(exports, module2) {
49929
49929
  "use strict";
49930
- var os = require("os");
49930
+ var os2 = require("os");
49931
49931
  var onExit = require_signal_exit();
49932
49932
  var DEFAULT_FORCE_KILL_TIMEOUT = 1e3 * 5;
49933
49933
  var spawnedKill = (kill, signal = "SIGTERM", options = {}) => {
@@ -49951,7 +49951,7 @@ var require_kill = __commonJS({
49951
49951
  return isSigterm(signal) && forceKillAfterTimeout !== false && killResult;
49952
49952
  };
49953
49953
  var isSigterm = (signal) => {
49954
- return signal === os.constants.signals.SIGTERM || typeof signal === "string" && signal.toUpperCase() === "SIGTERM";
49954
+ return signal === os2.constants.signals.SIGTERM || typeof signal === "string" && signal.toUpperCase() === "SIGTERM";
49955
49955
  };
49956
49956
  var getForceKillAfterTimeout = ({ forceKillAfterTimeout = true }) => {
49957
49957
  if (forceKillAfterTimeout === true) {
@@ -50347,11 +50347,11 @@ var require_execa = __commonJS({
50347
50347
  var { joinCommand, parseCommand, getEscapedCommand } = require_command();
50348
50348
  var DEFAULT_MAX_BUFFER = 1e3 * 1e3 * 100;
50349
50349
  var getEnv = ({ env: envOption, extendEnv, preferLocal, localDir, execPath }) => {
50350
- const env = extendEnv ? { ...process.env, ...envOption } : envOption;
50350
+ const env2 = extendEnv ? { ...process.env, ...envOption } : envOption;
50351
50351
  if (preferLocal) {
50352
- return npmRunPath.env({ env, cwd: localDir, execPath });
50352
+ return npmRunPath.env({ env: env2, cwd: localDir, execPath });
50353
50353
  }
50354
- return env;
50354
+ return env2;
50355
50355
  };
50356
50356
  var handleArguments = (file, args, options = {}) => {
50357
50357
  const parsed = crossSpawn._parse(file, args, options);
@@ -78144,7 +78144,7 @@ var require_rollup = __commonJS({
78144
78144
  "use strict";
78145
78145
  var parseAst_js = require_parseAst();
78146
78146
  var process$1 = require("node:process");
78147
- var tty = require("tty");
78147
+ var tty2 = require("tty");
78148
78148
  var node_path = require("node:path");
78149
78149
  var require$$0$1 = require("path");
78150
78150
  var node_perf_hooks = require("node:perf_hooks");
@@ -78160,7 +78160,7 @@ var require_rollup = __commonJS({
78160
78160
  n2.default = e;
78161
78161
  return n2;
78162
78162
  }
78163
- var tty__namespace = /* @__PURE__ */ _interopNamespaceDefault(tty);
78163
+ var tty__namespace = /* @__PURE__ */ _interopNamespaceDefault(tty2);
78164
78164
  var version = "4.5.0";
78165
78165
  function ensureArray$1(items) {
78166
78166
  if (Array.isArray(items)) {
@@ -79349,16 +79349,16 @@ var require_rollup = __commonJS({
79349
79349
  return outputOptions;
79350
79350
  }
79351
79351
  var {
79352
- env = {},
79352
+ env: env2 = {},
79353
79353
  argv = [],
79354
79354
  platform = ""
79355
79355
  } = typeof process === "undefined" ? {} : process;
79356
- var isDisabled = "NO_COLOR" in env || argv.includes("--no-color");
79357
- var isForced = "FORCE_COLOR" in env || argv.includes("--color");
79356
+ var isDisabled = "NO_COLOR" in env2 || argv.includes("--no-color");
79357
+ var isForced = "FORCE_COLOR" in env2 || argv.includes("--color");
79358
79358
  var isWindows = platform === "win32";
79359
- var isDumbTerminal = env.TERM === "dumb";
79360
- var isCompatibleTerminal = tty__namespace && tty__namespace.isatty && tty__namespace.isatty(1) && env.TERM && !isDumbTerminal;
79361
- var isCI = "CI" in env && ("GITHUB_ACTIONS" in env || "GITLAB_CI" in env || "CIRCLECI" in env);
79359
+ var isDumbTerminal = env2.TERM === "dumb";
79360
+ var isCompatibleTerminal = tty__namespace && tty__namespace.isatty && tty__namespace.isatty(1) && env2.TERM && !isDumbTerminal;
79361
+ var isCI = "CI" in env2 && ("GITHUB_ACTIONS" in env2 || "GITLAB_CI" in env2 || "CIRCLECI" in env2);
79362
79362
  var isColorSupported = !isDisabled && (isForced || isWindows && !isDumbTerminal || isCompatibleTerminal || isCI);
79363
79363
  var replaceClose = (index, string, close, replace, head = string.substring(0, index) + replace, tail = string.substring(index + close.length), next = tail.indexOf(close)) => head + (next < 0 ? tail : replaceClose(next, tail, close, replace));
79364
79364
  var clearBleed = (index, string, open, close, replace) => index < 0 ? open + string + close : open + replaceClose(index, string, close, replace) + close;
@@ -97535,7 +97535,7 @@ var require_shared = __commonJS({
97535
97535
  (function(exports2) {
97536
97536
  const { sep: sep2 } = require$$0$2;
97537
97537
  const { platform } = process;
97538
- const os = require$$2$1;
97538
+ const os2 = require$$2$1;
97539
97539
  exports2.EV_ALL = "all";
97540
97540
  exports2.EV_READY = "ready";
97541
97541
  exports2.EV_ADD = "add";
@@ -97588,7 +97588,7 @@ var require_shared = __commonJS({
97588
97588
  exports2.isWindows = platform === "win32";
97589
97589
  exports2.isMacos = platform === "darwin";
97590
97590
  exports2.isLinux = platform === "linux";
97591
- exports2.isIBMi = os.type() === "OS400";
97591
+ exports2.isIBMi = os2.type() === "OS400";
97592
97592
  })(constants);
97593
97593
  var fs$2 = require$$0$1;
97594
97594
  var sysPath$2 = require$$0$2;
@@ -99311,7 +99311,7 @@ var require_watch = __commonJS({
99311
99311
  "use strict";
99312
99312
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
99313
99313
  var node_path = require("node:path");
99314
- var process2 = require("node:process");
99314
+ var process3 = require("node:process");
99315
99315
  var rollup = require_rollup();
99316
99316
  var node_os = require("node:os");
99317
99317
  var index = require_shared();
@@ -99406,7 +99406,7 @@ var require_watch = __commonJS({
99406
99406
  this.buildDelay = Math.max(this.buildDelay, watch.buildDelay);
99407
99407
  }
99408
99408
  }
99409
- process2.nextTick(() => this.run());
99409
+ process3.nextTick(() => this.run());
99410
99410
  }
99411
99411
  async close() {
99412
99412
  if (this.closed)
@@ -100321,7 +100321,7 @@ var require_constants5 = __commonJS({
100321
100321
  "use strict";
100322
100322
  var { sep: sep2 } = require("path");
100323
100323
  var { platform } = process;
100324
- var os = require("os");
100324
+ var os2 = require("os");
100325
100325
  exports.EV_ALL = "all";
100326
100326
  exports.EV_READY = "ready";
100327
100327
  exports.EV_ADD = "add";
@@ -100374,7 +100374,7 @@ var require_constants5 = __commonJS({
100374
100374
  exports.isWindows = platform === "win32";
100375
100375
  exports.isMacos = platform === "darwin";
100376
100376
  exports.isLinux = platform === "linux";
100377
- exports.isIBMi = os.type() === "OS400";
100377
+ exports.isIBMi = os2.type() === "OS400";
100378
100378
  }
100379
100379
  });
100380
100380
 
@@ -103749,11 +103749,11 @@ var require_dist6 = __commonJS({
103749
103749
  ];
103750
103750
  const outDir = options.outDir;
103751
103751
  const outExtension2 = getOutputExtensionMap(options, format2, pkg.type);
103752
- const env = {
103752
+ const env2 = {
103753
103753
  ...options.env
103754
103754
  };
103755
103755
  if (options.replaceNodeEnv) {
103756
- env.NODE_ENV = options.minify || options.minifyWhitespace ? "production" : "development";
103756
+ env2.NODE_ENV = options.minify || options.minifyWhitespace ? "production" : "development";
103757
103757
  }
103758
103758
  logger3.info(format2, "Build start");
103759
103759
  const startTime = Date.now();
@@ -103847,8 +103847,8 @@ var require_dist6 = __commonJS({
103847
103847
  "import.meta.url": "importMetaUrl"
103848
103848
  } : {},
103849
103849
  ...options.define,
103850
- ...Object.keys(env).reduce((res, key) => {
103851
- const value = JSON.stringify(env[key]);
103850
+ ...Object.keys(env2).reduce((res, key) => {
103851
+ const value = JSON.stringify(env2[key]);
103852
103852
  return {
103853
103853
  ...res,
103854
103854
  [`process.env.${key}`]: value,
@@ -109032,6 +109032,495 @@ var setConfigEnv = (config) => {
109032
109032
  });
109033
109033
  };
109034
109034
 
109035
+ // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/ansi-styles/index.js
109036
+ var ANSI_BACKGROUND_OFFSET = 10;
109037
+ var wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
109038
+ var wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
109039
+ var wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
109040
+ var styles = {
109041
+ modifier: {
109042
+ reset: [0, 0],
109043
+ // 21 isn't widely supported and 22 does the same thing
109044
+ bold: [1, 22],
109045
+ dim: [2, 22],
109046
+ italic: [3, 23],
109047
+ underline: [4, 24],
109048
+ overline: [53, 55],
109049
+ inverse: [7, 27],
109050
+ hidden: [8, 28],
109051
+ strikethrough: [9, 29]
109052
+ },
109053
+ color: {
109054
+ black: [30, 39],
109055
+ red: [31, 39],
109056
+ green: [32, 39],
109057
+ yellow: [33, 39],
109058
+ blue: [34, 39],
109059
+ magenta: [35, 39],
109060
+ cyan: [36, 39],
109061
+ white: [37, 39],
109062
+ // Bright color
109063
+ blackBright: [90, 39],
109064
+ gray: [90, 39],
109065
+ // Alias of `blackBright`
109066
+ grey: [90, 39],
109067
+ // Alias of `blackBright`
109068
+ redBright: [91, 39],
109069
+ greenBright: [92, 39],
109070
+ yellowBright: [93, 39],
109071
+ blueBright: [94, 39],
109072
+ magentaBright: [95, 39],
109073
+ cyanBright: [96, 39],
109074
+ whiteBright: [97, 39]
109075
+ },
109076
+ bgColor: {
109077
+ bgBlack: [40, 49],
109078
+ bgRed: [41, 49],
109079
+ bgGreen: [42, 49],
109080
+ bgYellow: [43, 49],
109081
+ bgBlue: [44, 49],
109082
+ bgMagenta: [45, 49],
109083
+ bgCyan: [46, 49],
109084
+ bgWhite: [47, 49],
109085
+ // Bright color
109086
+ bgBlackBright: [100, 49],
109087
+ bgGray: [100, 49],
109088
+ // Alias of `bgBlackBright`
109089
+ bgGrey: [100, 49],
109090
+ // Alias of `bgBlackBright`
109091
+ bgRedBright: [101, 49],
109092
+ bgGreenBright: [102, 49],
109093
+ bgYellowBright: [103, 49],
109094
+ bgBlueBright: [104, 49],
109095
+ bgMagentaBright: [105, 49],
109096
+ bgCyanBright: [106, 49],
109097
+ bgWhiteBright: [107, 49]
109098
+ }
109099
+ };
109100
+ var modifierNames = Object.keys(styles.modifier);
109101
+ var foregroundColorNames = Object.keys(styles.color);
109102
+ var backgroundColorNames = Object.keys(styles.bgColor);
109103
+ var colorNames = [...foregroundColorNames, ...backgroundColorNames];
109104
+ function assembleStyles() {
109105
+ const codes = /* @__PURE__ */ new Map();
109106
+ for (const [groupName, group] of Object.entries(styles)) {
109107
+ for (const [styleName, style] of Object.entries(group)) {
109108
+ styles[styleName] = {
109109
+ open: `\x1B[${style[0]}m`,
109110
+ close: `\x1B[${style[1]}m`
109111
+ };
109112
+ group[styleName] = styles[styleName];
109113
+ codes.set(style[0], style[1]);
109114
+ }
109115
+ Object.defineProperty(styles, groupName, {
109116
+ value: group,
109117
+ enumerable: false
109118
+ });
109119
+ }
109120
+ Object.defineProperty(styles, "codes", {
109121
+ value: codes,
109122
+ enumerable: false
109123
+ });
109124
+ styles.color.close = "\x1B[39m";
109125
+ styles.bgColor.close = "\x1B[49m";
109126
+ styles.color.ansi = wrapAnsi16();
109127
+ styles.color.ansi256 = wrapAnsi256();
109128
+ styles.color.ansi16m = wrapAnsi16m();
109129
+ styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
109130
+ styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
109131
+ styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
109132
+ Object.defineProperties(styles, {
109133
+ rgbToAnsi256: {
109134
+ value(red, green, blue) {
109135
+ if (red === green && green === blue) {
109136
+ if (red < 8) {
109137
+ return 16;
109138
+ }
109139
+ if (red > 248) {
109140
+ return 231;
109141
+ }
109142
+ return Math.round((red - 8) / 247 * 24) + 232;
109143
+ }
109144
+ return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
109145
+ },
109146
+ enumerable: false
109147
+ },
109148
+ hexToRgb: {
109149
+ value(hex) {
109150
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
109151
+ if (!matches) {
109152
+ return [0, 0, 0];
109153
+ }
109154
+ let [colorString] = matches;
109155
+ if (colorString.length === 3) {
109156
+ colorString = [...colorString].map((character) => character + character).join("");
109157
+ }
109158
+ const integer = Number.parseInt(colorString, 16);
109159
+ return [
109160
+ /* eslint-disable no-bitwise */
109161
+ integer >> 16 & 255,
109162
+ integer >> 8 & 255,
109163
+ integer & 255
109164
+ /* eslint-enable no-bitwise */
109165
+ ];
109166
+ },
109167
+ enumerable: false
109168
+ },
109169
+ hexToAnsi256: {
109170
+ value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
109171
+ enumerable: false
109172
+ },
109173
+ ansi256ToAnsi: {
109174
+ value(code) {
109175
+ if (code < 8) {
109176
+ return 30 + code;
109177
+ }
109178
+ if (code < 16) {
109179
+ return 90 + (code - 8);
109180
+ }
109181
+ let red;
109182
+ let green;
109183
+ let blue;
109184
+ if (code >= 232) {
109185
+ red = ((code - 232) * 10 + 8) / 255;
109186
+ green = red;
109187
+ blue = red;
109188
+ } else {
109189
+ code -= 16;
109190
+ const remainder = code % 36;
109191
+ red = Math.floor(code / 36) / 5;
109192
+ green = Math.floor(remainder / 6) / 5;
109193
+ blue = remainder % 6 / 5;
109194
+ }
109195
+ const value = Math.max(red, green, blue) * 2;
109196
+ if (value === 0) {
109197
+ return 30;
109198
+ }
109199
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
109200
+ if (value === 2) {
109201
+ result += 60;
109202
+ }
109203
+ return result;
109204
+ },
109205
+ enumerable: false
109206
+ },
109207
+ rgbToAnsi: {
109208
+ value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
109209
+ enumerable: false
109210
+ },
109211
+ hexToAnsi: {
109212
+ value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
109213
+ enumerable: false
109214
+ }
109215
+ });
109216
+ return styles;
109217
+ }
109218
+ var ansiStyles = assembleStyles();
109219
+ var ansi_styles_default = ansiStyles;
109220
+
109221
+ // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/vendor/supports-color/index.js
109222
+ var import_node_process = __toESM(require("node:process"), 1);
109223
+ var import_node_os = __toESM(require("node:os"), 1);
109224
+ var import_node_tty = __toESM(require("node:tty"), 1);
109225
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
109226
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
109227
+ const position = argv.indexOf(prefix + flag);
109228
+ const terminatorPosition = argv.indexOf("--");
109229
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
109230
+ }
109231
+ var { env } = import_node_process.default;
109232
+ var flagForceColor;
109233
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
109234
+ flagForceColor = 0;
109235
+ } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
109236
+ flagForceColor = 1;
109237
+ }
109238
+ function envForceColor() {
109239
+ if ("FORCE_COLOR" in env) {
109240
+ if (env.FORCE_COLOR === "true") {
109241
+ return 1;
109242
+ }
109243
+ if (env.FORCE_COLOR === "false") {
109244
+ return 0;
109245
+ }
109246
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
109247
+ }
109248
+ }
109249
+ function translateLevel(level) {
109250
+ if (level === 0) {
109251
+ return false;
109252
+ }
109253
+ return {
109254
+ level,
109255
+ hasBasic: true,
109256
+ has256: level >= 2,
109257
+ has16m: level >= 3
109258
+ };
109259
+ }
109260
+ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
109261
+ const noFlagForceColor = envForceColor();
109262
+ if (noFlagForceColor !== void 0) {
109263
+ flagForceColor = noFlagForceColor;
109264
+ }
109265
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
109266
+ if (forceColor === 0) {
109267
+ return 0;
109268
+ }
109269
+ if (sniffFlags) {
109270
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
109271
+ return 3;
109272
+ }
109273
+ if (hasFlag("color=256")) {
109274
+ return 2;
109275
+ }
109276
+ }
109277
+ if ("TF_BUILD" in env && "AGENT_NAME" in env) {
109278
+ return 1;
109279
+ }
109280
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
109281
+ return 0;
109282
+ }
109283
+ const min = forceColor || 0;
109284
+ if (env.TERM === "dumb") {
109285
+ return min;
109286
+ }
109287
+ if (import_node_process.default.platform === "win32") {
109288
+ const osRelease = import_node_os.default.release().split(".");
109289
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
109290
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
109291
+ }
109292
+ return 1;
109293
+ }
109294
+ if ("CI" in env) {
109295
+ if ("GITHUB_ACTIONS" in env || "GITEA_ACTIONS" in env) {
109296
+ return 3;
109297
+ }
109298
+ if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
109299
+ return 1;
109300
+ }
109301
+ return min;
109302
+ }
109303
+ if ("TEAMCITY_VERSION" in env) {
109304
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
109305
+ }
109306
+ if (env.COLORTERM === "truecolor") {
109307
+ return 3;
109308
+ }
109309
+ if (env.TERM === "xterm-kitty") {
109310
+ return 3;
109311
+ }
109312
+ if ("TERM_PROGRAM" in env) {
109313
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
109314
+ switch (env.TERM_PROGRAM) {
109315
+ case "iTerm.app": {
109316
+ return version >= 3 ? 3 : 2;
109317
+ }
109318
+ case "Apple_Terminal": {
109319
+ return 2;
109320
+ }
109321
+ }
109322
+ }
109323
+ if (/-256(color)?$/i.test(env.TERM)) {
109324
+ return 2;
109325
+ }
109326
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
109327
+ return 1;
109328
+ }
109329
+ if ("COLORTERM" in env) {
109330
+ return 1;
109331
+ }
109332
+ return min;
109333
+ }
109334
+ function createSupportsColor(stream2, options = {}) {
109335
+ const level = _supportsColor(stream2, {
109336
+ streamIsTTY: stream2 && stream2.isTTY,
109337
+ ...options
109338
+ });
109339
+ return translateLevel(level);
109340
+ }
109341
+ var supportsColor = {
109342
+ stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
109343
+ stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
109344
+ };
109345
+ var supports_color_default = supportsColor;
109346
+
109347
+ // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/utilities.js
109348
+ function stringReplaceAll(string, substring, replacer) {
109349
+ let index = string.indexOf(substring);
109350
+ if (index === -1) {
109351
+ return string;
109352
+ }
109353
+ const substringLength = substring.length;
109354
+ let endIndex = 0;
109355
+ let returnValue = "";
109356
+ do {
109357
+ returnValue += string.slice(endIndex, index) + substring + replacer;
109358
+ endIndex = index + substringLength;
109359
+ index = string.indexOf(substring, endIndex);
109360
+ } while (index !== -1);
109361
+ returnValue += string.slice(endIndex);
109362
+ return returnValue;
109363
+ }
109364
+ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
109365
+ let endIndex = 0;
109366
+ let returnValue = "";
109367
+ do {
109368
+ const gotCR = string[index - 1] === "\r";
109369
+ returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? "\r\n" : "\n") + postfix;
109370
+ endIndex = index + 1;
109371
+ index = string.indexOf("\n", endIndex);
109372
+ } while (index !== -1);
109373
+ returnValue += string.slice(endIndex);
109374
+ return returnValue;
109375
+ }
109376
+
109377
+ // node_modules/.pnpm/chalk@5.3.0/node_modules/chalk/source/index.js
109378
+ var { stdout: stdoutColor, stderr: stderrColor } = supports_color_default;
109379
+ var GENERATOR = Symbol("GENERATOR");
109380
+ var STYLER = Symbol("STYLER");
109381
+ var IS_EMPTY = Symbol("IS_EMPTY");
109382
+ var levelMapping = [
109383
+ "ansi",
109384
+ "ansi",
109385
+ "ansi256",
109386
+ "ansi16m"
109387
+ ];
109388
+ var styles2 = /* @__PURE__ */ Object.create(null);
109389
+ var applyOptions = (object, options = {}) => {
109390
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
109391
+ throw new Error("The `level` option should be an integer from 0 to 3");
109392
+ }
109393
+ const colorLevel = stdoutColor ? stdoutColor.level : 0;
109394
+ object.level = options.level === void 0 ? colorLevel : options.level;
109395
+ };
109396
+ var chalkFactory = (options) => {
109397
+ const chalk2 = (...strings) => strings.join(" ");
109398
+ applyOptions(chalk2, options);
109399
+ Object.setPrototypeOf(chalk2, createChalk.prototype);
109400
+ return chalk2;
109401
+ };
109402
+ function createChalk(options) {
109403
+ return chalkFactory(options);
109404
+ }
109405
+ Object.setPrototypeOf(createChalk.prototype, Function.prototype);
109406
+ for (const [styleName, style] of Object.entries(ansi_styles_default)) {
109407
+ styles2[styleName] = {
109408
+ get() {
109409
+ const builder = createBuilder(this, createStyler(style.open, style.close, this[STYLER]), this[IS_EMPTY]);
109410
+ Object.defineProperty(this, styleName, { value: builder });
109411
+ return builder;
109412
+ }
109413
+ };
109414
+ }
109415
+ styles2.visible = {
109416
+ get() {
109417
+ const builder = createBuilder(this, this[STYLER], true);
109418
+ Object.defineProperty(this, "visible", { value: builder });
109419
+ return builder;
109420
+ }
109421
+ };
109422
+ var getModelAnsi = (model, level, type, ...arguments_) => {
109423
+ if (model === "rgb") {
109424
+ if (level === "ansi16m") {
109425
+ return ansi_styles_default[type].ansi16m(...arguments_);
109426
+ }
109427
+ if (level === "ansi256") {
109428
+ return ansi_styles_default[type].ansi256(ansi_styles_default.rgbToAnsi256(...arguments_));
109429
+ }
109430
+ return ansi_styles_default[type].ansi(ansi_styles_default.rgbToAnsi(...arguments_));
109431
+ }
109432
+ if (model === "hex") {
109433
+ return getModelAnsi("rgb", level, type, ...ansi_styles_default.hexToRgb(...arguments_));
109434
+ }
109435
+ return ansi_styles_default[type][model](...arguments_);
109436
+ };
109437
+ var usedModels = ["rgb", "hex", "ansi256"];
109438
+ for (const model of usedModels) {
109439
+ styles2[model] = {
109440
+ get() {
109441
+ const { level } = this;
109442
+ return function(...arguments_) {
109443
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "color", ...arguments_), ansi_styles_default.color.close, this[STYLER]);
109444
+ return createBuilder(this, styler, this[IS_EMPTY]);
109445
+ };
109446
+ }
109447
+ };
109448
+ const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
109449
+ styles2[bgModel] = {
109450
+ get() {
109451
+ const { level } = this;
109452
+ return function(...arguments_) {
109453
+ const styler = createStyler(getModelAnsi(model, levelMapping[level], "bgColor", ...arguments_), ansi_styles_default.bgColor.close, this[STYLER]);
109454
+ return createBuilder(this, styler, this[IS_EMPTY]);
109455
+ };
109456
+ }
109457
+ };
109458
+ }
109459
+ var proto = Object.defineProperties(() => {
109460
+ }, {
109461
+ ...styles2,
109462
+ level: {
109463
+ enumerable: true,
109464
+ get() {
109465
+ return this[GENERATOR].level;
109466
+ },
109467
+ set(level) {
109468
+ this[GENERATOR].level = level;
109469
+ }
109470
+ }
109471
+ });
109472
+ var createStyler = (open, close, parent) => {
109473
+ let openAll;
109474
+ let closeAll;
109475
+ if (parent === void 0) {
109476
+ openAll = open;
109477
+ closeAll = close;
109478
+ } else {
109479
+ openAll = parent.openAll + open;
109480
+ closeAll = close + parent.closeAll;
109481
+ }
109482
+ return {
109483
+ open,
109484
+ close,
109485
+ openAll,
109486
+ closeAll,
109487
+ parent
109488
+ };
109489
+ };
109490
+ var createBuilder = (self2, _styler, _isEmpty) => {
109491
+ const builder = (...arguments_) => applyStyle(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
109492
+ Object.setPrototypeOf(builder, proto);
109493
+ builder[GENERATOR] = self2;
109494
+ builder[STYLER] = _styler;
109495
+ builder[IS_EMPTY] = _isEmpty;
109496
+ return builder;
109497
+ };
109498
+ var applyStyle = (self2, string) => {
109499
+ if (self2.level <= 0 || !string) {
109500
+ return self2[IS_EMPTY] ? "" : string;
109501
+ }
109502
+ let styler = self2[STYLER];
109503
+ if (styler === void 0) {
109504
+ return string;
109505
+ }
109506
+ const { openAll, closeAll } = styler;
109507
+ if (string.includes("\x1B")) {
109508
+ while (styler !== void 0) {
109509
+ string = stringReplaceAll(string, styler.close, styler.open);
109510
+ styler = styler.parent;
109511
+ }
109512
+ }
109513
+ const lfIndex = string.indexOf("\n");
109514
+ if (lfIndex !== -1) {
109515
+ string = stringEncaseCRLFWithFirstIndex(string, closeAll, openAll, lfIndex);
109516
+ }
109517
+ return openAll + string + closeAll;
109518
+ };
109519
+ Object.defineProperties(createChalk.prototype, styles2);
109520
+ var chalk = createChalk();
109521
+ var chalkStderr = createChalk({ level: stderrColor ? stderrColor.level : 0 });
109522
+ var source_default = chalk;
109523
+
109035
109524
  // packages/workspace-tools/src/utils/get-workspace-root.ts
109036
109525
  var import_find_workspace_root2 = require("nx/src/utils/find-workspace-root.js");
109037
109526
  var getWorkspaceRoot2 = () => {
@@ -109120,7 +109609,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {
109120
109609
  }) => async (options, context) => {
109121
109610
  const startTime = Date.now();
109122
109611
  try {
109123
- console.info(`\u26A1 Running the ${name} executor...`);
109612
+ console.info(
109613
+ source_default.bold.hex("#1fb2a6")(`\u26A1 Running the ${name} executor...`)
109614
+ );
109124
109615
  if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
109125
109616
  throw new Error(
109126
109617
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -109138,19 +109629,21 @@ var withRunExecutor = (name, executorFn, executorOptions = {
109138
109629
  });
109139
109630
  setConfigEnv(config);
109140
109631
  getLogLevel(config.logLevel) >= LogLevel.DEBUG && console.debug(
109141
- `Loaded Storm config into env:
109632
+ source_default.dim(
109633
+ `Loaded Storm config into env:
109142
109634
  ${Object.keys(process.env).map((key) => ` - ${key}=${process.env[key]}`).join("\n")}`
109635
+ )
109143
109636
  );
109144
109637
  }
109145
109638
  if (executorOptions?.hooks?.applyDefaultOptions) {
109146
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(`Running the applyDefaultOptions hook...`);
109639
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(source_default.dim(`Running the applyDefaultOptions hook...`));
109147
109640
  options = await Promise.resolve(
109148
109641
  executorOptions.hooks.applyDefaultOptions(options, config)
109149
109642
  );
109150
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(`Completed the applyDefaultOptions hook...`);
109643
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(source_default.dim(`Completed the applyDefaultOptions hook...`));
109151
109644
  }
109152
- getLogLevel(config.logLevel) >= LogLevel.DEBUG && console.debug(`\u2699\uFE0F Executor schema options:
109153
- `, options);
109645
+ getLogLevel(config.logLevel) >= LogLevel.DEBUG && console.debug(source_default.dim(`\u2699\uFE0F Executor schema options:
109646
+ `), options);
109154
109647
  const tokenized = applyWorkspaceTokens(
109155
109648
  options,
109156
109649
  {
@@ -109165,11 +109658,11 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${process.env[key]}`).join("\
109165
109658
  applyWorkspaceExecutorTokens
109166
109659
  );
109167
109660
  if (executorOptions?.hooks?.preProcess) {
109168
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(`Running the preProcess hook...`);
109661
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(source_default.dim(`Running the preProcess hook...`));
109169
109662
  await Promise.resolve(
109170
109663
  executorOptions.hooks.preProcess(tokenized, config)
109171
109664
  );
109172
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(`Completed the preProcess hook...`);
109665
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(source_default.dim(`Completed the preProcess hook...`));
109173
109666
  }
109174
109667
  const result = await Promise.resolve(
109175
109668
  executorFn(tokenized, context, config)
@@ -109180,22 +109673,34 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${process.env[key]}`).join("\
109180
109673
  });
109181
109674
  }
109182
109675
  if (executorOptions?.hooks?.postProcess) {
109183
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(`Running the postProcess hook...`);
109676
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(source_default.dim(`Running the postProcess hook...`));
109184
109677
  await Promise.resolve(executorOptions.hooks.postProcess(config));
109185
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(`Completed the postProcess hook...`);
109678
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(source_default.dim(`Completed the postProcess hook...`));
109186
109679
  }
109187
- console.info(`\u{1F389} Successfully completed running the ${name} executor!`);
109680
+ console.info(
109681
+ source_default.bold.hex("#087f5b")(
109682
+ `\u{1F389} Successfully completed running the ${name} executor!`
109683
+ )
109684
+ );
109188
109685
  return {
109189
109686
  success: true
109190
109687
  };
109191
109688
  } catch (error) {
109192
- console.error(`\u274C An error occurred while running the executor`);
109193
- console.error(error);
109689
+ console.error(
109690
+ source_default.bold.hex("#7d1a1a")(
109691
+ `\u274C An error occurred while running the executor`
109692
+ )
109693
+ );
109694
+ console.error(source_default.bold.hex("#7d1a1a")(error));
109194
109695
  return {
109195
109696
  success: false
109196
109697
  };
109197
109698
  } finally {
109198
- console.info(startTime, name);
109699
+ console.info(
109700
+ source_default.dim(
109701
+ `\u23F1\uFE0F The${name ? ` ${name}` : ""} generator took ${Date.now() - startTime}ms to complete`
109702
+ )
109703
+ );
109199
109704
  }
109200
109705
  };
109201
109706
 
@@ -109272,10 +109777,10 @@ var environmentPlugin = (data) => ({
109272
109777
  name: PLUGIN_NAME2,
109273
109778
  async setup(build2) {
109274
109779
  const entries = Array.isArray(data) ? data.map((key) => [key, ""]) : Object.entries(data);
109275
- const env = Object.fromEntries(entries.map(([key, defaultValue]) => {
109780
+ const env2 = Object.fromEntries(entries.map(([key, defaultValue]) => {
109276
109781
  return [key, String(process.env[key] ?? defaultValue)];
109277
109782
  }));
109278
- await definePlugin({ process: { env } }).setup(build2);
109783
+ await definePlugin({ process: { env: env2 } }).setup(build2);
109279
109784
  }
109280
109785
  });
109281
109786
 
@@ -114249,7 +114754,7 @@ var PathScurryBase = class {
114249
114754
  const dirs = /* @__PURE__ */ new Set();
114250
114755
  const queue = [entry];
114251
114756
  let processing = 0;
114252
- const process2 = () => {
114757
+ const process3 = () => {
114253
114758
  let paused = false;
114254
114759
  while (!paused) {
114255
114760
  const dir = queue.shift();
@@ -114290,9 +114795,9 @@ var PathScurryBase = class {
114290
114795
  }
114291
114796
  }
114292
114797
  if (paused && !results.flowing) {
114293
- results.once("drain", process2);
114798
+ results.once("drain", process3);
114294
114799
  } else if (!sync2) {
114295
- process2();
114800
+ process3();
114296
114801
  }
114297
114802
  };
114298
114803
  let sync2 = true;
@@ -114300,7 +114805,7 @@ var PathScurryBase = class {
114300
114805
  sync2 = false;
114301
114806
  }
114302
114807
  };
114303
- process2();
114808
+ process3();
114304
114809
  return results;
114305
114810
  }
114306
114811
  streamSync(entry = this.cwd, opts = {}) {
@@ -114318,7 +114823,7 @@ var PathScurryBase = class {
114318
114823
  }
114319
114824
  const queue = [entry];
114320
114825
  let processing = 0;
114321
- const process2 = () => {
114826
+ const process3 = () => {
114322
114827
  let paused = false;
114323
114828
  while (!paused) {
114324
114829
  const dir = queue.shift();
@@ -114352,9 +114857,9 @@ var PathScurryBase = class {
114352
114857
  }
114353
114858
  }
114354
114859
  if (paused && !results.flowing)
114355
- results.once("drain", process2);
114860
+ results.once("drain", process3);
114356
114861
  };
114357
- process2();
114862
+ process3();
114358
114863
  return results;
114359
114864
  }
114360
114865
  chdir(path3 = this.cwd) {
@@ -115489,7 +115994,7 @@ function modernConfig({
115489
115994
  docModel = true,
115490
115995
  tsdocMetadata = true,
115491
115996
  define: define2,
115492
- env,
115997
+ env: env2,
115493
115998
  plugins,
115494
115999
  dtsTsConfig
115495
116000
  }) {
@@ -115519,7 +116024,7 @@ function modernConfig({
115519
116024
  platform,
115520
116025
  banner,
115521
116026
  define: define2,
115522
- env,
116027
+ env: env2,
115523
116028
  dts: false,
115524
116029
  experimentalDts: {
115525
116030
  entry,
@@ -115553,7 +116058,7 @@ function legacyConfig({
115553
116058
  platform = "neutral",
115554
116059
  verbose = false,
115555
116060
  define: define2,
115556
- env,
116061
+ env: env2,
115557
116062
  plugins,
115558
116063
  dtsTsConfig
115559
116064
  }) {
@@ -115575,7 +116080,7 @@ function legacyConfig({
115575
116080
  platform,
115576
116081
  banner,
115577
116082
  define: define2,
115578
- env,
116083
+ env: env2,
115579
116084
  dts: false,
115580
116085
  experimentalDts: {
115581
116086
  entry,
@@ -115611,7 +116116,7 @@ function workerConfig({
115611
116116
  docModel = true,
115612
116117
  tsdocMetadata = true,
115613
116118
  define: define2,
115614
- env,
116119
+ env: env2,
115615
116120
  plugins,
115616
116121
  dtsTsConfig
115617
116122
  }) {
@@ -115633,7 +116138,7 @@ function workerConfig({
115633
116138
  platform: "browser",
115634
116139
  banner,
115635
116140
  define: define2,
115636
- env,
116141
+ env: env2,
115637
116142
  dts: false,
115638
116143
  experimentalDts: {
115639
116144
  entry,
@@ -115668,7 +116173,7 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
115668
116173
  docModel,
115669
116174
  tsdocMetadata,
115670
116175
  define: define2,
115671
- env,
116176
+ env: env2,
115672
116177
  verbose,
115673
116178
  dtsTsConfig,
115674
116179
  plugins,
@@ -115709,7 +116214,7 @@ function getConfig(workspaceRoot, projectRoot, sourceRoot, {
115709
116214
  docModel,
115710
116215
  tsdocMetadata,
115711
116216
  define: define2,
115712
- env,
116217
+ env: env2,
115713
116218
  options,
115714
116219
  plugins,
115715
116220
  dtsTsConfig