import { lazy } from 'react';

// Pages
export const AboutPage = lazy(() => import('pl-fe/pages/utils/about'));
export const AccountGallery = lazy(() => import('pl-fe/pages/accounts/account-gallery'));
export const AccountTimeline = lazy(() => import('pl-fe/pages/accounts/account-timeline'));
export const AdminAccount = lazy(() => import('pl-fe/pages/dashboard/account'));
export const Aliases = lazy(() => import('pl-fe/pages/settings/aliases'));
export const Announcements = lazy(() => import('pl-fe/pages/dashboard/announcements'));
export const AuthTokenList = lazy(() => import('pl-fe/pages/settings/auth-token-list'));
export const AwaitingApproval = lazy(() => import('pl-fe/pages/dashboard/awaiting-approval'));
export const Backups = lazy(() => import('pl-fe/pages/settings/backups'));
export const Blocks = lazy(() => import('pl-fe/pages/settings/blocks'));
export const BookmarkFolders = lazy(() => import('pl-fe/pages/status-lists/bookmark-folders'));
export const Bookmarks = lazy(() => import('pl-fe/pages/status-lists/bookmarks'));
export const BubbleTimeline = lazy(() => import('pl-fe/pages/timelines/bubble-timeline'));
export const ChatIndex = lazy(() => import('pl-fe/pages/chats/chats'));
export const Circle = lazy(() => import('pl-fe/pages/fun/circle'));
export const Circles = lazy(() => import('pl-fe/pages/account-lists/circles'));
export const CircleTimeline = lazy(() => import('pl-fe/pages/timelines/circle-timeline'));
export const CommunityTimeline = lazy(() => import('pl-fe/pages/timelines/community-timeline'));
export const ComposeEvent = lazy(() => import('pl-fe/pages/statuses/compose-event'));
export const EditEvent = lazy(() => import('pl-fe/pages/statuses/compose-event').then(m => ({ default: m.EditEventPage })));
export const Conversations = lazy(() => import('pl-fe/pages/status-lists/conversations'));
export const CreateApp = lazy(() => import('pl-fe/pages/developers/create-app'));
export const CryptoDonate = lazy(() => import('pl-fe/pages/utils/crypto-donate'));
export const Dashboard = lazy(() => import('pl-fe/pages/dashboard/dashboard'));
export const DeleteAccount = lazy(() => import('pl-fe/pages/settings/delete-account'));
export const Developers = lazy(() => import('pl-fe/pages/developers/developers'));
export const Directory = lazy(() => import('pl-fe/pages/account-lists/directory'));
export const DomainBlocks = lazy(() => import('pl-fe/pages/settings/domain-blocks'));
export const Domains = lazy(() => import('pl-fe/pages/dashboard/domains'));
export const DraftStatuses = lazy(() => import('pl-fe/pages/status-lists/draft-statuses'));
export const Drive = lazy(() => import('pl-fe/pages/drive/drive'));
export const EditEmail = lazy(() => import('pl-fe/pages/settings/edit-email'));
export const EditFilter = lazy(() => import('pl-fe/pages/settings/edit-filter'));
export const EditGroup = lazy(() => import('pl-fe/pages/groups/edit-group'));
export const EditPassword = lazy(() => import('pl-fe/pages/settings/edit-password'));
export const EditProfile = lazy(() => import('pl-fe/pages/settings/edit-profile'));
export const EventDiscussion = lazy(() => import('pl-fe/pages/statuses/event-discussion'));
export const EventInformation = lazy(() => import('pl-fe/pages/statuses/event-information'));
export const Events = lazy(() => import('pl-fe/pages/status-lists/events'));
export const ExportData = lazy(() => import('pl-fe/pages/settings/export-data'));
export const ExternalLogin = lazy(() => import('pl-fe/pages/auth/external-login'));
export const FavouritedStatuses = lazy(() => import('pl-fe/pages/status-lists/favourited-statuses'));
export const FederationRestrictions = lazy(() => import('pl-fe/pages/utils/federation-restrictions'));
export const Filters = lazy(() => import('pl-fe/pages/settings/filters'));
export const FollowedTags = lazy(() => import('pl-fe/pages/settings'));
export const Followers = lazy(() => import('pl-fe/pages/account-lists/followers'));
export const Following = lazy(() => import('pl-fe/pages/account-lists/following'));
export const FollowRequests = lazy(() => import('pl-fe/pages/account-lists/follow-requests'));
export const GenericNotFound = lazy(() => import('pl-fe/pages/utils/generic-not-found'));
export const GroupBlockedMembers = lazy(() => import('pl-fe/pages/groups/group-blocked-members'));
export const GroupGallery = lazy(() => import('pl-fe/pages/groups/group-gallery'));
export const GroupMembers = lazy(() => import('pl-fe/pages/groups/group-members'));
export const GroupMembershipRequests = lazy(() => import('pl-fe/pages/groups/group-membership-requests'));
export const GroupTimeline = lazy(() => import('pl-fe/pages/timelines/group-timeline'));
export const Groups = lazy(() => import('pl-fe/pages/groups/groups'));
export const HashtagTimeline = lazy(() => import('pl-fe/pages/timelines/hashtag-timeline'));
export const HomeTimeline = lazy(() => import('pl-fe/pages/timelines/home-timeline'));
export const ImportData = lazy(() => import('pl-fe/pages/settings/import-data'));
export const IntentionalError = lazy(() => import('pl-fe/pages/utils/intentional-error'));
export const InteractionPolicies = lazy(() => import('pl-fe/pages/settings/interaction-policies'));
export const InteractionRequests = lazy(() => import('pl-fe/pages/status-lists/interaction-requests'));
export const LandingPage = lazy(() => import('pl-fe/pages/utils/landing'));
export const LandingTimeline = lazy(() => import('pl-fe/pages/timelines/landing-timeline'));
export const LinkTimeline = lazy(() => import('pl-fe/pages/timelines/link-timeline'));
export const Lists = lazy(() => import('pl-fe/pages/account-lists/lists'));
export const ListTimeline = lazy(() => import('pl-fe/pages/timelines/list-timeline'));
export const LoginPage = lazy(() => import('pl-fe/pages/auth/login'));
export const LogoutPage = lazy(() => import('pl-fe/pages/auth/logout'));
export const ManageGroup = lazy(() => import('pl-fe/pages/groups/manage-group'));
export const MediaGallery = lazy(() => import('pl-fe/components/media-gallery'));
export const Migration = lazy(() => import('pl-fe/pages/settings/migration'));
export const ModerationLog = lazy(() => import('pl-fe/pages/dashboard/moderation-log'));
export const Mutes = lazy(() => import('pl-fe/pages/settings/mutes'));
export const NewStatus = lazy(() => import('pl-fe/pages/utils/new-status'));
export const Notifications = lazy(() => import('pl-fe/pages/notifications/notifications'));
export const OutgoingFollowRequests = lazy(() => import('pl-fe/pages/account-lists/outgoing-follow-requests'));
export const PasswordReset = lazy(() => import('pl-fe/pages/auth/password-reset'));
export const PinnedStatuses = lazy(() => import('pl-fe/pages/status-lists/pinned-statuses'));
export const PlFeConfig = lazy(() => import('pl-fe/pages/dashboard/pl-fe-config'));
export const PublicTimeline = lazy(() => import('pl-fe/pages/timelines/public-timeline'));
export const Quotes = lazy(() => import('pl-fe/pages/status-lists/quotes'));
export const Report = lazy(() => import('pl-fe/pages/dashboard/report'));
export const Reports = lazy(() => import('pl-fe/pages/dashboard/reports'));
export const RegisterInvite = lazy(() => import('pl-fe/pages/auth/register-with-invite'));
export const RegistrationPage = lazy(() => import('pl-fe/pages/auth/registration'));
export const Relays = lazy(() => import('pl-fe/pages/dashboard/relays'));
export const RemoteTimeline = lazy(() => import('pl-fe/pages/timelines/remote-timeline'));
export const Rules = lazy(() => import('pl-fe/pages/dashboard/rules'));
export const ScheduledStatuses = lazy(() => import('pl-fe/pages/status-lists/scheduled-statuses'));
export const Search = lazy(() => import('pl-fe/pages/search/search'));
export const ServiceWorkerInfo = lazy(() => import('pl-fe/pages/developers/service-worker-info'));
export const ServerInfo = lazy(() => import('pl-fe/pages/utils/server-info'));
export const Settings = lazy(() => import('pl-fe/pages/settings/settings'));
export const SettingsStore = lazy(() => import('pl-fe/pages/developers/settings-store'));
export const Share = lazy(() => import('pl-fe/pages/utils/share'));
export const Status = lazy(() => import('pl-fe/pages/statuses/status'));
export const TestTimeline = lazy(() => import('pl-fe/pages/timelines/test-timeline'));
export const ThemeEditor = lazy(() => import('pl-fe/pages/dashboard/theme-editor'));
export const Privacy = lazy(() => import('pl-fe/pages/settings/privacy'));
export const UserIndex = lazy(() => import('pl-fe/pages/dashboard/user-index'));
export const WrenchedTimeline = lazy(() => import('pl-fe/pages/timelines/wrenched-timeline'));

