import { f as v } from "./index.es372.js";
import { i as n } from "./index.es381.js";
import { i as f } from "./index.es520.js";
var o = v, t = n, e = f, s = TypeError, g = function(r, l) {
  var a, i;
  if (l === "string" && t(a = r.toString) && !e(i = o(a, r)) || t(a = r.valueOf) && !e(i = o(a, r)) || l !== "string" && t(a = r.toString) && !e(i = o(a, r)))
    return i;
  throw new s("Can't convert object to primitive value");
};
export {
  g as o
};
//# sourceMappingURL=index.es605.js.map
