import {
  __commonJS
} from "./chunk-NWKJXI2N.js";

// ../../../node_modules/ansi-regex/index.js
var require_ansi_regex = __commonJS({
  "../../../node_modules/ansi-regex/index.js"(exports, module) {
    "use strict";
    module.exports = ({ onlyFirst = false } = {}) => {
      const pattern = [
        "[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)",
        "(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"
      ].join("|");
      return new RegExp(pattern, onlyFirst ? void 0 : "g");
    };
  }
});

// ../../../node_modules/strip-ansi/index.js
var require_strip_ansi = __commonJS({
  "../../../node_modules/strip-ansi/index.js"(exports, module) {
    "use strict";
    var ansiRegex = require_ansi_regex();
    module.exports = (string) => typeof string === "string" ? string.replace(ansiRegex(), "") : string;
  }
});

// dep:strip-ansi
var strip_ansi_default = require_strip_ansi();
export {
  strip_ansi_default as default
};
//# sourceMappingURL=strip-ansi.js.map
