34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
/* Metro module 12388; source: lib/zipWithNext.tsx; dependencies: [2] */
|
|
function _fun94365(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#94365, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12574:6, offset: 0x021152ff, size: 87 bytes, params: 8, frame: 15
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('lib/zipWithNext.tsx');
|
|
exports.default = function(a0, a1) {
|
|
var r3;
|
|
var r4;
|
|
if (a0.length < 2) {
|
|
return [];
|
|
}
|
|
var items = [];
|
|
var property = a0[0];
|
|
var value = 1;
|
|
if (value < a0.length) {
|
|
r3 = value;
|
|
r4 = property;
|
|
reducibleLoop2: while (true) {
|
|
property = a0[r3];
|
|
items.push(a1(r4, property));
|
|
value = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
if (value < a0.length) {
|
|
r3 = value;
|
|
r4 = property;
|
|
continue reducibleLoop2;
|
|
}
|
|
break reducibleLoop2;
|
|
}
|
|
}
|
|
return items;
|
|
};
|
|
}
|
|
|