/* Metro module 9093; source: modules/guild_profile/hooks/useGuildProfile.tsx; dependencies: [5, 31, 9092, 566, 9094, 2] */ function _fun71120(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#71120, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9278:6, offset: 0x01d155fb, size: 149 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_2 = importDefault(5) /* metro dependency 5 */; const env0_3 = importAll(31) /* metro dependency 31 */; const guildProfileStore = importDefault(9092) /* metro dependency 9092: GuildProfileStore */; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_profile/hooks/useGuildProfile.tsx'); exports.useGuildProfile = useGuildProfile; } function useGuildProfile(a0) { // fn#71121, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9278:225, offset: 0x01d15690, size: 157 bytes, params: 2, frame: 21 var object2; const env0_0 = a0; const profile = (require(566) /* metro dependency 566: flux */).useStateFromStores([GuildProfileStore], _fun71122); const fetchStatus = (require(566) /* metro dependency 566: flux */).useStateFromStores([GuildProfileStore], _fun71123); object2 = {guildProfile: profile}; object2.fetchGuildProfile = env0_3.useCallback(env0_2(_fun71125), [a0]); object2.fetchStatus = fetchStatus; return object2; } function _fun71122() { // fn#71122, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9278:291, offset: 0x01d1572d, size: 27 bytes, params: 1, frame: 11 return GuildProfileStore.getProfile(env0_0); } function _fun71123() { // fn#71123, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9278:347, offset: 0x01d15748, size: 27 bytes, params: 1, frame: 11 return GuildProfileStore.getFetchStatus(env0_0); } async function _fun71125() { // fn#71125, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9278:430, offset: 0x01d15777, size: 92 bytes, params: 1, frame: 16 let value = a0; if (true) { var r5 = value !== undefined ? value : false; await undefined; if (false) { return undefined; } value = environment.__proto__.__proto__; value = env2_0(env2_1[4]); var getGuildProfile = value.getGuildProfile; await Reflect.apply(getGuildProfile, value, [require, r5]); } }