Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
88 lines
3.1 KiB
TypeScript
88 lines
3.1 KiB
TypeScript
// Module ID: 15144
|
|
// Function ID: 15145
|
|
// Name: QuestDisclosureModal
|
|
// Dependencies: [21, 7391, 7006, 15143, 1114, 5638, 15145, 7014, 2]
|
|
// Exports: default
|
|
|
|
// Module 15144 (QuestDisclosureModal)
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import util from "util" /* 1114 */;
|
|
import _modDef7006 from "module_7006" /* 7006 */;
|
|
import Navigator from "Navigator" /* 7014 */;
|
|
import HeaderActionButton from "HeaderActionButton" /* 7391 */;
|
|
import QuestDisclosureModalActionCreatorsDefault from "QuestDisclosureModalActionCreators" /* 15143 */;
|
|
import QuestDisclosureModalInnerDefault from "QuestDisclosureModalInner" /* 15145 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
function CloseButton() {
|
|
const obj = {
|
|
source: _modDef7006,
|
|
onPress() {
|
|
return QuestDisclosureModalActionCreatorsDefault.hideModal();
|
|
},
|
|
accessibilityLabel: null
|
|
};
|
|
const intl = util.intl;
|
|
obj.accessibilityLabel = intl.string(util.t.cpT0Cq);
|
|
return jsx(HeaderActionButton.HeaderActionButton, {
|
|
source: _modDef7006,
|
|
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
|
|
});
|
|
};
|