decord/alpha/source/modules/conversations/TopicalNavigationSurveyStore.tsx
2026-10-12 06:59:38 +00:00

46 lines
1.5 KiB
TypeScript

// Module ID: 9340
// Function ID: 9341
// Name: TopicalNavigationSurveyStore
// Dependencies: [504, 584, 2]
// Module 9340 (TopicalNavigationSurveyStore)
import get_initializedDefault from "get initialized" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 584 */;
import size from "module_2" /* 2 */;
const React = 0;
const DeviceSettingsStore = get_initializedDefault.DeviceSettingsStore;
class TopicalNavigationSurveyStore extends DeviceSettingsStore {
initialize(channelsExposedCount) {
let num;
if (channelsExposedCount != null) {
num = channelsExposedCount.channelsExposedCount;
}
if (num == null) {
num = 0;
}
let closure_0 = num;
}
shouldTriggerOnNextExposure() {
return channelsExposedCount >= 2;
}
getState() {
return { channelsExposedCount };
}
getUserAgnosticState() {
return { channelsExposedCount };
}
}
const prototype = TopicalNavigationSurveyStore.prototype;
TopicalNavigationSurveyStore.displayName = "TopicalNavigationSurveyStore";
TopicalNavigationSurveyStore.persistKey = "TopicalNavigationSurveyStore";
const obj = {
TOPICAL_NAVIGATION_ENTRYPOINT_IMPRESSION: function handleTopicalNavigationEntrypointImpression() {
closure_0 = closure_0 + 1;
}
};
const topicalNavigationSurveyStore = new TopicalNavigationSurveyStore(DispatcherDefault, obj);
const result = size.fileFinishedImporting("modules/conversations/TopicalNavigationSurveyStore.tsx");
export default topicalNavigationSurveyStore;
export const MIN_EXPOSURES_FOR_SURVEY = 3;