1import{b as r,c,R as f,j as i}from"./index-DFE7upUi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0e42c658-9986-4054-a99e-d4df78ffd1c7",e._sentryDebugIdIdentifier="sentry-dbid-0e42c658-9986-4054-a99e-d4df78ffd1c7")}catch{}})();const g=({setLoggedIn:e})=>{const t=r(),a=c();return f.useEffect(()=>{(async()=>{const o=localStorage.getItem("safetag-username"),n=localStorage.getItem("safetag-id_token");if(o&&n){e(!0);const s=a.search.split("redirect=")[1];t(s||"/my-devices")}else e(!1),localStorage.removeItem("safetag-ref_token"),localStorage.removeItem("safetag-id_token"),localStorage.removeItem("safetag-username"),t(`/login?redirect=${a.pathname+a.search}`)})()},[]),i.jsx("div",{})};export{g as default}; 2//# sourceMappingURL=Redirect-BTOqDQEK.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.