import { f as e } from "./index.es378.js";
import { i as v } from "./index.es514.js";
import { i as l } from "./index.es502.js";
import { g as n } from "./index.es517.js";
import { o as s } from "./index.es603.js";
import { w as f } from "./index.es467.js";
var b = e, a = v, m = l, c = n, y = s, d = f, w = TypeError, T = d("toPrimitive"), j = function(r, o) {
  if (!a(r) || m(r))
    return r;
  var t = c(r, T), i;
  if (t) {
    if (o === void 0 && (o = "default"), i = b(t, r, o), !a(i) || m(i))
      return i;
    throw new w("Can't convert object to primitive value");
  }
  return o === void 0 && (o = "number"), y(r, o);
};
export {
  j as t
};
//# sourceMappingURL=index.es541.js.map
