79 lines
2.9 KiB
React
79 lines
2.9 KiB
React
/* Metro module 176; source: unknown; dependencies: [] */
|
|
function _fun2576(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2576, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:201:6, offset: 0x00c83f0a, size: 107 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Set = global.Set;
|
|
const set = new Set();
|
|
exports.setImmediate = setImmediate;
|
|
exports.clearImmediate = clearImmediate;
|
|
}
|
|
|
|
function setImmediate(a0) { // fn#2577, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:201:125, offset: 0x00c83f75, size: 254 bytes, params: 2, frame: 18
|
|
var r5;
|
|
var value4;
|
|
var value7;
|
|
var value8;
|
|
const env0_0 = a0;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const value2 = 1;
|
|
reducibleJoin2: while (true) {
|
|
if (length > value2) {
|
|
value4 = length - value2;
|
|
r5 = value4;
|
|
break reducibleJoin2;
|
|
}
|
|
r5 = 0;
|
|
break reducibleJoin2;
|
|
}
|
|
const array = new Array();
|
|
let env0_1 = array;
|
|
if (value2 < length) {
|
|
r5 = value2;
|
|
reducibleLoop3: while (true) {
|
|
value7 = r5 - value2;
|
|
array[value7] = arguments[r5];
|
|
value8 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
if (value8 < length) {
|
|
r5 = value8;
|
|
continue reducibleLoop3;
|
|
}
|
|
break reducibleLoop3;
|
|
}
|
|
}
|
|
if (arguments.length < value2) {
|
|
throw new global.TypeError('setImmediate must be called with at least one argument (a function to call)');
|
|
}
|
|
if (typeof a0 !== 'function') {
|
|
throw new global.TypeError('The first argument to setImmediate must be a function.');
|
|
}
|
|
let binding = env0_1;
|
|
const value9 = typeof binding === 'bigint' ? binding : +binding;
|
|
env0_1 = typeof value9 === 'bigint' ? value9 + 1n : +value9 + 1;
|
|
const env0_2 = value9;
|
|
reducibleJoin8: while (true) {
|
|
if (Reflect.apply(env0_2.has, binding, [value9])) {
|
|
binding = env0_2;
|
|
binding.delete(value9);
|
|
break reducibleJoin8;
|
|
}
|
|
break reducibleJoin8;
|
|
}
|
|
env0_0.queueMicrotask(_fun2578);
|
|
return value9;
|
|
}
|
|
|
|
function clearImmediate(a0) { // fn#2579, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:201:585, offset: 0x00c840bb, size: 24 bytes, params: 2, frame: 11
|
|
env0_2.add(a0);
|
|
}
|
|
|
|
function _fun2578() { // fn#2578, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:201:512, offset: 0x00c84073, size: 72 bytes, params: 1, frame: 15
|
|
const binding = env1_2;
|
|
if (binding.has(env0_2)) {
|
|
env1_2.delete(env0_2);
|
|
} else {
|
|
env0_0.apply(undefined, env0_1);
|
|
}
|
|
}
|
|
|