24 lines
1.1 KiB
React
24 lines
1.1 KiB
React
/* Metro module 5435; source: unknown; dependencies: [5434] */
|
|
function _fun47834(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#47834, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5613:6, offset: 0x011cf81b, size: 66 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = getDistanceForDirection;
|
|
}
|
|
|
|
function getDistanceForDirection(a0, a1) { // fn#47835, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5613:102, offset: 0x011cf85d, size: 95 bytes, params: 3, frame: 13
|
|
const value = (importDefault(5434) /* metro dependency 5434 */)(a1);
|
|
if (a1 === 'vertical') {
|
|
return a0.height * value;
|
|
}
|
|
if (a1 === 'vertical-inverted') {
|
|
return a0.height * value;
|
|
}
|
|
if (a1 === 'horizontal') {
|
|
return a0.width * value;
|
|
}
|
|
if (a1 === 'horizontal-inverted') {
|
|
return a0.width * value;
|
|
}
|
|
}
|
|
|