chlklib 1.0.0 → 1.0.1

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.
@@ -0,0 +1,192 @@
1
+ const ANSI_BACKGROUND_OFFSET = 10;
2
+ const wrapAnsi16 = (offset = 0) => (code) => `\x1B[${code + offset}m`;
3
+ const wrapAnsi256 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`;
4
+ const wrapAnsi16m = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`;
5
+ const styles = {
6
+ modifier: {
7
+ reset: [0, 0],
8
+ // 21 isn't widely supported and 22 does the same thing
9
+ bold: [1, 22],
10
+ dim: [2, 22],
11
+ italic: [3, 23],
12
+ underline: [4, 24],
13
+ overline: [53, 55],
14
+ inverse: [7, 27],
15
+ hidden: [8, 28],
16
+ strikethrough: [9, 29]
17
+ },
18
+ color: {
19
+ black: [30, 39],
20
+ red: [31, 39],
21
+ green: [32, 39],
22
+ yellow: [33, 39],
23
+ blue: [34, 39],
24
+ magenta: [35, 39],
25
+ cyan: [36, 39],
26
+ white: [37, 39],
27
+ // Bright color
28
+ blackBright: [90, 39],
29
+ gray: [90, 39],
30
+ // Alias of `blackBright`
31
+ grey: [90, 39],
32
+ // Alias of `blackBright`
33
+ redBright: [91, 39],
34
+ greenBright: [92, 39],
35
+ yellowBright: [93, 39],
36
+ blueBright: [94, 39],
37
+ magentaBright: [95, 39],
38
+ cyanBright: [96, 39],
39
+ whiteBright: [97, 39]
40
+ },
41
+ bgColor: {
42
+ bgBlack: [40, 49],
43
+ bgRed: [41, 49],
44
+ bgGreen: [42, 49],
45
+ bgYellow: [43, 49],
46
+ bgBlue: [44, 49],
47
+ bgMagenta: [45, 49],
48
+ bgCyan: [46, 49],
49
+ bgWhite: [47, 49],
50
+ // Bright color
51
+ bgBlackBright: [100, 49],
52
+ bgGray: [100, 49],
53
+ // Alias of `bgBlackBright`
54
+ bgGrey: [100, 49],
55
+ // Alias of `bgBlackBright`
56
+ bgRedBright: [101, 49],
57
+ bgGreenBright: [102, 49],
58
+ bgYellowBright: [103, 49],
59
+ bgBlueBright: [104, 49],
60
+ bgMagentaBright: [105, 49],
61
+ bgCyanBright: [106, 49],
62
+ bgWhiteBright: [107, 49]
63
+ }
64
+ };
65
+ const modifierNames = Object.keys(styles.modifier);
66
+ const foregroundColorNames = Object.keys(styles.color);
67
+ const backgroundColorNames = Object.keys(styles.bgColor);
68
+ const colorNames = [...foregroundColorNames, ...backgroundColorNames];
69
+ function assembleStyles() {
70
+ const codes = /* @__PURE__ */ new Map();
71
+ for (const [groupName, group] of Object.entries(styles)) {
72
+ for (const [styleName, style] of Object.entries(group)) {
73
+ styles[styleName] = {
74
+ open: `\x1B[${style[0]}m`,
75
+ close: `\x1B[${style[1]}m`
76
+ };
77
+ group[styleName] = styles[styleName];
78
+ codes.set(style[0], style[1]);
79
+ }
80
+ Object.defineProperty(styles, groupName, {
81
+ value: group,
82
+ enumerable: false
83
+ });
84
+ }
85
+ Object.defineProperty(styles, "codes", {
86
+ value: codes,
87
+ enumerable: false
88
+ });
89
+ styles.color.close = "\x1B[39m";
90
+ styles.bgColor.close = "\x1B[49m";
91
+ styles.color.ansi = wrapAnsi16();
92
+ styles.color.ansi256 = wrapAnsi256();
93
+ styles.color.ansi16m = wrapAnsi16m();
94
+ styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
95
+ styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
96
+ styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
97
+ Object.defineProperties(styles, {
98
+ rgbToAnsi256: {
99
+ value(red, green, blue) {
100
+ if (red === green && green === blue) {
101
+ if (red < 8) {
102
+ return 16;
103
+ }
104
+ if (red > 248) {
105
+ return 231;
106
+ }
107
+ return Math.round((red - 8) / 247 * 24) + 232;
108
+ }
109
+ return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
110
+ },
111
+ enumerable: false
112
+ },
113
+ hexToRgb: {
114
+ value(hex) {
115
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
116
+ if (!matches) {
117
+ return [0, 0, 0];
118
+ }
119
+ let [colorString] = matches;
120
+ if (colorString.length === 3) {
121
+ colorString = [...colorString].map((character) => character + character).join("");
122
+ }
123
+ const integer = Number.parseInt(colorString, 16);
124
+ return [
125
+ /* eslint-disable no-bitwise */
126
+ integer >> 16 & 255,
127
+ integer >> 8 & 255,
128
+ integer & 255
129
+ /* eslint-enable no-bitwise */
130
+ ];
131
+ },
132
+ enumerable: false
133
+ },
134
+ hexToAnsi256: {
135
+ value: (hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)),
136
+ enumerable: false
137
+ },
138
+ ansi256ToAnsi: {
139
+ value(code) {
140
+ if (code < 8) {
141
+ return 30 + code;
142
+ }
143
+ if (code < 16) {
144
+ return 90 + (code - 8);
145
+ }
146
+ let red;
147
+ let green;
148
+ let blue;
149
+ if (code >= 232) {
150
+ red = ((code - 232) * 10 + 8) / 255;
151
+ green = red;
152
+ blue = red;
153
+ } else {
154
+ code -= 16;
155
+ const remainder = code % 36;
156
+ red = Math.floor(code / 36) / 5;
157
+ green = Math.floor(remainder / 6) / 5;
158
+ blue = remainder % 6 / 5;
159
+ }
160
+ const value = Math.max(red, green, blue) * 2;
161
+ if (value === 0) {
162
+ return 30;
163
+ }
164
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
165
+ if (value === 2) {
166
+ result += 60;
167
+ }
168
+ return result;
169
+ },
170
+ enumerable: false
171
+ },
172
+ rgbToAnsi: {
173
+ value: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),
174
+ enumerable: false
175
+ },
176
+ hexToAnsi: {
177
+ value: (hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),
178
+ enumerable: false
179
+ }
180
+ });
181
+ return styles;
182
+ }
183
+ const ansiStyles = assembleStyles();
184
+ var ansi_styles_default = ansiStyles;
185
+ export {
186
+ backgroundColorNames,
187
+ colorNames,
188
+ ansi_styles_default as default,
189
+ foregroundColorNames,
190
+ modifierNames
191
+ };
192
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../source/vendor/ansi-styles/index.js"],
4
+ "sourcesContent": ["const ANSI_BACKGROUND_OFFSET = 10;\n\nconst wrapAnsi16 = (offset = 0) => code => `\\u001B[${code + offset}m`;\n\nconst wrapAnsi256 = (offset = 0) => code => `\\u001B[${38 + offset};5;${code}m`;\n\nconst wrapAnsi16m = (offset = 0) => (red, green, blue) => `\\u001B[${38 + offset};2;${red};${green};${blue}m`;\n\nconst styles = {\n\tmodifier: {\n\t\treset: [0, 0],\n\t\t// 21 isn't widely supported and 22 does the same thing\n\t\tbold: [1, 22],\n\t\tdim: [2, 22],\n\t\titalic: [3, 23],\n\t\tunderline: [4, 24],\n\t\toverline: [53, 55],\n\t\tinverse: [7, 27],\n\t\thidden: [8, 28],\n\t\tstrikethrough: [9, 29],\n\t},\n\tcolor: {\n\t\tblack: [30, 39],\n\t\tred: [31, 39],\n\t\tgreen: [32, 39],\n\t\tyellow: [33, 39],\n\t\tblue: [34, 39],\n\t\tmagenta: [35, 39],\n\t\tcyan: [36, 39],\n\t\twhite: [37, 39],\n\n\t\t// Bright color\n\t\tblackBright: [90, 39],\n\t\tgray: [90, 39], // Alias of `blackBright`\n\t\tgrey: [90, 39], // Alias of `blackBright`\n\t\tredBright: [91, 39],\n\t\tgreenBright: [92, 39],\n\t\tyellowBright: [93, 39],\n\t\tblueBright: [94, 39],\n\t\tmagentaBright: [95, 39],\n\t\tcyanBright: [96, 39],\n\t\twhiteBright: [97, 39],\n\t},\n\tbgColor: {\n\t\tbgBlack: [40, 49],\n\t\tbgRed: [41, 49],\n\t\tbgGreen: [42, 49],\n\t\tbgYellow: [43, 49],\n\t\tbgBlue: [44, 49],\n\t\tbgMagenta: [45, 49],\n\t\tbgCyan: [46, 49],\n\t\tbgWhite: [47, 49],\n\n\t\t// Bright color\n\t\tbgBlackBright: [100, 49],\n\t\tbgGray: [100, 49], // Alias of `bgBlackBright`\n\t\tbgGrey: [100, 49], // Alias of `bgBlackBright`\n\t\tbgRedBright: [101, 49],\n\t\tbgGreenBright: [102, 49],\n\t\tbgYellowBright: [103, 49],\n\t\tbgBlueBright: [104, 49],\n\t\tbgMagentaBright: [105, 49],\n\t\tbgCyanBright: [106, 49],\n\t\tbgWhiteBright: [107, 49],\n\t},\n};\n\nexport const modifierNames = Object.keys(styles.modifier);\nexport const foregroundColorNames = Object.keys(styles.color);\nexport const backgroundColorNames = Object.keys(styles.bgColor);\nexport const colorNames = [...foregroundColorNames, ...backgroundColorNames];\n\nfunction assembleStyles() {\n\tconst codes = new Map();\n\n\tfor (const [groupName, group] of Object.entries(styles)) {\n\t\tfor (const [styleName, style] of Object.entries(group)) {\n\t\t\tstyles[styleName] = {\n\t\t\t\topen: `\\u001B[${style[0]}m`,\n\t\t\t\tclose: `\\u001B[${style[1]}m`,\n\t\t\t};\n\n\t\t\tgroup[styleName] = styles[styleName];\n\n\t\t\tcodes.set(style[0], style[1]);\n\t\t}\n\n\t\tObject.defineProperty(styles, groupName, {\n\t\t\tvalue: group,\n\t\t\tenumerable: false,\n\t\t});\n\t}\n\n\tObject.defineProperty(styles, 'codes', {\n\t\tvalue: codes,\n\t\tenumerable: false,\n\t});\n\n\tstyles.color.close = '\\u001B[39m';\n\tstyles.bgColor.close = '\\u001B[49m';\n\n\tstyles.color.ansi = wrapAnsi16();\n\tstyles.color.ansi256 = wrapAnsi256();\n\tstyles.color.ansi16m = wrapAnsi16m();\n\tstyles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);\n\tstyles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);\n\n\t// From https://github.com/Qix-/color-convert/blob/3f0e0d4e92e235796ccb17f6e85c72094a651f49/conversions.js\n\tObject.defineProperties(styles, {\n\t\trgbToAnsi256: {\n\t\t\tvalue(red, green, blue) {\n\t\t\t\t// We use the extended greyscale palette here, with the exception of\n\t\t\t\t// black and white. normal palette only has 4 greyscale shades.\n\t\t\t\tif (red === green && green === blue) {\n\t\t\t\t\tif (red < 8) {\n\t\t\t\t\t\treturn 16;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (red > 248) {\n\t\t\t\t\t\treturn 231;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn Math.round(((red - 8) / 247) * 24) + 232;\n\t\t\t\t}\n\n\t\t\t\treturn 16\n\t\t\t\t\t+ (36 * Math.round(red / 255 * 5))\n\t\t\t\t\t+ (6 * Math.round(green / 255 * 5))\n\t\t\t\t\t+ Math.round(blue / 255 * 5);\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToRgb: {\n\t\t\tvalue(hex) {\n\t\t\t\tconst matches = /[a-f\\d]{6}|[a-f\\d]{3}/i.exec(hex.toString(16));\n\t\t\t\tif (!matches) {\n\t\t\t\t\treturn [0, 0, 0];\n\t\t\t\t}\n\n\t\t\t\tlet [colorString] = matches;\n\n\t\t\t\tif (colorString.length === 3) {\n\t\t\t\t\tcolorString = [...colorString].map(character => character + character).join('');\n\t\t\t\t}\n\n\t\t\t\tconst integer = Number.parseInt(colorString, 16);\n\n\t\t\t\treturn [\n\t\t\t\t\t/* eslint-disable no-bitwise */\n\t\t\t\t\t(integer >> 16) & 0xFF,\n\t\t\t\t\t(integer >> 8) & 0xFF,\n\t\t\t\t\tinteger & 0xFF,\n\t\t\t\t\t/* eslint-enable no-bitwise */\n\t\t\t\t];\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi256: {\n\t\t\tvalue: hex => styles.rgbToAnsi256(...styles.hexToRgb(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t\tansi256ToAnsi: {\n\t\t\tvalue(code) {\n\t\t\t\tif (code < 8) {\n\t\t\t\t\treturn 30 + code;\n\t\t\t\t}\n\n\t\t\t\tif (code < 16) {\n\t\t\t\t\treturn 90 + (code - 8);\n\t\t\t\t}\n\n\t\t\t\tlet red;\n\t\t\t\tlet green;\n\t\t\t\tlet blue;\n\n\t\t\t\tif (code >= 232) {\n\t\t\t\t\tred = (((code - 232) * 10) + 8) / 255;\n\t\t\t\t\tgreen = red;\n\t\t\t\t\tblue = red;\n\t\t\t\t} else {\n\t\t\t\t\tcode -= 16;\n\n\t\t\t\t\tconst remainder = code % 36;\n\n\t\t\t\t\tred = Math.floor(code / 36) / 5;\n\t\t\t\t\tgreen = Math.floor(remainder / 6) / 5;\n\t\t\t\t\tblue = (remainder % 6) / 5;\n\t\t\t\t}\n\n\t\t\t\tconst value = Math.max(red, green, blue) * 2;\n\n\t\t\t\tif (value === 0) {\n\t\t\t\t\treturn 30;\n\t\t\t\t}\n\n\t\t\t\t// eslint-disable-next-line no-bitwise\n\t\t\t\tlet result = 30 + ((Math.round(blue) << 2) | (Math.round(green) << 1) | Math.round(red));\n\n\t\t\t\tif (value === 2) {\n\t\t\t\t\tresult += 60;\n\t\t\t\t}\n\n\t\t\t\treturn result;\n\t\t\t},\n\t\t\tenumerable: false,\n\t\t},\n\t\trgbToAnsi: {\n\t\t\tvalue: (red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)),\n\t\t\tenumerable: false,\n\t\t},\n\t\thexToAnsi: {\n\t\t\tvalue: hex => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)),\n\t\t\tenumerable: false,\n\t\t},\n\t});\n\n\treturn styles;\n}\n\nconst ansiStyles = assembleStyles();\n\nexport default ansiStyles;\n"],
5
+ "mappings": "AAAA,MAAM,yBAAyB;AAE/B,MAAM,aAAa,CAAC,SAAS,MAAM,UAAQ,QAAU,OAAO,MAAM;AAEl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AAO,IAAI,CAAC;AAAA,MACvF,YAAY;AAAA,IACb;AAAA,IACA,WAAW;AAAA,MACV,OAAO,SAAO,OAAO,cAAc,OAAO,aAAa,GAAG,CAAC;AAAA,MAC3D,YAAY;AAAA,IACb;AAAA,EACD,CAAC;AAED,SAAO;AACR;AAEA,MAAM,aAAa,eAAe;AAElC,IAAO,sBAAQ;",
6
+ "names": []
7
+ }
@@ -0,0 +1,49 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var browser_exports = {};
19
+ __export(browser_exports, {
20
+ default: () => browser_default
21
+ });
22
+ module.exports = __toCommonJS(browser_exports);
23
+ const level = (() => {
24
+ if (!("navigator" in globalThis)) {
25
+ return 0;
26
+ }
27
+ if (globalThis.navigator.userAgentData) {
28
+ const brand = navigator.userAgentData.brands.find(({ brand: brand2 }) => brand2 === "Chromium");
29
+ if (brand && brand.version > 93) {
30
+ return 3;
31
+ }
32
+ }
33
+ if (/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)) {
34
+ return 1;
35
+ }
36
+ return 0;
37
+ })();
38
+ const colorSupport = level !== 0 && {
39
+ level,
40
+ hasBasic: true,
41
+ has256: level >= 2,
42
+ has16m: level >= 3
43
+ };
44
+ const supportsColor = {
45
+ stdout: colorSupport,
46
+ stderr: colorSupport
47
+ };
48
+ var browser_default = supportsColor;
49
+ //# sourceMappingURL=browser.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../source/vendor/supports-color/browser.js"],
4
+ "sourcesContent": ["/* eslint-env browser */\n\nconst level = (() => {\n\tif (!('navigator' in globalThis)) {\n\t\treturn 0;\n\t}\n\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium');\n\t\tif (brand && brand.version > 93) {\n\t\t\treturn 3;\n\t\t}\n\t}\n\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n})();\n\nconst colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3,\n};\n\nconst supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport,\n};\n\nexport default supportsColor;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,MAAM,SAAS,MAAM;AACpB,MAAI,EAAE,eAAe,aAAa;AACjC,WAAO;AAAA,EACR;AAEA,MAAI,WAAW,UAAU,eAAe;AACvC,UAAM,QAAQ,UAAU,cAAc,OAAO,KAAK,CAAC,EAAC,OAAAA,OAAK,MAAMA,WAAU,UAAU;AACnF,QAAI,SAAS,MAAM,UAAU,IAAI;AAChC,aAAO;AAAA,IACR;AAAA,EACD;AAEA,MAAI,wBAAwB,KAAK,WAAW,UAAU,SAAS,GAAG;AACjE,WAAO;AAAA,EACR;AAEA,SAAO;AACR,GAAG;AAEH,MAAM,eAAe,UAAU,KAAK;AAAA,EACnC;AAAA,EACA,UAAU;AAAA,EACV,QAAQ,SAAS;AAAA,EACjB,QAAQ,SAAS;AAClB;AAEA,MAAM,gBAAgB;AAAA,EACrB,QAAQ;AAAA,EACR,QAAQ;AACT;AAEA,IAAO,kBAAQ;",
6
+ "names": ["brand"]
7
+ }
@@ -0,0 +1,30 @@
1
+ const level = (() => {
2
+ if (!("navigator" in globalThis)) {
3
+ return 0;
4
+ }
5
+ if (globalThis.navigator.userAgentData) {
6
+ const brand = navigator.userAgentData.brands.find(({ brand: brand2 }) => brand2 === "Chromium");
7
+ if (brand && brand.version > 93) {
8
+ return 3;
9
+ }
10
+ }
11
+ if (/\b(Chrome|Chromium)\//.test(globalThis.navigator.userAgent)) {
12
+ return 1;
13
+ }
14
+ return 0;
15
+ })();
16
+ const colorSupport = level !== 0 && {
17
+ level,
18
+ hasBasic: true,
19
+ has256: level >= 2,
20
+ has16m: level >= 3
21
+ };
22
+ const supportsColor = {
23
+ stdout: colorSupport,
24
+ stderr: colorSupport
25
+ };
26
+ var browser_default = supportsColor;
27
+ export {
28
+ browser_default as default
29
+ };
30
+ //# sourceMappingURL=browser.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../source/vendor/supports-color/browser.js"],
4
+ "sourcesContent": ["/* eslint-env browser */\n\nconst level = (() => {\n\tif (!('navigator' in globalThis)) {\n\t\treturn 0;\n\t}\n\n\tif (globalThis.navigator.userAgentData) {\n\t\tconst brand = navigator.userAgentData.brands.find(({brand}) => brand === 'Chromium');\n\t\tif (brand && brand.version > 93) {\n\t\t\treturn 3;\n\t\t}\n\t}\n\n\tif (/\\b(Chrome|Chromium)\\//.test(globalThis.navigator.userAgent)) {\n\t\treturn 1;\n\t}\n\n\treturn 0;\n})();\n\nconst colorSupport = level !== 0 && {\n\tlevel,\n\thasBasic: true,\n\thas256: level >= 2,\n\thas16m: level >= 3,\n};\n\nconst supportsColor = {\n\tstdout: colorSupport,\n\tstderr: colorSupport,\n};\n\nexport default supportsColor;\n"],
5
+ "mappings": "AAEA,MAAM,SAAS,MAAM;AACpB,MAAI,EAAE,eAAe,aAAa;AACjC,WAAO;AAAA,EACR;AAEA,MAAI,WAAW,UAAU,eAAe;AACvC,UAAM,QAAQ,UAAU,cAAc,OAAO,KAAK,CAAC,EAAC,OAAAA,OAAK,MAAMA,WAAU,UAAU;AACnF,QAAI,SAAS,MAAM,UAAU,IAAI;AAChC,aAAO;AAAA,IACR;AAAA,EACD;AAEA,MAAI,wBAAwB,KAAK,WAAW,UAAU,SAAS,GAAG;AACjE,WAAO;AAAA,EACR;AAEA,SAAO;AACR,GAAG;AAEH,MAAM,eAAe,UAAU,KAAK;AAAA,EACnC;AAAA,EACA,UAAU;AAAA,EACV,QAAQ,SAAS;AAAA,EACjB,QAAQ,SAAS;AAClB;AAEA,MAAM,gBAAgB;AAAA,EACrB,QAAQ;AAAA,EACR,QAAQ;AACT;AAEA,IAAO,kBAAQ;",
6
+ "names": ["brand"]
7
+ }
@@ -0,0 +1,164 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var supports_color_exports = {};
29
+ __export(supports_color_exports, {
30
+ createSupportsColor: () => createSupportsColor,
31
+ default: () => supports_color_default
32
+ });
33
+ module.exports = __toCommonJS(supports_color_exports);
34
+ var import_node_process = __toESM(require("node:process"), 1);
35
+ var import_node_os = __toESM(require("node:os"), 1);
36
+ var import_node_tty = __toESM(require("node:tty"), 1);
37
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : import_node_process.default.argv) {
38
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
39
+ const position = argv.indexOf(prefix + flag);
40
+ const terminatorPosition = argv.indexOf("--");
41
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
42
+ }
43
+ const { env } = import_node_process.default;
44
+ let flagForceColor;
45
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
46
+ flagForceColor = 0;
47
+ } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
48
+ flagForceColor = 1;
49
+ }
50
+ function envForceColor() {
51
+ if ("FORCE_COLOR" in env) {
52
+ if (env.FORCE_COLOR === "true") {
53
+ return 1;
54
+ }
55
+ if (env.FORCE_COLOR === "false") {
56
+ return 0;
57
+ }
58
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
59
+ }
60
+ }
61
+ function translateLevel(level) {
62
+ if (level === 0) {
63
+ return false;
64
+ }
65
+ return {
66
+ level,
67
+ hasBasic: true,
68
+ has256: level >= 2,
69
+ has16m: level >= 3
70
+ };
71
+ }
72
+ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
73
+ const noFlagForceColor = envForceColor();
74
+ if (noFlagForceColor !== void 0) {
75
+ flagForceColor = noFlagForceColor;
76
+ }
77
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
78
+ if (forceColor === 0) {
79
+ return 0;
80
+ }
81
+ if (sniffFlags) {
82
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
83
+ return 3;
84
+ }
85
+ if (hasFlag("color=256")) {
86
+ return 2;
87
+ }
88
+ }
89
+ if ("TF_BUILD" in env && "AGENT_NAME" in env) {
90
+ return 1;
91
+ }
92
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
93
+ return 0;
94
+ }
95
+ const min = forceColor || 0;
96
+ if (env.TERM === "dumb") {
97
+ return min;
98
+ }
99
+ if (import_node_process.default.platform === "win32") {
100
+ const osRelease = import_node_os.default.release().split(".");
101
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
102
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
103
+ }
104
+ return 1;
105
+ }
106
+ if ("CI" in env) {
107
+ if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
108
+ return 3;
109
+ }
110
+ if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
111
+ return 1;
112
+ }
113
+ return min;
114
+ }
115
+ if ("TEAMCITY_VERSION" in env) {
116
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
117
+ }
118
+ if (env.COLORTERM === "truecolor") {
119
+ return 3;
120
+ }
121
+ if (env.TERM === "xterm-kitty") {
122
+ return 3;
123
+ }
124
+ if (env.TERM === "xterm-ghostty") {
125
+ return 3;
126
+ }
127
+ if (env.TERM === "wezterm") {
128
+ return 3;
129
+ }
130
+ if ("TERM_PROGRAM" in env) {
131
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
132
+ switch (env.TERM_PROGRAM) {
133
+ case "iTerm.app": {
134
+ return version >= 3 ? 3 : 2;
135
+ }
136
+ case "Apple_Terminal": {
137
+ return 2;
138
+ }
139
+ }
140
+ }
141
+ if (/-256(color)?$/i.test(env.TERM)) {
142
+ return 2;
143
+ }
144
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
145
+ return 1;
146
+ }
147
+ if ("COLORTERM" in env) {
148
+ return 1;
149
+ }
150
+ return min;
151
+ }
152
+ function createSupportsColor(stream, options = {}) {
153
+ const level = _supportsColor(stream, {
154
+ streamIsTTY: stream && stream.isTTY,
155
+ ...options
156
+ });
157
+ return translateLevel(level);
158
+ }
159
+ const supportsColor = {
160
+ stdout: createSupportsColor({ isTTY: import_node_tty.default.isatty(1) }),
161
+ stderr: createSupportsColor({ isTTY: import_node_tty.default.isatty(2) })
162
+ };
163
+ var supports_color_default = supportsColor;
164
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../source/vendor/supports-color/index.js"],
4
+ "sourcesContent": ["import process from 'node:process';\nimport os from 'node:os';\nimport tty from 'node:tty';\n\n// From: https://github.com/sindresorhus/has-flag/blob/main/index.js\n/// function hasFlag(flag, argv = globalThis.Deno?.args ?? process.argv) {\nfunction hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n}\n\nconst {env} = process;\n\nlet flagForceColor;\nif (\n\thasFlag('no-color')\n\t|| hasFlag('no-colors')\n\t|| hasFlag('color=false')\n\t|| hasFlag('color=never')\n) {\n\tflagForceColor = 0;\n} else if (\n\thasFlag('color')\n\t|| hasFlag('colors')\n\t|| hasFlag('color=true')\n\t|| hasFlag('color=always')\n) {\n\tflagForceColor = 1;\n}\n\nfunction envForceColor() {\n\tif ('FORCE_COLOR' in env) {\n\t\tif (env.FORCE_COLOR === 'true') {\n\t\t\treturn 1;\n\t\t}\n\n\t\tif (env.FORCE_COLOR === 'false') {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3,\n\t};\n}\n\nfunction _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {\n\tconst noFlagForceColor = envForceColor();\n\tif (noFlagForceColor !== undefined) {\n\t\tflagForceColor = noFlagForceColor;\n\t}\n\n\tconst forceColor = sniffFlags ? flagForceColor : noFlagForceColor;\n\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (sniffFlags) {\n\t\tif (hasFlag('color=16m')\n\t\t\t|| hasFlag('color=full')\n\t\t\t|| hasFlag('color=truecolor')) {\n\t\t\treturn 3;\n\t\t}\n\n\t\tif (hasFlag('color=256')) {\n\t\t\treturn 2;\n\t\t}\n\t}\n\n\t// Check for Azure DevOps pipelines.\n\t// Has to be above the `!streamIsTTY` check.\n\tif ('TF_BUILD' in env && 'AGENT_NAME' in env) {\n\t\treturn 1;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10\n\t\t\t&& Number(osRelease[2]) >= 10_586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14_931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['GITHUB_ACTIONS', 'GITEA_ACTIONS', 'CIRCLECI'].some(key => key in env)) {\n\t\t\treturn 3;\n\t\t}\n\n\t\tif (['TRAVIS', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif (env.TERM === 'xterm-kitty') {\n\t\treturn 3;\n\t}\n\n\tif (env.TERM === 'xterm-ghostty') {\n\t\treturn 3;\n\t}\n\n\tif (env.TERM === 'wezterm') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app': {\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\t}\n\n\t\t\tcase 'Apple_Terminal': {\n\t\t\t\treturn 2;\n\t\t\t}\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nexport function createSupportsColor(stream, options = {}) {\n\tconst level = _supportsColor(stream, {\n\t\tstreamIsTTY: stream && stream.isTTY,\n\t\t...options,\n\t});\n\n\treturn translateLevel(level);\n}\n\nconst supportsColor = {\n\tstdout: createSupports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;AAEA,MAAI,IAAI,cAAc,aAAa;AAClC,WAAO;AAAA,EACR;AAEA,MAAI,IAAI,SAAS,eAAe;AAC/B,WAAO;AAAA,EACR;AAEA,MAAI,IAAI,SAAS,iBAAiB;AACjC,WAAO;AAAA,EACR;AAEA,MAAI,IAAI,SAAS,WAAW;AAC3B,WAAO;AAAA,EACR;AAEA,MAAI,kBAAkB,KAAK;AAC1B,UAAM,UAAU,OAAO,UAAU,IAAI,wBAAwB,IAAI,MAAM,GAAG,EAAE,CAAC,GAAG,EAAE;AAElF,YAAQ,IAAI,cAAc;AAAA,MACzB,KAAK,aAAa;AACjB,eAAO,WAAW,IAAI,IAAI;AAAA,MAC3B;AAAA,MAEA,KAAK,kBAAkB;AACtB,eAAO;AAAA,MACR;AAAA,IAED;AAAA,EACD;AAEA,MAAI,iBAAiB,KAAK,IAAI,IAAI,GAAG;AACpC,WAAO;AAAA,EACR;AAEA,MAAI,8DAA8D,KAAK,IAAI,IAAI,GAAG;AACjF,WAAO;AAAA,EACR;AAEA,MAAI,eAAe,KAAK;AACvB,WAAO;AAAA,EACR;AAEA,SAAO;AACR;AAEO,SAAS,oBAAoB,QAAQ,UAAU,CAAC,GAAG;AACzD,QAAM,QAAQ,eAAe,QAAQ;AAAA,IACpC,aAAa,UAAU,OAAO;AAAA,IAC9B,GAAG;AAAA,EACJ,CAAC;AAED,SAAO,eAAe,KAAK;AAC5B;AAEA,MAAM,gBAAgB;AAAA,EACrB,QAAQ,oBAAoB,EAAC,OAAO,gBAAAC,QAAI,OAAO,CAAC,EAAC,CAAC;AAAA,EAClD,QAAQ,oBAAoB,EAAC,OAAO,gBAAAA,QAAI,OAAO,CAAC,EAAC,CAAC;AACnD;AAEA,IAAO,yBAAQ;",
6
+ "names": ["process", "os", "tty"]
7
+ }
@@ -0,0 +1,135 @@
1
+ import process from "node:process";
2
+ import os from "node:os";
3
+ import tty from "node:tty";
4
+ function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) {
5
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
6
+ const position = argv.indexOf(prefix + flag);
7
+ const terminatorPosition = argv.indexOf("--");
8
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
9
+ }
10
+ const { env } = process;
11
+ let flagForceColor;
12
+ if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
13
+ flagForceColor = 0;
14
+ } else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
15
+ flagForceColor = 1;
16
+ }
17
+ function envForceColor() {
18
+ if ("FORCE_COLOR" in env) {
19
+ if (env.FORCE_COLOR === "true") {
20
+ return 1;
21
+ }
22
+ if (env.FORCE_COLOR === "false") {
23
+ return 0;
24
+ }
25
+ return env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
26
+ }
27
+ }
28
+ function translateLevel(level) {
29
+ if (level === 0) {
30
+ return false;
31
+ }
32
+ return {
33
+ level,
34
+ hasBasic: true,
35
+ has256: level >= 2,
36
+ has16m: level >= 3
37
+ };
38
+ }
39
+ function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
40
+ const noFlagForceColor = envForceColor();
41
+ if (noFlagForceColor !== void 0) {
42
+ flagForceColor = noFlagForceColor;
43
+ }
44
+ const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
45
+ if (forceColor === 0) {
46
+ return 0;
47
+ }
48
+ if (sniffFlags) {
49
+ if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
50
+ return 3;
51
+ }
52
+ if (hasFlag("color=256")) {
53
+ return 2;
54
+ }
55
+ }
56
+ if ("TF_BUILD" in env && "AGENT_NAME" in env) {
57
+ return 1;
58
+ }
59
+ if (haveStream && !streamIsTTY && forceColor === void 0) {
60
+ return 0;
61
+ }
62
+ const min = forceColor || 0;
63
+ if (env.TERM === "dumb") {
64
+ return min;
65
+ }
66
+ if (process.platform === "win32") {
67
+ const osRelease = os.release().split(".");
68
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
69
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
70
+ }
71
+ return 1;
72
+ }
73
+ if ("CI" in env) {
74
+ if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => key in env)) {
75
+ return 3;
76
+ }
77
+ if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
78
+ return 1;
79
+ }
80
+ return min;
81
+ }
82
+ if ("TEAMCITY_VERSION" in env) {
83
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
84
+ }
85
+ if (env.COLORTERM === "truecolor") {
86
+ return 3;
87
+ }
88
+ if (env.TERM === "xterm-kitty") {
89
+ return 3;
90
+ }
91
+ if (env.TERM === "xterm-ghostty") {
92
+ return 3;
93
+ }
94
+ if (env.TERM === "wezterm") {
95
+ return 3;
96
+ }
97
+ if ("TERM_PROGRAM" in env) {
98
+ const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
99
+ switch (env.TERM_PROGRAM) {
100
+ case "iTerm.app": {
101
+ return version >= 3 ? 3 : 2;
102
+ }
103
+ case "Apple_Terminal": {
104
+ return 2;
105
+ }
106
+ }
107
+ }
108
+ if (/-256(color)?$/i.test(env.TERM)) {
109
+ return 2;
110
+ }
111
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
112
+ return 1;
113
+ }
114
+ if ("COLORTERM" in env) {
115
+ return 1;
116
+ }
117
+ return min;
118
+ }
119
+ function createSupportsColor(stream, options = {}) {
120
+ const level = _supportsColor(stream, {
121
+ streamIsTTY: stream && stream.isTTY,
122
+ ...options
123
+ });
124
+ return translateLevel(level);
125
+ }
126
+ const supportsColor = {
127
+ stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
128
+ stderr: createSupportsColor({ isTTY: tty.isatty(2) })
129
+ };
130
+ var supports_color_default = supportsColor;
131
+ export {
132
+ createSupportsColor,
133
+ supports_color_default as default
134
+ };
135
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../source/vendor/supports-color/index.js"],
4
+ "sourcesContent": ["import process from 'node:process';\nimport os from 'node:os';\nimport tty from 'node:tty';\n\n// From: https://github.com/sindresorhus/has-flag/blob/main/index.js\n/// function hasFlag(flag, argv = globalThis.Deno?.args ?? process.argv) {\nfunction hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process.argv) {\n\tconst prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');\n\tconst position = argv.indexOf(prefix + flag);\n\tconst terminatorPosition = argv.indexOf('--');\n\treturn position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);\n}\n\nconst {env} = process;\n\nlet flagForceColor;\nif (\n\thasFlag('no-color')\n\t|| hasFlag('no-colors')\n\t|| hasFlag('color=false')\n\t|| hasFlag('color=never')\n) {\n\tflagForceColor = 0;\n} else if (\n\thasFlag('color')\n\t|| hasFlag('colors')\n\t|| hasFlag('color=true')\n\t|| hasFlag('color=always')\n) {\n\tflagForceColor = 1;\n}\n\nfunction envForceColor() {\n\tif ('FORCE_COLOR' in env) {\n\t\tif (env.FORCE_COLOR === 'true') {\n\t\t\treturn 1;\n\t\t}\n\n\t\tif (env.FORCE_COLOR === 'false') {\n\t\t\treturn 0;\n\t\t}\n\n\t\treturn env.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);\n\t}\n}\n\nfunction translateLevel(level) {\n\tif (level === 0) {\n\t\treturn false;\n\t}\n\n\treturn {\n\t\tlevel,\n\t\thasBasic: true,\n\t\thas256: level >= 2,\n\t\thas16m: level >= 3,\n\t};\n}\n\nfunction _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {\n\tconst noFlagForceColor = envForceColor();\n\tif (noFlagForceColor !== undefined) {\n\t\tflagForceColor = noFlagForceColor;\n\t}\n\n\tconst forceColor = sniffFlags ? flagForceColor : noFlagForceColor;\n\n\tif (forceColor === 0) {\n\t\treturn 0;\n\t}\n\n\tif (sniffFlags) {\n\t\tif (hasFlag('color=16m')\n\t\t\t|| hasFlag('color=full')\n\t\t\t|| hasFlag('color=truecolor')) {\n\t\t\treturn 3;\n\t\t}\n\n\t\tif (hasFlag('color=256')) {\n\t\t\treturn 2;\n\t\t}\n\t}\n\n\t// Check for Azure DevOps pipelines.\n\t// Has to be above the `!streamIsTTY` check.\n\tif ('TF_BUILD' in env && 'AGENT_NAME' in env) {\n\t\treturn 1;\n\t}\n\n\tif (haveStream && !streamIsTTY && forceColor === undefined) {\n\t\treturn 0;\n\t}\n\n\tconst min = forceColor || 0;\n\n\tif (env.TERM === 'dumb') {\n\t\treturn min;\n\t}\n\n\tif (process.platform === 'win32') {\n\t\t// Windows 10 build 10586 is the first Windows release that supports 256 colors.\n\t\t// Windows 10 build 14931 is the first release that supports 16m/TrueColor.\n\t\tconst osRelease = os.release().split('.');\n\t\tif (\n\t\t\tNumber(osRelease[0]) >= 10\n\t\t\t&& Number(osRelease[2]) >= 10_586\n\t\t) {\n\t\t\treturn Number(osRelease[2]) >= 14_931 ? 3 : 2;\n\t\t}\n\n\t\treturn 1;\n\t}\n\n\tif ('CI' in env) {\n\t\tif (['GITHUB_ACTIONS', 'GITEA_ACTIONS', 'CIRCLECI'].some(key => key in env)) {\n\t\t\treturn 3;\n\t\t}\n\n\t\tif (['TRAVIS', 'APPVEYOR', 'GITLAB_CI', 'BUILDKITE', 'DRONE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {\n\t\t\treturn 1;\n\t\t}\n\n\t\treturn min;\n\t}\n\n\tif ('TEAMCITY_VERSION' in env) {\n\t\treturn /^(9\\.(0*[1-9]\\d*)\\.|\\d{2,}\\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;\n\t}\n\n\tif (env.COLORTERM === 'truecolor') {\n\t\treturn 3;\n\t}\n\n\tif (env.TERM === 'xterm-kitty') {\n\t\treturn 3;\n\t}\n\n\tif (env.TERM === 'xterm-ghostty') {\n\t\treturn 3;\n\t}\n\n\tif (env.TERM === 'wezterm') {\n\t\treturn 3;\n\t}\n\n\tif ('TERM_PROGRAM' in env) {\n\t\tconst version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);\n\n\t\tswitch (env.TERM_PROGRAM) {\n\t\t\tcase 'iTerm.app': {\n\t\t\t\treturn version >= 3 ? 3 : 2;\n\t\t\t}\n\n\t\t\tcase 'Apple_Terminal': {\n\t\t\t\treturn 2;\n\t\t\t}\n\t\t\t// No default\n\t\t}\n\t}\n\n\tif (/-256(color)?$/i.test(env.TERM)) {\n\t\treturn 2;\n\t}\n\n\tif (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {\n\t\treturn 1;\n\t}\n\n\tif ('COLORTERM' in env) {\n\t\treturn 1;\n\t}\n\n\treturn min;\n}\n\nexport function createSupportsColor(stream, options = {}) {\n\tconst level = _supportsColor(stream, {\n\t\tstreamIsTTY: stream && stream.isTTY,\n\t\t...options,\n\t});\n\n\treturn translateLevel(level);\n}\n\nconst supportsColor = {\n\tstdout: createSupportsColor({isTTY: tty.isatty(1)}),\n\tstderr: createSupportsColor({isTTY: tty.isatty(2)}),\n};\n\nexport default supportsColor;\n"],
5
+ "mappings": "AAAA,OAAO,aAAa;AACpB,OAAO,QAAQ;AACf,OAAO,SAAS;AAIhB,SAAS,QAAQ,MAAM,OAAO,WAAW,OAAO,WAAW,KAAK,OAAO,QAAQ,MAAM;AACpF,QAAM,SAAS,KAAK,WAAW,GAAG,IAAI,KAAM,KAAK,WAAW,IAAI,MAAM;AACtE,QAAM,WAAW,KAAK,QAAQ,SAAS,IAAI;AAC3C,QAAM,qBA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