decord/source/4623_ScreenContainer.js
2026-08-05 07:35:12 +00:00

41 lines
1.2 KiB
JavaScript

// Module ID: 4623
// Function ID: 4624
// Name: ScreenContainer
// Dependencies: [109, 17, 19, 21, 4604, 4624]
// Exports: default
// Module 4623 (ScreenContainer)
import _objectWithoutProperties from "_objectWithoutProperties";
import get_ActivityIndicator from "get ActivityIndicator";
import "noop";
import { jsx } from "jsxProd";
let Platform;
let c5;
const require = arg1;
let closure_3 = ["enabled", "hasTwoStates"];
({ Platform, View: c5 } = get_ActivityIndicator);
export default function ScreenContainer(enabled) {
enabled = enabled.enabled;
if (undefined === enabled) {
let obj = require(4604) /* isNativePlatformSupported */;
enabled = obj.screensEnabled();
}
const tmp3 = callback(enabled, closure_3);
if (enabled) {
if (require(4604) /* isNativePlatformSupported */.isNativePlatformSupported) {
if (enabled.hasTwoStates) {
obj = {};
const merged = Object.assign(tmp3);
return jsx(importDefault(4624), {});
} else {
obj = {};
const merged1 = Object.assign(tmp3);
return jsx(importDefault(4624), {});
}
}
}
const merged2 = Object.assign(tmp3);
return <closure_5 />;
};