text: /*! social-share-js - v1.0.4 - 2015-12-03
  * Copyright (c) 2015 Ritesh Kumar; Licensed MIT */
  !function(a){a.fn.socialShare=function(b){function c(a){if(b.toWord){if(a>=1e9)return(a/1e9).toFixed(1)+"G";if(a>=1e6)return(a/1e6).toFixed(1)+"M";if(a>=1e3)return(a/1e3).toFixed(1)+"K"}return a}var d={url:window.location.href,description:a("meta[name=description]").attr("content"),title:a("title").text(),counts:!0,twitter:!0,facebook:!0,pinterest:!0,linkedIn:!0,gPlus:!0,image:null,toWord:!0},e=this;return b=jQuery.extend({},d,b),this.each(function(){function d(d){b.facebook&&(b.counts&&e.find(".facebook-count").each(function(){a(this).html(c(d.facebook))}),e.find(".facebook-share").each(function(){var c="https://facebook.com/sharer/sharer.php?u="+encodeURIComponent(b.url);a(this).click(function(){f(c,"facebook")})})),b.twitter&&(b.counts&&e.find(".twitter-count").each(function(){a(this).html(c(d.twitter))}),e.find(".twitter-share").each(function(){var c="https://twitter.com/share?url="+b.url+"&text="+b.description+"&via="+b.twitterVia+"&hashtags="+b.twitterHashTags;a(this).click(function(){f(c,"twitter")})})),b.pinterest&&(b.counts&&e.find(".pinterest-count").each(function(){a(this).html(c(d.pinterest))}),e.find(".pinterest-share").each(function(){var c="https://pinterest.com/pin/create/bookmarklet/?media="+b.image+"&url="+b.url+"&description="+b.description;a(this).click(function(){f(c,"pinterest")})})),b.linkedIn&&(b.counts&&e.find(".linkedin-count").each(function(){a(this).html(c(d.linkedIn))}),e.find(".linkedin-share").each(function(){var c="http://www.linkedin.com/shareArticle?url="+b.url;a(this).click(function(){f(c,"linkedin")})})),b.gPlus&&(b.counts&&e.find(".gplus-count").each(function(){a(this).html(c(d.gPlus))}),e.find(".gplus-share").each(function(){var c="https://plus.google.com/share?url="+b.url;a(this).click(function(){f(c,"gplus")})}))}function f(a,b){return window.open(a,b+"ShareDialogue","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width="+i.width+",height="+i.height+",top="+i.top+",left="+i.left),!1}var g={facebook:{getCount:function(a,b){var c=jQuery.Deferred();return jQuery.getJSON("https://api.facebook.com/method/links.getStats?format=json&urls="+a.url+"&callback=?",function(a){b.facebook=a[0].total_count,c.resolve(b)}),c.promise()}},pinterest:{getCount:function(a,b){var c=jQuery.Deferred();return jQuery.getJSON("http://api.pinterest.com/v1/urls/count.json?callback=?&url="+a.url,function(a){b.pinterest=a.count,c.resolve(b)}),c.promise()}},linkedIn:{getCount:function(a,b){var c=jQuery.Deferred();return jQuery.getJSON("https://www.linkedin.com/countserv/count/share?format=jsonp&url="+a.url+"&callback=?",function(a){b.linkedIn=a.count,c.resolve(b)}),c.promise()}},gPlus:{getCount:function(a,b){var c=jQuery.Deferred();return jQuery.getJSON("https://count.donreach.com/?url="+a.url,function(a){b.gPlus=a.shares.google,c.resolve(b)}),c.promise()}}},h={};b.counts?a.when(b.facebook?g.facebook.getCount(b,h):null,b.pinterest?g.pinterest.getCount(b,h):null,b.linkedIn?g.linkedIn.getCount(b,h):null,b.gPlus?g.gPlus.getCount(b,h):null).then(function(){d(h)}):d();var i={width:626,height:336,left:a(window).width()/2-313,top:a(window).height()/3-168}})}}(jQuery);