import { Button as e } from "../../../components/ui/button.js";
import { Dialog as t, DialogContent as n, DialogHeader as r, DialogTitle as i, DialogTrigger as a } from "../../../components/ui/dialog.js";
import { Label as o } from "../../../components/ui/label.js";
import { Switch as s } from "../../../components/ui/switch.js";
import { jsx as c, jsxs as l } from "react/jsx-runtime";
import { Settings as u } from "lucide-react";
//#region src/features/workbench/components/WorkbenchSettingsModal.tsx
var d = ({ settings: d, onSettingsChange: f, open: p, onOpenChange: m }) => {
	let h = (e, t) => {
		f({
			...d,
			[e]: t
		});
	};
	return /* @__PURE__ */ l(t, {
		open: p,
		onOpenChange: m,
		children: [/* @__PURE__ */ c(a, {
			asChild: !0,
			children: /* @__PURE__ */ c(e, {
				variant: "ghost",
				size: "icon",
				className: "text-gray-500 hover:cursor-pointer hover:text-gray-700",
				children: /* @__PURE__ */ c(u, { className: "h-5 w-5" })
			})
		}), /* @__PURE__ */ l(n, {
			className: "sm:max-w-md",
			children: [/* @__PURE__ */ c(r, { children: /* @__PURE__ */ c(i, { children: "Workflow Settings" }) }), /* @__PURE__ */ c("div", {
				className: "flex flex-col gap-4 p-4",
				children: /* @__PURE__ */ l("div", {
					className: "flex items-center justify-between space-x-2",
					children: [/* @__PURE__ */ l("div", {
						className: "flex-1",
						children: [/* @__PURE__ */ c(o, {
							htmlFor: "debug-mode",
							className: "text-sm font-medium",
							children: "Enable Debug Mode"
						}), /* @__PURE__ */ c("p", {
							className: "text-muted-foreground text-sm",
							children: "Show debug info for each document"
						})]
					}), /* @__PURE__ */ c(s, {
						id: "debug-mode",
						checked: d.enableDebugMode,
						onCheckedChange: (e) => h("enableDebugMode", e)
					})]
				})
			})]
		})]
	});
};
//#endregion
export { d as default };
