103 lines
6.2 KiB
TypeScript
103 lines
6.2 KiB
TypeScript
/* Metro module 11499; source: modules/safety_hub/native/AppealIngestionRequestSent.tsx; dependencies: [31, 27, 5267, 33, 4501, 11491, 1244, 11489, 11500, 4573, 11494, 2] */
|
|
import AppealIngestionExternalLink2 from './AppealIngestionExternalLink.tsx'; /* Metro dependency 11494 */
|
|
import Module11500 from '../../../by-id/module-11500.js'; /* Metro dependency 11500 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ReactNativeModule from '../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
|
|
import * as CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
|
|
import * as TextModule from '../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
|
|
import * as AppealIngestionModalModule from './AppealIngestionModal.tsx'; /* Metro dependency 11489 */
|
|
import * as UseEmitAppealIngestionEventModule from '../hooks/useEmitAppealIngestionEvent.tsx'; /* Metro dependency 11491 */
|
|
|
|
function _fun88090(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#88090, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11685:6, offset: 0x01fd4b5f, size: 290 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
ReactModule;
|
|
let value = ReactNativeModule;
|
|
const env0_3 = value.View;
|
|
const env0_4 = value.Image;
|
|
value = require(5267) /* metro dependency 5267: SafetyHubConstants */;
|
|
const env0_5 = value.SafetyHubAnalyticsActions;
|
|
const env0_6 = value.SafetyHubLinks;
|
|
value = require(33) /* metro dependency 33 */;
|
|
const env0_7 = value.jsx;
|
|
const env0_8 = value.jsxs;
|
|
const env0_9 = (CreateStylesModule).createStyles({container: {'flex': 1,
|
|
'padding': 8}, actionsHeader: {'marginTop': 31, 'marginBottom': 16}, checkboxPng: {'width': 86, 'height': 78.33,
|
|
'marginLeft': -2, 'alignSelf': 'center'}});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/safety_hub/native/AppealIngestionRequestSent.tsx');
|
|
exports.default = AppealIngestionRequestSent;
|
|
function AppealIngestionRequestSent() { // fn#88091, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11685:489, offset: 0x01fd4c81, size: 588 bytes, params: 1, frame: 29
|
|
const env0_0 = (UseEmitAppealIngestionEventModule).useEmitAppealIngestionEvent();
|
|
const styles = useStyles();
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
let string = intl.string;
|
|
const QMbTSu = (require(1244) /* metro dependency 1244: indexNative */).t.QMbTSu;
|
|
const value2 = Reflect.apply(string, intl, [QMbTSu]);
|
|
string = intl.string;
|
|
const Qdx8AP = (require(1244) /* metro dependency 1244: indexNative */).t.Qdx8AP;
|
|
const value3 = Reflect.apply(string, intl, [Qdx8AP]);
|
|
const AppealIngestionModalScreen = (AppealIngestionModalModule).AppealIngestionModalScreen;
|
|
const items2 = [
|
|
<Image source={Module11500} style={styles.checkboxPng} />,
|
|
];
|
|
const AppealIngestionModalHeader = (AppealIngestionModalModule).AppealIngestionModalHeader;
|
|
items2[1] = <AppealIngestionModalHeader headerText={value2} subHeaderText={value3} />;
|
|
const Text = (TextModule).Text;
|
|
items2[2] = (
|
|
<Text
|
|
variant="heading-md/bold"
|
|
color="mobile-text-heading-primary"
|
|
style={styles.actionsHeader}
|
|
>
|
|
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['9BRc1N'])}
|
|
</Text>
|
|
);
|
|
string = intl.string;
|
|
const PxL38B = (require(1244) /* metro dependency 1244: indexNative */).t.PxL38B;
|
|
const COMMUNITY_GUIDELINES = SafetyHubLinks.COMMUNITY_GUIDELINES;
|
|
items2[3] = (
|
|
<AppealIngestionExternalLink2
|
|
text={Reflect.apply(string, intl, [PxL38B])}
|
|
url={COMMUNITY_GUIDELINES}
|
|
onPress={onPress_88092}
|
|
/>
|
|
);
|
|
const AppealIngestionExternalLink = AppealIngestionExternalLink2;
|
|
string = intl.string;
|
|
const qC3XKa = (require(1244) /* metro dependency 1244: indexNative */).t.qC3XKa;
|
|
const WARNING_SYSTEM_HELPCENTER_LINK = SafetyHubLinks.WARNING_SYSTEM_HELPCENTER_LINK;
|
|
items2[4] = (
|
|
<AppealIngestionExternalLink
|
|
text={Reflect.apply(string, intl, [qC3XKa])}
|
|
url={WARNING_SYSTEM_HELPCENTER_LINK}
|
|
onPress={onPress_88093}
|
|
/>
|
|
);
|
|
return (
|
|
<AppealIngestionModalScreen>
|
|
<View style={styles.container}>
|
|
{items2}
|
|
</View>
|
|
</AppealIngestionModalScreen>
|
|
);
|
|
function AppealIngestionRequestSentOnPress() { // fn#88092, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11685:1097, owner: AppealIngestionRequestSent.onPress, offset: 0x01fd4ecd, size: 29 bytes, params: 1, frame: 11
|
|
const binding = env0_0;
|
|
const ClickCommunityGuidelinesLink = SafetyHubAnalyticsActions.ClickCommunityGuidelinesLink;
|
|
return binding(ClickCommunityGuidelinesLink);
|
|
}
|
|
|
|
function AppealIngestionRequestSentOnPress_88093() { // fn#88093, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11685:1237, owner: AppealIngestionRequestSent.onPress, offset: 0x01fd4eea, size: 29 bytes, params: 1, frame: 11
|
|
const binding = env0_0;
|
|
const ClickWarningSystemHelpcenterLink = SafetyHubAnalyticsActions.ClickWarningSystemHelpcenterLink;
|
|
return binding(ClickWarningSystemHelpcenterLink);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun88090, 11499, [31, 27, 5267, 33, 4501, 11491, 1244, 11489, 11500, 4573, 11494,
|
|
2]) /* metro module 11499, dependencies: [31, 27, 5267, 33, 4501, 11491, 1244, 11489, 11500, 4573, 11494, 2] */;
|