import{b6 as l,a3 as i}from"./index-BZGh_npj.js";import{F as u,m,_ as d,R as p,e as _,a1 as C,a2 as f,a0 as h}from"./vendor-D0AQuxPe.js";import{u as k,a as v}from"./useCheckout-B93FGzYX.js";import{_ as y}from"./proceed-to.vue_vue_type_script_setup_true_lang-CQZQERcH.js";const D=u({__name:"place-order",setup(b){const{hasOnlyUnselectedLineItems:e}=l(),{paymentMethod:a,isValidCheckout:t,createOrderFromCart:s}=k(),{isCanFinalizePayment:o}=v(),{isAuthenticated:n}=i(),r=m(()=>e.value||!t.value||n.value&&a.value?.allowCartPayment&&!o.value);return(c,F)=>(p(),d(y,{disabled:r.value,onClick:_(s)},{default:C(()=>[f(h(c.$t("common.buttons.place_order")),1)]),_:1},8,["disabled","onClick"]))}});export{D as _};
//# sourceMappingURL=place-order.vue_vue_type_script_setup_true_lang-CSWQh5a6.js.map
