decord/stable/source/modules/vibegrations/lib/useVibegrationsPublishedChannelId.tsx
2026-10-06 22:12:49 +00:00

75 lines
2 KiB
TypeScript

// Module ID: 16277
// Function ID: 16278
// Name: useVibegrationsPublishedChannelId
// Dependencies: [4470, 558, 576, 5371, 504, 2]
// Module 16277 (useVibegrationsPublishedChannelId)
import VibegrationsUtils from "VibegrationsUtils" /* 5371 */;
import GuildChannelStore from "GuildChannelStore" /* 4470 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
const require = globalThis.__r;
let _require, dependencyMap;
const tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? ((arg0, arg1) => {
let closure_0;
let closure_1;
let first;
_require = arg0;
dependencyMap = arg1;
const tmp = _require;
let obj = require("react");
const cResult = obj.c(5);
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
const items = [GuildChannelStore];
cResult[0] = items;
first = items;
} else {
first = cResult[0];
}
if (cResult[1] === arg1) {
let tmp6;
let tmp7;
if (cResult[2] === arg0) {
tmp6 = cResult[3];
tmp7 = cResult[4];
}
const tmpResult = tmp(504);
return tmpResult.useStateFromStores(first, tmp6, tmp7);
}
const fn = function u() {
let result = null;
if (null != closure_1) {
const obj = VibegrationsUtils;
result = obj.findVibegrationChannelId(closure_0, tmp);
}
return result;
};
const items1 = [arg0, arg1];
cResult[1] = arg1;
cResult[2] = arg0;
cResult[3] = fn;
cResult[4] = items1;
tmp7 = items1;
tmp6 = fn;
}) : ((arg0, arg1) => {
let closure_0;
let closure_1;
_require = arg0;
dependencyMap = arg1;
let obj = require("get initialized");
const items = [GuildChannelStore];
const items1 = [arg0, arg1];
return obj.useStateFromStores(items, () => {
let result = null;
if (null != closure_1) {
const obj = VibegrationsUtils;
result = obj.findVibegrationChannelId(closure_0, tmp);
}
return result;
}, items1);
});
let result = size.fileFinishedImporting("modules/vibegrations/lib/useVibegrationsPublishedChannelId.tsx");
export default tmp2;