24 lines
2.0 KiB
TypeScript
24 lines
2.0 KiB
TypeScript
/* Metro module 10656; source: modules/activities/utils/trackApplicationOpen.tsx; dependencies: [661, 683, 2] */
|
|
import AnalyticsUtils from '../../../utils/AnalyticsUtils.tsx'; /* Metro dependency 683 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
|
|
|
|
function _fun81965(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#81965, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10842:6, offset: 0x01ee5aaf, size: 120 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/activities/utils/trackApplicationOpen.tsx');
|
|
exports.default = trackApplicationOpen;
|
|
function trackApplicationOpen({type, source, userId, guildId, channelId, channelType, applicationId, partyId, messageId, locationObject, analyticsLocations, referrerId, inviterUserId, remoteJoinPlatform}) { // fn#81966, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10842:214, offset: 0x01ee5b27, size: 211 bytes, params: 2, frame: 28
|
|
const defaultImport = AnalyticsUtils;
|
|
const track = defaultImport.track;
|
|
const APPLICATION_OPENED = AnalyticEvents.APPLICATION_OPENED;
|
|
Reflect.apply(track, defaultImport, [APPLICATION_OPENED, {type: type, source: source, guild_id: guildId,
|
|
channel_id: channelId, channel_type: channelType, application_id: applicationId, party_id: partyId ?? undefined,
|
|
other_user_id: userId, message_id: messageId, location: locationObject, location_stack: analyticsLocations,
|
|
referrer_id: referrerId, invite_inviter_id: inviterUserId, remote_join_platform: remoteJoinPlatform}]);
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun81965, 10656, [661, 683, 2]) /* metro module 10656, dependencies: [661, 683, 2] */;
|