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

63 lines
2.2 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 11660
// Function ID: 11661
2026-07-20 16:05:17 +00:00
// Name: GuildPowerupPerksSection
2026-07-29 08:29:29 +00:00
// Dependencies: [17, 21, 4189, 712, 11643, 1236, 2255, 11661, 11663, 11665, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-29 08:29:29 +00:00
// Module 11660 (GuildPowerupPerksSection)
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c4;
let c5;
2026-07-23 10:11:24 +00:00
let closure_6;
2026-07-29 08:29:29 +00:00
({ jsx: c4, Fragment: c5, jsxs: closure_6 } = jsxProd);
let obj = { container: null };
obj = { flexDirection: "column", gap: require("Themes").space.PX_16 };
obj[0] = obj;
let closure_7 = createCacheKey.createStyles(obj);
const result = require("createCacheKey").fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsPerksSection.tsx");
2026-07-20 16:05:17 +00:00
export default function GuildPowerupPerksSection(arg0) {
let listings;
2026-07-23 10:11:24 +00:00
let require;
({ 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-07-29 08:29:29 +00:00
const intl = require(1236) /* getSystemLocale */.intl;
obj[0] = intl.string(importDefault(2255).TV3Vm8);
const intl2 = require(1236) /* getSystemLocale */.intl;
obj[1] = intl2.string(importDefault(2255).STx9hp);
const items = [callback(importDefault(11643), 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-07-23 10:11:24 +00:00
return outer1_4(outer1_1(outer1_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-07-23 10:11:24 +00:00
return outer1_4(outer1_1(outer1_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-07-23 10:11:24 +00:00
return outer1_4(outer1_1(outer1_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);
};