import { m as r } from "./publicApi-fkG2o0UD.js";
import { useEffect as t } from "react";
import { d as o, E as a, a as i } from "./EnterpriseViewOnlyPreset-CW0maUhb.js";
import { w as s, g as n } from "./utils-BXswP1HG.js";
import { F as m } from "./consts-C-TYhRis.js";
const f = ({
  dashboardDefinition: e
}) => (t(() => (s(
  '[data-input-id="overview_input"]',
  "#overview_main_label_viz"
), () => {
}), []), e ? /* @__PURE__ */ r.jsx(
  o.DashboardContextProvider,
  {
    preset: a,
    initialDefinition: e,
    featureFlags: m,
    children: /* @__PURE__ */ r.jsx(i.DashboardCore, { width: "99%", height: "auto", actionMenus: n("overview") })
  }
) : null);
export {
  f as OverviewDashboard,
  f as default
};
