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]=`ba2603c0-ec0a-453e-b158-245c73b7c987`,e._sentryDebugIdIdentifier=`sentry-dbid-ba2603c0-ec0a-453e-b158-245c73b7c987`)}catch{}import{Fg as e,Og as t,ch as n,sh as r,tm as i,wg as a}from"./entry.client-dr7r6s9a.js";var o=e(),s=()=>{let e=(0,o.c)(19),{audio:s}=r(),c;e[0]===s.queries.microphoneState?c=e[1]:(c=s.queries.microphoneState.getOptions(),e[0]=s.queries.microphoneState,e[1]=c);let l;e[2]===s.queries.microphoneHolder?l=e[3]:(l=s.queries.microphoneHolder.getOptions(),e[2]=s.queries.microphoneHolder,e[3]=l);let u;e[4]!==c||e[5]!==l?(u={queries:[c,l]},e[4]=c,e[5]=l,e[6]=u):u=e[6];let[d,f]=t(u),{data:p}=d,{data:m}=f,h;e[7]===s.mutations.toggleMicState?h=e[8]:(h=s.mutations.toggleMicState.getOptions(),e[7]=s.mutations.toggleMicState,e[8]=h);let{mutate:g}=a(h),{trackUserAction:_}=n(),v;e[9]===_?v=e[10]:(v=(e,t)=>{_(`MicrophoneToggle`,{micState:e,wasSuccessful:t},`Press`)},e[9]=_,e[10]=v);let y=v,b;e[11]!==p||e[12]!==g||e[13]!==y?(b=()=>{if(p===i.Enabled||p===i.Muted){let e=p===i.Enabled?`Muted`:`Enabled`;g(void 0,{onSuccess:()=>y(e,!0),onError:()=>y(e,!1)})}},e[11]=p,e[12]=g,e[13]=y,e[14]=b):b=e[14];let x=b,S=p??i.Enabled,C=m??null,w;return e[15]!==S||e[16]!==C||e[17]!==x?(w={micState:S,micHolder:C,toggleMicState:x},e[15]=S,e[16]=C,e[17]=x,e[18]=w):w=e[18],w};export{s as t};