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

62 lines
2.3 KiB
TypeScript
Raw Normal View History

// Module ID: 15117
// Function ID: 15118
2026-07-20 16:05:17 +00:00
// Name: CloseButton
// Dependencies: [21, 7377, 6992, 15116, 1114, 5624, 15118, 7000, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 15117 (CloseButton)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import jsxProd from "jsxProd" /* 21 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import registerAssetDefault from "registerAsset" /* 6992 */;
import NavigationStack from "NavigationStack" /* 7000 */;
import HeaderActionButton from "HeaderActionButton" /* 7377 */;
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() {
return callback2(15116).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 };
const intl = callback(1114).intl;
obj[0] = intl.string(callback(1114).t.GcsZKJ);
return callback3(callback(5624).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
};