import { __require as requireReflect_setPrototypeOf } from "./Reflect.setPrototypeOf.js";
import { __require as requireObject_setPrototypeOf } from "./Object.setPrototypeOf.js";
import { __require as requireSet } from "../dunder-proto/set.js";
import { __require as requireType } from "../es-errors/type.js";
var setProto;
var hasRequiredSetProto;
function requireSetProto() {
  if (hasRequiredSetProto) return setProto;
  hasRequiredSetProto = 1;
  var reflectSetProto = requireReflect_setPrototypeOf();
  var originalSetProto = requireObject_setPrototypeOf();
  var setDunderProto = requireSet();
  var $TypeError = requireType();
  setProto = reflectSetProto ? function setProto2(O, proto) {
    if (reflectSetProto(O, proto)) {
      return O;
    }
    throw new $TypeError("Reflect.setPrototypeOf: failed to set [[Prototype]]");
  } : originalSetProto || (setDunderProto ? function setProto2(O, proto) {
    setDunderProto(O, proto);
    return O;
  } : null);
  return setProto;
}
export {
  requireSetProto as __require
};
