"use client";
import { jsx } from 'react/jsx-runtime';
import { lazy } from 'react';
import { ComposedRoute } from '@btst/stack/client/components';
import { DefaultError } from '../shared/default-error.mjs';
import { BoardsListSkeleton } from '../loading/boards-list-skeleton.mjs';
import { NotFoundPage } from './404-page.mjs';

const NewBoardPage = lazy(
  () => import('./new-board-page.internal.mjs').then((m) => ({
    default: m.NewBoardPage
  }))
);
function NewBoardPageComponent() {
  return /* @__PURE__ */ jsx(
    ComposedRoute,
    {
      path: "/kanban/new",
      PageComponent: NewBoardPage,
      ErrorComponent: DefaultError,
      LoadingComponent: BoardsListSkeleton,
      NotFoundComponent: NotFoundPage,
      onError: (error) => console.error("NewBoardPage error:", error)
    }
  );
}

export { NewBoardPageComponent };
