import{M as g,E as t,R as h,U as m,V as f,ap as v,O as C}from"./vendor-CsGITfgk.js";import{aY as _}from"./index-B7qwhRTg.js";import{u as b}from"./useCheckout-DSGieegQ.js";const E=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 C(),h(p,{"data-test-id":a.testId,to:a.to,disabled:u.value,"full-width":"",class:"mt-4 print:!hidden"},{default:f(()=>[v(a.$slots,"default")]),_:3},8,["data-test-id","to","disabled"])}}});export{E as _};
//# sourceMappingURL=proceed-to.vue_vue_type_script_setup_true_lang-DWOC-1iZ.js.map
