decord/source/__polyfill/04xxx/module_4992.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

47 lines
1.8 KiB
JavaScript

// Module ID: 4992
// Function ID: 4993
// Dependencies: [109, 19, 17, 21, 4993, 4997, 4998]
// Exports: default
// Module 4992
import RNSLog2 from "RNSLog" /* 4993 */;
import _mod4997 from "module_4997" /* 4997 */;
import _modDef4998 from "module_4998" /* 4998 */;
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: _mod4997.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(_modDef4998, obj2);
};