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]=`f2d04af5-3e09-48f0-9958-4423150e09ed`,e._sentryDebugIdIdentifier=`sentry-dbid-f2d04af5-3e09-48f0-9958-4423150e09ed`)}catch{}import{o as e}from"./rolldown-runtime-eb2nym32.js";import{Ig as t,ch as n}from"./entry.client-dr7r6s9a.js";var r=e(t(),1),i=e=>{let{trackUserAction:t}=n();return{trackSuccessfulFollow:(0,r.useCallback)(()=>{t(`FollowInteraction`,{type:`Follow`,wasSuccessful:!0},`Press`,{location:e})},[t]),trackFailedFollow:(0,r.useCallback)(()=>{t(`FollowInteraction`,{type:`Follow`,wasSuccessful:!1},`Press`,{location:e})},[t]),trackSuccessfulUnfollow:(0,r.useCallback)(()=>{t(`FollowInteraction`,{type:`Unfollow`,wasSuccessful:!0},`Press`,{location:e})},[t]),trackFailedUnfollow:(0,r.useCallback)(()=>{t(`FollowInteraction`,{type:`Unfollow`,wasSuccessful:!1},`Press`,{location:e})},[t]),trackSuccessfulRemoveFollower:(0,r.useCallback)(()=>{t(`FollowInteraction`,{type:`RemoveFollower`,wasSuccessful:!0},`Press`,{location:e})},[t]),trackFailedRemoveFollower:(0,r.useCallback)(()=>{t(`FollowInteraction`,{type:`RemoveFollower`,wasSuccessful:!1},`Press`,{location:e})},[t])}};export{i as t};