42 lines
1.7 KiB
TypeScript
42 lines
1.7 KiB
TypeScript
// Module ID: 13957
|
|
// Function ID: 106718
|
|
// Dependencies: [31, 4976, 33, 10868, 13958, 14009, 8347, 11100, 2]
|
|
|
|
// Module 13957
|
|
import importAllResult from "result";
|
|
import { QuestsExperimentLocations } from "QuestsExperimentLocations";
|
|
import { jsx } from "jsxProd";
|
|
|
|
const require = arg1;
|
|
const memoResult = importAllResult.memo(function BountiesModal(bountyId) {
|
|
bountyId = bountyId.bountyId;
|
|
const sourceQuestContent = bountyId.sourceQuestContent;
|
|
let obj = bountyId(verticalScrollEnabled[3]);
|
|
verticalScrollEnabled = obj.useBountiesExperience(QuestsExperimentLocations.VIDEO_MODAL_MOBILE).verticalScrollEnabled;
|
|
const items = [bountyId, sourceQuestContent, verticalScrollEnabled];
|
|
const memo = importAllResult.useMemo(() => ({
|
|
["bounty_main"]: {
|
|
fullscreen: true,
|
|
headerLeft() {
|
|
return null;
|
|
},
|
|
render() {
|
|
if (outer1_2) {
|
|
let tmp4 = tmp3[4];
|
|
} else {
|
|
tmp4 = tmp3[5];
|
|
}
|
|
return outer2_5(sourceQuestContent(tmp4), { bountyId: outer1_0, sourceQuestContent: outer1_1 });
|
|
}
|
|
}
|
|
}), items);
|
|
const layoutEffect = importAllResult.useLayoutEffect(() => {
|
|
bountyId(verticalScrollEnabled[6]).lockOrientation("PORTRAIT", true);
|
|
return bountyId(verticalScrollEnabled[6]).restoreDefaultOrientation;
|
|
}, []);
|
|
obj = { hideTitle: true, initialRouteName: "bounty_main", screens: memo, viewStyle: { backgroundColor: "#000000" } };
|
|
return jsx(bountyId(verticalScrollEnabled[7]).Modal, { hideTitle: true, initialRouteName: "bounty_main", screens: memo, viewStyle: { backgroundColor: "#000000" } });
|
|
});
|
|
const result = require("jsxProd").fileFinishedImporting("modules/quests/native/BountiesModal/BountiesModal.tsx");
|
|
|
|
export default memoResult;
|