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

48 lines
1.4 KiB
TypeScript
Raw Normal View History

// Module ID: 12649
// Function ID: 12650
2026-07-29 08:29:29 +00:00
// Name: useGetGuildPowerupBannerImage
// Dependencies: [4628, 504, 2]
2026-07-29 08:29:29 +00:00
// Exports: default, getGuildPowerupBannerImage
2026-07-20 16:05:17 +00:00
// Module 12649 (useGetGuildPowerupBannerImage)
import initialize from "initialize" /* 504 */;
import AccessibilityStore from "AccessibilityStore" /* 4628 */;
2026-07-23 10:11:24 +00:00
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx");
2026-07-29 08:29:29 +00:00
export default function useGetGuildPowerupBannerImage(animatedImageUrl, arg1, arg2) {
2026-08-24 06:08:38 +00:00
initialize;
[][0] = AccessibilityStore;
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;
}
};
export const getGuildPowerupBannerImage = function getGuildPowerupBannerImage(arr, stateFromStores1, arg2, arg3) {
if (null != arr) {
if (!stateFromStores1) {
2026-07-20 16:05:17 +00:00
if (false !== arg2) {
if (!arg3) {
let staticImageUrl = arr.animatedImageUrl;
2026-07-29 08:29:29 +00:00
if (staticImageUrl == null) {
staticImageUrl = arr.staticImageUrl;
2026-07-20 16:05:17 +00:00
}
}
return staticImageUrl;
}
}
staticImageUrl = arr.staticImageUrl;
2026-07-20 16:05:17 +00:00
}
};