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

50 lines
2.1 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 8993
2026-07-27 11:26:19 +00:00
// Function ID: 70855
2026-07-20 16:05:17 +00:00
// Name: AcceptRequestConfirmationModal
2026-07-25 08:10:48 +00:00
// Dependencies: [31, 27, 33, 4131, 689, 4562, 1212, 4471, 4127, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-25 08:10:48 +00:00
// Module 8993 (AcceptRequestConfirmationModal)
2026-07-23 10:11:24 +00:00
import "result";
import { View } from "get ActivityIndicator";
import jsxProd from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
let closure_4;
let closure_5;
const require = arg1;
({ jsx: closure_4, jsxs: closure_5 } = jsxProd);
_createForOfIteratorHelperLoose = {};
_createForOfIteratorHelperLoose = { textAlign: "center", alignItems: "center", gap: require("_createForOfIteratorHelperLoose").space.PX_8 };
_createForOfIteratorHelperLoose.bodyText = _createForOfIteratorHelperLoose;
_createForOfIteratorHelperLoose.text = { textAlign: "center" };
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
const result = require("jsxProd").fileFinishedImporting("modules/people/strangers/native/AcceptRequestConfirmationModal.tsx");
2026-07-20 16:05:17 +00:00
export default function AcceptRequestConfirmationModal(onConfirm) {
2026-07-23 10:11:24 +00:00
onConfirm = onConfirm.onConfirm;
const tmp = _createForOfIteratorHelperLoose();
2026-07-20 16:05:17 +00:00
let obj = {};
2026-07-23 10:11:24 +00:00
const intl = onConfirm(1212).intl;
obj.confirmText = intl.string(onConfirm(1212).t.MMlhsr);
const intl2 = onConfirm(1212).intl;
obj.cancelText = intl2.string(onConfirm(1212).t["ETE/oC"]);
2026-07-20 16:05:17 +00:00
obj.onConfirm = function onConfirm() {
onConfirm();
2026-07-23 10:11:24 +00:00
outer1_1(outer1_2[7]).close();
2026-07-20 16:05:17 +00:00
};
obj.onCancel = onConfirm.onCancel;
obj = { style: tmp.bodyText };
2026-07-23 10:11:24 +00:00
obj = { variant: "heading-lg/bold", color: "text-strong", style: tmp.text };
const intl3 = onConfirm(1212).intl;
obj.children = intl3.string(onConfirm(1212).t.eJzSDT);
2026-07-25 08:10:48 +00:00
const items = [callback(onConfirm(4127).Text, obj), ];
2026-07-23 10:11:24 +00:00
const obj1 = { variant: "text-md/medium", color: "text-subtle", style: tmp.text };
const intl4 = onConfirm(1212).intl;
obj1.children = intl4.string(onConfirm(1212).t.GB4jUw);
2026-07-25 08:10:48 +00:00
items[1] = callback(onConfirm(4127).Text, obj1);
2026-07-20 16:05:17 +00:00
obj.children = items;
obj.children = callback2(View, obj);
2026-07-25 08:10:48 +00:00
return callback(importDefault(4562), obj);
2026-07-20 16:05:17 +00:00
};