595 lines
24 KiB
React
595 lines
24 KiB
React
/* Metro module 4174; source: unknown; dependencies: [4175] */
|
|
function _fun34450(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#34450, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4345:6, offset: 0x01056644, size: 406 bytes, params: 8, frame: 32
|
|
var r9;
|
|
var r3;
|
|
var r2;
|
|
var prototype;
|
|
var hasOwnProperty;
|
|
var toString;
|
|
var propertyIsEnumerable;
|
|
var call;
|
|
var object2;
|
|
var closure;
|
|
var window;
|
|
var value2;
|
|
var properties;
|
|
var properties2;
|
|
var properties3;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var value3;
|
|
var property;
|
|
var window2;
|
|
var value4;
|
|
var window3;
|
|
var value5;
|
|
var window4;
|
|
var value6;
|
|
var window5;
|
|
var error;
|
|
var value7;
|
|
var value8;
|
|
const value = undefined;
|
|
let Object = global.Object;
|
|
reducibleJoin33: while (true) {
|
|
if (Object.keys) {
|
|
r2 = value;
|
|
break reducibleJoin33;
|
|
}
|
|
reduciblePort32: while (true) {
|
|
exceptionLanding31: while (true) {
|
|
exceptionLanding29: while (true) {
|
|
Object = global.Object;
|
|
prototype = Object.prototype;
|
|
hasOwnProperty = prototype.hasOwnProperty;
|
|
var env0_0 = hasOwnProperty;
|
|
Object = global.Object;
|
|
prototype = Object.prototype;
|
|
toString = prototype.toString;
|
|
var env0_1 = toString;
|
|
var env0_2 = require(4175) /* metro dependency 4175 */;
|
|
Object = global.Object;
|
|
prototype = Object.prototype;
|
|
propertyIsEnumerable = prototype.propertyIsEnumerable;
|
|
call = propertyIsEnumerable.call;
|
|
var result = !Reflect.apply(call, propertyIsEnumerable, [{toString: null}, 'toString']);
|
|
call = propertyIsEnumerable.call;
|
|
var env0_4 = Reflect.apply(call, propertyIsEnumerable, [function() {
|
|
}, 'prototype']);
|
|
var env0_5 = ['toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf',
|
|
'propertyIsEnumerable',
|
|
'constructor'];
|
|
closure = equalsConstructorPrototype;
|
|
var equalsConstructorPrototype = closure;
|
|
object2 = {'$applicationCache': true, '$console': true, '$external': true, '$frame': true,
|
|
'$frameElement': true,
|
|
'$frames': true, '$innerHeight': true, '$innerWidth': true, '$onmozfullscreenchange': true,
|
|
'$onmozfullscreenerror': true, '$outerHeight': true, '$outerWidth': true, '$pageXOffset': true,
|
|
'$pageYOffset': true, '$parent': true, '$scrollLeft': true, '$scrollTop': true,
|
|
'$scrollX': true,
|
|
'$scrollY': true, '$self': true, '$webkitIndexedDB': true, '$webkitStorageInfo': true,
|
|
'$window': true};
|
|
window = global.window;
|
|
value2 = false;
|
|
if (typeof window === 'undefined') {
|
|
r3 = value2;
|
|
break reduciblePort32;
|
|
}
|
|
window = global.window;
|
|
properties = Object.keys(window);
|
|
properties2 = 0;
|
|
properties3 = properties.length;
|
|
if (properties === value) {
|
|
r3 = value2;
|
|
break reduciblePort32;
|
|
}
|
|
r9 = properties2;
|
|
reducibleLoop3: while (true) {
|
|
propertyName = properties[r9];
|
|
propertyName2 = r9 + 1;
|
|
if (propertyName === value) {
|
|
r3 = value2;
|
|
break reduciblePort32;
|
|
}
|
|
try {
|
|
value3 = '$' + propertyName;
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
try {
|
|
property = object2[value3];
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
if (property) {
|
|
r9 = propertyName2;
|
|
continue reducibleLoop3;
|
|
}
|
|
try {
|
|
call = hasOwnProperty.call;
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
try {
|
|
window2 = global.window;
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
try {
|
|
value4 = Reflect.apply(call, hasOwnProperty, [window2, propertyName]);
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
if (value4) {
|
|
try {
|
|
window3 = global.window;
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
try {
|
|
property = window3[propertyName];
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
try {
|
|
value5 = property === null;
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
if (value5) {
|
|
r9 = propertyName2;
|
|
continue reducibleLoop3;
|
|
}
|
|
try {
|
|
window4 = global.window;
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
try {
|
|
property = window4[propertyName];
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
try {
|
|
value6 = typeof property !== 'object';
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
if (value6) {
|
|
r9 = propertyName2;
|
|
continue reducibleLoop3;
|
|
}
|
|
try {
|
|
try {
|
|
window5 = global.window;
|
|
} catch (error) {
|
|
break exceptionLanding29;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
try {
|
|
try {
|
|
property = window5[propertyName];
|
|
} catch (error) {
|
|
break exceptionLanding29;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
try {
|
|
try {
|
|
closure(property);
|
|
} catch (error) {
|
|
break exceptionLanding29;
|
|
}
|
|
} catch (error) {
|
|
break exceptionLanding31;
|
|
}
|
|
r9 = propertyName2;
|
|
continue reducibleLoop3;
|
|
}
|
|
r9 = propertyName2;
|
|
continue reducibleLoop3;
|
|
}
|
|
break reduciblePort32;
|
|
}
|
|
value7 = true;
|
|
r3 = value7;
|
|
break reduciblePort32;
|
|
}
|
|
value8 = true;
|
|
r3 = value8;
|
|
break reduciblePort32;
|
|
}
|
|
var env0_7 = r3;
|
|
closure = keys_34453;
|
|
r2 = closure;
|
|
break reducibleJoin33;
|
|
}
|
|
module.exports = r2;
|
|
return value;
|
|
}
|
|
|
|
function equalsConstructorPrototype(a0) { // fn#34452, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4345:373, offset: 0x010567da, size: 25 bytes, params: 2, frame: 4
|
|
const constructor = a0.constructor;
|
|
return constructor && constructor.prototype === a0;
|
|
}
|
|
|
|
function keys_34453(a0) { // fn#34453, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4345:1039, offset: 0x010567f3, size: 554 bytes, params: 2, frame: 26
|
|
var r7;
|
|
var r2;
|
|
var r4;
|
|
var r9;
|
|
var r13;
|
|
var r3;
|
|
var r1;
|
|
var value5;
|
|
var value6;
|
|
var length;
|
|
var value7;
|
|
var hasOwnPropertyBinding;
|
|
var push;
|
|
var String;
|
|
var value8;
|
|
var value9;
|
|
var properties;
|
|
var properties2;
|
|
var properties3;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var value10;
|
|
var value11;
|
|
var value12;
|
|
var window;
|
|
var equalsConstructorPrototypeBinding;
|
|
var value13;
|
|
var error;
|
|
var value14;
|
|
var value15;
|
|
var value16;
|
|
var value17;
|
|
var value18;
|
|
var value19;
|
|
let value = a0 !== null;
|
|
reducibleJoin2: while (true) {
|
|
if (value) {
|
|
value = typeof a0 === 'object';
|
|
r7 = value;
|
|
break reducibleJoin2;
|
|
}
|
|
r7 = value;
|
|
break reducibleJoin2;
|
|
}
|
|
value = environment;
|
|
let toStringBinding = toString;
|
|
let call = toStringBinding.call;
|
|
const value3 = Reflect.apply(call, toStringBinding, [a0]) === '[object Function]';
|
|
const value4 = env0_2(a0);
|
|
reducibleJoin4: while (true) {
|
|
if (r7) {
|
|
toStringBinding = toString;
|
|
call = toStringBinding.call;
|
|
value5 = Reflect.apply(call, toStringBinding, [a0]);
|
|
value6 = value5 === '[object String]';
|
|
r2 = value6;
|
|
break reducibleJoin4;
|
|
}
|
|
r2 = r7;
|
|
break reducibleJoin4;
|
|
}
|
|
const items2 = [];
|
|
if (!r7) {
|
|
reducibleJoin8: while (true) {
|
|
if (value3) {
|
|
break reducibleJoin8;
|
|
}
|
|
if (!value4) {
|
|
throw new global.TypeError('Object.keys called on a non-object');
|
|
}
|
|
break reducibleJoin8;
|
|
}
|
|
}
|
|
const r12 = env0_4 && value3;
|
|
reducibleJoin14: while (true) {
|
|
if (!r2) {
|
|
break reducibleJoin14;
|
|
}
|
|
length = a0.length;
|
|
value7 = 0;
|
|
if (!(length > value7)) {
|
|
break reducibleJoin14;
|
|
}
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
if (Reflect.apply(call, hasOwnPropertyBinding, [a0, value7])) {
|
|
break reducibleJoin14;
|
|
}
|
|
length = a0.length;
|
|
if (!(value7 < length)) {
|
|
break reducibleJoin14;
|
|
}
|
|
r4 = value7;
|
|
reducibleLoop13: while (true) {
|
|
push = items2.push;
|
|
String = global.String;
|
|
Reflect.apply(push, items2, [String(r4)]);
|
|
value8 = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1;
|
|
length = a0.length;
|
|
if (value8 < length) {
|
|
r4 = value8;
|
|
continue reducibleLoop13;
|
|
}
|
|
break reducibleJoin14;
|
|
}
|
|
}
|
|
reducibleJoin26: while (true) {
|
|
reducibleJoin16: while (true) {
|
|
if (value4) {
|
|
length = a0.length;
|
|
value9 = 0;
|
|
if (length > value9) {
|
|
length = a0.length;
|
|
if (value9 < length) {
|
|
r4 = value9;
|
|
reducibleLoop25: while (true) {
|
|
push = items2.push;
|
|
String = global.String;
|
|
Reflect.apply(push, items2, [String(r4)]);
|
|
value12 = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1;
|
|
length = a0.length;
|
|
if (value12 < length) {
|
|
r4 = value12;
|
|
continue reducibleLoop25;
|
|
}
|
|
break reducibleJoin26;
|
|
}
|
|
reducibleJoin42: while (true) {
|
|
if (!result) {
|
|
break reducibleJoin42;
|
|
}
|
|
reducibleJoin33: while (true) {
|
|
reduciblePort34: while (true) {
|
|
exceptionLanding32: while (true) {
|
|
window = global.window;
|
|
if (typeof window === 'undefined') {
|
|
break reducibleJoin33;
|
|
}
|
|
if (env0_7) {
|
|
try {
|
|
equalsConstructorPrototypeBinding = equalsConstructorPrototype;
|
|
} catch (error) {
|
|
break exceptionLanding32;
|
|
}
|
|
try {
|
|
value13 = equalsConstructorPrototypeBinding(a0);
|
|
} catch (error) {
|
|
break exceptionLanding32;
|
|
}
|
|
r4 = value13;
|
|
break reduciblePort34;
|
|
}
|
|
break reducibleJoin33;
|
|
}
|
|
value14 = false;
|
|
r4 = value14;
|
|
break reduciblePort34;
|
|
}
|
|
length = env0_5.length;
|
|
value16 = 0;
|
|
if (value16 < length) {
|
|
r3 = value16;
|
|
reducibleLoop35: while (true) {
|
|
reducibleJoin37: while (true) {
|
|
if (r4) {
|
|
value17 = env0_5[r3] === 'constructor';
|
|
r1 = value17;
|
|
break reducibleJoin37;
|
|
}
|
|
r1 = r4;
|
|
break reducibleJoin37;
|
|
}
|
|
reducibleJoin39: while (true) {
|
|
if (r1) {
|
|
break reducibleJoin39;
|
|
}
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
value18 = !Reflect.apply(call, hasOwnPropertyBinding, [a0, env0_5[r3]]);
|
|
r1 = value18;
|
|
break reducibleJoin39;
|
|
}
|
|
reducibleJoin41: while (true) {
|
|
if (r1) {
|
|
break reducibleJoin41;
|
|
}
|
|
push = items2.push;
|
|
Reflect.apply(push, items2, [env0_5[r3]]);
|
|
break reducibleJoin41;
|
|
}
|
|
value19 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
length = env0_5.length;
|
|
if (value19 < length) {
|
|
r3 = value19;
|
|
continue reducibleLoop35;
|
|
}
|
|
break reducibleJoin42;
|
|
}
|
|
return items2;
|
|
}
|
|
break reducibleJoin42;
|
|
}
|
|
value15 = equalsConstructorPrototype(a0);
|
|
r4 = value15;
|
|
length = env0_5.length;
|
|
value16 = 0;
|
|
if (!(value16 < length)) {
|
|
break reducibleJoin42;
|
|
}
|
|
r3 = value16;
|
|
reducibleLoop35: while (true) {
|
|
reducibleJoin37: while (true) {
|
|
if (r4) {
|
|
value17 = env0_5[r3] === 'constructor';
|
|
r1 = value17;
|
|
break reducibleJoin37;
|
|
}
|
|
r1 = r4;
|
|
break reducibleJoin37;
|
|
}
|
|
reducibleJoin39: while (true) {
|
|
if (r1) {
|
|
break reducibleJoin39;
|
|
}
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
value18 = !Reflect.apply(call, hasOwnPropertyBinding, [a0, env0_5[r3]]);
|
|
r1 = value18;
|
|
break reducibleJoin39;
|
|
}
|
|
reducibleJoin41: while (true) {
|
|
if (r1) {
|
|
break reducibleJoin41;
|
|
}
|
|
push = items2.push;
|
|
Reflect.apply(push, items2, [env0_5[r3]]);
|
|
break reducibleJoin41;
|
|
}
|
|
value19 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
length = env0_5.length;
|
|
if (value19 < length) {
|
|
r3 = value19;
|
|
continue reducibleLoop35;
|
|
}
|
|
break reducibleJoin42;
|
|
}
|
|
}
|
|
return items2;
|
|
}
|
|
break reducibleJoin26;
|
|
}
|
|
break reducibleJoin16;
|
|
}
|
|
break reducibleJoin16;
|
|
}
|
|
properties = Object.keys(a0);
|
|
properties2 = 0;
|
|
properties3 = properties.length;
|
|
if (properties === undefined) {
|
|
break reducibleJoin26;
|
|
}
|
|
r9 = properties2;
|
|
reducibleLoop17: while (true) {
|
|
propertyName = properties[r9];
|
|
propertyName2 = r9 + 1;
|
|
if (propertyName === undefined) {
|
|
break reducibleJoin26;
|
|
}
|
|
reducibleJoin20: while (true) {
|
|
if (r12) {
|
|
value10 = propertyName === 'prototype';
|
|
r13 = value10;
|
|
break reducibleJoin20;
|
|
}
|
|
r13 = r12;
|
|
break reducibleJoin20;
|
|
}
|
|
reducibleJoin22: while (true) {
|
|
if (r13) {
|
|
break reducibleJoin22;
|
|
}
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
value11 = !Reflect.apply(call, hasOwnPropertyBinding, [a0, propertyName]);
|
|
r13 = value11;
|
|
break reducibleJoin22;
|
|
}
|
|
if (r13) {
|
|
r9 = propertyName2;
|
|
continue reducibleLoop17;
|
|
}
|
|
push = items2.push;
|
|
String = global.String;
|
|
Reflect.apply(push, items2, [String(propertyName)]);
|
|
r9 = propertyName2;
|
|
continue reducibleLoop17;
|
|
}
|
|
break reducibleJoin26;
|
|
}
|
|
reducibleJoin42: while (true) {
|
|
if (!result) {
|
|
break reducibleJoin42;
|
|
}
|
|
window = global.window;
|
|
reducibleJoin34: while (true) {
|
|
reducibleJoin33: while (true) {
|
|
if (typeof window === 'undefined') {
|
|
break reducibleJoin33;
|
|
}
|
|
if (env0_7) {
|
|
try {
|
|
equalsConstructorPrototypeBinding = equalsConstructorPrototype;
|
|
} catch (error) {
|
|
break exceptionLanding32;
|
|
}
|
|
try {
|
|
value13 = equalsConstructorPrototypeBinding(a0);
|
|
} catch (error) {
|
|
break exceptionLanding32;
|
|
}
|
|
r4 = value13;
|
|
break reducibleJoin34;
|
|
}
|
|
break reducibleJoin33;
|
|
}
|
|
value15 = equalsConstructorPrototype(a0);
|
|
r4 = value15;
|
|
break reducibleJoin34;
|
|
}
|
|
length = env0_5.length;
|
|
value16 = 0;
|
|
if (!(value16 < length)) {
|
|
break reducibleJoin42;
|
|
}
|
|
r3 = value16;
|
|
reducibleLoop35: while (true) {
|
|
reducibleJoin37: while (true) {
|
|
if (r4) {
|
|
value17 = env0_5[r3] === 'constructor';
|
|
r1 = value17;
|
|
break reducibleJoin37;
|
|
}
|
|
r1 = r4;
|
|
break reducibleJoin37;
|
|
}
|
|
reducibleJoin39: while (true) {
|
|
if (r1) {
|
|
break reducibleJoin39;
|
|
}
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
value18 = !Reflect.apply(call, hasOwnPropertyBinding, [a0, env0_5[r3]]);
|
|
r1 = value18;
|
|
break reducibleJoin39;
|
|
}
|
|
reducibleJoin41: while (true) {
|
|
if (r1) {
|
|
break reducibleJoin41;
|
|
}
|
|
push = items2.push;
|
|
Reflect.apply(push, items2, [env0_5[r3]]);
|
|
break reducibleJoin41;
|
|
}
|
|
value19 = typeof r3 === 'bigint' ? r3 + 1n : +r3 + 1;
|
|
length = env0_5.length;
|
|
if (value19 < length) {
|
|
r3 = value19;
|
|
continue reducibleLoop35;
|
|
}
|
|
break reducibleJoin42;
|
|
}
|
|
}
|
|
return items2;
|
|
}
|
|
|