decord/source/4735_ScreenContainer.js
2026-08-14 17:33:39 +00:00

41 lines
1.2 KiB
JavaScript

// Module ID: 4735
// Function ID: 4736
// Name: ScreenContainer
// Dependencies: [109, 17, 19, 21, 4716, 4736]
// Exports: default
// Module 4735 (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(4716) /* isNativePlatformSupported */;
enabled = obj.screensEnabled();
}
const tmp3 = callback(enabled, closure_3);
if (enabled) {
if (require(4716) /* isNativePlatformSupported */.isNativePlatformSupported) {
if (enabled.hasTwoStates) {
obj = {};
const merged = Object.assign(tmp3);
return jsx(importDefault(4736), {});
} else {
obj = {};
const merged1 = Object.assign(tmp3);
return jsx(importDefault(4736), {});
}
}
}
const merged2 = Object.assign(tmp3);
return <closure_5 />;
};