2026-07-29 08:29:29 +00:00
// Module ID: 1235
// Function ID: 1236
2026-07-20 16:05:17 +00:00
// Name: AbortCodes
2026-07-29 08:29:29 +00:00
// Dependencies: [676, 1236, 2]
2026-07-20 16:05:17 +00:00
// Exports: getThreadNotificationOptions
2026-07-29 08:29:29 +00:00
// Module 1235 (AbortCodes)
2026-07-23 10:11:24 +00:00
import { AbortCodes } from "ME" ;
import set from "set" ;
let obj = { HAS_INTERACTED : 1 , ALL_MESSAGES : 2 , ONLY_MENTIONS : 4 , NO_MESSAGES : 8 } ;
let items = [ , , , ] ;
2026-07-20 16:05:17 +00:00
( { TOO_MANY_ATTACHMENTS : arr [ 0 ] , EXPLICIT_CONTENT : arr [ 1 ] , ENTITY_TOO_LARGE : arr [ 2 ] , EXPLICIT_CONTENT : arr [ 3 ] } = AbortCodes ) ;
2026-07-23 10:11:24 +00:00
let set = new Set ( items ) ;
2026-07-20 16:05:17 +00:00
const items1 = [ , ] ;
( { AUTOMOD_MESSAGE_BLOCKED : arr2 [ 0 ] , AUTOMOD_TITLE_BLOCKED : arr2 [ 1 ] } = AbortCodes ) ;
2026-07-23 10:11:24 +00:00
const result = set . fileFinishedImporting ( "modules/threads/ThreadConstants.tsx" ) ;
2026-07-20 16:05:17 +00:00
export const DEFAULT_AUTO_ARCHIVE_DURATION = 4320 ;
export const MAX_THREAD_MESSAGE_COUNT_OLD = 50 ;
export const MAX_THREAD_MESSAGE_COUNT = 100000 ;
export const MAX_THREAD_MEMBERS_PREVIEW = 50 ;
export const MAX_THREAD_UNREAD_MESSAGE_COUNT = 25 ;
export const ThreadMemberFlags = obj ;
export const OpenThreadAnalyticsLocations = { EMBED : "Embed" , BROWSER : "Thread Browser" , POPOUT : "Active Threads Popout" , CHANNEL_LIST : "Channel List" , GUILD_ACTIVE_THREADS_MODAL : "Guild Active Threads Modal" , INBOX : "Inbox" , FORUM : "Forum" , VOICE_AUTO_OPEN : "Voice Auto Open" } ;
export const getThreadNotificationOptions = function getThreadNotificationOptions() {
2026-07-29 08:29:29 +00:00
obj = { setting : obj.ALL_MESSAGES , label : null } ;
const intl = require ( 1236 ) /* getSystemLocale */ . intl ;
obj [ 1 ] = intl . string ( require ( 1236 ) /* getSystemLocale */ . t [ "n/bTaY" ] ) ;
2026-07-20 16:05:17 +00:00
const items = [ obj , , ] ;
2026-07-29 08:29:29 +00:00
obj = { setting : obj.ONLY_MENTIONS , label : null } ;
const intl2 = require ( 1236 ) /* getSystemLocale */ . intl ;
obj [ 1 ] = intl2 . format ( require ( 1236 ) /* getSystemLocale */ . t . L2hmYy , { } ) ;
2026-07-20 16:05:17 +00:00
items [ 1 ] = obj ;
2026-07-29 08:29:29 +00:00
obj = { setting : obj.NO_MESSAGES , label : null } ;
const intl3 = require ( 1236 ) /* getSystemLocale */ . intl ;
obj [ 1 ] = intl3 . string ( require ( 1236 ) /* getSystemLocale */ . t . CtVGyQ ) ;
2026-07-20 16:05:17 +00:00
items [ 2 ] = obj ;
return items ;
} ;
export const ThreadSortOrderReadableForAnalytics = { LATEST_ACTIVITY : "Last Message" , CREATION_DATE : "Creation" } ;
export const FORUM_POST_CREATION_UPLOAD_ERRORS = set ;
export const FORUM_POST_CREATION_AUTOMOD_ERRORS = new Set ( items1 ) ;