import { newId as l, Transition as _ } from "./index.js";
import u, { get as v } from "./schedule.js";
function w() {
  for (var s = this._name, o = this._id, d = l(), e = this._groups, m = e.length, n = 0; n < m; ++n)
    for (var r = e[n], f = r.length, i, a = 0; a < f; ++a)
      if (i = r[a]) {
        var t = v(i, o);
        u(i, s, d, a, r, {
          time: t.time + t.delay + t.duration,
          delay: 0,
          duration: t.duration,
          ease: t.ease
        });
      }
  return new _(e, this._parents, s, d);
}
export {
  w as default
};
