decord/source/modules/hotspot/HotspotActionCreators.tsx

37 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 7234
// Function ID: 7235
2026-07-20 16:05:17 +00:00
// Name: hideHotspot
2026-07-29 08:29:29 +00:00
// Dependencies: [676, 698, 709, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearHotspotOverride, hideHotspot, setHotspotOverride
2026-08-24 06:08:38 +00:00
// Module 7234 (hideHotspot)
import set from "set" /* 2 */;
import ME from "ME" /* 676 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 698 */;
import dispatcherDefault from "dispatcher" /* 709 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const AnalyticEvents = ME.AnalyticEvents;
const result = set.fileFinishedImporting("modules/hotspot/HotspotActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const hideHotspot = function hideHotspot(GUILD_CAP_INLINE_UPSELL) {
2026-08-24 06:08:38 +00:00
importDefault = GUILD_CAP_INLINE_UPSELL;
let obj = expandEventPropertiesDefault;
2026-07-20 16:05:17 +00:00
obj = { hotspot_location: GUILD_CAP_INLINE_UPSELL };
obj.track(AnalyticEvents.HOTSPOT_HIDDEN, obj);
2026-08-24 06:08:38 +00:00
dispatcherDefault.wait(() => {
let obj = GUILD_CAP_INLINE_UPSELL(closure_1_1[2]);
2026-07-23 10:11:24 +00:00
obj = { type: "HOTSPOT_HIDE", location: GUILD_CAP_INLINE_UPSELL };
2026-07-20 16:05:17 +00:00
obj.dispatch(obj);
});
};
export const setHotspotOverride = function setHotspotOverride(location, enabled) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "HOTSPOT_OVERRIDE_SET", location, enabled };
obj.dispatch(obj);
};
export const clearHotspotOverride = function clearHotspotOverride(location) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "HOTSPOT_OVERRIDE_CLEAR", location };
obj.dispatch(obj);
};