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