"use strict";
/**
 * Bundled from @inquirer/confirm
 * This is a zero-dependency bundle created by esbuild.
 */
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __esm = (fn, res) => function __init() {
  return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
};
var __commonJS = (cb, mod) => function __require() {
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/key.js
var require_key = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/key.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.isEnterKey = exports2.isNumberKey = exports2.isTabKey = exports2.isBackspaceKey = exports2.isSpaceKey = exports2.isDownKey = exports2.isUpKey = void 0;
    var isUpKey = /* @__PURE__ */ __name((key, keybindings = []) => (
      // The up key
      key.name === "up" || // Vim keybinding: hjkl keys map to left/down/up/right
      keybindings.includes("vim") && key.name === "k" || // Emacs keybinding: Ctrl+P means "previous" in Emacs navigation conventions
      keybindings.includes("emacs") && key.ctrl && key.name === "p"
    ), "isUpKey");
    exports2.isUpKey = isUpKey;
    var isDownKey = /* @__PURE__ */ __name((key, keybindings = []) => (
      // The down key
      key.name === "down" || // Vim keybinding: hjkl keys map to left/down/up/right
      keybindings.includes("vim") && key.name === "j" || // Emacs keybinding: Ctrl+N means "next" in Emacs navigation conventions
      keybindings.includes("emacs") && key.ctrl && key.name === "n"
    ), "isDownKey");
    exports2.isDownKey = isDownKey;
    var isSpaceKey = /* @__PURE__ */ __name((key) => key.name === "space", "isSpaceKey");
    exports2.isSpaceKey = isSpaceKey;
    var isBackspaceKey = /* @__PURE__ */ __name((key) => key.name === "backspace", "isBackspaceKey");
    exports2.isBackspaceKey = isBackspaceKey;
    var isTabKey = /* @__PURE__ */ __name((key) => key.name === "tab", "isTabKey");
    exports2.isTabKey = isTabKey;
    var isNumberKey = /* @__PURE__ */ __name((key) => "1234567890".includes(key.name), "isNumberKey");
    exports2.isNumberKey = isNumberKey;
    var isEnterKey = /* @__PURE__ */ __name((key) => key.name === "enter" || key.name === "return", "isEnterKey");
    exports2.isEnterKey = isEnterKey;
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/errors.js
var require_errors = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/errors.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.ValidationError = exports2.HookError = exports2.ExitPromptError = exports2.CancelPromptError = exports2.AbortPromptError = void 0;
    var AbortPromptError = class extends Error {
      static {
        __name(this, "AbortPromptError");
      }
      name = "AbortPromptError";
      message = "Prompt was aborted";
      constructor(options) {
        super();
        this.cause = options?.cause;
      }
    };
    exports2.AbortPromptError = AbortPromptError;
    var CancelPromptError = class extends Error {
      static {
        __name(this, "CancelPromptError");
      }
      name = "CancelPromptError";
      message = "Prompt was canceled";
    };
    exports2.CancelPromptError = CancelPromptError;
    var ExitPromptError = class extends Error {
      static {
        __name(this, "ExitPromptError");
      }
      name = "ExitPromptError";
    };
    exports2.ExitPromptError = ExitPromptError;
    var HookError = class extends Error {
      static {
        __name(this, "HookError");
      }
      name = "HookError";
    };
    exports2.HookError = HookError;
    var ValidationError = class extends Error {
      static {
        __name(this, "ValidationError");
      }
      name = "ValidationError";
    };
    exports2.ValidationError = ValidationError;
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/hook-engine.js
var require_hook_engine = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/hook-engine.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.effectScheduler = void 0;
    exports2.withHooks = withHooks;
    exports2.readline = readline;
    exports2.withUpdates = withUpdates;
    exports2.withPointer = withPointer;
    exports2.handleChange = handleChange;
    var node_async_hooks_1 = require("node:async_hooks");
    var errors_ts_1 = require_errors();
    var hookStorage = new node_async_hooks_1.AsyncLocalStorage();
    function createStore(rl) {
      const store = {
        rl,
        hooks: [],
        hooksCleanup: [],
        hooksEffect: [],
        index: 0,
        handleChange() {
        }
      };
      return store;
    }
    __name(createStore, "createStore");
    function withHooks(rl, cb) {
      const store = createStore(rl);
      return hookStorage.run(store, () => {
        function cycle(render) {
          store.handleChange = () => {
            store.index = 0;
            render();
          };
          store.handleChange();
        }
        __name(cycle, "cycle");
        return cb(cycle);
      });
    }
    __name(withHooks, "withHooks");
    function getStore() {
      const store = hookStorage.getStore();
      if (!store) {
        throw new errors_ts_1.HookError("[Inquirer] Hook functions can only be called from within a prompt");
      }
      return store;
    }
    __name(getStore, "getStore");
    function readline() {
      return getStore().rl;
    }
    __name(readline, "readline");
    function withUpdates(fn) {
      const wrapped = /* @__PURE__ */ __name((...args) => {
        const store = getStore();
        let shouldUpdate = false;
        const oldHandleChange = store.handleChange;
        store.handleChange = () => {
          shouldUpdate = true;
        };
        const returnValue = fn(...args);
        if (shouldUpdate) {
          oldHandleChange();
        }
        store.handleChange = oldHandleChange;
        return returnValue;
      }, "wrapped");
      return node_async_hooks_1.AsyncResource.bind(wrapped);
    }
    __name(withUpdates, "withUpdates");
    function withPointer(cb) {
      const store = getStore();
      const { index } = store;
      const pointer = {
        get() {
          return store.hooks[index];
        },
        set(value) {
          store.hooks[index] = value;
        },
        initialized: index in store.hooks
      };
      const returnValue = cb(pointer);
      store.index++;
      return returnValue;
    }
    __name(withPointer, "withPointer");
    function handleChange() {
      getStore().handleChange();
    }
    __name(handleChange, "handleChange");
    exports2.effectScheduler = {
      queue(cb) {
        const store = getStore();
        const { index } = store;
        store.hooksEffect.push(() => {
          store.hooksCleanup[index]?.();
          const cleanFn = cb(readline());
          if (cleanFn != null && typeof cleanFn !== "function") {
            throw new errors_ts_1.ValidationError("useEffect return value must be a cleanup function or nothing.");
          }
          store.hooksCleanup[index] = cleanFn;
        });
      },
      run() {
        const store = getStore();
        withUpdates(() => {
          store.hooksEffect.forEach((effect) => {
            effect();
          });
          store.hooksEffect.length = 0;
        })();
      },
      clearAll() {
        const store = getStore();
        store.hooksCleanup.forEach((cleanFn) => {
          cleanFn?.();
        });
        store.hooksEffect.length = 0;
        store.hooksCleanup.length = 0;
      }
    };
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-state.js
var require_use_state = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-state.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.useState = useState;
    var node_async_hooks_1 = require("node:async_hooks");
    var hook_engine_ts_1 = require_hook_engine();
    function useState(defaultValue) {
      return (0, hook_engine_ts_1.withPointer)((pointer) => {
        const setState = node_async_hooks_1.AsyncResource.bind(/* @__PURE__ */ __name(function setState2(newValue) {
          if (pointer.get() !== newValue) {
            pointer.set(newValue);
            (0, hook_engine_ts_1.handleChange)();
          }
        }, "setState"));
        if (pointer.initialized) {
          return [pointer.get(), setState];
        }
        const value = typeof defaultValue === "function" ? defaultValue() : defaultValue;
        pointer.set(value);
        return [value, setState];
      });
    }
    __name(useState, "useState");
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-effect.js
var require_use_effect = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-effect.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.useEffect = useEffect;
    var hook_engine_ts_1 = require_hook_engine();
    function useEffect(cb, depArray) {
      (0, hook_engine_ts_1.withPointer)((pointer) => {
        const oldDeps = pointer.get();
        const hasChanged = !Array.isArray(oldDeps) || depArray.some((dep, i) => !Object.is(dep, oldDeps[i]));
        if (hasChanged) {
          hook_engine_ts_1.effectScheduler.queue(cb);
        }
        pointer.set(depArray);
      });
    }
    __name(useEffect, "useEffect");
  }
});

// node_modules/.pnpm/yoctocolors-cjs@2.1.3/node_modules/yoctocolors-cjs/index.js
var require_yoctocolors_cjs = __commonJS({
  "node_modules/.pnpm/yoctocolors-cjs@2.1.3/node_modules/yoctocolors-cjs/index.js"(exports2, module2) {
    var tty = require("node:tty");
    var hasColors = tty?.WriteStream?.prototype?.hasColors?.() ?? false;
    var format = /* @__PURE__ */ __name((open, close) => {
      if (!hasColors) {
        return (input) => input;
      }
      const openCode = `\x1B[${open}m`;
      const closeCode = `\x1B[${close}m`;
      return (input) => {
        const string = input + "";
        let index = string.indexOf(closeCode);
        if (index === -1) {
          return openCode + string + closeCode;
        }
        let result = openCode;
        let lastIndex = 0;
        const reopenOnNestedClose = close === 22;
        const replaceCode = (reopenOnNestedClose ? closeCode : "") + openCode;
        while (index !== -1) {
          result += string.slice(lastIndex, index) + replaceCode;
          lastIndex = index + closeCode.length;
          index = string.indexOf(closeCode, lastIndex);
        }
        result += string.slice(lastIndex) + closeCode;
        return result;
      };
    }, "format");
    var colors = {};
    colors.reset = format(0, 0);
    colors.bold = format(1, 22);
    colors.dim = format(2, 22);
    colors.italic = format(3, 23);
    colors.underline = format(4, 24);
    colors.overline = format(53, 55);
    colors.inverse = format(7, 27);
    colors.hidden = format(8, 28);
    colors.strikethrough = format(9, 29);
    colors.black = format(30, 39);
    colors.red = format(31, 39);
    colors.green = format(32, 39);
    colors.yellow = format(33, 39);
    colors.blue = format(34, 39);
    colors.magenta = format(35, 39);
    colors.cyan = format(36, 39);
    colors.white = format(37, 39);
    colors.gray = format(90, 39);
    colors.bgBlack = format(40, 49);
    colors.bgRed = format(41, 49);
    colors.bgGreen = format(42, 49);
    colors.bgYellow = format(43, 49);
    colors.bgBlue = format(44, 49);
    colors.bgMagenta = format(45, 49);
    colors.bgCyan = format(46, 49);
    colors.bgWhite = format(47, 49);
    colors.bgGray = format(100, 49);
    colors.redBright = format(91, 39);
    colors.greenBright = format(92, 39);
    colors.yellowBright = format(93, 39);
    colors.blueBright = format(94, 39);
    colors.magentaBright = format(95, 39);
    colors.cyanBright = format(96, 39);
    colors.whiteBright = format(97, 39);
    colors.bgRedBright = format(101, 49);
    colors.bgGreenBright = format(102, 49);
    colors.bgYellowBright = format(103, 49);
    colors.bgBlueBright = format(104, 49);
    colors.bgMagentaBright = format(105, 49);
    colors.bgCyanBright = format(106, 49);
    colors.bgWhiteBright = format(107, 49);
    module2.exports = colors;
  }
});

