// import ExamInvigilation from "../features/invigilation/ExamInvigilation/ExamInvigilation";
// import OnlinePatrol from "../features/invigilation/OnlinePatrol/OnlinePatrol";
// import RealtimeMonitoring from "../features/invigilation/RealtimeMonitoring/RealtimeMonitoring";
// import VideoCommunication from "../features/invigilation/RealtimeMonitoring/VideoCommunication";
// import WarningDetail from "../features/invigilation/RealtimeMonitoring/WarningDetail";
// import InvigilationDetail from "../features/invigilation/InvigilationDetail/InvigilationDetail";
// import WarningManage from "../features/invigilation/WarningManage/WarningManage";
// import ReexamApply from "../features/invigilation/ReexamApply/ReexamApply";
// import ProgressDetail from "../features/invigilation/ProgressDetail/ProgressDetail";
// import ReexamPending from "../features/invigilation/ReexamPending/ReexamPending";
// import ReexamChecked from "../features/invigilation/ReexamChecked/ReexamChecked";
// import ExamReport from "../features/invigilation/ExamReport/ExamReport";
// import StudentLogManage from "../features/invigilation/StudentLogManage/StudentLogManage";

const routes = [
  {
    path: "exam-invigilation",
    name: "ExamInvigilation",
    component: () =>
      import(
        /* webpackChunkName: "inspection" */ "../features/invigilation/ExamInvigilation/ExamInvigilation"
      ),
  },
  {
    path: "online-patrol",
    name: "OnlinePatrol",
    component: () =>
      import(
        /* webpackChunkName: "inspection" */ "../features/invigilation/OnlinePatrol/OnlinePatrol"
      ),
  },
  {
    path: "online-patrol/exam-detail/:examId/:roomCode/:roomName",
    name: "PatrolExamDetail",
    component: () =>
      import(
        /* webpackChunkName: "inspection" */ "../features/invigilation/OnlinePatrol/PatrolExamDetail"
      ),
    meta: {
      relate: "OnlinePatrol",
    },
  },
  {
    path: "online-patrol/warning-detail/:recordId",
    name: "PatrolWarningDetail",
    component: () =>
      import(
        /* webpackChunkName: "inspection" */ "../features/invigilation/OnlinePatrol/PatrolWarningDetail"
      ),
    meta: {
      relate: "OnlinePatrol",
    },
  },
  {
    path: "realtime-monitoring/:examId?",
    name: "RealtimeMonitoring",
    component: () =>
      import(
        /* webpackChunkName: "monitor" */ "../features/invigilation/RealtimeMonitoring/RealtimeMonitoring"
      ),
  },
  {
    path: "video-communication/:examId",
    name: "VideoCommunication",
    component: () =>
      import(
        /* webpackChunkName: "monitor" */ "../features/invigilation/RealtimeMonitoring/VideoCommunication"
      ),
    meta: {
      relate: "RealtimeMonitoring",
    },
  },
  {
    path: "warning-detail/:recordId",
    name: "WarningDetail",
    component: () =>
      import(
        /* webpackChunkName: "monitor" */ "../features/invigilation/RealtimeMonitoring/WarningDetail"
      ),
    meta: {
      relate: "RealtimeMonitoring",
    },
  },
  {
    path: "invigilation-detail",
    name: "InvigilationDetail",
    component: () =>
      import(
        /* webpackChunkName: "invigilation" */ "../features/invigilation/InvigilationDetail/InvigilationDetail"
      ),
  },
  {
    path: "invigilation-warning-detail/:recordId",
    name: "InvigilationWarningDetail",
    component: () =>
      import(
        /* webpackChunkName: "invigilation" */ "../features/invigilation/OnlinePatrol/PatrolWarningDetail"
      ),
    meta: {
      relate: "InvigilationDetail",
    },
  },
  {
    path: "warning-manage",
    name: "WarningManage",
    component: () =>
      import(
        /* webpackChunkName: "invigilation" */ "../features/invigilation/WarningManage/WarningManage"
      ),
  },
  {
    path: "reexam-apply",
    name: "ReexamApply",
    component: () =>
      import(
        /* webpackChunkName: "invigilation" */ "../features/invigilation/ReexamApply/ReexamApply"
      ),
  },
  {
    path: "progress-detail",
    name: "ProgressDetail",
    component: () =>
      import(
        /* webpackChunkName: "invigilation" */ "../features/invigilation/ProgressDetail/ProgressDetail"
      ),
  },
  {
    path: "reexam-pending",
    name: "ReexamPending",
    component: () =>
      import(
        /* webpackChunkName: "invigilation" */ "../features/invigilation/ReexamPending/ReexamPending"
      ),
  },
  {
    path: "reexam-checked",
    name: "ReexamChecked",
    component: () =>
      import(
        /* webpackChunkName: "invigilation" */ "../features/invigilation/ReexamChecked/ReexamChecked"
      ),
  },
  {
    path: "exam-report",
    name: "ExamReport",
    component: () =>
      import(
        /* webpackChunkName: "invigilation" */ "../features/invigilation/ExamReport/ExamReport"
      ),
  },
  {
    path: "student-log-manage",
    name: "StudentLogManage",
    component: () =>
      import(
        /* webpackChunkName: "invigilation" */ "../features/invigilation/StudentLogManage/StudentLogManage"
      ),
  },
];

export default routes;
