// Module ID: 9690 // Function ID: 9691 // Name: SendMessageOptionsStore // Dependencies: [5085, 504, 584, 2] // Module 9690 (SendMessageOptionsStore) import get_initializedDefault from "get initialized" /* 504 */; import DispatcherDefault from "Dispatcher" /* 584 */; import MessageConstants from "MessageConstants" /* 5085 */; import size from "module_2" /* 2 */; const MessageSendLocation = MessageConstants.MessageSendLocation; const Store = get_initializedDefault.Store; class SendMessageOptionsStore extends Store { getOptions(arg0) { return closure_1[arg0]; } } const prototype = SendMessageOptionsStore.prototype; SendMessageOptionsStore.displayName = "SendMessageOptionsStore"; let obj = { MESSAGE_CREATE: function handleMessageCreate(arg0) { let OTHER; let message; let sendMessageOptions; ({ message, sendMessageOptions } = arg0); if (null != sendMessageOptions) { const id = message.id; const obj = { location: OTHER }; const merged = Object.assign(sendMessageOptions); OTHER = sendMessageOptions.location; const tmp = closure_1; if (OTHER == null) { OTHER = MessageSendLocation.OTHER; } tmp[id] = obj; } const tmp6 = null != message.nonce && message.nonce !== message.id && message.nonce in closure_1; if (tmp6) { delete closure_1[message.nonce]; } } }; const sendMessageOptionsStore = new SendMessageOptionsStore(DispatcherDefault, obj); const result = size.fileFinishedImporting("modules/messages/SendMessageOptionsStore.tsx"); export default sendMessageOptionsStore;