Current File : //var/softaculous/sitepad/editor/site-data/plugins/speedycache-pro/assets/js/delayjs.min.js
!function(){let e=["mouseover","click","keydown","wheel","touchmove","touchstart"],t=setTimeout(speedycache_delay_event,1e4);function speedycache_delay_event(){e.forEach((e=>{window.removeEventListener(e,speedycache_delay_event,{passive:!0})})),document.querySelectorAll('script[type="speedycache/javascript"]').forEach((async e=>{await new Promise((t=>function speedycache_load_js(e,t){let a=document.createElement("script");e.getAttributeNames().forEach((t=>{"type"!==t&&a.setAttribute("data-src"==t?"src":t,e.getAttribute(t))})),a.setAttribute("type","text/javascript"),e.hasAttribute("data-src")||(a.text=e.text);a.addEventListener("load",t),e.after(a),e.remove()}(e,t)))})),null!=t&&(clearTimeout(t),t=null)}e.forEach((e=>{window.addEventListener(e,speedycache_delay_event,{passive:!0})}))}();