"use client";

import dynamic from "next/dynamic";

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

const BurstLocationPanel = dynamic(
  () => import("@/components/olmap/BurstLocation/BurstLocationPanel"),
  {
    loading: () => <MapPanelSkeleton variant="burst-location" />,
  },
);

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