import{F as g,m as t,P as m,_ as h,R as f,a1 as v,S as C}from"./vendor-DJC-2VPc.js";import{a_ as _}from"./index-BZco6cza.js";import{u as b}from"./useCheckout-C1A6QOJc.js";const F=g({__name:"proceed-to",props:{disabled:{type:Boolean,default:!1},to:{},testId:{}},setup(e){const o=e,{loading:n,changing:s,hasValidationErrors:l}=_(),{loading:d,changing:i}=b(),c=t(()=>n.value||d.value),r=t(()=>s.value||i.value),u=t(()=>o.disabled||c.value||r.value||l.value);return(a,k)=>{const p=m("VcButton");return f(),h(p,{"data-test-id":a.testId,to:a.to,disabled:u.value,"full-width":"",class:"mt-4 print:!hidden"},{default:v(()=>[C(a.$slots,"default")]),_:3},8,["data-test-id","to","disabled"])}}});export{F as _};
//# sourceMappingURL=proceed-to.vue_vue_type_script_setup_true_lang-BhKC884q.js.map
