PageSourceSearch

https://just-say-hello.lalbalihaa.workers.dev/assets/use-desk-data-B4hsIGu1.js

js just-say-hello.lalbalihaa.workers.dev collected 2026-10-03 05:51:44 UTC 984 bytes, 1 lines download raw bytes

1import{a}from"./vendor-icons-BAWk6-Ls.js";import{u as r,n as u,o as f,z as k,x as l}from"./SiteFooter-L6tVO0ep.js";import{t as m}from"./index-Bk3JhjpW.js";function h(){const c=r(t=>t.setMarkets),o=r(t=>t.markets),{data:n}=u({queryKey:["markets"],queryFn:l,refetchInterval:15e3,refetchOnWindowFocus:!0,staleTime:5e3});a.useEffect(()=>{n&&c(n)},[n,c]);const i=a.useMemo(()=>{const t=new Set,e=[];for(const s of o)t.has(s.upTokenId)||(t.add(s.upTokenId),e.push(s.upTokenId)),t.has(s.downTokenId)||(t.add(s.downTokenId),e.push(s.downTokenId));return e},[o]);f(i,1500);const d=k(t=>t.reconcile);a.useEffect(()=>{if(o.length===0)return;const t=new Set(o.map(e=>e.id));d({activeMarketIds:t,finalMid:e=>r.getState().lastMid[e]??null,now:Date.now(),onSettled:e=>{const s=e.status==="won";m[s?"success":"message"](`${e.asset} ${e.window} · ${e.side.toUpperCase()} ${s?"won":"lost"}`,{description:s?`+$${e.payout?.toFixed(2)} credited`:`Lost $${e.cost.toFixed(2)}`})}})},[o,d])}export{h 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.