import{j as r}from"./index-D4ZMoJFe.js";function o({checked:t,disabled:e=!1,onClick:n}){return r.jsx("button",{type:"button",className:`relative inline-flex h-7 w-14 items-center rounded-full border transition ${t?"border-accent/40 bg-accent/15":"border-border bg-surface2 text-textMuted"} ${e?"cursor-not-allowed opacity-60":""}`,onClick:n,disabled:e,"aria-pressed":t,children:r.jsx("span",{className:`inline-flex h-5 w-5 rounded-full bg-white shadow transition ${t?"translate-x-8":"translate-x-1"}`})})}export{o as T};
