decord/source/4774_ScreenContainer.js

43 lines
1.3 KiB
JavaScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 4774
// Function ID: 4775
2026-08-24 06:08:38 +00:00
// Name: ScreenContainer
2026-08-25 06:04:03 +00:00
// Dependencies: [109, 17, 19, 21, 4755, 4775]
2026-08-24 06:08:38 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 4774 (ScreenContainer)
2026-08-24 06:08:38 +00:00
import noopDefault from "noop" /* 19 */;
2026-08-25 06:04:03 +00:00
import isNativePlatformSupported from "isNativePlatformSupported" /* 4755 */;
import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 4775 */;
2026-08-24 06:08:38 +00:00
import closure_4 from "_objectWithoutProperties" /* 109 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import { jsx } from "jsxProd" /* 21 */;
require = arg1;
let closure_3 = ["enabled", "hasTwoStates"];
({ Platform, View: c5 } = get_ActivityIndicator);
noopDefault;
export default function ScreenContainer(enabled) {
enabled = enabled.enabled;
if (undefined === enabled) {
let obj = isNativePlatformSupported;
enabled = obj.screensEnabled();
}
const tmp3 = callback(enabled, closure_3);
if (enabled) {
if (isNativePlatformSupported.isNativePlatformSupported) {
if (enabled.hasTwoStates) {
obj = {};
const merged = Object.assign(tmp3);
return jsx(__INTERNAL_VIEW_CONFIGDefault, {});
} else {
obj = {};
const merged1 = Object.assign(tmp3);
return jsx(__INTERNAL_VIEW_CONFIGDefault, {});
}
}
}
const merged2 = Object.assign(tmp3);
return <closure_5 />;
};