import{r,j as s,d as a}from"./client-bp6u3qVZ.js";function c(){return r.useEffect(()=>{const n=window.location.hash.substring(1),e=new URLSearchParams(n),o=e.get("access_token"),t=e.get("refresh_token");o?(localStorage.setItem("access_token",o),t&&localStorage.setItem("refresh_token",t),window.location.href="/"):console.error("AuthCallback: No access token found in URL hash.")},[]),s.jsx("div",{children:"Loading..."})}a.createRoot(document.getElementById("root")).render(s.jsx(c,{}));
