decord/source/1927_buildFormatLongFn.js
2026-07-27 11:26:19 +00:00

31 lines
741 B
JavaScript

// Module ID: 1927
// Function ID: 21797
// Name: buildFormatLongFn
// Dependencies: []
// Exports: default
// Module 1927 (buildFormatLongFn)
export default function buildFormatLongFn(arg0) {
let closure_0 = arg0;
return () => {
if (arguments.length > 0) {
if (undefined !== arguments[0]) {
let first = arguments[0];
}
if (first.width) {
const _String = String;
let defaultWidth = String(first.width);
} else {
defaultWidth = closure_0.defaultWidth;
}
let tmp4 = closure_0.formats[defaultWidth];
if (!tmp4) {
tmp4 = closure_0.formats[closure_0.defaultWidth];
}
return tmp4;
}
first = {};
};
};
export default exports.default;