2026-09-30 07:29:52 +00:00
|
|
|
// Module ID: 15823
|
|
|
|
|
// Function ID: 15824
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: showPushNotificationPromptModal
|
2026-09-30 07:29:52 +00:00
|
|
|
// Dependencies: [12107, 12403, 5069, 15824, 1981, 12110, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: showPushNotificationPromptModal
|
|
|
|
|
|
2026-09-30 07:29:52 +00:00
|
|
|
// Module 15823 (showPushNotificationPromptModal)
|
|
|
|
|
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5069 */;
|
|
|
|
|
import PushNotificationPermissionStore from "PushNotificationPermissionStore" /* 12107 */;
|
|
|
|
|
import NUFConstants from "NUFConstants" /* 12403 */;
|
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-30 07:29:52 +00:00
|
|
|
ModalActionCreatorsDefault.pushLazy(onComplete(1981)(15824, 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-30 07:29:52 +00:00
|
|
|
const result = onComplete(12110).setPushPermissionState(PermissionStateType.PROMPT_SEEN);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|