"use strict";new function(){const getHashCode=function(val){let hash=0;for(let i=0;i108e5)&&(window.localStorage.setItem(pd.id+"_st",pt),sessionStart=pt);const pp=window.localStorage.getItem(pd.id+"_pp");if(pp!=null&&pp!=""){const ppo=JSON.parse(pp),ppu=location.protocol+"//"+location.hostname+location.pathname,pph=getHashCode(ppu).toString();if(ppo[pph]!=null&&ppo[pph].length>0){const ids=[];for(let 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){let pp_count=window.localStorage.getItem(pd.id+"_pp_"+ppo[pph][i].id);if(pp_count=pp_count==null||pp_count==""?0:parseFloat(pp_count),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){const pdur=Date.now()-sessionStart;if(ppo[pph][i].sn!=null&&pdurppo[pph][i].sx)continue}ids.push(ppo[pph][i].id)}if(ids.length>0){const script=document.createElement("SCRIPT");script.async=!0;script.src=pps+"&ppu="+encodeURIComponent(ppu)+"&pp="+encodeURIComponent(ids.join(","))+(ppo.v==null?"":"&v="+ppo.v);document.head.appendChild(script)}}}}const activityStart=function(){pal-Date.now()>pai&&activityStop();pal=Date.now();pa[pa.length-1].stop!=null&&pa.push({start:Date.now()})},activityStop=function(){pa[pa.length-1].stop==null&&(pa[pa.length-1].stop=Date.now()-pal>pai?pal+pai:Date.now())},unload=function(){if(!unloaded){unloaded=!0;pd.d=Date.now()-pt;(pd.d<0||pd.d>36e5)&&(pd.d=0);activityStop();let a=0;for(let i=0;i