2026-08-24 06:08:38 +00:00
|
|
|
|
// Module ID: 3506
|
|
|
|
|
|
// Function ID: 3507
|
|
|
|
|
|
// Dependencies: [2005, 2006]
|
2026-08-05 07:35:12 +00:00
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
|
// Module 3506
|
|
|
|
|
|
import buildMatchFn from "buildMatchFn" /* 2005 */;
|
|
|
|
|
|
import buildMatchPatternFn from "buildMatchPatternFn" /* 2006 */;
|
2026-08-05 07:35:12 +00:00
|
|
|
|
|
|
|
|
|
|
if (!buildMatchFn) {
|
|
|
|
|
|
let obj = { default: null };
|
|
|
|
|
|
obj[0] = buildMatchFn;
|
|
|
|
|
|
} else {
|
|
|
|
|
|
obj = buildMatchFn;
|
|
|
|
|
|
}
|
|
|
|
|
|
if (!buildMatchPatternFn) {
|
|
|
|
|
|
obj = { default: null };
|
|
|
|
|
|
obj[0] = buildMatchPatternFn;
|
|
|
|
|
|
let obj2 = obj;
|
|
|
|
|
|
} else {
|
|
|
|
|
|
obj2 = buildMatchPatternFn;
|
|
|
|
|
|
}
|
|
|
|
|
|
obj2 = {
|
2026-08-15 05:55:55 +00:00
|
|
|
|
matchPattern: /^(\d+)(ος|η|ο)?/i,
|
2026-08-05 07:35:12 +00:00
|
|
|
|
parsePattern: /\d+/i,
|
|
|
|
|
|
valueCallback(joined) {
|
|
|
|
|
|
return parseInt(joined, 10);
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
2026-08-15 05:55:55 +00:00
|
|
|
|
const items = [/^π/i, /^(μ|κ)/i];
|
|
|
|
|
|
const items1 = [/1/i, /2/i, /3/i, /4/i];
|
|
|
|
|
|
const items2 = [/^ι/i, /^φ/i, /^μ/i, /^α/i, /^μ/i, /^ι/i, /^ι/i, /^α/i, /^σ/i, /^ο/i, /^ν/i, /^δ/i];
|
|
|
|
|
|
const items3 = [/^ια/i, /^φ/i, /^μ[άα]ρ/i, /^απ/i, /^μ[άα][ιΐ]/i, /^ιο[ύυ]ν/i, /^ιο[ύυ]λ/i, /^α[ύυ]/i, /^σ/i, /^ο/i, /^ν/i, /^δ/i];
|
|
|
|
|
|
const items4 = [/^κ/i, /^δ/i, /^τ/i, /^τ/i, /^π/i, /^π/i, /^σ/i];
|
|
|
|
|
|
const items5 = [/^κ/i, /^δ/i, /^τρ/i, /^τε/i, /^π[εέ]/i, /^π[αά]/i, /^σ/i];
|
2026-08-05 07:35:12 +00:00
|
|
|
|
|
2026-08-15 05:55:55 +00:00
|
|
|
|
export default { ordinalNumber: obj2.default(obj2), era: obj.default({ matchPatterns: obj3, defaultMatchWidth: "wide", parsePatterns: { any: items }, defaultParseWidth: "any" }), quarter: obj.default(obj4), month: obj.default({ matchPatterns: obj6, defaultMatchWidth: "wide", parsePatterns: { narrow: items2, any: items3 }, defaultParseWidth: "any" }), day: obj.default({ matchPatterns: obj7, defaultMatchWidth: "wide", parsePatterns: { narrow: items4, any: items5 }, defaultParseWidth: "any" }), dayPeriod: obj.default({ matchPatterns: obj8, defaultMatchWidth: "any", parsePatterns: { any: obj9 }, defaultParseWidth: "any" }) };
|
2026-08-05 07:35:12 +00:00
|
|
|
|
export default exports.default;
|