| 1 |
"use strict";const index=require("./index-be4abba1.js"),ManualPaymentMethods=({methods:e})=>(e||[]).map((e=>index.h("sc-payment-method-choice",{"is-manual":!0,"processor-id":null==e?void 0:e.id},index.h("span",{slot:"summary"},null==e?void 0:e.name),index.h("sc-card",null,index.h("sc-payment-selected",{label:wp.i18n.sprintf( |
| 3 |
wp.i18n.__("%s selected for check out.","surecart"),null==e?void 0:e.name)},index.h("div",{innerHTML:null==e?void 0:e.description})))))),MockProcessor=({processor:e})=>(null==e?void 0:e.id)?index.h("sc-payment-method-choice",{key:null==e?void 0:e.id,"processor-id":"mock"},index.h("span",{slot:"summary",class:"sc-payment-toggle-summary"},index.h("sc-icon",{name:"credit-card",style:{fontSize:"24px"},"aria-hidden":"true"}),index.h("span",null,wp.i18n.__("Test Processor","surecart"))),index.h("sc-card",null,index.h("sc-payment-selected",{label:wp.i18n.__("Test processor selected for check out.","surecart")},index.h("sc-icon",{slot:"icon",name:"credit-card","aria-hidden":"true"}),wp.i18n.__("This is a test payment processor used to simulate test transactions. It is only available in test mode.","surecart")))):null;exports.ManualPaymentMethods=ManualPaymentMethods,exports.MockProcessor=MockProcessor; |