decord/source/3501_addSeconds.js
2026-08-05 07:35:12 +00:00

40 lines
892 B
JavaScript

// Module ID: 3501
// Function ID: 3502
// Name: addSeconds
// Dependencies: [3338, 3489, 3335]
// Exports: default
// Module 3501 (addSeconds)
import toInteger from "toInteger";
import addMilliseconds from "addMilliseconds";
import requiredArgs from "requiredArgs";
if (!toInteger) {
let obj = { default: null };
obj[0] = toInteger;
let tmp3 = obj;
} else {
tmp3 = toInteger;
}
let c0 = tmp3;
if (!addMilliseconds) {
obj = { default: null };
obj[0] = addMilliseconds;
let tmp5 = obj;
} else {
tmp5 = addMilliseconds;
}
let closure_1 = tmp5;
if (!requiredArgs) {
obj = { default: null };
obj[0] = requiredArgs;
let tmp7 = obj;
} else {
tmp7 = requiredArgs;
}
export default function addSeconds(interval, arg1, byhour, byminute, bysecond) {
tmp7.default(2, arguments);
return tmp5.default(interval, 1000 * tmp3.default(arg1));
};
export default exports.default;