decord/source/1998_code.js

51 lines
1.3 KiB
JavaScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 1998
// Function ID: 1999
2026-07-29 08:29:29 +00:00
// Name: code
2026-08-25 06:04:03 +00:00
// Dependencies: [1999, 2000, 2002, 2003, 2005]
2026-07-29 08:29:29 +00:00
2026-08-25 06:04:03 +00:00
// Module 1998 (code)
import formatDistance from "formatDistance" /* 1999 */;
import buildFormatLongFn from "buildFormatLongFn" /* 2000 */;
import formatRelative from "formatRelative" /* 2002 */;
import buildLocalizeFn from "buildLocalizeFn" /* 2003 */;
import module_2005 from "module_2005" /* 2005 */;
2026-07-29 08:29:29 +00:00
if (!formatDistance) {
let obj = { default: null };
obj[0] = formatDistance;
let tmp3 = obj;
} else {
tmp3 = formatDistance;
}
if (!buildFormatLongFn) {
obj = { default: null };
obj[0] = buildFormatLongFn;
let tmp5 = obj;
} else {
tmp5 = buildFormatLongFn;
}
if (!formatRelative) {
obj = { default: null };
obj[0] = formatRelative;
let tmp7 = obj;
} else {
tmp7 = formatRelative;
}
if (!buildLocalizeFn) {
const obj1 = { default: null };
obj1[0] = buildLocalizeFn;
let tmp9 = obj1;
} else {
tmp9 = buildLocalizeFn;
}
2026-08-25 06:04:03 +00:00
if (!module_2005) {
2026-07-29 08:29:29 +00:00
const obj2 = { default: null };
2026-08-25 06:04:03 +00:00
obj2[0] = module_2005;
2026-07-29 08:29:29 +00:00
let tmp11 = obj2;
} else {
2026-08-25 06:04:03 +00:00
tmp11 = module_2005;
2026-07-29 08:29:29 +00:00
}
export default { code: "en-US", formatDistance: tmp3.default, formatLong: tmp5.default, formatRelative: tmp7.default, localize: tmp9.default, match: tmp11.default, options: { weekStartsOn: 0, firstWeekContainsDate: 1 } };
export default exports.default;