(()=>{"use strict";const e=window.wc.wcBlocksRegistry,t=window.wp.i18n,n=window.wc.wcSettings,i=window.wp.htmlEntities,s=window.wc.sanitize,w=window.wp.element,o=window.ReactJSXRuntime,c=(0,n.getPaymentMethodData)("cheque",{}),a=(0,t.__)("Check payment","woocommerce"),d=(0,i.decodeEntities)(c?.title||"")||a,r=()=>(0,o.jsx)(w.RawHTML,{children:(0,s.sanitizeHTML)(c.description||"")}),m=e=>{const{PaymentMethodLabel:t}=e.components;return(0,o.jsx)(t,{text:d})},p={name:"cheque",label:(0,o.jsx)(m,{}),content:(0,o.jsx)(r,{}),edit:(0,o.jsx)(r,{}),canMakePayment:()=>!0,ariaLabel:d,supports:{features:c?.supports??[]}};(0,e.registerPaymentMethod)(p)})();