Sha256: b504b9ba94a74123e956d90be2d99b9137ca84790039a889dc95101a860e8326
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 KB
Contents
!function(a,c){var o,r,t,v,s,e,u,f;o=a.__activeEventName||"Activity",r=a.__activeTimeout||1e4,t=a.__activeMark||"_real_track=true",(e=/^\?(\d+)$/.exec(a.location.search))&&(r=parseInt(e[1],10)),a.activeReady=!1,f=!1,a.activeOn=function(e,t){function n(){if("function"==typeof e)return"function"==typeof requestIdleCallback&&t?requestIdleCallback(e):"function"==typeof requestAnimationFrame?requestAnimationFrame(e):void e()}var i;return"boolean"!=typeof t&&(t=!1),f?n():(i=function(){c.removeEventListener(o,i),n()},c.addEventListener(o,i,{passive:!0}))},u=function(){if(!f){f=!0;try{c.dispatchEvent(new Event(o))}catch(t){(e=c.createEvent("CustomEvent")).initCustomEvent(o,!0,!0,{}),c.dispatchEvent(e)}var e;a.activeReady=!0}},v=function(){c.cookie=t+";path=/;max-age:31536000;samesite","function"==typeof s&&s(),u()},a.activeOn.untrack=function(){var e;(e=new Date).setTime(0),c.cookie=t+";expires="+e.toGMTString()},-1===c.cookie.indexOf(t)?c.addEventListener("DOMContentLoaded",function(){var e,t,n,i,o;for(e=c.body,s=function(){var e,t,n;for(t=0,n=i.length;t<n;t++)(e=i[t])[0].removeEventListener(e[1],v)},n=0,o=(i=[[e,"mousemove"],[e,"scroll"],[e,"keydown"],[e,"click"],[e,"touchstart"],[a,"blur"],[a,"focus"]]).length;n<o;n++)(t=i[n])[0].addEventListener(t[1],v,{passive:!0});setTimeout(u,r,{passive:!0})}):setTimeout(u,10)}(window,document);
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
izi_lightup-1.0.22 | app/assets/javascripts/crit-utils/active_emit.min.js |