// http://javascriptcompressor.com/ if('undefined'==typeof(console)){console={"log":function(str){},"debug":function(str){}}}var Gravatar={"profile_stack":{},"profile_map":{},"overTimeout":false,"outTimeout":false,"stopOver":false,"active_grav":false,"active_hash":false,"active_id":false,"active_grav_clone":false,"profile_cb":null,"stats_queue":[],"throbber":null,"has_bg":false,"disabled":false,"url_prefix":'http://en',"disable":function(){Gravatar.disabled=true;Gravatar.hide_card();var d=new Date(2100,1,1,1,1,1);Gravatar.stat('disable');if(-1==window.location.host.search(/wordpress.com/i)){document.cookie='nohovercard=1; expires='+d.toUTCString()+';'}else{document.cookie='nohovercard=1; expires='+d.toUTCString()+'; domain=.wordpress.com; path=/'}},"mouseOut":function(e){e.stopImmediatePropagation();Gravatar.stopOver=true;Gravatar.outTimeout=setTimeout(function(){Gravatar.hide_card()},300)},"init":function(container,noGrav){var ca=document.cookie.split(';'),i,c;for(i=0;ijQuery(window).width()+jQuery(window).scrollLeft()){left=grav_pos.left-card_width+grav_width+17;grav_pos_class='pos-left'}var top_offset=grav_height*.25;jQuery('#'+card_id).removeClass('pos-right pos-left').addClass(grav_pos_class).css({'top':(top-top_offset)+'px','left':left+'px'});var arrow_offset=(grav_height/2);if(arrow_offset>card_height){arrow_offset=card_height/2}if(arrow_offset>(card_height/2)-6){arrow_offset=(card_height/2)-6}if(arrow_offset>53){arrow_offset=53}if(this.has_bg){arrow_offset=arrow_offset-8}if(arrow_offset<0){arrow_offset=0}var css={'height':((grav_height*2)+top_offset)+'px'};if('pos-right'==grav_pos_class){css['right']='auto';css['left']='-7px';css['background-position']='0px '+arrow_offset+'px'}else{css['right']='-10px';css['left']='auto';css['background-position']='0px '+arrow_offset+'px'}jQuery('#'+card_id+' .grav-cardarrow').css(css)}card_el.stop().css({opacity:0}).show().animate({opacity:1},150,'linear',function(){jQuery(this).css({opacity:'auto'});jQuery(this).stop();var date=new Date();var qp='http';if('https:'==window.location.protocol){qp+='s'}var url=qp+'://pixel.quantserve.com/pixel/p-18-mFEk4J448M.gif?labels=type.gravatar.hovercard&rand='+Math.random().toString()+'-'+date.getTime();var img=new Image(1,1);img.src=url})},"build_card":function(hash,profile){Object.size=function(obj){var size=0,key;for(key in obj){if(obj.hasOwnProperty(key)){size++}}return size};GProfile.init(profile);var urls=GProfile.get('urls');var photos=GProfile.get('photos');var services=GProfile.get('accounts');var limit=100;if(Object.size(urls)>3){limit+=90}else{limit+=10+(20*Object.size(urls))}if(Object.size(services)>0){limit+=30}var description=GProfile.get('aboutMe');description=description.replace(/<[^>]+>/ig,'');description=description.toString().substr(0,limit);if(limit==description.length){description+=''}var card_class='grav-inner';if(Gravatar.my_hash&&hash==Gravatar.my_hash){card_class+=' grav-is-user';if(!description.length){description="

Want a better profile? Click here.

"}}if(description.length){card_class+=' gcard-about'}name=GProfile.get('displayName');if(!name.length){name=GProfile.get('preferredUsername')}var card='

'+name+'

'+GProfile.get('currentLocation')+'

'+description+'

Turn off hovercards

