Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
40 lines
1.9 KiB
TypeScript
40 lines
1.9 KiB
TypeScript
// Module ID: 4602
|
|
// Function ID: 4603
|
|
// Name: DcfNewUserCooldownExperiment
|
|
// Dependencies: [1438, 1095, 558, 568, 2]
|
|
// Exports: getDcfNewUserCooldown
|
|
|
|
// Module 4602 (DcfNewUserCooldownExperiment)
|
|
import c from "c" /* 568 */;
|
|
import DurationsDefault from "Durations" /* 1095 */;
|
|
import ApexExperiment from "ApexExperiment" /* 1438 */;
|
|
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const obj = { name: "2026-08-dcf-new-user-cooldown", kind: "user", defaultConfig: { newUserCooldownMs: DurationsDefault.Millis.DAY }, variations: null };
|
|
const obj3 = { 1: null, 2: null, 3: null };
|
|
let obj2 = { newUserCooldownMs: DurationsDefault.Millis.DAY };
|
|
obj3[1] = { newUserCooldownMs: 2 * DurationsDefault.Millis.DAY };
|
|
const obj4 = { newUserCooldownMs: 2 * DurationsDefault.Millis.DAY };
|
|
obj3[2] = { newUserCooldownMs: 3 * DurationsDefault.Millis.DAY };
|
|
const obj5 = { newUserCooldownMs: 3 * DurationsDefault.Millis.DAY };
|
|
obj3[3] = { newUserCooldownMs: 7 * DurationsDefault.Millis.DAY };
|
|
obj.variations = obj3;
|
|
let closure_2 = ApexExperiment.createApexExperiment(obj);
|
|
const obj6 = { newUserCooldownMs: 7 * DurationsDefault.Millis.DAY };
|
|
const result = size.fileFinishedImporting("modules/dismissible_content/DcfNewUserCooldownExperiment.tsx");
|
|
|
|
export const useDcfNewUserCooldown = ReactCompilerGating.isReactCompilerEnabled() ? (() => {
|
|
const cResult = c.c(1);
|
|
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
const obj2 = { location: "useDcfNewUserCooldown" };
|
|
cResult[0] = obj2;
|
|
let first = obj2;
|
|
} else {
|
|
first = cResult[0];
|
|
}
|
|
return closure_2.useConfig(first).newUserCooldownMs;
|
|
}) : (() => closure_2.useConfig({ location: "useDcfNewUserCooldown" }).newUserCooldownMs);
|
|
export const getDcfNewUserCooldown = function getDcfNewUserCooldown() {
|
|
return closure_2.getConfig({ location: "getDcfNewUserCooldown" }).newUserCooldownMs;
|
|
};
|