decord/source/__polyfill/04xxx/module_4994.js
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

47 lines
1.8 KiB
JavaScript

// Module ID: 4994
// Function ID: 4995
// Dependencies: [109, 19, 17, 21, 4995, 4999, 5000]
// Exports: default
// Module 4994
import RNSLog2 from "RNSLog" /* 4995 */;
import _mod4999 from "module_4999" /* 4999 */;
import _modDef5000 from "module_5000" /* 5000 */;
import _objectWithoutProperties from "_objectWithoutProperties" /* 109 */;
import noop from "module_19" /* 19 */;
require = fn;
let closure_3 = ["android", "ios"];
let closure_4 = ["children", "direction", "nativeContainerStyle", "onTabSelected", "navStateRequest"];
const StyleSheet = fn(17).StyleSheet;
const jsx = fn(21).jsx;
const fillParent = StyleSheet.create({ fillParent: { flex: 1, width: "100%", height: "100%" } });
export default function TabsHost(arg0) {
const RNSLog = RNSLog2.RNSLog;
RNSLog.log("TabsHost render");
({ android, ios } = arg0);
const tmp2 = _objectWithoutProperties(arg0, closure_3);
const nativeContainerStyle = tmp2.nativeContainerStyle;
({ children, direction, onTabSelected, navStateRequest } = tmp2);
const ref = noop.useRef(null);
const tmp3 = _objectWithoutProperties(tmp2, closure_4);
const obj2 = { style: null, navStateRequest, onTabSelected: _mod4999.useTabsHost({ componentNodeRef: ref, onTabSelected }).onTabSelected, nativeContainerBackgroundColor: null, ref: null };
const items = [fillParent.fillParent, { direction }];
obj2.style = items;
let backgroundColor;
const tmp5 = jsx;
if (nativeContainerStyle != null) {
backgroundColor = nativeContainerStyle.backgroundColor;
}
obj2.nativeContainerBackgroundColor = backgroundColor;
obj2.ref = ref;
const merged = Object.assign(tmp3);
let prop;
if (android != null) {
prop = android.tabBarRespectsIMEInsets;
}
obj2.tabBarRespectsIMEInsets = prop;
obj2.children = children;
return tmp5(_modDef5000, obj2);
};