"use client";
import { useContext as u, createContext as o, useMemo as r } from "react";
import { createDefaultAnimationManager as c } from "./createDefaultAnimationManager.js";
var i = /* @__PURE__ */ o(c);
function l(t, e) {
  var n = u(i);
  return r(() => e ?? n(t), [t, e, n]);
}
export {
  i as AnimationManagerContext,
  l as useAnimationManager
};
