jQuery(document).ready(function(t){var e="twitter,linkedin,facebook,pinterest,google,stumbleupon,vk,reddit,buffer,love,ok,mwp,xing,pocket,mail,print,comments,yummly",s="del,digg,weibo,flattr,tumblr,whatsapp,meneame,blogger,amazon,yahoomail,gmail,aol,newsvine,hackernews,evernote,myspace,mailru,viadeo,line,flipboard,sms,viber,telegram",a=(essb_settings.essb3_plugin_url,essb_settings.essb3_facebook_total),n=essb_settings.essb3_admin_ajax,r=essb_settings.essb3_internal_counter,o=(essb_settings.essb3_counter_button_min,"undefined"!=typeof essb_settings.twitter_counter?essb_settings.twitter_counter:""),i="undefined"!=typeof essb_settings.google_counter?essb_settings.google_counter:"";""==o&&(o="api"),""==i&&(i="api");jQuery.fn.essb_total_counters=function(){return this.each(function(){if("undefined"!=typeof essb_settings){var c=t(this).attr("data-post")||"",u=t(this).attr("data-url")||"",l=u,b=t(this).attr("data-essb-instance")||"",f=essb_settings.ajax_url;"light"==essb_settings.ajax_type&&(f=essb_settings.blog_url);for(var p=t(this).attr("data-network-list"),h=(t(this).find(".essb-total-value"),t(this)),d=n?f+"?action=essb_counts&nonce="+essb_settings.essb3_nonce+"&":essb_settings.essb3_plugin_url+"/public/get-noapi-counts.php?",g=f+"?action=essb_counts&nonce="+essb_settings.essb3_nonce+"&",_=e.split(","),m=s.split(","),k=[],v=[],w=[],y=0;y<_.length;y++)if(p.indexOf(_[y])>-1)switch(_[y]){case"stumbleupon":case"vk":case"reddit":case"ok":case"mwp":case"xing":case"pocket":case"linkedin":n?w.push(_[y]):v.push(_[y]);break;case"mail":case"print":case"love":case"comments":w.push(_[y]);break;case"twitter":"api"==o||"newsc"==o?k.push(_[y]):"self"==o&&w.push(_[y]);break;case"google":"self"==i?w.push(_[y]):v.push(_[y]);break;default:k.push(_[y])}if(r)for(var y=0;y-1&&w.push(m[y]);for(var y=0;yt?"-":"",n=["k","M","G","T","P","E","Z","Y"],r=Math.pow(10,3*n.length+3);if(t=Math.abs(Math.round(t)),1e3>t)return a+t;if(t>=1e100)return a+"many";if(t>=r)return(a+t).replace(/(\.\d*)?e\+?/i,"e");do if(t=Math.floor(t),e=n.shift(),s=t%1e6,t/=1e3,!(t>=1e3))return t>=10&&1e3>t||10>t&&100>s%1e3?a+Math.floor(t)+e:(a+t).replace(/(\.\d).*/,"$1")+e;while(n.length);return a+"many"}var a=t(this).attr("data-network-list"),n=a.split(","),r=t(this).find(".essb-total-value"),o=t(this).attr("data-full-number"),i=t(this),c=t(this).attr("data-essb-hide-till")||"";setInterval(e,1200)})},t(".essb-total").essb_total_counters(),t(".essb-total").essb_update_total_counters()});