/* Metro module 1533; source: unknown; dependencies: [31, 1534] */ import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */ import * as Module01534Module from './module-01534.js'; /* Metro dependency 1534 */ function _fun17334(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17334, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1660:6, offset: 0x00e6a43f, size: 242 bytes, params: 8, frame: 20 var closure; let value = this; if (!(value && value.__createBinding)) { if (!global.Object.create) { closure = function(a0, a1, a2, a3) { var value = a2; var value2 = a3; a0[value2 !== undefined ? value2 : value] = a1[value]; }; } } if (!(value && value.__setModuleDefault)) { if (global.Object.create) { closure = function(a0, a1) { var Object = global.Object; Object.defineProperty(a0, 'default', {enumerable: true, value: a1}); }; } } let r7 = value && value.__importStar; r7 = !r7 ? _fun17340 : r7; let r4 = value && value.__importDefault; r4 = !r4 ? function(a0) { var value = a0; return value && value.__esModule ? value : {default: value}; } : r4; let Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_2 = r7(ReactModule); const env0_3 = r4(Module01534Module); exports.default = useLatestCallback; function _fun17335(a0, a1, a2, a3) { // fn#17335, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1660:93, offset: 0x00e6a531, size: 140 bytes, params: 5, frame: 19 let value = a2; const value2 = a3; const env0_0 = a1; const r5 = value2 !== undefined ? value2 : value; let Object = global.Object; value = Object.getOwnPropertyDescriptor(a1, value); const r4 = value && !('get' in value ? !a1.__esModule : value.writable || value.configurable) ? value : {enumerable: true, get: function() { return require[importDefault]; }}; Object = global.Object; Object.defineProperty(a0, r5, r4); } function _fun17340(a0) { // fn#17340, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1660:537, offset: 0x00e6a5bd, size: 127 bytes, params: 2, frame: 25 var r8; var r11; var value; var properties; var properties2; var properties3; var propertyName; var propertyName2; var value2; var Object; var prototype; var hasOwnProperty; var call; var value3; if (a0) { reducibleJoin2: while (true) { if (a0.__esModule) { return a0; } break reducibleJoin2; } } const object = {}; reducibleJoin9: while (true) { if (a0 == null) { break reducibleJoin9; } value = environment; properties = Object.keys(a0); properties2 = 0; properties3 = properties.length; if (properties === undefined) { break reducibleJoin9; } r8 = properties2; reducibleLoop4: while (true) { propertyName = properties[r8]; propertyName2 = r8 + 1; if (propertyName === undefined) { break reducibleJoin9; } value2 = propertyName !== 'default'; reducibleJoin7: while (true) { if (value2) { Object = global.Object; prototype = Object.prototype; hasOwnProperty = prototype.hasOwnProperty; call = hasOwnProperty.call; value3 = Reflect.apply(call, hasOwnProperty, [a0, propertyName]); r11 = value3; break reducibleJoin7; } r11 = value2; break reducibleJoin7; } if (r11) { env0_0(object, a0, propertyName); r8 = propertyName2; continue reducibleLoop4; } r8 = propertyName2; continue reducibleLoop4; } } env0_1(object, a0); return object; } function useLatestCallback(a0) { // fn#17342, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1660:865, offset: 0x00e6a63c, size: 77 bytes, params: 2, frame: 13 const env0_0 = a0; let binding = env0_2; let useRef = binding.useRef; const env0_1 = Reflect.apply(useRef, binding, [a0]); binding = env0_2; useRef = binding.useRef; const current = Reflect.apply(useRef, binding, [latestCallback]).current; env0_3.default(_fun17344); return current; function latestCallback() { // fn#17343, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1660:925, owner: useLatestCallback.latestCallback, offset: 0x00e6a689, size: 64 bytes, params: 1, frame: 13 var r1; const items2 = []; let value = 0; if (value < arguments.length) { for (r1 = value; true; r1 = value) { items2[r1] = arguments[r1]; value = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1; if (!(value < arguments.length)) { break; } } } return env0_1.current.apply(this, items2); } function _fun17344() { // fn#17344, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1660:1072, offset: 0x00e655cf, size: 21 bytes, params: 1, frame: 2 env0_1.current = env0_0; } } } function _fun17339(a0, a1) { // fn#17339, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1660:482, offset: 0x00dfeea9, size: 16 bytes, params: 3, frame: 2 a0.default = a1; } global.__d(_fun17334, 1533, [31, 1534]) /* metro module 1533, dependencies: [31, 1534] */;