1765 lines
66 KiB
React
1765 lines
66 KiB
React
(function() {
|
|
var value = this;
|
|
global.__BUNDLE_START_TIME__ = global.globalThis.nativePerformanceNow ? global.nativePerformanceNow() : global.Date.now();
|
|
global.__DEV__ = false;
|
|
var process = global.globalThis.process;
|
|
global.process = process || ({});
|
|
global.__METRO_GLOBAL_PREFIX__ = '';
|
|
process = global.process;
|
|
var env = global.process.env;
|
|
process.env = env || ({});
|
|
env = global.process.env;
|
|
var NODE_ENV = global.process.env.NODE_ENV;
|
|
NODE_ENV = !NODE_ENV ? 'production' : NODE_ENV;
|
|
env.NODE_ENV = NODE_ENV;
|
|
_fun1(typeof global.globalThis !== 'undefined' ? global.globalThis : typeof global.global !== 'undefined' ? global.global : typeof global.window === 'undefined' ? value : global.window);
|
|
_fun20(typeof global.globalThis !== 'undefined' ? global.globalThis : typeof global.global !== 'undefined' ? global.global : typeof global.window === 'undefined' ? value : global.window);
|
|
_fun70(typeof global.globalThis !== 'undefined' ? global.globalThis : typeof global.global !== 'undefined' ? global.global : typeof global.window === 'undefined' ? value : global.window);
|
|
global.__r(122);
|
|
return global.__r(0);
|
|
}).call(global);
|
|
|
|
function _fun1(a0) { // fn#1, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:2, offset: 0x00c36518, size: 285 bytes, params: 2, frame: 21
|
|
const env0_0 = a0;
|
|
const closure = function() {
|
|
var Map = global.Map;
|
|
var value2 = new Map();
|
|
env0_1 = value2;
|
|
return value2;
|
|
};
|
|
const __r2 = __r;
|
|
const importDefault2 = importDefault;
|
|
const importAll2 = importAll;
|
|
const unpackModuleId2 = unpackModuleId;
|
|
a0.__r = __r2;
|
|
a0['' + global.__METRO_GLOBAL_PREFIX__ + '__d'] = define;
|
|
a0.__c = closure;
|
|
a0.__registerSegment = __registerSegment;
|
|
let env0_1 = closure();
|
|
a0.__timingFunction = function() {
|
|
var Date = global.Date;
|
|
return Date.now();
|
|
};
|
|
a0.__getTotalRequireTime = __getTotalRequireTime;
|
|
const env0_4 = {};
|
|
const env0_5 = ({}).hasOwnProperty;
|
|
__r2.importDefault = importDefault2;
|
|
__r2.importAll = importAll2;
|
|
__r2.context = function() {
|
|
var Error = global.Error;
|
|
throw new Error('The experimental Metro feature `require.context` is not enabled in your project.');
|
|
};
|
|
__r2.resolveWeak = function() {
|
|
var Error = global.Error;
|
|
throw new Error('require.resolveWeak cannot be called dynamically.');
|
|
};
|
|
__r2.unpackModuleId = unpackModuleId2;
|
|
__r2.packModuleId = packModuleId;
|
|
const env0_8 = [];
|
|
let Map = global.Map;
|
|
const map = new Map();
|
|
}
|
|
|
|
function __r(a0, a1) { // fn#3, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:568, offset: 0x00c3665a, size: 104 bytes, params: 3, frame: 13
|
|
var r0;
|
|
if (a0 === null) {
|
|
throw new global.Error('Cannot find module');
|
|
}
|
|
let value = env0_1.get(a0);
|
|
if (value) {
|
|
if (value.isInitialized) {
|
|
r0 = value.publicModule.exports;
|
|
} else {
|
|
value = ((a0, a1) => _fun5(a0, a1))(a0, value);
|
|
r0 = value;
|
|
}
|
|
} else {
|
|
value = ((a0, a1) => _fun5(a0, a1))(a0, value);
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function guardedLoadModule(a0, a1) { // fn#4, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:713, owner: __r.guardedLoadModule, offset: 0x00c366c2, size: 23 bytes, params: 3, frame: 13
|
|
return loadModuleImplementation(a0, a1);
|
|
}
|
|
|
|
function loadModuleImplementation(a0, a1) { // fn#5, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:752, owner: __r.guardedLoadModule.loadModuleImplementation, offset: 0x00c366d9, size: 542 bytes, params: 3, frame: 33
|
|
var environment;
|
|
var r9;
|
|
var value2;
|
|
var length;
|
|
var value3;
|
|
var binding;
|
|
var property;
|
|
var value5;
|
|
var factory;
|
|
var dependencyMap;
|
|
var value7;
|
|
var __timingFunction;
|
|
var value8;
|
|
var publicModule;
|
|
var __rBinding;
|
|
var exports;
|
|
var error;
|
|
let value = a1;
|
|
if (value) {
|
|
r9 = value;
|
|
} else {
|
|
value2 = environment.__proto__.__proto__;
|
|
length = env2_8.length;
|
|
value3 = 0;
|
|
if (length > value3) {
|
|
binding = env2_9;
|
|
property = env2_8[binding.get(a0) ?? value3];
|
|
if (property == null) {
|
|
r9 = value;
|
|
} else {
|
|
property(a0);
|
|
binding = env2_1;
|
|
value = binding.get(a0);
|
|
binding = env2_9;
|
|
binding.delete(a0);
|
|
r9 = value;
|
|
}
|
|
} else {
|
|
r9 = value;
|
|
}
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
const nativeRequire = env2_0.nativeRequire;
|
|
if (!r9) {
|
|
if (nativeRequire) {
|
|
value5 = unpackModuleId(a0);
|
|
nativeRequire(value5.localId, value5.segmentId);
|
|
binding = env2_1;
|
|
r9 = binding.get(a0);
|
|
}
|
|
}
|
|
if (r9) {
|
|
if (r9.hasError) {
|
|
throw r9.error;
|
|
}
|
|
r9.isInitialized = true;
|
|
factory = r9.factory;
|
|
dependencyMap = r9.dependencyMap;
|
|
value7 = env2_3 === false;
|
|
__timingFunction = env2_0.__timingFunction;
|
|
value8 = __timingFunction();
|
|
if (value7) {
|
|
binding = env2_0;
|
|
binding.__getTotalRequireTime = __getTotalRequireTime_6;
|
|
}
|
|
try {
|
|
publicModule = r9.publicModule;
|
|
publicModule.id = a0;
|
|
binding = env2_0;
|
|
__rBinding = __r;
|
|
exports = publicModule.exports;
|
|
factory(binding, __rBinding, importDefault, importAll, publicModule, exports, dependencyMap);
|
|
r9.factory = undefined;
|
|
r9.dependencyMap = undefined;
|
|
exports = publicModule.exports;
|
|
} catch (error) {
|
|
r9.hasError = true;
|
|
r9.error = error;
|
|
r9.isInitialized = false;
|
|
publicModule = r9.publicModule;
|
|
publicModule.exports = undefined;
|
|
throw error;
|
|
} finally {
|
|
if (value7) {
|
|
env2_3 = false;
|
|
binding = env2_2;
|
|
env2_2 = binding + (__timingFunction() - value8);
|
|
binding = env2_0;
|
|
binding.__getTotalRequireTime = __getTotalRequireTime_7;
|
|
}
|
|
}
|
|
return exports;
|
|
}
|
|
const Error = global.Error;
|
|
throw Error('Requiring unknown module "' + a0 + '".');
|
|
}
|
|
|
|
function loadModuleImplementation__getTotalRequireTime() { // fn#6, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:1234, owner: __r.guardedLoadModule.loadModuleImplementation.__getTotalRequireTime, offset: 0x00c368f7, size: 34 bytes, params: 1, frame: 11
|
|
return env3_2 + (__timingFunction() - env0_1);
|
|
}
|
|
|
|
function loadModuleImplementation__getTotalRequireTime_7() { // fn#7, owner: __r.guardedLoadModule.loadModuleImplementation.__getTotalRequireTime, offset: 0x00c36919, size: 9 bytes, params: 1, frame: 1
|
|
return env3_2;
|
|
}
|
|
|
|
function loadModuleImplementation__getTotalRequireTime_8() { // fn#8, owner: __r.guardedLoadModule.loadModuleImplementation.__getTotalRequireTime, offset: 0x00c36919, size: 9 bytes, params: 1, frame: 1
|
|
return env3_2;
|
|
}
|
|
|
|
function importDefault(a0) { // fn#9, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:1594, offset: 0x00c36922, size: 101 bytes, params: 2, frame: 14
|
|
var r1;
|
|
var value3;
|
|
let binding = env0_1;
|
|
const value2 = binding.get(a0);
|
|
if (value2) {
|
|
if (value2.importedDefault !== env0_4) {
|
|
return value2.importedDefault;
|
|
}
|
|
value3 = __r(a0);
|
|
r1 = value3 && value3.__esModule ? value3.default : value3;
|
|
binding = env0_1;
|
|
binding.get(a0).importedDefault = r1;
|
|
} else {
|
|
value3 = __r(a0);
|
|
r1 = value3 && value3.__esModule ? value3.default : value3;
|
|
binding = env0_1;
|
|
binding.get(a0).importedDefault = r1;
|
|
}
|
|
return r1;
|
|
}
|
|
|
|
function importAll(a0) { // fn#10, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:1783, offset: 0x00c36987, size: 158 bytes, params: 2, frame: 23
|
|
var r8;
|
|
var r1;
|
|
var __esModule;
|
|
var object;
|
|
var properties;
|
|
var properties2;
|
|
var properties3;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var hasOwnPropertyBinding;
|
|
var call;
|
|
let binding = env0_1;
|
|
let get = binding.get;
|
|
const value2 = Reflect.apply(get, binding, [a0]);
|
|
if (value2) {
|
|
reducibleJoin2: while (true) {
|
|
if (value2.importedAll !== env0_4) {
|
|
return value2.importedAll;
|
|
}
|
|
break reducibleJoin2;
|
|
}
|
|
}
|
|
const value3 = __r(a0);
|
|
reducibleJoin10: while (true) {
|
|
reducibleJoin9: while (true) {
|
|
if (value3) {
|
|
__esModule = value3.__esModule;
|
|
if (__esModule) {
|
|
r1 = value3;
|
|
break reducibleJoin10;
|
|
}
|
|
object = {};
|
|
if (!value3) {
|
|
break reducibleJoin9;
|
|
}
|
|
properties = Object.keys(value3);
|
|
properties2 = 0;
|
|
properties3 = properties.length;
|
|
if (properties === undefined) {
|
|
break reducibleJoin9;
|
|
}
|
|
r8 = properties2;
|
|
reducibleLoop6: while (true) {
|
|
propertyName = properties[r8];
|
|
propertyName2 = r8 + 1;
|
|
if (propertyName === undefined) {
|
|
break reducibleJoin9;
|
|
}
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
if (Reflect.apply(call, hasOwnPropertyBinding, [value3, propertyName])) {
|
|
object[propertyName] = value3[propertyName];
|
|
r8 = propertyName2;
|
|
continue reducibleLoop6;
|
|
}
|
|
r8 = propertyName2;
|
|
continue reducibleLoop6;
|
|
}
|
|
} else {
|
|
object = {};
|
|
if (!value3) {
|
|
break reducibleJoin9;
|
|
}
|
|
properties = Object.keys(value3);
|
|
properties2 = 0;
|
|
properties3 = properties.length;
|
|
if (properties === undefined) {
|
|
break reducibleJoin9;
|
|
}
|
|
r8 = properties2;
|
|
reducibleLoop6: while (true) {
|
|
propertyName = properties[r8];
|
|
propertyName2 = r8 + 1;
|
|
if (propertyName === undefined) {
|
|
break reducibleJoin9;
|
|
}
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
if (Reflect.apply(call, hasOwnPropertyBinding, [value3, propertyName])) {
|
|
object[propertyName] = value3[propertyName];
|
|
r8 = propertyName2;
|
|
continue reducibleLoop6;
|
|
}
|
|
r8 = propertyName2;
|
|
continue reducibleLoop6;
|
|
}
|
|
}
|
|
}
|
|
object.default = value3;
|
|
r1 = object;
|
|
break reducibleJoin10;
|
|
}
|
|
binding = env0_1;
|
|
get = binding.get;
|
|
Reflect.apply(get, binding, [a0]).importedAll = r1;
|
|
return r1;
|
|
}
|
|
|
|
function unpackModuleId(a0) { // fn#11, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:2408, offset: 0x00c36a25, size: 36 bytes, params: 2, frame: 4
|
|
return {segmentId: a0 >>> env0_6, localId: a0 & env0_7};
|
|
}
|
|
|
|
function define(a0, a1, a2) { // fn#12, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:81, offset: 0x00c36a49, size: 107 bytes, params: 4, frame: 14
|
|
const binding = env0_1;
|
|
if (!binding.has(a1)) {
|
|
env0_1.set(a1, {dependencyMap: a2, factory: a0, hasError: false, importedAll: env0_4, importedDefault: env0_4,
|
|
isInitialized: false, publicModule: {exports: {}}});
|
|
}
|
|
}
|
|
|
|
function __registerSegment(a0, a1, a2) { // fn#13, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:288, offset: 0x00c36ab4, size: 48 bytes, params: 4, frame: 13
|
|
const env0_0 = a0;
|
|
env0_8[a0] = a1;
|
|
if (a2) {
|
|
a2.forEach(_fun14);
|
|
}
|
|
}
|
|
|
|
function _fun14(a0) { // fn#14, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:341, offset: 0x00c36ae4, size: 66 bytes, params: 2, frame: 14
|
|
if (!(env1_1.has(a0) || env1_9.has(a0))) {
|
|
env1_9.set(a0, env0_0);
|
|
}
|
|
}
|
|
|
|
function __getTotalRequireTime() { // fn#16, offset: 0x00c36b39, size: 9 bytes, params: 1, frame: 1
|
|
return env0_2;
|
|
}
|
|
|
|
function packModuleId({segmentId, localId}) { // fn#19, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:2:2540, offset: 0x00c36b8a, size: 32 bytes, params: 2, frame: 3
|
|
return (segmentId << env0_6) + localId;
|
|
}
|
|
|
|
function _fun20(a0) { // fn#20, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:2, offset: 0x00c36baa, size: 535 bytes, params: 2, frame: 23
|
|
var r5;
|
|
var Object;
|
|
var defineProperty;
|
|
var error;
|
|
let env0_0 = a0;
|
|
let closure = function(a0) {
|
|
var env0_0 = a0;
|
|
return _fun22;
|
|
};
|
|
const repeat = function(a0, a1) {
|
|
var env0_0 = a0;
|
|
var Array = global.Array;
|
|
var value = (0, global.Array)(a1);
|
|
value = Array.apply(null, value);
|
|
return value.map(_fun25);
|
|
};
|
|
let env0_1 = (() => {
|
|
var env0_0 = _fun29;
|
|
var env0_1 = _fun30;
|
|
var env0_2 = _fun39;
|
|
var env0_3 = _fun40;
|
|
var env0_4 = _fun43;
|
|
var env0_5 = _fun44;
|
|
var env0_6 = _fun45;
|
|
var env0_7 = _fun46;
|
|
var env0_8 = _fun47;
|
|
var env0_9 = _fun48;
|
|
var env0_10 = _fun49;
|
|
var env0_11 = _fun50;
|
|
var env0_12 = _fun51;
|
|
return _fun52;
|
|
})();
|
|
let env0_5 = [];
|
|
const nativeLoggingHook = a0.nativeLoggingHook;
|
|
let console = a0.console;
|
|
if (nativeLoggingHook) {
|
|
Object = global.Object;
|
|
a0.console = Object.assign({timeStamp: function() {
|
|
}}, console ?? ({}), {error: closure(3), info: closure(1), log: closure(1), warn: closure(2), trace: closure(0),
|
|
debug: closure(0), table: table, group: group, groupEnd: groupEnd, groupCollapsed: groupCollapsed,
|
|
assert: assert});
|
|
if (a0.RN$useAlwaysAvailableJSErrorHandling === true) {
|
|
console = global.console;
|
|
error = console.error;
|
|
console = global.console;
|
|
console.reportErrorsAsExceptions = true;
|
|
console = global.console;
|
|
console.error = error;
|
|
}
|
|
Object = global.Object;
|
|
defineProperty = Object.defineProperty;
|
|
console = global.console;
|
|
Reflect.apply(defineProperty, Object, [console, '_isPolyfilled', {'value': true, 'enumerable': false}]);
|
|
} else if (!console) {
|
|
closure = clear;
|
|
r5 = a0.print || closure;
|
|
a0.console = {debug: r5, error: r5, info: r5, log: r5, trace: r5, warn: r5, assert: assert_69, clear: closure,
|
|
dir: closure, dirxml: closure, group: closure, groupCollapsed: closure, groupEnd: closure, profile: closure,
|
|
profileEnd: closure, table: closure, timeStamp: closure};
|
|
Object = global.Object;
|
|
Object.defineProperty(global.console, '_isPolyfilled', {'value': true, 'enumerable': false});
|
|
}
|
|
}
|
|
|
|
function getNativeLogFunction(a0) { // fn#21, offset: 0x00c36dc1, size: 16 bytes, params: 2, frame: 2
|
|
const env0_0 = a0;
|
|
return _fun22;
|
|
}
|
|
|
|
function _fun22() { // fn#22, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:3941, offset: 0x00c36dd1, size: 219 bytes, params: 1, frame: 17
|
|
var environment;
|
|
var r6;
|
|
var r1;
|
|
var value;
|
|
if (arguments.length !== 1) {
|
|
value = global.Array.prototype.map.call(arguments, _fun23);
|
|
value = value.join(', ');
|
|
r6 = value;
|
|
} else if (typeof arguments[0] === 'string') {
|
|
r6 = arguments[0];
|
|
} else {
|
|
value = global.Array.prototype.map.call(arguments, _fun23);
|
|
value = value.join(', ');
|
|
r6 = value;
|
|
}
|
|
value = arguments[0];
|
|
const binding = env0_0;
|
|
const value3 = typeof value === 'string';
|
|
if (value3) {
|
|
value = value.slice(0, 9);
|
|
value = value === 'Warning: ';
|
|
r1 = value;
|
|
} else {
|
|
r1 = value3;
|
|
}
|
|
if (r1) {
|
|
value = environment.__proto__;
|
|
value = binding >= env1_4;
|
|
r1 = value;
|
|
}
|
|
const r4 = r1 ? env1_3 : binding;
|
|
value = environment.__proto__;
|
|
env1_0.nativeLoggingHook(env1_5.length ? groupFormat('', r6) : r6, r4);
|
|
}
|
|
|
|
function _fun23(a0) { // fn#23, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:4061, offset: 0x00c36eac, size: 30 bytes, params: 2, frame: 13
|
|
return env2_1(a0, {depth: 10});
|
|
}
|
|
|
|
function repeat(a0, a1) { // fn#24, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:4251, offset: 0x00c36eca, size: 63 bytes, params: 3, frame: 15
|
|
const env0_0 = a0;
|
|
const Array = global.Array;
|
|
const apply = Array.apply;
|
|
const Array2 = global.Array;
|
|
let value = Array2(a1);
|
|
value = Reflect.apply(apply, Array, [null, value]);
|
|
return value.map(_fun25);
|
|
}
|
|
|
|
function _fun25() { // fn#25, offset: 0x00c36f09, size: 9 bytes, params: 1, frame: 1
|
|
return env0_0;
|
|
}
|
|
|
|
function formatCellValue(a0, a1) { // fn#26, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:4334, offset: 0x00c36f12, size: 132 bytes, params: 3, frame: 13
|
|
var property;
|
|
var value;
|
|
if (a1 === env0_2) {
|
|
return a0[a1];
|
|
}
|
|
if (a0.hasOwnProperty(a1)) {
|
|
property = a0[a1];
|
|
value = typeof property;
|
|
if (value === 'function') {
|
|
return 'ƒ';
|
|
}
|
|
if (value === 'string') {
|
|
return "'" + property + "'";
|
|
}
|
|
if (value === 'object') {
|
|
return property == null ? 'null' : '{…}';
|
|
}
|
|
return global.String(property);
|
|
}
|
|
return '';
|
|
}
|
|
|
|
function groupFormat(a0, a1) { // fn#27, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:4570, offset: 0x00c36f96, size: 53 bytes, params: 3, frame: 12
|
|
const value = a1;
|
|
const binding = env0_5;
|
|
const value3 = '';
|
|
return binding.join(value3) + a0 + ' ' + (value || value3);
|
|
}
|
|
|
|
function _fun28() { // fn#28, offset: 0x00c36fcb, size: 126 bytes, params: 1, frame: 2
|
|
const stylizeNoColor = function(a0, a1) {
|
|
return a0;
|
|
};
|
|
const formatError = function(a0) {
|
|
return '[' + global.Error.prototype.toString.call(a0) + ']';
|
|
};
|
|
const isNull = function(a0) {
|
|
return a0 === null;
|
|
};
|
|
const isUndefined = function(a0) {
|
|
return a0 === undefined;
|
|
};
|
|
const isObject = function(a0) {
|
|
return typeof a0 === 'object' && a0 !== null;
|
|
};
|
|
const isFunction = function(a0) {
|
|
return typeof a0 === 'function';
|
|
};
|
|
const objectToString = function(a0) {
|
|
return global.Object.prototype.toString.call(a0);
|
|
};
|
|
const hasOwnProperty = function(a0, a1) {
|
|
return global.Object.prototype.hasOwnProperty.call(a0, a1);
|
|
};
|
|
return function(a0, a1) {
|
|
return formatValue({seen: [], formatValueCalls: 0, stylize: stylizeNoColor}, a0, a1.depth);
|
|
};
|
|
}
|
|
|
|
function stylizeNoColor(a0, a1) { // fn#29, offset: 0x00c37049, size: 5 bytes, params: 3, frame: 1
|
|
return a0;
|
|
}
|
|
|
|
function formatValue(a0, a1, a2) { // fn#30, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:69, offset: 0x00c3704e, size: 913 bytes, params: 4, frame: 29
|
|
var r8;
|
|
var r10;
|
|
var r9;
|
|
var r7;
|
|
var r6;
|
|
var length;
|
|
var value5;
|
|
var items2;
|
|
var Array;
|
|
var isFunction2;
|
|
var value7;
|
|
var seen;
|
|
var stylize;
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const env0_2 = a2;
|
|
const formatValueCalls = a0.formatValueCalls;
|
|
a0.formatValueCalls = typeof formatValueCalls === 'bigint' ? formatValueCalls + 1n : +formatValueCalls + 1;
|
|
if (a0.formatValueCalls > 200) {
|
|
return '[TOO BIG formatValueCalls ' + a0.formatValueCalls + ' exceeded limit of 200]';
|
|
}
|
|
let value = formatPrimitive(a0, a1);
|
|
if (value) {
|
|
return value;
|
|
}
|
|
const Object = global.Object;
|
|
const value2 = ((a0) => {
|
|
a0.forEach(_fun33);
|
|
return {};
|
|
})(Object.keys(a1));
|
|
if (isError(a1)) {
|
|
if (value.indexOf('message') >= 0) {
|
|
return formatError(a1);
|
|
}
|
|
if (value.indexOf('description') >= 0) {
|
|
return formatError(a1);
|
|
}
|
|
length = value.length;
|
|
if (length !== 0) {
|
|
value5 = false;
|
|
items2 = ['{', '}'];
|
|
Array = global.Array;
|
|
if (Array.isArray(a1)) {
|
|
r8 = true;
|
|
r10 = ['[', ']'];
|
|
} else {
|
|
r8 = value5;
|
|
r10 = items2;
|
|
}
|
|
isFunction2 = isFunction(a1);
|
|
value7 = '';
|
|
r9 = isFunction2 ? ' [Function' + (a1.name ? ': ' + a1.name : value7) + ']' : value7;
|
|
r9 = isRegExp(a1) ? ' ' + global.RegExp.prototype.toString.call(a1) : r9;
|
|
r9 = isDate(a1) ? ' ' + global.Date.prototype.toUTCString.call(a1) : r9;
|
|
r9 = isError(a1) ? ' ' + formatError(a1) : r9;
|
|
if (value.length !== 0) {
|
|
if (a2 < 0) {
|
|
value = isRegExp(a1);
|
|
stylize = a0.stylize;
|
|
if (value) {
|
|
value = global.RegExp.prototype.toString.call(a1);
|
|
value = Reflect.apply(stylize, a0, [value, 'regexp']);
|
|
r8 = value;
|
|
} else {
|
|
r8 = Reflect.apply(stylize, a0, ['[Object]', 'special']);
|
|
}
|
|
r7 = r8;
|
|
} else {
|
|
seen = a0.seen;
|
|
seen.push(a1);
|
|
if (r8) {
|
|
value = formatArray(a0, a1, a2, value2, value);
|
|
r8 = value;
|
|
} else {
|
|
value = value.map(_fun36);
|
|
r8 = value;
|
|
}
|
|
seen = a0.seen;
|
|
seen.pop();
|
|
value = reduceToSingleString(r8, r9, r10);
|
|
r7 = value;
|
|
}
|
|
r6 = r7;
|
|
} else if (r8) {
|
|
if (a1.length != 0) {
|
|
if (a2 < 0) {
|
|
value = isRegExp(a1);
|
|
stylize = a0.stylize;
|
|
if (value) {
|
|
value = global.RegExp.prototype.toString.call(a1);
|
|
value = Reflect.apply(stylize, a0, [value, 'regexp']);
|
|
r8 = value;
|
|
} else {
|
|
r8 = Reflect.apply(stylize, a0, ['[Object]', 'special']);
|
|
}
|
|
r7 = r8;
|
|
} else {
|
|
seen = a0.seen;
|
|
seen.push(a1);
|
|
if (r8) {
|
|
value = formatArray(a0, a1, a2, value2, value);
|
|
r8 = value;
|
|
} else {
|
|
value = value.map(_fun36);
|
|
r8 = value;
|
|
}
|
|
seen = a0.seen;
|
|
seen.pop();
|
|
value = reduceToSingleString(r8, r9, r10);
|
|
r7 = value;
|
|
}
|
|
r6 = r7;
|
|
} else {
|
|
value = r10[0] + r9;
|
|
value += r10[1];
|
|
r6 = value;
|
|
}
|
|
} else {
|
|
value = r10[0] + r9;
|
|
value += r10[1];
|
|
r6 = value;
|
|
}
|
|
return r6;
|
|
}
|
|
if (isFunction(a1)) {
|
|
return a0.stylize('[Function' + (a1.name ? ': ' + a1.name : '') + ']', 'special');
|
|
}
|
|
if (isRegExp(a1)) {
|
|
return a0.stylize(global.RegExp.prototype.toString.call(a1), 'regexp');
|
|
}
|
|
if (isDate(a1)) {
|
|
return a0.stylize(global.Date.prototype.toString.call(a1), 'date');
|
|
}
|
|
if (isError(a1)) {
|
|
return formatError(a1);
|
|
}
|
|
value5 = false;
|
|
items2 = ['{', '}'];
|
|
Array = global.Array;
|
|
if (Array.isArray(a1)) {
|
|
r8 = true;
|
|
r10 = ['[', ']'];
|
|
} else {
|
|
r8 = value5;
|
|
r10 = items2;
|
|
}
|
|
isFunction2 = isFunction(a1);
|
|
value7 = '';
|
|
r9 = isFunction2 ? ' [Function' + (a1.name ? ': ' + a1.name : value7) + ']' : value7;
|
|
r9 = isRegExp(a1) ? ' ' + global.RegExp.prototype.toString.call(a1) : r9;
|
|
r9 = isDate(a1) ? ' ' + global.Date.prototype.toUTCString.call(a1) : r9;
|
|
r9 = isError(a1) ? ' ' + formatError(a1) : r9;
|
|
length = value.length;
|
|
if (length !== 0) {
|
|
if (a2 < 0) {
|
|
value = isRegExp(a1);
|
|
stylize = a0.stylize;
|
|
if (value) {
|
|
value = global.RegExp.prototype.toString.call(a1);
|
|
value = Reflect.apply(stylize, a0, [value, 'regexp']);
|
|
r8 = value;
|
|
} else {
|
|
r8 = Reflect.apply(stylize, a0, ['[Object]', 'special']);
|
|
}
|
|
r7 = r8;
|
|
} else {
|
|
seen = a0.seen;
|
|
seen.push(a1);
|
|
if (r8) {
|
|
value = formatArray(a0, a1, a2, value2, value);
|
|
r8 = value;
|
|
} else {
|
|
value = value.map(_fun36);
|
|
r8 = value;
|
|
}
|
|
seen = a0.seen;
|
|
seen.pop();
|
|
value = reduceToSingleString(r8, r9, r10);
|
|
r7 = value;
|
|
}
|
|
r6 = r7;
|
|
} else if (r8) {
|
|
if (a1.length != 0) {
|
|
if (a2 < 0) {
|
|
value = isRegExp(a1);
|
|
stylize = a0.stylize;
|
|
if (value) {
|
|
value = global.RegExp.prototype.toString.call(a1);
|
|
value = Reflect.apply(stylize, a0, [value, 'regexp']);
|
|
r8 = value;
|
|
} else {
|
|
r8 = Reflect.apply(stylize, a0, ['[Object]', 'special']);
|
|
}
|
|
r7 = r8;
|
|
} else {
|
|
seen = a0.seen;
|
|
seen.push(a1);
|
|
if (r8) {
|
|
value = formatArray(a0, a1, a2, value2, value);
|
|
r8 = value;
|
|
} else {
|
|
value = value.map(_fun36);
|
|
r8 = value;
|
|
}
|
|
seen = a0.seen;
|
|
seen.pop();
|
|
value = reduceToSingleString(r8, r9, r10);
|
|
r7 = value;
|
|
}
|
|
r6 = r7;
|
|
} else {
|
|
value = r10[0] + r9;
|
|
value += r10[1];
|
|
r6 = value;
|
|
}
|
|
} else {
|
|
value = r10[0] + r9;
|
|
value += r10[1];
|
|
r6 = value;
|
|
}
|
|
} else {
|
|
if (value.length !== 0) {
|
|
value5 = false;
|
|
items2 = ['{', '}'];
|
|
Array = global.Array;
|
|
if (Array.isArray(a1)) {
|
|
r8 = true;
|
|
r10 = ['[', ']'];
|
|
} else {
|
|
r8 = value5;
|
|
r10 = items2;
|
|
}
|
|
isFunction2 = isFunction(a1);
|
|
value7 = '';
|
|
r9 = isFunction2 ? ' [Function' + (a1.name ? ': ' + a1.name : value7) + ']' : value7;
|
|
r9 = isRegExp(a1) ? ' ' + global.RegExp.prototype.toString.call(a1) : r9;
|
|
r9 = isDate(a1) ? ' ' + global.Date.prototype.toUTCString.call(a1) : r9;
|
|
r9 = isError(a1) ? ' ' + formatError(a1) : r9;
|
|
if (value.length !== 0) {
|
|
if (a2 < 0) {
|
|
value = isRegExp(a1);
|
|
stylize = a0.stylize;
|
|
if (value) {
|
|
value = global.RegExp.prototype.toString.call(a1);
|
|
value = Reflect.apply(stylize, a0, [value, 'regexp']);
|
|
r8 = value;
|
|
} else {
|
|
r8 = Reflect.apply(stylize, a0, ['[Object]', 'special']);
|
|
}
|
|
r7 = r8;
|
|
} else {
|
|
seen = a0.seen;
|
|
seen.push(a1);
|
|
if (r8) {
|
|
value = formatArray(a0, a1, a2, value2, value);
|
|
r8 = value;
|
|
} else {
|
|
value = value.map(_fun36);
|
|
r8 = value;
|
|
}
|
|
seen = a0.seen;
|
|
seen.pop();
|
|
value = reduceToSingleString(r8, r9, r10);
|
|
r7 = value;
|
|
}
|
|
r6 = r7;
|
|
} else if (r8) {
|
|
if (a1.length != 0) {
|
|
if (a2 < 0) {
|
|
value = isRegExp(a1);
|
|
stylize = a0.stylize;
|
|
if (value) {
|
|
value = global.RegExp.prototype.toString.call(a1);
|
|
value = Reflect.apply(stylize, a0, [value, 'regexp']);
|
|
r8 = value;
|
|
} else {
|
|
r8 = Reflect.apply(stylize, a0, ['[Object]', 'special']);
|
|
}
|
|
r7 = r8;
|
|
} else {
|
|
seen = a0.seen;
|
|
seen.push(a1);
|
|
if (r8) {
|
|
value = formatArray(a0, a1, a2, value2, value);
|
|
r8 = value;
|
|
} else {
|
|
value = value.map(_fun36);
|
|
r8 = value;
|
|
}
|
|
seen = a0.seen;
|
|
seen.pop();
|
|
value = reduceToSingleString(r8, r9, r10);
|
|
r7 = value;
|
|
}
|
|
r6 = r7;
|
|
} else {
|
|
value = r10[0] + r9;
|
|
value += r10[1];
|
|
r6 = value;
|
|
}
|
|
} else {
|
|
value = r10[0] + r9;
|
|
value += r10[1];
|
|
r6 = value;
|
|
}
|
|
return r6;
|
|
}
|
|
if (isFunction(a1)) {
|
|
return a0.stylize('[Function' + (a1.name ? ': ' + a1.name : '') + ']', 'special');
|
|
}
|
|
if (isRegExp(a1)) {
|
|
return a0.stylize(global.RegExp.prototype.toString.call(a1), 'regexp');
|
|
}
|
|
if (isDate(a1)) {
|
|
return a0.stylize(global.Date.prototype.toString.call(a1), 'date');
|
|
}
|
|
if (isError(a1)) {
|
|
return formatError(a1);
|
|
}
|
|
value5 = false;
|
|
items2 = ['{', '}'];
|
|
Array = global.Array;
|
|
if (Array.isArray(a1)) {
|
|
r8 = true;
|
|
r10 = ['[', ']'];
|
|
} else {
|
|
r8 = value5;
|
|
r10 = items2;
|
|
}
|
|
isFunction2 = isFunction(a1);
|
|
value7 = '';
|
|
r9 = isFunction2 ? ' [Function' + (a1.name ? ': ' + a1.name : value7) + ']' : value7;
|
|
r9 = isRegExp(a1) ? ' ' + global.RegExp.prototype.toString.call(a1) : r9;
|
|
r9 = isDate(a1) ? ' ' + global.Date.prototype.toUTCString.call(a1) : r9;
|
|
r9 = isError(a1) ? ' ' + formatError(a1) : r9;
|
|
if (value.length !== 0) {
|
|
if (a2 < 0) {
|
|
value = isRegExp(a1);
|
|
stylize = a0.stylize;
|
|
if (value) {
|
|
value = global.RegExp.prototype.toString.call(a1);
|
|
value = Reflect.apply(stylize, a0, [value, 'regexp']);
|
|
r8 = value;
|
|
} else {
|
|
r8 = Reflect.apply(stylize, a0, ['[Object]', 'special']);
|
|
}
|
|
r7 = r8;
|
|
} else {
|
|
seen = a0.seen;
|
|
seen.push(a1);
|
|
if (r8) {
|
|
value = formatArray(a0, a1, a2, value2, value);
|
|
r8 = value;
|
|
} else {
|
|
value = value.map(_fun36);
|
|
r8 = value;
|
|
}
|
|
seen = a0.seen;
|
|
seen.pop();
|
|
value = reduceToSingleString(r8, r9, r10);
|
|
r7 = value;
|
|
}
|
|
r6 = r7;
|
|
} else if (r8) {
|
|
if (a1.length != 0) {
|
|
if (a2 < 0) {
|
|
value = isRegExp(a1);
|
|
stylize = a0.stylize;
|
|
if (value) {
|
|
value = global.RegExp.prototype.toString.call(a1);
|
|
value = Reflect.apply(stylize, a0, [value, 'regexp']);
|
|
r8 = value;
|
|
} else {
|
|
r8 = Reflect.apply(stylize, a0, ['[Object]', 'special']);
|
|
}
|
|
r7 = r8;
|
|
} else {
|
|
seen = a0.seen;
|
|
seen.push(a1);
|
|
if (r8) {
|
|
value = formatArray(a0, a1, a2, value2, value);
|
|
r8 = value;
|
|
} else {
|
|
value = value.map(_fun36);
|
|
r8 = value;
|
|
}
|
|
seen = a0.seen;
|
|
seen.pop();
|
|
value = reduceToSingleString(r8, r9, r10);
|
|
r7 = value;
|
|
}
|
|
r6 = r7;
|
|
} else {
|
|
value = r10[0] + r9;
|
|
value += r10[1];
|
|
r6 = value;
|
|
}
|
|
} else {
|
|
value = r10[0] + r9;
|
|
value += r10[1];
|
|
r6 = value;
|
|
}
|
|
}
|
|
return r6;
|
|
}
|
|
|
|
function formatPrimitive(a0, a1) { // fn#31, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:229, owner: formatValue.formatPrimitive, offset: 0x00c373df, size: 271 bytes, params: 3, frame: 17
|
|
let value = environment.__proto__;
|
|
if (isUndefined(a1)) {
|
|
return a0.stylize('undefined', 'undefined');
|
|
}
|
|
const value2 = typeof a1;
|
|
if (value2 === 'string') {
|
|
value = global.JSON.stringify(a1);
|
|
value = value.replace(RegExp('^"|"$', 'g'), '');
|
|
value = value.replace(RegExp("'", 'g'), "\\'");
|
|
value = value.replace(RegExp('\\\\"', 'g'), '"');
|
|
value = "'" + value;
|
|
return a0.stylize(value + "'", 'string');
|
|
}
|
|
if (value2 === 'number') {
|
|
return a0.stylize(String(a1), 'number');
|
|
}
|
|
if (value2 === 'boolean') {
|
|
return a0.stylize(String(a1), 'boolean');
|
|
}
|
|
if (isNull(a1)) {
|
|
return a0.stylize('null', 'null');
|
|
}
|
|
}
|
|
|
|
function arrayToHash(a0) { // fn#32, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:756, owner: formatValue.arrayToHash, offset: 0x00c374ee, size: 28 bytes, params: 2, frame: 12
|
|
a0.forEach(_fun33);
|
|
return {};
|
|
}
|
|
|
|
function _fun33(a0, a1) { // fn#33, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:807, offset: 0x00c3750a, size: 20 bytes, params: 3, frame: 3
|
|
env0_0[a0] = true;
|
|
}
|
|
|
|
function formatArray(a0, a1, a2, a3, a4) { // fn#34, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:1681, owner: formatValue.formatArray, offset: 0x00c3751e, size: 169 bytes, params: 6, frame: 31
|
|
var r8;
|
|
var hasOwnPropertyBinding;
|
|
var String;
|
|
var push;
|
|
var formatPropertyBinding;
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const env0_2 = a2;
|
|
const env0_3 = a3;
|
|
const items2 = [];
|
|
const length = a1.length;
|
|
let value = 0;
|
|
if (value < length) {
|
|
r8 = value;
|
|
while (true) {
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
String = global.String;
|
|
value = hasOwnPropertyBinding(a1, String(r8));
|
|
push = items2.push;
|
|
if (value) {
|
|
formatPropertyBinding = formatProperty;
|
|
String = global.String;
|
|
Reflect.apply(push, items2, [formatPropertyBinding(a0, a1, a2, a3, String(r8), true)]);
|
|
} else {
|
|
Reflect.apply(push, items2, ['']);
|
|
}
|
|
value = typeof r8 === 'bigint' ? r8 + 1n : +r8 + 1;
|
|
if (value < length) {
|
|
r8 = value;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
a4.forEach(_fun35);
|
|
return items2;
|
|
}
|
|
|
|
function _fun35(a0) { // fn#35, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:1851, offset: 0x00c375c7, size: 86 bytes, params: 2, frame: 23
|
|
var binding;
|
|
var push;
|
|
var value2;
|
|
if (!a0.match(RegExp('^\\d+$', ''))) {
|
|
binding = env0_4;
|
|
push = binding.push;
|
|
value2 = environment.__proto__.__proto__;
|
|
Reflect.apply(push, binding, [formatProperty(env0_0, require, importDefault, importAll, a0, true)]);
|
|
}
|
|
}
|
|
|
|
function _fun36(a0) { // fn#36, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:1942, offset: 0x00c3761d, size: 41 bytes, params: 2, frame: 21
|
|
return formatProperty(env0_0, require, importDefault, env0_3, a0, env0_4);
|
|
}
|
|
|
|
function reduceToSingleString(a0, a1, a2) { // fn#37, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:2005, owner: formatValue.reduceToSingleString, offset: 0x00c37646, size: 165 bytes, params: 4, frame: 16
|
|
var property;
|
|
let value = a0.reduce(function(a0, a1) {
|
|
a1.indexOf('\n') >= 0;
|
|
return a0 + a1.replace(RegExp('\\u001b\\[\\d\\d?m', 'g'), '').length + 1;
|
|
}, 0);
|
|
if (value > 60) {
|
|
property = a2[0];
|
|
value = '';
|
|
value = property + (value === a1 ? value : a1 + '\n ');
|
|
value = value + ' ' + a0.join(',\n ');
|
|
property = a2[1];
|
|
return value + ' ' + property;
|
|
}
|
|
value = a2[0] + a1;
|
|
value = value + ' ' + a0.join(', ');
|
|
return value + ' ' + a2[1];
|
|
}
|
|
|
|
function formatError(a0) { // fn#39, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:2279, offset: 0x00c37735, size: 49 bytes, params: 2, frame: 11
|
|
const Error = global.Error;
|
|
return '[' + Error.prototype.toString.call(a0) + ']';
|
|
}
|
|
|
|
function formatProperty(a0, a1, a2, a3, a4, a5) { // fn#40, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:2350, offset: 0x00c37766, size: 665 bytes, params: 7, frame: 26
|
|
var r9;
|
|
var r8;
|
|
var seen;
|
|
var isNull2;
|
|
var formatValueBinding;
|
|
var value7;
|
|
var value11;
|
|
var map;
|
|
var match;
|
|
const Object = global.Object;
|
|
let value = Object.getOwnPropertyDescriptor(a1, a4);
|
|
const r12 = value || ({value: a1[a4]});
|
|
const get = r12.get;
|
|
const set = r12.set;
|
|
let r0 = get ? set ? a0.stylize('[Getter/Setter]', 'special') : a0.stylize('[Getter]',
|
|
'special') : set ? a0.stylize('[Setter]', 'special') : undefined;
|
|
let r2 = hasOwnProperty(a3, a4) ? undefined : '[' + a4 + ']';
|
|
if (!r0) {
|
|
seen = a0.seen;
|
|
if (seen.indexOf(r12.value) < 0) {
|
|
isNull2 = isNull(a2);
|
|
formatValueBinding = formatValue;
|
|
value7 = r12.value;
|
|
r9 = isNull2 ? formatValueBinding(a0, value7, null) : formatValueBinding(a0, value7, a2 - 1);
|
|
if (r9.indexOf('\n') > -1) {
|
|
value11 = r9.split('\n');
|
|
map = value11.map;
|
|
r9 = a5 ? Reflect.apply(map, value11, [function(a0) {
|
|
return ' ' + a0;
|
|
}]).join('\n').slice(2) : '\n' + Reflect.apply(map, value11, [_fun42]).join('\n');
|
|
}
|
|
r8 = r9;
|
|
} else {
|
|
r8 = a0.stylize('[Circular]', 'special');
|
|
}
|
|
r0 = r8;
|
|
}
|
|
if (isUndefined(r2)) {
|
|
if (a5) {
|
|
match = a4.match;
|
|
if (Reflect.apply(match, a4, [RegExp('^\\d+$', '')])) {
|
|
return r0;
|
|
}
|
|
value = global.JSON.stringify(String(a4));
|
|
match = value.match;
|
|
if (Reflect.apply(match, value, [RegExp('^"([a-zA-Z_][a-zA-Z_0-9]*)"$', '')])) {
|
|
value = value.slice(1, value.length - 1);
|
|
value = a0.stylize(value, 'name');
|
|
r2 = value;
|
|
} else {
|
|
value = value.replace(RegExp("'", 'g'), "\\'");
|
|
value = value.replace(RegExp('\\\\"', 'g'), '"');
|
|
value = value.replace(RegExp('(^"|"$)', 'g'), "'");
|
|
value = a0.stylize(value, 'string');
|
|
r2 = value;
|
|
}
|
|
return r2 + ': ' + r0;
|
|
}
|
|
value = global.JSON.stringify(String(a4));
|
|
match = value.match;
|
|
if (Reflect.apply(match, value, [RegExp('^"([a-zA-Z_][a-zA-Z_0-9]*)"$', '')])) {
|
|
value = value.slice(1, value.length - 1);
|
|
value = a0.stylize(value, 'name');
|
|
r2 = value;
|
|
} else {
|
|
value = value.replace(RegExp("'", 'g'), "\\'");
|
|
value = value.replace(RegExp('\\\\"', 'g'), '"');
|
|
value = value.replace(RegExp('(^"|"$)', 'g'), "'");
|
|
value = a0.stylize(value, 'string');
|
|
r2 = value;
|
|
}
|
|
}
|
|
return r2 + ': ' + r0;
|
|
}
|
|
|
|
function _fun42(a0) { // fn#42, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:2829, offset: 0x00c37a0e, size: 15 bytes, params: 2, frame: 2
|
|
return ' ' + a0;
|
|
}
|
|
|
|
function isNull(a0) { // fn#43, offset: 0x00c37a1d, size: 11 bytes, params: 2, frame: 2
|
|
return a0 === null;
|
|
}
|
|
|
|
function isUndefined(a0) { // fn#44, offset: 0x00c37a28, size: 11 bytes, params: 2, frame: 2
|
|
return a0 === undefined;
|
|
}
|
|
|
|
function isRegExp(a0) { // fn#45, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:3253, offset: 0x00c37a33, size: 39 bytes, params: 2, frame: 13
|
|
var r0;
|
|
var value;
|
|
const isObject2 = isObject(a0);
|
|
if (isObject2) {
|
|
value = objectToString(a0);
|
|
value = value === '[object RegExp]';
|
|
r0 = value;
|
|
} else {
|
|
r0 = isObject2;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function isObject(a0) { // fn#46, offset: 0x00c37a5a, size: 25 bytes, params: 2, frame: 3
|
|
return typeof a0 === 'object' && a0 !== null;
|
|
}
|
|
|
|
function isDate(a0) { // fn#47, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:3388, offset: 0x00c37a73, size: 39 bytes, params: 2, frame: 13
|
|
var r0;
|
|
var value;
|
|
const isObject2 = isObject(a0);
|
|
if (isObject2) {
|
|
value = objectToString(a0);
|
|
value = value === '[object Date]';
|
|
r0 = value;
|
|
} else {
|
|
r0 = isObject2;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function isError(a0) { // fn#48, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:3463, offset: 0x00c37a9a, size: 57 bytes, params: 2, frame: 13
|
|
var r0;
|
|
var value;
|
|
const isObject2 = isObject(a0);
|
|
if (isObject2) {
|
|
value = objectToString(a0);
|
|
value = value === '[object Error]';
|
|
r0 = value || a0 instanceof global.Error;
|
|
} else {
|
|
r0 = isObject2;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function isFunction(a0) { // fn#49, offset: 0x00c37ad3, size: 16 bytes, params: 2, frame: 2
|
|
return typeof a0 === 'function';
|
|
}
|
|
|
|
function objectToString(a0) { // fn#50, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:3612, offset: 0x00c37ae3, size: 33 bytes, params: 2, frame: 11
|
|
const Object = global.Object;
|
|
return Object.prototype.toString.call(a0);
|
|
}
|
|
|
|
function hasOwnProperty(a0, a1) { // fn#51, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:3680, offset: 0x00c37b04, size: 38 bytes, params: 3, frame: 13
|
|
const Object = global.Object;
|
|
return Object.prototype.hasOwnProperty.call(a0, a1);
|
|
}
|
|
|
|
function inspect(a0, {depth}) { // fn#52, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:3765, offset: 0x00c37b2a, size: 57 bytes, params: 3, frame: 15
|
|
return formatValue({seen: [], formatValueCalls: 0, stylize: stylizeNoColor}, a0, depth);
|
|
}
|
|
|
|
function table(a0, a1) { // fn#54, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:4941, offset: 0x00c37b67, size: 459 bytes, params: 3, frame: 26
|
|
var r10;
|
|
var r5;
|
|
var r4;
|
|
var r3;
|
|
var items2;
|
|
var value;
|
|
var properties;
|
|
var properties2;
|
|
var properties3;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var hasOwnProperty;
|
|
var object;
|
|
var Object;
|
|
var assign;
|
|
var push;
|
|
var binding;
|
|
var nativeLoggingHook;
|
|
var from;
|
|
var reduce;
|
|
var Set;
|
|
var value2;
|
|
var set;
|
|
var items3;
|
|
const closure = function(a0, a1) {
|
|
var value = a0.map(_fun56);
|
|
value = value.join(' ' + '|' + ' ');
|
|
return '| ' + value + ' |';
|
|
};
|
|
let Array = global.Array;
|
|
if (Array.isArray(a0)) {
|
|
value = a0.map(_fun57);
|
|
var env0_0 = value;
|
|
r5 = value;
|
|
} else {
|
|
items2 = [];
|
|
env0_0 = items2;
|
|
properties = Object.keys(a0);
|
|
properties2 = 0;
|
|
properties3 = properties.length;
|
|
if (properties === undefined) {
|
|
r5 = items2;
|
|
} else {
|
|
r10 = properties2;
|
|
reducibleLoop2: while (true) {
|
|
propertyName = properties[r10];
|
|
propertyName2 = r10 + 1;
|
|
if (propertyName === undefined) {
|
|
r5 = items2;
|
|
break reducibleLoop2;
|
|
}
|
|
hasOwnProperty = a0.hasOwnProperty;
|
|
if (Reflect.apply(hasOwnProperty, a0, [propertyName])) {
|
|
object = {};
|
|
object[env0_2] = propertyName;
|
|
Object = global.Object;
|
|
assign = Object.assign;
|
|
Reflect.apply(assign, Object, [object, a0[propertyName]]);
|
|
push = items2.push;
|
|
Reflect.apply(push, items2, [object]);
|
|
r10 = propertyName2;
|
|
continue reducibleLoop2;
|
|
}
|
|
r10 = propertyName2;
|
|
continue reducibleLoop2;
|
|
}
|
|
}
|
|
}
|
|
let length = r5.length;
|
|
value = 0;
|
|
if (value !== length) {
|
|
Array = global.Array;
|
|
if (Array.isArray(a1)) {
|
|
r4 = [env0_2].concat(a1);
|
|
} else {
|
|
Array = global.Array;
|
|
from = Array.from;
|
|
reduce = r5.reduce;
|
|
Set = global.Set;
|
|
value2 = Object.create(Set.prototype, {constructor: {value: Set}});
|
|
set = new Set();
|
|
r4 = Reflect.apply(from, Array, [Reflect.apply(reduce, r5, [function(a0, a1) {
|
|
var env0_0 = a0;
|
|
var Object = global.Object;
|
|
Object.keys(a1).forEach(_fun59);
|
|
return a0;
|
|
}, set instanceof Object ? set : value2])]);
|
|
}
|
|
items2 = [];
|
|
r4.forEach(_fun60);
|
|
items3 = [closure(r4), closure([].map(_fun61))];
|
|
length = r5.length;
|
|
if (value < length) {
|
|
r3 = value;
|
|
reducibleLoop12: while (true) {
|
|
push = items3.push;
|
|
Reflect.apply(push, items3, [closure(items2[r3])]);
|
|
value = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
length = r5.length;
|
|
if (value < length) {
|
|
r3 = value;
|
|
continue reducibleLoop12;
|
|
}
|
|
break reducibleLoop12;
|
|
}
|
|
}
|
|
binding = env0_0;
|
|
nativeLoggingHook = binding.nativeLoggingHook;
|
|
value = '\n' + items3.join('\n');
|
|
Reflect.apply(nativeLoggingHook, binding, [value, 1]);
|
|
} else {
|
|
env0_0.nativeLoggingHook('', 1);
|
|
}
|
|
}
|
|
|
|
function joinRow(a0, a1) { // fn#55, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:5707, owner: table.joinRow, offset: 0x00c37d32, size: 70 bytes, params: 3, frame: 12
|
|
let value = a0.map(_fun56);
|
|
value = value.join(' ' + '|' + ' ');
|
|
return '| ' + value + ' |';
|
|
}
|
|
|
|
function _fun56(a0, a1) { // fn#56, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:5742, offset: 0x00c37d78, size: 67 bytes, params: 3, frame: 14
|
|
let value = environment.__proto__.__proto__;
|
|
const repeatBinding = repeat;
|
|
value = environment.__proto__;
|
|
value = repeatBinding(' ', env1_2[a1] - a0.length);
|
|
return a0 + value.join('');
|
|
}
|
|
|
|
function _fun57(a0, a1) { // fn#57, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:5011, offset: 0x00c37dbb, size: 53 bytes, params: 3, frame: 15
|
|
const object = {};
|
|
const binding = env1_2;
|
|
const String = global.String;
|
|
object[binding] = String(a1);
|
|
const Object = global.Object;
|
|
Object.assign(object, a0);
|
|
return object;
|
|
}
|
|
|
|
function _fun58(a0, a1) { // fn#58, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:5248, offset: 0x00c37df0, size: 47 bytes, params: 3, frame: 13
|
|
const env0_0 = a0;
|
|
const Object = global.Object;
|
|
Object.keys(a1).forEach(_fun59);
|
|
return a0;
|
|
}
|
|
|
|
function _fun59(a0) { // fn#59, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:5293, offset: 0x00c37e1f, size: 22 bytes, params: 2, frame: 11
|
|
return env0_0.add(a0);
|
|
}
|
|
|
|
function _fun60(a0, a1) { // fn#60, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:5363, offset: 0x00c37e35, size: 152 bytes, params: 3, frame: 21
|
|
var r4;
|
|
var r8;
|
|
var value4;
|
|
var property;
|
|
var Math;
|
|
var max;
|
|
var value5;
|
|
let binding = env0_2;
|
|
let length = a0.length;
|
|
binding[a1] = length;
|
|
length = env0_0.length;
|
|
const value2 = 0;
|
|
if (value2 < length) {
|
|
r4 = value2;
|
|
while (true) {
|
|
value4 = formatCellValue(env0_0[r4], a0);
|
|
binding = env0_1;
|
|
property = binding[r4];
|
|
r8 = property || [];
|
|
binding[r4] = r8;
|
|
env0_1[r4][a1] = value4;
|
|
binding = env0_2;
|
|
Math = global.Math;
|
|
max = Math.max;
|
|
property = env0_2[a1];
|
|
length = value4.length;
|
|
binding[a1] = Reflect.apply(max, Math, [property, length]);
|
|
value5 = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1;
|
|
length = env0_0.length;
|
|
if (value5 < length) {
|
|
r4 = value5;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
function _fun61(a0) { // fn#61, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:5531, offset: 0x00c37ecd, size: 38 bytes, params: 2, frame: 13
|
|
const value = environment.__proto__;
|
|
return repeat('-', a0).join('');
|
|
}
|
|
|
|
function group(a0) { // fn#62, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:5853, offset: 0x00c37ef3, size: 65 bytes, params: 2, frame: 16
|
|
const binding = env0_0;
|
|
binding.nativeLoggingHook(groupFormat('┐', a0), 1);
|
|
env0_5.push('│');
|
|
}
|
|
|
|
function groupEnd() { // fn#63, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:5954, offset: 0x00c37f34, size: 55 bytes, params: 1, frame: 14
|
|
let binding = env0_5;
|
|
binding.pop();
|
|
binding = env0_0;
|
|
binding.nativeLoggingHook(groupFormat('┘'), 1);
|
|
}
|
|
|
|
function groupCollapsed(a0) { // fn#64, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:6055, offset: 0x00c37f6b, size: 65 bytes, params: 2, frame: 16
|
|
const binding = env0_0;
|
|
binding.nativeLoggingHook(groupFormat('┘', a0), 1);
|
|
env0_5.push('│');
|
|
}
|
|
|
|
function assert(a0, a1) { // fn#65, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:6163, offset: 0x00c37fac, size: 46 bytes, params: 3, frame: 14
|
|
if (!a0) {
|
|
env0_0.nativeLoggingHook('Assertion failed: ' + a1, env0_4);
|
|
}
|
|
}
|
|
|
|
function error() { // fn#66, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:6366, owner: global.console.error, offset: 0x00c37fda, size: 288 bytes, params: 1, frame: 18
|
|
var r1;
|
|
var r4;
|
|
var value5;
|
|
var RN$inExceptionHandler;
|
|
var binding;
|
|
var property;
|
|
var stack;
|
|
var startsWith;
|
|
var map;
|
|
var value6;
|
|
var join;
|
|
var value7;
|
|
var Error;
|
|
var value8;
|
|
var error2;
|
|
var value9;
|
|
var RN$handleException;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
let prototype = Array.prototype;
|
|
const value2 = Object.create(prototype, {constructor: {value: Array}});
|
|
const array = new Array(length);
|
|
const value3 = array instanceof Object ? array : value2;
|
|
const value4 = 0;
|
|
if (value4 < length) {
|
|
r1 = value4;
|
|
reducibleLoop1: while (true) {
|
|
value3[r1] = arguments[r1];
|
|
value5 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (value5 < length) {
|
|
r1 = value5;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleLoop1;
|
|
}
|
|
}
|
|
error.apply(this, value3);
|
|
if (global.console.reportErrorsAsExceptions) {
|
|
RN$inExceptionHandler = env0_0.RN$inExceptionHandler;
|
|
reducibleJoin12: while (true) {
|
|
reducibleJoin11: while (true) {
|
|
if (RN$inExceptionHandler == null) {
|
|
property = value3[value4];
|
|
if (property != null) {
|
|
stack = property.stack;
|
|
reducibleJoin7: while (true) {
|
|
if (stack) {
|
|
r4 = property;
|
|
break reducibleJoin11;
|
|
}
|
|
break reducibleJoin7;
|
|
}
|
|
}
|
|
if (typeof property === 'string') {
|
|
startsWith = property.startsWith;
|
|
reducibleJoin9: while (true) {
|
|
if (Reflect.apply(startsWith, property, ['Warning: '])) {
|
|
return undefined;
|
|
}
|
|
break reducibleJoin9;
|
|
}
|
|
}
|
|
value6 = value3.map(_fun67);
|
|
value7 = value6.join(' ');
|
|
error2 = new global.Error();
|
|
error2.name = 'console.error';
|
|
r4 = error2;
|
|
break reducibleJoin11;
|
|
}
|
|
binding = env0_0;
|
|
RN$inExceptionHandler = binding.RN$inExceptionHandler;
|
|
if (Reflect.apply(RN$inExceptionHandler, binding, [])) {
|
|
break reducibleJoin12;
|
|
}
|
|
property = value3[value4];
|
|
if (property != null) {
|
|
stack = property.stack;
|
|
reducibleJoin7: while (true) {
|
|
if (stack) {
|
|
r4 = property;
|
|
break reducibleJoin11;
|
|
}
|
|
break reducibleJoin7;
|
|
}
|
|
}
|
|
if (typeof property === 'string') {
|
|
startsWith = property.startsWith;
|
|
reducibleJoin9: while (true) {
|
|
if (Reflect.apply(startsWith, property, ['Warning: '])) {
|
|
return undefined;
|
|
}
|
|
break reducibleJoin9;
|
|
}
|
|
}
|
|
map = value3.map;
|
|
value6 = Reflect.apply(map, value3, [_fun67]);
|
|
join = value6.join;
|
|
value7 = Reflect.apply(join, value6, [' ']);
|
|
Error = global.Error;
|
|
prototype = Error.prototype;
|
|
value8 = Object.create(prototype, {constructor: {value: Error}});
|
|
error2 = new Error();
|
|
value9 = error2 instanceof Object ? error2 : value8;
|
|
value9.name = 'console.error';
|
|
r4 = value9;
|
|
break reducibleJoin11;
|
|
}
|
|
binding = env0_0;
|
|
RN$handleException = binding.RN$handleException;
|
|
Reflect.apply(RN$handleException, binding, [r4, false, false]);
|
|
break reducibleJoin12;
|
|
}
|
|
}
|
|
}
|
|
|
|
function _fun67(a0) { // fn#67, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:6674, offset: 0x00c380fa, size: 75 bytes, params: 2, frame: 14
|
|
var r0;
|
|
var value2;
|
|
let value = a0;
|
|
if (typeof value === 'string') {
|
|
r0 = value;
|
|
} else {
|
|
value2 = environment.__proto__;
|
|
value = env1_1(value, {depth: 10});
|
|
value = value.replace(RegExp('\\n\\s*', 'g'), ' ');
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function clear() { // fn#68, offset: 0x00c37b63, size: 4 bytes, params: 1, frame: 1
|
|
}
|
|
|
|
function assert_69(a0, a1) { // fn#69, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3:7062, offset: 0x00c38145, size: 37 bytes, params: 3, frame: 11
|
|
if (!a0) {
|
|
env0_7('Assertion failed: ' + a1);
|
|
}
|
|
}
|
|
|
|
function _fun70(a0) { // fn#70, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4:2, offset: 0x00c3816a, size: 136 bytes, params: 2, frame: 4
|
|
const RN$useAlwaysAvailableJSErrorHandling = a0.RN$useAlwaysAvailableJSErrorHandling;
|
|
let env0_1 = RN$useAlwaysAvailableJSErrorHandling === true ? a0.RN$handleException : function(a0, a1) {
|
|
throw a0;
|
|
};
|
|
a0.ErrorUtils = {setGlobalHandler: function(a0) {
|
|
env0_1 = a0;
|
|
}, getGlobalHandler: getGlobalHandler, reportError: reportError, reportFatalError: reportFatalError,
|
|
applyWithGuard: applyWithGuard, applyWithGuardIfNeeded: applyWithGuardIfNeeded, inGuard: inGuard,
|
|
guard: function(a0, a1, a2) {
|
|
var value = a1;
|
|
var env0_0 = a0;
|
|
var env0_1 = a2;
|
|
if (typeof a0 !== 'function') {
|
|
global.console.warn('A function must be passed to ErrorUtils.guard, got ', a0);
|
|
return null;
|
|
}
|
|
var env0_2 = value ?? a0.name ?? '<generated guard>';
|
|
return _fun80;
|
|
}};
|
|
}
|
|
|
|
function getGlobalHandler() { // fn#73, offset: 0x00c38205, size: 9 bytes, params: 1, frame: 1
|
|
return env0_1;
|
|
}
|
|
|
|
function reportError(a0) { // fn#74, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4:233, offset: 0x00c3820e, size: 31 bytes, params: 2, frame: 13
|
|
if (env0_1) {
|
|
env0_1(a0, false);
|
|
}
|
|
}
|
|
|
|
function reportFatalError(a0) { // fn#75, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4:286, offset: 0x00c3822d, size: 31 bytes, params: 2, frame: 13
|
|
if (env0_1) {
|
|
env0_1(a0, true);
|
|
}
|
|
}
|
|
|
|
function applyWithGuard(a0, a1, a2, a3, a4) { // fn#76, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4:342, offset: 0x00c3824c, size: 103 bytes, params: 6, frame: 14
|
|
var value;
|
|
var binding;
|
|
var value2;
|
|
var apply;
|
|
var value3;
|
|
var error;
|
|
var reportError;
|
|
exceptionSkip15: while (true) {
|
|
exceptionLanding15: while (true) {
|
|
exceptionSkip9: while (true) {
|
|
exceptionLanding9: while (true) {
|
|
value = environment;
|
|
try {
|
|
try {
|
|
binding = env0_0;
|
|
} catch (error) {
|
|
break exceptionLanding9;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding15;
|
|
}
|
|
try {
|
|
try {
|
|
value2 = typeof binding === 'bigint' ? binding + 1n : +binding + 1;
|
|
} catch (error) {
|
|
break exceptionLanding9;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding15;
|
|
}
|
|
try {
|
|
try {
|
|
env0_0 = value2;
|
|
} catch (error) {
|
|
break exceptionLanding9;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding15;
|
|
}
|
|
try {
|
|
try {
|
|
apply = a0.apply;
|
|
} catch (error) {
|
|
break exceptionLanding9;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding15;
|
|
}
|
|
try {
|
|
try {
|
|
value3 = Reflect.apply(apply, a0, [a1, a2]);
|
|
} catch (error) {
|
|
break exceptionLanding9;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding15;
|
|
}
|
|
binding = env0_0;
|
|
env0_0 = typeof binding === 'bigint' ? binding - 1n : +binding - 1;
|
|
return value3;
|
|
break exceptionSkip9;
|
|
}
|
|
try {
|
|
binding = env0_2;
|
|
} catch (error) {
|
|
break exceptionLanding15;
|
|
}
|
|
try {
|
|
reportError = binding.reportError;
|
|
} catch (error) {
|
|
break exceptionLanding15;
|
|
}
|
|
try {
|
|
Reflect.apply(reportError, binding, [error]);
|
|
} catch (error) {
|
|
break exceptionLanding15;
|
|
}
|
|
binding = env0_0;
|
|
env0_0 = typeof binding === 'bigint' ? binding - 1n : +binding - 1;
|
|
return null;
|
|
break exceptionSkip9;
|
|
}
|
|
break exceptionSkip15;
|
|
}
|
|
binding = env0_0;
|
|
env0_0 = typeof binding === 'bigint' ? binding - 1n : +binding - 1;
|
|
throw error;
|
|
break exceptionSkip15;
|
|
}
|
|
}
|
|
|
|
function applyWithGuardIfNeeded(a0, a1, a2) { // fn#77, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4:479, offset: 0x00c382b3, size: 63 bytes, params: 4, frame: 16
|
|
var r0;
|
|
const binding = env0_2;
|
|
if (binding.inGuard()) {
|
|
r0 = a0.apply(a1, a2);
|
|
} else {
|
|
env0_2.applyWithGuard(a0, a1, a2);
|
|
r0 = null;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function inGuard() { // fn#78, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4:590, offset: 0x00c382f2, size: 15 bytes, params: 1, frame: 1
|
|
return !!env0_0;
|
|
}
|
|
|
|
function guard(a0, a1, a2) { // fn#79, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4:626, offset: 0x00c38301, size: 97 bytes, params: 4, frame: 14
|
|
const value = a1;
|
|
const env0_0 = a0;
|
|
const env0_1 = a2;
|
|
if (typeof a0 !== 'function') {
|
|
global.console.warn('A function must be passed to ErrorUtils.guard, got ', a0);
|
|
return null;
|
|
}
|
|
const env0_2 = value ?? a0.name ?? '<generated guard>';
|
|
return guarded;
|
|
}
|
|
|
|
function guarded() { // fn#80, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4:822, owner: guard.guarded, offset: 0x00c38362, size: 120 bytes, params: 1, frame: 20
|
|
var r0;
|
|
var r6;
|
|
var value6;
|
|
const value = this;
|
|
const length = arguments.length;
|
|
const Array = global.Array;
|
|
const array = new Array(length);
|
|
const value5 = 0;
|
|
if (value5 < length) {
|
|
r0 = value5;
|
|
reducibleLoop1: while (true) {
|
|
array[r0] = arguments[r0];
|
|
value6 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1;
|
|
if (value6 < length) {
|
|
r0 = value6;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleLoop1;
|
|
}
|
|
}
|
|
const binding = env1_2;
|
|
const applyWithGuard = binding.applyWithGuard;
|
|
const binding2 = env0_0;
|
|
reducibleJoin4: while (true) {
|
|
if (importDefault == null) {
|
|
r6 = value;
|
|
break reducibleJoin4;
|
|
}
|
|
r6 = importDefault;
|
|
break reducibleJoin4;
|
|
}
|
|
return Reflect.apply(applyWithGuard, binding, [binding2, r6, array, null, env0_2]);
|
|
}
|
|
|