// Module ID: 11559 // Function ID: 11560 // Name: onTapCheckpointCard // Dependencies: [2064, 1085, 1265, 5106, 2] // Exports: onTapCheckpointCard // Module 11559 (onTapCheckpointCard) import Constants from "Constants" /* 1085 */; import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1265 */; import AppAnalyticsUtils from "AppAnalyticsUtils" /* 5106 */; import ChannelStore from "ChannelStore" /* 2064 */; import size from "module_2" /* 2 */; const AnalyticEvents = Constants.AnalyticEvents; const result = size.fileFinishedImporting("modules/checkpoint/native/onTapCheckpointCard.tsx"); export const onTapCheckpointCard = function onTapCheckpointCard(authorId) { authorId = authorId.authorId; const channel = ChannelStore.getChannel(authorId.message.channel_id); const track = AnalyticsUtilsDefault.track; const CHECKPOINT_CARD_CLICKED = AnalyticEvents.CHECKPOINT_CARD_CLICKED; const obj = { other_user_id: authorId }; AnalyticsUtilsDefault; const obj2 = AppAnalyticsUtils; const merged = Object.assign(obj2.collectChannelAnalyticsMetadata(channel)); let guild_id; const collectGuildAnalyticsMetadata = AppAnalyticsUtils.collectGuildAnalyticsMetadata; AppAnalyticsUtils; if (channel != null) { guild_id = channel.guild_id; } const merged1 = Object.assign(collectGuildAnalyticsMetadata(guild_id)); track(CHECKPOINT_CARD_CLICKED, obj); };