"use strict";new function(){var getHashCode=function(val){var hash=0;for(var i=0;i3*60*60*1e3){window.localStorage.setItem(pd.id+"_st",pt);sessionStart=pt}var pp=window.localStorage.getItem(pd.id+"_pp");if(pp!=null&&pp!=""){var ppo=JSON.parse(pp),ppu=location.protocol+"//"+location.hostname+location.pathname,pph=getHashCode(ppu).toString();if(ppo[pph]!=null&&ppo[pph].length>0){var ids=[];for(var i=0;i=ppo[pph][i].lc)continue;window.localStorage.setItem(pd.id+"_pp_"+ppo[pph][i].id,(pp_count+1).toString())}if(ppo[pph][i].sc!=null){var pp_count=window.localStorage.getItem(pd.id+"_pp_"+ppo[pph][i].id);if(pp_count==null||pp_count=="")pp_count=0;else pp_count=parseFloat(pp_count);if(pp_count>=ppo[pph][i].sc)continue;window.localStorage.setItem(pd.id+"_pp_"+ppo[pph][i].id,(pp_count+1).toString())}if(ppo[pph][i].sn!=null||ppo[pph][i].sx!=null){var pd=(new Date).getTime()-sessionStart;if(ppo[pph][i].sn!=null&&pdppo[pph][i].sx)continue}ids.push(ppo[pph][i].id)}if(ids.length>0){var script=document.createElement("SCRIPT");script.async=true;script.src=pps+"&ppu="+encodeURIComponent(ppu)+"&pp="+encodeURIComponent(ids.join(","))+(ppo["v"]==null?"":"&v="+ppo["v"]);document.head.appendChild(script)}}}}var activityStart=function(){if(pal-(new Date).getTime()>pai)activityStop();pal=(new Date).getTime();if(pa[pa.length-1].stop!=null)pa.push({start:(new Date).getTime()})};var activityStop=function(){if(pa[pa.length-1].stop==null){if((new Date).getTime()-pal>pai)pa[pa.length-1].stop=pal+pai;else pa[pa.length-1].stop=(new Date).getTime()}};for(var i=0;i60*60*1e3)pd["d"]=0;activityStop();var a=0;for(var i=0;i