/* Metro module 246; source: unknown; dependencies: [101, 247] */ function _fun3300(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#3300, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:277:6, offset: 0x00c94e8f, size: 129 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_2 = []; (importDefault(101) /* metro dependency 101 */).addListener('hardwareBackPress', _fun3301); exports.default = {exitApp: exitApp, addEventListener: addEventListener_3303}; } function _fun3301() { // fn#3301, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:277:144, offset: 0x00c94f10, size: 85 bytes, params: 1, frame: 15 var r3; var property; var call; var value3; var binding; const value2 = env0_2.length - 1; if (value2 >= 0) { r3 = value2; reducibleLoop1: while (true) { property = env0_2[r3]; if (property != null) { call = property.call; reducibleJoin3: while (true) { if (Reflect.apply(call, property, [env0_2])) { return undefined; } break reducibleJoin3; } } value3 = typeof r3 === 'bigint' ? r3 - 1n : +r3 - 1; if (!(value3 >= 0)) { binding = env0_3; binding.exitApp(); return undefined; } r3 = value3; continue reducibleLoop1; } } env0_3.exitApp(); } function exitApp() { // fn#3302, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:277:258, offset: 0x00c94f65, size: 57 bytes, params: 1, frame: 13 if (importDefault(247) /* metro dependency 247 */) { (importDefault(247) /* metro dependency 247 */).invokeDefaultBackPressHandler(); } } function addEventListener_3303(a0, a1) { // fn#3303, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:277:346, offset: 0x00c94f9e, size: 65 bytes, params: 3, frame: 13 const env0_0 = a1; if (env0_2.indexOf(a1) === -1) { env0_2.push(a1); } return {remove: remove_3304}; } function addEventListener_3303Remove() { // fn#3304, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:277:420, owner: addEventListener_3303.remove, offset: 0x00c94fdf, size: 58 bytes, params: 1, frame: 13 const value3 = env1_2.indexOf(require); if (value3 !== -1) { env1_2.splice(value3, 1); } }