/* Metro module 8182; source: modules/messages/native/renderer/MessageWithContent.tsx; dependencies: [8183, 8178, 8184, 1244, 8352, 2] */ function _fun65624(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#65624, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8367:6, offset: 0x01bd5821, size: 140 bytes, params: 8, frame: 19 const env0_0 = require; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const guildAutomodMessageStore = importDefault(8183) /* metro dependency 8183: GuildAutomodMessageStore */; const env0_4 = (require(8178) /* metro dependency 8178: RowGeneratorConstants */).RowType; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/messages/native/renderer/MessageWithContent.tsx'); exports.generateMessageRowData = generateMessageRowData; } function generateMessageRowData(a0, a1, a2) { // fn#65625, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8367:238, offset: 0x01bd58ad, size: 710 bytes, params: 4, frame: 34 const changeType = a0.changeType; const message = a0.message; const roleStyle = a0.roleStyle; const isFirst = a0.isFirst; const isEditing = a0.isEditing; const separatorBefore = a0.separatorBefore; const canAddNewReactions = a0.canAddNewReactions; const reactionsTheme = a0.reactionsTheme; const isSystemDM = a0.isSystemDM; const r20 = isSystemDM !== undefined && isSystemDM; const canShowImages = a0.canShowImages; const r21 = canShowImages === undefined || canShowImages; const truncation = a0.truncation; const renderContentOnly = a0.renderContentOnly; const pushFeedbackType = a0.pushFeedbackType; const alwaysShowAddReaction = a0.alwaysShowAddReaction; const r4 = alwaysShowAddReaction !== undefined && alwaysShowAddReaction; const overrideBackgroundHighlight = a0.overrideBackgroundHighlight; const showContentInventoryEntryFallbackEmbed = a0.showContentInventoryEntryFallbackEmbed; const object2 = {}; const MESSAGE = RowType.MESSAGE; object2.type = MESSAGE; object2.message = (importDefault(8184) /* metro dependency 8184: createMessageContent */)({options: a1, message: message, roleStyle: roleStyle, isFirst: isFirst, isEditing: isEditing, canShowImages: r21, isSystemDM: r20, isInlineReplyPreview: false, pushFeedbackType: pushFeedbackType, renderContentOnly: renderContentOnly, showContentInventoryEntryFallbackEmbed: showContentInventoryEntryFallbackEmbed}); object2.canAddNewReactions = canAddNewReactions; const intl = (require(1244) /* metro dependency 1244: indexNative */).intl; let string = intl.string; const t = (require(1244) /* metro dependency 1244: indexNative */).t; object2.addNewReactionAccessibilityLabel = Reflect.apply(string, intl, [t.lfIHs4]); object2.reactionsTheme = reactionsTheme; object2.highlightLabel = intl.string(t['IOS/dU']); object2.renderContentOnly = renderContentOnly; object2.separatorBefore = separatorBefore; object2.changeType = changeType; object2.truncation = truncation; object2.alwaysShowAddReaction = r4; object2.backgroundHighlight = overrideBackgroundHighlight ?? (importDefault(8352) /* metro dependency 8352: RowGeneratorUtils */).createBackgroundHighlight({message: message, theme: a2, isEditing: isEditing, isAutomodBlockedMessage: GuildAutomodMessageStore.getMessage(message.id) != null}); const defaultImport3 = importDefault(8352) /* metro dependency 8352: RowGeneratorUtils */; object2.swipeActions = defaultImport3.createSwipeActions(a1.enableSwipeActions && a0.canReply, a1.enableSwipeActions && a0.canEdit); object2.replyAccessibilityLabel = intl.string(t['5IEsGx']); string = intl.string; const I3ltXO = t.I3ltXO; object2.forwardAccessibilityLabel = Reflect.apply(string, intl, [I3ltXO]); object2.threadAccessibilityLabel = intl.string(t.rBIGBL); return object2; }