// Metro module 6692 (f6693). import LurkingStore from "./LurkingStore"; import { AnalyticEvents } from "../../Constants"; import AnalyticsUtils from "../../utils/AnalyticsUtils"; export function trackLurkStarted(a0, a1, a2) { let join_source = a1; const MOBILE_LURKER_PREVIEW_LURK_STARTED = AnalyticEvents.MOBILE_LURKER_PREVIEW_LURK_STARTED; const r16 = { guild_id: a0, num_lurked_guilds: LurkingStore.lurkingGuildIds().length, join_source: null, location: null }; if (a1 == null) { join_source = null; } let location2 = a2; r16.join_source = join_source; if (a2 == null) { location2 = null; } r16.location = location2; AnalyticsUtils.track(MOBILE_LURKER_PREVIEW_LURK_STARTED, r16); } export function trackJoinClicked(a0, a1, a2) { AnalyticsUtils.track(AnalyticEvents.MOBILE_LURKER_PREVIEW_JOIN_CLICKED, { guild_id: a0, num_lurked_guilds: LurkingStore.lurkingGuildIds().length, join_source: a1, has_navigated_away: a2 }); } export function trackLeavePromptLeaveClicked(a0) { AnalyticsUtils.track(AnalyticEvents.MOBILE_LURKER_PREVIEW_LEAVE_PROMPT_LEAVE_CLICKED, { guild_id: a0, num_lurked_guilds: LurkingStore.lurkingGuildIds().length }); } export function trackGuildIconClicked(a0) { AnalyticsUtils.track(AnalyticEvents.MOBILE_LURKER_PREVIEW_GUILD_ICON_CLICKED, { guild_id: a0, num_lurked_guilds: LurkingStore.lurkingGuildIds().length }); } export function trackLongPressLeaveClicked(a0) { AnalyticsUtils.track(AnalyticEvents.MOBILE_LURKER_PREVIEW_LONG_PRESS_LEAVE_CLICKED, { guild_id: a0, num_lurked_guilds: LurkingStore.lurkingGuildIds().length }); }