decord/alpha/source/modules/premium/native/openPremiumPlanSelectionActionSheet.tsx

52 lines
1.7 KiB
TypeScript
Raw Permalink Normal View History

2026-10-12 06:59:38 +00:00
// Module ID: 7142
// Function ID: 7143
2026-07-20 16:05:17 +00:00
// Name: openPremiumPlanSelectionActionSheet
2026-10-13 12:43:34 +00:00
// Dependencies: [1392, 5056, 7143, 2000, 13967, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-10-12 06:59:38 +00:00
// Module 7142 (openPremiumPlanSelectionActionSheet)
2026-10-09 10:00:15 +00:00
import PremiumConstants from "PremiumConstants" /* 1392 */;
2026-10-10 08:08:14 +00:00
import ActionSheetActionCreatorsDefault from "ActionSheetActionCreators" /* 5056 */;
2026-10-13 12:43:34 +00:00
import premiumOrbsDeliveredModal from "premiumOrbsDeliveredModal" /* 13967 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const require = globalThis.__r;
2026-10-03 08:58:59 +00:00
let _require;
let closure_3 = PremiumConstants.PREMIUM_PLAN_SELECTION_ACTION_SHEET_KEY;
let result = size.fileFinishedImporting("modules/premium/native/openPremiumPlanSelectionActionSheet.tsx");
2026-07-20 16:05:17 +00:00
export default function openPremiumPlanSelectionActionSheet(arg0, arg1) {
2026-10-03 08:58:59 +00:00
let closure_0;
_require = arg0;
2026-07-20 16:05:17 +00:00
if (null == arg1) {
2026-10-03 08:58:59 +00:00
let obj = ActionSheetActionCreatorsDefault;
obj.hideActionSheet();
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
const openLazy = ActionSheetActionCreatorsDefault.openLazy;
ActionSheetActionCreatorsDefault;
const obj2 = {
onPaymentStart(productId) {
const onPaymentStart = closure_0.onPaymentStart;
if (onPaymentStart != null) {
onPaymentStart(productId);
}
const obj = premiumOrbsDeliveredModal;
const result = obj.anchorOrbsPurchaseStart();
},
onPaymentDismiss(isSuccess) {
const onPaymentDismiss = closure_0.onPaymentDismiss;
if (onPaymentDismiss != null) {
onPaymentDismiss(isSuccess);
}
if (isSuccess.isSuccess) {
const obj = premiumOrbsDeliveredModal;
const result = obj.openOrbsModalIfDelivered();
}
}
};
2026-10-12 06:59:38 +00:00
const tmp5 = require("asyncRequire")(7143, dependencyMap.paths);
2026-10-03 08:58:59 +00:00
const merged = Object.assign(arg0);
openLazy(tmp5, closure_3, obj2, arg1);
2026-07-20 16:05:17 +00:00
};