import { r as t } from "../../../../../_virtual/index14.js";
import s from "../../../../../_virtual/___vite-browser-external.js";
var a;
function v() {
  if (a)
    return t.exports;
  a = 1;
  const n = s, p = s, f = s, l = (e, r, i) => {
    if (typeof e != "string")
      throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof e}\``);
    if (typeof r != "string")
      throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof r}\``);
    try {
      e = f.realpathSync(e);
    } catch (o) {
      if (o.code === "ENOENT")
        e = n.resolve(e);
      else {
        if (i)
          return null;
        throw o;
      }
    }
    const c = n.join(e, "noop.js"), u = () => p._resolveFilename(r, {
      id: c,
      filename: c,
      paths: p._nodeModulePaths(e)
    });
    if (i)
      try {
        return u();
      } catch {
        return null;
      }
    return u();
  };
  return t.exports = (e, r) => l(e, r), t.exports.silent = (e, r) => l(e, r, !0), t.exports;
}
export {
  v as __require
};
//# sourceMappingURL=index.js.map