// node_modules/.pnpm/@inquirer+figures@1.0.14/node_modules/@inquirer/figures/dist/commonjs/index.js
var require_commonjs = __commonJS({
  "node_modules/.pnpm/@inquirer+figures@1.0.14/node_modules/@inquirer/figures/dist/commonjs/index.js"(exports2) {
    "use strict";
    var __importDefault = exports2 && exports2.__importDefault || function(mod) {
      return mod && mod.__esModule ? mod : { "default": mod };
    };
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.replaceSymbols = exports2.fallbackSymbols = exports2.mainSymbols = void 0;
    var node_process_1 = __importDefault(require("node:process"));
    function isUnicodeSupported() {
      if (node_process_1.default.platform !== "win32") {
        return node_process_1.default.env["TERM"] !== "linux";
      }
      return Boolean(node_process_1.default.env["WT_SESSION"]) || // Windows Terminal
      Boolean(node_process_1.default.env["TERMINUS_SUBLIME"]) || // Terminus (<0.2.27)
      node_process_1.default.env["ConEmuTask"] === "{cmd::Cmder}" || // ConEmu and cmder
      node_process_1.default.env["TERM_PROGRAM"] === "Terminus-Sublime" || node_process_1.default.env["TERM_PROGRAM"] === "vscode" || node_process_1.default.env["TERM"] === "xterm-256color" || node_process_1.default.env["TERM"] === "alacritty" || node_process_1.default.env["TERMINAL_EMULATOR"] === "JetBrains-JediTerm";
    }
    __name(isUnicodeSupported, "isUnicodeSupported");
    var common = {
      circleQuestionMark: "(?)",
      questionMarkPrefix: "(?)",
      square: "█",
      squareDarkShade: "▓",
      squareMediumShade: "▒",
      squareLightShade: "░",
      squareTop: "▀",
      squareBottom: "▄",
      squareLeft: "▌",
      squareRight: "▐",
      squareCenter: "■",
      bullet: "●",
      dot: "․",
      ellipsis: "…",
      pointerSmall: "›",
      triangleUp: "▲",
      triangleUpSmall: "▴",
      triangleDown: "▼",
      triangleDownSmall: "▾",
      triangleLeftSmall: "◂",
      triangleRightSmall: "▸",
      home: "⌂",
      heart: "♥",
      musicNote: "♪",
      musicNoteBeamed: "♫",
      arrowUp: "↑",
      arrowDown: "↓",
      arrowLeft: "←",
      arrowRight: "→",
      arrowLeftRight: "↔",
      arrowUpDown: "↕",
      almostEqual: "≈",
      notEqual: "≠",
      lessOrEqual: "≤",
      greaterOrEqual: "≥",
      identical: "≡",
      infinity: "∞",
      subscriptZero: "₀",
      subscriptOne: "₁",
      subscriptTwo: "₂",
      subscriptThree: "₃",
      subscriptFour: "₄",
      subscriptFive: "₅",
      subscriptSix: "₆",
      subscriptSeven: "₇",
      subscriptEight: "₈",
      subscriptNine: "₉",
      oneHalf: "½",
      oneThird: "⅓",
      oneQuarter: "¼",
      oneFifth: "⅕",
      oneSixth: "⅙",
      oneEighth: "⅛",
      twoThirds: "⅔",
      twoFifths: "⅖",
      threeQuarters: "¾",
      threeFifths: "⅗",
      threeEighths: "⅜",
      fourFifths: "⅘",
      fiveSixths: "⅚",
      fiveEighths: "⅝",
      sevenEighths: "⅞",
      line: "─",
      lineBold: "━",
      lineDouble: "═",
      lineDashed0: "┄",
      lineDashed1: "┅",
      lineDashed2: "┈",
      lineDashed3: "┉",
      lineDashed4: "╌",
      lineDashed5: "╍",
      lineDashed6: "╴",
      lineDashed7: "╶",
      lineDashed8: "╸",
      lineDashed9: "╺",
      lineDashed10: "╼",
      lineDashed11: "╾",
      lineDashed12: "−",
      lineDashed13: "–",
      lineDashed14: "‐",
      lineDashed15: "⁃",
      lineVertical: "│",
      lineVerticalBold: "┃",
      lineVerticalDouble: "║",
      lineVerticalDashed0: "┆",
      lineVerticalDashed1: "┇",
      lineVerticalDashed2: "┊",
      lineVerticalDashed3: "┋",
      lineVerticalDashed4: "╎",
      lineVerticalDashed5: "╏",
      lineVerticalDashed6: "╵",
      lineVerticalDashed7: "╷",
      lineVerticalDashed8: "╹",
      lineVerticalDashed9: "╻",
      lineVerticalDashed10: "╽",
      lineVerticalDashed11: "╿",
      lineDownLeft: "┐",
      lineDownLeftArc: "╮",
      lineDownBoldLeftBold: "┓",
      lineDownBoldLeft: "┒",
      lineDownLeftBold: "┑",
      lineDownDoubleLeftDouble: "╗",
      lineDownDoubleLeft: "╖",
      lineDownLeftDouble: "╕",
      lineDownRight: "┌",
      lineDownRightArc: "╭",
      lineDownBoldRightBold: "┏",
      lineDownBoldRight: "┎",
      lineDownRightBold: "┍",
      lineDownDoubleRightDouble: "╔",
      lineDownDoubleRight: "╓",
      lineDownRightDouble: "╒",
      lineUpLeft: "┘",
      lineUpLeftArc: "╯",
      lineUpBoldLeftBold: "┛",
      lineUpBoldLeft: "┚",
      lineUpLeftBold: "┙",
      lineUpDoubleLeftDouble: "╝",
      lineUpDoubleLeft: "╜",
      lineUpLeftDouble: "╛",
      lineUpRight: "└",
      lineUpRightArc: "╰",
      lineUpBoldRightBold: "┗",
      lineUpBoldRight: "┖",
      lineUpRightBold: "┕",
      lineUpDoubleRightDouble: "╚",
      lineUpDoubleRight: "╙",
      lineUpRightDouble: "╘",
      lineUpDownLeft: "┤",
      lineUpBoldDownBoldLeftBold: "┫",
      lineUpBoldDownBoldLeft: "┨",
      lineUpDownLeftBold: "┥",
      lineUpBoldDownLeftBold: "┩",
      lineUpDownBoldLeftBold: "┪",
      lineUpDownBoldLeft: "┧",
      lineUpBoldDownLeft: "┦",
      lineUpDoubleDownDoubleLeftDouble: "╣",
      lineUpDoubleDownDoubleLeft: "╢",
      lineUpDownLeftDouble: "╡",
      lineUpDownRight: "├",
      lineUpBoldDownBoldRightBold: "┣",
      lineUpBoldDownBoldRight: "┠",
      lineUpDownRightBold: "┝",
      lineUpBoldDownRightBold: "┡",
      lineUpDownBoldRightBold: "┢",
      lineUpDownBoldRight: "┟",
      lineUpBoldDownRight: "┞",
      lineUpDoubleDownDoubleRightDouble: "╠",
      lineUpDoubleDownDoubleRight: "╟",
      lineUpDownRightDouble: "╞",
      lineDownLeftRight: "┬",
      lineDownBoldLeftBoldRightBold: "┳",
      lineDownLeftBoldRightBold: "┯",
      lineDownBoldLeftRight: "┰",
      lineDownBoldLeftBoldRight: "┱",
      lineDownBoldLeftRightBold: "┲",
      lineDownLeftRightBold: "┮",
      lineDownLeftBoldRight: "┭",
      lineDownDoubleLeftDoubleRightDouble: "╦",
      lineDownDoubleLeftRight: "╥",
      lineDownLeftDoubleRightDouble: "╤",
      lineUpLeftRight: "┴",
      lineUpBoldLeftBoldRightBold: "┻",
      lineUpLeftBoldRightBold: "┷",
      lineUpBoldLeftRight: "┸",
      lineUpBoldLeftBoldRight: "┹",
      lineUpBoldLeftRightBold: "┺",
      lineUpLeftRightBold: "┶",
      lineUpLeftBoldRight: "┵",
      lineUpDoubleLeftDoubleRightDouble: "╩",
      lineUpDoubleLeftRight: "╨",
      lineUpLeftDoubleRightDouble: "╧",
      lineUpDownLeftRight: "┼",
      lineUpBoldDownBoldLeftBoldRightBold: "╋",
      lineUpDownBoldLeftBoldRightBold: "╈",
      lineUpBoldDownLeftBoldRightBold: "╇",
      lineUpBoldDownBoldLeftRightBold: "╊",
      lineUpBoldDownBoldLeftBoldRight: "╉",
      lineUpBoldDownLeftRight: "╀",
      lineUpDownBoldLeftRight: "╁",
      lineUpDownLeftBoldRight: "┽",
      lineUpDownLeftRightBold: "┾",
      lineUpBoldDownBoldLeftRight: "╂",
      lineUpDownLeftBoldRightBold: "┿",
      lineUpBoldDownLeftBoldRight: "╃",
      lineUpBoldDownLeftRightBold: "╄",
      lineUpDownBoldLeftBoldRight: "╅",
      lineUpDownBoldLeftRightBold: "╆",
      lineUpDoubleDownDoubleLeftDoubleRightDouble: "╬",
      lineUpDoubleDownDoubleLeftRight: "╫",
      lineUpDownLeftDoubleRightDouble: "╪",
      lineCross: "╳",
      lineBackslash: "╲",
      lineSlash: "╱"
    };
    var specialMainSymbols = {
      tick: "✔",
      info: "ℹ",
      warning: "⚠",
      cross: "✘",
      squareSmall: "◻",
      squareSmallFilled: "◼",
      circle: "◯",
      circleFilled: "◉",
      circleDotted: "◌",
      circleDouble: "◎",
      circleCircle: "ⓞ",
      circleCross: "ⓧ",
      circlePipe: "Ⓘ",
      radioOn: "◉",
      radioOff: "◯",
      checkboxOn: "☒",
      checkboxOff: "☐",
      checkboxCircleOn: "ⓧ",
      checkboxCircleOff: "Ⓘ",
      pointer: "❯",
      triangleUpOutline: "△",
      triangleLeft: "◀",
      triangleRight: "▶",
      lozenge: "◆",
      lozengeOutline: "◇",
      hamburger: "☰",
      smiley: "㋡",
      mustache: "෴",
      star: "★",
      play: "▶",
      nodejs: "⬢",
      oneSeventh: "⅐",
      oneNinth: "⅑",
      oneTenth: "⅒"
    };
    var specialFallbackSymbols = {
      tick: "√",
      info: "i",
      warning: "‼",
      cross: "×",
      squareSmall: "□",
      squareSmallFilled: "■",
      circle: "( )",
      circleFilled: "(*)",
      circleDotted: "( )",
      circleDouble: "( )",
      circleCircle: "(○)",
      circleCross: "(×)",
      circlePipe: "(│)",
      radioOn: "(*)",
      radioOff: "( )",
      checkboxOn: "[×]",
      checkboxOff: "[ ]",
      checkboxCircleOn: "(×)",
      checkboxCircleOff: "( )",
      pointer: ">",
      triangleUpOutline: "∆",
      triangleLeft: "◄",
      triangleRight: "►",
      lozenge: "♦",
      lozengeOutline: "◊",
      hamburger: "≡",
      smiley: "☺",
      mustache: "┌─┐",
      star: "✶",
      play: "►",
      nodejs: "♦",
      oneSeventh: "1/7",
      oneNinth: "1/9",
      oneTenth: "1/10"
    };
    exports2.mainSymbols = { ...common, ...specialMainSymbols };
    exports2.fallbackSymbols = {
      ...common,
      ...specialFallbackSymbols
    };
    var shouldUseMain = isUnicodeSupported();
    var figures = shouldUseMain ? exports2.mainSymbols : exports2.fallbackSymbols;
    exports2.default = figures;
    var replacements = Object.entries(specialMainSymbols);
    var replaceSymbols = /* @__PURE__ */ __name((string, { useFallback = !shouldUseMain } = {}) => {
      if (useFallback) {
        for (const [key, mainSymbol] of replacements) {
          const fallbackSymbol = exports2.fallbackSymbols[key];
          if (!fallbackSymbol) {
            throw new Error(`Unable to find fallback for ${key}`);
          }
          string = string.replaceAll(mainSymbol, fallbackSymbol);
        }
      }
      return string;
    }, "replaceSymbols");
    exports2.replaceSymbols = replaceSymbols;
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/theme.js
var require_theme = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/theme.js"(exports2) {
    "use strict";
    var __importDefault = exports2 && exports2.__importDefault || function(mod) {
      return mod && mod.__esModule ? mod : { "default": mod };
    };
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.defaultTheme = void 0;
    var yoctocolors_cjs_1 = __importDefault(require_yoctocolors_cjs());
    var figures_1 = __importDefault(require_commonjs());
    exports2.defaultTheme = {
      prefix: {
        idle: yoctocolors_cjs_1.default.blue("?"),
        // TODO: use figure
        done: yoctocolors_cjs_1.default.green(figures_1.default.tick)
      },
      spinner: {
        interval: 80,
        frames: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"].map((frame) => yoctocolors_cjs_1.default.yellow(frame))
      },
      style: {
        answer: yoctocolors_cjs_1.default.cyan,
        message: yoctocolors_cjs_1.default.bold,
        error: /* @__PURE__ */ __name((text) => yoctocolors_cjs_1.default.red(`> ${text}`), "error"),
        defaultAnswer: /* @__PURE__ */ __name((text) => yoctocolors_cjs_1.default.dim(`(${text})`), "defaultAnswer"),
        help: yoctocolors_cjs_1.default.dim,
        highlight: yoctocolors_cjs_1.default.cyan,
        key: /* @__PURE__ */ __name((text) => yoctocolors_cjs_1.default.cyan(yoctocolors_cjs_1.default.bold(`<${text}>`)), "key")
      }
    };
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/make-theme.js
var require_make_theme = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/make-theme.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.makeTheme = makeTheme;
    var theme_ts_1 = require_theme();
    function isPlainObject(value) {
      if (typeof value !== "object" || value === null)
        return false;
      let proto = value;
      while (Object.getPrototypeOf(proto) !== null) {
        proto = Object.getPrototypeOf(proto);
      }
      return Object.getPrototypeOf(value) === proto;
    }
    __name(isPlainObject, "isPlainObject");
    function deepMerge(...objects) {
      const output = {};
      for (const obj of objects) {
        for (const [key, value] of Object.entries(obj)) {
          const prevValue = output[key];
          output[key] = isPlainObject(prevValue) && isPlainObject(value) ? deepMerge(prevValue, value) : value;
        }
      }
      return output;
    }
    __name(deepMerge, "deepMerge");
    function makeTheme(...themes) {
      const themesToMerge = [
        theme_ts_1.defaultTheme,
        ...themes.filter((theme) => theme != null)
      ];
      return deepMerge(...themesToMerge);
    }
    __name(makeTheme, "makeTheme");
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-prefix.js
var require_use_prefix = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-prefix.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.usePrefix = usePrefix;
    var use_state_ts_1 = require_use_state();
    var use_effect_ts_1 = require_use_effect();
    var make_theme_ts_1 = require_make_theme();
    function usePrefix({ status = "idle", theme }) {
      const [showLoader, setShowLoader] = (0, use_state_ts_1.useState)(false);
      const [tick, setTick] = (0, use_state_ts_1.useState)(0);
      const { prefix, spinner } = (0, make_theme_ts_1.makeTheme)(theme);
      (0, use_effect_ts_1.useEffect)(() => {
        if (status === "loading") {
          let tickInterval;
          let inc = -1;
          const delayTimeout = setTimeout(() => {
            setShowLoader(true);
            tickInterval = setInterval(() => {
              inc = inc + 1;
              setTick(inc % spinner.frames.length);
            }, spinner.interval);
          }, 300);
          return () => {
            clearTimeout(delayTimeout);
            clearInterval(tickInterval);
          };
        } else {
          setShowLoader(false);
        }
      }, [status]);
      if (showLoader) {
        return spinner.frames[tick];
      }
      const iconName = status === "loading" ? "idle" : status;
      return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
    }
    __name(usePrefix, "usePrefix");
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-memo.js
var require_use_memo = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-memo.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.useMemo = useMemo;
    var hook_engine_ts_1 = require_hook_engine();
    function useMemo(fn, dependencies) {
      return (0, hook_engine_ts_1.withPointer)((pointer) => {
        const prev = pointer.get();
        if (!prev || prev.dependencies.length !== dependencies.length || prev.dependencies.some((dep, i) => dep !== dependencies[i])) {
          const value = fn();
          pointer.set({ value, dependencies });
          return value;
        }
        return prev.value;
      });
    }
    __name(useMemo, "useMemo");
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-ref.js
var require_use_ref = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-ref.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.useRef = useRef;
    var use_state_ts_1 = require_use_state();
    function useRef(val) {
      return (0, use_state_ts_1.useState)({ current: val })[0];
    }
    __name(useRef, "useRef");
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-keypress.js
var require_use_keypress = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/use-keypress.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.useKeypress = useKeypress;
    var use_ref_ts_1 = require_use_ref();
    var use_effect_ts_1 = require_use_effect();
    var hook_engine_ts_1 = require_hook_engine();
    function useKeypress(userHandler) {
      const signal = (0, use_ref_ts_1.useRef)(userHandler);
      signal.current = userHandler;
      (0, use_effect_ts_1.useEffect)((rl) => {
        let ignore = false;
        const handler = (0, hook_engine_ts_1.withUpdates)((_input, event) => {
          if (ignore)
            return;
          void signal.current(event, rl);
        });
        rl.input.on("keypress", handler);
        return () => {
          ignore = true;
          rl.input.removeListener("keypress", handler);
        };
      }, []);
    }
    __name(useKeypress, "useKeypress");
  }
});

