1import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{t}from"./react-Augu_vA3.js";import{t as n}from"./client-DIzADazv.js";var r=e(t(),1),i=null,a=!1,o=!1,s=new Set;function c(){s.forEach(e=>e())}function l(){o||(o=!0,n.auth.getSession().then(({data:{session:e}})=>{i=e,a=!0,c()}).catch(()=>{a=!0,c()}),n.auth.onAuthStateChange((e,t)=>{i=t,a=!0,c()}))}function u(){let[e,t]=(0,r.useState)(()=>(l(),{session:i,isReady:a}));return(0,r.useEffect)(()=>{l();let e=()=>t({session:i,isReady:a});return s.add(e),e(),()=>{s.delete(e)}},[]),{session:e.session,user:e.session?.user??null,isReady:e.isReady}}export{u as t};
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.