73 lines
3.6 KiB
JavaScript
73 lines
3.6 KiB
JavaScript
/* Metro module 7487; source: unknown; dependencies: [7375, 7372, 7485] */
|
|
import * as Module07375Module from './module-07375.js'; /* Metro dependency 7375 */
|
|
|
|
function _fun60381(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60381, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7665:6, offset: 0x017022ea, size: 77 bytes, params: 8, frame: 16
|
|
let env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.callFrameToStackFrame = callFrameToStackFrame_60382;
|
|
exports.watchdogTimer = function(a0, a1, a2, a3) {
|
|
var env0_0 = a1;
|
|
var env0_1 = a2;
|
|
var env0_2 = a3;
|
|
var env0_3 = a0();
|
|
var env0_4 = false;
|
|
var env0_5 = true;
|
|
global.setInterval(_fun60384, 20);
|
|
return {poll: _fun60385, enabled: _fun60386};
|
|
};
|
|
function callFrameToStackFrame_60382(a0, a1, a2) { // fn#60382, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7665:103, offset: 0x01702337, size: 256 bytes, params: 4, frame: 21
|
|
let value = undefined;
|
|
const r6 = a1 ? a1.replace(RegExp('^file:\\/\\/', ''), '') : value;
|
|
const r5 = a0.location.columnNumber ? a0.location.columnNumber + 1 : value;
|
|
let r3 = a0.location.lineNumber ? a0.location.lineNumber + 1 : value;
|
|
const dropUndefinedKeys = Module07375Module.dropUndefinedKeys;
|
|
const object = {filename: r6, module: a2(r6)};
|
|
object.function = a0.functionName || (require(7372) /* metro dependency 7372 */).UNKNOWN_FUNCTION;
|
|
object.colno = r5;
|
|
object.lineno = r3;
|
|
if (r6) {
|
|
value = require(7485) /* metro dependency 7485 */;
|
|
value = value.filenameIsInApp(r6);
|
|
r3 = value;
|
|
} else {
|
|
r3 = value;
|
|
}
|
|
object.in_app = r3;
|
|
return Reflect.apply(dropUndefinedKeys, Module07375Module, [object]);
|
|
}
|
|
|
|
function watchdogTimer_60383(a0, a1, a2, a3) { // fn#60383, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7665:483, offset: 0x01702437, size: 93 bytes, params: 5, frame: 14
|
|
const env0_0 = a1;
|
|
const env0_1 = a2;
|
|
const env0_2 = a3;
|
|
const env0_3 = a0();
|
|
global.setInterval(_fun60384, 20);
|
|
return {poll: poll_60385, enabled: function(a0) {
|
|
env0_5 = a0;
|
|
}};
|
|
function _fun60384() { // fn#60384, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7665:555, offset: 0x00d8f2d4, size: 96 bytes, params: 1, frame: 13
|
|
const timeMs = env0_3.getTimeMs();
|
|
if (env0_4 === false && timeMs > require + importDefault) {
|
|
if (env0_5) {
|
|
importAll();
|
|
}
|
|
}
|
|
if (timeMs < require + importDefault) {
|
|
}
|
|
}
|
|
|
|
function watchdogTimer_60383Poll() { // fn#60385, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7665:641, owner: watchdogTimer_60383.poll, offset: 0x00d8f334, size: 21 bytes, params: 1, frame: 9
|
|
env0_3.reset();
|
|
}
|
|
|
|
function watchdogTimer_60383Enabled(a0) { // fn#60386, owner: watchdogTimer_60383.enabled, offset: 0x00c39529, size: 14 bytes, params: 2, frame: 2
|
|
env0_5 = a0;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun60381, 7487, [7375, 7372, 7485]) /* metro module 7487, dependencies: [7375, 7372, 7485] */;
|