2026-09-14 20:04:03 +00:00
|
|
|
// Module ID: 16095
|
|
|
|
|
// Function ID: 16096
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: showPushNotificationPromptModal
|
2026-09-14 20:04:03 +00:00
|
|
|
// Dependencies: [12539, 12835, 4839, 16096, 1896, 12542, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: showPushNotificationPromptModal
|
|
|
|
|
|
2026-09-14 20:04:03 +00:00
|
|
|
// Module 16095 (showPushNotificationPromptModal)
|
2026-09-12 13:45:10 +00:00
|
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4839 */;
|
2026-09-14 20:04:03 +00:00
|
|
|
import PushNotificationPermissionStore from "PushNotificationPermissionStore" /* 12539 */;
|
|
|
|
|
import NUFConstants from "NUFConstants" /* 12835 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const PermissionStateType = PushNotificationPermissionStore.PermissionStateType;
|
|
|
|
|
let closure_4 = NUFConstants.NUF_NOTIFICATION_MODAL_KEY;
|
|
|
|
|
let result = size.fileFinishedImporting("modules/nuf/native/showPushNotificationPromptModal.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const showPushNotificationPromptModal = function showPushNotificationPromptModal(onComplete) {
|
2026-07-23 10:11:24 +00:00
|
|
|
onComplete = onComplete.onComplete;
|
2026-09-14 20:04:03 +00:00
|
|
|
ModalActionCreatorsDefault.pushLazy(onComplete(1896)(16096, dependencyMap.paths), {
|
2026-07-20 16:05:17 +00:00
|
|
|
onComplete() {
|
2026-09-10 05:38:07 +00:00
|
|
|
ModalActionCreatorsDefault.popWithKey(closure_4);
|
|
|
|
|
onComplete();
|
|
|
|
|
}
|
|
|
|
|
}, closure_4);
|
|
|
|
|
const obj2 = {
|
|
|
|
|
onComplete() {
|
|
|
|
|
ModalActionCreatorsDefault.popWithKey(closure_4);
|
2026-07-20 16:05:17 +00:00
|
|
|
onComplete();
|
|
|
|
|
}
|
|
|
|
|
};
|
2026-09-14 20:04:03 +00:00
|
|
|
const result = onComplete(12542).setPushPermissionState(PermissionStateType.PROMPT_SEEN);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|