1 line
724 B
JavaScript
1 line
724 B
JavaScript
(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[56],{931:function(e,t,c){"use strict";c.r(t);var n=c(0),s=c(4),a=c.n(s),o=c(49),i=c(67),l=c(847),r=c(8),d=c(10),b=c(13),m=c(54),u=c(508),p=c(495);t.default=Object(i.withFilteredAttributes)(p.a)(e=>{let{title:t,description:c,showStepNumber:s,children:i,className:p}=e;const w=Object(r.useSelect)(e=>e(d.CHECKOUT_STORE_KEY).isProcessing()),{cartNeedsPayment:h}=Object(o.a)();return h?Object(n.createElement)(l.a,{id:"payment-method",disabled:w,className:a()("wc-block-checkout__payment-method",p),title:t,description:c,showStepNumber:s},Object(n.createElement)(b.StoreNoticesContainer,{context:m.d.PAYMENTS}),Object(n.createElement)(u.a,null),i):null})}}]); |