till download files, everything works
This commit is contained in:
1 parent
ce893a4185
commit
ed1a580b09
6050 files changed
+768543
-177
No files matched your search
+105
@@ -0,0 +1,105 @@
|
||||
"use strict";
|
||||
exports.formatDistance = void 0;
|
||||
|
||||
const formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
one: "më pak se një sekondë",
|
||||
other: "më pak se {{count}} sekonda",
|
||||
},
|
||||
|
||||
xSeconds: {
|
||||
one: "1 sekondë",
|
||||
other: "{{count}} sekonda",
|
||||
},
|
||||
|
||||
halfAMinute: "gjysëm minuti",
|
||||
|
||||
lessThanXMinutes: {
|
||||
one: "më pak se një minute",
|
||||
other: "më pak se {{count}} minuta",
|
||||
},
|
||||
|
||||
xMinutes: {
|
||||
one: "1 minutë",
|
||||
other: "{{count}} minuta",
|
||||
},
|
||||
|
||||
aboutXHours: {
|
||||
one: "rreth 1 orë",
|
||||
other: "rreth {{count}} orë",
|
||||
},
|
||||
|
||||
xHours: {
|
||||
one: "1 orë",
|
||||
other: "{{count}} orë",
|
||||
},
|
||||
|
||||
xDays: {
|
||||
one: "1 ditë",
|
||||
other: "{{count}} ditë",
|
||||
},
|
||||
|
||||
aboutXWeeks: {
|
||||
one: "rreth 1 javë",
|
||||
other: "rreth {{count}} javë",
|
||||
},
|
||||
|
||||
xWeeks: {
|
||||
one: "1 javë",
|
||||
other: "{{count}} javë",
|
||||
},
|
||||
|
||||
aboutXMonths: {
|
||||
one: "rreth 1 muaj",
|
||||
other: "rreth {{count}} muaj",
|
||||
},
|
||||
|
||||
xMonths: {
|
||||
one: "1 muaj",
|
||||
other: "{{count}} muaj",
|
||||
},
|
||||
|
||||
aboutXYears: {
|
||||
one: "rreth 1 vit",
|
||||
other: "rreth {{count}} vite",
|
||||
},
|
||||
|
||||
xYears: {
|
||||
one: "1 vit",
|
||||
other: "{{count}} vite",
|
||||
},
|
||||
|
||||
overXYears: {
|
||||
one: "mbi 1 vit",
|
||||
other: "mbi {{count}} vite",
|
||||
},
|
||||
|
||||
almostXYears: {
|
||||
one: "pothuajse 1 vit",
|
||||
other: "pothuajse {{count}} vite",
|
||||
},
|
||||
};
|
||||
|
||||
const formatDistance = (token, count, options) => {
|
||||
let result;
|
||||
|
||||
const tokenValue = formatDistanceLocale[token];
|
||||
if (typeof tokenValue === "string") {
|
||||
result = tokenValue;
|
||||
} else if (count === 1) {
|
||||
result = tokenValue.one;
|
||||
} else {
|
||||
result = tokenValue.other.replace("{{count}}", String(count));
|
||||
}
|
||||
|
||||
if (options?.addSuffix) {
|
||||
if (options.comparison && options.comparison > 0) {
|
||||
return "në " + result;
|
||||
} else {
|
||||
return result + " më parë";
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
};
|
||||
exports.formatDistance = formatDistance;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { FormatDistanceFn } from "../../types.js";
|
||||
export declare const formatDistance: FormatDistanceFn;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { FormatDistanceFn } from "../../types.js";
|
||||
export declare const formatDistance: FormatDistanceFn;
|
||||
+101
@@ -0,0 +1,101 @@
|
||||
const formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
one: "më pak se një sekondë",
|
||||
other: "më pak se {{count}} sekonda",
|
||||
},
|
||||
|
||||
xSeconds: {
|
||||
one: "1 sekondë",
|
||||
other: "{{count}} sekonda",
|
||||
},
|
||||
|
||||
halfAMinute: "gjysëm minuti",
|
||||
|
||||
lessThanXMinutes: {
|
||||
one: "më pak se një minute",
|
||||
other: "më pak se {{count}} minuta",
|
||||
},
|
||||
|
||||
xMinutes: {
|
||||
one: "1 minutë",
|
||||
other: "{{count}} minuta",
|
||||
},
|
||||
|
||||
aboutXHours: {
|
||||
one: "rreth 1 orë",
|
||||
other: "rreth {{count}} orë",
|
||||
},
|
||||
|
||||
xHours: {
|
||||
one: "1 orë",
|
||||
other: "{{count}} orë",
|
||||
},
|
||||
|
||||
xDays: {
|
||||
one: "1 ditë",
|
||||
other: "{{count}} ditë",
|
||||
},
|
||||
|
||||
aboutXWeeks: {
|
||||
one: "rreth 1 javë",
|
||||
other: "rreth {{count}} javë",
|
||||
},
|
||||
|
||||
xWeeks: {
|
||||
one: "1 javë",
|
||||
other: "{{count}} javë",
|
||||
},
|
||||
|
||||
aboutXMonths: {
|
||||
one: "rreth 1 muaj",
|
||||
other: "rreth {{count}} muaj",
|
||||
},
|
||||
|
||||
xMonths: {
|
||||
one: "1 muaj",
|
||||
other: "{{count}} muaj",
|
||||
},
|
||||
|
||||
aboutXYears: {
|
||||
one: "rreth 1 vit",
|
||||
other: "rreth {{count}} vite",
|
||||
},
|
||||
|
||||
xYears: {
|
||||
one: "1 vit",
|
||||
other: "{{count}} vite",
|
||||
},
|
||||
|
||||
overXYears: {
|
||||
one: "mbi 1 vit",
|
||||
other: "mbi {{count}} vite",
|
||||
},
|
||||
|
||||
almostXYears: {
|
||||
one: "pothuajse 1 vit",
|
||||
other: "pothuajse {{count}} vite",
|
||||
},
|
||||
};
|
||||
|
||||
export const formatDistance = (token, count, options) => {
|
||||
let result;
|
||||
|
||||
const tokenValue = formatDistanceLocale[token];
|
||||
if (typeof tokenValue === "string") {
|
||||
result = tokenValue;
|
||||
} else if (count === 1) {
|
||||
result = tokenValue.one;
|
||||
} else {
|
||||
result = tokenValue.other.replace("{{count}}", String(count));
|
||||
}
|
||||
|
||||
if (options?.addSuffix) {
|
||||
if (options.comparison && options.comparison > 0) {
|
||||
return "në " + result;
|
||||
} else {
|
||||
return result + " më parë";
|
||||
}
|
||||
}
|
||||
|
||||
return result;
|
||||
};
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
"use strict";
|
||||
exports.formatLong = void 0;
|
||||
var _index = require("../../_lib/buildFormatLongFn.cjs");
|
||||
|
||||
const dateFormats = {
|
||||
full: "EEEE, MMMM do, y",
|
||||
long: "MMMM do, y",
|
||||
medium: "MMM d, y",
|
||||
short: "MM/dd/yyyy",
|
||||
};
|
||||
|
||||
const timeFormats = {
|
||||
full: "h:mm:ss a zzzz",
|
||||
long: "h:mm:ss a z",
|
||||
medium: "h:mm:ss a",
|
||||
short: "h:mm a",
|
||||
};
|
||||
|
||||
const dateTimeFormats = {
|
||||
full: "{{date}} 'në' {{time}}",
|
||||
long: "{{date}} 'në' {{time}}",
|
||||
medium: "{{date}}, {{time}}",
|
||||
short: "{{date}}, {{time}}",
|
||||
};
|
||||
|
||||
const formatLong = (exports.formatLong = {
|
||||
date: (0, _index.buildFormatLongFn)({
|
||||
formats: dateFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
time: (0, _index.buildFormatLongFn)({
|
||||
formats: timeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
dateTime: (0, _index.buildFormatLongFn)({
|
||||
formats: dateTimeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
});
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { FormatLong } from "../../types.js";
|
||||
export declare const formatLong: FormatLong;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { FormatLong } from "../../types.js";
|
||||
export declare const formatLong: FormatLong;
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
|
||||
|
||||
const dateFormats = {
|
||||
full: "EEEE, MMMM do, y",
|
||||
long: "MMMM do, y",
|
||||
medium: "MMM d, y",
|
||||
short: "MM/dd/yyyy",
|
||||
};
|
||||
|
||||
const timeFormats = {
|
||||
full: "h:mm:ss a zzzz",
|
||||
long: "h:mm:ss a z",
|
||||
medium: "h:mm:ss a",
|
||||
short: "h:mm a",
|
||||
};
|
||||
|
||||
const dateTimeFormats = {
|
||||
full: "{{date}} 'në' {{time}}",
|
||||
long: "{{date}} 'në' {{time}}",
|
||||
medium: "{{date}}, {{time}}",
|
||||
short: "{{date}}, {{time}}",
|
||||
};
|
||||
|
||||
export const formatLong = {
|
||||
date: buildFormatLongFn({
|
||||
formats: dateFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
time: buildFormatLongFn({
|
||||
formats: timeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
dateTime: buildFormatLongFn({
|
||||
formats: dateTimeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
};
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
exports.formatRelative = void 0;
|
||||
|
||||
const formatRelativeLocale = {
|
||||
lastWeek: "'të' eeee 'e shkuar në' p",
|
||||
yesterday: "'dje në' p",
|
||||
today: "'sot në' p",
|
||||
tomorrow: "'nesër në' p",
|
||||
nextWeek: "eeee 'at' p",
|
||||
other: "P",
|
||||
};
|
||||
|
||||
const formatRelative = (token, _date, _baseDate, _options) =>
|
||||
formatRelativeLocale[token];
|
||||
exports.formatRelative = formatRelative;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { FormatRelativeFn } from "../../types.js";
|
||||
export declare const formatRelative: FormatRelativeFn;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { FormatRelativeFn } from "../../types.js";
|
||||
export declare const formatRelative: FormatRelativeFn;
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
const formatRelativeLocale = {
|
||||
lastWeek: "'të' eeee 'e shkuar në' p",
|
||||
yesterday: "'dje në' p",
|
||||
today: "'sot në' p",
|
||||
tomorrow: "'nesër në' p",
|
||||
nextWeek: "eeee 'at' p",
|
||||
other: "P",
|
||||
};
|
||||
|
||||
export const formatRelative = (token, _date, _baseDate, _options) =>
|
||||
formatRelativeLocale[token];
|
||||
+168
@@ -0,0 +1,168 @@
|
||||
"use strict";
|
||||
exports.localize = void 0;
|
||||
var _index = require("../../_lib/buildLocalizeFn.cjs");
|
||||
|
||||
const eraValues = {
|
||||
narrow: ["P", "M"],
|
||||
abbreviated: ["PK", "MK"],
|
||||
wide: ["Para Krishtit", "Mbas Krishtit"],
|
||||
};
|
||||
|
||||
const quarterValues = {
|
||||
narrow: ["1", "2", "3", "4"],
|
||||
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
||||
wide: ["4-mujori I", "4-mujori II", "4-mujori III", "4-mujori IV"],
|
||||
};
|
||||
|
||||
// Note: in English, the names of days of the week and months are capitalized.
|
||||
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
|
||||
// Generally, formatted dates should look like they are in the middle of a sentence,
|
||||
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
||||
const monthValues = {
|
||||
narrow: ["J", "S", "M", "P", "M", "Q", "K", "G", "S", "T", "N", "D"],
|
||||
abbreviated: [
|
||||
"Jan",
|
||||
"Shk",
|
||||
"Mar",
|
||||
"Pri",
|
||||
"Maj",
|
||||
"Qer",
|
||||
"Kor",
|
||||
"Gus",
|
||||
"Sht",
|
||||
"Tet",
|
||||
"Nën",
|
||||
"Dhj",
|
||||
],
|
||||
|
||||
wide: [
|
||||
"Janar",
|
||||
"Shkurt",
|
||||
"Mars",
|
||||
"Prill",
|
||||
"Maj",
|
||||
"Qershor",
|
||||
"Korrik",
|
||||
"Gusht",
|
||||
"Shtator",
|
||||
"Tetor",
|
||||
"Nëntor",
|
||||
"Dhjetor",
|
||||
],
|
||||
};
|
||||
|
||||
const dayValues = {
|
||||
narrow: ["D", "H", "M", "M", "E", "P", "S"],
|
||||
short: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
|
||||
abbreviated: ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Sht"],
|
||||
wide: ["Dielë", "Hënë", "Martë", "Mërkurë", "Enjte", "Premte", "Shtunë"],
|
||||
};
|
||||
|
||||
const dayPeriodValues = {
|
||||
narrow: {
|
||||
am: "p",
|
||||
pm: "m",
|
||||
midnight: "m",
|
||||
noon: "d",
|
||||
morning: "mëngjes",
|
||||
afternoon: "dite",
|
||||
evening: "mbrëmje",
|
||||
night: "natë",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "PD",
|
||||
pm: "MD",
|
||||
midnight: "mesnëtë",
|
||||
noon: "drek",
|
||||
morning: "mëngjes",
|
||||
afternoon: "mbasdite",
|
||||
evening: "mbrëmje",
|
||||
night: "natë",
|
||||
},
|
||||
wide: {
|
||||
am: "p.d.",
|
||||
pm: "m.d.",
|
||||
midnight: "mesnëtë",
|
||||
noon: "drek",
|
||||
morning: "mëngjes",
|
||||
afternoon: "mbasdite",
|
||||
evening: "mbrëmje",
|
||||
night: "natë",
|
||||
},
|
||||
};
|
||||
|
||||
const formattingDayPeriodValues = {
|
||||
narrow: {
|
||||
am: "p",
|
||||
pm: "m",
|
||||
midnight: "m",
|
||||
noon: "d",
|
||||
morning: "në mëngjes",
|
||||
afternoon: "në mbasdite",
|
||||
evening: "në mbrëmje",
|
||||
night: "në mesnatë",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "PD",
|
||||
pm: "MD",
|
||||
midnight: "mesnatë",
|
||||
noon: "drek",
|
||||
morning: "në mëngjes",
|
||||
afternoon: "në mbasdite",
|
||||
evening: "në mbrëmje",
|
||||
night: "në mesnatë",
|
||||
},
|
||||
wide: {
|
||||
am: "p.d.",
|
||||
pm: "m.d.",
|
||||
midnight: "mesnatë",
|
||||
noon: "drek",
|
||||
morning: "në mëngjes",
|
||||
afternoon: "në mbasdite",
|
||||
evening: "në mbrëmje",
|
||||
night: "në mesnatë",
|
||||
},
|
||||
};
|
||||
|
||||
const ordinalNumber = (dirtyNumber, options) => {
|
||||
const number = Number(dirtyNumber);
|
||||
|
||||
if (options?.unit === "hour") return String(number);
|
||||
|
||||
if (number === 1) return number + "-rë";
|
||||
if (number === 4) return number + "t";
|
||||
|
||||
return number + "-të";
|
||||
};
|
||||
|
||||
const localize = (exports.localize = {
|
||||
ordinalNumber,
|
||||
|
||||
era: (0, _index.buildLocalizeFn)({
|
||||
values: eraValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
quarter: (0, _index.buildLocalizeFn)({
|
||||
values: quarterValues,
|
||||
defaultWidth: "wide",
|
||||
argumentCallback: (quarter) => quarter - 1,
|
||||
}),
|
||||
|
||||
month: (0, _index.buildLocalizeFn)({
|
||||
values: monthValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
day: (0, _index.buildLocalizeFn)({
|
||||
values: dayValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
dayPeriod: (0, _index.buildLocalizeFn)({
|
||||
values: dayPeriodValues,
|
||||
defaultWidth: "wide",
|
||||
formattingValues: formattingDayPeriodValues,
|
||||
defaultFormattingWidth: "wide",
|
||||
}),
|
||||
});
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { Localize } from "../../types.js";
|
||||
export declare const localize: Localize;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { Localize } from "../../types.js";
|
||||
export declare const localize: Localize;
|
||||
+166
@@ -0,0 +1,166 @@
|
||||
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.js";
|
||||
|
||||
const eraValues = {
|
||||
narrow: ["P", "M"],
|
||||
abbreviated: ["PK", "MK"],
|
||||
wide: ["Para Krishtit", "Mbas Krishtit"],
|
||||
};
|
||||
|
||||
const quarterValues = {
|
||||
narrow: ["1", "2", "3", "4"],
|
||||
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
||||
wide: ["4-mujori I", "4-mujori II", "4-mujori III", "4-mujori IV"],
|
||||
};
|
||||
|
||||
// Note: in English, the names of days of the week and months are capitalized.
|
||||
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
|
||||
// Generally, formatted dates should look like they are in the middle of a sentence,
|
||||
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
||||
const monthValues = {
|
||||
narrow: ["J", "S", "M", "P", "M", "Q", "K", "G", "S", "T", "N", "D"],
|
||||
abbreviated: [
|
||||
"Jan",
|
||||
"Shk",
|
||||
"Mar",
|
||||
"Pri",
|
||||
"Maj",
|
||||
"Qer",
|
||||
"Kor",
|
||||
"Gus",
|
||||
"Sht",
|
||||
"Tet",
|
||||
"Nën",
|
||||
"Dhj",
|
||||
],
|
||||
|
||||
wide: [
|
||||
"Janar",
|
||||
"Shkurt",
|
||||
"Mars",
|
||||
"Prill",
|
||||
"Maj",
|
||||
"Qershor",
|
||||
"Korrik",
|
||||
"Gusht",
|
||||
"Shtator",
|
||||
"Tetor",
|
||||
"Nëntor",
|
||||
"Dhjetor",
|
||||
],
|
||||
};
|
||||
|
||||
const dayValues = {
|
||||
narrow: ["D", "H", "M", "M", "E", "P", "S"],
|
||||
short: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
|
||||
abbreviated: ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Sht"],
|
||||
wide: ["Dielë", "Hënë", "Martë", "Mërkurë", "Enjte", "Premte", "Shtunë"],
|
||||
};
|
||||
|
||||
const dayPeriodValues = {
|
||||
narrow: {
|
||||
am: "p",
|
||||
pm: "m",
|
||||
midnight: "m",
|
||||
noon: "d",
|
||||
morning: "mëngjes",
|
||||
afternoon: "dite",
|
||||
evening: "mbrëmje",
|
||||
night: "natë",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "PD",
|
||||
pm: "MD",
|
||||
midnight: "mesnëtë",
|
||||
noon: "drek",
|
||||
morning: "mëngjes",
|
||||
afternoon: "mbasdite",
|
||||
evening: "mbrëmje",
|
||||
night: "natë",
|
||||
},
|
||||
wide: {
|
||||
am: "p.d.",
|
||||
pm: "m.d.",
|
||||
midnight: "mesnëtë",
|
||||
noon: "drek",
|
||||
morning: "mëngjes",
|
||||
afternoon: "mbasdite",
|
||||
evening: "mbrëmje",
|
||||
night: "natë",
|
||||
},
|
||||
};
|
||||
|
||||
const formattingDayPeriodValues = {
|
||||
narrow: {
|
||||
am: "p",
|
||||
pm: "m",
|
||||
midnight: "m",
|
||||
noon: "d",
|
||||
morning: "në mëngjes",
|
||||
afternoon: "në mbasdite",
|
||||
evening: "në mbrëmje",
|
||||
night: "në mesnatë",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "PD",
|
||||
pm: "MD",
|
||||
midnight: "mesnatë",
|
||||
noon: "drek",
|
||||
morning: "në mëngjes",
|
||||
afternoon: "në mbasdite",
|
||||
evening: "në mbrëmje",
|
||||
night: "në mesnatë",
|
||||
},
|
||||
wide: {
|
||||
am: "p.d.",
|
||||
pm: "m.d.",
|
||||
midnight: "mesnatë",
|
||||
noon: "drek",
|
||||
morning: "në mëngjes",
|
||||
afternoon: "në mbasdite",
|
||||
evening: "në mbrëmje",
|
||||
night: "në mesnatë",
|
||||
},
|
||||
};
|
||||
|
||||
const ordinalNumber = (dirtyNumber, options) => {
|
||||
const number = Number(dirtyNumber);
|
||||
|
||||
if (options?.unit === "hour") return String(number);
|
||||
|
||||
if (number === 1) return number + "-rë";
|
||||
if (number === 4) return number + "t";
|
||||
|
||||
return number + "-të";
|
||||
};
|
||||
|
||||
export const localize = {
|
||||
ordinalNumber,
|
||||
|
||||
era: buildLocalizeFn({
|
||||
values: eraValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
quarter: buildLocalizeFn({
|
||||
values: quarterValues,
|
||||
defaultWidth: "wide",
|
||||
argumentCallback: (quarter) => quarter - 1,
|
||||
}),
|
||||
|
||||
month: buildLocalizeFn({
|
||||
values: monthValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
day: buildLocalizeFn({
|
||||
values: dayValues,
|
||||
defaultWidth: "wide",
|
||||
}),
|
||||
|
||||
dayPeriod: buildLocalizeFn({
|
||||
values: dayPeriodValues,
|
||||
defaultWidth: "wide",
|
||||
formattingValues: formattingDayPeriodValues,
|
||||
defaultFormattingWidth: "wide",
|
||||
}),
|
||||
};
|
||||
+135
@@ -0,0 +1,135 @@
|
||||
"use strict";
|
||||
exports.match = void 0;
|
||||
|
||||
var _index = require("../../_lib/buildMatchFn.cjs");
|
||||
var _index2 = require("../../_lib/buildMatchPatternFn.cjs");
|
||||
|
||||
const matchOrdinalNumberPattern = /^(\d+)(-rë|-të|t|)?/i;
|
||||
const parseOrdinalNumberPattern = /\d+/i;
|
||||
|
||||
const matchEraPatterns = {
|
||||
narrow: /^(p|m)/i,
|
||||
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
||||
wide: /^(para krishtit|mbas krishtit)/i,
|
||||
};
|
||||
const parseEraPatterns = {
|
||||
any: [/^b/i, /^(p|m)/i],
|
||||
};
|
||||
|
||||
const matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^q[1234]/i,
|
||||
wide: /^[1234]-mujori (i{1,3}|iv)/i,
|
||||
};
|
||||
const parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i],
|
||||
};
|
||||
|
||||
const matchMonthPatterns = {
|
||||
narrow: /^[jsmpqkftnd]/i,
|
||||
abbreviated: /^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i,
|
||||
wide: /^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i,
|
||||
};
|
||||
const parseMonthPatterns = {
|
||||
narrow: [
|
||||
/^j/i,
|
||||
/^s/i,
|
||||
/^m/i,
|
||||
/^p/i,
|
||||
/^m/i,
|
||||
/^q/i,
|
||||
/^k/i,
|
||||
/^g/i,
|
||||
/^s/i,
|
||||
/^t/i,
|
||||
/^n/i,
|
||||
/^d/i,
|
||||
],
|
||||
|
||||
any: [
|
||||
/^ja/i,
|
||||
/^shk/i,
|
||||
/^mar/i,
|
||||
/^pri/i,
|
||||
/^maj/i,
|
||||
/^qer/i,
|
||||
/^kor/i,
|
||||
/^gu/i,
|
||||
/^sht/i,
|
||||
/^tet/i,
|
||||
/^n/i,
|
||||
/^d/i,
|
||||
],
|
||||
};
|
||||
|
||||
const matchDayPatterns = {
|
||||
narrow: /^[dhmeps]/i,
|
||||
short: /^(di|hë|ma|më|en|pr|sh)/i,
|
||||
abbreviated: /^(die|hën|mar|mër|enj|pre|sht)/i,
|
||||
wide: /^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i,
|
||||
};
|
||||
const parseDayPatterns = {
|
||||
narrow: [/^d/i, /^h/i, /^m/i, /^m/i, /^e/i, /^p/i, /^s/i],
|
||||
any: [/^d/i, /^h/i, /^ma/i, /^më/i, /^e/i, /^p/i, /^s/i],
|
||||
};
|
||||
|
||||
const matchDayPeriodPatterns = {
|
||||
narrow: /^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,
|
||||
any: /^([pm]\.?\s?d\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,
|
||||
};
|
||||
const parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^p/i,
|
||||
pm: /^m/i,
|
||||
midnight: /^me/i,
|
||||
noon: /^dr/i,
|
||||
morning: /mëngjes/i,
|
||||
afternoon: /mbasdite/i,
|
||||
evening: /mbrëmje/i,
|
||||
night: /natë/i,
|
||||
},
|
||||
};
|
||||
|
||||
const match = (exports.match = {
|
||||
ordinalNumber: (0, _index2.buildMatchPatternFn)({
|
||||
matchPattern: matchOrdinalNumberPattern,
|
||||
parsePattern: parseOrdinalNumberPattern,
|
||||
valueCallback: (value) => parseInt(value, 10),
|
||||
}),
|
||||
|
||||
era: (0, _index.buildMatchFn)({
|
||||
matchPatterns: matchEraPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseEraPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
quarter: (0, _index.buildMatchFn)({
|
||||
matchPatterns: matchQuarterPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseQuarterPatterns,
|
||||
defaultParseWidth: "any",
|
||||
valueCallback: (index) => index + 1,
|
||||
}),
|
||||
|
||||
month: (0, _index.buildMatchFn)({
|
||||
matchPatterns: matchMonthPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseMonthPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
day: (0, _index.buildMatchFn)({
|
||||
matchPatterns: matchDayPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseDayPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
dayPeriod: (0, _index.buildMatchFn)({
|
||||
matchPatterns: matchDayPeriodPatterns,
|
||||
defaultMatchWidth: "any",
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
});
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { Match } from "../../types.js";
|
||||
export declare const match: Match;
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
import type { Match } from "../../types.js";
|
||||
export declare const match: Match;
|
||||
+132
@@ -0,0 +1,132 @@
|
||||
import { buildMatchFn } from "../../_lib/buildMatchFn.js";
|
||||
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.js";
|
||||
|
||||
const matchOrdinalNumberPattern = /^(\d+)(-rë|-të|t|)?/i;
|
||||
const parseOrdinalNumberPattern = /\d+/i;
|
||||
|
||||
const matchEraPatterns = {
|
||||
narrow: /^(p|m)/i,
|
||||
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
||||
wide: /^(para krishtit|mbas krishtit)/i,
|
||||
};
|
||||
const parseEraPatterns = {
|
||||
any: [/^b/i, /^(p|m)/i],
|
||||
};
|
||||
|
||||
const matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^q[1234]/i,
|
||||
wide: /^[1234]-mujori (i{1,3}|iv)/i,
|
||||
};
|
||||
const parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i],
|
||||
};
|
||||
|
||||
const matchMonthPatterns = {
|
||||
narrow: /^[jsmpqkftnd]/i,
|
||||
abbreviated: /^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i,
|
||||
wide: /^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i,
|
||||
};
|
||||
const parseMonthPatterns = {
|
||||
narrow: [
|
||||
/^j/i,
|
||||
/^s/i,
|
||||
/^m/i,
|
||||
/^p/i,
|
||||
/^m/i,
|
||||
/^q/i,
|
||||
/^k/i,
|
||||
/^g/i,
|
||||
/^s/i,
|
||||
/^t/i,
|
||||
/^n/i,
|
||||
/^d/i,
|
||||
],
|
||||
|
||||
any: [
|
||||
/^ja/i,
|
||||
/^shk/i,
|
||||
/^mar/i,
|
||||
/^pri/i,
|
||||
/^maj/i,
|
||||
/^qer/i,
|
||||
/^kor/i,
|
||||
/^gu/i,
|
||||
/^sht/i,
|
||||
/^tet/i,
|
||||
/^n/i,
|
||||
/^d/i,
|
||||
],
|
||||
};
|
||||
|
||||
const matchDayPatterns = {
|
||||
narrow: /^[dhmeps]/i,
|
||||
short: /^(di|hë|ma|më|en|pr|sh)/i,
|
||||
abbreviated: /^(die|hën|mar|mër|enj|pre|sht)/i,
|
||||
wide: /^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i,
|
||||
};
|
||||
const parseDayPatterns = {
|
||||
narrow: [/^d/i, /^h/i, /^m/i, /^m/i, /^e/i, /^p/i, /^s/i],
|
||||
any: [/^d/i, /^h/i, /^ma/i, /^më/i, /^e/i, /^p/i, /^s/i],
|
||||
};
|
||||
|
||||
const matchDayPeriodPatterns = {
|
||||
narrow: /^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,
|
||||
any: /^([pm]\.?\s?d\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,
|
||||
};
|
||||
const parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^p/i,
|
||||
pm: /^m/i,
|
||||
midnight: /^me/i,
|
||||
noon: /^dr/i,
|
||||
morning: /mëngjes/i,
|
||||
afternoon: /mbasdite/i,
|
||||
evening: /mbrëmje/i,
|
||||
night: /natë/i,
|
||||
},
|
||||
};
|
||||
|
||||
export const match = {
|
||||
ordinalNumber: buildMatchPatternFn({
|
||||
matchPattern: matchOrdinalNumberPattern,
|
||||
parsePattern: parseOrdinalNumberPattern,
|
||||
valueCallback: (value) => parseInt(value, 10),
|
||||
}),
|
||||
|
||||
era: buildMatchFn({
|
||||
matchPatterns: matchEraPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseEraPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
quarter: buildMatchFn({
|
||||
matchPatterns: matchQuarterPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseQuarterPatterns,
|
||||
defaultParseWidth: "any",
|
||||
valueCallback: (index) => index + 1,
|
||||
}),
|
||||
|
||||
month: buildMatchFn({
|
||||
matchPatterns: matchMonthPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseMonthPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
day: buildMatchFn({
|
||||
matchPatterns: matchDayPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseDayPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
dayPeriod: buildMatchFn({
|
||||
matchPatterns: matchDayPeriodPatterns,
|
||||
defaultMatchWidth: "any",
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
};
|
||||
+517
@@ -0,0 +1,517 @@
|
||||
(() => {
|
||||
var _window$dateFns;function _typeof(o) {"@babel/helpers - typeof";return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if ("object" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || "default");if ("object" != _typeof(i)) return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string" === r ? String : Number)(t);}var __defProp = Object.defineProperty;
|
||||
var __export = function __export(target, all) {
|
||||
for (var name in all)
|
||||
__defProp(target, name, {
|
||||
get: all[name],
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
set: function set(newValue) {return all[name] = function () {return newValue;};}
|
||||
});
|
||||
};
|
||||
|
||||
// lib/locale/sq/_lib/formatDistance.js
|
||||
var formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
one: "m\xEB pak se nj\xEB sekond\xEB",
|
||||
other: "m\xEB pak se {{count}} sekonda"
|
||||
},
|
||||
xSeconds: {
|
||||
one: "1 sekond\xEB",
|
||||
other: "{{count}} sekonda"
|
||||
},
|
||||
halfAMinute: "gjys\xEBm minuti",
|
||||
lessThanXMinutes: {
|
||||
one: "m\xEB pak se nj\xEB minute",
|
||||
other: "m\xEB pak se {{count}} minuta"
|
||||
},
|
||||
xMinutes: {
|
||||
one: "1 minut\xEB",
|
||||
other: "{{count}} minuta"
|
||||
},
|
||||
aboutXHours: {
|
||||
one: "rreth 1 or\xEB",
|
||||
other: "rreth {{count}} or\xEB"
|
||||
},
|
||||
xHours: {
|
||||
one: "1 or\xEB",
|
||||
other: "{{count}} or\xEB"
|
||||
},
|
||||
xDays: {
|
||||
one: "1 dit\xEB",
|
||||
other: "{{count}} dit\xEB"
|
||||
},
|
||||
aboutXWeeks: {
|
||||
one: "rreth 1 jav\xEB",
|
||||
other: "rreth {{count}} jav\xEB"
|
||||
},
|
||||
xWeeks: {
|
||||
one: "1 jav\xEB",
|
||||
other: "{{count}} jav\xEB"
|
||||
},
|
||||
aboutXMonths: {
|
||||
one: "rreth 1 muaj",
|
||||
other: "rreth {{count}} muaj"
|
||||
},
|
||||
xMonths: {
|
||||
one: "1 muaj",
|
||||
other: "{{count}} muaj"
|
||||
},
|
||||
aboutXYears: {
|
||||
one: "rreth 1 vit",
|
||||
other: "rreth {{count}} vite"
|
||||
},
|
||||
xYears: {
|
||||
one: "1 vit",
|
||||
other: "{{count}} vite"
|
||||
},
|
||||
overXYears: {
|
||||
one: "mbi 1 vit",
|
||||
other: "mbi {{count}} vite"
|
||||
},
|
||||
almostXYears: {
|
||||
one: "pothuajse 1 vit",
|
||||
other: "pothuajse {{count}} vite"
|
||||
}
|
||||
};
|
||||
var formatDistance = function formatDistance(token, count, options) {
|
||||
var result;
|
||||
var tokenValue = formatDistanceLocale[token];
|
||||
if (typeof tokenValue === "string") {
|
||||
result = tokenValue;
|
||||
} else if (count === 1) {
|
||||
result = tokenValue.one;
|
||||
} else {
|
||||
result = tokenValue.other.replace("{{count}}", String(count));
|
||||
}
|
||||
if (options !== null && options !== void 0 && options.addSuffix) {
|
||||
if (options.comparison && options.comparison > 0) {
|
||||
return "n\xEB " + result;
|
||||
} else {
|
||||
return result + " m\xEB par\xEB";
|
||||
}
|
||||
}
|
||||
return result;
|
||||
};
|
||||
|
||||
// lib/locale/_lib/buildFormatLongFn.js
|
||||
function buildFormatLongFn(args) {
|
||||
return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
||||
var width = options.width ? String(options.width) : args.defaultWidth;
|
||||
var format = args.formats[width] || args.formats[args.defaultWidth];
|
||||
return format;
|
||||
};
|
||||
}
|
||||
|
||||
// lib/locale/sq/_lib/formatLong.js
|
||||
var dateFormats = {
|
||||
full: "EEEE, MMMM do, y",
|
||||
long: "MMMM do, y",
|
||||
medium: "MMM d, y",
|
||||
short: "MM/dd/yyyy"
|
||||
};
|
||||
var timeFormats = {
|
||||
full: "h:mm:ss a zzzz",
|
||||
long: "h:mm:ss a z",
|
||||
medium: "h:mm:ss a",
|
||||
short: "h:mm a"
|
||||
};
|
||||
var dateTimeFormats = {
|
||||
full: "{{date}} 'n\xEB' {{time}}",
|
||||
long: "{{date}} 'n\xEB' {{time}}",
|
||||
medium: "{{date}}, {{time}}",
|
||||
short: "{{date}}, {{time}}"
|
||||
};
|
||||
var formatLong = {
|
||||
date: buildFormatLongFn({
|
||||
formats: dateFormats,
|
||||
defaultWidth: "full"
|
||||
}),
|
||||
time: buildFormatLongFn({
|
||||
formats: timeFormats,
|
||||
defaultWidth: "full"
|
||||
}),
|
||||
dateTime: buildFormatLongFn({
|
||||
formats: dateTimeFormats,
|
||||
defaultWidth: "full"
|
||||
})
|
||||
};
|
||||
|
||||
// lib/locale/sq/_lib/formatRelative.js
|
||||
var formatRelativeLocale = {
|
||||
lastWeek: "'t\xEB' eeee 'e shkuar n\xEB' p",
|
||||
yesterday: "'dje n\xEB' p",
|
||||
today: "'sot n\xEB' p",
|
||||
tomorrow: "'nes\xEBr n\xEB' p",
|
||||
nextWeek: "eeee 'at' p",
|
||||
other: "P"
|
||||
};
|
||||
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};
|
||||
|
||||
// lib/locale/_lib/buildLocalizeFn.js
|
||||
function buildLocalizeFn(args) {
|
||||
return function (value, options) {
|
||||
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
|
||||
var valuesArray;
|
||||
if (context === "formatting" && args.formattingValues) {
|
||||
var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
||||
var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
|
||||
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
||||
} else {
|
||||
var _defaultWidth = args.defaultWidth;
|
||||
var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
|
||||
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
||||
}
|
||||
var index = args.argumentCallback ? args.argumentCallback(value) : value;
|
||||
return valuesArray[index];
|
||||
};
|
||||
}
|
||||
|
||||
// lib/locale/sq/_lib/localize.js
|
||||
var eraValues = {
|
||||
narrow: ["P", "M"],
|
||||
abbreviated: ["PK", "MK"],
|
||||
wide: ["Para Krishtit", "Mbas Krishtit"]
|
||||
};
|
||||
var quarterValues = {
|
||||
narrow: ["1", "2", "3", "4"],
|
||||
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
||||
wide: ["4-mujori I", "4-mujori II", "4-mujori III", "4-mujori IV"]
|
||||
};
|
||||
var monthValues = {
|
||||
narrow: ["J", "S", "M", "P", "M", "Q", "K", "G", "S", "T", "N", "D"],
|
||||
abbreviated: [
|
||||
"Jan",
|
||||
"Shk",
|
||||
"Mar",
|
||||
"Pri",
|
||||
"Maj",
|
||||
"Qer",
|
||||
"Kor",
|
||||
"Gus",
|
||||
"Sht",
|
||||
"Tet",
|
||||
"N\xEBn",
|
||||
"Dhj"],
|
||||
|
||||
wide: [
|
||||
"Janar",
|
||||
"Shkurt",
|
||||
"Mars",
|
||||
"Prill",
|
||||
"Maj",
|
||||
"Qershor",
|
||||
"Korrik",
|
||||
"Gusht",
|
||||
"Shtator",
|
||||
"Tetor",
|
||||
"N\xEBntor",
|
||||
"Dhjetor"]
|
||||
|
||||
};
|
||||
var dayValues = {
|
||||
narrow: ["D", "H", "M", "M", "E", "P", "S"],
|
||||
short: ["Di", "H\xEB", "Ma", "M\xEB", "En", "Pr", "Sh"],
|
||||
abbreviated: ["Die", "H\xEBn", "Mar", "M\xEBr", "Enj", "Pre", "Sht"],
|
||||
wide: ["Diel\xEB", "H\xEBn\xEB", "Mart\xEB", "M\xEBrkur\xEB", "Enjte", "Premte", "Shtun\xEB"]
|
||||
};
|
||||
var dayPeriodValues = {
|
||||
narrow: {
|
||||
am: "p",
|
||||
pm: "m",
|
||||
midnight: "m",
|
||||
noon: "d",
|
||||
morning: "m\xEBngjes",
|
||||
afternoon: "dite",
|
||||
evening: "mbr\xEBmje",
|
||||
night: "nat\xEB"
|
||||
},
|
||||
abbreviated: {
|
||||
am: "PD",
|
||||
pm: "MD",
|
||||
midnight: "mesn\xEBt\xEB",
|
||||
noon: "drek",
|
||||
morning: "m\xEBngjes",
|
||||
afternoon: "mbasdite",
|
||||
evening: "mbr\xEBmje",
|
||||
night: "nat\xEB"
|
||||
},
|
||||
wide: {
|
||||
am: "p.d.",
|
||||
pm: "m.d.",
|
||||
midnight: "mesn\xEBt\xEB",
|
||||
noon: "drek",
|
||||
morning: "m\xEBngjes",
|
||||
afternoon: "mbasdite",
|
||||
evening: "mbr\xEBmje",
|
||||
night: "nat\xEB"
|
||||
}
|
||||
};
|
||||
var formattingDayPeriodValues = {
|
||||
narrow: {
|
||||
am: "p",
|
||||
pm: "m",
|
||||
midnight: "m",
|
||||
noon: "d",
|
||||
morning: "n\xEB m\xEBngjes",
|
||||
afternoon: "n\xEB mbasdite",
|
||||
evening: "n\xEB mbr\xEBmje",
|
||||
night: "n\xEB mesnat\xEB"
|
||||
},
|
||||
abbreviated: {
|
||||
am: "PD",
|
||||
pm: "MD",
|
||||
midnight: "mesnat\xEB",
|
||||
noon: "drek",
|
||||
morning: "n\xEB m\xEBngjes",
|
||||
afternoon: "n\xEB mbasdite",
|
||||
evening: "n\xEB mbr\xEBmje",
|
||||
night: "n\xEB mesnat\xEB"
|
||||
},
|
||||
wide: {
|
||||
am: "p.d.",
|
||||
pm: "m.d.",
|
||||
midnight: "mesnat\xEB",
|
||||
noon: "drek",
|
||||
morning: "n\xEB m\xEBngjes",
|
||||
afternoon: "n\xEB mbasdite",
|
||||
evening: "n\xEB mbr\xEBmje",
|
||||
night: "n\xEB mesnat\xEB"
|
||||
}
|
||||
};
|
||||
var ordinalNumber = function ordinalNumber(dirtyNumber, options) {
|
||||
var number = Number(dirtyNumber);
|
||||
if ((options === null || options === void 0 ? void 0 : options.unit) === "hour")
|
||||
return String(number);
|
||||
if (number === 1)
|
||||
return number + "-r\xEB";
|
||||
if (number === 4)
|
||||
return number + "t";
|
||||
return number + "-t\xEB";
|
||||
};
|
||||
var localize = {
|
||||
ordinalNumber: ordinalNumber,
|
||||
era: buildLocalizeFn({
|
||||
values: eraValues,
|
||||
defaultWidth: "wide"
|
||||
}),
|
||||
quarter: buildLocalizeFn({
|
||||
values: quarterValues,
|
||||
defaultWidth: "wide",
|
||||
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
||||
}),
|
||||
month: buildLocalizeFn({
|
||||
values: monthValues,
|
||||
defaultWidth: "wide"
|
||||
}),
|
||||
day: buildLocalizeFn({
|
||||
values: dayValues,
|
||||
defaultWidth: "wide"
|
||||
}),
|
||||
dayPeriod: buildLocalizeFn({
|
||||
values: dayPeriodValues,
|
||||
defaultWidth: "wide",
|
||||
formattingValues: formattingDayPeriodValues,
|
||||
defaultFormattingWidth: "wide"
|
||||
})
|
||||
};
|
||||
|
||||
// lib/locale/_lib/buildMatchFn.js
|
||||
function buildMatchFn(args) {
|
||||
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||||
var width = options.width;
|
||||
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
||||
var matchResult = string.match(matchPattern);
|
||||
if (!matchResult) {
|
||||
return null;
|
||||
}
|
||||
var matchedString = matchResult[0];
|
||||
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
||||
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
||||
var value;
|
||||
value = args.valueCallback ? args.valueCallback(key) : key;
|
||||
value = options.valueCallback ? options.valueCallback(value) : value;
|
||||
var rest = string.slice(matchedString.length);
|
||||
return { value: value, rest: rest };
|
||||
};
|
||||
}
|
||||
function findKey(object, predicate) {
|
||||
for (var key in object) {
|
||||
if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
|
||||
return key;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
function findIndex(array, predicate) {
|
||||
for (var key = 0; key < array.length; key++) {
|
||||
if (predicate(array[key])) {
|
||||
return key;
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
// lib/locale/_lib/buildMatchPatternFn.js
|
||||
function buildMatchPatternFn(args) {
|
||||
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
||||
var matchResult = string.match(args.matchPattern);
|
||||
if (!matchResult)
|
||||
return null;
|
||||
var matchedString = matchResult[0];
|
||||
var parseResult = string.match(args.parsePattern);
|
||||
if (!parseResult)
|
||||
return null;
|
||||
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
||||
value = options.valueCallback ? options.valueCallback(value) : value;
|
||||
var rest = string.slice(matchedString.length);
|
||||
return { value: value, rest: rest };
|
||||
};
|
||||
}
|
||||
|
||||
// lib/locale/sq/_lib/match.js
|
||||
var matchOrdinalNumberPattern = /^(\d+)(-rë|-të|t|)?/i;
|
||||
var parseOrdinalNumberPattern = /\d+/i;
|
||||
var matchEraPatterns = {
|
||||
narrow: /^(p|m)/i,
|
||||
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
||||
wide: /^(para krishtit|mbas krishtit)/i
|
||||
};
|
||||
var parseEraPatterns = {
|
||||
any: [/^b/i, /^(p|m)/i]
|
||||
};
|
||||
var matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^q[1234]/i,
|
||||
wide: /^[1234]-mujori (i{1,3}|iv)/i
|
||||
};
|
||||
var parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i]
|
||||
};
|
||||
var matchMonthPatterns = {
|
||||
narrow: /^[jsmpqkftnd]/i,
|
||||
abbreviated: /^(jan|shk|mar|pri|maj|qer|kor|gus|sht|tet|nën|dhj)/i,
|
||||
wide: /^(janar|shkurt|mars|prill|maj|qershor|korrik|gusht|shtator|tetor|nëntor|dhjetor)/i
|
||||
};
|
||||
var parseMonthPatterns = {
|
||||
narrow: [
|
||||
/^j/i,
|
||||
/^s/i,
|
||||
/^m/i,
|
||||
/^p/i,
|
||||
/^m/i,
|
||||
/^q/i,
|
||||
/^k/i,
|
||||
/^g/i,
|
||||
/^s/i,
|
||||
/^t/i,
|
||||
/^n/i,
|
||||
/^d/i],
|
||||
|
||||
any: [
|
||||
/^ja/i,
|
||||
/^shk/i,
|
||||
/^mar/i,
|
||||
/^pri/i,
|
||||
/^maj/i,
|
||||
/^qer/i,
|
||||
/^kor/i,
|
||||
/^gu/i,
|
||||
/^sht/i,
|
||||
/^tet/i,
|
||||
/^n/i,
|
||||
/^d/i]
|
||||
|
||||
};
|
||||
var matchDayPatterns = {
|
||||
narrow: /^[dhmeps]/i,
|
||||
short: /^(di|hë|ma|më|en|pr|sh)/i,
|
||||
abbreviated: /^(die|hën|mar|mër|enj|pre|sht)/i,
|
||||
wide: /^(dielë|hënë|martë|mërkurë|enjte|premte|shtunë)/i
|
||||
};
|
||||
var parseDayPatterns = {
|
||||
narrow: [/^d/i, /^h/i, /^m/i, /^m/i, /^e/i, /^p/i, /^s/i],
|
||||
any: [/^d/i, /^h/i, /^ma/i, /^më/i, /^e/i, /^p/i, /^s/i]
|
||||
};
|
||||
var matchDayPeriodPatterns = {
|
||||
narrow: /^(p|m|me|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i,
|
||||
any: /^([pm]\.?\s?d\.?|drek|në (mëngjes|mbasdite|mbrëmje|mesnatë))/i
|
||||
};
|
||||
var parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^p/i,
|
||||
pm: /^m/i,
|
||||
midnight: /^me/i,
|
||||
noon: /^dr/i,
|
||||
morning: /mëngjes/i,
|
||||
afternoon: /mbasdite/i,
|
||||
evening: /mbrëmje/i,
|
||||
night: /natë/i
|
||||
}
|
||||
};
|
||||
var match = {
|
||||
ordinalNumber: buildMatchPatternFn({
|
||||
matchPattern: matchOrdinalNumberPattern,
|
||||
parsePattern: parseOrdinalNumberPattern,
|
||||
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
||||
}),
|
||||
era: buildMatchFn({
|
||||
matchPatterns: matchEraPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseEraPatterns,
|
||||
defaultParseWidth: "any"
|
||||
}),
|
||||
quarter: buildMatchFn({
|
||||
matchPatterns: matchQuarterPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseQuarterPatterns,
|
||||
defaultParseWidth: "any",
|
||||
valueCallback: function valueCallback(index) {return index + 1;}
|
||||
}),
|
||||
month: buildMatchFn({
|
||||
matchPatterns: matchMonthPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseMonthPatterns,
|
||||
defaultParseWidth: "any"
|
||||
}),
|
||||
day: buildMatchFn({
|
||||
matchPatterns: matchDayPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseDayPatterns,
|
||||
defaultParseWidth: "any"
|
||||
}),
|
||||
dayPeriod: buildMatchFn({
|
||||
matchPatterns: matchDayPeriodPatterns,
|
||||
defaultMatchWidth: "any",
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: "any"
|
||||
})
|
||||
};
|
||||
|
||||
// lib/locale/sq.js
|
||||
var sq = {
|
||||
code: "sq",
|
||||
formatDistance: formatDistance,
|
||||
formatLong: formatLong,
|
||||
formatRelative: formatRelative,
|
||||
localize: localize,
|
||||
match: match,
|
||||
options: {
|
||||
weekStartsOn: 1,
|
||||
firstWeekContainsDate: 1
|
||||
}
|
||||
};
|
||||
|
||||
// lib/locale/sq/cdn.js
|
||||
window.dateFns = _objectSpread(_objectSpread({},
|
||||
window.dateFns), {}, {
|
||||
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
||||
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
||||
sq: sq }) });
|
||||
|
||||
|
||||
|
||||
//# debugId=20226FB7E605365064756E2164756E21
|
||||
|
||||
//# sourceMappingURL=cdn.js.map
|
||||
})();
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"cdn.js","names":["__defProp","Object","defineProperty","__export","target","all","name","get","enumerable","configurable","set","newValue","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","options","result","tokenValue","replace","String","addSuffix","comparison","buildFormatLongFn","args","arguments","length","undefined","width","defaultWidth","format","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","date","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","formatRelative","_date","_baseDate","_options","buildLocalizeFn","value","context","valuesArray","formattingValues","defaultFormattingWidth","values","index","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","dayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","number","Number","unit","localize","era","quarter","month","day","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","pattern","test","findKey","valueCallback","rest","slice","object","predicate","prototype","hasOwnProperty","call","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","sq","code","weekStartsOn","firstWeekContainsDate","window","dateFns","_objectSpread","locale","_window$dateFns"],"sources":["cdn.js"],"sourcesContent":["var __defProp = Object.defineProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: (newValue) => all[name] = () => newValue\n });\n};\n\n// lib/locale/sq/_lib/formatDistance.js\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"m\\xEB pak se nj\\xEB sekond\\xEB\",\n other: \"m\\xEB pak se {{count}} sekonda\"\n },\n xSeconds: {\n one: \"1 sekond\\xEB\",\n other: \"{{count}} sekonda\"\n },\n halfAMinute: \"gjys\\xEBm minuti\",\n lessThanXMinutes: {\n one: \"m\\xEB pak se nj\\xEB minute\",\n other: \"m\\xEB pak se {{count}} minuta\"\n },\n xMinutes: {\n one: \"1 minut\\xEB\",\n other: \"{{count}} minuta\"\n },\n aboutXHours: {\n one: \"rreth 1 or\\xEB\",\n other: \"rreth {{count}} or\\xEB\"\n },\n xHours: {\n one: \"1 or\\xEB\",\n other: \"{{count}} or\\xEB\"\n },\n xDays: {\n one: \"1 dit\\xEB\",\n other: \"{{count}} dit\\xEB\"\n },\n aboutXWeeks: {\n one: \"rreth 1 jav\\xEB\",\n other: \"rreth {{count}} jav\\xEB\"\n },\n xWeeks: {\n one: \"1 jav\\xEB\",\n other: \"{{count}} jav\\xEB\"\n },\n aboutXMonths: {\n one: \"rreth 1 muaj\",\n other: \"rreth {{count}} muaj\"\n },\n xMonths: {\n one: \"1 muaj\",\n other: \"{{count}} muaj\"\n },\n aboutXYears: {\n one: \"rreth 1 vit\",\n other: \"rreth {{count}} vite\"\n },\n xYears: {\n one: \"1 vit\",\n other: \"{{count}} vite\"\n },\n overXYears: {\n one: \"mbi 1 vit\",\n other: \"mbi {{count}} vite\"\n },\n almostXYears: {\n one: \"pothuajse 1 vit\",\n other: \"pothuajse {{count}} vite\"\n }\n};\nvar formatDistance = (token, count, options) => {\n let result;\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"n\\xEB \" + result;\n } else {\n return result + \" m\\xEB par\\xEB\";\n }\n }\n return result;\n};\n\n// lib/locale/_lib/buildFormatLongFn.js\nfunction buildFormatLongFn(args) {\n return (options = {}) => {\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n\n// lib/locale/sq/_lib/formatLong.js\nvar dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\"\n};\nvar timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'nLine truncated
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
(()=>{var $;function U(C){return U=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},U(C)}function x(C,G){var H=Object.keys(C);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(C);G&&(J=J.filter(function(X){return Object.getOwnPropertyDescriptor(C,X).enumerable})),H.push.apply(H,J)}return H}function Q(C){for(var G=1;G<arguments.length;G++){var H=arguments[G]!=null?arguments[G]:{};G%2?x(Object(H),!0).forEach(function(J){E(C,J,H[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(C,Object.getOwnPropertyDescriptors(H)):x(Object(H)).forEach(function(J){Object.defineProperty(C,J,Object.getOwnPropertyDescriptor(H,J))})}return C}function E(C,G,H){if(G=N(G),G in C)Object.defineProperty(C,G,{value:H,enumerable:!0,configurable:!0,writable:!0});else C[G]=H;return C}function N(C){var G=z(C,"string");return U(G)=="symbol"?G:String(G)}function z(C,G){if(U(C)!="object"||!C)return C;var H=C[Symbol.toPrimitive];if(H!==void 0){var J=H.call(C,G||"default");if(U(J)!="object")return J;throw new TypeError("@@toPrimitive must return a primitive value.")}return(G==="string"?String:Number)(C)}var W=Object.defineProperty,HC=function C(G,H){for(var J in H)W(G,J,{get:H[J],enumerable:!0,configurable:!0,set:function X(Y){return H[J]=function(){return Y}}})},D={lessThanXSeconds:{one:"m\xEB pak se nj\xEB sekond\xEB",other:"m\xEB pak se {{count}} sekonda"},xSeconds:{one:"1 sekond\xEB",other:"{{count}} sekonda"},halfAMinute:"gjys\xEBm minuti",lessThanXMinutes:{one:"m\xEB pak se nj\xEB minute",other:"m\xEB pak se {{count}} minuta"},xMinutes:{one:"1 minut\xEB",other:"{{count}} minuta"},aboutXHours:{one:"rreth 1 or\xEB",other:"rreth {{count}} or\xEB"},xHours:{one:"1 or\xEB",other:"{{count}} or\xEB"},xDays:{one:"1 dit\xEB",other:"{{count}} dit\xEB"},aboutXWeeks:{one:"rreth 1 jav\xEB",other:"rreth {{count}} jav\xEB"},xWeeks:{one:"1 jav\xEB",other:"{{count}} jav\xEB"},aboutXMonths:{one:"rreth 1 muaj",other:"rreth {{count}} muaj"},xMonths:{one:"1 muaj",other:"{{count}} muaj"},aboutXYears:{one:"rreth 1 vit",other:"rreth {{count}} vite"},xYears:{one:"1 vit",other:"{{count}} vite"},overXYears:{one:"mbi 1 vit",other:"mbi {{count}} vite"},almostXYears:{one:"pothuajse 1 vit",other:"pothuajse {{count}} vite"}},S=function C(G,H,J){var X,Y=D[G];if(typeof Y==="string")X=Y;else if(H===1)X=Y.one;else X=Y.other.replace("{{count}}",String(H));if(J!==null&&J!==void 0&&J.addSuffix)if(J.comparison&&J.comparison>0)return"n\xEB "+X;else return X+" m\xEB par\xEB";return X};function q(C){return function(){var G=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},H=G.width?String(G.width):C.defaultWidth,J=C.formats[H]||C.formats[C.defaultWidth];return J}}var M={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},R={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},L={full:"{{date}} 'n\xEB' {{time}}",long:"{{date}} 'n\xEB' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},V={date:q({formats:M,defaultWidth:"full"}),time:q({formats:R,defaultWidth:"full"}),dateTime:q({formats:L,defaultWidth:"full"})},j={lastWeek:"'t\xEB' eeee 'e shkuar n\xEB' p",yesterday:"'dje n\xEB' p",today:"'sot n\xEB' p",tomorrow:"'nes\xEBr n\xEB' p",nextWeek:"eeee 'at' p",other:"P"},w=function C(G,H,J,X){return j[G]};function I(C){return function(G,H){var J=H!==null&&H!==void 0&&H.context?String(H.context):"standalone",X;if(J==="formatting"&&C.formattingValues){var Y=C.defaultFormattingWidth||C.defaultWidth,Z=H!==null&&H!==void 0&&H.width?String(H.width):Y;X=C.formattingValues[Z]||C.formattingValues[Y]}else{var B=C.defaultWidth,A=H!==null&&H!==void 0&&H.width?String(H.width):C.defaultWidth;X=C.values[A]||C.values[B]}var T=C.argumentCallback?C.argumentCallback(G):G;return X[T]}}var _={narrow:["P","M"],abbreviated:["PK","MK"],wide:["Para Krishtit","Mbas Krishtit"]},f={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["4-mujori I","4-mujori II","4-mujori III","4-mujori IV"]},F={narrow:["J","S","M","P","M","Q","K","G","S","T","N","D"],abbreviated:["Jan","Shk","Mar","Pri","Maj","Qer","Kor","Gus","Sht","Tet","N\xEBn","Dhj"],wide:["Janar","Shkurt","Mars","Prill","Maj","Qershor","Korrik","Gusht","Shtator","Tetor","N\xEBntor","Dhjetor"]},v={narrow:["D","H","M","M","E","P","S"],short:["Di","H\xEB","Ma","M\xEB","En","Pr","Sh"],abbreviated:["Die","H\xEBn","Mar","M\xEBr","Enj","Pre","Sht"],wide:["Diel\xEB","H\xEBn\xEB","Mart\xEB","M\xEBrkur\xEB","Enjte","Premte","Shtun\xEB"]},P={narrow:{am:"p",pm:"m",midnight:"m",noon:"d",morning:"m\xEBngjes",afternoon:"dite",evening:"mbr\xEBmje",night:"nat\xEB"},abbreviated:{am:"PD",pm:"MD",midnight:"mesn\xEBt\xEB",noon:"drek",morning:"m\xEBngjes",afternoon:"mbasdite",evening:"mbr\xEBmje",night:"nat\xEB"},wide:{am:"p.d.",pm:"m.d.",midnight:"mesn\xEBt\xEB",noon:"drek",morning:"m\xEBngjes",afternoon:"mbasdite",evLine truncated
|
||||
|
||||
//# debugId=D48C8CA47786923564756E2164756E21
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["lib/locale/sq/cdn.js"],
|
||||
"sourcesContent": [
|
||||
"(() => {\nvar _window$dateFns;function _typeof(o) {\"@babel/helpers - typeof\";return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, \"string\");return \"symbol\" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if (\"object\" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || \"default\");if (\"object\" != _typeof(i)) return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\");}return (\"string\" === r ? String : Number)(t);}var __defProp = Object.defineProperty;\nvar __export = function __export(target, all) {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: function set(newValue) {return all[name] = function () {return newValue;};}\n });\n};\n\n// lib/locale/sq/_lib/formatDistance.js\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"m\\xEB pak se nj\\xEB sekond\\xEB\",\n other: \"m\\xEB pak se {{count}} sekonda\"\n },\n xSeconds: {\n one: \"1 sekond\\xEB\",\n other: \"{{count}} sekonda\"\n },\n halfAMinute: \"gjys\\xEBm minuti\",\n lessThanXMinutes: {\n one: \"m\\xEB pak se nj\\xEB minute\",\n other: \"m\\xEB pak se {{count}} minuta\"\n },\n xMinutes: {\n one: \"1 minut\\xEB\",\n other: \"{{count}} minuta\"\n },\n aboutXHours: {\n one: \"rreth 1 or\\xEB\",\n other: \"rreth {{count}} or\\xEB\"\n },\n xHours: {\n one: \"1 or\\xEB\",\n other: \"{{count}} or\\xEB\"\n },\n xDays: {\n one: \"1 dit\\xEB\",\n other: \"{{count}} dit\\xEB\"\n },\n aboutXWeeks: {\n one: \"rreth 1 jav\\xEB\",\n other: \"rreth {{count}} jav\\xEB\"\n },\n xWeeks: {\n one: \"1 jav\\xEB\",\n other: \"{{count}} jav\\xEB\"\n },\n aboutXMonths: {\n one: \"rreth 1 muaj\",\n other: \"rreth {{count}} muaj\"\n },\n xMonths: {\n one: \"1 muaj\",\n other: \"{{count}} muaj\"\n },\n aboutXYears: {\n one: \"rreth 1 vit\",\n other: \"rreth {{count}} vite\"\n },\n xYears: {\n one: \"1 vit\",\n other: \"{{count}} vite\"\n },\n overXYears: {\n one: \"mbi 1 vit\",\n other: \"mbi {{count}} vite\"\n },\n almostXYears: {\n one: \"pothuajse 1 vit\",\n other: \"pothuajse {{count}} vite\"\n }\n};\nvar formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"n\\xEB \" + result;\n } else {\n return result + \" m\\xEB par\\xEB\";\n }\n }\n return result;\n};\n\n// lib/locale/_lib/buildFormatLongFn.js\nfunction buildFormatLongFn(args) {\n return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n\n// lib/locale/sq/_lib/formatLong.js\nvar dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\"\n};\nvar timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'n\\xEB' {{time}}\",\n long: \"{{date}} 'n\\xEB' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\"\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: Line truncated
|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O,MAAO,KAAK,EACnE,KAAM,CAAC,WAAY,aAAc,WAAY,gBAAiB,QAAS,SAAU,WAAW,CAC9F,EACI,EAAkB,CACpB,OAAQ,CACN,GAAI,IACJ,GAAI,IACJ,SAAU,IACV,KAAM,IACN,QAAS,aACT,UAAW,OACX,QAAS,aACT,MAAO,SACT,EACA,YAAa,CACX,GAAI,KACJ,GAAI,KACJ,SAAU,gBACV,KAAM,OACN,QAAS,aACT,UAAW,WACX,QAAS,aACT,MAAO,SACT,EACA,KAAM,CACJ,GAAI,OACJ,GAAI,OACJ,SAAU,gBACV,KAAM,OACN,QAAS,aACT,UAAW,WACX,QAAS,aACT,MAAO,SACT,CACF,EACI,EAA4B,CAC9B,OAAQ,CACN,GAAI,IACJ,GAAI,IACJ,SAAU,IACV,KAAM,IACN,QAAS,mBACT,UAAW,iBACX,QAAS,mBACT,MAAO,kBACT,EACA,YAAa,CACX,GAAI,KACJ,GAAI,KACJ,SAAU,aACV,KAAM,OACN,QAAS,mBACT,UAAW,iBACX,QAAS,mBACT,MAAO,kBACT,EACA,KAAM,CACJ,GAAI,OACJ,GAAI,OACJ,SAAU,aACV,KAAM,OACN,QAAS,mBACT,UAAW,iBACX,QAAS,mBACT,MAAO,kBACT,CACF,EACI,WAAyB,CAAa,CAAC,EAAa,EAAS,CAC/D,IAAI,EAAS,OAAO,CAAW,EAC/B,IAAK,IAAY,MAAQ,IAAiB,OAAS,OAAI,ELine truncated
|
||||
"debugId": "D48C8CA47786923564756E2164756E21",
|
||||
"names": []
|
||||
}
|
||||
Reference in new issue
Block a user