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

26 lines
1.2 KiB
JavaScript

/* Metro module 5434; source: unknown; dependencies: [27] */
import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */
function _fun47832(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47832, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5612:6, offset: 0x011cf74a, size: 79 bytes, params: 8, frame: 16
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = getInvertedMultiplier;
function getInvertedMultiplier(a0) { // fn#47833, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5612:128, offset: 0x011cf799, size: 130 bytes, params: 2, frame: 9
if (a0 === 'vertical') {
return 1;
}
if (a0 === 'vertical-inverted') {
return -1;
}
if (a0 === 'horizontal') {
return I18nManager.getConstants().isRTL ? -1 : 1;
}
if (a0 === 'horizontal-inverted') {
return I18nManager.getConstants().isRTL ? 1 : -1;
}
}
}
global.__d(_fun47832, 5434, [27]) /* metro module 5434, dependencies: [27] */;