1import{m as e,a as r,r as o,N as a,t as i,j as s,A as t,C as l,aa as c}from"./index-r-KClxtY.js";const n=n=>{const d=e(),{logout:u}=c(),{addNotice:h}=r();return o.useEffect((()=>{Promise.all([Promise.resolve(d.redirect_uri),Promise.resolve(d.do_logout)]).then((([e,r])=>{console.log("faccio logout?: ",r),r?(console.log("faccio logout"),u().then((()=>window.location.href=e)).catch((e=>h({title:i.notices.generic_error,type:a.error,timeout:5e3})))):window.location.href=e})).catch((e=>{window.location.href=e.redirect_uri}))}),[d]),s.jsx("div",{className:"WaitForDeferAndRedirect-wrapper route-wrapper",children:s.jsx(o.Suspense,{fallback:s.jsx(l,{spinner:!0,labelPrimary:"",labelSecondary:"",minHeight:100}),children:s.jsx(t,{resolve:d.redirect_uri,children:s.jsx(l,{spinner:!0,labelPrimary:"",labelSecondary:"",minHeight:100})})})})};export{n as default};
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.