Files
discord-decomp/_bundle/Module103.js
T
2026-11-01 12:12:55 +02:00

61 lines
1.7 KiB
JavaScript

// Metro module 103 (f104).
import Module104 from "./Module104";
export function createViewConfig(a0) {
let bubblingEventTypes3, directEventTypes3, validAttributes3;
let bubblingEventTypes = Module104.bubblingEventTypes;
const bubblingEventTypes2 = a0.bubblingEventTypes;
if (bubblingEventTypes != null && bubblingEventTypes2 != null) {
bubblingEventTypes3 = {
...bubblingEventTypes,
...bubblingEventTypes2
};
} else {
if (bubblingEventTypes == null) {
bubblingEventTypes = bubblingEventTypes2;
}
if (bubblingEventTypes == null) {
bubblingEventTypes = {};
}
bubblingEventTypes3 = bubblingEventTypes;
}
let directEventTypes = Module104.directEventTypes;
const directEventTypes2 = a0.directEventTypes;
if (directEventTypes != null && directEventTypes2 != null) {
directEventTypes3 = {
...directEventTypes,
...directEventTypes2
};
} else {
if (directEventTypes == null) {
directEventTypes = directEventTypes2;
}
if (directEventTypes == null) {
directEventTypes = {};
}
directEventTypes3 = directEventTypes;
}
let validAttributes = Module104.validAttributes;
const validAttributes2 = a0.validAttributes;
if (validAttributes != null && validAttributes2 != null) {
validAttributes3 = {
...validAttributes,
...validAttributes2
};
} else {
if (validAttributes == null) {
validAttributes = validAttributes2;
}
if (validAttributes == null) {
validAttributes = {};
}
validAttributes3 = validAttributes;
}
return {
uiViewClassName: a0.uiViewClassName,
Commands: {},
bubblingEventTypes: bubblingEventTypes3,
directEventTypes: directEventTypes3,
validAttributes: validAttributes3
};
}