/* global WPGroHo:true, Gravatar */ WPGroHo = jQuery.extend( { my_hash: '', data: {}, renderers: {}, syncProfileData: function( hash, id ) { if ( !WPGroHo.data[hash] ) { WPGroHo.data[hash] = {}; jQuery( 'div.grofile-hash-map-' + hash + ' span' ).each( function() { WPGroHo.data[hash][this.className] = jQuery( this ).text(); } ); } WPGroHo.appendProfileData( WPGroHo.data[hash], hash, id ); }, appendProfileData: function( data, hash, id ) { for ( var key in data ) { if ( jQuery.isFunction( WPGroHo.renderers[key] ) ) { return WPGroHo.renderers[key]( data[key], hash, id, key ); } jQuery( '#' + id ).find( 'h4' ).after( jQuery( '

' ).html( data[key] ) ); } } }, WPGroHo ); jQuery( document ).ready( function() { if ( 'undefined' === typeof Gravatar ) { return; } Gravatar.profile_cb = function( h, d ) { WPGroHo.syncProfileData( h, d ); }; Gravatar.my_hash = WPGroHo.my_hash; Gravatar.init( 'body', '#wpadminbar' ); } ); /* FILE ARCHIVED ON 14:33:47 Feb 22, 2018 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 17:48:29 Sep 18, 2018. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): LoadShardBlock: 63.408 (3) esindex: 0.013 captures_list: 80.642 CDXLines.iter: 12.293 (3) PetaboxLoader3.datanode: 92.617 (5) exclusion.robots: 0.22 exclusion.robots.policy: 0.205 RedisCDXSource: 1.717 PetaboxLoader3.resolve: 45.976 (2) load_resource: 120.605 */