import { MarkdownRenderer as e } from "../../atomic/molecules/markdown/MarkdownRenderer.js";
import { sanitizeAgentMarkdown as t } from "../../shared/agentText.js";
import { container as n, emptyMessage as r } from "./AgentMarkdownCard.css.js";
import { jsx as i } from "react/jsx-runtime";
//#region src/components/agent/AgentMarkdownCard.tsx
var a = ({ content: a, emptyMessage: o }) => {
	let s = t(a), c;
	return c = s == null ? /* @__PURE__ */ i("p", {
		className: r,
		children: o
	}) : /* @__PURE__ */ i(e, { content: s }), /* @__PURE__ */ i("div", {
		className: n,
		children: c
	});
};
//#endregion
export { a as AgentMarkdownCard, a as default };

//# sourceMappingURL=AgentMarkdownCard.js.map