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

41 lines
1.5 KiB
TypeScript

// Module ID: 17279
// Function ID: 17280
// Name: SafetyFlowsExperiment
// Dependencies: [1442, 558, 576, 2]
// Exports: isEligibleForSafetyFlowsExperiment
// Module 17279 (SafetyFlowsExperiment)
import react from "react" /* 576 */;
import apex_ApexExperimentDefault from "apex/ApexExperiment" /* 1442 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
let obj = { name: "2026-04-safety-flows", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } };
let tmp2 = apex_ApexExperimentDefault(obj);
let closure_2 = tmp2;
const tmp3 = ReactCompilerGating.isReactCompilerEnabled() ? ((location) => {
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;
}) : ((location) => {
const obj = { location: location.location };
return closure_2.useConfig(obj).enabled;
});
const result = size.fileFinishedImporting("modules/safety_flows/SafetyFlowsExperiment.tsx");
export default tmp2;
export const isEligibleForSafetyFlowsExperiment = function isEligibleForSafetyFlowsExperiment(location) {
const obj = { location: location.location };
return closure_2.getConfig(obj).enabled;
};
export const useIsEligibleForSafetyFlowsExperiment = tmp3;