import { Suspense, lazy } from 'react' import { BrowserRouter, Navigate, Route, Routes } from 'react-router-dom' import { AuthProvider } from './auth/AuthProvider' import { RequireAuth } from './auth/RequireAuth' import { GlobalTableSorting } from './components/GlobalTableSorting' import './App.css' const PublicLayout = lazy(() => import('./layout/PublicLayout').then((m) => ({ default: m.PublicLayout })), ) const ManagementLayout = lazy(() => import('./layout/ManagementLayout').then((m) => ({ default: m.ManagementLayout })), ) const MainLayout = lazy(() => import('./layout/MainLayout').then((m) => ({ default: m.MainLayout })), ) const HomePage = lazy(() => import('./pages/HomePage').then((m) => ({ default: m.HomePage }))) const LoginPage = lazy(() => import('./pages/LoginPage').then((m) => ({ default: m.LoginPage }))) const RegisterPage = lazy(() => import('./pages/RegisterPage').then((m) => ({ default: m.RegisterPage })), ) const ForgotPasswordPage = lazy(() => import('./pages/ForgotPasswordPage').then((m) => ({ default: m.ForgotPasswordPage })), ) const WelcomeBackPage = lazy(() => import('./pages/user/WelcomeBackPage').then((m) => ({ default: m.WelcomeBackPage })), ) const LoginActivityPage = lazy(() => import('./pages/user/LoginActivityPage').then((m) => ({ default: m.LoginActivityPage })), ) const UserListPage = lazy(() => import('./pages/user/UserListPage').then((m) => ({ default: m.UserListPage })), ) const UserCreatePage = lazy(() => import('./pages/user/UserCreatePage').then((m) => ({ default: m.UserCreatePage })), ) const UserEditPage = lazy(() => import('./pages/user/UserEditPage').then((m) => ({ default: m.UserEditPage })), ) const ResetPasswordPage = lazy(() => import('./pages/user/ResetPasswordPage').then((m) => ({ default: m.ResetPasswordPage })), ) const ConfirmEmailChangePage = lazy(() => import('./pages/user/ConfirmEmailChangePage').then((m) => ({ default: m.ConfirmEmailChangePage })), ) const SetPasswordPage = lazy(() => import('./pages/user/SetPasswordPage').then((m) => ({ default: m.SetPasswordPage })), ) const SetAuthorizedUserPasswordPage = lazy(() => import('./pages/user/SetAuthorizedUserPasswordPage').then((m) => ({ default: m.SetAuthorizedUserPasswordPage, })), ) const PasswordSetSuccessPage = lazy(() => import('./pages/user/PasswordSetSuccessPage').then((m) => ({ default: m.PasswordSetSuccessPage })), ) const InvalidTokenPage = lazy(() => import('./pages/errors/InvalidTokenPage').then((m) => ({ default: m.InvalidTokenPage })), ) const AccessDeniedPage = lazy(() => import('./pages/errors/AccessDeniedPage').then((m) => ({ default: m.AccessDeniedPage })), ) const AdminDocs = lazy(() => import('./pages/AdminDocs').then((m) => ({ default: m.AdminDocs }))) const SwaggerDocs = lazy(() => import('./pages/SwaggerDocs').then((m) => ({ default: m.SwaggerDocs })), ) const RoleSelectPage = lazy(() => import('./pages/RoleSelectPage').then((m) => ({ default: m.RoleSelectPage })), ) const AppHome = lazy(() => import('./pages/AppHome').then((m) => ({ default: m.AppHome }))) const AdminLandingDashboardPage = lazy(() => import('./pages/landing/AdminLandingDashboardPage').then((m) => ({ default: m.AdminLandingDashboardPage })), ) const CiSitemapPage = lazy(() => import('./pages/CiSitemapPage').then((m) => ({ default: m.CiSitemapPage })), ) const CiPlaceholderPage = lazy(() => import('./pages/CiPlaceholderPage').then((m) => ({ default: m.CiPlaceholderPage })), ) const NavBuilderPage = lazy(() => import('./pages/NavBuilderPage').then((m) => ({ default: m.NavBuilderPage })), ) const AdminBroadcastEmailPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminBroadcastEmailPage })), ) const AdminCalendarPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminCalendarPage })), ) const AdminCalendarViewPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminCalendarViewPage })), ) const AdminCalendarAddEventPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminCalendarAddEventPage, })), ) const AdminCalendarEditPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminCalendarEditPage })), ) const AdminClassAssignmentPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminClassAssignmentPage, })), ) const AdminClassSectionPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminClassSectionPage })), ) const AdminClassWarningModalPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminClassWarningModalPage, })), ) const AdminCourseMaterialsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminCourseMaterialsPage, })), ) const AdminDailyAttendancePage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminDailyAttendancePage, })), ) const AdminDailyAttendanceAnalysisPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminDailyAttendanceAnalysisPage, })), ) const AdminExamDraftsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminExamDraftsPage, })), ) const AdminGradingManagementPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminGradingManagementPage, })), ) const AdminIpBansPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminIpBansPage, })), ) const AdminLateSlipLogsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminLateSlipLogsPage, })), ) const AdminManageUsersPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminManageUsersPage, })), ) const AdminNotificationsAlertsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminNotificationsAlertsPage, })), ) const AdminParentProfilePage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminParentProfilePage, })), ) const AdminPaypalTransactionsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminPaypalTransactionsPage, })), ) const AdminPrintNotificationAdminsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminPrintNotificationAdminsPage, })), ) const AdminRemovedStudentsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminRemovedStudentsPage, })), ) const AdminSearchResultsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminSearchResultsPage, })), ) const AdminSectionsAutoDistributePage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminSectionsAutoDistributePage, })), ) const AdminSectionsPromotionTotalsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminSectionsPromotionTotalsPage, })), ) const AdminStudentClassAssignmentPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminStudentClassAssignmentPage, })), ) const AdminStudentProfilesPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminStudentProfilesPage, })), ) const AdminSubjectCurriculumPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminSubjectCurriculumPage, })), ) const AdminTeacherClassAssignmentPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminTeacherClassAssignmentPage, })), ) const AdminTeacherSubmissionsPage = lazy(() => import('./pages/AdministratorToolPages').then((m) => ({ default: m.AdminTeacherSubmissionsPage, })), ) const CompetitionWinnersIndexPage = lazy(() => import('./pages/winners/CompetitionWinnerPages').then((m) => ({ default: m.CompetitionWinnersIndexPage, })), ) const CompetitionWinnerFormPage = lazy(() => import('./pages/winners/CompetitionWinnerPages').then((m) => ({ default: m.CompetitionWinnerFormPage, })), ) const CompetitionWinnerScoresPage = lazy(() => import('./pages/winners/CompetitionWinnerPages').then((m) => ({ default: m.CompetitionWinnerScoresPage, })), ) const CompetitionWinnerPreviewPage = lazy(() => import('./pages/winners/CompetitionWinnerPages').then((m) => ({ default: m.CompetitionWinnerPreviewPage, })), ) const CompetitionWinnerWinnersPage = lazy(() => import('./pages/winners/CompetitionWinnerPages').then((m) => ({ default: m.CompetitionWinnerWinnersPage, })), ) const AdminClassProgressListPage = lazy(() => import('./pages/AdminProgressPages').then((m) => ({ default: m.AdminClassProgressListPage, })), ) const AdminClassProgressViewPage = lazy(() => import('./pages/AdminProgressPages').then((m) => ({ default: m.AdminClassProgressViewPage, })), ) const AdminStudentScoreCardPage = lazy(() => import('./pages/AdminProgressPages').then((m) => ({ default: m.AdminStudentScoreCardPage, })), ) const AdminEmergencyContactIndexPage = lazy(() => import('./pages/AdminProgressPages').then((m) => ({ default: m.AdminEmergencyContactIndexPage, })), ) const AdminEmergencyContactEditPage = lazy(() => import('./pages/AdminProgressPages').then((m) => ({ default: m.AdminEmergencyContactEditPage, })), ) const AdminsAttendanceFormPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.AdminsAttendanceFormPage })), ) const AdministratorAbsencePage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.AdministratorAbsencePage })), ) const AttendanceTrackingPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.AttendanceTrackingPage })), ) const ComposeAttendanceEmailPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.ComposeAttendanceEmailPage })), ) const EarlyDismissalsPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.EarlyDismissalsPage })), ) const EarlyDismissalsAddPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.EarlyDismissalsAddPage })), ) const ParentAttendanceReportsAdminPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.ParentAttendanceReportsAdminPage })), ) const TeacherAttendanceFormPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.TeacherAttendanceFormPage })), ) const TeacherAttendanceMonthPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.TeacherAttendanceMonthPage })), ) const AttendanceStudentViolationsViewPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.AttendanceStudentViolationsViewPage })), ) const ViolationsPendingPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.ViolationsPendingPage })), ) const ViolationsNotifiedPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.ViolationsNotifiedPage })), ) const AttendanceViolationsHubPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.AttendanceViolationsHubPage })), ) const AttendanceTemplatesIndexPage = lazy(() => import('./pages/attendance').then((m) => ({ default: m.AttendanceTemplatesIndexPage })), ) const ClassPrepListPage = lazy(() => import('./pages/classPrep/ClassPrepListPage').then((m) => ({ default: m.ClassPrepListPage })), ) const ClassPrepPrintPage = lazy(() => import('./pages/classPrep/ClassPrepPrintPage').then((m) => ({ default: m.ClassPrepPrintPage })), ) const CommunicationsIndexPage = lazy(() => import('./pages/communications/CommunicationsIndexPage').then((m) => ({ default: m.CommunicationsIndexPage, })), ) const ConfigurationViewPage = lazy(() => import('./pages/configuration/ConfigurationViewPage').then((m) => ({ default: m.ConfigurationViewPage, })), ) const DiscountListPage = lazy(() => import('./pages/discounts/DiscountListPage').then((m) => ({ default: m.DiscountListPage })), ) const DiscountCreatePage = lazy(() => import('./pages/discounts/DiscountCreatePage').then((m) => ({ default: m.DiscountCreatePage })), ) const DiscountApplyVoucherPage = lazy(() => import('./pages/discounts/DiscountApplyVoucherPage').then((m) => ({ default: m.DiscountApplyVoucherPage, })), ) const ReverseDiscountPage = lazy(() => import('./pages/discounts/ReverseDiscountPage').then((m) => ({ default: m.ReverseDiscountPage })), ) const RegisteredStudentsPage = lazy(() => import('./pages/enrollWithdraw/RegisteredStudentsPage').then((m) => ({ default: m.RegisteredStudentsPage, })), ) const EnrollmentWithdrawalPage = lazy(() => import('./pages/enrollWithdraw/EnrollmentWithdrawalPage').then((m) => ({ default: m.EnrollmentWithdrawalPage, })), ) const ExpensesIndexPage = lazy(() => import('./pages/expenses/ExpensesIndexPage').then((m) => ({ default: m.ExpensesIndexPage })), ) const ExpenseCreatePage = lazy(() => import('./pages/expenses/ExpenseCreatePage').then((m) => ({ default: m.ExpenseCreatePage })), ) const ExpenseEditPage = lazy(() => import('./pages/expenses/ExpenseEditPage').then((m) => ({ default: m.ExpenseEditPage })), ) const FlagsManagementPage = lazy(() => import('./pages/flags/FlagsManagementPage').then((m) => ({ default: m.FlagsManagementPage })), ) const ProcessedFlagsPage = lazy(() => import('./pages/flags/ProcessedFlagsPage').then((m) => ({ default: m.ProcessedFlagsPage })), ) const IncidentAnalysisPage = lazy(() => import('./pages/flags/IncidentAnalysisPage').then((m) => ({ default: m.IncidentAnalysisPage })), ) const GradingMainPage = lazy(() => import('./pages/grading/GradingMainPage').then((m) => ({ default: m.GradingMainPage })), ) const BelowSixtyPage = lazy(() => import('./pages/grading/BelowSixtyPage').then((m) => ({ default: m.BelowSixtyPage })), ) const BelowSixtyEmailEditorPage = lazy(() => import('./pages/grading/BelowSixtyEmailEditorPage').then((m) => ({ default: m.BelowSixtyEmailEditorPage, })), ) const HomeworkTrackingPage = lazy(() => import('./pages/grading/HomeworkTrackingPage').then((m) => ({ default: m.HomeworkTrackingPage })), ) const ParticipationPage = lazy(() => import('./pages/grading/ParticipationPage').then((m) => ({ default: m.ParticipationPage })), ) const PlacementIndexPage = lazy(() => import('./pages/grading/PlacementIndexPage').then((m) => ({ default: m.PlacementIndexPage })), ) const PlacementSectionPage = lazy(() => import('./pages/grading/PlacementSectionPage').then((m) => ({ default: m.PlacementSectionPage })), ) const PlacementBatchPage = lazy(() => import('./pages/grading/PlacementBatchPage').then((m) => ({ default: m.PlacementBatchPage })), ) const ScheduleMeetingPage = lazy(() => import('./pages/grading/ScheduleMeetingPage').then((m) => ({ default: m.ScheduleMeetingPage })), ) const GradingScoreEntryPage = lazy(() => import('./pages/grading/GradingScoreEntryPage').then((m) => ({ default: m.GradingScoreEntryPage })), ) const InventoryBookIndexPage = lazy(() => import('./pages/inventory/InventoryBookIndexPage').then((m) => ({ default: m.InventoryBookIndexPage })), ) const InventoryBookFormPage = lazy(() => import('./pages/inventory/InventoryBookFormPage').then((m) => ({ default: m.InventoryBookFormPage })), ) const InventoryClassroomIndexPage = lazy(() => import('./pages/inventory/InventoryClassroomIndexPage').then((m) => ({ default: m.InventoryClassroomIndexPage, })), ) const InventoryClassroomFormPage = lazy(() => import('./pages/inventory/InventoryClassroomFormPage').then((m) => ({ default: m.InventoryClassroomFormPage, })), ) const InventoryClassroomAuditPage = lazy(() => import('./pages/inventory/InventoryClassroomAuditPage').then((m) => ({ default: m.InventoryClassroomAuditPage, })), ) const InventoryKitchenIndexPage = lazy(() => import('./pages/inventory/InventoryKitchenIndexPage').then((m) => ({ default: m.InventoryKitchenIndexPage, })), ) const InventoryKitchenFormPage = lazy(() => import('./pages/inventory/InventoryKitchenFormPage').then((m) => ({ default: m.InventoryKitchenFormPage, })), ) const InventoryOfficeIndexPage = lazy(() => import('./pages/inventory/InventoryOfficeIndexPage').then((m) => ({ default: m.InventoryOfficeIndexPage, })), ) const InventoryOfficeFormPage = lazy(() => import('./pages/inventory/InventoryOfficeFormPage').then((m) => ({ default: m.InventoryOfficeFormPage, })), ) const InventoryAdjustPage = lazy(() => import('./pages/inventory/InventoryAdjustPage').then((m) => ({ default: m.InventoryAdjustPage })), ) const InventoryEditEntryPage = lazy(() => import('./pages/inventory/InventoryEditEntryPage').then((m) => ({ default: m.InventoryEditEntryPage })), ) const InventorySummaryPage = lazy(() => import('./pages/inventory/InventorySummaryPage').then((m) => ({ default: m.InventorySummaryPage })), ) const InventoryMovementsIndexPage = lazy(() => import('./pages/inventory/InventoryMovementsIndexPage').then((m) => ({ default: m.InventoryMovementsIndexPage, })), ) const InventoryMovementFormPage = lazy(() => import('./pages/inventory/InventoryMovementFormPage').then((m) => ({ default: m.InventoryMovementFormPage, })), ) const TeacherBookDistributePage = lazy(() => import('./pages/inventory/TeacherBookDistributePage').then((m) => ({ default: m.TeacherBookDistributePage, })), ) const InvoiceManagementPage = lazy(() => import('./pages/invoicePayment/InvoiceManagementPage').then((m) => ({ default: m.InvoiceManagementPage, })), ) const InvoicePdfTemplatePage = lazy(() => import('./pages/invoicePayment/InvoicePdfTemplatePage').then((m) => ({ default: m.InvoicePdfTemplatePage, })), ) const SchoolPolicyPage = lazy(() => import('./pages/policy/SchoolPolicyPage').then((m) => ({ default: m.SchoolPolicyPage })), ) const PicturePolicyPage = lazy(() => import('./pages/policy/PicturePolicyPage').then((m) => ({ default: m.PicturePolicyPage })), ) const AdminPrintRequestsPage = lazy(() => import('./pages/printRequests/AdminPrintRequestsPage').then((m) => ({ default: m.AdminPrintRequestsPage, })), ) const TeacherPrintRequestsPage = lazy(() => import('./pages/printRequests/TeacherPrintRequestsPage').then((m) => ({ default: m.TeacherPrintRequestsPage, })), ) const CertificatesPage = lazy(() => import('./pages/certificates/CertificatesPage').then((m) => ({ default: m.CertificatesPage })), ) const StickerFormPage = lazy(() => import('./pages/printables/StickerFormPage').then((m) => ({ default: m.StickerFormPage })), ) const BadgeFormPage = lazy(() => import('./pages/printables/BadgeFormPage').then((m) => ({ default: m.BadgeFormPage })), ) const ReportCardManagementPage = lazy(() => import('./pages/printables/ReportCardManagementPage').then((m) => ({ default: m.ReportCardManagementPage, })), ) const CombinedReportPage = lazy(() => import('./pages/report/CombinedReportPage').then((m) => ({ default: m.CombinedReportPage })), ) const ReimbursementsIndexPage = lazy(() => import('./pages/reimbursements/ReimbursementsIndexPage').then((m) => ({ default: m.ReimbursementsIndexPage, })), ) const ReimbursementCreatePage = lazy(() => import('./pages/reimbursements/ReimbursementCreatePage').then((m) => ({ default: m.ReimbursementCreatePage, })), ) const ReimbursementEditPage = lazy(() => import('./pages/reimbursements/ReimbursementEditPage').then((m) => ({ default: m.ReimbursementEditPage, })), ) const ReimbursementsUnderProcessingPage = lazy(() => import('./pages/reimbursements/ReimbursementsUnderProcessingPage').then((m) => ({ default: m.ReimbursementsUnderProcessingPage, })), ) const RefundsListPage = lazy(() => import('./pages/refunds/RefundsListPage').then((m) => ({ default: m.RefundsListPage })), ) const BadgeScanLogsPage = lazy(() => import('./pages/rfid/BadgeScanLogsPage').then((m) => ({ default: m.BadgeScanLogsPage })), ) const StaffIndexPage = lazy(() => import('./pages/staff/StaffIndexPage').then((m) => ({ default: m.StaffIndexPage })), ) const StaffCreatePage = lazy(() => import('./pages/staff/StaffCreatePage').then((m) => ({ default: m.StaffCreatePage })), ) const StaffEditPage = lazy(() => import('./pages/staff/StaffEditPage').then((m) => ({ default: m.StaffEditPage })), ) const WhatsappHubPage = lazy(() => import('./pages/whatsapp/WhatsappHubPage').then((m) => ({ default: m.WhatsappHubPage })), ) const WhatsappManageLinksPage = lazy(() => import('./pages/whatsapp/WhatsappManageLinksPage').then((m) => ({ default: m.WhatsappManageLinksPage, })), ) const WhatsappParentContactsPage = lazy(() => import('./pages/whatsapp/WhatsappParentContactsPage').then((m) => ({ default: m.WhatsappParentContactsPage, })), ) const WhatsappParentContactsByClassPage = lazy(() => import('./pages/whatsapp/WhatsappParentContactsByClassPage').then((m) => ({ default: m.WhatsappParentContactsByClassPage, })), ) const PublicWinnersCompetitionsIndexPage = lazy(() => import('./pages/winners/PublicWinnersPages').then((m) => ({ default: m.PublicWinnersCompetitionsIndexPage, })), ) const PublicWinnersCompetitionShowPage = lazy(() => import('./pages/winners/PublicWinnersPages').then((m) => ({ default: m.PublicWinnersCompetitionShowPage, })), ) const RoleListPage = lazy(() => import('./pages/rolePermission/RoleListPage').then((m) => ({ default: m.RoleListPage })), ) const PermissionsListPage = lazy(() => import('./pages/rolePermission/PermissionsListPage').then((m) => ({ default: m.PermissionsListPage, })), ) const AddRolePage = lazy(() => import('./pages/rolePermission/AddRolePage').then((m) => ({ default: m.AddRolePage })), ) const EditRolePage = lazy(() => import('./pages/rolePermission/EditRolePage').then((m) => ({ default: m.EditRolePage })), ) const AddPermissionPage = lazy(() => import('./pages/rolePermission/AddPermissionPage').then((m) => ({ default: m.AddPermissionPage, })), ) const EditPermissionPage = lazy(() => import('./pages/rolePermission/EditPermissionPage').then((m) => ({ default: m.EditPermissionPage, })), ) const AssignRolePage = lazy(() => import('./pages/rolePermission/AssignRolePage').then((m) => ({ default: m.AssignRolePage })), ) const EditRolePermissionsPage = lazy(() => import('./pages/rolePermission/EditRolePermissionsPage').then((m) => ({ default: m.EditRolePermissionsPage, })), ) const ScorePredictionPage = lazy(() => import('./pages/scoreAnalysis/ScorePredictionPage').then((m) => ({ default: m.ScorePredictionPage, })), ) const SlipPreviewListPage = lazy(() => import('./pages/slips/SlipPreviewListPage').then((m) => ({ default: m.SlipPreviewListPage })), ) const LateSlipPrintPage = lazy(() => import('./pages/slips/LateSlipPrintPage').then((m) => ({ default: m.LateSlipPrintPage })), ) const NotificationsActivePage = lazy(() => import('./pages/notifications/NotificationsActivePage').then((m) => ({ default: m.NotificationsActivePage, })), ) const NotificationsDeletedPage = lazy(() => import('./pages/notifications/NotificationsDeletedPage').then((m) => ({ default: m.NotificationsDeletedPage, })), ) const ManualPayPage = lazy(() => import('./pages/payment/ManualPayPage').then((m) => ({ default: m.ManualPayPage })), ) const PaymentNotificationManagementPage = lazy(() => import('./pages/payment/PaymentNotificationManagementPage').then((m) => ({ default: m.PaymentNotificationManagementPage, })), ) const UnpaidParentsPage = lazy(() => import('./pages/payment/UnpaidParentsPage').then((m) => ({ default: m.UnpaidParentsPage })), ) const PaymentDiscountStudentPage = lazy(() => import('./pages/payment/PaymentDiscountStudentPage').then((m) => ({ default: m.PaymentDiscountStudentPage, })), ) const ExtraChargesPage = lazy(() => import('./pages/payment/ExtraChargesPage').then((m) => ({ default: m.ExtraChargesPage })), ) const FinancialReportPage = lazy(() => import('./pages/payment/FinancialReportPage').then((m) => ({ default: m.FinancialReportPage })), ) const FinancialReportSummaryPage = lazy(() => import('./pages/payment/FinancialReportSummaryPage').then((m) => ({ default: m.FinancialReportSummaryPage, })), ) const PaymentRedirectPage = lazy(() => import('./pages/payment/PaymentRedirectPage').then((m) => ({ default: m.PaymentRedirectPage })), ) const FamilyManagementPage = lazy(() => import('./pages/family/FamilyManagementPage').then((m) => ({ default: m.FamilyManagementPage })), ) const FamilyComposeEmailPage = lazy(() => import('./pages/family/FamilyComposeEmailPage').then((m) => ({ default: m.FamilyComposeEmailPage, })), ) const FamilyLegacyImportPage = lazy(() => import('./pages/family/FamilyLegacyImportPage').then((m) => ({ default: m.FamilyLegacyImportPage })), ) const EmailTemplatesIndexPage = lazy(() => import('./pages/emails').then((m) => ({ default: m.EmailTemplatesIndexPage })), ) const EmailTemplatePreviewPage = lazy(() => import('./pages/emails').then((m) => ({ default: m.EmailTemplatePreviewPage })), ) const ParentEmailExtractorPage = lazy(() => import('./pages/emails').then((m) => ({ default: m.ParentEmailExtractorPage })), ) const ParentHomePage = lazy(() => import('./pages/parent/ParentHomePage').then((m) => ({ default: m.ParentHomePage })), ) const PortalStylePage = lazy(() => import('./pages/portal/PortalStylePage').then((m) => ({ default: m.PortalStylePage })), ) const TeacherDashboardPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherDashboardPage })), ) const TeacherNoClassesPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherNoClassesPage })), ) const TeacherSelectSemesterPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherSelectSemesterPage })), ) const TeacherTrashPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherTrashPage })), ) const TeacherInboxPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherInboxPage })), ) const TeacherSentPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherSentPage })), ) const TeacherMessagePage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherMessagePage })), ) const TeacherCompetitionScoresIndexPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherCompetitionScoresIndexPage, })), ) const TeacherCompetitionScoresDetailPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherCompetitionScoresDetailPage, })), ) const TeacherAbsenceVacationPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherAbsenceVacationPage })), ) const TeacherAddFinalExamPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherAddFinalExamPage })), ) const TeacherAddHomeworkPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherAddHomeworkPage })), ) const TeacherAddMidtermExamPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherAddMidtermExamPage })), ) const TeacherAddParticipationPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherAddParticipationPage })), ) const TeacherAddProjectPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherAddProjectPage })), ) const TeacherAddQuizPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherAddQuizPage })), ) const TeacherAddQuizColumnFormPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherAddQuizColumnFormPage })), ) const TeacherCalendarPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherCalendarPage })), ) const TeacherClassProgressHistoryPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherClassProgressHistoryPage, })), ) const TeacherClassProgressSubmitPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherClassProgressSubmitPage, })), ) const TeacherClassProgressViewPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherClassProgressViewPage, })), ) const TeacherClassViewPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherClassViewPage })), ) const TeacherDraftsPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherDraftsPage })), ) const TeacherExamDraftsPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherExamDraftsPage })), ) const TeacherHomeworkListPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherHomeworkListPage })), ) const TeacherScoresPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherScoresPage })), ) const TeacherShowupdateAttendancePage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherShowupdateAttendancePage, })), ) const TeacherAssignmentPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherAssignmentPage })), ) const TeacherContactUsPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherContactUsPage })), ) const TeacherSupportPage = lazy(() => import('./pages/teacher/TeacherParityPages').then((m) => ({ default: m.TeacherSupportPage })), ) const ParentAttendancePage = lazy(() => import('./pages/parent/ParentAttendancePage').then((m) => ({ default: m.ParentAttendancePage })), ) const ParentEmergencyContactsPage = lazy(() => import('./pages/parent/ParentEmergencyContactsPage').then((m) => ({ default: m.ParentEmergencyContactsPage, })), ) const ParentAttendanceReportsHistoryPage = lazy(() => import('./pages/parent/ParentAccountListPages').then((m) => ({ default: m.ParentAttendanceReportsHistoryPage, })), ) const ParentAuthorizedUsersPage = lazy(() => import('./pages/parent/ParentAccountListPages').then((m) => ({ default: m.ParentAuthorizedUsersPage, })), ) const RedirectParentLegacyStudentEdit = lazy(() => import('./pages/parent/ParentCiRouteRedirects').then((m) => ({ default: m.RedirectParentLegacyStudentEdit, })), ) const RedirectParentLegacyEmergencyContactEdit = lazy(() => import('./pages/parent/ParentCiRouteRedirects').then((m) => ({ default: m.RedirectParentLegacyEmergencyContactEdit, })), ) const ParentReportCardsSignPage = lazy(() => import('./pages/parent/dynamicParityPages').then((m) => ({ default: m.ParentReportCardsSignPage, })), ) const ParentReportCardsViewPage = lazy(() => import('./pages/parent/dynamicParityPages').then((m) => ({ default: m.ParentReportCardsViewPage, })), ) const ParentProgressViewPage = lazy(() => import('./pages/parent/dynamicParityPages').then((m) => ({ default: m.ParentProgressViewPage, })), ) const ParentProgressAttachmentPage = lazy(() => import('./pages/parent/dynamicParityPages').then((m) => ({ default: m.ParentProgressAttachmentPage, })), ) const ParentProgressAttachmentFilePage = lazy(() => import('./pages/parent/dynamicParityPages').then((m) => ({ default: m.ParentProgressAttachmentFilePage, })), ) const ParentEmergencyContactEditPage = lazy(() => import('./pages/parent/dynamicParityPages').then((m) => ({ default: m.ParentEmergencyContactEditPage, })), ) const ParentStudentEditPage = lazy(() => import('./pages/parent/dynamicParityPages').then((m) => ({ default: m.ParentStudentEditPage })), ) const ParentEditAllStudentsPage = lazy(() => import('./pages/parent/extraParentParityPages').then((m) => ({ default: m.ParentEditAllStudentsPage, })), ) const ParentAddEmergencyFormPage = lazy(() => import('./pages/parent/extraParentParityPages').then((m) => ({ default: m.ParentAddEmergencyFormPage, })), ) const ParentAddStudentFormPage = lazy(() => import('./pages/parent/extraParentParityPages').then((m) => ({ default: m.ParentAddStudentFormPage, })), ) const ParentUpdateProfileParityPage = lazy(() => import('./pages/parent/extraParentParityPages').then((m) => ({ default: m.ParentUpdateProfileParityPage, })), ) const ParentAddSecondParentPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentAddSecondParentPage })), ) const ParentAssignmentsPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentAssignmentsPage })), ) const ParentCalendarPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentCalendarPage })), ) const ParentClassesPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentClassesPage })), ) const ParentEnrollFailurePage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentEnrollFailurePage })), ) const ParentEnrollSuccessPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentEnrollSuccessPage })), ) const ParentInvoicePaymentPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentInvoicePaymentPage })), ) const ParentMessagePage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentMessagePage })), ) const ParentNoKidsRegisteredPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentNoKidsRegisteredPage, })), ) const ParentPaymentSuccessPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentPaymentSuccessPage })), ) const ParentProgressListPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentProgressListPage })), ) const ParentReportCardsPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentReportCardsPage })), ) const ParentScoresPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentScoresPage })), ) const StudentScoreCardListPage = lazy(() => import('./pages/student/StudentScoreCardListPage').then((m) => ({ default: m.StudentScoreCardListPage, })), ) const StudentScoreCardPage = lazy(() => import('./pages/student/StudentScoreCardPage').then((m) => ({ default: m.StudentScoreCardPage })), ) const ParentSuccessMessagePage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentSuccessMessagePage })), ) const ParentWithdrawSuccessPage = lazy(() => import('./pages/parent/staticParityPages').then((m) => ({ default: m.ParentWithdrawSuccessPage })), ) const ParentContactPage = lazy(() => import('./pages/parent/WiredParentScreens').then((m) => ({ default: m.ParentContactPage })), ) const ParentEnrollClassesPage = lazy(() => import('./pages/parent/WiredParentScreens').then((m) => ({ default: m.ParentEnrollClassesPage, })), ) const ParentEventsPage = lazy(() => import('./pages/parent/WiredParentScreens').then((m) => ({ default: m.ParentEventsPage })), ) const ParentPaymentInvoicesPage = lazy(() => import('./pages/parent/WiredParentScreens').then((m) => ({ default: m.ParentPaymentInvoicesPage, })), ) const ParentRegisterStudentPage = lazy(() => import('./pages/parent/WiredParentScreens').then((m) => ({ default: m.ParentRegisterStudentPage, })), ) const ParentReportAttendancePage = lazy(() => import('./pages/parent/WiredParentScreens').then((m) => ({ default: m.ParentReportAttendancePage, })), ) function RouteFallback() { return