2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 12652
|
|
|
|
|
// Function ID: 12653
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: GuildPowerupsImage
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [4628, 21, 4636, 504, 1151, 8936, 5668, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 12652 (GuildPowerupsImage)
|
2026-09-05 10:56:28 +00:00
|
|
|
import initialize from "initialize" /* 504 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import FastImageDefault from "FastImage" /* 5668 */;
|
|
|
|
|
import APNGDecorationNativeComponentDefault from "APNGDecorationNativeComponent" /* 8936 */;
|
|
|
|
|
import AccessibilityStore from "AccessibilityStore" /* 4628 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
|
|
|
|
const jsx = fn(21).jsx;
|
2026-09-12 13:45:10 +00:00
|
|
|
const createStyles = fn(4636);
|
2026-09-10 05:38:07 +00:00
|
|
|
let closure_5 = createStyles.createStyles({ image: { width: "75%", height: "100%", alignSelf: "center", resizeMode: "contain" } });
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsImage.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function GuildPowerupsImage(style) {
|
|
|
|
|
({ imageUrl, isAnimated } = style);
|
|
|
|
|
if (isAnimated === undefined) {
|
|
|
|
|
isAnimated = true;
|
|
|
|
|
}
|
|
|
|
|
style = style.style;
|
2026-09-10 05:38:07 +00:00
|
|
|
const tmp = closure_5();
|
|
|
|
|
const items = [AccessibilityStore];
|
|
|
|
|
const stateFromStores = initialize.useStateFromStores(items, () => useReducedMotion.useReducedMotion);
|
2026-07-20 16:05:17 +00:00
|
|
|
if (obj2.isAndroid()) {
|
|
|
|
|
if (isAnimated) {
|
|
|
|
|
if (!stateFromStores) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj3 = { style: null, url: null };
|
2026-07-20 16:05:17 +00:00
|
|
|
const items1 = [tmp.image, style];
|
2026-09-10 05:38:07 +00:00
|
|
|
obj3.style = items1;
|
|
|
|
|
obj3.url = imageUrl;
|
|
|
|
|
let tmp6 = jsx(APNGDecorationNativeComponentDefault, { style: null, url: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return tmp6;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj4 = { style: null, source: { uri: imageUrl } };
|
2026-07-20 16:05:17 +00:00
|
|
|
const items2 = [tmp.image, style];
|
2026-09-10 05:38:07 +00:00
|
|
|
obj4.style = items2;
|
|
|
|
|
tmp6 = jsx(FastImageDefault, { style: null, source: { uri: imageUrl } });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|