2026-10-01 06:55:13 +00:00
|
|
|
// Module ID: 10855
|
|
|
|
|
// Function ID: 10856
|
2026-09-18 06:58:00 +00:00
|
|
|
// Name: BadgeDirectoryUpdatesExperiment
|
2026-09-26 08:31:33 +00:00
|
|
|
// Dependencies: [1435, 2]
|
2026-09-30 07:29:52 +00:00
|
|
|
// Exports: useIsBadgeDetailsSwipeEnabled, useIsBadgeDirectoryUpdatesEnabled
|
2026-09-18 06:58:00 +00:00
|
|
|
|
2026-10-01 06:55:13 +00:00
|
|
|
// Module 10855 (BadgeDirectoryUpdatesExperiment)
|
2026-09-26 08:31:33 +00:00
|
|
|
import ApexExperiment from "ApexExperiment" /* 1435 */;
|
2026-09-18 06:58:00 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
2026-09-30 07:29:52 +00:00
|
|
|
let closure_0 = ApexExperiment.createApexExperiment({ name: "2026-10-badge-directory-updates", kind: "user", defaultConfig: { enabled: false, swipeBetweenBadges: false }, variations: { 0: { enabled: false, swipeBetweenBadges: false }, 1: { enabled: true, swipeBetweenBadges: false }, 2: { enabled: true, swipeBetweenBadges: true } } });
|
2026-09-18 06:58:00 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/badges/BadgeDirectoryUpdatesExperiment.tsx");
|
|
|
|
|
|
|
|
|
|
export const useIsBadgeDirectoryUpdatesEnabled = function useIsBadgeDirectoryUpdatesEnabled(location) {
|
|
|
|
|
return closure_0.useConfig({ location: location.location }).enabled;
|
|
|
|
|
};
|
2026-09-30 07:29:52 +00:00
|
|
|
export const useIsBadgeDetailsSwipeEnabled = function useIsBadgeDetailsSwipeEnabled(location) {
|
|
|
|
|
const config = closure_0.useConfig({ location: location.location });
|
|
|
|
|
return config.enabled && config.swipeBetweenBadges;
|
|
|
|
|
};
|