import{af as o,_ as r}from"./vendor-ux-Dl3wVbv_.js";import{r as a}from"./vendor-react-DX7tU9aY.js";function l(){const t=o();return a.useCallback(()=>{if(t?.wallet){r(()=>import("./index-qpadg6GT.js").then(e=>e.i),[],import.meta.url).then(e=>{setTimeout(()=>{e.call("arcClosePage")},2e3)});return}setTimeout(()=>{window.close()},500)},[t?.wallet])}export{l as u};
