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

68 lines
2.7 KiB
TypeScript
Raw Normal View History

2026-08-13 07:00:46 +00:00
// Module ID: 11989
// Function ID: 11990
2026-07-20 16:05:17 +00:00
// Name: importDefaultResult1
2026-08-13 07:00:46 +00:00
// Dependencies: [19, 17, 21, 4342, 689, 712, 5416, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-13 07:00:46 +00:00
// Module 11989 (importDefaultResult1)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import { jsx } from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
import importDefaultResult from "n";
import importDefaultResult1 from "n";
import importDefaultResult2 from "n";
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-29 08:29:29 +00:00
createCacheKey = { cardActive: null, cardExpiring: null, cardRemoving: null };
createCacheKey = { borderColor: null };
const importDefaultResultResult = require("n")(require("Themes").unsafe_rawColors.GREEN_360);
createCacheKey[0] = require("n")(require("Themes").unsafe_rawColors.GREEN_360).alpha(0.35).hex();
createCacheKey[0] = createCacheKey;
const obj1 = { borderColor: null };
const alphaResult = require("n")(require("Themes").unsafe_rawColors.GREEN_360).alpha(0.35);
const importDefaultResult1Result = require("n")(require("Themes").unsafe_rawColors.YELLOW_300);
obj1[0] = require("n")(require("Themes").unsafe_rawColors.YELLOW_300).alpha(0.35).hex();
createCacheKey[1] = obj1;
const obj2 = { borderColor: null };
const alphaResult1 = require("n")(require("Themes").unsafe_rawColors.YELLOW_300).alpha(0.35);
const importDefaultResult2Result = require("n")(require("Themes").unsafe_rawColors.YELLOW_300);
obj2[0] = require("n")(require("Themes").unsafe_rawColors.YELLOW_300).alpha(0.35).hex();
createCacheKey[2] = obj2;
createCacheKey = createCacheKey.createStyles(createCacheKey);
const alphaResult2 = require("n")(require("Themes").unsafe_rawColors.YELLOW_300).alpha(0.35);
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/premium/powerups/native/GuildPowerupsCard.tsx");
2026-07-20 16:05:17 +00:00
export default function GuildPowerupsCard(status) {
let children;
let containerStyle;
let style;
status = status.status;
({ children, containerStyle, style } = status);
2026-07-29 08:29:29 +00:00
const merged = Object.assign(status, Object.create(null));
const tmp2 = createCacheKey();
let obj = { style: containerStyle, children: null };
2026-07-23 10:11:24 +00:00
obj = { border: "faint", radius: 16, shadow: "none" };
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
let type;
2026-07-29 08:29:29 +00:00
if (status != null) {
2026-07-20 16:05:17 +00:00
type = status.type;
}
2026-07-29 08:29:29 +00:00
const items = ["active" === type && tmp2.cardActive, , , ];
2026-07-20 16:05:17 +00:00
let type1;
2026-07-29 08:29:29 +00:00
if (status != null) {
2026-07-20 16:05:17 +00:00
type1 = status.type;
}
2026-07-29 08:29:29 +00:00
items[1] = "expiring" === type1 && tmp2.cardExpiring;
2026-07-20 16:05:17 +00:00
let type2;
2026-07-29 08:29:29 +00:00
if (status != null) {
2026-07-20 16:05:17 +00:00
type2 = status.type;
}
2026-07-29 08:29:29 +00:00
items[2] = "removing" === type2 && tmp2.cardRemoving;
2026-07-20 16:05:17 +00:00
items[3] = style;
2026-07-29 08:29:29 +00:00
obj.style = items;
obj.children = children;
2026-08-13 07:00:46 +00:00
obj[1] = jsx(require(5416) /* PressableCard */.Card, { border: "faint", radius: 16, shadow: "none" });
2026-07-23 10:11:24 +00:00
return <View border="faint" radius={16} shadow="none" />;
2026-07-20 16:05:17 +00:00
};