decord/stable/source/modules/image_upload/AttachmentImageLadderExperiment.tsx
2026-10-06 22:12:49 +00:00

27 lines
1.1 KiB
TypeScript

// Module ID: 1439
// Function ID: 1440
// Name: AttachmentImageLadderExperiment
// Dependencies: [1440, 1441, 2]
// Exports: getAttachmentImageLadderConfig
// Module 1439 (AttachmentImageLadderExperiment)
import AttachmentImageLadder from "AttachmentImageLadder" /* 1440 */;
import ApexExperiment from "ApexExperiment" /* 1441 */;
import size from "module_2" /* 2 */;
let obj3;
let obj = { enabled: false, maxUpscale: AttachmentImageLadder.ATTACHMENT_LADDER_MAX_UPSCALE, minSnapDownDpr: 2 };
const obj2 = { name: "2026-07-attachment-image-ladder", kind: "user", defaultConfig: obj, variations: obj3 };
obj3 = { 0: obj, 1: null };
const createApexExperiment = ApexExperiment.createApexExperiment;
const obj4 = { enabled: true };
const merged = Object.assign(obj);
obj3[1] = obj4;
const apexExperiment = createApexExperiment(obj2);
const result = size.fileFinishedImporting("modules/image_upload/AttachmentImageLadderExperiment.tsx");
export default apexExperiment;
export const getAttachmentImageLadderConfig = function getAttachmentImageLadderConfig(location) {
const obj = { location: location.location };
return apexExperiment.getConfig(obj);
};