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

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

export { FormBuilderPageComponent };
