import{_ as s,o as a,e as o,r as i,n,O as l,f as d}from"./app-WJL2kJBE.js";const c={props:{loading:Boolean,loadingClass:String,type:{type:String,default:"submit"}}},u=["type","disabled"];function m(r,t,e,g,f,p){return a(),o("button",{type:e.type,disabled:e.loading,class:n([{"opacity-25":e.loading},"flex items-center px-4 py-3 bg-blue-600 border border-transparent rounded-md font-semibold text-xs text-white uppercase tracking-widest hover:bg-blue-700 active:bg-blue-700 focus:outline-none transition ease-in-out duration-150"])},[i(r.$slots,"default"),e.loading?(a(),o("svg",{key:0,viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",class:n(["stroke-current h-4 w-4 ml-2",e.loadingClass])},t[0]||(t[0]=[l('<g fill="none" fill-rule="evenodd"><g transform="translate(1 1)" stroke-width="2"><circle stroke-opacity=".5" cx="18" cy="18" r="18"></circle><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" type="rotate" from="0 18 18" to="360 18 18" dur="1s" repeatCount="indefinite"></animateTransform></path></g></g>',1)]),2)):d("",!0)],10,u)}const y=s(c,[["render",m]]);export{y as L};
