import{_ as i}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as s,a as n,M as w,n as o,G as l,b as c,i as d}from"./index-Bb2UEb_P.js";const p={},m={width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function _(r,t){return e(),s("svg",m,t[0]||(t[0]=[n("circle",{class:"spinner",cx:"12",cy:"12",r:"10",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-dasharray":"40 20"},null,-1)]))}const u=i(p,[["render",_]]),y=["disabled"],f={key:0,class:"tw-absolute tw-inset-0 tw-flex tw-items-center tw-justify-center"},k=w({__name:"BlueButton",props:{type:{},disabled:{type:Boolean},loading:{type:Boolean}},setup(r){return(t,h)=>{const a=u;return e(),s("button",{class:o(["tw-relative tw-flex tw-items-center tw-justify-center tw-gap-2 tw-px-4 tw-text-white tw-text-xs tw-border tw-border-sky-400 sm:tw-text-sm tw-bg-sky-400 hover:tw-bg-sky-500 hover:tw-border-sky-500 tw-rounded disabled:tw-opacity-50 disabled:tw-cursor-not-allowed",t.type==="small"?"tw-h-10":"tw-h-10 sm:tw-h-12"]),disabled:t.disabled},[n("div",{class:o(["tw-flex tw-items-center tw-justify-center tw-gap-2",t.loading?"tw-opacity-0":"tw-opacity-100"])},[l(t.$slots,"default")],2),t.loading?(e(),s("div",f,[c(a,{class:"tw-size-6 tw-animate-spin tw-text-white"})])):d("",!0)],10,y)}}});export{k as _,u as a};
