import { Loader } from '@fluentui/react-northstar';
import * as React from 'react';
import { BrowserRouter, Route, Switch, Redirect } from 'react-router-dom';
import ExternalExampleLayout from './components/ExternalExampleLayout';
import DocsLayout from './components/DocsLayout';
import DocsRoot from './components/DocsRoot';
import DocsBehaviorRoot from './components/DocsBehaviorRoot';
import MarkdownPage from './components/MarkdownPage';
import { PerfDataProvider } from './components/ComponentDoc/PerfChart';
import * as Composition from './pages/Composition.mdx';
import * as Debugging from './pages/Debugging.mdx';
import * as Layout from './pages/Layout.mdx';
import * as ComponentArchitecture from './pages/ComponentArchitecture.mdx';
import Accessibility from './views/Accessibility';
import Colors from './views/Colors';
import ColorPalette from './views/ColorPalette';
import CategoryColorPalette from './views/CategoryColorPalette';
import ColorSchemes from './views/ColorSchemes';
import CategoryColorSchemes from './views/CategoryColorSchemes';
import FAQ from './views/FAQ';
import Performance from './views/Performance';
import * as ShorthandProps from './pages/ShorthandProps.mdx';
import * as ThemingSpecification from './pages/ThemingSpecification.mdx';
import Introduction from './views/Introduction';
import PageNotFound from './views/PageNotFound';
import QuickStart from './views/QuickStart';
import Theming from './views/Theming';
import ThemingExamples from './views/ThemingExamples';
import IconViewer from './views/IconViewer';
import IntegrateCustomComponents from './views/IntegrateCustomComponents';
import AccessibilityBehaviors from './views/AccessibilityBehaviors';
import FocusZone from './views/FocusZoneDoc';
import FocusTrapZone from './views/FocusTrapZoneDoc';
import AutoFocusZone from './views/AutoFocusZoneDoc';
import { LazyWithBabel } from './components/ComponentDoc/LazyWithBabel';
const _Builder = React.lazy(async () => ({
default: (await import(/* webpackChunkName: "builder" */ '@fluentui/react-builder')).Builder,
}));
const Builder: React.FunctionComponent = () => (
<_Builder />
);
const FullScreenPreview = React.lazy(async () => ({
default: (await import(/* webpackChunkName: "builder" */ '@fluentui/react-builder')).FullScreenPreview,
}));
const CustomToolbarPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/customToolbar'),
);
const ChatPanePrototype = React.lazy(() => import(/* webpackChunkName: "prototypes" */ './prototypes/chatPane'));
const ChatMessagesPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/chatMessages'),
);
const AsyncShorthandPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/AsyncShorthand'),
);
const EmployeeCardPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/employeeCard'),
);
const MeetingOptionsPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/meetingOptions'),
);
const SearchPagePrototype = React.lazy(() => import(/* webpackChunkName: "prototypes" */ './prototypes/SearchPage'));
const MentionsPrototype = React.lazy(() => import(/* webpackChunkName: "prototypes" */ './prototypes/mentions'));
const DropdownsPrototype = React.lazy(() => import(/* webpackChunkName: "prototypes" */ './prototypes/dropdowns'));
const PopupsPrototype = React.lazy(() => import(/* webpackChunkName: "prototypes" */ './prototypes/popups'));
const AlertsPrototype = React.lazy(() => import(/* webpackChunkName: "prototypes" */ './prototypes/alerts'));
const NestedPopupsAndDialogsPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/NestedPopupsAndDialogs'),
);
const VirtualizedTreePrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/VirtualizedTree'),
);
const CopyToClipboardPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/CopyToClipboard'),
);
const ParticipantsListPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/ParticipantsList'),
);
const CustomScrollbarPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/customScrollbar'),
);
const EditorToolbarPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/EditorToolbar'),
);
const HexagonalAvatarPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/hexagonalAvatar'),
);
const TablePrototype = React.lazy(() => import(/* webpackChunkName: "prototypes" */ './prototypes/table'));
const VirtualizedTablePrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/VirtualizedTable'),
);
const FormValidationPrototype = React.lazy(() =>
import(/* webpackChunkName: "prototypes" */ './prototypes/FormValidation'),
);
const Routes = () => (
{/* Remove trailing slash */}
}>
}
/>
}
/>
);
export default Routes;