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