PageSourceSearch

https://airasiavirtualgroup.lovable.app/assets/use-auth-4N5MVPl-.js

js airasiavirtualgroup.lovable.app collected 2026-10-03 03:17:52 UTC 860 bytes, 1 lines download raw bytes

1import{c as p}from"./createLucideIcon-DOo1bpfc.js";import{r as s,_ as c}from"./main-CBkM6RW2.js";const h=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],m=p("x",h);function g(){const[i,n]=s.useState(null),[_,u]=s.useState(null),[l,o]=s.useState(!0);s.useEffect(()=>{c(async()=>{const{supabase:t}=await import("./client-D5JaHkLY.js");return{supabase:t}},[]).then(({supabase:t})=>{const{data:{subscription:e}}=t.auth.onAuthStateChange((a,r)=>{u(r),n(r?.user??null),o(!1)});return t.auth.getSession().then(({data:{session:a}})=>{u(a),n(a?.user??null),o(!1)}),()=>e.unsubscribe()})},[]);const d=s.useCallback(async()=>{const{supabase:t}=await c(async()=>{const{supabase:e}=await import("./client-D5JaHkLY.js");return{supabase:e}},[]);await t.auth.signOut()},[]);return{user:i,session:_,isLoading:l,signOut:d}}export{m as X,g as u};

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.