74 lines
2.8 KiB
TypeScript
74 lines
2.8 KiB
TypeScript
// Module ID: 14547
|
|
// Function ID: 14548
|
|
// Name: _initialize
|
|
// Dependencies: [8351, 1090, 1898, 573, 8352, 2]
|
|
|
|
// Module 14547 (_initialize)
|
|
import dispatcherDefault from "dispatcher" /* 573 */;
|
|
import initializeDefault from "initialize" /* 1898 */;
|
|
import _modDef8351 from "module_8351" /* 8351 */;
|
|
import apexExperiment from "apexExperiment" /* 8352 */;
|
|
|
|
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 = _modDef8351.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(1090).Millis.MINUTE);
|
|
let tmp2Result = tmp2(8351);
|
|
const guildChannelScores = tmp2Result.getGuildChannelScores();
|
|
tmp2Result = tmp2(8351);
|
|
const recommendedGuilds = tmp2Result.getRecommendedGuilds();
|
|
const obj2 = _modDef8351;
|
|
}
|
|
};
|
|
const iCYMIManager = new ICYMIManager();
|
|
const result = require("set").fileFinishedImporting("modules/icymi/ICYMIManager.tsx");
|
|
|
|
export default iCYMIManager;
|