decord/beta/source/modules/image_upload/AttachmentImageLadderExperiment.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

26 lines
1.1 KiB
TypeScript

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