(()=>{"use strict";const e=window.wp.i18n,t=wc.wcBlocksRegistry,a=window.wp.htmlEntities,n=(0,wc.wcSettings.getSetting)("wholesalex_subaccount_order_approval_data",{}),c=(0,e.__)("Sent to Parent Account For Approval","wholesalex"),l=(0,a.decodeEntities)(n.title)||c,o=()=>(0,a.decodeEntities)(n.description||""),r=e=>{const{PaymentMethodLabel:t}=e.components;return React.createElement(React.Fragment,null,React.createElement(t,{text:l}))},s={name:"wholesalex_subaccount_order_approval",label:React.createElement(r,null),content:React.createElement(o,null),edit:React.createElement(o,null),ariaLabel:l,canMakePayment:()=>n.canMakePayment,supports:{features:n.supports}};(0,t.registerPaymentMethod)(s)})();
//# sourceMappingURL=whx_parent_approval_gateway.js.map