import{M as c,h as i,g as r}from"./framework.3f630664.js";const p="flowbite-themable-injection-key",d={blue:{background:"bg-blue-700 dark:bg-blue-600",disabled:"",hover:"hover:bg-blue-800 dark:hover:bg-blue-700",text:"text-blue-600 dark:text-blue-500",border:"border-blue-600 dark:border-blue-500",focus:"focus:ring-blue-300 dark:focus:ring-blue-800"},green:{background:"bg-green-700 dark:bg-green-600",disabled:"",hover:"hover:bg-green-800 dark:hover:bg-green-700",text:"text-green-600 dark:text-green-500",border:"border-green-600 dark:border-green-500",focus:"focus:ring-green-300 dark:focus:ring-green-800"},pink:{background:"bg-pink-700 dark:bg-pink-600",disabled:"",hover:"hover:bg-pink-800 dark:hover:bg-pink-700",text:"text-pink-600 dark:text-pink-500",border:"border-pink-600 dark:border-pink-500",focus:"focus:ring-pink-300 dark:focus:ring-pink-900"},purple:{background:"bg-purple-700 dark:bg-purple-600",disabled:"",hover:"hover:bg-purple-800 dark:hover:bg-purple-700",text:"text-purple-600 dark:text-purple-500",border:"border-purple-600 dark:border-purple-500",focus:"focus:ring-purple-300 dark:focus:ring-purple-900"},red:{background:"bg-red-700 dark:bg-red-600",disabled:"",hover:"hover:bg-red-800 dark:hover:bg-red-700",text:"text-red-600 dark:text-red-500",border:"border-red-600 dark:border-red-500",focus:"focus:ring-red-300 dark:focus:ring-red-900"}};function f(a){const o=c(p,i(null)),e=r(()=>a||o.value),u=r(()=>!!(o!=null&&o.value)),b=r(()=>e.value?d[e.value].background:""),s=r(()=>e.value?d[e.value].border:""),l=r(()=>(o==null?void 0:o.value)||void 0),n=r(()=>e.value?d[e.value].disabled:""),t=r(()=>e.value?d[e.value].focus:""),g=r(()=>e.value?d[e.value].hover:""),k=r(()=>e.value?d[e.value].text:"");return{backgroundClasses:b,borderClasses:s,color:l,disabledClasses:n,focusClasses:t,hoverClasses:g,isActive:u,textClasses:k}}export{p as F,f as u};
