• File: paystack-five.js
  • Full Path: /home/slvgwrnz/public_html/wp-content/plugins/woo-paystack/assets/js/blocks/frontend/blocks/paystack-five.js
  • Date Modified: 11/16/2026 4:32 AM
  • File size: 1.06 KB
  • MIME-type: text/plain
  • Charset: utf-8
(()=>{"use strict";const e=window.wc.wcBlocksRegistry,t=window.wc.wcSettings,i=window.wp.i18n,s=window.wp.htmlEntities,l=window.ReactJSXRuntime,a=(0,i.__)("Paystack ","woo-paystack"),o=({title:e})=>(0,s.decodeEntities)(e)||a,r=({description:e})=>(0,s.decodeEntities)(e||""),d=({logoUrls:e,label:t})=>(0,l.jsx)("div",{style:{display:"flex",flexDirection:"row",gap:"0.5rem",flexWrap:"wrap"},children:e.map((e,i)=>(0,l.jsx)("img",{src:e,alt:t},i))}),n=({logoUrls:e,title:t})=>(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"row",gap:"0.5rem"},children:[(0,l.jsx)("div",{children:o({title:t})}),(0,l.jsx)(d,{logoUrls:e,label:o({title:t})})]})}),c=(0,t.getSetting)("paystack-five_data",{}),w=o({title:c.title}),p={name:"paystack-five",label:(0,l.jsx)(n,{logoUrls:c.logo_urls,title:c.title}),content:(0,l.jsx)(r,{description:c.description}),edit:(0,l.jsx)(r,{description:c.description}),canMakePayment:()=>!0,ariaLabel:w,supports:{showSavedCards:c.allow_saved_cards,showSaveOption:c.allow_saved_cards,features:c.supports}};(0,e.registerPaymentMethod)(p)})();