decord/source/modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

47 lines
1.4 KiB
TypeScript

// Module ID: 12550
// Function ID: 12551
// Name: useGetGuildPowerupBannerImage
// Dependencies: [4566, 504, 2]
// Exports: default, getGuildPowerupBannerImage
// Module 12550 (useGetGuildPowerupBannerImage)
import initialize from "initialize" /* 504 */;
import AccessibilityStore from "AccessibilityStore" /* 4566 */;
require = fn;
const size = fn(2);
const result = size.fileFinishedImporting("modules/premium/powerups/hooks/useGetGuildPowerupBannerImage.tsx");
export default function useGetGuildPowerupBannerImage(animatedImageUrl, arg1, arg2) {
initialize;
[][0] = AccessibilityStore;
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) {
if (false !== arg2) {
if (!arg3) {
let staticImageUrl = arr.animatedImageUrl;
if (staticImageUrl == null) {
staticImageUrl = arr.staticImageUrl;
}
}
return staticImageUrl;
}
}
staticImageUrl = arr.staticImageUrl;
}
};