25 lines
935 B
TypeScript
25 lines
935 B
TypeScript
// Module ID: 12648
|
|
// Function ID: 97266
|
|
// Name: getGlobalFramePoolLockExperimentConfig
|
|
// Dependencies: []
|
|
// Exports: getGlobalFramePoolLockExperimentConfig
|
|
|
|
// Module 12648 (getGlobalFramePoolLockExperimentConfig)
|
|
const obj = { margin: "r", paddingHorizontal: "isArray", defaultConfig: { enabled: false }, variations: { [1]: { enabled: true } } };
|
|
let closure_0 = importDefault(dependencyMap[0])(obj);
|
|
const result = arg1(dependencyMap[1]).fileFinishedImporting("modules/media_engine/GlobalFramePoolLockExperiment.tsx");
|
|
|
|
export const getGlobalFramePoolLockExperimentConfig = function getGlobalFramePoolLockExperimentConfig(disable) {
|
|
let flag = disable.disable;
|
|
if (flag === undefined) {
|
|
flag = false;
|
|
}
|
|
let obj = closure_0;
|
|
if (flag) {
|
|
let defaultConfig = obj.definition.defaultConfig;
|
|
} else {
|
|
obj = { location: disable.location };
|
|
defaultConfig = obj.getConfig(obj);
|
|
}
|
|
return defaultConfig;
|
|
};
|