(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[56],{961:function(e,t,c){"use strict";c.r(t);var n=c(0),s=c(4),a=c.n(s),o=c(55),i=c(61),l=c(877),r=c(7),d=c(10),b=c(12),m=c(52),u=c(528),p=c(514);t.default=Object(i.withFilteredAttributes)(p.a)(({title:e,description:t,showStepNumber:c,children:s,className:i})=>{const p=Object(r.useSelect)(e=>e(d.CHECKOUT_STORE_KEY).isProcessing()),{cartNeedsPayment:w}=Object(o.a)();return w?Object(n.createElement)(l.a,{id:"payment-method",disabled:p,className:a()("wc-block-checkout__payment-method",i),title:e,description:t,showStepNumber:c},Object(n.createElement)(b.StoreNoticesContainer,{context:m.d.PAYMENTS}),Object(n.createElement)(u.a,null),s):null})}}]);