Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
45 lines
1.6 KiB
TypeScript
45 lines
1.6 KiB
TypeScript
// Module ID: 7960
|
|
// Function ID: 7961
|
|
// Name: TopicalNavigationSurveyStore
|
|
// Dependencies: [504, 573, 2]
|
|
|
|
// Module 7960 (TopicalNavigationSurveyStore)
|
|
import initializeDefault from "initialize" /* 504 */;
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
|
|
const channelsExposedCount = 0;
|
|
const DeviceSettingsStore = initializeDefault.DeviceSettingsStore;
|
|
class TopicalNavigationSurveyStore extends DeviceSettingsStore {
|
|
}
|
|
const prototype = TopicalNavigationSurveyStore.prototype;
|
|
prototype["initialize"] = function initialize(channelsExposedCount) {
|
|
let num;
|
|
if (channelsExposedCount != null) {
|
|
num = channelsExposedCount.channelsExposedCount;
|
|
}
|
|
if (num == null) {
|
|
num = 0;
|
|
}
|
|
closure_0 = num;
|
|
};
|
|
prototype["shouldTriggerOnNextExposure"] = function shouldTriggerOnNextExposure() {
|
|
return closure_0 >= 2;
|
|
};
|
|
prototype["getState"] = function getState() {
|
|
return { channelsExposedCount };
|
|
};
|
|
prototype["getUserAgnosticState"] = function getUserAgnosticState() {
|
|
return { channelsExposedCount };
|
|
};
|
|
TopicalNavigationSurveyStore.displayName = "TopicalNavigationSurveyStore";
|
|
TopicalNavigationSurveyStore.persistKey = "TopicalNavigationSurveyStore";
|
|
const topicalNavigationSurveyStore = new TopicalNavigationSurveyStore(DispatcherDefault, {
|
|
TOPICAL_NAVIGATION_ENTRYPOINT_IMPRESSION: function handleTopicalNavigationEntrypointImpression() {
|
|
closure_0 = closure_0 + 1;
|
|
}
|
|
});
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/conversations/TopicalNavigationSurveyStore.tsx");
|
|
|
|
export default topicalNavigationSurveyStore;
|
|
export const MIN_EXPOSURES_FOR_SURVEY = 3;
|