decord/source/modules/dismissible_content/DCFEventStore.tsx

38 lines
1.1 KiB
TypeScript
Raw Normal View History

// Module ID: 1946
// Function ID: 1947
// Name: DCFEventStore
// Dependencies: [504, 573, 2]
2026-07-20 16:05:17 +00:00
// Module 1946 (DCFEventStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 573 */;
2026-07-23 10:11:24 +00:00
const DCFEventTypes = { DC_SHOWN: 0, [0]: "DC_SHOWN", DC_SHOW_REQUEST: 1, [1]: "DC_SHOW_REQUEST", DC_DISMISSED: 2, [2]: "DC_DISMISSED" };
2026-07-29 08:29:29 +00:00
let closure_1 = [];
2026-08-24 06:08:38 +00:00
const Store = initializeDefault.Store;
2026-07-29 08:29:29 +00:00
class DCFEventStore extends Store {
}
DCFEventStore.prototype["getDCFEvents"] = function getDCFEvents() {
return closure_1;
};
DCFEventStore.displayName = "DCFEventStore";
const dCFEventStore = new DCFEventStore(DispatcherDefault, {
2026-07-20 16:05:17 +00:00
LOGOUT: function reset() {
2026-08-24 06:08:38 +00:00
closure_1 = [];
2026-07-20 16:05:17 +00:00
},
DCF_EVENT_LOGGED: function handleGenericEvent(arg0) {
({ eventType, dismissibleContent } = arg0);
},
DCF_HANDLE_DC_DISMISSED: function handleDCDismissed(arg0) {
},
DCF_HANDLE_DC_SHOWN: function handleDCShownToUser(arg0) {
}
});
const size = fn(2);
const result = size.fileFinishedImporting("modules/dismissible_content/DCFEventStore.tsx");
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default dCFEventStore;
export { DCFEventTypes };