!function(){var t,e,n,o,a,r="",i=document.getElementsByTagName("script"),s=[];for(e in i){var c=i[e].src;c&&0',w(".counterapi").each(function(t){var h,e,m,v=w(this).attr("ns"),b=w(this).attr("action"),f=w(this).attr("key"),p=this,g={trackOnly:o(w(this).attr("trackOnly")),readOnly:o(w(this).attr("readOnly")),startNumber:w(this).attr("startNumber"),invisible:o(w(this).attr("invisible")),icon:o(w(this).attr("icon"))||"eye",noAnim:o(w(this).attr("noAnim")),animDuration:o(w(this).attr("animDuration"))||3e3,label:w(this).attr("label")||"",behavior:w(this).attr("behavior"),noCss:o(w(this).attr("noCss")),noIcon:o(w(this).attr("noIcon")),noLink:o(w(this).attr("noLink")),abbreviate:o(w(this).attr("abbreviate")),noFormatting:o(w(this).attr("noFormatting")),noNumber:o(w(this).attr("noNumber")),hideIfZero:o(w(this).attr("hideIfZero")),timeline:w(this).attr("timeline")||"total",unique:o(w(this).attr("unique")),color:o(w(this).attr("color"))||"#ccc",iconColor:o(w(this).attr("iconColor"))||o(w(this).attr("color"))||"#31ffff",bg:o(w(this).attr("bg"))||"black",score:o(w(this).attr("score"))};m="vote"==g.behavior?(e="vote",g.readOnly=!0,h=[v,b,f].join("-"),localStorage.getItem(h)):!(e="view"),b=b||e,g.hh="embed",g.embedLocation=window.location.href,k(v,b,f,g,function(t){var e,n=t.value,o=t.abv;e=g.abbreviate?o:g.noNumber?"":g.noFormatting?n:''+C(n)+"",e+=" "+g.label;var a=t.iconSvg||y.eye,i="c ";i+=g.color,g.noCss||(i+=" s"),g.noLink||(i+=" hasLink");var s="";g.noCss||(s+="fill: "+g.iconColor+"; color: "+g.color+"; background:"+g.bg+" ;");var r,c,l,u,d,o=t.statsUrl,s='
';g.noLink||(s+=''),s+='
',g.noIcon||(s+=a),s+=''+e+"",s+="
",g.noLink||(s+="
"),s+="
",g.invisible&&(s=""),g.hideIfZero&&0==n&&(s=""),(t.voted||m)&&w(p).addClass("voted"),w(p).html(s),g.noAnim||(r=g.animDuration/(1e3/17),l=n-(c=.4*n),u=0,d=setInterval(function(){var t=(t=++u/r,(t=1+--t*t*t*t*t)*(2-t)*c),t=Math.round(t+l);w(p).find("span.count").text(C(t)),r