decord/beta/source/modules/quests/experiments/BountiesAndroidQuestBarSmokeAnimationExperiment.tsx

38 lines
1.5 KiB
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 15482
// Function ID: 15483
// Name: BountiesAndroidQuestBarSmokeAnimationExperiment
2026-10-12 16:32:48 +00:00
// Dependencies: [1453, 558, 576, 2]
2026-10-12 16:32:48 +00:00
// Module 15482 (BountiesAndroidQuestBarSmokeAnimationExperiment)
2026-10-02 13:37:24 +00:00
import react from "react" /* 576 */;
2026-10-12 16:32:48 +00:00
import ApexExperiment from "ApexExperiment" /* 1453 */;
2026-10-02 13:37:24 +00:00
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
2026-10-01 14:13:23 +00:00
let obj2;
let obj = { name: "2026-09-bounties-android-quest-bar-smoke-animation", kind: "user", defaultConfig: { enabled: false }, variations: obj2 };
obj2 = { 1: null };
obj2[1] = { enabled: true };
const apexExperiment = ApexExperiment.createApexExperiment(obj);
2026-10-12 16:32:48 +00:00
const tmp3 = ReactCompilerGating.isReactCompilerEnabled() ? (function useIsBountiesAndroidQuestBarSmokeAnimationEnabled(location) {
2026-10-02 13:37:24 +00:00
let tmp2;
const obj = react;
const cResult = obj.c(2);
if (cResult[0] !== location) {
const obj2 = { location };
cResult[0] = location;
cResult[1] = obj2;
tmp2 = obj2;
} else {
tmp2 = cResult[1];
}
return apexExperiment.useConfig(tmp2).enabled;
2026-10-12 16:32:48 +00:00
}) : (function useIsBountiesAndroidQuestBarSmokeAnimationEnabled(location) {
2026-10-02 13:37:24 +00:00
const obj = { location };
return apexExperiment.useConfig(obj).enabled;
});
const result = size.fileFinishedImporting("modules/quests/experiments/BountiesAndroidQuestBarSmokeAnimationExperiment.tsx");
export const BountiesAndroidQuestBarSmokeAnimationExperiment = apexExperiment;
2026-10-02 13:37:24 +00:00
export const useIsBountiesAndroidQuestBarSmokeAnimationEnabled = tmp3;