import { lazy } from 'react'
import type { RouteObject } from 'react-router'

const GuestReportPage = lazy(() => import('./pages/GuestReportPage'))
const AnalysisLoadingPage = lazy(() => import('./pages/AnalysisLoadingPage'))

export const reportRoutes: RouteObject[] = [
  { path: 'report/loading', element: <AnalysisLoadingPage /> },
  { path: 'report/loading/:reportId', element: <AnalysisLoadingPage /> },
  // 손님(랜딩→분석) 흐름. 유저 워크스페이스 경로는 features/clinics/routes.tsx 참조.
  { path: 'report/:id', element: <GuestReportPage /> },
]
