Upload folder using huggingface_hub (part 10)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- node_modules/date-fns/locale/id.cjs +30 -0
- node_modules/date-fns/locale/id.d.cts +12 -0
- node_modules/date-fns/locale/id.d.ts +12 -0
- node_modules/date-fns/locale/id.js +31 -0
- node_modules/date-fns/locale/id/_lib/formatLong.d.cts +2 -0
- node_modules/date-fns/locale/id/_lib/formatLong.d.ts +2 -0
- node_modules/date-fns/locale/id/_lib/formatLong.js +39 -0
- node_modules/date-fns/locale/id/_lib/formatRelative.cjs +15 -0
- node_modules/date-fns/locale/id/_lib/formatRelative.d.cts +2 -0
- node_modules/date-fns/locale/id/_lib/formatRelative.d.ts +2 -0
- node_modules/date-fns/locale/id/_lib/formatRelative.js +11 -0
- node_modules/date-fns/locale/id/_lib/localize.cjs +167 -0
- node_modules/date-fns/locale/id/_lib/localize.d.cts +2 -0
- node_modules/date-fns/locale/id/_lib/localize.d.ts +2 -0
- node_modules/date-fns/locale/id/_lib/localize.js +165 -0
- node_modules/date-fns/locale/id/_lib/match.cjs +135 -0
- node_modules/date-fns/locale/id/_lib/match.d.cts +2 -0
- node_modules/date-fns/locale/id/_lib/match.d.ts +2 -0
- node_modules/date-fns/locale/id/_lib/match.js +132 -0
- node_modules/date-fns/locale/id/cdn.js +576 -0
- node_modules/date-fns/locale/id/cdn.min.js +1 -0
- node_modules/date-fns/locale/is.cjs +28 -0
- node_modules/date-fns/locale/is.d.cts +10 -0
- node_modules/date-fns/locale/is.d.ts +10 -0
- node_modules/date-fns/locale/is.js +29 -0
- node_modules/date-fns/locale/is/_lib/formatDistance.cjs +105 -0
- node_modules/date-fns/locale/is/_lib/formatDistance.d.cts +2 -0
- node_modules/date-fns/locale/is/_lib/formatDistance.d.ts +2 -0
- node_modules/date-fns/locale/is/_lib/formatDistance.js +101 -0
- node_modules/date-fns/locale/is/_lib/formatLong.cjs +41 -0
- node_modules/date-fns/locale/is/_lib/formatLong.d.cts +2 -0
- node_modules/date-fns/locale/is/_lib/formatLong.d.ts +2 -0
- node_modules/date-fns/locale/is/_lib/formatLong.js +39 -0
- node_modules/date-fns/locale/is/_lib/formatRelative.cjs +15 -0
- node_modules/date-fns/locale/is/_lib/formatRelative.d.cts +2 -0
- node_modules/date-fns/locale/is/_lib/formatRelative.d.ts +2 -0
- node_modules/date-fns/locale/is/_lib/formatRelative.js +11 -0
- node_modules/date-fns/locale/is/_lib/localize.cjs +168 -0
- node_modules/date-fns/locale/is/_lib/localize.d.cts +2 -0
- node_modules/date-fns/locale/is/_lib/localize.d.ts +2 -0
- node_modules/date-fns/locale/is/_lib/localize.js +166 -0
- node_modules/date-fns/locale/is/_lib/match.cjs +137 -0
- node_modules/date-fns/locale/is/_lib/match.d.cts +2 -0
- node_modules/date-fns/locale/is/_lib/match.d.ts +2 -0
- node_modules/date-fns/locale/is/_lib/match.js +134 -0
- node_modules/date-fns/locale/is/cdn.js +574 -0
- node_modules/date-fns/locale/is/cdn.min.js +1 -0
- node_modules/date-fns/locale/it-CH.cjs +27 -0
- node_modules/date-fns/locale/it-CH.d.cts +9 -0
- node_modules/date-fns/locale/it-CH.d.ts +9 -0
node_modules/date-fns/locale/id.cjs
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.id = void 0;
|
| 3 |
+
var _index = require("./id/_lib/formatDistance.cjs");
|
| 4 |
+
var _index2 = require("./id/_lib/formatLong.cjs");
|
| 5 |
+
var _index3 = require("./id/_lib/formatRelative.cjs");
|
| 6 |
+
var _index4 = require("./id/_lib/localize.cjs");
|
| 7 |
+
var _index5 = require("./id/_lib/match.cjs");
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @category Locales
|
| 11 |
+
* @summary Indonesian locale.
|
| 12 |
+
* @language Indonesian
|
| 13 |
+
* @iso-639-2 ind
|
| 14 |
+
* @author Rahmat Budiharso [@rbudiharso](https://github.com/rbudiharso)
|
| 15 |
+
* @author Benget Nata [@bentinata](https://github.com/bentinata)
|
| 16 |
+
* @author Budi Irawan [@deerawan](https://github.com/deerawan)
|
| 17 |
+
* @author Try Ajitiono [@imballinst](https://github.com/imballinst)
|
| 18 |
+
*/
|
| 19 |
+
const id = (exports.id = {
|
| 20 |
+
code: "id",
|
| 21 |
+
formatDistance: _index.formatDistance,
|
| 22 |
+
formatLong: _index2.formatLong,
|
| 23 |
+
formatRelative: _index3.formatRelative,
|
| 24 |
+
localize: _index4.localize,
|
| 25 |
+
match: _index5.match,
|
| 26 |
+
options: {
|
| 27 |
+
weekStartsOn: 1 /* Monday */,
|
| 28 |
+
firstWeekContainsDate: 1,
|
| 29 |
+
},
|
| 30 |
+
});
|
node_modules/date-fns/locale/id.d.cts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary Indonesian locale.
|
| 5 |
+
* @language Indonesian
|
| 6 |
+
* @iso-639-2 ind
|
| 7 |
+
* @author Rahmat Budiharso [@rbudiharso](https://github.com/rbudiharso)
|
| 8 |
+
* @author Benget Nata [@bentinata](https://github.com/bentinata)
|
| 9 |
+
* @author Budi Irawan [@deerawan](https://github.com/deerawan)
|
| 10 |
+
* @author Try Ajitiono [@imballinst](https://github.com/imballinst)
|
| 11 |
+
*/
|
| 12 |
+
export declare const id: Locale;
|
node_modules/date-fns/locale/id.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary Indonesian locale.
|
| 5 |
+
* @language Indonesian
|
| 6 |
+
* @iso-639-2 ind
|
| 7 |
+
* @author Rahmat Budiharso [@rbudiharso](https://github.com/rbudiharso)
|
| 8 |
+
* @author Benget Nata [@bentinata](https://github.com/bentinata)
|
| 9 |
+
* @author Budi Irawan [@deerawan](https://github.com/deerawan)
|
| 10 |
+
* @author Try Ajitiono [@imballinst](https://github.com/imballinst)
|
| 11 |
+
*/
|
| 12 |
+
export declare const id: Locale;
|
node_modules/date-fns/locale/id.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { formatDistance } from "./id/_lib/formatDistance.js";
|
| 2 |
+
import { formatLong } from "./id/_lib/formatLong.js";
|
| 3 |
+
import { formatRelative } from "./id/_lib/formatRelative.js";
|
| 4 |
+
import { localize } from "./id/_lib/localize.js";
|
| 5 |
+
import { match } from "./id/_lib/match.js";
|
| 6 |
+
|
| 7 |
+
/**
|
| 8 |
+
* @category Locales
|
| 9 |
+
* @summary Indonesian locale.
|
| 10 |
+
* @language Indonesian
|
| 11 |
+
* @iso-639-2 ind
|
| 12 |
+
* @author Rahmat Budiharso [@rbudiharso](https://github.com/rbudiharso)
|
| 13 |
+
* @author Benget Nata [@bentinata](https://github.com/bentinata)
|
| 14 |
+
* @author Budi Irawan [@deerawan](https://github.com/deerawan)
|
| 15 |
+
* @author Try Ajitiono [@imballinst](https://github.com/imballinst)
|
| 16 |
+
*/
|
| 17 |
+
export const id = {
|
| 18 |
+
code: "id",
|
| 19 |
+
formatDistance: formatDistance,
|
| 20 |
+
formatLong: formatLong,
|
| 21 |
+
formatRelative: formatRelative,
|
| 22 |
+
localize: localize,
|
| 23 |
+
match: match,
|
| 24 |
+
options: {
|
| 25 |
+
weekStartsOn: 1 /* Monday */,
|
| 26 |
+
firstWeekContainsDate: 1,
|
| 27 |
+
},
|
| 28 |
+
};
|
| 29 |
+
|
| 30 |
+
// Fallback for modularized imports:
|
| 31 |
+
export default id;
|
node_modules/date-fns/locale/id/_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/id/_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/id/_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: "d/M/yyyy",
|
| 8 |
+
};
|
| 9 |
+
|
| 10 |
+
const timeFormats = {
|
| 11 |
+
full: "HH.mm.ss",
|
| 12 |
+
long: "HH.mm.ss",
|
| 13 |
+
medium: "HH.mm",
|
| 14 |
+
short: "HH.mm",
|
| 15 |
+
};
|
| 16 |
+
|
| 17 |
+
const dateTimeFormats = {
|
| 18 |
+
full: "{{date}} 'pukul' {{time}}",
|
| 19 |
+
long: "{{date}} 'pukul' {{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/id/_lib/formatRelative.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.formatRelative = void 0;
|
| 3 |
+
|
| 4 |
+
const formatRelativeLocale = {
|
| 5 |
+
lastWeek: "eeee 'lalu pukul' p",
|
| 6 |
+
yesterday: "'Kemarin pukul' p",
|
| 7 |
+
today: "'Hari ini pukul' p",
|
| 8 |
+
tomorrow: "'Besok pukul' p",
|
| 9 |
+
nextWeek: "eeee 'pukul' p",
|
| 10 |
+
other: "P",
|
| 11 |
+
};
|
| 12 |
+
|
| 13 |
+
const formatRelative = (token, _date, _baseDate, _options) =>
|
| 14 |
+
formatRelativeLocale[token];
|
| 15 |
+
exports.formatRelative = formatRelative;
|
node_modules/date-fns/locale/id/_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/id/_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/id/_lib/formatRelative.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const formatRelativeLocale = {
|
| 2 |
+
lastWeek: "eeee 'lalu pukul' p",
|
| 3 |
+
yesterday: "'Kemarin pukul' p",
|
| 4 |
+
today: "'Hari ini pukul' p",
|
| 5 |
+
tomorrow: "'Besok pukul' p",
|
| 6 |
+
nextWeek: "eeee 'pukul' p",
|
| 7 |
+
other: "P",
|
| 8 |
+
};
|
| 9 |
+
|
| 10 |
+
export const formatRelative = (token, _date, _baseDate, _options) =>
|
| 11 |
+
formatRelativeLocale[token];
|
node_modules/date-fns/locale/id/_lib/localize.cjs
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.localize = void 0;
|
| 3 |
+
var _index = require("../../_lib/buildLocalizeFn.cjs");
|
| 4 |
+
|
| 5 |
+
// All data for localization are taken from this page
|
| 6 |
+
// https://www.unicode.org/cldr/charts/32/summary/id.html
|
| 7 |
+
const eraValues = {
|
| 8 |
+
narrow: ["SM", "M"],
|
| 9 |
+
abbreviated: ["SM", "M"],
|
| 10 |
+
wide: ["Sebelum Masehi", "Masehi"],
|
| 11 |
+
};
|
| 12 |
+
|
| 13 |
+
const quarterValues = {
|
| 14 |
+
narrow: ["1", "2", "3", "4"],
|
| 15 |
+
abbreviated: ["K1", "K2", "K3", "K4"],
|
| 16 |
+
wide: ["Kuartal ke-1", "Kuartal ke-2", "Kuartal ke-3", "Kuartal ke-4"],
|
| 17 |
+
};
|
| 18 |
+
|
| 19 |
+
// Note: in Indonesian, the names of days of the week and months are capitalized.
|
| 20 |
+
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
|
| 21 |
+
// Generally, formatted dates should look like they are in the middle of a sentence,
|
| 22 |
+
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
| 23 |
+
const monthValues = {
|
| 24 |
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
| 25 |
+
abbreviated: [
|
| 26 |
+
"Jan",
|
| 27 |
+
"Feb",
|
| 28 |
+
"Mar",
|
| 29 |
+
"Apr",
|
| 30 |
+
"Mei",
|
| 31 |
+
"Jun",
|
| 32 |
+
"Jul",
|
| 33 |
+
"Agt",
|
| 34 |
+
"Sep",
|
| 35 |
+
"Okt",
|
| 36 |
+
"Nov",
|
| 37 |
+
"Des",
|
| 38 |
+
],
|
| 39 |
+
|
| 40 |
+
wide: [
|
| 41 |
+
"Januari",
|
| 42 |
+
"Februari",
|
| 43 |
+
"Maret",
|
| 44 |
+
"April",
|
| 45 |
+
"Mei",
|
| 46 |
+
"Juni",
|
| 47 |
+
"Juli",
|
| 48 |
+
"Agustus",
|
| 49 |
+
"September",
|
| 50 |
+
"Oktober",
|
| 51 |
+
"November",
|
| 52 |
+
"Desember",
|
| 53 |
+
],
|
| 54 |
+
};
|
| 55 |
+
|
| 56 |
+
const dayValues = {
|
| 57 |
+
narrow: ["M", "S", "S", "R", "K", "J", "S"],
|
| 58 |
+
short: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
|
| 59 |
+
abbreviated: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
|
| 60 |
+
wide: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"],
|
| 61 |
+
};
|
| 62 |
+
|
| 63 |
+
const dayPeriodValues = {
|
| 64 |
+
narrow: {
|
| 65 |
+
am: "AM",
|
| 66 |
+
pm: "PM",
|
| 67 |
+
midnight: "tengah malam",
|
| 68 |
+
noon: "tengah hari",
|
| 69 |
+
morning: "pagi",
|
| 70 |
+
afternoon: "siang",
|
| 71 |
+
evening: "sore",
|
| 72 |
+
night: "malam",
|
| 73 |
+
},
|
| 74 |
+
abbreviated: {
|
| 75 |
+
am: "AM",
|
| 76 |
+
pm: "PM",
|
| 77 |
+
midnight: "tengah malam",
|
| 78 |
+
noon: "tengah hari",
|
| 79 |
+
morning: "pagi",
|
| 80 |
+
afternoon: "siang",
|
| 81 |
+
evening: "sore",
|
| 82 |
+
night: "malam",
|
| 83 |
+
},
|
| 84 |
+
wide: {
|
| 85 |
+
am: "AM",
|
| 86 |
+
pm: "PM",
|
| 87 |
+
midnight: "tengah malam",
|
| 88 |
+
noon: "tengah hari",
|
| 89 |
+
morning: "pagi",
|
| 90 |
+
afternoon: "siang",
|
| 91 |
+
evening: "sore",
|
| 92 |
+
night: "malam",
|
| 93 |
+
},
|
| 94 |
+
};
|
| 95 |
+
|
| 96 |
+
const formattingDayPeriodValues = {
|
| 97 |
+
narrow: {
|
| 98 |
+
am: "AM",
|
| 99 |
+
pm: "PM",
|
| 100 |
+
midnight: "tengah malam",
|
| 101 |
+
noon: "tengah hari",
|
| 102 |
+
morning: "pagi",
|
| 103 |
+
afternoon: "siang",
|
| 104 |
+
evening: "sore",
|
| 105 |
+
night: "malam",
|
| 106 |
+
},
|
| 107 |
+
abbreviated: {
|
| 108 |
+
am: "AM",
|
| 109 |
+
pm: "PM",
|
| 110 |
+
midnight: "tengah malam",
|
| 111 |
+
noon: "tengah hari",
|
| 112 |
+
morning: "pagi",
|
| 113 |
+
afternoon: "siang",
|
| 114 |
+
evening: "sore",
|
| 115 |
+
night: "malam",
|
| 116 |
+
},
|
| 117 |
+
wide: {
|
| 118 |
+
am: "AM",
|
| 119 |
+
pm: "PM",
|
| 120 |
+
midnight: "tengah malam",
|
| 121 |
+
noon: "tengah hari",
|
| 122 |
+
morning: "pagi",
|
| 123 |
+
afternoon: "siang",
|
| 124 |
+
evening: "sore",
|
| 125 |
+
night: "malam",
|
| 126 |
+
},
|
| 127 |
+
};
|
| 128 |
+
|
| 129 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
| 130 |
+
const number = Number(dirtyNumber);
|
| 131 |
+
|
| 132 |
+
// Can't use "pertama", "kedua" because can't be parsed
|
| 133 |
+
|
| 134 |
+
return "ke-" + number;
|
| 135 |
+
};
|
| 136 |
+
|
| 137 |
+
const localize = (exports.localize = {
|
| 138 |
+
ordinalNumber,
|
| 139 |
+
|
| 140 |
+
era: (0, _index.buildLocalizeFn)({
|
| 141 |
+
values: eraValues,
|
| 142 |
+
defaultWidth: "wide",
|
| 143 |
+
}),
|
| 144 |
+
|
| 145 |
+
quarter: (0, _index.buildLocalizeFn)({
|
| 146 |
+
values: quarterValues,
|
| 147 |
+
defaultWidth: "wide",
|
| 148 |
+
argumentCallback: (quarter) => quarter - 1,
|
| 149 |
+
}),
|
| 150 |
+
|
| 151 |
+
month: (0, _index.buildLocalizeFn)({
|
| 152 |
+
values: monthValues,
|
| 153 |
+
defaultWidth: "wide",
|
| 154 |
+
}),
|
| 155 |
+
|
| 156 |
+
day: (0, _index.buildLocalizeFn)({
|
| 157 |
+
values: dayValues,
|
| 158 |
+
defaultWidth: "wide",
|
| 159 |
+
}),
|
| 160 |
+
|
| 161 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
| 162 |
+
values: dayPeriodValues,
|
| 163 |
+
defaultWidth: "wide",
|
| 164 |
+
formattingValues: formattingDayPeriodValues,
|
| 165 |
+
defaultFormattingWidth: "wide",
|
| 166 |
+
}),
|
| 167 |
+
});
|
node_modules/date-fns/locale/id/_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/id/_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/id/_lib/localize.js
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.js";
|
| 2 |
+
|
| 3 |
+
// All data for localization are taken from this page
|
| 4 |
+
// https://www.unicode.org/cldr/charts/32/summary/id.html
|
| 5 |
+
const eraValues = {
|
| 6 |
+
narrow: ["SM", "M"],
|
| 7 |
+
abbreviated: ["SM", "M"],
|
| 8 |
+
wide: ["Sebelum Masehi", "Masehi"],
|
| 9 |
+
};
|
| 10 |
+
|
| 11 |
+
const quarterValues = {
|
| 12 |
+
narrow: ["1", "2", "3", "4"],
|
| 13 |
+
abbreviated: ["K1", "K2", "K3", "K4"],
|
| 14 |
+
wide: ["Kuartal ke-1", "Kuartal ke-2", "Kuartal ke-3", "Kuartal ke-4"],
|
| 15 |
+
};
|
| 16 |
+
|
| 17 |
+
// Note: in Indonesian, the names of days of the week and months are capitalized.
|
| 18 |
+
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
|
| 19 |
+
// Generally, formatted dates should look like they are in the middle of a sentence,
|
| 20 |
+
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
| 21 |
+
const monthValues = {
|
| 22 |
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
|
| 23 |
+
abbreviated: [
|
| 24 |
+
"Jan",
|
| 25 |
+
"Feb",
|
| 26 |
+
"Mar",
|
| 27 |
+
"Apr",
|
| 28 |
+
"Mei",
|
| 29 |
+
"Jun",
|
| 30 |
+
"Jul",
|
| 31 |
+
"Agt",
|
| 32 |
+
"Sep",
|
| 33 |
+
"Okt",
|
| 34 |
+
"Nov",
|
| 35 |
+
"Des",
|
| 36 |
+
],
|
| 37 |
+
|
| 38 |
+
wide: [
|
| 39 |
+
"Januari",
|
| 40 |
+
"Februari",
|
| 41 |
+
"Maret",
|
| 42 |
+
"April",
|
| 43 |
+
"Mei",
|
| 44 |
+
"Juni",
|
| 45 |
+
"Juli",
|
| 46 |
+
"Agustus",
|
| 47 |
+
"September",
|
| 48 |
+
"Oktober",
|
| 49 |
+
"November",
|
| 50 |
+
"Desember",
|
| 51 |
+
],
|
| 52 |
+
};
|
| 53 |
+
|
| 54 |
+
const dayValues = {
|
| 55 |
+
narrow: ["M", "S", "S", "R", "K", "J", "S"],
|
| 56 |
+
short: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
|
| 57 |
+
abbreviated: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
|
| 58 |
+
wide: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"],
|
| 59 |
+
};
|
| 60 |
+
|
| 61 |
+
const dayPeriodValues = {
|
| 62 |
+
narrow: {
|
| 63 |
+
am: "AM",
|
| 64 |
+
pm: "PM",
|
| 65 |
+
midnight: "tengah malam",
|
| 66 |
+
noon: "tengah hari",
|
| 67 |
+
morning: "pagi",
|
| 68 |
+
afternoon: "siang",
|
| 69 |
+
evening: "sore",
|
| 70 |
+
night: "malam",
|
| 71 |
+
},
|
| 72 |
+
abbreviated: {
|
| 73 |
+
am: "AM",
|
| 74 |
+
pm: "PM",
|
| 75 |
+
midnight: "tengah malam",
|
| 76 |
+
noon: "tengah hari",
|
| 77 |
+
morning: "pagi",
|
| 78 |
+
afternoon: "siang",
|
| 79 |
+
evening: "sore",
|
| 80 |
+
night: "malam",
|
| 81 |
+
},
|
| 82 |
+
wide: {
|
| 83 |
+
am: "AM",
|
| 84 |
+
pm: "PM",
|
| 85 |
+
midnight: "tengah malam",
|
| 86 |
+
noon: "tengah hari",
|
| 87 |
+
morning: "pagi",
|
| 88 |
+
afternoon: "siang",
|
| 89 |
+
evening: "sore",
|
| 90 |
+
night: "malam",
|
| 91 |
+
},
|
| 92 |
+
};
|
| 93 |
+
|
| 94 |
+
const formattingDayPeriodValues = {
|
| 95 |
+
narrow: {
|
| 96 |
+
am: "AM",
|
| 97 |
+
pm: "PM",
|
| 98 |
+
midnight: "tengah malam",
|
| 99 |
+
noon: "tengah hari",
|
| 100 |
+
morning: "pagi",
|
| 101 |
+
afternoon: "siang",
|
| 102 |
+
evening: "sore",
|
| 103 |
+
night: "malam",
|
| 104 |
+
},
|
| 105 |
+
abbreviated: {
|
| 106 |
+
am: "AM",
|
| 107 |
+
pm: "PM",
|
| 108 |
+
midnight: "tengah malam",
|
| 109 |
+
noon: "tengah hari",
|
| 110 |
+
morning: "pagi",
|
| 111 |
+
afternoon: "siang",
|
| 112 |
+
evening: "sore",
|
| 113 |
+
night: "malam",
|
| 114 |
+
},
|
| 115 |
+
wide: {
|
| 116 |
+
am: "AM",
|
| 117 |
+
pm: "PM",
|
| 118 |
+
midnight: "tengah malam",
|
| 119 |
+
noon: "tengah hari",
|
| 120 |
+
morning: "pagi",
|
| 121 |
+
afternoon: "siang",
|
| 122 |
+
evening: "sore",
|
| 123 |
+
night: "malam",
|
| 124 |
+
},
|
| 125 |
+
};
|
| 126 |
+
|
| 127 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
| 128 |
+
const number = Number(dirtyNumber);
|
| 129 |
+
|
| 130 |
+
// Can't use "pertama", "kedua" because can't be parsed
|
| 131 |
+
|
| 132 |
+
return "ke-" + number;
|
| 133 |
+
};
|
| 134 |
+
|
| 135 |
+
export const localize = {
|
| 136 |
+
ordinalNumber,
|
| 137 |
+
|
| 138 |
+
era: buildLocalizeFn({
|
| 139 |
+
values: eraValues,
|
| 140 |
+
defaultWidth: "wide",
|
| 141 |
+
}),
|
| 142 |
+
|
| 143 |
+
quarter: buildLocalizeFn({
|
| 144 |
+
values: quarterValues,
|
| 145 |
+
defaultWidth: "wide",
|
| 146 |
+
argumentCallback: (quarter) => quarter - 1,
|
| 147 |
+
}),
|
| 148 |
+
|
| 149 |
+
month: buildLocalizeFn({
|
| 150 |
+
values: monthValues,
|
| 151 |
+
defaultWidth: "wide",
|
| 152 |
+
}),
|
| 153 |
+
|
| 154 |
+
day: buildLocalizeFn({
|
| 155 |
+
values: dayValues,
|
| 156 |
+
defaultWidth: "wide",
|
| 157 |
+
}),
|
| 158 |
+
|
| 159 |
+
dayPeriod: buildLocalizeFn({
|
| 160 |
+
values: dayPeriodValues,
|
| 161 |
+
defaultWidth: "wide",
|
| 162 |
+
formattingValues: formattingDayPeriodValues,
|
| 163 |
+
defaultFormattingWidth: "wide",
|
| 164 |
+
}),
|
| 165 |
+
};
|
node_modules/date-fns/locale/id/_lib/match.cjs
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 = /^ke-(\d+)?/i;
|
| 8 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
| 9 |
+
|
| 10 |
+
const matchEraPatterns = {
|
| 11 |
+
narrow: /^(sm|m)/i,
|
| 12 |
+
abbreviated: /^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,
|
| 13 |
+
wide: /^(sebelum masehi|sebelum era umum|masehi|era umum)/i,
|
| 14 |
+
};
|
| 15 |
+
const parseEraPatterns = {
|
| 16 |
+
any: [/^s/i, /^(m|e)/i],
|
| 17 |
+
};
|
| 18 |
+
|
| 19 |
+
const matchQuarterPatterns = {
|
| 20 |
+
narrow: /^[1234]/i,
|
| 21 |
+
abbreviated: /^K-?\s[1234]/i,
|
| 22 |
+
wide: /^Kuartal ke-?\s?[1234]/i,
|
| 23 |
+
};
|
| 24 |
+
const parseQuarterPatterns = {
|
| 25 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
const matchMonthPatterns = {
|
| 29 |
+
narrow: /^[jfmasond]/i,
|
| 30 |
+
abbreviated: /^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,
|
| 31 |
+
wide: /^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i,
|
| 32 |
+
};
|
| 33 |
+
const parseMonthPatterns = {
|
| 34 |
+
narrow: [
|
| 35 |
+
/^j/i,
|
| 36 |
+
/^f/i,
|
| 37 |
+
/^m/i,
|
| 38 |
+
/^a/i,
|
| 39 |
+
/^m/i,
|
| 40 |
+
/^j/i,
|
| 41 |
+
/^j/i,
|
| 42 |
+
/^a/i,
|
| 43 |
+
/^s/i,
|
| 44 |
+
/^o/i,
|
| 45 |
+
/^n/i,
|
| 46 |
+
/^d/i,
|
| 47 |
+
],
|
| 48 |
+
|
| 49 |
+
any: [
|
| 50 |
+
/^ja/i,
|
| 51 |
+
/^f/i,
|
| 52 |
+
/^ma/i,
|
| 53 |
+
/^ap/i,
|
| 54 |
+
/^me/i,
|
| 55 |
+
/^jun/i,
|
| 56 |
+
/^jul/i,
|
| 57 |
+
/^ag/i,
|
| 58 |
+
/^s/i,
|
| 59 |
+
/^o/i,
|
| 60 |
+
/^n/i,
|
| 61 |
+
/^d/i,
|
| 62 |
+
],
|
| 63 |
+
};
|
| 64 |
+
|
| 65 |
+
const matchDayPatterns = {
|
| 66 |
+
narrow: /^[srkjm]/i,
|
| 67 |
+
short: /^(min|sen|sel|rab|kam|jum|sab)/i,
|
| 68 |
+
abbreviated: /^(min|sen|sel|rab|kam|jum|sab)/i,
|
| 69 |
+
wide: /^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i,
|
| 70 |
+
};
|
| 71 |
+
const parseDayPatterns = {
|
| 72 |
+
narrow: [/^m/i, /^s/i, /^s/i, /^r/i, /^k/i, /^j/i, /^s/i],
|
| 73 |
+
any: [/^m/i, /^sen/i, /^sel/i, /^r/i, /^k/i, /^j/i, /^sa/i],
|
| 74 |
+
};
|
| 75 |
+
|
| 76 |
+
const matchDayPeriodPatterns = {
|
| 77 |
+
narrow: /^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,
|
| 78 |
+
any: /^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i,
|
| 79 |
+
};
|
| 80 |
+
const parseDayPeriodPatterns = {
|
| 81 |
+
any: {
|
| 82 |
+
am: /^a/i,
|
| 83 |
+
pm: /^pm/i,
|
| 84 |
+
midnight: /^tengah m/i,
|
| 85 |
+
noon: /^tengah h/i,
|
| 86 |
+
morning: /pagi/i,
|
| 87 |
+
afternoon: /siang/i,
|
| 88 |
+
evening: /sore/i,
|
| 89 |
+
night: /malam/i,
|
| 90 |
+
},
|
| 91 |
+
};
|
| 92 |
+
|
| 93 |
+
const match = (exports.match = {
|
| 94 |
+
ordinalNumber: (0, _index2.buildMatchPatternFn)({
|
| 95 |
+
matchPattern: matchOrdinalNumberPattern,
|
| 96 |
+
parsePattern: parseOrdinalNumberPattern,
|
| 97 |
+
valueCallback: (value) => parseInt(value, 10),
|
| 98 |
+
}),
|
| 99 |
+
|
| 100 |
+
era: (0, _index.buildMatchFn)({
|
| 101 |
+
matchPatterns: matchEraPatterns,
|
| 102 |
+
defaultMatchWidth: "wide",
|
| 103 |
+
parsePatterns: parseEraPatterns,
|
| 104 |
+
defaultParseWidth: "any",
|
| 105 |
+
}),
|
| 106 |
+
|
| 107 |
+
quarter: (0, _index.buildMatchFn)({
|
| 108 |
+
matchPatterns: matchQuarterPatterns,
|
| 109 |
+
defaultMatchWidth: "wide",
|
| 110 |
+
parsePatterns: parseQuarterPatterns,
|
| 111 |
+
defaultParseWidth: "any",
|
| 112 |
+
valueCallback: (index) => index + 1,
|
| 113 |
+
}),
|
| 114 |
+
|
| 115 |
+
month: (0, _index.buildMatchFn)({
|
| 116 |
+
matchPatterns: matchMonthPatterns,
|
| 117 |
+
defaultMatchWidth: "wide",
|
| 118 |
+
parsePatterns: parseMonthPatterns,
|
| 119 |
+
defaultParseWidth: "any",
|
| 120 |
+
}),
|
| 121 |
+
|
| 122 |
+
day: (0, _index.buildMatchFn)({
|
| 123 |
+
matchPatterns: matchDayPatterns,
|
| 124 |
+
defaultMatchWidth: "wide",
|
| 125 |
+
parsePatterns: parseDayPatterns,
|
| 126 |
+
defaultParseWidth: "any",
|
| 127 |
+
}),
|
| 128 |
+
|
| 129 |
+
dayPeriod: (0, _index.buildMatchFn)({
|
| 130 |
+
matchPatterns: matchDayPeriodPatterns,
|
| 131 |
+
defaultMatchWidth: "any",
|
| 132 |
+
parsePatterns: parseDayPeriodPatterns,
|
| 133 |
+
defaultParseWidth: "any",
|
| 134 |
+
}),
|
| 135 |
+
});
|
node_modules/date-fns/locale/id/_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/id/_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/id/_lib/match.js
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { buildMatchFn } from "../../_lib/buildMatchFn.js";
|
| 2 |
+
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.js";
|
| 3 |
+
|
| 4 |
+
const matchOrdinalNumberPattern = /^ke-(\d+)?/i;
|
| 5 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
| 6 |
+
|
| 7 |
+
const matchEraPatterns = {
|
| 8 |
+
narrow: /^(sm|m)/i,
|
| 9 |
+
abbreviated: /^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,
|
| 10 |
+
wide: /^(sebelum masehi|sebelum era umum|masehi|era umum)/i,
|
| 11 |
+
};
|
| 12 |
+
const parseEraPatterns = {
|
| 13 |
+
any: [/^s/i, /^(m|e)/i],
|
| 14 |
+
};
|
| 15 |
+
|
| 16 |
+
const matchQuarterPatterns = {
|
| 17 |
+
narrow: /^[1234]/i,
|
| 18 |
+
abbreviated: /^K-?\s[1234]/i,
|
| 19 |
+
wide: /^Kuartal ke-?\s?[1234]/i,
|
| 20 |
+
};
|
| 21 |
+
const parseQuarterPatterns = {
|
| 22 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
| 23 |
+
};
|
| 24 |
+
|
| 25 |
+
const matchMonthPatterns = {
|
| 26 |
+
narrow: /^[jfmasond]/i,
|
| 27 |
+
abbreviated: /^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,
|
| 28 |
+
wide: /^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i,
|
| 29 |
+
};
|
| 30 |
+
const parseMonthPatterns = {
|
| 31 |
+
narrow: [
|
| 32 |
+
/^j/i,
|
| 33 |
+
/^f/i,
|
| 34 |
+
/^m/i,
|
| 35 |
+
/^a/i,
|
| 36 |
+
/^m/i,
|
| 37 |
+
/^j/i,
|
| 38 |
+
/^j/i,
|
| 39 |
+
/^a/i,
|
| 40 |
+
/^s/i,
|
| 41 |
+
/^o/i,
|
| 42 |
+
/^n/i,
|
| 43 |
+
/^d/i,
|
| 44 |
+
],
|
| 45 |
+
|
| 46 |
+
any: [
|
| 47 |
+
/^ja/i,
|
| 48 |
+
/^f/i,
|
| 49 |
+
/^ma/i,
|
| 50 |
+
/^ap/i,
|
| 51 |
+
/^me/i,
|
| 52 |
+
/^jun/i,
|
| 53 |
+
/^jul/i,
|
| 54 |
+
/^ag/i,
|
| 55 |
+
/^s/i,
|
| 56 |
+
/^o/i,
|
| 57 |
+
/^n/i,
|
| 58 |
+
/^d/i,
|
| 59 |
+
],
|
| 60 |
+
};
|
| 61 |
+
|
| 62 |
+
const matchDayPatterns = {
|
| 63 |
+
narrow: /^[srkjm]/i,
|
| 64 |
+
short: /^(min|sen|sel|rab|kam|jum|sab)/i,
|
| 65 |
+
abbreviated: /^(min|sen|sel|rab|kam|jum|sab)/i,
|
| 66 |
+
wide: /^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i,
|
| 67 |
+
};
|
| 68 |
+
const parseDayPatterns = {
|
| 69 |
+
narrow: [/^m/i, /^s/i, /^s/i, /^r/i, /^k/i, /^j/i, /^s/i],
|
| 70 |
+
any: [/^m/i, /^sen/i, /^sel/i, /^r/i, /^k/i, /^j/i, /^sa/i],
|
| 71 |
+
};
|
| 72 |
+
|
| 73 |
+
const matchDayPeriodPatterns = {
|
| 74 |
+
narrow: /^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,
|
| 75 |
+
any: /^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i,
|
| 76 |
+
};
|
| 77 |
+
const parseDayPeriodPatterns = {
|
| 78 |
+
any: {
|
| 79 |
+
am: /^a/i,
|
| 80 |
+
pm: /^pm/i,
|
| 81 |
+
midnight: /^tengah m/i,
|
| 82 |
+
noon: /^tengah h/i,
|
| 83 |
+
morning: /pagi/i,
|
| 84 |
+
afternoon: /siang/i,
|
| 85 |
+
evening: /sore/i,
|
| 86 |
+
night: /malam/i,
|
| 87 |
+
},
|
| 88 |
+
};
|
| 89 |
+
|
| 90 |
+
export const match = {
|
| 91 |
+
ordinalNumber: buildMatchPatternFn({
|
| 92 |
+
matchPattern: matchOrdinalNumberPattern,
|
| 93 |
+
parsePattern: parseOrdinalNumberPattern,
|
| 94 |
+
valueCallback: (value) => parseInt(value, 10),
|
| 95 |
+
}),
|
| 96 |
+
|
| 97 |
+
era: buildMatchFn({
|
| 98 |
+
matchPatterns: matchEraPatterns,
|
| 99 |
+
defaultMatchWidth: "wide",
|
| 100 |
+
parsePatterns: parseEraPatterns,
|
| 101 |
+
defaultParseWidth: "any",
|
| 102 |
+
}),
|
| 103 |
+
|
| 104 |
+
quarter: buildMatchFn({
|
| 105 |
+
matchPatterns: matchQuarterPatterns,
|
| 106 |
+
defaultMatchWidth: "wide",
|
| 107 |
+
parsePatterns: parseQuarterPatterns,
|
| 108 |
+
defaultParseWidth: "any",
|
| 109 |
+
valueCallback: (index) => index + 1,
|
| 110 |
+
}),
|
| 111 |
+
|
| 112 |
+
month: buildMatchFn({
|
| 113 |
+
matchPatterns: matchMonthPatterns,
|
| 114 |
+
defaultMatchWidth: "wide",
|
| 115 |
+
parsePatterns: parseMonthPatterns,
|
| 116 |
+
defaultParseWidth: "any",
|
| 117 |
+
}),
|
| 118 |
+
|
| 119 |
+
day: buildMatchFn({
|
| 120 |
+
matchPatterns: matchDayPatterns,
|
| 121 |
+
defaultMatchWidth: "wide",
|
| 122 |
+
parsePatterns: parseDayPatterns,
|
| 123 |
+
defaultParseWidth: "any",
|
| 124 |
+
}),
|
| 125 |
+
|
| 126 |
+
dayPeriod: buildMatchFn({
|
| 127 |
+
matchPatterns: matchDayPeriodPatterns,
|
| 128 |
+
defaultMatchWidth: "any",
|
| 129 |
+
parsePatterns: parseDayPeriodPatterns,
|
| 130 |
+
defaultParseWidth: "any",
|
| 131 |
+
}),
|
| 132 |
+
};
|
node_modules/date-fns/locale/id/cdn.js
ADDED
|
@@ -0,0 +1,576 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/id/_lib/formatDistance.js
|
| 3 |
+
var formatDistanceLocale = {
|
| 4 |
+
lessThanXSeconds: {
|
| 5 |
+
one: "kurang dari 1 detik",
|
| 6 |
+
other: "kurang dari {{count}} detik"
|
| 7 |
+
},
|
| 8 |
+
xSeconds: {
|
| 9 |
+
one: "1 detik",
|
| 10 |
+
other: "{{count}} detik"
|
| 11 |
+
},
|
| 12 |
+
halfAMinute: "setengah menit",
|
| 13 |
+
lessThanXMinutes: {
|
| 14 |
+
one: "kurang dari 1 menit",
|
| 15 |
+
other: "kurang dari {{count}} menit"
|
| 16 |
+
},
|
| 17 |
+
xMinutes: {
|
| 18 |
+
one: "1 menit",
|
| 19 |
+
other: "{{count}} menit"
|
| 20 |
+
},
|
| 21 |
+
aboutXHours: {
|
| 22 |
+
one: "sekitar 1 jam",
|
| 23 |
+
other: "sekitar {{count}} jam"
|
| 24 |
+
},
|
| 25 |
+
xHours: {
|
| 26 |
+
one: "1 jam",
|
| 27 |
+
other: "{{count}} jam"
|
| 28 |
+
},
|
| 29 |
+
xDays: {
|
| 30 |
+
one: "1 hari",
|
| 31 |
+
other: "{{count}} hari"
|
| 32 |
+
},
|
| 33 |
+
aboutXWeeks: {
|
| 34 |
+
one: "sekitar 1 minggu",
|
| 35 |
+
other: "sekitar {{count}} minggu"
|
| 36 |
+
},
|
| 37 |
+
xWeeks: {
|
| 38 |
+
one: "1 minggu",
|
| 39 |
+
other: "{{count}} minggu"
|
| 40 |
+
},
|
| 41 |
+
aboutXMonths: {
|
| 42 |
+
one: "sekitar 1 bulan",
|
| 43 |
+
other: "sekitar {{count}} bulan"
|
| 44 |
+
},
|
| 45 |
+
xMonths: {
|
| 46 |
+
one: "1 bulan",
|
| 47 |
+
other: "{{count}} bulan"
|
| 48 |
+
},
|
| 49 |
+
aboutXYears: {
|
| 50 |
+
one: "sekitar 1 tahun",
|
| 51 |
+
other: "sekitar {{count}} tahun"
|
| 52 |
+
},
|
| 53 |
+
xYears: {
|
| 54 |
+
one: "1 tahun",
|
| 55 |
+
other: "{{count}} tahun"
|
| 56 |
+
},
|
| 57 |
+
overXYears: {
|
| 58 |
+
one: "lebih dari 1 tahun",
|
| 59 |
+
other: "lebih dari {{count}} tahun"
|
| 60 |
+
},
|
| 61 |
+
almostXYears: {
|
| 62 |
+
one: "hampir 1 tahun",
|
| 63 |
+
other: "hampir {{count}} tahun"
|
| 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 "dalam waktu " + result;else
|
| 73 |
+
return result + " yang lalu";
|
| 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: "d/M/yyyy"
|
| 91 |
+
},
|
| 92 |
+
defaultWidth: "full"
|
| 93 |
+
}),
|
| 94 |
+
time: buildFormatLongFn({
|
| 95 |
+
formats: {
|
| 96 |
+
full: "HH.mm.ss",
|
| 97 |
+
long: "HH.mm.ss",
|
| 98 |
+
medium: "HH.mm",
|
| 99 |
+
short: "HH.mm"
|
| 100 |
+
},
|
| 101 |
+
defaultWidth: "full"
|
| 102 |
+
}),
|
| 103 |
+
dateTime: buildFormatLongFn({
|
| 104 |
+
formats: {
|
| 105 |
+
full: "{{date}} 'pukul' {{time}}",
|
| 106 |
+
long: "{{date}} 'pukul' {{time}}",
|
| 107 |
+
medium: "{{date}}, {{time}}",
|
| 108 |
+
short: "{{date}}, {{time}}"
|
| 109 |
+
},
|
| 110 |
+
defaultWidth: "full"
|
| 111 |
+
})
|
| 112 |
+
};
|
| 113 |
+
//#endregion
|
| 114 |
+
//#region dist/date-fns/locale/id/_lib/formatRelative.js
|
| 115 |
+
var formatRelativeLocale = {
|
| 116 |
+
lastWeek: "eeee 'lalu pukul' p",
|
| 117 |
+
yesterday: "'Kemarin pukul' p",
|
| 118 |
+
today: "'Hari ini pukul' p",
|
| 119 |
+
tomorrow: "'Besok pukul' p",
|
| 120 |
+
nextWeek: "eeee 'pukul' 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/id/_lib/localize.js
|
| 176 |
+
var eraValues = {
|
| 177 |
+
narrow: ["SM", "M"],
|
| 178 |
+
abbreviated: ["SM", "M"],
|
| 179 |
+
wide: ["Sebelum Masehi", "Masehi"]
|
| 180 |
+
};
|
| 181 |
+
var quarterValues = {
|
| 182 |
+
narrow: [
|
| 183 |
+
"1",
|
| 184 |
+
"2",
|
| 185 |
+
"3",
|
| 186 |
+
"4"],
|
| 187 |
+
|
| 188 |
+
abbreviated: [
|
| 189 |
+
"K1",
|
| 190 |
+
"K2",
|
| 191 |
+
"K3",
|
| 192 |
+
"K4"],
|
| 193 |
+
|
| 194 |
+
wide: [
|
| 195 |
+
"Kuartal ke-1",
|
| 196 |
+
"Kuartal ke-2",
|
| 197 |
+
"Kuartal ke-3",
|
| 198 |
+
"Kuartal ke-4"]
|
| 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 |
+
"Mei",
|
| 222 |
+
"Jun",
|
| 223 |
+
"Jul",
|
| 224 |
+
"Agt",
|
| 225 |
+
"Sep",
|
| 226 |
+
"Okt",
|
| 227 |
+
"Nov",
|
| 228 |
+
"Des"],
|
| 229 |
+
|
| 230 |
+
wide: [
|
| 231 |
+
"Januari",
|
| 232 |
+
"Februari",
|
| 233 |
+
"Maret",
|
| 234 |
+
"April",
|
| 235 |
+
"Mei",
|
| 236 |
+
"Juni",
|
| 237 |
+
"Juli",
|
| 238 |
+
"Agustus",
|
| 239 |
+
"September",
|
| 240 |
+
"Oktober",
|
| 241 |
+
"November",
|
| 242 |
+
"Desember"]
|
| 243 |
+
|
| 244 |
+
};
|
| 245 |
+
var dayValues = {
|
| 246 |
+
narrow: [
|
| 247 |
+
"M",
|
| 248 |
+
"S",
|
| 249 |
+
"S",
|
| 250 |
+
"R",
|
| 251 |
+
"K",
|
| 252 |
+
"J",
|
| 253 |
+
"S"],
|
| 254 |
+
|
| 255 |
+
short: [
|
| 256 |
+
"Min",
|
| 257 |
+
"Sen",
|
| 258 |
+
"Sel",
|
| 259 |
+
"Rab",
|
| 260 |
+
"Kam",
|
| 261 |
+
"Jum",
|
| 262 |
+
"Sab"],
|
| 263 |
+
|
| 264 |
+
abbreviated: [
|
| 265 |
+
"Min",
|
| 266 |
+
"Sen",
|
| 267 |
+
"Sel",
|
| 268 |
+
"Rab",
|
| 269 |
+
"Kam",
|
| 270 |
+
"Jum",
|
| 271 |
+
"Sab"],
|
| 272 |
+
|
| 273 |
+
wide: [
|
| 274 |
+
"Minggu",
|
| 275 |
+
"Senin",
|
| 276 |
+
"Selasa",
|
| 277 |
+
"Rabu",
|
| 278 |
+
"Kamis",
|
| 279 |
+
"Jumat",
|
| 280 |
+
"Sabtu"]
|
| 281 |
+
|
| 282 |
+
};
|
| 283 |
+
var dayPeriodValues = {
|
| 284 |
+
narrow: {
|
| 285 |
+
am: "AM",
|
| 286 |
+
pm: "PM",
|
| 287 |
+
midnight: "tengah malam",
|
| 288 |
+
noon: "tengah hari",
|
| 289 |
+
morning: "pagi",
|
| 290 |
+
afternoon: "siang",
|
| 291 |
+
evening: "sore",
|
| 292 |
+
night: "malam"
|
| 293 |
+
},
|
| 294 |
+
abbreviated: {
|
| 295 |
+
am: "AM",
|
| 296 |
+
pm: "PM",
|
| 297 |
+
midnight: "tengah malam",
|
| 298 |
+
noon: "tengah hari",
|
| 299 |
+
morning: "pagi",
|
| 300 |
+
afternoon: "siang",
|
| 301 |
+
evening: "sore",
|
| 302 |
+
night: "malam"
|
| 303 |
+
},
|
| 304 |
+
wide: {
|
| 305 |
+
am: "AM",
|
| 306 |
+
pm: "PM",
|
| 307 |
+
midnight: "tengah malam",
|
| 308 |
+
noon: "tengah hari",
|
| 309 |
+
morning: "pagi",
|
| 310 |
+
afternoon: "siang",
|
| 311 |
+
evening: "sore",
|
| 312 |
+
night: "malam"
|
| 313 |
+
}
|
| 314 |
+
};
|
| 315 |
+
var formattingDayPeriodValues = {
|
| 316 |
+
narrow: {
|
| 317 |
+
am: "AM",
|
| 318 |
+
pm: "PM",
|
| 319 |
+
midnight: "tengah malam",
|
| 320 |
+
noon: "tengah hari",
|
| 321 |
+
morning: "pagi",
|
| 322 |
+
afternoon: "siang",
|
| 323 |
+
evening: "sore",
|
| 324 |
+
night: "malam"
|
| 325 |
+
},
|
| 326 |
+
abbreviated: {
|
| 327 |
+
am: "AM",
|
| 328 |
+
pm: "PM",
|
| 329 |
+
midnight: "tengah malam",
|
| 330 |
+
noon: "tengah hari",
|
| 331 |
+
morning: "pagi",
|
| 332 |
+
afternoon: "siang",
|
| 333 |
+
evening: "sore",
|
| 334 |
+
night: "malam"
|
| 335 |
+
},
|
| 336 |
+
wide: {
|
| 337 |
+
am: "AM",
|
| 338 |
+
pm: "PM",
|
| 339 |
+
midnight: "tengah malam",
|
| 340 |
+
noon: "tengah hari",
|
| 341 |
+
morning: "pagi",
|
| 342 |
+
afternoon: "siang",
|
| 343 |
+
evening: "sore",
|
| 344 |
+
night: "malam"
|
| 345 |
+
}
|
| 346 |
+
};
|
| 347 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
| 348 |
+
return "ke-" + Number(dirtyNumber);
|
| 349 |
+
};
|
| 350 |
+
var localize = {
|
| 351 |
+
ordinalNumber: ordinalNumber,
|
| 352 |
+
era: buildLocalizeFn({
|
| 353 |
+
values: eraValues,
|
| 354 |
+
defaultWidth: "wide"
|
| 355 |
+
}),
|
| 356 |
+
quarter: buildLocalizeFn({
|
| 357 |
+
values: quarterValues,
|
| 358 |
+
defaultWidth: "wide",
|
| 359 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
| 360 |
+
}),
|
| 361 |
+
month: buildLocalizeFn({
|
| 362 |
+
values: monthValues,
|
| 363 |
+
defaultWidth: "wide"
|
| 364 |
+
}),
|
| 365 |
+
day: buildLocalizeFn({
|
| 366 |
+
values: dayValues,
|
| 367 |
+
defaultWidth: "wide"
|
| 368 |
+
}),
|
| 369 |
+
dayPeriod: buildLocalizeFn({
|
| 370 |
+
values: dayPeriodValues,
|
| 371 |
+
defaultWidth: "wide",
|
| 372 |
+
formattingValues: formattingDayPeriodValues,
|
| 373 |
+
defaultFormattingWidth: "wide"
|
| 374 |
+
})
|
| 375 |
+
};
|
| 376 |
+
//#endregion
|
| 377 |
+
//#region dist/date-fns/locale/_lib/buildMatchFn.js
|
| 378 |
+
function buildMatchFn(args) {
|
| 379 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
| 380 |
+
var width = options.width;
|
| 381 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
| 382 |
+
var matchResult = string.match(matchPattern);
|
| 383 |
+
if (!matchResult) return null;
|
| 384 |
+
var matchedString = matchResult[0];
|
| 385 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
| 386 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
| 387 |
+
var value;
|
| 388 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
| 389 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
| 390 |
+
var rest = string.slice(matchedString.length);
|
| 391 |
+
return {
|
| 392 |
+
value: value,
|
| 393 |
+
rest: rest
|
| 394 |
+
};
|
| 395 |
+
};
|
| 396 |
+
}
|
| 397 |
+
function findKey(object, predicate) {
|
| 398 |
+
for (var key in object) if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) return key;
|
| 399 |
+
}
|
| 400 |
+
function findIndex(array, predicate) {
|
| 401 |
+
for (var key = 0; key < array.length; key++) if (predicate(array[key])) return key;
|
| 402 |
+
}
|
| 403 |
+
//#endregion
|
| 404 |
+
//#region dist/date-fns/locale/_lib/buildMatchPatternFn.js
|
| 405 |
+
function buildMatchPatternFn(args) {
|
| 406 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
| 407 |
+
var matchResult = string.match(args.matchPattern);
|
| 408 |
+
if (!matchResult) return null;
|
| 409 |
+
var matchedString = matchResult[0];
|
| 410 |
+
var parseResult = string.match(args.parsePattern);
|
| 411 |
+
if (!parseResult) return null;
|
| 412 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
| 413 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
| 414 |
+
var rest = string.slice(matchedString.length);
|
| 415 |
+
return {
|
| 416 |
+
value: value,
|
| 417 |
+
rest: rest
|
| 418 |
+
};
|
| 419 |
+
};
|
| 420 |
+
}
|
| 421 |
+
//#endregion
|
| 422 |
+
//#region dist/date-fns/locale/id.js
|
| 423 |
+
/**
|
| 424 |
+
* @category Locales
|
| 425 |
+
* @summary Indonesian locale.
|
| 426 |
+
* @language Indonesian
|
| 427 |
+
* @iso-639-2 ind
|
| 428 |
+
* @author Rahmat Budiharso [@rbudiharso](https://github.com/rbudiharso)
|
| 429 |
+
* @author Benget Nata [@bentinata](https://github.com/bentinata)
|
| 430 |
+
* @author Budi Irawan [@deerawan](https://github.com/deerawan)
|
| 431 |
+
* @author Try Ajitiono [@imballinst](https://github.com/imballinst)
|
| 432 |
+
*/
|
| 433 |
+
var id = {
|
| 434 |
+
code: "id",
|
| 435 |
+
formatDistance: formatDistance,
|
| 436 |
+
formatLong: formatLong,
|
| 437 |
+
formatRelative: formatRelative,
|
| 438 |
+
localize: localize,
|
| 439 |
+
match: {
|
| 440 |
+
ordinalNumber: buildMatchPatternFn({
|
| 441 |
+
matchPattern: /^ke-(\d+)?/i,
|
| 442 |
+
parsePattern: /\d+/i,
|
| 443 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
| 444 |
+
}),
|
| 445 |
+
era: buildMatchFn({
|
| 446 |
+
matchPatterns: {
|
| 447 |
+
narrow: /^(sm|m)/i,
|
| 448 |
+
abbreviated: /^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,
|
| 449 |
+
wide: /^(sebelum masehi|sebelum era umum|masehi|era umum)/i
|
| 450 |
+
},
|
| 451 |
+
defaultMatchWidth: "wide",
|
| 452 |
+
parsePatterns: { any: [/^s/i, /^(m|e)/i] },
|
| 453 |
+
defaultParseWidth: "any"
|
| 454 |
+
}),
|
| 455 |
+
quarter: buildMatchFn({
|
| 456 |
+
matchPatterns: {
|
| 457 |
+
narrow: /^[1234]/i,
|
| 458 |
+
abbreviated: /^K-?\s[1234]/i,
|
| 459 |
+
wide: /^Kuartal ke-?\s?[1234]/i
|
| 460 |
+
},
|
| 461 |
+
defaultMatchWidth: "wide",
|
| 462 |
+
parsePatterns: { any: [
|
| 463 |
+
/1/i,
|
| 464 |
+
/2/i,
|
| 465 |
+
/3/i,
|
| 466 |
+
/4/i]
|
| 467 |
+
},
|
| 468 |
+
defaultParseWidth: "any",
|
| 469 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
| 470 |
+
}),
|
| 471 |
+
month: buildMatchFn({
|
| 472 |
+
matchPatterns: {
|
| 473 |
+
narrow: /^[jfmasond]/i,
|
| 474 |
+
abbreviated: /^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,
|
| 475 |
+
wide: /^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i
|
| 476 |
+
},
|
| 477 |
+
defaultMatchWidth: "wide",
|
| 478 |
+
parsePatterns: {
|
| 479 |
+
narrow: [
|
| 480 |
+
/^j/i,
|
| 481 |
+
/^f/i,
|
| 482 |
+
/^m/i,
|
| 483 |
+
/^a/i,
|
| 484 |
+
/^m/i,
|
| 485 |
+
/^j/i,
|
| 486 |
+
/^j/i,
|
| 487 |
+
/^a/i,
|
| 488 |
+
/^s/i,
|
| 489 |
+
/^o/i,
|
| 490 |
+
/^n/i,
|
| 491 |
+
/^d/i],
|
| 492 |
+
|
| 493 |
+
any: [
|
| 494 |
+
/^ja/i,
|
| 495 |
+
/^f/i,
|
| 496 |
+
/^ma/i,
|
| 497 |
+
/^ap/i,
|
| 498 |
+
/^me/i,
|
| 499 |
+
/^jun/i,
|
| 500 |
+
/^jul/i,
|
| 501 |
+
/^ag/i,
|
| 502 |
+
/^s/i,
|
| 503 |
+
/^o/i,
|
| 504 |
+
/^n/i,
|
| 505 |
+
/^d/i]
|
| 506 |
+
|
| 507 |
+
},
|
| 508 |
+
defaultParseWidth: "any"
|
| 509 |
+
}),
|
| 510 |
+
day: buildMatchFn({
|
| 511 |
+
matchPatterns: {
|
| 512 |
+
narrow: /^[srkjm]/i,
|
| 513 |
+
short: /^(min|sen|sel|rab|kam|jum|sab)/i,
|
| 514 |
+
abbreviated: /^(min|sen|sel|rab|kam|jum|sab)/i,
|
| 515 |
+
wide: /^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i
|
| 516 |
+
},
|
| 517 |
+
defaultMatchWidth: "wide",
|
| 518 |
+
parsePatterns: {
|
| 519 |
+
narrow: [
|
| 520 |
+
/^m/i,
|
| 521 |
+
/^s/i,
|
| 522 |
+
/^s/i,
|
| 523 |
+
/^r/i,
|
| 524 |
+
/^k/i,
|
| 525 |
+
/^j/i,
|
| 526 |
+
/^s/i],
|
| 527 |
+
|
| 528 |
+
any: [
|
| 529 |
+
/^m/i,
|
| 530 |
+
/^sen/i,
|
| 531 |
+
/^sel/i,
|
| 532 |
+
/^r/i,
|
| 533 |
+
/^k/i,
|
| 534 |
+
/^j/i,
|
| 535 |
+
/^sa/i]
|
| 536 |
+
|
| 537 |
+
},
|
| 538 |
+
defaultParseWidth: "any"
|
| 539 |
+
}),
|
| 540 |
+
dayPeriod: buildMatchFn({
|
| 541 |
+
matchPatterns: {
|
| 542 |
+
narrow: /^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,
|
| 543 |
+
any: /^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i
|
| 544 |
+
},
|
| 545 |
+
defaultMatchWidth: "any",
|
| 546 |
+
parsePatterns: { any: {
|
| 547 |
+
am: /^a/i,
|
| 548 |
+
pm: /^pm/i,
|
| 549 |
+
midnight: /^tengah m/i,
|
| 550 |
+
noon: /^tengah h/i,
|
| 551 |
+
morning: /pagi/i,
|
| 552 |
+
afternoon: /siang/i,
|
| 553 |
+
evening: /sore/i,
|
| 554 |
+
night: /malam/i
|
| 555 |
+
} },
|
| 556 |
+
defaultParseWidth: "any"
|
| 557 |
+
})
|
| 558 |
+
},
|
| 559 |
+
options: {
|
| 560 |
+
weekStartsOn: 1,
|
| 561 |
+
firstWeekContainsDate: 1
|
| 562 |
+
}
|
| 563 |
+
};
|
| 564 |
+
//#endregion
|
| 565 |
+
//#region dist/date-fns/_entries/locale/id/cdn.js
|
| 566 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
| 567 |
+
window.dateFns), {}, {
|
| 568 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
| 569 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
| 570 |
+
id: id }) });
|
| 571 |
+
|
| 572 |
+
|
| 573 |
+
//#endregion
|
| 574 |
+
|
| 575 |
+
console.log("date-fns CDN files have moved to @date-fns/cdn. Please update your URLs. See: https://date-fns.org/docs/CDN");
|
| 576 |
+
})();
|
node_modules/date-fns/locale/id/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:`kurang dari 1 detik`,other:`kurang dari {{count}} detik`},xSeconds:{one:`1 detik`,other:`{{count}} detik`},halfAMinute:`setengah menit`,lessThanXMinutes:{one:`kurang dari 1 menit`,other:`kurang dari {{count}} menit`},xMinutes:{one:`1 menit`,other:`{{count}} menit`},aboutXHours:{one:`sekitar 1 jam`,other:`sekitar {{count}} jam`},xHours:{one:`1 jam`,other:`{{count}} jam`},xDays:{one:`1 hari`,other:`{{count}} hari`},aboutXWeeks:{one:`sekitar 1 minggu`,other:`sekitar {{count}} minggu`},xWeeks:{one:`1 minggu`,other:`{{count}} minggu`},aboutXMonths:{one:`sekitar 1 bulan`,other:`sekitar {{count}} bulan`},xMonths:{one:`1 bulan`,other:`{{count}} bulan`},aboutXYears:{one:`sekitar 1 tahun`,other:`sekitar {{count}} tahun`},xYears:{one:`1 tahun`,other:`{{count}} tahun`},overXYears:{one:`lebih dari 1 tahun`,other:`lebih dari {{count}} tahun`},almostXYears:{one:`hampir 1 tahun`,other:`hampir {{count}} tahun`}},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?`dalam waktu `+r:r+` yang lalu`: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:`d/M/yyyy`},defaultWidth:`full`}),time:c({formats:{full:`HH.mm.ss`,long:`HH.mm.ss`,medium:`HH.mm`,short:`HH.mm`},defaultWidth:`full`}),dateTime:c({formats:{full:`{{date}} 'pukul' {{time}}`,long:`{{date}} 'pukul' {{time}}`,medium:`{{date}}, {{time}}`,short:`{{date}}, {{time}}`},defaultWidth:`full`})},u={lastWeek:`eeee 'lalu pukul' p`,yesterday:`'Kemarin pukul' p`,today:`'Hari ini pukul' p`,tomorrow:`'Besok pukul' p`,nextWeek:`eeee 'pukul' 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){return`ke-`+Number(e)},era:f({values:{narrow:[`SM`,`M`],abbreviated:[`SM`,`M`],wide:[`Sebelum Masehi`,`Masehi`]},defaultWidth:`wide`}),quarter:f({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`K1`,`K2`,`K3`,`K4`],wide:[`Kuartal ke-1`,`Kuartal ke-2`,`Kuartal ke-3`,`Kuartal ke-4`]},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`,`Mei`,`Jun`,`Jul`,`Agt`,`Sep`,`Okt`,`Nov`,`Des`],wide:[`Januari`,`Februari`,`Maret`,`April`,`Mei`,`Juni`,`Juli`,`Agustus`,`September`,`Oktober`,`November`,`Desember`]},defaultWidth:`wide`}),day:f({values:{narrow:[`M`,`S`,`S`,`R`,`K`,`J`,`S`],short:[`Min`,`Sen`,`Sel`,`Rab`,`Kam`,`Jum`,`Sab`],abbreviated:[`Min`,`Sen`,`Sel`,`Rab`,`Kam`,`Jum`,`Sab`],wide:[`Minggu`,`Senin`,`Selasa`,`Rabu`,`Kamis`,`Jumat`,`Sabtu`]},defaultWidth:`wide`}),dayPeriod:f({values:{narrow:{am:`AM`,pm:`PM`,midnight:`tengah malam`,noon:`tengah hari`,morning:`pagi`,afternoon:`siang`,evening:`sore`,night:`malam`},abbreviated:{am:`AM`,pm:`PM`,midnight:`tengah malam`,noon:`tengah hari`,morning:`pagi`,afternoon:`siang`,evening:`sore`,night:`malam`},wide:{am:`AM`,pm:`PM`,midnight:`tengah malam`,noon:`tengah hari`,morning:`pagi`,afternoon:`siang`,evening:`sore`,night:`malam`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`AM`,pm:`PM`,midnight:`tengah malam`,noon:`tengah hari`,morning:`pagi`,afternoon:`siang`,evening:`sore`,night:`malam`},abbreviated:{am:`AM`,pm:`PM`,midnight:`tengah malam`,noon:`tengah hari`,morning:`pagi`,afternoon:`siang`,evening:`sore`,night:`malam`},wide:{am:`AM`,pm:`PM`,midnight:`tengah malam`,noon:`tengah hari`,morning:`pagi`,afternoon:`siang`,evening:`sore`,night:`malam`}},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:`id`,formatDistance:s,formatLong:l,formatRelative:d,localize:p,match:{ordinalNumber:_({matchPattern:/^ke-(\d+)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:m({matchPatterns:{narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^s/i,/^(m|e)/i]},defaultParseWidth:`any`}),quarter:m({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[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:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/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,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:m({matchPatterns:{narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},defaultParseWidth:`any`}),dayPeriod:m({matchPatterns:{narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},defaultParseWidth:`any`})},options:{weekStartsOn:1,firstWeekContainsDate:1}};window.dateFns=n(n({},window.dateFns),{},{locale:n(n({},window.dateFns?.locale),{},{id: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/is.cjs
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.is = void 0;
|
| 3 |
+
var _index = require("./is/_lib/formatDistance.cjs");
|
| 4 |
+
var _index2 = require("./is/_lib/formatLong.cjs");
|
| 5 |
+
var _index3 = require("./is/_lib/formatRelative.cjs");
|
| 6 |
+
var _index4 = require("./is/_lib/localize.cjs");
|
| 7 |
+
var _index5 = require("./is/_lib/match.cjs");
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @category Locales
|
| 11 |
+
* @summary Icelandic locale.
|
| 12 |
+
* @language Icelandic
|
| 13 |
+
* @iso-639-2 isl
|
| 14 |
+
* @author Derek Blank [@derekblank](https://github.com/derekblank)
|
| 15 |
+
* @author Arnór Ýmir [@lamayg](https://github.com/lamayg)
|
| 16 |
+
*/
|
| 17 |
+
const is = (exports.is = {
|
| 18 |
+
code: "is",
|
| 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/is.d.cts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary Icelandic locale.
|
| 5 |
+
* @language Icelandic
|
| 6 |
+
* @iso-639-2 isl
|
| 7 |
+
* @author Derek Blank [@derekblank](https://github.com/derekblank)
|
| 8 |
+
* @author Arnór Ýmir [@lamayg](https://github.com/lamayg)
|
| 9 |
+
*/
|
| 10 |
+
export declare const is: Locale;
|
node_modules/date-fns/locale/is.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary Icelandic locale.
|
| 5 |
+
* @language Icelandic
|
| 6 |
+
* @iso-639-2 isl
|
| 7 |
+
* @author Derek Blank [@derekblank](https://github.com/derekblank)
|
| 8 |
+
* @author Arnór Ýmir [@lamayg](https://github.com/lamayg)
|
| 9 |
+
*/
|
| 10 |
+
export declare const is: Locale;
|
node_modules/date-fns/locale/is.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { formatDistance } from "./is/_lib/formatDistance.js";
|
| 2 |
+
import { formatLong } from "./is/_lib/formatLong.js";
|
| 3 |
+
import { formatRelative } from "./is/_lib/formatRelative.js";
|
| 4 |
+
import { localize } from "./is/_lib/localize.js";
|
| 5 |
+
import { match } from "./is/_lib/match.js";
|
| 6 |
+
|
| 7 |
+
/**
|
| 8 |
+
* @category Locales
|
| 9 |
+
* @summary Icelandic locale.
|
| 10 |
+
* @language Icelandic
|
| 11 |
+
* @iso-639-2 isl
|
| 12 |
+
* @author Derek Blank [@derekblank](https://github.com/derekblank)
|
| 13 |
+
* @author Arnór Ýmir [@lamayg](https://github.com/lamayg)
|
| 14 |
+
*/
|
| 15 |
+
export const is = {
|
| 16 |
+
code: "is",
|
| 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 is;
|
node_modules/date-fns/locale/is/_lib/formatDistance.cjs
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.formatDistance = void 0;
|
| 3 |
+
|
| 4 |
+
const formatDistanceLocale = {
|
| 5 |
+
lessThanXSeconds: {
|
| 6 |
+
one: "minna en 1 sekúnda",
|
| 7 |
+
other: "minna en {{count}} sekúndur",
|
| 8 |
+
},
|
| 9 |
+
|
| 10 |
+
xSeconds: {
|
| 11 |
+
one: "1 sekúnda",
|
| 12 |
+
other: "{{count}} sekúndur",
|
| 13 |
+
},
|
| 14 |
+
|
| 15 |
+
halfAMinute: "hálf mínúta",
|
| 16 |
+
|
| 17 |
+
lessThanXMinutes: {
|
| 18 |
+
one: "minna en 1 mínúta",
|
| 19 |
+
other: "minna en {{count}} mínútur",
|
| 20 |
+
},
|
| 21 |
+
|
| 22 |
+
xMinutes: {
|
| 23 |
+
one: "1 mínúta",
|
| 24 |
+
other: "{{count}} mínútur",
|
| 25 |
+
},
|
| 26 |
+
|
| 27 |
+
aboutXHours: {
|
| 28 |
+
one: "u.þ.b. 1 klukkustund",
|
| 29 |
+
other: "u.þ.b. {{count}} klukkustundir",
|
| 30 |
+
},
|
| 31 |
+
|
| 32 |
+
xHours: {
|
| 33 |
+
one: "1 klukkustund",
|
| 34 |
+
other: "{{count}} klukkustundir",
|
| 35 |
+
},
|
| 36 |
+
|
| 37 |
+
xDays: {
|
| 38 |
+
one: "1 dagur",
|
| 39 |
+
other: "{{count}} dagar",
|
| 40 |
+
},
|
| 41 |
+
|
| 42 |
+
aboutXWeeks: {
|
| 43 |
+
one: "um viku",
|
| 44 |
+
other: "um {{count}} vikur",
|
| 45 |
+
},
|
| 46 |
+
|
| 47 |
+
xWeeks: {
|
| 48 |
+
one: "1 viku",
|
| 49 |
+
other: "{{count}} vikur",
|
| 50 |
+
},
|
| 51 |
+
|
| 52 |
+
aboutXMonths: {
|
| 53 |
+
one: "u.þ.b. 1 mánuður",
|
| 54 |
+
other: "u.þ.b. {{count}} mánuðir",
|
| 55 |
+
},
|
| 56 |
+
|
| 57 |
+
xMonths: {
|
| 58 |
+
one: "1 mánuður",
|
| 59 |
+
other: "{{count}} mánuðir",
|
| 60 |
+
},
|
| 61 |
+
|
| 62 |
+
aboutXYears: {
|
| 63 |
+
one: "u.þ.b. 1 ár",
|
| 64 |
+
other: "u.þ.b. {{count}} ár",
|
| 65 |
+
},
|
| 66 |
+
|
| 67 |
+
xYears: {
|
| 68 |
+
one: "1 ár",
|
| 69 |
+
other: "{{count}} ár",
|
| 70 |
+
},
|
| 71 |
+
|
| 72 |
+
overXYears: {
|
| 73 |
+
one: "meira en 1 ár",
|
| 74 |
+
other: "meira en {{count}} ár",
|
| 75 |
+
},
|
| 76 |
+
|
| 77 |
+
almostXYears: {
|
| 78 |
+
one: "næstum 1 ár",
|
| 79 |
+
other: "næstum {{count}} ár",
|
| 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 "í " + result;
|
| 98 |
+
} else {
|
| 99 |
+
return result + " síðan";
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
return result;
|
| 104 |
+
};
|
| 105 |
+
exports.formatDistance = formatDistance;
|
node_modules/date-fns/locale/is/_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/is/_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/is/_lib/formatDistance.js
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const formatDistanceLocale = {
|
| 2 |
+
lessThanXSeconds: {
|
| 3 |
+
one: "minna en 1 sekúnda",
|
| 4 |
+
other: "minna en {{count}} sekúndur",
|
| 5 |
+
},
|
| 6 |
+
|
| 7 |
+
xSeconds: {
|
| 8 |
+
one: "1 sekúnda",
|
| 9 |
+
other: "{{count}} sekúndur",
|
| 10 |
+
},
|
| 11 |
+
|
| 12 |
+
halfAMinute: "hálf mínúta",
|
| 13 |
+
|
| 14 |
+
lessThanXMinutes: {
|
| 15 |
+
one: "minna en 1 mínúta",
|
| 16 |
+
other: "minna en {{count}} mínútur",
|
| 17 |
+
},
|
| 18 |
+
|
| 19 |
+
xMinutes: {
|
| 20 |
+
one: "1 mínúta",
|
| 21 |
+
other: "{{count}} mínútur",
|
| 22 |
+
},
|
| 23 |
+
|
| 24 |
+
aboutXHours: {
|
| 25 |
+
one: "u.þ.b. 1 klukkustund",
|
| 26 |
+
other: "u.þ.b. {{count}} klukkustundir",
|
| 27 |
+
},
|
| 28 |
+
|
| 29 |
+
xHours: {
|
| 30 |
+
one: "1 klukkustund",
|
| 31 |
+
other: "{{count}} klukkustundir",
|
| 32 |
+
},
|
| 33 |
+
|
| 34 |
+
xDays: {
|
| 35 |
+
one: "1 dagur",
|
| 36 |
+
other: "{{count}} dagar",
|
| 37 |
+
},
|
| 38 |
+
|
| 39 |
+
aboutXWeeks: {
|
| 40 |
+
one: "um viku",
|
| 41 |
+
other: "um {{count}} vikur",
|
| 42 |
+
},
|
| 43 |
+
|
| 44 |
+
xWeeks: {
|
| 45 |
+
one: "1 viku",
|
| 46 |
+
other: "{{count}} vikur",
|
| 47 |
+
},
|
| 48 |
+
|
| 49 |
+
aboutXMonths: {
|
| 50 |
+
one: "u.þ.b. 1 mánuður",
|
| 51 |
+
other: "u.þ.b. {{count}} mánuðir",
|
| 52 |
+
},
|
| 53 |
+
|
| 54 |
+
xMonths: {
|
| 55 |
+
one: "1 mánuður",
|
| 56 |
+
other: "{{count}} mánuðir",
|
| 57 |
+
},
|
| 58 |
+
|
| 59 |
+
aboutXYears: {
|
| 60 |
+
one: "u.þ.b. 1 ár",
|
| 61 |
+
other: "u.þ.b. {{count}} ár",
|
| 62 |
+
},
|
| 63 |
+
|
| 64 |
+
xYears: {
|
| 65 |
+
one: "1 ár",
|
| 66 |
+
other: "{{count}} ár",
|
| 67 |
+
},
|
| 68 |
+
|
| 69 |
+
overXYears: {
|
| 70 |
+
one: "meira en 1 ár",
|
| 71 |
+
other: "meira en {{count}} ár",
|
| 72 |
+
},
|
| 73 |
+
|
| 74 |
+
almostXYears: {
|
| 75 |
+
one: "næstum 1 ár",
|
| 76 |
+
other: "næstum {{count}} ár",
|
| 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}}", count.toString());
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
if (options?.addSuffix) {
|
| 93 |
+
if (options.comparison && options.comparison > 0) {
|
| 94 |
+
return "í " + result;
|
| 95 |
+
} else {
|
| 96 |
+
return result + " síðan";
|
| 97 |
+
}
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
return result;
|
| 101 |
+
};
|
node_modules/date-fns/locale/is/_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, do MMMM y",
|
| 7 |
+
long: "do MMMM y",
|
| 8 |
+
medium: "do MMM y",
|
| 9 |
+
short: "d.MM.y",
|
| 10 |
+
};
|
| 11 |
+
|
| 12 |
+
const timeFormats = {
|
| 13 |
+
full: "'kl'. HH:mm:ss zzzz",
|
| 14 |
+
long: "HH:mm:ss z",
|
| 15 |
+
medium: "HH:mm:ss",
|
| 16 |
+
short: "HH:mm",
|
| 17 |
+
};
|
| 18 |
+
|
| 19 |
+
const dateTimeFormats = {
|
| 20 |
+
full: "{{date}} 'kl.' {{time}}",
|
| 21 |
+
long: "{{date}} 'kl.' {{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/is/_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/is/_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/is/_lib/formatLong.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.js";
|
| 2 |
+
|
| 3 |
+
const dateFormats = {
|
| 4 |
+
full: "EEEE, do MMMM y",
|
| 5 |
+
long: "do MMMM y",
|
| 6 |
+
medium: "do MMM y",
|
| 7 |
+
short: "d.MM.y",
|
| 8 |
+
};
|
| 9 |
+
|
| 10 |
+
const timeFormats = {
|
| 11 |
+
full: "'kl'. HH:mm:ss zzzz",
|
| 12 |
+
long: "HH:mm:ss z",
|
| 13 |
+
medium: "HH:mm:ss",
|
| 14 |
+
short: "HH:mm",
|
| 15 |
+
};
|
| 16 |
+
|
| 17 |
+
const dateTimeFormats = {
|
| 18 |
+
full: "{{date}} 'kl.' {{time}}",
|
| 19 |
+
long: "{{date}} 'kl.' {{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/is/_lib/formatRelative.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.formatRelative = void 0;
|
| 3 |
+
|
| 4 |
+
const formatRelativeLocale = {
|
| 5 |
+
lastWeek: "'síðasta' dddd 'kl.' p",
|
| 6 |
+
yesterday: "'í gær kl.' p",
|
| 7 |
+
today: "'í dag kl.' p",
|
| 8 |
+
tomorrow: "'á morgun kl.' p",
|
| 9 |
+
nextWeek: "dddd 'kl.' p",
|
| 10 |
+
other: "P",
|
| 11 |
+
};
|
| 12 |
+
|
| 13 |
+
const formatRelative = (token, _date, _baseDate, _options) =>
|
| 14 |
+
formatRelativeLocale[token];
|
| 15 |
+
exports.formatRelative = formatRelative;
|
node_modules/date-fns/locale/is/_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/is/_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/is/_lib/formatRelative.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
const formatRelativeLocale = {
|
| 2 |
+
lastWeek: "'síðasta' dddd 'kl.' p",
|
| 3 |
+
yesterday: "'í gær kl.' p",
|
| 4 |
+
today: "'í dag kl.' p",
|
| 5 |
+
tomorrow: "'á morgun kl.' p",
|
| 6 |
+
nextWeek: "dddd 'kl.' p",
|
| 7 |
+
other: "P",
|
| 8 |
+
};
|
| 9 |
+
|
| 10 |
+
export const formatRelative = (token, _date, _baseDate, _options) =>
|
| 11 |
+
formatRelativeLocale[token];
|
node_modules/date-fns/locale/is/_lib/localize.cjs
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.localize = void 0;
|
| 3 |
+
var _index = require("../../_lib/buildLocalizeFn.cjs");
|
| 4 |
+
|
| 5 |
+
const eraValues = {
|
| 6 |
+
narrow: ["f.Kr.", "e.Kr."],
|
| 7 |
+
abbreviated: ["f.Kr.", "e.Kr."],
|
| 8 |
+
wide: ["fyrir Krist", "eftir Krist"],
|
| 9 |
+
};
|
| 10 |
+
|
| 11 |
+
const quarterValues = {
|
| 12 |
+
narrow: ["1", "2", "3", "4"],
|
| 13 |
+
abbreviated: ["1F", "2F", "3F", "4F"],
|
| 14 |
+
wide: ["1. fjórðungur", "2. fjórðungur", "3. fjórðungur", "4. fjórðungur"],
|
| 15 |
+
};
|
| 16 |
+
|
| 17 |
+
const monthValues = {
|
| 18 |
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "Á", "S", "Ó", "N", "D"],
|
| 19 |
+
abbreviated: [
|
| 20 |
+
"jan.",
|
| 21 |
+
"feb.",
|
| 22 |
+
"mars",
|
| 23 |
+
"apríl",
|
| 24 |
+
"maí",
|
| 25 |
+
"júní",
|
| 26 |
+
"júlí",
|
| 27 |
+
"ágúst",
|
| 28 |
+
"sept.",
|
| 29 |
+
"okt.",
|
| 30 |
+
"nóv.",
|
| 31 |
+
"des.",
|
| 32 |
+
],
|
| 33 |
+
|
| 34 |
+
wide: [
|
| 35 |
+
"janúar",
|
| 36 |
+
"febrúar",
|
| 37 |
+
"mars",
|
| 38 |
+
"apríl",
|
| 39 |
+
"maí",
|
| 40 |
+
"júní",
|
| 41 |
+
"júlí",
|
| 42 |
+
"ágúst",
|
| 43 |
+
"september",
|
| 44 |
+
"október",
|
| 45 |
+
"nóvember",
|
| 46 |
+
"desember",
|
| 47 |
+
],
|
| 48 |
+
};
|
| 49 |
+
|
| 50 |
+
const dayValues = {
|
| 51 |
+
narrow: ["S", "M", "Þ", "M", "F", "F", "L"],
|
| 52 |
+
short: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La"],
|
| 53 |
+
abbreviated: ["sun.", "mán.", "þri.", "mið.", "fim.", "fös.", "lau."],
|
| 54 |
+
|
| 55 |
+
wide: [
|
| 56 |
+
"sunnudagur",
|
| 57 |
+
"mánudagur",
|
| 58 |
+
"þriðjudagur",
|
| 59 |
+
"miðvikudagur",
|
| 60 |
+
"fimmtudagur",
|
| 61 |
+
"föstudagur",
|
| 62 |
+
"laugardagur",
|
| 63 |
+
],
|
| 64 |
+
};
|
| 65 |
+
|
| 66 |
+
const dayPeriodValues = {
|
| 67 |
+
narrow: {
|
| 68 |
+
am: "f",
|
| 69 |
+
pm: "e",
|
| 70 |
+
midnight: "miðnætti",
|
| 71 |
+
noon: "hádegi",
|
| 72 |
+
morning: "morgunn",
|
| 73 |
+
afternoon: "síðdegi",
|
| 74 |
+
evening: "kvöld",
|
| 75 |
+
night: "nótt",
|
| 76 |
+
},
|
| 77 |
+
abbreviated: {
|
| 78 |
+
am: "f.h.",
|
| 79 |
+
pm: "e.h.",
|
| 80 |
+
midnight: "miðnætti",
|
| 81 |
+
noon: "hádegi",
|
| 82 |
+
morning: "morgunn",
|
| 83 |
+
afternoon: "síðdegi",
|
| 84 |
+
evening: "kvöld",
|
| 85 |
+
night: "nótt",
|
| 86 |
+
},
|
| 87 |
+
wide: {
|
| 88 |
+
am: "fyrir hádegi",
|
| 89 |
+
pm: "eftir hádegi",
|
| 90 |
+
midnight: "miðnætti",
|
| 91 |
+
noon: "hádegi",
|
| 92 |
+
morning: "morgunn",
|
| 93 |
+
afternoon: "síðdegi",
|
| 94 |
+
evening: "kvöld",
|
| 95 |
+
night: "nótt",
|
| 96 |
+
},
|
| 97 |
+
};
|
| 98 |
+
|
| 99 |
+
const formattingDayPeriodValues = {
|
| 100 |
+
narrow: {
|
| 101 |
+
am: "f",
|
| 102 |
+
pm: "e",
|
| 103 |
+
midnight: "á miðnætti",
|
| 104 |
+
noon: "á hádegi",
|
| 105 |
+
morning: "að morgni",
|
| 106 |
+
afternoon: "síðdegis",
|
| 107 |
+
evening: "um kvöld",
|
| 108 |
+
night: "um nótt",
|
| 109 |
+
},
|
| 110 |
+
abbreviated: {
|
| 111 |
+
am: "f.h.",
|
| 112 |
+
pm: "e.h.",
|
| 113 |
+
midnight: "á miðnætti",
|
| 114 |
+
noon: "á hádegi",
|
| 115 |
+
morning: "að morgni",
|
| 116 |
+
afternoon: "síðdegis",
|
| 117 |
+
evening: "um kvöld",
|
| 118 |
+
night: "um nótt",
|
| 119 |
+
},
|
| 120 |
+
wide: {
|
| 121 |
+
am: "fyrir hádegi",
|
| 122 |
+
pm: "eftir hádegi",
|
| 123 |
+
midnight: "á miðnætti",
|
| 124 |
+
noon: "á hádegi",
|
| 125 |
+
morning: "að morgni",
|
| 126 |
+
afternoon: "síðdegis",
|
| 127 |
+
evening: "um kvöld",
|
| 128 |
+
night: "um nótt",
|
| 129 |
+
},
|
| 130 |
+
};
|
| 131 |
+
|
| 132 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
| 133 |
+
const number = Number(dirtyNumber);
|
| 134 |
+
|
| 135 |
+
return number + ".";
|
| 136 |
+
};
|
| 137 |
+
|
| 138 |
+
const localize = (exports.localize = {
|
| 139 |
+
ordinalNumber,
|
| 140 |
+
|
| 141 |
+
era: (0, _index.buildLocalizeFn)({
|
| 142 |
+
values: eraValues,
|
| 143 |
+
defaultWidth: "wide",
|
| 144 |
+
}),
|
| 145 |
+
|
| 146 |
+
quarter: (0, _index.buildLocalizeFn)({
|
| 147 |
+
values: quarterValues,
|
| 148 |
+
defaultWidth: "wide",
|
| 149 |
+
argumentCallback: (quarter) => quarter - 1,
|
| 150 |
+
}),
|
| 151 |
+
|
| 152 |
+
month: (0, _index.buildLocalizeFn)({
|
| 153 |
+
values: monthValues,
|
| 154 |
+
defaultWidth: "wide",
|
| 155 |
+
}),
|
| 156 |
+
|
| 157 |
+
day: (0, _index.buildLocalizeFn)({
|
| 158 |
+
values: dayValues,
|
| 159 |
+
defaultWidth: "wide",
|
| 160 |
+
}),
|
| 161 |
+
|
| 162 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
| 163 |
+
values: dayPeriodValues,
|
| 164 |
+
defaultWidth: "wide",
|
| 165 |
+
formattingValues: formattingDayPeriodValues,
|
| 166 |
+
defaultFormattingWidth: "wide",
|
| 167 |
+
}),
|
| 168 |
+
});
|
node_modules/date-fns/locale/is/_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/is/_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/is/_lib/localize.js
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.js";
|
| 2 |
+
|
| 3 |
+
const eraValues = {
|
| 4 |
+
narrow: ["f.Kr.", "e.Kr."],
|
| 5 |
+
abbreviated: ["f.Kr.", "e.Kr."],
|
| 6 |
+
wide: ["fyrir Krist", "eftir Krist"],
|
| 7 |
+
};
|
| 8 |
+
|
| 9 |
+
const quarterValues = {
|
| 10 |
+
narrow: ["1", "2", "3", "4"],
|
| 11 |
+
abbreviated: ["1F", "2F", "3F", "4F"],
|
| 12 |
+
wide: ["1. fjórðungur", "2. fjórðungur", "3. fjórðungur", "4. fjórðungur"],
|
| 13 |
+
};
|
| 14 |
+
|
| 15 |
+
const monthValues = {
|
| 16 |
+
narrow: ["J", "F", "M", "A", "M", "J", "J", "Á", "S", "Ó", "N", "D"],
|
| 17 |
+
abbreviated: [
|
| 18 |
+
"jan.",
|
| 19 |
+
"feb.",
|
| 20 |
+
"mars",
|
| 21 |
+
"apríl",
|
| 22 |
+
"maí",
|
| 23 |
+
"júní",
|
| 24 |
+
"júlí",
|
| 25 |
+
"ágúst",
|
| 26 |
+
"sept.",
|
| 27 |
+
"okt.",
|
| 28 |
+
"nóv.",
|
| 29 |
+
"des.",
|
| 30 |
+
],
|
| 31 |
+
|
| 32 |
+
wide: [
|
| 33 |
+
"janúar",
|
| 34 |
+
"febrúar",
|
| 35 |
+
"mars",
|
| 36 |
+
"apríl",
|
| 37 |
+
"maí",
|
| 38 |
+
"júní",
|
| 39 |
+
"júlí",
|
| 40 |
+
"ágúst",
|
| 41 |
+
"september",
|
| 42 |
+
"október",
|
| 43 |
+
"nóvember",
|
| 44 |
+
"desember",
|
| 45 |
+
],
|
| 46 |
+
};
|
| 47 |
+
|
| 48 |
+
const dayValues = {
|
| 49 |
+
narrow: ["S", "M", "Þ", "M", "F", "F", "L"],
|
| 50 |
+
short: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La"],
|
| 51 |
+
abbreviated: ["sun.", "mán.", "þri.", "mið.", "fim.", "fös.", "lau."],
|
| 52 |
+
|
| 53 |
+
wide: [
|
| 54 |
+
"sunnudagur",
|
| 55 |
+
"mánudagur",
|
| 56 |
+
"þriðjudagur",
|
| 57 |
+
"miðvikudagur",
|
| 58 |
+
"fimmtudagur",
|
| 59 |
+
"föstudagur",
|
| 60 |
+
"laugardagur",
|
| 61 |
+
],
|
| 62 |
+
};
|
| 63 |
+
|
| 64 |
+
const dayPeriodValues = {
|
| 65 |
+
narrow: {
|
| 66 |
+
am: "f",
|
| 67 |
+
pm: "e",
|
| 68 |
+
midnight: "miðnætti",
|
| 69 |
+
noon: "hádegi",
|
| 70 |
+
morning: "morgunn",
|
| 71 |
+
afternoon: "síðdegi",
|
| 72 |
+
evening: "kvöld",
|
| 73 |
+
night: "nótt",
|
| 74 |
+
},
|
| 75 |
+
abbreviated: {
|
| 76 |
+
am: "f.h.",
|
| 77 |
+
pm: "e.h.",
|
| 78 |
+
midnight: "miðnætti",
|
| 79 |
+
noon: "hádegi",
|
| 80 |
+
morning: "morgunn",
|
| 81 |
+
afternoon: "síðdegi",
|
| 82 |
+
evening: "kvöld",
|
| 83 |
+
night: "nótt",
|
| 84 |
+
},
|
| 85 |
+
wide: {
|
| 86 |
+
am: "fyrir hádegi",
|
| 87 |
+
pm: "eftir hádegi",
|
| 88 |
+
midnight: "miðnætti",
|
| 89 |
+
noon: "hádegi",
|
| 90 |
+
morning: "morgunn",
|
| 91 |
+
afternoon: "síðdegi",
|
| 92 |
+
evening: "kvöld",
|
| 93 |
+
night: "nótt",
|
| 94 |
+
},
|
| 95 |
+
};
|
| 96 |
+
|
| 97 |
+
const formattingDayPeriodValues = {
|
| 98 |
+
narrow: {
|
| 99 |
+
am: "f",
|
| 100 |
+
pm: "e",
|
| 101 |
+
midnight: "á miðnætti",
|
| 102 |
+
noon: "á hádegi",
|
| 103 |
+
morning: "að morgni",
|
| 104 |
+
afternoon: "síðdegis",
|
| 105 |
+
evening: "um kvöld",
|
| 106 |
+
night: "um nótt",
|
| 107 |
+
},
|
| 108 |
+
abbreviated: {
|
| 109 |
+
am: "f.h.",
|
| 110 |
+
pm: "e.h.",
|
| 111 |
+
midnight: "á miðnætti",
|
| 112 |
+
noon: "á hádegi",
|
| 113 |
+
morning: "að morgni",
|
| 114 |
+
afternoon: "síðdegis",
|
| 115 |
+
evening: "um kvöld",
|
| 116 |
+
night: "um nótt",
|
| 117 |
+
},
|
| 118 |
+
wide: {
|
| 119 |
+
am: "fyrir hádegi",
|
| 120 |
+
pm: "eftir hádegi",
|
| 121 |
+
midnight: "á miðnætti",
|
| 122 |
+
noon: "á hádegi",
|
| 123 |
+
morning: "að morgni",
|
| 124 |
+
afternoon: "síðdegis",
|
| 125 |
+
evening: "um kvöld",
|
| 126 |
+
night: "um nótt",
|
| 127 |
+
},
|
| 128 |
+
};
|
| 129 |
+
|
| 130 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
| 131 |
+
const number = Number(dirtyNumber);
|
| 132 |
+
|
| 133 |
+
return number + ".";
|
| 134 |
+
};
|
| 135 |
+
|
| 136 |
+
export const localize = {
|
| 137 |
+
ordinalNumber,
|
| 138 |
+
|
| 139 |
+
era: buildLocalizeFn({
|
| 140 |
+
values: eraValues,
|
| 141 |
+
defaultWidth: "wide",
|
| 142 |
+
}),
|
| 143 |
+
|
| 144 |
+
quarter: buildLocalizeFn({
|
| 145 |
+
values: quarterValues,
|
| 146 |
+
defaultWidth: "wide",
|
| 147 |
+
argumentCallback: (quarter) => quarter - 1,
|
| 148 |
+
}),
|
| 149 |
+
|
| 150 |
+
month: buildLocalizeFn({
|
| 151 |
+
values: monthValues,
|
| 152 |
+
defaultWidth: "wide",
|
| 153 |
+
}),
|
| 154 |
+
|
| 155 |
+
day: buildLocalizeFn({
|
| 156 |
+
values: dayValues,
|
| 157 |
+
defaultWidth: "wide",
|
| 158 |
+
}),
|
| 159 |
+
|
| 160 |
+
dayPeriod: buildLocalizeFn({
|
| 161 |
+
values: dayPeriodValues,
|
| 162 |
+
defaultWidth: "wide",
|
| 163 |
+
formattingValues: formattingDayPeriodValues,
|
| 164 |
+
defaultFormattingWidth: "wide",
|
| 165 |
+
}),
|
| 166 |
+
};
|
node_modules/date-fns/locale/is/_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: /^(f\.Kr\.|e\.Kr\.)/i,
|
| 12 |
+
abbreviated: /^(f\.Kr\.|e\.Kr\.)/i,
|
| 13 |
+
wide: /^(fyrir Krist|eftir Krist)/i,
|
| 14 |
+
};
|
| 15 |
+
const parseEraPatterns = {
|
| 16 |
+
any: [/^(f\.Kr\.)/i, /^(e\.Kr\.)/i],
|
| 17 |
+
};
|
| 18 |
+
|
| 19 |
+
const matchQuarterPatterns = {
|
| 20 |
+
narrow: /^[1234]\.?/i,
|
| 21 |
+
abbreviated: /^q[1234]\.?/i,
|
| 22 |
+
wide: /^[1234]\.? fjórðungur/i,
|
| 23 |
+
};
|
| 24 |
+
const parseQuarterPatterns = {
|
| 25 |
+
any: [/1\.?/i, /2\.?/i, /3\.?/i, /4\.?/i],
|
| 26 |
+
};
|
| 27 |
+
|
| 28 |
+
const matchMonthPatterns = {
|
| 29 |
+
narrow: /^[jfmásónd]/i,
|
| 30 |
+
abbreviated:
|
| 31 |
+
/^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,
|
| 32 |
+
wide: /^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i,
|
| 33 |
+
};
|
| 34 |
+
|
| 35 |
+
const parseMonthPatterns = {
|
| 36 |
+
narrow: [
|
| 37 |
+
/^j/i,
|
| 38 |
+
/^f/i,
|
| 39 |
+
/^m/i,
|
| 40 |
+
/^a/i,
|
| 41 |
+
/^m/i,
|
| 42 |
+
/^j/i,
|
| 43 |
+
/^j/i,
|
| 44 |
+
/^á/i,
|
| 45 |
+
/^s/i,
|
| 46 |
+
/^ó/i,
|
| 47 |
+
/^n/i,
|
| 48 |
+
/^d/i,
|
| 49 |
+
],
|
| 50 |
+
|
| 51 |
+
any: [
|
| 52 |
+
/^ja/i,
|
| 53 |
+
/^f/i,
|
| 54 |
+
/^mar/i,
|
| 55 |
+
/^ap/i,
|
| 56 |
+
/^maí/i,
|
| 57 |
+
/^jún/i,
|
| 58 |
+
/^júl/i,
|
| 59 |
+
/^áu/i,
|
| 60 |
+
/^s/i,
|
| 61 |
+
/^ó/i,
|
| 62 |
+
/^n/i,
|
| 63 |
+
/^d/i,
|
| 64 |
+
],
|
| 65 |
+
};
|
| 66 |
+
|
| 67 |
+
const matchDayPatterns = {
|
| 68 |
+
narrow: /^[smtwf]/i,
|
| 69 |
+
short: /^(su|má|þr|mi|fi|fö|la)/i,
|
| 70 |
+
abbreviated: /^(sun|mán|þri|mið|fim|fös|lau)\.?/i,
|
| 71 |
+
wide: /^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i,
|
| 72 |
+
};
|
| 73 |
+
const parseDayPatterns = {
|
| 74 |
+
narrow: [/^s/i, /^m/i, /^þ/i, /^m/i, /^f/i, /^f/i, /^l/i],
|
| 75 |
+
any: [/^su/i, /^má/i, /^þr/i, /^mi/i, /^fi/i, /^fö/i, /^la/i],
|
| 76 |
+
};
|
| 77 |
+
|
| 78 |
+
const matchDayPeriodPatterns = {
|
| 79 |
+
narrow: /^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,
|
| 80 |
+
any: /^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,
|
| 81 |
+
};
|
| 82 |
+
const parseDayPeriodPatterns = {
|
| 83 |
+
any: {
|
| 84 |
+
am: /^f/i,
|
| 85 |
+
pm: /^e/i,
|
| 86 |
+
midnight: /^mi/i,
|
| 87 |
+
noon: /^há/i,
|
| 88 |
+
morning: /morgunn/i,
|
| 89 |
+
afternoon: /síðdegi/i,
|
| 90 |
+
evening: /kvöld/i,
|
| 91 |
+
night: /nótt/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/is/_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/is/_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/is/_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: /^(f\.Kr\.|e\.Kr\.)/i,
|
| 9 |
+
abbreviated: /^(f\.Kr\.|e\.Kr\.)/i,
|
| 10 |
+
wide: /^(fyrir Krist|eftir Krist)/i,
|
| 11 |
+
};
|
| 12 |
+
const parseEraPatterns = {
|
| 13 |
+
any: [/^(f\.Kr\.)/i, /^(e\.Kr\.)/i],
|
| 14 |
+
};
|
| 15 |
+
|
| 16 |
+
const matchQuarterPatterns = {
|
| 17 |
+
narrow: /^[1234]\.?/i,
|
| 18 |
+
abbreviated: /^q[1234]\.?/i,
|
| 19 |
+
wide: /^[1234]\.? fjórðungur/i,
|
| 20 |
+
};
|
| 21 |
+
const parseQuarterPatterns = {
|
| 22 |
+
any: [/1\.?/i, /2\.?/i, /3\.?/i, /4\.?/i],
|
| 23 |
+
};
|
| 24 |
+
|
| 25 |
+
const matchMonthPatterns = {
|
| 26 |
+
narrow: /^[jfmásónd]/i,
|
| 27 |
+
abbreviated:
|
| 28 |
+
/^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,
|
| 29 |
+
wide: /^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i,
|
| 30 |
+
};
|
| 31 |
+
|
| 32 |
+
const parseMonthPatterns = {
|
| 33 |
+
narrow: [
|
| 34 |
+
/^j/i,
|
| 35 |
+
/^f/i,
|
| 36 |
+
/^m/i,
|
| 37 |
+
/^a/i,
|
| 38 |
+
/^m/i,
|
| 39 |
+
/^j/i,
|
| 40 |
+
/^j/i,
|
| 41 |
+
/^á/i,
|
| 42 |
+
/^s/i,
|
| 43 |
+
/^ó/i,
|
| 44 |
+
/^n/i,
|
| 45 |
+
/^d/i,
|
| 46 |
+
],
|
| 47 |
+
|
| 48 |
+
any: [
|
| 49 |
+
/^ja/i,
|
| 50 |
+
/^f/i,
|
| 51 |
+
/^mar/i,
|
| 52 |
+
/^ap/i,
|
| 53 |
+
/^maí/i,
|
| 54 |
+
/^jún/i,
|
| 55 |
+
/^júl/i,
|
| 56 |
+
/^áu/i,
|
| 57 |
+
/^s/i,
|
| 58 |
+
/^ó/i,
|
| 59 |
+
/^n/i,
|
| 60 |
+
/^d/i,
|
| 61 |
+
],
|
| 62 |
+
};
|
| 63 |
+
|
| 64 |
+
const matchDayPatterns = {
|
| 65 |
+
narrow: /^[smtwf]/i,
|
| 66 |
+
short: /^(su|má|þr|mi|fi|fö|la)/i,
|
| 67 |
+
abbreviated: /^(sun|mán|þri|mið|fim|fös|lau)\.?/i,
|
| 68 |
+
wide: /^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i,
|
| 69 |
+
};
|
| 70 |
+
const parseDayPatterns = {
|
| 71 |
+
narrow: [/^s/i, /^m/i, /^þ/i, /^m/i, /^f/i, /^f/i, /^l/i],
|
| 72 |
+
any: [/^su/i, /^má/i, /^þr/i, /^mi/i, /^fi/i, /^fö/i, /^la/i],
|
| 73 |
+
};
|
| 74 |
+
|
| 75 |
+
const matchDayPeriodPatterns = {
|
| 76 |
+
narrow: /^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,
|
| 77 |
+
any: /^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,
|
| 78 |
+
};
|
| 79 |
+
const parseDayPeriodPatterns = {
|
| 80 |
+
any: {
|
| 81 |
+
am: /^f/i,
|
| 82 |
+
pm: /^e/i,
|
| 83 |
+
midnight: /^mi/i,
|
| 84 |
+
noon: /^há/i,
|
| 85 |
+
morning: /morgunn/i,
|
| 86 |
+
afternoon: /síðdegi/i,
|
| 87 |
+
evening: /kvöld/i,
|
| 88 |
+
night: /nótt/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/is/cdn.js
ADDED
|
@@ -0,0 +1,574 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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/is/_lib/formatDistance.js
|
| 3 |
+
var formatDistanceLocale = {
|
| 4 |
+
lessThanXSeconds: {
|
| 5 |
+
one: "minna en 1 sekúnda",
|
| 6 |
+
other: "minna en {{count}} sekúndur"
|
| 7 |
+
},
|
| 8 |
+
xSeconds: {
|
| 9 |
+
one: "1 sekúnda",
|
| 10 |
+
other: "{{count}} sekúndur"
|
| 11 |
+
},
|
| 12 |
+
halfAMinute: "hálf mínúta",
|
| 13 |
+
lessThanXMinutes: {
|
| 14 |
+
one: "minna en 1 mínúta",
|
| 15 |
+
other: "minna en {{count}} mínútur"
|
| 16 |
+
},
|
| 17 |
+
xMinutes: {
|
| 18 |
+
one: "1 mínúta",
|
| 19 |
+
other: "{{count}} mínútur"
|
| 20 |
+
},
|
| 21 |
+
aboutXHours: {
|
| 22 |
+
one: "u.þ.b. 1 klukkustund",
|
| 23 |
+
other: "u.þ.b. {{count}} klukkustundir"
|
| 24 |
+
},
|
| 25 |
+
xHours: {
|
| 26 |
+
one: "1 klukkustund",
|
| 27 |
+
other: "{{count}} klukkustundir"
|
| 28 |
+
},
|
| 29 |
+
xDays: {
|
| 30 |
+
one: "1 dagur",
|
| 31 |
+
other: "{{count}} dagar"
|
| 32 |
+
},
|
| 33 |
+
aboutXWeeks: {
|
| 34 |
+
one: "um viku",
|
| 35 |
+
other: "um {{count}} vikur"
|
| 36 |
+
},
|
| 37 |
+
xWeeks: {
|
| 38 |
+
one: "1 viku",
|
| 39 |
+
other: "{{count}} vikur"
|
| 40 |
+
},
|
| 41 |
+
aboutXMonths: {
|
| 42 |
+
one: "u.þ.b. 1 mánuður",
|
| 43 |
+
other: "u.þ.b. {{count}} mánuðir"
|
| 44 |
+
},
|
| 45 |
+
xMonths: {
|
| 46 |
+
one: "1 mánuður",
|
| 47 |
+
other: "{{count}} mánuðir"
|
| 48 |
+
},
|
| 49 |
+
aboutXYears: {
|
| 50 |
+
one: "u.þ.b. 1 ár",
|
| 51 |
+
other: "u.þ.b. {{count}} ár"
|
| 52 |
+
},
|
| 53 |
+
xYears: {
|
| 54 |
+
one: "1 ár",
|
| 55 |
+
other: "{{count}} ár"
|
| 56 |
+
},
|
| 57 |
+
overXYears: {
|
| 58 |
+
one: "meira en 1 ár",
|
| 59 |
+
other: "meira en {{count}} ár"
|
| 60 |
+
},
|
| 61 |
+
almostXYears: {
|
| 62 |
+
one: "næstum 1 ár",
|
| 63 |
+
other: "næstum {{count}} ár"
|
| 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 "í " + result;else
|
| 73 |
+
return result + " síðan";
|
| 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, do MMMM y",
|
| 88 |
+
long: "do MMMM y",
|
| 89 |
+
medium: "do MMM y",
|
| 90 |
+
short: "d.MM.y"
|
| 91 |
+
},
|
| 92 |
+
defaultWidth: "full"
|
| 93 |
+
}),
|
| 94 |
+
time: buildFormatLongFn({
|
| 95 |
+
formats: {
|
| 96 |
+
full: "'kl'. HH:mm:ss zzzz",
|
| 97 |
+
long: "HH:mm:ss z",
|
| 98 |
+
medium: "HH:mm:ss",
|
| 99 |
+
short: "HH:mm"
|
| 100 |
+
},
|
| 101 |
+
defaultWidth: "full"
|
| 102 |
+
}),
|
| 103 |
+
dateTime: buildFormatLongFn({
|
| 104 |
+
formats: {
|
| 105 |
+
full: "{{date}} 'kl.' {{time}}",
|
| 106 |
+
long: "{{date}} 'kl.' {{time}}",
|
| 107 |
+
medium: "{{date}} {{time}}",
|
| 108 |
+
short: "{{date}} {{time}}"
|
| 109 |
+
},
|
| 110 |
+
defaultWidth: "full"
|
| 111 |
+
})
|
| 112 |
+
};
|
| 113 |
+
//#endregion
|
| 114 |
+
//#region dist/date-fns/locale/is/_lib/formatRelative.js
|
| 115 |
+
var formatRelativeLocale = {
|
| 116 |
+
lastWeek: "'síðasta' dddd 'kl.' p",
|
| 117 |
+
yesterday: "'í gær kl.' p",
|
| 118 |
+
today: "'í dag kl.' p",
|
| 119 |
+
tomorrow: "'á morgun kl.' p",
|
| 120 |
+
nextWeek: "dddd 'kl.' 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/is/_lib/localize.js
|
| 176 |
+
var eraValues = {
|
| 177 |
+
narrow: ["f.Kr.", "e.Kr."],
|
| 178 |
+
abbreviated: ["f.Kr.", "e.Kr."],
|
| 179 |
+
wide: ["fyrir Krist", "eftir Krist"]
|
| 180 |
+
};
|
| 181 |
+
var quarterValues = {
|
| 182 |
+
narrow: [
|
| 183 |
+
"1",
|
| 184 |
+
"2",
|
| 185 |
+
"3",
|
| 186 |
+
"4"],
|
| 187 |
+
|
| 188 |
+
abbreviated: [
|
| 189 |
+
"1F",
|
| 190 |
+
"2F",
|
| 191 |
+
"3F",
|
| 192 |
+
"4F"],
|
| 193 |
+
|
| 194 |
+
wide: [
|
| 195 |
+
"1. fjórðungur",
|
| 196 |
+
"2. fjórðungur",
|
| 197 |
+
"3. fjórðungur",
|
| 198 |
+
"4. fjórðungur"]
|
| 199 |
+
|
| 200 |
+
};
|
| 201 |
+
var monthValues = {
|
| 202 |
+
narrow: [
|
| 203 |
+
"J",
|
| 204 |
+
"F",
|
| 205 |
+
"M",
|
| 206 |
+
"A",
|
| 207 |
+
"M",
|
| 208 |
+
"J",
|
| 209 |
+
"J",
|
| 210 |
+
"Á",
|
| 211 |
+
"S",
|
| 212 |
+
"Ó",
|
| 213 |
+
"N",
|
| 214 |
+
"D"],
|
| 215 |
+
|
| 216 |
+
abbreviated: [
|
| 217 |
+
"jan.",
|
| 218 |
+
"feb.",
|
| 219 |
+
"mars",
|
| 220 |
+
"apríl",
|
| 221 |
+
"maí",
|
| 222 |
+
"júní",
|
| 223 |
+
"júlí",
|
| 224 |
+
"ágúst",
|
| 225 |
+
"sept.",
|
| 226 |
+
"okt.",
|
| 227 |
+
"nóv.",
|
| 228 |
+
"des."],
|
| 229 |
+
|
| 230 |
+
wide: [
|
| 231 |
+
"janúar",
|
| 232 |
+
"febrúar",
|
| 233 |
+
"mars",
|
| 234 |
+
"apríl",
|
| 235 |
+
"maí",
|
| 236 |
+
"júní",
|
| 237 |
+
"júlí",
|
| 238 |
+
"ágúst",
|
| 239 |
+
"september",
|
| 240 |
+
"október",
|
| 241 |
+
"nóvember",
|
| 242 |
+
"desember"]
|
| 243 |
+
|
| 244 |
+
};
|
| 245 |
+
var dayValues = {
|
| 246 |
+
narrow: [
|
| 247 |
+
"S",
|
| 248 |
+
"M",
|
| 249 |
+
"Þ",
|
| 250 |
+
"M",
|
| 251 |
+
"F",
|
| 252 |
+
"F",
|
| 253 |
+
"L"],
|
| 254 |
+
|
| 255 |
+
short: [
|
| 256 |
+
"Su",
|
| 257 |
+
"Má",
|
| 258 |
+
"Þr",
|
| 259 |
+
"Mi",
|
| 260 |
+
"Fi",
|
| 261 |
+
"Fö",
|
| 262 |
+
"La"],
|
| 263 |
+
|
| 264 |
+
abbreviated: [
|
| 265 |
+
"sun.",
|
| 266 |
+
"mán.",
|
| 267 |
+
"þri.",
|
| 268 |
+
"mið.",
|
| 269 |
+
"fim.",
|
| 270 |
+
"fös.",
|
| 271 |
+
"lau."],
|
| 272 |
+
|
| 273 |
+
wide: [
|
| 274 |
+
"sunnudagur",
|
| 275 |
+
"mánudagur",
|
| 276 |
+
"þriðjudagur",
|
| 277 |
+
"miðvikudagur",
|
| 278 |
+
"fimmtudagur",
|
| 279 |
+
"föstudagur",
|
| 280 |
+
"laugardagur"]
|
| 281 |
+
|
| 282 |
+
};
|
| 283 |
+
var dayPeriodValues = {
|
| 284 |
+
narrow: {
|
| 285 |
+
am: "f",
|
| 286 |
+
pm: "e",
|
| 287 |
+
midnight: "miðnætti",
|
| 288 |
+
noon: "hádegi",
|
| 289 |
+
morning: "morgunn",
|
| 290 |
+
afternoon: "síðdegi",
|
| 291 |
+
evening: "kvöld",
|
| 292 |
+
night: "nótt"
|
| 293 |
+
},
|
| 294 |
+
abbreviated: {
|
| 295 |
+
am: "f.h.",
|
| 296 |
+
pm: "e.h.",
|
| 297 |
+
midnight: "miðnætti",
|
| 298 |
+
noon: "hádegi",
|
| 299 |
+
morning: "morgunn",
|
| 300 |
+
afternoon: "síðdegi",
|
| 301 |
+
evening: "kvöld",
|
| 302 |
+
night: "nótt"
|
| 303 |
+
},
|
| 304 |
+
wide: {
|
| 305 |
+
am: "fyrir hádegi",
|
| 306 |
+
pm: "eftir hádegi",
|
| 307 |
+
midnight: "miðnætti",
|
| 308 |
+
noon: "hádegi",
|
| 309 |
+
morning: "morgunn",
|
| 310 |
+
afternoon: "síðdegi",
|
| 311 |
+
evening: "kvöld",
|
| 312 |
+
night: "nótt"
|
| 313 |
+
}
|
| 314 |
+
};
|
| 315 |
+
var formattingDayPeriodValues = {
|
| 316 |
+
narrow: {
|
| 317 |
+
am: "f",
|
| 318 |
+
pm: "e",
|
| 319 |
+
midnight: "á miðnætti",
|
| 320 |
+
noon: "á hádegi",
|
| 321 |
+
morning: "að morgni",
|
| 322 |
+
afternoon: "síðdegis",
|
| 323 |
+
evening: "um kvöld",
|
| 324 |
+
night: "um nótt"
|
| 325 |
+
},
|
| 326 |
+
abbreviated: {
|
| 327 |
+
am: "f.h.",
|
| 328 |
+
pm: "e.h.",
|
| 329 |
+
midnight: "á miðnætti",
|
| 330 |
+
noon: "á hádegi",
|
| 331 |
+
morning: "að morgni",
|
| 332 |
+
afternoon: "síðdegis",
|
| 333 |
+
evening: "um kvöld",
|
| 334 |
+
night: "um nótt"
|
| 335 |
+
},
|
| 336 |
+
wide: {
|
| 337 |
+
am: "fyrir hádegi",
|
| 338 |
+
pm: "eftir hádegi",
|
| 339 |
+
midnight: "á miðnætti",
|
| 340 |
+
noon: "á hádegi",
|
| 341 |
+
morning: "að morgni",
|
| 342 |
+
afternoon: "síðdegis",
|
| 343 |
+
evening: "um kvöld",
|
| 344 |
+
night: "um nótt"
|
| 345 |
+
}
|
| 346 |
+
};
|
| 347 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
| 348 |
+
return Number(dirtyNumber) + ".";
|
| 349 |
+
};
|
| 350 |
+
var localize = {
|
| 351 |
+
ordinalNumber: ordinalNumber,
|
| 352 |
+
era: buildLocalizeFn({
|
| 353 |
+
values: eraValues,
|
| 354 |
+
defaultWidth: "wide"
|
| 355 |
+
}),
|
| 356 |
+
quarter: buildLocalizeFn({
|
| 357 |
+
values: quarterValues,
|
| 358 |
+
defaultWidth: "wide",
|
| 359 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
| 360 |
+
}),
|
| 361 |
+
month: buildLocalizeFn({
|
| 362 |
+
values: monthValues,
|
| 363 |
+
defaultWidth: "wide"
|
| 364 |
+
}),
|
| 365 |
+
day: buildLocalizeFn({
|
| 366 |
+
values: dayValues,
|
| 367 |
+
defaultWidth: "wide"
|
| 368 |
+
}),
|
| 369 |
+
dayPeriod: buildLocalizeFn({
|
| 370 |
+
values: dayPeriodValues,
|
| 371 |
+
defaultWidth: "wide",
|
| 372 |
+
formattingValues: formattingDayPeriodValues,
|
| 373 |
+
defaultFormattingWidth: "wide"
|
| 374 |
+
})
|
| 375 |
+
};
|
| 376 |
+
//#endregion
|
| 377 |
+
//#region dist/date-fns/locale/_lib/buildMatchFn.js
|
| 378 |
+
function buildMatchFn(args) {
|
| 379 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
| 380 |
+
var width = options.width;
|
| 381 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
| 382 |
+
var matchResult = string.match(matchPattern);
|
| 383 |
+
if (!matchResult) return null;
|
| 384 |
+
var matchedString = matchResult[0];
|
| 385 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
| 386 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
| 387 |
+
var value;
|
| 388 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
| 389 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
| 390 |
+
var rest = string.slice(matchedString.length);
|
| 391 |
+
return {
|
| 392 |
+
value: value,
|
| 393 |
+
rest: rest
|
| 394 |
+
};
|
| 395 |
+
};
|
| 396 |
+
}
|
| 397 |
+
function findKey(object, predicate) {
|
| 398 |
+
for (var key in object) if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) return key;
|
| 399 |
+
}
|
| 400 |
+
function findIndex(array, predicate) {
|
| 401 |
+
for (var key = 0; key < array.length; key++) if (predicate(array[key])) return key;
|
| 402 |
+
}
|
| 403 |
+
//#endregion
|
| 404 |
+
//#region dist/date-fns/locale/_lib/buildMatchPatternFn.js
|
| 405 |
+
function buildMatchPatternFn(args) {
|
| 406 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
| 407 |
+
var matchResult = string.match(args.matchPattern);
|
| 408 |
+
if (!matchResult) return null;
|
| 409 |
+
var matchedString = matchResult[0];
|
| 410 |
+
var parseResult = string.match(args.parsePattern);
|
| 411 |
+
if (!parseResult) return null;
|
| 412 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
| 413 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
| 414 |
+
var rest = string.slice(matchedString.length);
|
| 415 |
+
return {
|
| 416 |
+
value: value,
|
| 417 |
+
rest: rest
|
| 418 |
+
};
|
| 419 |
+
};
|
| 420 |
+
}
|
| 421 |
+
//#endregion
|
| 422 |
+
//#region dist/date-fns/locale/is.js
|
| 423 |
+
/**
|
| 424 |
+
* @category Locales
|
| 425 |
+
* @summary Icelandic locale.
|
| 426 |
+
* @language Icelandic
|
| 427 |
+
* @iso-639-2 isl
|
| 428 |
+
* @author Derek Blank [@derekblank](https://github.com/derekblank)
|
| 429 |
+
* @author Arnór Ýmir [@lamayg](https://github.com/lamayg)
|
| 430 |
+
*/
|
| 431 |
+
var is = {
|
| 432 |
+
code: "is",
|
| 433 |
+
formatDistance: formatDistance,
|
| 434 |
+
formatLong: formatLong,
|
| 435 |
+
formatRelative: formatRelative,
|
| 436 |
+
localize: localize,
|
| 437 |
+
match: {
|
| 438 |
+
ordinalNumber: buildMatchPatternFn({
|
| 439 |
+
matchPattern: /^(\d+)(\.)?/i,
|
| 440 |
+
parsePattern: /\d+(\.)?/i,
|
| 441 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
| 442 |
+
}),
|
| 443 |
+
era: buildMatchFn({
|
| 444 |
+
matchPatterns: {
|
| 445 |
+
narrow: /^(f\.Kr\.|e\.Kr\.)/i,
|
| 446 |
+
abbreviated: /^(f\.Kr\.|e\.Kr\.)/i,
|
| 447 |
+
wide: /^(fyrir Krist|eftir Krist)/i
|
| 448 |
+
},
|
| 449 |
+
defaultMatchWidth: "wide",
|
| 450 |
+
parsePatterns: { any: [/^(f\.Kr\.)/i, /^(e\.Kr\.)/i] },
|
| 451 |
+
defaultParseWidth: "any"
|
| 452 |
+
}),
|
| 453 |
+
quarter: buildMatchFn({
|
| 454 |
+
matchPatterns: {
|
| 455 |
+
narrow: /^[1234]\.?/i,
|
| 456 |
+
abbreviated: /^q[1234]\.?/i,
|
| 457 |
+
wide: /^[1234]\.? fjórðungur/i
|
| 458 |
+
},
|
| 459 |
+
defaultMatchWidth: "wide",
|
| 460 |
+
parsePatterns: { any: [
|
| 461 |
+
/1\.?/i,
|
| 462 |
+
/2\.?/i,
|
| 463 |
+
/3\.?/i,
|
| 464 |
+
/4\.?/i]
|
| 465 |
+
},
|
| 466 |
+
defaultParseWidth: "any",
|
| 467 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
| 468 |
+
}),
|
| 469 |
+
month: buildMatchFn({
|
| 470 |
+
matchPatterns: {
|
| 471 |
+
narrow: /^[jfmásónd]/i,
|
| 472 |
+
abbreviated: /^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,
|
| 473 |
+
wide: /^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i
|
| 474 |
+
},
|
| 475 |
+
defaultMatchWidth: "wide",
|
| 476 |
+
parsePatterns: {
|
| 477 |
+
narrow: [
|
| 478 |
+
/^j/i,
|
| 479 |
+
/^f/i,
|
| 480 |
+
/^m/i,
|
| 481 |
+
/^a/i,
|
| 482 |
+
/^m/i,
|
| 483 |
+
/^j/i,
|
| 484 |
+
/^j/i,
|
| 485 |
+
/^á/i,
|
| 486 |
+
/^s/i,
|
| 487 |
+
/^ó/i,
|
| 488 |
+
/^n/i,
|
| 489 |
+
/^d/i],
|
| 490 |
+
|
| 491 |
+
any: [
|
| 492 |
+
/^ja/i,
|
| 493 |
+
/^f/i,
|
| 494 |
+
/^mar/i,
|
| 495 |
+
/^ap/i,
|
| 496 |
+
/^maí/i,
|
| 497 |
+
/^jún/i,
|
| 498 |
+
/^júl/i,
|
| 499 |
+
/^áu/i,
|
| 500 |
+
/^s/i,
|
| 501 |
+
/^ó/i,
|
| 502 |
+
/^n/i,
|
| 503 |
+
/^d/i]
|
| 504 |
+
|
| 505 |
+
},
|
| 506 |
+
defaultParseWidth: "any"
|
| 507 |
+
}),
|
| 508 |
+
day: buildMatchFn({
|
| 509 |
+
matchPatterns: {
|
| 510 |
+
narrow: /^[smtwf]/i,
|
| 511 |
+
short: /^(su|má|þr|mi|fi|fö|la)/i,
|
| 512 |
+
abbreviated: /^(sun|mán|þri|mið|fim|fös|lau)\.?/i,
|
| 513 |
+
wide: /^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i
|
| 514 |
+
},
|
| 515 |
+
defaultMatchWidth: "wide",
|
| 516 |
+
parsePatterns: {
|
| 517 |
+
narrow: [
|
| 518 |
+
/^s/i,
|
| 519 |
+
/^m/i,
|
| 520 |
+
/^þ/i,
|
| 521 |
+
/^m/i,
|
| 522 |
+
/^f/i,
|
| 523 |
+
/^f/i,
|
| 524 |
+
/^l/i],
|
| 525 |
+
|
| 526 |
+
any: [
|
| 527 |
+
/^su/i,
|
| 528 |
+
/^má/i,
|
| 529 |
+
/^þr/i,
|
| 530 |
+
/^mi/i,
|
| 531 |
+
/^fi/i,
|
| 532 |
+
/^fö/i,
|
| 533 |
+
/^la/i]
|
| 534 |
+
|
| 535 |
+
},
|
| 536 |
+
defaultParseWidth: "any"
|
| 537 |
+
}),
|
| 538 |
+
dayPeriod: buildMatchFn({
|
| 539 |
+
matchPatterns: {
|
| 540 |
+
narrow: /^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,
|
| 541 |
+
any: /^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i
|
| 542 |
+
},
|
| 543 |
+
defaultMatchWidth: "any",
|
| 544 |
+
parsePatterns: { any: {
|
| 545 |
+
am: /^f/i,
|
| 546 |
+
pm: /^e/i,
|
| 547 |
+
midnight: /^mi/i,
|
| 548 |
+
noon: /^há/i,
|
| 549 |
+
morning: /morgunn/i,
|
| 550 |
+
afternoon: /síðdegi/i,
|
| 551 |
+
evening: /kvöld/i,
|
| 552 |
+
night: /nótt/i
|
| 553 |
+
} },
|
| 554 |
+
defaultParseWidth: "any"
|
| 555 |
+
})
|
| 556 |
+
},
|
| 557 |
+
options: {
|
| 558 |
+
weekStartsOn: 1,
|
| 559 |
+
firstWeekContainsDate: 4
|
| 560 |
+
}
|
| 561 |
+
};
|
| 562 |
+
//#endregion
|
| 563 |
+
//#region dist/date-fns/_entries/locale/is/cdn.js
|
| 564 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
| 565 |
+
window.dateFns), {}, {
|
| 566 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
| 567 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
| 568 |
+
is: is }) });
|
| 569 |
+
|
| 570 |
+
|
| 571 |
+
//#endregion
|
| 572 |
+
|
| 573 |
+
console.log("date-fns CDN files have moved to @date-fns/cdn. Please update your URLs. See: https://date-fns.org/docs/CDN");
|
| 574 |
+
})();
|
node_modules/date-fns/locale/is/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:`minna en 1 sekúnda`,other:`minna en {{count}} sekúndur`},xSeconds:{one:`1 sekúnda`,other:`{{count}} sekúndur`},halfAMinute:`hálf mínúta`,lessThanXMinutes:{one:`minna en 1 mínúta`,other:`minna en {{count}} mínútur`},xMinutes:{one:`1 mínúta`,other:`{{count}} mínútur`},aboutXHours:{one:`u.þ.b. 1 klukkustund`,other:`u.þ.b. {{count}} klukkustundir`},xHours:{one:`1 klukkustund`,other:`{{count}} klukkustundir`},xDays:{one:`1 dagur`,other:`{{count}} dagar`},aboutXWeeks:{one:`um viku`,other:`um {{count}} vikur`},xWeeks:{one:`1 viku`,other:`{{count}} vikur`},aboutXMonths:{one:`u.þ.b. 1 mánuður`,other:`u.þ.b. {{count}} mánuðir`},xMonths:{one:`1 mánuður`,other:`{{count}} mánuðir`},aboutXYears:{one:`u.þ.b. 1 ár`,other:`u.þ.b. {{count}} ár`},xYears:{one:`1 ár`,other:`{{count}} ár`},overXYears:{one:`meira en 1 ár`,other:`meira en {{count}} ár`},almostXYears:{one:`næstum 1 ár`,other:`næstum {{count}} ár`}},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?`í `+r:r+` síðan`: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, do MMMM y`,long:`do MMMM y`,medium:`do MMM y`,short:`d.MM.y`},defaultWidth:`full`}),time:c({formats:{full:`'kl'. HH:mm:ss zzzz`,long:`HH:mm:ss z`,medium:`HH:mm:ss`,short:`HH:mm`},defaultWidth:`full`}),dateTime:c({formats:{full:`{{date}} 'kl.' {{time}}`,long:`{{date}} 'kl.' {{time}}`,medium:`{{date}} {{time}}`,short:`{{date}} {{time}}`},defaultWidth:`full`})},u={lastWeek:`'síðasta' dddd 'kl.' p`,yesterday:`'í gær kl.' p`,today:`'í dag kl.' p`,tomorrow:`'á morgun kl.' p`,nextWeek:`dddd 'kl.' 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){return Number(e)+`.`},era:f({values:{narrow:[`f.Kr.`,`e.Kr.`],abbreviated:[`f.Kr.`,`e.Kr.`],wide:[`fyrir Krist`,`eftir Krist`]},defaultWidth:`wide`}),quarter:f({values:{narrow:[`1`,`2`,`3`,`4`],abbreviated:[`1F`,`2F`,`3F`,`4F`],wide:[`1. fjórðungur`,`2. fjórðungur`,`3. fjórðungur`,`4. fjórðungur`]},defaultWidth:`wide`,argumentCallback:function(e){return e-1}}),month:f({values:{narrow:[`J`,`F`,`M`,`A`,`M`,`J`,`J`,`Á`,`S`,`Ó`,`N`,`D`],abbreviated:[`jan.`,`feb.`,`mars`,`apríl`,`maí`,`júní`,`júlí`,`ágúst`,`sept.`,`okt.`,`nóv.`,`des.`],wide:[`janúar`,`febrúar`,`mars`,`apríl`,`maí`,`júní`,`júlí`,`ágúst`,`september`,`október`,`nóvember`,`desember`]},defaultWidth:`wide`}),day:f({values:{narrow:[`S`,`M`,`Þ`,`M`,`F`,`F`,`L`],short:[`Su`,`Má`,`Þr`,`Mi`,`Fi`,`Fö`,`La`],abbreviated:[`sun.`,`mán.`,`þri.`,`mið.`,`fim.`,`fös.`,`lau.`],wide:[`sunnudagur`,`mánudagur`,`þriðjudagur`,`miðvikudagur`,`fimmtudagur`,`föstudagur`,`laugardagur`]},defaultWidth:`wide`}),dayPeriod:f({values:{narrow:{am:`f`,pm:`e`,midnight:`miðnætti`,noon:`hádegi`,morning:`morgunn`,afternoon:`síðdegi`,evening:`kvöld`,night:`nótt`},abbreviated:{am:`f.h.`,pm:`e.h.`,midnight:`miðnætti`,noon:`hádegi`,morning:`morgunn`,afternoon:`síðdegi`,evening:`kvöld`,night:`nótt`},wide:{am:`fyrir hádegi`,pm:`eftir hádegi`,midnight:`miðnætti`,noon:`hádegi`,morning:`morgunn`,afternoon:`síðdegi`,evening:`kvöld`,night:`nótt`}},defaultWidth:`wide`,formattingValues:{narrow:{am:`f`,pm:`e`,midnight:`á miðnætti`,noon:`á hádegi`,morning:`að morgni`,afternoon:`síðdegis`,evening:`um kvöld`,night:`um nótt`},abbreviated:{am:`f.h.`,pm:`e.h.`,midnight:`á miðnætti`,noon:`á hádegi`,morning:`að morgni`,afternoon:`síðdegis`,evening:`um kvöld`,night:`um nótt`},wide:{am:`fyrir hádegi`,pm:`eftir hádegi`,midnight:`á miðnætti`,noon:`á hádegi`,morning:`að morgni`,afternoon:`síðdegis`,evening:`um kvöld`,night:`um nótt`}},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:`is`,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:/^(f\.Kr\.|e\.Kr\.)/i,abbreviated:/^(f\.Kr\.|e\.Kr\.)/i,wide:/^(fyrir Krist|eftir Krist)/i},defaultMatchWidth:`wide`,parsePatterns:{any:[/^(f\.Kr\.)/i,/^(e\.Kr\.)/i]},defaultParseWidth:`any`}),quarter:m({matchPatterns:{narrow:/^[1234]\.?/i,abbreviated:/^q[1234]\.?/i,wide:/^[1234]\.? fjórðungur/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:/^[jfmásónd]/i,abbreviated:/^(jan\.|feb\.|mars\.|apríl\.|maí|júní|júlí|águst|sep\.|oct\.|nov\.|dec\.)/i,wide:/^(januar|febrúar|mars|apríl|maí|júní|júlí|águst|september|október|nóvember|desember)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^á/i,/^s/i,/^ó/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maí/i,/^jún/i,/^júl/i,/^áu/i,/^s/i,/^ó/i,/^n/i,/^d/i]},defaultParseWidth:`any`}),day:m({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|má|þr|mi|fi|fö|la)/i,abbreviated:/^(sun|mán|þri|mið|fim|fös|lau)\.?/i,wide:/^(sunnudagur|mánudagur|þriðjudagur|miðvikudagur|fimmtudagur|föstudagur|laugardagur)/i},defaultMatchWidth:`wide`,parsePatterns:{narrow:[/^s/i,/^m/i,/^þ/i,/^m/i,/^f/i,/^f/i,/^l/i],any:[/^su/i,/^má/i,/^þr/i,/^mi/i,/^fi/i,/^fö/i,/^la/i]},defaultParseWidth:`any`}),dayPeriod:m({matchPatterns:{narrow:/^(f|e|síðdegis|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i,any:/^(fyrir hádegi|eftir hádegi|[ef]\.?h\.?|síðdegis|morgunn|(á|að|um) (morgni|kvöld|nótt|miðnætti))/i},defaultMatchWidth:`any`,parsePatterns:{any:{am:/^f/i,pm:/^e/i,midnight:/^mi/i,noon:/^há/i,morning:/morgunn/i,afternoon:/síðdegi/i,evening:/kvöld/i,night:/nótt/i}},defaultParseWidth:`any`})},options:{weekStartsOn:1,firstWeekContainsDate:4}};window.dateFns=n(n({},window.dateFns),{},{locale:n(n({},window.dateFns?.locale),{},{is: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/it-CH.cjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"use strict";
|
| 2 |
+
exports.itCH = void 0;
|
| 3 |
+
var _index = require("./it/_lib/formatDistance.cjs");
|
| 4 |
+
var _index2 = require("./it/_lib/formatRelative.cjs");
|
| 5 |
+
var _index3 = require("./it/_lib/localize.cjs");
|
| 6 |
+
var _index4 = require("./it/_lib/match.cjs");
|
| 7 |
+
var _index5 = require("./it-CH/_lib/formatLong.cjs");
|
| 8 |
+
|
| 9 |
+
/**
|
| 10 |
+
* @category Locales
|
| 11 |
+
* @summary Italian locale (Switzerland).
|
| 12 |
+
* @language Italian
|
| 13 |
+
* @iso-639-2 ita
|
| 14 |
+
* @author Mike Peyer [@maic66](https://github.com/maic66)
|
| 15 |
+
*/
|
| 16 |
+
const itCH = (exports.itCH = {
|
| 17 |
+
code: "it-CH",
|
| 18 |
+
formatDistance: _index.formatDistance,
|
| 19 |
+
formatLong: _index5.formatLong,
|
| 20 |
+
formatRelative: _index2.formatRelative,
|
| 21 |
+
localize: _index3.localize,
|
| 22 |
+
match: _index4.match,
|
| 23 |
+
options: {
|
| 24 |
+
weekStartsOn: 1 /* Monday */,
|
| 25 |
+
firstWeekContainsDate: 4,
|
| 26 |
+
},
|
| 27 |
+
});
|
node_modules/date-fns/locale/it-CH.d.cts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary Italian locale (Switzerland).
|
| 5 |
+
* @language Italian
|
| 6 |
+
* @iso-639-2 ita
|
| 7 |
+
* @author Mike Peyer [@maic66](https://github.com/maic66)
|
| 8 |
+
*/
|
| 9 |
+
export declare const itCH: Locale;
|
node_modules/date-fns/locale/it-CH.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import type { Locale } from "./types.ts";
|
| 2 |
+
/**
|
| 3 |
+
* @category Locales
|
| 4 |
+
* @summary Italian locale (Switzerland).
|
| 5 |
+
* @language Italian
|
| 6 |
+
* @iso-639-2 ita
|
| 7 |
+
* @author Mike Peyer [@maic66](https://github.com/maic66)
|
| 8 |
+
*/
|
| 9 |
+
export declare const itCH: Locale;
|