PageSourceSearch

https://liveheats.com/static/useLazyQuery--5iQ8Bk2.js

js liveheats.com collected 2026-10-03 23:42:01 UTC 3,163 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`38d55a81ed21f4319b2d660d6a824da241f18b89`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`178781ec-2d09-4a0e-88f1-373e9e436908`,e._sentryDebugIdIdentifier=`sentry-dbid-178781ec-2d09-4a0e-88f1-373e9e436908`)}catch{}})();import{a as e}from"./rolldown-runtime-BXtDWNRW.js";import{h as t}from"./forms-Bphj6RK5.js";import{g as n,h as r,m as i,u as a}from"./currentUserContext-DBFOFNyb.js";import{n as o,t as s}from"./useDeepMemo-B-7rLdfg.js";import{t as c}from"./maybeDeepFreeze-_XTsxXNq.js";import{t as l}from"./useIsomorphicLayoutEffect-gmlTsGBZ.js";import{t as u}from"./useSyncExternalStore-Bn39rWTh.js";var d=e(t(),1),f;function p(){}function m(){return f||(f=d.createContext(null)),d.useCallback(()=>{let e=console.error;try{return console.error=p,d.useContext(f),!0}catch{return!1}finally{console.error=e}},[])}var h=[`refetch`,`fetchMore`,`updateQuery`,`startPolling`,`stopPolling`,`subscribeToMore`],g=function(e,t){let a=o(t==null?void 0:t.client),c=d.useRef(void 0),f=d.useRef(void 0),p=d.useRef(()=>{}),g=s(()=>t,[t]),v=m();function y(){return a.watchQuery({...t,query:e,initialFetchPolicy:t==null?void 0:t.fetchPolicy,fetchPolicy:`standby`,[i]:!0})}let[b,x]=d.useState(a),[S,C]=d.useState(y);b!==a&&(x(a),C(y()));let w=d.useCallback((e,t)=>{var n;let i=(n=f.current)==null?void 0:n.data;i&&!r(i,e.data)&&(c.current=i),f.current=e,t()},[]),T=u(d.useCallback(e=>{p.current=e;let t=S.subscribe(t=>{r(f.current,t)||w(t,e)});return()=>{t.unsubscribe()}},[S,w]),()=>f.current||_,()=>_),E=d.useMemo(()=>{let e={};for(let t of h)e[t]=function(...e){return n(f.current,31,t),S[t](...e)};return e},[S]);d.useEffect(()=>{let n={query:e,errorPolicy:g==null?void 0:g.errorPolicy,refetchOn:g==null?void 0:g.refetchOn,refetchWritePolicy:g==null?void 0:g.refetchWritePolicy,returnPartialData:g==null?void 0:g.returnPartialData,notifyOnNetworkStatusChange:g==null?void 0:g.notifyOnNetworkStatusChange,pollInterval:g==null?void 0:g.pollInterval,nextFetchPolicy:t==null?void 0:t.nextFetchPolicy,skipPollAttempt:t==null?void 0:t.skipPollAttempt};S.options.fetchPolicy!==`standby`&&g!=null&&g.fetchPolicy&&(n.fetchPolicy=g.fetchPolicy),S.applyOptions(n)},[e,S,g,t==null?void 0:t.nextFetchPolicy,t==null?void 0:t.skipPollAttempt]);let D=d.useCallback((...e)=>{var t;n(!v(),32);let[i]=e,a=S.options.fetchPolicy;a===`standby`&&(a=S.options.initialFetchPolicy);let o=f.current,s=S.variables,c=S.reobserve({fetchPolicy:a,variables:i==null?void 0:i.variables,context:(t=i==null?void 0:i.context)==null?{}:t});return S.options.notifyOnNetworkStatusChange&&f.current===o&&!r(S.variables,s)&&(f.current&&(f.current={...f.current}),p.current()),c},[S,v]),O=d.useRef(D);return l(()=>{O.current=D}),[d.useCallback((...e)=>O.current(...e),[]),d.useMemo(()=>{let{partial:e,...t}=T;return{...E,...t,client:a,previousData:c.current,variables:S.variables,observable:S,called:!!f.current}},[a,T,E,S])]},_=c({data:void 0,dataState:`empty`,loading:!1,networkStatus:a.ready,partial:!0});export{g 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.