import e from "../../../d3-selection/src/selectorAll.js";
import t, { get as n } from "./schedule.js";
import { Transition as r } from "./index.js";
//#region ../../node_modules/d3-transition/src/transition/selectAll.js
function i(i) {
	var a = this._name, o = this._id;
	typeof i != "function" && (i = e(i));
	for (var s = this._groups, c = s.length, l = [], u = [], d = 0; d < c; ++d) for (var f = s[d], p = f.length, m, h = 0; h < p; ++h) if (m = f[h]) {
		for (var g = i.call(m, m.__data__, h, f), _, v = n(m, o), y = 0, b = g.length; y < b; ++y) (_ = g[y]) && t(_, a, o, y, g, v);
		l.push(g), u.push(m);
	}
	return new r(l, u, a, o);
}
//#endregion
export { i as default };
