Files
2026-07-28 01:06:53 +03:00

30 lines
2.2 KiB
TypeScript

/* Metro module 11512; source: modules/checkpoint/native/onTapCheckpointCard.tsx; dependencies: [1379, 661, 683, 4863, 2] */
import AnalyticsUtils from '../../../utils/AnalyticsUtils.tsx'; /* Metro dependency 683 */
import ChannelStore from '../../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as AppAnalyticsUtilsModule from '../../app_analytics/AppAnalyticsUtils.tsx'; /* Metro dependency 4863 */
function _fun88146(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#88146, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11698:6, offset: 0x01fd6880, size: 140 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/checkpoint/native/onTapCheckpointCard.tsx');
exports.onTapCheckpointCard = onTapCheckpointCard;
function onTapCheckpointCard({message, authorId}) { // fn#88147, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11698:236, offset: 0x01fd690c, size: 165 bytes, params: 2, frame: 20
const channel = ChannelStore.getChannel(message.channel_id);
const defaultImport = AnalyticsUtils;
const track = defaultImport.track;
const CHECKPOINT_CARD_CLICKED = AnalyticEvents.CHECKPOINT_CARD_CLICKED;
const object = {other_user_id: authorId};
copyDataProperties(object, AppAnalyticsUtilsModule.collectChannelAnalyticsMetadata(channel),
AppAnalyticsUtilsModule);
copyDataProperties(object, AppAnalyticsUtilsModule.collectGuildAnalyticsMetadata(channel?.guild_id), AppAnalyticsUtilsModule);
Reflect.apply(track, defaultImport, [CHECKPOINT_CARD_CLICKED, object]);
}
}
global.__d(_fun88146, 11512, [1379, 661, 683, 4863,
2]) /* metro module 11512, dependencies: [1379, 661, 683, 4863, 2] */;