import"./CWj6FrbW.js";import{p as m,f as p,b as h,c as v,h as x,l as w,d as _,r as z}from"./Cp_hX0eh.js";import{a as C}from"./tLFXBP7P.js";import{a as k}from"./Cv6CwVfk.js";import{b as B}from"./C0mQlu7J.js";import{p as e,r as N}from"./BbaH2eDw.js";var j=p("<button><!></button>");function H(s,r){m(r,!0);let n=e(r,"variant",3,"primary"),i=e(r,"size",3,"medium"),d=e(r,"type",3,"button"),o=e(r,"disabled",3,!1),b=e(r,"class",3,""),a=e(r,"el",15),c=N(r,["$$slots","$$events","$$legacy","variant","size","type","disabled","class","children","el"]);const l={primary:"border border-thin border-rc-green-450 shadow-inner-white-soft 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 shadow-inner-white-soft 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=w(()=>`text-gray-200
    rounded
    transition-colors
    ${l[n()]}
    ${g[i()]}
    ${o()?"opacity-50 cursor-not-allowed":"cursor-pointer"}
    ${b()}
  `.trim());var t=j();k(t,()=>({type:d(),class:x(u),disabled:o(),...c}));var y=_(t);C(y,()=>r.children),z(t),B(t,f=>a(f),()=>a()),h(s,t),v()}export{H as B};
