This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

@@ -1,39 +1,47 @@
/* Metro module 11305; source: modules/ato_alerts/native/components/LikelyAtoMoreTipsModalActionItems.tsx; dependencies: [31, 1878, 33, 566, 3995, 6231, 6238, 1244, 10629, 2] */
import UserStore from '../../../../stores/UserStore.tsx'; /* Metro dependency 1878 */
import UserUtils from '../../../../utils/UserUtils.tsx'; /* Metro dependency 3995 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as TableRowGroupNativeModule from '../../../../design/components/TableRow/native/TableRowGroup.native.tsx'; /* Metro dependency 6231 */
import * as TableRowNativeModule from '../../../../design/components/TableRow/native/TableRow.native.tsx'; /* Metro dependency 6238 */
import * as BellSlashIconModule from '../../../../design/components/Icon/native/redesign/generated/BellSlashIcon.tsx'; /* Metro dependency 10629 */
function _fun86240(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86240, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11491:6, offset: 0x01f8d489, size: 158 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const userStore = importDefault(1878) /* metro dependency 1878: UserStore */;
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/ato_alerts/native/components/LikelyAtoMoreTipsModalActionItems.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/ato_alerts/native/components/LikelyAtoMoreTipsModalActionItems.tsx');
exports.default = LikelyAtoMoreTipsModalActionItems;
function LikelyAtoMoreTipsModalActionItems({senderId, handleMutePressed}) { // fn#86241, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11491:248, offset: 0x01f8d527, size: 334 bytes, params: 2, frame: 25
const value3 = ReactModule.useMemo(_fun86243,
[(require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() {
return UserStore.getUser(senderId);
}, [senderId])]);
const TableRowGroup = (TableRowGroupNativeModule).TableRowGroup;
const TableRow = (TableRowNativeModule).TableRow;
const object2 = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
object2.label = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['F/ID+9'],
{username: value3});
object2.subLabel = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.w2ve0t);
object2.onPress = handleMutePressed;
const BellSlashIcon = (BellSlashIconModule).BellSlashIcon;
object2.icon = <BellSlashIcon />;
return (
<TableRowGroup hasIcons>
<TableRow {...object2} />
</TableRowGroup>
);
function _fun86243() { // fn#86243, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11491:399, offset: 0x01f8d675, size: 45 bytes, params: 1, frame: 11
const value = environment.__proto__;
return (UserUtils).getName(env0_1);
}
}
}
function LikelyAtoMoreTipsModalActionItems({senderId, handleMutePressed}) { // fn#86241, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11491:248, offset: 0x01f8d527, size: 334 bytes, params: 2, frame: 25
const value3 = env0_3.useMemo(_fun86243,
[(require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() {
return UserStore.getUser(senderId);
}, [senderId])]);
const TableRowGroup = (require(6231) /* metro dependency 6231: TableRowGroupNative */).TableRowGroup;
const TableRow = (require(6238) /* metro dependency 6238: TableRowNative */).TableRow;
const object = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
object.label = intl.formatToPlainString((require(1244) /* metro dependency 1244: indexNative */).t['F/ID+9'],
{username: value3});
object.subLabel = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.w2ve0t);
object.onPress = handleMutePressed;
const BellSlashIcon = (require(10629) /* metro dependency 10629: BellSlashIcon */).BellSlashIcon;
object.icon = <BellSlashIcon />;
return (
<TableRowGroup hasIcons>
<TableRow {...object} />
</TableRowGroup>
);
}
function _fun86243() { // fn#86243, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11491:399, offset: 0x01f8d675, size: 45 bytes, params: 1, frame: 11
const value = environment.__proto__;
return (importDefault(3995) /* metro dependency 3995: UserUtils */).getName(env0_1);
}
global.__d(_fun86240, 11305, [31, 1878, 33, 566, 3995, 6231, 6238, 1244, 10629,
2]) /* metro module 11305, dependencies: [31, 1878, 33, 566, 3995, 6231, 6238, 1244, 10629, 2] */;
@@ -1,173 +1,185 @@
/* Metro module 11296; source: modules/ato_alerts/native/components/LikelyAtoWarningBanner.tsx; dependencies: [31, 9706, 11297, 661, 670, 33, 4501, 697, 9731, 9732, 5080, 10627, 6264, 3853, 11298, 1244, 11301, 1962, 4573, 11305, 6766, 2] */
import Native from '../../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */
import Linking from '../../../../lib/native/Linking.tsx'; /* Metro dependency 3853 */
import SafetyToastsActionCreatorsNative from '../../../safety_common/SafetyToastsActionCreators.native.tsx'; /* Metro dependency 6264 */
import SafetyWarningBanner from '../../../self_mod/shared/native/SafetyWarningBanner.tsx'; /* Metro dependency 11298 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */
import * as UserSettingsConstantsModule from '../../../user_settings/UserSettingsConstants.tsx'; /* Metro dependency 670 */
import * as TextModule from '../../../../design/components/Text/native/Text.tsx'; /* Metro dependency 4573 */
import * as ChannelSafetyWarningsStoreModule from '../../../self_mod/ChannelSafetyWarningsStore.tsx'; /* Metro dependency 9706 */
import * as SafetyWarningUtilsModule from '../../../self_mod/shared/SafetyWarningUtils.tsx'; /* Metro dependency 9731 */
import * as MuteSettingsUtilsModule from '../../../main_tabs_v2/native/sidebar/details/screens/MuteSettingsUtils.tsx'; /* Metro dependency 10627 */
import * as ConstantsModule2 from '../../Constants.tsx'; /* Metro dependency 11297 */
function _fun86200(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#86200, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:6, offset: 0x01f8b41a, size: 348 bytes, params: 8, frame: 22
const env0_0 = require;
const closure = LikelyAtoWarningBanner;
const LikelyAtoWarningBanner2 = LikelyAtoWarningBanner;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(9706) /* metro dependency 9706: ChannelSafetyWarningsStore */).SafetyWarningTypes;
let value = require(11297) /* metro dependency 11297: Constants */;
let value = ConstantsModule2;
const env0_5 = value.getLikelyAtoMoreTips;
const env0_6 = value.LIKELY_ATO_MORE_TIPS_MODAL_KEY;
const env0_7 = value.LEARN_MORE_HC_ARTICLE;
const env0_8 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
const env0_9 = (require(670) /* metro dependency 670: UserSettingsConstants */).MuteUntilSeconds;
value = require(33) /* metro dependency 33 */;
const env0_10 = value.jsx;
const env0_11 = value.Fragment;
const env0_12 = value.jsxs;
value = require(4501) /* metro dependency 4501: createStyles */;
const createStyles = value.createStyles;
const BACKGROUND_BASE_LOWER = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOWER;
const BACKGROUND_BASE_LOWER = (Native).colors.BACKGROUND_BASE_LOWER;
const env0_13 = Reflect.apply(createStyles, value, [{moreTipsHeader: {backgroundColor: BACKGROUND_BASE_LOWER,
shadowColor: 'transparent'}}]);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/ato_alerts/native/components/LikelyAtoWarningBanner.tsx');
exports.default = closure;
exports.LikelyAtoWarningBanner = closure;
}
(FileImportTrackerModule).fileFinishedImporting('modules/ato_alerts/native/components/LikelyAtoWarningBanner.tsx');
exports.default = LikelyAtoWarningBanner2;
exports.LikelyAtoWarningBanner = LikelyAtoWarningBanner2;
function LikelyAtoWarningBanner({channelId, warningId, senderId}) { // fn#86201, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:445, offset: 0x01f8b576, size: 520 bytes, params: 2, frame: 21
var object3;
const env0_3 = useStyles();
env0_3.useEffect(function() {
var moduleValue = require(dependencyMap[8]);
var SAFETY_WARNING_VIEWED = AnalyticEvents.SAFETY_WARNING_VIEWED;
moduleValue.trackViewedEvent(SAFETY_WARNING_VIEWED, {channelId: channelId, warningId: warningId,
senderId: senderId,
warningType: SafetyWarningTypes.LIKELY_ATO});
}, [channelId, warningId, senderId]);
const value2 = env0_3.useCallback(function() {
require(dependencyMap[9]).dismissChannelSafetyWarnings(channelId, [warningId]);
importDefault(dependencyMap[10]).popWithKey(LIKELY_ATO_MORE_TIPS_MODAL_KEY);
}, [channelId, warningId]);
const env0_5 = env0_3.useCallback(_fun86204, [channelId, senderId, warningId, value2]);
object3 = {channelId: channelId, warningId: warningId, senderId: senderId};
const LIKELY_ATO = SafetyWarningTypes.LIKELY_ATO;
object3.warningType = LIKELY_ATO;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const R8UsiI = (require(1244) /* metro dependency 1244: indexNative */).t.R8UsiI;
object3.header = Reflect.apply(string, intl, [R8UsiI]);
object3.description = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.lI8nQl);
object3.onDismiss = value2;
const object = {};
object.text = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.tC1pvL);
object.variant = 'primary';
object.onpress = onpress;
const items2 = [object];
const object2 = {};
object2.text = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.ftIK2A);
object2.variant = 'secondary';
object2.onpress = onpress_86209;
items2[1] = object2;
object3.buttons = items2;
return <SafetyWarningBanner {...object3} />;
function _fun86204(a0) { // fn#86204, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:785, offset: 0x01f8b836, size: 178 bytes, params: 2, frame: 19
const handleMuteSettingPress = MuteSettingsUtilsModule.handleMuteSettingPress;
const channelIdBinding = channelId;
const ALWAYS = MuteUntilSeconds.ALWAYS;
Reflect.apply(handleMuteSettingPress, MuteSettingsUtilsModule, [{channelId: channelIdBinding, guildId: null,
muteDurationSeconds: ALWAYS}]);
const defaultImport = SafetyToastsActionCreatorsNative;
const showMuteSuccessToast = defaultImport.showMuteSuccessToast;
const senderIdBinding = senderId;
Reflect.apply(showMuteSuccessToast, defaultImport, [senderIdBinding, channelIdBinding]);
const trackCtaEvent = SafetyWarningUtilsModule.trackCtaEvent;
const LIKELY_ATO = SafetyWarningTypes.LIKELY_ATO;
Reflect.apply(trackCtaEvent, SafetyWarningUtilsModule, [{channelId: channelIdBinding, warningId: warningId,
senderId: senderIdBinding, warningType: LIKELY_ATO, cta: a0}]);
(0, ChannelSafetyWarningsStoreModule.SafetyWarningTypes)();
}
function LikelyAtoWarningBanner({channelId, warningId, senderId}) { // fn#86201, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:445, offset: 0x01f8b576, size: 520 bytes, params: 2, frame: 21
var object6;
const env0_3 = useStyles();
env0_3.useEffect(function() {
var moduleValue = require(dependencyMap[8]);
var SAFETY_WARNING_VIEWED = AnalyticEvents.SAFETY_WARNING_VIEWED;
moduleValue.trackViewedEvent(SAFETY_WARNING_VIEWED, {channelId: channelId, warningId: warningId,
senderId: senderId,
warningType: SafetyWarningTypes.LIKELY_ATO});
}, [channelId, warningId, senderId]);
const value2 = env0_3.useCallback(function() {
require(dependencyMap[9]).dismissChannelSafetyWarnings(channelId, [warningId]);
importDefault(dependencyMap[10]).popWithKey(LIKELY_ATO_MORE_TIPS_MODAL_KEY);
}, [channelId, warningId]);
const env0_5 = env0_3.useCallback(_fun86204, [channelId, senderId, warningId, value2]);
const SafetyWarningBanner = importDefault(11298) /* metro dependency 11298: SafetyWarningBanner */;
object6 = {channelId: channelId, warningId: warningId, senderId: senderId};
const LIKELY_ATO = SafetyWarningTypes.LIKELY_ATO;
object6.warningType = LIKELY_ATO;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const R8UsiI = (require(1244) /* metro dependency 1244: indexNative */).t.R8UsiI;
object6.header = Reflect.apply(string, intl, [R8UsiI]);
object6.description = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.lI8nQl);
object6.onDismiss = value2;
const object4 = {};
object4.text = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.tC1pvL);
object4.variant = 'primary';
object4.onpress = onpress;
const items2 = [object4];
const object5 = {};
object5.text = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.ftIK2A);
object5.variant = 'secondary';
object5.onpress = onpress_86209;
items2[1] = object5;
object6.buttons = items2;
return <SafetyWarningBanner {...object6} />;
}
function handleLearnMore() { // fn#86205, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:1037, owner: LikelyAtoWarningBanner.handleLearnMore, offset: 0x01f8b8e8, size: 141 bytes, params: 1, frame: 18
const trackCtaEvent = SafetyWarningUtilsModule.trackCtaEvent;
const object = {};
object.channelId = channelId;
object.warningId = warningId;
object.senderId = senderId;
const LIKELY_ATO = SafetyWarningTypes.LIKELY_ATO;
object.warningType = LIKELY_ATO;
const CtaEventTypes = SafetyWarningUtilsModule.CtaEventTypes;
const USER_MODAL_LEARN_MORE = CtaEventTypes.USER_MODAL_LEARN_MORE;
object.cta = USER_MODAL_LEARN_MORE;
Reflect.apply(trackCtaEvent, SafetyWarningUtilsModule, [object]);
(Linking).openURL(LEARN_MORE_HC_ARTICLE);
}
function _fun86204(a0) { // fn#86204, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:785, offset: 0x01f8b836, size: 178 bytes, params: 2, frame: 19
const muteSettingsUtilsModule = require(10627) /* metro dependency 10627: MuteSettingsUtils */;
const handleMuteSettingPress = muteSettingsUtilsModule.handleMuteSettingPress;
const channelIdBinding = channelId;
const ALWAYS = MuteUntilSeconds.ALWAYS;
Reflect.apply(handleMuteSettingPress, muteSettingsUtilsModule, [{channelId: channelIdBinding, guildId: null,
muteDurationSeconds: ALWAYS}]);
const defaultImport = importDefault(6264) /* metro dependency 6264: SafetyToastsActionCreatorsNative */;
const showMuteSuccessToast = defaultImport.showMuteSuccessToast;
const senderIdBinding = senderId;
Reflect.apply(showMuteSuccessToast, defaultImport, [senderIdBinding, channelIdBinding]);
const safetyWarningUtilsModule = require(9731) /* metro dependency 9731: SafetyWarningUtils */;
const trackCtaEvent = safetyWarningUtilsModule.trackCtaEvent;
const LIKELY_ATO = SafetyWarningTypes.LIKELY_ATO;
Reflect.apply(trackCtaEvent, safetyWarningUtilsModule, [{channelId: channelIdBinding, warningId: warningId,
senderId: senderIdBinding, warningType: LIKELY_ATO, cta: a0}]);
env0_4();
}
function LikelyAtoWarningBannerOnpress() { // fn#86206, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:1467, owner: LikelyAtoWarningBanner.onpress, offset: 0x01f8b975, size: 453 bytes, params: 1, frame: 29
const defaultImport = importDefault(dependencyMap[10]);
const pushLazy = defaultImport.pushLazy;
const value2 = require(dependencyMap[17])(dependencyMap[16], dependencyMap.paths);
let object = {};
object.modalKey = LIKELY_ATO_MORE_TIPS_MODAL_KEY;
object.headerStyle = styles.moreTipsHeader;
const channelIdBinding = channelId;
object.channelId = channelIdBinding;
const warningIdBinding = warningId;
object.warningId = warningIdBinding;
const senderIdBinding = senderId;
object.senderId = senderIdBinding;
const intl = require(dependencyMap[15]).intl;
object.description = intl.string(require(dependencyMap[15]).t['/uid3p']);
object.safetyTips = getLikelyAtoMoreTips().map(_fun86207);
object.actionItems = ((Component) => <Component senderId={senderIdBinding} handleMutePressed={handleMutePressed} />)(importDefault(dependencyMap[19]));
const TextWithIOSLinkWorkaround = require(dependencyMap[20]).TextWithIOSLinkWorkaround;
const format = intl.format;
const UkH122 = require(dependencyMap[15]).t.UkH122;
object.learnMore = (
<TextWithIOSLinkWorkaround variant="text-sm/normal" color="text-link">
{Reflect.apply(format, intl, [UkH122, {learnMoreLink: handleLearnMore}])}
</TextWithIOSLinkWorkaround>
);
Reflect.apply(pushLazy, defaultImport, [value2, object, LIKELY_ATO_MORE_TIPS_MODAL_KEY]);
const moduleValue2 = require(dependencyMap[8]);
const trackCtaEvent = moduleValue2.trackCtaEvent;
object = {channelId: channelIdBinding, warningId: warningIdBinding, senderId: senderIdBinding};
const LIKELY_ATO = SafetyWarningTypes.LIKELY_ATO;
object.warningType = LIKELY_ATO;
const CtaEventTypes = require(dependencyMap[8]).CtaEventTypes;
const OPEN_MORE_TIPS = CtaEventTypes.OPEN_MORE_TIPS;
object.cta = OPEN_MORE_TIPS;
Reflect.apply(trackCtaEvent, moduleValue2, [object]);
function _fun86207(a0, a1) { // fn#86207, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:1665, offset: 0x01f8bb3a, size: 148 bytes, params: 3, frame: 24
const jsxRuntimeEnv2_11Binding = jsxRuntimeEnv2_11;
const Text = (TextModule).Text;
return (
<>
<Text
variant="text-md/medium"
color="mobile-text-heading-primary"
key={a1}
>
{a0.title}
</Text>
<Text
variant="text-xs/medium"
color="text-subtle"
key={a1}
>
{a0.description}
</Text>
</>
);
}
function handleLearnMore() { // fn#86205, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:1037, owner: LikelyAtoWarningBanner.handleLearnMore, offset: 0x01f8b8e8, size: 141 bytes, params: 1, frame: 18
const safetyWarningUtilsModule = require(9731) /* metro dependency 9731: SafetyWarningUtils */;
const trackCtaEvent = safetyWarningUtilsModule.trackCtaEvent;
const object2 = {};
object2.channelId = channelId;
object2.warningId = warningId;
object2.senderId = senderId;
const LIKELY_ATO = SafetyWarningTypes.LIKELY_ATO;
object2.warningType = LIKELY_ATO;
const CtaEventTypes = safetyWarningUtilsModule.CtaEventTypes;
const USER_MODAL_LEARN_MORE = CtaEventTypes.USER_MODAL_LEARN_MORE;
object2.cta = USER_MODAL_LEARN_MORE;
Reflect.apply(trackCtaEvent, safetyWarningUtilsModule, [object2]);
(importDefault(3853) /* metro dependency 3853: Linking */).openURL(LEARN_MORE_HC_ARTICLE);
}
function handleMutePressed() { // fn#86208, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:1933, owner: LikelyAtoWarningBanner.onpress.handleMutePressed, offset: 0x01f8bbce, size: 51 bytes, params: 1, frame: 12
const binding = env1_5;
const CtaEventTypes = (SafetyWarningUtilsModule).CtaEventTypes;
const USER_MODAL_MUTE = CtaEventTypes.USER_MODAL_MUTE;
return binding(USER_MODAL_MUTE);
}
function LikelyAtoWarningBannerOnpress() { // fn#86206, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:1467, owner: LikelyAtoWarningBanner.onpress, offset: 0x01f8b975, size: 453 bytes, params: 1, frame: 29
const defaultImport = importDefault(dependencyMap[10]);
const pushLazy = defaultImport.pushLazy;
const value2 = require(dependencyMap[17])(dependencyMap[16], dependencyMap.paths);
let object2 = {};
object2.modalKey = LIKELY_ATO_MORE_TIPS_MODAL_KEY;
object2.headerStyle = styles.moreTipsHeader;
const channelIdBinding = channelId;
object2.channelId = channelIdBinding;
const warningIdBinding = warningId;
object2.warningId = warningIdBinding;
const senderIdBinding = senderId;
object2.senderId = senderIdBinding;
const intl = require(dependencyMap[15]).intl;
object2.description = intl.string(require(dependencyMap[15]).t['/uid3p']);
object2.safetyTips = getLikelyAtoMoreTips().map(_fun86207);
object2.actionItems = ((Component) => <Component senderId={senderIdBinding} handleMutePressed={handleMutePressed} />)(importDefault(dependencyMap[19]));
const TextWithIOSLinkWorkaround = require(dependencyMap[20]).TextWithIOSLinkWorkaround;
const format = intl.format;
const UkH122 = require(dependencyMap[15]).t.UkH122;
object2.learnMore = <TextWithIOSLinkWorkaround variant="text-sm/normal" color="text-link">{Reflect.apply(format,
intl, [UkH122, {learnMoreLink: handleLearnMore}])}</TextWithIOSLinkWorkaround>;
Reflect.apply(pushLazy, defaultImport, [value2, object2, LIKELY_ATO_MORE_TIPS_MODAL_KEY]);
const moduleValue2 = require(dependencyMap[8]);
const trackCtaEvent = moduleValue2.trackCtaEvent;
object2 = {channelId: channelIdBinding, warningId: warningIdBinding, senderId: senderIdBinding};
const LIKELY_ATO = SafetyWarningTypes.LIKELY_ATO;
object2.warningType = LIKELY_ATO;
const CtaEventTypes = require(dependencyMap[8]).CtaEventTypes;
const OPEN_MORE_TIPS = CtaEventTypes.OPEN_MORE_TIPS;
object2.cta = OPEN_MORE_TIPS;
Reflect.apply(trackCtaEvent, moduleValue2, [object2]);
}
}
function LikelyAtoWarningBannerOnpress_86209() { // fn#86209, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:2360, owner: LikelyAtoWarningBanner.onpress, offset: 0x01f8bc01, size: 51 bytes, params: 1, frame: 12
const binding = env0_5;
const CtaEventTypes = (require(9731) /* metro dependency 9731: SafetyWarningUtils */).CtaEventTypes;
const USER_BANNER_MUTE = CtaEventTypes.USER_BANNER_MUTE;
return binding(USER_BANNER_MUTE);
}
function LikelyAtoWarningBannerOnpress_86209() { // fn#86209, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:2360, owner: LikelyAtoWarningBanner.onpress, offset: 0x01f8bc01, size: 51 bytes, params: 1, frame: 12
const binding = env0_5;
const CtaEventTypes = (SafetyWarningUtilsModule).CtaEventTypes;
const USER_BANNER_MUTE = CtaEventTypes.USER_BANNER_MUTE;
return binding(USER_BANNER_MUTE);
}
function _fun86207(a0, a1) { // fn#86207, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:1665, offset: 0x01f8bb3a, size: 148 bytes, params: 3, frame: 24
const jsxRuntimeEnv2_11Binding = jsxRuntimeEnv2_11;
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
return (
<>
<Text
variant="text-md/medium"
color="mobile-text-heading-primary"
key={a1}
>
{a0.title}
</Text>
<Text
variant="text-xs/medium"
color="text-subtle"
key={a1}
>
{a0.description}
</Text>
</>
);
}
}
function handleMutePressed() { // fn#86208, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11482:1933, owner: LikelyAtoWarningBanner.onpress.handleMutePressed, offset: 0x01f8bbce, size: 51 bytes, params: 1, frame: 12
const binding = env1_5;
const CtaEventTypes = (require(9731) /* metro dependency 9731: SafetyWarningUtils */).CtaEventTypes;
const USER_MODAL_MUTE = CtaEventTypes.USER_MODAL_MUTE;
return binding(USER_MODAL_MUTE);
}
global.__d(_fun86200, 11296, [31, 9706, 11297, 661, 670, 33, 4501, 697, 9731, 9732, 5080, 10627, 6264, 3853, 11298,
1244, 11301, 1962, 4573, 11305, 6766,
2]) /* metro module 11296, dependencies: [31, 9706, 11297, 661, 670, 33, 4501, 697, 9731, 9732, 5080, 10627, 6264, 3853, 11298, 1244, 11301, 1962, 4573, 11305, 6766, 2] */;