import { j as jsxRuntimeExports } from "../../../../../_virtual/jsx-runtime.js";
import { memo } from "react";
import { Markdown as Markdown$1 } from "../../../../../node_modules/.pnpm/react-markdown@10.1.0_@types_react@19.1.13_react@19.1.1/node_modules/react-markdown/lib/index.js";
import rehypeRaw from "../../../../../node_modules/.pnpm/rehype-raw@7.0.0/node_modules/rehype-raw/lib/index.js";
import remarkGfm from "../../../../../node_modules/.pnpm/remark-gfm@4.0.1/node_modules/remark-gfm/lib/index.js";
const MemoizedMarkdownBlock = memo(
  ({ content }) => {
    return /* @__PURE__ */ jsxRuntimeExports.jsx(Markdown$1, { rehypePlugins: [rehypeRaw, remarkGfm], children: content });
  },
  (prevProps, nextProps) => {
    if (prevProps.content !== nextProps.content) return false;
    return true;
  }
);
MemoizedMarkdownBlock.displayName = "MemoizedMarkdownBlock";
const Markdown = memo(({ content }) => {
  return /* @__PURE__ */ jsxRuntimeExports.jsx(MemoizedMarkdownBlock, { content });
});
Markdown.displayName = "MemoizedMarkdown";
export {
  Markdown as default
};
//# sourceMappingURL=Markdown.js.map