// node_modules/.pnpm/cli-width@4.1.0/node_modules/cli-width/index.js
var require_cli_width = __commonJS({
  "node_modules/.pnpm/cli-width@4.1.0/node_modules/cli-width/index.js"(exports2, module2) {
    "use strict";
    module2.exports = cliWidth;
    function normalizeOpts(options) {
      const defaultOpts = {
        defaultWidth: 0,
        output: process.stdout,
        tty: require("tty")
      };
      if (!options) {
        return defaultOpts;
      }
      Object.keys(defaultOpts).forEach(function(key) {
        if (!options[key]) {
          options[key] = defaultOpts[key];
        }
      });
      return options;
    }
    __name(normalizeOpts, "normalizeOpts");
    function cliWidth(options) {
      const opts = normalizeOpts(options);
      if (opts.output.getWindowSize) {
        return opts.output.getWindowSize()[0] || opts.defaultWidth;
      }
      if (opts.tty.getWindowSize) {
        return opts.tty.getWindowSize()[1] || opts.defaultWidth;
      }
      if (opts.output.columns) {
        return opts.output.columns;
      }
      if (process.env.CLI_WIDTH) {
        const width = parseInt(process.env.CLI_WIDTH, 10);
        if (!isNaN(width) && width !== 0) {
          return width;
        }
      }
      return opts.defaultWidth;
    }
    __name(cliWidth, "cliWidth");
  }
});

// node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js
function ansiRegex({ onlyFirst = false } = {}) {
  const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
  const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
  const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
  const pattern = `${osc}|${csi}`;
  return new RegExp(pattern, onlyFirst ? void 0 : "g");
}
var init_ansi_regex = __esm({
  "node_modules/.pnpm/ansi-regex@6.2.2/node_modules/ansi-regex/index.js"() {
    __name(ansiRegex, "ansiRegex");
  }
});

// node_modules/.pnpm/strip-ansi@7.1.2/node_modules/strip-ansi/index.js
function stripAnsi(string) {
  if (typeof string !== "string") {
    throw new TypeError(`Expected a \`string\`, got \`${typeof string}\``);
  }
  return string.replace(regex, "");
}
var regex;
var init_strip_ansi = __esm({
  "node_modules/.pnpm/strip-ansi@7.1.2/node_modules/strip-ansi/index.js"() {
    init_ansi_regex();
    regex = ansiRegex();
    __name(stripAnsi, "stripAnsi");
  }
});

