decord/source/utils/ErrorCommonUtils.tsx
2026-09-01 10:26:29 +00:00

36 lines
984 B
TypeScript

// Module ID: 13848
// Function ID: 13849
// Name: getUpdatedOptions
// Dependencies: [709, 594, 2]
// Exports: getUpdatedOptions
// Module 13848 (getUpdatedOptions)
import set from "set" /* 2 */;
import add from "add" /* 594 */;
import dispatcherDefault from "dispatcher" /* 709 */;
const result = set.fileFinishedImporting("utils/ErrorCommonUtils.tsx");
export const getUpdatedOptions = function getUpdatedOptions(extra) {
let obj = {};
const merged = Object.assign(extra);
extra = undefined;
if (extra != null) {
extra = extra.extra;
}
obj = {};
const merged1 = Object.assign(extra);
if (null != dispatcherDefault._currentDispatchActionType) {
obj = { currentAction: null };
obj[0] = dispatcherDefault._currentDispatchActionType;
obj1 = obj;
} else {
obj1 = {};
}
const obj2 = {};
const merged2 = Object.assign(obj1);
obj2.lastFewActions = add.serialize();
const merged3 = Object.assign(obj2);
obj.extra = obj;
return obj;
};