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]=`60010dc6-ff5e-45c8-84f7-2a1a4c05fa52`,e._sentryDebugIdIdentifier=`sentry-dbid-60010dc6-ff5e-45c8-84f7-2a1a4c05fa52`)}catch{}import{$h as e,Ag as t,Cp as n,Qm as r,Yh as i,Zm as a}from"./entry.client-mpghtlrl.js";var o=t(),s=()=>{let t=(0,o.c)(19),{audio:s}=a(),c;t[0]===s.queries.microphoneState?c=t[1]:(c=s.queries.microphoneState.getOptions(),t[0]=s.queries.microphoneState,t[1]=c);let l;t[2]===s.queries.microphoneHolder?l=t[3]:(l=s.queries.microphoneHolder.getOptions(),t[2]=s.queries.microphoneHolder,t[3]=l);let u;t[4]!==c||t[5]!==l?(u={queries:[c,l]},t[4]=c,t[5]=l,t[6]=u):u=t[6];let[d,f]=e(u),{data:p}=d,{data:m}=f,h;t[7]===s.mutations.toggleMicState?h=t[8]:(h=s.mutations.toggleMicState.getOptions(),t[7]=s.mutations.toggleMicState,t[8]=h);let{mutate:g}=i(h),{trackUserAction:_}=r(),v;t[9]===_?v=t[10]:(v=(e,t)=>{_(`MicrophoneToggle`,{micState:e,wasSuccessful:t},`Press`)},t[9]=_,t[10]=v);let y=v,b;t[11]!==p||t[12]!==g||t[13]!==y?(b=()=>{if(p===n.Enabled||p===n.Muted){let e=p===n.Enabled?`Muted`:`Enabled`;g(void 0,{onSuccess:()=>y(e,!0),onError:()=>y(e,!1)})}},t[11]=p,t[12]=g,t[13]=y,t[14]=b):b=t[14];let x=b,S=p??n.Enabled,C=m??null,w;return t[15]!==S||t[16]!==C||t[17]!==x?(w={micState:S,micHolder:C,toggleMicState:x},t[15]=S,t[16]=C,t[17]=x,t[18]=w):w=t[18],w};export{s as t};