(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[22],{175:function(t,e,n){"use strict";var a=n(20),c=n.n(a),r=n(5),s=n.n(r),o=n(7),i=n.n(o),l=function(t){return"wc-block-components-payment-method-icon wc-block-components-payment-method-icon--".concat(t)},d=function(t){var e=t.id,n=t.src,a=void 0===n?null:n,c=t.alt,r=void 0===c?"":c;return a?React.createElement("img",{className:l(e),src:a,alt:r}):null},m=n(104),p=[{id:"alipay",alt:"Alipay",src:m.l+"payment-methods/alipay.svg"},{id:"amex",alt:"American Express",src:m.l+"payment-methods/amex.svg"},{id:"bancontact",alt:"Bancontact",src:m.l+"payment-methods/bancontact.svg"},{id:"diners",alt:"Diners Club",src:m.l+"payment-methods/diners.svg"},{id:"discover",alt:"Discover",src:m.l+"payment-methods/discover.svg"},{id:"eps",alt:"EPS",src:m.l+"payment-methods/eps.svg"},{id:"giropay",alt:"Giropay",src:m.l+"payment-methods/giropay.svg"},{id:"ideal",alt:"iDeal",src:m.l+"payment-methods/ideal.svg"},{id:"jcb",alt:"JCB",src:m.l+"payment-methods/jcb.svg"},{id:"laser",alt:"Laser",src:m.l+"payment-methods/laser.svg"},{id:"maestro",alt:"Maestro",src:m.l+"payment-methods/maestro.svg"},{id:"mastercard",alt:"Mastercard",src:m.l+"payment-methods/mastercard.svg"},{id:"multibanco",alt:"Multibanco",src:m.l+"payment-methods/multibanco.svg"},{id:"p24",alt:"Przelewy24",src:m.l+"payment-methods/p24.svg"},{id:"sepa",alt:"Sepa",src:m.l+"payment-methods/sepa.svg"},{id:"sofort",alt:"Sofort",src:m.l+"payment-methods/sofort.svg"},{id:"unionpay",alt:"Union Pay",src:m.l+"payment-methods/unionpay.svg"},{id:"visa",alt:"Visa",src:m.l+"payment-methods/visa.svg"},{id:"wechat",alt:"WeChat",src:m.l+"payment-methods/wechat.svg"}],u=n(21),y=n.n(u),v=n(66);function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}function f(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){s()(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}n(209),e.a=function(t){var e=t.icons,n=void 0===e?[]:e,a=t.align,r=void 0===a?"center":a,s=t.className,o=function(t){var e={};return t.forEach((function(t){var n={};"string"==typeof t&&(n={id:t,alt:t,src:null}),"object"===y()(t)&&(n={id:t.id||"",alt:t.alt||"",src:t.src||null}),n.id&&Object(v.c)(n.id)&&!e[n.id]&&(e[n.id]=n)})),Object.values(e)}(n);if(0===o.length)return null;var l=i()("wc-block-components-payment-method-icons",{"wc-block-components-payment-method-icons--align-left":"left"===r,"wc-block-components-payment-method-icons--align-right":"right"===r},s);return React.createElement("div",{className:l},o.map((function(t){var e,n=f(f({},t),(e=t.id,p.find((function(t){return t.id===e}))||{}));return React.createElement(d,c()({key:"payment-method-icon-"+t.id},n))})))}},209:function(t,e){},263:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return o}));var a=n(45),c=n(164),r=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=Object(c.b)(),n=e.paymentMethods,r=e.expressPaymentMethods,s=e.paymentMethodsInitialized,o=e.expressPaymentMethodsInitialized,i=Object(a.a)(n),l=Object(a.a)(r);return{paymentMethods:t?l:i,isInitialized:t?o:s}},s=function(){return r(!1)},o=function(){return r(!0)}},407:function(t,e,n){"use strict";n.r(e);var a=n(175),c=n(263),r=function(t){return Object.values(t).reduce((function(t,e){return null!==e.icons&&(t=t.concat(e.icons)),t}),[])};e.default=function(t){var e=t.className,n=Object(c.b)().paymentMethods;return React.createElement(a.a,{className:e,icons:r(n)})}}}]);