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