import { jsx as r } from "@emotion/react/jsx-runtime";
import s, { createContext as i, useMemo as m } from "react";
const c = void 0, u = i(null);
function l(t) {
  const { children: e, value: o } = t, n = m(() => o ?? c, [o]);
  return /* @__PURE__ */ r(u.Provider, { value: n, children: e });
}
const d = s.memo(l);
export {
  u as MFHostRuntimeToolsContext,
  l as MFHostRuntimeToolsProvider,
  d as MemoizedMFHostRuntimeToolsProvider
};
