Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
29 lines
1.3 KiB
TypeScript
29 lines
1.3 KiB
TypeScript
// Module ID: 7268
|
|
// Function ID: 7269
|
|
// Name: HotspotActionCreators
|
|
// Dependencies: [1074, 1242, 573, 2]
|
|
// Exports: clearHotspotOverride, hideHotspot, setHotspotOverride
|
|
|
|
// Module 7268 (HotspotActionCreators)
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import Constants from "Constants" /* 1074 */;
|
|
import AnalyticsUtilsDefault from "AnalyticsUtils" /* 1242 */;
|
|
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 });
|
|
};
|