Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
29 lines
1.6 KiB
TypeScript
29 lines
1.6 KiB
TypeScript
// Module ID: 9451
|
|
// Function ID: 9452
|
|
// Name: MobileStickerPickerUpsellRestyleExperiment
|
|
// Dependencies: [1433, 7955, 2]
|
|
// Exports: getMobileStickerPickerUpsellRestyleEnabled, getMobileStickerPickerUpsellRestyleEnabledForFeature, useMobileStickerPickerUpsellRestyleEnabled
|
|
|
|
// Module 9451 (MobileStickerPickerUpsellRestyleExperiment)
|
|
import EntitlementFeatureNames from "EntitlementFeatureNames" /* 7955 */;
|
|
import ApexExperiment from "ApexExperiment" /* 1433 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const apexExperiment = ApexExperiment.createApexExperiment({ name: "2026-09-mobile-sticker-picker-upsell-restyle", kind: "user", defaultConfig: false, variations: { 0: false, 1: true } });
|
|
const result = size.fileFinishedImporting("modules/premium/experiments/MobileStickerPickerUpsellRestyleExperiment.tsx");
|
|
|
|
export const MobileStickerPickerUpsellRestyleExperiment = apexExperiment;
|
|
export const useMobileStickerPickerUpsellRestyleEnabled = function useMobileStickerPickerUpsellRestyleEnabled(location) {
|
|
return apexExperiment.useConfig({ location });
|
|
};
|
|
export const getMobileStickerPickerUpsellRestyleEnabled = function getMobileStickerPickerUpsellRestyleEnabled(location) {
|
|
return apexExperiment.getConfig({ location });
|
|
};
|
|
export const getMobileStickerPickerUpsellRestyleEnabledForFeature = function getMobileStickerPickerUpsellRestyleEnabledForFeature(featureName, location) {
|
|
let config = featureName === EntitlementFeatureNames.EntitlementFeatureNames.STICKERS_EVERYWHERE;
|
|
if (config) {
|
|
const obj = { location };
|
|
config = apexExperiment.getConfig(obj);
|
|
}
|
|
return config;
|
|
};
|