import{h as c,j as e}from"./codemirror-core-vkcnXJgD.js";import{s as n}from"./chunk-J6JGI6RM-HkS3XEKb.js";import{c as u}from"./react-dom-CwaHFgt6.js";const m=c.forwardRef((r,t)=>{const{label:s,description:l,value:a,onValueChange:i,disabled:d}=r,o=a?"true":"false";return e.jsx(n,{classNames:{base:u("inline-flex flex-row-reverse w-full max-w-full bg-default-100/50 dark:bg-white/5 hover:bg-default-200/50 dark:hover:bg-white/10 items-center","justify-between cursor-pointer rounded-xl gap-2 p-4 border border-transparent transition-all duration-200","data-[selected=true]:border-primary/50 data-[selected=true]:bg-primary/5 backdrop-blur-md")},...r,ref:t,isDisabled:d,isSelected:a,value:o,onValueChange:i,children:e.jsxs("div",{className:"flex flex-col gap-1",children:[e.jsx("p",{className:"text-medium",children:s}),e.jsx("p",{className:"text-tiny text-default-400",children:l})]})})});m.displayName="SwitchCard";export{m as S};
