1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginDialog-Ca9qJJMe.js","assets/rolldown-runtime-hePW80VL.js","assets/antv-plots-vendor-BStZcfPb.js","assets/es-CytvQ2WB.js","assets/react-dom-CSstXn6o.js","assets/client-CUF2QAU0.js","assets/es-DzwS7wJM.js","assets/jsx-runtime-SxAG3dqU.js","assets/SpotlightCard-5n4uFccD.js","assets/GradientText-CMGrPpW3.js"])))=>i.map(i=>d[i]); 2import{r as e}from"./rolldown-runtime-hePW80VL.js";import{g as t,h as n}from"./antv-plots-vendor-BStZcfPb.js";import{t as r}from"./jsx-runtime-SxAG3dqU.js";import{i}from"./http-NGcdZatv.js";var a=e(t(),1),o=r(),s=(0,a.lazy)(()=>n(async()=>{let{LoginDialog:e}=await import(`./LoginDialog-Ca9qJJMe.js`);return{LoginDialog:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(({LoginDialog:e})=>({default:e}))),c=(0,a.createContext)(null),l=`open-login-modal`;function u(e){typeof window>`u`||i.emit(l,e??{})}function d({children:e}){let[t,n]=(0,a.useState)(!1),[r,u]=(0,a.useState)({}),d=(0,a.useCallback)(e=>{u(e??{}),n(!0)},[]),f=(0,a.useCallback)(()=>{n(!1),u({})},[]);(0,a.useEffect)(()=>{let e=e=>d(e);return i.on(l,e),()=>i.off(l,e)},[d]);let p=(0,a.useCallback)(()=>{let e=r.onSuccess;f(),e?.()},[f,r.onSuccess]),m=(0,a.useMemo)(()=>({open:t,openLogin:d,closeLogin:f}),[t,d,f]);return(0,o.jsxs)(c.Provider,{value:m,children:[e,t?(0,o.jsx)(a.Suspense,{fallback:null,children:(0,o.jsx)(s,{open:t,options:r,onClose:f,onSuccess:p})}):null]})}function f(){let e=(0,a.useContext)(c);if(!e)throw Error(`useLoginModal must be used within LoginModalProvider`);return e}export{u as n,f as r,d 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.