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]=`ef53b434-36fc-456f-9a50-b46c0fe70b6d`,e._sentryDebugIdIdentifier=`sentry-dbid-ef53b434-36fc-456f-9a50-b46c0fe70b6d`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{Fg as t,Ig as n}from"./entry.client-dr7r6s9a.js";import{r}from"./ControllerPairingContext-lndsofbd.js";var i=t(),a=e(n(),1),o=(e,t)=>{let n=(0,i.c)(4),r,o;n[0]!==e||n[1]!==t?(r=()=>{e||t()},o=[e,t],n[0]=e,n[1]=t,n[2]=r,n[3]=o):(r=n[2],o=n[3]),(0,a.useEffect)(r,o)},s=e=>{let{isPairingDialogCloseHandled:t}=r();o(t,e)},c=e=>{let{isBTDialogCloseHandled:t}=r();o(t,e)};export{s as n,c as t};