geno/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/wc-payment-method-bacs.js
2024-02-01 11:54:18 +00:00

1 line
No EOL
683 B
JavaScript

(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,n=window.wp.i18n,o=window.wc.wcSettings,a=window.wp.htmlEntities;var c;const i=(0,o.getPaymentMethodData)("bacs",{}),l=(0,n.__)("Direct bank transfer","woocommerce"),s=(0,a.decodeEntities)((null==i?void 0:i.title)||"")||l,r=()=>(0,a.decodeEntities)(i.description||""),d={name:"bacs",label:(0,e.createElement)((t=>{const{PaymentMethodLabel:n}=t.components;return(0,e.createElement)(n,{text:s})}),null),content:(0,e.createElement)(r,null),edit:(0,e.createElement)(r,null),canMakePayment:()=>!0,ariaLabel:s,supports:{features:null!==(c=null==i?void 0:i.supports)&&void 0!==c?c:[]}};(0,t.registerPaymentMethod)(d)})();