"use strict";exports.id=813,exports.ids=[813],exports.modules={77813:(e,t,s)=>{s.r(t),s.d(t,{default:()=>n});var r=s(79334),i=s(58009);function n(){let e=(0,r.useRouter)();return(0,i.useEffect)(()=>{let t=new AbortController,s=0,r=()=>{let t=Date.now();t>s&&"hidden"!==document.visibilityState&&(e.refresh(),s=t+5e3)},{signal:i}=t;return document.addEventListener("visibilitychange",r,{passive:!0,signal:i}),window.addEventListener("focus",r,{passive:!0,signal:i}),()=>t.abort()},[e]),null}n.displayName="RefreshOnFocus"}};