91 lines
4.5 KiB
JavaScript
91 lines
4.5 KiB
JavaScript
/* Metro module 7443; source: unknown; dependencies: [7375, 7396, 7425] */
|
|
import * as moduleValue2 from './module-07396.js'; /* Metro dependency 7396 */
|
|
|
|
function _fun60052(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60052, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7621:6, offset: 0x016f9e52, size: 119 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const WeakMap = global.WeakMap;
|
|
const weakMap = new WeakMap();
|
|
exports.functionToStringIntegration = (require(7425) /* metro dependency 7425 */).defineIntegration(function() {
|
|
return {name: 'FunctionToString', setupOnce: _fun60054, setup: _fun60056};
|
|
});
|
|
function _functionToStringIntegration_60053() { // fn#60053, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7621:134, offset: 0x016f9ec9, size: 36 bytes, params: 1, frame: 3
|
|
return {name: 'FunctionToString', setupOnce: function() {
|
|
var property;
|
|
var closure;
|
|
var error;
|
|
env1_2 = global.Function.prototype.toString;
|
|
try {
|
|
property = global.Function;
|
|
property = property.prototype;
|
|
closure = _fun60055;
|
|
property.toString = closure;
|
|
} catch (error) {
|
|
}
|
|
}, setup: setup_60056};
|
|
function _functionToStringIntegration_60053SetupOnce() { // fn#60054, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7621:215, owner: _functionToStringIntegration_60053.setupOnce, offset: 0x016f9eed, size: 57 bytes, params: 1, frame: 3
|
|
var toString_600552;
|
|
var error;
|
|
let Function = global.Function;
|
|
let prototype = Function.prototype;
|
|
const toString = prototype.toString;
|
|
try {
|
|
Function = global.Function;
|
|
prototype = Function.prototype;
|
|
toString_600552 = toString_60055;
|
|
prototype.toString = toString_600552;
|
|
} catch (error) {
|
|
}
|
|
function prototypeToString_60055() { // fn#60055, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7621:298, owner: global.Function.prototype.toString, offset: 0x00d731a1, size: 166 bytes, params: 1, frame: 20
|
|
var r3;
|
|
var r4;
|
|
var value7;
|
|
let value = this;
|
|
const value3 = 0;
|
|
const originalFunction = require(dependencyMap[value3]).getOriginalFunction(value);
|
|
const binding = env2_3;
|
|
const has = binding.has;
|
|
const getClient = moduleValue2.getClient;
|
|
reducibleJoin2: while (true) {
|
|
if (Reflect.apply(has, binding, [Reflect.apply(getClient, moduleValue2, [])])) {
|
|
if (originalFunction === undefined) {
|
|
r3 = value;
|
|
break reducibleJoin2;
|
|
}
|
|
r3 = originalFunction;
|
|
break reducibleJoin2;
|
|
}
|
|
r3 = value;
|
|
break reducibleJoin2;
|
|
}
|
|
value = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(value);
|
|
if (value3 < value) {
|
|
r4 = value3;
|
|
reducibleLoop3: while (true) {
|
|
array[r4] = arguments[r4];
|
|
value7 = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1;
|
|
if (value7 < value) {
|
|
r4 = value7;
|
|
continue reducibleLoop3;
|
|
}
|
|
break reducibleLoop3;
|
|
}
|
|
}
|
|
return env2_2.apply(r3, array);
|
|
}
|
|
|
|
}
|
|
|
|
function _functionToStringIntegration_60053Setup(a0) { // fn#60056, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7621:504, owner: _functionToStringIntegration_60053.setup, offset: 0x00d73247, size: 27 bytes, params: 2, frame: 13
|
|
env1_3.set(a0, true);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun60052, 7443, [7375, 7396, 7425]) /* metro module 7443, dependencies: [7375, 7396, 7425] */;
|