decord/source/modules/share/native/SharePreparingModal.tsx

56 lines
2.3 KiB
TypeScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 8978
// Function ID: 8979
2026-08-04 08:36:32 +00:00
// Name: SharePreparingModal
2026-08-13 07:00:46 +00:00
// Dependencies: [19, 17, 21, 4342, 712, 4743, 8979, 8980, 1236, 5366, 5863, 4338, 2]
2026-08-04 08:36:32 +00:00
// Exports: default
2026-08-13 07:00:46 +00:00
// Module 8978 (SharePreparingModal)
2026-08-04 08:36:32 +00:00
import noop from "noop";
import get_ActivityIndicator from "get ActivityIndicator";
import jsxProd from "jsxProd";
import createCacheKey from "createCacheKey";
let StyleSheet;
let c4;
let c5;
let closure_6;
const require = arg1;
({ View: c4, StyleSheet } = get_ActivityIndicator);
({ jsx: c5, jsxs: closure_6 } = jsxProd);
createCacheKey = { content: null, topBar: null, topBarEnd: null };
createCacheKey = { flex: 1, alignItems: "center", justifyContent: "center", gap: require("Themes").space.PX_12 };
createCacheKey[0] = createCacheKey;
let obj1 = {};
const merged = Object.assign(StyleSheet.absoluteFillObject);
obj1.bottom = undefined;
createCacheKey[1] = obj1;
createCacheKey[2] = { justifyContent: "flex-end" };
createCacheKey = createCacheKey.createStyles(createCacheKey);
const result = require("jsxProd").fileFinishedImporting("modules/share/native/SharePreparingModal.tsx");
export default function SharePreparingModal(onCancel) {
onCancel = onCancel.onCancel;
const tmp = createCacheKey();
const items = [onCancel];
const effect = React.useEffect(() => () => callback(), items);
let obj = { style: tmp.content, children: null };
2026-08-13 07:00:46 +00:00
const items1 = [callback(onCancel(4743).Backdrop, { blur: "none", "aria-hidden": true }), , , ];
2026-08-04 08:36:32 +00:00
obj = { style: tmp.topBar, pointerEvents: "box-none", children: null };
obj = { style: tmp.topBarEnd, children: null };
const obj1 = { accessibilityLabel: null, icon: null, onPress: null };
const intl = onCancel(1236).intl;
obj1[0] = intl.string(onCancel(1236).t.cpT0Cq);
2026-08-13 07:00:46 +00:00
obj1[1] = callback(onCancel(5366).XSmallIcon, { size: "md", color: "interactive-text-active" });
2026-08-04 08:36:32 +00:00
obj1[2] = onCancel;
2026-08-13 07:00:46 +00:00
obj[1] = callback(importDefault(8980), obj1);
obj[2] = callback(onCancel(8979).MediaModalOverlayHeaderWrapper, obj);
2026-08-04 08:36:32 +00:00
items1[1] = callback(closure_4, obj);
2026-08-13 07:00:46 +00:00
items1[2] = callback(onCancel(5863).ActivityIndicator, {});
2026-08-04 08:36:32 +00:00
const obj2 = { variant: "text-sm/medium", color: "text-overlay-light", children: null };
const intl2 = onCancel(1236).intl;
obj2[2] = intl2.string(onCancel(1236).t.DwTQE5);
2026-08-13 07:00:46 +00:00
items1[3] = callback(onCancel(4338).Text, obj2);
2026-08-04 08:36:32 +00:00
obj[1] = items1;
return callback2(closure_4, obj);
};