// Panels
export const AccountNotePanel = lazy(() => import('pl-fe/features/ui/components/panels/account-note-panel'));
export const AnnouncementsPanel = lazy(() => import('pl-fe/components/announcements/announcements-panel'));
export const BirthdayPanel = lazy(() => import('pl-fe/features/ui/components/panels/birthday-panel'));
export const CryptoDonatePanel = lazy(() => import('pl-fe/features/crypto-donate/components/crypto-donate-panel'));
export const GroupMediaPanel = lazy(() => import('pl-fe/features/ui/components/panels/group-media-panel'));
export const InstanceInfoPanel = lazy(() => import('pl-fe/features/ui/components/panels/instance-info-panel'));
export const InstanceModerationPanel = lazy(() => import('pl-fe/features/ui/components/panels/instance-moderation-panel'));
export const LatestAccountsPanel = lazy(() => import('pl-fe/features/admin/components/latest-accounts-panel'));
export const MyGroupsPanel = lazy(() => import('pl-fe/features/ui/components/panels/my-groups-panel'));
export const NewEventPanel = lazy(() => import('pl-fe/features/ui/components/panels/new-event-panel'));
export const NewGroupPanel = lazy(() => import('pl-fe/features/ui/components/panels/new-group-panel'));
export const PinnedAccountsPanel = lazy(() => import('pl-fe/features/ui/components/panels/pinned-accounts-panel'));
export const ProfileFieldsPanel = lazy(() => import('pl-fe/features/ui/components/panels/profile-fields-panel'));
export const ProfileInfoPanel = lazy(() => import('pl-fe/features/ui/components/panels/profile-info-panel'));
export const ProfileMediaPanel = lazy(() => import('pl-fe/features/ui/components/panels/profile-media-panel'));
export const PromoPanel = lazy(() => import('pl-fe/features/ui/components/panels/promo-panel'));
export const SignUpPanel = lazy(() => import('pl-fe/features/ui/components/panels/sign-up-panel'));
export const TrendsPanel = lazy(() => import('pl-fe/features/ui/components/panels/trends-panel'));
export const UserPanel = lazy(() => import('pl-fe/features/ui/components/panels/user-panel'));
export const WhoToFollowPanel = lazy(() => import('pl-fe/features/ui/components/panels/who-to-follow-panel'));

export const Audio = lazy(() => import('pl-fe/features/audio'));
export const ChatWidget = lazy(() => import('pl-fe/features/chats/components/chat-widget/chat-widget'));
export const ComposeEditor = lazy(() => import('pl-fe/features/compose/editor'));
export const ComposeForm = lazy(() => import('pl-fe/features/compose/components/compose-form'));
export const DatePicker = lazy(() => import('pl-fe/features/birthdays/date-picker'));
export const DropdownNavigation = lazy(() => import('pl-fe/components/dropdown-navigation'));
export const EmojiPicker = lazy(() => import('pl-fe/features/emoji/components/emoji-picker'));
export const EventHeader = lazy(() => import('pl-fe/features/event/components/event-header'));
export const MfaForm = lazy(() => import('pl-fe/features/security/mfa-form'));
export const ModalRoot = lazy(() => import('pl-fe/features/ui/components/modal-root'));
export const ProfileField = lazy(() => import('pl-fe/features/ui/components/profile-field'));
export const AccountHoverCard = lazy(() => import('pl-fe/components/account-hover-card'));
export const StatusHoverCard = lazy(() => import('pl-fe/components/status-hover-card'));
export const Video = lazy(() => import('pl-fe/features/video'));
