import{c as a,r,ac as n,ad as l}from"./index-26FXPGkN.js";const c=e=>{const t=a.c(3);let s,o;t[0]!==e?(s=()=>(window.addEventListener("beforeunload",e),()=>{e(),window.removeEventListener("beforeunload",e)}),o=[e],t[0]=e,t[1]=s,t[2]=o):(s=t[1],o=t[2]),r.useEffect(s,o)},i=()=>{const e=a.c(2),t=n();let s;e[0]!==t?(s=()=>{t(l())},e[0]=t,e[1]=s):s=e[1],c(s)};export{i as u};
