// Module ID: 10130 // Function ID: 10131 // Name: initialize // Dependencies: [1218, 589, 709, 2] // Module 10130 (initialize) import initializeDefault from "initialize" /* 589 */; import dispatcherDefault from "dispatcher" /* 709 */; import closure_0 from "fetchFingerprint" /* 1218 */; let closure_1 = {}; const Store = initializeDefault.Store; class RpcNotificationSettingsStore extends Store { } const prototype = RpcNotificationSettingsStore.prototype; prototype["initialize"] = function initialize() { this.waitFor(closure_0); }; prototype["areSlayerNotificationsSuppressed"] = function areSlayerNotificationsSuppressed() { for (const key10002 in closure_1) { let tmp = key10002; let tmp2 = table; let tmp3 = id; if (table[key10002] !== id.getId()) { continue; } else { let flag = true; return true; } } return false; }; RpcNotificationSettingsStore.displayName = "RpcNotificationSettingsStore"; const rpcNotificationSettingsStore = new RpcNotificationSettingsStore(dispatcherDefault, { RPC_APP_DISCONNECTED: function handleRpcAppDisconnected(arg0) { delete tmp2[tmp]; }, SET_RPC_NOTIFICATION_SETTINGS: function handleSetRpcNotificationSettings(suppressNotifications) { delete tmp2[tmp]; if (suppressNotifications.suppressNotifications) { closure_1[suppressNotifications.socketId] = suppressNotifications.targetUserId; } } }); const result = require("set").fileFinishedImporting("modules/notifications/RpcNotificationSettingsStore.tsx"); export default rpcNotificationSettingsStore;