import"./CWj6FrbW.js";import{p as f,f as p,b as v,c as h,h as x,u as _,d as z,r as C}from"./BRMnbBOX.js";import{a as k}from"./CB3MYTwM.js";import{a as B}from"./3HVf2z3Q.js";import{b as w}from"./CmatTLDp.js";import{p as r,r as N}from"./DCT4VKzQ.js";var j=p("<button><!></button>");function H(o,e){f(e,!0);let s=r(e,"variant",3,"primary"),n=r(e,"size",3,"medium"),d=r(e,"type",3,"button"),i=r(e,"disabled",3,!1),b=r(e,"class",3,""),a=r(e,"el",15),l=N(e,["$$slots","$$events","$$legacy","variant","size","type","disabled","class","children","el"]);const c={primary:"border border-thin border-rc-green-450 backdrop-blur-xl rounded-lg text-rc-gray-100 font-bold bg-rc-green-350 hover:bg-rc-green-250 focus:bg-rc-green-200 focus:outline-none active:bg-rc-green-250",secondary:"border border-thin border-rc-gray-050 backdrop-blur-2xl rounded-lg text-rc-gray-100 font-bold bg-rc-gray-930 hover:bg-double-gradient focus:bg-double-gradient focus:outline-none active:bg-double-gradient",outlined:"border border-rc-gray-500 bg-rc-gray-900 font-semibold hover:bg-rc-gray-700 hover:border-rc-gray-400 focus:outline-none focus:ring-0 focus:border-rc-gray-400 active:border-rc-gray-400",ghost:"bg-transparent rounded-lg hover:text-gray-100 focus:text-gray-100 active:text-gray-100"},g={big:"px-4 py-2 text-base",medium:"px-4 py-2 text-base",small:"px-4 py-2 text-base"};let u=_(()=>`text-gray-200
    rounded
    transition-colors
    disabled:opacity-50
    disabled:cursor-not-allowed
    disabled:pointer-events-none
    ${c[s()]}
    ${g[n()]}
    cursor-pointer
    ${b()}
  `.trim());var t=j();B(t,()=>({type:d(),class:x(u),disabled:i(),...l}));var y=z(t);k(y,()=>e.children),C(t),w(t,m=>a(m),()=>a()),v(o,t),h()}export{H as B};
