(function(h,d,x){d.wp=d.wp||{};d.wp.heartbeat=new function(){function k(){return(new Date).getTime()}function p(b){var c=b.src;if(c&&/^https?:\/\//.test(c)){var e=d.location.origin?d.location.origin:d.location.protocol+"//"+d.location.host;if(0!==c.indexOf(e))return!1}try{if(b.contentWindow.document)return!0}catch(f){}return!1}function q(){a.hasFocus&&!document.hasFocus()?a.hasFocus=!1:!a.hasFocus&&document.hasFocus()&&m()}function r(b,c){if(b){switch(b){case "timeout":var e=!0;break;case "error":if(503=== c&&a.hasConnected){e=!0;break}case "parsererror":case "empty":case "unknown":a.errorcount++,2a.countdown&&(a.tempInterval= 0)):c=12E4,a.minimalInterval&&cc||30a.mainInterval?a.mainInterval=15:120=b.minimalInterval?1E3*b.minimalInterval:0);a.minimalInterval&&a.mainInterval