"use client";

import dynamic from "next/dynamic";

import { MapPanelSkeleton } from "@components/loading/MapComponentSkeletons";
import MapToolbar from "@components/olmap/core/Controls/Toolbar";

const BurstDetectionPanel = dynamic(
  () => import("@/components/olmap/BurstDetection/BurstDetectionPanel"),
  {
    loading: () => <MapPanelSkeleton variant="burst-detection" />,
  },
);

export default function Home() {
  return (
    <>
      <MapToolbar
        queryType="scheme"
        schemeType="burst_detection"
        hiddenButtons={["style"]}
      />
      <BurstDetectionPanel />
    </>
  );
}
