import{_ as n,o as e,c as o,n as a,b as s,f as i,E as c}from"./app-32ed258c.js";const l={props:{loading:Boolean,loadingClass:String}},d=["disabled"],g=c('<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),u=[g];function f(r,m,t,p,_,h){return e(),o("button",{disabled:t.loading,class:a([{"pr-12 opacity-75 cursor-wait":t.loading},"relative flex items-center justify-center px-4 py-3 bg-gray-800 border border-transparent rounded-md font-semibold text-sm text-white uppercase tracking-widest hover:bg-gray-700 active:bg-gray-900 focus:outline-none focus:ring focus:ring-gray-300 focus:shadow-outline-gray transition-all ease-in-out duration-150"])},[t.loading?(e(),o("svg",{key:0,viewBox:"0 0 38 38",class:a([t.loadingClass,"absolute right-4 stroke-current inline h-5 w-5 my-0"]),xmlns:"http://www.w3.org/2000/svg"},u,2)):s("",!0),i(r.$slots,"default")],10,d)}const b=n(l,[["render",f]]);export{b as L};
