"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
const designSystem = require("@choiceform/design-system");
const iconsReact = require("@choiceform/icons-react");
const React = require("react");
const index = require("../../../../i18n/index.cjs");
const tv = require("./tv.cjs");
const promptInputContext = require("../../context/prompt-input-context.cjs");
const PromptResearchSwitch = React.memo(function PromptResearchSwitch2(props) {
  const { className, ...rest } = props;
  const { isDeepThinkingEnabled, toggleDeepThinking } = promptInputContext.usePromptInputContext();
  const research = index.t("prompt-input", "research");
  const tv$1 = tv.promptResearchSwitchTv({ isDeepThinkingEnabled });
  return /* @__PURE__ */ jsxRuntime.jsxs(
    designSystem.Button,
    {
      variant: "ghost",
      size: "default",
      onClick: toggleDeepThinking,
      className: tv$1.button({ className }),
      ...rest,
      children: [
        /* @__PURE__ */ jsxRuntime.jsx(iconsReact.Search, {}),
        research
      ]
    }
  );
});
exports.PromptResearchSwitch = PromptResearchSwitch;
//# sourceMappingURL=prompt-research-switch.cjs.map
