/* Metro module 14826; source: modules/icymi/native/NativeICYMIActionCreators.tsx; dependencies: [5, 661, 9579, 507, 694, 3857, 1244, 2] */ import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */ import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */ function _fun111891(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#111891, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15023:6, offset: 0x023b6f57, size: 147 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); object = {customScoreGuild: customScoreGuild}; (FileImportTrackerModule).fileFinishedImporting('modules/icymi/native/NativeICYMIActionCreators.tsx'); exports.default = object; function customScoreGuild({guildId, channelScores, guildScore}) { // fn#111892, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15023:146, offset: 0x023b6fea, size: 61 bytes, params: 2, frame: 11 return Module00005(_fun111894)(); function* _fun111894() { // fn#111894, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15023:193, offset: 0x023b7032, size: 471 bytes, params: 1, frame: 20 var environment; var r7; var binding; var value3; var value4; var icymiEnabled; var binding2; var property; var value5; var HTTP; var put; var object; var GRAVITY_CUSTOM_GUILD_SCORES; var object2; var value6; var value7; var map; var closure; var value8; var value9; var value10; var value11; var binding3; var value12; var dispatch; var value13; var open; var value14; var intl; var string; var value15; var t; var OMdbs1; var value16; var error; var binding4; var value17; var CG4Hks; if (false) { return undefined; } reduciblePort74: while (true) { exceptionLanding73: while (true) { value = environment.__proto__.__proto__; binding = env2_0; value3 = undefined; value4 = binding(env2_2[2]); icymiEnabled = value4.icymiEnabled; if (Reflect.apply(icymiEnabled, value4, ['customScores'])) { try { binding = env2_0; } catch (error) { break exceptionLanding73; } try { binding2 = env2_2; } catch (error) { break exceptionLanding73; } try { property = binding2[3]; } catch (error) { break exceptionLanding73; } try { value5 = binding(property); } catch (error) { break exceptionLanding73; } try { HTTP = value5.HTTP; } catch (error) { break exceptionLanding73; } try { put = HTTP.put; } catch (error) { break exceptionLanding73; } try { object = {}; } catch (error) { break exceptionLanding73; } try { binding = env2_4; } catch (error) { break exceptionLanding73; } try { GRAVITY_CUSTOM_GUILD_SCORES = binding.GRAVITY_CUSTOM_GUILD_SCORES; } catch (error) { break exceptionLanding73; } try { object.url = GRAVITY_CUSTOM_GUILD_SCORES; } catch (error) { break exceptionLanding73; } try { object2 = {}; } catch (error) { break exceptionLanding73; } value6 = environment.__proto__; try { } catch (error) { break exceptionLanding73; } try { object2.guild_id = require; } catch (error) { break exceptionLanding73; } try { } catch (error) { break exceptionLanding73; } try { value7 = importDefault == null; } catch (error) { break exceptionLanding73; } reducibleJoin26: while (true) { if (value7) { r7 = value3; break reducibleJoin26; } try { } catch (error) { break exceptionLanding73; } try { map = importDefault.map; } catch (error) { break exceptionLanding73; } try { } catch (error) { break exceptionLanding73; } try { closure = function({channelId, score}) { return {channel_id: channelId, score: score}; }; } catch (error) { break exceptionLanding73; } try { value8 = Reflect.apply(map, importDefault, [closure]); } catch (error) { break exceptionLanding73; } r7 = value8; break reducibleJoin26; } try { object2.channel_scores = r7; } catch (error) { break exceptionLanding73; } try { } catch (error) { break exceptionLanding73; } try { object2.guild_score = dependencyMap; } catch (error) { break exceptionLanding73; } try { object.body = object2; } catch (error) { break exceptionLanding73; } try { object.rejectWithError = true; } catch (error) { break exceptionLanding73; } try { value9 = Reflect.apply(put, HTTP, [object]); } catch (error) { break exceptionLanding73; } yield value9; try { value10 = undefined; value11 = false; } catch (error) { break exceptionLanding73; } if (value11) { return value10; } try { binding = env2_1; } catch (error) { break exceptionLanding73; } try { binding3 = env2_2; } catch (error) { break exceptionLanding73; } try { property = binding3[4]; } catch (error) { break exceptionLanding73; } try { value12 = binding(property); } catch (error) { break exceptionLanding73; } try { dispatch = value12.dispatch; } catch (error) { break exceptionLanding73; } try { object = {}; } catch (error) { break exceptionLanding73; } try { object.type = 'ICYMI_CUSTOM_SCORES_UPDATED'; } catch (error) { break exceptionLanding73; } try { } catch (error) { break exceptionLanding73; } try { object.guildId = require; } catch (error) { break exceptionLanding73; } try { } catch (error) { break exceptionLanding73; } try { object.channelScores = importDefault; } catch (error) { break exceptionLanding73; } try { } catch (error) { break exceptionLanding73; } try { object.guildScore = dependencyMap; } catch (error) { break exceptionLanding73; } try { Reflect.apply(dispatch, value12, [object]); } catch (error) { break exceptionLanding73; } try { property = binding3[5]; } catch (error) { break exceptionLanding73; } try { value13 = binding(property); } catch (error) { break exceptionLanding73; } try { open = value13.open; } catch (error) { break exceptionLanding73; } try { object = {}; } catch (error) { break exceptionLanding73; } try { object.key = 'GravityGuildScore'; } catch (error) { break exceptionLanding73; } try { binding = env2_0; } catch (error) { break exceptionLanding73; } try { property = binding3[6]; } catch (error) { break exceptionLanding73; } try { value14 = binding(property); } catch (error) { break exceptionLanding73; } try { intl = value14.intl; } catch (error) { break exceptionLanding73; } try { string = intl.string; } catch (error) { break exceptionLanding73; } try { property = binding3[6]; } catch (error) { break exceptionLanding73; } try { value15 = binding(property); } catch (error) { break exceptionLanding73; } try { t = value15.t; } catch (error) { break exceptionLanding73; } try { OMdbs1 = t.OMdbs1; } catch (error) { break exceptionLanding73; } try { value16 = Reflect.apply(string, intl, [OMdbs1]); } catch (error) { break exceptionLanding73; } try { object.content = value16; } catch (error) { break exceptionLanding73; } try { Reflect.apply(open, value13, [object]); } catch (error) { break exceptionLanding73; } break reduciblePort74; } break reduciblePort74; } binding = env2_1; binding4 = env2_2; value17 = binding(binding4[5]); open = value17.open; binding = env2_0; intl = binding(binding4[6]).intl; string = intl.string; t = binding(binding4[6]).t; CG4Hks = t.CG4Hks; Reflect.apply(open, value17, [{key: 'GravityGuildScore', content: Reflect.apply(string, intl, [CG4Hks])}]); break reduciblePort74; } return value3; } } } global.__d(_fun111891, 14826, [5, 661, 9579, 507, 694, 3857, 1244, 2]) /* metro module 14826, dependencies: [5, 661, 9579, 507, 694, 3857, 1244, 2] */;