decord/source/modules/quests/native/BountiesModal/BountiesModalEndCard.tsx

71 lines
2.8 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 14483
// Function ID: 14484
2026-07-20 16:05:17 +00:00
// Name: BountiesModalEndCard
2026-08-24 06:08:38 +00:00
// Dependencies: [17, 21, 4668, 4119, 4671, 4674, 4761, 14465, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 14483 (BountiesModalEndCard)
import set from "set" /* 2 */;
import _modDef4119 from "module_4119" /* 4119 */;
import LinearGradientDefault from "LinearGradient" /* 4761 */;
import BountiesEndCardPressableCtaDefault from "BountiesEndCardPressableCta" /* 14465 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
({ StyleSheet: c3, View: c4 } = get_ActivityIndicator);
({ jsx: c5, jsxs: closure_6 } = jsxProd);
let closure_7 = createCacheKey.createStyles(() => {
let obj = { container: { position: "absolute", top: 0, left: 0, right: 0, bottom: 0, justifyContent: "center", alignItems: "center" }, backdropTint: null, backdropGradient: null };
2026-07-20 16:05:17 +00:00
obj = {};
const merged = Object.assign(closure_3.absoluteFillObject);
2026-07-29 08:29:29 +00:00
obj.backgroundColor = "rgba(241, 251, 169, 0.15)";
obj[1] = obj;
2026-07-20 16:05:17 +00:00
obj = {};
const merged1 = Object.assign(closure_3.absoluteFillObject);
2026-07-29 08:29:29 +00:00
obj[2] = obj;
2026-07-20 16:05:17 +00:00
return obj;
});
let closure_8 = { code: "function BountiesModalEndCardTsx1(){const{withTiming,visible,timingStandard}=this.__closure;return{opacity:withTiming(visible?1:0,timingStandard)};}" };
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/quests/native/BountiesModal/BountiesModalEndCard.tsx");
2026-07-20 16:05:17 +00:00
export default function BountiesModalEndCard(visible) {
visible = visible.visible;
({ bounty, sourceQuestContent } = visible);
const tmp = callback3();
2026-08-24 06:08:38 +00:00
visible(4119);
2026-07-20 16:05:17 +00:00
const fn = function y() {
2026-08-24 06:08:38 +00:00
let obj = visible(closure_1_2[4]);
2026-07-20 16:05:17 +00:00
let num = 0;
if (visible) {
num = 1;
}
2026-08-24 06:08:38 +00:00
obj = { opacity: obj.withTiming(num, visible(closure_1_2[5]).timingStandard) };
2026-07-20 16:05:17 +00:00
return obj;
};
2026-08-24 06:08:38 +00:00
let obj = { withTiming: visible(4671).withTiming, visible, timingStandard: visible(4674).timingStandard };
2026-07-20 16:05:17 +00:00
fn.__closure = obj;
fn.__workletHash = 15062259404736;
fn.__initData = closure_8;
if (visible) {
2026-07-29 08:29:29 +00:00
obj = { style: null, pointerEvents: "box-none", children: null };
const items = [tmp.container, tmp4];
obj[0] = items;
obj = { style: null };
obj[0] = tmp.backdropTint;
2026-07-20 16:05:17 +00:00
const items1 = [callback(closure_4, obj), , ];
2026-08-24 06:08:38 +00:00
obj1 = { colors: null, locations: null, style: null };
2026-07-29 08:29:29 +00:00
obj1[0] = ["rgba(0, 0, 0, 0.60)", "rgba(0, 0, 0, 1)"];
obj1[1] = [0, 0.841];
obj1[2] = tmp.backdropGradient;
2026-08-24 06:08:38 +00:00
items1[1] = callback(LinearGradientDefault, obj1);
2026-07-29 08:29:29 +00:00
const obj2 = { bounty: null, sourceQuestContent: null };
obj2[0] = bounty;
obj2[1] = sourceQuestContent;
2026-08-24 06:08:38 +00:00
items1[2] = callback(BountiesEndCardPressableCtaDefault, obj2);
2026-07-29 08:29:29 +00:00
obj[2] = items1;
2026-08-24 06:08:38 +00:00
visible = callback2(_modDef4119.View, obj);
2026-07-20 16:05:17 +00:00
}
return visible;
};