!function(){"use strict";var e=window.wp.blocks,o=window.wp.element,n=window.wp.i18n,t=window.wp.blockEditor,r=window.wp.components,w=JSON.parse('{"u2":"wcvendors-pro/store-ratings-filter"}');(0,e.registerBlockType)(w.u2,{edit:function(e){var w=e.attributes,c=e.setAttributes,s=w.title,i=w.showCount,l=w.showAsDropdown;return(0,o.createElement)("div",(0,t.useBlockProps)(),(0,o.createElement)(r.TextControl,{label:(0,n.__)("Title","wcvendors-pro"),onChange:function(e){return c({title:e})},value:s}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show count","wcvendors-pro"),onChange:function(e){return c({showCount:e})},checked:i}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show as dropdown","wcvendors-pro"),onChange:function(e){return c({showAsDropdown:e})},checked:l}))}})}();