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

+581
View File
@@ -0,0 +1,581 @@
/* Metro module 382; source: unknown; dependencies: [57, 31, 79, 147, 358, 377, 375, 48] */
function _fun5693(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5693, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:6, offset: 0x00ce3095, size: 249 bytes, params: 8, frame: 22
let env0_0 = require;
const closure = createCompositeKeyForProps;
const closure2 = areCompositeKeysEqual;
let Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_4 = importDefault(57) /* metro dependency 57 */;
const value = require(31) /* metro dependency 31 */;
const env0_5 = value.useInsertionEffect;
const env0_6 = value.useMemo;
const env0_7 = value.useRef;
const env0_8 = value.useState;
Object = global.Object;
const env0_9 = Object.prototype.hasOwnProperty;
Object = global.Object;
const env0_10 = Object.hasOwn ?? (function(a0, a1) {
return hasOwnProperty.call(a0, a1);
});
exports.createAnimatedPropsMemoHook = function(a0) {
var env0_0 = a0;
var env0_1 = _fun5701;
var env0_2 = _fun5704;
return _fun5707;
};
exports.createCompositeKeyForProps = closure;
exports.areCompositeKeysEqual = closure2;
}
function createCompositeKeyForProps(a0, a1) { // fn#5694, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:181, offset: 0x00ce318e, size: 405 bytes, params: 3, frame: 36
var r3;
var r12;
var r22;
var style;
var r21;
var r18;
var r0;
var property;
var property2;
var AnimatedEvent;
var Array;
var isArray;
var moduleValue;
var isPlainObject;
var createCompositeKeyForObjectBinding;
var compositeKeyForObject;
var compositeKeyForArray;
var value6;
var compositeKeyForObject2;
var value7;
const Object = global.Object;
const value = Object.keys(a0);
const length = value.length;
const value2 = 0;
const value3 = null;
const value4 = undefined;
if (value2 < length) {
r3 = value3;
r12 = value2;
reducibleLoop1: while (true) {
property = value[r12];
property2 = a0[property];
reducibleJoin22: while (true) {
reducibleJoin3: while (true) {
if (value3 == a1) {
break reducibleJoin3;
}
if (env0_10(a1, property)) {
break reducibleJoin3;
}
r18 = r3;
break reducibleJoin22;
}
if (property === 'style') {
value6 = (importDefault(147) /* metro dependency 147 */)(property2);
reducibleJoin18: while (true) {
if (value3 != value6) {
createCompositeKeyForObjectBinding = createCompositeKeyForObject;
reducibleJoin17: while (true) {
if (value3 == a1) {
style = value4;
break reducibleJoin17;
}
style = a1.style;
break reducibleJoin17;
}
compositeKeyForObject2 = createCompositeKeyForObjectBinding(value6, style);
r21 = compositeKeyForObject2;
break reducibleJoin18;
}
r21 = value4;
break reducibleJoin18;
}
} else {
reducibleJoin18: while (true) {
if (property2 instanceof (importDefault(358) /* metro dependency 358 */)) {
r21 = property2;
break reducibleJoin18;
}
AnimatedEvent = (require(377) /* metro dependency 377 */).AnimatedEvent;
if (property2 instanceof AnimatedEvent) {
r21 = property2;
break reducibleJoin18;
}
Array = global.Array;
isArray = Array.isArray;
if (Reflect.apply(isArray, Array, [property2])) {
reducibleJoin13: while (true) {
if (value3 == a1) {
r22 = property2;
break reducibleJoin13;
}
compositeKeyForArray = createCompositeKeyForArray(property2);
r22 = compositeKeyForArray;
break reducibleJoin13;
}
r21 = r22;
break reducibleJoin18;
}
moduleValue = require(375) /* metro dependency 375 */;
isPlainObject = moduleValue.isPlainObject;
if (Reflect.apply(isPlainObject, moduleValue, [property2])) {
reducibleJoin10: while (true) {
if (value3 == a1) {
r22 = property2;
break reducibleJoin10;
}
compositeKeyForObject = createCompositeKeyForObject(property2);
r22 = compositeKeyForObject;
break reducibleJoin10;
}
r21 = r22;
break reducibleJoin18;
}
r21 = value4;
break reducibleJoin18;
}
}
if (value3 == r21) {
r18 = r3;
break reducibleJoin22;
}
reducibleJoin21: while (true) {
if (value3 != r3) {
r22 = r3;
break reducibleJoin21;
}
r22 = {};
break reducibleJoin21;
}
r22[property] = r21;
r18 = r22;
break reducibleJoin22;
}
value7 = typeof r12 === 'bigint' ? r12 + 1n : +r12 + 1;
if (value7 < length) {
r3 = r18;
r12 = value7;
continue reducibleLoop1;
}
r0 = r18;
break reducibleLoop1;
}
} else {
r0 = value3;
}
return r0;
}
function createCompositeKeyForArray(a0) { // fn#5695, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:669, offset: 0x00ce3323, size: 223 bytes, params: 2, frame: 25
var r1;
var r8;
var r13;
var r12;
var r11;
var r0;
var property;
var Array;
var isArray;
var isPlainObject;
var length2;
var prototype;
var array;
const length = a0.length;
let value = 0;
const value2 = null;
if (value < length) {
r1 = value2;
r8 = value;
while (true) {
property = a0[r8];
if (!(property instanceof (importDefault(358) /* metro dependency 358 */))) {
Array = global.Array;
isArray = Array.isArray;
if (Reflect.apply(isArray, Array, [property])) {
r13 = createCompositeKeyForArray(property);
break;
}
value = require(375) /* metro dependency 375 */;
isPlainObject = value.isPlainObject;
if (Reflect.apply(isPlainObject, value, [property])) {
r13 = createCompositeKeyForObject(property);
break;
}
r13 = undefined;
break;
}
r13 = property;
if (value2 == r13) {
r11 = r1;
continue;
}
if (value2 != r1) {
r12 = r1;
continue;
}
Array = global.Array;
length2 = a0.length;
prototype = Array.prototype;
value = Object.create(prototype, {constructor: {value: Array}});
array = new Array();
value = array instanceof Object ? array : value;
value = value.fill(value2);
r12 = value;
r12[r8] = r13;
r11 = r12;
value = typeof r8 === 'bigint' ? r8 + 1n : +r8 + 1;
if (value < length) {
r1 = r11;
r8 = value;
continue;
}
r0 = r11;
break;
}
} else {
r0 = value2;
}
return r0;
}
function createCompositeKeyForObject(a0, a1) { // fn#5696, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:973, offset: 0x00ce3402, size: 245 bytes, params: 3, frame: 30
var r3;
var r9;
var r16;
var r18;
var r15;
var r0;
var property;
var property2;
var Array;
var isArray;
var moduleValue;
var isPlainObject;
var compositeKeyForObject;
var compositeKeyForArray;
var value6;
const Object = global.Object;
const value = Object.keys(a0);
const length = value.length;
const value2 = 0;
const value3 = null;
const value4 = undefined;
if (value2 < length) {
r3 = value3;
r9 = value2;
reducibleLoop1: while (true) {
property = value[r9];
reducibleJoin12: while (true) {
reducibleJoin8: while (true) {
if (value3 == a1) {
property2 = a0[property];
if (property2 instanceof (importDefault(358) /* metro dependency 358 */)) {
r16 = property2;
break reducibleJoin8;
}
Array = global.Array;
isArray = Array.isArray;
if (Reflect.apply(isArray, Array, [property2])) {
compositeKeyForArray = createCompositeKeyForArray(property2);
r16 = compositeKeyForArray;
break reducibleJoin8;
}
moduleValue = require(375) /* metro dependency 375 */;
isPlainObject = moduleValue.isPlainObject;
if (Reflect.apply(isPlainObject, moduleValue, [property2])) {
compositeKeyForObject = createCompositeKeyForObject(property2);
r16 = compositeKeyForObject;
break reducibleJoin8;
}
r16 = value4;
break reducibleJoin8;
}
if (env0_10(a1, property)) {
property2 = a0[property];
if (property2 instanceof (importDefault(358) /* metro dependency 358 */)) {
r16 = property2;
break reducibleJoin8;
}
Array = global.Array;
isArray = Array.isArray;
if (Reflect.apply(isArray, Array, [property2])) {
compositeKeyForArray = createCompositeKeyForArray(property2);
r16 = compositeKeyForArray;
break reducibleJoin8;
}
moduleValue = require(375) /* metro dependency 375 */;
isPlainObject = moduleValue.isPlainObject;
if (Reflect.apply(isPlainObject, moduleValue, [property2])) {
compositeKeyForObject = createCompositeKeyForObject(property2);
r16 = compositeKeyForObject;
break reducibleJoin8;
}
r16 = value4;
break reducibleJoin8;
}
r15 = r3;
break reducibleJoin12;
}
if (value3 == r16) {
r15 = r3;
break reducibleJoin12;
}
reducibleJoin11: while (true) {
if (value3 != r3) {
r18 = r3;
break reducibleJoin11;
}
r18 = {};
break reducibleJoin11;
}
r18[property] = r16;
r15 = r18;
break reducibleJoin12;
}
value6 = typeof r9 === 'bigint' ? r9 + 1n : +r9 + 1;
if (value6 < length) {
r3 = r15;
r9 = value6;
continue reducibleLoop1;
}
r0 = r15;
break reducibleLoop1;
}
} else {
r0 = value3;
}
return r0;
}
function areCompositeKeysEqual(a0, a1, a2) { // fn#5697, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:1301, offset: 0x00ce34f7, size: 277 bytes, params: 4, frame: 25
var r5;
var Object;
var keys;
var value;
var length;
var length2;
var value2;
var value3;
var property;
var property2;
var property3;
var AnimatedEvent;
var value4;
if (a0 === a1) {
return true;
}
if (a0 !== null) {
reducibleJoin22: while (true) {
if (a1 !== null) {
Object = global.Object;
keys = Object.keys;
value = Reflect.apply(keys, Object, [a0]);
length = value.length;
Object = global.Object;
keys = Object.keys;
length2 = Reflect.apply(keys, Object, [a1]).length;
if (length !== length2) {
return false;
}
value2 = 0;
value3 = environment;
if (value2 < length) {
r5 = value2;
reducibleLoop5: while (true) {
property = value[r5];
if (!env0_10(a1, property)) {
return false;
}
property2 = a0[property];
property3 = a1[property];
if (property === 'style') {
reducibleJoin19: while (true) {
if (!areCompositeKeyComponentsEqual(property2, property3)) {
return false;
}
break reducibleJoin19;
}
} else {
reducibleJoin19: while (true) {
reducibleJoin15: while (true) {
if (property2 instanceof (importDefault(358) /* metro dependency 358 */)) {
break reducibleJoin15;
}
AnimatedEvent = (require(377) /* metro dependency 377 */).AnimatedEvent;
if (property2 instanceof AnimatedEvent) {
break reducibleJoin15;
}
if (a2 == null) {
if (property2 !== property3) {
return false;
}
break reducibleJoin19;
}
if (!areCompositeKeyComponentsEqual(property2, property3)) {
return false;
}
break reducibleJoin19;
}
if (property2 !== property3) {
return false;
}
break reducibleJoin19;
}
}
value4 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
if (!(value4 < length)) {
return true;
}
r5 = value4;
continue reducibleLoop5;
}
}
return true;
}
break reducibleJoin22;
}
}
return false;
}
function areCompositeKeyComponentsEqual(a0, a1) { // fn#5698, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:1783, offset: 0x00ce360c, size: 377 bytes, params: 3, frame: 23
var r7;
var r1;
var Object;
var length;
var value3;
var property;
var binding;
var areCompositeKeyComponentsEqualBinding;
var property2;
var value4;
let value = a0 === a1;
if (value) {
return true;
}
if (a0 instanceof (importDefault(358) /* metro dependency 358 */)) {
return value;
}
let Array = global.Array;
if (Array.isArray(a0)) {
Array = global.Array;
if (Array.isArray(a1)) {
length = a0.length;
if (length !== a1.length) {
return false;
}
value = 0;
if (value < length) {
r1 = value;
loopExit19: while (true) {
areCompositeKeyComponentsEqualBinding = areCompositeKeyComponentsEqual;
property = a0[r1];
if (areCompositeKeyComponentsEqualBinding(property, a1[r1])) {
value = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
if (!(value < length)) {
return true;
}
r1 = value;
continue;
}
break loopExit19;
}
return false;
}
return true;
}
} else {
value = require(375) /* metro dependency 375 */;
if (value.isPlainObject(a0)) {
value = require(375) /* metro dependency 375 */;
if (value.isPlainObject(a1)) {
Object = global.Object;
value = Object.keys(a0);
length = value.length;
Object = global.Object;
if (length !== Object.keys(a1).length) {
return false;
}
value3 = 0;
if (value3 < length) {
r7 = value3;
loopExit9: while (true) {
property = value[r7];
binding = env0_10;
if (binding((importDefault(48) /* metro dependency 48 */)(a1), property)) {
areCompositeKeyComponentsEqualBinding = areCompositeKeyComponentsEqual;
property2 = a0[property];
if (areCompositeKeyComponentsEqualBinding(property2, a1[property])) {
value4 = typeof r7 === 'bigint' ? r7 + 1n : +r7 + 1;
if (!(value4 < length)) {
return true;
}
r7 = value4;
continue;
}
break loopExit9;
}
break loopExit9;
}
return false;
}
return true;
}
return false;
}
}
return false;
}
function createAnimatedPropsMemoHook(a0) { // fn#5700, offset: 0x00ce379f, size: 34 bytes, params: 2, frame: 2
const env0_0 = a0;
return useAnimatedPropsMemo;
}
function useAnimatedPropsMemo_ref(a0, a1) { // fn#5701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:2642, owner: createAnimatedPropsMemoHook.useAnimatedPropsMemo_ref, offset: 0x00ce37c1, size: 136 bytes, params: 3, frame: 16
const env0_0 = a1;
const value2 = useMemo(_fun5702, [a1]);
const current = useRef().current;
const r0 = current == null ? {compositeKey: value2, node: a0()} : areCompositeKeysEqual(current.compositeKey,
value2) ? current : {compositeKey: value2, node: a0()};
useInsertionEffect(_fun5703, [r0]);
return r0.node;
}
function useAnimatedPropsMemo_state(a0, a1) { // fn#5704, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:2891, owner: createAnimatedPropsMemoHook.useAnimatedPropsMemo_state, offset: 0x00ce387d, size: 163 bytes, params: 3, frame: 18
var environment;
const env0_0 = a0;
const env0_1 = a1;
const value = environment.__proto__;
const value2 = useMemo(_fun5705, [a1]);
const [property, property2] = env1_4(useState(_fun5706), 2);
if (!(property.allowlist === env0_0 && areCompositeKeysEqual(property.compositeKey, value2))) {
property2({allowlist: env0_0, compositeKey: value2, value: a0()});
}
return property.value;
}
function useAnimatedPropsMemo(a0, a1) { // fn#5707, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:2495, owner: createAnimatedPropsMemoHook.useAnimatedPropsMemo, offset: 0x00ce3969, size: 65 bytes, params: 3, frame: 13
let value = environment.__proto__;
value = importAll(79) /* metro dependency 79 */;
value = value.avoidStateUpdateInAnimatedPropsMemo();
return (value ? useAnimatedPropsMemo_ref : useAnimatedPropsMemo_state)(a0, a1);
}
function _fun5702() { // fn#5702, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:2690, offset: 0x00ce3849, size: 31 bytes, params: 1, frame: 13
return createCompositeKeyForProps(require, env1_0);
}
function _fun5705() { // fn#5705, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:2941, offset: 0x00ce3920, size: 31 bytes, params: 1, frame: 13
return createCompositeKeyForProps(require, env1_0);
}
function _fun5706() { // fn#5706, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:423:3003, offset: 0x00ce393f, size: 42 bytes, params: 1, frame: 10
const object2 = {};
object2.allowlist = env1_0;
object2.compositeKey = env0_2;
object2.value = env0_0();
return object2;
}