//#region ../../node_modules/tinyrainbow/dist/index.js
var e = {
	reset: [0, 0],
	bold: [
		1,
		22,
		"\x1B[22m\x1B[1m"
	],
	dim: [
		2,
		22,
		"\x1B[22m\x1B[2m"
	],
	italic: [3, 23],
	underline: [4, 24],
	inverse: [7, 27],
	hidden: [8, 28],
	strikethrough: [9, 29],
	black: [30, 39],
	red: [31, 39],
	green: [32, 39],
	yellow: [33, 39],
	blue: [34, 39],
	magenta: [35, 39],
	cyan: [36, 39],
	white: [37, 39],
	gray: [90, 39],
	bgBlack: [40, 49],
	bgRed: [41, 49],
	bgGreen: [42, 49],
	bgYellow: [43, 49],
	bgBlue: [44, 49],
	bgMagenta: [45, 49],
	bgCyan: [46, 49],
	bgWhite: [47, 49],
	blackBright: [90, 39],
	redBright: [91, 39],
	greenBright: [92, 39],
	yellowBright: [93, 39],
	blueBright: [94, 39],
	magentaBright: [95, 39],
	cyanBright: [96, 39],
	whiteBright: [97, 39],
	bgBlackBright: [100, 49],
	bgRedBright: [101, 49],
	bgGreenBright: [102, 49],
	bgYellowBright: [103, 49],
	bgBlueBright: [104, 49],
	bgMagentaBright: [105, 49],
	bgCyanBright: [106, 49],
	bgWhiteBright: [107, 49]
};
function t(e) {
	return String(e);
}
t.open = "", t.close = "";
function n() {
	let e = typeof process < "u" ? process : void 0, t = e?.env || {}, n = t.FORCE_TTY !== "false", r = e?.argv || [];
	return !("NO_COLOR" in t || r.includes("--no-color")) && ("FORCE_COLOR" in t || r.includes("--color") || e?.platform === "win32" || n && t.TERM !== "dumb" || "CI" in t) || typeof window < "u" && !!window.chrome;
}
function r({ force: r } = {}) {
	let i = r || n(), a = (e, t, n, r) => {
		let i = "", a = 0;
		do
			i += e.substring(a, r) + n, a = r + t.length, r = e.indexOf(t, a);
		while (~r);
		return i + e.substring(a);
	}, o = (e, t, n = e) => {
		let r = (r) => {
			let i = String(r), o = i.indexOf(t, e.length);
			return ~o ? e + a(i, t, n, o) + t : e + i + t;
		};
		return r.open = e, r.close = t, r;
	}, s = { isColorSupported: i }, c = (e) => `\x1B[${e}m`;
	for (let n in e) {
		let r = e[n];
		s[n] = i ? o(c(r[0]), c(r[1]), r[2]) : t;
	}
	return s;
}
var i = r();
//#endregion
export { i as y };

//# sourceMappingURL=index.js.map