Loading
function(e,t,n){"use strict";var i=n(582128);let r=["mousemove","mousedown","keydown","scroll","touchstart","pointerdown"];n.d(t,{},{Cz:function(e){let[t,n]=i.useState(!0);return i.useEffect(()=>{if(null==e||"u"<typeof IntersectionObserver)return void n(!0);let t=new IntersectionObserver(e=>{let t=e[e.length-1];null!=t&&n(t.isIntersecting)});return t.observe(e),()=>t.disconnect()},[e]),t},Rs:function(){let[e,t]=i.useState(!0);return i.useEffect(()=>{function e(){return t(!0)}function n(){return t(!1)}return t(window.document.hasFocus()),window.addEventListener("focus",e),window.addEventListener("blur",n),()=>{window.removeEventListener("focus",e),window.removeEventListener("blur",n)}},[]),e},Xb:function(e){let[t,n]=i.useState(!1),a=i.useRef(null),s=i.useCallback(()=>{n(!1),null!=a.current&&clearTimeout(a.current),a.current=setTimeout(()=>n(!0),e)},[e]);return i.useEffect(()=>{for(let e of r)window.addEventListener(e,s,{passive:!0,capture:!0});return a.current=setTimeout(()=>n(!0),e),()=>{for(let e of r)window.removeEventListener(e,s,{capture:!0});null!=a.current&&clearTimeout(a.current)}},[e,s]),[t,s]}})}