Upload folder using huggingface_hub (part 9)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- node_modules/date-fns/locale/de-AT.d.cts +9 -0
- node_modules/date-fns/locale/de-AT.d.ts +9 -0
- node_modules/date-fns/locale/de-AT.js +30 -0
- node_modules/date-fns/locale/de.cjs +31 -0
- node_modules/date-fns/locale/de.d.cts +13 -0
- node_modules/date-fns/locale/de.d.ts +13 -0
- node_modules/date-fns/locale/de.js +32 -0
- node_modules/date-fns/locale/el.cjs +28 -0
- node_modules/date-fns/locale/el.d.cts +10 -0
- node_modules/date-fns/locale/el.d.ts +10 -0
- node_modules/date-fns/locale/el.js +29 -0
- node_modules/date-fns/locale/el/_lib/formatDistance.cjs +105 -0
- node_modules/date-fns/locale/el/_lib/formatDistance.d.cts +2 -0
- node_modules/date-fns/locale/el/_lib/formatDistance.d.ts +2 -0
- node_modules/date-fns/locale/el/_lib/formatDistance.js +101 -0
- node_modules/date-fns/locale/el/_lib/formatLong.cjs +41 -0
- node_modules/date-fns/locale/el/_lib/formatLong.d.cts +2 -0
- node_modules/date-fns/locale/el/_lib/formatLong.d.ts +2 -0
- node_modules/date-fns/locale/el/_lib/formatLong.js +39 -0
- node_modules/date-fns/locale/el/_lib/formatRelative.cjs +27 -0
- node_modules/date-fns/locale/el/_lib/formatRelative.d.cts +2 -0
- node_modules/date-fns/locale/el/_lib/formatRelative.d.ts +2 -0
- node_modules/date-fns/locale/el/_lib/formatRelative.js +23 -0
- node_modules/date-fns/locale/el/_lib/localize.cjs +183 -0
- node_modules/date-fns/locale/el/_lib/localize.d.cts +2 -0
- node_modules/date-fns/locale/el/_lib/localize.d.ts +2 -0
- node_modules/date-fns/locale/el/_lib/localize.js +181 -0
- node_modules/date-fns/locale/el/_lib/match.cjs +137 -0
- node_modules/date-fns/locale/el/_lib/match.d.cts +2 -0
- node_modules/date-fns/locale/el/_lib/match.d.ts +2 -0
- node_modules/date-fns/locale/el/_lib/match.js +134 -0
- node_modules/date-fns/locale/el/cdn.js +601 -0
- node_modules/date-fns/locale/el/cdn.min.js +1 -0
- node_modules/date-fns/locale/en-AU.cjs +27 -0
- node_modules/date-fns/locale/en-AU.d.cts +9 -0
- node_modules/date-fns/locale/en-AU.d.ts +9 -0
- node_modules/date-fns/locale/en-AU.js +28 -0
- node_modules/date-fns/locale/en-AU/_lib/formatLong.cjs +41 -0
- node_modules/date-fns/locale/en-AU/_lib/formatLong.d.cts +2 -0
- node_modules/date-fns/locale/en-AU/_lib/formatLong.d.ts +2 -0
- node_modules/date-fns/locale/en-AU/_lib/formatLong.js +39 -0
- node_modules/date-fns/locale/en-AU/cdn.js +580 -0
- node_modules/date-fns/locale/en-AU/cdn.min.js +1 -0
- node_modules/date-fns/locale/en-CA.cjs +29 -0
- node_modules/date-fns/locale/en-CA.d.cts +10 -0
- node_modules/date-fns/locale/en-CA.d.ts +10 -0
- node_modules/date-fns/locale/en-CA.js +30 -0
- node_modules/date-fns/locale/en-CA/_lib/formatDistance.cjs +105 -0
- node_modules/date-fns/locale/en-CA/_lib/formatDistance.d.cts +2 -0
- node_modules/date-fns/locale/en-CA/_lib/formatDistance.d.ts +2 -0
node_modules/date-fns/locale/de-AT.d.cts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary German locale (Austria).
|
| 5 |
+
* @language German
|
| 6 |
+
* @iso-639-2 deu
|
| 7 |
+
* @author Christoph Tobias Stenglein [@cstenglein](https://github.com/cstenglein)
|
| 8 |
+
*/
|
| 9 |
+
export declare const deAT: Locale;
|
node_modules/date-fns/locale/de-AT.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary German locale (Austria).
|
| 5 |
+
* @language German
|
| 6 |
+
* @iso-639-2 deu
|
| 7 |
+
* @author Christoph Tobias Stenglein [@cstenglein](https://github.com/cstenglein)
|
| 8 |
+
*/
|
| 9 |
+
export declare const deAT: Locale;
|
node_modules/date-fns/locale/de-AT.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { formatDistance } from "./de/_lib/formatDistance.js";
|
| 2 |
+
import { formatLong } from "./de/_lib/formatLong.js";
|
| 3 |
+
import { formatRelative } from "./de/_lib/formatRelative.js";
|
| 4 |
+
import { match } from "./de/_lib/match.js";
|
| 5 |
+
|
| 6 |
+
// difference to 'de' locale
|
| 7 |
+
import { localize } from "./de-AT/_lib/localize.js";
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @category Locales
|
| 11 |
+
* @summary German locale (Austria).
|
| 12 |
+
* @language German
|
| 13 |
+
* @iso-639-2 deu
|
| 14 |
+
* @author Christoph Tobias Stenglein [@cstenglein](https://github.com/cstenglein)
|
| 15 |
+
*/
|
| 16 |
+
export const deAT = {
|
| 17 |
+
code: "de-AT",
|
| 18 |
+
formatDistance: formatDistance,
|
| 19 |
+
formatLong: formatLong,
|
| 20 |
+
formatRelative: formatRelative,
|
| 21 |
+
localize: localize,
|
| 22 |
+
match: match,
|
| 23 |
+
options: {
|
| 24 |
+
weekStartsOn: 1 /* Monday */,
|
| 25 |
+
firstWeekContainsDate: 4,
|
| 26 |
+
},
|
| 27 |
+
};
|
| 28 |
+
|
| 29 |
+
// Fallback for modularized imports:
|
| 30 |
+
export default deAT;
|
node_modules/date-fns/locale/de.cjs
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.de = void 0;
|
| 3 |
+
var _index = require("./de/_lib/formatDistance.cjs");
|
| 4 |
+
var _index2 = require("./de/_lib/formatLong.cjs");
|
| 5 |
+
var _index3 = require("./de/_lib/formatRelative.cjs");
|
| 6 |
+
var _index4 = require("./de/_lib/localize.cjs");
|
| 7 |
+
var _index5 = require("./de/_lib/match.cjs");
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @category Locales
|
| 11 |
+
* @summary German locale.
|
| 12 |
+
* @language German
|
| 13 |
+
* @iso-639-2 deu
|
| 14 |
+
* @author Thomas Eilmsteiner [@DeMuu](https://github.com/DeMuu)
|
| 15 |
+
* @author Asia [@asia-t](https://github.com/asia-t)
|
| 16 |
+
* @author Van Vuong Ngo [@vanvuongngo](https://github.com/vanvuongngo)
|
| 17 |
+
* @author RomanErnst [@pex](https://github.com/pex)
|
| 18 |
+
* @author Philipp Keck [@Philipp91](https://github.com/Philipp91)
|
| 19 |
+
*/
|
| 20 |
+
const de = (exports.de = {
|
| 21 |
+
code: "de",
|
| 22 |
+
formatDistance: _index.formatDistance,
|
| 23 |
+
formatLong: _index2.formatLong,
|
| 24 |
+
formatRelative: _index3.formatRelative,
|
| 25 |
+
localize: _index4.localize,
|
| 26 |
+
match: _index5.match,
|
| 27 |
+
options: {
|
| 28 |
+
weekStartsOn: 1 /* Monday */,
|
| 29 |
+
firstWeekContainsDate: 4,
|
| 30 |
+
},
|
| 31 |
+
});
|
node_modules/date-fns/locale/de.d.cts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary German locale.
|
| 5 |
+
* @language German
|
| 6 |
+
* @iso-639-2 deu
|
| 7 |
+
* @author Thomas Eilmsteiner [@DeMuu](https://github.com/DeMuu)
|
| 8 |
+
* @author Asia [@asia-t](https://github.com/asia-t)
|
| 9 |
+
* @author Van Vuong Ngo [@vanvuongngo](https://github.com/vanvuongngo)
|
| 10 |
+
* @author RomanErnst [@pex](https://github.com/pex)
|
| 11 |
+
* @author Philipp Keck [@Philipp91](https://github.com/Philipp91)
|
| 12 |
+
*/
|
| 13 |
+
export declare const de: Locale;
|
node_modules/date-fns/locale/de.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary German locale.
|
| 5 |
+
* @language German
|
| 6 |
+
* @iso-639-2 deu
|
| 7 |
+
* @author Thomas Eilmsteiner [@DeMuu](https://github.com/DeMuu)
|
| 8 |
+
* @author Asia [@asia-t](https://github.com/asia-t)
|
| 9 |
+
* @author Van Vuong Ngo [@vanvuongngo](https://github.com/vanvuongngo)
|
| 10 |
+
* @author RomanErnst [@pex](https://github.com/pex)
|
| 11 |
+
* @author Philipp Keck [@Philipp91](https://github.com/Philipp91)
|
| 12 |
+
*/
|
| 13 |
+
export declare const de: Locale;
|
node_modules/date-fns/locale/de.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { formatDistance } from "./de/_lib/formatDistance.js";
|
| 2 |
+
import { formatLong } from "./de/_lib/formatLong.js";
|
| 3 |
+
import { formatRelative } from "./de/_lib/formatRelative.js";
|
| 4 |
+
import { localize } from "./de/_lib/localize.js";
|
| 5 |
+
import { match } from "./de/_lib/match.js";
|
| 6 |
+
|
| 7 |
+
/**
|
| 8 |
+
* @category Locales
|
| 9 |
+
* @summary German locale.
|
| 10 |
+
* @language German
|
| 11 |
+
* @iso-639-2 deu
|
| 12 |
+
* @author Thomas Eilmsteiner [@DeMuu](https://github.com/DeMuu)
|
| 13 |
+
* @author Asia [@asia-t](https://github.com/asia-t)
|
| 14 |
+
* @author Van Vuong Ngo [@vanvuongngo](https://github.com/vanvuongngo)
|
| 15 |
+
* @author RomanErnst [@pex](https://github.com/pex)
|
| 16 |
+
* @author Philipp Keck [@Philipp91](https://github.com/Philipp91)
|
| 17 |
+
*/
|
| 18 |
+
export const de = {
|
| 19 |
+
code: "de",
|
| 20 |
+
formatDistance: formatDistance,
|
| 21 |
+
formatLong: formatLong,
|
| 22 |
+
formatRelative: formatRelative,
|
| 23 |
+
localize: localize,
|
| 24 |
+
match: match,
|
| 25 |
+
options: {
|
| 26 |
+
weekStartsOn: 1 /* Monday */,
|
| 27 |
+
firstWeekContainsDate: 4,
|
| 28 |
+
},
|
| 29 |
+
};
|
| 30 |
+
|
| 31 |
+
// Fallback for modularized imports:
|
| 32 |
+
export default de;
|
node_modules/date-fns/locale/el.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.el = void 0;
|
| 3 |
+
var _index = require("./el/_lib/formatDistance.cjs");
|
| 4 |
+
var _index2 = require("./el/_lib/formatLong.cjs");
|
| 5 |
+
var _index3 = require("./el/_lib/formatRelative.cjs");
|
| 6 |
+
var _index4 = require("./el/_lib/localize.cjs");
|
| 7 |
+
var _index5 = require("./el/_lib/match.cjs");
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @category Locales
|
| 11 |
+
* @summary Greek locale.
|
| 12 |
+
* @language Greek
|
| 13 |
+
* @iso-639-2 ell
|
| 14 |
+
* @author Fanis Katsimpas [@fanixk](https://github.com/fanixk)
|
| 15 |
+
* @author Theodoros Orfanidis [@teoulas](https://github.com/teoulas)
|
| 16 |
+
*/
|
| 17 |
+
const el = (exports.el = {
|
| 18 |
+
code: "el",
|
| 19 |
+
formatDistance: _index.formatDistance,
|
| 20 |
+
formatLong: _index2.formatLong,
|
| 21 |
+
formatRelative: _index3.formatRelative,
|
| 22 |
+
localize: _index4.localize,
|
| 23 |
+
match: _index5.match,
|
| 24 |
+
options: {
|
| 25 |
+
weekStartsOn: 1 /* Monday */,
|
| 26 |
+
firstWeekContainsDate: 4,
|
| 27 |
+
},
|
| 28 |
+
});
|
node_modules/date-fns/locale/el.d.cts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary Greek locale.
|
| 5 |
+
* @language Greek
|
| 6 |
+
* @iso-639-2 ell
|
| 7 |
+
* @author Fanis Katsimpas [@fanixk](https://github.com/fanixk)
|
| 8 |
+
* @author Theodoros Orfanidis [@teoulas](https://github.com/teoulas)
|
| 9 |
+
*/
|
| 10 |
+
export declare const el: Locale;
|
node_modules/date-fns/locale/el.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary Greek locale.
|
| 5 |
+
* @language Greek
|
| 6 |
+
* @iso-639-2 ell
|
| 7 |
+
* @author Fanis Katsimpas [@fanixk](https://github.com/fanixk)
|
| 8 |
+
* @author Theodoros Orfanidis [@teoulas](https://github.com/teoulas)
|
| 9 |
+
*/
|
| 10 |
+
export declare const el: Locale;
|
node_modules/date-fns/locale/el.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { formatDistance } from "./el/_lib/formatDistance.js";
|
| 2 |
+
import { formatLong } from "./el/_lib/formatLong.js";
|
| 3 |
+
import { formatRelative } from "./el/_lib/formatRelative.js";
|
| 4 |
+
import { localize } from "./el/_lib/localize.js";
|
| 5 |
+
import { match } from "./el/_lib/match.js";
|
| 6 |
+
|
| 7 |
+
/**
|
| 8 |
+
* @category Locales
|
| 9 |
+
* @summary Greek locale.
|
| 10 |
+
* @language Greek
|
| 11 |
+
* @iso-639-2 ell
|
| 12 |
+
* @author Fanis Katsimpas [@fanixk](https://github.com/fanixk)
|
| 13 |
+
* @author Theodoros Orfanidis [@teoulas](https://github.com/teoulas)
|
| 14 |
+
*/
|
| 15 |
+
export const el = {
|
| 16 |
+
code: "el",
|
| 17 |
+
formatDistance: formatDistance,
|
| 18 |
+
formatLong: formatLong,
|
| 19 |
+
formatRelative: formatRelative,
|
| 20 |
+
localize: localize,
|
| 21 |
+
match: match,
|
| 22 |
+
options: {
|
| 23 |
+
weekStartsOn: 1 /* Monday */,
|
| 24 |
+
firstWeekContainsDate: 4,
|
| 25 |
+
},
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
// Fallback for modularized imports:
|
| 29 |
+
export default el;
|
node_modules/date-fns/locale/el/_lib/formatDistance.cjs
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.formatDistance = void 0;
|
| 3 |
+
|
| 4 |
+
const formatDistanceLocale = {
|
| 5 |
+
lessThanXSeconds: {
|
| 6 |
+
one: "λιγότερο από ένα δευτερόλεπτο",
|
| 7 |
+
other: "λιγότερο από {{count}} δευτερόλεπτα",
|
| 8 |
+
},
|
| 9 |
+
|
| 10 |
+
xSeconds: {
|
| 11 |
+
one: "1 δευτερόλεπτο",
|
| 12 |
+
other: "{{count}} δευτερόλεπτα",
|
| 13 |
+
},
|
| 14 |
+
|
| 15 |
+
halfAMinute: "μισό λεπτό",
|
| 16 |
+
|
| 17 |
+
lessThanXMinutes: {
|
| 18 |
+
one: "λιγότερο από ένα λεπτό",
|
| 19 |
+
other: "λιγότερο από {{count}} λεπτά",
|
| 20 |
+
},
|
| 21 |
+
|
| 22 |
+
xMinutes: {
|
| 23 |
+
one: "1 λεπτό",
|
| 24 |
+
other: "{{count}} λεπτά",
|
| 25 |
+
},
|
| 26 |
+
|
| 27 |
+
aboutXHours: {
|
| 28 |
+
one: "περίπου 1 ώρα",
|
| 29 |
+
other: "περίπου {{count}} ώρες",
|
| 30 |
+
},
|
| 31 |
+
|
| 32 |
+
xHours: {
|
| 33 |
+
one: "1 ώρα",
|
| 34 |
+
other: "{{count}} ώρες",
|
| 35 |
+
},
|
| 36 |
+
|
| 37 |
+
xDays: {
|
| 38 |
+
one: "1 ημέρα",
|
| 39 |
+
other: "{{count}} ημέρες",
|
| 40 |
+
},
|
| 41 |
+
|
| 42 |
+
aboutXWeeks: {
|
| 43 |
+
one: "περίπου 1 εβδομάδα",
|
| 44 |
+
other: "περίπου {{count}} εβδομάδες",
|
| 45 |
+
},
|
| 46 |
+
|
| 47 |
+
xWeeks: {
|
| 48 |
+
one: "1 εβδομάδα",
|
| 49 |
+
other: "{{count}} εβδομάδες",
|
| 50 |
+
},
|
| 51 |
+
|
| 52 |
+
aboutXMonths: {
|
| 53 |
+
one: "περίπου 1 μήνας",
|
| 54 |
+
other: "περίπου {{count}} μήνες",
|
| 55 |
+
},
|
| 56 |
+
|
| 57 |
+
xMonths: {
|
| 58 |
+
one: "1 μήνας",
|
| 59 |
+
other: "{{count}} μήνες",
|
| 60 |
+
},
|
| 61 |
+
|
| 62 |
+
aboutXYears: {
|
| 63 |
+
one: "περίπου 1 χρόνο",
|
| 64 |
+
other: "περίπου {{count}} χρόνια",
|
| 65 |
+
},
|
| 66 |
+
|
| 67 |
+
xYears: {
|
| 68 |
+
one: "1 χρόνο",
|
| 69 |
+
other: "{{count}} χρόνια",
|
| 70 |
+
},
|
| 71 |
+
|
| 72 |
+
overXYears: {
|
| 73 |
+
one: "πάνω από 1 χρόνο",
|
| 74 |
+
other: "πάνω από {{count}} χρόνια",
|
| 75 |
+
},
|
| 76 |
+
|
| 77 |
+
almostXYears: {
|
| 78 |
+
one: "περίπου 1 χρόνο",
|
| 79 |
+
other: "περίπου {{count}} χρόνια",
|
| 80 |
+
},
|
| 81 |
+
};
|
| 82 |
+
|
| 83 |
+
const formatDistance = (token, count, options) => {
|
| 84 |
+
let result;
|
| 85 |
+
|
| 86 |
+
const tokenValue = formatDistanceLocale[token];
|
| 87 |
+
if (typeof tokenValue === "string") {
|
| 88 |
+
result = tokenValue;
|
| 89 |
+
} else if (count === 1) {
|
| 90 |
+
result = tokenValue.one;
|
| 91 |
+
} else {
|
| 92 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
if (options?.addSuffix) {
|
| 96 |
+
if (options.comparison && options.comparison > 0) {
|
| 97 |
+
return "σε " + result;
|
| 98 |
+
} else {
|
| 99 |
+
return result + " πριν";
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
return result;
|
| 104 |
+
};
|
| 105 |
+
exports.formatDistance = formatDistance;
|
node_modules/date-fns/locale/el/_lib/formatDistance.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatDistanceFn } from "../../types.ts";
|
| 2 |
+
export declare const formatDistance: FormatDistanceFn;
|
node_modules/date-fns/locale/el/_lib/formatDistance.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatDistanceFn } from "../../types.ts";
|
| 2 |
+
export declare const formatDistance: FormatDistanceFn;
|
node_modules/date-fns/locale/el/_lib/formatDistance.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const formatDistanceLocale = {
|
| 2 |
+
lessThanXSeconds: {
|
| 3 |
+
one: "λιγότερο από ένα δευτερόλεπτο",
|
| 4 |
+
other: "λιγότερο από {{count}} δευτερόλεπτα",
|
| 5 |
+
},
|
| 6 |
+
|
| 7 |
+
xSeconds: {
|
| 8 |
+
one: "1 δευτερόλεπτο",
|
| 9 |
+
other: "{{count}} δευτερόλεπτα",
|
| 10 |
+
},
|
| 11 |
+
|
| 12 |
+
halfAMinute: "μισό λεπτό",
|
| 13 |
+
|
| 14 |
+
lessThanXMinutes: {
|
| 15 |
+
one: "λιγότερο από ένα λεπτό",
|
| 16 |
+
other: "λιγότερο από {{count}} λεπτά",
|
| 17 |
+
},
|
| 18 |
+
|
| 19 |
+
xMinutes: {
|
| 20 |
+
one: "1 λεπτό",
|
| 21 |
+
other: "{{count}} λεπτά",
|
| 22 |
+
},
|
| 23 |
+
|
| 24 |
+
aboutXHours: {
|
| 25 |
+
one: "περίπου 1 ώρα",
|
| 26 |
+
other: "περίπου {{count}} ώρες",
|
| 27 |
+
},
|
| 28 |
+
|
| 29 |
+
xHours: {
|
| 30 |
+
one: "1 ώρα",
|
| 31 |
+
other: "{{count}} ώρες",
|
| 32 |
+
},
|
| 33 |
+
|
| 34 |
+
xDays: {
|
| 35 |
+
one: "1 ημέρα",
|
| 36 |
+
other: "{{count}} ημέρες",
|
| 37 |
+
},
|
| 38 |
+
|
| 39 |
+
aboutXWeeks: {
|
| 40 |
+
one: "περίπου 1 εβδομάδα",
|
| 41 |
+
other: "περίπου {{count}} εβδομάδες",
|
| 42 |
+
},
|
| 43 |
+
|
| 44 |
+
xWeeks: {
|
| 45 |
+
one: "1 εβδομάδα",
|
| 46 |
+
other: "{{count}} εβδομάδες",
|
| 47 |
+
},
|
| 48 |
+
|
| 49 |
+
aboutXMonths: {
|
| 50 |
+
one: "περίπου 1 μήνας",
|
| 51 |
+
other: "περίπου {{count}} μήνες",
|
| 52 |
+
},
|
| 53 |
+
|
| 54 |
+
xMonths: {
|
| 55 |
+
one: "1 μήνας",
|
| 56 |
+
other: "{{count}} μήνες",
|
| 57 |
+
},
|
| 58 |
+
|
| 59 |
+
aboutXYears: {
|
| 60 |
+
one: "περίπου 1 χρόνο",
|
| 61 |
+
other: "περίπου {{count}} χρόνια",
|
| 62 |
+
},
|
| 63 |
+
|
| 64 |
+
xYears: {
|
| 65 |
+
one: "1 χρόνο",
|
| 66 |
+
other: "{{count}} χρόνια",
|
| 67 |
+
},
|
| 68 |
+
|
| 69 |
+
overXYears: {
|
| 70 |
+
one: "πάνω από 1 χρόνο",
|
| 71 |
+
other: "πάνω από {{count}} χρόνια",
|
| 72 |
+
},
|
| 73 |
+
|
| 74 |
+
almostXYears: {
|
| 75 |
+
one: "περίπου 1 χρόνο",
|
| 76 |
+
other: "περίπου {{count}} χρόνια",
|
| 77 |
+
},
|
| 78 |
+
};
|
| 79 |
+
|
| 80 |
+
export const formatDistance = (token, count, options) => {
|
| 81 |
+
let result;
|
| 82 |
+
|
| 83 |
+
const tokenValue = formatDistanceLocale[token];
|
| 84 |
+
if (typeof tokenValue === "string") {
|
| 85 |
+
result = tokenValue;
|
| 86 |
+
} else if (count === 1) {
|
| 87 |
+
result = tokenValue.one;
|
| 88 |
+
} else {
|
| 89 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
if (options?.addSuffix) {
|
| 93 |
+
if (options.comparison && options.comparison > 0) {
|
| 94 |
+
return "σε " + result;
|
| 95 |
+
} else {
|
| 96 |
+
return result + " πριν";
|
| 97 |
+
}
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
return result;
|
| 101 |
+
};
|
node_modules/date-fns/locale/el/_lib/formatLong.cjs
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.formatLong = void 0;
|
| 3 |
+
var _index = require("../../_lib/buildFormatLongFn.cjs");
|
| 4 |
+
|
| 5 |
+
const dateFormats = {
|
| 6 |
+
full: "EEEE, d MMMM y",
|
| 7 |
+
long: "d MMMM y",
|
| 8 |
+
medium: "d MMM y",
|
| 9 |
+
short: "d/M/yy",
|
| 10 |
+
};
|
| 11 |
+
|
| 12 |
+
const timeFormats = {
|
| 13 |
+
full: "h:mm:ss a zzzz",
|
| 14 |
+
long: "h:mm:ss a z",
|
| 15 |
+
medium: "h:mm:ss a",
|
| 16 |
+
short: "h:mm a",
|
| 17 |
+
};
|
| 18 |
+
|
| 19 |
+
const dateTimeFormats = {
|
| 20 |
+
full: "{{date}} - {{time}}",
|
| 21 |
+
long: "{{date}} - {{time}}",
|
| 22 |
+
medium: "{{date}}, {{time}}",
|
| 23 |
+
short: "{{date}}, {{time}}",
|
| 24 |
+
};
|
| 25 |
+
|
| 26 |
+
const formatLong = (exports.formatLong = {
|
| 27 |
+
date: (0, _index.buildFormatLongFn)({
|
| 28 |
+
formats: dateFormats,
|
| 29 |
+
defaultWidth: "full",
|
| 30 |
+
}),
|
| 31 |
+
|
| 32 |
+
time: (0, _index.buildFormatLongFn)({
|
| 33 |
+
formats: timeFormats,
|
| 34 |
+
defaultWidth: "full",
|
| 35 |
+
}),
|
| 36 |
+
|
| 37 |
+
dateTime: (0, _index.buildFormatLongFn)({
|
| 38 |
+
formats: dateTimeFormats,
|
| 39 |
+
defaultWidth: "full",
|
| 40 |
+
}),
|
| 41 |
+
});
|
node_modules/date-fns/locale/el/_lib/formatLong.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatLong } from "../../types.ts";
|
| 2 |
+
export declare const formatLong: FormatLong;
|
node_modules/date-fns/locale/el/_lib/formatLong.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatLong } from "../../types.ts";
|
| 2 |
+
export declare const formatLong: FormatLong;
|
node_modules/date-fns/locale/el/_lib/formatLong.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
|
| 2 |
+
|
| 3 |
+
const dateFormats = {
|
| 4 |
+
full: "EEEE, d MMMM y",
|
| 5 |
+
long: "d MMMM y",
|
| 6 |
+
medium: "d MMM y",
|
| 7 |
+
short: "d/M/yy",
|
| 8 |
+
};
|
| 9 |
+
|
| 10 |
+
const timeFormats = {
|
| 11 |
+
full: "h:mm:ss a zzzz",
|
| 12 |
+
long: "h:mm:ss a z",
|
| 13 |
+
medium: "h:mm:ss a",
|
| 14 |
+
short: "h:mm a",
|
| 15 |
+
};
|
| 16 |
+
|
| 17 |
+
const dateTimeFormats = {
|
| 18 |
+
full: "{{date}} - {{time}}",
|
| 19 |
+
long: "{{date}} - {{time}}",
|
| 20 |
+
medium: "{{date}}, {{time}}",
|
| 21 |
+
short: "{{date}}, {{time}}",
|
| 22 |
+
};
|
| 23 |
+
|
| 24 |
+
export const formatLong = {
|
| 25 |
+
date: buildFormatLongFn({
|
| 26 |
+
formats: dateFormats,
|
| 27 |
+
defaultWidth: "full",
|
| 28 |
+
}),
|
| 29 |
+
|
| 30 |
+
time: buildFormatLongFn({
|
| 31 |
+
formats: timeFormats,
|
| 32 |
+
defaultWidth: "full",
|
| 33 |
+
}),
|
| 34 |
+
|
| 35 |
+
dateTime: buildFormatLongFn({
|
| 36 |
+
formats: dateTimeFormats,
|
| 37 |
+
defaultWidth: "full",
|
| 38 |
+
}),
|
| 39 |
+
};
|
node_modules/date-fns/locale/el/_lib/formatRelative.cjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.formatRelative = void 0;
|
| 3 |
+
|
| 4 |
+
const formatRelativeLocale = {
|
| 5 |
+
lastWeek: (date) => {
|
| 6 |
+
switch (date.getDay()) {
|
| 7 |
+
case 6: //Σάββατο
|
| 8 |
+
return "'το προηγούμενο' eeee 'στις' p";
|
| 9 |
+
default:
|
| 10 |
+
return "'την προηγούμενη' eeee 'στις' p";
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
yesterday: "'χθες στις' p",
|
| 14 |
+
today: "'σήμερα στις' p",
|
| 15 |
+
tomorrow: "'αύριο στις' p",
|
| 16 |
+
nextWeek: "eeee 'στις' p",
|
| 17 |
+
other: "P",
|
| 18 |
+
};
|
| 19 |
+
|
| 20 |
+
const formatRelative = (token, date) => {
|
| 21 |
+
const format = formatRelativeLocale[token];
|
| 22 |
+
|
| 23 |
+
if (typeof format === "function") return format(date);
|
| 24 |
+
|
| 25 |
+
return format;
|
| 26 |
+
};
|
| 27 |
+
exports.formatRelative = formatRelative;
|
node_modules/date-fns/locale/el/_lib/formatRelative.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatRelativeFn } from "../../types.ts";
|
| 2 |
+
export declare const formatRelative: FormatRelativeFn;
|
node_modules/date-fns/locale/el/_lib/formatRelative.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatRelativeFn } from "../../types.ts";
|
| 2 |
+
export declare const formatRelative: FormatRelativeFn;
|
node_modules/date-fns/locale/el/_lib/formatRelative.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const formatRelativeLocale = {
|
| 2 |
+
lastWeek: (date) => {
|
| 3 |
+
switch (date.getDay()) {
|
| 4 |
+
case 6: //Σάββατο
|
| 5 |
+
return "'το προηγούμενο' eeee 'στις' p";
|
| 6 |
+
default:
|
| 7 |
+
return "'την προηγούμενη' eeee 'στις' p";
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
yesterday: "'χθες στις' p",
|
| 11 |
+
today: "'σήμερα στις' p",
|
| 12 |
+
tomorrow: "'αύριο στις' p",
|
| 13 |
+
nextWeek: "eeee 'στις' p",
|
| 14 |
+
other: "P",
|
| 15 |
+
};
|
| 16 |
+
|
| 17 |
+
export const formatRelative = (token, date) => {
|
| 18 |
+
const format = formatRelativeLocale[token];
|
| 19 |
+
|
| 20 |
+
if (typeof format === "function") return format(date);
|
| 21 |
+
|
| 22 |
+
return format;
|
| 23 |
+
};
|
node_modules/date-fns/locale/el/_lib/localize.cjs
ADDED
|
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.localize = void 0;
|
| 3 |
+
var _index = require("../../_lib/buildLocalizeFn.cjs");
|
| 4 |
+
|
| 5 |
+
const eraValues = {
|
| 6 |
+
narrow: ["πΧ", "μΧ"],
|
| 7 |
+
abbreviated: ["π.Χ.", "μ.Χ."],
|
| 8 |
+
wide: ["προ Χριστού", "μετά Χριστόν"],
|
| 9 |
+
};
|
| 10 |
+
|
| 11 |
+
const quarterValues = {
|
| 12 |
+
narrow: ["1", "2", "3", "4"],
|
| 13 |
+
abbreviated: ["Τ1", "Τ2", "Τ3", "Τ4"],
|
| 14 |
+
wide: ["1ο τρίμηνο", "2ο τρίμηνο", "3ο τρίμηνο", "4ο τρίμηνο"],
|
| 15 |
+
};
|
| 16 |
+
|
| 17 |
+
const monthValues = {
|
| 18 |
+
narrow: ["Ι", "Φ", "Μ", "Α", "Μ", "Ι", "Ι", "Α", "Σ", "Ο", "Ν", "Δ"],
|
| 19 |
+
abbreviated: [
|
| 20 |
+
"Ιαν",
|
| 21 |
+
"Φεβ",
|
| 22 |
+
"Μάρ",
|
| 23 |
+
"Απρ",
|
| 24 |
+
"Μάι",
|
| 25 |
+
"Ιούν",
|
| 26 |
+
"Ιούλ",
|
| 27 |
+
"Αύγ",
|
| 28 |
+
"Σεπ",
|
| 29 |
+
"Οκτ",
|
| 30 |
+
"Νοέ",
|
| 31 |
+
"Δεκ",
|
| 32 |
+
],
|
| 33 |
+
|
| 34 |
+
wide: [
|
| 35 |
+
"Ιανουάριος",
|
| 36 |
+
"Φεβρουάριος",
|
| 37 |
+
"Μάρτιος",
|
| 38 |
+
"Απρίλιος",
|
| 39 |
+
"Μάιος",
|
| 40 |
+
"Ιούνιος",
|
| 41 |
+
"Ιούλιος",
|
| 42 |
+
"Αύγουστος",
|
| 43 |
+
"Σεπτέμβριος",
|
| 44 |
+
"Οκτώβριος",
|
| 45 |
+
"Νοέμβριος",
|
| 46 |
+
"Δεκέμβριος",
|
| 47 |
+
],
|
| 48 |
+
};
|
| 49 |
+
|
| 50 |
+
const formattingMonthValues = {
|
| 51 |
+
narrow: ["Ι", "Φ", "Μ", "Α", "Μ", "Ι", "Ι", "Α", "Σ", "Ο", "Ν", "Δ"],
|
| 52 |
+
abbreviated: [
|
| 53 |
+
"Ιαν",
|
| 54 |
+
"Φεβ",
|
| 55 |
+
"Μαρ",
|
| 56 |
+
"Απρ",
|
| 57 |
+
"Μαΐ",
|
| 58 |
+
"Ιουν",
|
| 59 |
+
"Ιουλ",
|
| 60 |
+
"Αυγ",
|
| 61 |
+
"Σεπ",
|
| 62 |
+
"Οκτ",
|
| 63 |
+
"Νοε",
|
| 64 |
+
"Δεκ",
|
| 65 |
+
],
|
| 66 |
+
|
| 67 |
+
wide: [
|
| 68 |
+
"Ιανουαρίου",
|
| 69 |
+
"Φεβρουαρίου",
|
| 70 |
+
"Μαρτίου",
|
| 71 |
+
"Απριλίου",
|
| 72 |
+
"Μαΐου",
|
| 73 |
+
"Ιουνίου",
|
| 74 |
+
"Ιουλίου",
|
| 75 |
+
"Αυγούστου",
|
| 76 |
+
"Σεπτεμβρίου",
|
| 77 |
+
"Οκτωβρίου",
|
| 78 |
+
"Νοεμβρίου",
|
| 79 |
+
"Δεκεμβρίου",
|
| 80 |
+
],
|
| 81 |
+
};
|
| 82 |
+
|
| 83 |
+
const dayValues = {
|
| 84 |
+
narrow: ["Κ", "Δ", "T", "Τ", "Π", "Π", "Σ"],
|
| 85 |
+
short: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
|
| 86 |
+
abbreviated: ["Κυρ", "Δευ", "Τρί", "Τετ", "Πέμ", "Παρ", "Σάβ"],
|
| 87 |
+
wide: [
|
| 88 |
+
"Κυριακή",
|
| 89 |
+
"Δευτέρα",
|
| 90 |
+
"Τρίτη",
|
| 91 |
+
"Τετάρτη",
|
| 92 |
+
"Πέμπτη",
|
| 93 |
+
"Παρασκευή",
|
| 94 |
+
"Σάββατο",
|
| 95 |
+
],
|
| 96 |
+
};
|
| 97 |
+
|
| 98 |
+
const dayPeriodValues = {
|
| 99 |
+
narrow: {
|
| 100 |
+
am: "πμ",
|
| 101 |
+
pm: "μμ",
|
| 102 |
+
midnight: "μεσάνυχτα",
|
| 103 |
+
noon: "μεσημέρι",
|
| 104 |
+
morning: "πρωί",
|
| 105 |
+
afternoon: "απόγευμα",
|
| 106 |
+
evening: "βράδυ",
|
| 107 |
+
night: "νύχτα",
|
| 108 |
+
},
|
| 109 |
+
abbreviated: {
|
| 110 |
+
am: "π.μ.",
|
| 111 |
+
pm: "μ.μ.",
|
| 112 |
+
midnight: "μεσάνυχτα",
|
| 113 |
+
noon: "μεσημέρι",
|
| 114 |
+
morning: "πρωί",
|
| 115 |
+
afternoon: "απόγευμα",
|
| 116 |
+
evening: "βράδυ",
|
| 117 |
+
night: "νύχτα",
|
| 118 |
+
},
|
| 119 |
+
wide: {
|
| 120 |
+
am: "π.μ.",
|
| 121 |
+
pm: "μ.μ.",
|
| 122 |
+
midnight: "μεσάνυχτα",
|
| 123 |
+
noon: "μεσημέρι",
|
| 124 |
+
morning: "πρωί",
|
| 125 |
+
afternoon: "απόγευμα",
|
| 126 |
+
evening: "βράδυ",
|
| 127 |
+
night: "νύχτα",
|
| 128 |
+
},
|
| 129 |
+
};
|
| 130 |
+
|
| 131 |
+
const ordinalNumber = (dirtyNumber, options) => {
|
| 132 |
+
const number = Number(dirtyNumber);
|
| 133 |
+
const unit = options?.unit;
|
| 134 |
+
let suffix;
|
| 135 |
+
|
| 136 |
+
if (unit === "year" || unit === "month") {
|
| 137 |
+
suffix = "ος";
|
| 138 |
+
} else if (
|
| 139 |
+
unit === "week" ||
|
| 140 |
+
unit === "dayOfYear" ||
|
| 141 |
+
unit === "day" ||
|
| 142 |
+
unit === "hour" ||
|
| 143 |
+
unit === "date"
|
| 144 |
+
) {
|
| 145 |
+
suffix = "η";
|
| 146 |
+
} else {
|
| 147 |
+
suffix = "ο";
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
return number + suffix;
|
| 151 |
+
};
|
| 152 |
+
|
| 153 |
+
const localize = (exports.localize = {
|
| 154 |
+
ordinalNumber,
|
| 155 |
+
|
| 156 |
+
era: (0, _index.buildLocalizeFn)({
|
| 157 |
+
values: eraValues,
|
| 158 |
+
defaultWidth: "wide",
|
| 159 |
+
}),
|
| 160 |
+
|
| 161 |
+
quarter: (0, _index.buildLocalizeFn)({
|
| 162 |
+
values: quarterValues,
|
| 163 |
+
defaultWidth: "wide",
|
| 164 |
+
argumentCallback: (quarter) => quarter - 1,
|
| 165 |
+
}),
|
| 166 |
+
|
| 167 |
+
month: (0, _index.buildLocalizeFn)({
|
| 168 |
+
values: monthValues,
|
| 169 |
+
defaultWidth: "wide",
|
| 170 |
+
formattingValues: formattingMonthValues,
|
| 171 |
+
defaultFormattingWidth: "wide",
|
| 172 |
+
}),
|
| 173 |
+
|
| 174 |
+
day: (0, _index.buildLocalizeFn)({
|
| 175 |
+
values: dayValues,
|
| 176 |
+
defaultWidth: "wide",
|
| 177 |
+
}),
|
| 178 |
+
|
| 179 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
| 180 |
+
values: dayPeriodValues,
|
| 181 |
+
defaultWidth: "wide",
|
| 182 |
+
}),
|
| 183 |
+
});
|
node_modules/date-fns/locale/el/_lib/localize.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Localize } from "../../types.ts";
|
| 2 |
+
export declare const localize: Localize;
|
node_modules/date-fns/locale/el/_lib/localize.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Localize } from "../../types.ts";
|
| 2 |
+
export declare const localize: Localize;
|
node_modules/date-fns/locale/el/_lib/localize.js
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.js";
|
| 2 |
+
|
| 3 |
+
const eraValues = {
|
| 4 |
+
narrow: ["πΧ", "μΧ"],
|
| 5 |
+
abbreviated: ["π.Χ.", "μ.Χ."],
|
| 6 |
+
wide: ["προ Χριστού", "μετά Χριστόν"],
|
| 7 |
+
};
|
| 8 |
+
|
| 9 |
+
const quarterValues = {
|
| 10 |
+
narrow: ["1", "2", "3", "4"],
|
| 11 |
+
abbreviated: ["Τ1", "Τ2", "Τ3", "Τ4"],
|
| 12 |
+
wide: ["1ο τρίμηνο", "2ο τρίμηνο", "3ο τρίμηνο", "4ο τρίμηνο"],
|
| 13 |
+
};
|
| 14 |
+
|
| 15 |
+
const monthValues = {
|
| 16 |
+
narrow: ["Ι", "Φ", "Μ", "Α", "Μ", "Ι", "Ι", "Α", "Σ", "Ο", "Ν", "Δ"],
|
| 17 |
+
abbreviated: [
|
| 18 |
+
"Ιαν",
|
| 19 |
+
"Φεβ",
|
| 20 |
+
"Μάρ",
|
| 21 |
+
"Απρ",
|
| 22 |
+
"Μάι",
|
| 23 |
+
"Ιούν",
|
| 24 |
+
"Ιούλ",
|
| 25 |
+
"Αύγ",
|
| 26 |
+
"Σεπ",
|
| 27 |
+
"Οκτ",
|
| 28 |
+
"Νοέ",
|
| 29 |
+
"Δεκ",
|
| 30 |
+
],
|
| 31 |
+
|
| 32 |
+
wide: [
|
| 33 |
+
"Ιανουάριος",
|
| 34 |
+
"Φεβρουάριος",
|
| 35 |
+
"Μάρτιος",
|
| 36 |
+
"Απρίλιος",
|
| 37 |
+
"Μάιος",
|
| 38 |
+
"Ιούνιος",
|
| 39 |
+
"Ιούλιος",
|
| 40 |
+
"Αύγουστος",
|
| 41 |
+
"Σεπτέμβριος",
|
| 42 |
+
"Οκτώβριος",
|
| 43 |
+
"Νοέμβριος",
|
| 44 |
+
"Δεκέμβριος",
|
| 45 |
+
],
|
| 46 |
+
};
|
| 47 |
+
|
| 48 |
+
const formattingMonthValues = {
|
| 49 |
+
narrow: ["Ι", "Φ", "Μ", "Α", "Μ", "Ι", "Ι", "Α", "Σ", "Ο", "Ν", "Δ"],
|
| 50 |
+
abbreviated: [
|
| 51 |
+
"Ιαν",
|
| 52 |
+
"Φεβ",
|
| 53 |
+
"Μαρ",
|
| 54 |
+
"Απρ",
|
| 55 |
+
"Μαΐ",
|
| 56 |
+
"Ιουν",
|
| 57 |
+
"Ιουλ",
|
| 58 |
+
"Αυγ",
|
| 59 |
+
"Σεπ",
|
| 60 |
+
"Οκτ",
|
| 61 |
+
"Νοε",
|
| 62 |
+
"Δεκ",
|
| 63 |
+
],
|
| 64 |
+
|
| 65 |
+
wide: [
|
| 66 |
+
"Ιανουαρίου",
|
| 67 |
+
"Φεβρουαρίου",
|
| 68 |
+
"Μαρτίου",
|
| 69 |
+
"Απριλίου",
|
| 70 |
+
"Μαΐου",
|
| 71 |
+
"Ιουνίου",
|
| 72 |
+
"Ιουλίου",
|
| 73 |
+
"Αυγούστου",
|
| 74 |
+
"Σεπτεμβρίου",
|
| 75 |
+
"Οκτωβρίου",
|
| 76 |
+
"Νοεμβρίου",
|
| 77 |
+
"Δεκεμβρίου",
|
| 78 |
+
],
|
| 79 |
+
};
|
| 80 |
+
|
| 81 |
+
const dayValues = {
|
| 82 |
+
narrow: ["Κ", "Δ", "T", "Τ", "Π", "Π", "Σ"],
|
| 83 |
+
short: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
|
| 84 |
+
abbreviated: ["Κυρ", "Δευ", "Τρί", "Τετ", "Πέμ", "Παρ", "Σάβ"],
|
| 85 |
+
wide: [
|
| 86 |
+
"Κυριακή",
|
| 87 |
+
"Δευτέρα",
|
| 88 |
+
"Τρίτη",
|
| 89 |
+
"Τετάρτη",
|
| 90 |
+
"Πέμπτη",
|
| 91 |
+
"Παρασκευή",
|
| 92 |
+
"Σάββατο",
|
| 93 |
+
],
|
| 94 |
+
};
|
| 95 |
+
|
| 96 |
+
const dayPeriodValues = {
|
| 97 |
+
narrow: {
|
| 98 |
+
am: "πμ",
|
| 99 |
+
pm: "μμ",
|
| 100 |
+
midnight: "μεσάνυχτα",
|
| 101 |
+
noon: "μεσημέρι",
|
| 102 |
+
morning: "πρωί",
|
| 103 |
+
afternoon: "απόγευμα",
|
| 104 |
+
evening: "βράδυ",
|
| 105 |
+
night: "νύχτα",
|
| 106 |
+
},
|
| 107 |
+
abbreviated: {
|
| 108 |
+
am: "π.μ.",
|
| 109 |
+
pm: "μ.μ.",
|
| 110 |
+
midnight: "μεσάνυχτα",
|
| 111 |
+
noon: "μεσημέρι",
|
| 112 |
+
morning: "πρωί",
|
| 113 |
+
afternoon: "απόγευμα",
|
| 114 |
+
evening: "βράδυ",
|
| 115 |
+
night: "νύχτα",
|
| 116 |
+
},
|
| 117 |
+
wide: {
|
| 118 |
+
am: "π.μ.",
|
| 119 |
+
pm: "μ.μ.",
|
| 120 |
+
midnight: "μεσάνυχτα",
|
| 121 |
+
noon: "μεσημέρι",
|
| 122 |
+
morning: "πρωί",
|
| 123 |
+
afternoon: "απόγευμα",
|
| 124 |
+
evening: "βράδυ",
|
| 125 |
+
night: "νύχτα",
|
| 126 |
+
},
|
| 127 |
+
};
|
| 128 |
+
|
| 129 |
+
const ordinalNumber = (dirtyNumber, options) => {
|
| 130 |
+
const number = Number(dirtyNumber);
|
| 131 |
+
const unit = options?.unit;
|
| 132 |
+
let suffix;
|
| 133 |
+
|
| 134 |
+
if (unit === "year" || unit === "month") {
|
| 135 |
+
suffix = "ος";
|
| 136 |
+
} else if (
|
| 137 |
+
unit === "week" ||
|
| 138 |
+
unit === "dayOfYear" ||
|
| 139 |
+
unit === "day" ||
|
| 140 |
+
unit === "hour" ||
|
| 141 |
+
unit === "date"
|
| 142 |
+
) {
|
| 143 |
+
suffix = "η";
|
| 144 |
+
} else {
|
| 145 |
+
suffix = "ο";
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
return number + suffix;
|
| 149 |
+
};
|
| 150 |
+
|
| 151 |
+
export const localize = {
|
| 152 |
+
ordinalNumber,
|
| 153 |
+
|
| 154 |
+
era: buildLocalizeFn({
|
| 155 |
+
values: eraValues,
|
| 156 |
+
defaultWidth: "wide",
|
| 157 |
+
}),
|
| 158 |
+
|
| 159 |
+
quarter: buildLocalizeFn({
|
| 160 |
+
values: quarterValues,
|
| 161 |
+
defaultWidth: "wide",
|
| 162 |
+
argumentCallback: (quarter) => quarter - 1,
|
| 163 |
+
}),
|
| 164 |
+
|
| 165 |
+
month: buildLocalizeFn({
|
| 166 |
+
values: monthValues,
|
| 167 |
+
defaultWidth: "wide",
|
| 168 |
+
formattingValues: formattingMonthValues,
|
| 169 |
+
defaultFormattingWidth: "wide",
|
| 170 |
+
}),
|
| 171 |
+
|
| 172 |
+
day: buildLocalizeFn({
|
| 173 |
+
values: dayValues,
|
| 174 |
+
defaultWidth: "wide",
|
| 175 |
+
}),
|
| 176 |
+
|
| 177 |
+
dayPeriod: buildLocalizeFn({
|
| 178 |
+
values: dayPeriodValues,
|
| 179 |
+
defaultWidth: "wide",
|
| 180 |
+
}),
|
| 181 |
+
};
|
node_modules/date-fns/locale/el/_lib/match.cjs
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.match = void 0;
|
| 3 |
+
|
| 4 |
+
var _index = require("../../_lib/buildMatchFn.cjs");
|
| 5 |
+
var _index2 = require("../../_lib/buildMatchPatternFn.cjs");
|
| 6 |
+
|
| 7 |
+
const matchOrdinalNumberPattern = /^(\d+)(ος|η|ο)?/i;
|
| 8 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
| 9 |
+
|
| 10 |
+
const matchEraPatterns = {
|
| 11 |
+
narrow: /^(πΧ|μΧ)/i,
|
| 12 |
+
abbreviated: /^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,
|
| 13 |
+
wide: /^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i,
|
| 14 |
+
};
|
| 15 |
+
const parseEraPatterns = {
|
| 16 |
+
any: [/^π/i, /^(μ|κ)/i],
|
| 17 |
+
};
|
| 18 |
+
|
| 19 |
+
const matchQuarterPatterns = {
|
| 20 |
+
narrow: /^[1234]/i,
|
| 21 |
+
abbreviated: /^τ[1234]/i,
|
| 22 |
+
wide: /^[1234]ο? τρ(ί|ι)μηνο/i,
|
| 23 |
+
};
|
| 24 |
+
const parseQuarterPatterns = {
|
| 25 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
const matchMonthPatterns = {
|
| 29 |
+
narrow: /^[ιφμαμιιασονδ]/i,
|
| 30 |
+
abbreviated:
|
| 31 |
+
/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,
|
| 32 |
+
wide: /^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i,
|
| 33 |
+
};
|
| 34 |
+
const parseMonthPatterns = {
|
| 35 |
+
narrow: [
|
| 36 |
+
/^ι/i,
|
| 37 |
+
/^φ/i,
|
| 38 |
+
/^μ/i,
|
| 39 |
+
/^α/i,
|
| 40 |
+
/^μ/i,
|
| 41 |
+
/^ι/i,
|
| 42 |
+
/^ι/i,
|
| 43 |
+
/^α/i,
|
| 44 |
+
/^σ/i,
|
| 45 |
+
/^ο/i,
|
| 46 |
+
/^ν/i,
|
| 47 |
+
/^δ/i,
|
| 48 |
+
],
|
| 49 |
+
|
| 50 |
+
any: [
|
| 51 |
+
/^ια/i,
|
| 52 |
+
/^φ/i,
|
| 53 |
+
/^μ[άα]ρ/i,
|
| 54 |
+
/^απ/i,
|
| 55 |
+
/^μ[άα][ιΐ]/i,
|
| 56 |
+
/^ιο[ύυ]ν/i,
|
| 57 |
+
/^ιο[ύυ]λ/i,
|
| 58 |
+
/^α[ύυ]/i,
|
| 59 |
+
/^σ/i,
|
| 60 |
+
/^ο/i,
|
| 61 |
+
/^ν/i,
|
| 62 |
+
/^δ/i,
|
| 63 |
+
],
|
| 64 |
+
};
|
| 65 |
+
|
| 66 |
+
const matchDayPatterns = {
|
| 67 |
+
narrow: /^[κδτπσ]/i,
|
| 68 |
+
short: /^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,
|
| 69 |
+
abbreviated: /^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,
|
| 70 |
+
wide: /^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i,
|
| 71 |
+
};
|
| 72 |
+
const parseDayPatterns = {
|
| 73 |
+
narrow: [/^κ/i, /^δ/i, /^τ/i, /^τ/i, /^π/i, /^π/i, /^σ/i],
|
| 74 |
+
any: [/^κ/i, /^δ/i, /^τρ/i, /^τε/i, /^π[εέ]/i, /^π[αά]/i, /^σ/i],
|
| 75 |
+
};
|
| 76 |
+
|
| 77 |
+
const matchDayPeriodPatterns = {
|
| 78 |
+
narrow:
|
| 79 |
+
/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,
|
| 80 |
+
any: /^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,
|
| 81 |
+
};
|
| 82 |
+
const parseDayPeriodPatterns = {
|
| 83 |
+
any: {
|
| 84 |
+
am: /^πμ|π\.\s?μ\./i,
|
| 85 |
+
pm: /^μμ|μ\.\s?μ\./i,
|
| 86 |
+
midnight: /^μεσάν/i,
|
| 87 |
+
noon: /^μεσημ(έ|ε)/i,
|
| 88 |
+
morning: /πρω(ί|ι)/i,
|
| 89 |
+
afternoon: /απ(ό|ο)γευμα/i,
|
| 90 |
+
evening: /βρ(ά|α)δυ/i,
|
| 91 |
+
night: /ν(ύ|υ)χτα/i,
|
| 92 |
+
},
|
| 93 |
+
};
|
| 94 |
+
|
| 95 |
+
const match = (exports.match = {
|
| 96 |
+
ordinalNumber: (0, _index2.buildMatchPatternFn)({
|
| 97 |
+
matchPattern: matchOrdinalNumberPattern,
|
| 98 |
+
parsePattern: parseOrdinalNumberPattern,
|
| 99 |
+
valueCallback: (value) => parseInt(value, 10),
|
| 100 |
+
}),
|
| 101 |
+
|
| 102 |
+
era: (0, _index.buildMatchFn)({
|
| 103 |
+
matchPatterns: matchEraPatterns,
|
| 104 |
+
defaultMatchWidth: "wide",
|
| 105 |
+
parsePatterns: parseEraPatterns,
|
| 106 |
+
defaultParseWidth: "any",
|
| 107 |
+
}),
|
| 108 |
+
|
| 109 |
+
quarter: (0, _index.buildMatchFn)({
|
| 110 |
+
matchPatterns: matchQuarterPatterns,
|
| 111 |
+
defaultMatchWidth: "wide",
|
| 112 |
+
parsePatterns: parseQuarterPatterns,
|
| 113 |
+
defaultParseWidth: "any",
|
| 114 |
+
valueCallback: (index) => index + 1,
|
| 115 |
+
}),
|
| 116 |
+
|
| 117 |
+
month: (0, _index.buildMatchFn)({
|
| 118 |
+
matchPatterns: matchMonthPatterns,
|
| 119 |
+
defaultMatchWidth: "wide",
|
| 120 |
+
parsePatterns: parseMonthPatterns,
|
| 121 |
+
defaultParseWidth: "any",
|
| 122 |
+
}),
|
| 123 |
+
|
| 124 |
+
day: (0, _index.buildMatchFn)({
|
| 125 |
+
matchPatterns: matchDayPatterns,
|
| 126 |
+
defaultMatchWidth: "wide",
|
| 127 |
+
parsePatterns: parseDayPatterns,
|
| 128 |
+
defaultParseWidth: "any",
|
| 129 |
+
}),
|
| 130 |
+
|
| 131 |
+
dayPeriod: (0, _index.buildMatchFn)({
|
| 132 |
+
matchPatterns: matchDayPeriodPatterns,
|
| 133 |
+
defaultMatchWidth: "any",
|
| 134 |
+
parsePatterns: parseDayPeriodPatterns,
|
| 135 |
+
defaultParseWidth: "any",
|
| 136 |
+
}),
|
| 137 |
+
});
|
node_modules/date-fns/locale/el/_lib/match.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Match } from "../../types.ts";
|
| 2 |
+
export declare const match: Match;
|
node_modules/date-fns/locale/el/_lib/match.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Match } from "../../types.ts";
|
| 2 |
+
export declare const match: Match;
|
node_modules/date-fns/locale/el/_lib/match.js
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { buildMatchFn } from "../../_lib/buildMatchFn.js";
|
| 2 |
+
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.js";
|
| 3 |
+
|
| 4 |
+
const matchOrdinalNumberPattern = /^(\d+)(ος|η|ο)?/i;
|
| 5 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
| 6 |
+
|
| 7 |
+
const matchEraPatterns = {
|
| 8 |
+
narrow: /^(πΧ|μΧ)/i,
|
| 9 |
+
abbreviated: /^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,
|
| 10 |
+
wide: /^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i,
|
| 11 |
+
};
|
| 12 |
+
const parseEraPatterns = {
|
| 13 |
+
any: [/^π/i, /^(μ|κ)/i],
|
| 14 |
+
};
|
| 15 |
+
|
| 16 |
+
const matchQuarterPatterns = {
|
| 17 |
+
narrow: /^[1234]/i,
|
| 18 |
+
abbreviated: /^τ[1234]/i,
|
| 19 |
+
wide: /^[1234]ο? τρ(ί|ι)μηνο/i,
|
| 20 |
+
};
|
| 21 |
+
const parseQuarterPatterns = {
|
| 22 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
| 23 |
+
};
|
| 24 |
+
|
| 25 |
+
const matchMonthPatterns = {
|
| 26 |
+
narrow: /^[ιφμαμιιασονδ]/i,
|
| 27 |
+
abbreviated:
|
| 28 |
+
/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,
|
| 29 |
+
wide: /^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i,
|
| 30 |
+
};
|
| 31 |
+
const parseMonthPatterns = {
|
| 32 |
+
narrow: [
|
| 33 |
+
/^ι/i,
|
| 34 |
+
/^φ/i,
|
| 35 |
+
/^μ/i,
|
| 36 |
+
/^α/i,
|
| 37 |
+
/^μ/i,
|
| 38 |
+
/^ι/i,
|
| 39 |
+
/^ι/i,
|
| 40 |
+
/^α/i,
|
| 41 |
+
/^σ/i,
|
| 42 |
+
/^ο/i,
|
| 43 |
+
/^ν/i,
|
| 44 |
+
/^δ/i,
|
| 45 |
+
],
|
| 46 |
+
|
| 47 |
+
any: [
|
| 48 |
+
/^ια/i,
|
| 49 |
+
/^φ/i,
|
| 50 |
+
/^μ[άα]ρ/i,
|
| 51 |
+
/^απ/i,
|
| 52 |
+
/^μ[άα][ιΐ]/i,
|
| 53 |
+
/^ιο[ύυ]ν/i,
|
| 54 |
+
/^ιο[ύυ]λ/i,
|
| 55 |
+
/^α[ύυ]/i,
|
| 56 |
+
/^σ/i,
|
| 57 |
+
/^ο/i,
|
| 58 |
+
/^ν/i,
|
| 59 |
+
/^δ/i,
|
| 60 |
+
],
|
| 61 |
+
};
|
| 62 |
+
|
| 63 |
+
const matchDayPatterns = {
|
| 64 |
+
narrow: /^[κδτπσ]/i,
|
| 65 |
+
short: /^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,
|
| 66 |
+
abbreviated: /^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,
|
| 67 |
+
wide: /^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i,
|
| 68 |
+
};
|
| 69 |
+
const parseDayPatterns = {
|
| 70 |
+
narrow: [/^κ/i, /^δ/i, /^τ/i, /^τ/i, /^π/i, /^π/i, /^σ/i],
|
| 71 |
+
any: [/^κ/i, /^δ/i, /^τρ/i, /^τε/i, /^π[εέ]/i, /^π[αά]/i, /^σ/i],
|
| 72 |
+
};
|
| 73 |
+
|
| 74 |
+
const matchDayPeriodPatterns = {
|
| 75 |
+
narrow:
|
| 76 |
+
/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,
|
| 77 |
+
any: /^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,
|
| 78 |
+
};
|
| 79 |
+
const parseDayPeriodPatterns = {
|
| 80 |
+
any: {
|
| 81 |
+
am: /^πμ|π\.\s?μ\./i,
|
| 82 |
+
pm: /^μμ|μ\.\s?μ\./i,
|
| 83 |
+
midnight: /^μεσάν/i,
|
| 84 |
+
noon: /^μεσημ(έ|ε)/i,
|
| 85 |
+
morning: /πρω(ί|ι)/i,
|
| 86 |
+
afternoon: /απ(ό|ο)γευμα/i,
|
| 87 |
+
evening: /βρ(ά|α)δυ/i,
|
| 88 |
+
night: /ν(ύ|υ)χτα/i,
|
| 89 |
+
},
|
| 90 |
+
};
|
| 91 |
+
|
| 92 |
+
export const match = {
|
| 93 |
+
ordinalNumber: buildMatchPatternFn({
|
| 94 |
+
matchPattern: matchOrdinalNumberPattern,
|
| 95 |
+
parsePattern: parseOrdinalNumberPattern,
|
| 96 |
+
valueCallback: (value) => parseInt(value, 10),
|
| 97 |
+
}),
|
| 98 |
+
|
| 99 |
+
era: buildMatchFn({
|
| 100 |
+
matchPatterns: matchEraPatterns,
|
| 101 |
+
defaultMatchWidth: "wide",
|
| 102 |
+
parsePatterns: parseEraPatterns,
|
| 103 |
+
defaultParseWidth: "any",
|
| 104 |
+
}),
|
| 105 |
+
|
| 106 |
+
quarter: buildMatchFn({
|
| 107 |
+
matchPatterns: matchQuarterPatterns,
|
| 108 |
+
defaultMatchWidth: "wide",
|
| 109 |
+
parsePatterns: parseQuarterPatterns,
|
| 110 |
+
defaultParseWidth: "any",
|
| 111 |
+
valueCallback: (index) => index + 1,
|
| 112 |
+
}),
|
| 113 |
+
|
| 114 |
+
month: buildMatchFn({
|
| 115 |
+
matchPatterns: matchMonthPatterns,
|
| 116 |
+
defaultMatchWidth: "wide",
|
| 117 |
+
parsePatterns: parseMonthPatterns,
|
| 118 |
+
defaultParseWidth: "any",
|
| 119 |
+
}),
|
| 120 |
+
|
| 121 |
+
day: buildMatchFn({
|
| 122 |
+
matchPatterns: matchDayPatterns,
|
| 123 |
+
defaultMatchWidth: "wide",
|
| 124 |
+
parsePatterns: parseDayPatterns,
|
| 125 |
+
defaultParseWidth: "any",
|
| 126 |
+
}),
|
| 127 |
+
|
| 128 |
+
dayPeriod: buildMatchFn({
|
| 129 |
+
matchPatterns: matchDayPeriodPatterns,
|
| 130 |
+
defaultMatchWidth: "any",
|
| 131 |
+
parsePatterns: parseDayPeriodPatterns,
|
| 132 |
+
defaultParseWidth: "any",
|
| 133 |
+
}),
|
| 134 |
+
};
|
node_modules/date-fns/locale/el/cdn.js
ADDED
|
@@ -0,0 +1,601 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
(() => {
|
| 2 |
+
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(e, r, t) {return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : 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);} //#region dist/date-fns/locale/el/_lib/formatDistance.js
|
| 3 |
+
var formatDistanceLocale = {
|
| 4 |
+
lessThanXSeconds: {
|
| 5 |
+
one: "λιγότερο από ένα δευτερόλεπτο",
|
| 6 |
+
other: "λιγότερο από {{count}} δευτερόλεπτα"
|
| 7 |
+
},
|
| 8 |
+
xSeconds: {
|
| 9 |
+
one: "1 δευτερόλεπτο",
|
| 10 |
+
other: "{{count}} δευτερόλεπτα"
|
| 11 |
+
},
|
| 12 |
+
halfAMinute: "μισό λεπτό",
|
| 13 |
+
lessThanXMinutes: {
|
| 14 |
+
one: "λιγότερο από ένα λεπτό",
|
| 15 |
+
other: "λιγότερο από {{count}} λεπτά"
|
| 16 |
+
},
|
| 17 |
+
xMinutes: {
|
| 18 |
+
one: "1 λεπτό",
|
| 19 |
+
other: "{{count}} λεπτά"
|
| 20 |
+
},
|
| 21 |
+
aboutXHours: {
|
| 22 |
+
one: "περίπου 1 ώρα",
|
| 23 |
+
other: "περίπου {{count}} ώρες"
|
| 24 |
+
},
|
| 25 |
+
xHours: {
|
| 26 |
+
one: "1 ώρα",
|
| 27 |
+
other: "{{count}} ώρες"
|
| 28 |
+
},
|
| 29 |
+
xDays: {
|
| 30 |
+
one: "1 ημέρα",
|
| 31 |
+
other: "{{count}} ημέρες"
|
| 32 |
+
},
|
| 33 |
+
aboutXWeeks: {
|
| 34 |
+
one: "περίπου 1 εβδομάδα",
|
| 35 |
+
other: "περίπου {{count}} εβδομάδες"
|
| 36 |
+
},
|
| 37 |
+
xWeeks: {
|
| 38 |
+
one: "1 εβδομάδα",
|
| 39 |
+
other: "{{count}} εβδομάδες"
|
| 40 |
+
},
|
| 41 |
+
aboutXMonths: {
|
| 42 |
+
one: "περίπου 1 μήνας",
|
| 43 |
+
other: "περίπου {{count}} μήνες"
|
| 44 |
+
},
|
| 45 |
+
xMonths: {
|
| 46 |
+
one: "1 μήνας",
|
| 47 |
+
other: "{{count}} μήνες"
|
| 48 |
+
},
|
| 49 |
+
aboutXYears: {
|
| 50 |
+
one: "περίπου 1 χρόνο",
|
| 51 |
+
other: "περίπου {{count}} χρόνια"
|
| 52 |
+
},
|
| 53 |
+
xYears: {
|
| 54 |
+
one: "1 χρόνο",
|
| 55 |
+
other: "{{count}} χρόνια"
|
| 56 |
+
},
|
| 57 |
+
overXYears: {
|
| 58 |
+
one: "πάνω από 1 χρόνο",
|
| 59 |
+
other: "πάνω από {{count}} χρόνια"
|
| 60 |
+
},
|
| 61 |
+
almostXYears: {
|
| 62 |
+
one: "περίπου 1 χρόνο",
|
| 63 |
+
other: "περίπου {{count}} χρόνια"
|
| 64 |
+
}
|
| 65 |
+
};
|
| 66 |
+
var formatDistance = function formatDistance(token, count, options) {
|
| 67 |
+
var result;
|
| 68 |
+
var tokenValue = formatDistanceLocale[token];
|
| 69 |
+
if (typeof tokenValue === "string") result = tokenValue;else
|
| 70 |
+
if (count === 1) result = tokenValue.one;else
|
| 71 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
| 72 |
+
if (options !== null && options !== void 0 && options.addSuffix) if (options.comparison && options.comparison > 0) return "σε " + result;else
|
| 73 |
+
return result + " πριν";
|
| 74 |
+
return result;
|
| 75 |
+
};
|
| 76 |
+
//#endregion
|
| 77 |
+
//#region dist/date-fns/locale/_lib/buildFormatLongFn.js
|
| 78 |
+
function buildFormatLongFn(args) {
|
| 79 |
+
return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
| 80 |
+
var width = options.width ? String(options.width) : args.defaultWidth;
|
| 81 |
+
return args.formats[width] || args.formats[args.defaultWidth];
|
| 82 |
+
};
|
| 83 |
+
}
|
| 84 |
+
var formatLong = {
|
| 85 |
+
date: buildFormatLongFn({
|
| 86 |
+
formats: {
|
| 87 |
+
full: "EEEE, d MMMM y",
|
| 88 |
+
long: "d MMMM y",
|
| 89 |
+
medium: "d MMM y",
|
| 90 |
+
short: "d/M/yy"
|
| 91 |
+
},
|
| 92 |
+
defaultWidth: "full"
|
| 93 |
+
}),
|
| 94 |
+
time: buildFormatLongFn({
|
| 95 |
+
formats: {
|
| 96 |
+
full: "h:mm:ss a zzzz",
|
| 97 |
+
long: "h:mm:ss a z",
|
| 98 |
+
medium: "h:mm:ss a",
|
| 99 |
+
short: "h:mm a"
|
| 100 |
+
},
|
| 101 |
+
defaultWidth: "full"
|
| 102 |
+
}),
|
| 103 |
+
dateTime: buildFormatLongFn({
|
| 104 |
+
formats: {
|
| 105 |
+
full: "{{date}} - {{time}}",
|
| 106 |
+
long: "{{date}} - {{time}}",
|
| 107 |
+
medium: "{{date}}, {{time}}",
|
| 108 |
+
short: "{{date}}, {{time}}"
|
| 109 |
+
},
|
| 110 |
+
defaultWidth: "full"
|
| 111 |
+
})
|
| 112 |
+
};
|
| 113 |
+
//#endregion
|
| 114 |
+
//#region dist/date-fns/locale/el/_lib/formatRelative.js
|
| 115 |
+
var formatRelativeLocale = {
|
| 116 |
+
lastWeek: function lastWeek(date) {
|
| 117 |
+
switch (date.getDay()) {
|
| 118 |
+
case 6:return "'το προηγ��ύμενο' eeee 'στις' p";
|
| 119 |
+
default:return "'την προηγούμενη' eeee 'στις' p";
|
| 120 |
+
}
|
| 121 |
+
},
|
| 122 |
+
yesterday: "'χθες στις' p",
|
| 123 |
+
today: "'σήμερα στις' p",
|
| 124 |
+
tomorrow: "'αύριο στις' p",
|
| 125 |
+
nextWeek: "eeee 'στις' p",
|
| 126 |
+
other: "P"
|
| 127 |
+
};
|
| 128 |
+
var formatRelative = function formatRelative(token, date) {
|
| 129 |
+
var format = formatRelativeLocale[token];
|
| 130 |
+
if (typeof format === "function") return format(date);
|
| 131 |
+
return format;
|
| 132 |
+
};
|
| 133 |
+
//#endregion
|
| 134 |
+
//#region dist/date-fns/locale/_lib/buildLocalizeFn.js
|
| 135 |
+
/**
|
| 136 |
+
* The localize function argument callback which allows to convert raw value to
|
| 137 |
+
* the actual type.
|
| 138 |
+
*
|
| 139 |
+
* @param value - The value to convert
|
| 140 |
+
*
|
| 141 |
+
* @returns The converted value
|
| 142 |
+
*/
|
| 143 |
+
/**
|
| 144 |
+
* The map of localized values for each width.
|
| 145 |
+
*/
|
| 146 |
+
/**
|
| 147 |
+
* The index type of the locale unit value. It types conversion of units of
|
| 148 |
+
* values that don't start at 0 (i.e. quarters).
|
| 149 |
+
*/
|
| 150 |
+
/**
|
| 151 |
+
* Converts the unit value to the tuple of values.
|
| 152 |
+
*/
|
| 153 |
+
/**
|
| 154 |
+
* The tuple of localized era values. The first element represents BC,
|
| 155 |
+
* the second element represents AD.
|
| 156 |
+
*/
|
| 157 |
+
/**
|
| 158 |
+
* The tuple of localized quarter values. The first element represents Q1.
|
| 159 |
+
*/
|
| 160 |
+
/**
|
| 161 |
+
* The tuple of localized day values. The first element represents Sunday.
|
| 162 |
+
*/
|
| 163 |
+
/**
|
| 164 |
+
* The tuple of localized month values. The first element represents January.
|
| 165 |
+
*/
|
| 166 |
+
function buildLocalizeFn(args) {
|
| 167 |
+
return function (value, options) {
|
| 168 |
+
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
|
| 169 |
+
var valuesArray;
|
| 170 |
+
if (context === "formatting" && args.formattingValues) {
|
| 171 |
+
var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
| 172 |
+
var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
|
| 173 |
+
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
| 174 |
+
} else {
|
| 175 |
+
var _defaultWidth = args.defaultWidth;
|
| 176 |
+
var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
|
| 177 |
+
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
| 178 |
+
}
|
| 179 |
+
var index = args.argumentCallback ? args.argumentCallback(value) : value;
|
| 180 |
+
return valuesArray[index];
|
| 181 |
+
};
|
| 182 |
+
}
|
| 183 |
+
//#endregion
|
| 184 |
+
//#region dist/date-fns/locale/el/_lib/localize.js
|
| 185 |
+
var eraValues = {
|
| 186 |
+
narrow: ["πΧ", "μΧ"],
|
| 187 |
+
abbreviated: ["π.Χ.", "μ.Χ."],
|
| 188 |
+
wide: ["προ Χριστού", "μετά Χριστόν"]
|
| 189 |
+
};
|
| 190 |
+
var quarterValues = {
|
| 191 |
+
narrow: [
|
| 192 |
+
"1",
|
| 193 |
+
"2",
|
| 194 |
+
"3",
|
| 195 |
+
"4"],
|
| 196 |
+
|
| 197 |
+
abbreviated: [
|
| 198 |
+
"Τ1",
|
| 199 |
+
"Τ2",
|
| 200 |
+
"Τ3",
|
| 201 |
+
"Τ4"],
|
| 202 |
+
|
| 203 |
+
wide: [
|
| 204 |
+
"1ο τρίμηνο",
|
| 205 |
+
"2ο τρίμηνο",
|
| 206 |
+
"3ο τρίμηνο",
|
| 207 |
+
"4ο τρίμηνο"]
|
| 208 |
+
|
| 209 |
+
};
|
| 210 |
+
var monthValues = {
|
| 211 |
+
narrow: [
|
| 212 |
+
"Ι",
|
| 213 |
+
"Φ",
|
| 214 |
+
"Μ",
|
| 215 |
+
"Α",
|
| 216 |
+
"Μ",
|
| 217 |
+
"Ι",
|
| 218 |
+
"Ι",
|
| 219 |
+
"Α",
|
| 220 |
+
"Σ",
|
| 221 |
+
"Ο",
|
| 222 |
+
"Ν",
|
| 223 |
+
"Δ"],
|
| 224 |
+
|
| 225 |
+
abbreviated: [
|
| 226 |
+
"Ιαν",
|
| 227 |
+
"Φεβ",
|
| 228 |
+
"Μάρ",
|
| 229 |
+
"Απρ",
|
| 230 |
+
"Μάι",
|
| 231 |
+
"Ιούν",
|
| 232 |
+
"Ιούλ",
|
| 233 |
+
"Αύγ",
|
| 234 |
+
"Σεπ",
|
| 235 |
+
"Οκτ",
|
| 236 |
+
"Νοέ",
|
| 237 |
+
"Δεκ"],
|
| 238 |
+
|
| 239 |
+
wide: [
|
| 240 |
+
"Ιανουάριος",
|
| 241 |
+
"Φεβρουάριος",
|
| 242 |
+
"Μάρτιος",
|
| 243 |
+
"Απρίλιος",
|
| 244 |
+
"Μάιος",
|
| 245 |
+
"Ιούνιος",
|
| 246 |
+
"Ιούλιος",
|
| 247 |
+
"Αύγουστος",
|
| 248 |
+
"Σεπτέμβριος",
|
| 249 |
+
"Οκτώβριος",
|
| 250 |
+
"Νοέμβριος",
|
| 251 |
+
"Δεκέμβριος"]
|
| 252 |
+
|
| 253 |
+
};
|
| 254 |
+
var formattingMonthValues = {
|
| 255 |
+
narrow: [
|
| 256 |
+
"Ι",
|
| 257 |
+
"Φ",
|
| 258 |
+
"Μ",
|
| 259 |
+
"Α",
|
| 260 |
+
"Μ",
|
| 261 |
+
"Ι",
|
| 262 |
+
"Ι",
|
| 263 |
+
"Α",
|
| 264 |
+
"Σ",
|
| 265 |
+
"Ο",
|
| 266 |
+
"Ν",
|
| 267 |
+
"Δ"],
|
| 268 |
+
|
| 269 |
+
abbreviated: [
|
| 270 |
+
"Ιαν",
|
| 271 |
+
"Φεβ",
|
| 272 |
+
"Μαρ",
|
| 273 |
+
"Απρ",
|
| 274 |
+
"Μαΐ",
|
| 275 |
+
"Ιουν",
|
| 276 |
+
"Ιουλ",
|
| 277 |
+
"Αυγ",
|
| 278 |
+
"Σεπ",
|
| 279 |
+
"Οκτ",
|
| 280 |
+
"Νοε",
|
| 281 |
+
"Δεκ"],
|
| 282 |
+
|
| 283 |
+
wide: [
|
| 284 |
+
"Ιανουαρίου",
|
| 285 |
+
"Φεβρουαρίου",
|
| 286 |
+
"Μαρτίου",
|
| 287 |
+
"Απριλίου",
|
| 288 |
+
"Μαΐου",
|
| 289 |
+
"Ιουνίου",
|
| 290 |
+
"Ιουλίου",
|
| 291 |
+
"Αυγούστου",
|
| 292 |
+
"Σεπτεμβρίου",
|
| 293 |
+
"Οκτωβρίου",
|
| 294 |
+
"Νοεμβρίου",
|
| 295 |
+
"Δεκεμβρίου"]
|
| 296 |
+
|
| 297 |
+
};
|
| 298 |
+
var dayValues = {
|
| 299 |
+
narrow: [
|
| 300 |
+
"Κ",
|
| 301 |
+
"Δ",
|
| 302 |
+
"T",
|
| 303 |
+
"Τ",
|
| 304 |
+
"Π",
|
| 305 |
+
"Π",
|
| 306 |
+
"Σ"],
|
| 307 |
+
|
| 308 |
+
short: [
|
| 309 |
+
"Κυ",
|
| 310 |
+
"Δε",
|
| 311 |
+
"Τρ",
|
| 312 |
+
"Τε",
|
| 313 |
+
"Πέ",
|
| 314 |
+
"Πα",
|
| 315 |
+
"Σά"],
|
| 316 |
+
|
| 317 |
+
abbreviated: [
|
| 318 |
+
"Κυρ",
|
| 319 |
+
"Δευ",
|
| 320 |
+
"Τρί",
|
| 321 |
+
"Τετ",
|
| 322 |
+
"Πέμ",
|
| 323 |
+
"Παρ",
|
| 324 |
+
"Σάβ"],
|
| 325 |
+
|
| 326 |
+
wide: [
|
| 327 |
+
"Κυριακή",
|
| 328 |
+
"Δευτέρα",
|
| 329 |
+
"Τρίτη",
|
| 330 |
+
"Τετάρτη",
|
| 331 |
+
"Πέμπτη",
|
| 332 |
+
"Παρασκευή",
|
| 333 |
+
"Σάββατο"]
|
| 334 |
+
|
| 335 |
+
};
|
| 336 |
+
var dayPeriodValues = {
|
| 337 |
+
narrow: {
|
| 338 |
+
am: "πμ",
|
| 339 |
+
pm: "μμ",
|
| 340 |
+
midnight: "μεσάνυχτα",
|
| 341 |
+
noon: "μεσημέρι",
|
| 342 |
+
morning: "πρωί",
|
| 343 |
+
afternoon: "απόγευμα",
|
| 344 |
+
evening: "βράδυ",
|
| 345 |
+
night: "νύχτα"
|
| 346 |
+
},
|
| 347 |
+
abbreviated: {
|
| 348 |
+
am: "π.μ.",
|
| 349 |
+
pm: "μ.μ.",
|
| 350 |
+
midnight: "μεσάνυχτα",
|
| 351 |
+
noon: "μεσημέρι",
|
| 352 |
+
morning: "πρωί",
|
| 353 |
+
afternoon: "απόγευμα",
|
| 354 |
+
evening: "βράδυ",
|
| 355 |
+
night: "νύχτα"
|
| 356 |
+
},
|
| 357 |
+
wide: {
|
| 358 |
+
am: "π.μ.",
|
| 359 |
+
pm: "μ.μ.",
|
| 360 |
+
midnight: "μεσάνυχτα",
|
| 361 |
+
noon: "μεσημέρι",
|
| 362 |
+
morning: "πρωί",
|
| 363 |
+
afternoon: "απόγευμα",
|
| 364 |
+
evening: "βράδυ",
|
| 365 |
+
night: "νύχτα"
|
| 366 |
+
}
|
| 367 |
+
};
|
| 368 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, options) {
|
| 369 |
+
var number = Number(dirtyNumber);
|
| 370 |
+
var unit = options === null || options === void 0 ? void 0 : options.unit;
|
| 371 |
+
var suffix;
|
| 372 |
+
if (unit === "year" || unit === "month") suffix = "ος";else
|
| 373 |
+
if (unit === "week" || unit === "dayOfYear" || unit === "day" || unit === "hour" || unit === "date") suffix = "η";else
|
| 374 |
+
suffix = "ο";
|
| 375 |
+
return number + suffix;
|
| 376 |
+
};
|
| 377 |
+
var localize = {
|
| 378 |
+
ordinalNumber: ordinalNumber,
|
| 379 |
+
era: buildLocalizeFn({
|
| 380 |
+
values: eraValues,
|
| 381 |
+
defaultWidth: "wide"
|
| 382 |
+
}),
|
| 383 |
+
quarter: buildLocalizeFn({
|
| 384 |
+
values: quarterValues,
|
| 385 |
+
defaultWidth: "wide",
|
| 386 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
| 387 |
+
}),
|
| 388 |
+
month: buildLocalizeFn({
|
| 389 |
+
values: monthValues,
|
| 390 |
+
defaultWidth: "wide",
|
| 391 |
+
formattingValues: formattingMonthValues,
|
| 392 |
+
defaultFormattingWidth: "wide"
|
| 393 |
+
}),
|
| 394 |
+
day: buildLocalizeFn({
|
| 395 |
+
values: dayValues,
|
| 396 |
+
defaultWidth: "wide"
|
| 397 |
+
}),
|
| 398 |
+
dayPeriod: buildLocalizeFn({
|
| 399 |
+
values: dayPeriodValues,
|
| 400 |
+
defaultWidth: "wide"
|
| 401 |
+
})
|
| 402 |
+
};
|
| 403 |
+
//#endregion
|
| 404 |
+
//#region dist/date-fns/locale/_lib/buildMatchFn.js
|
| 405 |
+
function buildMatchFn(args) {
|
| 406 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
| 407 |
+
var width = options.width;
|
| 408 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
| 409 |
+
var matchResult = string.match(matchPattern);
|
| 410 |
+
if (!matchResult) return null;
|
| 411 |
+
var matchedString = matchResult[0];
|
| 412 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
| 413 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
| 414 |
+
var value;
|
| 415 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
| 416 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
| 417 |
+
var rest = string.slice(matchedString.length);
|
| 418 |
+
return {
|
| 419 |
+
value: value,
|
| 420 |
+
rest: rest
|
| 421 |
+
};
|
| 422 |
+
};
|
| 423 |
+
}
|
| 424 |
+
function findKey(object, predicate) {
|
| 425 |
+
for (var key in object) if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) return key;
|
| 426 |
+
}
|
| 427 |
+
function findIndex(array, predicate) {
|
| 428 |
+
for (var key = 0; key < array.length; key++) if (predicate(array[key])) return key;
|
| 429 |
+
}
|
| 430 |
+
//#endregion
|
| 431 |
+
//#region dist/date-fns/locale/_lib/buildMatchPatternFn.js
|
| 432 |
+
function buildMatchPatternFn(args) {
|
| 433 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
| 434 |
+
var matchResult = string.match(args.matchPattern);
|
| 435 |
+
if (!matchResult) return null;
|
| 436 |
+
var matchedString = matchResult[0];
|
| 437 |
+
var parseResult = string.match(args.parsePattern);
|
| 438 |
+
if (!parseResult) return null;
|
| 439 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
| 440 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
| 441 |
+
var rest = string.slice(matchedString.length);
|
| 442 |
+
return {
|
| 443 |
+
value: value,
|
| 444 |
+
rest: rest
|
| 445 |
+
};
|
| 446 |
+
};
|
| 447 |
+
}
|
| 448 |
+
//#endregion
|
| 449 |
+
//#region dist/date-fns/locale/el.js
|
| 450 |
+
/**
|
| 451 |
+
* @category Locales
|
| 452 |
+
* @summary Greek locale.
|
| 453 |
+
* @language Greek
|
| 454 |
+
* @iso-639-2 ell
|
| 455 |
+
* @author Fanis Katsimpas [@fanixk](https://github.com/fanixk)
|
| 456 |
+
* @author Theodoros Orfanidis [@teoulas](https://github.com/teoulas)
|
| 457 |
+
*/
|
| 458 |
+
var el = {
|
| 459 |
+
code: "el",
|
| 460 |
+
formatDistance: formatDistance,
|
| 461 |
+
formatLong: formatLong,
|
| 462 |
+
formatRelative: formatRelative,
|
| 463 |
+
localize: localize,
|
| 464 |
+
match: {
|
| 465 |
+
ordinalNumber: buildMatchPatternFn({
|
| 466 |
+
matchPattern: /^(\d+)(ος|η|ο)?/i,
|
| 467 |
+
parsePattern: /\d+/i,
|
| 468 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
| 469 |
+
}),
|
| 470 |
+
era: buildMatchFn({
|
| 471 |
+
matchPatterns: {
|
| 472 |
+
narrow: /^(πΧ|μΧ)/i,
|
| 473 |
+
abbreviated: /^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,
|
| 474 |
+
wide: /^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i
|
| 475 |
+
},
|
| 476 |
+
defaultMatchWidth: "wide",
|
| 477 |
+
parsePatterns: { any: [/^π/i, /^(μ|κ)/i] },
|
| 478 |
+
defaultParseWidth: "any"
|
| 479 |
+
}),
|
| 480 |
+
quarter: buildMatchFn({
|
| 481 |
+
matchPatterns: {
|
| 482 |
+
narrow: /^[1234]/i,
|
| 483 |
+
abbreviated: /^τ[1234]/i,
|
| 484 |
+
wide: /^[1234]ο? τρ(ί|ι)μηνο/i
|
| 485 |
+
},
|
| 486 |
+
defaultMatchWidth: "wide",
|
| 487 |
+
parsePatterns: { any: [
|
| 488 |
+
/1/i,
|
| 489 |
+
/2/i,
|
| 490 |
+
/3/i,
|
| 491 |
+
/4/i]
|
| 492 |
+
},
|
| 493 |
+
defaultParseWidth: "any",
|
| 494 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
| 495 |
+
}),
|
| 496 |
+
month: buildMatchFn({
|
| 497 |
+
matchPatterns: {
|
| 498 |
+
narrow: /^[ιφμαμιιασονδ]/i,
|
| 499 |
+
abbreviated: /^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,
|
| 500 |
+
wide: /^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i
|
| 501 |
+
},
|
| 502 |
+
defaultMatchWidth: "wide",
|
| 503 |
+
parsePatterns: {
|
| 504 |
+
narrow: [
|
| 505 |
+
/^ι/i,
|
| 506 |
+
/^φ/i,
|
| 507 |
+
/^μ/i,
|
| 508 |
+
/^α/i,
|
| 509 |
+
/^μ/i,
|
| 510 |
+
/^ι/i,
|
| 511 |
+
/^ι/i,
|
| 512 |
+
/^α/i,
|
| 513 |
+
/^σ/i,
|
| 514 |
+
/^ο/i,
|
| 515 |
+
/^ν/i,
|
| 516 |
+
/^δ/i],
|
| 517 |
+
|
| 518 |
+
any: [
|
| 519 |
+
/^ια/i,
|
| 520 |
+
/^φ/i,
|
| 521 |
+
/^μ[άα]ρ/i,
|
| 522 |
+
/^απ/i,
|
| 523 |
+
/^μ[άα][ιΐ]/i,
|
| 524 |
+
/^ιο[ύυ]ν/i,
|
| 525 |
+
/^ιο[ύυ]λ/i,
|
| 526 |
+
/^α[ύυ]/i,
|
| 527 |
+
/^σ/i,
|
| 528 |
+
/^ο/i,
|
| 529 |
+
/^ν/i,
|
| 530 |
+
/^δ/i]
|
| 531 |
+
|
| 532 |
+
},
|
| 533 |
+
defaultParseWidth: "any"
|
| 534 |
+
}),
|
| 535 |
+
day: buildMatchFn({
|
| 536 |
+
matchPatterns: {
|
| 537 |
+
narrow: /^[κδτπσ]/i,
|
| 538 |
+
short: /^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,
|
| 539 |
+
abbreviated: /^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,
|
| 540 |
+
wide: /^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i
|
| 541 |
+
},
|
| 542 |
+
defaultMatchWidth: "wide",
|
| 543 |
+
parsePatterns: {
|
| 544 |
+
narrow: [
|
| 545 |
+
/^κ/i,
|
| 546 |
+
/^δ/i,
|
| 547 |
+
/^τ/i,
|
| 548 |
+
/^τ/i,
|
| 549 |
+
/^π/i,
|
| 550 |
+
/^π/i,
|
| 551 |
+
/^σ/i],
|
| 552 |
+
|
| 553 |
+
any: [
|
| 554 |
+
/^κ/i,
|
| 555 |
+
/^δ/i,
|
| 556 |
+
/^τρ/i,
|
| 557 |
+
/^τε/i,
|
| 558 |
+
/^π[εέ]/i,
|
| 559 |
+
/^π[αά]/i,
|
| 560 |
+
/^σ/i]
|
| 561 |
+
|
| 562 |
+
},
|
| 563 |
+
defaultParseWidth: "any"
|
| 564 |
+
}),
|
| 565 |
+
dayPeriod: buildMatchFn({
|
| 566 |
+
matchPatterns: {
|
| 567 |
+
narrow: /^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,
|
| 568 |
+
any: /^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i
|
| 569 |
+
},
|
| 570 |
+
defaultMatchWidth: "any",
|
| 571 |
+
parsePatterns: { any: {
|
| 572 |
+
am: /^πμ|π\.\s?μ\./i,
|
| 573 |
+
pm: /^μμ|μ\.\s?μ\./i,
|
| 574 |
+
midnight: /^μεσάν/i,
|
| 575 |
+
noon: /^μεσημ(έ|ε)/i,
|
| 576 |
+
morning: /πρω(ί|ι)/i,
|
| 577 |
+
afternoon: /απ(ό|ο)γευμα/i,
|
| 578 |
+
evening: /βρ(ά|α)δυ/i,
|
| 579 |
+
night: /ν(ύ|υ)χτα/i
|
| 580 |
+
} },
|
| 581 |
+
defaultParseWidth: "any"
|
| 582 |
+
})
|
| 583 |
+
},
|
| 584 |
+
options: {
|
| 585 |
+
weekStartsOn: 1,
|
| 586 |
+
firstWeekContainsDate: 4
|
| 587 |
+
}
|
| 588 |
+
};
|
| 589 |
+
//#endregion
|
| 590 |
+
//#region dist/date-fns/_entries/locale/el/cdn.js
|
| 591 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
| 592 |
+
window.dateFns), {}, {
|
| 593 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
| 594 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
| 595 |
+
el: el }) });
|
| 596 |
+
|
| 597 |
+
|
| 598 |
+
//#endregion
|
| 599 |
+
|
| 600 |
+
console.log("date-fns CDN files have moved to @date-fns/cdn. Please update your URLs. See: https://date-fns.org/docs/CDN");
|
| 601 |
+
})();
|
node_modules/date-fns/locale/el/cdn.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
(()=>{function e(t){"@babel/helpers - typeof";return e=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},e(t)}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var i=arguments[n]==null?{}:arguments[n];n%2?t(Object(i),!0).forEach(function(t){r(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function r(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(t){var n=a(t,`string`);return e(n)==`symbol`?n:n+``}function a(t,n){if(e(t)!=`object`||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,n||`default`);if(e(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(t)}var o={lessThanXSeconds:{one:`λιγότερο από ένα δευτερόλεπτο`,other:`λιγότερο από {{count}} δευτερόλεπτα`},xSeconds:{one:`1 δευτερόλεπτο`,other:`{{count}} δευτερόλεπτα`},halfAMinute:`μισό λεπτό`,lessThanXMinutes:{one:`λιγότερο από ένα λεπτό`,other:`λιγότερο από {{count}} λεπτά`},xMinutes:{one:`1 λεπτό`,other:`{{count}} λεπτά`},aboutXHours:{one:`περίπου 1 ώρα`,other:`περίπου {{count}} ώρες`},xHours:{one:`1 ώρα`,other:`{{count}} ώρες`},xDays:{one:`1 ημέρα`,other:`{{count}} ημέρες`},aboutXWeeks:{one:`περίπου 1 εβδομάδα`,other:`περίπου {{count}} εβδομάδες`},xWeeks:{one:`1 εβδομάδα`,other:`{{count}} εβδομάδες`},aboutXMonths:{one:`περίπου 1 μήνας`,other:`περίπου {{count}} μήνες`},xMonths:{one:`1 μήνας`,other:`{{count}} μήνες`},aboutXYears:{one:`περίπου 1 χρόνο`,other:`περίπου {{count}} χρόνια`},xYears:{one:`1 χρόνο`,other:`{{count}} χρόνια`},overXYears:{one:`πάνω από 1 χρόνο`,other:`πάνω από {{count}} χρόνια`},almostXYears:{one:`περίπου 1 χρόνο`,other:`περίπου {{count}} χρόνια`}},s=function(e,t,n){var r,i=o[e];return r=typeof i==`string`?i:t===1?i.one:i.other.replace(`{{count}}`,String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?`σε `+r:r+` πριν`:r};function c(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var l={date:c({formats:{full:`EEEE, d MMMM y`,long:`d MMMM y`,medium:`d MMM y`,short:`d/M/yy`},defaultWidth:`full`}),time:c({formats:{full:`h:mm:ss a zzzz`,long:`h:mm:ss a z`,medium:`h:mm:ss a`,short:`h:mm a`},defaultWidth:`full`}),dateTime:c({formats:{full:`{{date}} - {{time}}`,long:`{{date}} - {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},u={lastWeek:function(e){switch(e.getDay()){case 6:return`'το προηγούμενο' eeee 'στις' p`;default:return`'την προηγούμενη' eeee 'στις' p`}},yesterday:`'χθες στις' p`,today:`'σήμερα στις' p`,tomorrow:`'αύριο στις' p`,nextWeek:`eeee 'στις' p`,other:`P`},d=function(e,t){var n=u[e];return typeof n==`function`?n(t):n};function f(e){return function(t,n){var r=n!=null&&n.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return i[l]}}var p={ordinalNumber:function(e,t){var n=Number(e),r=t?.unit;return n+(r===`year`||r===`month`?`ος`:r===`week`||r===`dayOfYear`||r===`day`||r===`hour`||r===`date`?`η`:`ο`)},era:f({values:{narrow:[`πΧ`,`μΧ`],abbreviated:[`π.Χ.`,`μ.Χ.`],wide:[`προ Χριστού`,`μετά Χριστόν`]},defaultWidth:`wide`}),quarter:f({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Τ1`,`Τ2`,`Τ3`,`Τ4`],wide:[`1ο τρίμηνο`,`2ο τρίμηνο`,`3ο τρίμηνο`,`4ο τρίμηνο`]},defaultWidth:`wide`,argumentCallback:function(e){return e-1}}),month:f({values:{narrow:[`Ι`,`Φ`,`Μ`,`Α`,`Μ`,`Ι`,`Ι`,`Α`,`Σ`,`Ο`,`Ν`,`Δ`],abbreviated:[`Ιαν`,`Φεβ`,`Μάρ`,`Απρ`,`Μάι`,`Ιούν`,`Ιούλ`,`Αύγ`,`Σεπ`,`Οκτ`,`Νοέ`,`Δεκ`],wide:[`Ιανουάριος`,`Φεβρουάριος`,`Μάρτιος`,`Απρίλιος`,`Μάιος`,`Ιούνιος`,`Ιούλιος`,`Αύγουστος`,`Σεπτέ��βριος`,`Οκτώβριος`,`Νοέμβριος`,`Δεκέμβριος`]},defaultWidth:`wide`,formattingValues:{narrow:[`Ι`,`Φ`,`Μ`,`Α`,`Μ`,`Ι`,`Ι`,`Α`,`Σ`,`Ο`,`Ν`,`Δ`],abbreviated:[`Ιαν`,`Φεβ`,`Μαρ`,`Απρ`,`Μαΐ`,`Ιουν`,`Ιουλ`,`Αυγ`,`Σεπ`,`Οκτ`,`Νοε`,`Δεκ`],wide:[`Ιανουαρίου`,`Φεβρουαρίου`,`Μαρτίου`,`Απριλίου`,`Μαΐου`,`Ιουνίου`,`Ιουλίου`,`Αυγούστου`,`Σεπτεμβρίου`,`Οκτωβρίου`,`Νοεμβρίου`,`Δεκεμβρίου`]},defaultFormattingWidth:`wide`}),day:f({values:{narrow:[`Κ`,`Δ`,`T`,`Τ`,`Π`,`Π`,`Σ`],short:[`Κυ`,`Δε`,`Τρ`,`Τε`,`Πέ`,`Πα`,`Σά`],abbreviated:[`Κυρ`,`Δευ`,`Τρί`,`Τετ`,`Πέμ`,`Παρ`,`Σάβ`],wide:[`Κυριακή`,`Δευτέρα`,`Τρίτη`,`Τετάρτη`,`Πέμπτη`,`Παρασκευή`,`Σάββατο`]},defaultWidth:`wide`}),dayPeriod:f({values:{narrow:{am:`πμ`,pm:`μμ`,midnight:`μεσάνυχτα`,noon:`μεσημέρι`,morning:`πρωί`,afternoon:`απόγευμα`,evening:`βράδυ`,night:`νύχτα`},abbreviated:{am:`π.μ.`,pm:`μ.μ.`,midnight:`μεσάνυχτα`,noon:`μεσημέρι`,morning:`πρωί`,afternoon:`απόγευμα`,evening:`βράδυ`,night:`νύχτα`},wide:{am:`π.μ.`,pm:`μ.μ.`,midnight:`μεσάνυχτα`,noon:`μεσημέρι`,morning:`πρωί`,afternoon:`απόγευμα`,evening:`βράδυ`,night:`νύχτα`}},defaultWidth:`wide`})};function m(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?g(s,function(e){return e.test(o)}):h(s,function(e){return e.test(o)}),l=e.valueCallback?e.valueCallback(c):c;l=n.valueCallback?n.valueCallback(l):l;var u=t.slice(o.length);return{value:l,rest:u}}}function h(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function g(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function _(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var v={code:`el`,formatDistance:s,formatLong:l,formatRelative:d,localize:p,match:{ordinalNumber:_({matchPattern:/^(\d+)(ος|η|ο)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:m({matchPatterns:{narrow:/^(πΧ|μΧ)/i,abbreviated:/^(π\.?\s?χ\.?|π\.?\s?κ\.?\s?χ\.?|μ\.?\s?χ\.?|κ\.?\s?χ\.?)/i,wide:/^(προ Χριστο(ύ|υ)|πριν απ(ό|ο) την Κοιν(ή|η) Χρονολογ(ί|ι)α|μετ(ά|α) Χριστ(ό|ο)ν|Κοιν(ή|η) Χρονολογ(ί|ι)α)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^π/i,/^(μ|κ)/i]},defaultParseWidth:`any`}),quarter:m({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^τ[1234]/i,wide:/^[1234]ο? τρ(ί|ι)μηνο/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:function(e){return e+1}}),month:m({matchPatterns:{narrow:/^[ιφμαμιιασονδ]/i,abbreviated:/^(ιαν|φεβ|μ[άα]ρ|απρ|μ[άα][ιΐ]|ιο[ύυ]ν|ιο[ύυ]λ|α[ύυ]γ|σεπ|οκτ|νο[έε]|δεκ)/i,wide:/^(μ[άα][ιΐ]|α[ύυ]γο[υύ]στ)(ος|ου)|(ιανου[άα]ρ|φεβρου[άα]ρ|μ[άα]ρτ|απρ[ίι]λ|ιο[ύυ]ν|ιο[ύυ]λ|σεπτ[έε]μβρ|οκτ[ώω]βρ|νο[έε]μβρ|δεκ[έε]μβρ)(ιος|ίου)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^ι/i,/^φ/i,/^μ/i,/^α/i,/^μ/i,/^ι/i,/^ι/i,/^α/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i],any:[/^ια/i,/^φ/i,/^μ[άα]ρ/i,/^απ/i,/^μ[άα][ιΐ]/i,/^ιο[ύυ]ν/i,/^ιο[ύυ]λ/i,/^α[ύυ]/i,/^σ/i,/^ο/i,/^ν/i,/^δ/i]},defaultParseWidth:`any`}),day:m({matchPatterns:{narrow:/^[κδτπσ]/i,short:/^(κυ|δε|τρ|τε|π[εέ]|π[αά]|σ[αά])/i,abbreviated:/^(κυρ|δευ|τρι|τετ|πεμ|παρ|σαβ)/i,wide:/^(κυριακ(ή|η)|δευτ(έ|ε)ρα|τρ(ί|ι)τη|τετ(ά|α)ρτη|π(έ|ε)μπτη|παρασκευ(ή|η)|σ(ά|α)ββατο)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^κ/i,/^δ/i,/^τ/i,/^τ/i,/^π/i,/^π/i,/^σ/i],any:[/^κ/i,/^δ/i,/^τρ/i,/^τε/i,/^π[εέ]/i,/^π[αά]/i,/^σ/i]},defaultParseWidth:`any`}),dayPeriod:m({matchPatterns:{narrow:/^(πμ|μμ|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i,any:/^([πμ]\.?\s?μ\.?|μεσ(ά|α)νυχτα|μεσημ(έ|ε)ρι|πρω(ί|ι)|απ(ό|ο)γευμα|βρ(ά|α)δυ|ν(ύ|υ)χτα)/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^πμ|π\.\s?μ\./i,pm:/^μμ|μ\.\s?μ\./i,midnight:/^μεσάν/i,noon:/^μεσημ(έ|ε)/i,morning:/πρω(ί|ι)/i,afternoon:/απ(ό|ο)γευμα/i,evening:/βρ(ά|α)δυ/i,night:/ν(ύ|υ)χτα/i}},defaultParseWidth:`any`})},options:{weekStartsOn:1,firstWeekContainsDate:4}};window.dateFns=n(n({},window.dateFns),{},{locale:n(n({},window.dateFns?.locale),{},{el:v})}),console.log(`date-fns CDN files have moved to @date-fns/cdn. Please update your URLs. See: https://date-fns.org/docs/CDN`)})();
|
node_modules/date-fns/locale/en-AU.cjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.enAU = void 0;
|
| 3 |
+
var _index = require("./en-US/_lib/formatDistance.cjs");
|
| 4 |
+
var _index2 = require("./en-AU/_lib/formatLong.cjs");
|
| 5 |
+
var _index3 = require("./en-US/_lib/formatRelative.cjs");
|
| 6 |
+
var _index4 = require("./en-US/_lib/localize.cjs");
|
| 7 |
+
var _index5 = require("./en-US/_lib/match.cjs");
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @category Locales
|
| 11 |
+
* @summary English locale (Australia).
|
| 12 |
+
* @language English
|
| 13 |
+
* @iso-639-2 eng
|
| 14 |
+
* @author Julien Malige [@JulienMalige](https://github.com/JulienMalige)
|
| 15 |
+
*/
|
| 16 |
+
const enAU = (exports.enAU = {
|
| 17 |
+
code: "en-AU",
|
| 18 |
+
formatDistance: _index.formatDistance,
|
| 19 |
+
formatLong: _index2.formatLong,
|
| 20 |
+
formatRelative: _index3.formatRelative,
|
| 21 |
+
localize: _index4.localize,
|
| 22 |
+
match: _index5.match,
|
| 23 |
+
options: {
|
| 24 |
+
weekStartsOn: 1 /* Monday */,
|
| 25 |
+
firstWeekContainsDate: 4,
|
| 26 |
+
},
|
| 27 |
+
});
|
node_modules/date-fns/locale/en-AU.d.cts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary English locale (Australia).
|
| 5 |
+
* @language English
|
| 6 |
+
* @iso-639-2 eng
|
| 7 |
+
* @author Julien Malige [@JulienMalige](https://github.com/JulienMalige)
|
| 8 |
+
*/
|
| 9 |
+
export declare const enAU: Locale;
|
node_modules/date-fns/locale/en-AU.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary English locale (Australia).
|
| 5 |
+
* @language English
|
| 6 |
+
* @iso-639-2 eng
|
| 7 |
+
* @author Julien Malige [@JulienMalige](https://github.com/JulienMalige)
|
| 8 |
+
*/
|
| 9 |
+
export declare const enAU: Locale;
|
node_modules/date-fns/locale/en-AU.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { formatDistance } from "./en-US/_lib/formatDistance.js";
|
| 2 |
+
import { formatLong } from "./en-AU/_lib/formatLong.js";
|
| 3 |
+
import { formatRelative } from "./en-US/_lib/formatRelative.js";
|
| 4 |
+
import { localize } from "./en-US/_lib/localize.js";
|
| 5 |
+
import { match } from "./en-US/_lib/match.js";
|
| 6 |
+
|
| 7 |
+
/**
|
| 8 |
+
* @category Locales
|
| 9 |
+
* @summary English locale (Australia).
|
| 10 |
+
* @language English
|
| 11 |
+
* @iso-639-2 eng
|
| 12 |
+
* @author Julien Malige [@JulienMalige](https://github.com/JulienMalige)
|
| 13 |
+
*/
|
| 14 |
+
export const enAU = {
|
| 15 |
+
code: "en-AU",
|
| 16 |
+
formatDistance: formatDistance,
|
| 17 |
+
formatLong: formatLong,
|
| 18 |
+
formatRelative: formatRelative,
|
| 19 |
+
localize: localize,
|
| 20 |
+
match: match,
|
| 21 |
+
options: {
|
| 22 |
+
weekStartsOn: 1 /* Monday */,
|
| 23 |
+
firstWeekContainsDate: 4,
|
| 24 |
+
},
|
| 25 |
+
};
|
| 26 |
+
|
| 27 |
+
// Fallback for modularized imports:
|
| 28 |
+
export default enAU;
|
node_modules/date-fns/locale/en-AU/_lib/formatLong.cjs
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.formatLong = void 0;
|
| 3 |
+
var _index = require("../../_lib/buildFormatLongFn.cjs");
|
| 4 |
+
|
| 5 |
+
const dateFormats = {
|
| 6 |
+
full: "EEEE, d MMMM yyyy",
|
| 7 |
+
long: "d MMMM yyyy",
|
| 8 |
+
medium: "d MMM yyyy",
|
| 9 |
+
short: "dd/MM/yyyy",
|
| 10 |
+
};
|
| 11 |
+
|
| 12 |
+
const timeFormats = {
|
| 13 |
+
full: "h:mm:ss a zzzz",
|
| 14 |
+
long: "h:mm:ss a z",
|
| 15 |
+
medium: "h:mm:ss a",
|
| 16 |
+
short: "h:mm a",
|
| 17 |
+
};
|
| 18 |
+
|
| 19 |
+
const dateTimeFormats = {
|
| 20 |
+
full: "{{date}} 'at' {{time}}",
|
| 21 |
+
long: "{{date}} 'at' {{time}}",
|
| 22 |
+
medium: "{{date}}, {{time}}",
|
| 23 |
+
short: "{{date}}, {{time}}",
|
| 24 |
+
};
|
| 25 |
+
|
| 26 |
+
const formatLong = (exports.formatLong = {
|
| 27 |
+
date: (0, _index.buildFormatLongFn)({
|
| 28 |
+
formats: dateFormats,
|
| 29 |
+
defaultWidth: "full",
|
| 30 |
+
}),
|
| 31 |
+
|
| 32 |
+
time: (0, _index.buildFormatLongFn)({
|
| 33 |
+
formats: timeFormats,
|
| 34 |
+
defaultWidth: "full",
|
| 35 |
+
}),
|
| 36 |
+
|
| 37 |
+
dateTime: (0, _index.buildFormatLongFn)({
|
| 38 |
+
formats: dateTimeFormats,
|
| 39 |
+
defaultWidth: "full",
|
| 40 |
+
}),
|
| 41 |
+
});
|
node_modules/date-fns/locale/en-AU/_lib/formatLong.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatLong } from "../../types.ts";
|
| 2 |
+
export declare const formatLong: FormatLong;
|
node_modules/date-fns/locale/en-AU/_lib/formatLong.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatLong } from "../../types.ts";
|
| 2 |
+
export declare const formatLong: FormatLong;
|
node_modules/date-fns/locale/en-AU/_lib/formatLong.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
|
| 2 |
+
|
| 3 |
+
const dateFormats = {
|
| 4 |
+
full: "EEEE, d MMMM yyyy",
|
| 5 |
+
long: "d MMMM yyyy",
|
| 6 |
+
medium: "d MMM yyyy",
|
| 7 |
+
short: "dd/MM/yyyy",
|
| 8 |
+
};
|
| 9 |
+
|
| 10 |
+
const timeFormats = {
|
| 11 |
+
full: "h:mm:ss a zzzz",
|
| 12 |
+
long: "h:mm:ss a z",
|
| 13 |
+
medium: "h:mm:ss a",
|
| 14 |
+
short: "h:mm a",
|
| 15 |
+
};
|
| 16 |
+
|
| 17 |
+
const dateTimeFormats = {
|
| 18 |
+
full: "{{date}} 'at' {{time}}",
|
| 19 |
+
long: "{{date}} 'at' {{time}}",
|
| 20 |
+
medium: "{{date}}, {{time}}",
|
| 21 |
+
short: "{{date}}, {{time}}",
|
| 22 |
+
};
|
| 23 |
+
|
| 24 |
+
export const formatLong = {
|
| 25 |
+
date: buildFormatLongFn({
|
| 26 |
+
formats: dateFormats,
|
| 27 |
+
defaultWidth: "full",
|
| 28 |
+
}),
|
| 29 |
+
|
| 30 |
+
time: buildFormatLongFn({
|
| 31 |
+
formats: timeFormats,
|
| 32 |
+
defaultWidth: "full",
|
| 33 |
+
}),
|
| 34 |
+
|
| 35 |
+
dateTime: buildFormatLongFn({
|
| 36 |
+
formats: dateTimeFormats,
|
| 37 |
+
defaultWidth: "full",
|
| 38 |
+
}),
|
| 39 |
+
};
|
node_modules/date-fns/locale/en-AU/cdn.js
ADDED
|
@@ -0,0 +1,580 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
(() => {
|
| 2 |
+
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(e, r, t) {return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : 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);} //#region dist/date-fns/locale/en-US/_lib/formatDistance.js
|
| 3 |
+
var formatDistanceLocale = {
|
| 4 |
+
lessThanXSeconds: {
|
| 5 |
+
one: "less than a second",
|
| 6 |
+
other: "less than {{count}} seconds"
|
| 7 |
+
},
|
| 8 |
+
xSeconds: {
|
| 9 |
+
one: "1 second",
|
| 10 |
+
other: "{{count}} seconds"
|
| 11 |
+
},
|
| 12 |
+
halfAMinute: "half a minute",
|
| 13 |
+
lessThanXMinutes: {
|
| 14 |
+
one: "less than a minute",
|
| 15 |
+
other: "less than {{count}} minutes"
|
| 16 |
+
},
|
| 17 |
+
xMinutes: {
|
| 18 |
+
one: "1 minute",
|
| 19 |
+
other: "{{count}} minutes"
|
| 20 |
+
},
|
| 21 |
+
aboutXHours: {
|
| 22 |
+
one: "about 1 hour",
|
| 23 |
+
other: "about {{count}} hours"
|
| 24 |
+
},
|
| 25 |
+
xHours: {
|
| 26 |
+
one: "1 hour",
|
| 27 |
+
other: "{{count}} hours"
|
| 28 |
+
},
|
| 29 |
+
xDays: {
|
| 30 |
+
one: "1 day",
|
| 31 |
+
other: "{{count}} days"
|
| 32 |
+
},
|
| 33 |
+
aboutXWeeks: {
|
| 34 |
+
one: "about 1 week",
|
| 35 |
+
other: "about {{count}} weeks"
|
| 36 |
+
},
|
| 37 |
+
xWeeks: {
|
| 38 |
+
one: "1 week",
|
| 39 |
+
other: "{{count}} weeks"
|
| 40 |
+
},
|
| 41 |
+
aboutXMonths: {
|
| 42 |
+
one: "about 1 month",
|
| 43 |
+
other: "about {{count}} months"
|
| 44 |
+
},
|
| 45 |
+
xMonths: {
|
| 46 |
+
one: "1 month",
|
| 47 |
+
other: "{{count}} months"
|
| 48 |
+
},
|
| 49 |
+
aboutXYears: {
|
| 50 |
+
one: "about 1 year",
|
| 51 |
+
other: "about {{count}} years"
|
| 52 |
+
},
|
| 53 |
+
xYears: {
|
| 54 |
+
one: "1 year",
|
| 55 |
+
other: "{{count}} years"
|
| 56 |
+
},
|
| 57 |
+
overXYears: {
|
| 58 |
+
one: "over 1 year",
|
| 59 |
+
other: "over {{count}} years"
|
| 60 |
+
},
|
| 61 |
+
almostXYears: {
|
| 62 |
+
one: "almost 1 year",
|
| 63 |
+
other: "almost {{count}} years"
|
| 64 |
+
}
|
| 65 |
+
};
|
| 66 |
+
var formatDistance = function formatDistance(token, count, options) {
|
| 67 |
+
var result;
|
| 68 |
+
var tokenValue = formatDistanceLocale[token];
|
| 69 |
+
if (typeof tokenValue === "string") result = tokenValue;else
|
| 70 |
+
if (count === 1) result = tokenValue.one;else
|
| 71 |
+
result = tokenValue.other.replace("{{count}}", count.toString());
|
| 72 |
+
if (options !== null && options !== void 0 && options.addSuffix) if (options.comparison && options.comparison > 0) return "in " + result;else
|
| 73 |
+
return result + " ago";
|
| 74 |
+
return result;
|
| 75 |
+
};
|
| 76 |
+
//#endregion
|
| 77 |
+
//#region dist/date-fns/locale/_lib/buildFormatLongFn.js
|
| 78 |
+
function buildFormatLongFn(args) {
|
| 79 |
+
return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
| 80 |
+
var width = options.width ? String(options.width) : args.defaultWidth;
|
| 81 |
+
return args.formats[width] || args.formats[args.defaultWidth];
|
| 82 |
+
};
|
| 83 |
+
}
|
| 84 |
+
var formatLong = {
|
| 85 |
+
date: buildFormatLongFn({
|
| 86 |
+
formats: {
|
| 87 |
+
full: "EEEE, d MMMM yyyy",
|
| 88 |
+
long: "d MMMM yyyy",
|
| 89 |
+
medium: "d MMM yyyy",
|
| 90 |
+
short: "dd/MM/yyyy"
|
| 91 |
+
},
|
| 92 |
+
defaultWidth: "full"
|
| 93 |
+
}),
|
| 94 |
+
time: buildFormatLongFn({
|
| 95 |
+
formats: {
|
| 96 |
+
full: "h:mm:ss a zzzz",
|
| 97 |
+
long: "h:mm:ss a z",
|
| 98 |
+
medium: "h:mm:ss a",
|
| 99 |
+
short: "h:mm a"
|
| 100 |
+
},
|
| 101 |
+
defaultWidth: "full"
|
| 102 |
+
}),
|
| 103 |
+
dateTime: buildFormatLongFn({
|
| 104 |
+
formats: {
|
| 105 |
+
full: "{{date}} 'at' {{time}}",
|
| 106 |
+
long: "{{date}} 'at' {{time}}",
|
| 107 |
+
medium: "{{date}}, {{time}}",
|
| 108 |
+
short: "{{date}}, {{time}}"
|
| 109 |
+
},
|
| 110 |
+
defaultWidth: "full"
|
| 111 |
+
})
|
| 112 |
+
};
|
| 113 |
+
//#endregion
|
| 114 |
+
//#region dist/date-fns/locale/en-US/_lib/formatRelative.js
|
| 115 |
+
var formatRelativeLocale = {
|
| 116 |
+
lastWeek: "'last' eeee 'at' p",
|
| 117 |
+
yesterday: "'yesterday at' p",
|
| 118 |
+
today: "'today at' p",
|
| 119 |
+
tomorrow: "'tomorrow at' p",
|
| 120 |
+
nextWeek: "eeee 'at' p",
|
| 121 |
+
other: "P"
|
| 122 |
+
};
|
| 123 |
+
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};
|
| 124 |
+
//#endregion
|
| 125 |
+
//#region dist/date-fns/locale/_lib/buildLocalizeFn.js
|
| 126 |
+
/**
|
| 127 |
+
* The localize function argument callback which allows to convert raw value to
|
| 128 |
+
* the actual type.
|
| 129 |
+
*
|
| 130 |
+
* @param value - The value to convert
|
| 131 |
+
*
|
| 132 |
+
* @returns The converted value
|
| 133 |
+
*/
|
| 134 |
+
/**
|
| 135 |
+
* The map of localized values for each width.
|
| 136 |
+
*/
|
| 137 |
+
/**
|
| 138 |
+
* The index type of the locale unit value. It types conversion of units of
|
| 139 |
+
* values that don't start at 0 (i.e. quarters).
|
| 140 |
+
*/
|
| 141 |
+
/**
|
| 142 |
+
* Converts the unit value to the tuple of values.
|
| 143 |
+
*/
|
| 144 |
+
/**
|
| 145 |
+
* The tuple of localized era values. The first element represents BC,
|
| 146 |
+
* the second element represents AD.
|
| 147 |
+
*/
|
| 148 |
+
/**
|
| 149 |
+
* The tuple of localized quarter values. The first element represents Q1.
|
| 150 |
+
*/
|
| 151 |
+
/**
|
| 152 |
+
* The tuple of localized day values. The first element represents Sunday.
|
| 153 |
+
*/
|
| 154 |
+
/**
|
| 155 |
+
* The tuple of localized month values. The first element represents January.
|
| 156 |
+
*/
|
| 157 |
+
function buildLocalizeFn(args) {
|
| 158 |
+
return function (value, options) {
|
| 159 |
+
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
|
| 160 |
+
var valuesArray;
|
| 161 |
+
if (context === "formatting" && args.formattingValues) {
|
| 162 |
+
var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
| 163 |
+
var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
|
| 164 |
+
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
| 165 |
+
} else {
|
| 166 |
+
var _defaultWidth = args.defaultWidth;
|
| 167 |
+
var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
|
| 168 |
+
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
| 169 |
+
}
|
| 170 |
+
var index = args.argumentCallback ? args.argumentCallback(value) : value;
|
| 171 |
+
return valuesArray[index];
|
| 172 |
+
};
|
| 173 |
+
}
|
| 174 |
+
//#endregion
|
| 175 |
+
//#region dist/date-fns/locale/en-US/_lib/localize.js
|
| 176 |
+
var eraValues = {
|
| 177 |
+
narrow: ["B", "A"],
|
| 178 |
+
abbreviated: ["BC", "AD"],
|
| 179 |
+
wide: ["Before Christ", "Anno Domini"]
|
| 180 |
+
};
|
| 181 |
+
var quarterValues = {
|
| 182 |
+
narrow: [
|
| 183 |
+
"1",
|
| 184 |
+
"2",
|
| 185 |
+
"3",
|
| 186 |
+
"4"],
|
| 187 |
+
|
| 188 |
+
abbreviated: [
|
| 189 |
+
"Q1",
|
| 190 |
+
"Q2",
|
| 191 |
+
"Q3",
|
| 192 |
+
"Q4"],
|
| 193 |
+
|
| 194 |
+
wide: [
|
| 195 |
+
"1st quarter",
|
| 196 |
+
"2nd quarter",
|
| 197 |
+
"3rd quarter",
|
| 198 |
+
"4th quarter"]
|
| 199 |
+
|
| 200 |
+
};
|
| 201 |
+
var monthValues = {
|
| 202 |
+
narrow: [
|
| 203 |
+
"J",
|
| 204 |
+
"F",
|
| 205 |
+
"M",
|
| 206 |
+
"A",
|
| 207 |
+
"M",
|
| 208 |
+
"J",
|
| 209 |
+
"J",
|
| 210 |
+
"A",
|
| 211 |
+
"S",
|
| 212 |
+
"O",
|
| 213 |
+
"N",
|
| 214 |
+
"D"],
|
| 215 |
+
|
| 216 |
+
abbreviated: [
|
| 217 |
+
"Jan",
|
| 218 |
+
"Feb",
|
| 219 |
+
"Mar",
|
| 220 |
+
"Apr",
|
| 221 |
+
"May",
|
| 222 |
+
"Jun",
|
| 223 |
+
"Jul",
|
| 224 |
+
"Aug",
|
| 225 |
+
"Sep",
|
| 226 |
+
"Oct",
|
| 227 |
+
"Nov",
|
| 228 |
+
"Dec"],
|
| 229 |
+
|
| 230 |
+
wide: [
|
| 231 |
+
"January",
|
| 232 |
+
"February",
|
| 233 |
+
"March",
|
| 234 |
+
"April",
|
| 235 |
+
"May",
|
| 236 |
+
"June",
|
| 237 |
+
"July",
|
| 238 |
+
"August",
|
| 239 |
+
"September",
|
| 240 |
+
"October",
|
| 241 |
+
"November",
|
| 242 |
+
"December"]
|
| 243 |
+
|
| 244 |
+
};
|
| 245 |
+
var dayValues = {
|
| 246 |
+
narrow: [
|
| 247 |
+
"S",
|
| 248 |
+
"M",
|
| 249 |
+
"T",
|
| 250 |
+
"W",
|
| 251 |
+
"T",
|
| 252 |
+
"F",
|
| 253 |
+
"S"],
|
| 254 |
+
|
| 255 |
+
short: [
|
| 256 |
+
"Su",
|
| 257 |
+
"Mo",
|
| 258 |
+
"Tu",
|
| 259 |
+
"We",
|
| 260 |
+
"Th",
|
| 261 |
+
"Fr",
|
| 262 |
+
"Sa"],
|
| 263 |
+
|
| 264 |
+
abbreviated: [
|
| 265 |
+
"Sun",
|
| 266 |
+
"Mon",
|
| 267 |
+
"Tue",
|
| 268 |
+
"Wed",
|
| 269 |
+
"Thu",
|
| 270 |
+
"Fri",
|
| 271 |
+
"Sat"],
|
| 272 |
+
|
| 273 |
+
wide: [
|
| 274 |
+
"Sunday",
|
| 275 |
+
"Monday",
|
| 276 |
+
"Tuesday",
|
| 277 |
+
"Wednesday",
|
| 278 |
+
"Thursday",
|
| 279 |
+
"Friday",
|
| 280 |
+
"Saturday"]
|
| 281 |
+
|
| 282 |
+
};
|
| 283 |
+
var dayPeriodValues = {
|
| 284 |
+
narrow: {
|
| 285 |
+
am: "a",
|
| 286 |
+
pm: "p",
|
| 287 |
+
midnight: "mi",
|
| 288 |
+
noon: "n",
|
| 289 |
+
morning: "morning",
|
| 290 |
+
afternoon: "afternoon",
|
| 291 |
+
evening: "evening",
|
| 292 |
+
night: "night"
|
| 293 |
+
},
|
| 294 |
+
abbreviated: {
|
| 295 |
+
am: "AM",
|
| 296 |
+
pm: "PM",
|
| 297 |
+
midnight: "midnight",
|
| 298 |
+
noon: "noon",
|
| 299 |
+
morning: "morning",
|
| 300 |
+
afternoon: "afternoon",
|
| 301 |
+
evening: "evening",
|
| 302 |
+
night: "night"
|
| 303 |
+
},
|
| 304 |
+
wide: {
|
| 305 |
+
am: "a.m.",
|
| 306 |
+
pm: "p.m.",
|
| 307 |
+
midnight: "midnight",
|
| 308 |
+
noon: "noon",
|
| 309 |
+
morning: "morning",
|
| 310 |
+
afternoon: "afternoon",
|
| 311 |
+
evening: "evening",
|
| 312 |
+
night: "night"
|
| 313 |
+
}
|
| 314 |
+
};
|
| 315 |
+
var formattingDayPeriodValues = {
|
| 316 |
+
narrow: {
|
| 317 |
+
am: "a",
|
| 318 |
+
pm: "p",
|
| 319 |
+
midnight: "mi",
|
| 320 |
+
noon: "n",
|
| 321 |
+
morning: "in the morning",
|
| 322 |
+
afternoon: "in the afternoon",
|
| 323 |
+
evening: "in the evening",
|
| 324 |
+
night: "at night"
|
| 325 |
+
},
|
| 326 |
+
abbreviated: {
|
| 327 |
+
am: "AM",
|
| 328 |
+
pm: "PM",
|
| 329 |
+
midnight: "midnight",
|
| 330 |
+
noon: "noon",
|
| 331 |
+
morning: "in the morning",
|
| 332 |
+
afternoon: "in the afternoon",
|
| 333 |
+
evening: "in the evening",
|
| 334 |
+
night: "at night"
|
| 335 |
+
},
|
| 336 |
+
wide: {
|
| 337 |
+
am: "a.m.",
|
| 338 |
+
pm: "p.m.",
|
| 339 |
+
midnight: "midnight",
|
| 340 |
+
noon: "noon",
|
| 341 |
+
morning: "in the morning",
|
| 342 |
+
afternoon: "in the afternoon",
|
| 343 |
+
evening: "in the evening",
|
| 344 |
+
night: "at night"
|
| 345 |
+
}
|
| 346 |
+
};
|
| 347 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
| 348 |
+
var number = Number(dirtyNumber);
|
| 349 |
+
var rem100 = number % 100;
|
| 350 |
+
if (rem100 > 20 || rem100 < 10) switch (rem100 % 10) {
|
| 351 |
+
case 1:return number + "st";
|
| 352 |
+
case 2:return number + "nd";
|
| 353 |
+
case 3:return number + "rd";
|
| 354 |
+
}
|
| 355 |
+
return number + "th";
|
| 356 |
+
};
|
| 357 |
+
var localize = {
|
| 358 |
+
ordinalNumber: ordinalNumber,
|
| 359 |
+
era: buildLocalizeFn({
|
| 360 |
+
values: eraValues,
|
| 361 |
+
defaultWidth: "wide"
|
| 362 |
+
}),
|
| 363 |
+
quarter: buildLocalizeFn({
|
| 364 |
+
values: quarterValues,
|
| 365 |
+
defaultWidth: "wide",
|
| 366 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
| 367 |
+
}),
|
| 368 |
+
month: buildLocalizeFn({
|
| 369 |
+
values: monthValues,
|
| 370 |
+
defaultWidth: "wide"
|
| 371 |
+
}),
|
| 372 |
+
day: buildLocalizeFn({
|
| 373 |
+
values: dayValues,
|
| 374 |
+
defaultWidth: "wide"
|
| 375 |
+
}),
|
| 376 |
+
dayPeriod: buildLocalizeFn({
|
| 377 |
+
values: dayPeriodValues,
|
| 378 |
+
defaultWidth: "wide",
|
| 379 |
+
formattingValues: formattingDayPeriodValues,
|
| 380 |
+
defaultFormattingWidth: "wide"
|
| 381 |
+
})
|
| 382 |
+
};
|
| 383 |
+
//#endregion
|
| 384 |
+
//#region dist/date-fns/locale/_lib/buildMatchFn.js
|
| 385 |
+
function buildMatchFn(args) {
|
| 386 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
| 387 |
+
var width = options.width;
|
| 388 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
| 389 |
+
var matchResult = string.match(matchPattern);
|
| 390 |
+
if (!matchResult) return null;
|
| 391 |
+
var matchedString = matchResult[0];
|
| 392 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
| 393 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
| 394 |
+
var value;
|
| 395 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
| 396 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
| 397 |
+
var rest = string.slice(matchedString.length);
|
| 398 |
+
return {
|
| 399 |
+
value: value,
|
| 400 |
+
rest: rest
|
| 401 |
+
};
|
| 402 |
+
};
|
| 403 |
+
}
|
| 404 |
+
function findKey(object, predicate) {
|
| 405 |
+
for (var key in object) if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) return key;
|
| 406 |
+
}
|
| 407 |
+
function findIndex(array, predicate) {
|
| 408 |
+
for (var key = 0; key < array.length; key++) if (predicate(array[key])) return key;
|
| 409 |
+
}
|
| 410 |
+
//#endregion
|
| 411 |
+
//#region dist/date-fns/locale/_lib/buildMatchPatternFn.js
|
| 412 |
+
function buildMatchPatternFn(args) {
|
| 413 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
| 414 |
+
var matchResult = string.match(args.matchPattern);
|
| 415 |
+
if (!matchResult) return null;
|
| 416 |
+
var matchedString = matchResult[0];
|
| 417 |
+
var parseResult = string.match(args.parsePattern);
|
| 418 |
+
if (!parseResult) return null;
|
| 419 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
| 420 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
| 421 |
+
var rest = string.slice(matchedString.length);
|
| 422 |
+
return {
|
| 423 |
+
value: value,
|
| 424 |
+
rest: rest
|
| 425 |
+
};
|
| 426 |
+
};
|
| 427 |
+
}
|
| 428 |
+
//#endregion
|
| 429 |
+
//#region dist/date-fns/locale/en-AU.js
|
| 430 |
+
/**
|
| 431 |
+
* @category Locales
|
| 432 |
+
* @summary English locale (Australia).
|
| 433 |
+
* @language English
|
| 434 |
+
* @iso-639-2 eng
|
| 435 |
+
* @author Julien Malige [@JulienMalige](https://github.com/JulienMalige)
|
| 436 |
+
*/
|
| 437 |
+
var enAU = {
|
| 438 |
+
code: "en-AU",
|
| 439 |
+
formatDistance: formatDistance,
|
| 440 |
+
formatLong: formatLong,
|
| 441 |
+
formatRelative: formatRelative,
|
| 442 |
+
localize: localize,
|
| 443 |
+
match: {
|
| 444 |
+
ordinalNumber: buildMatchPatternFn({
|
| 445 |
+
matchPattern: /^(\d+)(th|st|nd|rd)?/i,
|
| 446 |
+
parsePattern: /\d+/i,
|
| 447 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
| 448 |
+
}),
|
| 449 |
+
era: buildMatchFn({
|
| 450 |
+
matchPatterns: {
|
| 451 |
+
narrow: /^(b|a)/i,
|
| 452 |
+
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
| 453 |
+
wide: /^(before christ|before common era|anno domini|common era)/i
|
| 454 |
+
},
|
| 455 |
+
defaultMatchWidth: "wide",
|
| 456 |
+
parsePatterns: { any: [/^b/i, /^(a|c)/i] },
|
| 457 |
+
defaultParseWidth: "any"
|
| 458 |
+
}),
|
| 459 |
+
quarter: buildMatchFn({
|
| 460 |
+
matchPatterns: {
|
| 461 |
+
narrow: /^[1234]/i,
|
| 462 |
+
abbreviated: /^q[1234]/i,
|
| 463 |
+
wide: /^[1234](th|st|nd|rd)? quarter/i
|
| 464 |
+
},
|
| 465 |
+
defaultMatchWidth: "wide",
|
| 466 |
+
parsePatterns: { any: [
|
| 467 |
+
/1/i,
|
| 468 |
+
/2/i,
|
| 469 |
+
/3/i,
|
| 470 |
+
/4/i]
|
| 471 |
+
},
|
| 472 |
+
defaultParseWidth: "any",
|
| 473 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
| 474 |
+
}),
|
| 475 |
+
month: buildMatchFn({
|
| 476 |
+
matchPatterns: {
|
| 477 |
+
narrow: /^[jfmasond]/i,
|
| 478 |
+
abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
|
| 479 |
+
wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
|
| 480 |
+
},
|
| 481 |
+
defaultMatchWidth: "wide",
|
| 482 |
+
parsePatterns: {
|
| 483 |
+
narrow: [
|
| 484 |
+
/^j/i,
|
| 485 |
+
/^f/i,
|
| 486 |
+
/^m/i,
|
| 487 |
+
/^a/i,
|
| 488 |
+
/^m/i,
|
| 489 |
+
/^j/i,
|
| 490 |
+
/^j/i,
|
| 491 |
+
/^a/i,
|
| 492 |
+
/^s/i,
|
| 493 |
+
/^o/i,
|
| 494 |
+
/^n/i,
|
| 495 |
+
/^d/i],
|
| 496 |
+
|
| 497 |
+
any: [
|
| 498 |
+
/^ja/i,
|
| 499 |
+
/^f/i,
|
| 500 |
+
/^mar/i,
|
| 501 |
+
/^ap/i,
|
| 502 |
+
/^may/i,
|
| 503 |
+
/^jun/i,
|
| 504 |
+
/^jul/i,
|
| 505 |
+
/^au/i,
|
| 506 |
+
/^s/i,
|
| 507 |
+
/^o/i,
|
| 508 |
+
/^n/i,
|
| 509 |
+
/^d/i]
|
| 510 |
+
|
| 511 |
+
},
|
| 512 |
+
defaultParseWidth: "any"
|
| 513 |
+
}),
|
| 514 |
+
day: buildMatchFn({
|
| 515 |
+
matchPatterns: {
|
| 516 |
+
narrow: /^[smtwf]/i,
|
| 517 |
+
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
| 518 |
+
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
| 519 |
+
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
| 520 |
+
},
|
| 521 |
+
defaultMatchWidth: "wide",
|
| 522 |
+
parsePatterns: {
|
| 523 |
+
narrow: [
|
| 524 |
+
/^s/i,
|
| 525 |
+
/^m/i,
|
| 526 |
+
/^t/i,
|
| 527 |
+
/^w/i,
|
| 528 |
+
/^t/i,
|
| 529 |
+
/^f/i,
|
| 530 |
+
/^s/i],
|
| 531 |
+
|
| 532 |
+
any: [
|
| 533 |
+
/^su/i,
|
| 534 |
+
/^m/i,
|
| 535 |
+
/^tu/i,
|
| 536 |
+
/^w/i,
|
| 537 |
+
/^th/i,
|
| 538 |
+
/^f/i,
|
| 539 |
+
/^sa/i]
|
| 540 |
+
|
| 541 |
+
},
|
| 542 |
+
defaultParseWidth: "any"
|
| 543 |
+
}),
|
| 544 |
+
dayPeriod: buildMatchFn({
|
| 545 |
+
matchPatterns: {
|
| 546 |
+
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
| 547 |
+
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
| 548 |
+
},
|
| 549 |
+
defaultMatchWidth: "any",
|
| 550 |
+
parsePatterns: { any: {
|
| 551 |
+
am: /^a/i,
|
| 552 |
+
pm: /^p/i,
|
| 553 |
+
midnight: /^mi/i,
|
| 554 |
+
noon: /^no/i,
|
| 555 |
+
morning: /morning/i,
|
| 556 |
+
afternoon: /afternoon/i,
|
| 557 |
+
evening: /evening/i,
|
| 558 |
+
night: /night/i
|
| 559 |
+
} },
|
| 560 |
+
defaultParseWidth: "any"
|
| 561 |
+
})
|
| 562 |
+
},
|
| 563 |
+
options: {
|
| 564 |
+
weekStartsOn: 1,
|
| 565 |
+
firstWeekContainsDate: 4
|
| 566 |
+
}
|
| 567 |
+
};
|
| 568 |
+
//#endregion
|
| 569 |
+
//#region dist/date-fns/_entries/locale/en-AU/cdn.js
|
| 570 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
| 571 |
+
window.dateFns), {}, {
|
| 572 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
| 573 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
| 574 |
+
enAU: enAU }) });
|
| 575 |
+
|
| 576 |
+
|
| 577 |
+
//#endregion
|
| 578 |
+
|
| 579 |
+
console.log("date-fns CDN files have moved to @date-fns/cdn. Please update your URLs. See: https://date-fns.org/docs/CDN");
|
| 580 |
+
})();
|
node_modules/date-fns/locale/en-AU/cdn.min.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
(()=>{function e(t){"@babel/helpers - typeof";return e=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},e(t)}function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var i=arguments[n]==null?{}:arguments[n];n%2?t(Object(i),!0).forEach(function(t){r(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function r(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(t){var n=a(t,`string`);return e(n)==`symbol`?n:n+``}function a(t,n){if(e(t)!=`object`||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var i=r.call(t,n||`default`);if(e(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(n===`string`?String:Number)(t)}var o={lessThanXSeconds:{one:`less than a second`,other:`less than {{count}} seconds`},xSeconds:{one:`1 second`,other:`{{count}} seconds`},halfAMinute:`half a minute`,lessThanXMinutes:{one:`less than a minute`,other:`less than {{count}} minutes`},xMinutes:{one:`1 minute`,other:`{{count}} minutes`},aboutXHours:{one:`about 1 hour`,other:`about {{count}} hours`},xHours:{one:`1 hour`,other:`{{count}} hours`},xDays:{one:`1 day`,other:`{{count}} days`},aboutXWeeks:{one:`about 1 week`,other:`about {{count}} weeks`},xWeeks:{one:`1 week`,other:`{{count}} weeks`},aboutXMonths:{one:`about 1 month`,other:`about {{count}} months`},xMonths:{one:`1 month`,other:`{{count}} months`},aboutXYears:{one:`about 1 year`,other:`about {{count}} years`},xYears:{one:`1 year`,other:`{{count}} years`},overXYears:{one:`over 1 year`,other:`over {{count}} years`},almostXYears:{one:`almost 1 year`,other:`almost {{count}} years`}},s=function(e,t,n){var r,i=o[e];return r=typeof i==`string`?i:t===1?i.one:i.other.replace(`{{count}}`,t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?`in `+r:r+` ago`:r};function c(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var l={date:c({formats:{full:`EEEE, d MMMM yyyy`,long:`d MMMM yyyy`,medium:`d MMM yyyy`,short:`dd/MM/yyyy`},defaultWidth:`full`}),time:c({formats:{full:`h:mm:ss a zzzz`,long:`h:mm:ss a z`,medium:`h:mm:ss a`,short:`h:mm a`},defaultWidth:`full`}),dateTime:c({formats:{full:`{{date}} 'at' {{time}}`,long:`{{date}} 'at' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},u={lastWeek:`'last' eeee 'at' p`,yesterday:`'yesterday at' p`,today:`'today at' p`,tomorrow:`'tomorrow at' p`,nextWeek:`eeee 'at' p`,other:`P`},d=function(e,t,n,r){return u[e]};function f(e){return function(t,n){var r=n!=null&&n.context?String(n.context):`standalone`,i;if(r===`formatting`&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[s]}var l=e.argumentCallback?e.argumentCallback(t):t;return i[l]}}var p={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+`st`;case 2:return n+`nd`;case 3:return n+`rd`}return n+`th`},era:f({values:{narrow:[`B`,`A`],abbreviated:[`BC`,`AD`],wide:[`Before Christ`,`Anno Domini`]},defaultWidth:`wide`}),quarter:f({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`Q1`,`Q2`,`Q3`,`Q4`],wide:[`1st quarter`,`2nd quarter`,`3rd quarter`,`4th quarter`]},defaultWidth:`wide`,argumentCallback:function(e){return e-1}}),month:f({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`A`,`S`,`O`,`N`,`D`],abbreviated:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],wide:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`]},defaultWidth:`wide`}),day:f({values:{narrow:[`S`,`M`,`T`,`W`,`T`,`F`,`S`],short:[`Su`,`Mo`,`Tu`,`We`,`Th`,`Fr`,`Sa`],abbreviated:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],wide:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`]},defaultWidth:`wide`}),dayPeriod:f({values:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`morning`,afternoon:`afternoon`,evening:`evening`,night:`night`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`a`,pm:`p`,midnight:`mi`,noon:`n`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},abbreviated:{am:`AM`,pm:`PM`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`},wide:{am:`a.m.`,pm:`p.m.`,midnight:`midnight`,noon:`noon`,morning:`in the morning`,afternoon:`in the afternoon`,evening:`in the evening`,night:`at night`}},defaultFormattingWidth:`wide`})};function m(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?g(s,function(e){return e.test(o)}):h(s,function(e){return e.test(o)}),l=e.valueCallback?e.valueCallback(c):c;l=n.valueCallback?n.valueCallback(l):l;var u=t.slice(o.length);return{value:l,rest:u}}}function h(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function g(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function _(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=n.valueCallback?n.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var v={code:`en-AU`,formatDistance:s,formatLong:l,formatRelative:d,localize:p,match:{ordinalNumber:_({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:m({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:`any`}),quarter:m({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:`any`,valueCallback:function(e){return e+1}}),month:m({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:m({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:m({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:`any`})},options:{weekStartsOn:1,firstWeekContainsDate:4}};window.dateFns=n(n({},window.dateFns),{},{locale:n(n({},window.dateFns?.locale),{},{enAU:v})}),console.log(`date-fns CDN files have moved to @date-fns/cdn. Please update your URLs. See: https://date-fns.org/docs/CDN`)})();
|
node_modules/date-fns/locale/en-CA.cjs
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.enCA = void 0;
|
| 3 |
+
var _index = require("./en-US/_lib/formatRelative.cjs");
|
| 4 |
+
var _index2 = require("./en-US/_lib/localize.cjs");
|
| 5 |
+
var _index3 = require("./en-US/_lib/match.cjs");
|
| 6 |
+
|
| 7 |
+
var _index4 = require("./en-CA/_lib/formatDistance.cjs");
|
| 8 |
+
var _index5 = require("./en-CA/_lib/formatLong.cjs");
|
| 9 |
+
|
| 10 |
+
/**
|
| 11 |
+
* @category Locales
|
| 12 |
+
* @summary English locale (Canada).
|
| 13 |
+
* @language English
|
| 14 |
+
* @iso-639-2 eng
|
| 15 |
+
* @author Mark Owsiak [@markowsiak](https://github.com/markowsiak)
|
| 16 |
+
* @author Marco Imperatore [@mimperatore](https://github.com/mimperatore)
|
| 17 |
+
*/
|
| 18 |
+
const enCA = (exports.enCA = {
|
| 19 |
+
code: "en-CA",
|
| 20 |
+
formatDistance: _index4.formatDistance,
|
| 21 |
+
formatLong: _index5.formatLong,
|
| 22 |
+
formatRelative: _index.formatRelative,
|
| 23 |
+
localize: _index2.localize,
|
| 24 |
+
match: _index3.match,
|
| 25 |
+
options: {
|
| 26 |
+
weekStartsOn: 0 /* Sunday */,
|
| 27 |
+
firstWeekContainsDate: 1,
|
| 28 |
+
},
|
| 29 |
+
});
|
node_modules/date-fns/locale/en-CA.d.cts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary English locale (Canada).
|
| 5 |
+
* @language English
|
| 6 |
+
* @iso-639-2 eng
|
| 7 |
+
* @author Mark Owsiak [@markowsiak](https://github.com/markowsiak)
|
| 8 |
+
* @author Marco Imperatore [@mimperatore](https://github.com/mimperatore)
|
| 9 |
+
*/
|
| 10 |
+
export declare const enCA: Locale;
|
node_modules/date-fns/locale/en-CA.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary English locale (Canada).
|
| 5 |
+
* @language English
|
| 6 |
+
* @iso-639-2 eng
|
| 7 |
+
* @author Mark Owsiak [@markowsiak](https://github.com/markowsiak)
|
| 8 |
+
* @author Marco Imperatore [@mimperatore](https://github.com/mimperatore)
|
| 9 |
+
*/
|
| 10 |
+
export declare const enCA: Locale;
|
node_modules/date-fns/locale/en-CA.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { formatRelative } from "./en-US/_lib/formatRelative.js";
|
| 2 |
+
import { localize } from "./en-US/_lib/localize.js";
|
| 3 |
+
import { match } from "./en-US/_lib/match.js";
|
| 4 |
+
|
| 5 |
+
import { formatDistance } from "./en-CA/_lib/formatDistance.js";
|
| 6 |
+
import { formatLong } from "./en-CA/_lib/formatLong.js";
|
| 7 |
+
|
| 8 |
+
/**
|
| 9 |
+
* @category Locales
|
| 10 |
+
* @summary English locale (Canada).
|
| 11 |
+
* @language English
|
| 12 |
+
* @iso-639-2 eng
|
| 13 |
+
* @author Mark Owsiak [@markowsiak](https://github.com/markowsiak)
|
| 14 |
+
* @author Marco Imperatore [@mimperatore](https://github.com/mimperatore)
|
| 15 |
+
*/
|
| 16 |
+
export const enCA = {
|
| 17 |
+
code: "en-CA",
|
| 18 |
+
formatDistance: formatDistance,
|
| 19 |
+
formatLong: formatLong,
|
| 20 |
+
formatRelative: formatRelative,
|
| 21 |
+
localize: localize,
|
| 22 |
+
match: match,
|
| 23 |
+
options: {
|
| 24 |
+
weekStartsOn: 0 /* Sunday */,
|
| 25 |
+
firstWeekContainsDate: 1,
|
| 26 |
+
},
|
| 27 |
+
};
|
| 28 |
+
|
| 29 |
+
// Fallback for modularized imports:
|
| 30 |
+
export default enCA;
|
node_modules/date-fns/locale/en-CA/_lib/formatDistance.cjs
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.formatDistance = void 0;
|
| 3 |
+
|
| 4 |
+
const formatDistanceLocale = {
|
| 5 |
+
lessThanXSeconds: {
|
| 6 |
+
one: "less than a second",
|
| 7 |
+
other: "less than {{count}} seconds",
|
| 8 |
+
},
|
| 9 |
+
|
| 10 |
+
xSeconds: {
|
| 11 |
+
one: "a second",
|
| 12 |
+
other: "{{count}} seconds",
|
| 13 |
+
},
|
| 14 |
+
|
| 15 |
+
halfAMinute: "half a minute",
|
| 16 |
+
|
| 17 |
+
lessThanXMinutes: {
|
| 18 |
+
one: "less than a minute",
|
| 19 |
+
other: "less than {{count}} minutes",
|
| 20 |
+
},
|
| 21 |
+
|
| 22 |
+
xMinutes: {
|
| 23 |
+
one: "a minute",
|
| 24 |
+
other: "{{count}} minutes",
|
| 25 |
+
},
|
| 26 |
+
|
| 27 |
+
aboutXHours: {
|
| 28 |
+
one: "about an hour",
|
| 29 |
+
other: "about {{count}} hours",
|
| 30 |
+
},
|
| 31 |
+
|
| 32 |
+
xHours: {
|
| 33 |
+
one: "an hour",
|
| 34 |
+
other: "{{count}} hours",
|
| 35 |
+
},
|
| 36 |
+
|
| 37 |
+
xDays: {
|
| 38 |
+
one: "a day",
|
| 39 |
+
other: "{{count}} days",
|
| 40 |
+
},
|
| 41 |
+
|
| 42 |
+
aboutXWeeks: {
|
| 43 |
+
one: "about a week",
|
| 44 |
+
other: "about {{count}} weeks",
|
| 45 |
+
},
|
| 46 |
+
|
| 47 |
+
xWeeks: {
|
| 48 |
+
one: "a week",
|
| 49 |
+
other: "{{count}} weeks",
|
| 50 |
+
},
|
| 51 |
+
|
| 52 |
+
aboutXMonths: {
|
| 53 |
+
one: "about a month",
|
| 54 |
+
other: "about {{count}} months",
|
| 55 |
+
},
|
| 56 |
+
|
| 57 |
+
xMonths: {
|
| 58 |
+
one: "a month",
|
| 59 |
+
other: "{{count}} months",
|
| 60 |
+
},
|
| 61 |
+
|
| 62 |
+
aboutXYears: {
|
| 63 |
+
one: "about a year",
|
| 64 |
+
other: "about {{count}} years",
|
| 65 |
+
},
|
| 66 |
+
|
| 67 |
+
xYears: {
|
| 68 |
+
one: "a year",
|
| 69 |
+
other: "{{count}} years",
|
| 70 |
+
},
|
| 71 |
+
|
| 72 |
+
overXYears: {
|
| 73 |
+
one: "over a year",
|
| 74 |
+
other: "over {{count}} years",
|
| 75 |
+
},
|
| 76 |
+
|
| 77 |
+
almostXYears: {
|
| 78 |
+
one: "almost a year",
|
| 79 |
+
other: "almost {{count}} years",
|
| 80 |
+
},
|
| 81 |
+
};
|
| 82 |
+
|
| 83 |
+
const formatDistance = (token, count, options) => {
|
| 84 |
+
let result;
|
| 85 |
+
|
| 86 |
+
const tokenValue = formatDistanceLocale[token];
|
| 87 |
+
if (typeof tokenValue === "string") {
|
| 88 |
+
result = tokenValue;
|
| 89 |
+
} else if (count === 1) {
|
| 90 |
+
result = tokenValue.one;
|
| 91 |
+
} else {
|
| 92 |
+
result = tokenValue.other.replace("{{count}}", count.toString());
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
if (options?.addSuffix) {
|
| 96 |
+
if (options.comparison && options.comparison > 0) {
|
| 97 |
+
return "in " + result;
|
| 98 |
+
} else {
|
| 99 |
+
return result + " ago";
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
return result;
|
| 104 |
+
};
|
| 105 |
+
exports.formatDistance = formatDistance;
|
node_modules/date-fns/locale/en-CA/_lib/formatDistance.d.cts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatDistanceFn } from "../../types.ts";
|
| 2 |
+
export declare const formatDistance: FormatDistanceFn;
|
node_modules/date-fns/locale/en-CA/_lib/formatDistance.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { FormatDistanceFn } from "../../types.ts";
|
| 2 |
+
export declare const formatDistance: FormatDistanceFn;
|