2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 4559
|
|
|
|
|
// Function ID: 4560
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getSoundshareAnalyticsContext
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [4403, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 4559 (getSoundshareAnalyticsContext)
|
|
|
|
|
import closure_0 from "initialize" /* 4403 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/go_live/utils/getSoundshareAnalyticsContext.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function getSoundshareAnalyticsContext(sourcePid) {
|
|
|
|
|
if (null == sourcePid) {
|
|
|
|
|
return {};
|
|
|
|
|
} else {
|
|
|
|
|
sourcePid = sourcePid.sourcePid;
|
|
|
|
|
let tmp;
|
|
|
|
|
let tmp2;
|
|
|
|
|
if (null != sourcePid) {
|
2026-07-23 10:11:24 +00:00
|
|
|
gameForPID = gameForPID.getGameForPID(sourcePid);
|
2026-07-20 16:05:17 +00:00
|
|
|
let name;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (gameForPID != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
name = gameForPID.name;
|
|
|
|
|
}
|
|
|
|
|
let id;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (gameForPID != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
id = gameForPID.id;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp = id;
|
|
|
|
|
tmp2 = name;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj = { soundshare_session: null, share_game_name: null, share_game_id: null };
|
|
|
|
|
obj[0] = sourcePid.soundshareSession;
|
|
|
|
|
obj[1] = tmp2;
|
|
|
|
|
obj[2] = tmp;
|
2026-07-20 16:05:17 +00:00
|
|
|
return obj;
|
|
|
|
|
}
|
|
|
|
|
};
|