68 lines
1.8 KiB
JavaScript
68 lines
1.8 KiB
JavaScript
// Module ID: 5847
|
|
// Function ID: 5848
|
|
// Name: CardA11yWrapper
|
|
// Dependencies: [32, 19, 17, 21]
|
|
|
|
// Module 5847 (CardA11yWrapper)
|
|
import _slicedToArray from "_slicedToArray";
|
|
import importAllResult from "noop";
|
|
import get_ActivityIndicator from "get ActivityIndicator";
|
|
import { jsx } from "jsxProd";
|
|
|
|
let Platform;
|
|
let c3;
|
|
let obj1;
|
|
({ Platform, StyleSheet: obj1, View: c3 } = get_ActivityIndicator);
|
|
const forwardRefResult = importAllResult.forwardRef((arg0, ref) => {
|
|
let active;
|
|
let animated;
|
|
let c0;
|
|
let children;
|
|
let detachCurrentScreen;
|
|
let focused;
|
|
let isNextScreenTransparent;
|
|
let tmp2;
|
|
({ focused, animated } = arg0);
|
|
let callback;
|
|
({ active, isNextScreenTransparent, detachCurrentScreen, children } = arg0);
|
|
[tmp2, c0] = callback(importAllResult.useState(false), 2);
|
|
const imperativeHandle = importAllResult.useImperativeHandle(ref, () => ({ setInert: c0 }), []);
|
|
let tmp4 = !animated;
|
|
if (!animated) {
|
|
tmp4 = false === isNextScreenTransparent;
|
|
}
|
|
if (tmp4) {
|
|
tmp4 = false !== detachCurrentScreen;
|
|
}
|
|
if (tmp4) {
|
|
tmp4 = !focused;
|
|
}
|
|
let obj = { "aria-hidden": !focused, pointerEvents: null, style: null, collapsable: false, children: null };
|
|
if (!animated) {
|
|
tmp2 = !focused;
|
|
}
|
|
let str = "box-none";
|
|
if (tmp2) {
|
|
str = "none";
|
|
}
|
|
obj[1] = str;
|
|
const items = [absoluteFill.absoluteFill, ];
|
|
obj = { overflow: str2, display: null, visibility: null };
|
|
let str3 = "flex";
|
|
if (tmp4) {
|
|
str3 = "none";
|
|
}
|
|
obj[1] = str3;
|
|
let str4 = "visible";
|
|
if (tmp4) {
|
|
str4 = "hidden";
|
|
}
|
|
obj[2] = str4;
|
|
items[1] = obj;
|
|
obj[2] = items;
|
|
obj[4] = children;
|
|
return <closure_3 overflow={str2} display={null} visibility={null} />;
|
|
});
|
|
forwardRefResult.displayName = "CardA11yWrapper";
|
|
|
|
export const CardA11yWrapper = forwardRefResult;
|