74 lines
2.8 KiB
TypeScript
74 lines
2.8 KiB
TypeScript
// Module ID: 14012
|
|
// Function ID: 14013
|
|
// Name: _initialize
|
|
// Dependencies: [9060, 687, 4562, 709, 9061, 2]
|
|
|
|
// Module 14012 (_initialize)
|
|
import dispatcherDefault from "dispatcher" /* 709 */;
|
|
import initializeDefault from "initialize" /* 4562 */;
|
|
import _modDef9060 from "module_9060" /* 9060 */;
|
|
import apexExperiment from "apexExperiment" /* 9061 */;
|
|
|
|
require = arg1;
|
|
let c3 = null;
|
|
initializeDefault;
|
|
class ICYMIManager extends tmp2 {
|
|
}
|
|
const prototype = ICYMIManager.prototype;
|
|
prototype["_initialize"] = function _initialize() {
|
|
const subscription = dispatcherDefault.subscribe("POST_CONNECTION_OPEN", this.handlePostConnectionOpen);
|
|
};
|
|
prototype["_terminate"] = function _terminate() {
|
|
dispatcherDefault.unsubscribe("POST_CONNECTION_OPEN", this.handlePostConnectionOpen);
|
|
};
|
|
prototype["handlePostConnectionOpen"] = function handlePostConnectionOpen() {
|
|
let obj = apexExperiment;
|
|
if (obj.getICYMIEnabled("ICYMIManager")) {
|
|
obj = { isInitialLoad: null };
|
|
obj[0] = true;
|
|
const dehydrated = _modDef9060.fetchDehydrated(obj);
|
|
if (null != timeout) {
|
|
const _clearTimeout = clearTimeout;
|
|
clearTimeout(timeout);
|
|
}
|
|
const _setTimeout = setTimeout;
|
|
timeout = setTimeout(() => {
|
|
let dehydrated = callback(table[0]).fetchDehydrated({ isInitialLoad: false });
|
|
if (null != timeout) {
|
|
let _clearTimeout = clearTimeout;
|
|
clearTimeout(timeout);
|
|
}
|
|
timeout = setTimeout(() => {
|
|
let dehydrated = callback(table[0]).fetchDehydrated({ isInitialLoad: false });
|
|
if (null != timeout) {
|
|
let _clearTimeout = clearTimeout;
|
|
clearTimeout(timeout);
|
|
}
|
|
timeout = setTimeout(() => {
|
|
let dehydrated = callback(table[0]).fetchDehydrated({ isInitialLoad: false });
|
|
if (null != timeout) {
|
|
let _clearTimeout = clearTimeout;
|
|
clearTimeout(timeout);
|
|
}
|
|
timeout = setTimeout(() => {
|
|
let dehydrated = callback(table[0]).fetchDehydrated({ isInitialLoad: false });
|
|
if (null != timeout) {
|
|
let _clearTimeout = clearTimeout;
|
|
clearTimeout(timeout);
|
|
}
|
|
timeout = setTimeout(() => { ... }, 15 * callback(table[1]).Millis.MINUTE);
|
|
}, 15 * callback(table[1]).Millis.MINUTE);
|
|
}, 15 * callback(table[1]).Millis.MINUTE);
|
|
}, 15 * callback(table[1]).Millis.MINUTE);
|
|
}, 15 * tmp2(687).Millis.MINUTE);
|
|
let tmp2Result = tmp2(9060);
|
|
const guildChannelScores = tmp2Result.getGuildChannelScores();
|
|
tmp2Result = tmp2(9060);
|
|
const recommendedGuilds = tmp2Result.getRecommendedGuilds();
|
|
const obj2 = _modDef9060;
|
|
}
|
|
};
|
|
const iCYMIManager = new ICYMIManager();
|
|
const result = require("set").fileFinishedImporting("modules/icymi/ICYMIManager.tsx");
|
|
|
|
export default iCYMIManager;
|