import { commonjsRequire as h } from "../../../../../_virtual/_commonjs-dynamic-modules.js";
import l from "../../../../../_virtual/___vite-browser-external.js";
import { __require as d } from "../../../resolve-from@4.0.0/node_modules/resolve-from/index.js";
import { __require as f } from "../../../parent-module@1.0.1/node_modules/parent-module/index.js";
var n, c;
function w() {
  if (c)
    return n;
  c = 1;
  const s = l, p = d(), u = f();
  return n = (o) => {
    if (typeof o != "string")
      throw new TypeError("Expected a string");
    const t = u(__filename), m = t ? s.dirname(t) : __dirname, e = p(m, o), r = require.cache[e];
    if (r && r.parent) {
      let i = r.parent.children.length;
      for (; i--; )
        r.parent.children[i].id === e && r.parent.children.splice(i, 1);
    }
    delete require.cache[e];
    const a = require.cache[t];
    return a === void 0 ? h(e) : a.require(e);
  }, n;
}
export {
  w as __require
};
//# sourceMappingURL=index.js.map
