import { j as jsxRuntimeExports } from "./jsx-runtime.CXYVdt5g.js";
import "react";
import "./index.bXWE_wTx.js";
import Markdown from "./Markdown.BlIgLrkl.js";
import { p } from "./text.Kef1FAw8.js";
function ChatReasoningPart({ part }) {
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center gap-1.5", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("details", { children: [
    /* @__PURE__ */ jsxRuntimeExports.jsxs("summary", { className: "cursor-pointer list-none flex gap-1 items-center", children: [
      /* @__PURE__ */ jsxRuntimeExports.jsxs(
        "svg",
        {
          className: "-rotate-90 transform opacity-60 transition-all duration-300",
          fill: "none",
          height: "14",
          width: "14",
          stroke: "currentColor",
          strokeLinecap: "round",
          strokeLinejoin: "round",
          strokeWidth: "2",
          viewBox: "0 0 24 24",
          children: [
            /* @__PURE__ */ jsxRuntimeExports.jsx("title", { children: "Arrow" }),
            /* @__PURE__ */ jsxRuntimeExports.jsx("polyline", { points: "6 9 12 15 18 9" })
          ]
        }
      ),
      /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "text-xs font-normal", children: "Thinking..." })
    ] }),
    /* @__PURE__ */ jsxRuntimeExports.jsx(p, { as: "div", size: "2", className: "text-gray-500 mt-2 ml-2 border-l-2 border-gray-300 pl-3", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Markdown, { content: part.text }) })
  ] }) });
}
export {
  ChatReasoningPart as default
};
//# sourceMappingURL=ChatReasoningPart.x6PQzzY6.js.map
