import { calcGeneratorDuration as i, maxGeneratorDuration as m } from "./calc-duration.es.js";
import { millisecondsToSeconds as s } from "../../../../../../../../motion-utils@12.36.0/node_modules/motion-utils/dist/es/time-conversion.es.js";
function f(n, r = 100, o) {
  const e = o({ ...n, keyframes: [0, r] }), t = Math.min(i(e), m);
  return {
    type: "keyframes",
    ease: (a) => e.next(t * a).value / r,
    duration: s(t)
  };
}
export {
  f as createGeneratorEasing
};
//# sourceMappingURL=create-generator-easing.es.js.map
