import { jsx } from "react/jsx-runtime";
//#region src/modules/mermaid/ssr-fallback.tsx
/**
* SSR / Suspense fallback for the lazy Mermaid renderer.
*
* Determinism requirement: identical output server-side and client-side
* to avoid hydration mismatches. No Date, no random, no client-only API.
*
* Renders an empty placeholder shell sized via CSS so layout stays stable
* before mermaid's heavy chunk resolves and replaces it.
*/
function MermaidSsrFallback() {
	return /* @__PURE__ */ jsx("div", {
		className: "rich-mermaid-skeleton",
		"data-rich-skeleton": "mermaid"
	});
}
//#endregion
//#region src/modules/mermaid/module.tsx
var mermaidModule = {
	name: "mermaid",
	lazyRenderers: { Mermaid: () => import("./modules/mermaid/renderer.mjs").then((m) => ({ default: m.MermaidRenderer })) },
	ssrFallback: { Mermaid: /* @__PURE__ */ jsx(MermaidSsrFallback, {}) }
};
//#endregion
export { mermaidModule as t };
