(()=>{"use strict";const e=window.React;function t(t){return(0,e.createElement)("span",null,"Secure payments powered by Stitch Express")}const{registerPaymentMethod:a}=window.wc.wcBlocksRegistry;a({label:(0,e.createElement)((function(t){const a=window.wc.wcSettings.getSetting("stitch-express_data");return(0,e.createElement)("div",{className:"UxZcXi_y2qynokK0PSsy"},(0,e.createElement)("span",{className:"UmqPaUuJYLCVz6igFbTW"},"Pay with Apple | Google | Capitec | Card | BNPL"),(0,e.createElement)("div",{className:"IGKYqJZGeWmHgWNjllAN"},(0,e.createElement)("img",{src:a.icon_block_master_card,alt:"Master card logo"}),(0,e.createElement)("img",{src:a.icon_block_visa,alt:"visa logo"}),(0,e.createElement)("img",{src:a.icon_block_apple_pay,alt:"apple pay logo"}),(0,e.createElement)("img",{src:a.icon_block_google_pay,alt:"google pay logo"}),(0,e.createElement)("img",{src:a.icon_block_capitec_pay,alt:"capitec pay logo"}),(0,e.createElement)("img",{src:a.icon_block_bnpl,alt:"BNPL logo"})))}),null),ariaLabel:"Pay with Stitch Express",content:(0,e.createElement)(t,null),edit:(0,e.createElement)(t,null),name:"stitch-express",canMakePayment(e){const{currency_code:t,total_price:a}=e.cartTotals;return"ZAR"===t&&parseInt(a,10)>=100},supports:{features:["products","refunds"]},placeOrderButtonLabel:"Pay"})})();