/* Metro module 12608; source: modules/haven/HavenUtils.tsx; dependencies: [12609, 1244, 2936, 2] */ function _fun96737(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96737, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12798:6, offset: 0x0216460e, size: 156 bytes, params: 8, frame: 20 const env0_0 = require; const closure = function(a0) { return {userId: a0.user_id, position: a0.position, avatar: a0.avatar}; }; const closure2 = function(a0) { return {id: a0.id, claimedBy: a0.claimed_by}; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/haven/HavenUtils.tsx'); exports.parseParticipant = closure; exports.parseSeat = closure2; exports.parseRoom = function(a0) { var object = {roomId: a0.room_id}; object.participants = a0.participants.map(parseParticipant); object.seats = a0.seats.map(parseSeat); return object; }; exports.getHavenSoundControlName = getHavenSoundControlName; } function getHavenSoundControlName(a0) { // fn#96741, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12798:529, offset: 0x02164735, size: 301 bytes, params: 2, frame: 15 const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; const HavenSoundKeys = (require(12609) /* metro dependency 12609: constants */).HavenSoundKeys; const RADIO = HavenSoundKeys.RADIO; if (RADIO === a0) { return intl.string((importDefault(2936) /* metro dependency 2936: HavenMessages */).AjiGKB); } const ENVIRONMENT = HavenSoundKeys.ENVIRONMENT; if (ENVIRONMENT === a0) { return intl.string((importDefault(2936) /* metro dependency 2936: HavenMessages */).YEYIbI); } const CAMPFIRE = HavenSoundKeys.CAMPFIRE; if (CAMPFIRE === a0) { return intl.string((importDefault(2936) /* metro dependency 2936: HavenMessages */)['Vk9+Ez']); } return ''; }