/* Metro module 12592; source: stores/GeoRestrictedGuildStore.tsx; dependencies: [6, 7, 15, 17, 18, 566, 694, 2] */ function _fun96494(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#96494, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12782:6, offset: 0x0215f954, size: 297 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_0 = importDefault(6) /* metro dependency 6 */; const env0_1 = importDefault(7) /* metro dependency 7 */; const env0_2 = importDefault(15) /* metro dependency 15 */; const env0_3 = importDefault(17) /* metro dependency 17 */; const env0_4 = importDefault(18) /* metro dependency 18 */; let env0_5 = []; const Store = (importDefault(566) /* metro dependency 566: flux */).Store; let value = _fun96498(Store); value.displayName = 'GeoRestrictedGuildStore'; value = new value(importDefault(694) /* metro dependency 694: Dispatcher */, {CONNECTION_OPEN: function(a0) { env0_5 = a0.geoRestrictedGuilds; }, GUILD_DELETE: GUILD_DELETE_96502, GUILD_GEO_RESTRICTED: GUILD_GEO_RESTRICTED_96505}); (require(2) /* metro dependency 2 */).fileFinishedImporting('stores/GeoRestrictedGuildStore.tsx'); exports.default = value; } function _isNativeReflectConstruct_96495() { // fn#96495, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12782:149, offset: 0x0215fa7d, size: 98 bytes, params: 1, frame: 18 var Boolean; var prototype; var valueOf; var call; var Reflect; var construct; var closure; var value; var error; try { Boolean = global.Boolean; prototype = Boolean.prototype; valueOf = prototype.valueOf; call = valueOf.call; Reflect = global.Reflect; construct = Reflect.construct; Boolean = global.Boolean; closure = function() { }; value = Reflect.apply(construct, Reflect, [Boolean, [], closure]); value = Reflect.apply(call, valueOf, [value]); var result = !value; } catch (error) { } return (_isNativeReflectConstruct_96495_isNativeReflectConstruct = function() { return !!result; })(); } function _fun96498(a0) { // fn#96498, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12782:357, offset: 0x0215fadf, size: 74 bytes, params: 2, frame: 15 const closure = GeoRestrictedGuildStore; env0_4(closure, a0); return env0_1(closure, [{key: 'getGeoRestrictedGuilds', value: value_96500}]); } function GUILD_DELETE_96502({guild}) { // fn#96502, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12782:902, offset: 0x0215fb3d, size: 82 bytes, params: 2, frame: 13 if (env0_5.findIndex(function({id}) { return id === guild.id; }) === -1) { return false; } env0_5 = env0_5.filter(function({id}) { return id !== guild.id; }); } function GUILD_GEO_RESTRICTED_96505(a0) { // fn#96505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12782:1038, offset: 0x0215fb8f, size: 92 bytes, params: 2, frame: 14 const env0_0 = a0; env0_5.filter(_fun96506).push({id: a0.guildId, name: a0.name, icon: a0.icon, unavailable: true, geo_restricted: true}); } function _fun96506({id}) { // fn#96506, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12782:1089, offset: 0x0215fbeb, size: 26 bytes, params: 2, frame: 2 return id !== env0_0.guildId; }