41 lines
1.6 KiB
TypeScript
41 lines
1.6 KiB
TypeScript
// Module ID: 13785
|
|
// Function ID: 104205
|
|
// Dependencies: []
|
|
|
|
// Module 13785
|
|
const importAllResult = importAll(dependencyMap[0]);
|
|
const QuestsExperimentLocations = arg1(dependencyMap[1]).QuestsExperimentLocations;
|
|
const jsx = arg1(dependencyMap[2]).jsx;
|
|
const memoResult = importAllResult.memo(function BountiesModal(bountyId) {
|
|
bountyId = bountyId.bountyId;
|
|
const arg1 = bountyId;
|
|
const sourceQuestContent = bountyId.sourceQuestContent;
|
|
const importDefault = sourceQuestContent;
|
|
const verticalScrollEnabled = arg1(dependencyMap[3]).useBountiesExperience(QuestsExperimentLocations.VIDEO_MODAL_MOBILE).verticalScrollEnabled;
|
|
const dependencyMap = verticalScrollEnabled;
|
|
const items = [bountyId, sourceQuestContent, verticalScrollEnabled];
|
|
const screens = importAllResult.useMemo(() => ({
|
|
["bounty_main"]: {
|
|
fullscreen: true,
|
|
headerLeft() {
|
|
return null;
|
|
},
|
|
render() {
|
|
if (closure_2) {
|
|
let tmp4 = tmp3[4];
|
|
} else {
|
|
tmp4 = tmp3[5];
|
|
}
|
|
return closure_5(closure_1(tmp4), { bountyId: closure_0, sourceQuestContent: closure_1 });
|
|
}
|
|
}
|
|
}), items);
|
|
const layoutEffect = importAllResult.useLayoutEffect(() => {
|
|
bountyId(verticalScrollEnabled[6]).lockOrientation("PORTRAIT", true);
|
|
return bountyId(verticalScrollEnabled[6]).restoreDefaultOrientation;
|
|
}, []);
|
|
return jsx(arg1(dependencyMap[7]).Modal, { screens, viewStyle: { backgroundColor: "#000000" } });
|
|
});
|
|
const result = arg1(dependencyMap[8]).fileFinishedImporting("modules/quests/native/BountiesModal/BountiesModal.tsx");
|
|
|
|
export default memoResult;
|