(()=>{"use strict";const e=window.React,t=window.wc.wcBlocksRegistry,n=window.wp.htmlEntities,l=window.wc.wcSettings,a=window.wp.element,c=(0,l.getSetting)("gpos_data",{}),o=(0,n.decodeEntities)(c.title),i=(0,n.decodeEntities)(c.button_text),s=t=>(0,e.createElement)("div",null,(0,e.createElement)(a.RawHTML,null)),r={name:"gpos",label:(0,e.createElement)((t=>{const{PaymentMethodLabel:n}=t.components;return(0,e.createElement)(n,{text:o})}),null),content:(0,e.createElement)(s,null),edit:(0,e.createElement)(s,null),canMakePayment:()=>!0,ariaLabel:o,placeOrderButtonLabel:i,supports:{features:c.supports}};(0,t.registerPaymentMethod)(r)})();