Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ this.wc=this.wc||{},this.wc.blocks=this.wc.blocks||{},this.wc.blocks["product-new"]=function(e){function t(t){for(var r,i,a=t[0],l=t[1],s=t[2],b=0,p=[];b0&&void 0!==arguments[0]?arguments[0]:[],t=e.map(function(e){return e.id});n({categories:t})},operator:o,onOperatorChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"any";return n({catOperator:e})}})))}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.name;return Object(c.createElement)(c.Fragment,null,this.getInspectorControls(),Object(c.createElement)(O.Disabled,null,Object(c.createElement)(j.ServerSideRender,{block:n,attributes:t})))}}]),t}(c.Component),C=n(46),k=n(24),M=n(36);function x(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}Object(a.registerBlockType)("woocommerce/product-new",{title:Object(i.__)("Newest Products",'woocommerce'),icon:{src:Object(c.createElement)(k.d,null),foreground:"#96588a"},category:"woocommerce",keywords:[Object(i.__)("WooCommerce",'woocommerce')],description:Object(i.__)("Display a grid of your newest products.",'woocommerce'),supports:{align:["wide","full"],html:!1},attributes:function(e){for(var t=1;t