// Module ID: 9245 // Function ID: 9246 // Name: ProfileEffectSample // Dependencies: [17, 9244, 21, 4668, 712, 5454, 9246, 9247, 2] // Exports: default // Module 9245 (ProfileEffectSample) import set from "set" /* 2 */; import get_ActivityIndicator from "get ActivityIndicator" /* 17 */; import ThemesDefault from "Themes" /* 712 */; import preloadDefault from "preload" /* 5454 */; import SAMPLE_PROFILE_ASPECT_RATIO from "SAMPLE_PROFILE_ASPECT_RATIO" /* 9244 */; import metadataDefault from "metadata" /* 9246 */; import StaticEffectDefault from "StaticEffect" /* 9247 */; import jsxProd from "jsxProd" /* 21 */; import createCacheKey from "createCacheKey" /* 4668 */; const View = get_ActivityIndicator.View; ({ jsx: c3, jsxs: c4 } = jsxProd); let obj = { profileContainer: { position: "absolute", display: "flex", height: "100%", width: "100%" }, profileBackground: null, sampleProfileImage: null, profileBorder: null }; obj = { backgroundColor: ThemesDefault.colors.BACKGROUND_MOD_SUBTLE }; obj[1] = obj; obj[2] = { aspectRatio: SAMPLE_PROFILE_ASPECT_RATIO.SAMPLE_PROFILE_ASPECT_RATIO }; obj[3] = { position: "absolute", height: "100%", width: "100%", borderWidth: 1, borderColor: ThemesDefault.colors.BORDER_MUTED }; let closure_5 = createCacheKey.createStyles(obj); let obj1 = { position: "absolute", height: "100%", width: "100%", borderWidth: 1, borderColor: ThemesDefault.colors.BORDER_MUTED }; const result = set.fileFinishedImporting("modules/collectibles/native/ProfileEffectSampleV2.tsx"); export default function ProfileEffectSample(hideBackground) { let flag = hideBackground.hideBackground; if (flag === undefined) { flag = false; } const tmp = callback2(); const items = [tmp.profileContainer, ]; let profileBackground = !flag; if (!flag) { profileBackground = tmp.profileBackground; } let obj = { style: items, children: null }; items[1] = profileBackground; obj = { style: items1, source: null, accessible: false, resizeMode: "cover" }; items1 = [tmp.sampleProfileImage]; obj = { uri: metadataDefault }; obj[1] = obj; const items2 = [callback(preloadDefault, obj), , ]; let tmp4Result = !flag; if (!flag) { obj1 = { style: null }; obj1[0] = tmp.profileBorder; tmp4Result = tmp4(tmp3, obj1); } items2[1] = tmp4Result; items2[2] = callback(StaticEffectDefault, { skuId: hideBackground.item.skuId, bannerAdjustment: 0, useThumbnail: true }); obj[1] = items2; return closure_4(View, obj); };