import{r as t}from"./router.chunk.YsRm4bSN.js";const e=(e,r=300)=>{const[o,s]=t.useState(e);return t.useEffect(()=>{const t=setTimeout(()=>{s(e)},r);return()=>{clearTimeout(t)}},[e,r]),o};export{e as u};
