decord/source/module_3281.js
2026-07-20 16:05:17 +00:00

63 lines
8.9 KiB
JavaScript

// Module ID: 3281
// Function ID: 26003
// Dependencies: []
// Module 3281
const _module = require(dependencyMap[0]);
if (!_module) {
let obj = { default: _module };
} else {
obj = _module;
}
obj = {
ordinalNumber(arg0, unit) {
const NumberResult = Number(arg0);
unit = undefined;
if (null != unit) {
unit = unit.unit;
}
const StringResult = String(unit);
if ("year" === StringResult) {
const concat9 = "".concat;
return "".concat(NumberResult, "\u5E74");
} else if ("quarter" === StringResult) {
const concat8 = "\u7B2C".concat;
return "\u7B2C".concat(NumberResult, "\u56DB\u534A\u671F");
} else if ("month" === StringResult) {
const concat7 = "".concat;
return "".concat(NumberResult, "\u6708");
} else if ("week" === StringResult) {
const concat6 = "\u7B2C".concat;
return "\u7B2C".concat(NumberResult, "\u9031");
} else if ("date" === StringResult) {
const concat5 = "".concat;
return "".concat(NumberResult, "\u65E5");
} else if ("hour" === StringResult) {
const concat4 = "".concat;
return "".concat(NumberResult, "\u6642");
} else if ("minute" === StringResult) {
const concat3 = "".concat;
return "".concat(NumberResult, "\u5206");
} else if ("second" === StringResult) {
const concat2 = "".concat;
return "".concat(NumberResult, "\u79D2");
} else {
const concat = "".concat;
return "".concat(NumberResult);
}
}
};
obj.era = obj.default({ values: { narrow: ["r", "SimpleMuxWrapper"], abbreviated: [null, null], wide: [null, null] }, defaultWidth: "wide" });
obj.quarter = obj.default({
values: { narrow: [false, false, false, false], abbreviated: ["r", "IMPLICIT", "r", "pako"], wide: [49543936, -280541440, -201850878, 287440898] },
defaultWidth: "wide",
argumentCallback(arg0) {
return Number(arg0) - 1;
}
});
obj.month = obj.default({ values: { narrow: [], abbreviated: [-1073741298, 1107296568, 199764, 79040, 42764100, 35350272, 58188288, 42833152, 1154240768, 147644, 147643, 147642], wide: [-1073741298, 1107296568, 199764, 79040, 42764100, 35350272, 58188288, 42833152, 1154240768, 147644, 147643, 147642] }, defaultWidth: "wide" });
obj.day = obj.default({ values: { narrow: [0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002713784028156146, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000194538208179092, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005869546458070865, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003132108228109807, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000259042636242398, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003758038857597636, -44186667643861870000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000], short: [0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002713784028156146, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000194538208179092, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005869546458070865, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003132108228109807, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000259042636242398, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003758038857597636, -44186667643861870000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000], abbreviated: [0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002713784028156146, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000194538208179092, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005869546458070865, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003132108228109807, 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000259042636242398, 0.000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003758038857597636, -44186667643861870000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000], wide: [true, true, true, true, true, true, true] }, defaultWidth: "wide" });
obj.dayPeriod = obj.default({ values: { narrow: {}, abbreviated: {}, wide: {} }, defaultWidth: "wide", formattingValues: { narrow: {}, abbreviated: {}, wide: {} }, defaultFormattingWidth: "wide" });
export default obj;
export default exports.default;