/* Metro module 4818; source: utils/SortedArrayUtils.tsx; dependencies: [2] */ import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */ function _fun42031(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#42031, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4996:6, offset: 0x0112e62c, size: 102 bytes, params: 8, frame: 17 const closure = function(a0, a1, a2) { var r1; var r5; var r9; var r0; var value2; var value3; var length = a0.length; var value = 0; if (value < length) { r1 = value; r5 = length; while (true) { value2 = r1 + r5 >>> 1; if (a2(a0[value2], a1) < value) { value3 = value2 + 1; r1 = value3; r9 = r5; } else { r9 = value2; } if (r1 < r9) { r5 = r9; continue; } r0 = r1; break; } } else { r0 = value; } return r0; }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); (FileImportTrackerModule).fileFinishedImporting('utils/SortedArrayUtils.tsx'); exports.insertionIndex = closure; exports.insert = insert; function insert(a0, a1, a2) { // fn#42033, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4996:298, offset: 0x0112e6de, size: 42 bytes, params: 4, frame: 16 a0.splice(insertionIndex(a0, a1, a2), 0, a1); } } global.__d(_fun42031, 4818, [2]) /* metro module 4818, dependencies: [2] */;