import { jsx } from "react/jsx-runtime";
import { RuntimeProvider } from "../../runtimes/react/components/RuntimeProvider";
import { FrameworkProvider } from "../components/framework-provider";
import { NextRootStyleRegistry } from "../root-style-registry";
function ReactProvider({
  children,
  runtime,
  siteVersion = null,
  forcePagesRouter = false
}) {
  return /* @__PURE__ */ jsx(FrameworkProvider, { forcePagesRouter, children: /* @__PURE__ */ jsx(RuntimeProvider, { siteVersion, runtime, children: /* @__PURE__ */ jsx(NextRootStyleRegistry, { children }) }) });
}
export {
  ReactProvider
};
//# sourceMappingURL=react-provider.js.map