PageSourceSearch

https://win786.com/assets/theme-0/activeMonitor.CGlmhPly.js

js win786.com collected 2026-10-05 03:40:39 UTC 1,778 bytes, 1 lines download raw bytes

1var a=Object.defineProperty;var o=(r,t,s)=>t in r?a(r,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[t]=s;var e=(r,t,s)=>o(r,typeof t!="symbol"?t+"":t,s);const i=class i{constructor(t){e(this,"LOCAL_STORAGE_KEY","lobby@active_monitor_process");e(this,"ALERT_TIMEOUT",5e3);e(this,"timer",null);e(this,"callbackList",[]);e(this,"restartBind");e(this,"onActiveBind");e(this,"destoryBind");this.restartBind=this.restart.bind(this),this.onActiveBind=this.onActive.bind(this),this.destoryBind=this.destory.bind(this),this.ALERT_TIMEOUT=t.timeout,localStorage.getItem(this.LOCAL_STORAGE_KEY)?setTimeout(()=>{this.triggerActive()}):this.start()}addCallback(t){this.callbackList.push(t)}static getInstance(t,s){return i.instance||(i.instance=new i(s)),s.independent&&(i.instance.callbackList=[]),i.instance.addCallback(t),i.instance}triggerActive(){this.callbackList.forEach(t=>{t(i.instance)})}startTimer(){this.timer&&this.stopTimer(),this.timer=setTimeout(()=>{this.stop(),localStorage.setItem(this.LOCAL_STORAGE_KEY,"1"),this.triggerActive()},this.ALERT_TIMEOUT)}stopTimer(){this.timer&&(clearTimeout(this.timer),this.timer=null)}start(){this.startTimer(),window.addEventListener("click",this.onActiveBind),window.addEventListener("touchstart",this.onActiveBind),window.addEventListener("beforeunload",this.destoryBind)}onActive(){localStorage.removeItem(this.LOCAL_STORAGE_KEY),this.stopTimer(),this.startTimer()}restart(){this.destory(),this.start()}stop(){this.stopTimer(),window.removeEventListener("click",this.onActiveBind),window.removeEventListener("touchstart",this.onActiveBind),window.removeEventListener("beforeunload",this.destoryBind)}destory(){localStorage.removeItem(this.LOCAL_STORAGE_KEY),this.stop()}};e(i,"instance");let n=i;export{n as ActiveMonitor};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.