try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`e4a37e7a-1b62-4cf3-a390-539dc2f94a9f`,e._sentryDebugIdIdentifier=`sentry-dbid-e4a37e7a-1b62-4cf3-a390-539dc2f94a9f`)}catch{}import"./rolldown-runtime-eb2nym32.js";import{O as e,m as t,v as n}from"./EIDV623S-dtkajrto.js";import{a as r,c as i,i as a,r as o,s,t as c}from"./MIMHJGAX-z8d5n2fr.js";var l=l=>{let[u,d]=i({prefix:`TanstackQueryDevtools`}),f=e(),p=n(()=>{let e=l.theme||u.theme_preference||`system`;return e===`system`?f():e});return t(r.Provider,{value:l,get children(){return t(a,{disabled:!0,localStore:u,setLocalStore:d,get children(){return t(s.Provider,{value:p,get children(){return t(o,{get children(){return t(c,{localStore:u,setLocalStore:d,get onClose(){return l.onClose},showPanelViewOnly:!0})}})}})}})}})};export{l as default};