decord/source/411_getConstants.js

43 lines
1.1 KiB
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 411
// Function ID: 412
// Name: getConstants
// Dependencies: [412]
// Module 411 (getConstants)
2026-08-24 06:08:38 +00:00
import I18nManagerDefault from "I18nManager" /* 412 */;
if (I18nManagerDefault) {
const constants = I18nManagerDefault.getConstants();
2026-07-29 08:29:29 +00:00
let obj = { isRTL: null, doLeftAndRightSwapInRTL: null, localeIdentifier: null };
({ isRTL: obj3[0], doLeftAndRightSwapInRTL: obj3[1], localeIdentifier: obj3[2] } = constants);
2026-08-24 06:08:38 +00:00
const importDefaultResult = I18nManagerDefault;
2026-07-29 08:29:29 +00:00
} else {
obj = { isRTL: false, doLeftAndRightSwapInRTL: true };
}
export default {
getConstants() {
return obj;
},
allowRTL(arg0) {
2026-08-24 06:08:38 +00:00
if (I18nManagerDefault) {
I18nManagerDefault.allowRTL(arg0);
const tmpResult = I18nManagerDefault;
2026-07-29 08:29:29 +00:00
}
},
forceRTL(arg0) {
2026-08-24 06:08:38 +00:00
if (I18nManagerDefault) {
I18nManagerDefault.forceRTL(arg0);
const tmpResult = I18nManagerDefault;
2026-07-29 08:29:29 +00:00
}
},
swapLeftAndRightInRTL(arg0) {
2026-08-24 06:08:38 +00:00
if (I18nManagerDefault) {
const result = I18nManagerDefault.swapLeftAndRightInRTL(arg0);
const tmpResult = I18nManagerDefault;
2026-07-29 08:29:29 +00:00
}
},
isRTL: obj.isRTL,
doLeftAndRightSwapInRTL: obj.doLeftAndRightSwapInRTL
};