/**
 * Bundled from yoctocolors-cjs
 * This is a zero-dependency bundle created by esbuild.
 */
var c=Object.defineProperty;var b=(o,i)=>c(o,"name",{value:i,configurable:!0});var d=require("node:tty"),u=d?.WriteStream?.prototype?.hasColors?.()??!1,t=b((o,i)=>{if(!u)return h=>h;let s=`\x1B[${o}m`,r=`\x1B[${i}m`;return h=>{let n=h+"",g=n.indexOf(r);if(g===-1)return s+n+r;let a=s,l=0,B=(i===22?r:"")+s;for(;g!==-1;)a+=n.slice(l,g)+B,l=g+r.length,g=n.indexOf(r,l);return a+=n.slice(l)+r,a}},"format"),e={};e.reset=t(0,0);e.bold=t(1,22);e.dim=t(2,22);e.italic=t(3,23);e.underline=t(4,24);e.overline=t(53,55);e.inverse=t(7,27);e.hidden=t(8,28);e.strikethrough=t(9,29);e.black=t(30,39);e.red=t(31,39);e.green=t(32,39);e.yellow=t(33,39);e.blue=t(34,39);e.magenta=t(35,39);e.cyan=t(36,39);e.white=t(37,39);e.gray=t(90,39);e.bgBlack=t(40,49);e.bgRed=t(41,49);e.bgGreen=t(42,49);e.bgYellow=t(43,49);e.bgBlue=t(44,49);e.bgMagenta=t(45,49);e.bgCyan=t(46,49);e.bgWhite=t(47,49);e.bgGray=t(100,49);e.redBright=t(91,39);e.greenBright=t(92,39);e.yellowBright=t(93,39);e.blueBright=t(94,39);e.magentaBright=t(95,39);e.cyanBright=t(96,39);e.whiteBright=t(97,39);e.bgRedBright=t(101,49);e.bgGreenBright=t(102,49);e.bgYellowBright=t(103,49);e.bgBlueBright=t(104,49);e.bgMagentaBright=t(105,49);e.bgCyanBright=t(106,49);e.bgWhiteBright=t(107,49);module.exports=e;
