import { jsx, jsxs } from "react/jsx-runtime";
import "react";
import "./index.NovFngrl.js";
import Markdown from "./Markdown.DVBpu_wv.js";
import { p } from "./text.neAuWNHD.js";
function ChatReasoningPart({ part }) {
  return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-1.5", children: /* @__PURE__ */ jsxs("details", { children: [
    /* @__PURE__ */ jsxs("summary", { className: "cursor-pointer list-none flex gap-1 items-center", children: [
      /* @__PURE__ */ 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__ */ jsx("title", { children: "Arrow" }),
            /* @__PURE__ */ jsx("polyline", { points: "6 9 12 15 18 9" })
          ]
        }
      ),
      /* @__PURE__ */ jsx("span", { className: "text-xs font-normal", children: "Thinking..." })
    ] }),
    /* @__PURE__ */ jsx(p, { as: "div", size: "2", className: "text-gray-500 mt-2 ml-2 border-l-2 border-gray-300 pl-3", children: /* @__PURE__ */ jsx(Markdown, { content: part.text }) })
  ] }) });
}
export {
  ChatReasoningPart as default
};
//# sourceMappingURL=ChatReasoningPart.Dwgwyrju.js.map
