decord/source/modules/people/strangers/AcceptFriendRequestModalActionCreators.native.tsx

47 lines
1.7 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 9929
// Function ID: 9930
2026-07-20 16:05:17 +00:00
// Name: openAcceptFriendRequestConfirmModal
2026-08-24 06:08:38 +00:00
// Dependencies: [9930, 676, 21, 698, 4662, 9931, 2008, 2]
2026-07-20 16:05:17 +00:00
// Exports: openAcceptFriendRequestConfirmModal
2026-08-24 06:08:38 +00:00
// Module 9929 (openAcceptFriendRequestConfirmModal)
import set from "set" /* 2 */;
import jsxProd from "jsxProd" /* 21 */;
import ME from "ME" /* 676 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 698 */;
import _modDef4662 from "module_4662" /* 4662 */;
import RELATIONSHIP_COUNT_ANIMATION_THRESHOLD from "RELATIONSHIP_COUNT_ANIMATION_THRESHOLD" /* 9930 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
let closure_3 = RELATIONSHIP_COUNT_ANIMATION_THRESHOLD.ACCEPT_FRIEND_REQUEST_CONFIRMATION_MODAL_ID;
const AnalyticEvents = ME.AnalyticEvents;
const jsx = jsxProd.jsx;
const result = set.fileFinishedImporting("modules/people/strangers/AcceptFriendRequestModalActionCreators.native.tsx");
2026-07-20 16:05:17 +00:00
export const openAcceptFriendRequestConfirmModal = function openAcceptFriendRequestConfirmModal(arg0) {
2026-07-23 10:11:24 +00:00
({ onConfirm: require, onCancel: importDefault } = arg0);
2026-08-24 06:08:38 +00:00
let obj = expandEventPropertiesDefault;
2026-07-20 16:05:17 +00:00
obj = { type: closure_3 };
obj.track(AnalyticEvents.OPEN_MODAL, obj);
obj = {
importer() {
2026-08-24 06:08:38 +00:00
return closure_1_0(closure_1_2[6])(closure_1_2[5], closure_1_2.paths).then((arg0) => {
closure_0 = arg0.default;
2026-07-20 16:05:17 +00:00
return (arg0) => {
2026-08-24 06:08:38 +00:00
closure_0 = arg0;
2026-07-20 16:05:17 +00:00
const obj = {};
const merged = Object.assign(arg0);
2026-07-29 08:29:29 +00:00
obj.onCancel = function onCancel() {
2026-07-23 10:11:24 +00:00
closure_0.onClose();
2026-08-24 06:08:38 +00:00
if (closure_1_1 != null) {
2026-07-29 08:29:29 +00:00
tmp2();
2026-07-20 16:05:17 +00:00
}
};
2026-07-29 08:29:29 +00:00
obj.onConfirm = closure_0;
2026-08-24 06:08:38 +00:00
return closure_2_5(closure_0, obj);
2026-07-20 16:05:17 +00:00
};
});
}
};
2026-08-24 06:08:38 +00:00
_modDef4662.openLazy(obj);
2026-07-20 16:05:17 +00:00
};