decord/alpha/source/modules/video_backgrounds/VideoBackgroundConstants.tsx
2026-10-10 08:08:14 +00:00

28 lines
1.4 KiB
TypeScript

// Module ID: 5255
// Function ID: 5256
// Name: VideoBackgroundConstants
// Dependencies: [2]
// Module 5255 (VideoBackgroundConstants)
import size from "module_2" /* 2 */;
let obj = { OPTION_1: 0, [0]: "OPTION_1", OPTION_2: 1, [1]: "OPTION_2", OPTION_3: 2, [2]: "OPTION_3", OPTION_4: 3, [3]: "OPTION_4", OPTION_7: 7, [7]: "OPTION_7", OPTION_8: 8, [8]: "OPTION_8", OPTION_9: 9, [9]: "OPTION_9", OPTION_10: 10, [10]: "OPTION_10" };
const items = [, , , ];
({ OPTION_7: arr[0], OPTION_8: arr[1], OPTION_9: arr[2], OPTION_10: arr[3] } = obj);
const items1 = [, , , , , , , ];
({ OPTION_7: arr2[0], OPTION_8: arr2[1], OPTION_9: arr2[2], OPTION_10: arr2[3], OPTION_1: arr2[4], OPTION_2: arr2[5], OPTION_3: arr2[6], OPTION_4: arr2[7] } = obj);
const reduced = items1.reduce((acc, item, index) => {
const obj = {};
const merged = Object.assign(acc);
obj[item] = index;
return obj;
}, {});
const result = size.fileFinishedImporting("modules/video_backgrounds/VideoBackgroundConstants.tsx");
export const VideoFilterType = { BACKGROUND: 0, [0]: "BACKGROUND" };
export const DefaultVideoBackground = obj;
export const ANIMATED_DEFAULT_VIDEO_BACKGROUNDS = items;
export const DEFAULT_VIDEO_BACKGROUND_SORT = reduced;
export const BLUR_BACKGROUND_OPTION = "blur";
export const BACKGROUND_REPLACEMENT_SIZE = { width: 1280, height: 720 };
export const MAX_BACKGROUND_IMAGE_UPLOAD_FILESIZE_BYTES = 10485760;