Spaces:
Configuration error
Configuration error
luigi12345
commited on
Commit
•
3eacbd8
1
Parent(s):
5b9039a
94362d85fcd90882ace5980aab545410c001ea2f18bf18f78054808f3cb5e164
Browse files- workers1/auto3d/node_modules/date-fns/locale/fa-IR.d.mts +9 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR.d.ts +9 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR.js +27 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR.mjs +28 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/localize.mjs +168 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/match.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/match.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/match.js +145 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/match.mjs +142 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR/cdn.js +526 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR/cdn.js.map +1 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR/cdn.min.js +3 -0
- workers1/auto3d/node_modules/date-fns/locale/fa-IR/cdn.min.js.map +10 -0
- workers1/auto3d/node_modules/date-fns/locale/fi.d.mts +11 -0
- workers1/auto3d/node_modules/date-fns/locale/fi.d.ts +11 -0
- workers1/auto3d/node_modules/date-fns/locale/fi.js +29 -0
- workers1/auto3d/node_modules/date-fns/locale/fi.mjs +30 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatDistance.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatDistance.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatDistance.js +147 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatDistance.mjs +143 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatLong.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatLong.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatLong.js +41 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatLong.mjs +39 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatRelative.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatRelative.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatRelative.js +15 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatRelative.mjs +11 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/localize.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/localize.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/localize.js +170 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/localize.mjs +168 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/match.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/match.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/match.js +137 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/_lib/match.mjs +134 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/cdn.js +553 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/cdn.js.map +1 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/cdn.min.js +3 -0
- workers1/auto3d/node_modules/date-fns/locale/fi/cdn.min.js.map +10 -0
- workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatDistance.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatDistance.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatDistance.js +104 -0
- workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatDistance.mjs +100 -0
- workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatLong.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatLong.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatLong.js +41 -0
- workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatLong.mjs +39 -0
- workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatRelative.d.mts +2 -0
workers1/auto3d/node_modules/date-fns/locale/fa-IR.d.mts
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Persian/Farsi locale (Iran).
|
5 |
+
* @language Persian
|
6 |
+
* @iso-639-2 ira
|
7 |
+
* @author Morteza Ziyae [@mort3za](https://github.com/mort3za)
|
8 |
+
*/
|
9 |
+
export declare const faIR: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR.d.ts
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Persian/Farsi locale (Iran).
|
5 |
+
* @language Persian
|
6 |
+
* @iso-639-2 ira
|
7 |
+
* @author Morteza Ziyae [@mort3za](https://github.com/mort3za)
|
8 |
+
*/
|
9 |
+
export declare const faIR: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR.js
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.faIR = void 0;
|
3 |
+
var _index = require("./fa-IR/_lib/formatDistance.js");
|
4 |
+
var _index2 = require("./fa-IR/_lib/formatLong.js");
|
5 |
+
var _index3 = require("./fa-IR/_lib/formatRelative.js");
|
6 |
+
var _index4 = require("./fa-IR/_lib/localize.js");
|
7 |
+
var _index5 = require("./fa-IR/_lib/match.js");
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @category Locales
|
11 |
+
* @summary Persian/Farsi locale (Iran).
|
12 |
+
* @language Persian
|
13 |
+
* @iso-639-2 ira
|
14 |
+
* @author Morteza Ziyae [@mort3za](https://github.com/mort3za)
|
15 |
+
*/
|
16 |
+
const faIR = (exports.faIR = {
|
17 |
+
code: "fa-IR",
|
18 |
+
formatDistance: _index.formatDistance,
|
19 |
+
formatLong: _index2.formatLong,
|
20 |
+
formatRelative: _index3.formatRelative,
|
21 |
+
localize: _index4.localize,
|
22 |
+
match: _index5.match,
|
23 |
+
options: {
|
24 |
+
weekStartsOn: 6 /* Saturday */,
|
25 |
+
firstWeekContainsDate: 1,
|
26 |
+
},
|
27 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR.mjs
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { formatDistance } from "./fa-IR/_lib/formatDistance.mjs";
|
2 |
+
import { formatLong } from "./fa-IR/_lib/formatLong.mjs";
|
3 |
+
import { formatRelative } from "./fa-IR/_lib/formatRelative.mjs";
|
4 |
+
import { localize } from "./fa-IR/_lib/localize.mjs";
|
5 |
+
import { match } from "./fa-IR/_lib/match.mjs";
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @category Locales
|
9 |
+
* @summary Persian/Farsi locale (Iran).
|
10 |
+
* @language Persian
|
11 |
+
* @iso-639-2 ira
|
12 |
+
* @author Morteza Ziyae [@mort3za](https://github.com/mort3za)
|
13 |
+
*/
|
14 |
+
export const faIR = {
|
15 |
+
code: "fa-IR",
|
16 |
+
formatDistance: formatDistance,
|
17 |
+
formatLong: formatLong,
|
18 |
+
formatRelative: formatRelative,
|
19 |
+
localize: localize,
|
20 |
+
match: match,
|
21 |
+
options: {
|
22 |
+
weekStartsOn: 6 /* Saturday */,
|
23 |
+
firstWeekContainsDate: 1,
|
24 |
+
},
|
25 |
+
};
|
26 |
+
|
27 |
+
// Fallback for modularized imports:
|
28 |
+
export default faIR;
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/localize.mjs
ADDED
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.mjs";
|
2 |
+
|
3 |
+
const eraValues = {
|
4 |
+
narrow: ["ق", "ب"],
|
5 |
+
abbreviated: ["ق.م.", "ب.م."],
|
6 |
+
wide: ["قبل از میلاد", "بعد از میلاد"],
|
7 |
+
};
|
8 |
+
|
9 |
+
const quarterValues = {
|
10 |
+
narrow: ["1", "2", "3", "4"],
|
11 |
+
abbreviated: ["سم1", "سم2", "سم3", "سم4"],
|
12 |
+
wide: ["سهماهه 1", "سهماهه 2", "سهماهه 3", "سهماهه 4"],
|
13 |
+
};
|
14 |
+
|
15 |
+
// Note: in English, the names of days of the week and months are capitalized.
|
16 |
+
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
|
17 |
+
// Generally, formatted dates should look like they are in the middle of a sentence,
|
18 |
+
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
19 |
+
const monthValues = {
|
20 |
+
narrow: ["ژ", "ف", "م", "آ", "م", "ج", "ج", "آ", "س", "ا", "ن", "د"],
|
21 |
+
abbreviated: [
|
22 |
+
"ژانـ",
|
23 |
+
"فور",
|
24 |
+
"مارس",
|
25 |
+
"آپر",
|
26 |
+
"می",
|
27 |
+
"جون",
|
28 |
+
"جولـ",
|
29 |
+
"آگو",
|
30 |
+
"سپتـ",
|
31 |
+
"اکتـ",
|
32 |
+
"نوامـ",
|
33 |
+
"دسامـ",
|
34 |
+
],
|
35 |
+
|
36 |
+
wide: [
|
37 |
+
"ژانویه",
|
38 |
+
"فوریه",
|
39 |
+
"مارس",
|
40 |
+
"آپریل",
|
41 |
+
"می",
|
42 |
+
"جون",
|
43 |
+
"جولای",
|
44 |
+
"آگوست",
|
45 |
+
"سپتامبر",
|
46 |
+
"اکتبر",
|
47 |
+
"نوامبر",
|
48 |
+
"دسامبر",
|
49 |
+
],
|
50 |
+
};
|
51 |
+
|
52 |
+
const dayValues = {
|
53 |
+
narrow: ["ی", "د", "س", "چ", "پ", "ج", "ش"],
|
54 |
+
short: ["1ش", "2ش", "3ش", "4ش", "5ش", "ج", "ش"],
|
55 |
+
abbreviated: [
|
56 |
+
"یکشنبه",
|
57 |
+
"دوشنبه",
|
58 |
+
"سهشنبه",
|
59 |
+
"چهارشنبه",
|
60 |
+
"پنجشنبه",
|
61 |
+
"جمعه",
|
62 |
+
"شنبه",
|
63 |
+
],
|
64 |
+
|
65 |
+
wide: ["یکشنبه", "دوشنبه", "سهشنبه", "چهارشنبه", "پنجشنبه", "جمعه", "شنبه"],
|
66 |
+
};
|
67 |
+
|
68 |
+
const dayPeriodValues = {
|
69 |
+
narrow: {
|
70 |
+
am: "ق",
|
71 |
+
pm: "ب",
|
72 |
+
midnight: "ن",
|
73 |
+
noon: "ظ",
|
74 |
+
morning: "ص",
|
75 |
+
afternoon: "ب.ظ.",
|
76 |
+
evening: "ع",
|
77 |
+
night: "ش",
|
78 |
+
},
|
79 |
+
abbreviated: {
|
80 |
+
am: "ق.ظ.",
|
81 |
+
pm: "ب.ظ.",
|
82 |
+
midnight: "نیمهشب",
|
83 |
+
noon: "ظهر",
|
84 |
+
morning: "صبح",
|
85 |
+
afternoon: "بعدازظهر",
|
86 |
+
evening: "عصر",
|
87 |
+
night: "شب",
|
88 |
+
},
|
89 |
+
wide: {
|
90 |
+
am: "قبلازظهر",
|
91 |
+
pm: "بعدازظهر",
|
92 |
+
midnight: "نیمهشب",
|
93 |
+
noon: "ظهر",
|
94 |
+
morning: "صبح",
|
95 |
+
afternoon: "بعدازظهر",
|
96 |
+
evening: "عصر",
|
97 |
+
night: "شب",
|
98 |
+
},
|
99 |
+
};
|
100 |
+
|
101 |
+
const formattingDayPeriodValues = {
|
102 |
+
narrow: {
|
103 |
+
am: "ق",
|
104 |
+
pm: "ب",
|
105 |
+
midnight: "ن",
|
106 |
+
noon: "ظ",
|
107 |
+
morning: "ص",
|
108 |
+
afternoon: "ب.ظ.",
|
109 |
+
evening: "ع",
|
110 |
+
night: "ش",
|
111 |
+
},
|
112 |
+
abbreviated: {
|
113 |
+
am: "ق.ظ.",
|
114 |
+
pm: "ب.ظ.",
|
115 |
+
midnight: "نیمهشب",
|
116 |
+
noon: "ظهر",
|
117 |
+
morning: "صبح",
|
118 |
+
afternoon: "بعدازظهر",
|
119 |
+
evening: "عصر",
|
120 |
+
night: "شب",
|
121 |
+
},
|
122 |
+
wide: {
|
123 |
+
am: "قبلازظهر",
|
124 |
+
pm: "بعدازظهر",
|
125 |
+
midnight: "نیمهشب",
|
126 |
+
noon: "ظهر",
|
127 |
+
morning: "صبح",
|
128 |
+
afternoon: "بعدازظهر",
|
129 |
+
evening: "عصر",
|
130 |
+
night: "شب",
|
131 |
+
},
|
132 |
+
};
|
133 |
+
|
134 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
135 |
+
return String(dirtyNumber);
|
136 |
+
};
|
137 |
+
|
138 |
+
export const localize = {
|
139 |
+
ordinalNumber,
|
140 |
+
|
141 |
+
era: buildLocalizeFn({
|
142 |
+
values: eraValues,
|
143 |
+
defaultWidth: "wide",
|
144 |
+
}),
|
145 |
+
|
146 |
+
quarter: buildLocalizeFn({
|
147 |
+
values: quarterValues,
|
148 |
+
defaultWidth: "wide",
|
149 |
+
argumentCallback: (quarter) => quarter - 1,
|
150 |
+
}),
|
151 |
+
|
152 |
+
month: buildLocalizeFn({
|
153 |
+
values: monthValues,
|
154 |
+
defaultWidth: "wide",
|
155 |
+
}),
|
156 |
+
|
157 |
+
day: buildLocalizeFn({
|
158 |
+
values: dayValues,
|
159 |
+
defaultWidth: "wide",
|
160 |
+
}),
|
161 |
+
|
162 |
+
dayPeriod: buildLocalizeFn({
|
163 |
+
values: dayPeriodValues,
|
164 |
+
defaultWidth: "wide",
|
165 |
+
formattingValues: formattingDayPeriodValues,
|
166 |
+
defaultFormattingWidth: "wide",
|
167 |
+
}),
|
168 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/match.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Match } from "../../types.js";
|
2 |
+
export declare const match: Match;
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/match.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Match } from "../../types.js";
|
2 |
+
export declare const match: Match;
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/match.js
ADDED
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.match = void 0;
|
3 |
+
|
4 |
+
var _index = require("../../_lib/buildMatchFn.js");
|
5 |
+
var _index2 = require("../../_lib/buildMatchPatternFn.js");
|
6 |
+
|
7 |
+
const matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
|
8 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
9 |
+
|
10 |
+
const matchEraPatterns = {
|
11 |
+
narrow: /^(ق|ب)/i,
|
12 |
+
abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,
|
13 |
+
wide: /^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i,
|
14 |
+
};
|
15 |
+
const parseEraPatterns = {
|
16 |
+
any: [/^قبل/i, /^بعد/i],
|
17 |
+
};
|
18 |
+
|
19 |
+
const matchQuarterPatterns = {
|
20 |
+
narrow: /^[1234]/i,
|
21 |
+
abbreviated: /^سم[1234]/i,
|
22 |
+
wide: /^سهماهه [1234]/i,
|
23 |
+
};
|
24 |
+
const parseQuarterPatterns = {
|
25 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
26 |
+
};
|
27 |
+
|
28 |
+
const matchMonthPatterns = {
|
29 |
+
narrow: /^[جژفمآاماسند]/i,
|
30 |
+
abbreviated:
|
31 |
+
/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,
|
32 |
+
wide: /^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i,
|
33 |
+
};
|
34 |
+
const parseMonthPatterns = {
|
35 |
+
narrow: [
|
36 |
+
/^(ژ|ج)/i,
|
37 |
+
/^ف/i,
|
38 |
+
/^م/i,
|
39 |
+
/^(آ|ا)/i,
|
40 |
+
/^م/i,
|
41 |
+
/^(ژ|ج)/i,
|
42 |
+
/^(ج|ژ)/i,
|
43 |
+
/^(آ|ا)/i,
|
44 |
+
/^س/i,
|
45 |
+
/^ا/i,
|
46 |
+
/^ن/i,
|
47 |
+
/^د/i,
|
48 |
+
],
|
49 |
+
|
50 |
+
any: [
|
51 |
+
/^ژا/i,
|
52 |
+
/^ف/i,
|
53 |
+
/^ما/i,
|
54 |
+
/^آپ/i,
|
55 |
+
/^(می|مه)/i,
|
56 |
+
/^(ژوئن|جون)/i,
|
57 |
+
/^(ژوئی|جول)/i,
|
58 |
+
/^(اوت|آگ)/i,
|
59 |
+
/^س/i,
|
60 |
+
/^(اوک|اک)/i,
|
61 |
+
/^ن/i,
|
62 |
+
/^د/i,
|
63 |
+
],
|
64 |
+
};
|
65 |
+
|
66 |
+
const matchDayPatterns = {
|
67 |
+
narrow: /^[شیدسچپج]/i,
|
68 |
+
short: /^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,
|
69 |
+
abbreviated: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,
|
70 |
+
wide: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,
|
71 |
+
};
|
72 |
+
const parseDayPatterns = {
|
73 |
+
narrow: [/^ی/i, /^دو/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
|
74 |
+
any: [
|
75 |
+
/^(ی|1ش|یکشنبه)/i,
|
76 |
+
/^(د|2ش|دوشنبه)/i,
|
77 |
+
/^(س|3ش|سهشنبه)/i,
|
78 |
+
/^(چ|4ش|چهارشنبه)/i,
|
79 |
+
/^(پ|5ش|پنجشنبه)/i,
|
80 |
+
/^(ج|جمعه)/i,
|
81 |
+
/^(ش|شنبه)/i,
|
82 |
+
],
|
83 |
+
};
|
84 |
+
|
85 |
+
const matchDayPeriodPatterns = {
|
86 |
+
narrow: /^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,
|
87 |
+
abbreviated: /^(ق.ظ.|ب.ظ.|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,
|
88 |
+
wide: /^(قبلازظهر|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,
|
89 |
+
};
|
90 |
+
const parseDayPeriodPatterns = {
|
91 |
+
any: {
|
92 |
+
am: /^(ق|ق.ظ.|قبلازظهر)/i,
|
93 |
+
pm: /^(ب|ب.ظ.|بعدازظهر)/i,
|
94 |
+
midnight: /^(نیمهشب|ن)/i,
|
95 |
+
noon: /^(ظ|ظهر)/i,
|
96 |
+
morning: /(ص|صبح)/i,
|
97 |
+
afternoon: /(ب|ب.ظ.|بعدازظهر)/i,
|
98 |
+
evening: /(ع|عصر)/i,
|
99 |
+
night: /(ش|شب)/i,
|
100 |
+
},
|
101 |
+
};
|
102 |
+
|
103 |
+
const match = (exports.match = {
|
104 |
+
ordinalNumber: (0, _index2.buildMatchPatternFn)({
|
105 |
+
matchPattern: matchOrdinalNumberPattern,
|
106 |
+
parsePattern: parseOrdinalNumberPattern,
|
107 |
+
valueCallback: (value) => parseInt(value, 10),
|
108 |
+
}),
|
109 |
+
|
110 |
+
era: (0, _index.buildMatchFn)({
|
111 |
+
matchPatterns: matchEraPatterns,
|
112 |
+
defaultMatchWidth: "wide",
|
113 |
+
parsePatterns: parseEraPatterns,
|
114 |
+
defaultParseWidth: "any",
|
115 |
+
}),
|
116 |
+
|
117 |
+
quarter: (0, _index.buildMatchFn)({
|
118 |
+
matchPatterns: matchQuarterPatterns,
|
119 |
+
defaultMatchWidth: "wide",
|
120 |
+
parsePatterns: parseQuarterPatterns,
|
121 |
+
defaultParseWidth: "any",
|
122 |
+
valueCallback: (index) => index + 1,
|
123 |
+
}),
|
124 |
+
|
125 |
+
month: (0, _index.buildMatchFn)({
|
126 |
+
matchPatterns: matchMonthPatterns,
|
127 |
+
defaultMatchWidth: "wide",
|
128 |
+
parsePatterns: parseMonthPatterns,
|
129 |
+
defaultParseWidth: "any",
|
130 |
+
}),
|
131 |
+
|
132 |
+
day: (0, _index.buildMatchFn)({
|
133 |
+
matchPatterns: matchDayPatterns,
|
134 |
+
defaultMatchWidth: "wide",
|
135 |
+
parsePatterns: parseDayPatterns,
|
136 |
+
defaultParseWidth: "any",
|
137 |
+
}),
|
138 |
+
|
139 |
+
dayPeriod: (0, _index.buildMatchFn)({
|
140 |
+
matchPatterns: matchDayPeriodPatterns,
|
141 |
+
defaultMatchWidth: "wide",
|
142 |
+
parsePatterns: parseDayPeriodPatterns,
|
143 |
+
defaultParseWidth: "any",
|
144 |
+
}),
|
145 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR/_lib/match.mjs
ADDED
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildMatchFn } from "../../_lib/buildMatchFn.mjs";
|
2 |
+
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.mjs";
|
3 |
+
|
4 |
+
const matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
|
5 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
6 |
+
|
7 |
+
const matchEraPatterns = {
|
8 |
+
narrow: /^(ق|ب)/i,
|
9 |
+
abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,
|
10 |
+
wide: /^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i,
|
11 |
+
};
|
12 |
+
const parseEraPatterns = {
|
13 |
+
any: [/^قبل/i, /^بعد/i],
|
14 |
+
};
|
15 |
+
|
16 |
+
const matchQuarterPatterns = {
|
17 |
+
narrow: /^[1234]/i,
|
18 |
+
abbreviated: /^سم[1234]/i,
|
19 |
+
wide: /^سهماهه [1234]/i,
|
20 |
+
};
|
21 |
+
const parseQuarterPatterns = {
|
22 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
23 |
+
};
|
24 |
+
|
25 |
+
const matchMonthPatterns = {
|
26 |
+
narrow: /^[جژفمآاماسند]/i,
|
27 |
+
abbreviated:
|
28 |
+
/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,
|
29 |
+
wide: /^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i,
|
30 |
+
};
|
31 |
+
const parseMonthPatterns = {
|
32 |
+
narrow: [
|
33 |
+
/^(ژ|ج)/i,
|
34 |
+
/^ف/i,
|
35 |
+
/^م/i,
|
36 |
+
/^(آ|ا)/i,
|
37 |
+
/^م/i,
|
38 |
+
/^(ژ|ج)/i,
|
39 |
+
/^(ج|ژ)/i,
|
40 |
+
/^(آ|ا)/i,
|
41 |
+
/^س/i,
|
42 |
+
/^ا/i,
|
43 |
+
/^ن/i,
|
44 |
+
/^د/i,
|
45 |
+
],
|
46 |
+
|
47 |
+
any: [
|
48 |
+
/^ژا/i,
|
49 |
+
/^ف/i,
|
50 |
+
/^ما/i,
|
51 |
+
/^آپ/i,
|
52 |
+
/^(می|مه)/i,
|
53 |
+
/^(ژوئن|جون)/i,
|
54 |
+
/^(ژوئی|جول)/i,
|
55 |
+
/^(اوت|آگ)/i,
|
56 |
+
/^س/i,
|
57 |
+
/^(اوک|اک)/i,
|
58 |
+
/^ن/i,
|
59 |
+
/^د/i,
|
60 |
+
],
|
61 |
+
};
|
62 |
+
|
63 |
+
const matchDayPatterns = {
|
64 |
+
narrow: /^[شیدسچپج]/i,
|
65 |
+
short: /^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,
|
66 |
+
abbreviated: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,
|
67 |
+
wide: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,
|
68 |
+
};
|
69 |
+
const parseDayPatterns = {
|
70 |
+
narrow: [/^ی/i, /^دو/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
|
71 |
+
any: [
|
72 |
+
/^(ی|1ش|یکشنبه)/i,
|
73 |
+
/^(د|2ش|دوشنبه)/i,
|
74 |
+
/^(س|3ش|سهشنبه)/i,
|
75 |
+
/^(چ|4ش|چهارشنبه)/i,
|
76 |
+
/^(پ|5ش|پنجشنبه)/i,
|
77 |
+
/^(ج|جمعه)/i,
|
78 |
+
/^(ش|شنبه)/i,
|
79 |
+
],
|
80 |
+
};
|
81 |
+
|
82 |
+
const matchDayPeriodPatterns = {
|
83 |
+
narrow: /^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,
|
84 |
+
abbreviated: /^(ق.ظ.|ب.ظ.|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,
|
85 |
+
wide: /^(قبلازظهر|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,
|
86 |
+
};
|
87 |
+
const parseDayPeriodPatterns = {
|
88 |
+
any: {
|
89 |
+
am: /^(ق|ق.ظ.|قبلازظهر)/i,
|
90 |
+
pm: /^(ب|ب.ظ.|بعدازظهر)/i,
|
91 |
+
midnight: /^(نیمهشب|ن)/i,
|
92 |
+
noon: /^(ظ|ظهر)/i,
|
93 |
+
morning: /(ص|صبح)/i,
|
94 |
+
afternoon: /(ب|ب.ظ.|بعدازظهر)/i,
|
95 |
+
evening: /(ع|عصر)/i,
|
96 |
+
night: /(ش|شب)/i,
|
97 |
+
},
|
98 |
+
};
|
99 |
+
|
100 |
+
export const match = {
|
101 |
+
ordinalNumber: buildMatchPatternFn({
|
102 |
+
matchPattern: matchOrdinalNumberPattern,
|
103 |
+
parsePattern: parseOrdinalNumberPattern,
|
104 |
+
valueCallback: (value) => parseInt(value, 10),
|
105 |
+
}),
|
106 |
+
|
107 |
+
era: buildMatchFn({
|
108 |
+
matchPatterns: matchEraPatterns,
|
109 |
+
defaultMatchWidth: "wide",
|
110 |
+
parsePatterns: parseEraPatterns,
|
111 |
+
defaultParseWidth: "any",
|
112 |
+
}),
|
113 |
+
|
114 |
+
quarter: buildMatchFn({
|
115 |
+
matchPatterns: matchQuarterPatterns,
|
116 |
+
defaultMatchWidth: "wide",
|
117 |
+
parsePatterns: parseQuarterPatterns,
|
118 |
+
defaultParseWidth: "any",
|
119 |
+
valueCallback: (index) => index + 1,
|
120 |
+
}),
|
121 |
+
|
122 |
+
month: buildMatchFn({
|
123 |
+
matchPatterns: matchMonthPatterns,
|
124 |
+
defaultMatchWidth: "wide",
|
125 |
+
parsePatterns: parseMonthPatterns,
|
126 |
+
defaultParseWidth: "any",
|
127 |
+
}),
|
128 |
+
|
129 |
+
day: buildMatchFn({
|
130 |
+
matchPatterns: matchDayPatterns,
|
131 |
+
defaultMatchWidth: "wide",
|
132 |
+
parsePatterns: parseDayPatterns,
|
133 |
+
defaultParseWidth: "any",
|
134 |
+
}),
|
135 |
+
|
136 |
+
dayPeriod: buildMatchFn({
|
137 |
+
matchPatterns: matchDayPeriodPatterns,
|
138 |
+
defaultMatchWidth: "wide",
|
139 |
+
parsePatterns: parse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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function _typeof(o) {"@babel/helpers - typeof";return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if ("object" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || "default");if ("object" != _typeof(i)) return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string" === r ? String : Number)(t);}(function (_window$dateFns) {var __defProp = Object.defineProperty;
|
2 |
+
var __export = function __export(target, all) {
|
3 |
+
for (var name in all)
|
4 |
+
__defProp(target, name, {
|
5 |
+
get: all[name],
|
6 |
+
enumerable: true,
|
7 |
+
configurable: true,
|
8 |
+
set: function set(newValue) {return all[name] = function () {return newValue;};}
|
9 |
+
});
|
10 |
+
};
|
11 |
+
|
12 |
+
// lib/locale/fa-IR/_lib/formatDistance.mjs
|
13 |
+
var formatDistanceLocale = {
|
14 |
+
lessThanXSeconds: {
|
15 |
+
one: "\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u062B\u0627\u0646\u06CC\u0647",
|
16 |
+
other: "\u06A9\u0645\u062A\u0631 \u0627\u0632 {{count}} \u062B\u0627\u0646\u06CC\u0647"
|
17 |
+
},
|
18 |
+
xSeconds: {
|
19 |
+
one: "1 \u062B\u0627\u0646\u06CC\u0647",
|
20 |
+
other: "{{count}} \u062B\u0627\u0646\u06CC\u0647"
|
21 |
+
},
|
22 |
+
halfAMinute: "\u0646\u06CC\u0645 \u062F\u0642\u06CC\u0642\u0647",
|
23 |
+
lessThanXMinutes: {
|
24 |
+
one: "\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u062F\u0642\u06CC\u0642\u0647",
|
25 |
+
other: "\u06A9\u0645\u062A\u0631 \u0627\u0632 {{count}} \u062F\u0642\u06CC\u0642\u0647"
|
26 |
+
},
|
27 |
+
xMinutes: {
|
28 |
+
one: "1 \u062F\u0642\u06CC\u0642\u0647",
|
29 |
+
other: "{{count}} \u062F\u0642\u06CC\u0642\u0647"
|
30 |
+
},
|
31 |
+
aboutXHours: {
|
32 |
+
one: "\u062D\u062F\u0648\u062F 1 \u0633\u0627\u0639\u062A",
|
33 |
+
other: "\u062D\u062F\u0648\u062F {{count}} \u0633\u0627\u0639\u062A"
|
34 |
+
},
|
35 |
+
xHours: {
|
36 |
+
one: "1 \u0633\u0627\u0639\u062A",
|
37 |
+
other: "{{count}} \u0633\u0627\u0639\u062A"
|
38 |
+
},
|
39 |
+
xDays: {
|
40 |
+
one: "1 \u0631\u0648\u0632",
|
41 |
+
other: "{{count}} \u0631\u0648\u0632"
|
42 |
+
},
|
43 |
+
aboutXWeeks: {
|
44 |
+
one: "\u062D\u062F\u0648\u062F 1 \u0647\u0641\u062A\u0647",
|
45 |
+
other: "\u062D\u062F\u0648\u062F {{count}} \u0647\u0641\u062A\u0647"
|
46 |
+
},
|
47 |
+
xWeeks: {
|
48 |
+
one: "1 \u0647\u0641\u062A\u0647",
|
49 |
+
other: "{{count}} \u0647\u0641\u062A\u0647"
|
50 |
+
},
|
51 |
+
aboutXMonths: {
|
52 |
+
one: "\u062D\u062F\u0648\u062F 1 \u0645\u0627\u0647",
|
53 |
+
other: "\u062D\u062F\u0648\u062F {{count}} \u0645\u0627\u0647"
|
54 |
+
},
|
55 |
+
xMonths: {
|
56 |
+
one: "1 \u0645\u0627\u0647",
|
57 |
+
other: "{{count}} \u0645\u0627\u0647"
|
58 |
+
},
|
59 |
+
aboutXYears: {
|
60 |
+
one: "\u062D\u062F\u0648\u062F 1 \u0633\u0627\u0644",
|
61 |
+
other: "\u062D\u062F\u0648\u062F {{count}} \u0633\u0627\u0644"
|
62 |
+
},
|
63 |
+
xYears: {
|
64 |
+
one: "1 \u0633\u0627\u0644",
|
65 |
+
other: "{{count}} \u0633\u0627\u0644"
|
66 |
+
},
|
67 |
+
overXYears: {
|
68 |
+
one: "\u0628\u06CC\u0634\u062A\u0631 \u0627\u0632 1 \u0633\u0627\u0644",
|
69 |
+
other: "\u0628\u06CC\u0634\u062A\u0631 \u0627\u0632 {{count}} \u0633\u0627\u0644"
|
70 |
+
},
|
71 |
+
almostXYears: {
|
72 |
+
one: "\u0646\u0632\u062F\u06CC\u06A9 1 \u0633\u0627\u0644",
|
73 |
+
other: "\u0646\u0632\u062F\u06CC\u06A9 {{count}} \u0633\u0627\u0644"
|
74 |
+
}
|
75 |
+
};
|
76 |
+
var formatDistance = function formatDistance(token, count, options) {
|
77 |
+
var result;
|
78 |
+
var tokenValue = formatDistanceLocale[token];
|
79 |
+
if (typeof tokenValue === "string") {
|
80 |
+
result = tokenValue;
|
81 |
+
} else if (count === 1) {
|
82 |
+
result = tokenValue.one;
|
83 |
+
} else {
|
84 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
85 |
+
}
|
86 |
+
if (options !== null && options !== void 0 && options.addSuffix) {
|
87 |
+
if (options.comparison && options.comparison > 0) {
|
88 |
+
return "\u062F\u0631 " + result;
|
89 |
+
} else {
|
90 |
+
return result + " \u0642\u0628\u0644";
|
91 |
+
}
|
92 |
+
}
|
93 |
+
return result;
|
94 |
+
};
|
95 |
+
|
96 |
+
// lib/locale/_lib/buildFormatLongFn.mjs
|
97 |
+
function buildFormatLongFn(args) {
|
98 |
+
return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
99 |
+
var width = options.width ? String(options.width) : args.defaultWidth;
|
100 |
+
var format = args.formats[width] || args.formats[args.defaultWidth];
|
101 |
+
return format;
|
102 |
+
};
|
103 |
+
}
|
104 |
+
|
105 |
+
// lib/locale/fa-IR/_lib/formatLong.mjs
|
106 |
+
var dateFormats = {
|
107 |
+
full: "EEEE do MMMM y",
|
108 |
+
long: "do MMMM y",
|
109 |
+
medium: "d MMM y",
|
110 |
+
short: "yyyy/MM/dd"
|
111 |
+
};
|
112 |
+
var timeFormats = {
|
113 |
+
full: "h:mm:ss a zzzz",
|
114 |
+
long: "h:mm:ss a z",
|
115 |
+
medium: "h:mm:ss a",
|
116 |
+
short: "h:mm a"
|
117 |
+
};
|
118 |
+
var dateTimeFormats = {
|
119 |
+
full: "{{date}} '\u062F\u0631' {{time}}",
|
120 |
+
long: "{{date}} '\u062F\u0631' {{time}}",
|
121 |
+
medium: "{{date}}, {{time}}",
|
122 |
+
short: "{{date}}, {{time}}"
|
123 |
+
};
|
124 |
+
var formatLong = {
|
125 |
+
date: buildFormatLongFn({
|
126 |
+
formats: dateFormats,
|
127 |
+
defaultWidth: "full"
|
128 |
+
}),
|
129 |
+
time: buildFormatLongFn({
|
130 |
+
formats: timeFormats,
|
131 |
+
defaultWidth: "full"
|
132 |
+
}),
|
133 |
+
dateTime: buildFormatLongFn({
|
134 |
+
formats: dateTimeFormats,
|
135 |
+
defaultWidth: "full"
|
136 |
+
})
|
137 |
+
};
|
138 |
+
|
139 |
+
// lib/locale/fa-IR/_lib/formatRelative.mjs
|
140 |
+
var formatRelativeLocale = {
|
141 |
+
lastWeek: "eeee '\u06AF\u0630\u0634\u062A\u0647 \u062F\u0631' p",
|
142 |
+
yesterday: "'\u062F\u06CC\u0631\u0648\u0632 \u062F\u0631' p",
|
143 |
+
today: "'\u0627\u0645\u0631\u0648\u0632 \u062F\u0631' p",
|
144 |
+
tomorrow: "'\u0641\u0631\u062F\u0627 \u062F\u0631' p",
|
145 |
+
nextWeek: "eeee '\u062F\u0631' p",
|
146 |
+
other: "P"
|
147 |
+
};
|
148 |
+
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};
|
149 |
+
|
150 |
+
// lib/locale/_lib/buildLocalizeFn.mjs
|
151 |
+
function buildLocalizeFn(args) {
|
152 |
+
return function (value, options) {
|
153 |
+
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
|
154 |
+
var valuesArray;
|
155 |
+
if (context === "formatting" && args.formattingValues) {
|
156 |
+
var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
157 |
+
var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
|
158 |
+
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
159 |
+
} else {
|
160 |
+
var _defaultWidth = args.defaultWidth;
|
161 |
+
var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
|
162 |
+
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
163 |
+
}
|
164 |
+
var index = args.argumentCallback ? args.argumentCallback(value) : value;
|
165 |
+
return valuesArray[index];
|
166 |
+
};
|
167 |
+
}
|
168 |
+
|
169 |
+
// lib/locale/fa-IR/_lib/localize.mjs
|
170 |
+
var eraValues = {
|
171 |
+
narrow: ["\u0642", "\u0628"],
|
172 |
+
abbreviated: ["\u0642.\u0645.", "\u0628.\u0645."],
|
173 |
+
wide: ["\u0642\u0628\u0644 \u0627\u0632 \u0645\u06CC\u0644\u0627\u062F", "\u0628\u0639\u062F \u0627\u0632 \u0645\u06CC\u0644\u0627\u062F"]
|
174 |
+
};
|
175 |
+
var quarterValues = {
|
176 |
+
narrow: ["1", "2", "3", "4"],
|
177 |
+
abbreviated: ["\u0633\u200C\u06451", "\u0633\u200C\u06452", "\u0633\u200C\u06453", "\u0633\u200C\u06454"],
|
178 |
+
wide: ["\u0633\u0647\u200C\u0645\u0627\u0647\u0647 1", "\u0633\u0647\u200C\u0645\u0627\u0647\u0647 2", "\u0633\u0647\u200C\u0645\u0627\u0647\u0647 3", "\u0633\u0647\u200C\u0645\u0627\u0647\u0647 4"]
|
179 |
+
};
|
180 |
+
var monthValues = {
|
181 |
+
narrow: ["\u0698", "\u0641", "\u0645", "\u0622", "\u0645", "\u062C", "\u062C", "\u0622", "\u0633", "\u0627", "\u0646", "\u062F"],
|
182 |
+
abbreviated: [
|
183 |
+
"\u0698\u0627\u0646\u0640",
|
184 |
+
"\u0641\u0648\u0631",
|
185 |
+
"\u0645\u0627\u0631\u0633",
|
186 |
+
"\u0622\u067E\u0631",
|
187 |
+
"\u0645\u06CC",
|
188 |
+
"\u062C\u0648\u0646",
|
189 |
+
"\u062C\u0648\u0644\u0640",
|
190 |
+
"\u0622\u06AF\u0648",
|
191 |
+
"\u0633\u067E\u062A\u0640",
|
192 |
+
"\u0627\u06A9\u062A\u0640",
|
193 |
+
"\u0646\u0648\u0627\u0645\u0640",
|
194 |
+
"\u062F\u0633\u0627\u0645\u0640"],
|
195 |
+
|
196 |
+
wide: [
|
197 |
+
"\u0698\u0627\u0646\u0648\u06CC\u0647",
|
198 |
+
"\u0641\u0648\u0631\u06CC\u0647",
|
199 |
+
"\u0645\u0627\u0631\u0633",
|
200 |
+
"\u0622\u067E\u0631\u06CC\u0644",
|
201 |
+
"\u0645\u06CC",
|
202 |
+
"\u062C\u0648\u0646",
|
203 |
+
"\u062C\u0648\u0644\u0627\u06CC",
|
204 |
+
"\u0622\u06AF\u0648\u0633\u062A",
|
205 |
+
"\u0633\u067E\u062A\u0627\u0645\u0628\u0631",
|
206 |
+
"\u0627\u06A9\u062A\u0628\u0631",
|
207 |
+
"\u0646\u0648\u0627\u0645\u0628\u0631",
|
208 |
+
"\u062F\u0633\u0627\u0645\u0628\u0631"]
|
209 |
+
|
210 |
+
};
|
211 |
+
var dayValues = {
|
212 |
+
narrow: ["\u06CC", "\u062F", "\u0633", "\u0686", "\u067E", "\u062C", "\u0634"],
|
213 |
+
short: ["1\u0634", "2\u0634", "3\u0634", "4\u0634", "5\u0634", "\u062C", "\u0634"],
|
214 |
+
abbreviated: [
|
215 |
+
"\u06CC\u06A9\u0634\u0646\u0628\u0647",
|
216 |
+
"\u062F\u0648\u0634\u0646\u0628\u0647",
|
217 |
+
"\u0633\u0647\u200C\u0634\u0646\u0628\u0647",
|
218 |
+
"\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647",
|
219 |
+
"\u067E\u0646\u062C\u0634\u0646\u0628\u0647",
|
220 |
+
"\u062C\u0645\u0639\u0647",
|
221 |
+
"\u0634\u0646\u0628\u0647"],
|
222 |
+
|
223 |
+
wide: ["\u06CC\u06A9\u0634\u0646\u0628\u0647", "\u062F\u0648\u0634\u0646\u0628\u0647", "\u0633\u0647\u200C\u0634\u0646\u0628\u0647", "\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647", "\u067E\u0646\u062C\u0634\u0646\u0628\u0647", "\u062C\u0645\u0639\u0647", "\u0634\u0646\u0628\u0647"]
|
224 |
+
};
|
225 |
+
var dayPeriodValues = {
|
226 |
+
narrow: {
|
227 |
+
am: "\u0642",
|
228 |
+
pm: "\u0628",
|
229 |
+
midnight: "\u0646",
|
230 |
+
noon: "\u0638",
|
231 |
+
morning: "\u0635",
|
232 |
+
afternoon: "\u0628.\u0638.",
|
233 |
+
evening: "\u0639",
|
234 |
+
night: "\u0634"
|
235 |
+
},
|
236 |
+
abbreviated: {
|
237 |
+
am: "\u0642.\u0638.",
|
238 |
+
pm: "\u0628.\u0638.",
|
239 |
+
midnight: "\u0646\u06CC\u0645\u0647\u200C\u0634\u0628",
|
240 |
+
noon: "\u0638\u0647\u0631",
|
241 |
+
morning: "\u0635\u0628\u062D",
|
242 |
+
afternoon: "\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",
|
243 |
+
evening: "\u0639\u0635\u0631",
|
244 |
+
night: "\u0634\u0628"
|
245 |
+
},
|
246 |
+
wide: {
|
247 |
+
am: "\u0642\u0628\u0644\u200C\u0627\u0632\u0638\u0647\u0631",
|
248 |
+
pm: "\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",
|
249 |
+
midnight: "\u0646\u06CC\u0645\u0647\u200C\u0634\u0628",
|
250 |
+
noon: "\u0638\u0647\u0631",
|
251 |
+
morning: "\u0635\u0628\u062D",
|
252 |
+
afternoon: "\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",
|
253 |
+
evening: "\u0639\u0635\u0631",
|
254 |
+
night: "\u0634\u0628"
|
255 |
+
}
|
256 |
+
};
|
257 |
+
var formattingDayPeriodValues = {
|
258 |
+
narrow: {
|
259 |
+
am: "\u0642",
|
260 |
+
pm: "\u0628",
|
261 |
+
midnight: "\u0646",
|
262 |
+
noon: "\u0638",
|
263 |
+
morning: "\u0635",
|
264 |
+
afternoon: "\u0628.\u0638.",
|
265 |
+
evening: "\u0639",
|
266 |
+
night: "\u0634"
|
267 |
+
},
|
268 |
+
abbreviated: {
|
269 |
+
am: "\u0642.\u0638.",
|
270 |
+
pm: "\u0628.\u0638.",
|
271 |
+
midnight: "\u0646\u06CC\u0645\u0647\u200C\u0634\u0628",
|
272 |
+
noon: "\u0638\u0647\u0631",
|
273 |
+
morning: "\u0635\u0628\u062D",
|
274 |
+
afternoon: "\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",
|
275 |
+
evening: "\u0639\u0635\u0631",
|
276 |
+
night: "\u0634\u0628"
|
277 |
+
},
|
278 |
+
wide: {
|
279 |
+
am: "\u0642\u0628\u0644\u200C\u0627\u0632\u0638\u0647\u0631",
|
280 |
+
pm: "\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",
|
281 |
+
midnight: "\u0646\u06CC\u0645\u0647\u200C\u0634\u0628",
|
282 |
+
noon: "\u0638\u0647\u0631",
|
283 |
+
morning: "\u0635\u0628\u062D",
|
284 |
+
afternoon: "\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",
|
285 |
+
evening: "\u0639\u0635\u0631",
|
286 |
+
night: "\u0634\u0628"
|
287 |
+
}
|
288 |
+
};
|
289 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
290 |
+
return String(dirtyNumber);
|
291 |
+
};
|
292 |
+
var localize = {
|
293 |
+
ordinalNumber: ordinalNumber,
|
294 |
+
era: buildLocalizeFn({
|
295 |
+
values: eraValues,
|
296 |
+
defaultWidth: "wide"
|
297 |
+
}),
|
298 |
+
quarter: buildLocalizeFn({
|
299 |
+
values: quarterValues,
|
300 |
+
defaultWidth: "wide",
|
301 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
302 |
+
}),
|
303 |
+
month: buildLocalizeFn({
|
304 |
+
values: monthValues,
|
305 |
+
defaultWidth: "wide"
|
306 |
+
}),
|
307 |
+
day: buildLocalizeFn({
|
308 |
+
values: dayValues,
|
309 |
+
defaultWidth: "wide"
|
310 |
+
}),
|
311 |
+
dayPeriod: buildLocalizeFn({
|
312 |
+
values: dayPeriodValues,
|
313 |
+
defaultWidth: "wide",
|
314 |
+
formattingValues: formattingDayPeriodValues,
|
315 |
+
defaultFormattingWidth: "wide"
|
316 |
+
})
|
317 |
+
};
|
318 |
+
|
319 |
+
// lib/locale/_lib/buildMatchFn.mjs
|
320 |
+
function buildMatchFn(args) {
|
321 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
322 |
+
var width = options.width;
|
323 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
324 |
+
var matchResult = string.match(matchPattern);
|
325 |
+
if (!matchResult) {
|
326 |
+
return null;
|
327 |
+
}
|
328 |
+
var matchedString = matchResult[0];
|
329 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
330 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
331 |
+
var value;
|
332 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
333 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
334 |
+
var rest = string.slice(matchedString.length);
|
335 |
+
return { value: value, rest: rest };
|
336 |
+
};
|
337 |
+
}
|
338 |
+
var findKey = function findKey(object, predicate) {
|
339 |
+
for (var key in object) {
|
340 |
+
if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
|
341 |
+
return key;
|
342 |
+
}
|
343 |
+
}
|
344 |
+
return;
|
345 |
+
};
|
346 |
+
var findIndex = function findIndex(array, predicate) {
|
347 |
+
for (var key = 0; key < array.length; key++) {
|
348 |
+
if (predicate(array[key])) {
|
349 |
+
return key;
|
350 |
+
}
|
351 |
+
}
|
352 |
+
return;
|
353 |
+
};
|
354 |
+
|
355 |
+
// lib/locale/_lib/buildMatchPatternFn.mjs
|
356 |
+
function buildMatchPatternFn(args) {
|
357 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
358 |
+
var matchResult = string.match(args.matchPattern);
|
359 |
+
if (!matchResult)
|
360 |
+
return null;
|
361 |
+
var matchedString = matchResult[0];
|
362 |
+
var parseResult = string.match(args.parsePattern);
|
363 |
+
if (!parseResult)
|
364 |
+
return null;
|
365 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
366 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
367 |
+
var rest = string.slice(matchedString.length);
|
368 |
+
return { value: value, rest: rest };
|
369 |
+
};
|
370 |
+
}
|
371 |
+
|
372 |
+
// lib/locale/fa-IR/_lib/match.mjs
|
373 |
+
var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
|
374 |
+
var parseOrdinalNumberPattern = /\d+/i;
|
375 |
+
var matchEraPatterns = {
|
376 |
+
narrow: /^(ق|ب)/i,
|
377 |
+
abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,
|
378 |
+
wide: /^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i
|
379 |
+
};
|
380 |
+
var parseEraPatterns = {
|
381 |
+
any: [/^قبل/i, /^بعد/i]
|
382 |
+
};
|
383 |
+
var matchQuarterPatterns = {
|
384 |
+
narrow: /^[1234]/i,
|
385 |
+
abbreviated: /^سم[1234]/i,
|
386 |
+
wide: /^سهماهه [1234]/i
|
387 |
+
};
|
388 |
+
var parseQuarterPatterns = {
|
389 |
+
any: [/1/i, /2/i, /3/i, /4/i]
|
390 |
+
};
|
391 |
+
var matchMonthPatterns = {
|
392 |
+
narrow: /^[جژفمآاماسند]/i,
|
393 |
+
abbreviated: /^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,
|
394 |
+
wide: /^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i
|
395 |
+
};
|
396 |
+
var parseMonthPatterns = {
|
397 |
+
narrow: [
|
398 |
+
/^(ژ|ج)/i,
|
399 |
+
/^ف/i,
|
400 |
+
/^م/i,
|
401 |
+
/^(آ|ا)/i,
|
402 |
+
/^م/i,
|
403 |
+
/^(ژ|ج)/i,
|
404 |
+
/^(ج|ژ)/i,
|
405 |
+
/^(آ|ا)/i,
|
406 |
+
/^س/i,
|
407 |
+
/^ا/i,
|
408 |
+
/^ن/i,
|
409 |
+
/^د/i],
|
410 |
+
|
411 |
+
any: [
|
412 |
+
/^ژا/i,
|
413 |
+
/^ف/i,
|
414 |
+
/^ما/i,
|
415 |
+
/^آپ/i,
|
416 |
+
/^(می|مه)/i,
|
417 |
+
/^(ژوئن|جون)/i,
|
418 |
+
/^(ژوئی|جول)/i,
|
419 |
+
/^(اوت|آگ)/i,
|
420 |
+
/^س/i,
|
421 |
+
/^(اوک|اک)/i,
|
422 |
+
/^ن/i,
|
423 |
+
/^د/i]
|
424 |
+
|
425 |
+
};
|
426 |
+
var matchDayPatterns = {
|
427 |
+
narrow: /^[شیدسچپج]/i,
|
428 |
+
short: /^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,
|
429 |
+
abbreviated: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,
|
430 |
+
wide: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i
|
431 |
+
};
|
432 |
+
var parseDayPatterns = {
|
433 |
+
narrow: [/^ی/i, /^دو/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
|
434 |
+
any: [
|
435 |
+
/^(ی|1ش|یکشنبه)/i,
|
436 |
+
/^(د|2ش|دوشنبه)/i,
|
437 |
+
/^(س|3ش|سهشنبه)/i,
|
438 |
+
/^(چ|4ش|چهارشنبه)/i,
|
439 |
+
/^(پ|5ش|پنجشنبه)/i,
|
440 |
+
/^(ج|جمعه)/i,
|
441 |
+
/^(ش|شنبه)/i]
|
442 |
+
|
443 |
+
};
|
444 |
+
var matchDayPeriodPatterns = {
|
445 |
+
narrow: /^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,
|
446 |
+
abbreviated: /^(ق.ظ.|ب.ظ.|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,
|
447 |
+
wide: /^(قبلازظهر|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i
|
448 |
+
};
|
449 |
+
var parseDayPeriodPatterns = {
|
450 |
+
any: {
|
451 |
+
am: /^(ق|ق.ظ.|قبلازظهر)/i,
|
452 |
+
pm: /^(ب|ب.ظ.|بعدازظهر)/i,
|
453 |
+
midnight: /^(نیمهشب|ن)/i,
|
454 |
+
noon: /^(ظ|ظهر)/i,
|
455 |
+
morning: /(ص|صبح)/i,
|
456 |
+
afternoon: /(ب|ب.ظ.|بعدازظهر)/i,
|
457 |
+
evening: /(ع|عصر)/i,
|
458 |
+
night: /(ش|شب)/i
|
459 |
+
}
|
460 |
+
};
|
461 |
+
var match = {
|
462 |
+
ordinalNumber: buildMatchPatternFn({
|
463 |
+
matchPattern: matchOrdinalNumberPattern,
|
464 |
+
parsePattern: parseOrdinalNumberPattern,
|
465 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
466 |
+
}),
|
467 |
+
era: buildMatchFn({
|
468 |
+
matchPatterns: matchEraPatterns,
|
469 |
+
defaultMatchWidth: "wide",
|
470 |
+
parsePatterns: parseEraPatterns,
|
471 |
+
defaultParseWidth: "any"
|
472 |
+
}),
|
473 |
+
quarter: buildMatchFn({
|
474 |
+
matchPatterns: matchQuarterPatterns,
|
475 |
+
defaultMatchWidth: "wide",
|
476 |
+
parsePatterns: parseQuarterPatterns,
|
477 |
+
defaultParseWidth: "any",
|
478 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
479 |
+
}),
|
480 |
+
month: buildMatchFn({
|
481 |
+
matchPatterns: matchMonthPatterns,
|
482 |
+
defaultMatchWidth: "wide",
|
483 |
+
parsePatterns: parseMonthPatterns,
|
484 |
+
defaultParseWidth: "any"
|
485 |
+
}),
|
486 |
+
day: buildMatchFn({
|
487 |
+
matchPatterns: matchDayPatterns,
|
488 |
+
defaultMatchWidth: "wide",
|
489 |
+
parsePatterns: parseDayPatterns,
|
490 |
+
defaultParseWidth: "any"
|
491 |
+
}),
|
492 |
+
dayPeriod: buildMatchFn({
|
493 |
+
matchPatterns: matchDayPeriodPatterns,
|
494 |
+
defaultMatchWidth: "wide",
|
495 |
+
parsePatterns: parseDayPeriodPatterns,
|
496 |
+
defaultParseWidth: "any"
|
497 |
+
})
|
498 |
+
};
|
499 |
+
|
500 |
+
// lib/locale/fa-IR.mjs
|
501 |
+
var faIR = {
|
502 |
+
code: "fa-IR",
|
503 |
+
formatDistance: formatDistance,
|
504 |
+
formatLong: formatLong,
|
505 |
+
formatRelative: formatRelative,
|
506 |
+
localize: localize,
|
507 |
+
match: match,
|
508 |
+
options: {
|
509 |
+
weekStartsOn: 6,
|
510 |
+
firstWeekContainsDate: 1
|
511 |
+
}
|
512 |
+
};
|
513 |
+
|
514 |
+
// lib/locale/fa-IR/cdn.js
|
515 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
516 |
+
window.dateFns), {}, {
|
517 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
518 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
519 |
+
faIR: faIR }) });
|
520 |
+
|
521 |
+
|
522 |
+
|
523 |
+
//# debugId=6CED0F29B47F82A364756e2164756e21
|
524 |
+
})();
|
525 |
+
|
526 |
+
//# sourceMappingURL=cdn.js.map
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR/cdn.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"cdn.js","names":["_window$dateFns","__defProp","Object","defineProperty","__export","target","all","name","get","enumerable","configurable","set","newValue","formatDistanceLocale","lessThanXSeconds","one","other","xSeconds","halfAMinute","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","options","result","tokenValue","replace","String","addSuffix","comparison","buildFormatLongFn","args","arguments","length","undefined","width","defaultWidth","format","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","date","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","formatRelative","_date","_baseDate","_options","buildLocalizeFn","value","context","valuesArray","formattingValues","defaultFormattingWidth","values","index","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","dayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","formattingDayPeriodValues","ordinalNumber","dirtyNumber","localize","era","quarter","month","day","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","pattern","test","findKey","valueCallback","rest","slice","object","predicate","prototype","hasOwnProperty","call","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","faIR","code","weekStartsOn","firstWeekContainsDate","window","dateFns","_objectSpread","locale"],"sources":["cdn.js"],"sourcesContent":["(() => { var __defProp = Object.defineProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: (newValue) => all[name] = () => newValue\n });\n};\n\n// lib/locale/fa-IR/_lib/formatDistance.mjs\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"\\u06A9\\u0645\\u062A\\u0631 \\u0627\\u0632 \\u06CC\\u06A9 \\u062B\\u0627\\u0646\\u06CC\\u0647\",\n other: \"\\u06A9\\u0645\\u062A\\u0631 \\u0627\\u0632 {{count}} \\u062B\\u0627\\u0646\\u06CC\\u0647\"\n },\n xSeconds: {\n one: \"1 \\u062B\\u0627\\u0646\\u06CC\\u0647\",\n other: \"{{count}} \\u062B\\u0627\\u0646\\u06CC\\u0647\"\n },\n halfAMinute: \"\\u0646\\u06CC\\u0645 \\u062F\\u0642\\u06CC\\u0642\\u0647\",\n lessThanXMinutes: {\n one: \"\\u06A9\\u0645\\u062A\\u0631 \\u0627\\u0632 \\u06CC\\u06A9 \\u062F\\u0642\\u06CC\\u0642\\u0647\",\n other: \"\\u06A9\\u0645\\u062A\\u0631 \\u0627\\u0632 {{count}} \\u062F\\u0642\\u06CC\\u0642\\u0647\"\n },\n xMinutes: {\n one: \"1 \\u062F\\u0642\\u06CC\\u0642\\u0647\",\n other: \"{{count}} \\u062F\\u0642\\u06CC\\u0642\\u0647\"\n },\n aboutXHours: {\n one: \"\\u062D\\u062F\\u0648\\u062F 1 \\u0633\\u0627\\u0639\\u062A\",\n other: \"\\u062D\\u062F\\u0648\\u062F {{count}} \\u0633\\u0627\\u0639\\u062A\"\n },\n xHours: {\n one: \"1 \\u0633\\u0627\\u0639\\u062A\",\n other: \"{{count}} \\u0633\\u0627\\u0639\\u062A\"\n },\n xDays: {\n one: \"1 \\u0631\\u0648\\u0632\",\n other: \"{{count}} \\u0631\\u0648\\u0632\"\n },\n aboutXWeeks: {\n one: \"\\u062D\\u062F\\u0648\\u062F 1 \\u0647\\u0641\\u062A\\u0647\",\n other: \"\\u062D\\u062F\\u0648\\u062F {{count}} \\u0647\\u0641\\u062A\\u0647\"\n },\n xWeeks: {\n one: \"1 \\u0647\\u0641\\u062A\\u0647\",\n other: \"{{count}} \\u0647\\u0641\\u062A\\u0647\"\n },\n aboutXMonths: {\n one: \"\\u062D\\u062F\\u0648\\u062F 1 \\u0645\\u0627\\u0647\",\n other: \"\\u062D\\u062F\\u0648\\u062F {{count}} \\u0645\\u0627\\u0647\"\n },\n xMonths: {\n one: \"1 \\u0645\\u0627\\u0647\",\n other: \"{{count}} \\u0645\\u0627\\u0647\"\n },\n aboutXYears: {\n one: \"\\u062D\\u062F\\u0648\\u062F 1 \\u0633\\u0627\\u0644\",\n other: \"\\u062D\\u062F\\u0648\\u062F {{count}} \\u0633\\u0627\\u0644\"\n },\n xYears: {\n one: \"1 \\u0633\\u0627\\u0644\",\n other: \"{{count}} \\u0633\\u0627\\u0644\"\n },\n overXYears: {\n one: \"\\u0628\\u06CC\\u0634\\u062A\\u0631 \\u0627\\u0632 1 \\u0633\\u0627\\u0644\",\n other: \"\\u0628\\u06CC\\u0634\\u062A\\u0631 \\u0627\\u0632 {{count}} \\u0633\\u0627\\u0644\"\n },\n almostXYears: {\n one: \"\\u0646\\u0632\\u062F\\u06CC\\u06A9 1 \\u0633\\u0627\\u0644\",\n other: \"\\u0646\\u0632\\u062F\\u06CC\\u06A9 {{count}} \\u0633\\u0627\\u0644\"\n }\n};\nvar formatDistance = (token, count, options) => {\n let result;\n const tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"\\u062F\\u0631 \" + result;\n } else {\n return result + \" \\u0642\\u0628\\u0644\";\n }\n }\n return result;\n};\n\n// lib/locale/_lib/buildFormatLongFn.mjs\nfunction buildFormatLongFn(args) {\n return (options = {}) => {\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n\n// lib/locale/fa-IR/_lib/formatLong.mjs\nvar dateFormats = {\n full: \"EEEE do MMMM y\",\n long: \"do MMMM y\",\n medium: \"d MMM y\",\n short: \"yyyy/MM/dd\"\n};\nvar timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} '\\u062F\\u0631' {{time}}\",\n long: \"{{date}} '\\u062F\\u0631' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\"\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\"\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\"\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\"\n })\n};\n\n// lib/locale/fa-IR/_lib/formatRelative.mjs\nvar formatRelativeLocale = {\n lastWeek: \"eeee '\\u06AF\\u0630\\u0634\\u062A\\u0647 \\u062F\\u0631' p\",\n yesterday: \"'\\u062F\\u06CC\\u0631\\u0648\\u0632 \\u062F\\u0631' p\",\n today: \"'\\u0627\\u0645\\u0631\\u0648\\u0632 \\u062F\\u0631' p\",\n tomorrow: \"'\\u0641\\u0631\\u062F\\u0627 \\u062F\\u0631' p\",\n nextWeek: \"eeee '\\u062F\\u0631' p\",\n other: \"P\"\n};\nvar formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];\n\n// lib/locale/_lib/buildLocalizeFn.mjs\nfunction buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n return valuesArray[index];\n };\n}\n\n// lib/locale/fa-IR/_lib/localize.mjs\nvar eraValues = {\n narrow: [\"\\u0642\", \"\\u0628\"],\n abbreviated: [\"\\u0642.\\u0645.\", \"\\u0628.\\u0645.\"],\n wide: [\"\\u0642\\u0628\\u0644 \\u0627\\u0632 \\u0645\\u06CC\\u0644\\u0627\\u062F\", \"\\u0628\\u0639\\u062F \\u0627\\u0632 \\u0645\\u06CC\\u0644\\u0627\\u062F\"]\n};\nvar quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"\\u0633\\u200C\\u06451\", \"\\u0633\\u200C\\u06452\", \"\\u0633\\u200C\\u06453\", \"\\u0633\\u200C\\u06454\"],\n wide: [\"\\u0633\\u0647\\u200C\\u0645\\u0627\\u0647\\u0647 1\", \"\\u0633\\u0647\\u200C\\u0645\\u0627\\u0647\\u0647 2\", \"\\u0633\\u0647\\u200C\\u0645\\u0627\\u0647\\u0647 3\", \"\\u0633\\u0647\\u200C\\u0645\\u0627\\u0647\\u0647 4\"]\n};\nvar monthValues = {\n narrow: [\"\\u0698\", \"\\u0641\", \"\\u0645\", \"\\u0622\", \"\\u0645\", \"\\u062C\", \"\\u062C\", \"\\u0622\", \"\\u0633\", \"\\u0627\", \"\\u0646\", \"\\u062F\"],\n abbreviated: [\n \"\\u0698\\u0627\\u0646\\u0640\",\n \"\\u0641\\u0648\\u0631\",\n \"\\u0645\\u0627\\u0631\\u0633\",\n \"\\u0622\\u067E\\u0631\",\n \"\\u0645\\u06CC\",\n \"\\u062C\\u0648\\u0646\",\n \"\\u062C\\u0648\\u0644\\u0640\",\n \"\\u0622\\u06AF\\u0648\",\n \"\\u0633\\u067E\\u062A\\u0640\",\n \"\\u0627\\u06A9\\u062A\\u0640\",\n \"\\u0646\\u0648\\u0627\\u0645\\u0640\",\n \"\\u062F\\u0633\\u0627\\u0645\\u0640\"\n ],\n wide: [\n \"\\u0698\\u0627\\u0646\\u0648\\u06CC\\u0647\",\n \"\\u0641\\u0648\\u0631\\u06CC\\u0647\",\n \"\\u0645\\u0627\\u0631\\u0633\",\n \"\\u0622\\u067E\\u0631\\u06CC\\u0644\",\n \"\\u0645\\u06CC\",\n \"\\u062C\\u0648\\u0646\",\n \"\\u062C\\u0648\\u0644\\u0627\\u06CC\",\n \"\\u0622\\u06AF\\u0648\\u0633\\u062A\",\n \"\\u0633\\u067E\\u062A\\u0627\\u0645\\u0628\\u0631\",\n \"\\u0627\\u06A9\\u062A\\u0628\\u0631\",\n \"\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631\",\n \"\\u062F\\u0633\\u0627\\u0645\\u0628\\u0631\"\n ]\n};\nvar dayValues = {\n narrow: [\"\\u06CC\", \"\\u062F\", \"\\u0633\", \"\\u0686\", \"\\u067E\", \"\\u062C\", \"\\u0634\"],\n short: [\"1\\u0634\", \"2\\u0634\", \"3\\u0634\", \"4\\u0634\", \"5\\u0634\", \"\\u062C\", \"\\u0634\"],\n abbreviated: [\n \"\\u06CC\\u06A9\\u0634\\u0646\\u0628\\u0647\",\n \"\\u062F\\u0648\\u0634\\u0646\\u0628\\u0647\",\n \"\\u0633\\u0647\\u200C\\u0634\\u0646\\u0628\\u0647\",\n \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n \"\\u067E\\u0646\\u062C\\u0634\\u0646\\u0628\\u0647\",\n \"\\u062C\\u0645\\u0639\\u0647\",\n \"\\u0634\\u0646\\u0628\\u0647\"\n ],\n wide: [\"\\u06CC\\u06A9\\u0634\\u0646\\u0628\\u0647\", \"\\u062F\\u0648\\u0634\\u0646\\u0628\\u0647\", \"\\u0633\\u0647\\u200C\\u0634\\u0646\\u0628\\u0647\", \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\", \"\\u067E\\u0646\\u062C\\u0634\\u0646\\u0628\\u0647\", \"\\u062C\\u0645\\u0639\\u0647\", \"\\u0634\\u0646\\u0628\\u0647\"]\n};\nvar dayPeriodValues = {\n narrow: {\n am: \"\\u0642\",\n pm: \"\\u0628\",\n midnight: \"\\u0646\",\n noon: \"\\u0638\",\n morning: \"\\u0635\",\n afternoon: \"\\u0628.\\u0638.\",\n evening: \"\\u0639\",\n night: \"\\u0634\"\n },\n abbreviated: {\n am: \"\\u0642.\\u0638.\",\n pm: \"\\u0628.\\u0638.\",\n midnight: \"\\u0646\\u06CC\\u0645\\u0647\\u200C\\u0634\\u0628\",\n noon: \"\\u0638\\u0647\\u0631\",\n morning: \"\\u0635\\u0628\\u062D\",\n afternoon: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n evening: \"\\u0639\\u0635\\u0631\",\n night: \"\\u0634\\u0628\"\n },\n wide: {\n am: \"\\u0642\\u0628\\u0644\\u200C\\u0627\\u0632\\u0638\\u0647\\u0631\",\n pm: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n midnight: \"\\u0646\\u06CC\\u0645\\u0647\\u200C\\u0634\\u0628\",\n noon: \"\\u0638\\u0647\\u0631\",\n morning: \"\\u0635\\u0628\\u062D\",\n afternoon: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n evening: \"\\u0639\\u0635\\u0631\",\n night: \"\\u0634\\u0628\"\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: \"\\u0642\",\n pm: \"\\u0628\",\n midnight: \"\\u0646\",\n noon: \"\\u0638\",\n morning: \"\\u0635\",\n afternoon: \"\\u0628.\\u0638.\",\n evening: \"\\u0639\",\n night: \"\\u0634\"\n },\n abbreviated: {\n am: \"\\u0642.\\u0638.\",\n pm: \"\\u0628.\\u0638.\",\n midnight: \"\\u0646\\u06CC\\u0645\\u0647\\u200C\\u0634\\u0628\",\n noon: \"\\u0638\\u0647\\u0631\",\n morning: \"\\u0635\\u0628\\u062D\",\n afternoon: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n evening: \"\\u0639\\u0635\\u0631\",\n night: \"\\u0634\\u0628\"\n },\n wide: {\n am: \"\\u0642\\u0628\\u0644\\u200C\\u0627\\u0632\\u0638\\u0647\\u0631\",\n pm: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n midnight: \"\\u0646\\u06CC\\u0645\\u0647\\u200C\\u0634\\u0628\",\n noon: \"\\u0638\\u0647\\u0631\",\n morning: \"\\u0635\\u0628\\u062D\",\n afternoon: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n evening: \"\\u0639\\u0635\\u0631\",\n night: \"\\u0634\\u0628\"\n }\n};\nvar ordinalNumber = (dirtyNumber, _options) => {\n return String(dirtyNumber);\n};\nvar localize = {\n ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\"\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\"\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\"\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\"\n })\n};\n\n// lib/locale/_lib/buildMatchFn.mjs\nfunction buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n const matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n const parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString)) : findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n let value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\nvar findKey = function(object, predicate) {\n for (const key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n return key;\n }\n }\n return;\n};\nvar findIndex = function(array, predicate) {\n for (let key = 0;key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return;\n};\n\n// lib/locale/_lib/buildMatchPatternFn.mjs\nfunction buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult)\n return null;\n const matchedString = matchResult[0];\n const parseResult = string.match(args.parsePattern);\n if (!parseResult)\n return null;\n let value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\n\n// lib/locale/fa-IR/_lib/match.mjs\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ق|ب)/i,\n abbreviated: /^(ق\\.?\\s?م\\.?|ق\\.?\\s?د\\.?\\s?م\\.?|م\\.?\\s?|د\\.?\\s?م\\.?)/i,\n wide: /^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i\n};\nvar parseEraPatterns = {\n any: [/^قبل/i, /^بعد/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^سم[1234]/i,\n wide: /^سهماهه [1234]/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[جژفمآاماسند]/i,\n abbreviated: /^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,\n wide: /^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i\n};\nvar parseMonthPatterns = {\n narrow: [\n /^(ژ|ج)/i,\n /^ف/i,\n /^م/i,\n /^(آ|ا)/i,\n /^م/i,\n /^(ژ|ج)/i,\n /^(ج|ژ)/i,\n /^(آ|ا)/i,\n /^س/i,\n /^ا/i,\n /^ن/i,\n /^د/i\n ],\n any: [\n /^ژا/i,\n /^ف/i,\n /^ما/i,\n /^آپ/i,\n /^(می|مه)/i,\n /^(ژوئن|جون)/i,\n /^(ژوئی|جول)/i,\n /^(اوت|آگ)/i,\n /^س/i,\n /^(اوک|اک)/i,\n /^ن/i,\n /^د/i\n ]\n};\nvar matchDayPatterns = {\n narrow: /^[شیدسچپج]/i,\n short: /^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,\n abbreviated: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,\n wide: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ی/i, /^دو/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],\n any: [\n /^(ی|1ش|یکشنبه)/i,\n /^(د|2ش|دوشنبه)/i,\n /^(س|3ش|سهشنبه)/i,\n /^(چ|4ش|چهارشنبه)/i,\n /^(پ|5ش|پنجشنبه)/i,\n /^(ج|جمعه)/i,\n /^(ش|شنبه)/i\n ]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,\n abbreviated: /^(ق.ظ.|ب.ظ.|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,\n wide: /^(قبلازظهر|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^(ق|ق.ظ.|قبلازظهر)/i,\n pm: /^(ب|ب.ظ.|بعدازظهر)/i,\n midnight: /^(نیمهشب|ن)/i,\n noon: /^(ظ|ظهر)/i,\n morning: /(ص|صبح)/i,\n afternoon: /(ب|ب.ظ.|بعدازظهر)/i,\n evening: /(ع|عصر)/i,\n night: /(ش|شب)/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10)\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\"\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\"\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\"\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n};\n\n// lib/locale/fa-IR.mjs\nvar faIR = {\n code: \"fa-IR\",\n formatDistance,\n formatLong,\n formatRelative,\n localize,\n match,\n options: {\n weekStartsOn: 6,\n firstWeekContainsDate: 1\n }\n};\n\n// lib/locale/fa-IR/cdn.js\nwindow.dateFns = {\n ...window.dateFns,\n locale: {\n ...window.dateFns?.locale,\n faIR\n }\n};\n\n//# debugId=6CED0F29B47F82A364756e2164756e21\n })();"],"mappings":"8lDAAA,CAAC,UAAAA,eAAA,EAAM,CAAE,IAAIC,SAAS,GAAGC,MAAM,CAACC,cAAc;EAC9C,IAAIC,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,MAAM,EAAEC,GAAG,EAA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GAAAC,aAAA,CAAAA,aAAA;EACTF,MAAM,CAACC,OAAO;IACjBE,MAAM,EAAAD,aAAA,CAAAA,aAAA,MAAA3J,eAAA;IACDyJ,MAAM,CAACC,OAAO,cAAA1J,eAAA,uBAAdA,eAAA,CAAgB4J,MAAM;MACzBP,IAAI,EAAJA,IAAI,GACL,GACF;;;;EAED;AACC,CAAC,EAAE,CAAC","ignoreList":[]}
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR/cdn.min.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
var A=function(J){return A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},A(J)},D=function(J,H){var X=Object.keys(J);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(J);H&&(T=T.filter(function(x){return Object.getOwnPropertyDescriptor(J,x).enumerable})),X.push.apply(X,T)}return X},W=function(J){for(var H=1;H<arguments.length;H++){var X=arguments[H]!=null?arguments[H]:{};H%2?D(Object(X),!0).forEach(function(T){C6(J,T,X[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(X)):D(Object(X)).forEach(function(T){Object.defineProperty(J,T,Object.getOwnPropertyDescriptor(X,T))})}return J},C6=function(J,H,X){if(H=U6(H),H in J)Object.defineProperty(J,H,{value:X,enumerable:!0,configurable:!0,writable:!0});else J[H]=X;return J},U6=function(J){var H=B6(J,"string");return A(H)=="symbol"?H:String(H)},B6=function(J,H){if(A(J)!="object"||!J)return J;var X=J[Symbol.toPrimitive];if(X!==void 0){var T=X.call(J,H||"default");if(A(T)!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return(H==="string"?String:Number)(J)};(function(J){var H=Object.defineProperty,X=function C(B,U){for(var G in U)H(B,G,{get:U[G],enumerable:!0,configurable:!0,set:function Y(Z){return U[G]=function(){return Z}}})},T={lessThanXSeconds:{one:"\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u062B\u0627\u0646\u06CC\u0647",other:"\u06A9\u0645\u062A\u0631 \u0627\u0632 {{count}} \u062B\u0627\u0646\u06CC\u0647"},xSeconds:{one:"1 \u062B\u0627\u0646\u06CC\u0647",other:"{{count}} \u062B\u0627\u0646\u06CC\u0647"},halfAMinute:"\u0646\u06CC\u0645 \u062F\u0642\u06CC\u0642\u0647",lessThanXMinutes:{one:"\u06A9\u0645\u062A\u0631 \u0627\u0632 \u06CC\u06A9 \u062F\u0642\u06CC\u0642\u0647",other:"\u06A9\u0645\u062A\u0631 \u0627\u0632 {{count}} \u062F\u0642\u06CC\u0642\u0647"},xMinutes:{one:"1 \u062F\u0642\u06CC\u0642\u0647",other:"{{count}} \u062F\u0642\u06CC\u0642\u0647"},aboutXHours:{one:"\u062D\u062F\u0648\u062F 1 \u0633\u0627\u0639\u062A",other:"\u062D\u062F\u0648\u062F {{count}} \u0633\u0627\u0639\u062A"},xHours:{one:"1 \u0633\u0627\u0639\u062A",other:"{{count}} \u0633\u0627\u0639\u062A"},xDays:{one:"1 \u0631\u0648\u0632",other:"{{count}} \u0631\u0648\u0632"},aboutXWeeks:{one:"\u062D\u062F\u0648\u062F 1 \u0647\u0641\u062A\u0647",other:"\u062D\u062F\u0648\u062F {{count}} \u0647\u0641\u062A\u0647"},xWeeks:{one:"1 \u0647\u0641\u062A\u0647",other:"{{count}} \u0647\u0641\u062A\u0647"},aboutXMonths:{one:"\u062D\u062F\u0648\u062F 1 \u0645\u0627\u0647",other:"\u062D\u062F\u0648\u062F {{count}} \u0645\u0627\u0647"},xMonths:{one:"1 \u0645\u0627\u0647",other:"{{count}} \u0645\u0627\u0647"},aboutXYears:{one:"\u062D\u062F\u0648\u062F 1 \u0633\u0627\u0644",other:"\u062D\u062F\u0648\u062F {{count}} \u0633\u0627\u0644"},xYears:{one:"1 \u0633\u0627\u0644",other:"{{count}} \u0633\u0627\u0644"},overXYears:{one:"\u0628\u06CC\u0634\u062A\u0631 \u0627\u0632 1 \u0633\u0627\u0644",other:"\u0628\u06CC\u0634\u062A\u0631 \u0627\u0632 {{count}} \u0633\u0627\u0644"},almostXYears:{one:"\u0646\u0632\u062F\u06CC\u06A9 1 \u0633\u0627\u0644",other:"\u0646\u0632\u062F\u06CC\u06A9 {{count}} \u0633\u0627\u0644"}},x=function C(B,U,G){var Y,Z=T[B];if(typeof Z==="string")Y=Z;else if(U===1)Y=Z.one;else Y=Z.other.replace("{{count}}",String(U));if(G!==null&&G!==void 0&&G.addSuffix)if(G.comparison&&G.comparison>0)return"\u062F\u0631 "+Y;else return Y+" \u0642\u0628\u0644";return Y};function N(C){return function(){var B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=B.width?String(B.width):C.defaultWidth,G=C.formats[U]||C.formats[C.defaultWidth];return G}}var S={full:"EEEE do MMMM y",long:"do MMMM y",medium:"d MMM y",short:"yyyy/MM/dd"},$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},M={full:"{{date}} '\u062F\u0631' {{time}}",long:"{{date}} '\u062F\u0631' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},R={date:N({formats:S,defaultWidth:"full"}),time:N({formats:$,defaultWidth:"full"}),dateTime:N({formats:M,defaultWidth:"full"})},L={lastWeek:"eeee '\u06AF\u0630\u0634\u062A\u0647 \u062F\u0631' p",yesterday:"'\u062F\u06CC\u0631\u0648\u0632 \u062F\u0631' p",today:"'\u0627\u0645\u0631\u0648\u0632 \u062F\u0631' p",tomorrow:"'\u0641\u0631\u062F\u0627 \u062F\u0631' p",nextWeek:"eeee '\u062F\u0631' p",other:"P"},V=function C(B,U,G,Y){return L[B]};function Q(C){return function(B,U){var G=U!==null&&U!==void 0&&U.context?String(U.context):"standalone",Y;if(G==="formatting"&&C.formattingValues){var Z=C.defaultFormattingWidth||C.defaultWidth,E=U!==null&&U!==void 0&&U.width?String(U.width):Z;Y=C.formattingValues[E]||C.formattingValues[Z]}else{var I=C.defaultWidth,K=U!==null&&U!==void 0&&U.width?String(U.width):C.defaultWidth;Y=C.values[K]||C.values[I]}var O=C.argumentCallback?C.argumentCallback(B):B;return Y[O]}}var j={narrow:["\u0642","\u0628"],abbreviated:["\u0642.\u0645.","\u0628.\u0645."],wide:["\u0642\u0628\u0644 \u0627\u0632 \u0645\u06CC\u0644\u0627\u062F","\u0628\u0639\u062F \u0627\u0632 \u0645\u06CC\u0644\u0627\u062F"]},f={narrow:["1","2","3","4"],abbreviated:["\u0633\u200C\u06451","\u0633\u200C\u06452","\u0633\u200C\u06453","\u0633\u200C\u06454"],wide:["\u0633\u0647\u200C\u0645\u0627\u0647\u0647 1","\u0633\u0647\u200C\u0645\u0627\u0647\u0647 2","\u0633\u0647\u200C\u0645\u0627\u0647\u0647 3","\u0633\u0647\u200C\u0645\u0627\u0647\u0647 4"]},w={narrow:["\u0698","\u0641","\u0645","\u0622","\u0645","\u062C","\u062C","\u0622","\u0633","\u0627","\u0646","\u062F"],abbreviated:["\u0698\u0627\u0646\u0640","\u0641\u0648\u0631","\u0645\u0627\u0631\u0633","\u0622\u067E\u0631","\u0645\u06CC","\u062C\u0648\u0646","\u062C\u0648\u0644\u0640","\u0622\u06AF\u0648","\u0633\u067E\u062A\u0640","\u0627\u06A9\u062A\u0640","\u0646\u0648\u0627\u0645\u0640","\u062F\u0633\u0627\u0645\u0640"],wide:["\u0698\u0627\u0646\u0648\u06CC\u0647","\u0641\u0648\u0631\u06CC\u0647","\u0645\u0627\u0631\u0633","\u0622\u067E\u0631\u06CC\u0644","\u0645\u06CC","\u062C\u0648\u0646","\u062C\u0648\u0644\u0627\u06CC","\u0622\u06AF\u0648\u0633\u062A","\u0633\u067E\u062A\u0627\u0645\u0628\u0631","\u0627\u06A9\u062A\u0628\u0631","\u0646\u0648\u0627\u0645\u0628\u0631","\u062F\u0633\u0627\u0645\u0628\u0631"]},P={narrow:["\u06CC","\u062F","\u0633","\u0686","\u067E","\u062C","\u0634"],short:["1\u0634","2\u0634","3\u0634","4\u0634","5\u0634","\u062C","\u0634"],abbreviated:["\u06CC\u06A9\u0634\u0646\u0628\u0647","\u062F\u0648\u0634\u0646\u0628\u0647","\u0633\u0647\u200C\u0634\u0646\u0628\u0647","\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647","\u067E\u0646\u062C\u0634\u0646\u0628\u0647","\u062C\u0645\u0639\u0647","\u0634\u0646\u0628\u0647"],wide:["\u06CC\u06A9\u0634\u0646\u0628\u0647","\u062F\u0648\u0634\u0646\u0628\u0647","\u0633\u0647\u200C\u0634\u0646\u0628\u0647","\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647","\u067E\u0646\u062C\u0634\u0646\u0628\u0647","\u062C\u0645\u0639\u0647","\u0634\u0646\u0628\u0647"]},v={narrow:{am:"\u0642",pm:"\u0628",midnight:"\u0646",noon:"\u0638",morning:"\u0635",afternoon:"\u0628.\u0638.",evening:"\u0639",night:"\u0634"},abbreviated:{am:"\u0642.\u0638.",pm:"\u0628.\u0638.",midnight:"\u0646\u06CC\u0645\u0647\u200C\u0634\u0628",noon:"\u0638\u0647\u0631",morning:"\u0635\u0628\u062D",afternoon:"\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",evening:"\u0639\u0635\u0631",night:"\u0634\u0628"},wide:{am:"\u0642\u0628\u0644\u200C\u0627\u0632\u0638\u0647\u0631",pm:"\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",midnight:"\u0646\u06CC\u0645\u0647\u200C\u0634\u0628",noon:"\u0638\u0647\u0631",morning:"\u0635\u0628\u062D",afternoon:"\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",evening:"\u0639\u0635\u0631",night:"\u0634\u0628"}},_={narrow:{am:"\u0642",pm:"\u0628",midnight:"\u0646",noon:"\u0638",morning:"\u0635",afternoon:"\u0628.\u0638.",evening:"\u0639",night:"\u0634"},abbreviated:{am:"\u0642.\u0638.",pm:"\u0628.\u0638.",midnight:"\u0646\u06CC\u0645\u0647\u200C\u0634\u0628",noon:"\u0638\u0647\u0631",morning:"\u0635\u0628\u062D",afternoon:"\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",evening:"\u0639\u0635\u0631",night:"\u0634\u0628"},wide:{am:"\u0642\u0628\u0644\u200C\u0627\u0632\u0638\u0647\u0631",pm:"\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",midnight:"\u0646\u06CC\u0645\u0647\u200C\u0634\u0628",noon:"\u0638\u0647\u0631",morning:"\u0635\u0628\u062D",afternoon:"\u0628\u0639\u062F\u0627\u0632\u0638\u0647\u0631",evening:"\u0639\u0635\u0631",night:"\u0634\u0628"}},F=function C(B,U){return String(B)},b={ordinalNumber:F,era:Q({values:j,defaultWidth:"wide"}),quarter:Q({values:f,defaultWidth:"wide",argumentCallback:function C(B){return B-1}}),month:Q({values:w,defaultWidth:"wide"}),day:Q({values:P,defaultWidth:"wide"}),dayPeriod:Q({values:v,defaultWidth:"wide",formattingValues:_,defaultFormattingWidth:"wide"})};function q(C){return function(B){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=U.width,Y=G&&C.matchPatterns[G]||C.matchPatterns[C.defaultMatchWidth],Z=B.match(Y);if(!Z)return null;var E=Z[0],I=G&&C.parsePatterns[G]||C.parsePatterns[C.defaultParseWidth],K=Array.isArray(I)?u(I,function(z){return z.test(E)}):k(I,function(z){return z.test(E)}),O;O=C.valueCallback?C.valueCallback(K):K,O=U.valueCallback?U.valueCallback(O):O;var t=B.slice(E.length);return{value:O,rest:t}}}var k=function C(B,U){for(var G in B)if(Object.prototype.hasOwnProperty.call(B,G)&&U(B[G]))return G;return},u=function C(B,U){for(var G=0;G<B.length;G++)if(U(B[G]))return G;return};function h(C){return function(B){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G=B.match(C.matchPattern);if(!G)return null;var Y=G[0],Z=B.match(C.parsePattern);if(!Z)return null;var E=C.valueCallback?C.valueCallback(Z[0]):Z[0];E=U.valueCallback?U.valueCallback(E):E;var I=B.slice(Y.length);return{value:E,rest:I}}}var m=/^(\d+)(th|st|nd|rd)?/i,c=/\d+/i,y={narrow:/^(ق|ب)/i,abbreviated:/^(ق\.?\s?م\.?|ق\.?\s?د\.?\s?م\.?|م\.?\s?|د\.?\s?م\.?)/i,wide:/^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از م��لاد)/i},p={any:[/^قبل/i,/^بعد/i]},g={narrow:/^[1234]/i,abbreviated:/^سم[1234]/i,wide:/^سهماهه [1234]/i},d={any:[/1/i,/2/i,/3/i,/4/i]},l={narrow:/^[جژفمآاماسند]/i,abbreviated:/^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,wide:/^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i},i={narrow:[/^(ژ|ج)/i,/^ف/i,/^م/i,/^(آ|ا)/i,/^م/i,/^(ژ|ج)/i,/^(ج|ژ)/i,/^(آ|ا)/i,/^س/i,/^ا/i,/^ن/i,/^د/i],any:[/^ژا/i,/^ف/i,/^ما/i,/^آپ/i,/^(می|مه)/i,/^(ژوئن|جون)/i,/^(ژوئی|جول)/i,/^(اوت|آگ)/i,/^س/i,/^(اوک|اک)/i,/^ن/i,/^د/i]},n={narrow:/^[شیدسچپج]/i,short:/^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,abbreviated:/^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,wide:/^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i},s={narrow:[/^ی/i,/^دو/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^(ی|1ش|یکشنبه)/i,/^(د|2ش|دوشنبه)/i,/^(س|3ش|سهشنبه)/i,/^(چ|4ش|چهارشنبه)/i,/^(پ|5ش|پنجشنبه)/i,/^(ج|جمعه)/i,/^(ش|شنبه)/i]},o={narrow:/^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,abbreviated:/^(ق.ظ.|ب.ظ.|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,wide:/^(قبلازظهر|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i},r={any:{am:/^(ق|ق.ظ.|قبلازظهر)/i,pm:/^(ب|ب.ظ.|بعدازظهر)/i,midnight:/^(نیمهشب|ن)/i,noon:/^(ظ|ظهر)/i,morning:/(ص|صبح)/i,afternoon:/(ب|ب.ظ.|بعدازظهر)/i,evening:/(ع|عصر)/i,night:/(ش|شب)/i}},a={ordinalNumber:h({matchPattern:m,parsePattern:c,valueCallback:function C(B){return parseInt(B,10)}}),era:q({matchPatterns:y,defaultMatchWidth:"wide",parsePatterns:p,defaultParseWidth:"any"}),quarter:q({matchPatterns:g,defaultMatchWidth:"wide",parsePatterns:d,defaultParseWidth:"any",valueCallback:function C(B){return B+1}}),month:q({matchPatterns:l,defaultMatchWidth:"wide",parsePatterns:i,defaultParseWidth:"any"}),day:q({matchPatterns:n,defaultMatchWidth:"wide",parsePatterns:s,defaultParseWidth:"any"}),dayPeriod:q({matchPatterns:o,defaultMatchWidth:"wide",parsePatterns:r,defaultParseWidth:"any"})},e={code:"fa-IR",formatDistance:x,formatLong:R,formatRelative:V,localize:b,match:a,options:{weekStartsOn:6,firstWeekContainsDate:1}};window.dateFns=W(W({},window.dateFns),{},{locale:W(W({},(J=window.dateFns)===null||J===void 0?void 0:J.locale),{},{faIR:e})})})();
|
2 |
+
|
3 |
+
//# debugId=A60C62F2ED7B825164756e2164756e21
|
workers1/auto3d/node_modules/date-fns/locale/fa-IR/cdn.min.js.map
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": 3,
|
3 |
+
"sources": ["lib/locale/fa-IR/cdn.js"],
|
4 |
+
"sourcesContent": [
|
5 |
+
"function _typeof(o) {\"@babel/helpers - typeof\";return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, \"string\");return \"symbol\" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if (\"object\" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || \"default\");if (\"object\" != _typeof(i)) return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\");}return (\"string\" === r ? String : Number)(t);}(function (_window$dateFns) {var __defProp = Object.defineProperty;\n var __export = function __export(target, all) {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: function set(newValue) {return all[name] = function () {return newValue;};}\n });\n };\n\n // lib/locale/fa-IR/_lib/formatDistance.mjs\n var formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"\\u06A9\\u0645\\u062A\\u0631 \\u0627\\u0632 \\u06CC\\u06A9 \\u062B\\u0627\\u0646\\u06CC\\u0647\",\n other: \"\\u06A9\\u0645\\u062A\\u0631 \\u0627\\u0632 {{count}} \\u062B\\u0627\\u0646\\u06CC\\u0647\"\n },\n xSeconds: {\n one: \"1 \\u062B\\u0627\\u0646\\u06CC\\u0647\",\n other: \"{{count}} \\u062B\\u0627\\u0646\\u06CC\\u0647\"\n },\n halfAMinute: \"\\u0646\\u06CC\\u0645 \\u062F\\u0642\\u06CC\\u0642\\u0647\",\n lessThanXMinutes: {\n one: \"\\u06A9\\u0645\\u062A\\u0631 \\u0627\\u0632 \\u06CC\\u06A9 \\u062F\\u0642\\u06CC\\u0642\\u0647\",\n other: \"\\u06A9\\u0645\\u062A\\u0631 \\u0627\\u0632 {{count}} \\u062F\\u0642\\u06CC\\u0642\\u0647\"\n },\n xMinutes: {\n one: \"1 \\u062F\\u0642\\u06CC\\u0642\\u0647\",\n other: \"{{count}} \\u062F\\u0642\\u06CC\\u0642\\u0647\"\n },\n aboutXHours: {\n one: \"\\u062D\\u062F\\u0648\\u062F 1 \\u0633\\u0627\\u0639\\u062A\",\n other: \"\\u062D\\u062F\\u0648\\u062F {{count}} \\u0633\\u0627\\u0639\\u062A\"\n },\n xHours: {\n one: \"1 \\u0633\\u0627\\u0639\\u062A\",\n other: \"{{count}} \\u0633\\u0627\\u0639\\u062A\"\n },\n xDays: {\n one: \"1 \\u0631\\u0648\\u0632\",\n other: \"{{count}} \\u0631\\u0648\\u0632\"\n },\n aboutXWeeks: {\n one: \"\\u062D\\u062F\\u0648\\u062F 1 \\u0647\\u0641\\u062A\\u0647\",\n other: \"\\u062D\\u062F\\u0648\\u062F {{count}} \\u0647\\u0641\\u062A\\u0647\"\n },\n xWeeks: {\n one: \"1 \\u0647\\u0641\\u062A\\u0647\",\n other: \"{{count}} \\u0647\\u0641\\u062A\\u0647\"\n },\n aboutXMonths: {\n one: \"\\u062D\\u062F\\u0648\\u062F 1 \\u0645\\u0627\\u0647\",\n other: \"\\u062D\\u062F\\u0648\\u062F {{count}} \\u0645\\u0627\\u0647\"\n },\n xMonths: {\n one: \"1 \\u0645\\u0627\\u0647\",\n other: \"{{count}} \\u0645\\u0627\\u0647\"\n },\n aboutXYears: {\n one: \"\\u062D\\u062F\\u0648\\u062F 1 \\u0633\\u0627\\u0644\",\n other: \"\\u062D\\u062F\\u0648\\u062F {{count}} \\u0633\\u0627\\u0644\"\n },\n xYears: {\n one: \"1 \\u0633\\u0627\\u0644\",\n other: \"{{count}} \\u0633\\u0627\\u0644\"\n },\n overXYears: {\n one: \"\\u0628\\u06CC\\u0634\\u062A\\u0631 \\u0627\\u0632 1 \\u0633\\u0627\\u0644\",\n other: \"\\u0628\\u06CC\\u0634\\u062A\\u0631 \\u0627\\u0632 {{count}} \\u0633\\u0627\\u0644\"\n },\n almostXYears: {\n one: \"\\u0646\\u0632\\u062F\\u06CC\\u06A9 1 \\u0633\\u0627\\u0644\",\n other: \"\\u0646\\u0632\\u062F\\u06CC\\u06A9 {{count}} \\u0633\\u0627\\u0644\"\n }\n };\n var formatDistance = function formatDistance(token, count, options) {\n var result;\n var tokenValue = formatDistanceLocale[token];\n if (typeof tokenValue === \"string\") {\n result = tokenValue;\n } else if (count === 1) {\n result = tokenValue.one;\n } else {\n result = tokenValue.other.replace(\"{{count}}\", String(count));\n }\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return \"\\u062F\\u0631 \" + result;\n } else {\n return result + \" \\u0642\\u0628\\u0644\";\n }\n }\n return result;\n };\n\n // lib/locale/_lib/buildFormatLongFn.mjs\n function buildFormatLongFn(args) {\n return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n }\n\n // lib/locale/fa-IR/_lib/formatLong.mjs\n var dateFormats = {\n full: \"EEEE do MMMM y\",\n long: \"do MMMM y\",\n medium: \"d MMM y\",\n short: \"yyyy/MM/dd\"\n };\n var timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\"\n };\n var dateTimeFormats = {\n full: \"{{date}} '\\u062F\\u0631' {{time}}\",\n long: \"{{date}} '\\u062F\\u0631' {{time}}\",\n medium: \"{{date}}, {{time}}\",\n short: \"{{date}}, {{time}}\"\n };\n var formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\"\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\"\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\"\n })\n };\n\n // lib/locale/fa-IR/_lib/formatRelative.mjs\n var formatRelativeLocale = {\n lastWeek: \"eeee '\\u06AF\\u0630\\u0634\\u062A\\u0647 \\u062F\\u0631' p\",\n yesterday: \"'\\u062F\\u06CC\\u0631\\u0648\\u0632 \\u062F\\u0631' p\",\n today: \"'\\u0627\\u0645\\u0631\\u0648\\u0632 \\u062F\\u0631' p\",\n tomorrow: \"'\\u0641\\u0631\\u062F\\u0627 \\u062F\\u0631' p\",\n nextWeek: \"eeee '\\u062F\\u0631' p\",\n other: \"P\"\n };\n var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};\n\n // lib/locale/_lib/buildLocalizeFn.mjs\n function buildLocalizeFn(args) {\n return function (value, options) {\n var context = options !== null && options !== void 0 && options.context ? String(options.context) : \"standalone\";\n var valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n var index = args.argumentCallback ? args.argumentCallback(value) : value;\n return valuesArray[index];\n };\n }\n\n // lib/locale/fa-IR/_lib/localize.mjs\n var eraValues = {\n narrow: [\"\\u0642\", \"\\u0628\"],\n abbreviated: [\"\\u0642.\\u0645.\", \"\\u0628.\\u0645.\"],\n wide: [\"\\u0642\\u0628\\u0644 \\u0627\\u0632 \\u0645\\u06CC\\u0644\\u0627\\u062F\", \"\\u0628\\u0639\\u062F \\u0627\\u0632 \\u0645\\u06CC\\u0644\\u0627\\u062F\"]\n };\n var quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"\\u0633\\u200C\\u06451\", \"\\u0633\\u200C\\u06452\", \"\\u0633\\u200C\\u06453\", \"\\u0633\\u200C\\u06454\"],\n wide: [\"\\u0633\\u0647\\u200C\\u0645\\u0627\\u0647\\u0647 1\", \"\\u0633\\u0647\\u200C\\u0645\\u0627\\u0647\\u0647 2\", \"\\u0633\\u0647\\u200C\\u0645\\u0627\\u0647\\u0647 3\", \"\\u0633\\u0647\\u200C\\u0645\\u0627\\u0647\\u0647 4\"]\n };\n var monthValues = {\n narrow: [\"\\u0698\", \"\\u0641\", \"\\u0645\", \"\\u0622\", \"\\u0645\", \"\\u062C\", \"\\u062C\", \"\\u0622\", \"\\u0633\", \"\\u0627\", \"\\u0646\", \"\\u062F\"],\n abbreviated: [\n \"\\u0698\\u0627\\u0646\\u0640\",\n \"\\u0641\\u0648\\u0631\",\n \"\\u0645\\u0627\\u0631\\u0633\",\n \"\\u0622\\u067E\\u0631\",\n \"\\u0645\\u06CC\",\n \"\\u062C\\u0648\\u0646\",\n \"\\u062C\\u0648\\u0644\\u0640\",\n \"\\u0622\\u06AF\\u0648\",\n \"\\u0633\\u067E\\u062A\\u0640\",\n \"\\u0627\\u06A9\\u062A\\u0640\",\n \"\\u0646\\u0648\\u0627\\u0645\\u0640\",\n \"\\u062F\\u0633\\u0627\\u0645\\u0640\"],\n\n wide: [\n \"\\u0698\\u0627\\u0646\\u0648\\u06CC\\u0647\",\n \"\\u0641\\u0648\\u0631\\u06CC\\u0647\",\n \"\\u0645\\u0627\\u0631\\u0633\",\n \"\\u0622\\u067E\\u0631\\u06CC\\u0644\",\n \"\\u0645\\u06CC\",\n \"\\u062C\\u0648\\u0646\",\n \"\\u062C\\u0648\\u0644\\u0627\\u06CC\",\n \"\\u0622\\u06AF\\u0648\\u0633\\u062A\",\n \"\\u0633\\u067E\\u062A\\u0627\\u0645\\u0628\\u0631\",\n \"\\u0627\\u06A9\\u062A\\u0628\\u0631\",\n \"\\u0646\\u0648\\u0627\\u0645\\u0628\\u0631\",\n \"\\u062F\\u0633\\u0627\\u0645\\u0628\\u0631\"]\n\n };\n var dayValues = {\n narrow: [\"\\u06CC\", \"\\u062F\", \"\\u0633\", \"\\u0686\", \"\\u067E\", \"\\u062C\", \"\\u0634\"],\n short: [\"1\\u0634\", \"2\\u0634\", \"3\\u0634\", \"4\\u0634\", \"5\\u0634\", \"\\u062C\", \"\\u0634\"],\n abbreviated: [\n \"\\u06CC\\u06A9\\u0634\\u0646\\u0628\\u0647\",\n \"\\u062F\\u0648\\u0634\\u0646\\u0628\\u0647\",\n \"\\u0633\\u0647\\u200C\\u0634\\u0646\\u0628\\u0647\",\n \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\",\n \"\\u067E\\u0646\\u062C\\u0634\\u0646\\u0628\\u0647\",\n \"\\u062C\\u0645\\u0639\\u0647\",\n \"\\u0634\\u0646\\u0628\\u0647\"],\n\n wide: [\"\\u06CC\\u06A9\\u0634\\u0646\\u0628\\u0647\", \"\\u062F\\u0648\\u0634\\u0646\\u0628\\u0647\", \"\\u0633\\u0647\\u200C\\u0634\\u0646\\u0628\\u0647\", \"\\u0686\\u0647\\u0627\\u0631\\u0634\\u0646\\u0628\\u0647\", \"\\u067E\\u0646\\u062C\\u0634\\u0646\\u0628\\u0647\", \"\\u062C\\u0645\\u0639\\u0647\", \"\\u0634\\u0646\\u0628\\u0647\"]\n };\n var dayPeriodValues = {\n narrow: {\n am: \"\\u0642\",\n pm: \"\\u0628\",\n midnight: \"\\u0646\",\n noon: \"\\u0638\",\n morning: \"\\u0635\",\n afternoon: \"\\u0628.\\u0638.\",\n evening: \"\\u0639\",\n night: \"\\u0634\"\n },\n abbreviated: {\n am: \"\\u0642.\\u0638.\",\n pm: \"\\u0628.\\u0638.\",\n midnight: \"\\u0646\\u06CC\\u0645\\u0647\\u200C\\u0634\\u0628\",\n noon: \"\\u0638\\u0647\\u0631\",\n morning: \"\\u0635\\u0628\\u062D\",\n afternoon: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n evening: \"\\u0639\\u0635\\u0631\",\n night: \"\\u0634\\u0628\"\n },\n wide: {\n am: \"\\u0642\\u0628\\u0644\\u200C\\u0627\\u0632\\u0638\\u0647\\u0631\",\n pm: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n midnight: \"\\u0646\\u06CC\\u0645\\u0647\\u200C\\u0634\\u0628\",\n noon: \"\\u0638\\u0647\\u0631\",\n morning: \"\\u0635\\u0628\\u062D\",\n afternoon: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n evening: \"\\u0639\\u0635\\u0631\",\n night: \"\\u0634\\u0628\"\n }\n };\n var formattingDayPeriodValues = {\n narrow: {\n am: \"\\u0642\",\n pm: \"\\u0628\",\n midnight: \"\\u0646\",\n noon: \"\\u0638\",\n morning: \"\\u0635\",\n afternoon: \"\\u0628.\\u0638.\",\n evening: \"\\u0639\",\n night: \"\\u0634\"\n },\n abbreviated: {\n am: \"\\u0642.\\u0638.\",\n pm: \"\\u0628.\\u0638.\",\n midnight: \"\\u0646\\u06CC\\u0645\\u0647\\u200C\\u0634\\u0628\",\n noon: \"\\u0638\\u0647\\u0631\",\n morning: \"\\u0635\\u0628\\u062D\",\n afternoon: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n evening: \"\\u0639\\u0635\\u0631\",\n night: \"\\u0634\\u0628\"\n },\n wide: {\n am: \"\\u0642\\u0628\\u0644\\u200C\\u0627\\u0632\\u0638\\u0647\\u0631\",\n pm: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n midnight: \"\\u0646\\u06CC\\u0645\\u0647\\u200C\\u0634\\u0628\",\n noon: \"\\u0638\\u0647\\u0631\",\n morning: \"\\u0635\\u0628\\u062D\",\n afternoon: \"\\u0628\\u0639\\u062F\\u0627\\u0632\\u0638\\u0647\\u0631\",\n evening: \"\\u0639\\u0635\\u0631\",\n night: \"\\u0634\\u0628\"\n }\n };\n var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n return String(dirtyNumber);\n };\n var localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\"\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: function argumentCallback(quarter) {return quarter - 1;}\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\"\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\"\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\"\n })\n };\n\n // lib/locale/_lib/buildMatchFn.mjs\n function buildMatchFn(args) {\n return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});\n var value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return { value: value, rest: rest };\n };\n }\n var findKey = function findKey(object, predicate) {\n for (var key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n return key;\n }\n }\n return;\n };\n var findIndex = function findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return;\n };\n\n // lib/locale/_lib/buildMatchPatternFn.mjs\n function buildMatchPatternFn(args) {\n return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var matchResult = string.match(args.matchPattern);\n if (!matchResult)\n return null;\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n if (!parseResult)\n return null;\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return { value: value, rest: rest };\n };\n }\n\n // lib/locale/fa-IR/_lib/match.mjs\n var matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\n var parseOrdinalNumberPattern = /\\d+/i;\n var matchEraPatterns = {\n narrow: /^(ق|ب)/i,\n abbreviated: /^(ق\\.?\\s?م\\.?|ق\\.?\\s?د\\.?\\s?م\\.?|م\\.?\\s?|د\\.?\\s?م\\.?)/i,\n wide: /^(قبل از میلاد|قبل از دوران مشترک|میلادی|دوران مشترک|بعد از میلاد)/i\n };\n var parseEraPatterns = {\n any: [/^قبل/i, /^بعد/i]\n };\n var matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^سم[1234]/i,\n wide: /^سهماهه [1234]/i\n };\n var parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n };\n var matchMonthPatterns = {\n narrow: /^[جژفمآاماسند]/i,\n abbreviated: /^(جنو|ژانـ|ژانویه|فوریه|فور|مارس|آوریل|آپر|مه|می|ژوئن|جون|جول|جولـ|ژوئیه|اوت|آگو|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نوامـ|دسامبر|دسامـ|دسم)/i,\n wide: /^(ژانویه|جنوری|فبروری|فوریه|مارچ|مارس|آپریل|اپریل|ایپریل|آوریل|مه|می|ژوئن|جون|جولای|ژوئیه|آگست|اگست|آگوست|اوت|سپتمبر|سپتامبر|اکتبر|اکتوبر|نوامبر|نومبر|دسامبر|دسمبر)/i\n };\n var parseMonthPatterns = {\n narrow: [\n /^(ژ|ج)/i,\n /^ف/i,\n /^م/i,\n /^(آ|ا)/i,\n /^م/i,\n /^(ژ|ج)/i,\n /^(ج|ژ)/i,\n /^(آ|ا)/i,\n /^س/i,\n /^ا/i,\n /^ن/i,\n /^د/i],\n\n any: [\n /^ژا/i,\n /^ف/i,\n /^ما/i,\n /^آپ/i,\n /^(می|مه)/i,\n /^(ژوئن|جون)/i,\n /^(ژوئی|جول)/i,\n /^(اوت|آگ)/i,\n /^س/i,\n /^(اوک|اک)/i,\n /^ن/i,\n /^د/i]\n\n };\n var matchDayPatterns = {\n narrow: /^[شیدسچپج]/i,\n short: /^(ش|ج|1ش|2ش|3ش|4ش|5ش)/i,\n abbreviated: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i,\n wide: /^(یکشنبه|دوشنبه|سهشنبه|چهارشنبه|پنجشنبه|جمعه|شنبه)/i\n };\n var parseDayPatterns = {\n narrow: [/^ی/i, /^دو/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],\n any: [\n /^(ی|1ش|یکشنبه)/i,\n /^(د|2ش|دوشنبه)/i,\n /^(س|3ش|سهشنبه)/i,\n /^(چ|4ش|چهارشنبه)/i,\n /^(پ|5ش|پنجشنبه)/i,\n /^(ج|جمعه)/i,\n /^(ش|شنبه)/i]\n\n };\n var matchDayPeriodPatterns = {\n narrow: /^(ب|ق|ن|ظ|ص|ب.ظ.|ع|ش)/i,\n abbreviated: /^(ق.ظ.|ب.ظ.|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i,\n wide: /^(قبلازظهر|نیمهشب|ظهر|صبح|بعدازظهر|عصر|شب)/i\n };\n var parseDayPeriodPatterns = {\n any: {\n am: /^(ق|ق.ظ.|قبلازظهر)/i,\n pm: /^(ب|ب.ظ.|بعدازظهر)/i,\n midnight: /^(نیمهشب|ن)/i,\n noon: /^(ظ|ظهر)/i,\n morning: /(ص|صبح)/i,\n afternoon: /(ب|ب.ظ.|بعدازظهر)/i,\n evening: /(ع|عصر)/i,\n night: /(ش|شب)/i\n }\n };\n var match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {return parseInt(value, 10);}\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\"\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: function valueCallback(index) {return index + 1;}\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\"\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\"\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n };\n\n // lib/locale/fa-IR.mjs\n var faIR = {\n code: \"fa-IR\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 6,\n firstWeekContainsDate: 1\n }\n };\n\n // lib/locale/fa-IR/cdn.js\n window.dateFns = _objectSpread(_objectSpread({},\n window.dateFns), {}, {\n locale: _objectSpread(_objectSpread({}, (_window$dateFns =\n window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {\n faIR: faIR }) });\n\n\n\n //# debugId=6CED0F29B47F82A364756e2164756e21\n})();\n\n//# sourceMappingURL=cdn.js.map"
|
6 |
+
],
|
7 |
+
"mappings": "AAAA,IAAS,UAAO,CAAC,EAAG,CAA2B,OAAO,SAA+B,QAArB,mBAAkD,OAAO,UAA1B,iBAA8C,CAAC,EAAG,CAAC,cAAc,WAAe,CAAC,EAAG,CAAC,OAAO,UAA0B,QAArB,YAA+B,EAAE,cAAgB,QAAU,IAAM,OAAO,UAAY,gBAAkB,GAAK,EAAQ,CAAC,GAAY,UAAO,CAAC,EAAG,EAAG,CAAC,IAAI,EAAI,OAAO,KAAK,CAAC,EAAE,GAAI,OAAO,sBAAuB,CAAC,IAAI,EAAI,OAAO,sBAAsB,CAAC,EAAE,IAAM,EAAI,EAAE,eAAgB,CAAC,EAAG,CAAC,OAAO,OAAO,yBAAyB,EAAG,CAAC,EAAE,WAAY,GAAI,EAAE,KAAK,MAAM,EAAG,CAAC,EAAG,OAAO,GAAY,UAAa,CAAC,EAAG,CAAC,QAAS,EAAI,EAAG,EAAI,UAAU,OAAQ,IAAK,CAAC,IAAI,EAAY,UAAU,IAAlB,KAAuB,UAAU,GAAK,CAAC,EAAE,EAAI,EAAI,EAAQ,OAAO,CAAC,EAAG,EAAE,EAAE,gBAAiB,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AG,CAAC,EAAG,CACnB,OAAQ,EAAc,EAAc,CAAC,GAAI,EACzC,OAAO,WAAa,MAAQ,IAAyB,OAAS,OAAI,EAAgB,MAAM,EAAG,CAAC,EAAG,CAC7F,KAAM,CAAK,CAAC,CAAE,CAAC,IAKlB",
|
8 |
+
"debugId": "A60C62F2ED7B825164756e2164756e21",
|
9 |
+
"names": []
|
10 |
+
}
|
workers1/auto3d/node_modules/date-fns/locale/fi.d.mts
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Finnish locale.
|
5 |
+
* @language Finnish
|
6 |
+
* @iso-639-2 fin
|
7 |
+
* @author Pyry-Samuli Lahti [@Pyppe](https://github.com/Pyppe)
|
8 |
+
* @author Edo Rivai [@mikolajgrzyb](https://github.com/mikolajgrzyb)
|
9 |
+
* @author Samu Juvonen [@sjuvonen](https://github.com/sjuvonen)
|
10 |
+
*/
|
11 |
+
export declare const fi: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/fi.d.ts
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Finnish locale.
|
5 |
+
* @language Finnish
|
6 |
+
* @iso-639-2 fin
|
7 |
+
* @author Pyry-Samuli Lahti [@Pyppe](https://github.com/Pyppe)
|
8 |
+
* @author Edo Rivai [@mikolajgrzyb](https://github.com/mikolajgrzyb)
|
9 |
+
* @author Samu Juvonen [@sjuvonen](https://github.com/sjuvonen)
|
10 |
+
*/
|
11 |
+
export declare const fi: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/fi.js
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.fi = void 0;
|
3 |
+
var _index = require("./fi/_lib/formatDistance.js");
|
4 |
+
var _index2 = require("./fi/_lib/formatLong.js");
|
5 |
+
var _index3 = require("./fi/_lib/formatRelative.js");
|
6 |
+
var _index4 = require("./fi/_lib/localize.js");
|
7 |
+
var _index5 = require("./fi/_lib/match.js");
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @category Locales
|
11 |
+
* @summary Finnish locale.
|
12 |
+
* @language Finnish
|
13 |
+
* @iso-639-2 fin
|
14 |
+
* @author Pyry-Samuli Lahti [@Pyppe](https://github.com/Pyppe)
|
15 |
+
* @author Edo Rivai [@mikolajgrzyb](https://github.com/mikolajgrzyb)
|
16 |
+
* @author Samu Juvonen [@sjuvonen](https://github.com/sjuvonen)
|
17 |
+
*/
|
18 |
+
const fi = (exports.fi = {
|
19 |
+
code: "fi",
|
20 |
+
formatDistance: _index.formatDistance,
|
21 |
+
formatLong: _index2.formatLong,
|
22 |
+
formatRelative: _index3.formatRelative,
|
23 |
+
localize: _index4.localize,
|
24 |
+
match: _index5.match,
|
25 |
+
options: {
|
26 |
+
weekStartsOn: 1 /* Monday */,
|
27 |
+
firstWeekContainsDate: 4,
|
28 |
+
},
|
29 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/fi.mjs
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { formatDistance } from "./fi/_lib/formatDistance.mjs";
|
2 |
+
import { formatLong } from "./fi/_lib/formatLong.mjs";
|
3 |
+
import { formatRelative } from "./fi/_lib/formatRelative.mjs";
|
4 |
+
import { localize } from "./fi/_lib/localize.mjs";
|
5 |
+
import { match } from "./fi/_lib/match.mjs";
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @category Locales
|
9 |
+
* @summary Finnish locale.
|
10 |
+
* @language Finnish
|
11 |
+
* @iso-639-2 fin
|
12 |
+
* @author Pyry-Samuli Lahti [@Pyppe](https://github.com/Pyppe)
|
13 |
+
* @author Edo Rivai [@mikolajgrzyb](https://github.com/mikolajgrzyb)
|
14 |
+
* @author Samu Juvonen [@sjuvonen](https://github.com/sjuvonen)
|
15 |
+
*/
|
16 |
+
export const fi = {
|
17 |
+
code: "fi",
|
18 |
+
formatDistance: formatDistance,
|
19 |
+
formatLong: formatLong,
|
20 |
+
formatRelative: formatRelative,
|
21 |
+
localize: localize,
|
22 |
+
match: match,
|
23 |
+
options: {
|
24 |
+
weekStartsOn: 1 /* Monday */,
|
25 |
+
firstWeekContainsDate: 4,
|
26 |
+
},
|
27 |
+
};
|
28 |
+
|
29 |
+
// Fallback for modularized imports:
|
30 |
+
export default fi;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatDistance.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatDistanceFn } from "../../types.js";
|
2 |
+
export declare const formatDistance: FormatDistanceFn;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatDistance.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatDistanceFn } from "../../types.js";
|
2 |
+
export declare const formatDistance: FormatDistanceFn;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatDistance.js
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatDistance = void 0;
|
3 |
+
|
4 |
+
function futureSeconds(text) {
|
5 |
+
return text.replace(/sekuntia?/, "sekunnin");
|
6 |
+
}
|
7 |
+
|
8 |
+
function futureMinutes(text) {
|
9 |
+
return text.replace(/minuuttia?/, "minuutin");
|
10 |
+
}
|
11 |
+
|
12 |
+
function futureHours(text) {
|
13 |
+
return text.replace(/tuntia?/, "tunnin");
|
14 |
+
}
|
15 |
+
|
16 |
+
function futureDays(text) {
|
17 |
+
return text.replace(/päivää?/, "päivän");
|
18 |
+
}
|
19 |
+
|
20 |
+
function futureWeeks(text) {
|
21 |
+
return text.replace(/(viikko|viikkoa)/, "viikon");
|
22 |
+
}
|
23 |
+
|
24 |
+
function futureMonths(text) {
|
25 |
+
return text.replace(/(kuukausi|kuukautta)/, "kuukauden");
|
26 |
+
}
|
27 |
+
|
28 |
+
function futureYears(text) {
|
29 |
+
return text.replace(/(vuosi|vuotta)/, "vuoden");
|
30 |
+
}
|
31 |
+
|
32 |
+
const formatDistanceLocale = {
|
33 |
+
lessThanXSeconds: {
|
34 |
+
one: "alle sekunti",
|
35 |
+
other: "alle {{count}} sekuntia",
|
36 |
+
futureTense: futureSeconds,
|
37 |
+
},
|
38 |
+
|
39 |
+
xSeconds: {
|
40 |
+
one: "sekunti",
|
41 |
+
other: "{{count}} sekuntia",
|
42 |
+
futureTense: futureSeconds,
|
43 |
+
},
|
44 |
+
|
45 |
+
halfAMinute: {
|
46 |
+
one: "puoli minuuttia",
|
47 |
+
other: "puoli minuuttia",
|
48 |
+
futureTense: (_text) => "puolen minuutin",
|
49 |
+
},
|
50 |
+
|
51 |
+
lessThanXMinutes: {
|
52 |
+
one: "alle minuutti",
|
53 |
+
other: "alle {{count}} minuuttia",
|
54 |
+
futureTense: futureMinutes,
|
55 |
+
},
|
56 |
+
|
57 |
+
xMinutes: {
|
58 |
+
one: "minuutti",
|
59 |
+
other: "{{count}} minuuttia",
|
60 |
+
futureTense: futureMinutes,
|
61 |
+
},
|
62 |
+
|
63 |
+
aboutXHours: {
|
64 |
+
one: "noin tunti",
|
65 |
+
other: "noin {{count}} tuntia",
|
66 |
+
futureTense: futureHours,
|
67 |
+
},
|
68 |
+
|
69 |
+
xHours: {
|
70 |
+
one: "tunti",
|
71 |
+
other: "{{count}} tuntia",
|
72 |
+
futureTense: futureHours,
|
73 |
+
},
|
74 |
+
|
75 |
+
xDays: {
|
76 |
+
one: "päivä",
|
77 |
+
other: "{{count}} päivää",
|
78 |
+
futureTense: futureDays,
|
79 |
+
},
|
80 |
+
|
81 |
+
aboutXWeeks: {
|
82 |
+
one: "noin viikko",
|
83 |
+
other: "noin {{count}} viikkoa",
|
84 |
+
futureTense: futureWeeks,
|
85 |
+
},
|
86 |
+
|
87 |
+
xWeeks: {
|
88 |
+
one: "viikko",
|
89 |
+
other: "{{count}} viikkoa",
|
90 |
+
futureTense: futureWeeks,
|
91 |
+
},
|
92 |
+
|
93 |
+
aboutXMonths: {
|
94 |
+
one: "noin kuukausi",
|
95 |
+
other: "noin {{count}} kuukautta",
|
96 |
+
futureTense: futureMonths,
|
97 |
+
},
|
98 |
+
|
99 |
+
xMonths: {
|
100 |
+
one: "kuukausi",
|
101 |
+
other: "{{count}} kuukautta",
|
102 |
+
futureTense: futureMonths,
|
103 |
+
},
|
104 |
+
|
105 |
+
aboutXYears: {
|
106 |
+
one: "noin vuosi",
|
107 |
+
other: "noin {{count}} vuotta",
|
108 |
+
futureTense: futureYears,
|
109 |
+
},
|
110 |
+
|
111 |
+
xYears: {
|
112 |
+
one: "vuosi",
|
113 |
+
other: "{{count}} vuotta",
|
114 |
+
futureTense: futureYears,
|
115 |
+
},
|
116 |
+
|
117 |
+
overXYears: {
|
118 |
+
one: "yli vuosi",
|
119 |
+
other: "yli {{count}} vuotta",
|
120 |
+
futureTense: futureYears,
|
121 |
+
},
|
122 |
+
|
123 |
+
almostXYears: {
|
124 |
+
one: "lähes vuosi",
|
125 |
+
other: "lähes {{count}} vuotta",
|
126 |
+
futureTense: futureYears,
|
127 |
+
},
|
128 |
+
};
|
129 |
+
|
130 |
+
const formatDistance = (token, count, options) => {
|
131 |
+
const tokenValue = formatDistanceLocale[token];
|
132 |
+
const result =
|
133 |
+
count === 1
|
134 |
+
? tokenValue.one
|
135 |
+
: tokenValue.other.replace("{{count}}", String(count));
|
136 |
+
|
137 |
+
if (options?.addSuffix) {
|
138 |
+
if (options.comparison && options.comparison > 0) {
|
139 |
+
return tokenValue.futureTense(result) + " kuluttua";
|
140 |
+
} else {
|
141 |
+
return result + " sitten";
|
142 |
+
}
|
143 |
+
}
|
144 |
+
|
145 |
+
return result;
|
146 |
+
};
|
147 |
+
exports.formatDistance = formatDistance;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatDistance.mjs
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function futureSeconds(text) {
|
2 |
+
return text.replace(/sekuntia?/, "sekunnin");
|
3 |
+
}
|
4 |
+
|
5 |
+
function futureMinutes(text) {
|
6 |
+
return text.replace(/minuuttia?/, "minuutin");
|
7 |
+
}
|
8 |
+
|
9 |
+
function futureHours(text) {
|
10 |
+
return text.replace(/tuntia?/, "tunnin");
|
11 |
+
}
|
12 |
+
|
13 |
+
function futureDays(text) {
|
14 |
+
return text.replace(/päivää?/, "päivän");
|
15 |
+
}
|
16 |
+
|
17 |
+
function futureWeeks(text) {
|
18 |
+
return text.replace(/(viikko|viikkoa)/, "viikon");
|
19 |
+
}
|
20 |
+
|
21 |
+
function futureMonths(text) {
|
22 |
+
return text.replace(/(kuukausi|kuukautta)/, "kuukauden");
|
23 |
+
}
|
24 |
+
|
25 |
+
function futureYears(text) {
|
26 |
+
return text.replace(/(vuosi|vuotta)/, "vuoden");
|
27 |
+
}
|
28 |
+
|
29 |
+
const formatDistanceLocale = {
|
30 |
+
lessThanXSeconds: {
|
31 |
+
one: "alle sekunti",
|
32 |
+
other: "alle {{count}} sekuntia",
|
33 |
+
futureTense: futureSeconds,
|
34 |
+
},
|
35 |
+
|
36 |
+
xSeconds: {
|
37 |
+
one: "sekunti",
|
38 |
+
other: "{{count}} sekuntia",
|
39 |
+
futureTense: futureSeconds,
|
40 |
+
},
|
41 |
+
|
42 |
+
halfAMinute: {
|
43 |
+
one: "puoli minuuttia",
|
44 |
+
other: "puoli minuuttia",
|
45 |
+
futureTense: (_text) => "puolen minuutin",
|
46 |
+
},
|
47 |
+
|
48 |
+
lessThanXMinutes: {
|
49 |
+
one: "alle minuutti",
|
50 |
+
other: "alle {{count}} minuuttia",
|
51 |
+
futureTense: futureMinutes,
|
52 |
+
},
|
53 |
+
|
54 |
+
xMinutes: {
|
55 |
+
one: "minuutti",
|
56 |
+
other: "{{count}} minuuttia",
|
57 |
+
futureTense: futureMinutes,
|
58 |
+
},
|
59 |
+
|
60 |
+
aboutXHours: {
|
61 |
+
one: "noin tunti",
|
62 |
+
other: "noin {{count}} tuntia",
|
63 |
+
futureTense: futureHours,
|
64 |
+
},
|
65 |
+
|
66 |
+
xHours: {
|
67 |
+
one: "tunti",
|
68 |
+
other: "{{count}} tuntia",
|
69 |
+
futureTense: futureHours,
|
70 |
+
},
|
71 |
+
|
72 |
+
xDays: {
|
73 |
+
one: "päivä",
|
74 |
+
other: "{{count}} päivää",
|
75 |
+
futureTense: futureDays,
|
76 |
+
},
|
77 |
+
|
78 |
+
aboutXWeeks: {
|
79 |
+
one: "noin viikko",
|
80 |
+
other: "noin {{count}} viikkoa",
|
81 |
+
futureTense: futureWeeks,
|
82 |
+
},
|
83 |
+
|
84 |
+
xWeeks: {
|
85 |
+
one: "viikko",
|
86 |
+
other: "{{count}} viikkoa",
|
87 |
+
futureTense: futureWeeks,
|
88 |
+
},
|
89 |
+
|
90 |
+
aboutXMonths: {
|
91 |
+
one: "noin kuukausi",
|
92 |
+
other: "noin {{count}} kuukautta",
|
93 |
+
futureTense: futureMonths,
|
94 |
+
},
|
95 |
+
|
96 |
+
xMonths: {
|
97 |
+
one: "kuukausi",
|
98 |
+
other: "{{count}} kuukautta",
|
99 |
+
futureTense: futureMonths,
|
100 |
+
},
|
101 |
+
|
102 |
+
aboutXYears: {
|
103 |
+
one: "noin vuosi",
|
104 |
+
other: "noin {{count}} vuotta",
|
105 |
+
futureTense: futureYears,
|
106 |
+
},
|
107 |
+
|
108 |
+
xYears: {
|
109 |
+
one: "vuosi",
|
110 |
+
other: "{{count}} vuotta",
|
111 |
+
futureTense: futureYears,
|
112 |
+
},
|
113 |
+
|
114 |
+
overXYears: {
|
115 |
+
one: "yli vuosi",
|
116 |
+
other: "yli {{count}} vuotta",
|
117 |
+
futureTense: futureYears,
|
118 |
+
},
|
119 |
+
|
120 |
+
almostXYears: {
|
121 |
+
one: "lähes vuosi",
|
122 |
+
other: "lähes {{count}} vuotta",
|
123 |
+
futureTense: futureYears,
|
124 |
+
},
|
125 |
+
};
|
126 |
+
|
127 |
+
export const formatDistance = (token, count, options) => {
|
128 |
+
const tokenValue = formatDistanceLocale[token];
|
129 |
+
const result =
|
130 |
+
count === 1
|
131 |
+
? tokenValue.one
|
132 |
+
: tokenValue.other.replace("{{count}}", String(count));
|
133 |
+
|
134 |
+
if (options?.addSuffix) {
|
135 |
+
if (options.comparison && options.comparison > 0) {
|
136 |
+
return tokenValue.futureTense(result) + " kuluttua";
|
137 |
+
} else {
|
138 |
+
return result + " sitten";
|
139 |
+
}
|
140 |
+
}
|
141 |
+
|
142 |
+
return result;
|
143 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatLong.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatLong } from "../../types.js";
|
2 |
+
export declare const formatLong: FormatLong;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatLong.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatLong } from "../../types.js";
|
2 |
+
export declare const formatLong: FormatLong;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatLong.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatLong = void 0;
|
3 |
+
var _index = require("../../_lib/buildFormatLongFn.js");
|
4 |
+
|
5 |
+
const dateFormats = {
|
6 |
+
full: "eeee d. MMMM y",
|
7 |
+
long: "d. MMMM y",
|
8 |
+
medium: "d. MMM y",
|
9 |
+
short: "d.M.y",
|
10 |
+
};
|
11 |
+
|
12 |
+
const timeFormats = {
|
13 |
+
full: "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}} 'klo' {{time}}",
|
21 |
+
long: "{{date}} 'klo' {{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 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatLong.mjs
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
2 |
+
|
3 |
+
const dateFormats = {
|
4 |
+
full: "eeee d. MMMM y",
|
5 |
+
long: "d. MMMM y",
|
6 |
+
medium: "d. MMM y",
|
7 |
+
short: "d.M.y",
|
8 |
+
};
|
9 |
+
|
10 |
+
const timeFormats = {
|
11 |
+
full: "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}} 'klo' {{time}}",
|
19 |
+
long: "{{date}} 'klo' {{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 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatRelative.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatRelativeFn } from "../../types.js";
|
2 |
+
export declare const formatRelative: FormatRelativeFn;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatRelative.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatRelativeFn } from "../../types.js";
|
2 |
+
export declare const formatRelative: FormatRelativeFn;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatRelative.js
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatRelative = void 0;
|
3 |
+
|
4 |
+
const formatRelativeLocale = {
|
5 |
+
lastWeek: "'viime' eeee 'klo' p",
|
6 |
+
yesterday: "'eilen klo' p",
|
7 |
+
today: "'tänään klo' p",
|
8 |
+
tomorrow: "'huomenna klo' p",
|
9 |
+
nextWeek: "'ensi' eeee 'klo' p",
|
10 |
+
other: "P",
|
11 |
+
};
|
12 |
+
|
13 |
+
const formatRelative = (token, _date, _baseDate, _options) =>
|
14 |
+
formatRelativeLocale[token];
|
15 |
+
exports.formatRelative = formatRelative;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/formatRelative.mjs
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatRelativeLocale = {
|
2 |
+
lastWeek: "'viime' eeee 'klo' p",
|
3 |
+
yesterday: "'eilen klo' p",
|
4 |
+
today: "'tänään klo' p",
|
5 |
+
tomorrow: "'huomenna klo' p",
|
6 |
+
nextWeek: "'ensi' eeee 'klo' p",
|
7 |
+
other: "P",
|
8 |
+
};
|
9 |
+
|
10 |
+
export const formatRelative = (token, _date, _baseDate, _options) =>
|
11 |
+
formatRelativeLocale[token];
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/localize.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Localize } from "../../types.js";
|
2 |
+
export declare const localize: Localize;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/localize.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Localize } from "../../types.js";
|
2 |
+
export declare const localize: Localize;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/localize.js
ADDED
@@ -0,0 +1,170 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.localize = void 0;
|
3 |
+
var _index = require("../../_lib/buildLocalizeFn.js");
|
4 |
+
|
5 |
+
const eraValues = {
|
6 |
+
narrow: ["eaa.", "jaa."],
|
7 |
+
abbreviated: ["eaa.", "jaa."],
|
8 |
+
wide: ["ennen ajanlaskun alkua", "jälkeen ajanlaskun alun"],
|
9 |
+
};
|
10 |
+
|
11 |
+
const quarterValues = {
|
12 |
+
narrow: ["1", "2", "3", "4"],
|
13 |
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
14 |
+
wide: ["1. kvartaali", "2. kvartaali", "3. kvartaali", "4. kvartaali"],
|
15 |
+
};
|
16 |
+
|
17 |
+
const monthValues = {
|
18 |
+
narrow: ["T", "H", "M", "H", "T", "K", "H", "E", "S", "L", "M", "J"],
|
19 |
+
abbreviated: [
|
20 |
+
"tammi",
|
21 |
+
"helmi",
|
22 |
+
"maalis",
|
23 |
+
"huhti",
|
24 |
+
"touko",
|
25 |
+
"kesä",
|
26 |
+
"heinä",
|
27 |
+
"elo",
|
28 |
+
"syys",
|
29 |
+
"loka",
|
30 |
+
"marras",
|
31 |
+
"joulu",
|
32 |
+
],
|
33 |
+
|
34 |
+
wide: [
|
35 |
+
"tammikuu",
|
36 |
+
"helmikuu",
|
37 |
+
"maaliskuu",
|
38 |
+
"huhtikuu",
|
39 |
+
"toukokuu",
|
40 |
+
"kesäkuu",
|
41 |
+
"heinäkuu",
|
42 |
+
"elokuu",
|
43 |
+
"syyskuu",
|
44 |
+
"lokakuu",
|
45 |
+
"marraskuu",
|
46 |
+
"joulukuu",
|
47 |
+
],
|
48 |
+
};
|
49 |
+
|
50 |
+
const formattingMonthValues = {
|
51 |
+
narrow: monthValues.narrow,
|
52 |
+
abbreviated: monthValues.abbreviated,
|
53 |
+
wide: [
|
54 |
+
"tammikuuta",
|
55 |
+
"helmikuuta",
|
56 |
+
"maaliskuuta",
|
57 |
+
"huhtikuuta",
|
58 |
+
"toukokuuta",
|
59 |
+
"kesäkuuta",
|
60 |
+
"heinäkuuta",
|
61 |
+
"elokuuta",
|
62 |
+
"syyskuuta",
|
63 |
+
"lokakuuta",
|
64 |
+
"marraskuuta",
|
65 |
+
"joulukuuta",
|
66 |
+
],
|
67 |
+
};
|
68 |
+
|
69 |
+
const dayValues = {
|
70 |
+
narrow: ["S", "M", "T", "K", "T", "P", "L"],
|
71 |
+
short: ["su", "ma", "ti", "ke", "to", "pe", "la"],
|
72 |
+
abbreviated: ["sunn.", "maan.", "tiis.", "kesk.", "torst.", "perj.", "la"],
|
73 |
+
|
74 |
+
wide: [
|
75 |
+
"sunnuntai",
|
76 |
+
"maanantai",
|
77 |
+
"tiistai",
|
78 |
+
"keskiviikko",
|
79 |
+
"torstai",
|
80 |
+
"perjantai",
|
81 |
+
"lauantai",
|
82 |
+
],
|
83 |
+
};
|
84 |
+
|
85 |
+
const formattingDayValues = {
|
86 |
+
narrow: dayValues.narrow,
|
87 |
+
short: dayValues.short,
|
88 |
+
abbreviated: dayValues.abbreviated,
|
89 |
+
wide: [
|
90 |
+
"sunnuntaina",
|
91 |
+
"maanantaina",
|
92 |
+
"tiistaina",
|
93 |
+
"keskiviikkona",
|
94 |
+
"torstaina",
|
95 |
+
"perjantaina",
|
96 |
+
"lauantaina",
|
97 |
+
],
|
98 |
+
};
|
99 |
+
|
100 |
+
const dayPeriodValues = {
|
101 |
+
narrow: {
|
102 |
+
am: "ap",
|
103 |
+
pm: "ip",
|
104 |
+
midnight: "keskiyö",
|
105 |
+
noon: "keskipäivä",
|
106 |
+
morning: "ap",
|
107 |
+
afternoon: "ip",
|
108 |
+
evening: "illalla",
|
109 |
+
night: "yöllä",
|
110 |
+
},
|
111 |
+
abbreviated: {
|
112 |
+
am: "ap",
|
113 |
+
pm: "ip",
|
114 |
+
midnight: "keskiyö",
|
115 |
+
noon: "keskipäivä",
|
116 |
+
morning: "ap",
|
117 |
+
afternoon: "ip",
|
118 |
+
evening: "illalla",
|
119 |
+
night: "yöllä",
|
120 |
+
},
|
121 |
+
wide: {
|
122 |
+
am: "ap",
|
123 |
+
pm: "ip",
|
124 |
+
midnight: "keskiyöllä",
|
125 |
+
noon: "keskipäivällä",
|
126 |
+
morning: "aamupäivällä",
|
127 |
+
afternoon: "iltapäivällä",
|
128 |
+
evening: "illalla",
|
129 |
+
night: "yöllä",
|
130 |
+
},
|
131 |
+
};
|
132 |
+
|
133 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
134 |
+
const number = Number(dirtyNumber);
|
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 |
+
formattingValues: formattingMonthValues,
|
156 |
+
defaultFormattingWidth: "wide",
|
157 |
+
}),
|
158 |
+
|
159 |
+
day: (0, _index.buildLocalizeFn)({
|
160 |
+
values: dayValues,
|
161 |
+
defaultWidth: "wide",
|
162 |
+
formattingValues: formattingDayValues,
|
163 |
+
defaultFormattingWidth: "wide",
|
164 |
+
}),
|
165 |
+
|
166 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
167 |
+
values: dayPeriodValues,
|
168 |
+
defaultWidth: "wide",
|
169 |
+
}),
|
170 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/localize.mjs
ADDED
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildLocalizeFn } from "../../_lib/buildLocalizeFn.mjs";
|
2 |
+
|
3 |
+
const eraValues = {
|
4 |
+
narrow: ["eaa.", "jaa."],
|
5 |
+
abbreviated: ["eaa.", "jaa."],
|
6 |
+
wide: ["ennen ajanlaskun alkua", "jälkeen ajanlaskun alun"],
|
7 |
+
};
|
8 |
+
|
9 |
+
const quarterValues = {
|
10 |
+
narrow: ["1", "2", "3", "4"],
|
11 |
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
12 |
+
wide: ["1. kvartaali", "2. kvartaali", "3. kvartaali", "4. kvartaali"],
|
13 |
+
};
|
14 |
+
|
15 |
+
const monthValues = {
|
16 |
+
narrow: ["T", "H", "M", "H", "T", "K", "H", "E", "S", "L", "M", "J"],
|
17 |
+
abbreviated: [
|
18 |
+
"tammi",
|
19 |
+
"helmi",
|
20 |
+
"maalis",
|
21 |
+
"huhti",
|
22 |
+
"touko",
|
23 |
+
"kesä",
|
24 |
+
"heinä",
|
25 |
+
"elo",
|
26 |
+
"syys",
|
27 |
+
"loka",
|
28 |
+
"marras",
|
29 |
+
"joulu",
|
30 |
+
],
|
31 |
+
|
32 |
+
wide: [
|
33 |
+
"tammikuu",
|
34 |
+
"helmikuu",
|
35 |
+
"maaliskuu",
|
36 |
+
"huhtikuu",
|
37 |
+
"toukokuu",
|
38 |
+
"kesäkuu",
|
39 |
+
"heinäkuu",
|
40 |
+
"elokuu",
|
41 |
+
"syyskuu",
|
42 |
+
"lokakuu",
|
43 |
+
"marraskuu",
|
44 |
+
"joulukuu",
|
45 |
+
],
|
46 |
+
};
|
47 |
+
|
48 |
+
const formattingMonthValues = {
|
49 |
+
narrow: monthValues.narrow,
|
50 |
+
abbreviated: monthValues.abbreviated,
|
51 |
+
wide: [
|
52 |
+
"tammikuuta",
|
53 |
+
"helmikuuta",
|
54 |
+
"maaliskuuta",
|
55 |
+
"huhtikuuta",
|
56 |
+
"toukokuuta",
|
57 |
+
"kesäkuuta",
|
58 |
+
"heinäkuuta",
|
59 |
+
"elokuuta",
|
60 |
+
"syyskuuta",
|
61 |
+
"lokakuuta",
|
62 |
+
"marraskuuta",
|
63 |
+
"joulukuuta",
|
64 |
+
],
|
65 |
+
};
|
66 |
+
|
67 |
+
const dayValues = {
|
68 |
+
narrow: ["S", "M", "T", "K", "T", "P", "L"],
|
69 |
+
short: ["su", "ma", "ti", "ke", "to", "pe", "la"],
|
70 |
+
abbreviated: ["sunn.", "maan.", "tiis.", "kesk.", "torst.", "perj.", "la"],
|
71 |
+
|
72 |
+
wide: [
|
73 |
+
"sunnuntai",
|
74 |
+
"maanantai",
|
75 |
+
"tiistai",
|
76 |
+
"keskiviikko",
|
77 |
+
"torstai",
|
78 |
+
"perjantai",
|
79 |
+
"lauantai",
|
80 |
+
],
|
81 |
+
};
|
82 |
+
|
83 |
+
const formattingDayValues = {
|
84 |
+
narrow: dayValues.narrow,
|
85 |
+
short: dayValues.short,
|
86 |
+
abbreviated: dayValues.abbreviated,
|
87 |
+
wide: [
|
88 |
+
"sunnuntaina",
|
89 |
+
"maanantaina",
|
90 |
+
"tiistaina",
|
91 |
+
"keskiviikkona",
|
92 |
+
"torstaina",
|
93 |
+
"perjantaina",
|
94 |
+
"lauantaina",
|
95 |
+
],
|
96 |
+
};
|
97 |
+
|
98 |
+
const dayPeriodValues = {
|
99 |
+
narrow: {
|
100 |
+
am: "ap",
|
101 |
+
pm: "ip",
|
102 |
+
midnight: "keskiyö",
|
103 |
+
noon: "keskipäivä",
|
104 |
+
morning: "ap",
|
105 |
+
afternoon: "ip",
|
106 |
+
evening: "illalla",
|
107 |
+
night: "yöllä",
|
108 |
+
},
|
109 |
+
abbreviated: {
|
110 |
+
am: "ap",
|
111 |
+
pm: "ip",
|
112 |
+
midnight: "keskiyö",
|
113 |
+
noon: "keskipäivä",
|
114 |
+
morning: "ap",
|
115 |
+
afternoon: "ip",
|
116 |
+
evening: "illalla",
|
117 |
+
night: "yöllä",
|
118 |
+
},
|
119 |
+
wide: {
|
120 |
+
am: "ap",
|
121 |
+
pm: "ip",
|
122 |
+
midnight: "keskiyöllä",
|
123 |
+
noon: "keskipäivällä",
|
124 |
+
morning: "aamupäivällä",
|
125 |
+
afternoon: "iltapäivällä",
|
126 |
+
evening: "illalla",
|
127 |
+
night: "yöllä",
|
128 |
+
},
|
129 |
+
};
|
130 |
+
|
131 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
132 |
+
const number = Number(dirtyNumber);
|
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 |
+
formattingValues: formattingMonthValues,
|
154 |
+
defaultFormattingWidth: "wide",
|
155 |
+
}),
|
156 |
+
|
157 |
+
day: buildLocalizeFn({
|
158 |
+
values: dayValues,
|
159 |
+
defaultWidth: "wide",
|
160 |
+
formattingValues: formattingDayValues,
|
161 |
+
defaultFormattingWidth: "wide",
|
162 |
+
}),
|
163 |
+
|
164 |
+
dayPeriod: buildLocalizeFn({
|
165 |
+
values: dayPeriodValues,
|
166 |
+
defaultWidth: "wide",
|
167 |
+
}),
|
168 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/match.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Match } from "../../types.js";
|
2 |
+
export declare const match: Match;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/match.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { Match } from "../../types.js";
|
2 |
+
export declare const match: Match;
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/match.js
ADDED
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.match = void 0;
|
3 |
+
|
4 |
+
var _index = require("../../_lib/buildMatchFn.js");
|
5 |
+
var _index2 = require("../../_lib/buildMatchPatternFn.js");
|
6 |
+
|
7 |
+
const matchOrdinalNumberPattern = /^(\d+)(\.)/i;
|
8 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
9 |
+
|
10 |
+
const matchEraPatterns = {
|
11 |
+
narrow: /^(e|j)/i,
|
12 |
+
abbreviated: /^(eaa.|jaa.)/i,
|
13 |
+
wide: /^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i,
|
14 |
+
};
|
15 |
+
const parseEraPatterns = {
|
16 |
+
any: [/^e/i, /^j/i],
|
17 |
+
};
|
18 |
+
|
19 |
+
const matchQuarterPatterns = {
|
20 |
+
narrow: /^[1234]/i,
|
21 |
+
abbreviated: /^q[1234]/i,
|
22 |
+
wide: /^[1234]\.? kvartaali/i,
|
23 |
+
};
|
24 |
+
const parseQuarterPatterns = {
|
25 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
26 |
+
};
|
27 |
+
|
28 |
+
const matchMonthPatterns = {
|
29 |
+
narrow: /^[thmkeslj]/i,
|
30 |
+
abbreviated:
|
31 |
+
/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,
|
32 |
+
wide: /^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i,
|
33 |
+
};
|
34 |
+
const parseMonthPatterns = {
|
35 |
+
narrow: [
|
36 |
+
/^t/i,
|
37 |
+
/^h/i,
|
38 |
+
/^m/i,
|
39 |
+
/^h/i,
|
40 |
+
/^t/i,
|
41 |
+
/^k/i,
|
42 |
+
/^h/i,
|
43 |
+
/^e/i,
|
44 |
+
/^s/i,
|
45 |
+
/^l/i,
|
46 |
+
/^m/i,
|
47 |
+
/^j/i,
|
48 |
+
],
|
49 |
+
|
50 |
+
any: [
|
51 |
+
/^ta/i,
|
52 |
+
/^hel/i,
|
53 |
+
/^maa/i,
|
54 |
+
/^hu/i,
|
55 |
+
/^to/i,
|
56 |
+
/^k/i,
|
57 |
+
/^hei/i,
|
58 |
+
/^e/i,
|
59 |
+
/^s/i,
|
60 |
+
/^l/i,
|
61 |
+
/^mar/i,
|
62 |
+
/^j/i,
|
63 |
+
],
|
64 |
+
};
|
65 |
+
|
66 |
+
const matchDayPatterns = {
|
67 |
+
narrow: /^[smtkpl]/i,
|
68 |
+
short: /^(su|ma|ti|ke|to|pe|la)/i,
|
69 |
+
abbreviated: /^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,
|
70 |
+
wide: /^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i,
|
71 |
+
};
|
72 |
+
const parseDayPatterns = {
|
73 |
+
narrow: [/^s/i, /^m/i, /^t/i, /^k/i, /^t/i, /^p/i, /^l/i],
|
74 |
+
any: [/^s/i, /^m/i, /^ti/i, /^k/i, /^to/i, /^p/i, /^l/i],
|
75 |
+
};
|
76 |
+
|
77 |
+
const matchDayPeriodPatterns = {
|
78 |
+
narrow:
|
79 |
+
/^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,
|
80 |
+
any: /^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,
|
81 |
+
};
|
82 |
+
const parseDayPeriodPatterns = {
|
83 |
+
any: {
|
84 |
+
am: /^ap/i,
|
85 |
+
pm: /^ip/i,
|
86 |
+
midnight: /^keskiyö/i,
|
87 |
+
noon: /^keskipäivä/i,
|
88 |
+
morning: /aamupäivällä/i,
|
89 |
+
afternoon: /iltapäivällä/i,
|
90 |
+
evening: /illalla/i,
|
91 |
+
night: /yöllä/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 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/fi/_lib/match.mjs
ADDED
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildMatchFn } from "../../_lib/buildMatchFn.mjs";
|
2 |
+
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.mjs";
|
3 |
+
|
4 |
+
const matchOrdinalNumberPattern = /^(\d+)(\.)/i;
|
5 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
6 |
+
|
7 |
+
const matchEraPatterns = {
|
8 |
+
narrow: /^(e|j)/i,
|
9 |
+
abbreviated: /^(eaa.|jaa.)/i,
|
10 |
+
wide: /^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i,
|
11 |
+
};
|
12 |
+
const parseEraPatterns = {
|
13 |
+
any: [/^e/i, /^j/i],
|
14 |
+
};
|
15 |
+
|
16 |
+
const matchQuarterPatterns = {
|
17 |
+
narrow: /^[1234]/i,
|
18 |
+
abbreviated: /^q[1234]/i,
|
19 |
+
wide: /^[1234]\.? kvartaali/i,
|
20 |
+
};
|
21 |
+
const parseQuarterPatterns = {
|
22 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
23 |
+
};
|
24 |
+
|
25 |
+
const matchMonthPatterns = {
|
26 |
+
narrow: /^[thmkeslj]/i,
|
27 |
+
abbreviated:
|
28 |
+
/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,
|
29 |
+
wide: /^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i,
|
30 |
+
};
|
31 |
+
const parseMonthPatterns = {
|
32 |
+
narrow: [
|
33 |
+
/^t/i,
|
34 |
+
/^h/i,
|
35 |
+
/^m/i,
|
36 |
+
/^h/i,
|
37 |
+
/^t/i,
|
38 |
+
/^k/i,
|
39 |
+
/^h/i,
|
40 |
+
/^e/i,
|
41 |
+
/^s/i,
|
42 |
+
/^l/i,
|
43 |
+
/^m/i,
|
44 |
+
/^j/i,
|
45 |
+
],
|
46 |
+
|
47 |
+
any: [
|
48 |
+
/^ta/i,
|
49 |
+
/^hel/i,
|
50 |
+
/^maa/i,
|
51 |
+
/^hu/i,
|
52 |
+
/^to/i,
|
53 |
+
/^k/i,
|
54 |
+
/^hei/i,
|
55 |
+
/^e/i,
|
56 |
+
/^s/i,
|
57 |
+
/^l/i,
|
58 |
+
/^mar/i,
|
59 |
+
/^j/i,
|
60 |
+
],
|
61 |
+
};
|
62 |
+
|
63 |
+
const matchDayPatterns = {
|
64 |
+
narrow: /^[smtkpl]/i,
|
65 |
+
short: /^(su|ma|ti|ke|to|pe|la)/i,
|
66 |
+
abbreviated: /^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,
|
67 |
+
wide: /^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i,
|
68 |
+
};
|
69 |
+
const parseDayPatterns = {
|
70 |
+
narrow: [/^s/i, /^m/i, /^t/i, /^k/i, /^t/i, /^p/i, /^l/i],
|
71 |
+
any: [/^s/i, /^m/i, /^ti/i, /^k/i, /^to/i, /^p/i, /^l/i],
|
72 |
+
};
|
73 |
+
|
74 |
+
const matchDayPeriodPatterns = {
|
75 |
+
narrow:
|
76 |
+
/^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,
|
77 |
+
any: /^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,
|
78 |
+
};
|
79 |
+
const parseDayPeriodPatterns = {
|
80 |
+
any: {
|
81 |
+
am: /^ap/i,
|
82 |
+
pm: /^ip/i,
|
83 |
+
midnight: /^keskiyö/i,
|
84 |
+
noon: /^keskipäivä/i,
|
85 |
+
morning: /aamupäivällä/i,
|
86 |
+
afternoon: /iltapäivällä/i,
|
87 |
+
evening: /illalla/i,
|
88 |
+
night: /yöllä/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 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/fi/cdn.js
ADDED
@@ -0,0 +1,553 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
function _typeof(o) {"@babel/helpers - typeof";return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, "string");return "symbol" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if ("object" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || "default");if ("object" != _typeof(i)) return i;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string" === r ? String : Number)(t);}(function (_window$dateFns) {var __defProp = Object.defineProperty;
|
2 |
+
var __export = function __export(target, all) {
|
3 |
+
for (var name in all)
|
4 |
+
__defProp(target, name, {
|
5 |
+
get: all[name],
|
6 |
+
enumerable: true,
|
7 |
+
configurable: true,
|
8 |
+
set: function set(newValue) {return all[name] = function () {return newValue;};}
|
9 |
+
});
|
10 |
+
};
|
11 |
+
|
12 |
+
// lib/locale/fi/_lib/formatDistance.mjs
|
13 |
+
var futureSeconds = function futureSeconds(text) {
|
14 |
+
return text.replace(/sekuntia?/, "sekunnin");
|
15 |
+
};
|
16 |
+
var futureMinutes = function futureMinutes(text) {
|
17 |
+
return text.replace(/minuuttia?/, "minuutin");
|
18 |
+
};
|
19 |
+
var futureHours = function futureHours(text) {
|
20 |
+
return text.replace(/tuntia?/, "tunnin");
|
21 |
+
};
|
22 |
+
var futureDays = function futureDays(text) {
|
23 |
+
return text.replace(/päivää?/, "p\xE4iv\xE4n");
|
24 |
+
};
|
25 |
+
var futureWeeks = function futureWeeks(text) {
|
26 |
+
return text.replace(/(viikko|viikkoa)/, "viikon");
|
27 |
+
};
|
28 |
+
var futureMonths = function futureMonths(text) {
|
29 |
+
return text.replace(/(kuukausi|kuukautta)/, "kuukauden");
|
30 |
+
};
|
31 |
+
var futureYears = function futureYears(text) {
|
32 |
+
return text.replace(/(vuosi|vuotta)/, "vuoden");
|
33 |
+
};
|
34 |
+
var formatDistanceLocale = {
|
35 |
+
lessThanXSeconds: {
|
36 |
+
one: "alle sekunti",
|
37 |
+
other: "alle {{count}} sekuntia",
|
38 |
+
futureTense: futureSeconds
|
39 |
+
},
|
40 |
+
xSeconds: {
|
41 |
+
one: "sekunti",
|
42 |
+
other: "{{count}} sekuntia",
|
43 |
+
futureTense: futureSeconds
|
44 |
+
},
|
45 |
+
halfAMinute: {
|
46 |
+
one: "puoli minuuttia",
|
47 |
+
other: "puoli minuuttia",
|
48 |
+
futureTense: function futureTense(_text) {return "puolen minuutin";}
|
49 |
+
},
|
50 |
+
lessThanXMinutes: {
|
51 |
+
one: "alle minuutti",
|
52 |
+
other: "alle {{count}} minuuttia",
|
53 |
+
futureTense: futureMinutes
|
54 |
+
},
|
55 |
+
xMinutes: {
|
56 |
+
one: "minuutti",
|
57 |
+
other: "{{count}} minuuttia",
|
58 |
+
futureTense: futureMinutes
|
59 |
+
},
|
60 |
+
aboutXHours: {
|
61 |
+
one: "noin tunti",
|
62 |
+
other: "noin {{count}} tuntia",
|
63 |
+
futureTense: futureHours
|
64 |
+
},
|
65 |
+
xHours: {
|
66 |
+
one: "tunti",
|
67 |
+
other: "{{count}} tuntia",
|
68 |
+
futureTense: futureHours
|
69 |
+
},
|
70 |
+
xDays: {
|
71 |
+
one: "p\xE4iv\xE4",
|
72 |
+
other: "{{count}} p\xE4iv\xE4\xE4",
|
73 |
+
futureTense: futureDays
|
74 |
+
},
|
75 |
+
aboutXWeeks: {
|
76 |
+
one: "noin viikko",
|
77 |
+
other: "noin {{count}} viikkoa",
|
78 |
+
futureTense: futureWeeks
|
79 |
+
},
|
80 |
+
xWeeks: {
|
81 |
+
one: "viikko",
|
82 |
+
other: "{{count}} viikkoa",
|
83 |
+
futureTense: futureWeeks
|
84 |
+
},
|
85 |
+
aboutXMonths: {
|
86 |
+
one: "noin kuukausi",
|
87 |
+
other: "noin {{count}} kuukautta",
|
88 |
+
futureTense: futureMonths
|
89 |
+
},
|
90 |
+
xMonths: {
|
91 |
+
one: "kuukausi",
|
92 |
+
other: "{{count}} kuukautta",
|
93 |
+
futureTense: futureMonths
|
94 |
+
},
|
95 |
+
aboutXYears: {
|
96 |
+
one: "noin vuosi",
|
97 |
+
other: "noin {{count}} vuotta",
|
98 |
+
futureTense: futureYears
|
99 |
+
},
|
100 |
+
xYears: {
|
101 |
+
one: "vuosi",
|
102 |
+
other: "{{count}} vuotta",
|
103 |
+
futureTense: futureYears
|
104 |
+
},
|
105 |
+
overXYears: {
|
106 |
+
one: "yli vuosi",
|
107 |
+
other: "yli {{count}} vuotta",
|
108 |
+
futureTense: futureYears
|
109 |
+
},
|
110 |
+
almostXYears: {
|
111 |
+
one: "l\xE4hes vuosi",
|
112 |
+
other: "l\xE4hes {{count}} vuotta",
|
113 |
+
futureTense: futureYears
|
114 |
+
}
|
115 |
+
};
|
116 |
+
var formatDistance = function formatDistance(token, count, options) {
|
117 |
+
var tokenValue = formatDistanceLocale[token];
|
118 |
+
var result = count === 1 ? tokenValue.one : tokenValue.other.replace("{{count}}", String(count));
|
119 |
+
if (options !== null && options !== void 0 && options.addSuffix) {
|
120 |
+
if (options.comparison && options.comparison > 0) {
|
121 |
+
return tokenValue.futureTense(result) + " kuluttua";
|
122 |
+
} else {
|
123 |
+
return result + " sitten";
|
124 |
+
}
|
125 |
+
}
|
126 |
+
return result;
|
127 |
+
};
|
128 |
+
|
129 |
+
// lib/locale/_lib/buildFormatLongFn.mjs
|
130 |
+
function buildFormatLongFn(args) {
|
131 |
+
return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
132 |
+
var width = options.width ? String(options.width) : args.defaultWidth;
|
133 |
+
var format = args.formats[width] || args.formats[args.defaultWidth];
|
134 |
+
return format;
|
135 |
+
};
|
136 |
+
}
|
137 |
+
|
138 |
+
// lib/locale/fi/_lib/formatLong.mjs
|
139 |
+
var dateFormats = {
|
140 |
+
full: "eeee d. MMMM y",
|
141 |
+
long: "d. MMMM y",
|
142 |
+
medium: "d. MMM y",
|
143 |
+
short: "d.M.y"
|
144 |
+
};
|
145 |
+
var timeFormats = {
|
146 |
+
full: "HH.mm.ss zzzz",
|
147 |
+
long: "HH.mm.ss z",
|
148 |
+
medium: "HH.mm.ss",
|
149 |
+
short: "HH.mm"
|
150 |
+
};
|
151 |
+
var dateTimeFormats = {
|
152 |
+
full: "{{date}} 'klo' {{time}}",
|
153 |
+
long: "{{date}} 'klo' {{time}}",
|
154 |
+
medium: "{{date}} {{time}}",
|
155 |
+
short: "{{date}} {{time}}"
|
156 |
+
};
|
157 |
+
var formatLong = {
|
158 |
+
date: buildFormatLongFn({
|
159 |
+
formats: dateFormats,
|
160 |
+
defaultWidth: "full"
|
161 |
+
}),
|
162 |
+
time: buildFormatLongFn({
|
163 |
+
formats: timeFormats,
|
164 |
+
defaultWidth: "full"
|
165 |
+
}),
|
166 |
+
dateTime: buildFormatLongFn({
|
167 |
+
formats: dateTimeFormats,
|
168 |
+
defaultWidth: "full"
|
169 |
+
})
|
170 |
+
};
|
171 |
+
|
172 |
+
// lib/locale/fi/_lib/formatRelative.mjs
|
173 |
+
var formatRelativeLocale = {
|
174 |
+
lastWeek: "'viime' eeee 'klo' p",
|
175 |
+
yesterday: "'eilen klo' p",
|
176 |
+
today: "'t\xE4n\xE4\xE4n klo' p",
|
177 |
+
tomorrow: "'huomenna klo' p",
|
178 |
+
nextWeek: "'ensi' eeee 'klo' p",
|
179 |
+
other: "P"
|
180 |
+
};
|
181 |
+
var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};
|
182 |
+
|
183 |
+
// lib/locale/_lib/buildLocalizeFn.mjs
|
184 |
+
function buildLocalizeFn(args) {
|
185 |
+
return function (value, options) {
|
186 |
+
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
|
187 |
+
var valuesArray;
|
188 |
+
if (context === "formatting" && args.formattingValues) {
|
189 |
+
var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
190 |
+
var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
|
191 |
+
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
192 |
+
} else {
|
193 |
+
var _defaultWidth = args.defaultWidth;
|
194 |
+
var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
|
195 |
+
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
196 |
+
}
|
197 |
+
var index = args.argumentCallback ? args.argumentCallback(value) : value;
|
198 |
+
return valuesArray[index];
|
199 |
+
};
|
200 |
+
}
|
201 |
+
|
202 |
+
// lib/locale/fi/_lib/localize.mjs
|
203 |
+
var eraValues = {
|
204 |
+
narrow: ["eaa.", "jaa."],
|
205 |
+
abbreviated: ["eaa.", "jaa."],
|
206 |
+
wide: ["ennen ajanlaskun alkua", "j\xE4lkeen ajanlaskun alun"]
|
207 |
+
};
|
208 |
+
var quarterValues = {
|
209 |
+
narrow: ["1", "2", "3", "4"],
|
210 |
+
abbreviated: ["Q1", "Q2", "Q3", "Q4"],
|
211 |
+
wide: ["1. kvartaali", "2. kvartaali", "3. kvartaali", "4. kvartaali"]
|
212 |
+
};
|
213 |
+
var monthValues = {
|
214 |
+
narrow: ["T", "H", "M", "H", "T", "K", "H", "E", "S", "L", "M", "J"],
|
215 |
+
abbreviated: [
|
216 |
+
"tammi",
|
217 |
+
"helmi",
|
218 |
+
"maalis",
|
219 |
+
"huhti",
|
220 |
+
"touko",
|
221 |
+
"kes\xE4",
|
222 |
+
"hein\xE4",
|
223 |
+
"elo",
|
224 |
+
"syys",
|
225 |
+
"loka",
|
226 |
+
"marras",
|
227 |
+
"joulu"],
|
228 |
+
|
229 |
+
wide: [
|
230 |
+
"tammikuu",
|
231 |
+
"helmikuu",
|
232 |
+
"maaliskuu",
|
233 |
+
"huhtikuu",
|
234 |
+
"toukokuu",
|
235 |
+
"kes\xE4kuu",
|
236 |
+
"hein\xE4kuu",
|
237 |
+
"elokuu",
|
238 |
+
"syyskuu",
|
239 |
+
"lokakuu",
|
240 |
+
"marraskuu",
|
241 |
+
"joulukuu"]
|
242 |
+
|
243 |
+
};
|
244 |
+
var formattingMonthValues = {
|
245 |
+
narrow: monthValues.narrow,
|
246 |
+
abbreviated: monthValues.abbreviated,
|
247 |
+
wide: [
|
248 |
+
"tammikuuta",
|
249 |
+
"helmikuuta",
|
250 |
+
"maaliskuuta",
|
251 |
+
"huhtikuuta",
|
252 |
+
"toukokuuta",
|
253 |
+
"kes\xE4kuuta",
|
254 |
+
"hein\xE4kuuta",
|
255 |
+
"elokuuta",
|
256 |
+
"syyskuuta",
|
257 |
+
"lokakuuta",
|
258 |
+
"marraskuuta",
|
259 |
+
"joulukuuta"]
|
260 |
+
|
261 |
+
};
|
262 |
+
var dayValues = {
|
263 |
+
narrow: ["S", "M", "T", "K", "T", "P", "L"],
|
264 |
+
short: ["su", "ma", "ti", "ke", "to", "pe", "la"],
|
265 |
+
abbreviated: ["sunn.", "maan.", "tiis.", "kesk.", "torst.", "perj.", "la"],
|
266 |
+
wide: [
|
267 |
+
"sunnuntai",
|
268 |
+
"maanantai",
|
269 |
+
"tiistai",
|
270 |
+
"keskiviikko",
|
271 |
+
"torstai",
|
272 |
+
"perjantai",
|
273 |
+
"lauantai"]
|
274 |
+
|
275 |
+
};
|
276 |
+
var formattingDayValues = {
|
277 |
+
narrow: dayValues.narrow,
|
278 |
+
short: dayValues.short,
|
279 |
+
abbreviated: dayValues.abbreviated,
|
280 |
+
wide: [
|
281 |
+
"sunnuntaina",
|
282 |
+
"maanantaina",
|
283 |
+
"tiistaina",
|
284 |
+
"keskiviikkona",
|
285 |
+
"torstaina",
|
286 |
+
"perjantaina",
|
287 |
+
"lauantaina"]
|
288 |
+
|
289 |
+
};
|
290 |
+
var dayPeriodValues = {
|
291 |
+
narrow: {
|
292 |
+
am: "ap",
|
293 |
+
pm: "ip",
|
294 |
+
midnight: "keskiy\xF6",
|
295 |
+
noon: "keskip\xE4iv\xE4",
|
296 |
+
morning: "ap",
|
297 |
+
afternoon: "ip",
|
298 |
+
evening: "illalla",
|
299 |
+
night: "y\xF6ll\xE4"
|
300 |
+
},
|
301 |
+
abbreviated: {
|
302 |
+
am: "ap",
|
303 |
+
pm: "ip",
|
304 |
+
midnight: "keskiy\xF6",
|
305 |
+
noon: "keskip\xE4iv\xE4",
|
306 |
+
morning: "ap",
|
307 |
+
afternoon: "ip",
|
308 |
+
evening: "illalla",
|
309 |
+
night: "y\xF6ll\xE4"
|
310 |
+
},
|
311 |
+
wide: {
|
312 |
+
am: "ap",
|
313 |
+
pm: "ip",
|
314 |
+
midnight: "keskiy\xF6ll\xE4",
|
315 |
+
noon: "keskip\xE4iv\xE4ll\xE4",
|
316 |
+
morning: "aamup\xE4iv\xE4ll\xE4",
|
317 |
+
afternoon: "iltap\xE4iv\xE4ll\xE4",
|
318 |
+
evening: "illalla",
|
319 |
+
night: "y\xF6ll\xE4"
|
320 |
+
}
|
321 |
+
};
|
322 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
323 |
+
var number = Number(dirtyNumber);
|
324 |
+
return number + ".";
|
325 |
+
};
|
326 |
+
var localize = {
|
327 |
+
ordinalNumber: ordinalNumber,
|
328 |
+
era: buildLocalizeFn({
|
329 |
+
values: eraValues,
|
330 |
+
defaultWidth: "wide"
|
331 |
+
}),
|
332 |
+
quarter: buildLocalizeFn({
|
333 |
+
values: quarterValues,
|
334 |
+
defaultWidth: "wide",
|
335 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
336 |
+
}),
|
337 |
+
month: buildLocalizeFn({
|
338 |
+
values: monthValues,
|
339 |
+
defaultWidth: "wide",
|
340 |
+
formattingValues: formattingMonthValues,
|
341 |
+
defaultFormattingWidth: "wide"
|
342 |
+
}),
|
343 |
+
day: buildLocalizeFn({
|
344 |
+
values: dayValues,
|
345 |
+
defaultWidth: "wide",
|
346 |
+
formattingValues: formattingDayValues,
|
347 |
+
defaultFormattingWidth: "wide"
|
348 |
+
}),
|
349 |
+
dayPeriod: buildLocalizeFn({
|
350 |
+
values: dayPeriodValues,
|
351 |
+
defaultWidth: "wide"
|
352 |
+
})
|
353 |
+
};
|
354 |
+
|
355 |
+
// lib/locale/_lib/buildMatchFn.mjs
|
356 |
+
function buildMatchFn(args) {
|
357 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
358 |
+
var width = options.width;
|
359 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
360 |
+
var matchResult = string.match(matchPattern);
|
361 |
+
if (!matchResult) {
|
362 |
+
return null;
|
363 |
+
}
|
364 |
+
var matchedString = matchResult[0];
|
365 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
366 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
367 |
+
var value;
|
368 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
369 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
370 |
+
var rest = string.slice(matchedString.length);
|
371 |
+
return { value: value, rest: rest };
|
372 |
+
};
|
373 |
+
}
|
374 |
+
var findKey = function findKey(object, predicate) {
|
375 |
+
for (var key in object) {
|
376 |
+
if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
|
377 |
+
return key;
|
378 |
+
}
|
379 |
+
}
|
380 |
+
return;
|
381 |
+
};
|
382 |
+
var findIndex = function findIndex(array, predicate) {
|
383 |
+
for (var key = 0; key < array.length; key++) {
|
384 |
+
if (predicate(array[key])) {
|
385 |
+
return key;
|
386 |
+
}
|
387 |
+
}
|
388 |
+
return;
|
389 |
+
};
|
390 |
+
|
391 |
+
// lib/locale/_lib/buildMatchPatternFn.mjs
|
392 |
+
function buildMatchPatternFn(args) {
|
393 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
394 |
+
var matchResult = string.match(args.matchPattern);
|
395 |
+
if (!matchResult)
|
396 |
+
return null;
|
397 |
+
var matchedString = matchResult[0];
|
398 |
+
var parseResult = string.match(args.parsePattern);
|
399 |
+
if (!parseResult)
|
400 |
+
return null;
|
401 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
402 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
403 |
+
var rest = string.slice(matchedString.length);
|
404 |
+
return { value: value, rest: rest };
|
405 |
+
};
|
406 |
+
}
|
407 |
+
|
408 |
+
// lib/locale/fi/_lib/match.mjs
|
409 |
+
var matchOrdinalNumberPattern = /^(\d+)(\.)/i;
|
410 |
+
var parseOrdinalNumberPattern = /\d+/i;
|
411 |
+
var matchEraPatterns = {
|
412 |
+
narrow: /^(e|j)/i,
|
413 |
+
abbreviated: /^(eaa.|jaa.)/i,
|
414 |
+
wide: /^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i
|
415 |
+
};
|
416 |
+
var parseEraPatterns = {
|
417 |
+
any: [/^e/i, /^j/i]
|
418 |
+
};
|
419 |
+
var matchQuarterPatterns = {
|
420 |
+
narrow: /^[1234]/i,
|
421 |
+
abbreviated: /^q[1234]/i,
|
422 |
+
wide: /^[1234]\.? kvartaali/i
|
423 |
+
};
|
424 |
+
var parseQuarterPatterns = {
|
425 |
+
any: [/1/i, /2/i, /3/i, /4/i]
|
426 |
+
};
|
427 |
+
var matchMonthPatterns = {
|
428 |
+
narrow: /^[thmkeslj]/i,
|
429 |
+
abbreviated: /^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,
|
430 |
+
wide: /^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i
|
431 |
+
};
|
432 |
+
var parseMonthPatterns = {
|
433 |
+
narrow: [
|
434 |
+
/^t/i,
|
435 |
+
/^h/i,
|
436 |
+
/^m/i,
|
437 |
+
/^h/i,
|
438 |
+
/^t/i,
|
439 |
+
/^k/i,
|
440 |
+
/^h/i,
|
441 |
+
/^e/i,
|
442 |
+
/^s/i,
|
443 |
+
/^l/i,
|
444 |
+
/^m/i,
|
445 |
+
/^j/i],
|
446 |
+
|
447 |
+
any: [
|
448 |
+
/^ta/i,
|
449 |
+
/^hel/i,
|
450 |
+
/^maa/i,
|
451 |
+
/^hu/i,
|
452 |
+
/^to/i,
|
453 |
+
/^k/i,
|
454 |
+
/^hei/i,
|
455 |
+
/^e/i,
|
456 |
+
/^s/i,
|
457 |
+
/^l/i,
|
458 |
+
/^mar/i,
|
459 |
+
/^j/i]
|
460 |
+
|
461 |
+
};
|
462 |
+
var matchDayPatterns = {
|
463 |
+
narrow: /^[smtkpl]/i,
|
464 |
+
short: /^(su|ma|ti|ke|to|pe|la)/i,
|
465 |
+
abbreviated: /^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,
|
466 |
+
wide: /^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i
|
467 |
+
};
|
468 |
+
var parseDayPatterns = {
|
469 |
+
narrow: [/^s/i, /^m/i, /^t/i, /^k/i, /^t/i, /^p/i, /^l/i],
|
470 |
+
any: [/^s/i, /^m/i, /^ti/i, /^k/i, /^to/i, /^p/i, /^l/i]
|
471 |
+
};
|
472 |
+
var matchDayPeriodPatterns = {
|
473 |
+
narrow: /^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,
|
474 |
+
any: /^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i
|
475 |
+
};
|
476 |
+
var parseDayPeriodPatterns = {
|
477 |
+
any: {
|
478 |
+
am: /^ap/i,
|
479 |
+
pm: /^ip/i,
|
480 |
+
midnight: /^keskiyö/i,
|
481 |
+
noon: /^keskipäivä/i,
|
482 |
+
morning: /aamupäivällä/i,
|
483 |
+
afternoon: /iltapäivällä/i,
|
484 |
+
evening: /illalla/i,
|
485 |
+
night: /yöllä/i
|
486 |
+
}
|
487 |
+
};
|
488 |
+
var match = {
|
489 |
+
ordinalNumber: buildMatchPatternFn({
|
490 |
+
matchPattern: matchOrdinalNumberPattern,
|
491 |
+
parsePattern: parseOrdinalNumberPattern,
|
492 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
493 |
+
}),
|
494 |
+
era: buildMatchFn({
|
495 |
+
matchPatterns: matchEraPatterns,
|
496 |
+
defaultMatchWidth: "wide",
|
497 |
+
parsePatterns: parseEraPatterns,
|
498 |
+
defaultParseWidth: "any"
|
499 |
+
}),
|
500 |
+
quarter: buildMatchFn({
|
501 |
+
matchPatterns: matchQuarterPatterns,
|
502 |
+
defaultMatchWidth: "wide",
|
503 |
+
parsePatterns: parseQuarterPatterns,
|
504 |
+
defaultParseWidth: "any",
|
505 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
506 |
+
}),
|
507 |
+
month: buildMatchFn({
|
508 |
+
matchPatterns: matchMonthPatterns,
|
509 |
+
defaultMatchWidth: "wide",
|
510 |
+
parsePatterns: parseMonthPatterns,
|
511 |
+
defaultParseWidth: "any"
|
512 |
+
}),
|
513 |
+
day: buildMatchFn({
|
514 |
+
matchPatterns: matchDayPatterns,
|
515 |
+
defaultMatchWidth: "wide",
|
516 |
+
parsePatterns: parseDayPatterns,
|
517 |
+
defaultParseWidth: "any"
|
518 |
+
}),
|
519 |
+
dayPeriod: buildMatchFn({
|
520 |
+
matchPatterns: matchDayPeriodPatterns,
|
521 |
+
defaultMatchWidth: "any",
|
522 |
+
parsePatterns: parseDayPeriodPatterns,
|
523 |
+
defaultParseWidth: "any"
|
524 |
+
})
|
525 |
+
};
|
526 |
+
|
527 |
+
// lib/locale/fi.mjs
|
528 |
+
var fi = {
|
529 |
+
code: "fi",
|
530 |
+
formatDistance: formatDistance,
|
531 |
+
formatLong: formatLong,
|
532 |
+
formatRelative: formatRelative,
|
533 |
+
localize: localize,
|
534 |
+
match: match,
|
535 |
+
options: {
|
536 |
+
weekStartsOn: 1,
|
537 |
+
firstWeekContainsDate: 4
|
538 |
+
}
|
539 |
+
};
|
540 |
+
|
541 |
+
// lib/locale/fi/cdn.js
|
542 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
543 |
+
window.dateFns), {}, {
|
544 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
545 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
546 |
+
fi: fi }) });
|
547 |
+
|
548 |
+
|
549 |
+
|
550 |
+
//# debugId=B4CCC245BB6F007E64756e2164756e21
|
551 |
+
})();
|
552 |
+
|
553 |
+
//# sourceMappingURL=cdn.js.map
|
workers1/auto3d/node_modules/date-fns/locale/fi/cdn.js.map
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"version":3,"file":"cdn.js","names":["_window$dateFns","__defProp","Object","defineProperty","__export","target","all","name","get","enumerable","configurable","set","newValue","futureSeconds","text","replace","futureMinutes","futureHours","futureDays","futureWeeks","futureMonths","futureYears","formatDistanceLocale","lessThanXSeconds","one","other","futureTense","xSeconds","halfAMinute","_text","lessThanXMinutes","xMinutes","aboutXHours","xHours","xDays","aboutXWeeks","xWeeks","aboutXMonths","xMonths","aboutXYears","xYears","overXYears","almostXYears","formatDistance","token","count","options","tokenValue","result","String","addSuffix","comparison","buildFormatLongFn","args","arguments","length","undefined","width","defaultWidth","format","formats","dateFormats","full","long","medium","short","timeFormats","dateTimeFormats","formatLong","date","time","dateTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","formatRelative","_date","_baseDate","_options","buildLocalizeFn","value","context","valuesArray","formattingValues","defaultFormattingWidth","values","index","argumentCallback","eraValues","narrow","abbreviated","wide","quarterValues","monthValues","formattingMonthValues","dayValues","formattingDayValues","dayPeriodValues","am","pm","midnight","noon","morning","afternoon","evening","night","ordinalNumber","dirtyNumber","number","Number","localize","era","quarter","month","day","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","pattern","test","findKey","valueCallback","rest","slice","object","predicate","prototype","hasOwnProperty","call","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","fi","code","weekStartsOn","firstWeekContainsDate","window","dateFns","_objectSpread","locale"],"sources":["cdn.js"],"sourcesContent":["(() => { var __defProp = Object.defineProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: (newValue) => all[name] = () => newValue\n });\n};\n\n// lib/locale/fi/_lib/formatDistance.mjs\nvar futureSeconds = function(text) {\n return text.replace(/sekuntia?/, \"sekunnin\");\n};\nvar futureMinutes = function(text) {\n return text.replace(/minuuttia?/, \"minuutin\");\n};\nvar futureHours = function(text) {\n return text.replace(/tuntia?/, \"tunnin\");\n};\nvar futureDays = function(text) {\n return text.replace(/päivää?/, \"p\\xE4iv\\xE4n\");\n};\nvar futureWeeks = function(text) {\n return text.replace(/(viikko|viikkoa)/, \"viikon\");\n};\nvar futureMonths = function(text) {\n return text.replace(/(kuukausi|kuukautta)/, \"kuukauden\");\n};\nvar futureYears = function(text) {\n return text.replace(/(vuosi|vuotta)/, \"vuoden\");\n};\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"alle sekunti\",\n other: \"alle {{count}} sekuntia\",\n futureTense: futureSeconds\n },\n xSeconds: {\n one: \"sekunti\",\n other: \"{{count}} sekuntia\",\n futureTense: futureSeconds\n },\n halfAMinute: {\n one: \"puoli minuuttia\",\n other: \"puoli minuuttia\",\n futureTense: (_text) => \"puolen minuutin\"\n },\n lessThanXMinutes: {\n one: \"alle minuutti\",\n other: \"alle {{count}} minuuttia\",\n futureTense: futureMinutes\n },\n xMinutes: {\n one: \"minuutti\",\n other: \"{{count}} minuuttia\",\n futureTense: futureMinutes\n },\n aboutXHours: {\n one: \"noin tunti\",\n other: \"noin {{count}} tuntia\",\n futureTense: futureHours\n },\n xHours: {\n one: \"tunti\",\n other: \"{{count}} tuntia\",\n futureTense: futureHours\n },\n xDays: {\n one: \"p\\xE4iv\\xE4\",\n other: \"{{count}} p\\xE4iv\\xE4\\xE4\",\n futureTense: futureDays\n },\n aboutXWeeks: {\n one: \"noin viikko\",\n other: \"noin {{count}} viikkoa\",\n futureTense: futureWeeks\n },\n xWeeks: {\n one: \"viikko\",\n other: \"{{count}} viikkoa\",\n futureTense: futureWeeks\n },\n aboutXMonths: {\n one: \"noin kuukausi\",\n other: \"noin {{count}} kuukautta\",\n futureTense: futureMonths\n },\n xMonths: {\n one: \"kuukausi\",\n other: \"{{count}} kuukautta\",\n futureTense: futureMonths\n },\n aboutXYears: {\n one: \"noin vuosi\",\n other: \"noin {{count}} vuotta\",\n futureTense: futureYears\n },\n xYears: {\n one: \"vuosi\",\n other: \"{{count}} vuotta\",\n futureTense: futureYears\n },\n overXYears: {\n one: \"yli vuosi\",\n other: \"yli {{count}} vuotta\",\n futureTense: futureYears\n },\n almostXYears: {\n one: \"l\\xE4hes vuosi\",\n other: \"l\\xE4hes {{count}} vuotta\",\n futureTense: futureYears\n }\n};\nvar formatDistance = (token, count, options) => {\n const tokenValue = formatDistanceLocale[token];\n const result = count === 1 ? tokenValue.one : tokenValue.other.replace(\"{{count}}\", String(count));\n if (options?.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return tokenValue.futureTense(result) + \" kuluttua\";\n } else {\n return result + \" sitten\";\n }\n }\n return result;\n};\n\n// lib/locale/_lib/buildFormatLongFn.mjs\nfunction buildFormatLongFn(args) {\n return (options = {}) => {\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n\n// lib/locale/fi/_lib/formatLong.mjs\nvar dateFormats = {\n full: \"eeee d. MMMM y\",\n long: \"d. MMMM y\",\n medium: \"d. MMM y\",\n short: \"d.M.y\"\n};\nvar timeFormats = {\n full: \"HH.mm.ss zzzz\",\n long: \"HH.mm.ss z\",\n medium: \"HH.mm.ss\",\n short: \"HH.mm\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} 'klo' {{time}}\",\n long: \"{{date}} 'klo' {{time}}\",\n medium: \"{{date}} {{time}}\",\n short: \"{{date}} {{time}}\"\n};\nvar formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\"\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\"\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\"\n })\n};\n\n// lib/locale/fi/_lib/formatRelative.mjs\nvar formatRelativeLocale = {\n lastWeek: \"'viime' eeee 'klo' p\",\n yesterday: \"'eilen klo' p\",\n today: \"'t\\xE4n\\xE4\\xE4n klo' p\",\n tomorrow: \"'huomenna klo' p\",\n nextWeek: \"'ensi' eeee 'klo' p\",\n other: \"P\"\n};\nvar formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale[token];\n\n// lib/locale/_lib/buildLocalizeFn.mjs\nfunction buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n return valuesArray[index];\n };\n}\n\n// lib/locale/fi/_lib/localize.mjs\nvar eraValues = {\n narrow: [\"eaa.\", \"jaa.\"],\n abbreviated: [\"eaa.\", \"jaa.\"],\n wide: [\"ennen ajanlaskun alkua\", \"j\\xE4lkeen ajanlaskun alun\"]\n};\nvar quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"1. kvartaali\", \"2. kvartaali\", \"3. kvartaali\", \"4. kvartaali\"]\n};\nvar monthValues = {\n narrow: [\"T\", \"H\", \"M\", \"H\", \"T\", \"K\", \"H\", \"E\", \"S\", \"L\", \"M\", \"J\"],\n abbreviated: [\n \"tammi\",\n \"helmi\",\n \"maalis\",\n \"huhti\",\n \"touko\",\n \"kes\\xE4\",\n \"hein\\xE4\",\n \"elo\",\n \"syys\",\n \"loka\",\n \"marras\",\n \"joulu\"\n ],\n wide: [\n \"tammikuu\",\n \"helmikuu\",\n \"maaliskuu\",\n \"huhtikuu\",\n \"toukokuu\",\n \"kes\\xE4kuu\",\n \"hein\\xE4kuu\",\n \"elokuu\",\n \"syyskuu\",\n \"lokakuu\",\n \"marraskuu\",\n \"joulukuu\"\n ]\n};\nvar formattingMonthValues = {\n narrow: monthValues.narrow,\n abbreviated: monthValues.abbreviated,\n wide: [\n \"tammikuuta\",\n \"helmikuuta\",\n \"maaliskuuta\",\n \"huhtikuuta\",\n \"toukokuuta\",\n \"kes\\xE4kuuta\",\n \"hein\\xE4kuuta\",\n \"elokuuta\",\n \"syyskuuta\",\n \"lokakuuta\",\n \"marraskuuta\",\n \"joulukuuta\"\n ]\n};\nvar dayValues = {\n narrow: [\"S\", \"M\", \"T\", \"K\", \"T\", \"P\", \"L\"],\n short: [\"su\", \"ma\", \"ti\", \"ke\", \"to\", \"pe\", \"la\"],\n abbreviated: [\"sunn.\", \"maan.\", \"tiis.\", \"kesk.\", \"torst.\", \"perj.\", \"la\"],\n wide: [\n \"sunnuntai\",\n \"maanantai\",\n \"tiistai\",\n \"keskiviikko\",\n \"torstai\",\n \"perjantai\",\n \"lauantai\"\n ]\n};\nvar formattingDayValues = {\n narrow: dayValues.narrow,\n short: dayValues.short,\n abbreviated: dayValues.abbreviated,\n wide: [\n \"sunnuntaina\",\n \"maanantaina\",\n \"tiistaina\",\n \"keskiviikkona\",\n \"torstaina\",\n \"perjantaina\",\n \"lauantaina\"\n ]\n};\nvar dayPeriodValues = {\n narrow: {\n am: \"ap\",\n pm: \"ip\",\n midnight: \"keskiy\\xF6\",\n noon: \"keskip\\xE4iv\\xE4\",\n morning: \"ap\",\n afternoon: \"ip\",\n evening: \"illalla\",\n night: \"y\\xF6ll\\xE4\"\n },\n abbreviated: {\n am: \"ap\",\n pm: \"ip\",\n midnight: \"keskiy\\xF6\",\n noon: \"keskip\\xE4iv\\xE4\",\n morning: \"ap\",\n afternoon: \"ip\",\n evening: \"illalla\",\n night: \"y\\xF6ll\\xE4\"\n },\n wide: {\n am: \"ap\",\n pm: \"ip\",\n midnight: \"keskiy\\xF6ll\\xE4\",\n noon: \"keskip\\xE4iv\\xE4ll\\xE4\",\n morning: \"aamup\\xE4iv\\xE4ll\\xE4\",\n afternoon: \"iltap\\xE4iv\\xE4ll\\xE4\",\n evening: \"illalla\",\n night: \"y\\xF6ll\\xE4\"\n }\n};\nvar ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n return number + \".\";\n};\nvar localize = {\n ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\"\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: \"wide\"\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayValues,\n defaultFormattingWidth: \"wide\"\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\"\n })\n};\n\n// lib/locale/_lib/buildMatchFn.mjs\nfunction buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n const matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n const parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n const key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString)) : findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n let value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\nvar findKey = function(object, predicate) {\n for (const key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n return key;\n }\n }\n return;\n};\nvar findIndex = function(array, predicate) {\n for (let key = 0;key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return;\n};\n\n// lib/locale/_lib/buildMatchPatternFn.mjs\nfunction buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult)\n return null;\n const matchedString = matchResult[0];\n const parseResult = string.match(args.parsePattern);\n if (!parseResult)\n return null;\n let value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n const rest = string.slice(matchedString.length);\n return { value, rest };\n };\n}\n\n// lib/locale/fi/_lib/match.mjs\nvar matchOrdinalNumberPattern = /^(\\d+)(\\.)/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(e|j)/i,\n abbreviated: /^(eaa.|jaa.)/i,\n wide: /^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i\n};\nvar parseEraPatterns = {\n any: [/^e/i, /^j/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234]\\.? kvartaali/i\n};\nvar parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n};\nvar matchMonthPatterns = {\n narrow: /^[thmkeslj]/i,\n abbreviated: /^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,\n wide: /^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i\n};\nvar parseMonthPatterns = {\n narrow: [\n /^t/i,\n /^h/i,\n /^m/i,\n /^h/i,\n /^t/i,\n /^k/i,\n /^h/i,\n /^e/i,\n /^s/i,\n /^l/i,\n /^m/i,\n /^j/i\n ],\n any: [\n /^ta/i,\n /^hel/i,\n /^maa/i,\n /^hu/i,\n /^to/i,\n /^k/i,\n /^hei/i,\n /^e/i,\n /^s/i,\n /^l/i,\n /^mar/i,\n /^j/i\n ]\n};\nvar matchDayPatterns = {\n narrow: /^[smtkpl]/i,\n short: /^(su|ma|ti|ke|to|pe|la)/i,\n abbreviated: /^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,\n wide: /^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i\n};\nvar parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^k/i, /^t/i, /^p/i, /^l/i],\n any: [/^s/i, /^m/i, /^ti/i, /^k/i, /^to/i, /^p/i, /^l/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,\n any: /^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i\n};\nvar parseDayPeriodPatterns = {\n any: {\n am: /^ap/i,\n pm: /^ip/i,\n midnight: /^keskiyö/i,\n noon: /^keskipäivä/i,\n morning: /aamupäivällä/i,\n afternoon: /iltapäivällä/i,\n evening: /illalla/i,\n night: /yöllä/i\n }\n};\nvar match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10)\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\"\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\"\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\"\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n};\n\n// lib/locale/fi.mjs\nvar fi = {\n code: \"fi\",\n formatDistance,\n formatLong,\n formatRelative,\n localize,\n match,\n options: {\n weekStartsOn: 1,\n firstWeekContainsDate: 4\n }\n};\n\n// lib/locale/fi/cdn.js\nwindow.dateFns = {\n ...window.dateFns,\n locale: {\n ...window.dateFns?.locale,\n fi\n }\n};\n\n//# debugId=B4CCC245BB6F007E64756e2164756e21\n })();"],"mappings":"8lDAAA,CAAC,UAAAA,eAAA,EAAM,CAAE,IAAIC,SAAS,GAAGC,MAAM,CAACC,cAAc;EAC9C,IAAIC,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,MAAM,EAAEC,GAAG,EAAK;IAC9B,KAAK,IAAIC,IAAI,IAAID,GAAG;IAClBL,SAAS,CAACI,MAAM,EAAEE,IAAI,EAAE;MACtBC,GAAG,EAAEF,GAAG,CAACC,IAAI,CAAC;MACdE,UAAU,EAAE,IAAI;MAChBC,YAAY,EAAE,IAAI;MAClBC,GAAG,EAAE,SAAAA,IAACC,QAAQ,UAAKN,GAAG,CAACC,IAAI,CAAC,GAAG,oBAAMK,QAAQ;IAC/C,CAAC,CAAC;EACN,CAAC;;EAED;EACA,IAAIC,aAAa,GAAG,SAAhBA,aAAaA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BG,aAAa,EAAEmC,gBAAgB;MAC/BlC,iBAAiB,EAAE,MAAM;MACzBI,aAAa,EAAE+B,gBAAgB;MAC/B9B,iBAAiB,EAAE;IACrB,CAAC,CAAC;IACFV,SAAS,EAAEC,YAAY,CAAC;MACtBG,aAAa,EAAEqC,sBAAsB;MACrCpC,iBAAiB,EAAE,KAAK;MACxBI,aAAa,EAAEiC,sBAAsB;MACrChC,iBAAiB,EAAE;IACrB,CAAC;EACH,CAAC;;EAED;EACA,IAAIkC,EAAE,GAAG;IACPC,IAAI,EAAE,IAAI;IACVxH,cAAc,EAAdA,cAAc;IACdyB,UAAU,EAAVA,UAAU;IACVU,cAAc,EAAdA,cAAc;IACdmC,QAAQ,EAARA,QAAQ;IACRY,KAAK,EAALA,KAAK;IACL/E,OAAO,EAAE;MACPsH,YAAY,EAAE,CAAC;MACfC,qBAAqB,EAAE;IACzB;EACF,CAAC;;EAED;EACAC,MAAM,CAACC,OAAO,GAAAC,aAAA,CAAAA,aAAA;EACTF,MAAM,CAACC,OAAO;IACjBE,MAAM,EAAAD,aAAA,CAAAA,aAAA,MAAAxK,eAAA;IACDsK,MAAM,CAACC,OAAO,cAAAvK,eAAA,uBAAdA,eAAA,CAAgByK,MAAM;MACzBP,EAAE,EAAFA,EAAE,GACH,GACF;;;;EAED;AACC,CAAC,EAAE,CAAC","ignoreList":[]}
|
workers1/auto3d/node_modules/date-fns/locale/fi/cdn.min.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
var K=function(E){return K=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(C){return typeof C}:function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},K(E)},x=function(E,C){var G=Object.keys(E);if(Object.getOwnPropertySymbols){var J=Object.getOwnPropertySymbols(E);C&&(J=J.filter(function(Y){return Object.getOwnPropertyDescriptor(E,Y).enumerable})),G.push.apply(G,J)}return G},W=function(E){for(var C=1;C<arguments.length;C++){var G=arguments[C]!=null?arguments[C]:{};C%2?x(Object(G),!0).forEach(function(J){XH(E,J,G[J])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(G)):x(Object(G)).forEach(function(J){Object.defineProperty(E,J,Object.getOwnPropertyDescriptor(G,J))})}return E},XH=function(E,C,G){if(C=ZH(C),C in E)Object.defineProperty(E,C,{value:G,enumerable:!0,configurable:!0,writable:!0});else E[C]=G;return E},ZH=function(E){var C=IH(E,"string");return K(C)=="symbol"?C:String(C)},IH=function(E,C){if(K(E)!="object"||!E)return E;var G=E[Symbol.toPrimitive];if(G!==void 0){var J=G.call(E,C||"default");if(K(J)!="object")return J;throw new TypeError("@@toPrimitive must return a primitive value.")}return(C==="string"?String:Number)(E)};(function(E){var C=Object.defineProperty,G=function T(H,U){for(var B in U)C(H,B,{get:U[B],enumerable:!0,configurable:!0,set:function Z(X){return U[B]=function(){return X}}})},J=function T(H){return H.replace(/sekuntia?/,"sekunnin")},Y=function T(H){return H.replace(/minuuttia?/,"minuutin")},L=function T(H){return H.replace(/tuntia?/,"tunnin")},V=function T(H){return H.replace(/päivää?/,"p\xE4iv\xE4n")},M=function T(H){return H.replace(/(viikko|viikkoa)/,"viikon")},j=function T(H){return H.replace(/(kuukausi|kuukautta)/,"kuukauden")},N=function T(H){return H.replace(/(vuosi|vuotta)/,"vuoden")},v={lessThanXSeconds:{one:"alle sekunti",other:"alle {{count}} sekuntia",futureTense:J},xSeconds:{one:"sekunti",other:"{{count}} sekuntia",futureTense:J},halfAMinute:{one:"puoli minuuttia",other:"puoli minuuttia",futureTense:function T(H){return"puolen minuutin"}},lessThanXMinutes:{one:"alle minuutti",other:"alle {{count}} minuuttia",futureTense:Y},xMinutes:{one:"minuutti",other:"{{count}} minuuttia",futureTense:Y},aboutXHours:{one:"noin tunti",other:"noin {{count}} tuntia",futureTense:L},xHours:{one:"tunti",other:"{{count}} tuntia",futureTense:L},xDays:{one:"p\xE4iv\xE4",other:"{{count}} p\xE4iv\xE4\xE4",futureTense:V},aboutXWeeks:{one:"noin viikko",other:"noin {{count}} viikkoa",futureTense:M},xWeeks:{one:"viikko",other:"{{count}} viikkoa",futureTense:M},aboutXMonths:{one:"noin kuukausi",other:"noin {{count}} kuukautta",futureTense:j},xMonths:{one:"kuukausi",other:"{{count}} kuukautta",futureTense:j},aboutXYears:{one:"noin vuosi",other:"noin {{count}} vuotta",futureTense:N},xYears:{one:"vuosi",other:"{{count}} vuotta",futureTense:N},overXYears:{one:"yli vuosi",other:"yli {{count}} vuotta",futureTense:N},almostXYears:{one:"l\xE4hes vuosi",other:"l\xE4hes {{count}} vuotta",futureTense:N}},w=function T(H,U,B){var Z=v[H],X=U===1?Z.one:Z.other.replace("{{count}}",String(U));if(B!==null&&B!==void 0&&B.addSuffix)if(B.comparison&&B.comparison>0)return Z.futureTense(X)+" kuluttua";else return X+" sitten";return X};function $(T){return function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=H.width?String(H.width):T.defaultWidth,B=T.formats[U]||T.formats[T.defaultWidth];return B}}var P={full:"eeee d. MMMM y",long:"d. MMMM y",medium:"d. MMM y",short:"d.M.y"},_={full:"HH.mm.ss zzzz",long:"HH.mm.ss z",medium:"HH.mm.ss",short:"HH.mm"},F={full:"{{date}} 'klo' {{time}}",long:"{{date}} 'klo' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},k={date:$({formats:P,defaultWidth:"full"}),time:$({formats:_,defaultWidth:"full"}),dateTime:$({formats:F,defaultWidth:"full"})},f={lastWeek:"'viime' eeee 'klo' p",yesterday:"'eilen klo' p",today:"'t\xE4n\xE4\xE4n klo' p",tomorrow:"'huomenna klo' p",nextWeek:"'ensi' eeee 'klo' p",other:"P"},b=function T(H,U,B,Z){return f[H]};function q(T){return function(H,U){var B=U!==null&&U!==void 0&&U.context?String(U.context):"standalone",Z;if(B==="formatting"&&T.formattingValues){var X=T.defaultFormattingWidth||T.defaultWidth,I=U!==null&&U!==void 0&&U.width?String(U.width):X;Z=T.formattingValues[I]||T.formattingValues[X]}else{var O=T.defaultWidth,S=U!==null&&U!==void 0&&U.width?String(U.width):T.defaultWidth;Z=T.values[S]||T.values[O]}var Q=T.argumentCallback?T.argumentCallback(H):H;return Z[Q]}}var h={narrow:["eaa.","jaa."],abbreviated:["eaa.","jaa."],wide:["ennen ajanlaskun alkua","j\xE4lkeen ajanlaskun alun"]},m={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. kvartaali","2. kvartaali","3. kvartaali","4. kvartaali"]},D={narrow:["T","H","M","H","T","K","H","E","S","L","M","J"],abbreviated:["tammi","helmi","maalis","huhti","touko","kes\xE4","hein\xE4","elo","syys","loka","marras","joulu"],wide:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kes\xE4kuu","hein\xE4kuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"]},c={narrow:D.narrow,abbreviated:D.abbreviated,wide:["tammikuuta","helmikuuta","maaliskuuta","huhtikuuta","toukokuuta","kes\xE4kuuta","hein\xE4kuuta","elokuuta","syyskuuta","lokakuuta","marraskuuta","joulukuuta"]},z={narrow:["S","M","T","K","T","P","L"],short:["su","ma","ti","ke","to","pe","la"],abbreviated:["sunn.","maan.","tiis.","kesk.","torst.","perj.","la"],wide:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"]},y={narrow:z.narrow,short:z.short,abbreviated:z.abbreviated,wide:["sunnuntaina","maanantaina","tiistaina","keskiviikkona","torstaina","perjantaina","lauantaina"]},p={narrow:{am:"ap",pm:"ip",midnight:"keskiy\xF6",noon:"keskip\xE4iv\xE4",morning:"ap",afternoon:"ip",evening:"illalla",night:"y\xF6ll\xE4"},abbreviated:{am:"ap",pm:"ip",midnight:"keskiy\xF6",noon:"keskip\xE4iv\xE4",morning:"ap",afternoon:"ip",evening:"illalla",night:"y\xF6ll\xE4"},wide:{am:"ap",pm:"ip",midnight:"keskiy\xF6ll\xE4",noon:"keskip\xE4iv\xE4ll\xE4",morning:"aamup\xE4iv\xE4ll\xE4",afternoon:"iltap\xE4iv\xE4ll\xE4",evening:"illalla",night:"y\xF6ll\xE4"}},d=function T(H,U){var B=Number(H);return B+"."},g={ordinalNumber:d,era:q({values:h,defaultWidth:"wide"}),quarter:q({values:m,defaultWidth:"wide",argumentCallback:function T(H){return H-1}}),month:q({values:D,defaultWidth:"wide",formattingValues:c,defaultFormattingWidth:"wide"}),day:q({values:z,defaultWidth:"wide",formattingValues:y,defaultFormattingWidth:"wide"}),dayPeriod:q({values:p,defaultWidth:"wide"})};function A(T){return function(H){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=U.width,Z=B&&T.matchPatterns[B]||T.matchPatterns[T.defaultMatchWidth],X=H.match(Z);if(!X)return null;var I=X[0],O=B&&T.parsePatterns[B]||T.parsePatterns[T.defaultParseWidth],S=Array.isArray(O)?u(O,function(R){return R.test(I)}):l(O,function(R){return R.test(I)}),Q;Q=T.valueCallback?T.valueCallback(S):S,Q=U.valueCallback?U.valueCallback(Q):Q;var JH=H.slice(I.length);return{value:Q,rest:JH}}}var l=function T(H,U){for(var B in H)if(Object.prototype.hasOwnProperty.call(H,B)&&U(H[B]))return B;return},u=function T(H,U){for(var B=0;B<H.length;B++)if(U(H[B]))return B;return};function i(T){return function(H){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=H.match(T.matchPattern);if(!B)return null;var Z=B[0],X=H.match(T.parsePattern);if(!X)return null;var I=T.valueCallback?T.valueCallback(X[0]):X[0];I=U.valueCallback?U.valueCallback(I):I;var O=H.slice(Z.length);return{value:I,rest:O}}}var n=/^(\d+)(\.)/i,s=/\d+/i,o={narrow:/^(e|j)/i,abbreviated:/^(eaa.|jaa.)/i,wide:/^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i},r={any:[/^e/i,/^j/i]},a={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]\.? kvartaali/i},e={any:[/1/i,/2/i,/3/i,/4/i]},t={narrow:/^[thmkeslj]/i,abbreviated:/^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,wide:/^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i},HH={narrow:[/^t/i,/^h/i,/^m/i,/^h/i,/^t/i,/^k/i,/^h/i,/^e/i,/^s/i,/^l/i,/^m/i,/^j/i],any:[/^ta/i,/^hel/i,/^maa/i,/^hu/i,/^to/i,/^k/i,/^hei/i,/^e/i,/^s/i,/^l/i,/^mar/i,/^j/i]},TH={narrow:/^[smtkpl]/i,short:/^(su|ma|ti|ke|to|pe|la)/i,abbreviated:/^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,wide:/^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i},UH={narrow:[/^s/i,/^m/i,/^t/i,/^k/i,/^t/i,/^p/i,/^l/i],any:[/^s/i,/^m/i,/^ti/i,/^k/i,/^to/i,/^p/i,/^l/i]},BH={narrow:/^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,any:/^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i},CH={any:{am:/^ap/i,pm:/^ip/i,midnight:/^keskiyö/i,noon:/^keskipäivä/i,morning:/aamupäivällä/i,afternoon:/iltapäivällä/i,evening:/illalla/i,night:/yöllä/i}},EH={ordinalNumber:i({matchPattern:n,parsePattern:s,valueCallback:function T(H){return parseInt(H,10)}}),era:A({matchPatterns:o,defaultMatchWidth:"wide",parsePatterns:r,defaultParseWidth:"any"}),quarter:A({matchPatterns:a,defaultMatchWidth:"wide",parsePatterns:e,defaultParseWidth:"any",valueCallback:function T(H){return H+1}}),month:A({matchPatterns:t,defaultMatchWidth:"wide",parsePatterns:HH,defaultParseWidth:"any"}),day:A({matchPatterns:TH,defaultMatchWidth:"wide",parsePatterns:UH,defaultParseWidth:"any"}),dayPeriod:A({matchPatterns:BH,defaultMatchWidth:"any",parsePatterns:CH,defaultParseWidth:"any"})},GH={code:"fi",formatDistance:w,formatLong:k,formatRelative:b,localize:g,match:EH,options:{weekStartsOn:1,firstWeekContainsDate:4}};window.dateFns=W(W({},window.dateFns),{},{locale:W(W({},(E=window.dateFns)===null||E===void 0?void 0:E.locale),{},{fi:GH})})})();
|
2 |
+
|
3 |
+
//# debugId=D62A789500DD20BC64756e2164756e21
|
workers1/auto3d/node_modules/date-fns/locale/fi/cdn.min.js.map
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": 3,
|
3 |
+
"sources": ["lib/locale/fi/cdn.js"],
|
4 |
+
"sourcesContent": [
|
5 |
+
"function _typeof(o) {\"@babel/helpers - typeof\";return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o;}, _typeof(o);}function ownKeys(e, r) {var t = Object.keys(e);if (Object.getOwnPropertySymbols) {var o = Object.getOwnPropertySymbols(e);r && (o = o.filter(function (r) {return Object.getOwnPropertyDescriptor(e, r).enumerable;})), t.push.apply(t, o);}return t;}function _objectSpread(e) {for (var r = 1; r < arguments.length; r++) {var t = null != arguments[r] ? arguments[r] : {};r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {_defineProperty(e, r, t[r]);}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));});}return e;}function _defineProperty(obj, key, value) {key = _toPropertyKey(key);if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}function _toPropertyKey(t) {var i = _toPrimitive(t, \"string\");return \"symbol\" == _typeof(i) ? i : String(i);}function _toPrimitive(t, r) {if (\"object\" != _typeof(t) || !t) return t;var e = t[Symbol.toPrimitive];if (void 0 !== e) {var i = e.call(t, r || \"default\");if (\"object\" != _typeof(i)) return i;throw new TypeError(\"@@toPrimitive must return a primitive value.\");}return (\"string\" === r ? String : Number)(t);}(function (_window$dateFns) {var __defProp = Object.defineProperty;\n var __export = function __export(target, all) {\n for (var name in all)\n __defProp(target, name, {\n get: all[name],\n enumerable: true,\n configurable: true,\n set: function set(newValue) {return all[name] = function () {return newValue;};}\n });\n };\n\n // lib/locale/fi/_lib/formatDistance.mjs\n var futureSeconds = function futureSeconds(text) {\n return text.replace(/sekuntia?/, \"sekunnin\");\n };\n var futureMinutes = function futureMinutes(text) {\n return text.replace(/minuuttia?/, \"minuutin\");\n };\n var futureHours = function futureHours(text) {\n return text.replace(/tuntia?/, \"tunnin\");\n };\n var futureDays = function futureDays(text) {\n return text.replace(/päivää?/, \"p\\xE4iv\\xE4n\");\n };\n var futureWeeks = function futureWeeks(text) {\n return text.replace(/(viikko|viikkoa)/, \"viikon\");\n };\n var futureMonths = function futureMonths(text) {\n return text.replace(/(kuukausi|kuukautta)/, \"kuukauden\");\n };\n var futureYears = function futureYears(text) {\n return text.replace(/(vuosi|vuotta)/, \"vuoden\");\n };\n var formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"alle sekunti\",\n other: \"alle {{count}} sekuntia\",\n futureTense: futureSeconds\n },\n xSeconds: {\n one: \"sekunti\",\n other: \"{{count}} sekuntia\",\n futureTense: futureSeconds\n },\n halfAMinute: {\n one: \"puoli minuuttia\",\n other: \"puoli minuuttia\",\n futureTense: function futureTense(_text) {return \"puolen minuutin\";}\n },\n lessThanXMinutes: {\n one: \"alle minuutti\",\n other: \"alle {{count}} minuuttia\",\n futureTense: futureMinutes\n },\n xMinutes: {\n one: \"minuutti\",\n other: \"{{count}} minuuttia\",\n futureTense: futureMinutes\n },\n aboutXHours: {\n one: \"noin tunti\",\n other: \"noin {{count}} tuntia\",\n futureTense: futureHours\n },\n xHours: {\n one: \"tunti\",\n other: \"{{count}} tuntia\",\n futureTense: futureHours\n },\n xDays: {\n one: \"p\\xE4iv\\xE4\",\n other: \"{{count}} p\\xE4iv\\xE4\\xE4\",\n futureTense: futureDays\n },\n aboutXWeeks: {\n one: \"noin viikko\",\n other: \"noin {{count}} viikkoa\",\n futureTense: futureWeeks\n },\n xWeeks: {\n one: \"viikko\",\n other: \"{{count}} viikkoa\",\n futureTense: futureWeeks\n },\n aboutXMonths: {\n one: \"noin kuukausi\",\n other: \"noin {{count}} kuukautta\",\n futureTense: futureMonths\n },\n xMonths: {\n one: \"kuukausi\",\n other: \"{{count}} kuukautta\",\n futureTense: futureMonths\n },\n aboutXYears: {\n one: \"noin vuosi\",\n other: \"noin {{count}} vuotta\",\n futureTense: futureYears\n },\n xYears: {\n one: \"vuosi\",\n other: \"{{count}} vuotta\",\n futureTense: futureYears\n },\n overXYears: {\n one: \"yli vuosi\",\n other: \"yli {{count}} vuotta\",\n futureTense: futureYears\n },\n almostXYears: {\n one: \"l\\xE4hes vuosi\",\n other: \"l\\xE4hes {{count}} vuotta\",\n futureTense: futureYears\n }\n };\n var formatDistance = function formatDistance(token, count, options) {\n var tokenValue = formatDistanceLocale[token];\n var result = count === 1 ? tokenValue.one : tokenValue.other.replace(\"{{count}}\", String(count));\n if (options !== null && options !== void 0 && options.addSuffix) {\n if (options.comparison && options.comparison > 0) {\n return tokenValue.futureTense(result) + \" kuluttua\";\n } else {\n return result + \" sitten\";\n }\n }\n return result;\n };\n\n // lib/locale/_lib/buildFormatLongFn.mjs\n function buildFormatLongFn(args) {\n return function () {var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var width = options.width ? String(options.width) : args.defaultWidth;\n var format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n }\n\n // lib/locale/fi/_lib/formatLong.mjs\n var dateFormats = {\n full: \"eeee d. MMMM y\",\n long: \"d. MMMM y\",\n medium: \"d. MMM y\",\n short: \"d.M.y\"\n };\n var timeFormats = {\n full: \"HH.mm.ss zzzz\",\n long: \"HH.mm.ss z\",\n medium: \"HH.mm.ss\",\n short: \"HH.mm\"\n };\n var dateTimeFormats = {\n full: \"{{date}} 'klo' {{time}}\",\n long: \"{{date}} 'klo' {{time}}\",\n medium: \"{{date}} {{time}}\",\n short: \"{{date}} {{time}}\"\n };\n var formatLong = {\n date: buildFormatLongFn({\n formats: dateFormats,\n defaultWidth: \"full\"\n }),\n time: buildFormatLongFn({\n formats: timeFormats,\n defaultWidth: \"full\"\n }),\n dateTime: buildFormatLongFn({\n formats: dateTimeFormats,\n defaultWidth: \"full\"\n })\n };\n\n // lib/locale/fi/_lib/formatRelative.mjs\n var formatRelativeLocale = {\n lastWeek: \"'viime' eeee 'klo' p\",\n yesterday: \"'eilen klo' p\",\n today: \"'t\\xE4n\\xE4\\xE4n klo' p\",\n tomorrow: \"'huomenna klo' p\",\n nextWeek: \"'ensi' eeee 'klo' p\",\n other: \"P\"\n };\n var formatRelative = function formatRelative(token, _date, _baseDate, _options) {return formatRelativeLocale[token];};\n\n // lib/locale/_lib/buildLocalizeFn.mjs\n function buildLocalizeFn(args) {\n return function (value, options) {\n var context = options !== null && options !== void 0 && options.context ? String(options.context) : \"standalone\";\n var valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;\n valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n var _defaultWidth = args.defaultWidth;\n var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;\n valuesArray = args.values[_width] || args.values[_defaultWidth];\n }\n var index = args.argumentCallback ? args.argumentCallback(value) : value;\n return valuesArray[index];\n };\n }\n\n // lib/locale/fi/_lib/localize.mjs\n var eraValues = {\n narrow: [\"eaa.\", \"jaa.\"],\n abbreviated: [\"eaa.\", \"jaa.\"],\n wide: [\"ennen ajanlaskun alkua\", \"j\\xE4lkeen ajanlaskun alun\"]\n };\n var quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"1. kvartaali\", \"2. kvartaali\", \"3. kvartaali\", \"4. kvartaali\"]\n };\n var monthValues = {\n narrow: [\"T\", \"H\", \"M\", \"H\", \"T\", \"K\", \"H\", \"E\", \"S\", \"L\", \"M\", \"J\"],\n abbreviated: [\n \"tammi\",\n \"helmi\",\n \"maalis\",\n \"huhti\",\n \"touko\",\n \"kes\\xE4\",\n \"hein\\xE4\",\n \"elo\",\n \"syys\",\n \"loka\",\n \"marras\",\n \"joulu\"],\n\n wide: [\n \"tammikuu\",\n \"helmikuu\",\n \"maaliskuu\",\n \"huhtikuu\",\n \"toukokuu\",\n \"kes\\xE4kuu\",\n \"hein\\xE4kuu\",\n \"elokuu\",\n \"syyskuu\",\n \"lokakuu\",\n \"marraskuu\",\n \"joulukuu\"]\n\n };\n var formattingMonthValues = {\n narrow: monthValues.narrow,\n abbreviated: monthValues.abbreviated,\n wide: [\n \"tammikuuta\",\n \"helmikuuta\",\n \"maaliskuuta\",\n \"huhtikuuta\",\n \"toukokuuta\",\n \"kes\\xE4kuuta\",\n \"hein\\xE4kuuta\",\n \"elokuuta\",\n \"syyskuuta\",\n \"lokakuuta\",\n \"marraskuuta\",\n \"joulukuuta\"]\n\n };\n var dayValues = {\n narrow: [\"S\", \"M\", \"T\", \"K\", \"T\", \"P\", \"L\"],\n short: [\"su\", \"ma\", \"ti\", \"ke\", \"to\", \"pe\", \"la\"],\n abbreviated: [\"sunn.\", \"maan.\", \"tiis.\", \"kesk.\", \"torst.\", \"perj.\", \"la\"],\n wide: [\n \"sunnuntai\",\n \"maanantai\",\n \"tiistai\",\n \"keskiviikko\",\n \"torstai\",\n \"perjantai\",\n \"lauantai\"]\n\n };\n var formattingDayValues = {\n narrow: dayValues.narrow,\n short: dayValues.short,\n abbreviated: dayValues.abbreviated,\n wide: [\n \"sunnuntaina\",\n \"maanantaina\",\n \"tiistaina\",\n \"keskiviikkona\",\n \"torstaina\",\n \"perjantaina\",\n \"lauantaina\"]\n\n };\n var dayPeriodValues = {\n narrow: {\n am: \"ap\",\n pm: \"ip\",\n midnight: \"keskiy\\xF6\",\n noon: \"keskip\\xE4iv\\xE4\",\n morning: \"ap\",\n afternoon: \"ip\",\n evening: \"illalla\",\n night: \"y\\xF6ll\\xE4\"\n },\n abbreviated: {\n am: \"ap\",\n pm: \"ip\",\n midnight: \"keskiy\\xF6\",\n noon: \"keskip\\xE4iv\\xE4\",\n morning: \"ap\",\n afternoon: \"ip\",\n evening: \"illalla\",\n night: \"y\\xF6ll\\xE4\"\n },\n wide: {\n am: \"ap\",\n pm: \"ip\",\n midnight: \"keskiy\\xF6ll\\xE4\",\n noon: \"keskip\\xE4iv\\xE4ll\\xE4\",\n morning: \"aamup\\xE4iv\\xE4ll\\xE4\",\n afternoon: \"iltap\\xE4iv\\xE4ll\\xE4\",\n evening: \"illalla\",\n night: \"y\\xF6ll\\xE4\"\n }\n };\n var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {\n var number = Number(dirtyNumber);\n return number + \".\";\n };\n var localize = {\n ordinalNumber: ordinalNumber,\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\"\n }),\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: function argumentCallback(quarter) {return quarter - 1;}\n }),\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n formattingValues: formattingMonthValues,\n defaultFormattingWidth: \"wide\"\n }),\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayValues,\n defaultFormattingWidth: \"wide\"\n }),\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\"\n })\n };\n\n // lib/locale/_lib/buildMatchFn.mjs\n function buildMatchFn(args) {\n return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var width = options.width;\n var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];\n var matchResult = string.match(matchPattern);\n if (!matchResult) {\n return null;\n }\n var matchedString = matchResult[0];\n var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];\n var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});\n var value;\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return { value: value, rest: rest };\n };\n }\n var findKey = function findKey(object, predicate) {\n for (var key in object) {\n if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {\n return key;\n }\n }\n return;\n };\n var findIndex = function findIndex(array, predicate) {\n for (var key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return;\n };\n\n // lib/locale/_lib/buildMatchPatternFn.mjs\n function buildMatchPatternFn(args) {\n return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var matchResult = string.match(args.matchPattern);\n if (!matchResult)\n return null;\n var matchedString = matchResult[0];\n var parseResult = string.match(args.parsePattern);\n if (!parseResult)\n return null;\n var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];\n value = options.valueCallback ? options.valueCallback(value) : value;\n var rest = string.slice(matchedString.length);\n return { value: value, rest: rest };\n };\n }\n\n // lib/locale/fi/_lib/match.mjs\n var matchOrdinalNumberPattern = /^(\\d+)(\\.)/i;\n var parseOrdinalNumberPattern = /\\d+/i;\n var matchEraPatterns = {\n narrow: /^(e|j)/i,\n abbreviated: /^(eaa.|jaa.)/i,\n wide: /^(ennen ajanlaskun alkua|jälkeen ajanlaskun alun)/i\n };\n var parseEraPatterns = {\n any: [/^e/i, /^j/i]\n };\n var matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234]\\.? kvartaali/i\n };\n var parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i]\n };\n var matchMonthPatterns = {\n narrow: /^[thmkeslj]/i,\n abbreviated: /^(tammi|helmi|maalis|huhti|touko|kesä|heinä|elo|syys|loka|marras|joulu)/i,\n wide: /^(tammikuu|helmikuu|maaliskuu|huhtikuu|toukokuu|kesäkuu|heinäkuu|elokuu|syyskuu|lokakuu|marraskuu|joulukuu)(ta)?/i\n };\n var parseMonthPatterns = {\n narrow: [\n /^t/i,\n /^h/i,\n /^m/i,\n /^h/i,\n /^t/i,\n /^k/i,\n /^h/i,\n /^e/i,\n /^s/i,\n /^l/i,\n /^m/i,\n /^j/i],\n\n any: [\n /^ta/i,\n /^hel/i,\n /^maa/i,\n /^hu/i,\n /^to/i,\n /^k/i,\n /^hei/i,\n /^e/i,\n /^s/i,\n /^l/i,\n /^mar/i,\n /^j/i]\n\n };\n var matchDayPatterns = {\n narrow: /^[smtkpl]/i,\n short: /^(su|ma|ti|ke|to|pe|la)/i,\n abbreviated: /^(sunn.|maan.|tiis.|kesk.|torst.|perj.|la)/i,\n wide: /^(sunnuntai|maanantai|tiistai|keskiviikko|torstai|perjantai|lauantai)(na)?/i\n };\n var parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^k/i, /^t/i, /^p/i, /^l/i],\n any: [/^s/i, /^m/i, /^ti/i, /^k/i, /^to/i, /^p/i, /^l/i]\n };\n var matchDayPeriodPatterns = {\n narrow: /^(ap|ip|keskiyö|keskipäivä|aamupäivällä|iltapäivällä|illalla|yöllä)/i,\n any: /^(ap|ip|keskiyöllä|keskipäivällä|aamupäivällä|iltapäivällä|illalla|yöllä)/i\n };\n var parseDayPeriodPatterns = {\n any: {\n am: /^ap/i,\n pm: /^ip/i,\n midnight: /^keskiyö/i,\n noon: /^keskipäivä/i,\n morning: /aamupäivällä/i,\n afternoon: /iltapäivällä/i,\n evening: /illalla/i,\n night: /yöllä/i\n }\n };\n var match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: function valueCallback(value) {return parseInt(value, 10);}\n }),\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\"\n }),\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: function valueCallback(index) {return index + 1;}\n }),\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\"\n }),\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\"\n }),\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n };\n\n // lib/locale/fi.mjs\n var fi = {\n code: \"fi\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1,\n firstWeekContainsDate: 4\n }\n };\n\n // lib/locale/fi/cdn.js\n window.dateFns = _objectSpread(_objectSpread({},\n window.dateFns), {}, {\n locale: _objectSpread(_objectSpread({}, (_window$dateFns =\n window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {\n fi: fi }) });\n\n\n\n //# debugId=B4CCC245BB6F007E64756e2164756e21\n})();\n\n//# sourceMappingURL=cdn.js.map"
|
6 |
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EAAc,CAAC,EAC9C,OAAO,OAAO,EAAG,CAAC,EAAG,CACnB,OAAQ,EAAc,EAAc,CAAC,GAAI,EACzC,OAAO,WAAa,MAAQ,IAAyB,OAAS,OAAI,EAAgB,MAAM,EAAG,CAAC,EAAG,CAC7F,GAAI,EAAG,CAAC,CAAE,CAAC,IAKd",
|
8 |
+
"debugId": "D62A789500DD20BC64756e2164756e21",
|
9 |
+
"names": []
|
10 |
+
}
|
workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatDistance.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatDistanceFn } from "../../types.js";
|
2 |
+
export declare const formatDistance: FormatDistanceFn;
|
workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatDistance.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatDistanceFn } from "../../types.js";
|
2 |
+
export declare const formatDistance: FormatDistanceFn;
|
workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatDistance.js
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatDistance = void 0;
|
3 |
+
|
4 |
+
const formatDistanceLocale = {
|
5 |
+
lessThanXSeconds: {
|
6 |
+
one: "moins d’une seconde",
|
7 |
+
other: "moins de {{count}} secondes",
|
8 |
+
},
|
9 |
+
|
10 |
+
xSeconds: {
|
11 |
+
one: "1 seconde",
|
12 |
+
other: "{{count}} secondes",
|
13 |
+
},
|
14 |
+
|
15 |
+
halfAMinute: "30 secondes",
|
16 |
+
|
17 |
+
lessThanXMinutes: {
|
18 |
+
one: "moins d’une minute",
|
19 |
+
other: "moins de {{count}} minutes",
|
20 |
+
},
|
21 |
+
|
22 |
+
xMinutes: {
|
23 |
+
one: "1 minute",
|
24 |
+
other: "{{count}} minutes",
|
25 |
+
},
|
26 |
+
|
27 |
+
aboutXHours: {
|
28 |
+
one: "environ 1 heure",
|
29 |
+
other: "environ {{count}} heures",
|
30 |
+
},
|
31 |
+
|
32 |
+
xHours: {
|
33 |
+
one: "1 heure",
|
34 |
+
other: "{{count}} heures",
|
35 |
+
},
|
36 |
+
|
37 |
+
xDays: {
|
38 |
+
one: "1 jour",
|
39 |
+
other: "{{count}} jours",
|
40 |
+
},
|
41 |
+
|
42 |
+
aboutXWeeks: {
|
43 |
+
one: "environ 1 semaine",
|
44 |
+
other: "environ {{count}} semaines",
|
45 |
+
},
|
46 |
+
|
47 |
+
xWeeks: {
|
48 |
+
one: "1 semaine",
|
49 |
+
other: "{{count}} semaines",
|
50 |
+
},
|
51 |
+
|
52 |
+
aboutXMonths: {
|
53 |
+
one: "environ 1 mois",
|
54 |
+
other: "environ {{count}} mois",
|
55 |
+
},
|
56 |
+
|
57 |
+
xMonths: {
|
58 |
+
one: "1 mois",
|
59 |
+
other: "{{count}} mois",
|
60 |
+
},
|
61 |
+
|
62 |
+
aboutXYears: {
|
63 |
+
one: "environ 1 an",
|
64 |
+
other: "environ {{count}} ans",
|
65 |
+
},
|
66 |
+
|
67 |
+
xYears: {
|
68 |
+
one: "1 an",
|
69 |
+
other: "{{count}} ans",
|
70 |
+
},
|
71 |
+
|
72 |
+
overXYears: {
|
73 |
+
one: "plus d’un an",
|
74 |
+
other: "plus de {{count}} ans",
|
75 |
+
},
|
76 |
+
|
77 |
+
almostXYears: {
|
78 |
+
one: "presqu’un an",
|
79 |
+
other: "presque {{count}} ans",
|
80 |
+
},
|
81 |
+
};
|
82 |
+
|
83 |
+
const formatDistance = (token, count, options) => {
|
84 |
+
let result;
|
85 |
+
const form = formatDistanceLocale[token];
|
86 |
+
if (typeof form === "string") {
|
87 |
+
result = form;
|
88 |
+
} else if (count === 1) {
|
89 |
+
result = form.one;
|
90 |
+
} else {
|
91 |
+
result = form.other.replace("{{count}}", String(count));
|
92 |
+
}
|
93 |
+
|
94 |
+
if (options?.addSuffix) {
|
95 |
+
if (options.comparison && options.comparison > 0) {
|
96 |
+
return "dans " + result;
|
97 |
+
} else {
|
98 |
+
return "il y a " + result;
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
return result;
|
103 |
+
};
|
104 |
+
exports.formatDistance = formatDistance;
|
workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatDistance.mjs
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatDistanceLocale = {
|
2 |
+
lessThanXSeconds: {
|
3 |
+
one: "moins d’une seconde",
|
4 |
+
other: "moins de {{count}} secondes",
|
5 |
+
},
|
6 |
+
|
7 |
+
xSeconds: {
|
8 |
+
one: "1 seconde",
|
9 |
+
other: "{{count}} secondes",
|
10 |
+
},
|
11 |
+
|
12 |
+
halfAMinute: "30 secondes",
|
13 |
+
|
14 |
+
lessThanXMinutes: {
|
15 |
+
one: "moins d’une minute",
|
16 |
+
other: "moins de {{count}} minutes",
|
17 |
+
},
|
18 |
+
|
19 |
+
xMinutes: {
|
20 |
+
one: "1 minute",
|
21 |
+
other: "{{count}} minutes",
|
22 |
+
},
|
23 |
+
|
24 |
+
aboutXHours: {
|
25 |
+
one: "environ 1 heure",
|
26 |
+
other: "environ {{count}} heures",
|
27 |
+
},
|
28 |
+
|
29 |
+
xHours: {
|
30 |
+
one: "1 heure",
|
31 |
+
other: "{{count}} heures",
|
32 |
+
},
|
33 |
+
|
34 |
+
xDays: {
|
35 |
+
one: "1 jour",
|
36 |
+
other: "{{count}} jours",
|
37 |
+
},
|
38 |
+
|
39 |
+
aboutXWeeks: {
|
40 |
+
one: "environ 1 semaine",
|
41 |
+
other: "environ {{count}} semaines",
|
42 |
+
},
|
43 |
+
|
44 |
+
xWeeks: {
|
45 |
+
one: "1 semaine",
|
46 |
+
other: "{{count}} semaines",
|
47 |
+
},
|
48 |
+
|
49 |
+
aboutXMonths: {
|
50 |
+
one: "environ 1 mois",
|
51 |
+
other: "environ {{count}} mois",
|
52 |
+
},
|
53 |
+
|
54 |
+
xMonths: {
|
55 |
+
one: "1 mois",
|
56 |
+
other: "{{count}} mois",
|
57 |
+
},
|
58 |
+
|
59 |
+
aboutXYears: {
|
60 |
+
one: "environ 1 an",
|
61 |
+
other: "environ {{count}} ans",
|
62 |
+
},
|
63 |
+
|
64 |
+
xYears: {
|
65 |
+
one: "1 an",
|
66 |
+
other: "{{count}} ans",
|
67 |
+
},
|
68 |
+
|
69 |
+
overXYears: {
|
70 |
+
one: "plus d’un an",
|
71 |
+
other: "plus de {{count}} ans",
|
72 |
+
},
|
73 |
+
|
74 |
+
almostXYears: {
|
75 |
+
one: "presqu’un an",
|
76 |
+
other: "presque {{count}} ans",
|
77 |
+
},
|
78 |
+
};
|
79 |
+
|
80 |
+
export const formatDistance = (token, count, options) => {
|
81 |
+
let result;
|
82 |
+
const form = formatDistanceLocale[token];
|
83 |
+
if (typeof form === "string") {
|
84 |
+
result = form;
|
85 |
+
} else if (count === 1) {
|
86 |
+
result = form.one;
|
87 |
+
} else {
|
88 |
+
result = form.other.replace("{{count}}", String(count));
|
89 |
+
}
|
90 |
+
|
91 |
+
if (options?.addSuffix) {
|
92 |
+
if (options.comparison && options.comparison > 0) {
|
93 |
+
return "dans " + result;
|
94 |
+
} else {
|
95 |
+
return "il y a " + result;
|
96 |
+
}
|
97 |
+
}
|
98 |
+
|
99 |
+
return result;
|
100 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatLong.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatLong } from "../../types.js";
|
2 |
+
export declare const formatLong: FormatLong;
|
workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatLong.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatLong } from "../../types.js";
|
2 |
+
export declare const formatLong: FormatLong;
|
workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatLong.js
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatLong = void 0;
|
3 |
+
var _index = require("../../_lib/buildFormatLongFn.js");
|
4 |
+
|
5 |
+
const dateFormats = {
|
6 |
+
full: "EEEE d MMMM y",
|
7 |
+
long: "d MMMM y",
|
8 |
+
medium: "d MMM y",
|
9 |
+
short: "dd/MM/y",
|
10 |
+
};
|
11 |
+
|
12 |
+
const timeFormats = {
|
13 |
+
full: "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}} 'à' {{time}}",
|
21 |
+
long: "{{date}} 'à' {{time}}",
|
22 |
+
medium: "{{date}}, {{time}}",
|
23 |
+
short: "{{date}}, {{time}}",
|
24 |
+
};
|
25 |
+
|
26 |
+
const formatLong = (exports.formatLong = {
|
27 |
+
date: (0, _index.buildFormatLongFn)({
|
28 |
+
formats: dateFormats,
|
29 |
+
defaultWidth: "full",
|
30 |
+
}),
|
31 |
+
|
32 |
+
time: (0, _index.buildFormatLongFn)({
|
33 |
+
formats: timeFormats,
|
34 |
+
defaultWidth: "full",
|
35 |
+
}),
|
36 |
+
|
37 |
+
dateTime: (0, _index.buildFormatLongFn)({
|
38 |
+
formats: dateTimeFormats,
|
39 |
+
defaultWidth: "full",
|
40 |
+
}),
|
41 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatLong.mjs
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
2 |
+
|
3 |
+
const dateFormats = {
|
4 |
+
full: "EEEE d MMMM y",
|
5 |
+
long: "d MMMM y",
|
6 |
+
medium: "d MMM y",
|
7 |
+
short: "dd/MM/y",
|
8 |
+
};
|
9 |
+
|
10 |
+
const timeFormats = {
|
11 |
+
full: "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}} 'à' {{time}}",
|
19 |
+
long: "{{date}} 'à' {{time}}",
|
20 |
+
medium: "{{date}}, {{time}}",
|
21 |
+
short: "{{date}}, {{time}}",
|
22 |
+
};
|
23 |
+
|
24 |
+
export const formatLong = {
|
25 |
+
date: buildFormatLongFn({
|
26 |
+
formats: dateFormats,
|
27 |
+
defaultWidth: "full",
|
28 |
+
}),
|
29 |
+
|
30 |
+
time: buildFormatLongFn({
|
31 |
+
formats: timeFormats,
|
32 |
+
defaultWidth: "full",
|
33 |
+
}),
|
34 |
+
|
35 |
+
dateTime: buildFormatLongFn({
|
36 |
+
formats: dateTimeFormats,
|
37 |
+
defaultWidth: "full",
|
38 |
+
}),
|
39 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/fr/_lib/formatRelative.d.mts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatRelativeFn } from "../../types.js";
|
2 |
+
export declare const formatRelative: FormatRelativeFn;
|