Spaces:
Configuration error
Configuration error
luigi12345
commited on
Commit
•
ec5ac4e
1
Parent(s):
0226806
d56ae1ebbc119bc125b774c25afee7ab3cf0b2b05693e07dc3ce7676a7bf5023
Browse files- workers1/auto3d/node_modules/date-fns/locale/tr.d.ts +15 -0
- workers1/auto3d/node_modules/date-fns/locale/tr.js +33 -0
- workers1/auto3d/node_modules/date-fns/locale/tr.mjs +34 -0
- workers1/auto3d/node_modules/date-fns/locale/types.d.mts +366 -0
- workers1/auto3d/node_modules/date-fns/locale/types.d.ts +366 -0
- workers1/auto3d/node_modules/date-fns/locale/types.js +200 -0
- workers1/auto3d/node_modules/date-fns/locale/types.mjs +200 -0
- workers1/auto3d/node_modules/date-fns/locale/ug.d.mts +9 -0
- workers1/auto3d/node_modules/date-fns/locale/ug.d.ts +9 -0
- workers1/auto3d/node_modules/date-fns/locale/ug.js +27 -0
- workers1/auto3d/node_modules/date-fns/locale/ug.mjs +28 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatDistance.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatDistance.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatDistance.js +105 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatDistance.mjs +101 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatLong.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatLong.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatLong.js +41 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatLong.mjs +39 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatRelative.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatRelative.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatRelative.js +15 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatRelative.mjs +11 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/localize.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/localize.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/localize.js +178 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/localize.mjs +176 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/match.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/match.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/match.js +136 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/_lib/match.mjs +133 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/cdn.js +524 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/cdn.js.map +1 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/cdn.min.js +3 -0
- workers1/auto3d/node_modules/date-fns/locale/ug/cdn.min.js.map +10 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatDistance.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatDistance.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatDistance.js +254 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatDistance.mjs +250 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatLong.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatLong.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatLong.js +41 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatLong.mjs +39 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatRelative.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatRelative.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatRelative.js +93 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatRelative.mjs +90 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/localize.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/localize.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/uk/_lib/localize.js +217 -0
workers1/auto3d/node_modules/date-fns/locale/tr.d.ts
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Turkish locale.
|
5 |
+
* @language Turkish
|
6 |
+
* @iso-639-2 tur
|
7 |
+
* @author Alpcan Aydın [@alpcanaydin](https://github.com/alpcanaydin)
|
8 |
+
* @author Berkay Sargın [@berkaey](https://github.com/berkaey)
|
9 |
+
* @author Fatih Bulut [@bulutfatih](https://github.com/bulutfatih)
|
10 |
+
* @author Ismail Demirbilek [@dbtek](https://github.com/dbtek)
|
11 |
+
* @author İsmail Kayar [@ikayar](https://github.com/ikayar)
|
12 |
+
*
|
13 |
+
*
|
14 |
+
*/
|
15 |
+
export declare const tr: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/tr.js
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.tr = void 0;
|
3 |
+
var _index = require("./tr/_lib/formatDistance.js");
|
4 |
+
var _index2 = require("./tr/_lib/formatLong.js");
|
5 |
+
var _index3 = require("./tr/_lib/formatRelative.js");
|
6 |
+
var _index4 = require("./tr/_lib/localize.js");
|
7 |
+
var _index5 = require("./tr/_lib/match.js");
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @category Locales
|
11 |
+
* @summary Turkish locale.
|
12 |
+
* @language Turkish
|
13 |
+
* @iso-639-2 tur
|
14 |
+
* @author Alpcan Aydın [@alpcanaydin](https://github.com/alpcanaydin)
|
15 |
+
* @author Berkay Sargın [@berkaey](https://github.com/berkaey)
|
16 |
+
* @author Fatih Bulut [@bulutfatih](https://github.com/bulutfatih)
|
17 |
+
* @author Ismail Demirbilek [@dbtek](https://github.com/dbtek)
|
18 |
+
* @author İsmail Kayar [@ikayar](https://github.com/ikayar)
|
19 |
+
*
|
20 |
+
*
|
21 |
+
*/
|
22 |
+
const tr = (exports.tr = {
|
23 |
+
code: "tr",
|
24 |
+
formatDistance: _index.formatDistance,
|
25 |
+
formatLong: _index2.formatLong,
|
26 |
+
formatRelative: _index3.formatRelative,
|
27 |
+
localize: _index4.localize,
|
28 |
+
match: _index5.match,
|
29 |
+
options: {
|
30 |
+
weekStartsOn: 1 /* Monday */,
|
31 |
+
firstWeekContainsDate: 1,
|
32 |
+
},
|
33 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/tr.mjs
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { formatDistance } from "./tr/_lib/formatDistance.mjs";
|
2 |
+
import { formatLong } from "./tr/_lib/formatLong.mjs";
|
3 |
+
import { formatRelative } from "./tr/_lib/formatRelative.mjs";
|
4 |
+
import { localize } from "./tr/_lib/localize.mjs";
|
5 |
+
import { match } from "./tr/_lib/match.mjs";
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @category Locales
|
9 |
+
* @summary Turkish locale.
|
10 |
+
* @language Turkish
|
11 |
+
* @iso-639-2 tur
|
12 |
+
* @author Alpcan Aydın [@alpcanaydin](https://github.com/alpcanaydin)
|
13 |
+
* @author Berkay Sargın [@berkaey](https://github.com/berkaey)
|
14 |
+
* @author Fatih Bulut [@bulutfatih](https://github.com/bulutfatih)
|
15 |
+
* @author Ismail Demirbilek [@dbtek](https://github.com/dbtek)
|
16 |
+
* @author İsmail Kayar [@ikayar](https://github.com/ikayar)
|
17 |
+
*
|
18 |
+
*
|
19 |
+
*/
|
20 |
+
export const tr = {
|
21 |
+
code: "tr",
|
22 |
+
formatDistance: formatDistance,
|
23 |
+
formatLong: formatLong,
|
24 |
+
formatRelative: formatRelative,
|
25 |
+
localize: localize,
|
26 |
+
match: match,
|
27 |
+
options: {
|
28 |
+
weekStartsOn: 1 /* Monday */,
|
29 |
+
firstWeekContainsDate: 1,
|
30 |
+
},
|
31 |
+
};
|
32 |
+
|
33 |
+
// Fallback for modularized imports:
|
34 |
+
export default tr;
|
workers1/auto3d/node_modules/date-fns/locale/types.d.mts
ADDED
@@ -0,0 +1,366 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
+
} from "../types.js";
|
10 |
+
/**
|
11 |
+
* The locale object with all functions and data needed to parse and format
|
12 |
+
* dates. This is what each locale implements and exports.
|
13 |
+
*/
|
14 |
+
export interface Locale {
|
15 |
+
/** The locale code (ISO 639-1 + optional country code) */
|
16 |
+
code: string;
|
17 |
+
/** The function to format distance */
|
18 |
+
formatDistance: FormatDistanceFn;
|
19 |
+
/** The function to relative time */
|
20 |
+
formatRelative: FormatRelativeFn;
|
21 |
+
/** The object with functions used to localize various values */
|
22 |
+
localize: Localize;
|
23 |
+
/** The object with functions that return localized formats */
|
24 |
+
formatLong: FormatLong;
|
25 |
+
/** The object with functions used to match and parse various localized values */
|
26 |
+
match: Match;
|
27 |
+
/** An object with locale options */
|
28 |
+
options?: LocaleOptions;
|
29 |
+
}
|
30 |
+
/**
|
31 |
+
* The locale options.
|
32 |
+
*/
|
33 |
+
export interface LocaleOptions
|
34 |
+
extends WeekOptions,
|
35 |
+
FirstWeekContainsDateOptions {}
|
36 |
+
/**
|
37 |
+
* The function that takes a token (i.e. halfAMinute) passed by `formatDistance`
|
38 |
+
* or `formatDistanceStrict` and payload, and returns localized distance.
|
39 |
+
*
|
40 |
+
* @param token - The token to localize
|
41 |
+
* @param count - The distance number
|
42 |
+
* @param options - The object with options
|
43 |
+
*
|
44 |
+
* @returns The localized distance in words
|
45 |
+
*/
|
46 |
+
export type FormatDistanceFn = (
|
47 |
+
token: FormatDistanceToken,
|
48 |
+
count: number,
|
49 |
+
options?: FormatDistanceFnOptions,
|
50 |
+
) => string;
|
51 |
+
/**
|
52 |
+
* The {@link FormatDistanceFn} function options.
|
53 |
+
*/
|
54 |
+
export interface FormatDistanceFnOptions {
|
55 |
+
/** Add "X ago"/"in X" in the locale language */
|
56 |
+
addSuffix?: boolean;
|
57 |
+
/** The distance vector. -1 represents past and 1 future. Tells which suffix
|
58 |
+
* to use. */
|
59 |
+
comparison?: -1 | 0 | 1;
|
60 |
+
}
|
61 |
+
/**
|
62 |
+
* The function used inside the {@link FormatDistanceFn} function, implementing
|
63 |
+
* formatting for a particular token.
|
64 |
+
*/
|
65 |
+
export type FormatDistanceTokenFn = (
|
66 |
+
/** The distance as number to format */
|
67 |
+
count: number,
|
68 |
+
/** The object with options */
|
69 |
+
options?: FormatDistanceFnOptions,
|
70 |
+
) => string;
|
71 |
+
/**
|
72 |
+
* The tokens map to string templates used in the format distance function.
|
73 |
+
* It looks like this:
|
74 |
+
*
|
75 |
+
* const formatDistanceLocale: FormatDistanceLocale<FormatDistanceTokenValue> = {
|
76 |
+
* lessThanXSeconds: 'តិចជាង {{count}} វិនាទី',
|
77 |
+
* xSeconds: '{{count}} វិនាទី',
|
78 |
+
* // ...
|
79 |
+
* }
|
80 |
+
*
|
81 |
+
* @typeParam Template - The property value type.
|
82 |
+
*/
|
83 |
+
export type FormatDistanceLocale<Template> = {
|
84 |
+
[Token in FormatDistanceToken]: Template;
|
85 |
+
};
|
86 |
+
/**
|
87 |
+
* The token used in the format distance function. Represents the distance unit
|
88 |
+
* with prespecified precision.
|
89 |
+
*/
|
90 |
+
export type FormatDistanceToken =
|
91 |
+
| "lessThanXSeconds"
|
92 |
+
| "xSeconds"
|
93 |
+
| "halfAMinute"
|
94 |
+
| "lessThanXMinutes"
|
95 |
+
| "xMinutes"
|
96 |
+
| "aboutXHours"
|
97 |
+
| "xHours"
|
98 |
+
| "xDays"
|
99 |
+
| "aboutXWeeks"
|
100 |
+
| "xWeeks"
|
101 |
+
| "aboutXMonths"
|
102 |
+
| "xMonths"
|
103 |
+
| "aboutXYears"
|
104 |
+
| "xYears"
|
105 |
+
| "overXYears"
|
106 |
+
| "almostXYears";
|
107 |
+
/**
|
108 |
+
* The locale function that does the work for the `formatRelative` function.
|
109 |
+
*
|
110 |
+
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
111 |
+
*
|
112 |
+
* @param token - The token to localize
|
113 |
+
* @param date - The date to format
|
114 |
+
* @param baseDate - The date to compare with
|
115 |
+
* @param options - The object with options
|
116 |
+
*
|
117 |
+
* @returns The localized relative date format
|
118 |
+
*/
|
119 |
+
export type FormatRelativeFn = <DateType extends Date>(
|
120 |
+
token: FormatRelativeToken,
|
121 |
+
date: DateType,
|
122 |
+
baseDate: DateType,
|
123 |
+
options?: FormatRelativeFnOptions,
|
124 |
+
) => string;
|
125 |
+
/**
|
126 |
+
* The {@link FormatRelativeFn} function options.
|
127 |
+
*/
|
128 |
+
export interface FormatRelativeFnOptions
|
129 |
+
extends WeekOptions,
|
130 |
+
LocalizedOptions<"options" | "formatRelative"> {}
|
131 |
+
/**
|
132 |
+
* The locale function used inside the {@link FormatRelativeFn} function
|
133 |
+
* implementing formatting for a particular token.
|
134 |
+
*
|
135 |
+
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
136 |
+
*
|
137 |
+
* @param date - The date to format
|
138 |
+
* @param baseDate - The date to compare with
|
139 |
+
* @param options - The object with options
|
140 |
+
*/
|
141 |
+
export type FormatRelativeTokenFn = <DateType extends Date>(
|
142 |
+
date: DateType | number | string,
|
143 |
+
baseDate: DateType | number | string,
|
144 |
+
options?: FormatRelativeTokenFnOptions,
|
145 |
+
) => string;
|
146 |
+
/**
|
147 |
+
* The {@link FormatRelativeTokenFn} function options.
|
148 |
+
*/
|
149 |
+
export interface FormatRelativeTokenFnOptions extends WeekOptions {}
|
150 |
+
/**
|
151 |
+
* The token used in format relative function. Represents the time unit.
|
152 |
+
*/
|
153 |
+
export type FormatRelativeToken =
|
154 |
+
| "lastWeek"
|
155 |
+
| "yesterday"
|
156 |
+
| "today"
|
157 |
+
| "tomorrow"
|
158 |
+
| "nextWeek"
|
159 |
+
| "other";
|
160 |
+
/**
|
161 |
+
* A format part that represents a token or string literal, used by format parser/tokenizer
|
162 |
+
*/
|
163 |
+
export interface FormatPart {
|
164 |
+
/** If the part is a format token. */
|
165 |
+
isToken: boolean;
|
166 |
+
/** The format part value (i.e. `"do"`). */
|
167 |
+
value: string;
|
168 |
+
}
|
169 |
+
/**
|
170 |
+
* The object with functions used to localize various values. Part of the public
|
171 |
+
* locale API.
|
172 |
+
*/
|
173 |
+
export interface Localize {
|
174 |
+
/** The function that localizes an ordinal number */
|
175 |
+
ordinalNumber: LocalizeFn<number>;
|
176 |
+
/** The function that localized the era */
|
177 |
+
era: LocalizeFn<Era>;
|
178 |
+
/** The function that localizes the quarter */
|
179 |
+
quarter: LocalizeFn<Quarter>;
|
180 |
+
/** The function that localizes the month */
|
181 |
+
month: LocalizeFn<Month>;
|
182 |
+
/** The function that localizes the day of the week */
|
183 |
+
day: LocalizeFn<Day>;
|
184 |
+
/** The function that localizes the day period */
|
185 |
+
dayPeriod: LocalizeFn<LocaleDayPeriod>;
|
186 |
+
/** The function that can preprocess parts/tokens **/
|
187 |
+
preprocessor?: <DateType extends Date>(
|
188 |
+
date: DateType,
|
189 |
+
parts: FormatPart[],
|
190 |
+
) => FormatPart[];
|
191 |
+
}
|
192 |
+
/**
|
193 |
+
* Individual localize function. Part of {@link Localize}.
|
194 |
+
*
|
195 |
+
* @typeParam Value - The value type to localize.
|
196 |
+
*
|
197 |
+
* @param value - The value to localize
|
198 |
+
* @param options - The object with options
|
199 |
+
*
|
200 |
+
* @returns The localized string
|
201 |
+
*/
|
202 |
+
export type LocalizeFn<Value extends LocaleUnitValue | number> = (
|
203 |
+
value: Value,
|
204 |
+
options?: LocalizeFnOptions,
|
205 |
+
) => string;
|
206 |
+
/**
|
207 |
+
* The {@link LocalizeFn} function options.
|
208 |
+
*/
|
209 |
+
export interface LocalizeFnOptions {
|
210 |
+
/** The width to use formatting the value, defines how short or long
|
211 |
+
* the formatted string might be. */
|
212 |
+
width?: LocaleWidth;
|
213 |
+
/** The context where the formatted value is used - standalone: the result
|
214 |
+
* should make grammatical sense as is and formatting: the result is a part
|
215 |
+
* of the formatted string. See: https://date-fns.org/docs/I18n-Contribution-Guide */
|
216 |
+
context?: "formatting" | "standalone";
|
217 |
+
/** The unit to format */
|
218 |
+
unit?: LocaleUnit;
|
219 |
+
}
|
220 |
+
/**
|
221 |
+
* The object with functions used to match and parse various localized values.
|
222 |
+
*/
|
223 |
+
export interface Match {
|
224 |
+
/** The function that parses a localized ordinal number. */
|
225 |
+
ordinalNumber: MatchFn<
|
226 |
+
number,
|
227 |
+
{
|
228 |
+
unit: LocaleUnit;
|
229 |
+
}
|
230 |
+
>;
|
231 |
+
/** The function that parses a localized era. */
|
232 |
+
era: MatchFn<Era>;
|
233 |
+
/** The function that parses a localized quarter. */
|
234 |
+
quarter: MatchFn<Quarter>;
|
235 |
+
/** The function that parses a localized month. */
|
236 |
+
month: MatchFn<Month>;
|
237 |
+
/** The function that parses a localized day of the week. */
|
238 |
+
day: MatchFn<Day>;
|
239 |
+
/** The function that parses a localized time of the day. */
|
240 |
+
dayPeriod: MatchFn<LocaleDayPeriod>;
|
241 |
+
}
|
242 |
+
/**
|
243 |
+
* The match function. Part of {@link Match}. Implements matcher for particular
|
244 |
+
* unit type.
|
245 |
+
*
|
246 |
+
* @typeParam Result - The matched value type.
|
247 |
+
* @typeParam ExtraOptions - The the extra options type.
|
248 |
+
*
|
249 |
+
* @param str - The string to match
|
250 |
+
* @param options - The object with options
|
251 |
+
*
|
252 |
+
* @returns The match result or null if match failed
|
253 |
+
*/
|
254 |
+
export type MatchFn<Result, ExtraOptions = Record<string, unknown>> = (
|
255 |
+
str: string,
|
256 |
+
options?: MatchFnOptions<Result> & ExtraOptions,
|
257 |
+
) => MatchFnResult<Result> | null;
|
258 |
+
/**
|
259 |
+
* The {@link MatchFn} function options.
|
260 |
+
*
|
261 |
+
* @typeParam Result - The matched value type.
|
262 |
+
*/
|
263 |
+
export interface MatchFnOptions<Result> {
|
264 |
+
/** The width to use matching the value, defines how short or long
|
265 |
+
* the matched string might be. */
|
266 |
+
width?: LocaleWidth;
|
267 |
+
/**
|
268 |
+
* @deprecated Map the value manually instead.
|
269 |
+
* @example
|
270 |
+
* const matchResult = locale.match.ordinalNumber('1st')
|
271 |
+
* if (matchResult) {
|
272 |
+
* matchResult.value = valueCallback(matchResult.value)
|
273 |
+
* }
|
274 |
+
*/
|
275 |
+
valueCallback?: MatchValueCallback<string, Result>;
|
276 |
+
}
|
277 |
+
/**
|
278 |
+
* The function that allows to map the matched value to the actual type.
|
279 |
+
*
|
280 |
+
* @typeParam Arg - The argument type.
|
281 |
+
* @typeParam Result - The matched value type.
|
282 |
+
*
|
283 |
+
* @param arg - The value to match
|
284 |
+
*
|
285 |
+
* @returns The matched value
|
286 |
+
*/
|
287 |
+
export type MatchValueCallback<Arg, Result> = (value: Arg) => Result;
|
288 |
+
/**
|
289 |
+
* The {@link MatchFn} function result.
|
290 |
+
*
|
291 |
+
* @typeParam Result - The matched value type.
|
292 |
+
*/
|
293 |
+
export interface MatchFnResult<Result> {
|
294 |
+
/** The matched value parsed as the corresponding unit type */
|
295 |
+
value: Result;
|
296 |
+
/** The remaining string after parsing */
|
297 |
+
rest: string;
|
298 |
+
}
|
299 |
+
/**
|
300 |
+
* The object with functions that return localized formats. Long stands for
|
301 |
+
* sequence of tokens (i.e. PPpp) that allows to define how format both date
|
302 |
+
* and time at once. Part of the public locale API.
|
303 |
+
*/
|
304 |
+
export interface FormatLong {
|
305 |
+
/** The function that returns a localized long date format */
|
306 |
+
date: FormatLongFn;
|
307 |
+
/** The function that returns a localized long time format */
|
308 |
+
time: FormatLongFn;
|
309 |
+
/** The function that returns a localized format of date and time combined */
|
310 |
+
dateTime: FormatLongFn;
|
311 |
+
}
|
312 |
+
/**
|
313 |
+
* The format long function. Formats date, time or both.
|
314 |
+
*
|
315 |
+
* @param options - The object with options
|
316 |
+
*
|
317 |
+
* @returns The localized string
|
318 |
+
*/
|
319 |
+
export type FormatLongFn = (options: FormatLongFnOptions) => string;
|
320 |
+
/**
|
321 |
+
* The {@link FormatLongFn} function options.
|
322 |
+
*/
|
323 |
+
export interface FormatLongFnOptions {
|
324 |
+
/** Format width to set */
|
325 |
+
width?: FormatLongWidth;
|
326 |
+
}
|
327 |
+
/**
|
328 |
+
* The format long width token, defines how short or long the formnatted value
|
329 |
+
* might be. The actual result length is defined by the locale.
|
330 |
+
*/
|
331 |
+
export type FormatLongWidth = "full" | "long" | "medium" | "short" | "any";
|
332 |
+
/**
|
333 |
+
* The formatting unit value, represents the raw value that can be formatted.
|
334 |
+
*/
|
335 |
+
export type LocaleUnitValue = Era | Quarter | Month | Day | LocaleDayPeriod;
|
336 |
+
/**
|
337 |
+
* The format width. Defines how short or long the formatted string might be.
|
338 |
+
* The actaul result length depends on the locale.
|
339 |
+
*/
|
340 |
+
export type LocaleWidth = "narrow" | "short" | "abbreviated" | "wide" | "any";
|
341 |
+
/**
|
342 |
+
* Token representing particular period of the day.
|
343 |
+
*/
|
344 |
+
export type LocaleDayPeriod =
|
345 |
+
| "am"
|
346 |
+
| "pm"
|
347 |
+
| "midnight"
|
348 |
+
| "noon"
|
349 |
+
| "morning"
|
350 |
+
| "afternoon"
|
351 |
+
| "evening"
|
352 |
+
| "night";
|
353 |
+
/**
|
354 |
+
* The units commonly used in the date formatting or parsing.
|
355 |
+
*/
|
356 |
+
export type LocaleUnit =
|
357 |
+
| "second"
|
358 |
+
| "minute"
|
359 |
+
| "hour"
|
360 |
+
| "day"
|
361 |
+
| "dayOfYear"
|
362 |
+
| "date"
|
363 |
+
| "week"
|
364 |
+
| "month"
|
365 |
+
| "quarter"
|
366 |
+
| "year";
|
workers1/auto3d/node_modules/date-fns/locale/types.d.ts
ADDED
@@ -0,0 +1,366 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type {
|
2 |
+
Day,
|
3 |
+
Era,
|
4 |
+
FirstWeekContainsDateOptions,
|
5 |
+
LocalizedOptions,
|
6 |
+
Month,
|
7 |
+
Quarter,
|
8 |
+
WeekOptions,
|
9 |
+
} from "../types.js";
|
10 |
+
/**
|
11 |
+
* The locale object with all functions and data needed to parse and format
|
12 |
+
* dates. This is what each locale implements and exports.
|
13 |
+
*/
|
14 |
+
export interface Locale {
|
15 |
+
/** The locale code (ISO 639-1 + optional country code) */
|
16 |
+
code: string;
|
17 |
+
/** The function to format distance */
|
18 |
+
formatDistance: FormatDistanceFn;
|
19 |
+
/** The function to relative time */
|
20 |
+
formatRelative: FormatRelativeFn;
|
21 |
+
/** The object with functions used to localize various values */
|
22 |
+
localize: Localize;
|
23 |
+
/** The object with functions that return localized formats */
|
24 |
+
formatLong: FormatLong;
|
25 |
+
/** The object with functions used to match and parse various localized values */
|
26 |
+
match: Match;
|
27 |
+
/** An object with locale options */
|
28 |
+
options?: LocaleOptions;
|
29 |
+
}
|
30 |
+
/**
|
31 |
+
* The locale options.
|
32 |
+
*/
|
33 |
+
export interface LocaleOptions
|
34 |
+
extends WeekOptions,
|
35 |
+
FirstWeekContainsDateOptions {}
|
36 |
+
/**
|
37 |
+
* The function that takes a token (i.e. halfAMinute) passed by `formatDistance`
|
38 |
+
* or `formatDistanceStrict` and payload, and returns localized distance.
|
39 |
+
*
|
40 |
+
* @param token - The token to localize
|
41 |
+
* @param count - The distance number
|
42 |
+
* @param options - The object with options
|
43 |
+
*
|
44 |
+
* @returns The localized distance in words
|
45 |
+
*/
|
46 |
+
export type FormatDistanceFn = (
|
47 |
+
token: FormatDistanceToken,
|
48 |
+
count: number,
|
49 |
+
options?: FormatDistanceFnOptions,
|
50 |
+
) => string;
|
51 |
+
/**
|
52 |
+
* The {@link FormatDistanceFn} function options.
|
53 |
+
*/
|
54 |
+
export interface FormatDistanceFnOptions {
|
55 |
+
/** Add "X ago"/"in X" in the locale language */
|
56 |
+
addSuffix?: boolean;
|
57 |
+
/** The distance vector. -1 represents past and 1 future. Tells which suffix
|
58 |
+
* to use. */
|
59 |
+
comparison?: -1 | 0 | 1;
|
60 |
+
}
|
61 |
+
/**
|
62 |
+
* The function used inside the {@link FormatDistanceFn} function, implementing
|
63 |
+
* formatting for a particular token.
|
64 |
+
*/
|
65 |
+
export type FormatDistanceTokenFn = (
|
66 |
+
/** The distance as number to format */
|
67 |
+
count: number,
|
68 |
+
/** The object with options */
|
69 |
+
options?: FormatDistanceFnOptions,
|
70 |
+
) => string;
|
71 |
+
/**
|
72 |
+
* The tokens map to string templates used in the format distance function.
|
73 |
+
* It looks like this:
|
74 |
+
*
|
75 |
+
* const formatDistanceLocale: FormatDistanceLocale<FormatDistanceTokenValue> = {
|
76 |
+
* lessThanXSeconds: 'តិចជាង {{count}} វិនាទី',
|
77 |
+
* xSeconds: '{{count}} វិនាទី',
|
78 |
+
* // ...
|
79 |
+
* }
|
80 |
+
*
|
81 |
+
* @typeParam Template - The property value type.
|
82 |
+
*/
|
83 |
+
export type FormatDistanceLocale<Template> = {
|
84 |
+
[Token in FormatDistanceToken]: Template;
|
85 |
+
};
|
86 |
+
/**
|
87 |
+
* The token used in the format distance function. Represents the distance unit
|
88 |
+
* with prespecified precision.
|
89 |
+
*/
|
90 |
+
export type FormatDistanceToken =
|
91 |
+
| "lessThanXSeconds"
|
92 |
+
| "xSeconds"
|
93 |
+
| "halfAMinute"
|
94 |
+
| "lessThanXMinutes"
|
95 |
+
| "xMinutes"
|
96 |
+
| "aboutXHours"
|
97 |
+
| "xHours"
|
98 |
+
| "xDays"
|
99 |
+
| "aboutXWeeks"
|
100 |
+
| "xWeeks"
|
101 |
+
| "aboutXMonths"
|
102 |
+
| "xMonths"
|
103 |
+
| "aboutXYears"
|
104 |
+
| "xYears"
|
105 |
+
| "overXYears"
|
106 |
+
| "almostXYears";
|
107 |
+
/**
|
108 |
+
* The locale function that does the work for the `formatRelative` function.
|
109 |
+
*
|
110 |
+
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
111 |
+
*
|
112 |
+
* @param token - The token to localize
|
113 |
+
* @param date - The date to format
|
114 |
+
* @param baseDate - The date to compare with
|
115 |
+
* @param options - The object with options
|
116 |
+
*
|
117 |
+
* @returns The localized relative date format
|
118 |
+
*/
|
119 |
+
export type FormatRelativeFn = <DateType extends Date>(
|
120 |
+
token: FormatRelativeToken,
|
121 |
+
date: DateType,
|
122 |
+
baseDate: DateType,
|
123 |
+
options?: FormatRelativeFnOptions,
|
124 |
+
) => string;
|
125 |
+
/**
|
126 |
+
* The {@link FormatRelativeFn} function options.
|
127 |
+
*/
|
128 |
+
export interface FormatRelativeFnOptions
|
129 |
+
extends WeekOptions,
|
130 |
+
LocalizedOptions<"options" | "formatRelative"> {}
|
131 |
+
/**
|
132 |
+
* The locale function used inside the {@link FormatRelativeFn} function
|
133 |
+
* implementing formatting for a particular token.
|
134 |
+
*
|
135 |
+
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
136 |
+
*
|
137 |
+
* @param date - The date to format
|
138 |
+
* @param baseDate - The date to compare with
|
139 |
+
* @param options - The object with options
|
140 |
+
*/
|
141 |
+
export type FormatRelativeTokenFn = <DateType extends Date>(
|
142 |
+
date: DateType | number | string,
|
143 |
+
baseDate: DateType | number | string,
|
144 |
+
options?: FormatRelativeTokenFnOptions,
|
145 |
+
) => string;
|
146 |
+
/**
|
147 |
+
* The {@link FormatRelativeTokenFn} function options.
|
148 |
+
*/
|
149 |
+
export interface FormatRelativeTokenFnOptions extends WeekOptions {}
|
150 |
+
/**
|
151 |
+
* The token used in format relative function. Represents the time unit.
|
152 |
+
*/
|
153 |
+
export type FormatRelativeToken =
|
154 |
+
| "lastWeek"
|
155 |
+
| "yesterday"
|
156 |
+
| "today"
|
157 |
+
| "tomorrow"
|
158 |
+
| "nextWeek"
|
159 |
+
| "other";
|
160 |
+
/**
|
161 |
+
* A format part that represents a token or string literal, used by format parser/tokenizer
|
162 |
+
*/
|
163 |
+
export interface FormatPart {
|
164 |
+
/** If the part is a format token. */
|
165 |
+
isToken: boolean;
|
166 |
+
/** The format part value (i.e. `"do"`). */
|
167 |
+
value: string;
|
168 |
+
}
|
169 |
+
/**
|
170 |
+
* The object with functions used to localize various values. Part of the public
|
171 |
+
* locale API.
|
172 |
+
*/
|
173 |
+
export interface Localize {
|
174 |
+
/** The function that localizes an ordinal number */
|
175 |
+
ordinalNumber: LocalizeFn<number>;
|
176 |
+
/** The function that localized the era */
|
177 |
+
era: LocalizeFn<Era>;
|
178 |
+
/** The function that localizes the quarter */
|
179 |
+
quarter: LocalizeFn<Quarter>;
|
180 |
+
/** The function that localizes the month */
|
181 |
+
month: LocalizeFn<Month>;
|
182 |
+
/** The function that localizes the day of the week */
|
183 |
+
day: LocalizeFn<Day>;
|
184 |
+
/** The function that localizes the day period */
|
185 |
+
dayPeriod: LocalizeFn<LocaleDayPeriod>;
|
186 |
+
/** The function that can preprocess parts/tokens **/
|
187 |
+
preprocessor?: <DateType extends Date>(
|
188 |
+
date: DateType,
|
189 |
+
parts: FormatPart[],
|
190 |
+
) => FormatPart[];
|
191 |
+
}
|
192 |
+
/**
|
193 |
+
* Individual localize function. Part of {@link Localize}.
|
194 |
+
*
|
195 |
+
* @typeParam Value - The value type to localize.
|
196 |
+
*
|
197 |
+
* @param value - The value to localize
|
198 |
+
* @param options - The object with options
|
199 |
+
*
|
200 |
+
* @returns The localized string
|
201 |
+
*/
|
202 |
+
export type LocalizeFn<Value extends LocaleUnitValue | number> = (
|
203 |
+
value: Value,
|
204 |
+
options?: LocalizeFnOptions,
|
205 |
+
) => string;
|
206 |
+
/**
|
207 |
+
* The {@link LocalizeFn} function options.
|
208 |
+
*/
|
209 |
+
export interface LocalizeFnOptions {
|
210 |
+
/** The width to use formatting the value, defines how short or long
|
211 |
+
* the formatted string might be. */
|
212 |
+
width?: LocaleWidth;
|
213 |
+
/** The context where the formatted value is used - standalone: the result
|
214 |
+
* should make grammatical sense as is and formatting: the result is a part
|
215 |
+
* of the formatted string. See: https://date-fns.org/docs/I18n-Contribution-Guide */
|
216 |
+
context?: "formatting" | "standalone";
|
217 |
+
/** The unit to format */
|
218 |
+
unit?: LocaleUnit;
|
219 |
+
}
|
220 |
+
/**
|
221 |
+
* The object with functions used to match and parse various localized values.
|
222 |
+
*/
|
223 |
+
export interface Match {
|
224 |
+
/** The function that parses a localized ordinal number. */
|
225 |
+
ordinalNumber: MatchFn<
|
226 |
+
number,
|
227 |
+
{
|
228 |
+
unit: LocaleUnit;
|
229 |
+
}
|
230 |
+
>;
|
231 |
+
/** The function that parses a localized era. */
|
232 |
+
era: MatchFn<Era>;
|
233 |
+
/** The function that parses a localized quarter. */
|
234 |
+
quarter: MatchFn<Quarter>;
|
235 |
+
/** The function that parses a localized month. */
|
236 |
+
month: MatchFn<Month>;
|
237 |
+
/** The function that parses a localized day of the week. */
|
238 |
+
day: MatchFn<Day>;
|
239 |
+
/** The function that parses a localized time of the day. */
|
240 |
+
dayPeriod: MatchFn<LocaleDayPeriod>;
|
241 |
+
}
|
242 |
+
/**
|
243 |
+
* The match function. Part of {@link Match}. Implements matcher for particular
|
244 |
+
* unit type.
|
245 |
+
*
|
246 |
+
* @typeParam Result - The matched value type.
|
247 |
+
* @typeParam ExtraOptions - The the extra options type.
|
248 |
+
*
|
249 |
+
* @param str - The string to match
|
250 |
+
* @param options - The object with options
|
251 |
+
*
|
252 |
+
* @returns The match result or null if match failed
|
253 |
+
*/
|
254 |
+
export type MatchFn<Result, ExtraOptions = Record<string, unknown>> = (
|
255 |
+
str: string,
|
256 |
+
options?: MatchFnOptions<Result> & ExtraOptions,
|
257 |
+
) => MatchFnResult<Result> | null;
|
258 |
+
/**
|
259 |
+
* The {@link MatchFn} function options.
|
260 |
+
*
|
261 |
+
* @typeParam Result - The matched value type.
|
262 |
+
*/
|
263 |
+
export interface MatchFnOptions<Result> {
|
264 |
+
/** The width to use matching the value, defines how short or long
|
265 |
+
* the matched string might be. */
|
266 |
+
width?: LocaleWidth;
|
267 |
+
/**
|
268 |
+
* @deprecated Map the value manually instead.
|
269 |
+
* @example
|
270 |
+
* const matchResult = locale.match.ordinalNumber('1st')
|
271 |
+
* if (matchResult) {
|
272 |
+
* matchResult.value = valueCallback(matchResult.value)
|
273 |
+
* }
|
274 |
+
*/
|
275 |
+
valueCallback?: MatchValueCallback<string, Result>;
|
276 |
+
}
|
277 |
+
/**
|
278 |
+
* The function that allows to map the matched value to the actual type.
|
279 |
+
*
|
280 |
+
* @typeParam Arg - The argument type.
|
281 |
+
* @typeParam Result - The matched value type.
|
282 |
+
*
|
283 |
+
* @param arg - The value to match
|
284 |
+
*
|
285 |
+
* @returns The matched value
|
286 |
+
*/
|
287 |
+
export type MatchValueCallback<Arg, Result> = (value: Arg) => Result;
|
288 |
+
/**
|
289 |
+
* The {@link MatchFn} function result.
|
290 |
+
*
|
291 |
+
* @typeParam Result - The matched value type.
|
292 |
+
*/
|
293 |
+
export interface MatchFnResult<Result> {
|
294 |
+
/** The matched value parsed as the corresponding unit type */
|
295 |
+
value: Result;
|
296 |
+
/** The remaining string after parsing */
|
297 |
+
rest: string;
|
298 |
+
}
|
299 |
+
/**
|
300 |
+
* The object with functions that return localized formats. Long stands for
|
301 |
+
* sequence of tokens (i.e. PPpp) that allows to define how format both date
|
302 |
+
* and time at once. Part of the public locale API.
|
303 |
+
*/
|
304 |
+
export interface FormatLong {
|
305 |
+
/** The function that returns a localized long date format */
|
306 |
+
date: FormatLongFn;
|
307 |
+
/** The function that returns a localized long time format */
|
308 |
+
time: FormatLongFn;
|
309 |
+
/** The function that returns a localized format of date and time combined */
|
310 |
+
dateTime: FormatLongFn;
|
311 |
+
}
|
312 |
+
/**
|
313 |
+
* The format long function. Formats date, time or both.
|
314 |
+
*
|
315 |
+
* @param options - The object with options
|
316 |
+
*
|
317 |
+
* @returns The localized string
|
318 |
+
*/
|
319 |
+
export type FormatLongFn = (options: FormatLongFnOptions) => string;
|
320 |
+
/**
|
321 |
+
* The {@link FormatLongFn} function options.
|
322 |
+
*/
|
323 |
+
export interface FormatLongFnOptions {
|
324 |
+
/** Format width to set */
|
325 |
+
width?: FormatLongWidth;
|
326 |
+
}
|
327 |
+
/**
|
328 |
+
* The format long width token, defines how short or long the formnatted value
|
329 |
+
* might be. The actual result length is defined by the locale.
|
330 |
+
*/
|
331 |
+
export type FormatLongWidth = "full" | "long" | "medium" | "short" | "any";
|
332 |
+
/**
|
333 |
+
* The formatting unit value, represents the raw value that can be formatted.
|
334 |
+
*/
|
335 |
+
export type LocaleUnitValue = Era | Quarter | Month | Day | LocaleDayPeriod;
|
336 |
+
/**
|
337 |
+
* The format width. Defines how short or long the formatted string might be.
|
338 |
+
* The actaul result length depends on the locale.
|
339 |
+
*/
|
340 |
+
export type LocaleWidth = "narrow" | "short" | "abbreviated" | "wide" | "any";
|
341 |
+
/**
|
342 |
+
* Token representing particular period of the day.
|
343 |
+
*/
|
344 |
+
export type LocaleDayPeriod =
|
345 |
+
| "am"
|
346 |
+
| "pm"
|
347 |
+
| "midnight"
|
348 |
+
| "noon"
|
349 |
+
| "morning"
|
350 |
+
| "afternoon"
|
351 |
+
| "evening"
|
352 |
+
| "night";
|
353 |
+
/**
|
354 |
+
* The units commonly used in the date formatting or parsing.
|
355 |
+
*/
|
356 |
+
export type LocaleUnit =
|
357 |
+
| "second"
|
358 |
+
| "minute"
|
359 |
+
| "hour"
|
360 |
+
| "day"
|
361 |
+
| "dayOfYear"
|
362 |
+
| "date"
|
363 |
+
| "week"
|
364 |
+
| "month"
|
365 |
+
| "quarter"
|
366 |
+
| "year";
|
workers1/auto3d/node_modules/date-fns/locale/types.js
ADDED
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict"; /* eslint-disable no-unused-vars */
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The locale object with all functions and data needed to parse and format
|
5 |
+
* dates. This is what each locale implements and exports.
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* The locale options.
|
10 |
+
*/
|
11 |
+
|
12 |
+
/// Format distance types
|
13 |
+
|
14 |
+
/**
|
15 |
+
* The function that takes a token (i.e. halfAMinute) passed by `formatDistance`
|
16 |
+
* or `formatDistanceStrict` and payload, and returns localized distance.
|
17 |
+
*
|
18 |
+
* @param token - The token to localize
|
19 |
+
* @param count - The distance number
|
20 |
+
* @param options - The object with options
|
21 |
+
*
|
22 |
+
* @returns The localized distance in words
|
23 |
+
*/
|
24 |
+
|
25 |
+
/**
|
26 |
+
* The {@link FormatDistanceFn} function options.
|
27 |
+
*/
|
28 |
+
|
29 |
+
/**
|
30 |
+
* The function used inside the {@link FormatDistanceFn} function, implementing
|
31 |
+
* formatting for a particular token.
|
32 |
+
*/
|
33 |
+
|
34 |
+
/**
|
35 |
+
* The tokens map to string templates used in the format distance function.
|
36 |
+
* It looks like this:
|
37 |
+
*
|
38 |
+
* const formatDistanceLocale: FormatDistanceLocale<FormatDistanceTokenValue> = {
|
39 |
+
* lessThanXSeconds: 'តិចជាង {{count}} វិនាទី',
|
40 |
+
* xSeconds: '{{count}} វិនាទី',
|
41 |
+
* // ...
|
42 |
+
* }
|
43 |
+
*
|
44 |
+
* @typeParam Template - The property value type.
|
45 |
+
*/
|
46 |
+
|
47 |
+
/**
|
48 |
+
* The token used in the format distance function. Represents the distance unit
|
49 |
+
* with prespecified precision.
|
50 |
+
*/
|
51 |
+
|
52 |
+
/// Format relative types
|
53 |
+
|
54 |
+
/**
|
55 |
+
* The locale function that does the work for the `formatRelative` function.
|
56 |
+
*
|
57 |
+
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
58 |
+
*
|
59 |
+
* @param token - The token to localize
|
60 |
+
* @param date - The date to format
|
61 |
+
* @param baseDate - The date to compare with
|
62 |
+
* @param options - The object with options
|
63 |
+
*
|
64 |
+
* @returns The localized relative date format
|
65 |
+
*/
|
66 |
+
|
67 |
+
/**
|
68 |
+
* The {@link FormatRelativeFn} function options.
|
69 |
+
*/
|
70 |
+
|
71 |
+
/**
|
72 |
+
* The locale function used inside the {@link FormatRelativeFn} function
|
73 |
+
* implementing formatting for a particular token.
|
74 |
+
*
|
75 |
+
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
76 |
+
*
|
77 |
+
* @param date - The date to format
|
78 |
+
* @param baseDate - The date to compare with
|
79 |
+
* @param options - The object with options
|
80 |
+
*/
|
81 |
+
|
82 |
+
/**
|
83 |
+
* The {@link FormatRelativeTokenFn} function options.
|
84 |
+
*/
|
85 |
+
|
86 |
+
/**
|
87 |
+
* The token used in format relative function. Represents the time unit.
|
88 |
+
*/
|
89 |
+
|
90 |
+
/**
|
91 |
+
* A format part that represents a token or string literal, used by format parser/tokenizer
|
92 |
+
*/
|
93 |
+
|
94 |
+
/// Localize types
|
95 |
+
|
96 |
+
/**
|
97 |
+
* The object with functions used to localize various values. Part of the public
|
98 |
+
* locale API.
|
99 |
+
*/
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Individual localize function. Part of {@link Localize}.
|
103 |
+
*
|
104 |
+
* @typeParam Value - The value type to localize.
|
105 |
+
*
|
106 |
+
* @param value - The value to localize
|
107 |
+
* @param options - The object with options
|
108 |
+
*
|
109 |
+
* @returns The localized string
|
110 |
+
*/
|
111 |
+
|
112 |
+
/**
|
113 |
+
* The {@link LocalizeFn} function options.
|
114 |
+
*/
|
115 |
+
|
116 |
+
/// Match types
|
117 |
+
|
118 |
+
/**
|
119 |
+
* The object with functions used to match and parse various localized values.
|
120 |
+
*/
|
121 |
+
|
122 |
+
/**
|
123 |
+
* The match function. Part of {@link Match}. Implements matcher for particular
|
124 |
+
* unit type.
|
125 |
+
*
|
126 |
+
* @typeParam Result - The matched value type.
|
127 |
+
* @typeParam ExtraOptions - The the extra options type.
|
128 |
+
*
|
129 |
+
* @param str - The string to match
|
130 |
+
* @param options - The object with options
|
131 |
+
*
|
132 |
+
* @returns The match result or null if match failed
|
133 |
+
*/
|
134 |
+
|
135 |
+
/**
|
136 |
+
* The {@link MatchFn} function options.
|
137 |
+
*
|
138 |
+
* @typeParam Result - The matched value type.
|
139 |
+
*/
|
140 |
+
|
141 |
+
/**
|
142 |
+
* The function that allows to map the matched value to the actual type.
|
143 |
+
*
|
144 |
+
* @typeParam Arg - The argument type.
|
145 |
+
* @typeParam Result - The matched value type.
|
146 |
+
*
|
147 |
+
* @param arg - The value to match
|
148 |
+
*
|
149 |
+
* @returns The matched value
|
150 |
+
*/
|
151 |
+
|
152 |
+
/**
|
153 |
+
* The {@link MatchFn} function result.
|
154 |
+
*
|
155 |
+
* @typeParam Result - The matched value type.
|
156 |
+
*/
|
157 |
+
|
158 |
+
/// Format long types
|
159 |
+
|
160 |
+
/**
|
161 |
+
* The object with functions that return localized formats. Long stands for
|
162 |
+
* sequence of tokens (i.e. PPpp) that allows to define how format both date
|
163 |
+
* and time at once. Part of the public locale API.
|
164 |
+
*/
|
165 |
+
|
166 |
+
/**
|
167 |
+
* The format long function. Formats date, time or both.
|
168 |
+
*
|
169 |
+
* @param options - The object with options
|
170 |
+
*
|
171 |
+
* @returns The localized string
|
172 |
+
*/
|
173 |
+
|
174 |
+
/**
|
175 |
+
* The {@link FormatLongFn} function options.
|
176 |
+
*/
|
177 |
+
|
178 |
+
/**
|
179 |
+
* The format long width token, defines how short or long the formnatted value
|
180 |
+
* might be. The actual result length is defined by the locale.
|
181 |
+
*/
|
182 |
+
|
183 |
+
/// Common types
|
184 |
+
|
185 |
+
/**
|
186 |
+
* The formatting unit value, represents the raw value that can be formatted.
|
187 |
+
*/
|
188 |
+
|
189 |
+
/**
|
190 |
+
* The format width. Defines how short or long the formatted string might be.
|
191 |
+
* The actaul result length depends on the locale.
|
192 |
+
*/
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Token representing particular period of the day.
|
196 |
+
*/
|
197 |
+
|
198 |
+
/**
|
199 |
+
* The units commonly used in the date formatting or parsing.
|
200 |
+
*/
|
workers1/auto3d/node_modules/date-fns/locale/types.mjs
ADDED
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* eslint-disable no-unused-vars */
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The locale object with all functions and data needed to parse and format
|
5 |
+
* dates. This is what each locale implements and exports.
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* The locale options.
|
10 |
+
*/
|
11 |
+
|
12 |
+
/// Format distance types
|
13 |
+
|
14 |
+
/**
|
15 |
+
* The function that takes a token (i.e. halfAMinute) passed by `formatDistance`
|
16 |
+
* or `formatDistanceStrict` and payload, and returns localized distance.
|
17 |
+
*
|
18 |
+
* @param token - The token to localize
|
19 |
+
* @param count - The distance number
|
20 |
+
* @param options - The object with options
|
21 |
+
*
|
22 |
+
* @returns The localized distance in words
|
23 |
+
*/
|
24 |
+
|
25 |
+
/**
|
26 |
+
* The {@link FormatDistanceFn} function options.
|
27 |
+
*/
|
28 |
+
|
29 |
+
/**
|
30 |
+
* The function used inside the {@link FormatDistanceFn} function, implementing
|
31 |
+
* formatting for a particular token.
|
32 |
+
*/
|
33 |
+
|
34 |
+
/**
|
35 |
+
* The tokens map to string templates used in the format distance function.
|
36 |
+
* It looks like this:
|
37 |
+
*
|
38 |
+
* const formatDistanceLocale: FormatDistanceLocale<FormatDistanceTokenValue> = {
|
39 |
+
* lessThanXSeconds: 'តិចជាង {{count}} វិនាទី',
|
40 |
+
* xSeconds: '{{count}} វិនាទី',
|
41 |
+
* // ...
|
42 |
+
* }
|
43 |
+
*
|
44 |
+
* @typeParam Template - The property value type.
|
45 |
+
*/
|
46 |
+
|
47 |
+
/**
|
48 |
+
* The token used in the format distance function. Represents the distance unit
|
49 |
+
* with prespecified precision.
|
50 |
+
*/
|
51 |
+
|
52 |
+
/// Format relative types
|
53 |
+
|
54 |
+
/**
|
55 |
+
* The locale function that does the work for the `formatRelative` function.
|
56 |
+
*
|
57 |
+
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
58 |
+
*
|
59 |
+
* @param token - The token to localize
|
60 |
+
* @param date - The date to format
|
61 |
+
* @param baseDate - The date to compare with
|
62 |
+
* @param options - The object with options
|
63 |
+
*
|
64 |
+
* @returns The localized relative date format
|
65 |
+
*/
|
66 |
+
|
67 |
+
/**
|
68 |
+
* The {@link FormatRelativeFn} function options.
|
69 |
+
*/
|
70 |
+
|
71 |
+
/**
|
72 |
+
* The locale function used inside the {@link FormatRelativeFn} function
|
73 |
+
* implementing formatting for a particular token.
|
74 |
+
*
|
75 |
+
* @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).
|
76 |
+
*
|
77 |
+
* @param date - The date to format
|
78 |
+
* @param baseDate - The date to compare with
|
79 |
+
* @param options - The object with options
|
80 |
+
*/
|
81 |
+
|
82 |
+
/**
|
83 |
+
* The {@link FormatRelativeTokenFn} function options.
|
84 |
+
*/
|
85 |
+
|
86 |
+
/**
|
87 |
+
* The token used in format relative function. Represents the time unit.
|
88 |
+
*/
|
89 |
+
|
90 |
+
/**
|
91 |
+
* A format part that represents a token or string literal, used by format parser/tokenizer
|
92 |
+
*/
|
93 |
+
|
94 |
+
/// Localize types
|
95 |
+
|
96 |
+
/**
|
97 |
+
* The object with functions used to localize various values. Part of the public
|
98 |
+
* locale API.
|
99 |
+
*/
|
100 |
+
|
101 |
+
/**
|
102 |
+
* Individual localize function. Part of {@link Localize}.
|
103 |
+
*
|
104 |
+
* @typeParam Value - The value type to localize.
|
105 |
+
*
|
106 |
+
* @param value - The value to localize
|
107 |
+
* @param options - The object with options
|
108 |
+
*
|
109 |
+
* @returns The localized string
|
110 |
+
*/
|
111 |
+
|
112 |
+
/**
|
113 |
+
* The {@link LocalizeFn} function options.
|
114 |
+
*/
|
115 |
+
|
116 |
+
/// Match types
|
117 |
+
|
118 |
+
/**
|
119 |
+
* The object with functions used to match and parse various localized values.
|
120 |
+
*/
|
121 |
+
|
122 |
+
/**
|
123 |
+
* The match function. Part of {@link Match}. Implements matcher for particular
|
124 |
+
* unit type.
|
125 |
+
*
|
126 |
+
* @typeParam Result - The matched value type.
|
127 |
+
* @typeParam ExtraOptions - The the extra options type.
|
128 |
+
*
|
129 |
+
* @param str - The string to match
|
130 |
+
* @param options - The object with options
|
131 |
+
*
|
132 |
+
* @returns The match result or null if match failed
|
133 |
+
*/
|
134 |
+
|
135 |
+
/**
|
136 |
+
* The {@link MatchFn} function options.
|
137 |
+
*
|
138 |
+
* @typeParam Result - The matched value type.
|
139 |
+
*/
|
140 |
+
|
141 |
+
/**
|
142 |
+
* The function that allows to map the matched value to the actual type.
|
143 |
+
*
|
144 |
+
* @typeParam Arg - The argument type.
|
145 |
+
* @typeParam Result - The matched value type.
|
146 |
+
*
|
147 |
+
* @param arg - The value to match
|
148 |
+
*
|
149 |
+
* @returns The matched value
|
150 |
+
*/
|
151 |
+
|
152 |
+
/**
|
153 |
+
* The {@link MatchFn} function result.
|
154 |
+
*
|
155 |
+
* @typeParam Result - The matched value type.
|
156 |
+
*/
|
157 |
+
|
158 |
+
/// Format long types
|
159 |
+
|
160 |
+
/**
|
161 |
+
* The object with functions that return localized formats. Long stands for
|
162 |
+
* sequence of tokens (i.e. PPpp) that allows to define how format both date
|
163 |
+
* and time at once. Part of the public locale API.
|
164 |
+
*/
|
165 |
+
|
166 |
+
/**
|
167 |
+
* The format long function. Formats date, time or both.
|
168 |
+
*
|
169 |
+
* @param options - The object with options
|
170 |
+
*
|
171 |
+
* @returns The localized string
|
172 |
+
*/
|
173 |
+
|
174 |
+
/**
|
175 |
+
* The {@link FormatLongFn} function options.
|
176 |
+
*/
|
177 |
+
|
178 |
+
/**
|
179 |
+
* The format long width token, defines how short or long the formnatted value
|
180 |
+
* might be. The actual result length is defined by the locale.
|
181 |
+
*/
|
182 |
+
|
183 |
+
/// Common types
|
184 |
+
|
185 |
+
/**
|
186 |
+
* The formatting unit value, represents the raw value that can be formatted.
|
187 |
+
*/
|
188 |
+
|
189 |
+
/**
|
190 |
+
* The format width. Defines how short or long the formatted string might be.
|
191 |
+
* The actaul result length depends on the locale.
|
192 |
+
*/
|
193 |
+
|
194 |
+
/**
|
195 |
+
* Token representing particular period of the day.
|
196 |
+
*/
|
197 |
+
|
198 |
+
/**
|
199 |
+
* The units commonly used in the date formatting or parsing.
|
200 |
+
*/ export {};
|
workers1/auto3d/node_modules/date-fns/locale/ug.d.mts
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Uighur locale
|
5 |
+
* @language Uighur
|
6 |
+
* @iso-639-2 uig
|
7 |
+
* @author Abduwaly M. [@abduwaly](https://github.com/abduwaly)
|
8 |
+
*/
|
9 |
+
export declare const ug: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/ug.d.ts
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Uighur locale
|
5 |
+
* @language Uighur
|
6 |
+
* @iso-639-2 uig
|
7 |
+
* @author Abduwaly M. [@abduwaly](https://github.com/abduwaly)
|
8 |
+
*/
|
9 |
+
export declare const ug: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/ug.js
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.ug = void 0;
|
3 |
+
var _index = require("./ug/_lib/formatDistance.js");
|
4 |
+
var _index2 = require("./ug/_lib/formatLong.js");
|
5 |
+
var _index3 = require("./ug/_lib/formatRelative.js");
|
6 |
+
var _index4 = require("./ug/_lib/localize.js");
|
7 |
+
var _index5 = require("./ug/_lib/match.js");
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @category Locales
|
11 |
+
* @summary Uighur locale
|
12 |
+
* @language Uighur
|
13 |
+
* @iso-639-2 uig
|
14 |
+
* @author Abduwaly M. [@abduwaly](https://github.com/abduwaly)
|
15 |
+
*/
|
16 |
+
const ug = (exports.ug = {
|
17 |
+
code: "ug",
|
18 |
+
formatDistance: _index.formatDistance,
|
19 |
+
formatLong: _index2.formatLong,
|
20 |
+
formatRelative: _index3.formatRelative,
|
21 |
+
localize: _index4.localize,
|
22 |
+
match: _index5.match,
|
23 |
+
options: {
|
24 |
+
weekStartsOn: 0 /* Sunday */,
|
25 |
+
firstWeekContainsDate: 1,
|
26 |
+
},
|
27 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/ug.mjs
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { formatDistance } from "./ug/_lib/formatDistance.mjs";
|
2 |
+
import { formatLong } from "./ug/_lib/formatLong.mjs";
|
3 |
+
import { formatRelative } from "./ug/_lib/formatRelative.mjs";
|
4 |
+
import { localize } from "./ug/_lib/localize.mjs";
|
5 |
+
import { match } from "./ug/_lib/match.mjs";
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @category Locales
|
9 |
+
* @summary Uighur locale
|
10 |
+
* @language Uighur
|
11 |
+
* @iso-639-2 uig
|
12 |
+
* @author Abduwaly M. [@abduwaly](https://github.com/abduwaly)
|
13 |
+
*/
|
14 |
+
export const ug = {
|
15 |
+
code: "ug",
|
16 |
+
formatDistance: formatDistance,
|
17 |
+
formatLong: formatLong,
|
18 |
+
formatRelative: formatRelative,
|
19 |
+
localize: localize,
|
20 |
+
match: match,
|
21 |
+
options: {
|
22 |
+
weekStartsOn: 0 /* Sunday */,
|
23 |
+
firstWeekContainsDate: 1,
|
24 |
+
},
|
25 |
+
};
|
26 |
+
|
27 |
+
// Fallback for modularized imports:
|
28 |
+
export default ug;
|
workers1/auto3d/node_modules/date-fns/locale/ug/_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/ug/_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/ug/_lib/formatDistance.js
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatDistance = void 0;
|
3 |
+
|
4 |
+
const formatDistanceLocale = {
|
5 |
+
lessThanXSeconds: {
|
6 |
+
one: "بىر سىكۇنت ئىچىدە",
|
7 |
+
other: "سىكۇنت ئىچىدە {{count}}",
|
8 |
+
},
|
9 |
+
|
10 |
+
xSeconds: {
|
11 |
+
one: "بىر سىكۇنت",
|
12 |
+
other: "سىكۇنت {{count}}",
|
13 |
+
},
|
14 |
+
|
15 |
+
halfAMinute: "يىرىم مىنۇت",
|
16 |
+
|
17 |
+
lessThanXMinutes: {
|
18 |
+
one: "بىر مىنۇت ئىچىدە",
|
19 |
+
other: "مىنۇت ئىچىدە {{count}}",
|
20 |
+
},
|
21 |
+
|
22 |
+
xMinutes: {
|
23 |
+
one: "بىر مىنۇت",
|
24 |
+
other: "مىنۇت {{count}}",
|
25 |
+
},
|
26 |
+
|
27 |
+
aboutXHours: {
|
28 |
+
one: "تەخمىنەن بىر سائەت",
|
29 |
+
other: "سائەت {{count}} تەخمىنەن",
|
30 |
+
},
|
31 |
+
|
32 |
+
xHours: {
|
33 |
+
one: "بىر سائەت",
|
34 |
+
other: "سائەت {{count}}",
|
35 |
+
},
|
36 |
+
|
37 |
+
xDays: {
|
38 |
+
one: "بىر كۈن",
|
39 |
+
other: "كۈن {{count}}",
|
40 |
+
},
|
41 |
+
|
42 |
+
aboutXWeeks: {
|
43 |
+
one: "تەخمىنەن بىرھەپتە",
|
44 |
+
other: "ھەپتە {{count}} تەخمىنەن",
|
45 |
+
},
|
46 |
+
|
47 |
+
xWeeks: {
|
48 |
+
one: "بىرھەپتە",
|
49 |
+
other: "ھەپتە {{count}}",
|
50 |
+
},
|
51 |
+
|
52 |
+
aboutXMonths: {
|
53 |
+
one: "تەخمىنەن بىر ئاي",
|
54 |
+
other: "ئاي {{count}} تەخمىنەن",
|
55 |
+
},
|
56 |
+
|
57 |
+
xMonths: {
|
58 |
+
one: "بىر ئاي",
|
59 |
+
other: "ئاي {{count}}",
|
60 |
+
},
|
61 |
+
|
62 |
+
aboutXYears: {
|
63 |
+
one: "تەخمىنەن بىر يىل",
|
64 |
+
other: "يىل {{count}} تەخمىنەن",
|
65 |
+
},
|
66 |
+
|
67 |
+
xYears: {
|
68 |
+
one: "بىر يىل",
|
69 |
+
other: "يىل {{count}}",
|
70 |
+
},
|
71 |
+
|
72 |
+
overXYears: {
|
73 |
+
one: "بىر يىلدىن ئارتۇق",
|
74 |
+
other: "يىلدىن ئارتۇق {{count}}",
|
75 |
+
},
|
76 |
+
|
77 |
+
almostXYears: {
|
78 |
+
one: "ئاساسەن بىر يىل",
|
79 |
+
other: "يىل {{count}} ئاساسەن",
|
80 |
+
},
|
81 |
+
};
|
82 |
+
|
83 |
+
const formatDistance = (token, count, options) => {
|
84 |
+
let result;
|
85 |
+
|
86 |
+
const tokenValue = formatDistanceLocale[token];
|
87 |
+
if (typeof tokenValue === "string") {
|
88 |
+
result = tokenValue;
|
89 |
+
} else if (count === 1) {
|
90 |
+
result = tokenValue.one;
|
91 |
+
} else {
|
92 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
93 |
+
}
|
94 |
+
|
95 |
+
if (options?.addSuffix) {
|
96 |
+
if (options.comparison && options.comparison > 0) {
|
97 |
+
return result;
|
98 |
+
} else {
|
99 |
+
return result + " بولدى";
|
100 |
+
}
|
101 |
+
}
|
102 |
+
|
103 |
+
return result;
|
104 |
+
};
|
105 |
+
exports.formatDistance = formatDistance;
|
workers1/auto3d/node_modules/date-fns/locale/ug/_lib/formatDistance.mjs
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatDistanceLocale = {
|
2 |
+
lessThanXSeconds: {
|
3 |
+
one: "بىر سىكۇنت ئىچىدە",
|
4 |
+
other: "سىكۇنت ئىچىدە {{count}}",
|
5 |
+
},
|
6 |
+
|
7 |
+
xSeconds: {
|
8 |
+
one: "بىر سىكۇنت",
|
9 |
+
other: "سىكۇنت {{count}}",
|
10 |
+
},
|
11 |
+
|
12 |
+
halfAMinute: "يىرىم مىنۇت",
|
13 |
+
|
14 |
+
lessThanXMinutes: {
|
15 |
+
one: "بىر مىنۇت ئىچىدە",
|
16 |
+
other: "مىنۇت ئىچىدە {{count}}",
|
17 |
+
},
|
18 |
+
|
19 |
+
xMinutes: {
|
20 |
+
one: "بىر مىنۇت",
|
21 |
+
other: "مىنۇت {{count}}",
|
22 |
+
},
|
23 |
+
|
24 |
+
aboutXHours: {
|
25 |
+
one: "تەخمىنەن بىر سائەت",
|
26 |
+
other: "سائەت {{count}} تەخمىنەن",
|
27 |
+
},
|
28 |
+
|
29 |
+
xHours: {
|
30 |
+
one: "بىر سائەت",
|
31 |
+
other: "سائەت {{count}}",
|
32 |
+
},
|
33 |
+
|
34 |
+
xDays: {
|
35 |
+
one: "بىر كۈن",
|
36 |
+
other: "كۈن {{count}}",
|
37 |
+
},
|
38 |
+
|
39 |
+
aboutXWeeks: {
|
40 |
+
one: "تەخمىنەن بىرھەپتە",
|
41 |
+
other: "ھەپتە {{count}} تەخمىنەن",
|
42 |
+
},
|
43 |
+
|
44 |
+
xWeeks: {
|
45 |
+
one: "بىرھەپتە",
|
46 |
+
other: "ھەپتە {{count}}",
|
47 |
+
},
|
48 |
+
|
49 |
+
aboutXMonths: {
|
50 |
+
one: "تەخمىنەن بىر ئاي",
|
51 |
+
other: "ئاي {{count}} تەخمىنەن",
|
52 |
+
},
|
53 |
+
|
54 |
+
xMonths: {
|
55 |
+
one: "بىر ئاي",
|
56 |
+
other: "ئاي {{count}}",
|
57 |
+
},
|
58 |
+
|
59 |
+
aboutXYears: {
|
60 |
+
one: "تەخمىنەن بىر يىل",
|
61 |
+
other: "يىل {{count}} تەخمىنەن",
|
62 |
+
},
|
63 |
+
|
64 |
+
xYears: {
|
65 |
+
one: "بىر يىل",
|
66 |
+
other: "يىل {{count}}",
|
67 |
+
},
|
68 |
+
|
69 |
+
overXYears: {
|
70 |
+
one: "بىر يىلدىن ئارتۇق",
|
71 |
+
other: "يىلدىن ئارتۇق {{count}}",
|
72 |
+
},
|
73 |
+
|
74 |
+
almostXYears: {
|
75 |
+
one: "ئاساسەن بىر يىل",
|
76 |
+
other: "يىل {{count}} ئاساسەن",
|
77 |
+
},
|
78 |
+
};
|
79 |
+
|
80 |
+
export const formatDistance = (token, count, options) => {
|
81 |
+
let result;
|
82 |
+
|
83 |
+
const tokenValue = formatDistanceLocale[token];
|
84 |
+
if (typeof tokenValue === "string") {
|
85 |
+
result = tokenValue;
|
86 |
+
} else if (count === 1) {
|
87 |
+
result = tokenValue.one;
|
88 |
+
} else {
|
89 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
90 |
+
}
|
91 |
+
|
92 |
+
if (options?.addSuffix) {
|
93 |
+
if (options.comparison && options.comparison > 0) {
|
94 |
+
return result;
|
95 |
+
} else {
|
96 |
+
return result + " بولدى";
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
return result;
|
101 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ug/_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/ug/_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/ug/_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, MMMM do, y",
|
7 |
+
long: "MMMM do, y",
|
8 |
+
medium: "MMM d, y",
|
9 |
+
short: "MM/dd/yyyy",
|
10 |
+
};
|
11 |
+
|
12 |
+
const timeFormats = {
|
13 |
+
full: "h:mm:ss a zzzz",
|
14 |
+
long: "h:mm:ss a z",
|
15 |
+
medium: "h:mm:ss a",
|
16 |
+
short: "h:mm a",
|
17 |
+
};
|
18 |
+
|
19 |
+
const dateTimeFormats = {
|
20 |
+
full: "{{date}} 'دە' {{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/ug/_lib/formatLong.mjs
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
2 |
+
|
3 |
+
const dateFormats = {
|
4 |
+
full: "EEEE, MMMM do, y",
|
5 |
+
long: "MMMM do, y",
|
6 |
+
medium: "MMM d, y",
|
7 |
+
short: "MM/dd/yyyy",
|
8 |
+
};
|
9 |
+
|
10 |
+
const timeFormats = {
|
11 |
+
full: "h:mm:ss a zzzz",
|
12 |
+
long: "h:mm:ss a z",
|
13 |
+
medium: "h:mm:ss a",
|
14 |
+
short: "h:mm a",
|
15 |
+
};
|
16 |
+
|
17 |
+
const dateTimeFormats = {
|
18 |
+
full: "{{date}} 'دە' {{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/ug/_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/ug/_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/ug/_lib/formatRelative.js
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatRelative = void 0;
|
3 |
+
|
4 |
+
const formatRelativeLocale = {
|
5 |
+
lastWeek: "'ئۆتكەن' eeee 'دە' p",
|
6 |
+
yesterday: "'تۈنۈگۈن دە' p",
|
7 |
+
today: "'بۈگۈن دە' p",
|
8 |
+
tomorrow: "'ئەتە دە' p",
|
9 |
+
nextWeek: "eeee 'دە' 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/ug/_lib/formatRelative.mjs
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatRelativeLocale = {
|
2 |
+
lastWeek: "'ئۆتكەن' eeee 'دە' p",
|
3 |
+
yesterday: "'تۈنۈگۈن دە' p",
|
4 |
+
today: "'بۈگۈن دە' p",
|
5 |
+
tomorrow: "'ئەتە دە' p",
|
6 |
+
nextWeek: "eeee 'دە' p",
|
7 |
+
other: "P",
|
8 |
+
};
|
9 |
+
|
10 |
+
export const formatRelative = (token, _date, _baseDate, _options) =>
|
11 |
+
formatRelativeLocale[token];
|
workers1/auto3d/node_modules/date-fns/locale/ug/_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/ug/_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/ug/_lib/localize.js
ADDED
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.localize = void 0;
|
3 |
+
var _index = require("../../_lib/buildLocalizeFn.js");
|
4 |
+
|
5 |
+
const eraValues = {
|
6 |
+
narrow: ["ب", "ك"],
|
7 |
+
abbreviated: ["ب", "ك"],
|
8 |
+
wide: ["مىيلادىدىن بۇرۇن", "مىيلادىدىن كىيىن"],
|
9 |
+
};
|
10 |
+
|
11 |
+
const quarterValues = {
|
12 |
+
narrow: ["1", "2", "3", "4"],
|
13 |
+
abbreviated: ["1", "2", "3", "4"],
|
14 |
+
wide: ["بىرىنجى چارەك", "ئىككىنجى چارەك", "ئۈچىنجى چارەك", "تۆتىنجى چارەك"],
|
15 |
+
};
|
16 |
+
|
17 |
+
// Note: in English, the names of days of the week and months are capitalized.
|
18 |
+
// If you are making a new locale based on this one, check if the same is true for the language you're working on.
|
19 |
+
// Generally, formatted dates should look like they are in the middle of a sentence,
|
20 |
+
// e.g. in Spanish language the weekdays and months should be in the lowercase.
|
21 |
+
const monthValues = {
|
22 |
+
narrow: ["ي", "ف", "م", "ا", "م", "ى", "ى", "ا", "س", "ۆ", "ن", "د"],
|
23 |
+
abbreviated: [
|
24 |
+
"يانۋار",
|
25 |
+
"فېۋىرال",
|
26 |
+
"مارت",
|
27 |
+
"ئاپرىل",
|
28 |
+
"ماي",
|
29 |
+
"ئىيۇن",
|
30 |
+
"ئىيول",
|
31 |
+
"ئاۋغۇست",
|
32 |
+
"سىنتەبىر",
|
33 |
+
"ئۆكتەبىر",
|
34 |
+
"نويابىر",
|
35 |
+
"دىكابىر",
|
36 |
+
],
|
37 |
+
|
38 |
+
wide: [
|
39 |
+
"يانۋار",
|
40 |
+
"فېۋىرال",
|
41 |
+
"مارت",
|
42 |
+
"ئاپرىل",
|
43 |
+
"ماي",
|
44 |
+
"ئىيۇن",
|
45 |
+
"ئىيول",
|
46 |
+
"ئاۋغۇست",
|
47 |
+
"سىنتەبىر",
|
48 |
+
"ئۆكتەبىر",
|
49 |
+
"نويابىر",
|
50 |
+
"دىكابىر",
|
51 |
+
],
|
52 |
+
};
|
53 |
+
|
54 |
+
const dayValues = {
|
55 |
+
narrow: ["ي", "د", "س", "چ", "پ", "ج", "ش"],
|
56 |
+
short: ["ي", "د", "س", "چ", "پ", "ج", "ش"],
|
57 |
+
abbreviated: [
|
58 |
+
"يەكشەنبە",
|
59 |
+
"دۈشەنبە",
|
60 |
+
"سەيشەنبە",
|
61 |
+
"چارشەنبە",
|
62 |
+
"پەيشەنبە",
|
63 |
+
"جۈمە",
|
64 |
+
"شەنبە",
|
65 |
+
],
|
66 |
+
|
67 |
+
wide: [
|
68 |
+
"يەكشەنبە",
|
69 |
+
"دۈشەنبە",
|
70 |
+
"سەيشەنبە",
|
71 |
+
"چارشەنبە",
|
72 |
+
"پەيشەنبە",
|
73 |
+
"جۈمە",
|
74 |
+
"شەنبە",
|
75 |
+
],
|
76 |
+
};
|
77 |
+
|
78 |
+
const dayPeriodValues = {
|
79 |
+
narrow: {
|
80 |
+
am: "ئە",
|
81 |
+
pm: "چ",
|
82 |
+
midnight: "ك",
|
83 |
+
noon: "چ",
|
84 |
+
morning: "ئەتىگەن",
|
85 |
+
afternoon: "چۈشتىن كىيىن",
|
86 |
+
evening: "ئاخشىم",
|
87 |
+
night: "كىچە",
|
88 |
+
},
|
89 |
+
abbreviated: {
|
90 |
+
am: "ئە",
|
91 |
+
pm: "چ",
|
92 |
+
midnight: "ك",
|
93 |
+
noon: "چ",
|
94 |
+
morning: "ئەتىگەن",
|
95 |
+
afternoon: "چۈشتىن كىيىن",
|
96 |
+
evening: "ئاخشىم",
|
97 |
+
night: "كىچە",
|
98 |
+
},
|
99 |
+
wide: {
|
100 |
+
am: "ئە",
|
101 |
+
pm: "چ",
|
102 |
+
midnight: "ك",
|
103 |
+
noon: "چ",
|
104 |
+
morning: "ئەتىگەن",
|
105 |
+
afternoon: "چۈشتىن كىيىن",
|
106 |
+
evening: "ئاخشىم",
|
107 |
+
night: "كىچە",
|
108 |
+
},
|
109 |
+
};
|
110 |
+
|
111 |
+
const formattingDayPeriodValues = {
|
112 |
+
narrow: {
|
113 |
+
am: "ئە",
|
114 |
+
pm: "چ",
|
115 |
+
midnight: "ك",
|
116 |
+
noon: "چ",
|
117 |
+
morning: "ئەتىگەندە",
|
118 |
+
afternoon: "چۈشتىن كىيىن",
|
119 |
+
evening: "ئاخشامدا",
|
120 |
+
night: "كىچىدە",
|
121 |
+
},
|
122 |
+
abbreviated: {
|
123 |
+
am: "ئە",
|
124 |
+
pm: "چ",
|
125 |
+
midnight: "ك",
|
126 |
+
noon: "چ",
|
127 |
+
morning: "ئەتىگەندە",
|
128 |
+
afternoon: "چۈشتىن كىيىن",
|
129 |
+
evening: "ئاخشامدا",
|
130 |
+
night: "كىچىدە",
|
131 |
+
},
|
132 |
+
wide: {
|
133 |
+
am: "ئە",
|
134 |
+
pm: "چ",
|
135 |
+
midnight: "ك",
|
136 |
+
noon: "چ",
|
137 |
+
morning: "ئەتىگەندە",
|
138 |
+
afternoon: "چۈشتىن كىيىن",
|
139 |
+
evening: "ئاخشامدا",
|
140 |
+
night: "كىچىدە",
|
141 |
+
},
|
142 |
+
};
|
143 |
+
|
144 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
145 |
+
return String(dirtyNumber);
|
146 |
+
};
|
147 |
+
|
148 |
+
const localize = (exports.localize = {
|
149 |
+
ordinalNumber,
|
150 |
+
|
151 |
+
era: (0, _index.buildLocalizeFn)({
|
152 |
+
values: eraValues,
|
153 |
+
defaultWidth: "wide",
|
154 |
+
}),
|
155 |
+
|
156 |
+
quarter: (0, _index.buildLocalizeFn)({
|
157 |
+
values: quarterValues,
|
158 |
+
defaultWidth: "wide",
|
159 |
+
argumentCallback: (quarter) => quarter - 1,
|
160 |
+
}),
|
161 |
+
|
162 |
+
month: (0, _index.buildLocalizeFn)({
|
163 |
+
values: monthValues,
|
164 |
+
defaultWidth: "wide",
|
165 |
+
}),
|
166 |
+
|
167 |
+
day: (0, _index.buildLocalizeFn)({
|
168 |
+
values: dayValues,
|
169 |
+
defaultWidth: "wide",
|
170 |
+
}),
|
171 |
+
|
172 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
173 |
+
values: dayPeriodValues,
|
174 |
+
defaultWidth: "wide",
|
175 |
+
formattingValues: formattingDayPeriodValues,
|
176 |
+
defaultFormattingWidth: "wide",
|
177 |
+
}),
|
178 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/ug/_lib/localize.mjs
ADDED
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: ["بىرىنجى چارەك", "ئىككىنجى چارەك", "ئۈچىنجى چارەك", "تۆتىنجى چارەك"],
|
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: ["ي", "د", "س", "چ", "پ", "ج", "ش"],
|
55 |
+
abbreviated: [
|
56 |
+
"يەكشەنبە",
|
57 |
+
"دۈشەنبە",
|
58 |
+
"سەيشەنبە",
|
59 |
+
"چارشەنبە",
|
60 |
+
"پەيشەنبە",
|
61 |
+
"جۈمە",
|
62 |
+
"شەنبە",
|
63 |
+
],
|
64 |
+
|
65 |
+
wide: [
|
66 |
+
"يەكشەنبە",
|
67 |
+
"دۈشەنبە",
|
68 |
+
"سەيشەنبە",
|
69 |
+
"چارشەنبە",
|
70 |
+
"پەيشەنبە",
|
71 |
+
"جۈمە",
|
72 |
+
"شەنبە",
|
73 |
+
],
|
74 |
+
};
|
75 |
+
|
76 |
+
const dayPeriodValues = {
|
77 |
+
narrow: {
|
78 |
+
am: "ئە",
|
79 |
+
pm: "چ",
|
80 |
+
midnight: "ك",
|
81 |
+
noon: "چ",
|
82 |
+
morning: "ئەتىگەن",
|
83 |
+
afternoon: "چۈشتىن كىيىن",
|
84 |
+
evening: "ئاخشىم",
|
85 |
+
night: "كىچە",
|
86 |
+
},
|
87 |
+
abbreviated: {
|
88 |
+
am: "ئە",
|
89 |
+
pm: "چ",
|
90 |
+
midnight: "ك",
|
91 |
+
noon: "چ",
|
92 |
+
morning: "ئەتىگەن",
|
93 |
+
afternoon: "چۈشتىن كىيىن",
|
94 |
+
evening: "ئاخشىم",
|
95 |
+
night: "كىچە",
|
96 |
+
},
|
97 |
+
wide: {
|
98 |
+
am: "ئە",
|
99 |
+
pm: "چ",
|
100 |
+
midnight: "ك",
|
101 |
+
noon: "چ",
|
102 |
+
morning: "ئەتىگەن",
|
103 |
+
afternoon: "چۈشتىن كىيىن",
|
104 |
+
evening: "ئاخشىم",
|
105 |
+
night: "كىچە",
|
106 |
+
},
|
107 |
+
};
|
108 |
+
|
109 |
+
const formattingDayPeriodValues = {
|
110 |
+
narrow: {
|
111 |
+
am: "ئە",
|
112 |
+
pm: "چ",
|
113 |
+
midnight: "ك",
|
114 |
+
noon: "چ",
|
115 |
+
morning: "ئەتىگەندە",
|
116 |
+
afternoon: "چۈشتىن كىيىن",
|
117 |
+
evening: "ئاخشامدا",
|
118 |
+
night: "كىچىدە",
|
119 |
+
},
|
120 |
+
abbreviated: {
|
121 |
+
am: "ئە",
|
122 |
+
pm: "چ",
|
123 |
+
midnight: "ك",
|
124 |
+
noon: "چ",
|
125 |
+
morning: "ئەتىگەندە",
|
126 |
+
afternoon: "چۈشتىن كىيىن",
|
127 |
+
evening: "ئاخشامدا",
|
128 |
+
night: "كىچىدە",
|
129 |
+
},
|
130 |
+
wide: {
|
131 |
+
am: "ئە",
|
132 |
+
pm: "چ",
|
133 |
+
midnight: "ك",
|
134 |
+
noon: "چ",
|
135 |
+
morning: "ئەتىگەندە",
|
136 |
+
afternoon: "چۈشتىن كىيىن",
|
137 |
+
evening: "ئاخشامدا",
|
138 |
+
night: "كىچىدە",
|
139 |
+
},
|
140 |
+
};
|
141 |
+
|
142 |
+
const ordinalNumber = (dirtyNumber, _options) => {
|
143 |
+
return String(dirtyNumber);
|
144 |
+
};
|
145 |
+
|
146 |
+
export const localize = {
|
147 |
+
ordinalNumber,
|
148 |
+
|
149 |
+
era: buildLocalizeFn({
|
150 |
+
values: eraValues,
|
151 |
+
defaultWidth: "wide",
|
152 |
+
}),
|
153 |
+
|
154 |
+
quarter: buildLocalizeFn({
|
155 |
+
values: quarterValues,
|
156 |
+
defaultWidth: "wide",
|
157 |
+
argumentCallback: (quarter) => quarter - 1,
|
158 |
+
}),
|
159 |
+
|
160 |
+
month: buildLocalizeFn({
|
161 |
+
values: monthValues,
|
162 |
+
defaultWidth: "wide",
|
163 |
+
}),
|
164 |
+
|
165 |
+
day: buildLocalizeFn({
|
166 |
+
values: dayValues,
|
167 |
+
defaultWidth: "wide",
|
168 |
+
}),
|
169 |
+
|
170 |
+
dayPeriod: buildLocalizeFn({
|
171 |
+
values: dayPeriodValues,
|
172 |
+
defaultWidth: "wide",
|
173 |
+
formattingValues: formattingDayPeriodValues,
|
174 |
+
defaultFormattingWidth: "wide",
|
175 |
+
}),
|
176 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ug/_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/ug/_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/ug/_lib/match.js
ADDED
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i,
|
13 |
+
};
|
14 |
+
const parseEraPatterns = {
|
15 |
+
any: [/^بۇرۇن/i, /^كىيىن/i],
|
16 |
+
};
|
17 |
+
|
18 |
+
const matchQuarterPatterns = {
|
19 |
+
narrow: /^[1234]/i,
|
20 |
+
abbreviated: /^چ[1234]/i,
|
21 |
+
wide: /^چارەك [1234]/i,
|
22 |
+
};
|
23 |
+
const parseQuarterPatterns = {
|
24 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
25 |
+
};
|
26 |
+
|
27 |
+
const matchMonthPatterns = {
|
28 |
+
// eslint-disable-next-line no-misleading-character-class
|
29 |
+
narrow: /^[يفمئامئئاسۆند]/i,
|
30 |
+
abbreviated:
|
31 |
+
/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
|
32 |
+
wide: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
|
33 |
+
};
|
34 |
+
const parseMonthPatterns = {
|
35 |
+
narrow: [
|
36 |
+
/^ي/i,
|
37 |
+
/^ف/i,
|
38 |
+
/^م/i,
|
39 |
+
/^ا/i,
|
40 |
+
/^م/i,
|
41 |
+
/^ى/i,
|
42 |
+
/^ى/i,
|
43 |
+
/^ا/i,
|
44 |
+
/^س/i,
|
45 |
+
/^ۆ/i,
|
46 |
+
/^ن/i,
|
47 |
+
/^د/i,
|
48 |
+
],
|
49 |
+
|
50 |
+
any: [
|
51 |
+
/^يان/i,
|
52 |
+
/^فېۋ/i,
|
53 |
+
/^مار/i,
|
54 |
+
/^ئاپ/i,
|
55 |
+
/^ماي/i,
|
56 |
+
/^ئىيۇن/i,
|
57 |
+
/^ئىيول/i,
|
58 |
+
/^ئاۋ/i,
|
59 |
+
/^سىن/i,
|
60 |
+
/^ئۆك/i,
|
61 |
+
/^نوي/i,
|
62 |
+
/^دىك/i,
|
63 |
+
],
|
64 |
+
};
|
65 |
+
|
66 |
+
const matchDayPatterns = {
|
67 |
+
narrow: /^[دسچپجشي]/i,
|
68 |
+
short: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
|
69 |
+
abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
|
70 |
+
wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i,
|
71 |
+
};
|
72 |
+
const parseDayPatterns = {
|
73 |
+
narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
|
74 |
+
any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
|
75 |
+
};
|
76 |
+
|
77 |
+
const matchDayPeriodPatterns = {
|
78 |
+
narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
|
79 |
+
any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
|
80 |
+
};
|
81 |
+
const parseDayPeriodPatterns = {
|
82 |
+
any: {
|
83 |
+
am: /^ئە/i,
|
84 |
+
pm: /^چ/i,
|
85 |
+
midnight: /^ك/i,
|
86 |
+
noon: /^چ/i,
|
87 |
+
morning: /ئەتىگەن/i,
|
88 |
+
afternoon: /چۈشتىن كىيىن/i,
|
89 |
+
evening: /ئاخشىم/i,
|
90 |
+
night: /كىچە/i,
|
91 |
+
},
|
92 |
+
};
|
93 |
+
|
94 |
+
const match = (exports.match = {
|
95 |
+
ordinalNumber: (0, _index2.buildMatchPatternFn)({
|
96 |
+
matchPattern: matchOrdinalNumberPattern,
|
97 |
+
parsePattern: parseOrdinalNumberPattern,
|
98 |
+
valueCallback: (value) => parseInt(value, 10),
|
99 |
+
}),
|
100 |
+
|
101 |
+
era: (0, _index.buildMatchFn)({
|
102 |
+
matchPatterns: matchEraPatterns,
|
103 |
+
defaultMatchWidth: "wide",
|
104 |
+
parsePatterns: parseEraPatterns,
|
105 |
+
defaultParseWidth: "any",
|
106 |
+
}),
|
107 |
+
|
108 |
+
quarter: (0, _index.buildMatchFn)({
|
109 |
+
matchPatterns: matchQuarterPatterns,
|
110 |
+
defaultMatchWidth: "wide",
|
111 |
+
parsePatterns: parseQuarterPatterns,
|
112 |
+
defaultParseWidth: "any",
|
113 |
+
valueCallback: (index) => index + 1,
|
114 |
+
}),
|
115 |
+
|
116 |
+
month: (0, _index.buildMatchFn)({
|
117 |
+
matchPatterns: matchMonthPatterns,
|
118 |
+
defaultMatchWidth: "wide",
|
119 |
+
parsePatterns: parseMonthPatterns,
|
120 |
+
defaultParseWidth: "any",
|
121 |
+
}),
|
122 |
+
|
123 |
+
day: (0, _index.buildMatchFn)({
|
124 |
+
matchPatterns: matchDayPatterns,
|
125 |
+
defaultMatchWidth: "wide",
|
126 |
+
parsePatterns: parseDayPatterns,
|
127 |
+
defaultParseWidth: "any",
|
128 |
+
}),
|
129 |
+
|
130 |
+
dayPeriod: (0, _index.buildMatchFn)({
|
131 |
+
matchPatterns: matchDayPeriodPatterns,
|
132 |
+
defaultMatchWidth: "any",
|
133 |
+
parsePatterns: parseDayPeriodPatterns,
|
134 |
+
defaultParseWidth: "any",
|
135 |
+
}),
|
136 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/ug/_lib/match.mjs
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i,
|
10 |
+
};
|
11 |
+
const parseEraPatterns = {
|
12 |
+
any: [/^بۇرۇن/i, /^كىيىن/i],
|
13 |
+
};
|
14 |
+
|
15 |
+
const matchQuarterPatterns = {
|
16 |
+
narrow: /^[1234]/i,
|
17 |
+
abbreviated: /^چ[1234]/i,
|
18 |
+
wide: /^چارەك [1234]/i,
|
19 |
+
};
|
20 |
+
const parseQuarterPatterns = {
|
21 |
+
any: [/1/i, /2/i, /3/i, /4/i],
|
22 |
+
};
|
23 |
+
|
24 |
+
const matchMonthPatterns = {
|
25 |
+
// eslint-disable-next-line no-misleading-character-class
|
26 |
+
narrow: /^[يفمئامئئاسۆند]/i,
|
27 |
+
abbreviated:
|
28 |
+
/^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
|
29 |
+
wide: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
|
30 |
+
};
|
31 |
+
const parseMonthPatterns = {
|
32 |
+
narrow: [
|
33 |
+
/^ي/i,
|
34 |
+
/^ف/i,
|
35 |
+
/^م/i,
|
36 |
+
/^ا/i,
|
37 |
+
/^م/i,
|
38 |
+
/^ى/i,
|
39 |
+
/^ى/i,
|
40 |
+
/^ا/i,
|
41 |
+
/^س/i,
|
42 |
+
/^ۆ/i,
|
43 |
+
/^ن/i,
|
44 |
+
/^د/i,
|
45 |
+
],
|
46 |
+
|
47 |
+
any: [
|
48 |
+
/^يان/i,
|
49 |
+
/^فېۋ/i,
|
50 |
+
/^مار/i,
|
51 |
+
/^ئاپ/i,
|
52 |
+
/^ماي/i,
|
53 |
+
/^ئىيۇن/i,
|
54 |
+
/^ئىيول/i,
|
55 |
+
/^ئاۋ/i,
|
56 |
+
/^سىن/i,
|
57 |
+
/^ئۆك/i,
|
58 |
+
/^نوي/i,
|
59 |
+
/^دىك/i,
|
60 |
+
],
|
61 |
+
};
|
62 |
+
|
63 |
+
const matchDayPatterns = {
|
64 |
+
narrow: /^[دسچپجشي]/i,
|
65 |
+
short: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
|
66 |
+
abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
|
67 |
+
wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i,
|
68 |
+
};
|
69 |
+
const parseDayPatterns = {
|
70 |
+
narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
|
71 |
+
any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
|
72 |
+
};
|
73 |
+
|
74 |
+
const matchDayPeriodPatterns = {
|
75 |
+
narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
|
76 |
+
any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
|
77 |
+
};
|
78 |
+
const parseDayPeriodPatterns = {
|
79 |
+
any: {
|
80 |
+
am: /^ئە/i,
|
81 |
+
pm: /^چ/i,
|
82 |
+
midnight: /^ك/i,
|
83 |
+
noon: /^چ/i,
|
84 |
+
morning: /ئەتىگەن/i,
|
85 |
+
afternoon: /چۈشتىن كىيىن/i,
|
86 |
+
evening: /ئاخشىم/i,
|
87 |
+
night: /كىچە/i,
|
88 |
+
},
|
89 |
+
};
|
90 |
+
|
91 |
+
export const match = {
|
92 |
+
ordinalNumber: buildMatchPatternFn({
|
93 |
+
matchPattern: matchOrdinalNumberPattern,
|
94 |
+
parsePattern: parseOrdinalNumberPattern,
|
95 |
+
valueCallback: (value) => parseInt(value, 10),
|
96 |
+
}),
|
97 |
+
|
98 |
+
era: buildMatchFn({
|
99 |
+
matchPatterns: matchEraPatterns,
|
100 |
+
defaultMatchWidth: "wide",
|
101 |
+
parsePatterns: parseEraPatterns,
|
102 |
+
defaultParseWidth: "any",
|
103 |
+
}),
|
104 |
+
|
105 |
+
quarter: buildMatchFn({
|
106 |
+
matchPatterns: matchQuarterPatterns,
|
107 |
+
defaultMatchWidth: "wide",
|
108 |
+
parsePatterns: parseQuarterPatterns,
|
109 |
+
defaultParseWidth: "any",
|
110 |
+
valueCallback: (index) => index + 1,
|
111 |
+
}),
|
112 |
+
|
113 |
+
month: buildMatchFn({
|
114 |
+
matchPatterns: matchMonthPatterns,
|
115 |
+
defaultMatchWidth: "wide",
|
116 |
+
parsePatterns: parseMonthPatterns,
|
117 |
+
defaultParseWidth: "any",
|
118 |
+
}),
|
119 |
+
|
120 |
+
day: buildMatchFn({
|
121 |
+
matchPatterns: matchDayPatterns,
|
122 |
+
defaultMatchWidth: "wide",
|
123 |
+
parsePatterns: parseDayPatterns,
|
124 |
+
defaultParseWidth: "any",
|
125 |
+
}),
|
126 |
+
|
127 |
+
dayPeriod: buildMatchFn({
|
128 |
+
matchPatterns: matchDayPeriodPatterns,
|
129 |
+
defaultMatchWidth: "any",
|
130 |
+
parsePatterns: parseDayPeriodPatterns,
|
131 |
+
defaultParseWidth: "any",
|
132 |
+
}),
|
133 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/ug/cdn.js
ADDED
@@ -0,0 +1,524 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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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/ug/_lib/formatDistance.mjs
|
13 |
+
var formatDistanceLocale = {
|
14 |
+
lessThanXSeconds: {
|
15 |
+
one: "\u0628\u0649\u0631 \u0633\u0649\u0643\u06C7\u0646\u062A \u0626\u0649\u0686\u0649\u062F\u06D5",
|
16 |
+
other: "\u0633\u0649\u0643\u06C7\u0646\u062A \u0626\u0649\u0686\u0649\u062F\u06D5 {{count}}"
|
17 |
+
},
|
18 |
+
xSeconds: {
|
19 |
+
one: "\u0628\u0649\u0631 \u0633\u0649\u0643\u06C7\u0646\u062A",
|
20 |
+
other: "\u0633\u0649\u0643\u06C7\u0646\u062A {{count}}"
|
21 |
+
},
|
22 |
+
halfAMinute: "\u064A\u0649\u0631\u0649\u0645 \u0645\u0649\u0646\u06C7\u062A",
|
23 |
+
lessThanXMinutes: {
|
24 |
+
one: "\u0628\u0649\u0631 \u0645\u0649\u0646\u06C7\u062A \u0626\u0649\u0686\u0649\u062F\u06D5",
|
25 |
+
other: "\u0645\u0649\u0646\u06C7\u062A \u0626\u0649\u0686\u0649\u062F\u06D5 {{count}}"
|
26 |
+
},
|
27 |
+
xMinutes: {
|
28 |
+
one: "\u0628\u0649\u0631 \u0645\u0649\u0646\u06C7\u062A",
|
29 |
+
other: "\u0645\u0649\u0646\u06C7\u062A {{count}}"
|
30 |
+
},
|
31 |
+
aboutXHours: {
|
32 |
+
one: "\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631 \u0633\u0627\u0626\u06D5\u062A",
|
33 |
+
other: "\u0633\u0627\u0626\u06D5\u062A {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"
|
34 |
+
},
|
35 |
+
xHours: {
|
36 |
+
one: "\u0628\u0649\u0631 \u0633\u0627\u0626\u06D5\u062A",
|
37 |
+
other: "\u0633\u0627\u0626\u06D5\u062A {{count}}"
|
38 |
+
},
|
39 |
+
xDays: {
|
40 |
+
one: "\u0628\u0649\u0631 \u0643\u06C8\u0646",
|
41 |
+
other: "\u0643\u06C8\u0646 {{count}}"
|
42 |
+
},
|
43 |
+
aboutXWeeks: {
|
44 |
+
one: "\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631\u06BE\u06D5\u067E\u062A\u06D5",
|
45 |
+
other: "\u06BE\u06D5\u067E\u062A\u06D5 {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"
|
46 |
+
},
|
47 |
+
xWeeks: {
|
48 |
+
one: "\u0628\u0649\u0631\u06BE\u06D5\u067E\u062A\u06D5",
|
49 |
+
other: "\u06BE\u06D5\u067E\u062A\u06D5 {{count}}"
|
50 |
+
},
|
51 |
+
aboutXMonths: {
|
52 |
+
one: "\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631 \u0626\u0627\u064A",
|
53 |
+
other: "\u0626\u0627\u064A {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"
|
54 |
+
},
|
55 |
+
xMonths: {
|
56 |
+
one: "\u0628\u0649\u0631 \u0626\u0627\u064A",
|
57 |
+
other: "\u0626\u0627\u064A {{count}}"
|
58 |
+
},
|
59 |
+
aboutXYears: {
|
60 |
+
one: "\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631 \u064A\u0649\u0644",
|
61 |
+
other: "\u064A\u0649\u0644 {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"
|
62 |
+
},
|
63 |
+
xYears: {
|
64 |
+
one: "\u0628\u0649\u0631 \u064A\u0649\u0644",
|
65 |
+
other: "\u064A\u0649\u0644 {{count}}"
|
66 |
+
},
|
67 |
+
overXYears: {
|
68 |
+
one: "\u0628\u0649\u0631 \u064A\u0649\u0644\u062F\u0649\u0646 \u0626\u0627\u0631\u062A\u06C7\u0642",
|
69 |
+
other: "\u064A\u0649\u0644\u062F\u0649\u0646 \u0626\u0627\u0631\u062A\u06C7\u0642 {{count}}"
|
70 |
+
},
|
71 |
+
almostXYears: {
|
72 |
+
one: "\u0626\u0627\u0633\u0627\u0633\u06D5\u0646 \u0628\u0649\u0631 \u064A\u0649\u0644",
|
73 |
+
other: "\u064A\u0649\u0644 {{count}} \u0626\u0627\u0633\u0627\u0633\u06D5\u0646"
|
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 result;
|
89 |
+
} else {
|
90 |
+
return result + " \u0628\u0648\u0644\u062F\u0649";
|
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/ug/_lib/formatLong.mjs
|
106 |
+
var dateFormats = {
|
107 |
+
full: "EEEE, MMMM do, y",
|
108 |
+
long: "MMMM do, y",
|
109 |
+
medium: "MMM d, y",
|
110 |
+
short: "MM/dd/yyyy"
|
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\u06D5' {{time}}",
|
120 |
+
long: "{{date}} '\u062F\u06D5' {{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/ug/_lib/formatRelative.mjs
|
140 |
+
var formatRelativeLocale = {
|
141 |
+
lastWeek: "'\u0626\u200D\u06C6\u062A\u0643\u06D5\u0646' eeee '\u062F\u06D5' p",
|
142 |
+
yesterday: "'\u062A\u06C8\u0646\u06C8\u06AF\u06C8\u0646 \u062F\u06D5' p",
|
143 |
+
today: "'\u0628\u06C8\u06AF\u06C8\u0646 \u062F\u06D5' p",
|
144 |
+
tomorrow: "'\u0626\u06D5\u062A\u06D5 \u062F\u06D5' p",
|
145 |
+
nextWeek: "eeee '\u062F\u06D5' 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/ug/_lib/localize.mjs
|
170 |
+
var eraValues = {
|
171 |
+
narrow: ["\u0628", "\u0643"],
|
172 |
+
abbreviated: ["\u0628", "\u0643"],
|
173 |
+
wide: ["\u0645\u0649\u064A\u0644\u0627\u062F\u0649\u062F\u0649\u0646 \u0628\u06C7\u0631\u06C7\u0646", "\u0645\u0649\u064A\u0644\u0627\u062F\u0649\u062F\u0649\u0646 \u0643\u0649\u064A\u0649\u0646"]
|
174 |
+
};
|
175 |
+
var quarterValues = {
|
176 |
+
narrow: ["1", "2", "3", "4"],
|
177 |
+
abbreviated: ["1", "2", "3", "4"],
|
178 |
+
wide: ["\u0628\u0649\u0631\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643", "\u0626\u0649\u0643\u0643\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643", "\u0626\u06C8\u0686\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643", "\u062A\u06C6\u062A\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643"]
|
179 |
+
};
|
180 |
+
var monthValues = {
|
181 |
+
narrow: ["\u064A", "\u0641", "\u0645", "\u0627", "\u0645", "\u0649", "\u0649", "\u0627", "\u0633", "\u06C6", "\u0646", "\u062F"],
|
182 |
+
abbreviated: [
|
183 |
+
"\u064A\u0627\u0646\u06CB\u0627\u0631",
|
184 |
+
"\u0641\u06D0\u06CB\u0649\u0631\u0627\u0644",
|
185 |
+
"\u0645\u0627\u0631\u062A",
|
186 |
+
"\u0626\u0627\u067E\u0631\u0649\u0644",
|
187 |
+
"\u0645\u0627\u064A",
|
188 |
+
"\u0626\u0649\u064A\u06C7\u0646",
|
189 |
+
"\u0626\u0649\u064A\u0648\u0644",
|
190 |
+
"\u0626\u0627\u06CB\u063A\u06C7\u0633\u062A",
|
191 |
+
"\u0633\u0649\u0646\u062A\u06D5\u0628\u0649\u0631",
|
192 |
+
"\u0626\u06C6\u0643\u062A\u06D5\u0628\u0649\u0631",
|
193 |
+
"\u0646\u0648\u064A\u0627\u0628\u0649\u0631",
|
194 |
+
"\u062F\u0649\u0643\u0627\u0628\u0649\u0631"],
|
195 |
+
|
196 |
+
wide: [
|
197 |
+
"\u064A\u0627\u0646\u06CB\u0627\u0631",
|
198 |
+
"\u0641\u06D0\u06CB\u0649\u0631\u0627\u0644",
|
199 |
+
"\u0645\u0627\u0631\u062A",
|
200 |
+
"\u0626\u0627\u067E\u0631\u0649\u0644",
|
201 |
+
"\u0645\u0627\u064A",
|
202 |
+
"\u0626\u0649\u064A\u06C7\u0646",
|
203 |
+
"\u0626\u0649\u064A\u0648\u0644",
|
204 |
+
"\u0626\u0627\u06CB\u063A\u06C7\u0633\u062A",
|
205 |
+
"\u0633\u0649\u0646\u062A\u06D5\u0628\u0649\u0631",
|
206 |
+
"\u0626\u06C6\u0643\u062A\u06D5\u0628\u0649\u0631",
|
207 |
+
"\u0646\u0648\u064A\u0627\u0628\u0649\u0631",
|
208 |
+
"\u062F\u0649\u0643\u0627\u0628\u0649\u0631"]
|
209 |
+
|
210 |
+
};
|
211 |
+
var dayValues = {
|
212 |
+
narrow: ["\u064A", "\u062F", "\u0633", "\u0686", "\u067E", "\u062C", "\u0634"],
|
213 |
+
short: ["\u064A", "\u062F", "\u0633", "\u0686", "\u067E", "\u062C", "\u0634"],
|
214 |
+
abbreviated: [
|
215 |
+
"\u064A\u06D5\u0643\u0634\u06D5\u0646\u0628\u06D5",
|
216 |
+
"\u062F\u06C8\u0634\u06D5\u0646\u0628\u06D5",
|
217 |
+
"\u0633\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5",
|
218 |
+
"\u0686\u0627\u0631\u0634\u06D5\u0646\u0628\u06D5",
|
219 |
+
"\u067E\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5",
|
220 |
+
"\u062C\u06C8\u0645\u06D5",
|
221 |
+
"\u0634\u06D5\u0646\u0628\u06D5"],
|
222 |
+
|
223 |
+
wide: [
|
224 |
+
"\u064A\u06D5\u0643\u0634\u06D5\u0646\u0628\u06D5",
|
225 |
+
"\u062F\u06C8\u0634\u06D5\u0646\u0628\u06D5",
|
226 |
+
"\u0633\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5",
|
227 |
+
"\u0686\u0627\u0631\u0634\u06D5\u0646\u0628\u06D5",
|
228 |
+
"\u067E\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5",
|
229 |
+
"\u062C\u06C8\u0645\u06D5",
|
230 |
+
"\u0634\u06D5\u0646\u0628\u06D5"]
|
231 |
+
|
232 |
+
};
|
233 |
+
var dayPeriodValues = {
|
234 |
+
narrow: {
|
235 |
+
am: "\u0626\u06D5",
|
236 |
+
pm: "\u0686",
|
237 |
+
midnight: "\u0643",
|
238 |
+
noon: "\u0686",
|
239 |
+
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646",
|
240 |
+
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
|
241 |
+
evening: "\u0626\u0627\u062E\u0634\u0649\u0645",
|
242 |
+
night: "\u0643\u0649\u0686\u06D5"
|
243 |
+
},
|
244 |
+
abbreviated: {
|
245 |
+
am: "\u0626\u06D5",
|
246 |
+
pm: "\u0686",
|
247 |
+
midnight: "\u0643",
|
248 |
+
noon: "\u0686",
|
249 |
+
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646",
|
250 |
+
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
|
251 |
+
evening: "\u0626\u0627\u062E\u0634\u0649\u0645",
|
252 |
+
night: "\u0643\u0649\u0686\u06D5"
|
253 |
+
},
|
254 |
+
wide: {
|
255 |
+
am: "\u0626\u06D5",
|
256 |
+
pm: "\u0686",
|
257 |
+
midnight: "\u0643",
|
258 |
+
noon: "\u0686",
|
259 |
+
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646",
|
260 |
+
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
|
261 |
+
evening: "\u0626\u0627\u062E\u0634\u0649\u0645",
|
262 |
+
night: "\u0643\u0649\u0686\u06D5"
|
263 |
+
}
|
264 |
+
};
|
265 |
+
var formattingDayPeriodValues = {
|
266 |
+
narrow: {
|
267 |
+
am: "\u0626\u06D5",
|
268 |
+
pm: "\u0686",
|
269 |
+
midnight: "\u0643",
|
270 |
+
noon: "\u0686",
|
271 |
+
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646\u062F\u06D5",
|
272 |
+
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
|
273 |
+
evening: "\u0626\u0627\u062E\u0634\u0627\u0645\u062F\u0627",
|
274 |
+
night: "\u0643\u0649\u0686\u0649\u062F\u06D5"
|
275 |
+
},
|
276 |
+
abbreviated: {
|
277 |
+
am: "\u0626\u06D5",
|
278 |
+
pm: "\u0686",
|
279 |
+
midnight: "\u0643",
|
280 |
+
noon: "\u0686",
|
281 |
+
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646\u062F\u06D5",
|
282 |
+
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
|
283 |
+
evening: "\u0626\u0627\u062E\u0634\u0627\u0645\u062F\u0627",
|
284 |
+
night: "\u0643\u0649\u0686\u0649\u062F\u06D5"
|
285 |
+
},
|
286 |
+
wide: {
|
287 |
+
am: "\u0626\u06D5",
|
288 |
+
pm: "\u0686",
|
289 |
+
midnight: "\u0643",
|
290 |
+
noon: "\u0686",
|
291 |
+
morning: "\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646\u062F\u06D5",
|
292 |
+
afternoon: "\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",
|
293 |
+
evening: "\u0626\u0627\u062E\u0634\u0627\u0645\u062F\u0627",
|
294 |
+
night: "\u0643\u0649\u0686\u0649\u062F\u06D5"
|
295 |
+
}
|
296 |
+
};
|
297 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, _options) {
|
298 |
+
return String(dirtyNumber);
|
299 |
+
};
|
300 |
+
var localize = {
|
301 |
+
ordinalNumber: ordinalNumber,
|
302 |
+
era: buildLocalizeFn({
|
303 |
+
values: eraValues,
|
304 |
+
defaultWidth: "wide"
|
305 |
+
}),
|
306 |
+
quarter: buildLocalizeFn({
|
307 |
+
values: quarterValues,
|
308 |
+
defaultWidth: "wide",
|
309 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
310 |
+
}),
|
311 |
+
month: buildLocalizeFn({
|
312 |
+
values: monthValues,
|
313 |
+
defaultWidth: "wide"
|
314 |
+
}),
|
315 |
+
day: buildLocalizeFn({
|
316 |
+
values: dayValues,
|
317 |
+
defaultWidth: "wide"
|
318 |
+
}),
|
319 |
+
dayPeriod: buildLocalizeFn({
|
320 |
+
values: dayPeriodValues,
|
321 |
+
defaultWidth: "wide",
|
322 |
+
formattingValues: formattingDayPeriodValues,
|
323 |
+
defaultFormattingWidth: "wide"
|
324 |
+
})
|
325 |
+
};
|
326 |
+
|
327 |
+
// lib/locale/_lib/buildMatchFn.mjs
|
328 |
+
function buildMatchFn(args) {
|
329 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
330 |
+
var width = options.width;
|
331 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
332 |
+
var matchResult = string.match(matchPattern);
|
333 |
+
if (!matchResult) {
|
334 |
+
return null;
|
335 |
+
}
|
336 |
+
var matchedString = matchResult[0];
|
337 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
338 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
339 |
+
var value;
|
340 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
341 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
342 |
+
var rest = string.slice(matchedString.length);
|
343 |
+
return { value: value, rest: rest };
|
344 |
+
};
|
345 |
+
}
|
346 |
+
var findKey = function findKey(object, predicate) {
|
347 |
+
for (var key in object) {
|
348 |
+
if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
|
349 |
+
return key;
|
350 |
+
}
|
351 |
+
}
|
352 |
+
return;
|
353 |
+
};
|
354 |
+
var findIndex = function findIndex(array, predicate) {
|
355 |
+
for (var key = 0; key < array.length; key++) {
|
356 |
+
if (predicate(array[key])) {
|
357 |
+
return key;
|
358 |
+
}
|
359 |
+
}
|
360 |
+
return;
|
361 |
+
};
|
362 |
+
|
363 |
+
// lib/locale/_lib/buildMatchPatternFn.mjs
|
364 |
+
function buildMatchPatternFn(args) {
|
365 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
366 |
+
var matchResult = string.match(args.matchPattern);
|
367 |
+
if (!matchResult)
|
368 |
+
return null;
|
369 |
+
var matchedString = matchResult[0];
|
370 |
+
var parseResult = string.match(args.parsePattern);
|
371 |
+
if (!parseResult)
|
372 |
+
return null;
|
373 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
374 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
375 |
+
var rest = string.slice(matchedString.length);
|
376 |
+
return { value: value, rest: rest };
|
377 |
+
};
|
378 |
+
}
|
379 |
+
|
380 |
+
// lib/locale/ug/_lib/match.mjs
|
381 |
+
var matchOrdinalNumberPattern = /^(\d+)(th|st|nd|rd)?/i;
|
382 |
+
var parseOrdinalNumberPattern = /\d+/i;
|
383 |
+
var matchEraPatterns = {
|
384 |
+
narrow: /^(ب|ك)/i,
|
385 |
+
wide: /^(مىيلادىدىن بۇرۇن|مىيلادىدىن كىيىن)/i
|
386 |
+
};
|
387 |
+
var parseEraPatterns = {
|
388 |
+
any: [/^بۇرۇن/i, /^كىيىن/i]
|
389 |
+
};
|
390 |
+
var matchQuarterPatterns = {
|
391 |
+
narrow: /^[1234]/i,
|
392 |
+
abbreviated: /^چ[1234]/i,
|
393 |
+
wide: /^چارەك [1234]/i
|
394 |
+
};
|
395 |
+
var parseQuarterPatterns = {
|
396 |
+
any: [/1/i, /2/i, /3/i, /4/i]
|
397 |
+
};
|
398 |
+
var matchMonthPatterns = {
|
399 |
+
narrow: /^[يفمئامئئاسۆند]/i,
|
400 |
+
abbreviated: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i,
|
401 |
+
wide: /^(يانۋار|فېۋىرال|مارت|ئاپرىل|ماي|ئىيۇن|ئىيول|ئاۋغۇست|سىنتەبىر|ئۆكتەبىر|نويابىر|دىكابىر)/i
|
402 |
+
};
|
403 |
+
var parseMonthPatterns = {
|
404 |
+
narrow: [
|
405 |
+
/^ي/i,
|
406 |
+
/^ف/i,
|
407 |
+
/^م/i,
|
408 |
+
/^ا/i,
|
409 |
+
/^م/i,
|
410 |
+
/^ى/i,
|
411 |
+
/^ى/i,
|
412 |
+
/^ا/i,
|
413 |
+
/^س/i,
|
414 |
+
/^ۆ/i,
|
415 |
+
/^ن/i,
|
416 |
+
/^د/i],
|
417 |
+
|
418 |
+
any: [
|
419 |
+
/^يان/i,
|
420 |
+
/^فېۋ/i,
|
421 |
+
/^مار/i,
|
422 |
+
/^ئاپ/i,
|
423 |
+
/^ماي/i,
|
424 |
+
/^ئىيۇن/i,
|
425 |
+
/^ئىيول/i,
|
426 |
+
/^ئاۋ/i,
|
427 |
+
/^سىن/i,
|
428 |
+
/^ئۆك/i,
|
429 |
+
/^نوي/i,
|
430 |
+
/^دىك/i]
|
431 |
+
|
432 |
+
};
|
433 |
+
var matchDayPatterns = {
|
434 |
+
narrow: /^[دسچپجشي]/i,
|
435 |
+
short: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
|
436 |
+
abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,
|
437 |
+
wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i
|
438 |
+
};
|
439 |
+
var parseDayPatterns = {
|
440 |
+
narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],
|
441 |
+
any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i]
|
442 |
+
};
|
443 |
+
var matchDayPeriodPatterns = {
|
444 |
+
narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,
|
445 |
+
any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i
|
446 |
+
};
|
447 |
+
var parseDayPeriodPatterns = {
|
448 |
+
any: {
|
449 |
+
am: /^ئە/i,
|
450 |
+
pm: /^چ/i,
|
451 |
+
midnight: /^ك/i,
|
452 |
+
noon: /^چ/i,
|
453 |
+
morning: /ئەتىگەن/i,
|
454 |
+
afternoon: /چۈشتىن كىيىن/i,
|
455 |
+
evening: /ئاخشىم/i,
|
456 |
+
night: /كىچە/i
|
457 |
+
}
|
458 |
+
};
|
459 |
+
var match = {
|
460 |
+
ordinalNumber: buildMatchPatternFn({
|
461 |
+
matchPattern: matchOrdinalNumberPattern,
|
462 |
+
parsePattern: parseOrdinalNumberPattern,
|
463 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
464 |
+
}),
|
465 |
+
era: buildMatchFn({
|
466 |
+
matchPatterns: matchEraPatterns,
|
467 |
+
defaultMatchWidth: "wide",
|
468 |
+
parsePatterns: parseEraPatterns,
|
469 |
+
defaultParseWidth: "any"
|
470 |
+
}),
|
471 |
+
quarter: buildMatchFn({
|
472 |
+
matchPatterns: matchQuarterPatterns,
|
473 |
+
defaultMatchWidth: "wide",
|
474 |
+
parsePatterns: parseQuarterPatterns,
|
475 |
+
defaultParseWidth: "any",
|
476 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
477 |
+
}),
|
478 |
+
month: buildMatchFn({
|
479 |
+
matchPatterns: matchMonthPatterns,
|
480 |
+
defaultMatchWidth: "wide",
|
481 |
+
parsePatterns: parseMonthPatterns,
|
482 |
+
defaultParseWidth: "any"
|
483 |
+
}),
|
484 |
+
day: buildMatchFn({
|
485 |
+
matchPatterns: matchDayPatterns,
|
486 |
+
defaultMatchWidth: "wide",
|
487 |
+
parsePatterns: parseDayPatterns,
|
488 |
+
defaultParseWidth: "any"
|
489 |
+
}),
|
490 |
+
dayPeriod: buildMatchFn({
|
491 |
+
matchPatterns: matchDayPeriodPatterns,
|
492 |
+
defaultMatchWidth: "any",
|
493 |
+
parsePatterns: parseDayPeriodPatterns,
|
494 |
+
defaultParseWidth: "any"
|
495 |
+
})
|
496 |
+
};
|
497 |
+
|
498 |
+
// lib/locale/ug.mjs
|
499 |
+
var ug = {
|
500 |
+
code: "ug",
|
501 |
+
formatDistance: formatDistance,
|
502 |
+
formatLong: formatLong,
|
503 |
+
formatRelative: formatRelative,
|
504 |
+
localize: localize,
|
505 |
+
match: match,
|
506 |
+
options: {
|
507 |
+
weekStartsOn: 0,
|
508 |
+
firstWeekContainsDate: 1
|
509 |
+
}
|
510 |
+
};
|
511 |
+
|
512 |
+
// lib/locale/ug/cdn.js
|
513 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
514 |
+
window.dateFns), {}, {
|
515 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
516 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
517 |
+
ug: ug }) });
|
518 |
+
|
519 |
+
|
520 |
+
|
521 |
+
//# debugId=5885119F688AD5DE64756e2164756e21
|
522 |
+
})();
|
523 |
+
|
524 |
+
//# sourceMappingURL=cdn.js.map
|
workers1/auto3d/node_modules/date-fns/locale/ug/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","ug","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/ug/_lib/formatDistance.mjs\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"\\u0628\\u0649\\u0631 \\u0633\\u0649\\u0643\\u06C7\\u0646\\u062A \\u0626\\u0649\\u0686\\u0649\\u062F\\u06D5\",\n other: \"\\u0633\\u0649\\u0643\\u06C7\\u0646\\u062A \\u0626\\u0649\\u0686\\u0649\\u062F\\u06D5 {{count}}\"\n },\n xSeconds: {\n one: \"\\u0628\\u0649\\u0631 \\u0633\\u0649\\u0643\\u06C7\\u0646\\u062A\",\n other: \"\\u0633\\u0649\\u0643\\u06C7\\u0646\\u062A {{count}}\"\n },\n halfAMinute: \"\\u064A\\u0649\\u0631\\u0649\\u0645 \\u0645\\u0649\\u0646\\u06C7\\u062A\",\n lessThanXMinutes: {\n one: \"\\u0628\\u0649\\u0631 \\u0645\\u0649\\u0646\\u06C7\\u062A \\u0626\\u0649\\u0686\\u0649\\u062F\\u06D5\",\n other: \"\\u0645\\u0649\\u0646\\u06C7\\u062A \\u0626\\u0649\\u0686\\u0649\\u062F\\u06D5 {{count}}\"\n },\n xMinutes: {\n one: \"\\u0628\\u0649\\u0631 \\u0645\\u0649\\u0646\\u06C7\\u062A\",\n other: \"\\u0645\\u0649\\u0646\\u06C7\\u062A {{count}}\"\n },\n aboutXHours: {\n one: \"\\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646 \\u0628\\u0649\\u0631 \\u0633\\u0627\\u0626\\u06D5\\u062A\",\n other: \"\\u0633\\u0627\\u0626\\u06D5\\u062A {{count}} \\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646\"\n },\n xHours: {\n one: \"\\u0628\\u0649\\u0631 \\u0633\\u0627\\u0626\\u06D5\\u062A\",\n other: \"\\u0633\\u0627\\u0626\\u06D5\\u062A {{count}}\"\n },\n xDays: {\n one: \"\\u0628\\u0649\\u0631 \\u0643\\u06C8\\u0646\",\n other: \"\\u0643\\u06C8\\u0646 {{count}}\"\n },\n aboutXWeeks: {\n one: \"\\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646 \\u0628\\u0649\\u0631\\u06BE\\u06D5\\u067E\\u062A\\u06D5\",\n other: \"\\u06BE\\u06D5\\u067E\\u062A\\u06D5 {{count}} \\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646\"\n },\n xWeeks: {\n one: \"\\u0628\\u0649\\u0631\\u06BE\\u06D5\\u067E\\u062A\\u06D5\",\n other: \"\\u06BE\\u06D5\\u067E\\u062A\\u06D5 {{count}}\"\n },\n aboutXMonths: {\n one: \"\\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646 \\u0628\\u0649\\u0631 \\u0626\\u0627\\u064A\",\n other: \"\\u0626\\u0627\\u064A {{count}} \\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646\"\n },\n xMonths: {\n one: \"\\u0628\\u0649\\u0631 \\u0626\\u0627\\u064A\",\n other: \"\\u0626\\u0627\\u064A {{count}}\"\n },\n aboutXYears: {\n one: \"\\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646 \\u0628\\u0649\\u0631 \\u064A\\u0649\\u0644\",\n other: \"\\u064A\\u0649\\u0644 {{count}} \\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646\"\n },\n xYears: {\n one: \"\\u0628\\u0649\\u0631 \\u064A\\u0649\\u0644\",\n other: \"\\u064A\\u0649\\u0644 {{count}}\"\n },\n overXYears: {\n one: \"\\u0628\\u0649\\u0631 \\u064A\\u0649\\u0644\\u062F\\u0649\\u0646 \\u0626\\u0627\\u0631\\u062A\\u06C7\\u0642\",\n other: \"\\u064A\\u0649\\u0644\\u062F\\u0649\\u0646 \\u0626\\u0627\\u0631\\u062A\\u06C7\\u0642 {{count}}\"\n },\n almostXYears: {\n one: \"\\u0626\\u0627\\u0633\\u0627\\u0633\\u06D5\\u0646 \\u0628\\u0649\\u0631 \\u064A\\u0649\\u0644\",\n other: \"\\u064A\\u0649\\u0644 {{count}} \\u0626\\u0627\\u0633\\u0627\\u0633\\u06D5\\u0646\"\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 result;\n } else {\n return result + \" \\u0628\\u0648\\u0644\\u062F\\u0649\";\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/ug/_lib/formatLong.mjs\nvar dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\"\n};\nvar timeFormats = {\n full: \"h:mm:ss a zzzz\",\n long: \"h:mm:ss a z\",\n medium: \"h:mm:ss a\",\n short: \"h:mm a\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} '\\u062F\\u06D5' {{time}}\",\n long: \"{{date}} '\\u062F\\u06D5' {{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/ug/_lib/formatRelative.mjs\nvar formatRelativeLocale = {\n lastWeek: \"'\\u0626\\u200D\\u06C6\\u062A\\u0643\\u06D5\\u0646' eeee '\\u062F\\u06D5' p\",\n yesterday: \"'\\u062A\\u06C8\\u0646\\u06C8\\u06AF\\u06C8\\u0646 \\u062F\\u06D5' p\",\n today: \"'\\u0628\\u06C8\\u06AF\\u06C8\\u0646 \\u062F\\u06D5' p\",\n tomorrow: \"'\\u0626\\u06D5\\u062A\\u06D5 \\u062F\\u06D5' p\",\n nextWeek: \"eeee '\\u062F\\u06D5' 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/ug/_lib/localize.mjs\nvar eraValues = {\n narrow: [\"\\u0628\", \"\\u0643\"],\n abbreviated: [\"\\u0628\", \"\\u0643\"],\n wide: [\"\\u0645\\u0649\\u064A\\u0644\\u0627\\u062F\\u0649\\u062F\\u0649\\u0646 \\u0628\\u06C7\\u0631\\u06C7\\u0646\", \"\\u0645\\u0649\\u064A\\u0644\\u0627\\u062F\\u0649\\u062F\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\"]\n};\nvar quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"1\", \"2\", \"3\", \"4\"],\n wide: [\"\\u0628\\u0649\\u0631\\u0649\\u0646\\u062C\\u0649 \\u0686\\u0627\\u0631\\u06D5\\u0643\", \"\\u0626\\u0649\\u0643\\u0643\\u0649\\u0646\\u062C\\u0649 \\u0686\\u0627\\u0631\\u06D5\\u0643\", \"\\u0626\\u06C8\\u0686\\u0649\\u0646\\u062C\\u0649 \\u0686\\u0627\\u0631\\u06D5\\u0643\", \"\\u062A\\u06C6\\u062A\\u0649\\u0646\\u062C\\u0649 \\u0686\\u0627\\u0631\\u06D5\\u0643\"]\n};\nvar monthValues = {\n narrow: [\"\\u064A\", \"\\u0641\", \"\\u0645\", \"\\u0627\", \"\\u0645\", \"\\u0649\", \"\\u0649\", \"\\u0627\", \"\\u0633\", \"\\u06C6\", \"\\u0646\", \"\\u062F\"],\n abbreviated: [\n \"\\u064A\\u0627\\u0646\\u06CB\\u0627\\u0631\",\n \"\\u0641\\u06D0\\u06CB\\u0649\\u0631\\u0627\\u0644\",\n \"\\u0645\\u0627\\u0631\\u062A\",\n \"\\u0626\\u0627\\u067E\\u0631\\u0649\\u0644\",\n \"\\u0645\\u0627\\u064A\",\n \"\\u0626\\u0649\\u064A\\u06C7\\u0646\",\n \"\\u0626\\u0649\\u064A\\u0648\\u0644\",\n \"\\u0626\\u0627\\u06CB\\u063A\\u06C7\\u0633\\u062A\",\n \"\\u0633\\u0649\\u0646\\u062A\\u06D5\\u0628\\u0649\\u0631\",\n \"\\u0626\\u06C6\\u0643\\u062A\\u06D5\\u0628\\u0649\\u0631\",\n \"\\u0646\\u0648\\u064A\\u0627\\u0628\\u0649\\u0631\",\n \"\\u062F\\u0649\\u0643\\u0627\\u0628\\u0649\\u0631\"\n ],\n wide: [\n \"\\u064A\\u0627\\u0646\\u06CB\\u0627\\u0631\",\n \"\\u0641\\u06D0\\u06CB\\u0649\\u0631\\u0627\\u0644\",\n \"\\u0645\\u0627\\u0631\\u062A\",\n \"\\u0626\\u0627\\u067E\\u0631\\u0649\\u0644\",\n \"\\u0645\\u0627\\u064A\",\n \"\\u0626\\u0649\\u064A\\u06C7\\u0646\",\n \"\\u0626\\u0649\\u064A\\u0648\\u0644\",\n \"\\u0626\\u0627\\u06CB\\u063A\\u06C7\\u0633\\u062A\",\n \"\\u0633\\u0649\\u0646\\u062A\\u06D5\\u0628\\u0649\\u0631\",\n \"\\u0626\\u06C6\\u0643\\u062A\\u06D5\\u0628\\u0649\\u0631\",\n \"\\u0646\\u0648\\u064A\\u0627\\u0628\\u0649\\u0631\",\n \"\\u062F\\u0649\\u0643\\u0627\\u0628\\u0649\\u0631\"\n ]\n};\nvar dayValues = {\n narrow: [\"\\u064A\", \"\\u062F\", \"\\u0633\", \"\\u0686\", \"\\u067E\", \"\\u062C\", \"\\u0634\"],\n short: [\"\\u064A\", \"\\u062F\", \"\\u0633\", \"\\u0686\", \"\\u067E\", \"\\u062C\", \"\\u0634\"],\n abbreviated: [\n \"\\u064A\\u06D5\\u0643\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u062F\\u06C8\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u0633\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u0686\\u0627\\u0631\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u067E\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u062C\\u06C8\\u0645\\u06D5\",\n \"\\u0634\\u06D5\\u0646\\u0628\\u06D5\"\n ],\n wide: [\n \"\\u064A\\u06D5\\u0643\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u062F\\u06C8\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u0633\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u0686\\u0627\\u0631\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u067E\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u062C\\u06C8\\u0645\\u06D5\",\n \"\\u0634\\u06D5\\u0646\\u0628\\u06D5\"\n ]\n};\nvar dayPeriodValues = {\n narrow: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0649\\u0645\",\n night: \"\\u0643\\u0649\\u0686\\u06D5\"\n },\n abbreviated: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0649\\u0645\",\n night: \"\\u0643\\u0649\\u0686\\u06D5\"\n },\n wide: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0649\\u0645\",\n night: \"\\u0643\\u0649\\u0686\\u06D5\"\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\\u062F\\u06D5\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0627\\u0645\\u062F\\u0627\",\n night: \"\\u0643\\u0649\\u0686\\u0649\\u062F\\u06D5\"\n },\n abbreviated: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\\u062F\\u06D5\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0627\\u0645\\u062F\\u0627\",\n night: \"\\u0643\\u0649\\u0686\\u0649\\u062F\\u06D5\"\n },\n wide: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\\u062F\\u06D5\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0627\\u0645\\u062F\\u0627\",\n night: \"\\u0643\\u0649\\u0686\\u0649\\u062F\\u06D5\"\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/ug/_lib/match.mjs\nvar matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(ب|ك)/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: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,\n abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,\n wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i\n};\nvar parseDayPatterns = {\n narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],\n any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i]\n};\nvar matchDayPeriodPatterns = {\n narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,\n any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/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: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n};\n\n// lib/locale/ug.mjs\nvar ug = {\n code: \"ug\",\n formatDistance,\n formatLong,\n formatRelative,\n localize,\n match,\n options: {\n weekStartsOn: 0,\n firstWeekContainsDate: 1\n }\n};\n\n// lib/locale/ug/cdn.js\nwindow.dateFns = {\n ...window.dateFns,\n locale: {\n ...window.dateFns?.locale,\n ug\n }\n};\n\n//# debugId=5885119F688AD5DE64756e2164756e21\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,oBAAoB,GAAG;IACzBC,gBAAgB,EAAE;MAChBC,GAAG,EAAE,8FAA8F;MACnGC,KAAK,EAAE;IACT,CAAC;IACDC,QAAQ,EAAE;MACRF,GAAG,EAAE,yDAAyD;MAC9DC,KAAK,EAAE;IACT,CAAC;IACDE,WAAW,EAAE,+DAA+D;IAC5EC,gBAAgB,EAAE;MAChBJ,GAAG,EAAE,wFAAwF;MAC7FC,KAAK,EAAE;IACT,CAAC;IACDI,QAAQ,EAAE;MACRL,GAAG,EAAE,mDAAmD;MACxDC,KAAK,EAAE;IACT,CAAC;IACDK,WAAW,EAAE;MACXN,GAAG,EAAE,oGAAoG;MACzGC,KAAK,EAAE;IACT,CAAC;IACDM,MAAM,EAAE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AE;IACrB,CAAC;EACH,CAAC;;EAED;EACA,IAAIkC,EAAE,GAAG;IACPC,IAAI,EAAE,IAAI;IACVtH,cAAc,EAAdA,cAAc;IACd0B,UAAU,EAAVA,UAAU;IACVU,cAAc,EAAdA,cAAc;IACdgC,QAAQ,EAARA,QAAQ;IACRY,KAAK,EAALA,KAAK;IACL7E,OAAO,EAAE;MACPoH,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,MAAA3J,eAAA;IACDyJ,MAAM,CAACC,OAAO,cAAA1J,eAAA,uBAAdA,eAAA,CAAgB4J,MAAM;MACzBP,EAAE,EAAFA,EAAE,GACH,GACF;;;;EAED;AACC,CAAC,EAAE,CAAC","ignoreList":[]}
|
workers1/auto3d/node_modules/date-fns/locale/ug/cdn.min.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
var q=function(H){return q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G},q(H)},z=function(H,G){var J=Object.keys(H);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(H);G&&(Z=Z.filter(function(K){return Object.getOwnPropertyDescriptor(H,K).enumerable})),J.push.apply(J,Z)}return J},x=function(H){for(var G=1;G<arguments.length;G++){var J=arguments[G]!=null?arguments[G]:{};G%2?z(Object(J),!0).forEach(function(Z){C0(H,Z,J[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(J)):z(Object(J)).forEach(function(Z){Object.defineProperty(H,Z,Object.getOwnPropertyDescriptor(J,Z))})}return H},C0=function(H,G,J){if(G=A0(G),G in H)Object.defineProperty(H,G,{value:J,enumerable:!0,configurable:!0,writable:!0});else H[G]=J;return H},A0=function(H){var G=U0(H,"string");return q(G)=="symbol"?G:String(G)},U0=function(H,G){if(q(H)!="object"||!H)return H;var J=H[Symbol.toPrimitive];if(J!==void 0){var Z=J.call(H,G||"default");if(q(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(G==="string"?String:Number)(H)};(function(H){var G=Object.defineProperty,J=function C(U,A){for(var B in A)G(U,B,{get:A[B],enumerable:!0,configurable:!0,set:function X(Y){return A[B]=function(){return Y}}})},Z={lessThanXSeconds:{one:"\u0628\u0649\u0631 \u0633\u0649\u0643\u06C7\u0646\u062A \u0626\u0649\u0686\u0649\u062F\u06D5",other:"\u0633\u0649\u0643\u06C7\u0646\u062A \u0626\u0649\u0686\u0649\u062F\u06D5 {{count}}"},xSeconds:{one:"\u0628\u0649\u0631 \u0633\u0649\u0643\u06C7\u0646\u062A",other:"\u0633\u0649\u0643\u06C7\u0646\u062A {{count}}"},halfAMinute:"\u064A\u0649\u0631\u0649\u0645 \u0645\u0649\u0646\u06C7\u062A",lessThanXMinutes:{one:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06C7\u062A \u0626\u0649\u0686\u0649\u062F\u06D5",other:"\u0645\u0649\u0646\u06C7\u062A \u0626\u0649\u0686\u0649\u062F\u06D5 {{count}}"},xMinutes:{one:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06C7\u062A",other:"\u0645\u0649\u0646\u06C7\u062A {{count}}"},aboutXHours:{one:"\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631 \u0633\u0627\u0626\u06D5\u062A",other:"\u0633\u0627\u0626\u06D5\u062A {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"},xHours:{one:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06D5\u062A",other:"\u0633\u0627\u0626\u06D5\u062A {{count}}"},xDays:{one:"\u0628\u0649\u0631 \u0643\u06C8\u0646",other:"\u0643\u06C8\u0646 {{count}}"},aboutXWeeks:{one:"\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631\u06BE\u06D5\u067E\u062A\u06D5",other:"\u06BE\u06D5\u067E\u062A\u06D5 {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"},xWeeks:{one:"\u0628\u0649\u0631\u06BE\u06D5\u067E\u062A\u06D5",other:"\u06BE\u06D5\u067E\u062A\u06D5 {{count}}"},aboutXMonths:{one:"\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631 \u0626\u0627\u064A",other:"\u0626\u0627\u064A {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"},xMonths:{one:"\u0628\u0649\u0631 \u0626\u0627\u064A",other:"\u0626\u0627\u064A {{count}}"},aboutXYears:{one:"\u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646 \u0628\u0649\u0631 \u064A\u0649\u0644",other:"\u064A\u0649\u0644 {{count}} \u062A\u06D5\u062E\u0645\u0649\u0646\u06D5\u0646"},xYears:{one:"\u0628\u0649\u0631 \u064A\u0649\u0644",other:"\u064A\u0649\u0644 {{count}}"},overXYears:{one:"\u0628\u0649\u0631 \u064A\u0649\u0644\u062F\u0649\u0646 \u0626\u0627\u0631\u062A\u06C7\u0642",other:"\u064A\u0649\u0644\u062F\u0649\u0646 \u0626\u0627\u0631\u062A\u06C7\u0642 {{count}}"},almostXYears:{one:"\u0626\u0627\u0633\u0627\u0633\u06D5\u0646 \u0628\u0649\u0631 \u064A\u0649\u0644",other:"\u064A\u0649\u0644 {{count}} \u0626\u0627\u0633\u0627\u0633\u06D5\u0646"}},K=function C(U,A,B){var X,Y=Z[U];if(typeof Y==="string")X=Y;else if(A===1)X=Y.one;else X=Y.other.replace("{{count}}",String(A));if(B!==null&&B!==void 0&&B.addSuffix)if(B.comparison&&B.comparison>0)return X;else return X+" \u0628\u0648\u0644\u062F\u0649";return X};function N(C){return function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=U.width?String(U.width):C.defaultWidth,B=C.formats[A]||C.formats[C.defaultWidth];return B}}var R={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},S={full:"{{date}} '\u062F\u06D5' {{time}}",long:"{{date}} '\u062F\u06D5' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},M={date:N({formats:R,defaultWidth:"full"}),time:N({formats:$,defaultWidth:"full"}),dateTime:N({formats:S,defaultWidth:"full"})},L={lastWeek:"'\u0626\u200D\u06C6\u062A\u0643\u06D5\u0646' eeee '\u062F\u06D5' p",yesterday:"'\u062A\u06C8\u0646\u06C8\u06AF\u06C8\u0646 \u062F\u06D5' p",today:"'\u0628\u06C8\u06AF\u06C8\u0646 \u062F\u06D5' p",tomorrow:"'\u0626\u06D5\u062A\u06D5 \u062F\u06D5' p",nextWeek:"eeee '\u062F\u06D5' p",other:"P"},V=function C(U,A,B,X){return L[U]};function O(C){return function(U,A){var B=A!==null&&A!==void 0&&A.context?String(A.context):"standalone",X;if(B==="formatting"&&C.formattingValues){var Y=C.defaultFormattingWidth||C.defaultWidth,E=A!==null&&A!==void 0&&A.width?String(A.width):Y;X=C.formattingValues[E]||C.formattingValues[Y]}else{var I=C.defaultWidth,D=A!==null&&A!==void 0&&A.width?String(A.width):C.defaultWidth;X=C.values[D]||C.values[I]}var T=C.argumentCallback?C.argumentCallback(U):U;return X[T]}}var j={narrow:["\u0628","\u0643"],abbreviated:["\u0628","\u0643"],wide:["\u0645\u0649\u064A\u0644\u0627\u062F\u0649\u062F\u0649\u0646 \u0628\u06C7\u0631\u06C7\u0646","\u0645\u0649\u064A\u0644\u0627\u062F\u0649\u062F\u0649\u0646 \u0643\u0649\u064A\u0649\u0646"]},f={narrow:["1","2","3","4"],abbreviated:["1","2","3","4"],wide:["\u0628\u0649\u0631\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643","\u0626\u0649\u0643\u0643\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643","\u0626\u06C8\u0686\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643","\u062A\u06C6\u062A\u0649\u0646\u062C\u0649 \u0686\u0627\u0631\u06D5\u0643"]},v={narrow:["\u064A","\u0641","\u0645","\u0627","\u0645","\u0649","\u0649","\u0627","\u0633","\u06C6","\u0646","\u062F"],abbreviated:["\u064A\u0627\u0646\u06CB\u0627\u0631","\u0641\u06D0\u06CB\u0649\u0631\u0627\u0644","\u0645\u0627\u0631\u062A","\u0626\u0627\u067E\u0631\u0649\u0644","\u0645\u0627\u064A","\u0626\u0649\u064A\u06C7\u0646","\u0626\u0649\u064A\u0648\u0644","\u0626\u0627\u06CB\u063A\u06C7\u0633\u062A","\u0633\u0649\u0646\u062A\u06D5\u0628\u0649\u0631","\u0626\u06C6\u0643\u062A\u06D5\u0628\u0649\u0631","\u0646\u0648\u064A\u0627\u0628\u0649\u0631","\u062F\u0649\u0643\u0627\u0628\u0649\u0631"],wide:["\u064A\u0627\u0646\u06CB\u0627\u0631","\u0641\u06D0\u06CB\u0649\u0631\u0627\u0644","\u0645\u0627\u0631\u062A","\u0626\u0627\u067E\u0631\u0649\u0644","\u0645\u0627\u064A","\u0626\u0649\u064A\u06C7\u0646","\u0626\u0649\u064A\u0648\u0644","\u0626\u0627\u06CB\u063A\u06C7\u0633\u062A","\u0633\u0649\u0646\u062A\u06D5\u0628\u0649\u0631","\u0626\u06C6\u0643\u062A\u06D5\u0628\u0649\u0631","\u0646\u0648\u064A\u0627\u0628\u0649\u0631","\u062F\u0649\u0643\u0627\u0628\u0649\u0631"]},P={narrow:["\u064A","\u062F","\u0633","\u0686","\u067E","\u062C","\u0634"],short:["\u064A","\u062F","\u0633","\u0686","\u067E","\u062C","\u0634"],abbreviated:["\u064A\u06D5\u0643\u0634\u06D5\u0646\u0628\u06D5","\u062F\u06C8\u0634\u06D5\u0646\u0628\u06D5","\u0633\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5","\u0686\u0627\u0631\u0634\u06D5\u0646\u0628\u06D5","\u067E\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5","\u062C\u06C8\u0645\u06D5","\u0634\u06D5\u0646\u0628\u06D5"],wide:["\u064A\u06D5\u0643\u0634\u06D5\u0646\u0628\u06D5","\u062F\u06C8\u0634\u06D5\u0646\u0628\u06D5","\u0633\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5","\u0686\u0627\u0631\u0634\u06D5\u0646\u0628\u06D5","\u067E\u06D5\u064A\u0634\u06D5\u0646\u0628\u06D5","\u062C\u06C8\u0645\u06D5","\u0634\u06D5\u0646\u0628\u06D5"]},w={narrow:{am:"\u0626\u06D5",pm:"\u0686",midnight:"\u0643",noon:"\u0686",morning:"\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646",afternoon:"\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",evening:"\u0626\u0627\u062E\u0634\u0649\u0645",night:"\u0643\u0649\u0686\u06D5"},abbreviated:{am:"\u0626\u06D5",pm:"\u0686",midnight:"\u0643",noon:"\u0686",morning:"\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646",afternoon:"\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",evening:"\u0626\u0627\u062E\u0634\u0649\u0645",night:"\u0643\u0649\u0686\u06D5"},wide:{am:"\u0626\u06D5",pm:"\u0686",midnight:"\u0643",noon:"\u0686",morning:"\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646",afternoon:"\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",evening:"\u0626\u0627\u062E\u0634\u0649\u0645",night:"\u0643\u0649\u0686\u06D5"}},_={narrow:{am:"\u0626\u06D5",pm:"\u0686",midnight:"\u0643",noon:"\u0686",morning:"\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646\u062F\u06D5",afternoon:"\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",evening:"\u0626\u0627\u062E\u0634\u0627\u0645\u062F\u0627",night:"\u0643\u0649\u0686\u0649\u062F\u06D5"},abbreviated:{am:"\u0626\u06D5",pm:"\u0686",midnight:"\u0643",noon:"\u0686",morning:"\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646\u062F\u06D5",afternoon:"\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",evening:"\u0626\u0627\u062E\u0634\u0627\u0645\u062F\u0627",night:"\u0643\u0649\u0686\u0649\u062F\u06D5"},wide:{am:"\u0626\u06D5",pm:"\u0686",midnight:"\u0643",noon:"\u0686",morning:"\u0626\u06D5\u062A\u0649\u06AF\u06D5\u0646\u062F\u06D5",afternoon:"\u0686\u06C8\u0634\u062A\u0649\u0646 \u0643\u0649\u064A\u0649\u0646",evening:"\u0626\u0627\u062E\u0634\u0627\u0645\u062F\u0627",night:"\u0643\u0649\u0686\u0649\u062F\u06D5"}},F=function C(U,A){return String(U)},b={ordinalNumber:F,era:O({values:j,defaultWidth:"wide"}),quarter:O({values:f,defaultWidth:"wide",argumentCallback:function C(U){return U-1}}),month:O({values:v,defaultWidth:"wide"}),day:O({values:P,defaultWidth:"wide"}),dayPeriod:O({values:w,defaultWidth:"wide",formattingValues:_,defaultFormattingWidth:"wide"})};function Q(C){return function(U){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=A.width,X=B&&C.matchPatterns[B]||C.matchPatterns[C.defaultMatchWidth],Y=U.match(X);if(!Y)return null;var E=Y[0],I=B&&C.parsePatterns[B]||C.parsePatterns[C.defaultParseWidth],D=Array.isArray(I)?m(I,function(W){return W.test(E)}):k(I,function(W){return W.test(E)}),T;T=C.valueCallback?C.valueCallback(D):D,T=A.valueCallback?A.valueCallback(T):T;var t=U.slice(E.length);return{value:T,rest:t}}}var k=function C(U,A){for(var B in U)if(Object.prototype.hasOwnProperty.call(U,B)&&A(U[B]))return B;return},m=function C(U,A){for(var B=0;B<U.length;B++)if(A(U[B]))return B;return};function h(C){return function(U){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=U.match(C.matchPattern);if(!B)return null;var X=B[0],Y=U.match(C.parsePattern);if(!Y)return null;var E=C.valueCallback?C.valueCallback(Y[0]):Y[0];E=A.valueCallback?A.valueCallback(E):E;var I=U.slice(X.length);return{value:E,rest:I}}}var u=/^(\d+)(th|st|nd|rd)?/i,c=/\d+/i,y={narrow:/^(ب|ك)/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:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,abbreviated:/^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,wide:/^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i},s={narrow:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i],any:[/^ي/i,/^د/i,/^س/i,/^چ/i,/^پ/i,/^ج/i,/^ش/i]},o={narrow:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,any:/^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i},r={any:{am:/^ئە/i,pm:/^چ/i,midnight:/^ك/i,noon:/^چ/i,morning:/ئەتىگەن/i,afternoon:/چۈشتىن كىيىن/i,evening:/ئاخشىم/i,night:/كىچە/i}},a={ordinalNumber:h({matchPattern:u,parsePattern:c,valueCallback:function C(U){return parseInt(U,10)}}),era:Q({matchPatterns:y,defaultMatchWidth:"wide",parsePatterns:p,defaultParseWidth:"any"}),quarter:Q({matchPatterns:g,defaultMatchWidth:"wide",parsePatterns:d,defaultParseWidth:"any",valueCallback:function C(U){return U+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:"any",parsePatterns:r,defaultParseWidth:"any"})},e={code:"ug",formatDistance:K,formatLong:M,formatRelative:V,localize:b,match:a,options:{weekStartsOn:0,firstWeekContainsDate:1}};window.dateFns=x(x({},window.dateFns),{},{locale:x(x({},(H=window.dateFns)===null||H===void 0?void 0:H.locale),{},{ug:e})})})();
|
2 |
+
|
3 |
+
//# debugId=3D349C5952D57ED664756e2164756e21
|
workers1/auto3d/node_modules/date-fns/locale/ug/cdn.min.js.map
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": 3,
|
3 |
+
"sources": ["lib/locale/ug/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/ug/_lib/formatDistance.mjs\n var formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"\\u0628\\u0649\\u0631 \\u0633\\u0649\\u0643\\u06C7\\u0646\\u062A \\u0626\\u0649\\u0686\\u0649\\u062F\\u06D5\",\n other: \"\\u0633\\u0649\\u0643\\u06C7\\u0646\\u062A \\u0626\\u0649\\u0686\\u0649\\u062F\\u06D5 {{count}}\"\n },\n xSeconds: {\n one: \"\\u0628\\u0649\\u0631 \\u0633\\u0649\\u0643\\u06C7\\u0646\\u062A\",\n other: \"\\u0633\\u0649\\u0643\\u06C7\\u0646\\u062A {{count}}\"\n },\n halfAMinute: \"\\u064A\\u0649\\u0631\\u0649\\u0645 \\u0645\\u0649\\u0646\\u06C7\\u062A\",\n lessThanXMinutes: {\n one: \"\\u0628\\u0649\\u0631 \\u0645\\u0649\\u0646\\u06C7\\u062A \\u0626\\u0649\\u0686\\u0649\\u062F\\u06D5\",\n other: \"\\u0645\\u0649\\u0646\\u06C7\\u062A \\u0626\\u0649\\u0686\\u0649\\u062F\\u06D5 {{count}}\"\n },\n xMinutes: {\n one: \"\\u0628\\u0649\\u0631 \\u0645\\u0649\\u0646\\u06C7\\u062A\",\n other: \"\\u0645\\u0649\\u0646\\u06C7\\u062A {{count}}\"\n },\n aboutXHours: {\n one: \"\\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646 \\u0628\\u0649\\u0631 \\u0633\\u0627\\u0626\\u06D5\\u062A\",\n other: \"\\u0633\\u0627\\u0626\\u06D5\\u062A {{count}} \\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646\"\n },\n xHours: {\n one: \"\\u0628\\u0649\\u0631 \\u0633\\u0627\\u0626\\u06D5\\u062A\",\n other: \"\\u0633\\u0627\\u0626\\u06D5\\u062A {{count}}\"\n },\n xDays: {\n one: \"\\u0628\\u0649\\u0631 \\u0643\\u06C8\\u0646\",\n other: \"\\u0643\\u06C8\\u0646 {{count}}\"\n },\n aboutXWeeks: {\n one: \"\\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646 \\u0628\\u0649\\u0631\\u06BE\\u06D5\\u067E\\u062A\\u06D5\",\n other: \"\\u06BE\\u06D5\\u067E\\u062A\\u06D5 {{count}} \\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646\"\n },\n xWeeks: {\n one: \"\\u0628\\u0649\\u0631\\u06BE\\u06D5\\u067E\\u062A\\u06D5\",\n other: \"\\u06BE\\u06D5\\u067E\\u062A\\u06D5 {{count}}\"\n },\n aboutXMonths: {\n one: \"\\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646 \\u0628\\u0649\\u0631 \\u0626\\u0627\\u064A\",\n other: \"\\u0626\\u0627\\u064A {{count}} \\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646\"\n },\n xMonths: {\n one: \"\\u0628\\u0649\\u0631 \\u0626\\u0627\\u064A\",\n other: \"\\u0626\\u0627\\u064A {{count}}\"\n },\n aboutXYears: {\n one: \"\\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646 \\u0628\\u0649\\u0631 \\u064A\\u0649\\u0644\",\n other: \"\\u064A\\u0649\\u0644 {{count}} \\u062A\\u06D5\\u062E\\u0645\\u0649\\u0646\\u06D5\\u0646\"\n },\n xYears: {\n one: \"\\u0628\\u0649\\u0631 \\u064A\\u0649\\u0644\",\n other: \"\\u064A\\u0649\\u0644 {{count}}\"\n },\n overXYears: {\n one: \"\\u0628\\u0649\\u0631 \\u064A\\u0649\\u0644\\u062F\\u0649\\u0646 \\u0626\\u0627\\u0631\\u062A\\u06C7\\u0642\",\n other: \"\\u064A\\u0649\\u0644\\u062F\\u0649\\u0646 \\u0626\\u0627\\u0631\\u062A\\u06C7\\u0642 {{count}}\"\n },\n almostXYears: {\n one: \"\\u0626\\u0627\\u0633\\u0627\\u0633\\u06D5\\u0646 \\u0628\\u0649\\u0631 \\u064A\\u0649\\u0644\",\n other: \"\\u064A\\u0649\\u0644 {{count}} \\u0626\\u0627\\u0633\\u0627\\u0633\\u06D5\\u0646\"\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 result;\n } else {\n return result + \" \\u0628\\u0648\\u0644\\u062F\\u0649\";\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/ug/_lib/formatLong.mjs\n var dateFormats = {\n full: \"EEEE, MMMM do, y\",\n long: \"MMMM do, y\",\n medium: \"MMM d, y\",\n short: \"MM/dd/yyyy\"\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\\u06D5' {{time}}\",\n long: \"{{date}} '\\u062F\\u06D5' {{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/ug/_lib/formatRelative.mjs\n var formatRelativeLocale = {\n lastWeek: \"'\\u0626\\u200D\\u06C6\\u062A\\u0643\\u06D5\\u0646' eeee '\\u062F\\u06D5' p\",\n yesterday: \"'\\u062A\\u06C8\\u0646\\u06C8\\u06AF\\u06C8\\u0646 \\u062F\\u06D5' p\",\n today: \"'\\u0628\\u06C8\\u06AF\\u06C8\\u0646 \\u062F\\u06D5' p\",\n tomorrow: \"'\\u0626\\u06D5\\u062A\\u06D5 \\u062F\\u06D5' p\",\n nextWeek: \"eeee '\\u062F\\u06D5' 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/ug/_lib/localize.mjs\n var eraValues = {\n narrow: [\"\\u0628\", \"\\u0643\"],\n abbreviated: [\"\\u0628\", \"\\u0643\"],\n wide: [\"\\u0645\\u0649\\u064A\\u0644\\u0627\\u062F\\u0649\\u062F\\u0649\\u0646 \\u0628\\u06C7\\u0631\\u06C7\\u0646\", \"\\u0645\\u0649\\u064A\\u0644\\u0627\\u062F\\u0649\\u062F\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\"]\n };\n var quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"1\", \"2\", \"3\", \"4\"],\n wide: [\"\\u0628\\u0649\\u0631\\u0649\\u0646\\u062C\\u0649 \\u0686\\u0627\\u0631\\u06D5\\u0643\", \"\\u0626\\u0649\\u0643\\u0643\\u0649\\u0646\\u062C\\u0649 \\u0686\\u0627\\u0631\\u06D5\\u0643\", \"\\u0626\\u06C8\\u0686\\u0649\\u0646\\u062C\\u0649 \\u0686\\u0627\\u0631\\u06D5\\u0643\", \"\\u062A\\u06C6\\u062A\\u0649\\u0646\\u062C\\u0649 \\u0686\\u0627\\u0631\\u06D5\\u0643\"]\n };\n var monthValues = {\n narrow: [\"\\u064A\", \"\\u0641\", \"\\u0645\", \"\\u0627\", \"\\u0645\", \"\\u0649\", \"\\u0649\", \"\\u0627\", \"\\u0633\", \"\\u06C6\", \"\\u0646\", \"\\u062F\"],\n abbreviated: [\n \"\\u064A\\u0627\\u0646\\u06CB\\u0627\\u0631\",\n \"\\u0641\\u06D0\\u06CB\\u0649\\u0631\\u0627\\u0644\",\n \"\\u0645\\u0627\\u0631\\u062A\",\n \"\\u0626\\u0627\\u067E\\u0631\\u0649\\u0644\",\n \"\\u0645\\u0627\\u064A\",\n \"\\u0626\\u0649\\u064A\\u06C7\\u0646\",\n \"\\u0626\\u0649\\u064A\\u0648\\u0644\",\n \"\\u0626\\u0627\\u06CB\\u063A\\u06C7\\u0633\\u062A\",\n \"\\u0633\\u0649\\u0646\\u062A\\u06D5\\u0628\\u0649\\u0631\",\n \"\\u0626\\u06C6\\u0643\\u062A\\u06D5\\u0628\\u0649\\u0631\",\n \"\\u0646\\u0648\\u064A\\u0627\\u0628\\u0649\\u0631\",\n \"\\u062F\\u0649\\u0643\\u0627\\u0628\\u0649\\u0631\"],\n\n wide: [\n \"\\u064A\\u0627\\u0646\\u06CB\\u0627\\u0631\",\n \"\\u0641\\u06D0\\u06CB\\u0649\\u0631\\u0627\\u0644\",\n \"\\u0645\\u0627\\u0631\\u062A\",\n \"\\u0626\\u0627\\u067E\\u0631\\u0649\\u0644\",\n \"\\u0645\\u0627\\u064A\",\n \"\\u0626\\u0649\\u064A\\u06C7\\u0646\",\n \"\\u0626\\u0649\\u064A\\u0648\\u0644\",\n \"\\u0626\\u0627\\u06CB\\u063A\\u06C7\\u0633\\u062A\",\n \"\\u0633\\u0649\\u0646\\u062A\\u06D5\\u0628\\u0649\\u0631\",\n \"\\u0626\\u06C6\\u0643\\u062A\\u06D5\\u0628\\u0649\\u0631\",\n \"\\u0646\\u0648\\u064A\\u0627\\u0628\\u0649\\u0631\",\n \"\\u062F\\u0649\\u0643\\u0627\\u0628\\u0649\\u0631\"]\n\n };\n var dayValues = {\n narrow: [\"\\u064A\", \"\\u062F\", \"\\u0633\", \"\\u0686\", \"\\u067E\", \"\\u062C\", \"\\u0634\"],\n short: [\"\\u064A\", \"\\u062F\", \"\\u0633\", \"\\u0686\", \"\\u067E\", \"\\u062C\", \"\\u0634\"],\n abbreviated: [\n \"\\u064A\\u06D5\\u0643\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u062F\\u06C8\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u0633\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u0686\\u0627\\u0631\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u067E\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u062C\\u06C8\\u0645\\u06D5\",\n \"\\u0634\\u06D5\\u0646\\u0628\\u06D5\"],\n\n wide: [\n \"\\u064A\\u06D5\\u0643\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u062F\\u06C8\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u0633\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u0686\\u0627\\u0631\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u067E\\u06D5\\u064A\\u0634\\u06D5\\u0646\\u0628\\u06D5\",\n \"\\u062C\\u06C8\\u0645\\u06D5\",\n \"\\u0634\\u06D5\\u0646\\u0628\\u06D5\"]\n\n };\n var dayPeriodValues = {\n narrow: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0649\\u0645\",\n night: \"\\u0643\\u0649\\u0686\\u06D5\"\n },\n abbreviated: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0649\\u0645\",\n night: \"\\u0643\\u0649\\u0686\\u06D5\"\n },\n wide: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0649\\u0645\",\n night: \"\\u0643\\u0649\\u0686\\u06D5\"\n }\n };\n var formattingDayPeriodValues = {\n narrow: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\\u062F\\u06D5\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0627\\u0645\\u062F\\u0627\",\n night: \"\\u0643\\u0649\\u0686\\u0649\\u062F\\u06D5\"\n },\n abbreviated: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\\u062F\\u06D5\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0627\\u0645\\u062F\\u0627\",\n night: \"\\u0643\\u0649\\u0686\\u0649\\u062F\\u06D5\"\n },\n wide: {\n am: \"\\u0626\\u06D5\",\n pm: \"\\u0686\",\n midnight: \"\\u0643\",\n noon: \"\\u0686\",\n morning: \"\\u0626\\u06D5\\u062A\\u0649\\u06AF\\u06D5\\u0646\\u062F\\u06D5\",\n afternoon: \"\\u0686\\u06C8\\u0634\\u062A\\u0649\\u0646 \\u0643\\u0649\\u064A\\u0649\\u0646\",\n evening: \"\\u0626\\u0627\\u062E\\u0634\\u0627\\u0645\\u062F\\u0627\",\n night: \"\\u0643\\u0649\\u0686\\u0649\\u062F\\u06D5\"\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/ug/_lib/match.mjs\n var matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\n var parseOrdinalNumberPattern = /\\d+/i;\n var matchEraPatterns = {\n narrow: /^(ب|ك)/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: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,\n abbreviated: /^(يە|دۈ|سە|چا|پە|جۈ|شە)/i,\n wide: /^(يەكشەنبە|دۈشەنبە|سەيشەنبە|چارشەنبە|پەيشەنبە|جۈمە|شەنبە)/i\n };\n var parseDayPatterns = {\n narrow: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i],\n any: [/^ي/i, /^د/i, /^س/i, /^چ/i, /^پ/i, /^ج/i, /^ش/i]\n };\n var matchDayPeriodPatterns = {\n narrow: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/i,\n any: /^(ئە|چ|ك|چ|(دە|ئەتىگەن) ( ئە|چۈشتىن كىيىن|ئاخشىم|كىچە))/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: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\"\n })\n };\n\n // lib/locale/ug.mjs\n var ug = {\n code: \"ug\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0,\n firstWeekContainsDate: 1\n }\n };\n\n // lib/locale/ug/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 ug: ug }) });\n\n\n\n //# debugId=5885119F688AD5DE64756e2164756e21\n})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AC,OAAO,SAAS,EAAO,EAAE,EACzE,CAAC,EACD,IAAK,EAAa,CAChB,cAAe,EACf,kBAAmB,OACnB,cAAe,EACf,kBAAmB,KACrB,CAAC,EACD,QAAS,EAAa,CACpB,cAAe,EACf,kBAAmB,OACnB,cAAe,EACf,kBAAmB,MACnB,uBAAwB,CAAa,CAAC,EAAO,CAAC,OAAO,EAAQ,EAC/D,CAAC,EACD,MAAO,EAAa,CAClB,cAAe,EACf,kBAAmB,OACnB,cAAe,EACf,kBAAmB,KACrB,CAAC,EACD,IAAK,EAAa,CAChB,cAAe,EACf,kBAAmB,OACnB,cAAe,EACf,kBAAmB,KACrB,CAAC,EACD,UAAW,EAAa,CACtB,cAAe,EACf,kBAAmB,MACnB,cAAe,EACf,kBAAmB,KACrB,CAAC,CACH,EAGI,EAAK,CACP,KAAM,KACN,eAAgB,EAChB,WAAY,EACZ,eAAgB,EAChB,SAAU,EACV,MAAO,EACP,QAAS,CACP,aAAc,EACd,sBAAuB,CACzB,CACF,EAGA,OAAO,QAAU,EAAc,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,CAAG,CAAC,CAAE,CAAC,IAKd",
|
8 |
+
"debugId": "3D349C5952D57ED664756e2164756e21",
|
9 |
+
"names": []
|
10 |
+
}
|
workers1/auto3d/node_modules/date-fns/locale/uk/_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/uk/_lib/formatDistance.d.ts
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
import type { FormatDistanceFn } from "../../types.js";
|
2 |
+
export declare const formatDistance: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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatDistance = void 0;
|
3 |
+
|
4 |
+
function declension(scheme, count) {
|
5 |
+
// scheme for count=1 exists
|
6 |
+
if (scheme.one !== undefined && count === 1) {
|
7 |
+
return scheme.one;
|
8 |
+
}
|
9 |
+
|
10 |
+
const rem10 = count % 10;
|
11 |
+
const rem100 = count % 100;
|
12 |
+
|
13 |
+
// 1, 21, 31, ...
|
14 |
+
if (rem10 === 1 && rem100 !== 11) {
|
15 |
+
return scheme.singularNominative.replace("{{count}}", String(count));
|
16 |
+
|
17 |
+
// 2, 3, 4, 22, 23, 24, 32 ...
|
18 |
+
} else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) {
|
19 |
+
return scheme.singularGenitive.replace("{{count}}", String(count));
|
20 |
+
|
21 |
+
// 5, 6, 7, 8, 9, 10, 11, ...
|
22 |
+
} else {
|
23 |
+
return scheme.pluralGenitive.replace("{{count}}", String(count));
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
function buildLocalizeTokenFn(scheme) {
|
28 |
+
return (count, options) => {
|
29 |
+
if (options && options.addSuffix) {
|
30 |
+
if (options.comparison && options.comparison > 0) {
|
31 |
+
if (scheme.future) {
|
32 |
+
return declension(scheme.future, count);
|
33 |
+
} else {
|
34 |
+
return "за " + declension(scheme.regular, count);
|
35 |
+
}
|
36 |
+
} else {
|
37 |
+
if (scheme.past) {
|
38 |
+
return declension(scheme.past, count);
|
39 |
+
} else {
|
40 |
+
return declension(scheme.regular, count) + " тому";
|
41 |
+
}
|
42 |
+
}
|
43 |
+
} else {
|
44 |
+
return declension(scheme.regular, count);
|
45 |
+
}
|
46 |
+
};
|
47 |
+
}
|
48 |
+
|
49 |
+
const halfAtMinute = (_, options) => {
|
50 |
+
if (options && options.addSuffix) {
|
51 |
+
if (options.comparison && options.comparison > 0) {
|
52 |
+
return "за півхвилини";
|
53 |
+
} else {
|
54 |
+
return "півхвилини тому";
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
return "півхвилини";
|
59 |
+
};
|
60 |
+
|
61 |
+
const formatDistanceLocale = {
|
62 |
+
lessThanXSeconds: buildLocalizeTokenFn({
|
63 |
+
regular: {
|
64 |
+
one: "менше секунди",
|
65 |
+
singularNominative: "менше {{count}} секунди",
|
66 |
+
singularGenitive: "менше {{count}} секунд",
|
67 |
+
pluralGenitive: "менше {{count}} секунд",
|
68 |
+
},
|
69 |
+
future: {
|
70 |
+
one: "менше, ніж за секунду",
|
71 |
+
singularNominative: "менше, ніж за {{count}} секунду",
|
72 |
+
singularGenitive: "менше, ніж за {{count}} секунди",
|
73 |
+
pluralGenitive: "менше, ніж за {{count}} секунд",
|
74 |
+
},
|
75 |
+
}),
|
76 |
+
|
77 |
+
xSeconds: buildLocalizeTokenFn({
|
78 |
+
regular: {
|
79 |
+
singularNominative: "{{count}} секунда",
|
80 |
+
singularGenitive: "{{count}} секунди",
|
81 |
+
pluralGenitive: "{{count}} секунд",
|
82 |
+
},
|
83 |
+
past: {
|
84 |
+
singularNominative: "{{count}} секунду тому",
|
85 |
+
singularGenitive: "{{count}} секунди тому",
|
86 |
+
pluralGenitive: "{{count}} секунд тому",
|
87 |
+
},
|
88 |
+
future: {
|
89 |
+
singularNominative: "за {{count}} секунду",
|
90 |
+
singularGenitive: "за {{count}} секунди",
|
91 |
+
pluralGenitive: "за {{count}} секунд",
|
92 |
+
},
|
93 |
+
}),
|
94 |
+
|
95 |
+
halfAMinute: halfAtMinute,
|
96 |
+
|
97 |
+
lessThanXMinutes: buildLocalizeTokenFn({
|
98 |
+
regular: {
|
99 |
+
one: "менше хвилини",
|
100 |
+
singularNominative: "менше {{count}} хвилини",
|
101 |
+
singularGenitive: "менше {{count}} хвилин",
|
102 |
+
pluralGenitive: "менше {{count}} хвилин",
|
103 |
+
},
|
104 |
+
future: {
|
105 |
+
one: "менше, ніж за хвилину",
|
106 |
+
singularNominative: "менше, ніж за {{count}} хвилину",
|
107 |
+
singularGenitive: "менше, ніж за {{count}} хвилини",
|
108 |
+
pluralGenitive: "менше, ніж за {{count}} хвилин",
|
109 |
+
},
|
110 |
+
}),
|
111 |
+
|
112 |
+
xMinutes: buildLocalizeTokenFn({
|
113 |
+
regular: {
|
114 |
+
singularNominative: "{{count}} хвилина",
|
115 |
+
singularGenitive: "{{count}} хвилини",
|
116 |
+
pluralGenitive: "{{count}} хвилин",
|
117 |
+
},
|
118 |
+
past: {
|
119 |
+
singularNominative: "{{count}} хвилину тому",
|
120 |
+
singularGenitive: "{{count}} хвилини тому",
|
121 |
+
pluralGenitive: "{{count}} хвилин тому",
|
122 |
+
},
|
123 |
+
future: {
|
124 |
+
singularNominative: "за {{count}} хвилину",
|
125 |
+
singularGenitive: "за {{count}} хвилини",
|
126 |
+
pluralGenitive: "за {{count}} хвилин",
|
127 |
+
},
|
128 |
+
}),
|
129 |
+
|
130 |
+
aboutXHours: buildLocalizeTokenFn({
|
131 |
+
regular: {
|
132 |
+
singularNominative: "близько {{count}} години",
|
133 |
+
singularGenitive: "близько {{count}} годин",
|
134 |
+
pluralGenitive: "близько {{count}} годин",
|
135 |
+
},
|
136 |
+
future: {
|
137 |
+
singularNominative: "приблизно за {{count}} годину",
|
138 |
+
singularGenitive: "приблизно за {{count}} години",
|
139 |
+
pluralGenitive: "приблизно за {{count}} годин",
|
140 |
+
},
|
141 |
+
}),
|
142 |
+
|
143 |
+
xHours: buildLocalizeTokenFn({
|
144 |
+
regular: {
|
145 |
+
singularNominative: "{{count}} годину",
|
146 |
+
singularGenitive: "{{count}} години",
|
147 |
+
pluralGenitive: "{{count}} годин",
|
148 |
+
},
|
149 |
+
}),
|
150 |
+
|
151 |
+
xDays: buildLocalizeTokenFn({
|
152 |
+
regular: {
|
153 |
+
singularNominative: "{{count}} день",
|
154 |
+
singularGenitive: "{{count}} днi",
|
155 |
+
pluralGenitive: "{{count}} днів",
|
156 |
+
},
|
157 |
+
}),
|
158 |
+
|
159 |
+
aboutXWeeks: buildLocalizeTokenFn({
|
160 |
+
regular: {
|
161 |
+
singularNominative: "близько {{count}} тижня",
|
162 |
+
singularGenitive: "близько {{count}} тижнів",
|
163 |
+
pluralGenitive: "близько {{count}} тижнів",
|
164 |
+
},
|
165 |
+
future: {
|
166 |
+
singularNominative: "приблизно за {{count}} тиждень",
|
167 |
+
singularGenitive: "приблизно за {{count}} тижні",
|
168 |
+
pluralGenitive: "приблизно за {{count}} тижнів",
|
169 |
+
},
|
170 |
+
}),
|
171 |
+
|
172 |
+
xWeeks: buildLocalizeTokenFn({
|
173 |
+
regular: {
|
174 |
+
singularNominative: "{{count}} тиждень",
|
175 |
+
singularGenitive: "{{count}} тижні",
|
176 |
+
pluralGenitive: "{{count}} тижнів",
|
177 |
+
},
|
178 |
+
}),
|
179 |
+
|
180 |
+
aboutXMonths: buildLocalizeTokenFn({
|
181 |
+
regular: {
|
182 |
+
singularNominative: "близько {{count}} місяця",
|
183 |
+
singularGenitive: "близько {{count}} місяців",
|
184 |
+
pluralGenitive: "близько {{count}} місяців",
|
185 |
+
},
|
186 |
+
future: {
|
187 |
+
singularNominative: "приблизно за {{count}} місяць",
|
188 |
+
singularGenitive: "приблизно за {{count}} місяці",
|
189 |
+
pluralGenitive: "приблизно за {{count}} місяців",
|
190 |
+
},
|
191 |
+
}),
|
192 |
+
|
193 |
+
xMonths: buildLocalizeTokenFn({
|
194 |
+
regular: {
|
195 |
+
singularNominative: "{{count}} місяць",
|
196 |
+
singularGenitive: "{{count}} місяці",
|
197 |
+
pluralGenitive: "{{count}} місяців",
|
198 |
+
},
|
199 |
+
}),
|
200 |
+
|
201 |
+
aboutXYears: buildLocalizeTokenFn({
|
202 |
+
regular: {
|
203 |
+
singularNominative: "близько {{count}} року",
|
204 |
+
singularGenitive: "близько {{count}} років",
|
205 |
+
pluralGenitive: "близько {{count}} років",
|
206 |
+
},
|
207 |
+
future: {
|
208 |
+
singularNominative: "приблизно за {{count}} рік",
|
209 |
+
singularGenitive: "приблизно за {{count}} роки",
|
210 |
+
pluralGenitive: "приблизно за {{count}} років",
|
211 |
+
},
|
212 |
+
}),
|
213 |
+
|
214 |
+
xYears: buildLocalizeTokenFn({
|
215 |
+
regular: {
|
216 |
+
singularNominative: "{{count}} рік",
|
217 |
+
singularGenitive: "{{count}} роки",
|
218 |
+
pluralGenitive: "{{count}} років",
|
219 |
+
},
|
220 |
+
}),
|
221 |
+
|
222 |
+
overXYears: buildLocalizeTokenFn({
|
223 |
+
regular: {
|
224 |
+
singularNominative: "більше {{count}} року",
|
225 |
+
singularGenitive: "більше {{count}} років",
|
226 |
+
pluralGenitive: "більше {{count}} років",
|
227 |
+
},
|
228 |
+
future: {
|
229 |
+
singularNominative: "більше, ніж за {{count}} рік",
|
230 |
+
singularGenitive: "більше, ніж за {{count}} роки",
|
231 |
+
pluralGenitive: "більше, ніж за {{count}} років",
|
232 |
+
},
|
233 |
+
}),
|
234 |
+
|
235 |
+
almostXYears: buildLocalizeTokenFn({
|
236 |
+
regular: {
|
237 |
+
singularNominative: "майже {{count}} рік",
|
238 |
+
singularGenitive: "майже {{count}} роки",
|
239 |
+
pluralGenitive: "майже {{count}} років",
|
240 |
+
},
|
241 |
+
future: {
|
242 |
+
singularNominative: "майже за {{count}} рік",
|
243 |
+
singularGenitive: "майже за {{count}} роки",
|
244 |
+
pluralGenitive: "майже за {{count}} років",
|
245 |
+
},
|
246 |
+
}),
|
247 |
+
};
|
248 |
+
|
249 |
+
const formatDistance = (token, count, options) => {
|
250 |
+
options = options || {};
|
251 |
+
|
252 |
+
return formatDistanceLocale[token](count, options);
|
253 |
+
};
|
254 |
+
exports.formatDistance = formatDistance;
|
workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatDistance.mjs
ADDED
@@ -0,0 +1,250 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
}
|
6 |
+
|
7 |
+
const rem10 = count % 10;
|
8 |
+
const rem100 = count % 100;
|
9 |
+
|
10 |
+
// 1, 21, 31, ...
|
11 |
+
if (rem10 === 1 && rem100 !== 11) {
|
12 |
+
return scheme.singularNominative.replace("{{count}}", String(count));
|
13 |
+
|
14 |
+
// 2, 3, 4, 22, 23, 24, 32 ...
|
15 |
+
} else if (rem10 >= 2 && rem10 <= 4 && (rem100 < 10 || rem100 > 20)) {
|
16 |
+
return scheme.singularGenitive.replace("{{count}}", String(count));
|
17 |
+
|
18 |
+
// 5, 6, 7, 8, 9, 10, 11, ...
|
19 |
+
} else {
|
20 |
+
return scheme.pluralGenitive.replace("{{count}}", String(count));
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
24 |
+
function buildLocalizeTokenFn(scheme) {
|
25 |
+
return (count, options) => {
|
26 |
+
if (options && options.addSuffix) {
|
27 |
+
if (options.comparison && options.comparison > 0) {
|
28 |
+
if (scheme.future) {
|
29 |
+
return declension(scheme.future, count);
|
30 |
+
} else {
|
31 |
+
return "за " + declension(scheme.regular, count);
|
32 |
+
}
|
33 |
+
} else {
|
34 |
+
if (scheme.past) {
|
35 |
+
return declension(scheme.past, count);
|
36 |
+
} else {
|
37 |
+
return declension(scheme.regular, count) + " тому";
|
38 |
+
}
|
39 |
+
}
|
40 |
+
} else {
|
41 |
+
return declension(scheme.regular, count);
|
42 |
+
}
|
43 |
+
};
|
44 |
+
}
|
45 |
+
|
46 |
+
const halfAtMinute = (_, options) => {
|
47 |
+
if (options && options.addSuffix) {
|
48 |
+
if (options.comparison && options.comparison > 0) {
|
49 |
+
return "за півхвилини";
|
50 |
+
} else {
|
51 |
+
return "півхвилини тому";
|
52 |
+
}
|
53 |
+
}
|
54 |
+
|
55 |
+
return "півхвилини";
|
56 |
+
};
|
57 |
+
|
58 |
+
const formatDistanceLocale = {
|
59 |
+
lessThanXSeconds: buildLocalizeTokenFn({
|
60 |
+
regular: {
|
61 |
+
one: "менше секунди",
|
62 |
+
singularNominative: "менше {{count}} секунди",
|
63 |
+
singularGenitive: "менше {{count}} секунд",
|
64 |
+
pluralGenitive: "менше {{count}} секунд",
|
65 |
+
},
|
66 |
+
future: {
|
67 |
+
one: "менше, ніж за секунду",
|
68 |
+
singularNominative: "менше, ніж за {{count}} секунду",
|
69 |
+
singularGenitive: "менше, ніж за {{count}} секунди",
|
70 |
+
pluralGenitive: "менше, ніж за {{count}} секунд",
|
71 |
+
},
|
72 |
+
}),
|
73 |
+
|
74 |
+
xSeconds: buildLocalizeTokenFn({
|
75 |
+
regular: {
|
76 |
+
singularNominative: "{{count}} секунда",
|
77 |
+
singularGenitive: "{{count}} секунди",
|
78 |
+
pluralGenitive: "{{count}} секунд",
|
79 |
+
},
|
80 |
+
past: {
|
81 |
+
singularNominative: "{{count}} секунду тому",
|
82 |
+
singularGenitive: "{{count}} секунди тому",
|
83 |
+
pluralGenitive: "{{count}} секунд тому",
|
84 |
+
},
|
85 |
+
future: {
|
86 |
+
singularNominative: "за {{count}} секунду",
|
87 |
+
singularGenitive: "за {{count}} секунди",
|
88 |
+
pluralGenitive: "за {{count}} секунд",
|
89 |
+
},
|
90 |
+
}),
|
91 |
+
|
92 |
+
halfAMinute: halfAtMinute,
|
93 |
+
|
94 |
+
lessThanXMinutes: buildLocalizeTokenFn({
|
95 |
+
regular: {
|
96 |
+
one: "менше хвилини",
|
97 |
+
singularNominative: "менше {{count}} хвилини",
|
98 |
+
singularGenitive: "менше {{count}} хвилин",
|
99 |
+
pluralGenitive: "менше {{count}} хвилин",
|
100 |
+
},
|
101 |
+
future: {
|
102 |
+
one: "менше, ніж за хвилину",
|
103 |
+
singularNominative: "менше, ніж за {{count}} хвилину",
|
104 |
+
singularGenitive: "менше, ніж за {{count}} хвилини",
|
105 |
+
pluralGenitive: "менше, ніж за {{count}} хвилин",
|
106 |
+
},
|
107 |
+
}),
|
108 |
+
|
109 |
+
xMinutes: buildLocalizeTokenFn({
|
110 |
+
regular: {
|
111 |
+
singularNominative: "{{count}} хвилина",
|
112 |
+
singularGenitive: "{{count}} хвилини",
|
113 |
+
pluralGenitive: "{{count}} хвилин",
|
114 |
+
},
|
115 |
+
past: {
|
116 |
+
singularNominative: "{{count}} хвилину тому",
|
117 |
+
singularGenitive: "{{count}} хвилини тому",
|
118 |
+
pluralGenitive: "{{count}} хвилин тому",
|
119 |
+
},
|
120 |
+
future: {
|
121 |
+
singularNominative: "за {{count}} хвилину",
|
122 |
+
singularGenitive: "за {{count}} хвилини",
|
123 |
+
pluralGenitive: "за {{count}} хвилин",
|
124 |
+
},
|
125 |
+
}),
|
126 |
+
|
127 |
+
aboutXHours: buildLocalizeTokenFn({
|
128 |
+
regular: {
|
129 |
+
singularNominative: "близько {{count}} години",
|
130 |
+
singularGenitive: "близько {{count}} годин",
|
131 |
+
pluralGenitive: "близько {{count}} годин",
|
132 |
+
},
|
133 |
+
future: {
|
134 |
+
singularNominative: "приблизно за {{count}} годину",
|
135 |
+
singularGenitive: "приблизно за {{count}} години",
|
136 |
+
pluralGenitive: "приблизно за {{count}} годин",
|
137 |
+
},
|
138 |
+
}),
|
139 |
+
|
140 |
+
xHours: buildLocalizeTokenFn({
|
141 |
+
regular: {
|
142 |
+
singularNominative: "{{count}} годину",
|
143 |
+
singularGenitive: "{{count}} години",
|
144 |
+
pluralGenitive: "{{count}} годин",
|
145 |
+
},
|
146 |
+
}),
|
147 |
+
|
148 |
+
xDays: buildLocalizeTokenFn({
|
149 |
+
regular: {
|
150 |
+
singularNominative: "{{count}} день",
|
151 |
+
singularGenitive: "{{count}} днi",
|
152 |
+
pluralGenitive: "{{count}} днів",
|
153 |
+
},
|
154 |
+
}),
|
155 |
+
|
156 |
+
aboutXWeeks: buildLocalizeTokenFn({
|
157 |
+
regular: {
|
158 |
+
singularNominative: "близько {{count}} тижня",
|
159 |
+
singularGenitive: "близько {{count}} тижнів",
|
160 |
+
pluralGenitive: "близько {{count}} тижнів",
|
161 |
+
},
|
162 |
+
future: {
|
163 |
+
singularNominative: "приблизно за {{count}} тиждень",
|
164 |
+
singularGenitive: "приблизно за {{count}} тижні",
|
165 |
+
pluralGenitive: "приблизно за {{count}} тижнів",
|
166 |
+
},
|
167 |
+
}),
|
168 |
+
|
169 |
+
xWeeks: buildLocalizeTokenFn({
|
170 |
+
regular: {
|
171 |
+
singularNominative: "{{count}} тиждень",
|
172 |
+
singularGenitive: "{{count}} тижні",
|
173 |
+
pluralGenitive: "{{count}} тижнів",
|
174 |
+
},
|
175 |
+
}),
|
176 |
+
|
177 |
+
aboutXMonths: buildLocalizeTokenFn({
|
178 |
+
regular: {
|
179 |
+
singularNominative: "близько {{count}} місяця",
|
180 |
+
singularGenitive: "близько {{count}} місяців",
|
181 |
+
pluralGenitive: "близько {{count}} місяців",
|
182 |
+
},
|
183 |
+
future: {
|
184 |
+
singularNominative: "приблизно за {{count}} місяць",
|
185 |
+
singularGenitive: "приблизно за {{count}} місяці",
|
186 |
+
pluralGenitive: "приблизно за {{count}} місяців",
|
187 |
+
},
|
188 |
+
}),
|
189 |
+
|
190 |
+
xMonths: buildLocalizeTokenFn({
|
191 |
+
regular: {
|
192 |
+
singularNominative: "{{count}} місяць",
|
193 |
+
singularGenitive: "{{count}} місяці",
|
194 |
+
pluralGenitive: "{{count}} місяців",
|
195 |
+
},
|
196 |
+
}),
|
197 |
+
|
198 |
+
aboutXYears: buildLocalizeTokenFn({
|
199 |
+
regular: {
|
200 |
+
singularNominative: "близько {{count}} року",
|
201 |
+
singularGenitive: "близько {{count}} років",
|
202 |
+
pluralGenitive: "близько {{count}} років",
|
203 |
+
},
|
204 |
+
future: {
|
205 |
+
singularNominative: "приблизно за {{count}} рік",
|
206 |
+
singularGenitive: "приблизно за {{count}} роки",
|
207 |
+
pluralGenitive: "приблизно за {{count}} років",
|
208 |
+
},
|
209 |
+
}),
|
210 |
+
|
211 |
+
xYears: buildLocalizeTokenFn({
|
212 |
+
regular: {
|
213 |
+
singularNominative: "{{count}} рік",
|
214 |
+
singularGenitive: "{{count}} роки",
|
215 |
+
pluralGenitive: "{{count}} років",
|
216 |
+
},
|
217 |
+
}),
|
218 |
+
|
219 |
+
overXYears: buildLocalizeTokenFn({
|
220 |
+
regular: {
|
221 |
+
singularNominative: "більше {{count}} року",
|
222 |
+
singularGenitive: "більше {{count}} років",
|
223 |
+
pluralGenitive: "більше {{count}} років",
|
224 |
+
},
|
225 |
+
future: {
|
226 |
+
singularNominative: "більше, ніж за {{count}} рік",
|
227 |
+
singularGenitive: "більше, ніж за {{count}} роки",
|
228 |
+
pluralGenitive: "більше, ніж за {{count}} років",
|
229 |
+
},
|
230 |
+
}),
|
231 |
+
|
232 |
+
almostXYears: buildLocalizeTokenFn({
|
233 |
+
regular: {
|
234 |
+
singularNominative: "майже {{count}} рік",
|
235 |
+
singularGenitive: "майже {{count}} роки",
|
236 |
+
pluralGenitive: "майже {{count}} років",
|
237 |
+
},
|
238 |
+
future: {
|
239 |
+
singularNominative: "майже за {{count}} рік",
|
240 |
+
singularGenitive: "майже за {{count}} роки",
|
241 |
+
pluralGenitive: "майже за {{count}} років",
|
242 |
+
},
|
243 |
+
}),
|
244 |
+
};
|
245 |
+
|
246 |
+
export const formatDistance = (token, count, options) => {
|
247 |
+
options = options || {};
|
248 |
+
|
249 |
+
return formatDistanceLocale[token](count, options);
|
250 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/uk/_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/uk/_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/uk/_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, do MMMM y 'р.'",
|
7 |
+
long: "do MMMM y 'р.'",
|
8 |
+
medium: "d MMM y 'р.'",
|
9 |
+
short: "dd.MM.y",
|
10 |
+
};
|
11 |
+
|
12 |
+
const timeFormats = {
|
13 |
+
full: "H:mm:ss zzzz",
|
14 |
+
long: "H:mm:ss z",
|
15 |
+
medium: "H:mm:ss",
|
16 |
+
short: "H: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/uk/_lib/formatLong.mjs
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
2 |
+
|
3 |
+
const dateFormats = {
|
4 |
+
full: "EEEE, do MMMM y 'р.'",
|
5 |
+
long: "do MMMM y 'р.'",
|
6 |
+
medium: "d MMM y 'р.'",
|
7 |
+
short: "dd.MM.y",
|
8 |
+
};
|
9 |
+
|
10 |
+
const timeFormats = {
|
11 |
+
full: "H:mm:ss zzzz",
|
12 |
+
long: "H:mm:ss z",
|
13 |
+
medium: "H:mm:ss",
|
14 |
+
short: "H: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/uk/_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/uk/_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/uk/_lib/formatRelative.js
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatRelative = void 0;
|
3 |
+
var _index = require("../../../isSameWeek.js");
|
4 |
+
var _index2 = require("../../../toDate.js");
|
5 |
+
|
6 |
+
const accusativeWeekdays = [
|
7 |
+
"неділю",
|
8 |
+
"понеділок",
|
9 |
+
"вівторок",
|
10 |
+
"середу",
|
11 |
+
"четвер",
|
12 |
+
"п’ятницю",
|
13 |
+
"суботу",
|
14 |
+
];
|
15 |
+
|
16 |
+
function lastWeek(day) {
|
17 |
+
const weekday = accusativeWeekdays[day];
|
18 |
+
|
19 |
+
switch (day) {
|
20 |
+
case 0:
|
21 |
+
case 3:
|
22 |
+
case 5:
|
23 |
+
case 6:
|
24 |
+
return "'у минулу " + weekday + " о' p";
|
25 |
+
case 1:
|
26 |
+
case 2:
|
27 |
+
case 4:
|
28 |
+
return "'у минулий " + weekday + " о' p";
|
29 |
+
}
|
30 |
+
}
|
31 |
+
|
32 |
+
function thisWeek(day) {
|
33 |
+
const weekday = accusativeWeekdays[day];
|
34 |
+
|
35 |
+
return "'у " + weekday + " о' p";
|
36 |
+
}
|
37 |
+
|
38 |
+
function nextWeek(day) {
|
39 |
+
const weekday = accusativeWeekdays[day];
|
40 |
+
|
41 |
+
switch (day) {
|
42 |
+
case 0:
|
43 |
+
case 3:
|
44 |
+
case 5:
|
45 |
+
case 6:
|
46 |
+
return "'у наступну " + weekday + " о' p";
|
47 |
+
case 1:
|
48 |
+
case 2:
|
49 |
+
case 4:
|
50 |
+
return "'у наступний " + weekday + " о' p";
|
51 |
+
}
|
52 |
+
}
|
53 |
+
|
54 |
+
const lastWeekFormat = (dirtyDate, baseDate, options) => {
|
55 |
+
const date = (0, _index2.toDate)(dirtyDate);
|
56 |
+
const day = date.getDay();
|
57 |
+
|
58 |
+
if ((0, _index.isSameWeek)(date, baseDate, options)) {
|
59 |
+
return thisWeek(day);
|
60 |
+
} else {
|
61 |
+
return lastWeek(day);
|
62 |
+
}
|
63 |
+
};
|
64 |
+
|
65 |
+
const nextWeekFormat = (dirtyDate, baseDate, options) => {
|
66 |
+
const date = (0, _index2.toDate)(dirtyDate);
|
67 |
+
const day = date.getDay();
|
68 |
+
if ((0, _index.isSameWeek)(date, baseDate, options)) {
|
69 |
+
return thisWeek(day);
|
70 |
+
} else {
|
71 |
+
return nextWeek(day);
|
72 |
+
}
|
73 |
+
};
|
74 |
+
|
75 |
+
const formatRelativeLocale = {
|
76 |
+
lastWeek: lastWeekFormat,
|
77 |
+
yesterday: "'вчора о' p",
|
78 |
+
today: "'сьогодні о' p",
|
79 |
+
tomorrow: "'завтра о' p",
|
80 |
+
nextWeek: nextWeekFormat,
|
81 |
+
other: "P",
|
82 |
+
};
|
83 |
+
|
84 |
+
const formatRelative = (token, date, baseDate, options) => {
|
85 |
+
const format = formatRelativeLocale[token];
|
86 |
+
|
87 |
+
if (typeof format === "function") {
|
88 |
+
return format(date, baseDate, options);
|
89 |
+
}
|
90 |
+
|
91 |
+
return format;
|
92 |
+
};
|
93 |
+
exports.formatRelative = formatRelative;
|
workers1/auto3d/node_modules/date-fns/locale/uk/_lib/formatRelative.mjs
ADDED
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { isSameWeek } from "../../../isSameWeek.mjs";
|
2 |
+
import { toDate } from "../../../toDate.mjs";
|
3 |
+
|
4 |
+
const accusativeWeekdays = [
|
5 |
+
"неділю",
|
6 |
+
"понеділок",
|
7 |
+
"вівторок",
|
8 |
+
"середу",
|
9 |
+
"четвер",
|
10 |
+
"п’ятницю",
|
11 |
+
"суботу",
|
12 |
+
];
|
13 |
+
|
14 |
+
function lastWeek(day) {
|
15 |
+
const weekday = accusativeWeekdays[day];
|
16 |
+
|
17 |
+
switch (day) {
|
18 |
+
case 0:
|
19 |
+
case 3:
|
20 |
+
case 5:
|
21 |
+
case 6:
|
22 |
+
return "'у минулу " + weekday + " о' p";
|
23 |
+
case 1:
|
24 |
+
case 2:
|
25 |
+
case 4:
|
26 |
+
return "'у минулий " + weekday + " о' p";
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
function thisWeek(day) {
|
31 |
+
const weekday = accusativeWeekdays[day];
|
32 |
+
|
33 |
+
return "'у " + weekday + " о' p";
|
34 |
+
}
|
35 |
+
|
36 |
+
function nextWeek(day) {
|
37 |
+
const weekday = accusativeWeekdays[day];
|
38 |
+
|
39 |
+
switch (day) {
|
40 |
+
case 0:
|
41 |
+
case 3:
|
42 |
+
case 5:
|
43 |
+
case 6:
|
44 |
+
return "'у наступну " + weekday + " о' p";
|
45 |
+
case 1:
|
46 |
+
case 2:
|
47 |
+
case 4:
|
48 |
+
return "'у наступний " + weekday + " о' p";
|
49 |
+
}
|
50 |
+
}
|
51 |
+
|
52 |
+
const lastWeekFormat = (dirtyDate, baseDate, options) => {
|
53 |
+
const date = toDate(dirtyDate);
|
54 |
+
const day = date.getDay();
|
55 |
+
|
56 |
+
if (isSameWeek(date, baseDate, options)) {
|
57 |
+
return thisWeek(day);
|
58 |
+
} else {
|
59 |
+
return lastWeek(day);
|
60 |
+
}
|
61 |
+
};
|
62 |
+
|
63 |
+
const nextWeekFormat = (dirtyDate, baseDate, options) => {
|
64 |
+
const date = toDate(dirtyDate);
|
65 |
+
const day = date.getDay();
|
66 |
+
if (isSameWeek(date, baseDate, options)) {
|
67 |
+
return thisWeek(day);
|
68 |
+
} else {
|
69 |
+
return nextWeek(day);
|
70 |
+
}
|
71 |
+
};
|
72 |
+
|
73 |
+
const formatRelativeLocale = {
|
74 |
+
lastWeek: lastWeekFormat,
|
75 |
+
yesterday: "'вчора о' p",
|
76 |
+
today: "'сьогодні о' p",
|
77 |
+
tomorrow: "'завтра о' p",
|
78 |
+
nextWeek: nextWeekFormat,
|
79 |
+
other: "P",
|
80 |
+
};
|
81 |
+
|
82 |
+
export const formatRelative = (token, date, baseDate, options) => {
|
83 |
+
const format = formatRelativeLocale[token];
|
84 |
+
|
85 |
+
if (typeof format === "function") {
|
86 |
+
return format(date, baseDate, options);
|
87 |
+
}
|
88 |
+
|
89 |
+
return format;
|
90 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/uk/_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/uk/_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/uk/_lib/localize.js
ADDED
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.localize = void 0;
|
3 |
+
var _index = require("../../_lib/buildLocalizeFn.js");
|
4 |
+
|
5 |
+
const eraValues = {
|
6 |
+
narrow: ["до н.е.", "н.е."],
|
7 |
+
abbreviated: ["до н. е.", "н. е."],
|
8 |
+
wide: ["до нашої ери", "нашої ери"],
|
9 |
+
};
|
10 |
+
|
11 |
+
const quarterValues = {
|
12 |
+
narrow: ["1", "2", "3", "4"],
|
13 |
+
abbreviated: ["1-й кв.", "2-й кв.", "3-й кв.", "4-й кв."],
|
14 |
+
wide: ["1-й квартал", "2-й квартал", "3-й квартал", "4-й квартал"],
|
15 |
+
};
|
16 |
+
|
17 |
+
const monthValues = {
|
18 |
+
// ДСТУ 3582:2013
|
19 |
+
narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"],
|
20 |
+
abbreviated: [
|
21 |
+
"січ.",
|
22 |
+
"лют.",
|
23 |
+
"берез.",
|
24 |
+
"квіт.",
|
25 |
+
"трав.",
|
26 |
+
"черв.",
|
27 |
+
"лип.",
|
28 |
+
"серп.",
|
29 |
+
"верес.",
|
30 |
+
"жовт.",
|
31 |
+
"листоп.",
|
32 |
+
"груд.",
|
33 |
+
],
|
34 |
+
|
35 |
+
wide: [
|
36 |
+
"січень",
|
37 |
+
"лютий",
|
38 |
+
"березень",
|
39 |
+
"квітень",
|
40 |
+
"травень",
|
41 |
+
"червень",
|
42 |
+
"липень",
|
43 |
+
"серпень",
|
44 |
+
"вересень",
|
45 |
+
"жовтень",
|
46 |
+
"листопад",
|
47 |
+
"грудень",
|
48 |
+
],
|
49 |
+
};
|
50 |
+
|
51 |
+
const formattingMonthValues = {
|
52 |
+
narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"],
|
53 |
+
abbreviated: [
|
54 |
+
"січ.",
|
55 |
+
"лют.",
|
56 |
+
"берез.",
|
57 |
+
"квіт.",
|
58 |
+
"трав.",
|
59 |
+
"черв.",
|
60 |
+
"лип.",
|
61 |
+
"серп.",
|
62 |
+
"верес.",
|
63 |
+
"жовт.",
|
64 |
+
"листоп.",
|
65 |
+
"груд.",
|
66 |
+
],
|
67 |
+
|
68 |
+
wide: [
|
69 |
+
"січня",
|
70 |
+
"лютого",
|
71 |
+
"березня",
|
72 |
+
"квітня",
|
73 |
+
"травня",
|
74 |
+
"червня",
|
75 |
+
"липня",
|
76 |
+
"серпня",
|
77 |
+
"вересня",
|
78 |
+
"жовтня",
|
79 |
+
"листопада",
|
80 |
+
"грудня",
|
81 |
+
],
|
82 |
+
};
|
83 |
+
|
84 |
+
const dayValues = {
|
85 |
+
narrow: ["Н", "П", "В", "С", "Ч", "П", "С"],
|
86 |
+
short: ["нд", "пн", "вт", "ср", "чт", "пт", "сб"],
|
87 |
+
abbreviated: ["нед", "пон", "вів", "сер", "чтв", "птн", "суб"],
|
88 |
+
wide: [
|
89 |
+
"неділя",
|
90 |
+
"понеділок",
|
91 |
+
"вівторок",
|
92 |
+
"середа",
|
93 |
+
"четвер",
|
94 |
+
"п’ятниця",
|
95 |
+
"субота",
|
96 |
+
],
|
97 |
+
};
|
98 |
+
|
99 |
+
const dayPeriodValues = {
|
100 |
+
narrow: {
|
101 |
+
am: "ДП",
|
102 |
+
pm: "ПП",
|
103 |
+
midnight: "півн.",
|
104 |
+
noon: "пол.",
|
105 |
+
morning: "ранок",
|
106 |
+
afternoon: "день",
|
107 |
+
evening: "веч.",
|
108 |
+
night: "ніч",
|
109 |
+
},
|
110 |
+
abbreviated: {
|
111 |
+
am: "ДП",
|
112 |
+
pm: "ПП",
|
113 |
+
midnight: "півн.",
|
114 |
+
noon: "пол.",
|
115 |
+
morning: "ранок",
|
116 |
+
afternoon: "день",
|
117 |
+
evening: "веч.",
|
118 |
+
night: "ніч",
|
119 |
+
},
|
120 |
+
wide: {
|
121 |
+
am: "ДП",
|
122 |
+
pm: "ПП",
|
123 |
+
midnight: "північ",
|
124 |
+
noon: "полудень",
|
125 |
+
morning: "ранок",
|
126 |
+
afternoon: "день",
|
127 |
+
evening: "вечір",
|
128 |
+
night: "ніч",
|
129 |
+
},
|
130 |
+
};
|
131 |
+
|
132 |
+
const formattingDayPeriodValues = {
|
133 |
+
narrow: {
|
134 |
+
am: "ДП",
|
135 |
+
pm: "ПП",
|
136 |
+
midnight: "півн.",
|
137 |
+
noon: "пол.",
|
138 |
+
morning: "ранку",
|
139 |
+
afternoon: "дня",
|
140 |
+
evening: "веч.",
|
141 |
+
night: "ночі",
|
142 |
+
},
|
143 |
+
abbreviated: {
|
144 |
+
am: "ДП",
|
145 |
+
pm: "ПП",
|
146 |
+
midnight: "півн.",
|
147 |
+
noon: "пол.",
|
148 |
+
morning: "ранку",
|
149 |
+
afternoon: "дня",
|
150 |
+
evening: "веч.",
|
151 |
+
night: "ночі",
|
152 |
+
},
|
153 |
+
wide: {
|
154 |
+
am: "ДП",
|
155 |
+
pm: "ПП",
|
156 |
+
midnight: "північ",
|
157 |
+
noon: "полудень",
|
158 |
+
morning: "ранку",
|
159 |
+
afternoon: "дня",
|
160 |
+
evening: "веч.",
|
161 |
+
night: "ночі",
|
162 |
+
},
|
163 |
+
};
|
164 |
+
|
165 |
+
const ordinalNumber = (dirtyNumber, options) => {
|
166 |
+
const unit = String(options?.unit);
|
167 |
+
const number = Number(dirtyNumber);
|
168 |
+
let suffix;
|
169 |
+
|
170 |
+
if (unit === "date") {
|
171 |
+
if (number === 3 || number === 23) {
|
172 |
+
suffix = "-є";
|
173 |
+
} else {
|
174 |
+
suffix = "-е";
|
175 |
+
}
|
176 |
+
} else if (unit === "minute" || unit === "second" || unit === "hour") {
|
177 |
+
suffix = "-а";
|
178 |
+
} else {
|
179 |
+
suffix = "-й";
|
180 |
+
}
|
181 |
+
|
182 |
+
return number + suffix;
|
183 |
+
};
|
184 |
+
|
185 |
+
const localize = (exports.localize = {
|
186 |
+
ordinalNumber,
|
187 |
+
|
188 |
+
era: (0, _index.buildLocalizeFn)({
|
189 |
+
values: eraValues,
|
190 |
+
defaultWidth: "wide",
|
191 |
+
}),
|
192 |
+
|
193 |
+
quarter: (0, _index.buildLocalizeFn)({
|
194 |
+
values: quarterValues,
|
195 |
+
defaultWidth: "wide",
|
196 |
+
argumentCallback: (quarter) => quarter - 1,
|
197 |
+
}),
|
198 |
+
|
199 |
+
month: (0, _index.buildLocalizeFn)({
|
200 |
+
values: monthValues,
|
201 |
+
defaultWidth: "wide",
|
202 |
+
formattingValues: formattingMonthValues,
|
203 |
+
defaultFormattingWidth: "wide",
|
204 |
+
}),
|
205 |
+
|
206 |
+
day: (0, _index.buildLocalizeFn)({
|
207 |
+
values: dayValues,
|
208 |
+
defaultWidth: "wide",
|
209 |
+
}),
|
210 |
+
|
211 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
212 |
+
values: dayPeriodValues,
|
213 |
+
defaultWidth: "any",
|
214 |
+
formattingValues: formattingDayPeriodValues,
|
215 |
+
defaultFormattingWidth: "wide",
|
216 |
+
}),
|
217 |
+
});
|