// node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/lookup.js
function isAmbiguous(x) {
  return x === 161 || x === 164 || x === 167 || x === 168 || x === 170 || x === 173 || x === 174 || x >= 176 && x <= 180 || x >= 182 && x <= 186 || x >= 188 && x <= 191 || x === 198 || x === 208 || x === 215 || x === 216 || x >= 222 && x <= 225 || x === 230 || x >= 232 && x <= 234 || x === 236 || x === 237 || x === 240 || x === 242 || x === 243 || x >= 247 && x <= 250 || x === 252 || x === 254 || x === 257 || x === 273 || x === 275 || x === 283 || x === 294 || x === 295 || x === 299 || x >= 305 && x <= 307 || x === 312 || x >= 319 && x <= 322 || x === 324 || x >= 328 && x <= 331 || x === 333 || x === 338 || x === 339 || x === 358 || x === 359 || x === 363 || x === 462 || x === 464 || x === 466 || x === 468 || x === 470 || x === 472 || x === 474 || x === 476 || x === 593 || x === 609 || x === 708 || x === 711 || x >= 713 && x <= 715 || x === 717 || x === 720 || x >= 728 && x <= 731 || x === 733 || x === 735 || x >= 768 && x <= 879 || x >= 913 && x <= 929 || x >= 931 && x <= 937 || x >= 945 && x <= 961 || x >= 963 && x <= 969 || x === 1025 || x >= 1040 && x <= 1103 || x === 1105 || x === 8208 || x >= 8211 && x <= 8214 || x === 8216 || x === 8217 || x === 8220 || x === 8221 || x >= 8224 && x <= 8226 || x >= 8228 && x <= 8231 || x === 8240 || x === 8242 || x === 8243 || x === 8245 || x === 8251 || x === 8254 || x === 8308 || x === 8319 || x >= 8321 && x <= 8324 || x === 8364 || x === 8451 || x === 8453 || x === 8457 || x === 8467 || x === 8470 || x === 8481 || x === 8482 || x === 8486 || x === 8491 || x === 8531 || x === 8532 || x >= 8539 && x <= 8542 || x >= 8544 && x <= 8555 || x >= 8560 && x <= 8569 || x === 8585 || x >= 8592 && x <= 8601 || x === 8632 || x === 8633 || x === 8658 || x === 8660 || x === 8679 || x === 8704 || x === 8706 || x === 8707 || x === 8711 || x === 8712 || x === 8715 || x === 8719 || x === 8721 || x === 8725 || x === 8730 || x >= 8733 && x <= 8736 || x === 8739 || x === 8741 || x >= 8743 && x <= 8748 || x === 8750 || x >= 8756 && x <= 8759 || x === 8764 || x === 8765 || x === 8776 || x === 8780 || x === 8786 || x === 8800 || x === 8801 || x >= 8804 && x <= 8807 || x === 8810 || x === 8811 || x === 8814 || x === 8815 || x === 8834 || x === 8835 || x === 8838 || x === 8839 || x === 8853 || x === 8857 || x === 8869 || x === 8895 || x === 8978 || x >= 9312 && x <= 9449 || x >= 9451 && x <= 9547 || x >= 9552 && x <= 9587 || x >= 9600 && x <= 9615 || x >= 9618 && x <= 9621 || x === 9632 || x === 9633 || x >= 9635 && x <= 9641 || x === 9650 || x === 9651 || x === 9654 || x === 9655 || x === 9660 || x === 9661 || x === 9664 || x === 9665 || x >= 9670 && x <= 9672 || x === 9675 || x >= 9678 && x <= 9681 || x >= 9698 && x <= 9701 || x === 9711 || x === 9733 || x === 9734 || x === 9737 || x === 9742 || x === 9743 || x === 9756 || x === 9758 || x === 9792 || x === 9794 || x === 9824 || x === 9825 || x >= 9827 && x <= 9829 || x >= 9831 && x <= 9834 || x === 9836 || x === 9837 || x === 9839 || x === 9886 || x === 9887 || x === 9919 || x >= 9926 && x <= 9933 || x >= 9935 && x <= 9939 || x >= 9941 && x <= 9953 || x === 9955 || x === 9960 || x === 9961 || x >= 9963 && x <= 9969 || x === 9972 || x >= 9974 && x <= 9977 || x === 9979 || x === 9980 || x === 9982 || x === 9983 || x === 10045 || x >= 10102 && x <= 10111 || x >= 11094 && x <= 11097 || x >= 12872 && x <= 12879 || x >= 57344 && x <= 63743 || x >= 65024 && x <= 65039 || x === 65533 || x >= 127232 && x <= 127242 || x >= 127248 && x <= 127277 || x >= 127280 && x <= 127337 || x >= 127344 && x <= 127373 || x === 127375 || x === 127376 || x >= 127387 && x <= 127404 || x >= 917760 && x <= 917999 || x >= 983040 && x <= 1048573 || x >= 1048576 && x <= 1114109;
}
function isFullWidth(x) {
  return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
}
function isWide(x) {
  return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101631 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129673 || x >= 129679 && x <= 129734 || x >= 129742 && x <= 129756 || x >= 129759 && x <= 129769 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
}
var init_lookup = __esm({
  "node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/lookup.js"() {
    __name(isAmbiguous, "isAmbiguous");
    __name(isFullWidth, "isFullWidth");
    __name(isWide, "isWide");
  }
});

// node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/index.js
function validate(codePoint) {
  if (!Number.isSafeInteger(codePoint)) {
    throw new TypeError(`Expected a code point, got \`${typeof codePoint}\`.`);
  }
}
function eastAsianWidth(codePoint, { ambiguousAsWide = false } = {}) {
  validate(codePoint);
  if (isFullWidth(codePoint) || isWide(codePoint) || ambiguousAsWide && isAmbiguous(codePoint)) {
    return 2;
  }
  return 1;
}
var init_get_east_asian_width = __esm({
  "node_modules/.pnpm/get-east-asian-width@1.3.0/node_modules/get-east-asian-width/index.js"() {
    init_lookup();
    __name(validate, "validate");
    __name(eastAsianWidth, "eastAsianWidth");
  }
});

// node_modules/.pnpm/string-width@8.1.0/node_modules/string-width/index.js
function baseVisible(segment) {
  return segment.replace(leadingNonPrintingRegex, "");
}
function isZeroWidthCluster(segment) {
  return zeroWidthClusterRegex.test(segment);
}
function trailingHalfwidthWidth(segment, eastAsianWidthOptions) {
  let extra = 0;
  if (segment.length > 1) {
    for (const char of segment.slice(1)) {
      if (char >= "＀" && char <= "￯") {
        extra += eastAsianWidth(char.codePointAt(0), eastAsianWidthOptions);
      }
    }
  }
  return extra;
}
function stringWidth(input, options = {}) {
  if (typeof input !== "string" || input.length === 0) {
    return 0;
  }
  const {
    ambiguousIsNarrow = true,
    countAnsiEscapeCodes = false
  } = options;
  let string = input;
  if (!countAnsiEscapeCodes) {
    string = stripAnsi(string);
  }
  if (string.length === 0) {
    return 0;
  }
  let width = 0;
  const eastAsianWidthOptions = { ambiguousAsWide: !ambiguousIsNarrow };
  for (const { segment } of segmenter.segment(string)) {
    if (isZeroWidthCluster(segment)) {
      continue;
    }
    if (rgiEmojiRegex.test(segment)) {
      width += 2;
      continue;
    }
    const codePoint = baseVisible(segment).codePointAt(0);
    width += eastAsianWidth(codePoint, eastAsianWidthOptions);
    width += trailingHalfwidthWidth(segment, eastAsianWidthOptions);
  }
  return width;
}
var segmenter, zeroWidthClusterRegex, leadingNonPrintingRegex, rgiEmojiRegex;
var init_string_width = __esm({
  "node_modules/.pnpm/string-width@8.1.0/node_modules/string-width/index.js"() {
    init_strip_ansi();
    init_get_east_asian_width();
    segmenter = new Intl.Segmenter();
    zeroWidthClusterRegex = new RegExp("^(?:\\p{Default_Ignorable_Code_Point}|\\p{Control}|\\p{Mark}|\\p{Surrogate})+$", "v");
    leadingNonPrintingRegex = new RegExp("^[\\p{Default_Ignorable_Code_Point}\\p{Control}\\p{Format}\\p{Mark}\\p{Surrogate}]+", "v");
    rgiEmojiRegex = new RegExp("^\\p{RGI_Emoji}$", "v");
    __name(baseVisible, "baseVisible");
    __name(isZeroWidthCluster, "isZeroWidthCluster");
    __name(trailingHalfwidthWidth, "trailingHalfwidthWidth");
    __name(stringWidth, "stringWidth");
  }
});

