!function(){"use strict";var e=window.wp.blocks,o=window.wp.element,n=window.wp.i18n,t=window.wp.blockEditor,r=window.wp.components,c=JSON.parse('{"u2":"wcvendors-pro/store-social-media"}');(0,e.registerBlockType)(c.u2,{edit:function(e){var c=e.attributes,a=e.setAttributes,l=c.title,h=c.heading,w=c.iconSize,i=c.showHeading,s=c.showFacebook,u=c.showTwitter,d=c.showInstagram,b=c.showPinterest,C=c.showYoutube,_=c.showLinkedin,p=c.showSnapchat,k=c.showTelegram;return(0,o.createElement)("div",(0,t.useBlockProps)(),(0,o.createElement)(r.TextControl,{label:(0,n.__)("Title","wcvendors-pro"),value:l,onChange:function(e){return a({title:e})}}),(0,o.createElement)(r.SelectControl,{label:(0,n.__)("Icon Size","wcvendors-pro"),value:w,options:[{label:(0,n.__)("Small","wcvendors-pro"),value:"sm"},{label:(0,n.__)("Medium","wcvendors-pro"),value:"md"},{label:(0,n.__)("Large","wcvendors-pro"),value:"lg"}],onChange:function(e){return a({iconSize:e})}}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show Heading","wcvendors-pro"),checked:i,onChange:function(e){return a({showHeading:e})}}),i&&(0,o.createElement)(r.TextControl,{label:(0,n.__)("Heading","wcvendors-pro"),value:h,onChange:function(e){return a({heading:e})}}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show Facebook","wcvendors-pro"),checked:s,onChange:function(e){return a({showFacebook:e})}}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show Twitter","wcvendors-pro"),checked:u,onChange:function(e){return a({showTwitter:e})}}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show Instagram","wcvendors-pro"),checked:d,onChange:function(e){return a({showInstagram:e})}}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show Pinterest","wcvendors-pro"),checked:b,onChange:function(e){return a({showPinterest:e})}}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show Youtube","wcvendors-pro"),checked:C,onChange:function(e){return a({showYoutube:e})}}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show Linkedin","wcvendors-pro"),checked:_,onChange:function(e){return a({showLinkedin:e})}}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show Snapchat","wcvendors-pro"),checked:p,onChange:function(e){return a({showSnapchat:e})}}),(0,o.createElement)(r.CheckboxControl,{label:(0,n.__)("Show Telegram","wcvendors-pro"),checked:k,onChange:function(e){return a({showTelegram:e})}}))}})}();