FIN INIT
This commit is contained in:
122
node_modules/date-fns/locale/ka/_lib/formatDistance.cjs
generated
vendored
Normal file
122
node_modules/date-fns/locale/ka/_lib/formatDistance.cjs
generated
vendored
Normal file
@ -0,0 +1,122 @@
|
||||
"use strict";
|
||||
exports.formatDistance = void 0;
|
||||
|
||||
const formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
past: "{{count}} წამზე ნაკლები ხნის წინ",
|
||||
present: "{{count}} წამზე ნაკლები",
|
||||
future: "{{count}} წამზე ნაკლებში",
|
||||
},
|
||||
|
||||
xSeconds: {
|
||||
past: "{{count}} წამის წინ",
|
||||
present: "{{count}} წამი",
|
||||
future: "{{count}} წამში",
|
||||
},
|
||||
|
||||
halfAMinute: {
|
||||
past: "ნახევარი წუთის წინ",
|
||||
present: "ნახევარი წუთი",
|
||||
future: "ნახევარი წუთში",
|
||||
},
|
||||
|
||||
lessThanXMinutes: {
|
||||
past: "{{count}} წუთზე ნაკლები ხნის წინ",
|
||||
present: "{{count}} წუთზე ნაკლები",
|
||||
future: "{{count}} წუთზე ნაკლებში",
|
||||
},
|
||||
|
||||
xMinutes: {
|
||||
past: "{{count}} წუთის წინ",
|
||||
present: "{{count}} წუთი",
|
||||
future: "{{count}} წუთში",
|
||||
},
|
||||
|
||||
aboutXHours: {
|
||||
past: "დაახლოებით {{count}} საათის წინ",
|
||||
present: "დაახლოებით {{count}} საათი",
|
||||
future: "დაახლოებით {{count}} საათში",
|
||||
},
|
||||
|
||||
xHours: {
|
||||
past: "{{count}} საათის წინ",
|
||||
present: "{{count}} საათი",
|
||||
future: "{{count}} საათში",
|
||||
},
|
||||
|
||||
xDays: {
|
||||
past: "{{count}} დღის წინ",
|
||||
present: "{{count}} დღე",
|
||||
future: "{{count}} დღეში",
|
||||
},
|
||||
|
||||
aboutXWeeks: {
|
||||
past: "დაახლოებით {{count}} კვირას წინ",
|
||||
present: "დაახლოებით {{count}} კვირა",
|
||||
future: "დაახლოებით {{count}} კვირაში",
|
||||
},
|
||||
|
||||
xWeeks: {
|
||||
past: "{{count}} კვირას კვირა",
|
||||
present: "{{count}} კვირა",
|
||||
future: "{{count}} კვირაში",
|
||||
},
|
||||
|
||||
aboutXMonths: {
|
||||
past: "დაახლოებით {{count}} თვის წინ",
|
||||
present: "დაახლოებით {{count}} თვე",
|
||||
future: "დაახლოებით {{count}} თვეში",
|
||||
},
|
||||
|
||||
xMonths: {
|
||||
past: "{{count}} თვის წინ",
|
||||
present: "{{count}} თვე",
|
||||
future: "{{count}} თვეში",
|
||||
},
|
||||
|
||||
aboutXYears: {
|
||||
past: "დაახლოებით {{count}} წლის წინ",
|
||||
present: "დაახლოებით {{count}} წელი",
|
||||
future: "დაახლოებით {{count}} წელში",
|
||||
},
|
||||
|
||||
xYears: {
|
||||
past: "{{count}} წლის წინ",
|
||||
present: "{{count}} წელი",
|
||||
future: "{{count}} წელში",
|
||||
},
|
||||
|
||||
overXYears: {
|
||||
past: "{{count}} წელზე მეტი ხნის წინ",
|
||||
present: "{{count}} წელზე მეტი",
|
||||
future: "{{count}} წელზე მეტი ხნის შემდეგ",
|
||||
},
|
||||
|
||||
almostXYears: {
|
||||
past: "თითქმის {{count}} წლის წინ",
|
||||
present: "თითქმის {{count}} წელი",
|
||||
future: "თითქმის {{count}} წელში",
|
||||
},
|
||||
};
|
||||
|
||||
const formatDistance = (token, count, options) => {
|
||||
let result;
|
||||
|
||||
const tokenValue = formatDistanceLocale[token];
|
||||
if (typeof tokenValue === "string") {
|
||||
result = tokenValue;
|
||||
} else if (
|
||||
options?.addSuffix &&
|
||||
options.comparison &&
|
||||
options.comparison > 0
|
||||
) {
|
||||
result = tokenValue.future.replace("{{count}}", String(count));
|
||||
} else if (options?.addSuffix) {
|
||||
result = tokenValue.past.replace("{{count}}", String(count));
|
||||
} else {
|
||||
result = tokenValue.present.replace("{{count}}", String(count));
|
||||
}
|
||||
|
||||
return result;
|
||||
};
|
||||
exports.formatDistance = formatDistance;
|
2
node_modules/date-fns/locale/ka/_lib/formatDistance.d.cts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/formatDistance.d.cts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatDistanceFn } from "../../types.js";
|
||||
export declare const formatDistance: FormatDistanceFn;
|
2
node_modules/date-fns/locale/ka/_lib/formatDistance.d.ts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/formatDistance.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatDistanceFn } from "../../types.js";
|
||||
export declare const formatDistance: FormatDistanceFn;
|
118
node_modules/date-fns/locale/ka/_lib/formatDistance.js
generated
vendored
Normal file
118
node_modules/date-fns/locale/ka/_lib/formatDistance.js
generated
vendored
Normal file
@ -0,0 +1,118 @@
|
||||
const formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
past: "{{count}} წამზე ნაკლები ხნის წინ",
|
||||
present: "{{count}} წამზე ნაკლები",
|
||||
future: "{{count}} წამზე ნაკლებში",
|
||||
},
|
||||
|
||||
xSeconds: {
|
||||
past: "{{count}} წამის წინ",
|
||||
present: "{{count}} წამი",
|
||||
future: "{{count}} წამში",
|
||||
},
|
||||
|
||||
halfAMinute: {
|
||||
past: "ნახევარი წუთის წინ",
|
||||
present: "ნახევარი წუთი",
|
||||
future: "ნახევარი წუთში",
|
||||
},
|
||||
|
||||
lessThanXMinutes: {
|
||||
past: "{{count}} წუთზე ნაკლები ხნის წინ",
|
||||
present: "{{count}} წუთზე ნაკლები",
|
||||
future: "{{count}} წუთზე ნაკლებში",
|
||||
},
|
||||
|
||||
xMinutes: {
|
||||
past: "{{count}} წუთის წინ",
|
||||
present: "{{count}} წუთი",
|
||||
future: "{{count}} წუთში",
|
||||
},
|
||||
|
||||
aboutXHours: {
|
||||
past: "დაახლოებით {{count}} საათის წინ",
|
||||
present: "დაახლოებით {{count}} საათი",
|
||||
future: "დაახლოებით {{count}} საათში",
|
||||
},
|
||||
|
||||
xHours: {
|
||||
past: "{{count}} საათის წინ",
|
||||
present: "{{count}} საათი",
|
||||
future: "{{count}} საათში",
|
||||
},
|
||||
|
||||
xDays: {
|
||||
past: "{{count}} დღის წინ",
|
||||
present: "{{count}} დღე",
|
||||
future: "{{count}} დღეში",
|
||||
},
|
||||
|
||||
aboutXWeeks: {
|
||||
past: "დაახლოებით {{count}} კვირას წინ",
|
||||
present: "დაახლოებით {{count}} კვირა",
|
||||
future: "დაახლოებით {{count}} კვირაში",
|
||||
},
|
||||
|
||||
xWeeks: {
|
||||
past: "{{count}} კვირას კვირა",
|
||||
present: "{{count}} კვირა",
|
||||
future: "{{count}} კვირაში",
|
||||
},
|
||||
|
||||
aboutXMonths: {
|
||||
past: "დაახლოებით {{count}} თვის წინ",
|
||||
present: "დაახლოებით {{count}} თვე",
|
||||
future: "დაახლოებით {{count}} თვეში",
|
||||
},
|
||||
|
||||
xMonths: {
|
||||
past: "{{count}} თვის წინ",
|
||||
present: "{{count}} თვე",
|
||||
future: "{{count}} თვეში",
|
||||
},
|
||||
|
||||
aboutXYears: {
|
||||
past: "დაახლოებით {{count}} წლის წინ",
|
||||
present: "დაახლოებით {{count}} წელი",
|
||||
future: "დაახლოებით {{count}} წელში",
|
||||
},
|
||||
|
||||
xYears: {
|
||||
past: "{{count}} წლის წინ",
|
||||
present: "{{count}} წელი",
|
||||
future: "{{count}} წელში",
|
||||
},
|
||||
|
||||
overXYears: {
|
||||
past: "{{count}} წელზე მეტი ხნის წინ",
|
||||
present: "{{count}} წელზე მეტი",
|
||||
future: "{{count}} წელზე მეტი ხნის შემდეგ",
|
||||
},
|
||||
|
||||
almostXYears: {
|
||||
past: "თითქმის {{count}} წლის წინ",
|
||||
present: "თითქმის {{count}} წელი",
|
||||
future: "თითქმის {{count}} წელში",
|
||||
},
|
||||
};
|
||||
|
||||
export const formatDistance = (token, count, options) => {
|
||||
let result;
|
||||
|
||||
const tokenValue = formatDistanceLocale[token];
|
||||
if (typeof tokenValue === "string") {
|
||||
result = tokenValue;
|
||||
} else if (
|
||||
options?.addSuffix &&
|
||||
options.comparison &&
|
||||
options.comparison > 0
|
||||
) {
|
||||
result = tokenValue.future.replace("{{count}}", String(count));
|
||||
} else if (options?.addSuffix) {
|
||||
result = tokenValue.past.replace("{{count}}", String(count));
|
||||
} else {
|
||||
result = tokenValue.present.replace("{{count}}", String(count));
|
||||
}
|
||||
|
||||
return result;
|
||||
};
|
41
node_modules/date-fns/locale/ka/_lib/formatLong.cjs
generated
vendored
Normal file
41
node_modules/date-fns/locale/ka/_lib/formatLong.cjs
generated
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
"use strict";
|
||||
exports.formatLong = void 0;
|
||||
var _index = require("../../_lib/buildFormatLongFn.cjs");
|
||||
|
||||
const dateFormats = {
|
||||
full: "EEEE, do MMMM, y",
|
||||
long: "do, MMMM, y",
|
||||
medium: "d, MMM, y",
|
||||
short: "dd/MM/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}} {{time}}'-ზე'",
|
||||
long: "{{date}} {{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
node_modules/date-fns/locale/ka/_lib/formatLong.d.cts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/formatLong.d.cts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatLong } from "../../types.js";
|
||||
export declare const formatLong: FormatLong;
|
2
node_modules/date-fns/locale/ka/_lib/formatLong.d.ts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/formatLong.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatLong } from "../../types.js";
|
||||
export declare const formatLong: FormatLong;
|
39
node_modules/date-fns/locale/ka/_lib/formatLong.js
generated
vendored
Normal file
39
node_modules/date-fns/locale/ka/_lib/formatLong.js
generated
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
|
||||
|
||||
const dateFormats = {
|
||||
full: "EEEE, do MMMM, y",
|
||||
long: "do, MMMM, y",
|
||||
medium: "d, MMM, y",
|
||||
short: "dd/MM/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}} {{time}}'-ზე'",
|
||||
long: "{{date}} {{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
node_modules/date-fns/locale/ka/_lib/formatRelative.cjs
generated
vendored
Normal file
15
node_modules/date-fns/locale/ka/_lib/formatRelative.cjs
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
exports.formatRelative = void 0;
|
||||
|
||||
const formatRelativeLocale = {
|
||||
lastWeek: "'წინა' eeee p'-ზე'",
|
||||
yesterday: "'გუშინ' p'-ზე'",
|
||||
today: "'დღეს' p'-ზე'",
|
||||
tomorrow: "'ხვალ' p'-ზე'",
|
||||
nextWeek: "'შემდეგი' eeee p'-ზე'",
|
||||
other: "P",
|
||||
};
|
||||
|
||||
const formatRelative = (token, _date, _baseDate, _options) =>
|
||||
formatRelativeLocale[token];
|
||||
exports.formatRelative = formatRelative;
|
2
node_modules/date-fns/locale/ka/_lib/formatRelative.d.cts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/formatRelative.d.cts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatRelativeFn } from "../../types.js";
|
||||
export declare const formatRelative: FormatRelativeFn;
|
2
node_modules/date-fns/locale/ka/_lib/formatRelative.d.ts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/formatRelative.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { FormatRelativeFn } from "../../types.js";
|
||||
export declare const formatRelative: FormatRelativeFn;
|
11
node_modules/date-fns/locale/ka/_lib/formatRelative.js
generated
vendored
Normal file
11
node_modules/date-fns/locale/ka/_lib/formatRelative.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
const formatRelativeLocale = {
|
||||
lastWeek: "'წინა' eeee p'-ზე'",
|
||||
yesterday: "'გუშინ' p'-ზე'",
|
||||
today: "'დღეს' p'-ზე'",
|
||||
tomorrow: "'ხვალ' p'-ზე'",
|
||||
nextWeek: "'შემდეგი' eeee p'-ზე'",
|
||||
other: "P",
|
||||
};
|
||||
|
||||
export const formatRelative = (token, _date, _baseDate, _options) =>
|
||||
formatRelativeLocale[token];
|
189
node_modules/date-fns/locale/ka/_lib/localize.cjs
generated
vendored
Normal file
189
node_modules/date-fns/locale/ka/_lib/localize.cjs
generated
vendored
Normal file
@ -0,0 +1,189 @@
|
||||
"use strict";
|
||||
exports.localize = void 0;
|
||||
var _index = require("../../_lib/buildLocalizeFn.cjs");
|
||||
|
||||
const eraValues = {
|
||||
narrow: ["ჩ.წ-მდე", "ჩ.წ"],
|
||||
abbreviated: ["ჩვ.წ-მდე", "ჩვ.წ"],
|
||||
wide: ["ჩვენს წელთაღრიცხვამდე", "ჩვენი წელთაღრიცხვით"],
|
||||
};
|
||||
|
||||
const quarterValues = {
|
||||
narrow: ["1", "2", "3", "4"],
|
||||
abbreviated: ["1-ლი კვ", "2-ე კვ", "3-ე კვ", "4-ე კვ"],
|
||||
wide: ["1-ლი კვარტალი", "2-ე კვარტალი", "3-ე კვარტალი", "4-ე კვარტალი"],
|
||||
};
|
||||
|
||||
// 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: [
|
||||
"ია",
|
||||
"თე",
|
||||
"მა",
|
||||
"აპ",
|
||||
"მს",
|
||||
"ვნ",
|
||||
"ვლ",
|
||||
"აგ",
|
||||
"სე",
|
||||
"ოქ",
|
||||
"ნო",
|
||||
"დე",
|
||||
],
|
||||
|
||||
abbreviated: [
|
||||
"იან",
|
||||
"თებ",
|
||||
"მარ",
|
||||
"აპრ",
|
||||
"მაი",
|
||||
"ივნ",
|
||||
"ივლ",
|
||||
"აგვ",
|
||||
"სექ",
|
||||
"ოქტ",
|
||||
"ნოე",
|
||||
"დეკ",
|
||||
],
|
||||
|
||||
wide: [
|
||||
"იანვარი",
|
||||
"თებერვალი",
|
||||
"მარტი",
|
||||
"აპრილი",
|
||||
"მაისი",
|
||||
"ივნისი",
|
||||
"ივლისი",
|
||||
"აგვისტო",
|
||||
"სექტემბერი",
|
||||
"ოქტომბერი",
|
||||
"ნოემბერი",
|
||||
"დეკემბერი",
|
||||
],
|
||||
};
|
||||
|
||||
const dayValues = {
|
||||
narrow: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"],
|
||||
short: ["კვი", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ"],
|
||||
abbreviated: ["კვი", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ"],
|
||||
wide: [
|
||||
"კვირა",
|
||||
"ორშაბათი",
|
||||
"სამშაბათი",
|
||||
"ოთხშაბათი",
|
||||
"ხუთშაბათი",
|
||||
"პარასკევი",
|
||||
"შაბათი",
|
||||
],
|
||||
};
|
||||
|
||||
const dayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "შუაღამე",
|
||||
noon: "შუადღე",
|
||||
morning: "დილა",
|
||||
afternoon: "საღამო",
|
||||
evening: "საღამო",
|
||||
night: "ღამე",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "AM",
|
||||
pm: "PM",
|
||||
midnight: "შუაღამე",
|
||||
noon: "შუადღე",
|
||||
morning: "დილა",
|
||||
afternoon: "საღამო",
|
||||
evening: "საღამო",
|
||||
night: "ღამე",
|
||||
},
|
||||
wide: {
|
||||
am: "a.m.",
|
||||
pm: "p.m.",
|
||||
midnight: "შუაღამე",
|
||||
noon: "შუადღე",
|
||||
morning: "დილა",
|
||||
afternoon: "საღამო",
|
||||
evening: "საღამო",
|
||||
night: "ღამე",
|
||||
},
|
||||
};
|
||||
|
||||
const formattingDayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "შუაღამით",
|
||||
noon: "შუადღისას",
|
||||
morning: "დილით",
|
||||
afternoon: "ნაშუადღევს",
|
||||
evening: "საღამოს",
|
||||
night: "ღამით",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "AM",
|
||||
pm: "PM",
|
||||
midnight: "შუაღამით",
|
||||
noon: "შუადღისას",
|
||||
morning: "დილით",
|
||||
afternoon: "ნაშუადღევს",
|
||||
evening: "საღამოს",
|
||||
night: "ღამით",
|
||||
},
|
||||
wide: {
|
||||
am: "a.m.",
|
||||
pm: "p.m.",
|
||||
midnight: "შუაღამით",
|
||||
noon: "შუადღისას",
|
||||
morning: "დილით",
|
||||
afternoon: "ნაშუადღევს",
|
||||
evening: "საღამოს",
|
||||
night: "ღამით",
|
||||
},
|
||||
};
|
||||
|
||||
const ordinalNumber = (dirtyNumber) => {
|
||||
const number = Number(dirtyNumber);
|
||||
|
||||
if (number === 1) {
|
||||
return number + "-ლი";
|
||||
}
|
||||
|
||||
return number + "-ე";
|
||||
};
|
||||
|
||||
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
node_modules/date-fns/locale/ka/_lib/localize.d.cts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/localize.d.cts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { Localize } from "../../types.js";
|
||||
export declare const localize: Localize;
|
2
node_modules/date-fns/locale/ka/_lib/localize.d.ts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/localize.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { Localize } from "../../types.js";
|
||||
export declare const localize: Localize;
|
187
node_modules/date-fns/locale/ka/_lib/localize.js
generated
vendored
Normal file
187
node_modules/date-fns/locale/ka/_lib/localize.js
generated
vendored
Normal file
@ -0,0 +1,187 @@
|
||||
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.js";
|
||||
|
||||
const eraValues = {
|
||||
narrow: ["ჩ.წ-მდე", "ჩ.წ"],
|
||||
abbreviated: ["ჩვ.წ-მდე", "ჩვ.წ"],
|
||||
wide: ["ჩვენს წელთაღრიცხვამდე", "ჩვენი წელთაღრიცხვით"],
|
||||
};
|
||||
|
||||
const quarterValues = {
|
||||
narrow: ["1", "2", "3", "4"],
|
||||
abbreviated: ["1-ლი კვ", "2-ე კვ", "3-ე კვ", "4-ე კვ"],
|
||||
wide: ["1-ლი კვარტალი", "2-ე კვარტალი", "3-ე კვარტალი", "4-ე კვარტალი"],
|
||||
};
|
||||
|
||||
// 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: [
|
||||
"ია",
|
||||
"თე",
|
||||
"მა",
|
||||
"აპ",
|
||||
"მს",
|
||||
"ვნ",
|
||||
"ვლ",
|
||||
"აგ",
|
||||
"სე",
|
||||
"ოქ",
|
||||
"ნო",
|
||||
"დე",
|
||||
],
|
||||
|
||||
abbreviated: [
|
||||
"იან",
|
||||
"თებ",
|
||||
"მარ",
|
||||
"აპრ",
|
||||
"მაი",
|
||||
"ივნ",
|
||||
"ივლ",
|
||||
"აგვ",
|
||||
"სექ",
|
||||
"ოქტ",
|
||||
"ნოე",
|
||||
"დეკ",
|
||||
],
|
||||
|
||||
wide: [
|
||||
"იანვარი",
|
||||
"თებერვალი",
|
||||
"მარტი",
|
||||
"აპრილი",
|
||||
"მაისი",
|
||||
"ივნისი",
|
||||
"ივლისი",
|
||||
"აგვისტო",
|
||||
"სექტემბერი",
|
||||
"ოქტომბერი",
|
||||
"ნოემბერი",
|
||||
"დეკემბერი",
|
||||
],
|
||||
};
|
||||
|
||||
const dayValues = {
|
||||
narrow: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"],
|
||||
short: ["კვი", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ"],
|
||||
abbreviated: ["კვი", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ"],
|
||||
wide: [
|
||||
"კვირა",
|
||||
"ორშაბათი",
|
||||
"სამშაბათი",
|
||||
"ოთხშაბათი",
|
||||
"ხუთშაბათი",
|
||||
"პარასკევი",
|
||||
"შაბათი",
|
||||
],
|
||||
};
|
||||
|
||||
const dayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "შუაღამე",
|
||||
noon: "შუადღე",
|
||||
morning: "დილა",
|
||||
afternoon: "საღამო",
|
||||
evening: "საღამო",
|
||||
night: "ღამე",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "AM",
|
||||
pm: "PM",
|
||||
midnight: "შუაღამე",
|
||||
noon: "შუადღე",
|
||||
morning: "დილა",
|
||||
afternoon: "საღამო",
|
||||
evening: "საღამო",
|
||||
night: "ღამე",
|
||||
},
|
||||
wide: {
|
||||
am: "a.m.",
|
||||
pm: "p.m.",
|
||||
midnight: "შუაღამე",
|
||||
noon: "შუადღე",
|
||||
morning: "დილა",
|
||||
afternoon: "საღამო",
|
||||
evening: "საღამო",
|
||||
night: "ღამე",
|
||||
},
|
||||
};
|
||||
|
||||
const formattingDayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "შუაღამით",
|
||||
noon: "შუადღისას",
|
||||
morning: "დილით",
|
||||
afternoon: "ნაშუადღევს",
|
||||
evening: "საღამოს",
|
||||
night: "ღამით",
|
||||
},
|
||||
abbreviated: {
|
||||
am: "AM",
|
||||
pm: "PM",
|
||||
midnight: "შუაღამით",
|
||||
noon: "შუადღისას",
|
||||
morning: "დილით",
|
||||
afternoon: "ნაშუადღევს",
|
||||
evening: "საღამოს",
|
||||
night: "ღამით",
|
||||
},
|
||||
wide: {
|
||||
am: "a.m.",
|
||||
pm: "p.m.",
|
||||
midnight: "შუაღამით",
|
||||
noon: "შუადღისას",
|
||||
morning: "დილით",
|
||||
afternoon: "ნაშუადღევს",
|
||||
evening: "საღამოს",
|
||||
night: "ღამით",
|
||||
},
|
||||
};
|
||||
|
||||
const ordinalNumber = (dirtyNumber) => {
|
||||
const number = Number(dirtyNumber);
|
||||
|
||||
if (number === 1) {
|
||||
return number + "-ლი";
|
||||
}
|
||||
|
||||
return number + "-ე";
|
||||
};
|
||||
|
||||
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",
|
||||
}),
|
||||
};
|
118
node_modules/date-fns/locale/ka/_lib/match.cjs
generated
vendored
Normal file
118
node_modules/date-fns/locale/ka/_lib/match.cjs
generated
vendored
Normal file
@ -0,0 +1,118 @@
|
||||
"use strict";
|
||||
exports.match = void 0;
|
||||
|
||||
var _index = require("../../_lib/buildMatchFn.cjs");
|
||||
var _index2 = require("../../_lib/buildMatchPatternFn.cjs");
|
||||
|
||||
const matchOrdinalNumberPattern = /^(\d+)(-ლი|-ე)?/i;
|
||||
const parseOrdinalNumberPattern = /\d+/i;
|
||||
|
||||
const matchEraPatterns = {
|
||||
narrow: /^(ჩვ?\.წ)/i,
|
||||
abbreviated: /^(ჩვ?\.წ)/i,
|
||||
wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i,
|
||||
};
|
||||
const parseEraPatterns = {
|
||||
any: [
|
||||
/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,
|
||||
/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i,
|
||||
],
|
||||
};
|
||||
|
||||
const matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^[1234]-(ლი|ე)? კვ/i,
|
||||
wide: /^[1234]-(ლი|ე)? კვარტალი/i,
|
||||
};
|
||||
const parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i],
|
||||
};
|
||||
|
||||
const matchMonthPatterns = {
|
||||
any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i,
|
||||
};
|
||||
const parseMonthPatterns = {
|
||||
any: [
|
||||
/^ია/i,
|
||||
/^თ/i,
|
||||
/^მარ/i,
|
||||
/^აპ/i,
|
||||
/^მაი/i,
|
||||
/^ი?ვნ/i,
|
||||
/^ი?ვლ/i,
|
||||
/^აგ/i,
|
||||
/^ს/i,
|
||||
/^ო/i,
|
||||
/^ნ/i,
|
||||
/^დ/i,
|
||||
],
|
||||
};
|
||||
|
||||
const matchDayPatterns = {
|
||||
narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,
|
||||
short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,
|
||||
wide: /^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i,
|
||||
};
|
||||
const parseDayPatterns = {
|
||||
any: [/^კვ/i, /^ორ/i, /^სა/i, /^ოთ/i, /^ხუ/i, /^პა/i, /^შა/i],
|
||||
};
|
||||
|
||||
const matchDayPeriodPatterns = {
|
||||
any: /^([ap]\.?\s?m\.?|შუაღ|დილ)/i,
|
||||
};
|
||||
const parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^a/i,
|
||||
pm: /^p/i,
|
||||
midnight: /^შუაღ/i,
|
||||
noon: /^შუადღ/i,
|
||||
morning: /^დილ/i,
|
||||
afternoon: /ნაშუადღევს/i,
|
||||
evening: /საღამო/i,
|
||||
night: /ღამ/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: "any",
|
||||
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
node_modules/date-fns/locale/ka/_lib/match.d.cts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/match.d.cts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { Match } from "../../types.js";
|
||||
export declare const match: Match;
|
2
node_modules/date-fns/locale/ka/_lib/match.d.ts
generated
vendored
Normal file
2
node_modules/date-fns/locale/ka/_lib/match.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
import type { Match } from "../../types.js";
|
||||
export declare const match: Match;
|
115
node_modules/date-fns/locale/ka/_lib/match.js
generated
vendored
Normal file
115
node_modules/date-fns/locale/ka/_lib/match.js
generated
vendored
Normal file
@ -0,0 +1,115 @@
|
||||
import { buildMatchFn } from "../../_lib/buildMatchFn.js";
|
||||
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.js";
|
||||
|
||||
const matchOrdinalNumberPattern = /^(\d+)(-ლი|-ე)?/i;
|
||||
const parseOrdinalNumberPattern = /\d+/i;
|
||||
|
||||
const matchEraPatterns = {
|
||||
narrow: /^(ჩვ?\.წ)/i,
|
||||
abbreviated: /^(ჩვ?\.წ)/i,
|
||||
wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i,
|
||||
};
|
||||
const parseEraPatterns = {
|
||||
any: [
|
||||
/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,
|
||||
/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i,
|
||||
],
|
||||
};
|
||||
|
||||
const matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^[1234]-(ლი|ე)? კვ/i,
|
||||
wide: /^[1234]-(ლი|ე)? კვარტალი/i,
|
||||
};
|
||||
const parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i],
|
||||
};
|
||||
|
||||
const matchMonthPatterns = {
|
||||
any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i,
|
||||
};
|
||||
const parseMonthPatterns = {
|
||||
any: [
|
||||
/^ია/i,
|
||||
/^თ/i,
|
||||
/^მარ/i,
|
||||
/^აპ/i,
|
||||
/^მაი/i,
|
||||
/^ი?ვნ/i,
|
||||
/^ი?ვლ/i,
|
||||
/^აგ/i,
|
||||
/^ს/i,
|
||||
/^ო/i,
|
||||
/^ნ/i,
|
||||
/^დ/i,
|
||||
],
|
||||
};
|
||||
|
||||
const matchDayPatterns = {
|
||||
narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,
|
||||
short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,
|
||||
wide: /^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i,
|
||||
};
|
||||
const parseDayPatterns = {
|
||||
any: [/^კვ/i, /^ორ/i, /^სა/i, /^ოთ/i, /^ხუ/i, /^პა/i, /^შა/i],
|
||||
};
|
||||
|
||||
const matchDayPeriodPatterns = {
|
||||
any: /^([ap]\.?\s?m\.?|შუაღ|დილ)/i,
|
||||
};
|
||||
const parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^a/i,
|
||||
pm: /^p/i,
|
||||
midnight: /^შუაღ/i,
|
||||
noon: /^შუადღ/i,
|
||||
morning: /^დილ/i,
|
||||
afternoon: /ნაშუადღევს/i,
|
||||
evening: /საღამო/i,
|
||||
night: /ღამ/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: "any",
|
||||
parsePatterns: parseMonthPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
day: buildMatchFn({
|
||||
matchPatterns: matchDayPatterns,
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: parseDayPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
|
||||
dayPeriod: buildMatchFn({
|
||||
matchPatterns: matchDayPeriodPatterns,
|
||||
defaultMatchWidth: "any",
|
||||
parsePatterns: parseDayPeriodPatterns,
|
||||
defaultParseWidth: "any",
|
||||
}),
|
||||
};
|
533
node_modules/date-fns/locale/ka/cdn.js
generated
vendored
Normal file
533
node_modules/date-fns/locale/ka/cdn.js
generated
vendored
Normal file
@ -0,0 +1,533 @@
|
||||
(() => {
|
||||
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/ka/_lib/formatDistance.js
|
||||
var formatDistanceLocale = {
|
||||
lessThanXSeconds: {
|
||||
past: "{{count}} \u10EC\u10D0\u10DB\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10D0\u10DB\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8",
|
||||
future: "{{count}} \u10EC\u10D0\u10DB\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10E8\u10D8"
|
||||
},
|
||||
xSeconds: {
|
||||
past: "{{count}} \u10EC\u10D0\u10DB\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10D0\u10DB\u10D8",
|
||||
future: "{{count}} \u10EC\u10D0\u10DB\u10E8\u10D8"
|
||||
},
|
||||
halfAMinute: {
|
||||
past: "\u10DC\u10D0\u10EE\u10D4\u10D5\u10D0\u10E0\u10D8 \u10EC\u10E3\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10DC\u10D0\u10EE\u10D4\u10D5\u10D0\u10E0\u10D8 \u10EC\u10E3\u10D7\u10D8",
|
||||
future: "\u10DC\u10D0\u10EE\u10D4\u10D5\u10D0\u10E0\u10D8 \u10EC\u10E3\u10D7\u10E8\u10D8"
|
||||
},
|
||||
lessThanXMinutes: {
|
||||
past: "{{count}} \u10EC\u10E3\u10D7\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10E3\u10D7\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10D8",
|
||||
future: "{{count}} \u10EC\u10E3\u10D7\u10D6\u10D4 \u10DC\u10D0\u10D9\u10DA\u10D4\u10D1\u10E8\u10D8"
|
||||
},
|
||||
xMinutes: {
|
||||
past: "{{count}} \u10EC\u10E3\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10E3\u10D7\u10D8",
|
||||
future: "{{count}} \u10EC\u10E3\u10D7\u10E8\u10D8"
|
||||
},
|
||||
aboutXHours: {
|
||||
past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10E1\u10D0\u10D0\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10E1\u10D0\u10D0\u10D7\u10D8",
|
||||
future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10E1\u10D0\u10D0\u10D7\u10E8\u10D8"
|
||||
},
|
||||
xHours: {
|
||||
past: "{{count}} \u10E1\u10D0\u10D0\u10D7\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10E1\u10D0\u10D0\u10D7\u10D8",
|
||||
future: "{{count}} \u10E1\u10D0\u10D0\u10D7\u10E8\u10D8"
|
||||
},
|
||||
xDays: {
|
||||
past: "{{count}} \u10D3\u10E6\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10D3\u10E6\u10D4",
|
||||
future: "{{count}} \u10D3\u10E6\u10D4\u10E8\u10D8"
|
||||
},
|
||||
aboutXWeeks: {
|
||||
past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D9\u10D5\u10D8\u10E0\u10D0",
|
||||
future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E8\u10D8"
|
||||
},
|
||||
xWeeks: {
|
||||
past: "{{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E1 \u10D9\u10D5\u10D8\u10E0\u10D0",
|
||||
present: "{{count}} \u10D9\u10D5\u10D8\u10E0\u10D0",
|
||||
future: "{{count}} \u10D9\u10D5\u10D8\u10E0\u10D0\u10E8\u10D8"
|
||||
},
|
||||
aboutXMonths: {
|
||||
past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D7\u10D5\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D7\u10D5\u10D4",
|
||||
future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10D7\u10D5\u10D4\u10E8\u10D8"
|
||||
},
|
||||
xMonths: {
|
||||
past: "{{count}} \u10D7\u10D5\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10D7\u10D5\u10D4",
|
||||
future: "{{count}} \u10D7\u10D5\u10D4\u10E8\u10D8"
|
||||
},
|
||||
aboutXYears: {
|
||||
past: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10EC\u10D4\u10DA\u10D8",
|
||||
future: "\u10D3\u10D0\u10D0\u10EE\u10DA\u10DD\u10D4\u10D1\u10D8\u10D7 {{count}} \u10EC\u10D4\u10DA\u10E8\u10D8"
|
||||
},
|
||||
xYears: {
|
||||
past: "{{count}} \u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10D4\u10DA\u10D8",
|
||||
future: "{{count}} \u10EC\u10D4\u10DA\u10E8\u10D8"
|
||||
},
|
||||
overXYears: {
|
||||
past: "{{count}} \u10EC\u10D4\u10DA\u10D6\u10D4 \u10DB\u10D4\u10E2\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "{{count}} \u10EC\u10D4\u10DA\u10D6\u10D4 \u10DB\u10D4\u10E2\u10D8",
|
||||
future: "{{count}} \u10EC\u10D4\u10DA\u10D6\u10D4 \u10DB\u10D4\u10E2\u10D8 \u10EE\u10DC\u10D8\u10E1 \u10E8\u10D4\u10DB\u10D3\u10D4\u10D2"
|
||||
},
|
||||
almostXYears: {
|
||||
past: "\u10D7\u10D8\u10D7\u10E5\u10DB\u10D8\u10E1 {{count}} \u10EC\u10DA\u10D8\u10E1 \u10EC\u10D8\u10DC",
|
||||
present: "\u10D7\u10D8\u10D7\u10E5\u10DB\u10D8\u10E1 {{count}} \u10EC\u10D4\u10DA\u10D8",
|
||||
future: "\u10D7\u10D8\u10D7\u10E5\u10DB\u10D8\u10E1 {{count}} \u10EC\u10D4\u10DA\u10E8\u10D8"
|
||||
}
|
||||
};
|
||||
var formatDistance = function formatDistance(token, count, options) {
|
||||
var result;
|
||||
var tokenValue = formatDistanceLocale[token];
|
||||
if (typeof tokenValue === "string") {
|
||||
result = tokenValue;
|
||||
} else if (options !== null && options !== void 0 && options.addSuffix && options.comparison && options.comparison > 0) {
|
||||
result = tokenValue.future.replace("{{count}}", String(count));
|
||||
} else if (options !== null && options !== void 0 && options.addSuffix) {
|
||||
result = tokenValue.past.replace("{{count}}", String(count));
|
||||
} else {
|
||||
result = tokenValue.present.replace("{{count}}", String(count));
|
||||
}
|
||||
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/ka/_lib/formatLong.js
|
||||
var dateFormats = {
|
||||
full: "EEEE, do MMMM, y",
|
||||
long: "do, MMMM, y",
|
||||
medium: "d, MMM, y",
|
||||
short: "dd/MM/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}} {{time}}'-\u10D6\u10D4'",
|
||||
long: "{{date}} {{time}}'-\u10D6\u10D4'",
|
||||
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/ka/_lib/formatRelative.js
|
||||
var formatRelativeLocale = {
|
||||
lastWeek: "'\u10EC\u10D8\u10DC\u10D0' eeee p'-\u10D6\u10D4'",
|
||||
yesterday: "'\u10D2\u10E3\u10E8\u10D8\u10DC' p'-\u10D6\u10D4'",
|
||||
today: "'\u10D3\u10E6\u10D4\u10E1' p'-\u10D6\u10D4'",
|
||||
tomorrow: "'\u10EE\u10D5\u10D0\u10DA' p'-\u10D6\u10D4'",
|
||||
nextWeek: "'\u10E8\u10D4\u10DB\u10D3\u10D4\u10D2\u10D8' eeee p'-\u10D6\u10D4'",
|
||||
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/ka/_lib/localize.js
|
||||
var eraValues = {
|
||||
narrow: ["\u10E9.\u10EC-\u10DB\u10D3\u10D4", "\u10E9.\u10EC"],
|
||||
abbreviated: ["\u10E9\u10D5.\u10EC-\u10DB\u10D3\u10D4", "\u10E9\u10D5.\u10EC"],
|
||||
wide: ["\u10E9\u10D5\u10D4\u10DC\u10E1 \u10EC\u10D4\u10DA\u10D7\u10D0\u10E6\u10E0\u10D8\u10EA\u10EE\u10D5\u10D0\u10DB\u10D3\u10D4", "\u10E9\u10D5\u10D4\u10DC\u10D8 \u10EC\u10D4\u10DA\u10D7\u10D0\u10E6\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8\u10D7"]
|
||||
};
|
||||
var quarterValues = {
|
||||
narrow: ["1", "2", "3", "4"],
|
||||
abbreviated: ["1-\u10DA\u10D8 \u10D9\u10D5", "2-\u10D4 \u10D9\u10D5", "3-\u10D4 \u10D9\u10D5", "4-\u10D4 \u10D9\u10D5"],
|
||||
wide: ["1-\u10DA\u10D8 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8", "2-\u10D4 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8", "3-\u10D4 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8", "4-\u10D4 \u10D9\u10D5\u10D0\u10E0\u10E2\u10D0\u10DA\u10D8"]
|
||||
};
|
||||
var monthValues = {
|
||||
narrow: [
|
||||
"\u10D8\u10D0",
|
||||
"\u10D7\u10D4",
|
||||
"\u10DB\u10D0",
|
||||
"\u10D0\u10DE",
|
||||
"\u10DB\u10E1",
|
||||
"\u10D5\u10DC",
|
||||
"\u10D5\u10DA",
|
||||
"\u10D0\u10D2",
|
||||
"\u10E1\u10D4",
|
||||
"\u10DD\u10E5",
|
||||
"\u10DC\u10DD",
|
||||
"\u10D3\u10D4"],
|
||||
|
||||
abbreviated: [
|
||||
"\u10D8\u10D0\u10DC",
|
||||
"\u10D7\u10D4\u10D1",
|
||||
"\u10DB\u10D0\u10E0",
|
||||
"\u10D0\u10DE\u10E0",
|
||||
"\u10DB\u10D0\u10D8",
|
||||
"\u10D8\u10D5\u10DC",
|
||||
"\u10D8\u10D5\u10DA",
|
||||
"\u10D0\u10D2\u10D5",
|
||||
"\u10E1\u10D4\u10E5",
|
||||
"\u10DD\u10E5\u10E2",
|
||||
"\u10DC\u10DD\u10D4",
|
||||
"\u10D3\u10D4\u10D9"],
|
||||
|
||||
wide: [
|
||||
"\u10D8\u10D0\u10DC\u10D5\u10D0\u10E0\u10D8",
|
||||
"\u10D7\u10D4\u10D1\u10D4\u10E0\u10D5\u10D0\u10DA\u10D8",
|
||||
"\u10DB\u10D0\u10E0\u10E2\u10D8",
|
||||
"\u10D0\u10DE\u10E0\u10D8\u10DA\u10D8",
|
||||
"\u10DB\u10D0\u10D8\u10E1\u10D8",
|
||||
"\u10D8\u10D5\u10DC\u10D8\u10E1\u10D8",
|
||||
"\u10D8\u10D5\u10DA\u10D8\u10E1\u10D8",
|
||||
"\u10D0\u10D2\u10D5\u10D8\u10E1\u10E2\u10DD",
|
||||
"\u10E1\u10D4\u10E5\u10E2\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8",
|
||||
"\u10DD\u10E5\u10E2\u10DD\u10DB\u10D1\u10D4\u10E0\u10D8",
|
||||
"\u10DC\u10DD\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8",
|
||||
"\u10D3\u10D4\u10D9\u10D4\u10DB\u10D1\u10D4\u10E0\u10D8"]
|
||||
|
||||
};
|
||||
var dayValues = {
|
||||
narrow: ["\u10D9\u10D5", "\u10DD\u10E0", "\u10E1\u10D0", "\u10DD\u10D7", "\u10EE\u10E3", "\u10DE\u10D0", "\u10E8\u10D0"],
|
||||
short: ["\u10D9\u10D5\u10D8", "\u10DD\u10E0\u10E8", "\u10E1\u10D0\u10DB", "\u10DD\u10D7\u10EE", "\u10EE\u10E3\u10D7", "\u10DE\u10D0\u10E0", "\u10E8\u10D0\u10D1"],
|
||||
abbreviated: ["\u10D9\u10D5\u10D8", "\u10DD\u10E0\u10E8", "\u10E1\u10D0\u10DB", "\u10DD\u10D7\u10EE", "\u10EE\u10E3\u10D7", "\u10DE\u10D0\u10E0", "\u10E8\u10D0\u10D1"],
|
||||
wide: [
|
||||
"\u10D9\u10D5\u10D8\u10E0\u10D0",
|
||||
"\u10DD\u10E0\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
|
||||
"\u10E1\u10D0\u10DB\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
|
||||
"\u10DD\u10D7\u10EE\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
|
||||
"\u10EE\u10E3\u10D7\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8",
|
||||
"\u10DE\u10D0\u10E0\u10D0\u10E1\u10D9\u10D4\u10D5\u10D8",
|
||||
"\u10E8\u10D0\u10D1\u10D0\u10D7\u10D8"]
|
||||
|
||||
};
|
||||
var dayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D4",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D0",
|
||||
afternoon: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
night: "\u10E6\u10D0\u10DB\u10D4"
|
||||
},
|
||||
abbreviated: {
|
||||
am: "AM",
|
||||
pm: "PM",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D4",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D0",
|
||||
afternoon: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
night: "\u10E6\u10D0\u10DB\u10D4"
|
||||
},
|
||||
wide: {
|
||||
am: "a.m.",
|
||||
pm: "p.m.",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D4",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D0",
|
||||
afternoon: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD",
|
||||
night: "\u10E6\u10D0\u10DB\u10D4"
|
||||
}
|
||||
};
|
||||
var formattingDayPeriodValues = {
|
||||
narrow: {
|
||||
am: "a",
|
||||
pm: "p",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D8\u10D7",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D8\u10E1\u10D0\u10E1",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D8\u10D7",
|
||||
afternoon: "\u10DC\u10D0\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4\u10D5\u10E1",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD\u10E1",
|
||||
night: "\u10E6\u10D0\u10DB\u10D8\u10D7"
|
||||
},
|
||||
abbreviated: {
|
||||
am: "AM",
|
||||
pm: "PM",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D8\u10D7",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D8\u10E1\u10D0\u10E1",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D8\u10D7",
|
||||
afternoon: "\u10DC\u10D0\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4\u10D5\u10E1",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD\u10E1",
|
||||
night: "\u10E6\u10D0\u10DB\u10D8\u10D7"
|
||||
},
|
||||
wide: {
|
||||
am: "a.m.",
|
||||
pm: "p.m.",
|
||||
midnight: "\u10E8\u10E3\u10D0\u10E6\u10D0\u10DB\u10D8\u10D7",
|
||||
noon: "\u10E8\u10E3\u10D0\u10D3\u10E6\u10D8\u10E1\u10D0\u10E1",
|
||||
morning: "\u10D3\u10D8\u10DA\u10D8\u10D7",
|
||||
afternoon: "\u10DC\u10D0\u10E8\u10E3\u10D0\u10D3\u10E6\u10D4\u10D5\u10E1",
|
||||
evening: "\u10E1\u10D0\u10E6\u10D0\u10DB\u10DD\u10E1",
|
||||
night: "\u10E6\u10D0\u10DB\u10D8\u10D7"
|
||||
}
|
||||
};
|
||||
var ordinalNumber = function ordinalNumber(dirtyNumber) {
|
||||
var number = Number(dirtyNumber);
|
||||
if (number === 1) {
|
||||
return number + "-\u10DA\u10D8";
|
||||
}
|
||||
return number + "-\u10D4";
|
||||
};
|
||||
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/ka/_lib/match.js
|
||||
var matchOrdinalNumberPattern = /^(\d+)(-ლი|-ე)?/i;
|
||||
var parseOrdinalNumberPattern = /\d+/i;
|
||||
var matchEraPatterns = {
|
||||
narrow: /^(ჩვ?\.წ)/i,
|
||||
abbreviated: /^(ჩვ?\.წ)/i,
|
||||
wide: /^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე|ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i
|
||||
};
|
||||
var parseEraPatterns = {
|
||||
any: [
|
||||
/^(ჩვენს წელთაღრიცხვამდე|ქრისტეშობამდე)/i,
|
||||
/^(ჩვენი წელთაღრიცხვით|ქრისტეშობიდან)/i]
|
||||
|
||||
};
|
||||
var matchQuarterPatterns = {
|
||||
narrow: /^[1234]/i,
|
||||
abbreviated: /^[1234]-(ლი|ე)? კვ/i,
|
||||
wide: /^[1234]-(ლი|ე)? კვარტალი/i
|
||||
};
|
||||
var parseQuarterPatterns = {
|
||||
any: [/1/i, /2/i, /3/i, /4/i]
|
||||
};
|
||||
var matchMonthPatterns = {
|
||||
any: /^(ია|თე|მა|აპ|მს|ვნ|ვლ|აგ|სე|ოქ|ნო|დე)/i
|
||||
};
|
||||
var parseMonthPatterns = {
|
||||
any: [
|
||||
/^ია/i,
|
||||
/^თ/i,
|
||||
/^მარ/i,
|
||||
/^აპ/i,
|
||||
/^მაი/i,
|
||||
/^ი?ვნ/i,
|
||||
/^ი?ვლ/i,
|
||||
/^აგ/i,
|
||||
/^ს/i,
|
||||
/^ო/i,
|
||||
/^ნ/i,
|
||||
/^დ/i]
|
||||
|
||||
};
|
||||
var matchDayPatterns = {
|
||||
narrow: /^(კვ|ორ|სა|ოთ|ხუ|პა|შა)/i,
|
||||
short: /^(კვი|ორშ|სამ|ოთხ|ხუთ|პარ|შაბ)/i,
|
||||
wide: /^(კვირა|ორშაბათი|სამშაბათი|ოთხშაბათი|ხუთშაბათი|პარასკევი|შაბათი)/i
|
||||
};
|
||||
var parseDayPatterns = {
|
||||
any: [/^კვ/i, /^ორ/i, /^სა/i, /^ოთ/i, /^ხუ/i, /^პა/i, /^შა/i]
|
||||
};
|
||||
var matchDayPeriodPatterns = {
|
||||
any: /^([ap]\.?\s?m\.?|შუაღ|დილ)/i
|
||||
};
|
||||
var parseDayPeriodPatterns = {
|
||||
any: {
|
||||
am: /^a/i,
|
||||
pm: /^p/i,
|
||||
midnight: /^შუაღ/i,
|
||||
noon: /^შუადღ/i,
|
||||
morning: /^დილ/i,
|
||||
afternoon: /ნაშუადღევს/i,
|
||||
evening: /საღამო/i,
|
||||
night: /ღამ/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: "any",
|
||||
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/ka.js
|
||||
var ka = {
|
||||
code: "ka",
|
||||
formatDistance: formatDistance,
|
||||
formatLong: formatLong,
|
||||
formatRelative: formatRelative,
|
||||
localize: localize,
|
||||
match: match,
|
||||
options: {
|
||||
weekStartsOn: 1,
|
||||
firstWeekContainsDate: 1
|
||||
}
|
||||
};
|
||||
|
||||
// lib/locale/ka/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), {}, {
|
||||
ka: ka }) });
|
||||
|
||||
|
||||
|
||||
//# debugId=DD292831071FD68764756E2164756E21
|
||||
|
||||
//# sourceMappingURL=cdn.js.map
|
||||
})();
|
1
node_modules/date-fns/locale/ka/cdn.js.map
generated
vendored
Normal file
1
node_modules/date-fns/locale/ka/cdn.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3
node_modules/date-fns/locale/ka/cdn.min.js
generated
vendored
Normal file
3
node_modules/date-fns/locale/ka/cdn.min.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
10
node_modules/date-fns/locale/ka/cdn.min.js.map
generated
vendored
Normal file
10
node_modules/date-fns/locale/ka/cdn.min.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user