// Module ID: 4306 // Function ID: 4307 // Name: experiment // Dependencies: [4290, 2] // Exports: getFileUpload250MbPowerupEnabled, getFileUpload250MbPowerupRollbackEnabled, useFileUpload250MbPowerupEnabled, useFileUpload250MbPowerupRollbackEnabled // Module 4306 (experiment) import set from "set" /* 2 */; import createExperiment from "createExperiment" /* 4290 */; const items = [{ id: 1, label: "Enable File Upload 250MB Powerup", config: { enabled: true, rollbackEnabled: false } }, { id: 2, label: "Rollback UI for File Upload 250MB Powerup", config: { enabled: true, rollbackEnabled: true } }]; const experiment = createExperiment.createExperiment({ kind: "guild", id: "2026-03_file_upload_250_mb_powerup", label: "File Upload 250MB Powerup", defaultConfig: { enabled: false, rollbackEnabled: false }, treatments: items }); const result = set.fileFinishedImporting("modules/premium/powerups/experiments/FileUpload250MbPowerupExperiment.tsx"); export const FileUpload250MbPowerupExperiment = experiment; export const getFileUpload250MbPowerupEnabled = function getFileUpload250MbPowerupEnabled(guildId, GuildPowerupsConstants) { return experiment.getCurrentConfig({ guildId, location: GuildPowerupsConstants }, { autoTrackExposure: false }).enabled; }; export const useFileUpload250MbPowerupEnabled = function useFileUpload250MbPowerupEnabled(guildId, location) { return experiment.useExperiment({ guildId, location }, { autoTrackExposure: false }).enabled; }; export const useFileUpload250MbPowerupRollbackEnabled = function useFileUpload250MbPowerupRollbackEnabled(guildId, location) { return experiment.useExperiment({ guildId, location }, { autoTrackExposure: false }).rollbackEnabled; }; export const getFileUpload250MbPowerupRollbackEnabled = function getFileUpload250MbPowerupRollbackEnabled(guildId, location) { return experiment.getCurrentConfig({ guildId, location }, { autoTrackExposure: false }).rollbackEnabled; };