1291 lines
67 KiB
React
1291 lines
67 KiB
React
/* Metro module 145; source: unknown; dependencies: [146, 147] */
|
|
function _fun2342(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2342, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:170:6, offset: 0x00c7e0bb, size: 160 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = {};
|
|
object = {unsafelyIgnoreFunctions: true};
|
|
exports.create = function(a0, a1) {
|
|
return addNestedProperty_2348(null, a0, a1);
|
|
};
|
|
exports.diff = function(a0, a1, a2) {
|
|
return diffProperties_2347(null, a0, a1, a2);
|
|
};
|
|
}
|
|
|
|
function defaultDiffer_2343(a0, a1) { // fn#2343, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:170:144, offset: 0x00c7e15b, size: 66 bytes, params: 3, frame: 16
|
|
let r0 = typeof a1 !== 'object' || a1 === null;
|
|
r0 = !r0 ? (importDefault(146) /* metro dependency 146 */)(a0, a1, env0_5) : r0;
|
|
return r0;
|
|
}
|
|
|
|
function restoreDeletedValuesInNestedArray_2344(a0, a1, a2) { // fn#2344, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:170:224, offset: 0x00c7e19d, size: 316 bytes, params: 4, frame: 32
|
|
var r13;
|
|
var r18;
|
|
var r19;
|
|
var r4;
|
|
var value;
|
|
var binding;
|
|
var properties;
|
|
var properties2;
|
|
var properties3;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var property;
|
|
var property2;
|
|
var value2;
|
|
var value3;
|
|
var diff;
|
|
var process;
|
|
var value4;
|
|
var binding2;
|
|
var length;
|
|
var value6;
|
|
var value7;
|
|
const Array = global.Array;
|
|
if (Array.isArray(a1)) {
|
|
length = a1.length;
|
|
value = typeof length === 'bigint' ? length : +length;
|
|
reducibleJoin24: while (true) {
|
|
if (!value) {
|
|
break reducibleJoin24;
|
|
}
|
|
value = environment;
|
|
if (!(env0_4 > 0)) {
|
|
break reducibleJoin24;
|
|
}
|
|
r4 = typeof value === 'bigint' ? value - 1n : +value - 1;
|
|
reducibleLoop22: while (true) {
|
|
restoreDeletedValuesInNestedArray_2344(a0, a1[r4], a2);
|
|
value6 = typeof r4 === 'bigint' ? r4 : +r4;
|
|
value7 = typeof value6 === 'bigint' ? value6 - 1n : +value6 - 1;
|
|
if (value6) {
|
|
if (env0_4 > 0) {
|
|
r4 = value7;
|
|
continue reducibleLoop22;
|
|
}
|
|
break reducibleJoin24;
|
|
}
|
|
break reducibleJoin24;
|
|
}
|
|
}
|
|
} else {
|
|
reducibleJoin24: while (true) {
|
|
if (!a1) {
|
|
break reducibleJoin24;
|
|
}
|
|
value = environment;
|
|
if (!(env0_4 > 0)) {
|
|
break reducibleJoin24;
|
|
}
|
|
binding = env0_3;
|
|
properties = Object.keys(binding);
|
|
properties2 = 0;
|
|
properties3 = properties.length;
|
|
if (properties === undefined) {
|
|
break reducibleJoin24;
|
|
}
|
|
r13 = properties2;
|
|
reducibleLoop4: while (true) {
|
|
propertyName = properties[r13];
|
|
propertyName2 = r13 + 1;
|
|
if (propertyName === undefined) {
|
|
break reducibleJoin24;
|
|
}
|
|
if (env0_3[propertyName]) {
|
|
property = a1[propertyName];
|
|
if (property === undefined) {
|
|
r13 = propertyName2;
|
|
continue reducibleLoop4;
|
|
}
|
|
property2 = a2[propertyName];
|
|
if (property2) {
|
|
reducibleJoin10: while (true) {
|
|
if (typeof property !== 'function') {
|
|
r18 = property;
|
|
break reducibleJoin10;
|
|
}
|
|
value2 = true;
|
|
r18 = value2;
|
|
break reducibleJoin10;
|
|
}
|
|
reducibleJoin12: while (true) {
|
|
if (r18 !== undefined) {
|
|
break reducibleJoin12;
|
|
}
|
|
value3 = null;
|
|
r18 = value3;
|
|
break reducibleJoin12;
|
|
}
|
|
if (typeof property2 !== 'object') {
|
|
a0[propertyName] = r18;
|
|
} else {
|
|
diff = property2.diff;
|
|
reducibleJoin19: while (true) {
|
|
reducibleJoin17: while (true) {
|
|
if (typeof diff === 'function') {
|
|
process = property2.process;
|
|
if (typeof process !== 'function') {
|
|
r19 = r18;
|
|
break reducibleJoin17;
|
|
}
|
|
process = property2.process;
|
|
r19 = Reflect.apply(process, property2, [r18]);
|
|
break reducibleJoin17;
|
|
}
|
|
process = property2.process;
|
|
if (typeof process !== 'function') {
|
|
break reducibleJoin19;
|
|
}
|
|
process = property2.process;
|
|
if (typeof process !== 'function') {
|
|
r19 = r18;
|
|
break reducibleJoin17;
|
|
}
|
|
process = property2.process;
|
|
value4 = Reflect.apply(process, property2, [r18]);
|
|
r19 = value4;
|
|
break reducibleJoin17;
|
|
}
|
|
a0[propertyName] = r19;
|
|
break reducibleJoin19;
|
|
}
|
|
}
|
|
env0_3[propertyName] = false;
|
|
binding2 = env0_4;
|
|
env0_4 = typeof binding2 === 'bigint' ? binding2 - 1n : +binding2 - 1;
|
|
r13 = propertyName2;
|
|
continue reducibleLoop4;
|
|
}
|
|
r13 = propertyName2;
|
|
continue reducibleLoop4;
|
|
}
|
|
r13 = propertyName2;
|
|
continue reducibleLoop4;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
function diffNestedProperty_2345(a0, a1, a2, a3) { // fn#2345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:170:675, offset: 0x00c7e2d9, size: 489 bytes, params: 5, frame: 28
|
|
var r1;
|
|
var r3;
|
|
var length;
|
|
var r5;
|
|
var r6;
|
|
var r4;
|
|
var r7;
|
|
var r12;
|
|
var r2;
|
|
var r0;
|
|
var value2;
|
|
var value3;
|
|
var Array;
|
|
var isArray;
|
|
var value4;
|
|
var diffProperties_2347Binding;
|
|
var isArray2;
|
|
var value5;
|
|
var defaultImport;
|
|
var length2;
|
|
var value6;
|
|
var value7;
|
|
var diffNestedProperty_2345Binding;
|
|
var property;
|
|
var value8;
|
|
var value9;
|
|
let value = a0;
|
|
reducibleJoin34: while (true) {
|
|
reducibleJoin4: while (true) {
|
|
if (value) {
|
|
reducibleJoin33: while (true) {
|
|
reducibleJoin4: while (true) {
|
|
if (a1) {
|
|
if (a2) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
reducibleJoin32: while (true) {
|
|
reducibleJoin15: while (true) {
|
|
if (Reflect.apply(isArray, Array, [a1])) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
reducibleJoin31: while (true) {
|
|
reducibleJoin15: while (true) {
|
|
if (Reflect.apply(isArray, Array, [a1])) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
if (Reflect.apply(isArray, Array, [a2])) {
|
|
length = a1.length;
|
|
length2 = a2.length;
|
|
length = length < length2 ? a1.length : a2.length;
|
|
value6 = 0;
|
|
value7 = environment;
|
|
if (value6 < length) {
|
|
r5 = value6;
|
|
r6 = value;
|
|
reducibleLoop23: while (true) {
|
|
diffNestedProperty_2345Binding = diffNestedProperty_2345;
|
|
property = a1[r5];
|
|
value = diffNestedProperty_2345Binding(r6, property,
|
|
a2[r5],
|
|
a3);
|
|
value8 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
if (value8 < length) {
|
|
r5 = value8;
|
|
r6 = value;
|
|
continue reducibleLoop23;
|
|
}
|
|
r4 = value;
|
|
r7 = value8;
|
|
break reducibleLoop23;
|
|
}
|
|
} else {
|
|
r4 = value;
|
|
r7 = value6;
|
|
}
|
|
length = a1.length;
|
|
if (r7 < length) {
|
|
r6 = r7;
|
|
r12 = r4;
|
|
reducibleLoop25: while (true) {
|
|
value = clearNestedProperty_2346(r12, a1[r6], a3);
|
|
value9 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1;
|
|
length = a1.length;
|
|
if (value9 < length) {
|
|
r6 = value9;
|
|
r12 = value;
|
|
continue reducibleLoop25;
|
|
}
|
|
r4 = value;
|
|
r7 = value9;
|
|
break reducibleLoop25;
|
|
}
|
|
}
|
|
length = a2.length;
|
|
if (r7 < length) {
|
|
r6 = r4;
|
|
reducibleLoop27: while (true) {
|
|
property = a2[r7];
|
|
reducibleJoin29: while (true) {
|
|
if (property) {
|
|
value = addNestedProperty_2348(r6, property,
|
|
a3);
|
|
r12 = value;
|
|
break reducibleJoin29;
|
|
}
|
|
r12 = r6;
|
|
break reducibleJoin29;
|
|
}
|
|
value = typeof r7 === 'bigint' ? r7 + 1n : +r7 + 1;
|
|
length = a2.length;
|
|
if (value < length) {
|
|
r6 = r12;
|
|
r7 = value;
|
|
continue reducibleLoop27;
|
|
}
|
|
r4 = r12;
|
|
break reducibleLoop27;
|
|
}
|
|
}
|
|
r3 = r4;
|
|
break reducibleJoin31;
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
isArray2 = Reflect.apply(isArray, Array, [a1]);
|
|
value5 = environment;
|
|
diffProperties_2347Binding = diffProperties_2347;
|
|
defaultImport = importDefault(147) /* metro dependency 147 */;
|
|
if (isArray2) {
|
|
value = diffProperties_2347Binding(value, defaultImport(a1), a2,
|
|
a3);
|
|
r3 = value;
|
|
} else {
|
|
value = diffProperties_2347Binding(value, a1, defaultImport(a2),
|
|
a3);
|
|
r3 = value;
|
|
}
|
|
break reducibleJoin31;
|
|
}
|
|
r2 = r3;
|
|
break reducibleJoin32;
|
|
}
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
if (Reflect.apply(isArray, Array, [a2])) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
reducibleJoin31: while (true) {
|
|
reducibleJoin15: while (true) {
|
|
if (Reflect.apply(isArray, Array, [a1])) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
if (Reflect.apply(isArray, Array, [a2])) {
|
|
length = a1.length;
|
|
length2 = a2.length;
|
|
length = length < length2 ? a1.length : a2.length;
|
|
value6 = 0;
|
|
value7 = environment;
|
|
if (value6 < length) {
|
|
r5 = value6;
|
|
r6 = value;
|
|
reducibleLoop23: while (true) {
|
|
diffNestedProperty_2345Binding = diffNestedProperty_2345;
|
|
property = a1[r5];
|
|
value = diffNestedProperty_2345Binding(r6, property,
|
|
a2[r5],
|
|
a3);
|
|
value8 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
if (value8 < length) {
|
|
r5 = value8;
|
|
r6 = value;
|
|
continue reducibleLoop23;
|
|
}
|
|
r4 = value;
|
|
r7 = value8;
|
|
break reducibleLoop23;
|
|
}
|
|
} else {
|
|
r4 = value;
|
|
r7 = value6;
|
|
}
|
|
length = a1.length;
|
|
if (r7 < length) {
|
|
r6 = r7;
|
|
r12 = r4;
|
|
reducibleLoop25: while (true) {
|
|
value = clearNestedProperty_2346(r12, a1[r6], a3);
|
|
value9 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1;
|
|
length = a1.length;
|
|
if (value9 < length) {
|
|
r6 = value9;
|
|
r12 = value;
|
|
continue reducibleLoop25;
|
|
}
|
|
r4 = value;
|
|
r7 = value9;
|
|
break reducibleLoop25;
|
|
}
|
|
}
|
|
length = a2.length;
|
|
if (r7 < length) {
|
|
r6 = r4;
|
|
reducibleLoop27: while (true) {
|
|
property = a2[r7];
|
|
reducibleJoin29: while (true) {
|
|
if (property) {
|
|
value = addNestedProperty_2348(r6, property,
|
|
a3);
|
|
r12 = value;
|
|
break reducibleJoin29;
|
|
}
|
|
r12 = r6;
|
|
break reducibleJoin29;
|
|
}
|
|
value = typeof r7 === 'bigint' ? r7 + 1n : +r7 + 1;
|
|
length = a2.length;
|
|
if (value < length) {
|
|
r6 = r12;
|
|
r7 = value;
|
|
continue reducibleLoop27;
|
|
}
|
|
r4 = r12;
|
|
break reducibleLoop27;
|
|
}
|
|
}
|
|
r3 = r4;
|
|
break reducibleJoin31;
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
isArray2 = Reflect.apply(isArray, Array, [a1]);
|
|
value5 = environment;
|
|
diffProperties_2347Binding = diffProperties_2347;
|
|
defaultImport = importDefault(147) /* metro dependency 147 */;
|
|
if (isArray2) {
|
|
value = diffProperties_2347Binding(value, defaultImport(a1), a2,
|
|
a3);
|
|
r3 = value;
|
|
} else {
|
|
value = diffProperties_2347Binding(value, a1, defaultImport(a2),
|
|
a3);
|
|
r3 = value;
|
|
}
|
|
break reducibleJoin31;
|
|
}
|
|
r2 = r3;
|
|
break reducibleJoin32;
|
|
}
|
|
value4 = environment;
|
|
value = diffProperties_2347(value, a1, a2, a3);
|
|
r2 = value;
|
|
break reducibleJoin32;
|
|
}
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
isArray2 = Reflect.apply(isArray, Array, [a1]);
|
|
value5 = environment;
|
|
diffProperties_2347Binding = diffProperties_2347;
|
|
defaultImport = importDefault(147) /* metro dependency 147 */;
|
|
if (isArray2) {
|
|
value = diffProperties_2347Binding(value, defaultImport(a1), a2, a3);
|
|
r3 = value;
|
|
} else {
|
|
value = diffProperties_2347Binding(value, a1, defaultImport(a2), a3);
|
|
r3 = value;
|
|
}
|
|
r2 = r3;
|
|
break reducibleJoin32;
|
|
}
|
|
r1 = r2;
|
|
break reducibleJoin33;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
if (a2) {
|
|
value3 = environment;
|
|
value = addNestedProperty_2348(value, a2, a3);
|
|
r1 = value;
|
|
} else {
|
|
reducibleJoin7: while (true) {
|
|
if (a1) {
|
|
value2 = environment;
|
|
value = clearNestedProperty_2346(value, a1, a3);
|
|
r1 = value;
|
|
break reducibleJoin7;
|
|
}
|
|
r1 = value;
|
|
break reducibleJoin7;
|
|
}
|
|
}
|
|
break reducibleJoin33;
|
|
}
|
|
r0 = r1;
|
|
break reducibleJoin34;
|
|
}
|
|
if (a1 === a2) {
|
|
r0 = value;
|
|
break reducibleJoin34;
|
|
}
|
|
reducibleJoin33: while (true) {
|
|
reducibleJoin4: while (true) {
|
|
if (a1) {
|
|
if (a2) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
reducibleJoin32: while (true) {
|
|
reducibleJoin15: while (true) {
|
|
if (Reflect.apply(isArray, Array, [a1])) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
reducibleJoin31: while (true) {
|
|
reducibleJoin15: while (true) {
|
|
if (Reflect.apply(isArray, Array, [a1])) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
if (Reflect.apply(isArray, Array, [a2])) {
|
|
length = a1.length;
|
|
length2 = a2.length;
|
|
length = length < length2 ? a1.length : a2.length;
|
|
value6 = 0;
|
|
value7 = environment;
|
|
if (value6 < length) {
|
|
r5 = value6;
|
|
r6 = value;
|
|
reducibleLoop23: while (true) {
|
|
diffNestedProperty_2345Binding = diffNestedProperty_2345;
|
|
property = a1[r5];
|
|
value = diffNestedProperty_2345Binding(r6, property,
|
|
a2[r5],
|
|
a3);
|
|
value8 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
if (value8 < length) {
|
|
r5 = value8;
|
|
r6 = value;
|
|
continue reducibleLoop23;
|
|
}
|
|
r4 = value;
|
|
r7 = value8;
|
|
break reducibleLoop23;
|
|
}
|
|
} else {
|
|
r4 = value;
|
|
r7 = value6;
|
|
}
|
|
length = a1.length;
|
|
if (r7 < length) {
|
|
r6 = r7;
|
|
r12 = r4;
|
|
reducibleLoop25: while (true) {
|
|
value = clearNestedProperty_2346(r12, a1[r6], a3);
|
|
value9 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1;
|
|
length = a1.length;
|
|
if (value9 < length) {
|
|
r6 = value9;
|
|
r12 = value;
|
|
continue reducibleLoop25;
|
|
}
|
|
r4 = value;
|
|
r7 = value9;
|
|
break reducibleLoop25;
|
|
}
|
|
}
|
|
length = a2.length;
|
|
if (r7 < length) {
|
|
r6 = r4;
|
|
reducibleLoop27: while (true) {
|
|
property = a2[r7];
|
|
reducibleJoin29: while (true) {
|
|
if (property) {
|
|
value = addNestedProperty_2348(r6, property,
|
|
a3);
|
|
r12 = value;
|
|
break reducibleJoin29;
|
|
}
|
|
r12 = r6;
|
|
break reducibleJoin29;
|
|
}
|
|
value = typeof r7 === 'bigint' ? r7 + 1n : +r7 + 1;
|
|
length = a2.length;
|
|
if (value < length) {
|
|
r6 = r12;
|
|
r7 = value;
|
|
continue reducibleLoop27;
|
|
}
|
|
r4 = r12;
|
|
break reducibleLoop27;
|
|
}
|
|
}
|
|
r3 = r4;
|
|
break reducibleJoin31;
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
isArray2 = Reflect.apply(isArray, Array, [a1]);
|
|
value5 = environment;
|
|
diffProperties_2347Binding = diffProperties_2347;
|
|
defaultImport = importDefault(147) /* metro dependency 147 */;
|
|
if (isArray2) {
|
|
value = diffProperties_2347Binding(value, defaultImport(a1), a2, a3);
|
|
r3 = value;
|
|
} else {
|
|
value = diffProperties_2347Binding(value, a1, defaultImport(a2), a3);
|
|
r3 = value;
|
|
}
|
|
break reducibleJoin31;
|
|
}
|
|
r2 = r3;
|
|
break reducibleJoin32;
|
|
}
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
if (Reflect.apply(isArray, Array, [a2])) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
reducibleJoin31: while (true) {
|
|
reducibleJoin15: while (true) {
|
|
if (Reflect.apply(isArray, Array, [a1])) {
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
if (Reflect.apply(isArray, Array, [a2])) {
|
|
length = a1.length;
|
|
length2 = a2.length;
|
|
length = length < length2 ? a1.length : a2.length;
|
|
value6 = 0;
|
|
value7 = environment;
|
|
if (value6 < length) {
|
|
r5 = value6;
|
|
r6 = value;
|
|
reducibleLoop23: while (true) {
|
|
diffNestedProperty_2345Binding = diffNestedProperty_2345;
|
|
property = a1[r5];
|
|
value = diffNestedProperty_2345Binding(r6, property,
|
|
a2[r5],
|
|
a3);
|
|
value8 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
if (value8 < length) {
|
|
r5 = value8;
|
|
r6 = value;
|
|
continue reducibleLoop23;
|
|
}
|
|
r4 = value;
|
|
r7 = value8;
|
|
break reducibleLoop23;
|
|
}
|
|
} else {
|
|
r4 = value;
|
|
r7 = value6;
|
|
}
|
|
length = a1.length;
|
|
if (r7 < length) {
|
|
r6 = r7;
|
|
r12 = r4;
|
|
reducibleLoop25: while (true) {
|
|
value = clearNestedProperty_2346(r12, a1[r6], a3);
|
|
value9 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1;
|
|
length = a1.length;
|
|
if (value9 < length) {
|
|
r6 = value9;
|
|
r12 = value;
|
|
continue reducibleLoop25;
|
|
}
|
|
r4 = value;
|
|
r7 = value9;
|
|
break reducibleLoop25;
|
|
}
|
|
}
|
|
length = a2.length;
|
|
if (r7 < length) {
|
|
r6 = r4;
|
|
reducibleLoop27: while (true) {
|
|
property = a2[r7];
|
|
reducibleJoin29: while (true) {
|
|
if (property) {
|
|
value = addNestedProperty_2348(r6, property,
|
|
a3);
|
|
r12 = value;
|
|
break reducibleJoin29;
|
|
}
|
|
r12 = r6;
|
|
break reducibleJoin29;
|
|
}
|
|
value = typeof r7 === 'bigint' ? r7 + 1n : +r7 + 1;
|
|
length = a2.length;
|
|
if (value < length) {
|
|
r6 = r12;
|
|
r7 = value;
|
|
continue reducibleLoop27;
|
|
}
|
|
r4 = r12;
|
|
break reducibleLoop27;
|
|
}
|
|
}
|
|
r3 = r4;
|
|
break reducibleJoin31;
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
isArray2 = Reflect.apply(isArray, Array, [a1]);
|
|
value5 = environment;
|
|
diffProperties_2347Binding = diffProperties_2347;
|
|
defaultImport = importDefault(147) /* metro dependency 147 */;
|
|
if (isArray2) {
|
|
value = diffProperties_2347Binding(value, defaultImport(a1), a2, a3);
|
|
r3 = value;
|
|
} else {
|
|
value = diffProperties_2347Binding(value, a1, defaultImport(a2), a3);
|
|
r3 = value;
|
|
}
|
|
break reducibleJoin31;
|
|
}
|
|
r2 = r3;
|
|
break reducibleJoin32;
|
|
}
|
|
value4 = environment;
|
|
value = diffProperties_2347(value, a1, a2, a3);
|
|
r2 = value;
|
|
break reducibleJoin32;
|
|
}
|
|
Array = global.Array;
|
|
isArray = Array.isArray;
|
|
isArray2 = Reflect.apply(isArray, Array, [a1]);
|
|
value5 = environment;
|
|
diffProperties_2347Binding = diffProperties_2347;
|
|
defaultImport = importDefault(147) /* metro dependency 147 */;
|
|
if (isArray2) {
|
|
value = diffProperties_2347Binding(value, defaultImport(a1), a2, a3);
|
|
r3 = value;
|
|
} else {
|
|
value = diffProperties_2347Binding(value, a1, defaultImport(a2), a3);
|
|
r3 = value;
|
|
}
|
|
r2 = r3;
|
|
break reducibleJoin32;
|
|
}
|
|
r1 = r2;
|
|
break reducibleJoin33;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
if (a2) {
|
|
value3 = environment;
|
|
value = addNestedProperty_2348(value, a2, a3);
|
|
r1 = value;
|
|
} else {
|
|
reducibleJoin7: while (true) {
|
|
if (a1) {
|
|
value2 = environment;
|
|
value = clearNestedProperty_2346(value, a1, a3);
|
|
r1 = value;
|
|
break reducibleJoin7;
|
|
}
|
|
r1 = value;
|
|
break reducibleJoin7;
|
|
}
|
|
}
|
|
break reducibleJoin33;
|
|
}
|
|
r0 = r1;
|
|
break reducibleJoin34;
|
|
}
|
|
if (a2) {
|
|
value3 = environment;
|
|
value = addNestedProperty_2348(value, a2, a3);
|
|
r1 = value;
|
|
} else {
|
|
reducibleJoin7: while (true) {
|
|
if (a1) {
|
|
value2 = environment;
|
|
value = clearNestedProperty_2346(value, a1, a3);
|
|
r1 = value;
|
|
break reducibleJoin7;
|
|
}
|
|
r1 = value;
|
|
break reducibleJoin7;
|
|
}
|
|
}
|
|
r0 = r1;
|
|
break reducibleJoin34;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function clearNestedProperty_2346(a0, a1, a2) { // fn#2346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:170:1245, offset: 0x00c7e4c2, size: 120 bytes, params: 4, frame: 20
|
|
var r2;
|
|
var r5;
|
|
var r0;
|
|
var Array;
|
|
var length;
|
|
var value3;
|
|
var value5;
|
|
let value = a0;
|
|
if (a1) {
|
|
Array = global.Array;
|
|
if (Array.isArray(a1)) {
|
|
length = a1.length;
|
|
value3 = 0;
|
|
if (value3 < length) {
|
|
r2 = value;
|
|
r5 = value3;
|
|
reducibleLoop5: while (true) {
|
|
value = clearNestedProperty_2346(r2, a1[r5], a2);
|
|
value5 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
length = a1.length;
|
|
if (value5 < length) {
|
|
r2 = value;
|
|
r5 = value5;
|
|
continue reducibleLoop5;
|
|
}
|
|
r0 = value;
|
|
break reducibleLoop5;
|
|
}
|
|
} else {
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
return diffProperties_2347(value, a1, env0_2, a2);
|
|
}
|
|
return value;
|
|
}
|
|
|
|
function diffProperties_2347(a0, a1, a2, a3) { // fn#2347, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:170:1463, offset: 0x00c7e53a, size: 912 bytes, params: 5, frame: 44
|
|
var r4;
|
|
var r5;
|
|
var r21;
|
|
var r29;
|
|
var r24;
|
|
var r25;
|
|
var r30;
|
|
var r0;
|
|
var r8;
|
|
var r1;
|
|
var r20;
|
|
var r23;
|
|
var r22;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var property;
|
|
var property2;
|
|
var property3;
|
|
var process;
|
|
var diff;
|
|
var value6;
|
|
var object2;
|
|
var propertyName3;
|
|
var binding;
|
|
let value = a0;
|
|
const value2 = undefined;
|
|
const value4 = null;
|
|
const value5 = true;
|
|
let properties = Object.keys(a2);
|
|
const properties2 = 0;
|
|
const properties3 = properties.length;
|
|
if (properties === value2) {
|
|
r0 = value;
|
|
r8 = value2;
|
|
} else {
|
|
r4 = value2;
|
|
r5 = value;
|
|
r21 = properties2;
|
|
reducibleLoop1: while (true) {
|
|
propertyName = properties[r21];
|
|
propertyName2 = r21 + 1;
|
|
if (propertyName === value2) {
|
|
r0 = r5;
|
|
r8 = r4;
|
|
break reducibleLoop1;
|
|
}
|
|
property = a3[propertyName];
|
|
if (property) {
|
|
property2 = a1[propertyName];
|
|
property3 = a2[propertyName];
|
|
reducibleJoin9: while (true) {
|
|
if (typeof property3 !== 'function') {
|
|
r25 = property3;
|
|
r30 = property2;
|
|
break reducibleJoin9;
|
|
}
|
|
value = typeof property === 'object';
|
|
reducibleJoin6: while (true) {
|
|
if (value) {
|
|
process = property.process;
|
|
value = typeof process === 'function';
|
|
r29 = value;
|
|
break reducibleJoin6;
|
|
}
|
|
r29 = value;
|
|
break reducibleJoin6;
|
|
}
|
|
if (r29) {
|
|
r25 = property3;
|
|
r30 = property2;
|
|
break reducibleJoin9;
|
|
}
|
|
r24 = typeof property2 !== 'function' ? property2 : value5;
|
|
r25 = value5;
|
|
r30 = r24;
|
|
break reducibleJoin9;
|
|
}
|
|
reducibleJoin12: while (true) {
|
|
if (value2 !== r25) {
|
|
r24 = r30;
|
|
break reducibleJoin12;
|
|
}
|
|
r29 = value2 !== r30 ? r30 : value4;
|
|
r24 = r29;
|
|
r25 = value4;
|
|
break reducibleJoin12;
|
|
}
|
|
reducibleJoin14: while (true) {
|
|
if (env0_3) {
|
|
env0_3[propertyName] = false;
|
|
break reducibleJoin14;
|
|
}
|
|
break reducibleJoin14;
|
|
}
|
|
if (r5) {
|
|
reducibleJoin16: while (true) {
|
|
if (value2 !== r5[propertyName]) {
|
|
if (typeof property !== 'object') {
|
|
r5[propertyName] = r25;
|
|
r4 = property;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
diff = property.diff;
|
|
if (typeof diff !== 'function') {
|
|
reducibleJoin40: while (true) {
|
|
if (typeof property.process !== 'function') {
|
|
r4 = property;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleJoin40;
|
|
}
|
|
}
|
|
process = property.process;
|
|
reducibleJoin42: while (true) {
|
|
if (typeof process !== 'function') {
|
|
r29 = r25;
|
|
break reducibleJoin42;
|
|
}
|
|
process = property.process;
|
|
value = Reflect.apply(process, property, [r25]);
|
|
r29 = value;
|
|
break reducibleJoin42;
|
|
}
|
|
r5[propertyName] = r29;
|
|
r4 = property;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
break reducibleJoin16;
|
|
}
|
|
}
|
|
if (r24 === r25) {
|
|
r4 = property;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
if (typeof property !== 'object') {
|
|
if (defaultDiffer_2343(r24, r25)) {
|
|
reducibleJoin36: while (true) {
|
|
if (r5) {
|
|
r29 = r5;
|
|
break reducibleJoin36;
|
|
}
|
|
object2 = {};
|
|
r5 = object2;
|
|
r29 = object2;
|
|
break reducibleJoin36;
|
|
}
|
|
r29[propertyName] = r25;
|
|
r4 = property;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
r4 = property;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
diff = property.diff;
|
|
if (typeof diff !== 'function') {
|
|
reducibleJoin23: while (true) {
|
|
if (typeof property.process === 'function') {
|
|
break reducibleJoin23;
|
|
}
|
|
env0_3 = value4;
|
|
env0_4 = 0;
|
|
value = diffNestedProperty_2345(r5, r24, r25, property);
|
|
value6 = env0_4 > 0;
|
|
r30 = value6 && value;
|
|
if (r30) {
|
|
restoreDeletedValuesInNestedArray_2344(value, r25, property);
|
|
env0_3 = value4;
|
|
r4 = property;
|
|
r5 = value;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
r4 = property;
|
|
r5 = value;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
}
|
|
if (value2 !== r24) {
|
|
diff = property.diff;
|
|
if (typeof diff === 'function') {
|
|
diff = property.diff;
|
|
value = Reflect.apply(diff, property, [r24, r25]);
|
|
r29 = value;
|
|
} else {
|
|
value = defaultDiffer_2343(r24, r25);
|
|
r29 = value;
|
|
}
|
|
reducibleJoin28: while (true) {
|
|
if (r29) {
|
|
break reducibleJoin28;
|
|
}
|
|
r4 = property;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
}
|
|
process = property.process;
|
|
reducibleJoin30: while (true) {
|
|
if (typeof process !== 'function') {
|
|
r29 = r25;
|
|
break reducibleJoin30;
|
|
}
|
|
process = property.process;
|
|
value = Reflect.apply(process, property, [r25]);
|
|
r29 = value;
|
|
break reducibleJoin30;
|
|
}
|
|
reducibleJoin32: while (true) {
|
|
if (r5) {
|
|
r30 = r5;
|
|
break reducibleJoin32;
|
|
}
|
|
object2 = {};
|
|
r5 = object2;
|
|
r30 = object2;
|
|
break reducibleJoin32;
|
|
}
|
|
r30[propertyName] = r29;
|
|
r4 = property;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
r4 = property;
|
|
r21 = propertyName2;
|
|
continue reducibleLoop1;
|
|
}
|
|
}
|
|
properties = Object.keys(a1);
|
|
const properties4 = 0;
|
|
const properties5 = properties.length;
|
|
if (properties !== value2) {
|
|
r1 = r0;
|
|
r4 = properties4;
|
|
reducibleLoop45: while (true) {
|
|
propertyName = properties[r4];
|
|
propertyName3 = r4 + 1;
|
|
if (propertyName === value2) {
|
|
r0 = r1;
|
|
break reducibleLoop45;
|
|
}
|
|
value = value2 === a2[propertyName];
|
|
reducibleJoin48: while (true) {
|
|
if (value) {
|
|
property = a3[propertyName];
|
|
r8 = property;
|
|
r20 = property;
|
|
break reducibleJoin48;
|
|
}
|
|
r20 = value;
|
|
break reducibleJoin48;
|
|
}
|
|
if (r20) {
|
|
reducibleJoin51: while (true) {
|
|
if (r1) {
|
|
value = value2 !== r1[propertyName];
|
|
r20 = value;
|
|
break reducibleJoin51;
|
|
}
|
|
r20 = r1;
|
|
break reducibleJoin51;
|
|
}
|
|
reducibleJoin65: while (true) {
|
|
if (r20) {
|
|
break reducibleJoin65;
|
|
}
|
|
property = a1[propertyName];
|
|
reducibleJoin64: while (true) {
|
|
if (value2 === property) {
|
|
r21 = r1;
|
|
break reducibleJoin64;
|
|
}
|
|
reducibleJoin63: while (true) {
|
|
reducibleJoin61: while (true) {
|
|
if (typeof r8 !== 'object') {
|
|
reducibleJoin59: while (true) {
|
|
if (r1) {
|
|
r23 = r1;
|
|
r24 = r1;
|
|
break reducibleJoin59;
|
|
}
|
|
object2 = {};
|
|
r23 = object2;
|
|
r24 = object2;
|
|
break reducibleJoin59;
|
|
}
|
|
r24[propertyName] = value4;
|
|
if (env0_3) {
|
|
break reducibleJoin61;
|
|
}
|
|
env0_3 = {};
|
|
break reducibleJoin61;
|
|
}
|
|
diff = r8.diff;
|
|
if (typeof diff !== 'function') {
|
|
process = r8.process;
|
|
if (typeof process !== 'function') {
|
|
value = clearNestedProperty_2346(r1, property, r8);
|
|
r22 = value;
|
|
break reducibleJoin63;
|
|
}
|
|
}
|
|
reducibleJoin59: while (true) {
|
|
if (r1) {
|
|
r23 = r1;
|
|
r24 = r1;
|
|
break reducibleJoin59;
|
|
}
|
|
object2 = {};
|
|
r23 = object2;
|
|
r24 = object2;
|
|
break reducibleJoin59;
|
|
}
|
|
r24[propertyName] = value4;
|
|
if (env0_3) {
|
|
break reducibleJoin61;
|
|
}
|
|
env0_3 = {};
|
|
break reducibleJoin61;
|
|
}
|
|
if (env0_3[propertyName]) {
|
|
r22 = r23;
|
|
break reducibleJoin63;
|
|
}
|
|
env0_3[propertyName] = value5;
|
|
binding = env0_4;
|
|
env0_4 = typeof binding === 'bigint' ? binding + 1n : +binding + 1;
|
|
r22 = r23;
|
|
break reducibleJoin63;
|
|
}
|
|
r21 = r22;
|
|
break reducibleJoin64;
|
|
}
|
|
r1 = r21;
|
|
break reducibleJoin65;
|
|
}
|
|
r4 = propertyName3;
|
|
continue reducibleLoop45;
|
|
}
|
|
r4 = propertyName3;
|
|
continue reducibleLoop45;
|
|
}
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function addNestedProperty_2348(a0, a1, a2) { // fn#2348, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:170:2517, offset: 0x00c7e8ca, size: 303 bytes, params: 4, frame: 32
|
|
var r3;
|
|
var r13;
|
|
var r16;
|
|
var r1;
|
|
var r2;
|
|
var r5;
|
|
var r0;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var property;
|
|
var property2;
|
|
var process;
|
|
var diff;
|
|
var length;
|
|
var value5;
|
|
var value7;
|
|
let value = a0;
|
|
const Array = global.Array;
|
|
if (Array.isArray(a1)) {
|
|
length = a1.length;
|
|
value5 = 0;
|
|
if (value5 < length) {
|
|
r2 = value;
|
|
r5 = value5;
|
|
reducibleLoop20: while (true) {
|
|
value = addNestedProperty_2348(r2, a1[r5], a2);
|
|
value7 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
length = a1.length;
|
|
if (value7 < length) {
|
|
r2 = value;
|
|
r5 = value7;
|
|
continue reducibleLoop20;
|
|
}
|
|
r0 = value;
|
|
break reducibleLoop20;
|
|
}
|
|
} else {
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
const value2 = undefined;
|
|
const value4 = null;
|
|
const properties = Object.keys(a1);
|
|
const properties2 = 0;
|
|
const properties3 = properties.length;
|
|
if (properties === value2) {
|
|
r1 = value;
|
|
} else {
|
|
r3 = value;
|
|
r13 = properties2;
|
|
reducibleLoop2: while (true) {
|
|
propertyName = properties[r13];
|
|
propertyName2 = r13 + 1;
|
|
if (propertyName === value2) {
|
|
r1 = r3;
|
|
break reducibleLoop2;
|
|
}
|
|
property = a1[propertyName];
|
|
property2 = a2[propertyName];
|
|
if (value4 == property2) {
|
|
r13 = propertyName2;
|
|
continue reducibleLoop2;
|
|
}
|
|
if (value2 === property) {
|
|
if (r3) {
|
|
if (value2 === r3[propertyName]) {
|
|
r13 = propertyName2;
|
|
continue reducibleLoop2;
|
|
}
|
|
r16 = value4;
|
|
if (value2 === r16) {
|
|
value = addNestedProperty_2348(r3, property, property2);
|
|
r3 = value;
|
|
r13 = propertyName2;
|
|
continue reducibleLoop2;
|
|
}
|
|
reducibleJoin16: while (true) {
|
|
if (r3) {
|
|
break reducibleJoin16;
|
|
}
|
|
r3 = {};
|
|
break reducibleJoin16;
|
|
}
|
|
r3[propertyName] = r16;
|
|
r13 = propertyName2;
|
|
continue reducibleLoop2;
|
|
}
|
|
r13 = propertyName2;
|
|
continue reducibleLoop2;
|
|
}
|
|
if (typeof property2 === 'object') {
|
|
process = property2.process;
|
|
if (typeof process === 'function') {
|
|
process = property2.process;
|
|
value = Reflect.apply(process, property2, [property]);
|
|
r16 = value;
|
|
} else {
|
|
diff = property2.diff;
|
|
r16 = typeof diff !== 'function' ? value2 : property;
|
|
}
|
|
} else {
|
|
value = typeof property === 'function';
|
|
r16 = value || property;
|
|
}
|
|
if (value2 === r16) {
|
|
value = addNestedProperty_2348(r3, property, property2);
|
|
r3 = value;
|
|
r13 = propertyName2;
|
|
continue reducibleLoop2;
|
|
}
|
|
reducibleJoin16: while (true) {
|
|
if (r3) {
|
|
break reducibleJoin16;
|
|
}
|
|
r3 = {};
|
|
break reducibleJoin16;
|
|
}
|
|
r3[propertyName] = r16;
|
|
r13 = propertyName2;
|
|
continue reducibleLoop2;
|
|
}
|
|
}
|
|
return r1;
|
|
}
|
|
|