decord/source/modules/safety_flows/SafetyFlowsExperiment.tsx
2026-08-15 05:55:55 +00:00

18 lines
928 B
TypeScript

// Module ID: 16728
// Function ID: 16729
// Name: isEligibleForSafetyFlowsExperiment
// Dependencies: [1368, 2]
// Exports: isEligibleForSafetyFlowsExperiment, useIsEligibleForSafetyFlowsExperiment
// Module 16728 (isEligibleForSafetyFlowsExperiment)
const tmp2 = require("getUnitId")({ name: "2026-04-safety-flows", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } });
let c0 = tmp2;
const result = require("set").fileFinishedImporting("modules/safety_flows/SafetyFlowsExperiment.tsx");
export default tmp2;
export const isEligibleForSafetyFlowsExperiment = function isEligibleForSafetyFlowsExperiment(location) {
return tmp2.getConfig({ location: location.location }).enabled;
};
export const useIsEligibleForSafetyFlowsExperiment = function useIsEligibleForSafetyFlowsExperiment(location) {
return tmp2.useConfig({ location: location.location }).enabled;
};