';jQuery('body').append(jQuery(card));jQuery('#profile-'+hash+' .grav-inner').addClass(card_class);this.has_bg=false;var bg=GProfile.get('profileBackground');if(Object.size(bg)){this.has_bg=true;var bg_css={padding:'8px 0'};if(bg.color){bg_css['background-color']=bg.color}if(bg.url){bg_css['background-image']='url('+bg.url+')'}if(bg.position){bg_css['background-position']=bg.position}if(bg.repeat){bg_css['background-repeat']=bg.repeat}jQuery('#profile-'+hash).css(bg_css);jQuery('#profile-'+hash+' .grav-tag').css('top','8px')}if(!jQuery('#profile-'+hash+' .gcard-links').length&&!jQuery('#profile-'+hash+' .gcard-services').length){jQuery('#profile-'+hash+' .grav-rightcol').css({'width':'auto'})}if(!jQuery('#profile-'+hash+' .gcard-about').length){jQuery('#profile-'+hash+' .grav-leftcol').css({'width':'auto'})}if(jQuery.isFunction(Gravatar.profile_cb)){Gravatar.loaded_js(hash,'profile-'+hash)}jQuery('#profile-'+hash+' a.grav-extra-comments').click(function(e){return Gravatar.stat('click_comment',e)});jQuery('#profile-'+hash+' a.grav-extra-likes').click(function(e){return Gravatar.stat('click_like',e)});jQuery('#profile-'+hash+' .grav-links a').click(function(e){return Gravatar.stat('click_link',e)});jQuery('#profile-'+hash+' .grav-services a').click(function(e){return Gravatar.stat('click_service',e)});jQuery('#profile-'+hash+' h4 a, #profile-'+hash+' .grav-view-complete, #profile-'+hash+' .grav-grav a').click(function(e){return Gravatar.stat('to_profile',e)});jQuery('#profile-'+hash+' .grav-tag a').click(function(e){if(3==e.which||2==e.button||e.altKey||e.metaKey||e.ctrlKey){e.preventDefault();e.stopImmediatePropagation();Gravatar.stat('egg');return Gravatar.whee()}return Gravatar.stat('to_gravatar',e)}).bind('contextmenu',function(e){e.preventDefault();e.stopImmediatePropagation();Gravatar.stat('egg');return Gravatar.whee()});jQuery('#profile-'+hash+' a.grav-edit-profile').click(function(e){return Gravatar.stat('click_edit_profile',e)})},"tilt_gravatar":function(){this.active_grav=jQuery('img#'+this.active_id);if(jQuery('img#grav-clone-'+this.active_hash).length){return}this.active_grav_clone=this.active_grav.clone().attr('id','grav-clone-'+this.active_hash).addClass('grav-clone');var top=this.active_grav.offset().top+parseInt(this.active_grav.css('padding-top'),10),left=this.active_grav.offset().left+parseInt(this.active_grav.css('padding-left'),10);var fancyCSS={'-webkit-box-shadow':'0 0 4px rgba(0,0,0,.4)','-moz-box-shadow':'0 0 4px rgba(0,0,0,.4)','box-shadow':'0 0 4px rgba(0,0,0,.4)','border-width':'2px 2px '+(this.active_grav.height()/5)+'px 2px','border-color':'#fff','border-style':'solid','padding':'0px','margin':'-2px 0 0 -2px'};if(jQuery.browser.msie&&9>jQuery.browser.version){fancyCSS['filter']="progid:DXImageTransform.Microsoft.Glow(Color='#aaaaaa', strength='2'";top-=2;left-=2}if(-1==navigator.appVersion.indexOf('Win')){if(jQuery.browser.msie&&9>jQuery.browser.version){fancyCSS['filter']="progid:DXImageTransform.Microsoft.Matrix(M11='1.29683327', M12='0.0906834159', M21='-0.0906834159', M22='1.29683327', SizingMethod='auto expand') "+fancyCSS['filter'];top-=3;left-=4}}else{top-=1;left-=1}if(this.active_grav.hasClass('grav-hijack')){var aWrap=''}else{var aWrap=this.active_grav.parents('a:first').clone(true).empty()}var appendix=this.active_grav_clone.css(fancyCSS).wrap(aWrap).parent().css({'position':'absolute','top':top+'px','left':left+'px','z-index':15,'border':'none','text-decoration':'none'});jQuery('body').append(appendix);this.active_grav_clone.removeClass('grav-hashed')},"untilt_gravatar":function(){jQuery('img.grav-clone, a.grav-clone-a').remove();Gravatar.hide_throbber()},"show_throbber":function(){if(!Gravatar.throbber){Gravatar.throbber=jQuery('
.
')}jQuery('body').append(Gravatar.throbber);var offset=jQuery('#'+Gravatar.active_id).offset();Gravatar.throbber.css({top:offset.top+2+'px',left:offset.left+1+'px'})},"hide_throbber":function(){if(!Gravatar.throbber){return}Gravatar.throbber.remove()},"fetch_profile_by_email":function(email){return this.fetch_profile_by_hash(this.md5(email))},"fetch_profile_by_hash":function(hash,dom_id){this.profile_map['g'+hash]=dom_id;if(this.profile_stack['g'+hash]&&'object'==typeof(this.profile_stack['g'+hash])){return this.profile_stack['g'+hash]}this.profile_stack['g'+hash]='fetching';Gravatar.stat('fetch');this.load_js(this.url_prefix+'.gravatar.com/'+hash+'.json?callback=Gravatar.fetch_profile_callback',function(){Gravatar.fetch_profile_error(hash,dom_id)})},"fetch_profile_callback":function(profile){if(!profile||'object'!=typeof(profile)){return}this.profile_stack['g'+profile.entry[0].hash]=profile;this.notify(profile.entry[0].hash)},"fetch_profile_error":function(hash,dom_id){Gravatar.stat('profile_404');Gravatar.profile_map['g'+hash]=false;var grav=jQuery('#'+dom_id);if(grav.parent('a[href="http://gravatar.com/'+hash+'"]').size()){grav.unwrap()}if(dom_id==Gravatar.active_id){Gravatar.hide_card()}},"listen":function(key,callback){if(!this.notify_stack){this.notify_stack={}}key='g'+key;if(!this.notify_stack[key]){this.notify_stack[key]=[]}for(a=0;a";if(!jQuery('#gravatar-card-services-css').length){new_css+=""}jQuery('head').append(new_css)},"md5":function(str){return hex_md5(str)},"autofill":function(email,map){if(!email.length||-1==email.indexOf('@')){return}this.autofill_map=map;hash=this.md5(email);if("undefined"==typeof(this.profile_stack['g'+hash])){this.listen(hash,'autofill_data');this.fetch_profile_by_hash(hash)}else{this.autofill_data(hash)}},"autofill_data":function(hash){GProfile.init(this.profile_stack['g'+hash]);for(var m in this.autofill_map){switch(m){case'url':link=GProfile.get('urls');url=('undefined'!=typeof link[0]?link[0]['value']:GProfile.get('profileUrl'));jQuery('#'+this.autofill_map[m]).val(url);break;case'urls':links=GProfile.get('urls');links_str='';for(l=0;l10){Gravatar.send_stats()}},"send_stats":function(cb){if(!document.images){return}var stats=Gravatar.stats_queue;if(!stats.length){return}var date=new Date();Gravatar.stats_queue=[];url_prefix='http://stats';if('https:'==window.location.protocol)url_prefix='https://ssl-stats';var url=url_prefix+'.wordpress.com/g.gif?v=wpcom2&x_grav-hover='+stats.join(',')+'&rand='+Math.random().toString()+'-'+date.getTime();var img=new Image(1,1);if(jQuery.isFunction(cb)){img.onload=cb}img.src=url}};var GProfile={"data":{},"init":function(data){if('fetching'==data){return false}if('undefined'==typeof(data.entry[0])){return false}GProfile.data=data.entry[0]},"get":function(attr){if(-1!=attr.indexOf('.')){parts=attr.split(/\./);if(GProfile.data[parts[0]]){if(GProfile.data[parts[0]][parts[1]]){return GProfile.data[parts[0]][parts[1]]}for(i=0,s=GProfile.data[parts[0]].length;i>5]|=0x80<<((e)%32);x[(((e+64)>>>9)<<4)+14]=e;var a=1732584193;var b=-271733879;var c=-1732584194;var d=271733878;for(var i=0;i16)c=core_md5(c,a.length*chrsz);var d=Array(16),opad=Array(16);for(var i=0;i<16;i++){d[i]=c[i]^0x36363636;opad[i]=c[i]^0x5C5C5C5C}var e=core_md5(d.concat(str2binl(b)),512+b.length*chrsz);return core_md5(opad.concat(e),512+128)}function safe_add(x,y){var a=(x&0xFFFF)+(y&0xFFFF);var b=(x>>16)+(y>>16)+(a>>16);return(b<<16)|(a&0xFFFF)}function bit_rol(a,b){return(a<>>(32-b))}function str2binl(a){var b=Array();var c=(1<>5]|=(a.charCodeAt(i/chrsz)&c)<<(i%32);return b}function binl2str(a){var b="";var c=(1<>5]>>>(i%32))&c);return b}function binl2hex(a){var b=hexcase?"0123456789ABCDEF":"0123456789abcdef";var c="";for(var i=0;i>2]>>((i%4)*8+4))&0xF)+b.charAt((a[i>>2]>>((i%4)*8))&0xF)}return c}function binl2b64(a){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";var c="";for(var i=0;i>2]>>8*(i%4))&0xFF)<<16)|(((a[i+1>>2]>>8*((i+1)%4))&0xFF)<<8)|((a[i+2>>2]>>8*((i+2)%4))&0xFF);for(var j=0;j<4;j++){if(i*8+j*6>a.length*32)c+=b64pad;else c+=b.charAt((d>>6*(3-j))&0x3F)}}return c};