/* Metro module 4503; source: modules/messages/MessageConstants.tsx; dependencies: [661, 672, 561, 2] */ function _fun38545(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38545, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4681:6, offset: 0x010c28d0, size: 928 bytes, params: 8, frame: 25 let Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_0 = (require(661) /* metro dependency 661: Constants */).ChannelStreamTypes; Object = global.Object; const value = Object.freeze({'referencedAvatarProfile': false, 'referencedUsernameProfile': false, 'interactionAvatarProfile': false, 'interactionUsernameProfile': false, 'interactionData': false, 'avatarProfile': false, 'usernameProfile': false, 'emojiPicker': false, 'emojiBurstPicker': false, 'moreUtilities': false, 'contextMenu': false}); const object = {}; const object2 = {}; let Millis = (importDefault(672) /* metro dependency 672: Durations */).Millis; let SECOND = Millis.SECOND; object2.response = 10 * SECOND; Millis = (importDefault(672) /* metro dependency 672: Durations */).Millis; const MINUTE = Millis.MINUTE; object2.deadline = 1 * MINUTE; object.timeout = object2; const backoff = importDefault(561) /* metro dependency 561: Backoff */; Millis = (importDefault(672) /* metro dependency 672: Durations */).Millis; SECOND = Millis.SECOND; const value3 = 0.5 * SECOND; Millis = (importDefault(672) /* metro dependency 672: Durations */).Millis; SECOND = Millis.SECOND; const value4 = 60 * SECOND; const value5 = Object.create(backoff.prototype, {constructor: {value: backoff}}); const backoff2 = new backoff(value3, value4); object.backoff = backoff2 instanceof Object ? backoff2 : value5; object.retries = 8; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/messages/MessageConstants.tsx'); exports.MESSAGE_GROUP_SPACING = [0, 4, 8, 16, 24]; exports.DEFAULT_COZY_SPACING = 16; exports.DEFAULT_COMPACT_SPACING = 0; exports.DEFAULT_POPOUTS = value; exports.MESSAGE_PADDING = 16; exports.PLACEHOLDER_BUFFER = 16; exports.NEW_MESSAGE_BAR_BUFFER = 32; exports.NEW_MESSAGE_BAR_BUFFER_LARGE = 64; exports.NEW_MESSAGE_BAR_ID = '---new-messages-bar'; exports.SPOILER_ATTACHMENT_PREFIX = 'SPOILER_'; exports.DEFAULT_GUILD_OFFICIAL_COLOR = 3447003; exports.GUILD_OFFICIAL_HIGHLIGHT_ALPHA_COLOR = 687865856; exports.GUILD_OFFICIAL_HIGHLIGHT_ALPHA = 0.16; exports.FileUploadErrorTypes = {ERROR_SOURCE_UNKNOWN: 'ERROR_SOURCE_UNKNOWN', PRECOMPRESSION_SUM_TOO_LARGE: 'PRECOMPRESSION_SUM_TOO_LARGE', PRECOMPRESSION_INDIVIDUAL_FILE_TOO_LARGE: 'PRECOMPRESSION_INDIVIDUAL_FILE_TOO_LARGE', POSTCOMPRESSION_SUM_TOO_LARGE: 'POSTCOMPRESSION_SUM_TOO_LARGE', POSTCOMPRESSION_INDIVIDUAL_FILE_TOO_LARGE: 'POSTCOMPRESSION_INDIVIDUAL_FILE_TOO_LARGE', UPLOAD_ATTACHMENT_MAX_SIZE_ERROR: 'UPLOAD_MESSAGE_ATTACHMENT_MAX_SIZE_ERROR', EXPLICIT_CONTENT: 'EXPLICIT_CONTENT'}; exports.MessageTagTypes = {SYSTEM_DM_TAG_SYSTEM_TYPE: 'a', BOT_TAG_SERVER_TYPE: 'b', BOT_TAG_BOT_TYPE: 'd', POLL_TYPE: 'g'}; exports.DEFAULT_MOBILE_PRE_COMPRESSION_MAX_ATTACHMENT_SIZE = 209715200; exports.isChannelStreamMessage = function({type}) { return type === ChannelStreamTypes.MESSAGE; }; exports.MESSAGE_HTTP_TIMEOUT_RETRY_OPTIONS = object; exports.MessageSendLocation = {PUSH_NOTIFICATION: 'push_notification', CHAT_INPUT: 'chat_input', SHARE_MODAL: 'share_modal', VOICE_MESSAGE: 'voice_message', THREAD_CREATION: 'thread_creation', FORWARDING: 'forwarding', USER_PROFILE: 'user_profile', RETRY: 'explicit_retry', OVERLAY: 'overlay', ACTIVITY_SHARE: 'activity_share', ICYMI: 'icymi', INSTANT_UPLOAD: 'instant_upload', APP_COMMAND: 'app_command', PRIVATE_MESSAGE_COMMAND: 'private_message_command', POLL_CREATION: 'poll_creation', SHARE_CUSTOM_THEME: 'share_custom_theme', GIF_REPLY: 'gif_reply', STICKER_REPLY: 'sticker_reply', SEND_WAVE: 'send_wave', GIFTING: 'gifting', CONTENT_INVENTORY_MEMBERLIST: 'content_inventory_memberlist', GREET: 'greet', SOCIAL_LAYER_STOREFRONT: 'social_layer_storefront', MEDIA_MENTION: 'media_mention', OTHER: 'other'}; }