import{r as p}from"./i18n-Dnhn5Rxr.js";import{R as l,a7 as u,t as d,a as m,w as c,T as g,a5 as _,a0 as h,a8 as v}from"./index-DWyDLubb.js";import{G as f}from"./utils.svelte-CCyS_0CY.js";import{B as $}from"./Button-D-_s2ksk.js";import"./clone-BkeCM4Nl.js";import"./snippet-BWgYNF9D.js";import"./Image-CeW7PJs4.js";import"./misc-vsnLZ-Y1.js";/* empty css                                            */import"./ScrollFade.svelte_svelte_type_style_lang-DPHOQHBm.js";/* empty css                                                   */function j(s,t){l(t,!0);let a=p(t,["$$slots","$$events","$$legacy"]);const e=new f(a);function i(){e.dispatch("click")}{let o=_(()=>!e.shared.interactive);$(s,{get value(){return e.props.value},get variant(){return e.props.variant},get elem_id(){return e.shared.elem_id},get elem_classes(){return e.shared.elem_classes},get size(){return e.props.size},get scale(){return e.shared.scale},get link(){return e.props.link},get icon(){return e.props.icon},get min_width(){return e.shared.min_width},get visible(){return e.shared.visible},get disabled(){return c(o)},get link_target(){return e.props.link_target},onclick:i,children:(n,k)=>{v();var r=u();d(()=>h(r,e.props.value??"")),m(n,r)},$$slots:{default:!0}})}g()}export{$ as BaseButton,j as default};
