Files
discord-decomp/sources/by-id/module-00107.jsx
T
2026-07-27 16:20:00 +03:00

41 lines
2.0 KiB
React

/* Metro module 107; source: unknown; dependencies: [108] */
function _fun1596(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#1596, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:132:6, offset: 0x00c628d7, size: 75 bytes, params: 8, frame: 16
const composeIndexers = function(a0, a1) {
var r1;
var r0;
var value = a0;
var value2 = a1;
if (value == null) {
r1 = value ?? value2;
r1 = r1 ?? ({});
r0 = r1;
} else if (value2 == null) {
r1 = value ?? value2;
r1 = r1 ?? ({});
r0 = r1;
} else {
value = global.Object.assign({}, value, value2);
r0 = value;
}
return r0;
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.createViewConfig = createViewConfig;
}
function createViewConfig({uiViewClassName, bubblingEventTypes, directEventTypes, validAttributes}) { // fn#1598, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:132:220, offset: 0x00c6295c, size: 140 bytes, params: 2, frame: 18
const object2 = {};
object2.uiViewClassName = uiViewClassName;
object2.Commands = {};
const composeIndexersBinding = composeIndexers;
const bubblingEventTypes = (importDefault(108) /* metro dependency 108 */).bubblingEventTypes;
object2.bubblingEventTypes = composeIndexersBinding(bubblingEventTypes, bubblingEventTypes);
const directEventTypes = (importDefault(108) /* metro dependency 108 */).directEventTypes;
object2.directEventTypes = composeIndexersBinding(directEventTypes, directEventTypes);
const validAttributes = (importDefault(108) /* metro dependency 108 */).validAttributes;
object2.validAttributes = composeIndexersBinding(validAttributes, validAttributes);
return object2;
}