78 lines
2.4 KiB
TypeScript
78 lines
2.4 KiB
TypeScript
// Module ID: 16234
|
|
// Function ID: 16235
|
|
// Name: HolidayEmojiAnimationType
|
|
// Dependencies: [16231, 2]
|
|
|
|
// Module 16234 (HolidayEmojiAnimationType)
|
|
const result = require("set").fileFinishedImporting("modules/holidays/HolidayEventsUtils.tsx");
|
|
|
|
export default {
|
|
isEligible() {
|
|
const isExperimentEligible = importDefault(16231).getIsExperimentEligible();
|
|
const timestamp = Date.now();
|
|
const obj = importDefault(16231);
|
|
const tmp = importDefault;
|
|
return timestamp >= importDefault(16231).startTimeMs && timestamp <= importDefault(16231).endTimeMs && isExperimentEligible;
|
|
},
|
|
useHolidaySoundpack() {
|
|
let obj = importDefault(16231);
|
|
const isExperimentEligible = obj.useIsExperimentEligible();
|
|
const timestamp = Date.now();
|
|
let tmp6 = null;
|
|
if (tmp5) {
|
|
tmp6 = null;
|
|
if (null != tmp(16231).soundpack) {
|
|
tmp6 = null;
|
|
if (null != tmp(16231).soundpackLabel) {
|
|
obj = { soundpack: null, soundpackLabel: null };
|
|
obj[0] = tmp(16231).soundpack;
|
|
obj[1] = tmp(16231).soundpackLabel;
|
|
tmp6 = obj;
|
|
}
|
|
}
|
|
}
|
|
return tmp6;
|
|
},
|
|
useIsEligible() {
|
|
const isExperimentEligible = importDefault(16231).useIsExperimentEligible();
|
|
const timestamp = Date.now();
|
|
const obj = importDefault(16231);
|
|
const tmp = importDefault;
|
|
return timestamp >= importDefault(16231).startTimeMs && timestamp <= importDefault(16231).endTimeMs && isExperimentEligible;
|
|
},
|
|
getAppSpinnerSources() {
|
|
const timestamp = Date.now();
|
|
let appSpinnerSources = null;
|
|
if (tmp4) {
|
|
appSpinnerSources = tmp2(16231).appSpinnerSources;
|
|
}
|
|
return appSpinnerSources;
|
|
},
|
|
getLoadingTips() {
|
|
const timestamp = Date.now();
|
|
let tmp5 = null;
|
|
if (tmp4) {
|
|
const getLoadingTips = tmp2(16231).getLoadingTips;
|
|
let loadingTips;
|
|
if (getLoadingTips != null) {
|
|
loadingTips = getLoadingTips();
|
|
}
|
|
tmp5 = loadingTips;
|
|
const tmp2Result = tmp2(16231);
|
|
}
|
|
return tmp5;
|
|
},
|
|
getHolidaySoundpack() {
|
|
const isExperimentEligible = importDefault(16231).getIsExperimentEligible();
|
|
const timestamp = Date.now();
|
|
const obj = importDefault(16231);
|
|
let soundpack = null;
|
|
if (tmp5) {
|
|
soundpack = null;
|
|
if (null != tmp(16231).soundpack) {
|
|
soundpack = tmp(16231).soundpack;
|
|
}
|
|
}
|
|
return soundpack;
|
|
}
|
|
};
|