import { f as e } from "./index.es385.js";
import { i as v } from "./index.es526.js";
import { i as l } from "./index.es505.js";
import { g as n } from "./index.es540.js";
import { o as s } from "./index.es597.js";
import { w as f } from "./index.es440.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.es544.js.map
