Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,83 @@
|
||||
/* Metro module 962; source: unknown; dependencies: [29, 857, 960, 888] */
|
||||
function _fun10144(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#10144, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1089:6, offset: 0x00d7e380, size: 157 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const env0_2 = require(29) /* metro dependency 29 */;
|
||||
const env0_3 = ['type', 'level', 'message', 'args', 'tag', 'date'];
|
||||
const Object = global.Object;
|
||||
const defineProperty = Object.defineProperty;
|
||||
const Symbol = global.Symbol;
|
||||
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
||||
const env0_4 = ['trace', 'debug', 'info', 'warn', 'error', 'fatal'];
|
||||
const env0_5 = {'silent': 'trace', 'fatal': 'fatal', 'error': 'error', 'warn': 'warn', 'log': 'info',
|
||||
'info': 'info', 'success': 'info', 'fail': 'error', 'ready': 'info', 'start': 'info', 'box': 'info',
|
||||
'debug': 'debug', 'trace': 'trace', 'verbose': 'debug', 'critical': 'fatal', 'notice': 'info'};
|
||||
const env0_6 = {0: 'fatal', 1: 'warn', 2: 'info', 3: 'info', 4: 'debug', 5: 'trace'};
|
||||
exports.createConsolaReporter = createConsolaReporter;
|
||||
}
|
||||
|
||||
function createConsolaReporter() { // fn#10145, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1089:519, offset: 0x00d7e41d, size: 109 bytes, params: 1, frame: 13
|
||||
const r0 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||
const Set = global.Set;
|
||||
const set = new Set(r0.levels ?? env0_4);
|
||||
const env0_1 = r0.client;
|
||||
return {log: log_10146};
|
||||
}
|
||||
|
||||
function createConsolaReporterLog(a0) { // fn#10146, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1089:674, owner: createConsolaReporter.log, offset: 0x00d7e48a, size: 451 bytes, params: 2, frame: 26
|
||||
var r6;
|
||||
var r13;
|
||||
var r12;
|
||||
var options;
|
||||
var normalizeDepth;
|
||||
var value9;
|
||||
var normalizeMaxBreadth;
|
||||
var items;
|
||||
var push;
|
||||
var moduleValue2;
|
||||
var value12;
|
||||
const type = a0.type;
|
||||
const level = a0.level;
|
||||
const message = a0.message;
|
||||
const args = a0.args;
|
||||
const tag = a0.tag;
|
||||
a0.date;
|
||||
const value = environment.__proto__;
|
||||
let binding = env1_2;
|
||||
const value2 = binding(a0, env1_3);
|
||||
let r5 = client || (require(857) /* metro dependency 857 */).getClient();
|
||||
if (r5) {
|
||||
r6 = type === 'verbose' ? 'debug' : type === 'silent' ? 'trace' : type && env1_5[type] ? env1_5[type] : typeof level !== 'number' ? 'info' : env1_6[level] || 'info';
|
||||
binding = env0_0;
|
||||
if (binding.has(r6)) {
|
||||
options = r5.getOptions();
|
||||
normalizeDepth = options.normalizeDepth;
|
||||
value9 = 3;
|
||||
r13 = normalizeDepth === undefined ? value9 : normalizeDepth;
|
||||
normalizeMaxBreadth = options.normalizeMaxBreadth;
|
||||
r12 = normalizeMaxBreadth === undefined ? 1000 : normalizeMaxBreadth;
|
||||
items = [];
|
||||
if (message) {
|
||||
items.push(message);
|
||||
}
|
||||
r5 = args && args.length > 0;
|
||||
if (r5) {
|
||||
push = items.push;
|
||||
moduleValue2 = require(960) /* metro dependency 960 */;
|
||||
Reflect.apply(push, items, [moduleValue2.formatConsoleArgs(args, r13, r12)]);
|
||||
}
|
||||
value12 = items.join(' ');
|
||||
value2['sentry.origin'] = 'auto.log.consola';
|
||||
if (tag) {
|
||||
value2['consola.tag'] = tag;
|
||||
}
|
||||
if (type) {
|
||||
value2['consola.type'] = type;
|
||||
}
|
||||
if (level != null && typeof level === 'number') {
|
||||
value2['consola.level'] = level;
|
||||
}
|
||||
require(dependencyMap[value9])._INTERNAL_captureLog({level: r6, message: value12, attributes: value2});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user