import{u as x}from"./vendor-vue-runtime-dom-B2rky8vu.js";import{u as B}from"./admin-8MB3iCV_.js";import{u as V}from"./useAppearanceTypography-BBl5RU11.js";import{a as A}from"./EmbedPopup-D-ZgVQoP.js";import{d as N,e,f as r,i as c,x as t,t as l}from"./vendor-vue-runtime-core-DwK6Ry68.js";import{u as p}from"./vendor-vue-reactivity-CheHbvBM.js";import{t as n}from"./vendor-vue-shared-DrzsEcag.js";import{_ as P}from"./vendor-vue3-html2pdf-KR020wX8.js";import"./convert-case-to-camel-case.utils-CK5dBN7n.js";import"./vendor-pinia-BSPefQhS.js";import"./vendor-axios-xsH4HHeE.js";import"./vendor-vue3-toastify-DBGjcIyK.js";/* empty css               */import"./useAppearanceStore-IzenP-G4.js";import"./settings.consts-BmuAyinH.js";import"./vendor-vueform-slider-CCH9_7pb.js";import"./vendor-vue-flow-CRbOssRZ.js";import"./vendor-html2pdf.js-B-tok4Ns.js";import"./vendor-jspdf-UFhKzYHA.js";import"./vendor-bootstrap-CCU-90um.js";import"./vendor-html2canvas-BfYXEYrK.js";const T={class:"ccb-summary-payments"},D={class:"ccb-summary-payments__title"},E={key:1,class:"ccb-summary-payments__list--vertical"},F={key:0,class:"ccb-summary-payments__row"},I={class:"ccb-summary-payments__row-left"},M={class:"ccb-summary-payments__row-title"},$={key:1,class:"ccb-summary-payments__row"},j={class:"ccb-summary-payments__row-left"},q={class:"ccb-summary-payments__row-title"},z={key:2,class:"ccb-summary-payments__row"},G={class:"ccb-summary-payments__row-left"},H={class:"ccb-summary-payments__row-title"},J={key:3,class:"ccb-summary-payments__row"},K={class:"ccb-summary-payments__row-left"},L={class:"ccb-summary-payments__row-title"},O=N({__name:"Payments",setup(Q){x(a=>({"31d1d631":p(v),25644481:p(w),"29421bd2":p(f),"8f66e418":p(_),fa589762:g.value}));const d=A(),i=e(()=>d.getSettings||null),b=B(),m=e(()=>b.getTranslations),{textColor:v,borderColor:f,accentColor:_,formFieldsColor:w}=V(),g=e(()=>`${_.value}1A`),C=e(()=>{var a,s,o;return((o=(s=(a=i.value)==null?void 0:a.payment_gateway)==null?void 0:s.paypal)==null?void 0:o.enable)||!1}),k=e(()=>{var a,s,o,y,u;return((u=(y=(o=(s=(a=i.value)==null?void 0:a.payment_gateway)==null?void 0:s.cards)==null?void 0:o.card_payments)==null?void 0:y.stripe)==null?void 0:u.enable)||!1}),S=e(()=>{var a,s,o;return((o=(s=(a=i.value)==null?void 0:a.payment_gateway)==null?void 0:s.cash_payment)==null?void 0:o.enable)||!1}),h=e(()=>{var a,s;return((s=(a=i.value)==null?void 0:a.woo_checkout)==null?void 0:s.enable)||!1});return(a,s)=>(c(),r("div",T,[t("div",D,n(m.value.paymentMethods),1),(c(),r("div",E,[C.value?(c(),r("div",F,[t("div",I,[s[4]||(s[4]=t("span",{class:"ccb-summary-payments__radio"},null,-1)),t("span",M,n(m.value.paypal),1)]),s[5]||(s[5]=t("div",{class:"ccb-summary-payments__row-icon"},[t("i",{class:"ccb-icon-paypal-p"})],-1))])):l("",!0),k.value?(c(),r("div",$,[t("div",j,[s[6]||(s[6]=t("span",{class:"ccb-summary-payments__radio"},null,-1)),t("span",q,n(m.value.card),1)]),s[7]||(s[7]=t("div",{class:"ccb-summary-payments__row-icon"},[t("i",{class:"ccb-icon-ic_credit-card"})],-1))])):l("",!0),h.value?(c(),r("div",z,[t("div",G,[s[8]||(s[8]=t("span",{class:"ccb-summary-payments__radio"},null,-1)),t("span",H,n(m.value.woo||"woo"),1)]),s[9]||(s[9]=t("div",{class:"ccb-summary-payments__row-icon"},[t("i",{class:"ccb-icon-woo"})],-1))])):l("",!0),S.value?(c(),r("div",J,[t("div",K,[s[10]||(s[10]=t("span",{class:"ccb-summary-payments__radio"},null,-1)),t("span",L,n(m.value.cash),1)]),s[11]||(s[11]=t("div",{class:"ccb-summary-payments__row-icon"},[t("i",{class:"ccb-icon-ic_cash"})],-1))])):l("",!0)]))]))}}),ds=P(O,[["__scopeId","data-v-0be5e750"]]);export{ds as default};
//# sourceMappingURL=Payments-Be1Gytc8.js.map
