Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

+893
View File
@@ -0,0 +1,893 @@
/* Metro module 7414; source: unknown; dependencies: [57, 7415, 7375, 7376, 7372] */
function _fun59758(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59758, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7592:6, offset: 0x016f1d98, size: 127 bytes, params: 8, frame: 18
const env0_1 = require;
const closure = normalize_59759;
const env0_3 = require(57) /* metro dependency 57 */;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.normalize = closure;
exports.normalizeToSize = normalizeToSize_59762;
exports.normalizeUrlToBase = normalizeUrlToBase_59764;
}
function visit_59760(a0, a1) { // fn#59760, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7592:273, offset: 0x016f1e17, size: 624 bytes, params: 3, frame: 37
var environment;
var r6;
var r2;
var r4;
var r1;
var r8;
var r14;
var value2;
var memoBuilder;
var items;
var includes;
var value5;
var Number;
var isFinite;
var value6;
var startsWith;
var __sentry_skip_normalization__;
var __sentry_override_normalization_depth__;
var toJSON;
var visit_59760Binding;
var value7;
var value8;
var value9;
var error;
var Array;
var isArray;
var moduleValue;
var convertToPlainObject;
var value10;
var properties;
var properties2;
var properties3;
var propertyName;
var propertyName2;
var Object;
var prototype;
var hasOwnProperty;
var call;
var value11;
let value = Infinity;
reducibleJoin3: while (true) {
if (arguments.length > 2) {
if (arguments[2] === undefined) {
r6 = value;
break reducibleJoin3;
}
value2 = arguments[2];
r6 = value2;
break reducibleJoin3;
}
r6 = value;
break reducibleJoin3;
}
reducibleJoin6: while (true) {
if (arguments.length > 3) {
if (arguments[3] === undefined) {
r2 = value;
break reducibleJoin6;
}
value = arguments[3];
r2 = value;
break reducibleJoin6;
}
r2 = value;
break reducibleJoin6;
}
reducibleJoin10: while (true) {
reducibleJoin8: while (true) {
if (arguments.length > 4) {
if (arguments[4] !== undefined) {
value = arguments[4];
r4 = value;
break reducibleJoin10;
}
break reducibleJoin8;
}
break reducibleJoin8;
}
value = environment;
value = require(7415) /* metro dependency 7415 */;
memoBuilder = value.memoBuilder;
value = Reflect.apply(memoBuilder, value, []);
r4 = value;
break reducibleJoin10;
}
const value3 = env0_3(r4, 2);
const value4 = 0;
let property = value3[value4];
const property2 = value3[1];
reducibleJoin23: while (true) {
reducibleJoin46: while (true) {
if (a1 == null) {
break reducibleJoin46;
}
items = ['boolean', 'string'];
includes = items.includes;
value5 = typeof a1;
if (!Reflect.apply(includes, items, [value5])) {
if (value5 === 'number') {
Number = global.Number;
isFinite = Number.isFinite;
reducibleJoin14: while (true) {
if (Reflect.apply(isFinite, Number, [a1])) {
break reducibleJoin46;
}
break reducibleJoin14;
}
}
value6 = visit_59760StringifyValue(a0, a1);
startsWith = value6.startsWith;
if (Reflect.apply(startsWith, value6, ['[object '])) {
__sentry_skip_normalization__ = a1.__sentry_skip_normalization__;
if (__sentry_skip_normalization__) {
return a1;
}
__sentry_override_normalization_depth__ = a1.__sentry_override_normalization_depth__;
reducibleJoin19: while (true) {
if (typeof __sentry_override_normalization_depth__ !== 'number') {
break reducibleJoin19;
}
__sentry_override_normalization_depth__ = a1.__sentry_override_normalization_depth__;
r6 = __sentry_override_normalization_depth__;
break reducibleJoin19;
}
if (value4 === r6) {
return value6.replace('object ', '');
}
if (property(a1)) {
return '[Circular ~]';
}
reducibleJoin33: while (true) {
if (a1) {
toJSON = a1.toJSON;
if (typeof toJSON !== 'function') {
break reducibleJoin33;
}
break reducibleJoin23;
}
break reducibleJoin33;
}
Array = global.Array;
isArray = Array.isArray;
if (Reflect.apply(isArray, Array, [a1])) {
r1 = [];
} else {
r1 = {};
}
moduleValue = require(7375) /* metro dependency 7375 */;
convertToPlainObject = moduleValue.convertToPlainObject;
value10 = Reflect.apply(convertToPlainObject, moduleValue, [a1]);
properties = Object.keys(value10);
properties2 = 0;
properties3 = properties.length;
if (properties !== undefined) {
r8 = properties2;
r14 = value4;
reducibleLoop37: while (true) {
propertyName = properties[r8];
propertyName2 = r8 + 1;
if (propertyName === undefined) {
break reducibleLoop37;
}
Object = global.Object;
prototype = Object.prototype;
hasOwnProperty = prototype.hasOwnProperty;
call = hasOwnProperty.call;
if (Reflect.apply(call, hasOwnProperty, [value10, propertyName])) {
if (r14 >= r2) {
r1[propertyName] = '[MaxProperties ~]';
break reducibleLoop37;
}
property = value10[propertyName];
r1[propertyName] = visit_59760(propertyName, property, r6 - 1, r2, r4);
value11 = typeof r14 === 'bigint' ? r14 + 1n : +r14 + 1;
r8 = propertyName2;
r14 = value11;
continue reducibleLoop37;
}
r8 = propertyName2;
continue reducibleLoop37;
}
}
property2(a1);
return r1;
}
return value6;
}
break reducibleJoin46;
}
return a1;
}
try {
visit_59760Binding = visit_59760;
} catch (error) {
Array = global.Array;
isArray = Array.isArray;
r1 = Reflect.apply(isArray, Array, [a1]) ? [] : {};
moduleValue = require(7375) /* metro dependency 7375 */;
value10 = moduleValue.convertToPlainObject(a1);
properties = Object.keys(value10);
properties2 = 0;
properties3 = properties.length;
if (properties !== undefined) {
r8 = properties2;
r14 = value4;
loopExit37: while (true) {
propertyName = properties[r8];
propertyName2 = r8 + 1;
if (propertyName === undefined) {
break loopExit37;
}
Object = global.Object;
prototype = Object.prototype;
hasOwnProperty = prototype.hasOwnProperty;
call = hasOwnProperty.call;
if (!Reflect.apply(call, hasOwnProperty, [value10, propertyName])) {
r8 = propertyName2;
continue;
}
if (r14 >= r2) {
r1[propertyName] = '[MaxProperties ~]';
break loopExit37;
}
property = value10[propertyName];
r1[propertyName] = visit_59760(propertyName, property, r6 - 1, r2, r4);
value11 = typeof r14 === 'bigint' ? r14 + 1n : +r14 + 1;
r8 = propertyName2;
r14 = value11;
}
}
property2(a1);
return r1;
}
try {
toJSON = a1.toJSON;
} catch (error) {
Array = global.Array;
isArray = Array.isArray;
r1 = Reflect.apply(isArray, Array, [a1]) ? [] : {};
moduleValue = require(7375) /* metro dependency 7375 */;
value10 = moduleValue.convertToPlainObject(a1);
properties = Object.keys(value10);
properties2 = 0;
properties3 = properties.length;
if (properties !== undefined) {
r8 = properties2;
r14 = value4;
loopExit37: while (true) {
propertyName = properties[r8];
propertyName2 = r8 + 1;
if (propertyName === undefined) {
break loopExit37;
}
Object = global.Object;
prototype = Object.prototype;
hasOwnProperty = prototype.hasOwnProperty;
call = hasOwnProperty.call;
if (!Reflect.apply(call, hasOwnProperty, [value10, propertyName])) {
r8 = propertyName2;
continue;
}
if (r14 >= r2) {
r1[propertyName] = '[MaxProperties ~]';
break loopExit37;
}
property = value10[propertyName];
r1[propertyName] = visit_59760(propertyName, property, r6 - 1, r2, r4);
value11 = typeof r14 === 'bigint' ? r14 + 1n : +r14 + 1;
r8 = propertyName2;
r14 = value11;
}
}
property2(a1);
return r1;
}
try {
value7 = Reflect.apply(toJSON, a1, []);
} catch (error) {
Array = global.Array;
isArray = Array.isArray;
r1 = Reflect.apply(isArray, Array, [a1]) ? [] : {};
moduleValue = require(7375) /* metro dependency 7375 */;
value10 = moduleValue.convertToPlainObject(a1);
properties = Object.keys(value10);
properties2 = 0;
properties3 = properties.length;
if (properties !== undefined) {
r8 = properties2;
r14 = value4;
loopExit37: while (true) {
propertyName = properties[r8];
propertyName2 = r8 + 1;
if (propertyName === undefined) {
break loopExit37;
}
Object = global.Object;
prototype = Object.prototype;
hasOwnProperty = prototype.hasOwnProperty;
call = hasOwnProperty.call;
if (!Reflect.apply(call, hasOwnProperty, [value10, propertyName])) {
r8 = propertyName2;
continue;
}
if (r14 >= r2) {
r1[propertyName] = '[MaxProperties ~]';
break loopExit37;
}
property = value10[propertyName];
r1[propertyName] = visit_59760(propertyName, property, r6 - 1, r2, r4);
value11 = typeof r14 === 'bigint' ? r14 + 1n : +r14 + 1;
r8 = propertyName2;
r14 = value11;
}
}
property2(a1);
return r1;
}
try {
value8 = r6 - 1;
} catch (error) {
Array = global.Array;
isArray = Array.isArray;
r1 = Reflect.apply(isArray, Array, [a1]) ? [] : {};
moduleValue = require(7375) /* metro dependency 7375 */;
value10 = moduleValue.convertToPlainObject(a1);
properties = Object.keys(value10);
properties2 = 0;
properties3 = properties.length;
if (properties !== undefined) {
r8 = properties2;
r14 = value4;
loopExit37: while (true) {
propertyName = properties[r8];
propertyName2 = r8 + 1;
if (propertyName === undefined) {
break loopExit37;
}
Object = global.Object;
prototype = Object.prototype;
hasOwnProperty = prototype.hasOwnProperty;
call = hasOwnProperty.call;
if (!Reflect.apply(call, hasOwnProperty, [value10, propertyName])) {
r8 = propertyName2;
continue;
}
if (r14 >= r2) {
r1[propertyName] = '[MaxProperties ~]';
break loopExit37;
}
property = value10[propertyName];
r1[propertyName] = visit_59760(propertyName, property, r6 - 1, r2, r4);
value11 = typeof r14 === 'bigint' ? r14 + 1n : +r14 + 1;
r8 = propertyName2;
r14 = value11;
}
}
property2(a1);
return r1;
}
try {
value9 = visit_59760Binding('', value7, value8, r2, r4);
} catch (error) {
Array = global.Array;
isArray = Array.isArray;
r1 = Reflect.apply(isArray, Array, [a1]) ? [] : {};
moduleValue = require(7375) /* metro dependency 7375 */;
value10 = moduleValue.convertToPlainObject(a1);
properties = Object.keys(value10);
properties2 = 0;
properties3 = properties.length;
if (properties !== undefined) {
r8 = properties2;
r14 = value4;
loopExit37: while (true) {
propertyName = properties[r8];
propertyName2 = r8 + 1;
if (propertyName === undefined) {
break loopExit37;
}
Object = global.Object;
prototype = Object.prototype;
hasOwnProperty = prototype.hasOwnProperty;
call = hasOwnProperty.call;
if (!Reflect.apply(call, hasOwnProperty, [value10, propertyName])) {
r8 = propertyName2;
continue;
}
if (r14 >= r2) {
r1[propertyName] = '[MaxProperties ~]';
break loopExit37;
}
property = value10[propertyName];
r1[propertyName] = visit_59760(propertyName, property, r6 - 1, r2, r4);
value11 = typeof r14 === 'bigint' ? r14 + 1n : +r14 + 1;
r8 = propertyName2;
r14 = value11;
}
}
property2(a1);
return r1;
}
return value9;
}
function normalizeToSize_59762(a0) { // fn#59762, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7592:2179, offset: 0x016f2349, size: 124 bytes, params: 2, frame: 19
let value = 3;
const r1 = arguments.length > 1 ? arguments[1] === undefined ? value : arguments[1] : value;
value = 102400;
const r3 = arguments.length > 2 ? arguments[2] === undefined ? value : arguments[2] : value;
const value2 = normalize_59759(a0, r1);
return ((a0) => {
var JSON = global.JSON;
var value = JSON.stringify(a0);
value = (0, global.encodeURI)(value);
return ~-value.split(RegExp('%..|.', '')).length;
})(value2) > r3 ? normalizeToSize_59762(a0, r1 - 1, r3) : value2;
}
function visit_59760StringifyValue(a0, a1) { // fn#59761, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7592:628, owner: visit_59760.stringifyValue, offset: 0x016f2087, size: 706 bytes, params: 3, frame: 18
var name;
var r3;
var value;
var _events;
var binding;
var value2;
var value3;
var window;
var value4;
var value5;
var document;
var value6;
var value7;
var property;
var moduleValue;
var isVueViewModel;
var isVueViewModel2;
var moduleValue2;
var isSyntheticEvent;
var isSyntheticEvent2;
var value9;
var Number;
var isFinite;
var isFinite2;
var HermesInternal;
var concat;
var value10;
var Object;
var getPrototypeOf;
var constructor;
var regexp;
var test;
var String;
var getFunctionName;
var error;
try {
value = a0 !== 'domain';
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (!value) {
reducibleJoin9: while (true) {
if (a1) {
try {
value = typeof a1 !== 'object';
} catch (error) {
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
return '**non-serializable** (' + error + ')';
}
if (value) {
break reducibleJoin9;
}
try {
_events = a1._events;
} catch (error) {
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
return '**non-serializable** (' + error + ')';
}
if (_events) {
return '[Domain]';
}
break reducibleJoin9;
}
break reducibleJoin9;
}
}
try {
value = a0 === 'domainEmitter';
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (value) {
return '[DomainEmitter]';
}
value = environment.__proto__;
try {
binding = env1_0;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value2 = binding === undefined;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (!value2) {
try {
binding = env1_0;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value3 = a1 === binding;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
reducibleJoin17: while (true) {
if (value3) {
return '[Global]';
}
break reducibleJoin17;
}
}
try {
window = global.window;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value4 = typeof window === 'undefined';
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (!value4) {
try {
window = global.window;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value5 = a1 === window;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
reducibleJoin24: while (true) {
if (value5) {
return '[Window]';
}
break reducibleJoin24;
}
}
try {
document = global.document;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value6 = typeof document === 'undefined';
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (!value6) {
try {
document = global.document;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value7 = a1 === document;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
reducibleJoin30: while (true) {
if (value7) {
return '[Document]';
}
break reducibleJoin30;
}
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
property = dependencyMap[3];
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
moduleValue = require(property);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
isVueViewModel = moduleValue.isVueViewModel;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
isVueViewModel2 = Reflect.apply(isVueViewModel, moduleValue, [a1]);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (isVueViewModel2) {
return '[VueViewModel]';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
property = dependencyMap[3];
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
moduleValue2 = require(property);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
isSyntheticEvent = moduleValue2.isSyntheticEvent;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
isSyntheticEvent2 = Reflect.apply(isSyntheticEvent, moduleValue2, [a1]);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (isSyntheticEvent2) {
return '[SyntheticEvent]';
}
const value8 = typeof a1;
try {
value9 = value8 !== 'number';
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (!value9) {
try {
Number = global.Number;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
isFinite = Number.isFinite;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
isFinite2 = Reflect.apply(isFinite, Number, [a1]);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
reducibleJoin60: while (true) {
if (!isFinite2) {
try {
HermesInternal = global.HermesInternal;
} catch (error) {
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
return '**non-serializable** (' + error + ')';
}
try {
concat = HermesInternal.concat;
} catch (error) {
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
return '**non-serializable** (' + error + ')';
}
try {
value = '[' + a1 + ']';
} catch (error) {
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
return '**non-serializable** (' + error + ')';
}
return value;
}
break reducibleJoin60;
}
}
try {
value10 = value8 === 'function';
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (value10) {
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
property = dependencyMap[4];
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value = require(property);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
getFunctionName = value.getFunctionName;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value = Reflect.apply(getFunctionName, value, [a1]);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value = Reflect.apply(concat, '[Function: ', [value, ']']);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
return value;
}
try {
value = value8 === 'symbol';
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (value) {
try {
String = global.String;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value = String(a1);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value = Reflect.apply(concat, '[', [value, ']']);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
return value;
}
try {
value = value8 === 'bigint';
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (value) {
try {
String = global.String;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value = String(a1);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value = Reflect.apply(concat, '[BigInt: ', [value, ']']);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
return value;
}
try {
Object = global.Object;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
getPrototypeOf = Object.getPrototypeOf;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value = Reflect.apply(getPrototypeOf, Object, [a1]);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
reducibleJoin73: while (true) {
if (value) {
try {
constructor = value.constructor;
} catch (error) {
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
return '**non-serializable** (' + error + ')';
}
try {
name = constructor.name;
} catch (error) {
HermesInternal = global.HermesInternal;
concat = HermesInternal.concat;
return '**non-serializable** (' + error + ')';
}
break reducibleJoin73;
}
name = 'null prototype';
break reducibleJoin73;
}
try {
regexp = RegExp('^HTML(\\w*)Element$', '');
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
test = regexp.test;
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
value = Reflect.apply(test, regexp, [name]);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
try {
} catch (error) {
return '**non-serializable** (' + error + ')';
}
if (value) {
try {
value = Reflect.apply(concat, '[HTMLElement: ', [name, ']']);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
r3 = value;
} else {
try {
value = Reflect.apply(concat, '[object ', [name, ']']);
} catch (error) {
return '**non-serializable** (' + error + ')';
}
r3 = value;
}
return r3;
}