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

46 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 11765
// Function ID: 11766
2026-07-29 08:29:29 +00:00
// Name: useGetGuildPowerupBannerImage
2026-08-05 07:35:12 +00:00
// Dependencies: [4247, 589, 2]
2026-07-29 08:29:29 +00:00
// Exports: default, getGuildPowerupBannerImage
2026-07-20 16:05:17 +00:00
2026-08-05 07:35:12 +00:00
// Module 11765 (useGetGuildPowerupBannerImage)
2026-07-29 08:29:29 +00:00
import maybeApplyNoTextColorForLightCustomTheme from "maybeApplyNoTextColorForLightCustomTheme";
2026-07-23 10:11:24 +00:00
const 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) {
require(589) /* initialize */;
[][0] = maybeApplyNoTextColorForLightCustomTheme;
if (null != animatedImageUrl) {
if (!tmp2) {
if (false !== arg1) {
if (!arg2) {
let staticImageUrl = animatedImageUrl.animatedImageUrl;
if (staticImageUrl == null) {
staticImageUrl = animatedImageUrl.staticImageUrl;
}
}
}
}
staticImageUrl = animatedImageUrl.staticImageUrl;
}
};
export const getGuildPowerupBannerImage = function getGuildPowerupBannerImage(found, outer1_4, arg2) {
2026-07-20 16:05:17 +00:00
if (null != found) {
2026-07-23 10:11:24 +00:00
if (!outer1_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;
}
};