Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
30 lines
1.1 KiB
TypeScript
30 lines
1.1 KiB
TypeScript
// Module ID: 14948
|
|
// Function ID: 14949
|
|
// Name: TinyBroncoExperiment
|
|
// Dependencies: [1438, 14949, 2]
|
|
// Exports: isTinyBroncoEnabled, useIsTinyBroncoEnabled
|
|
|
|
// Module 14948 (TinyBroncoExperiment)
|
|
import TinyBroncoGate from "TinyBroncoGate" /* 14949 */;
|
|
import ApexExperiment from "ApexExperiment" /* 1438 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let closure_2 = ApexExperiment.createApexExperiment({ name: "2026-08-tiny-bronco", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true } } });
|
|
const result = size.fileFinishedImporting("modules/tiny_bronco/TinyBroncoExperiment.tsx");
|
|
|
|
export const useIsTinyBroncoEnabled = function useIsTinyBroncoEnabled(location) {
|
|
let enabled = TinyBroncoGate.TINY_BRONCO_DEV_ONLY;
|
|
if (enabled) {
|
|
const obj = { location };
|
|
enabled = closure_2.useConfig(obj).enabled;
|
|
}
|
|
return enabled;
|
|
};
|
|
export const isTinyBroncoEnabled = function isTinyBroncoEnabled(location) {
|
|
let enabled = TinyBroncoGate.TINY_BRONCO_DEV_ONLY;
|
|
if (enabled) {
|
|
const obj = { location };
|
|
enabled = closure_2.getConfig(obj).enabled;
|
|
}
|
|
return enabled;
|
|
};
|