37 lines
922 B
TypeScript
37 lines
922 B
TypeScript
// Metro module 15659 (f15660).
|
|
import { CommonTriggerPoints } from "../experiments/ExperimentConstants";
|
|
import { createExperiment } from "../experiments/index";
|
|
const experiment = createExperiment({
|
|
kind: "guild",
|
|
id: "2026-02_hangout_window",
|
|
label: "Hangout Window",
|
|
defaultConfig: {
|
|
enableHangoutWindow: false
|
|
},
|
|
commonTriggerPoint: CommonTriggerPoints.VOICE_CALL,
|
|
treatments: [{
|
|
id: 1,
|
|
label: "Enable Hangout Window",
|
|
config: {
|
|
enableHangoutWindow: true
|
|
}
|
|
}]
|
|
});
|
|
export { experiment as HangoutWindowExperiment };
|
|
export function useHangoutWindowExperiment(a0) {
|
|
return experiment.useExperiment({
|
|
guildId: a0.guildId,
|
|
location: a0.location
|
|
}, {
|
|
autoTrackExposure: true
|
|
});
|
|
}
|
|
export function getHangoutWindowExperiment(a0) {
|
|
return experiment.getCurrentConfig({
|
|
guildId: a0.guildId,
|
|
location: a0.location
|
|
}, {
|
|
autoTrackExposure: true
|
|
});
|
|
}
|