Files
discord-decomp/sources/modules/self_mod/Constants.tsx
T
2026-07-28 01:06:53 +03:00

66 lines
4.1 KiB
TypeScript

/* Metro module 9734; source: modules/self_mod/Constants.tsx; dependencies: [1244, 2] */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as IndexNativeModule from '../../intl/index.native.tsx'; /* Metro dependency 1244 */
function _fun76474(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76474, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9920:6, offset: 0x01dd04ef, size: 426 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/self_mod/Constants.tsx');
exports.LOCATION_CONTEXT_MOBILE = 'SAFETY_WARNING_BANNER_MOBILE';
exports.LOCATION_CONTEXT_WEB = 'SAFETY_WARNING_BANNER_WEB';
exports.UPVOTE_FEEDBACK_CONFIRMATION_TOAST_KEY = 'STRANGER_DANGER_UPVOTE_FEEDBACK_CONFIRMED';
exports.DOWNVOTE_FEEDBACK_CONFIRMATION_TOAST_KEY = 'STRANGER_DANGER_DOWNVOTE_FEEDBACK_CONFIRMED';
exports.STRANGER_DANGER_MORE_TIPS_MODAL_KEY = 'STRANGER_DANGER_MORE_TIPS_MODAL';
exports.SAFETY_TIPS_GRADIENT_START_COLOR = '#5865f200';
exports.SAFETY_TIPS_GRADIENT_END_COLOR = '#5865F2';
exports.FEEDBACK_BUTTON_ACTIVE_BACKGROUND_COLOR = '#5865f226';
exports.TOAST_CHECKMARK_ICON_COLOR = 'status-positive';
exports.TOAST_SHIELD_ICON_COLOR = 'text-brand';
exports.TAKEOVER_MODAL_KEY = 'INAPPROPRIATE_CONVERSATION_TAKEOVER_MODAL';
exports.VIBING_WUMPUS_MODAL_KEY = 'INAPPROPRIATE_CONVERSATION_VIBING_WUMPUS_MODAL';
exports.CRISIS_TEXT_LINE_URL = 'https://www.crisistextline.org/';
exports.CRISIS_TEXT_LINE_SMS_URI = 'sms:741-741?body=DISCORD';
exports.NOFILTR_URL = 'https://nofiltr.org/resources-hub/';
exports.THROUGHLINE_URL = 'https://discord.findahelpline.com/';
exports.REPORTED_USER_CONFIRMATION_TOAST_KEY = 'STRANGER_DANGER_WARNING_REPORTED_USER_CONFIRMED';
exports.MODAL_LOCATION_CONTEXT_MOBILE = 'InappropriateConversationModal-mobile';
exports.MODAL_LOCATION_CONTEXT_WEB = 'InappropriateConversationModal-web';
exports.ACTION_SHEET_CONTEXT_MOBILE = 'SafetyToolsActionSheet-mobile';
exports.SAFETY_TOOLS_MODAL_KEY = 'PRIVATE_DM_SAFETY_TOOLS_MODAL';
exports.WEB_SAFETY_TOOLS_CONTEXT = 'SafetyToolsActionSheet-web';
exports.getSafetyToolsActionSheetKey = function(a0) {
return 'SAFETY_TOOLS_ACTION_SHEET_' + a0;
};
exports.getStrangerDangerSafetyTips = getStrangerDangerSafetyTips;
exports.getInappropriateConversationsSafetyTips = getInappropriateConversationsSafetyTips;
exports.SAFETY_TOOLS_IGNORED_USER_TOAST_KEY = 'SAFETY_TOOLS_IGNORED_USER_CONFIRMED';
exports.SAFETY_TOOLS_UNIGNORED_USER_TOAST_KEY = 'SAFETY_TOOLS_UNIGNORED_USER_CONFIRMED';
function getStrangerDangerSafetyTips() { // fn#76476, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9920:1596, offset: 0x01dd06b6, size: 171 bytes, params: 1, frame: 16
const intl = (IndexNativeModule).intl;
let string = intl.string;
const t = (IndexNativeModule).t;
const items2 = [Reflect.apply(string, intl, [t['26fDv4']])];
items2[1] = intl.string(t.togDfk);
string = intl.string;
const O4Ljca = t.O4Ljca;
items2[2] = Reflect.apply(string, intl, [O4Ljca]);
return items2;
}
function getInappropriateConversationsSafetyTips() { // fn#76477, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9920:1761, offset: 0x01dd0761, size: 171 bytes, params: 1, frame: 16
const intl = (IndexNativeModule).intl;
let string = intl.string;
const t = (IndexNativeModule).t;
const items2 = [Reflect.apply(string, intl, [t.bCWw8l])];
items2[1] = intl.string(t.mzSucz);
string = intl.string;
const ZkmC7s = t.ZkmC7s;
items2[2] = Reflect.apply(string, intl, [ZkmC7s]);
return items2;
}
}
global.__d(_fun76474, 9734, [1244, 2]) /* metro module 9734, dependencies: [1244, 2] */;