decord/source/1926_buildFormatLongFn.js

32 lines
741 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 1926
2026-07-24 07:16:23 +00:00
// Function ID: 21785
2026-07-20 16:05:17 +00:00
// Name: buildFormatLongFn
// Dependencies: []
// Exports: default
// Module 1926 (buildFormatLongFn)
export default function buildFormatLongFn(arg0) {
2026-07-23 10:11:24 +00:00
let closure_0 = arg0;
2026-07-20 16:05:17 +00:00
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 {
2026-07-23 10:11:24 +00:00
defaultWidth = closure_0.defaultWidth;
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let tmp4 = closure_0.formats[defaultWidth];
2026-07-20 16:05:17 +00:00
if (!tmp4) {
2026-07-23 10:11:24 +00:00
tmp4 = closure_0.formats[closure_0.defaultWidth];
2026-07-20 16:05:17 +00:00
}
return tmp4;
}
first = {};
};
};
export default exports.default;