Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
26 lines
985 B
TypeScript
26 lines
985 B
TypeScript
// Module ID: 11668
|
|
// Function ID: 11669
|
|
// Name: PremiumMarketingUtil
|
|
// Dependencies: [1074, 7434, 7638, 1100, 2]
|
|
// Exports: navigateToNitroHomePage, navigateToPremiumHomePage
|
|
|
|
// Module 11668 (PremiumMarketingUtil)
|
|
import router_utils from "router_utils" /* 1100 */;
|
|
import openUserSettings from "openUserSettings" /* 7434 */;
|
|
import LayerActionCreators from "LayerActionCreators" /* 7638 */;
|
|
import Constants from "Constants" /* 1074 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
({ Routes: c2, UserSettingsSections: c3 } = Constants);
|
|
const result = size.fileFinishedImporting("modules/premium/PremiumMarketingUtil.tsx");
|
|
|
|
export const navigateToPremiumHomePage = function navigateToPremiumHomePage() {
|
|
openUserSettings.openUserSettings({ screen: constants2.PREMIUM });
|
|
};
|
|
export const navigateToNitroHomePage = function navigateToNitroHomePage(fn) {
|
|
if (fn != null) {
|
|
fn();
|
|
}
|
|
LayerActionCreators.popLayer();
|
|
router_utils.transitionTo(constants.APPLICATION_STORE);
|
|
};
|