(()=>{"use strict";var e={20:(e,t,s)=>{var r=s(609),n=Symbol.for("react.element"),o=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,s){var r,c={},l=null,d=null;for(r in void 0!==s&&(l=""+s),void 0!==t.key&&(l=""+t.key),void 0!==t.ref&&(d=t.ref),t)o.call(t,r)&&!a.hasOwnProperty(r)&&(c[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===c[r]&&(c[r]=t[r]);return{$$typeof:n,type:e,key:l,ref:d,props:c,_owner:i.current}}t.jsx=c,t.jsxs=c},609:e=>{e.exports=window.React},848:(e,t,s)=>{e.exports=s(20)}},t={};const s=window.wc.wcBlocksRegistry,r=window.wp.htmlEntities,n=window.wc.wcSettings;var o=function s(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,s),o.exports}(848);const i=(0,n.getSetting)("conekta_cash_data",{}),a=(0,r.decodeEntities)(i.title),c=()=>(0,r.decodeEntities)(i.description),l=e=>{const{PaymentMethodLabel:t}=e.components,s=()=>(0,o.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,o.jsx)("img",{src:"https://assets.conekta.com/checkout/img/icons/cash.svg",alt:"cash",style:{marginLeft:"8px",width:"32px",height:"auto"}})});return(0,o.jsxs)("div",{style:{display:"flex",width:"99%",justifyContent:"space-between",alignItems:"center"},children:[(0,o.jsx)(t,{text:a}),(0,o.jsx)(s,{})]})},d={name:i.name,label:(0,o.jsx)(l,{}),content:(0,o.jsx)(c,{}),edit:(0,o.jsx)(c,{}),canMakePayment:()=>i.is_enabled||!1,ariaLabel:a,supports:{},icons:[]};(0,s.registerPaymentMethod)(d)})();