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]=`654c7b4e-c54f-4400-a587-c942f072aa30`,e._sentryDebugIdIdentifier=`sentry-dbid-654c7b4e-c54f-4400-a587-c942f072aa30`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Qm as t,jg as n}from"./entry.client-mpghtlrl.js";var r=e(n(),1),i=e=>{let{trackUserAction:n}=t();return{trackSuccessfulFollow:(0,r.useCallback)(()=>{n(`FollowInteraction`,{type:`Follow`,wasSuccessful:!0},`Press`,{location:e})},[n]),trackFailedFollow:(0,r.useCallback)(()=>{n(`FollowInteraction`,{type:`Follow`,wasSuccessful:!1},`Press`,{location:e})},[n]),trackSuccessfulUnfollow:(0,r.useCallback)(()=>{n(`FollowInteraction`,{type:`Unfollow`,wasSuccessful:!0},`Press`,{location:e})},[n]),trackFailedUnfollow:(0,r.useCallback)(()=>{n(`FollowInteraction`,{type:`Unfollow`,wasSuccessful:!1},`Press`,{location:e})},[n]),trackSuccessfulRemoveFollower:(0,r.useCallback)(()=>{n(`FollowInteraction`,{type:`RemoveFollower`,wasSuccessful:!0},`Press`,{location:e})},[n]),trackFailedRemoveFollower:(0,r.useCallback)(()=>{n(`FollowInteraction`,{type:`RemoveFollower`,wasSuccessful:!1},`Press`,{location:e})},[n])}};export{i as t};