import { Transition as v } from "./index.js";
import w, { get as y } from "./schedule.js";
import s from "../../../../../d3-selection@3.0.0/node_modules/d3-selection/src/selector.js";
function x(_) {
  var m = this._name, i = this._id;
  typeof _ != "function" && (_ = s(_));
  for (var e = this._groups, l = e.length, c = new Array(l), r = 0; r < l; ++r)
    for (var f = e[r], o = f.length, n = c[r] = new Array(o), a, h, t = 0; t < o; ++t)
      (a = f[t]) && (h = _.call(a, a.__data__, t, f)) && ("__data__" in a && (h.__data__ = a.__data__), n[t] = h, w(n[t], m, i, t, n, y(a, i)));
  return new v(c, this._parents, m, i);
}
export {
  x as default
};
