decord/source/modules/quests/native/QuestDisclosureModal/QuestDisclosureModal.tsx

62 lines
2.3 KiB
TypeScript
Raw Normal View History

2026-09-02 09:53:35 +00:00
// Module ID: 14941
// Function ID: 14942
2026-07-20 16:05:17 +00:00
// Name: CloseButton
2026-09-02 09:53:35 +00:00
// Dependencies: [21, 6246, 7773, 14940, 1233, 5503, 14942, 6016, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-09-02 09:53:35 +00:00
// Module 14941 (CloseButton)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import jsxProd from "jsxProd" /* 21 */;
2026-09-02 09:53:35 +00:00
import getSystemLocale from "getSystemLocale" /* 1233 */;
import NavigationStack from "NavigationStack" /* 6016 */;
import HeaderActionButton from "HeaderActionButton" /* 6246 */;
import registerAssetDefault from "registerAsset" /* 7773 */;
2026-07-23 10:11:24 +00:00
2026-07-20 16:05:17 +00:00
function CloseButton() {
2026-08-24 06:08:38 +00:00
const obj = {
source: registerAssetDefault,
onPress() {
return callback(table[3]).hideModal();
},
accessibilityLabel: null
2026-07-20 16:05:17 +00:00
};
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[2] = intl.string(getSystemLocale.t.cpT0Cq);
return jsx(HeaderActionButton.HeaderActionButton, {
source: registerAssetDefault,
onPress() {
return callback(table[3]).hideModal();
},
accessibilityLabel: null
});
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
const jsx = jsxProd.jsx;
2026-07-20 16:05:17 +00:00
let closure_4 = { DISCLOSURE: "disclosure" };
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/quests/native/QuestDisclosureModal/QuestDisclosureModal.tsx");
2026-07-20 16:05:17 +00:00
export default function QuestDisclosureModal(arg0) {
2026-09-02 09:53:35 +00:00
({ adCreativeType: require, isTargetedDisclosure: importDefault, gamePublisher: dependencyMap, gameTitle: jsx, cosponsorName: closure_4, isVideoQuest: CloseButton } = arg0);
2026-07-20 16:05:17 +00:00
function onClose() {
2026-09-02 09:53:35 +00:00
return callback2(14940).hideModal();
2026-07-20 16:05:17 +00:00
}
let obj = {
2026-09-02 09:53:35 +00:00
headerLeft: CloseButton,
2026-07-20 16:05:17 +00:00
headerRight() {
return null;
},
headerTitle() {
2026-07-29 08:29:29 +00:00
const obj = { title: null };
2026-09-02 09:53:35 +00:00
const intl = callback(1233).intl;
obj[0] = intl.string(callback(1233).t.GcsZKJ);
return callback3(callback(5503).NavigatorHeader, obj);
2026-07-20 16:05:17 +00:00
},
render() {
2026-09-02 09:53:35 +00:00
return closure_1_3(closure_1_1(closure_1_2[6]), { adCreativeType: closure_0, isTargetedDisclosure: closure_1, gamePublisher: closure_2, gameTitle: closure_3, onClose, cosponsorName: closure_4, isVideoQuest: closure_5 });
2026-07-20 16:05:17 +00:00
}
};
2026-07-29 08:29:29 +00:00
obj = { screens: { [closure_4.DISCLOSURE]: obj }, initialRouteName: constants.DISCLOSURE, headerBackTitle: null };
2026-08-24 06:08:38 +00:00
let intl = getSystemLocale.intl;
obj[2] = intl.string(getSystemLocale.t["13/7kX"]);
return jsx(NavigationStack.Navigator, { screens: { [closure_4.DISCLOSURE]: obj }, initialRouteName: constants.DISCLOSURE, headerBackTitle: null });
2026-07-20 16:05:17 +00:00
};