"use client";
import { jsx } from 'react/jsx-runtime';
import { Suspense, lazy } from 'react';
import { PageBuilderSkeleton } from '../loading/page-builder-skeleton.mjs';
import { ErrorBoundary } from 'react-error-boundary';
import { DefaultError } from '../shared/default-error.mjs';

const PageBuilderPageInternal = lazy(
  () => import('./page-builder-page.internal.mjs').then((m) => ({
    default: m.PageBuilderPage
  }))
);
function PageBuilderPage({ id }) {
  return /* @__PURE__ */ jsx(ErrorBoundary, { FallbackComponent: DefaultError, children: /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(PageBuilderSkeleton, {}), children: /* @__PURE__ */ jsx(PageBuilderPageInternal, { id }) }) });
}

export { PageBuilderPage };
