decord/source/modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx

47 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11738
// Function ID: 11739
2026-07-29 08:29:29 +00:00
// Name: useGetGuildPowerupBannerImage
2026-08-24 06:08:38 +00:00
// Dependencies: [4669, 589, 2]
2026-07-29 08:29:29 +00:00
// Exports: default, getGuildPowerupBannerImage
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 11738 (useGetGuildPowerupBannerImage)
import initialize from "initialize" /* 589 */;
import closure_2 from "maybeApplyNoTextColorForLightCustomTheme" /* 4669 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
2026-07-29 08:29:29 +00:00
const result = require("set").fileFinishedImporting("modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx");
export default function useGetGuildPowerupBannerImage(animatedImageUrl) {
2026-08-24 06:08:38 +00:00
initialize;
[][0] = closure_2;
2026-07-29 08:29:29 +00:00
if (null != animatedImageUrl) {
if (!tmp2) {
if (false !== arg1) {
if (!arg2) {
let staticImageUrl = animatedImageUrl.animatedImageUrl;
if (staticImageUrl == null) {
staticImageUrl = animatedImageUrl.staticImageUrl;
}
}
}
}
staticImageUrl = animatedImageUrl.staticImageUrl;
}
};
2026-08-24 06:08:38 +00:00
export const getGuildPowerupBannerImage = function getGuildPowerupBannerImage(found, closure_1_4, arg2) {
2026-07-20 16:05:17 +00:00
if (null != found) {
2026-08-24 06:08:38 +00:00
if (!closure_1_4) {
2026-07-20 16:05:17 +00:00
if (false !== arg2) {
if (!arg3) {
let staticImageUrl = found.animatedImageUrl;
2026-07-29 08:29:29 +00:00
if (staticImageUrl == null) {
2026-07-20 16:05:17 +00:00
staticImageUrl = found.staticImageUrl;
}
}
return staticImageUrl;
}
}
staticImageUrl = found.staticImageUrl;
}
};