// Module ID: 8368 // Function ID: 8369 // Name: VoiceUserAffinityExperiment // Dependencies: [1438, 558, 568, 2] // Exports: getVoiceUserAffinitySortType // Module 8368 (VoiceUserAffinityExperiment) import c from "c" /* 568 */; import ApexExperiment from "ApexExperiment" /* 1438 */; import ReactCompilerGating from "ReactCompilerGating" /* 558 */; import size from "module_2" /* 2 */; const apexExperiment = ApexExperiment.createApexExperiment({ kind: "user", name: "2025-08-voice-user-affinity", defaultConfig: { enabled: false }, variations: { 0: { enabled: false, sortType: "Array" }, 1: { enabled: true, sortType: "vc_probability" }, 2: { enabled: true, sortType: "communication_probability" } } }); const result = size.fileFinishedImporting("modules/user_affinities/VoiceUserAffinityExperiment.tsx"); export default apexExperiment; export const getVoiceUserAffinitySortType = function getVoiceUserAffinitySortType(location) { return apexExperiment.getConfig({ location }).sortType; }; export const useVoiceUserAffinitySortType = ReactCompilerGating.isReactCompilerEnabled() ? ((location) => { const cResult = c.c(2); if (cResult[0] !== location) { const obj2 = { location }; cResult[0] = location; cResult[1] = obj2; let tmp2 = obj2; } else { tmp2 = cResult[1]; } return apexExperiment.useConfig(tmp2).sortType; }) : ((location) => apexExperiment.useConfig({ location }).sortType);