// node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.js
function assembleStyles() {
  const codes = /* @__PURE__ */ new Map();
  for (const [groupName, group] of Object.entries(styles)) {
    for (const [styleName, style] of Object.entries(group)) {
      styles[styleName] = {
        open: `\x1B[${style[0]}m`,
        close: `\x1B[${style[1]}m`
      };
      group[styleName] = styles[styleName];
      codes.set(style[0], style[1]);
    }
    Object.defineProperty(styles, groupName, {
      value: group,
      enumerable: false
    });
  }
  Object.defineProperty(styles, "codes", {
    value: codes,
    enumerable: false
  });
  styles.color.close = "\x1B[39m";
  styles.bgColor.close = "\x1B[49m";
  styles.color.ansi = wrapAnsi16();
  styles.color.ansi256 = wrapAnsi256();
  styles.color.ansi16m = wrapAnsi16m();
  styles.bgColor.ansi = wrapAnsi16(ANSI_BACKGROUND_OFFSET);
  styles.bgColor.ansi256 = wrapAnsi256(ANSI_BACKGROUND_OFFSET);
  styles.bgColor.ansi16m = wrapAnsi16m(ANSI_BACKGROUND_OFFSET);
  Object.defineProperties(styles, {
    rgbToAnsi256: {
      value(red, green, blue) {
        if (red === green && green === blue) {
          if (red < 8) {
            return 16;
          }
          if (red > 248) {
            return 231;
          }
          return Math.round((red - 8) / 247 * 24) + 232;
        }
        return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
      },
      enumerable: false
    },
    hexToRgb: {
      value(hex) {
        const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
        if (!matches) {
          return [0, 0, 0];
        }
        let [colorString] = matches;
        if (colorString.length === 3) {
          colorString = [...colorString].map((character) => character + character).join("");
        }
        const integer = Number.parseInt(colorString, 16);
        return [
          /* eslint-disable no-bitwise */
          integer >> 16 & 255,
          integer >> 8 & 255,
          integer & 255
          /* eslint-enable no-bitwise */
        ];
      },
      enumerable: false
    },
    hexToAnsi256: {
      value: /* @__PURE__ */ __name((hex) => styles.rgbToAnsi256(...styles.hexToRgb(hex)), "value"),
      enumerable: false
    },
    ansi256ToAnsi: {
      value(code) {
        if (code < 8) {
          return 30 + code;
        }
        if (code < 16) {
          return 90 + (code - 8);
        }
        let red;
        let green;
        let blue;
        if (code >= 232) {
          red = ((code - 232) * 10 + 8) / 255;
          green = red;
          blue = red;
        } else {
          code -= 16;
          const remainder = code % 36;
          red = Math.floor(code / 36) / 5;
          green = Math.floor(remainder / 6) / 5;
          blue = remainder % 6 / 5;
        }
        const value = Math.max(red, green, blue) * 2;
        if (value === 0) {
          return 30;
        }
        let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
        if (value === 2) {
          result += 60;
        }
        return result;
      },
      enumerable: false
    },
    rgbToAnsi: {
      value: /* @__PURE__ */ __name((red, green, blue) => styles.ansi256ToAnsi(styles.rgbToAnsi256(red, green, blue)), "value"),
      enumerable: false
    },
    hexToAnsi: {
      value: /* @__PURE__ */ __name((hex) => styles.ansi256ToAnsi(styles.hexToAnsi256(hex)), "value"),
      enumerable: false
    }
  });
  return styles;
}
var ANSI_BACKGROUND_OFFSET, wrapAnsi16, wrapAnsi256, wrapAnsi16m, styles, modifierNames, foregroundColorNames, backgroundColorNames, colorNames, ansiStyles, ansi_styles_default;
var init_ansi_styles = __esm({
  "node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.js"() {
    ANSI_BACKGROUND_OFFSET = 10;
    wrapAnsi16 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${code + offset}m`, "wrapAnsi16");
    wrapAnsi256 = /* @__PURE__ */ __name((offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, "wrapAnsi256");
    wrapAnsi16m = /* @__PURE__ */ __name((offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, "wrapAnsi16m");
    styles = {
      modifier: {
        reset: [0, 0],
        // 21 isn't widely supported and 22 does the same thing
        bold: [1, 22],
        dim: [2, 22],
        italic: [3, 23],
        underline: [4, 24],
        overline: [53, 55],
        inverse: [7, 27],
        hidden: [8, 28],
        strikethrough: [9, 29]
      },
      color: {
        black: [30, 39],
        red: [31, 39],
        green: [32, 39],
        yellow: [33, 39],
        blue: [34, 39],
        magenta: [35, 39],
        cyan: [36, 39],
        white: [37, 39],
        // Bright color
        blackBright: [90, 39],
        gray: [90, 39],
        // Alias of `blackBright`
        grey: [90, 39],
        // Alias of `blackBright`
        redBright: [91, 39],
        greenBright: [92, 39],
        yellowBright: [93, 39],
        blueBright: [94, 39],
        magentaBright: [95, 39],
        cyanBright: [96, 39],
        whiteBright: [97, 39]
      },
      bgColor: {
        bgBlack: [40, 49],
        bgRed: [41, 49],
        bgGreen: [42, 49],
        bgYellow: [43, 49],
        bgBlue: [44, 49],
        bgMagenta: [45, 49],
        bgCyan: [46, 49],
        bgWhite: [47, 49],
        // Bright color
        bgBlackBright: [100, 49],
        bgGray: [100, 49],
        // Alias of `bgBlackBright`
        bgGrey: [100, 49],
        // Alias of `bgBlackBright`
        bgRedBright: [101, 49],
        bgGreenBright: [102, 49],
        bgYellowBright: [103, 49],
        bgBlueBright: [104, 49],
        bgMagentaBright: [105, 49],
        bgCyanBright: [106, 49],
        bgWhiteBright: [107, 49]
      }
    };
    modifierNames = Object.keys(styles.modifier);
    foregroundColorNames = Object.keys(styles.color);
    backgroundColorNames = Object.keys(styles.bgColor);
    colorNames = [...foregroundColorNames, ...backgroundColorNames];
    __name(assembleStyles, "assembleStyles");
    ansiStyles = assembleStyles();
    ansi_styles_default = ansiStyles;
  }
});

// node_modules/.pnpm/wrap-ansi@9.0.2/node_modules/wrap-ansi/index.js
var wrap_ansi_exports = {};
__export(wrap_ansi_exports, {
  default: () => wrapAnsi
});
function wrapAnsi(string, columns, options) {
  return String(string).normalize().replaceAll("\r\n", "\n").split("\n").map((line) => exec(line, columns, options)).join("\n");
}
var ESCAPES, END_CODE, ANSI_ESCAPE_BELL, ANSI_CSI, ANSI_OSC, ANSI_SGR_TERMINATOR, ANSI_ESCAPE_LINK, wrapAnsiCode, wrapAnsiHyperlink, wordLengths, wrapWord, stringVisibleTrimSpacesRight, exec;
var init_wrap_ansi = __esm({
  "node_modules/.pnpm/wrap-ansi@9.0.2/node_modules/wrap-ansi/index.js"() {
    init_string_width();
    init_strip_ansi();
    init_ansi_styles();
    ESCAPES = /* @__PURE__ */ new Set([
      "\x1B",
      ""
    ]);
    END_CODE = 39;
    ANSI_ESCAPE_BELL = "\x07";
    ANSI_CSI = "[";
    ANSI_OSC = "]";
    ANSI_SGR_TERMINATOR = "m";
    ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
    wrapAnsiCode = /* @__PURE__ */ __name((code) => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`, "wrapAnsiCode");
    wrapAnsiHyperlink = /* @__PURE__ */ __name((url) => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${url}${ANSI_ESCAPE_BELL}`, "wrapAnsiHyperlink");
    wordLengths = /* @__PURE__ */ __name((string) => string.split(" ").map((character) => stringWidth(character)), "wordLengths");
    wrapWord = /* @__PURE__ */ __name((rows, word, columns) => {
      const characters = [...word];
      let isInsideEscape = false;
      let isInsideLinkEscape = false;
      let visible = stringWidth(stripAnsi(rows.at(-1)));
      for (const [index, character] of characters.entries()) {
        const characterLength = stringWidth(character);
        if (visible + characterLength <= columns) {
          rows[rows.length - 1] += character;
        } else {
          rows.push(character);
          visible = 0;
        }
        if (ESCAPES.has(character)) {
          isInsideEscape = true;
          const ansiEscapeLinkCandidate = characters.slice(index + 1, index + 1 + ANSI_ESCAPE_LINK.length).join("");
          isInsideLinkEscape = ansiEscapeLinkCandidate === ANSI_ESCAPE_LINK;
        }
        if (isInsideEscape) {
          if (isInsideLinkEscape) {
            if (character === ANSI_ESCAPE_BELL) {
              isInsideEscape = false;
              isInsideLinkEscape = false;
            }
          } else if (character === ANSI_SGR_TERMINATOR) {
            isInsideEscape = false;
          }
          continue;
        }
        visible += characterLength;
        if (visible === columns && index < characters.length - 1) {
          rows.push("");
          visible = 0;
        }
      }
      if (!visible && rows.at(-1).length > 0 && rows.length > 1) {
        rows[rows.length - 2] += rows.pop();
      }
    }, "wrapWord");
    stringVisibleTrimSpacesRight = /* @__PURE__ */ __name((string) => {
      const words = string.split(" ");
      let last = words.length;
      while (last > 0) {
        if (stringWidth(words[last - 1]) > 0) {
          break;
        }
        last--;
      }
      if (last === words.length) {
        return string;
      }
      return words.slice(0, last).join(" ") + words.slice(last).join("");
    }, "stringVisibleTrimSpacesRight");
    exec = /* @__PURE__ */ __name((string, columns, options = {}) => {
      if (options.trim !== false && string.trim() === "") {
        return "";
      }
      let returnValue = "";
      let escapeCode;
      let escapeUrl;
      const lengths = wordLengths(string);
      let rows = [""];
      for (const [index, word] of string.split(" ").entries()) {
        if (options.trim !== false) {
          rows[rows.length - 1] = rows.at(-1).trimStart();
        }
        let rowLength = stringWidth(rows.at(-1));
        if (index !== 0) {
          if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
            rows.push("");
            rowLength = 0;
          }
          if (rowLength > 0 || options.trim === false) {
            rows[rows.length - 1] += " ";
            rowLength++;
          }
        }
        if (options.hard && lengths[index] > columns) {
          const remainingColumns = columns - rowLength;
          const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
          const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
          if (breaksStartingNextLine < breaksStartingThisLine) {
            rows.push("");
          }
          wrapWord(rows, word, columns);
          continue;
        }
        if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
          if (options.wordWrap === false && rowLength < columns) {
            wrapWord(rows, word, columns);
            continue;
          }
          rows.push("");
        }
        if (rowLength + lengths[index] > columns && options.wordWrap === false) {
          wrapWord(rows, word, columns);
          continue;
        }
        rows[rows.length - 1] += word;
      }
      if (options.trim !== false) {
        rows = rows.map((row) => stringVisibleTrimSpacesRight(row));
      }
      const preString = rows.join("\n");
      const pre = [...preString];
      let preStringIndex = 0;
      for (const [index, character] of pre.entries()) {
        returnValue += character;
        if (ESCAPES.has(character)) {
          const { groups } = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(preString.slice(preStringIndex)) || { groups: {} };
          if (groups.code !== void 0) {
            const code2 = Number.parseFloat(groups.code);
            escapeCode = code2 === END_CODE ? void 0 : code2;
          } else if (groups.uri !== void 0) {
            escapeUrl = groups.uri.length === 0 ? void 0 : groups.uri;
          }
        }
        const code = ansi_styles_default.codes.get(Number(escapeCode));
        if (pre[index + 1] === "\n") {
          if (escapeUrl) {
            returnValue += wrapAnsiHyperlink("");
          }
          if (escapeCode && code) {
            returnValue += wrapAnsiCode(code);
          }
        } else if (character === "\n") {
          if (escapeCode && code) {
            returnValue += wrapAnsiCode(escapeCode);
          }
          if (escapeUrl) {
            returnValue += wrapAnsiHyperlink(escapeUrl);
          }
        }
        preStringIndex += character.length;
      }
      return returnValue;
    }, "exec");
    __name(wrapAnsi, "wrapAnsi");
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/utils.js
var require_utils = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/utils.js"(exports2) {
    "use strict";
    var __importDefault = exports2 && exports2.__importDefault || function(mod) {
      return mod && mod.__esModule ? mod : { "default": mod };
    };
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.breakLines = breakLines;
    exports2.readlineWidth = readlineWidth;
    var cli_width_1 = __importDefault(require_cli_width());
    var wrap_ansi_1 = __importDefault((init_wrap_ansi(), __toCommonJS(wrap_ansi_exports)));
    var hook_engine_ts_1 = require_hook_engine();
    function breakLines(content, width) {
      return content.split("\n").flatMap((line) => (0, wrap_ansi_1.default)(line, width, { trim: false, hard: true }).split("\n").map((str) => str.trimEnd())).join("\n");
    }
    __name(breakLines, "breakLines");
    function readlineWidth() {
      return (0, cli_width_1.default)({ defaultWidth: 80, output: (0, hook_engine_ts_1.readline)().output });
    }
    __name(readlineWidth, "readlineWidth");
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/pagination/use-pagination.js
var require_use_pagination = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/pagination/use-pagination.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.usePagination = usePagination;
    var use_ref_ts_1 = require_use_ref();
    var utils_ts_1 = require_utils();
    function usePointerPosition({ active, renderedItems, pageSize, loop }) {
      const state = (0, use_ref_ts_1.useRef)({
        lastPointer: active,
        lastActive: void 0
      });
      const { lastPointer, lastActive } = state.current;
      const middle = Math.floor(pageSize / 2);
      const renderedLength = renderedItems.reduce((acc, item) => acc + item.length, 0);
      const defaultPointerPosition = renderedItems.slice(0, active).reduce((acc, item) => acc + item.length, 0);
      let pointer = defaultPointerPosition;
      if (renderedLength > pageSize) {
        if (loop) {
          pointer = lastPointer;
          if (
            // First render, skip this logic.
            lastActive != null && // Only move the pointer down when the user moves down.
            lastActive < active && // Check user didn't move up across page boundary.
            active - lastActive < pageSize
          ) {
            pointer = Math.min(
              // Furthest allowed position for the pointer is the middle of the list
              middle,
              Math.abs(active - lastActive) === 1 ? Math.min(
                // Move the pointer at most the height of the last active item.
                lastPointer + (renderedItems[lastActive]?.length ?? 0),
                // If the user moved by one item, move the pointer to the natural position of the active item as
                // long as it doesn't move the cursor up.
                Math.max(defaultPointerPosition, lastPointer)
              ) : (
                // Otherwise, move the pointer down by the difference between the active and last active item.
                lastPointer + active - lastActive
              )
            );
          }
        } else {
          const spaceUnderActive = renderedItems.slice(active).reduce((acc, item) => acc + item.length, 0);
          pointer = spaceUnderActive < pageSize - middle ? (
            // If the active item is near the end of the list, progressively move the cursor towards the end.
            pageSize - spaceUnderActive
          ) : (
            // Otherwise, progressively move the pointer to the middle of the list.
            Math.min(defaultPointerPosition, middle)
          );
        }
      }
      state.current.lastPointer = pointer;
      state.current.lastActive = active;
      return pointer;
    }
    __name(usePointerPosition, "usePointerPosition");
    function usePagination({ items, active, renderItem, pageSize, loop = true }) {
      const width = (0, utils_ts_1.readlineWidth)();
      const bound = /* @__PURE__ */ __name((num) => (num % items.length + items.length) % items.length, "bound");
      const renderedItems = items.map((item, index) => {
        if (item == null)
          return [];
        return (0, utils_ts_1.breakLines)(renderItem({ item, index, isActive: index === active }), width).split("\n");
      });
      const renderedLength = renderedItems.reduce((acc, item) => acc + item.length, 0);
      const renderItemAtIndex = /* @__PURE__ */ __name((index) => renderedItems[index] ?? [], "renderItemAtIndex");
      const pointer = usePointerPosition({ active, renderedItems, pageSize, loop });
      const activeItem = renderItemAtIndex(active).slice(0, pageSize);
      const activeItemPosition = pointer + activeItem.length <= pageSize ? pointer : pageSize - activeItem.length;
      const pageBuffer = Array.from({ length: pageSize });
      pageBuffer.splice(activeItemPosition, activeItem.length, ...activeItem);
      const itemVisited = /* @__PURE__ */ new Set([active]);
      let bufferPointer = activeItemPosition + activeItem.length;
      let itemPointer = bound(active + 1);
      while (bufferPointer < pageSize && !itemVisited.has(itemPointer) && (loop && renderedLength > pageSize ? itemPointer !== active : itemPointer > active)) {
        const lines = renderItemAtIndex(itemPointer);
        const linesToAdd = lines.slice(0, pageSize - bufferPointer);
        pageBuffer.splice(bufferPointer, linesToAdd.length, ...linesToAdd);
        itemVisited.add(itemPointer);
        bufferPointer += linesToAdd.length;
        itemPointer = bound(itemPointer + 1);
      }
      bufferPointer = activeItemPosition - 1;
      itemPointer = bound(active - 1);
      while (bufferPointer >= 0 && !itemVisited.has(itemPointer) && (loop && renderedLength > pageSize ? itemPointer !== active : itemPointer < active)) {
        const lines = renderItemAtIndex(itemPointer);
        const linesToAdd = lines.slice(Math.max(0, lines.length - bufferPointer - 1));
        pageBuffer.splice(bufferPointer - linesToAdd.length + 1, linesToAdd.length, ...linesToAdd);
        itemVisited.add(itemPointer);
        bufferPointer -= linesToAdd.length;
        itemPointer = bound(itemPointer - 1);
      }
      return pageBuffer.filter((line) => typeof line === "string").join("\n");
    }
    __name(usePagination, "usePagination");
  }
});

// node_modules/.pnpm/mute-stream@2.0.0/node_modules/mute-stream/lib/index.js
var require_lib = __commonJS({
  "node_modules/.pnpm/mute-stream@2.0.0/node_modules/mute-stream/lib/index.js"(exports2, module2) {
    var Stream = require("stream");
    var MuteStream = class extends Stream {
      static {
        __name(this, "MuteStream");
      }
      #isTTY = null;
      constructor(opts = {}) {
        super(opts);
        this.writable = this.readable = true;
        this.muted = false;
        this.on("pipe", this._onpipe);
        this.replace = opts.replace;
        this._prompt = opts.prompt || null;
        this._hadControl = false;
      }
      #destSrc(key, def) {
        if (this._dest) {
          return this._dest[key];
        }
        if (this._src) {
          return this._src[key];
        }
        return def;
      }
      #proxy(method, ...args) {
        if (typeof this._dest?.[method] === "function") {
          this._dest[method](...args);
        }
        if (typeof this._src?.[method] === "function") {
          this._src[method](...args);
        }
      }
      get isTTY() {
        if (this.#isTTY !== null) {
          return this.#isTTY;
        }
        return this.#destSrc("isTTY", false);
      }
      // basically just get replace the getter/setter with a regular value
      set isTTY(val) {
        this.#isTTY = val;
      }
      get rows() {
        return this.#destSrc("rows");
      }
      get columns() {
        return this.#destSrc("columns");
      }
      mute() {
        this.muted = true;
      }
      unmute() {
        this.muted = false;
      }
      _onpipe(src) {
        this._src = src;
      }
      pipe(dest, options) {
        this._dest = dest;
        return super.pipe(dest, options);
      }
      pause() {
        if (this._src) {
          return this._src.pause();
        }
      }
      resume() {
        if (this._src) {
          return this._src.resume();
        }
      }
      write(c) {
        if (this.muted) {
          if (!this.replace) {
            return true;
          }
          if (c.match(/^\u001b/)) {
            if (c.indexOf(this._prompt) === 0) {
              c = c.slice(this._prompt.length);
              c = c.replace(/./g, this.replace);
              c = this._prompt + c;
            }
            this._hadControl = true;
            return this.emit("data", c);
          } else {
            if (this._prompt && this._hadControl && c.indexOf(this._prompt) === 0) {
              this._hadControl = false;
              this.emit("data", this._prompt);
              c = c.slice(this._prompt.length);
            }
            c = c.toString().replace(/./g, this.replace);
          }
        }
        this.emit("data", c);
      }
      end(c) {
        if (this.muted) {
          if (c && this.replace) {
            c = c.toString().replace(/./g, this.replace);
          } else {
            c = null;
          }
        }
        if (c) {
          this.emit("data", c);
        }
        this.emit("end");
      }
      destroy(...args) {
        return this.#proxy("destroy", ...args);
      }
      destroySoon(...args) {
        return this.#proxy("destroySoon", ...args);
      }
      close(...args) {
        return this.#proxy("close", ...args);
      }
    };
    module2.exports = MuteStream;
  }
});

// node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/cjs/signals.js
var require_signals = __commonJS({
  "node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/cjs/signals.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.signals = void 0;
    exports2.signals = [];
    exports2.signals.push("SIGHUP", "SIGINT", "SIGTERM");
    if (process.platform !== "win32") {
      exports2.signals.push(
        "SIGALRM",
        "SIGABRT",
        "SIGVTALRM",
        "SIGXCPU",
        "SIGXFSZ",
        "SIGUSR2",
        "SIGTRAP",
        "SIGSYS",
        "SIGQUIT",
        "SIGIOT"
        // should detect profiler and enable/disable accordingly.
        // see #21
        // 'SIGPROF'
      );
    }
    if (process.platform === "linux") {
      exports2.signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
    }
  }
});

// node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/cjs/index.js
var require_cjs = __commonJS({
  "node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/cjs/index.js"(exports2) {
    "use strict";
    var _a;
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.unload = exports2.load = exports2.onExit = exports2.signals = void 0;
    var signals_js_1 = require_signals();
    Object.defineProperty(exports2, "signals", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return signals_js_1.signals;
    }, "get") });
    var processOk = /* @__PURE__ */ __name((process3) => !!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", "processOk");
    var kExitEmitter = Symbol.for("signal-exit emitter");
    var global = globalThis;
    var ObjectDefineProperty = Object.defineProperty.bind(Object);
    var Emitter = class {
      static {
        __name(this, "Emitter");
      }
      emitted = {
        afterExit: false,
        exit: false
      };
      listeners = {
        afterExit: [],
        exit: []
      };
      count = 0;
      id = Math.random();
      constructor() {
        if (global[kExitEmitter]) {
          return global[kExitEmitter];
        }
        ObjectDefineProperty(global, kExitEmitter, {
          value: this,
          writable: false,
          enumerable: false,
          configurable: false
        });
      }
      on(ev, fn) {
        this.listeners[ev].push(fn);
      }
      removeListener(ev, fn) {
        const list = this.listeners[ev];
        const i = list.indexOf(fn);
        if (i === -1) {
          return;
        }
        if (i === 0 && list.length === 1) {
          list.length = 0;
        } else {
          list.splice(i, 1);
        }
      }
      emit(ev, code, signal) {
        if (this.emitted[ev]) {
          return false;
        }
        this.emitted[ev] = true;
        let ret = false;
        for (const fn of this.listeners[ev]) {
          ret = fn(code, signal) === true || ret;
        }
        if (ev === "exit") {
          ret = this.emit("afterExit", code, signal) || ret;
        }
        return ret;
      }
    };
    var SignalExitBase = class {
      static {
        __name(this, "SignalExitBase");
      }
    };
    var signalExitWrap = /* @__PURE__ */ __name((handler) => {
      return {
        onExit(cb, opts) {
          return handler.onExit(cb, opts);
        },
        load() {
          return handler.load();
        },
        unload() {
          return handler.unload();
        }
      };
    }, "signalExitWrap");
    var SignalExitFallback = class extends SignalExitBase {
      static {
        __name(this, "SignalExitFallback");
      }
      onExit() {
        return () => {
        };
      }
      load() {
      }
      unload() {
      }
    };
    var SignalExit = class extends SignalExitBase {
      static {
        __name(this, "SignalExit");
      }
      // "SIGHUP" throws an `ENOSYS` error on Windows,
      // so use a supported signal instead
      /* c8 ignore start */
      #hupSig = process2.platform === "win32" ? "SIGINT" : "SIGHUP";
      /* c8 ignore stop */
      #emitter = new Emitter();
      #process;
      #originalProcessEmit;
      #originalProcessReallyExit;
      #sigListeners = {};
      #loaded = false;
      constructor(process3) {
        super();
        this.#process = process3;
        this.#sigListeners = {};
        for (const sig of signals_js_1.signals) {
          this.#sigListeners[sig] = () => {
            const listeners = this.#process.listeners(sig);
            let { count } = this.#emitter;
            const p = process3;
            if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
              count += p.__signal_exit_emitter__.count;
            }
            if (listeners.length === count) {
              this.unload();
              const ret = this.#emitter.emit("exit", null, sig);
              const s = sig === "SIGHUP" ? this.#hupSig : sig;
              if (!ret)
                process3.kill(process3.pid, s);
            }
          };
        }
        this.#originalProcessReallyExit = process3.reallyExit;
        this.#originalProcessEmit = process3.emit;
      }
      onExit(cb, opts) {
        if (!processOk(this.#process)) {
          return () => {
          };
        }
        if (this.#loaded === false) {
          this.load();
        }
        const ev = opts?.alwaysLast ? "afterExit" : "exit";
        this.#emitter.on(ev, cb);
        return () => {
          this.#emitter.removeListener(ev, cb);
          if (this.#emitter.listeners["exit"].length === 0 && this.#emitter.listeners["afterExit"].length === 0) {
            this.unload();
          }
        };
      }
      load() {
        if (this.#loaded) {
          return;
        }
        this.#loaded = true;
        this.#emitter.count += 1;
        for (const sig of signals_js_1.signals) {
          try {
            const fn = this.#sigListeners[sig];
            if (fn)
              this.#process.on(sig, fn);
          } catch (_) {
          }
        }
        this.#process.emit = (ev, ...a) => {
          return this.#processEmit(ev, ...a);
        };
        this.#process.reallyExit = (code) => {
          return this.#processReallyExit(code);
        };
      }
      unload() {
        if (!this.#loaded) {
          return;
        }
        this.#loaded = false;
        signals_js_1.signals.forEach((sig) => {
          const listener = this.#sigListeners[sig];
          if (!listener) {
            throw new Error("Listener not defined for signal: " + sig);
          }
          try {
            this.#process.removeListener(sig, listener);
          } catch (_) {
          }
        });
        this.#process.emit = this.#originalProcessEmit;
        this.#process.reallyExit = this.#originalProcessReallyExit;
        this.#emitter.count -= 1;
      }
      #processReallyExit(code) {
        if (!processOk(this.#process)) {
          return 0;
        }
        this.#process.exitCode = code || 0;
        this.#emitter.emit("exit", this.#process.exitCode, null);
        return this.#originalProcessReallyExit.call(this.#process, this.#process.exitCode);
      }
      #processEmit(ev, ...args) {
        const og = this.#originalProcessEmit;
        if (ev === "exit" && processOk(this.#process)) {
          if (typeof args[0] === "number") {
            this.#process.exitCode = args[0];
          }
          const ret = og.call(this.#process, ev, ...args);
          this.#emitter.emit("exit", this.#process.exitCode, null);
          return ret;
        } else {
          return og.call(this.#process, ev, ...args);
        }
      }
    };
    var process2 = globalThis.process;
    _a = signalExitWrap(processOk(process2) ? new SignalExit(process2) : new SignalExitFallback()), /**
     * Called when the process is exiting, whether via signal, explicit
     * exit, or running out of stuff to do.
     *
     * If the global process object is not suitable for instrumentation,
     * then this will be a no-op.
     *
     * Returns a function that may be used to unload signal-exit.
     */
    exports2.onExit = _a.onExit, /**
     * Load the listeners.  Likely you never need to call this, unless
     * doing a rather deep integration with signal-exit functionality.
     * Mostly exposed for the benefit of testing.
     *
     * @internal
     */
    exports2.load = _a.load, /**
     * Unload the listeners.  Likely you never need to call this, unless
     * doing a rather deep integration with signal-exit functionality.
     * Mostly exposed for the benefit of testing.
     *
     * @internal
     */
    exports2.unload = _a.unload;
  }
});

// node_modules/.pnpm/@inquirer+ansi@1.0.1/node_modules/@inquirer/ansi/dist/commonjs/index.js
var require_commonjs2 = __commonJS({
  "node_modules/.pnpm/@inquirer+ansi@1.0.1/node_modules/@inquirer/ansi/dist/commonjs/index.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.eraseLines = exports2.cursorTo = exports2.cursorDown = exports2.cursorUp = exports2.cursorShow = exports2.cursorHide = exports2.cursorLeft = void 0;
    var ESC = "\x1B[";
    exports2.cursorLeft = ESC + "G";
    exports2.cursorHide = ESC + "?25l";
    exports2.cursorShow = ESC + "?25h";
    var cursorUp = /* @__PURE__ */ __name((rows = 1) => rows > 0 ? `${ESC}${rows}A` : "", "cursorUp");
    exports2.cursorUp = cursorUp;
    var cursorDown = /* @__PURE__ */ __name((rows = 1) => rows > 0 ? `${ESC}${rows}B` : "", "cursorDown");
    exports2.cursorDown = cursorDown;
    var cursorTo = /* @__PURE__ */ __name((x, y) => {
      if (typeof y === "number" && !Number.isNaN(y)) {
        return `${ESC}${y + 1};${x + 1}H`;
      }
      return `${ESC}${x + 1}G`;
    }, "cursorTo");
    exports2.cursorTo = cursorTo;
    var eraseLine = ESC + "2K";
    var eraseLines = /* @__PURE__ */ __name((lines) => lines > 0 ? (eraseLine + (0, exports2.cursorUp)(1)).repeat(lines - 1) + eraseLine + exports2.cursorLeft : "", "eraseLines");
    exports2.eraseLines = eraseLines;
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.js
var require_screen_manager = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/screen-manager.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    var node_util_1 = require("node:util");
    var utils_ts_1 = require_utils();
    var ansi_1 = require_commonjs2();
    var height = /* @__PURE__ */ __name((content) => content.split("\n").length, "height");
    var lastLine = /* @__PURE__ */ __name((content) => content.split("\n").pop() ?? "", "lastLine");
    var ScreenManager = class {
      static {
        __name(this, "ScreenManager");
      }
      // These variables are keeping information to allow correct prompt re-rendering
      height = 0;
      extraLinesUnderPrompt = 0;
      cursorPos;
      rl;
      constructor(rl) {
        this.rl = rl;
        this.cursorPos = rl.getCursorPos();
      }
      write(content) {
        this.rl.output.unmute();
        this.rl.output.write(content);
        this.rl.output.mute();
      }
      render(content, bottomContent = "") {
        const promptLine = lastLine(content);
        const rawPromptLine = (0, node_util_1.stripVTControlCharacters)(promptLine);
        let prompt = rawPromptLine;
        if (this.rl.line.length > 0) {
          prompt = prompt.slice(0, -this.rl.line.length);
        }
        this.rl.setPrompt(prompt);
        this.cursorPos = this.rl.getCursorPos();
        const width = (0, utils_ts_1.readlineWidth)();
        content = (0, utils_ts_1.breakLines)(content, width);
        bottomContent = (0, utils_ts_1.breakLines)(bottomContent, width);
        if (rawPromptLine.length % width === 0) {
          content += "\n";
        }
        let output = content + (bottomContent ? "\n" + bottomContent : "");
        const promptLineUpDiff = Math.floor(rawPromptLine.length / width) - this.cursorPos.rows;
        const bottomContentHeight = promptLineUpDiff + (bottomContent ? height(bottomContent) : 0);
        if (bottomContentHeight > 0)
          output += (0, ansi_1.cursorUp)(bottomContentHeight);
        output += (0, ansi_1.cursorTo)(this.cursorPos.cols);
        this.write((0, ansi_1.cursorDown)(this.extraLinesUnderPrompt) + (0, ansi_1.eraseLines)(this.height) + output);
        this.extraLinesUnderPrompt = bottomContentHeight;
        this.height = height(output);
      }
      checkCursorPos() {
        const cursorPos = this.rl.getCursorPos();
        if (cursorPos.cols !== this.cursorPos.cols) {
          this.write((0, ansi_1.cursorTo)(cursorPos.cols));
          this.cursorPos = cursorPos;
        }
      }
      done({ clearContent }) {
        this.rl.setPrompt("");
        let output = (0, ansi_1.cursorDown)(this.extraLinesUnderPrompt);
        output += clearContent ? (0, ansi_1.eraseLines)(this.height) : "\n";
        output += ansi_1.cursorShow;
        this.write(output);
        this.rl.close();
      }
    };
    exports2.default = ScreenManager;
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/promise-polyfill.js
var require_promise_polyfill = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/promise-polyfill.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.PromisePolyfill = void 0;
    var PromisePolyfill = class extends Promise {
      static {
        __name(this, "PromisePolyfill");
      }
      // Available starting from Node 22
      // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/withResolvers
      static withResolver() {
        let resolve;
        let reject;
        const promise = new Promise((res, rej) => {
          resolve = res;
          reject = rej;
        });
        return { promise, resolve, reject };
      }
    };
    exports2.PromisePolyfill = PromisePolyfill;
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/create-prompt.js
var require_create_prompt = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/create-prompt.js"(exports2) {
    "use strict";
    var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
      if (k2 === void 0) k2 = k;
      var desc = Object.getOwnPropertyDescriptor(m, k);
      if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
        desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
          return m[k];
        }, "get") };
      }
      Object.defineProperty(o, k2, desc);
    }) : (function(o, m, k, k2) {
      if (k2 === void 0) k2 = k;
      o[k2] = m[k];
    }));
    var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? (function(o, v) {
      Object.defineProperty(o, "default", { enumerable: true, value: v });
    }) : function(o, v) {
      o["default"] = v;
    });
    var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ (function() {
      var ownKeys = /* @__PURE__ */ __name(function(o) {
        ownKeys = Object.getOwnPropertyNames || function(o2) {
          var ar = [];
          for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
          return ar;
        };
        return ownKeys(o);
      }, "ownKeys");
      return function(mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) {
          for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        }
        __setModuleDefault(result, mod);
        return result;
      };
    })();
    var __importDefault = exports2 && exports2.__importDefault || function(mod) {
      return mod && mod.__esModule ? mod : { "default": mod };
    };
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.createPrompt = createPrompt;
    var readline = __importStar(require("node:readline"));
    var node_async_hooks_1 = require("node:async_hooks");
    var mute_stream_1 = __importDefault(require_lib());
    var signal_exit_1 = require_cjs();
    var screen_manager_ts_1 = __importDefault(require_screen_manager());
    var promise_polyfill_ts_1 = require_promise_polyfill();
    var hook_engine_ts_1 = require_hook_engine();
    var errors_ts_1 = require_errors();
    function getCallSites() {
      const _prepareStackTrace = Error.prepareStackTrace;
      let result = [];
      try {
        Error.prepareStackTrace = (_, callSites) => {
          const callSitesWithoutCurrent = callSites.slice(1);
          result = callSitesWithoutCurrent;
          return callSitesWithoutCurrent;
        };
        new Error().stack;
      } catch {
        return result;
      }
      Error.prepareStackTrace = _prepareStackTrace;
      return result;
    }
    __name(getCallSites, "getCallSites");
    function createPrompt(view) {
      const callSites = getCallSites();
      const prompt = /* @__PURE__ */ __name((config, context = {}) => {
        const { input = process.stdin, signal } = context;
        const cleanups = /* @__PURE__ */ new Set();
        const output = new mute_stream_1.default();
        output.pipe(context.output ?? process.stdout);
        const rl = readline.createInterface({
          terminal: true,
          input,
          output
        });
        const screen = new screen_manager_ts_1.default(rl);
        const { promise, resolve, reject } = promise_polyfill_ts_1.PromisePolyfill.withResolver();
        const cancel = /* @__PURE__ */ __name(() => reject(new errors_ts_1.CancelPromptError()), "cancel");
        if (signal) {
          const abort = /* @__PURE__ */ __name(() => reject(new errors_ts_1.AbortPromptError({ cause: signal.reason })), "abort");
          if (signal.aborted) {
            abort();
            return Object.assign(promise, { cancel });
          }
          signal.addEventListener("abort", abort);
          cleanups.add(() => signal.removeEventListener("abort", abort));
        }
        cleanups.add((0, signal_exit_1.onExit)((code, signal2) => {
          reject(new errors_ts_1.ExitPromptError(`User force closed the prompt with ${code} ${signal2}`));
        }));
        const sigint = /* @__PURE__ */ __name(() => reject(new errors_ts_1.ExitPromptError(`User force closed the prompt with SIGINT`)), "sigint");
        rl.on("SIGINT", sigint);
        cleanups.add(() => rl.removeListener("SIGINT", sigint));
        const checkCursorPos = /* @__PURE__ */ __name(() => screen.checkCursorPos(), "checkCursorPos");
        rl.input.on("keypress", checkCursorPos);
        cleanups.add(() => rl.input.removeListener("keypress", checkCursorPos));
        return (0, hook_engine_ts_1.withHooks)(rl, (cycle) => {
          const hooksCleanup = node_async_hooks_1.AsyncResource.bind(() => hook_engine_ts_1.effectScheduler.clearAll());
          rl.on("close", hooksCleanup);
          cleanups.add(() => rl.removeListener("close", hooksCleanup));
          cycle(() => {
            try {
              const nextView = view(config, (value) => {
                setImmediate(() => resolve(value));
              });
              if (nextView === void 0) {
                const callerFilename = callSites[1]?.getFileName();
                throw new Error(`Prompt functions must return a string.
    at ${callerFilename}`);
              }
              const [content, bottomContent] = typeof nextView === "string" ? [nextView] : nextView;
              screen.render(content, bottomContent);
              hook_engine_ts_1.effectScheduler.run();
            } catch (error) {
              reject(error);
            }
          });
          return Object.assign(promise.then((answer) => {
            hook_engine_ts_1.effectScheduler.clearAll();
            return answer;
          }, (error) => {
            hook_engine_ts_1.effectScheduler.clearAll();
            throw error;
          }).finally(() => {
            cleanups.forEach((cleanup) => cleanup());
            screen.done({ clearContent: Boolean(context.clearPromptOnDone) });
            output.end();
          }).then(() => promise), { cancel });
        });
      }, "prompt");
      return prompt;
    }
    __name(createPrompt, "createPrompt");
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/Separator.js
var require_Separator = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/lib/Separator.js"(exports2) {
    "use strict";
    var __importDefault = exports2 && exports2.__importDefault || function(mod) {
      return mod && mod.__esModule ? mod : { "default": mod };
    };
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.Separator = void 0;
    var yoctocolors_cjs_1 = __importDefault(require_yoctocolors_cjs());
    var figures_1 = __importDefault(require_commonjs());
    var Separator = class {
      static {
        __name(this, "Separator");
      }
      separator = yoctocolors_cjs_1.default.dim(Array.from({ length: 15 }).join(figures_1.default.line));
      type = "separator";
      constructor(separator) {
        if (separator) {
          this.separator = separator;
        }
      }
      static isSeparator(choice) {
        return Boolean(choice && typeof choice === "object" && "type" in choice && choice.type === "separator");
      }
    };
    exports2.Separator = Separator;
  }
});

// node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/index.js
var require_commonjs3 = __commonJS({
  "node_modules/.pnpm/@inquirer+core@10.3.0_@types+node@24.9.2/node_modules/@inquirer/core/dist/commonjs/index.js"(exports2) {
    "use strict";
    var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
      if (k2 === void 0) k2 = k;
      var desc = Object.getOwnPropertyDescriptor(m, k);
      if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
        desc = { enumerable: true, get: /* @__PURE__ */ __name(function() {
          return m[k];
        }, "get") };
      }
      Object.defineProperty(o, k2, desc);
    }) : (function(o, m, k, k2) {
      if (k2 === void 0) k2 = k;
      o[k2] = m[k];
    }));
    var __exportStar = exports2 && exports2.__exportStar || function(m, exports3) {
      for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports3, p)) __createBinding(exports3, m, p);
    };
    Object.defineProperty(exports2, "__esModule", { value: true });
    exports2.Separator = exports2.createPrompt = exports2.usePagination = exports2.makeTheme = exports2.useKeypress = exports2.useRef = exports2.useMemo = exports2.useEffect = exports2.useState = exports2.usePrefix = exports2.isEnterKey = exports2.isNumberKey = exports2.isTabKey = exports2.isBackspaceKey = exports2.isSpaceKey = exports2.isDownKey = exports2.isUpKey = void 0;
    var key_ts_1 = require_key();
    Object.defineProperty(exports2, "isUpKey", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return key_ts_1.isUpKey;
    }, "get") });
    Object.defineProperty(exports2, "isDownKey", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return key_ts_1.isDownKey;
    }, "get") });
    Object.defineProperty(exports2, "isSpaceKey", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return key_ts_1.isSpaceKey;
    }, "get") });
    Object.defineProperty(exports2, "isBackspaceKey", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return key_ts_1.isBackspaceKey;
    }, "get") });
    Object.defineProperty(exports2, "isTabKey", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return key_ts_1.isTabKey;
    }, "get") });
    Object.defineProperty(exports2, "isNumberKey", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return key_ts_1.isNumberKey;
    }, "get") });
    Object.defineProperty(exports2, "isEnterKey", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return key_ts_1.isEnterKey;
    }, "get") });
    __exportStar(require_errors(), exports2);
    var use_prefix_ts_1 = require_use_prefix();
    Object.defineProperty(exports2, "usePrefix", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return use_prefix_ts_1.usePrefix;
    }, "get") });
    var use_state_ts_1 = require_use_state();
    Object.defineProperty(exports2, "useState", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return use_state_ts_1.useState;
    }, "get") });
    var use_effect_ts_1 = require_use_effect();
    Object.defineProperty(exports2, "useEffect", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return use_effect_ts_1.useEffect;
    }, "get") });
    var use_memo_ts_1 = require_use_memo();
    Object.defineProperty(exports2, "useMemo", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return use_memo_ts_1.useMemo;
    }, "get") });
    var use_ref_ts_1 = require_use_ref();
    Object.defineProperty(exports2, "useRef", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return use_ref_ts_1.useRef;
    }, "get") });
    var use_keypress_ts_1 = require_use_keypress();
    Object.defineProperty(exports2, "useKeypress", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return use_keypress_ts_1.useKeypress;
    }, "get") });
    var make_theme_ts_1 = require_make_theme();
    Object.defineProperty(exports2, "makeTheme", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return make_theme_ts_1.makeTheme;
    }, "get") });
    var use_pagination_ts_1 = require_use_pagination();
    Object.defineProperty(exports2, "usePagination", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return use_pagination_ts_1.usePagination;
    }, "get") });
    var create_prompt_ts_1 = require_create_prompt();
    Object.defineProperty(exports2, "createPrompt", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return create_prompt_ts_1.createPrompt;
    }, "get") });
    var Separator_ts_1 = require_Separator();
    Object.defineProperty(exports2, "Separator", { enumerable: true, get: /* @__PURE__ */ __name(function() {
      return Separator_ts_1.Separator;
    }, "get") });
  }
});

// node_modules/.pnpm/@inquirer+confirm@5.1.16_@types+node@24.9.2/node_modules/@inquirer/confirm/dist/commonjs/index.js
var require_commonjs4 = __commonJS({
  "node_modules/.pnpm/@inquirer+confirm@5.1.16_@types+node@24.9.2/node_modules/@inquirer/confirm/dist/commonjs/index.js"(exports2) {
    "use strict";
    Object.defineProperty(exports2, "__esModule", { value: true });
    var core_1 = require_commonjs3();
    function getBooleanValue(value, defaultValue) {
      let answer = defaultValue !== false;
      if (/^(y|yes)/i.test(value))
        answer = true;
      else if (/^(n|no)/i.test(value))
        answer = false;
      return answer;
    }
    __name(getBooleanValue, "getBooleanValue");
    function boolToString(value) {
      return value ? "Yes" : "No";
    }
    __name(boolToString, "boolToString");
    exports2.default = (0, core_1.createPrompt)((config, done) => {
      const { transformer = boolToString } = config;
      const [status, setStatus] = (0, core_1.useState)("idle");
      const [value, setValue] = (0, core_1.useState)("");
      const theme = (0, core_1.makeTheme)(config.theme);
      const prefix = (0, core_1.usePrefix)({ status, theme });
      (0, core_1.useKeypress)((key, rl) => {
        if (status !== "idle")
          return;
        if ((0, core_1.isEnterKey)(key)) {
          const answer = getBooleanValue(value, config.default);
          setValue(transformer(answer));
          setStatus("done");
          done(answer);
        } else if ((0, core_1.isTabKey)(key)) {
          const answer = boolToString(!getBooleanValue(value, config.default));
          rl.clearLine(0);
          rl.write(answer);
          setValue(answer);
        } else {
          setValue(rl.line);
        }
      });
      let formattedValue = value;
      let defaultValue = "";
      if (status === "done") {
        formattedValue = theme.style.answer(value);
      } else {
        defaultValue = ` ${theme.style.defaultAnswer(config.default === false ? "y/N" : "Y/n")}`;
      }
      const message = theme.style.message(config.message, status);
      return `${prefix} ${message}${defaultValue} ${formattedValue}`;
    });
  }
});

// src/external/@inquirer/confirm.js
module.exports = require_commonjs4();
if (module.exports && module.exports.default && Object.keys(module.exports).length === 1) { module.exports = module.exports.default; }
