decord/source/modules/profile_customization/native/Banner.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

44 lines
1.5 KiB
TypeScript

// Module ID: 8184
// Function ID: 8185
// Name: ProfileBanner
// Dependencies: [19, 17, 673, 21, 4481, 685, 5542, 2]
// Exports: default
// Module 8184 (ProfileBanner)
import noopAll from "noop" /* 19 */;
import int2hslRaw from "int2hslRaw" /* 685 */;
import preloadDefault from "preload" /* 5542 */;
import { View } from "get ActivityIndicator" /* 17 */;
import { BANNER_HEIGHT } from "ME" /* 673 */;
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4481 */;
require = arg1;
noopAll;
let closure_6 = createCacheKey.createStyles({ root: { width: "100%" }, image: { width: "100%", height: "100%" } });
const result = require("set").fileFinishedImporting("modules/profile_customization/native/Banner.tsx");
export default function ProfileBanner(bannerHeight) {
({ bannerSource, bannerSafeArea } = bannerHeight);
({ style, backgroundColor } = bannerHeight);
if (bannerSafeArea === undefined) {
bannerSafeArea = 0;
}
bannerHeight = bannerHeight.bannerHeight;
if (bannerHeight === undefined) {
bannerHeight = BANNER_HEIGHT;
}
const tmp = callback();
let obj = { backgroundColor: int2hslRaw.int2hex(backgroundColor), height: bannerHeight + bannerSafeArea };
obj = { style: items, children: null };
items = [tmp.root, obj, style];
let tmp3Result = null;
if (null != bannerSource) {
obj = { style: null, source: null };
obj[0] = tmp.image;
obj[1] = bannerSource;
tmp3Result = tmp3(preloadDefault, obj);
}
obj[1] = tmp3Result;
return <View style={items}>{null}</View>;
};