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

@@ -0,0 +1,30 @@
/* Metro module 6597; source: modules/rebrand/native/TextStyles.tsx; dependencies: [661, 2] */
function _fun51982(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#51982, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6775:6, offset: 0x012e99f3, size: 143 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_0 = (require(661) /* metro dependency 661: Constants */).Fonts;
const env0_1 = {10: 10, 11: 11, 12: 12, 13: 13, 14: 14, 16: 16, 18: 17, 20: 20, 24: 25, 32: 34};
const env0_2 = {10: 14, 11: 14, 12: 16, 13: 16, 14: 18, 16: 20, 18: 24, 20: 24, 24: 30, 32: 40};
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/rebrand/native/TextStyles.tsx');
exports.default = createTextStyle;
}
function createTextStyle(a0, a1, a2, a3) { // fn#51983, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6775:321, offset: 0x012e9a82, size: 185 bytes, params: 5, frame: 9
const property = env0_1[a2];
const object2 = {fontFamily: a0, fontSize: property, lineHeight: env0_2[a2]};
if (a1 != null) {
object2.color = a1;
}
const value2 = undefined;
if ((a3 == null ? value2 : a3.uppercase) === true) {
object2.textTransform = 'uppercase';
if (property <= 14 && (a0 === Fonts.DISPLAY_EXTRABOLD || a0 === Fonts.DISPLAY_SEMIBOLD)) {
object2.letterSpacing = 0.2;
}
}
if ((a3 == null ? value2 : a3.marginBottom) != null) {
object2.marginBottom = a3.marginBottom;
}
return object2;
}