1001 lines
39 KiB
JavaScript
1001 lines
39 KiB
JavaScript
/* Metro module 873; source: unknown; dependencies: [57, 831, 836, 842] */
|
|
import * as Module00057Module from './module-00057.js'; /* Metro dependency 57 */
|
|
|
|
function _fun9383(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9383, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1000:6, offset: 0x00d656f9, size: 139 bytes, params: 8, frame: 19
|
|
const env0_1 = require;
|
|
const normalize_93842 = normalize_9384;
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.normalize = normalize_93842;
|
|
exports.normalizeToSize = normalizeToSize;
|
|
exports.normalizeUrlToBase = normalizeUrlToBase;
|
|
function normalize_9384(a0) { // fn#9384, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1000:44, offset: 0x00d65784, size: 162 bytes, params: 2, frame: 20
|
|
var error;
|
|
let value = 100;
|
|
const r3 = arguments.length > 1 ? arguments[1] === undefined ? value : arguments[1] : value;
|
|
value = Infinity;
|
|
try {
|
|
value = environment;
|
|
value = visit('', a0, r3, arguments.length > 2 ? arguments[2] === undefined ? value : arguments[2] : value);
|
|
} catch (error) {
|
|
return {ERROR: '**non-serializable** (' + error + ')'};
|
|
}
|
|
return value;
|
|
}
|
|
|
|
function visit(a0, a1) { // fn#9385, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1000:273, offset: 0x00d65826, size: 600 bytes, params: 3, frame: 37
|
|
var r6;
|
|
var r2;
|
|
var r5;
|
|
var r1;
|
|
var r8;
|
|
var r14;
|
|
var value2;
|
|
var items2;
|
|
var includes;
|
|
var value5;
|
|
var Number;
|
|
var isFinite;
|
|
var value6;
|
|
var startsWith;
|
|
var __sentry_skip_normalization__;
|
|
var __sentry_override_normalization_depth__;
|
|
var toJSON;
|
|
var visitBinding;
|
|
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];
|
|
r5 = value;
|
|
break reducibleJoin10;
|
|
}
|
|
break reducibleJoin8;
|
|
}
|
|
break reducibleJoin8;
|
|
}
|
|
value = (() => {
|
|
var WeakSet = global.WeakSet;
|
|
var env0_0 = new WeakSet();
|
|
return [_fun9387, _fun9388];
|
|
})();
|
|
r5 = value;
|
|
break reducibleJoin10;
|
|
}
|
|
const value3 = Module00057Module(r5, 2);
|
|
const value4 = 0;
|
|
let property = value3[value4];
|
|
const property2 = value3[1];
|
|
reducibleJoin23: while (true) {
|
|
reducibleJoin46: while (true) {
|
|
if (a1 == null) {
|
|
break reducibleJoin46;
|
|
}
|
|
items2 = ['boolean', 'string'];
|
|
includes = items2.includes;
|
|
value5 = typeof a1;
|
|
if (!Reflect.apply(includes, items2, [value5])) {
|
|
if (value5 === 'number') {
|
|
Number = global.Number;
|
|
isFinite = Number.isFinite;
|
|
reducibleJoin14: while (true) {
|
|
if (Reflect.apply(isFinite, Number, [a1])) {
|
|
break reducibleJoin46;
|
|
}
|
|
break reducibleJoin14;
|
|
}
|
|
}
|
|
value6 = stringifyValue(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(831) /* metro dependency 831 */;
|
|
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(propertyName, property, r6 - 1, r2, r5);
|
|
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 {
|
|
visitBinding = visit;
|
|
} catch (error) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
r1 = Reflect.apply(isArray, Array, [a1]) ? [] : {};
|
|
moduleValue = require(831) /* metro dependency 831 */;
|
|
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(propertyName, property, r6 - 1, r2, r5);
|
|
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(831) /* metro dependency 831 */;
|
|
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(propertyName, property, r6 - 1, r2, r5);
|
|
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(831) /* metro dependency 831 */;
|
|
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(propertyName, property, r6 - 1, r2, r5);
|
|
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(831) /* metro dependency 831 */;
|
|
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(propertyName, property, r6 - 1, r2, r5);
|
|
value11 = typeof r14 === 'bigint' ? r14 + 1n : +r14 + 1;
|
|
r8 = propertyName2;
|
|
r14 = value11;
|
|
}
|
|
}
|
|
property2(a1);
|
|
return r1;
|
|
}
|
|
try {
|
|
value9 = visitBinding('', value7, value8, r2, r5);
|
|
} catch (error) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
r1 = Reflect.apply(isArray, Array, [a1]) ? [] : {};
|
|
moduleValue = require(831) /* metro dependency 831 */;
|
|
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(propertyName, property, r6 - 1, r2, r5);
|
|
value11 = typeof r14 === 'bigint' ? r14 + 1n : +r14 + 1;
|
|
r8 = propertyName2;
|
|
r14 = value11;
|
|
}
|
|
}
|
|
property2(a1);
|
|
return r1;
|
|
}
|
|
return value9;
|
|
function memoBuilder() { // fn#9386, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1000:476, owner: visit.memoBuilder, offset: 0x00d65a7e, size: 58 bytes, params: 1, frame: 10
|
|
const WeakSet = global.WeakSet;
|
|
const weakSet = new WeakSet();
|
|
return [memoBuilderMemoize, unmemoize];
|
|
function memoBuilderMemoize(a0) { // fn#9387, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1000:517, owner: visit.memoBuilder.memoize, offset: 0x00d65ab8, size: 47 bytes, params: 2, frame: 12
|
|
var r0;
|
|
const value2 = env0_0.has(a0);
|
|
if (value2) {
|
|
r0 = !!value2;
|
|
} else {
|
|
env0_0.add(a0);
|
|
r0 = false;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function unmemoize(a0) { // fn#9388, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1000:569, owner: visit.memoBuilder.unmemoize, offset: 0x00d65ae7, size: 24 bytes, params: 2, frame: 11
|
|
env0_0.delete(a0);
|
|
}
|
|
|
|
}
|
|
|
|
function stringifyValue(a0, a1) { // fn#9389, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1000:762, owner: visit.stringifyValue, offset: 0x00d65aff, size: 749 bytes, params: 3, frame: 20
|
|
var r9;
|
|
var r6;
|
|
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 value11;
|
|
var constructor;
|
|
var name;
|
|
var regexp;
|
|
var test;
|
|
var String;
|
|
var getFunctionName;
|
|
var getVueInternalName;
|
|
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[2];
|
|
} 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 + ')';
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
try {
|
|
} catch (error) {
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
if (isVueViewModel2) {
|
|
try {
|
|
property = dependencyMap[3];
|
|
} catch (error) {
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
try {
|
|
value = require(property);
|
|
} catch (error) {
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
try {
|
|
getVueInternalName = value.getVueInternalName;
|
|
} catch (error) {
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
try {
|
|
value = Reflect.apply(getVueInternalName, value, [a1]);
|
|
} catch (error) {
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
return value;
|
|
}
|
|
try {
|
|
property = dependencyMap[2];
|
|
} 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[3];
|
|
} 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 + ')';
|
|
}
|
|
try {
|
|
value11 = value != null;
|
|
} catch (error) {
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
const value12 = 'null prototype';
|
|
reducibleJoin77: while (true) {
|
|
if (value11) {
|
|
try {
|
|
constructor = value.constructor;
|
|
} catch (error) {
|
|
HermesInternal = global.HermesInternal;
|
|
concat = HermesInternal.concat;
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
if (constructor) {
|
|
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 + ')';
|
|
}
|
|
r9 = name;
|
|
break reducibleJoin77;
|
|
}
|
|
r9 = value12;
|
|
break reducibleJoin77;
|
|
}
|
|
r9 = value12;
|
|
break reducibleJoin77;
|
|
}
|
|
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, [r9]);
|
|
} 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: ', [r9, ']']);
|
|
} catch (error) {
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
r6 = value;
|
|
} else {
|
|
try {
|
|
value = Reflect.apply(concat, '[object ', [r9, ']']);
|
|
} catch (error) {
|
|
return '**non-serializable** (' + error + ')';
|
|
}
|
|
r6 = value;
|
|
}
|
|
return r6;
|
|
}
|
|
|
|
}
|
|
|
|
function normalizeToSize(a0) { // fn#9390, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1000:2360, offset: 0x00d65dec, 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_9384(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(a0, r1 - 1, r3) : value2;
|
|
}
|
|
|
|
}
|
|
|
|
function normalizeUrlToBase(a0, a1) { // fn#9392, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1000:2708, offset: 0x00d65eb0, size: 235 bytes, params: 3, frame: 19
|
|
var r0;
|
|
var decodeURI;
|
|
var value4;
|
|
var error;
|
|
var RegExp;
|
|
let value = a0;
|
|
let replace = a1.replace;
|
|
const value3 = Reflect.apply(replace, a1, [RegExp('\\\\', 'g'), '/']).replace(RegExp('[|\\\\{}()[\\]^$+*?.]', 'g'),
|
|
'\\$&');
|
|
try {
|
|
decodeURI = global.decodeURI;
|
|
value4 = decodeURI(value);
|
|
r0 = value4;
|
|
} catch (error) {
|
|
r0 = value;
|
|
}
|
|
value = r0.replace(RegExp('\\\\', 'g'), '/');
|
|
value = value.replace(RegExp('webpack:\\/?', 'g'), '');
|
|
replace = value.replace;
|
|
RegExp = global.RegExp;
|
|
const value5 = '(file://)?/*' + value3 + '/*';
|
|
const value6 = Object.create(RegExp.prototype, {constructor: {value: RegExp}});
|
|
const regExp = new RegExp(value5, 'ig');
|
|
return Reflect.apply(replace, value, [regExp instanceof Object ? regExp : value6, 'app:///']);
|
|
}
|
|
|
|
global.__d(_fun9383, 873, [57, 831, 836, 842]) /* metro module 873, dependencies: [57, 831, 836, 842] */;
|