import{s as m}from"./chunk-LvLJmgfZ.js";import{t as b}from"./react-Bj1aDYRI.js";import{t as g}from"./compiler-runtime-B3qBwwSJ.js";import{n as c}from"./clsx-XrBBnd7s.js";import{n as p}from"./cn-DYvqRARy.js";import{t as w}from"./jsx-runtime-Blw4afVn.js";const y=p("flex items-center justify-center m-0 leading-none font-medium border border-foreground/10 shadow-xs-solid active:shadow-none dark:border-border text-sm",{variants:{color:{gray:"mo-button gray",white:"mo-button white",green:"mo-button green",red:"mo-button red",yellow:"mo-button yellow","hint-green":"mo-button hint-green",disabled:"mo-button disabled active:shadow-xs-solid"},shape:{rectangle:"rounded",circle:"rounded-full"},size:{small:"",medium:""}},compoundVariants:[{size:"small",shape:"circle",class:"h-[24px] w-[24px] px-[5.5px] py-[5.5px]"},{size:"medium",shape:"circle",class:"px-2 py-2"},{size:"small",shape:"rectangle",class:"px-1 py-1 h-[24px] w-[24px]"},{size:"medium",shape:"rectangle",class:"px-3 py-2"}],defaultVariants:{color:"gray",size:"medium",shape:"rectangle"}}),z=p("font-mono w-full flex-1 inline-flex items-center justify-center rounded px-2.5 text-foreground/60 h-[36px] hover:shadow-md hover:cursor-pointer focus:shadow-md focus:outline-hidden text-[hsl(0, 0%, 43.5%)] bg-transparent hover:bg-background focus:bg-background");var u=g(),f=m(b(),1),h=m(w(),1);const x=f.forwardRef((a,n)=>{let e=(0,u.c)(15),r,s,o,t,l;e[0]===a?(r=e[1],s=e[2],o=e[3],t=e[4],l=e[5]):({color:s,shape:t,size:l,className:r,...o}=a,e[0]=a,e[1]=r,e[2]=s,e[3]=o,e[4]=t,e[5]=l);let i;e[6]!==r||e[7]!==s||e[8]!==t||e[9]!==l?(i=c(y({color:s,shape:t,size:l}),r),e[6]=r,e[7]=s,e[8]=t,e[9]=l,e[10]=i):i=e[10];let d;return e[11]!==o||e[12]!==n||e[13]!==i?(d=(0,h.jsx)("button",{ref:n,className:i,...o,children:o.children}),e[11]=o,e[12]=n,e[13]=i,e[14]=d):d=e[14],d});x.displayName="Button";const v=f.forwardRef((a,n)=>{let e=(0,u.c)(9),r,s;e[0]===a?(r=e[1],s=e[2]):({className:r,...s}=a,e[0]=a,e[1]=r,e[2]=s);let o;e[3]===r?o=e[4]:(o=c(z(),r),e[3]=r,e[4]=o);let t;return e[5]!==s||e[6]!==n||e[7]!==o?(t=(0,h.jsx)("input",{ref:n,className:o,...s}),e[5]=s,e[6]=n,e[7]=o,e[8]=t):t=e[8],t});v.displayName="Input";export{x as t};
