2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 16322
|
|
|
|
|
// Function ID: 127089
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: _isNativeReflectConstruct
|
2026-07-27 11:26:19 +00:00
|
|
|
// Dependencies: [6, 7, 15, 17, 18, 16323, 3948, 1362, 664, 566, 686, 2]
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 16322 (_isNativeReflectConstruct)
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
import priv from "priv";
|
|
|
|
|
import _possibleConstructorReturn from "_possibleConstructorReturn";
|
|
|
|
|
import _getPrototypeOf from "_getPrototypeOf";
|
|
|
|
|
import _inherits from "_inherits";
|
|
|
|
|
import closure_5 from "_isNativeReflectConstruct";
|
|
|
|
|
import closure_6 from "_isNativeReflectConstruct";
|
|
|
|
|
import importDefaultResult from "priv";
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
function _isNativeReflectConstruct() {
|
2026-07-23 10:11:24 +00:00
|
|
|
let _isNativeReflectConstruct = !valueOf.call(Reflect.construct(Boolean, [], () => {
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
}));
|
|
|
|
|
function _isNativeReflectConstruct() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return _isNativeReflectConstruct;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
const result = _isNativeReflectConstruct();
|
|
|
|
|
}
|
|
|
|
|
let closure_7 = {};
|
|
|
|
|
let closure_8 = {};
|
2026-07-23 10:11:24 +00:00
|
|
|
let c9 = 0;
|
|
|
|
|
let obj = { max: 5, maxAge: require("set").Millis.HOUR };
|
2026-07-20 16:05:17 +00:00
|
|
|
importDefaultResult = new importDefaultResult(obj);
|
2026-07-23 10:11:24 +00:00
|
|
|
let tmp4 = ((Store) => {
|
2026-07-20 16:05:17 +00:00
|
|
|
class GuildSettingsEmojiStore {
|
|
|
|
|
constructor() {
|
|
|
|
|
self = this;
|
|
|
|
|
tmp = GuildSettingsEmojiStore(this, GuildSettingsEmojiStore);
|
2026-07-23 10:11:24 +00:00
|
|
|
obj = outer1_3(GuildSettingsEmojiStore);
|
|
|
|
|
tmp2 = outer1_2;
|
|
|
|
|
if (outer1_11()) {
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp6 = globalThis;
|
|
|
|
|
_Reflect = Reflect;
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp7 = outer1_3;
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp8 = arguments;
|
2026-07-23 10:11:24 +00:00
|
|
|
constructResult = Reflect.construct(obj, arguments, outer1_3(self).constructor);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
tmp3 = arguments;
|
|
|
|
|
tmp4 = arguments;
|
|
|
|
|
constructResult = obj(...arguments);
|
|
|
|
|
}
|
|
|
|
|
return tmp2(self, constructResult);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
callback2(GuildSettingsEmojiStore, Store);
|
|
|
|
|
let obj = {
|
|
|
|
|
key: "initialize",
|
|
|
|
|
value() {
|
2026-07-23 10:11:24 +00:00
|
|
|
this.waitFor(outer1_6);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const items = [obj, , , , ];
|
|
|
|
|
obj = {
|
|
|
|
|
key: "isUploadingEmoji",
|
|
|
|
|
value() {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_9 > 0;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[1] = obj;
|
|
|
|
|
obj = {
|
|
|
|
|
key: "getEmojiRevision",
|
|
|
|
|
value(arg0) {
|
|
|
|
|
let num = 0;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (null != outer1_7[arg0]) {
|
2026-07-20 16:05:17 +00:00
|
|
|
num = tmp;
|
|
|
|
|
}
|
|
|
|
|
return num;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[2] = obj;
|
|
|
|
|
items[3] = {
|
|
|
|
|
key: "getEmojis",
|
|
|
|
|
value(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_8[arg0];
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
items[4] = {
|
|
|
|
|
key: "getEmojiRawAsset",
|
|
|
|
|
value(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
return outer1_10.get(arg0);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
return callback(GuildSettingsEmojiStore, items);
|
2026-07-23 10:11:24 +00:00
|
|
|
})(require("initialize").Store);
|
2026-07-20 16:05:17 +00:00
|
|
|
tmp4.displayName = "GuildSettingsEmojiStore";
|
|
|
|
|
obj = {
|
|
|
|
|
EMOJI_DELETE: function handleEmojiDelete(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
let _isNativeReflectConstruct;
|
2026-07-20 16:05:17 +00:00
|
|
|
let guildId;
|
2026-07-23 10:11:24 +00:00
|
|
|
({ guildId, emojiId: _isNativeReflectConstruct } = arg0);
|
|
|
|
|
table2[guildId] = table2[guildId].filter((id) => id.id !== _isNativeReflectConstruct);
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
EMOJI_FETCH_SUCCESS: function handleFetchSuccess(emojis) {
|
|
|
|
|
emojis = emojis.emojis;
|
2026-07-23 10:11:24 +00:00
|
|
|
closure_8[emojis.guildId] = emojis.map((arg0) => new outer1_5(arg0));
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
EMOJI_FETCH_FAILURE: function handleFetchFailure(guildId) {
|
|
|
|
|
closure_8[guildId.guildId] = [];
|
|
|
|
|
},
|
|
|
|
|
EMOJI_UPLOAD_START: function handleStartUploading() {
|
|
|
|
|
closure_9 = closure_9 + 1;
|
|
|
|
|
},
|
|
|
|
|
EMOJI_UPLOAD_STOP: function handleStopUploading() {
|
|
|
|
|
closure_9 = closure_9 - 1;
|
|
|
|
|
},
|
|
|
|
|
EMOJI_CACHE_RAW_EMOJI_ASSET: function handleCacheRawEmojiAsset(emojiId) {
|
|
|
|
|
const result = importDefaultResult.set(emojiId.emojiId, emojiId.userImage);
|
|
|
|
|
},
|
|
|
|
|
GUILD_EMOJIS_UPDATE: function handleGuildEmojiUpdate(guildId) {
|
|
|
|
|
guildId = guildId.guildId;
|
|
|
|
|
let num = 0;
|
2026-07-23 10:11:24 +00:00
|
|
|
if (null != table[guildId]) {
|
2026-07-20 16:05:17 +00:00
|
|
|
num = tmp2;
|
|
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
table[guildId] = num + 1;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|
2026-07-23 10:11:24 +00:00
|
|
|
tmp4 = new tmp4(require("dispatcher"), obj);
|
|
|
|
|
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/guild_settings/GuildSettingsEmojiStore.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default tmp4;
|