decord/source/modules/premium/hooks/useOutboundPromotionRedemptionEndDate.tsx

37 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 12705
// Function ID: 12706
2026-07-20 16:05:17 +00:00
// Name: useOutboundPromotionRedemptionEndDate
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 3837, 3925, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 12705 (useOutboundPromotionRedemptionEndDate)
2026-07-29 08:29:29 +00:00
import noop from "noop";
2026-07-20 16:05:17 +00:00
import module_30 from "module_30";
2026-07-23 10:11:24 +00:00
import importDefaultResult from "t";
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
const require = arg1;
const result = require("resetCache").fileFinishedImporting("modules/premium/hooks/useOutboundPromotionRedemptionEndDate.tsx");
2026-07-20 16:05:17 +00:00
export default function useOutboundPromotionRedemptionEndDate(arg0, arg1) {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
let closure_1 = arg1;
2026-07-20 16:05:17 +00:00
const items = [arg0, arg1];
2026-07-23 10:11:24 +00:00
return React.useMemo(() => {
2026-07-29 08:29:29 +00:00
let tmp = outer1_2;
2026-07-23 10:11:24 +00:00
lib(outer1_2[2]);
if (callback) {
2026-07-29 08:29:29 +00:00
let outboundRedemptionEndDate = lib;
2026-07-23 10:11:24 +00:00
if (null != lib.outboundRedemptionEndDate) {
2026-07-29 08:29:29 +00:00
tmp = callback(tmp[1]);
outboundRedemptionEndDate = outboundRedemptionEndDate.outboundRedemptionEndDate;
let addResult = tmp(outboundRedemptionEndDate);
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
addResult = callback(tmp[1])(outboundRedemptionEndDate.endDate).add(outer1_4);
const obj = callback(tmp[1])(outboundRedemptionEndDate.endDate);
2026-07-20 16:05:17 +00:00
}
} else {
2026-07-29 08:29:29 +00:00
return tmp3(callback(tmp[1])(lib.endDate), "LL");
2026-07-20 16:05:17 +00:00
}
}, items);
};