import{r as s,h as t}from"./p-b891c2f1.js";import{o as i}from"./p-494248b1.js";const o=class{constructor(t){s(this,t),this.type="primary",this.size="medium",this.full=!0}render(){return t("sc-button",{href:this.checkoutLink,type:this.type,size:this.size,full:this.full,loading:this.busy,disabled:this.busy,onClick:()=>(this.busy=!0,!0)},!!this.icon&&t("sc-icon",{name:this.icon,slot:"prefix"}),t("slot",null))}};i(o,["busy","checkoutLink"],!1),o.style="sc-order-submit{display:block;width:auto}";export{o as sc_cart_submit}