import { jsx as l } from "react/jsx-runtime";
import { createContext as u, useContext as n, useState as s } from "react";
const i = () => {
  throw new Error("setSlots is not initialized yet");
}, o = u({
  themeSwitcher: !0,
  documentProperties: !0,
  rotateTool: !0,
  fullscreenTool: !0,
  openFileTool: !0,
  dropFileZone: !0,
  downloadTool: !0,
  viewModeTool: !0,
  scrollModeTool: !0,
  printTool: !0,
  thumbnailTool: !0,
  showPrintProgress: !0,
  selectionModeTool: !0,
  jumpNavigationTool: !0,
  sidebarEnable: !0,
  pageNavigationTool: !0,
  searchTool: !0,
  zoomTool: !0,
  setSlots: i
}), c = () => n(o), T = {
  themeSwitcher: !0,
  documentProperties: !0,
  rotateTool: !0,
  fullscreenTool: !0,
  openFileTool: !0,
  dropFileZone: !0,
  downloadTool: !0,
  viewModeTool: !0,
  scrollModeTool: !0,
  printTool: !0,
  thumbnailTool: !0,
  showPrintProgress: !0,
  selectionModeTool: !0,
  jumpNavigationTool: !0,
  sidebarEnable: !0,
  pageNavigationTool: !0,
  searchTool: !0,
  zoomTool: !0
}, p = ({ children: e }) => {
  const [t, r] = s(T);
  return /* @__PURE__ */ l(o.Provider, { value: { ...t, setSlots: r }, children: e });
};
export {
  o as ToolComponentContext,
  p as ToolComponentProvider,
  c as useToolComponentContext
};
