Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
88 lines
3.1 KiB
TypeScript
88 lines
3.1 KiB
TypeScript
// Module ID: 15205
|
|
// Function ID: 15206
|
|
// Name: QuestDisclosureModal
|
|
// Dependencies: [21, 7484, 7099, 15204, 1115, 5709, 15206, 7107, 2]
|
|
// Exports: default
|
|
|
|
// Module 15205 (QuestDisclosureModal)
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import util from "util" /* 1115 */;
|
|
import _modDef7099 from "module_7099" /* 7099 */;
|
|
import Navigator from "Navigator" /* 7107 */;
|
|
import HeaderActionButton from "HeaderActionButton" /* 7484 */;
|
|
import QuestDisclosureModalActionCreatorsDefault from "QuestDisclosureModalActionCreators" /* 15204 */;
|
|
import QuestDisclosureModalInnerDefault from "QuestDisclosureModalInner" /* 15206 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
function CloseButton() {
|
|
const obj = {
|
|
source: _modDef7099,
|
|
onPress() {
|
|
return QuestDisclosureModalActionCreatorsDefault.hideModal();
|
|
},
|
|
accessibilityLabel: null
|
|
};
|
|
const intl = util.intl;
|
|
obj.accessibilityLabel = intl.string(util.t.cpT0Cq);
|
|
return jsx(HeaderActionButton.HeaderActionButton, {
|
|
source: _modDef7099,
|
|
onPress() {
|
|
return QuestDisclosureModalActionCreatorsDefault.hideModal();
|
|
},
|
|
accessibilityLabel: null
|
|
});
|
|
}
|
|
const jsx = jsxProd.jsx;
|
|
const constants = { DISCLOSURE: "disclosure" };
|
|
const result = size.fileFinishedImporting("modules/quests/native/QuestDisclosureModal/QuestDisclosureModal.tsx");
|
|
|
|
export default function QuestDisclosureModal(arg0) {
|
|
({ adCreativeType: require, isTargetedDisclosure: importDefault, gamePublisher: dependencyMap, gameTitle: jsx, cosponsorName: closure_4, isVideoQuest: CloseButton } = arg0);
|
|
function onClose() {
|
|
return isTargetedDisclosure(gamePublisher[3]).hideModal();
|
|
}
|
|
const obj2 = {
|
|
screens: {
|
|
[closure_4.DISCLOSURE]: {
|
|
headerLeft: CloseButton,
|
|
headerRight() {
|
|
return null;
|
|
},
|
|
headerTitle() {
|
|
const obj = { title: null };
|
|
const intl = adCreativeType(gamePublisher[4]).intl;
|
|
obj.title = intl.string(adCreativeType(gamePublisher[4]).t.GcsZKJ);
|
|
return gameTitle(adCreativeType(gamePublisher[5]).NavigatorHeader, obj);
|
|
},
|
|
render() {
|
|
return jsx(QuestDisclosureModalInnerDefault, { adCreativeType, isTargetedDisclosure, gamePublisher, gameTitle, onClose, cosponsorName, isVideoQuest });
|
|
}
|
|
}
|
|
},
|
|
initialRouteName: constants.DISCLOSURE,
|
|
headerBackTitle: null
|
|
};
|
|
let intl = util.intl;
|
|
obj2.headerBackTitle = intl.string(util.t["13/7kX"]);
|
|
return jsx(Navigator.Navigator, {
|
|
screens: {
|
|
[closure_4.DISCLOSURE]: {
|
|
headerLeft: CloseButton,
|
|
headerRight() {
|
|
return null;
|
|
},
|
|
headerTitle() {
|
|
const obj = { title: null };
|
|
const intl = adCreativeType(gamePublisher[4]).intl;
|
|
obj.title = intl.string(adCreativeType(gamePublisher[4]).t.GcsZKJ);
|
|
return gameTitle(adCreativeType(gamePublisher[5]).NavigatorHeader, obj);
|
|
},
|
|
render() {
|
|
return jsx(QuestDisclosureModalInnerDefault, { adCreativeType, isTargetedDisclosure, gamePublisher, gameTitle, onClose, cosponsorName, isVideoQuest });
|
|
}
|
|
}
|
|
},
|
|
initialRouteName: constants.DISCLOSURE,
|
|
headerBackTitle: null
|
|
});
|
|
};
|