decord/alpha/source/modules/hotspot/HotspotActionCreators.tsx
github-actions 72019a2d0c chore: update source for alpha 348.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-25 08:38:05 +00:00

29 lines
1.3 KiB
TypeScript

// Module ID: 6632
// Function ID: 6633
// Name: HotspotActionCreators
// Dependencies: [1074, 1241, 573, 2]
// Exports: clearHotspotOverride, hideHotspot, setHotspotOverride
// Module 6632 (HotspotActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import Constants from "Constants" /* 1074 */;
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1241 */;
import size from "module_2" /* 2 */;
const AnalyticEvents = Constants.AnalyticEvents;
const result = size.fileFinishedImporting("modules/hotspot/HotspotActionCreators.tsx");
export const hideHotspot = function hideHotspot(GUILD_CAP_INLINE_UPSELL) {
importDefault = GUILD_CAP_INLINE_UPSELL;
AnalyticsUtilsDefault.track(AnalyticEvents.HOTSPOT_HIDDEN, { hotspot_location: GUILD_CAP_INLINE_UPSELL });
const obj2 = { hotspot_location: GUILD_CAP_INLINE_UPSELL };
DispatcherDefault.wait(() => {
DispatcherDefault.dispatch({ type: "HOTSPOT_HIDE", location: _location });
});
};
export const setHotspotOverride = function setHotspotOverride(location, enabled) {
DispatcherDefault.dispatch({ type: "HOTSPOT_OVERRIDE_SET", location, enabled });
};
export const clearHotspotOverride = function clearHotspotOverride(location) {
DispatcherDefault.dispatch({ type: "HOTSPOT_OVERRIDE_CLEAR", location });
};