decord/source/modules/collectibles/native/FeaturedBlock.tsx

41 lines
2.1 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 15033
// Function ID: 15034
2026-07-20 16:05:17 +00:00
// Name: Subblocks
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 17, 21, 712, 4668, 9212, 15034, 7177, 7197, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-24 06:08:38 +00:00
// Module 15033 (Subblocks)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
import context from "context" /* 7177 */;
import contextDefault from "context" /* 7177 */;
import QUICK_SWITCHERDefault from "QUICK_SWITCHER" /* 7197 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
2026-07-20 16:05:17 +00:00
function Subblocks(style) {
2026-07-23 10:11:24 +00:00
style = style.style;
2026-07-20 16:05:17 +00:00
const subblocks = style.featuredBlock.subblocks;
return subblocks.map((subblock, tilePosition) => {
2026-07-29 08:29:29 +00:00
obj = { newValue: obj, children: null };
2026-07-20 16:05:17 +00:00
obj = { tilePosition };
2026-08-24 06:08:38 +00:00
obj = { style, children: closure_1_4(closure_1_1(closure_1_2[6]), obj1) };
obj[1] = closure_1_4(closure_1_3, obj);
return closure_1_4(style(closure_1_2[5]).CollectiblesAnalyticsProvider, obj, tilePosition);
2026-07-20 16:05:17 +00:00
});
}
2026-08-24 06:08:38 +00:00
noopAll;
let closure_5 = createCacheKey.createStyles({ container: { display: "flex", width: "100%", flexDirection: "row", flexWrap: "wrap", gap: ThemesDefault.space.PX_12, paddingHorizontal: ThemesDefault.space.PX_16 }, featuredSubblock: { flex: 1, flexBasis: 400, maxWidth: "100%" } });
const result = require("set").fileFinishedImporting("modules/collectibles/native/FeaturedBlock.tsx");
2026-07-20 16:05:17 +00:00
export default function FeaturedBlock(featuredBlock) {
const tmp = callback();
2026-08-24 06:08:38 +00:00
let obj = { value: contextDefault(QUICK_SWITCHERDefault.COLLECTIBLES_SHOP_FEATURED_BLOCK).analyticsLocations, children: null };
obj = { style: tmp.container, children: <Subblocks value={contextDefault(QUICK_SWITCHERDefault.COLLECTIBLES_SHOP_FEATURED_BLOCK).analyticsLocations}>{null}</Subblocks> };
2026-07-20 16:05:17 +00:00
obj = { featuredBlock: featuredBlock.featuredBlock, style: tmp.featuredSubblock };
2026-07-29 08:29:29 +00:00
obj[1] = <View featuredBlock={arg0.featuredBlock} style={tmp.featuredSubblock} />;
2026-08-24 06:08:38 +00:00
return jsx(context.AnalyticsLocationProvider, { featuredBlock: featuredBlock.featuredBlock, style: tmp.featuredSubblock });
2026-07-20 16:05:17 +00:00
};