import v from "./index.es40.js";
import f from "./index.es264.js";
function d(r, n, e) {
  n = f(n);
  var i = n.length;
  if (!i)
    return v(e) ? e.call(r) : e;
  for (var u = 0; u < i; u++) {
    var t = r == null ? void 0 : r[n[u]];
    t === void 0 && (t = e, u = i), r = v(t) ? t.call(r) : t;
  }
  return r;
}
export {
  d as default
};
//# sourceMappingURL=index.es167.js.map
