"use client";

import dynamic from "next/dynamic";

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

const BurstPipeAnalysisPanel = dynamic(
  () => import("@/components/olmap/BurstSimulation/BurstPipeAnalysisPanel"),
  {
    loading: () => <MapPanelSkeleton variant="burst-simulation" />,
  },
);

export default function Home() {
  return (
    <>
      <MapToolbar
        queryType="scheme"
        schemeType="burst_analysis"
        enableCompare
      />
      <BurstPipeAnalysisPanel />
    </>
  );
}
