import { __require as requireDist } from './dist/index.mjs';
import { __require as requireLib } from './lib/index.mjs';

var prompts;
var hasRequiredPrompts;
function requirePrompts() {
  if (hasRequiredPrompts) return prompts;
  hasRequiredPrompts = 1;
  function isNodeLT(tar) {
    tar = (Array.isArray(tar) ? tar : tar.split('.')).map(Number);
    let i = 0,
      src = process.versions.node.split('.').map(Number);
    for (; i < tar.length; i++) {
      if (src[i] > tar[i]) return false;
      if (tar[i] > src[i]) return true;
    }
    return false;
  }
  prompts = isNodeLT('8.6.0') ? requireDist() : requireLib();
  return prompts;
}

export { requirePrompts as __require };
