Files
discord-decomp/sources/by-id/module-01210.js
T
2026-07-28 01:06:53 +03:00

50 lines
4.0 KiB
JavaScript

/* Metro module 1210; source: unknown; dependencies: [] */
function _fun13434(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#13434, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1337:6, offset: 0x00deabfc, size: 111 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const closure = function(a0) {
return {triggerButton: {'position': 'absolute', 'bottom': 30, 'right': 30, 'backgroundColor': null,
'padding': 15,
'borderRadius': 40, 'justifyContent': 'center', 'alignItems': 'center', 'elevation': 5, 'shadowColor': null,
'shadowOffset': null, 'shadowOpacity': 0.5, 'shadowRadius': 3, 'flexDirection': 'row', 'borderWidth': 1,
backgroundColor: a0.background, shadowColor: a0.border, shadowOffset: {'width': 1, 'height': 2},
borderColor: a0.border}, triggerText: {color: a0.foreground, fontSize: 18}, triggerIcon: {'width': 24,
'height': 24, 'padding': 2, 'marginEnd': 6, tintColor: a0.sentryLogo}};
};
exports.default = defaultStyles;
exports.defaultButtonStyles = closure;
exports.defaultScreenshotButtonStyles = closure;
exports.modalWrapper = {'position': 'absolute', 'top': 0, 'left': 0, 'right': 0, 'bottom': 0};
exports.modalSheetContainer = function(a0) {
return {'backgroundColor': null, 'borderTopLeftRadius': 16, 'borderTopRightRadius': 16, 'overflow': 'hidden',
'alignSelf': 'stretch', 'shadowColor': '#000', 'shadowOffset': null, 'shadowOpacity': 0.1,
'shadowRadius': 4,
'elevation': 5, 'flex': 1, backgroundColor: a0.background, shadowOffset: {'width': 0, 'height': -3}};
};
exports.topSpacer = {height: 64};
}
function defaultStyles(a0) { // fn#13436, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1337:575, offset: 0x00deaceb, size: 492 bytes, params: 2, frame: 5
return {container: {'flex': 1, 'padding': 20, backgroundColor: a0.background}, title: {'fontSize': 24,
'fontWeight': 'bold', 'marginBottom': 20, 'textAlign': 'left', 'flex': 1, color: a0.foreground},
label: {'marginBottom': 4, 'fontSize': 16, color: a0.foreground}, input: {'height': 50, 'borderColor': null,
'borderWidth': 1, 'borderRadius': 5, 'paddingHorizontal': 10, 'marginBottom': 15, 'fontSize': 16,
borderColor: a0.border, color: a0.foreground}, textArea: {'height': 100, 'textAlignVertical': 'top',
color: a0.foreground}, screenshotButton: {'backgroundColor': null, 'padding': 15, 'borderRadius': 5,
'alignItems': 'center', 'flex': 1, 'borderWidth': 1, backgroundColor: a0.background, borderColor: a0.border},
screenshotContainer: {'flexDirection': 'row', 'alignItems': 'center', 'width': '100%', 'marginBottom': 20},
screenshotThumbnail: {'width': 50, 'height': 50, 'borderRadius': 5, 'marginRight': 10},
screenshotText: {color: a0.foreground, fontSize: 16}, takeScreenshotButton: {'backgroundColor': null,
'padding': 15, 'borderRadius': 5, 'alignItems': 'center', 'borderWidth': 1, 'borderColor': null,
'marginTop': -10, 'marginBottom': 20, backgroundColor: a0.background, borderColor: a0.border},
takeScreenshotText: {color: a0.foreground, fontSize: 16}, submitButton: {'backgroundColor': null,
'paddingVertical': 15, 'borderRadius': 5, 'alignItems': 'center', 'marginBottom': 10,
backgroundColor: a0.accentBackground}, submitText: {color: a0.accentForeground, fontSize: 18},
cancelButton: {'backgroundColor': null, 'padding': 15, 'borderRadius': 5, 'alignItems': 'center',
'borderWidth': 1, backgroundColor: a0.background, borderColor: a0.border}, cancelText: {color: a0.foreground,
fontSize: 16}, titleContainer: {'flexDirection': 'row', 'width': '100%'}, sentryLogo: {'width': 40,
'height': 40, tintColor: a0.sentryLogo}};
}
global.__d(_fun13434, 1210, []) /* metro module 1210 */;