decord/source/utils/ErrorCommonUtils.tsx

33 lines
901 B
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 13345
// Function ID: 13346
2026-07-20 16:05:17 +00:00
// Name: getUpdatedOptions
2026-07-29 08:29:29 +00:00
// Dependencies: [709, 594, 2]
2026-07-20 16:05:17 +00:00
// Exports: getUpdatedOptions
2026-08-05 07:35:12 +00:00
// Module 13345 (getUpdatedOptions)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("utils/ErrorCommonUtils.tsx");
2026-07-20 16:05:17 +00:00
export const getUpdatedOptions = function getUpdatedOptions(extra) {
let obj = {};
const merged = Object.assign(extra);
extra = undefined;
2026-07-29 08:29:29 +00:00
if (extra != null) {
2026-07-20 16:05:17 +00:00
extra = extra.extra;
}
obj = {};
2026-07-29 08:29:29 +00:00
const merged1 = Object.assign(extra);
if (null != importDefault(709)._currentDispatchActionType) {
obj = { currentAction: null };
obj[0] = importDefault(709)._currentDispatchActionType;
let obj1 = obj;
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
obj1 = {};
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const obj2 = {};
const merged2 = Object.assign(obj1);
obj2.lastFewActions = require(594) /* add */.serialize();
const merged3 = Object.assign(obj2);
obj.extra = obj;
2026-07-20 16:05:17 +00:00
return obj;
};