decord/alpha/source/modules/premium/experiments/PremiumGroupExperiment.tsx

35 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 9065
// Function ID: 9066
// Name: PremiumGroupExperiment
2026-10-09 10:00:15 +00:00
// Dependencies: [1453, 558, 576, 2]
2026-07-23 10:11:24 +00:00
2026-10-09 10:00:15 +00:00
// Module 9065 (PremiumGroupExperiment)
2026-10-03 08:58:59 +00:00
import react from "react" /* 576 */;
2026-10-09 10:00:15 +00:00
import ApexExperiment from "ApexExperiment" /* 1453 */;
2026-10-03 08:58:59 +00:00
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
let obj = { name: "2025-12-katsudon", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } };
let closure_2 = ApexExperiment.createApexExperiment(obj);
2026-10-08 09:57:35 +00:00
let tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? (function usePremiumGroupExperiment(location) {
2026-10-03 08:58:59 +00:00
let tmp2;
const obj = react;
const cResult = obj.c(2);
const _location = location.location;
if (cResult[0] !== _location) {
const obj2 = { location: _location };
cResult[0] = _location;
cResult[1] = obj2;
tmp2 = obj2;
} else {
tmp2 = cResult[1];
}
return closure_2.useConfig(tmp2).enabled;
2026-10-08 09:57:35 +00:00
}) : (function usePremiumGroupExperiment(location) {
2026-10-03 08:58:59 +00:00
const obj = { location: location.location };
return closure_2.useConfig(obj).enabled;
});
const result = size.fileFinishedImporting("modules/premium/experiments/PremiumGroupExperiment.tsx");
2026-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
export default tmp2;