decord/source/modules/quests/native/VideoQuestModal/VideoQuestPlayerControlButton.tsx

44 lines
1.8 KiB
TypeScript
Raw Normal View History

// Module ID: 15120
// Function ID: 15121
2026-07-20 16:05:17 +00:00
// Name: VideoQuestPlayerControlButton
// Dependencies: [19, 21, 4636, 576, 672, 5204, 5046, 2]
2026-07-20 16:05:17 +00:00
// Module 15120 (VideoQuestPlayerControlButton)
import nativeDefault from "native" /* 576 */;
import VisualEffectViewDefault from "VisualEffectView" /* 5046 */;
import Pressables from "Pressables" /* 5204 */;
import noop from "module_19" /* 19 */;
import n from "module_672" /* 672 */;
2026-07-23 10:11:24 +00:00
require = fn;
const jsx = fn(21).jsx;
const createStyles = fn(4636);
let obj = { disabled: { opacity: 0.5 }, container: { borderRadius: nativeDefault.radii.round, overflow: "hidden" }, blur: null };
const obj4 = { backgroundColor: null, padding: null };
const obj3 = { borderRadius: nativeDefault.radii.round, overflow: "hidden" };
const importDefaultResultResult = n(nativeDefault.unsafe_rawColors.BLACK);
obj4.backgroundColor = n(nativeDefault.unsafe_rawColors.BLACK).alpha(0.5).hex();
obj4.padding = nativeDefault.space.PX_12;
obj.blur = obj4;
let closure_4 = createStyles.createStyles(obj);
const alphaResult = n(nativeDefault.unsafe_rawColors.BLACK).alpha(0.5);
const size = fn(2);
const result = size.fileFinishedImporting("modules/quests/native/VideoQuestModal/VideoQuestPlayerControlButton.tsx");
export const VideoQuestPlayerControlButton = noop.memo((arg0) => {
2026-07-20 16:05:17 +00:00
({ style, children } = arg0);
const merged = Object.assign(arg0, Object.assign({ style: 0, children: 0 }));
const tmp2 = closure_4();
2026-07-29 08:29:29 +00:00
const items = [tmp2.container, , ];
2026-07-20 16:05:17 +00:00
let disabled = merged.disabled;
if (disabled) {
2026-07-29 08:29:29 +00:00
disabled = tmp2.disabled;
2026-07-20 16:05:17 +00:00
}
const obj = { style: items };
2026-07-20 16:05:17 +00:00
items[1] = disabled;
items[2] = style;
const merged1 = Object.assign(merged);
obj.children = jsx(VisualEffectViewDefault, { style: tmp2.blur, blurAmount: 0.2, blurStyle: "default", blurTheme: "dark", children });
return jsx(Pressables.PressableOpacity, { style: items });
2026-07-20 16:05:17 +00:00
});