decord/source/modules/premium/powerups/native/GuildPowerupsPerksSection.tsx

64 lines
2.5 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 11787
// Function ID: 11788
2026-07-20 16:05:17 +00:00
// Name: GuildPowerupPerksSection
2026-08-24 06:08:38 +00:00
// Dependencies: [17, 21, 4668, 712, 11770, 1236, 2368, 11788, 11790, 11792, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 11787 (GuildPowerupPerksSection)
import set from "set" /* 2 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import ThemesDefault from "Themes" /* 712 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import messagesProxyDefault from "messagesProxy" /* 2368 */;
import GuildPowerupsSectionHeaderDefault from "GuildPowerupsSectionHeader" /* 11770 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const View = get_ActivityIndicator.View;
2026-07-29 08:29:29 +00:00
({ jsx: c4, Fragment: c5, jsxs: closure_6 } = jsxProd);
let obj = { container: null };
2026-08-24 06:08:38 +00:00
obj = { flexDirection: "column", gap: ThemesDefault.space.PX_16 };
2026-07-29 08:29:29 +00:00
obj[0] = obj;
let closure_7 = createCacheKey.createStyles(obj);
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsPerksSection.tsx");
2026-07-20 16:05:17 +00:00
export default function GuildPowerupPerksSection(arg0) {
2026-07-23 10:11:24 +00:00
({ guildId: require, listings } = arg0);
2026-07-29 08:29:29 +00:00
let obj = { children: null };
obj = { title: null, description: null };
2026-07-20 16:05:17 +00:00
const tmp = callback3();
2026-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
obj[0] = intl.string(messagesProxyDefault.TV3Vm8);
const intl2 = getSystemLocale.intl;
obj[1] = intl2.string(messagesProxyDefault.STx9hp);
const items = [callback(GuildPowerupsSectionHeaderDefault, obj), ];
2026-07-20 16:05:17 +00:00
obj = {
style: tmp.container,
children: listings.map((type) => {
type = type.type;
if ("singlePerk" === type) {
2026-07-29 08:29:29 +00:00
let obj = { guildId: null, powerup: null, badge: null };
obj[0] = closure_0;
({ powerup: obj3[1], badge: obj3[2] } = type);
2026-08-24 06:08:38 +00:00
return closure_1_4(closure_1_1(closure_1_2[7]), obj, type.powerup.skuId);
2026-07-20 16:05:17 +00:00
} else if ("multiPerk" === type) {
2026-07-29 08:29:29 +00:00
obj = { guildId: null, listing: null };
obj[0] = closure_0;
obj[1] = type;
2026-07-20 16:05:17 +00:00
const _HermesInternal2 = HermesInternal;
2026-08-24 06:08:38 +00:00
return closure_1_4(closure_1_1(closure_1_2[8]), obj, "" + type.group + "-" + arg1);
2026-07-20 16:05:17 +00:00
} else if ("gameServer" === type) {
2026-07-29 08:29:29 +00:00
obj = { guildId: null };
obj[0] = closure_0;
2026-07-20 16:05:17 +00:00
const _HermesInternal = HermesInternal;
2026-08-24 06:08:38 +00:00
return closure_1_4(closure_1_1(closure_1_2[9]), obj, "game-server-" + arg1);
2026-07-20 16:05:17 +00:00
} else {
return null;
}
})
};
items[1] = callback(View, obj);
2026-07-29 08:29:29 +00:00
obj[0] = items;
2026-07-20 16:05:17 +00:00
return callback2(closure_5, obj);
};