');} );var offset = jQuery( "[name='" + event.parent + "']" ).offset();$container.css( 'left', offset.left + event.position.left - 10 + 'px' );$container.css( 'top', offset.top + event.position.top - 33 + 'px' );var rowLength = Math.floor( event.width / 37 );var height = ( Math.ceil( event.likers.length / rowLength ) * 37 ) + 13;if ( height > 204 ) {height = 204;}$container.css( 'height', height + 'px' );$container.css( 'width', rowLength * 37 - 7 + 'px' );$list.css( 'width', rowLength * 37 + 'px' );$container.fadeIn( 'slow' );var scrollbarWidth = $list[0].offsetWidth - $list[0].clientWidth;if ( scrollbarWidth > 0 ) {$container.width( $container.width() + scrollbarWidth );$list.width( $list.width() + scrollbarWidth );}}}pm.bind( 'likesMessage', function(e) { JetpackLikesMessageListener(e); } );jQuery( document ).click( function( e ) {var $container = jQuery( '#likes-other-gravatars' );if ( $container.has( e.target ).length === 0 ) {$container.fadeOut( 'slow' );}});function JetpackLikesWidgetQueueHandler() {var wrapperID;if ( ! jetpackLikesMasterReady ) {setTimeout( JetpackLikesWidgetQueueHandler, 500 );return;}if ( jetpackLikesWidgetQueue.length > 0 ) {// We may have a widget that needs creating nowvar found = false;while( jetpackLikesWidgetQueue.length > 0 ) {// Grab the first member of the queue that isn't already loading.wrapperID = jetpackLikesWidgetQueue.splice( 0, 1 )[0];if ( jQuery( '#' + wrapperID ).hasClass( 'jetpack-likes-widget-unloaded' ) ) {found = true;break;}}if ( ! found ) {setTimeout( JetpackLikesWidgetQueueHandler, 500 );return;}} else if ( jQuery( 'div.jetpack-likes-widget-unloaded' ).length > 0 ) {// Grab any unloaded widgets for a batch requestJetpackLikesBatchHandler();// Get the next unloaded widgetwrapperID = jQuery( 'div.jetpack-likes-widget-unloaded' ).first()[0].id;if ( ! wrapperID ) {// Everything is currently loadedsetTimeout( JetpackLikesWidgetQueueHandler, 500 );return;}}if ( 'undefined' === typeof wrapperID ) {setTimeout( JetpackLikesWidgetQueueHandler, 500 );return;}var $wrapper = jQuery( '#' + wrapperID );$wrapper.find( 'iframe' ).remove();if ( $wrapper.hasClass( 'slim-likes-widget' ) ) {$wrapper.find( '.post-likes-widget-placeholder' ).after( "