!function(a){var b=["minimal","colored","dark"],c=["side","top"];wp.customize("oss_social_share_name",function(b){b.bind(function(b){var c=a(".entry-share");1==b?c.addClass("has-name"):c.removeClass("has-name")})}),wp.customize("oss_social_share_heading",function(b){var c=a(".social-share-title span.text");if(c.length){var d=c.html();b.bind(function(a){a?c.html(a):c.html(d)})}}),wp.customize("oss_social_share_heading_position",function(b){b.bind(function(b){var d=a(".entry-share");d.length&&(a.each(c,function(a,b){d.removeClass(b)}),d.addClass(b))})}),wp.customize("oss_social_share_style",function(c){c.bind(function(c){var d=a(".entry-share");d.length&&(a.each(b,function(a,b){d.removeClass(b)}),d.addClass(c))})}),wp.customize("oss_social_share_style_border_radius",function(b){b.bind(function(b){var c=a(".customizer-oss_social_share_style_border_radius");if(b){var d='<style class="customizer-oss_social_share_style_border_radius">.entry-share ul li a { border-radius: '+b+"; }</style>";c.length?c.replaceWith(d):a("head").append(d)}else c.remove()})}),wp.customize("oss_sharing_borders_color",function(b){b.bind(function(b){a(".entry-share.minimal ul li a").css("border-color",b)})}),wp.customize("oss_sharing_icons_bg",function(b){b.bind(function(b){a(".entry-share.minimal ul li a").css("background-color",b)})}),wp.customize("oss_sharing_icons_color",function(b){b.bind(function(b){var c=a(".customizer-oss_sharing_icons_color");if(b){var d='<style class="customizer-oss_sharing_icons_color">.entry-share.minimal ul li a { color: '+b+"; }.entry-share.minimal ul li a .oss-icon { fill: "+b+"; }</style>";c.length?c.replaceWith(d):a("head").append(d)}else c.remove()})})}(jQuery);