decord/beta/source/modules/conversations/TopicalNavigationSurveyStore.tsx
github-actions 84d017ff78 chore: update source for beta 348.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
2026-09-28 16:18:32 +00:00

45 lines
1.6 KiB
TypeScript

// Module ID: 7334
// Function ID: 7335
// Name: TopicalNavigationSurveyStore
// Dependencies: [504, 573, 2]
// Module 7334 (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;