Spaces:
Configuration error
Configuration error
luigi12345
commited on
Commit
•
1f6da93
1
Parent(s):
b58fcd5
4c28872e3edc02685091428f01d664212f73d3913924c86e37c8c69a79fefc99
Browse files- workers1/auto3d/node_modules/date-fns/locale/zh-CN.d.mts +13 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN.d.ts +13 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN.js +31 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN.mjs +32 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.mjs +101 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatLong.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatLong.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatLong.js +41 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatLong.mjs +39 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.js +34 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.mjs +31 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/localize.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/localize.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/localize.js +185 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/localize.mjs +183 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/match.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/match.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/match.js +133 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/match.mjs +130 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/cdn.js +587 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/cdn.js.map +1 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/cdn.min.js +3 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-CN/cdn.min.js.map +10 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK.d.mts +9 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatDistance.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatDistance.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatDistance.js +105 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatDistance.mjs +101 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatLong.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatLong.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatLong.js +41 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatLong.mjs +39 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatRelative.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatRelative.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatRelative.js +15 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatRelative.mjs +11 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/localize.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/localize.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/localize.js +185 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/localize.mjs +183 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/match.d.mts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/match.d.ts +2 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/match.js +133 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/match.mjs +130 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/cdn.js +532 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/cdn.js.map +1 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/cdn.min.js +3 -0
- workers1/auto3d/node_modules/date-fns/locale/zh-HK/cdn.min.js.map +10 -0
workers1/auto3d/node_modules/date-fns/locale/zh-CN.d.mts
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Chinese Simplified locale.
|
5 |
+
* @language Chinese Simplified
|
6 |
+
* @iso-639-2 zho
|
7 |
+
* @author Changyu Geng [@KingMario](https://github.com/KingMario)
|
8 |
+
* @author Song Shuoyun [@fnlctrl](https://github.com/fnlctrl)
|
9 |
+
* @author sabrinaM [@sabrinamiao](https://github.com/sabrinamiao)
|
10 |
+
* @author Carney Wu [@cubicwork](https://github.com/cubicwork)
|
11 |
+
* @author Terrence Lam [@skyuplam](https://github.com/skyuplam)
|
12 |
+
*/
|
13 |
+
export declare const zhCN: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN.d.ts
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Chinese Simplified locale.
|
5 |
+
* @language Chinese Simplified
|
6 |
+
* @iso-639-2 zho
|
7 |
+
* @author Changyu Geng [@KingMario](https://github.com/KingMario)
|
8 |
+
* @author Song Shuoyun [@fnlctrl](https://github.com/fnlctrl)
|
9 |
+
* @author sabrinaM [@sabrinamiao](https://github.com/sabrinamiao)
|
10 |
+
* @author Carney Wu [@cubicwork](https://github.com/cubicwork)
|
11 |
+
* @author Terrence Lam [@skyuplam](https://github.com/skyuplam)
|
12 |
+
*/
|
13 |
+
export declare const zhCN: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN.js
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.zhCN = void 0;
|
3 |
+
var _index = require("./zh-CN/_lib/formatDistance.js");
|
4 |
+
var _index2 = require("./zh-CN/_lib/formatLong.js");
|
5 |
+
var _index3 = require("./zh-CN/_lib/formatRelative.js");
|
6 |
+
var _index4 = require("./zh-CN/_lib/localize.js");
|
7 |
+
var _index5 = require("./zh-CN/_lib/match.js");
|
8 |
+
|
9 |
+
/**
|
10 |
+
* @category Locales
|
11 |
+
* @summary Chinese Simplified locale.
|
12 |
+
* @language Chinese Simplified
|
13 |
+
* @iso-639-2 zho
|
14 |
+
* @author Changyu Geng [@KingMario](https://github.com/KingMario)
|
15 |
+
* @author Song Shuoyun [@fnlctrl](https://github.com/fnlctrl)
|
16 |
+
* @author sabrinaM [@sabrinamiao](https://github.com/sabrinamiao)
|
17 |
+
* @author Carney Wu [@cubicwork](https://github.com/cubicwork)
|
18 |
+
* @author Terrence Lam [@skyuplam](https://github.com/skyuplam)
|
19 |
+
*/
|
20 |
+
const zhCN = (exports.zhCN = {
|
21 |
+
code: "zh-CN",
|
22 |
+
formatDistance: _index.formatDistance,
|
23 |
+
formatLong: _index2.formatLong,
|
24 |
+
formatRelative: _index3.formatRelative,
|
25 |
+
localize: _index4.localize,
|
26 |
+
match: _index5.match,
|
27 |
+
options: {
|
28 |
+
weekStartsOn: 1 /* Monday */,
|
29 |
+
firstWeekContainsDate: 4,
|
30 |
+
},
|
31 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN.mjs
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { formatDistance } from "./zh-CN/_lib/formatDistance.mjs";
|
2 |
+
import { formatLong } from "./zh-CN/_lib/formatLong.mjs";
|
3 |
+
import { formatRelative } from "./zh-CN/_lib/formatRelative.mjs";
|
4 |
+
import { localize } from "./zh-CN/_lib/localize.mjs";
|
5 |
+
import { match } from "./zh-CN/_lib/match.mjs";
|
6 |
+
|
7 |
+
/**
|
8 |
+
* @category Locales
|
9 |
+
* @summary Chinese Simplified locale.
|
10 |
+
* @language Chinese Simplified
|
11 |
+
* @iso-639-2 zho
|
12 |
+
* @author Changyu Geng [@KingMario](https://github.com/KingMario)
|
13 |
+
* @author Song Shuoyun [@fnlctrl](https://github.com/fnlctrl)
|
14 |
+
* @author sabrinaM [@sabrinamiao](https://github.com/sabrinamiao)
|
15 |
+
* @author Carney Wu [@cubicwork](https://github.com/cubicwork)
|
16 |
+
* @author Terrence Lam [@skyuplam](https://github.com/skyuplam)
|
17 |
+
*/
|
18 |
+
export const zhCN = {
|
19 |
+
code: "zh-CN",
|
20 |
+
formatDistance: formatDistance,
|
21 |
+
formatLong: formatLong,
|
22 |
+
formatRelative: formatRelative,
|
23 |
+
localize: localize,
|
24 |
+
match: match,
|
25 |
+
options: {
|
26 |
+
weekStartsOn: 1 /* Monday */,
|
27 |
+
firstWeekContainsDate: 4,
|
28 |
+
},
|
29 |
+
};
|
30 |
+
|
31 |
+
// Fallback for modularized imports:
|
32 |
+
export default zhCN;
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatDistance.mjs
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatDistanceLocale = {
|
2 |
+
lessThanXSeconds: {
|
3 |
+
one: "不到 1 秒",
|
4 |
+
other: "不到 {{count}} 秒",
|
5 |
+
},
|
6 |
+
|
7 |
+
xSeconds: {
|
8 |
+
one: "1 秒",
|
9 |
+
other: "{{count}} 秒",
|
10 |
+
},
|
11 |
+
|
12 |
+
halfAMinute: "半分钟",
|
13 |
+
|
14 |
+
lessThanXMinutes: {
|
15 |
+
one: "不到 1 分钟",
|
16 |
+
other: "不到 {{count}} 分钟",
|
17 |
+
},
|
18 |
+
|
19 |
+
xMinutes: {
|
20 |
+
one: "1 分钟",
|
21 |
+
other: "{{count}} 分钟",
|
22 |
+
},
|
23 |
+
|
24 |
+
xHours: {
|
25 |
+
one: "1 小时",
|
26 |
+
other: "{{count}} 小时",
|
27 |
+
},
|
28 |
+
|
29 |
+
aboutXHours: {
|
30 |
+
one: "大约 1 小时",
|
31 |
+
other: "大约 {{count}} 小时",
|
32 |
+
},
|
33 |
+
|
34 |
+
xDays: {
|
35 |
+
one: "1 天",
|
36 |
+
other: "{{count}} 天",
|
37 |
+
},
|
38 |
+
|
39 |
+
aboutXWeeks: {
|
40 |
+
one: "大约 1 个星期",
|
41 |
+
other: "大约 {{count}} 个星期",
|
42 |
+
},
|
43 |
+
|
44 |
+
xWeeks: {
|
45 |
+
one: "1 个星期",
|
46 |
+
other: "{{count}} 个星期",
|
47 |
+
},
|
48 |
+
|
49 |
+
aboutXMonths: {
|
50 |
+
one: "大约 1 个月",
|
51 |
+
other: "大约 {{count}} 个月",
|
52 |
+
},
|
53 |
+
|
54 |
+
xMonths: {
|
55 |
+
one: "1 个月",
|
56 |
+
other: "{{count}} 个月",
|
57 |
+
},
|
58 |
+
|
59 |
+
aboutXYears: {
|
60 |
+
one: "大约 1 年",
|
61 |
+
other: "大约 {{count}} 年",
|
62 |
+
},
|
63 |
+
|
64 |
+
xYears: {
|
65 |
+
one: "1 年",
|
66 |
+
other: "{{count}} 年",
|
67 |
+
},
|
68 |
+
|
69 |
+
overXYears: {
|
70 |
+
one: "超过 1 年",
|
71 |
+
other: "超过 {{count}} 年",
|
72 |
+
},
|
73 |
+
|
74 |
+
almostXYears: {
|
75 |
+
one: "将近 1 年",
|
76 |
+
other: "将近 {{count}} 年",
|
77 |
+
},
|
78 |
+
};
|
79 |
+
|
80 |
+
export const formatDistance = (token, count, options) => {
|
81 |
+
let result;
|
82 |
+
|
83 |
+
const tokenValue = formatDistanceLocale[token];
|
84 |
+
if (typeof tokenValue === "string") {
|
85 |
+
result = tokenValue;
|
86 |
+
} else if (count === 1) {
|
87 |
+
result = tokenValue.one;
|
88 |
+
} else {
|
89 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
90 |
+
}
|
91 |
+
|
92 |
+
if (options?.addSuffix) {
|
93 |
+
if (options.comparison && options.comparison > 0) {
|
94 |
+
return result + "内";
|
95 |
+
} else {
|
96 |
+
return result + "前";
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
return result;
|
101 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/_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/zh-CN/_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/zh-CN/_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: "y'年'M'月'd'日' EEEE",
|
7 |
+
long: "y'年'M'月'd'日'",
|
8 |
+
medium: "yyyy-MM-dd",
|
9 |
+
short: "yy-MM-dd",
|
10 |
+
};
|
11 |
+
|
12 |
+
const timeFormats = {
|
13 |
+
full: "zzzz a h:mm:ss",
|
14 |
+
long: "z a h:mm:ss",
|
15 |
+
medium: "a h:mm:ss",
|
16 |
+
short: "a 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/zh-CN/_lib/formatLong.mjs
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
2 |
+
|
3 |
+
const dateFormats = {
|
4 |
+
full: "y'年'M'月'd'日' EEEE",
|
5 |
+
long: "y'年'M'月'd'日'",
|
6 |
+
medium: "yyyy-MM-dd",
|
7 |
+
short: "yy-MM-dd",
|
8 |
+
};
|
9 |
+
|
10 |
+
const timeFormats = {
|
11 |
+
full: "zzzz a h:mm:ss",
|
12 |
+
long: "z a h:mm:ss",
|
13 |
+
medium: "a h:mm:ss",
|
14 |
+
short: "a 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/zh-CN/_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/zh-CN/_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/zh-CN/_lib/formatRelative.js
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatRelative = void 0;
|
3 |
+
var _index = require("../../../isSameWeek.js");
|
4 |
+
|
5 |
+
function checkWeek(date, baseDate, options) {
|
6 |
+
const baseFormat = "eeee p";
|
7 |
+
|
8 |
+
if ((0, _index.isSameWeek)(date, baseDate, options)) {
|
9 |
+
return baseFormat; // in same week
|
10 |
+
} else if (date.getTime() > baseDate.getTime()) {
|
11 |
+
return "'下个'" + baseFormat; // in next week
|
12 |
+
}
|
13 |
+
return "'上个'" + baseFormat; // in last week
|
14 |
+
}
|
15 |
+
|
16 |
+
const formatRelativeLocale = {
|
17 |
+
lastWeek: checkWeek, // days before yesterday, maybe in this week or last week
|
18 |
+
yesterday: "'昨天' p",
|
19 |
+
today: "'今天' p",
|
20 |
+
tomorrow: "'明天' p",
|
21 |
+
nextWeek: checkWeek, // days after tomorrow, maybe in this week or next week
|
22 |
+
other: "PP p",
|
23 |
+
};
|
24 |
+
|
25 |
+
const formatRelative = (token, date, baseDate, options) => {
|
26 |
+
const format = formatRelativeLocale[token];
|
27 |
+
|
28 |
+
if (typeof format === "function") {
|
29 |
+
return format(date, baseDate, options);
|
30 |
+
}
|
31 |
+
|
32 |
+
return format;
|
33 |
+
};
|
34 |
+
exports.formatRelative = formatRelative;
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/formatRelative.mjs
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { isSameWeek } from "../../../isSameWeek.mjs";
|
2 |
+
|
3 |
+
function checkWeek(date, baseDate, options) {
|
4 |
+
const baseFormat = "eeee p";
|
5 |
+
|
6 |
+
if (isSameWeek(date, baseDate, options)) {
|
7 |
+
return baseFormat; // in same week
|
8 |
+
} else if (date.getTime() > baseDate.getTime()) {
|
9 |
+
return "'下个'" + baseFormat; // in next week
|
10 |
+
}
|
11 |
+
return "'上个'" + baseFormat; // in last week
|
12 |
+
}
|
13 |
+
|
14 |
+
const formatRelativeLocale = {
|
15 |
+
lastWeek: checkWeek, // days before yesterday, maybe in this week or last week
|
16 |
+
yesterday: "'昨天' p",
|
17 |
+
today: "'今天' p",
|
18 |
+
tomorrow: "'明天' p",
|
19 |
+
nextWeek: checkWeek, // days after tomorrow, maybe in this week or next week
|
20 |
+
other: "PP p",
|
21 |
+
};
|
22 |
+
|
23 |
+
export const formatRelative = (token, date, baseDate, options) => {
|
24 |
+
const format = formatRelativeLocale[token];
|
25 |
+
|
26 |
+
if (typeof format === "function") {
|
27 |
+
return format(date, baseDate, options);
|
28 |
+
}
|
29 |
+
|
30 |
+
return format;
|
31 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/_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/zh-CN/_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/zh-CN/_lib/localize.js
ADDED
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: ["第一季", "第二季", "第三季", "第四季"],
|
14 |
+
wide: ["第一季度", "第二季度", "第三季度", "第四季度"],
|
15 |
+
};
|
16 |
+
|
17 |
+
const monthValues = {
|
18 |
+
narrow: [
|
19 |
+
"一",
|
20 |
+
"二",
|
21 |
+
"三",
|
22 |
+
"四",
|
23 |
+
"五",
|
24 |
+
"六",
|
25 |
+
"七",
|
26 |
+
"八",
|
27 |
+
"九",
|
28 |
+
"十",
|
29 |
+
"十一",
|
30 |
+
"十二",
|
31 |
+
],
|
32 |
+
|
33 |
+
abbreviated: [
|
34 |
+
"1月",
|
35 |
+
"2月",
|
36 |
+
"3月",
|
37 |
+
"4月",
|
38 |
+
"5月",
|
39 |
+
"6月",
|
40 |
+
"7月",
|
41 |
+
"8月",
|
42 |
+
"9月",
|
43 |
+
"10月",
|
44 |
+
"11月",
|
45 |
+
"12月",
|
46 |
+
],
|
47 |
+
|
48 |
+
wide: [
|
49 |
+
"一月",
|
50 |
+
"二月",
|
51 |
+
"三月",
|
52 |
+
"四月",
|
53 |
+
"五月",
|
54 |
+
"六月",
|
55 |
+
"七月",
|
56 |
+
"八月",
|
57 |
+
"九月",
|
58 |
+
"十月",
|
59 |
+
"十一月",
|
60 |
+
"十二月",
|
61 |
+
],
|
62 |
+
};
|
63 |
+
|
64 |
+
const dayValues = {
|
65 |
+
narrow: ["日", "一", "二", "三", "四", "五", "六"],
|
66 |
+
short: ["日", "一", "二", "三", "四", "五", "六"],
|
67 |
+
abbreviated: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
|
68 |
+
|
69 |
+
wide: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
|
70 |
+
};
|
71 |
+
|
72 |
+
const dayPeriodValues = {
|
73 |
+
narrow: {
|
74 |
+
am: "上",
|
75 |
+
pm: "下",
|
76 |
+
midnight: "凌晨",
|
77 |
+
noon: "午",
|
78 |
+
morning: "早",
|
79 |
+
afternoon: "下午",
|
80 |
+
evening: "晚",
|
81 |
+
night: "夜",
|
82 |
+
},
|
83 |
+
abbreviated: {
|
84 |
+
am: "上午",
|
85 |
+
pm: "下午",
|
86 |
+
midnight: "凌晨",
|
87 |
+
noon: "中午",
|
88 |
+
morning: "早晨",
|
89 |
+
afternoon: "中午",
|
90 |
+
evening: "晚上",
|
91 |
+
night: "夜间",
|
92 |
+
},
|
93 |
+
wide: {
|
94 |
+
am: "上午",
|
95 |
+
pm: "下午",
|
96 |
+
midnight: "凌晨",
|
97 |
+
noon: "中午",
|
98 |
+
morning: "早晨",
|
99 |
+
afternoon: "中午",
|
100 |
+
evening: "晚上",
|
101 |
+
night: "夜间",
|
102 |
+
},
|
103 |
+
};
|
104 |
+
|
105 |
+
const formattingDayPeriodValues = {
|
106 |
+
narrow: {
|
107 |
+
am: "上",
|
108 |
+
pm: "下",
|
109 |
+
midnight: "凌晨",
|
110 |
+
noon: "午",
|
111 |
+
morning: "早",
|
112 |
+
afternoon: "下午",
|
113 |
+
evening: "晚",
|
114 |
+
night: "夜",
|
115 |
+
},
|
116 |
+
abbreviated: {
|
117 |
+
am: "上午",
|
118 |
+
pm: "下午",
|
119 |
+
midnight: "凌晨",
|
120 |
+
noon: "中午",
|
121 |
+
morning: "早晨",
|
122 |
+
afternoon: "中午",
|
123 |
+
evening: "晚上",
|
124 |
+
night: "夜间",
|
125 |
+
},
|
126 |
+
wide: {
|
127 |
+
am: "上午",
|
128 |
+
pm: "下午",
|
129 |
+
midnight: "凌晨",
|
130 |
+
noon: "中午",
|
131 |
+
morning: "早晨",
|
132 |
+
afternoon: "中午",
|
133 |
+
evening: "晚上",
|
134 |
+
night: "夜间",
|
135 |
+
},
|
136 |
+
};
|
137 |
+
|
138 |
+
const ordinalNumber = (dirtyNumber, options) => {
|
139 |
+
const number = Number(dirtyNumber);
|
140 |
+
|
141 |
+
switch (options?.unit) {
|
142 |
+
case "date":
|
143 |
+
return number.toString() + "日";
|
144 |
+
case "hour":
|
145 |
+
return number.toString() + "时";
|
146 |
+
case "minute":
|
147 |
+
return number.toString() + "分";
|
148 |
+
case "second":
|
149 |
+
return number.toString() + "秒";
|
150 |
+
default:
|
151 |
+
return "第 " + number.toString();
|
152 |
+
}
|
153 |
+
};
|
154 |
+
|
155 |
+
const localize = (exports.localize = {
|
156 |
+
ordinalNumber,
|
157 |
+
|
158 |
+
era: (0, _index.buildLocalizeFn)({
|
159 |
+
values: eraValues,
|
160 |
+
defaultWidth: "wide",
|
161 |
+
}),
|
162 |
+
|
163 |
+
quarter: (0, _index.buildLocalizeFn)({
|
164 |
+
values: quarterValues,
|
165 |
+
defaultWidth: "wide",
|
166 |
+
argumentCallback: (quarter) => quarter - 1,
|
167 |
+
}),
|
168 |
+
|
169 |
+
month: (0, _index.buildLocalizeFn)({
|
170 |
+
values: monthValues,
|
171 |
+
defaultWidth: "wide",
|
172 |
+
}),
|
173 |
+
|
174 |
+
day: (0, _index.buildLocalizeFn)({
|
175 |
+
values: dayValues,
|
176 |
+
defaultWidth: "wide",
|
177 |
+
}),
|
178 |
+
|
179 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
180 |
+
values: dayPeriodValues,
|
181 |
+
defaultWidth: "wide",
|
182 |
+
formattingValues: formattingDayPeriodValues,
|
183 |
+
defaultFormattingWidth: "wide",
|
184 |
+
}),
|
185 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/localize.mjs
ADDED
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: ["第一季", "第二季", "第三季", "第四季"],
|
12 |
+
wide: ["第一季度", "第二季度", "第三季度", "第四季度"],
|
13 |
+
};
|
14 |
+
|
15 |
+
const monthValues = {
|
16 |
+
narrow: [
|
17 |
+
"一",
|
18 |
+
"二",
|
19 |
+
"三",
|
20 |
+
"四",
|
21 |
+
"五",
|
22 |
+
"六",
|
23 |
+
"七",
|
24 |
+
"八",
|
25 |
+
"九",
|
26 |
+
"十",
|
27 |
+
"十一",
|
28 |
+
"十二",
|
29 |
+
],
|
30 |
+
|
31 |
+
abbreviated: [
|
32 |
+
"1月",
|
33 |
+
"2月",
|
34 |
+
"3月",
|
35 |
+
"4月",
|
36 |
+
"5月",
|
37 |
+
"6月",
|
38 |
+
"7月",
|
39 |
+
"8月",
|
40 |
+
"9月",
|
41 |
+
"10月",
|
42 |
+
"11月",
|
43 |
+
"12月",
|
44 |
+
],
|
45 |
+
|
46 |
+
wide: [
|
47 |
+
"一月",
|
48 |
+
"二月",
|
49 |
+
"三月",
|
50 |
+
"四月",
|
51 |
+
"五月",
|
52 |
+
"六月",
|
53 |
+
"七月",
|
54 |
+
"八月",
|
55 |
+
"九月",
|
56 |
+
"十月",
|
57 |
+
"十一月",
|
58 |
+
"十二月",
|
59 |
+
],
|
60 |
+
};
|
61 |
+
|
62 |
+
const dayValues = {
|
63 |
+
narrow: ["日", "一", "二", "三", "四", "五", "六"],
|
64 |
+
short: ["日", "一", "二", "三", "四", "五", "六"],
|
65 |
+
abbreviated: ["周日", "周一", "周二", "周三", "周四", "周五", "周六"],
|
66 |
+
|
67 |
+
wide: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
|
68 |
+
};
|
69 |
+
|
70 |
+
const dayPeriodValues = {
|
71 |
+
narrow: {
|
72 |
+
am: "上",
|
73 |
+
pm: "下",
|
74 |
+
midnight: "凌晨",
|
75 |
+
noon: "午",
|
76 |
+
morning: "早",
|
77 |
+
afternoon: "下午",
|
78 |
+
evening: "晚",
|
79 |
+
night: "夜",
|
80 |
+
},
|
81 |
+
abbreviated: {
|
82 |
+
am: "上午",
|
83 |
+
pm: "下午",
|
84 |
+
midnight: "凌晨",
|
85 |
+
noon: "中午",
|
86 |
+
morning: "早晨",
|
87 |
+
afternoon: "中午",
|
88 |
+
evening: "晚上",
|
89 |
+
night: "夜间",
|
90 |
+
},
|
91 |
+
wide: {
|
92 |
+
am: "上午",
|
93 |
+
pm: "下午",
|
94 |
+
midnight: "凌晨",
|
95 |
+
noon: "中午",
|
96 |
+
morning: "早晨",
|
97 |
+
afternoon: "中午",
|
98 |
+
evening: "晚上",
|
99 |
+
night: "夜间",
|
100 |
+
},
|
101 |
+
};
|
102 |
+
|
103 |
+
const formattingDayPeriodValues = {
|
104 |
+
narrow: {
|
105 |
+
am: "上",
|
106 |
+
pm: "下",
|
107 |
+
midnight: "凌晨",
|
108 |
+
noon: "午",
|
109 |
+
morning: "早",
|
110 |
+
afternoon: "下午",
|
111 |
+
evening: "晚",
|
112 |
+
night: "夜",
|
113 |
+
},
|
114 |
+
abbreviated: {
|
115 |
+
am: "上午",
|
116 |
+
pm: "下午",
|
117 |
+
midnight: "凌晨",
|
118 |
+
noon: "中午",
|
119 |
+
morning: "早晨",
|
120 |
+
afternoon: "中午",
|
121 |
+
evening: "晚上",
|
122 |
+
night: "夜间",
|
123 |
+
},
|
124 |
+
wide: {
|
125 |
+
am: "上午",
|
126 |
+
pm: "下午",
|
127 |
+
midnight: "凌晨",
|
128 |
+
noon: "中午",
|
129 |
+
morning: "早晨",
|
130 |
+
afternoon: "中午",
|
131 |
+
evening: "晚上",
|
132 |
+
night: "夜间",
|
133 |
+
},
|
134 |
+
};
|
135 |
+
|
136 |
+
const ordinalNumber = (dirtyNumber, options) => {
|
137 |
+
const number = Number(dirtyNumber);
|
138 |
+
|
139 |
+
switch (options?.unit) {
|
140 |
+
case "date":
|
141 |
+
return number.toString() + "日";
|
142 |
+
case "hour":
|
143 |
+
return number.toString() + "时";
|
144 |
+
case "minute":
|
145 |
+
return number.toString() + "分";
|
146 |
+
case "second":
|
147 |
+
return number.toString() + "秒";
|
148 |
+
default:
|
149 |
+
return "第 " + number.toString();
|
150 |
+
}
|
151 |
+
};
|
152 |
+
|
153 |
+
export const localize = {
|
154 |
+
ordinalNumber,
|
155 |
+
|
156 |
+
era: buildLocalizeFn({
|
157 |
+
values: eraValues,
|
158 |
+
defaultWidth: "wide",
|
159 |
+
}),
|
160 |
+
|
161 |
+
quarter: buildLocalizeFn({
|
162 |
+
values: quarterValues,
|
163 |
+
defaultWidth: "wide",
|
164 |
+
argumentCallback: (quarter) => quarter - 1,
|
165 |
+
}),
|
166 |
+
|
167 |
+
month: buildLocalizeFn({
|
168 |
+
values: monthValues,
|
169 |
+
defaultWidth: "wide",
|
170 |
+
}),
|
171 |
+
|
172 |
+
day: buildLocalizeFn({
|
173 |
+
values: dayValues,
|
174 |
+
defaultWidth: "wide",
|
175 |
+
}),
|
176 |
+
|
177 |
+
dayPeriod: buildLocalizeFn({
|
178 |
+
values: dayPeriodValues,
|
179 |
+
defaultWidth: "wide",
|
180 |
+
formattingValues: formattingDayPeriodValues,
|
181 |
+
defaultFormattingWidth: "wide",
|
182 |
+
}),
|
183 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/_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/zh-CN/_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/zh-CN/_lib/match.js
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 = /^(第\s*)?\d+(日|时|分|秒)?/i;
|
8 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
9 |
+
|
10 |
+
const matchEraPatterns = {
|
11 |
+
narrow: /^(前)/i,
|
12 |
+
abbreviated: /^(前)/i,
|
13 |
+
wide: /^(公元前|公元)/i,
|
14 |
+
};
|
15 |
+
const parseEraPatterns = {
|
16 |
+
any: [/^(前)/i, /^(公元)/i],
|
17 |
+
};
|
18 |
+
|
19 |
+
const matchQuarterPatterns = {
|
20 |
+
narrow: /^[1234]/i,
|
21 |
+
abbreviated: /^第[一二三四]刻/i,
|
22 |
+
wide: /^第[一二三四]刻钟/i,
|
23 |
+
};
|
24 |
+
const parseQuarterPatterns = {
|
25 |
+
any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i],
|
26 |
+
};
|
27 |
+
|
28 |
+
const matchMonthPatterns = {
|
29 |
+
narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
|
30 |
+
abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
|
31 |
+
wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i,
|
32 |
+
};
|
33 |
+
const parseMonthPatterns = {
|
34 |
+
narrow: [
|
35 |
+
/^一/i,
|
36 |
+
/^二/i,
|
37 |
+
/^三/i,
|
38 |
+
/^四/i,
|
39 |
+
/^五/i,
|
40 |
+
/^六/i,
|
41 |
+
/^七/i,
|
42 |
+
/^八/i,
|
43 |
+
/^九/i,
|
44 |
+
/^十(?!(一|二))/i,
|
45 |
+
/^十一/i,
|
46 |
+
/^十二/i,
|
47 |
+
],
|
48 |
+
|
49 |
+
any: [
|
50 |
+
/^一|1/i,
|
51 |
+
/^二|2/i,
|
52 |
+
/^三|3/i,
|
53 |
+
/^四|4/i,
|
54 |
+
/^五|5/i,
|
55 |
+
/^六|6/i,
|
56 |
+
/^七|7/i,
|
57 |
+
/^八|8/i,
|
58 |
+
/^九|9/i,
|
59 |
+
/^十(?!(一|二))|10/i,
|
60 |
+
/^十一|11/i,
|
61 |
+
/^十二|12/i,
|
62 |
+
],
|
63 |
+
};
|
64 |
+
|
65 |
+
const matchDayPatterns = {
|
66 |
+
narrow: /^[一二三四五六日]/i,
|
67 |
+
short: /^[一二三四五六日]/i,
|
68 |
+
abbreviated: /^周[一二三四五六日]/i,
|
69 |
+
wide: /^星期[一二三四五六日]/i,
|
70 |
+
};
|
71 |
+
const parseDayPatterns = {
|
72 |
+
any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i],
|
73 |
+
};
|
74 |
+
|
75 |
+
const matchDayPeriodPatterns = {
|
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 |
+
const match = (exports.match = {
|
92 |
+
ordinalNumber: (0, _index2.buildMatchPatternFn)({
|
93 |
+
matchPattern: matchOrdinalNumberPattern,
|
94 |
+
parsePattern: parseOrdinalNumberPattern,
|
95 |
+
valueCallback: (value) => parseInt(value, 10),
|
96 |
+
}),
|
97 |
+
|
98 |
+
era: (0, _index.buildMatchFn)({
|
99 |
+
matchPatterns: matchEraPatterns,
|
100 |
+
defaultMatchWidth: "wide",
|
101 |
+
parsePatterns: parseEraPatterns,
|
102 |
+
defaultParseWidth: "any",
|
103 |
+
}),
|
104 |
+
|
105 |
+
quarter: (0, _index.buildMatchFn)({
|
106 |
+
matchPatterns: matchQuarterPatterns,
|
107 |
+
defaultMatchWidth: "wide",
|
108 |
+
parsePatterns: parseQuarterPatterns,
|
109 |
+
defaultParseWidth: "any",
|
110 |
+
valueCallback: (index) => index + 1,
|
111 |
+
}),
|
112 |
+
|
113 |
+
month: (0, _index.buildMatchFn)({
|
114 |
+
matchPatterns: matchMonthPatterns,
|
115 |
+
defaultMatchWidth: "wide",
|
116 |
+
parsePatterns: parseMonthPatterns,
|
117 |
+
defaultParseWidth: "any",
|
118 |
+
}),
|
119 |
+
|
120 |
+
day: (0, _index.buildMatchFn)({
|
121 |
+
matchPatterns: matchDayPatterns,
|
122 |
+
defaultMatchWidth: "wide",
|
123 |
+
parsePatterns: parseDayPatterns,
|
124 |
+
defaultParseWidth: "any",
|
125 |
+
}),
|
126 |
+
|
127 |
+
dayPeriod: (0, _index.buildMatchFn)({
|
128 |
+
matchPatterns: matchDayPeriodPatterns,
|
129 |
+
defaultMatchWidth: "any",
|
130 |
+
parsePatterns: parseDayPeriodPatterns,
|
131 |
+
defaultParseWidth: "any",
|
132 |
+
}),
|
133 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/_lib/match.mjs
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildMatchFn } from "../../_lib/buildMatchFn.mjs";
|
2 |
+
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.mjs";
|
3 |
+
|
4 |
+
const matchOrdinalNumberPattern = /^(第\s*)?\d+(日|时|分|秒)?/i;
|
5 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
6 |
+
|
7 |
+
const matchEraPatterns = {
|
8 |
+
narrow: /^(前)/i,
|
9 |
+
abbreviated: /^(前)/i,
|
10 |
+
wide: /^(公元前|公元)/i,
|
11 |
+
};
|
12 |
+
const parseEraPatterns = {
|
13 |
+
any: [/^(前)/i, /^(公元)/i],
|
14 |
+
};
|
15 |
+
|
16 |
+
const matchQuarterPatterns = {
|
17 |
+
narrow: /^[1234]/i,
|
18 |
+
abbreviated: /^第[一二三四]刻/i,
|
19 |
+
wide: /^第[一二三四]刻钟/i,
|
20 |
+
};
|
21 |
+
const parseQuarterPatterns = {
|
22 |
+
any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i],
|
23 |
+
};
|
24 |
+
|
25 |
+
const matchMonthPatterns = {
|
26 |
+
narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
|
27 |
+
abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
|
28 |
+
wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i,
|
29 |
+
};
|
30 |
+
const parseMonthPatterns = {
|
31 |
+
narrow: [
|
32 |
+
/^一/i,
|
33 |
+
/^二/i,
|
34 |
+
/^三/i,
|
35 |
+
/^四/i,
|
36 |
+
/^五/i,
|
37 |
+
/^六/i,
|
38 |
+
/^七/i,
|
39 |
+
/^八/i,
|
40 |
+
/^九/i,
|
41 |
+
/^十(?!(一|二))/i,
|
42 |
+
/^十一/i,
|
43 |
+
/^十二/i,
|
44 |
+
],
|
45 |
+
|
46 |
+
any: [
|
47 |
+
/^一|1/i,
|
48 |
+
/^二|2/i,
|
49 |
+
/^三|3/i,
|
50 |
+
/^四|4/i,
|
51 |
+
/^五|5/i,
|
52 |
+
/^六|6/i,
|
53 |
+
/^七|7/i,
|
54 |
+
/^八|8/i,
|
55 |
+
/^九|9/i,
|
56 |
+
/^十(?!(一|二))|10/i,
|
57 |
+
/^十一|11/i,
|
58 |
+
/^十二|12/i,
|
59 |
+
],
|
60 |
+
};
|
61 |
+
|
62 |
+
const matchDayPatterns = {
|
63 |
+
narrow: /^[一二三四五六日]/i,
|
64 |
+
short: /^[一二三四五六日]/i,
|
65 |
+
abbreviated: /^周[一二三四五六日]/i,
|
66 |
+
wide: /^星期[一二三四五六日]/i,
|
67 |
+
};
|
68 |
+
const parseDayPatterns = {
|
69 |
+
any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i],
|
70 |
+
};
|
71 |
+
|
72 |
+
const matchDayPeriodPatterns = {
|
73 |
+
any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i,
|
74 |
+
};
|
75 |
+
const parseDayPeriodPatterns = {
|
76 |
+
any: {
|
77 |
+
am: /^上午?/i,
|
78 |
+
pm: /^下午?/i,
|
79 |
+
midnight: /^午夜/i,
|
80 |
+
noon: /^[中正]午/i,
|
81 |
+
morning: /^早上/i,
|
82 |
+
afternoon: /^下午/i,
|
83 |
+
evening: /^晚上?/i,
|
84 |
+
night: /^凌晨/i,
|
85 |
+
},
|
86 |
+
};
|
87 |
+
|
88 |
+
export const match = {
|
89 |
+
ordinalNumber: buildMatchPatternFn({
|
90 |
+
matchPattern: matchOrdinalNumberPattern,
|
91 |
+
parsePattern: parseOrdinalNumberPattern,
|
92 |
+
valueCallback: (value) => parseInt(value, 10),
|
93 |
+
}),
|
94 |
+
|
95 |
+
era: buildMatchFn({
|
96 |
+
matchPatterns: matchEraPatterns,
|
97 |
+
defaultMatchWidth: "wide",
|
98 |
+
parsePatterns: parseEraPatterns,
|
99 |
+
defaultParseWidth: "any",
|
100 |
+
}),
|
101 |
+
|
102 |
+
quarter: buildMatchFn({
|
103 |
+
matchPatterns: matchQuarterPatterns,
|
104 |
+
defaultMatchWidth: "wide",
|
105 |
+
parsePatterns: parseQuarterPatterns,
|
106 |
+
defaultParseWidth: "any",
|
107 |
+
valueCallback: (index) => index + 1,
|
108 |
+
}),
|
109 |
+
|
110 |
+
month: buildMatchFn({
|
111 |
+
matchPatterns: matchMonthPatterns,
|
112 |
+
defaultMatchWidth: "wide",
|
113 |
+
parsePatterns: parseMonthPatterns,
|
114 |
+
defaultParseWidth: "any",
|
115 |
+
}),
|
116 |
+
|
117 |
+
day: buildMatchFn({
|
118 |
+
matchPatterns: matchDayPatterns,
|
119 |
+
defaultMatchWidth: "wide",
|
120 |
+
parsePatterns: parseDayPatterns,
|
121 |
+
defaultParseWidth: "any",
|
122 |
+
}),
|
123 |
+
|
124 |
+
dayPeriod: buildMatchFn({
|
125 |
+
matchPatterns: matchDayPeriodPatterns,
|
126 |
+
defaultMatchWidth: "any",
|
127 |
+
parsePatterns: parseDayPeriodPatterns,
|
128 |
+
defaultParseWidth: "any",
|
129 |
+
}),
|
130 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/cdn.js
ADDED
@@ -0,0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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
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 _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 (_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/zh-CN/_lib/formatDistance.mjs
|
13 |
+
var formatDistanceLocale = {
|
14 |
+
lessThanXSeconds: {
|
15 |
+
one: "\u4E0D\u5230 1 \u79D2",
|
16 |
+
other: "\u4E0D\u5230 {{count}} \u79D2"
|
17 |
+
},
|
18 |
+
xSeconds: {
|
19 |
+
one: "1 \u79D2",
|
20 |
+
other: "{{count}} \u79D2"
|
21 |
+
},
|
22 |
+
halfAMinute: "\u534A\u5206\u949F",
|
23 |
+
lessThanXMinutes: {
|
24 |
+
one: "\u4E0D\u5230 1 \u5206\u949F",
|
25 |
+
other: "\u4E0D\u5230 {{count}} \u5206\u949F"
|
26 |
+
},
|
27 |
+
xMinutes: {
|
28 |
+
one: "1 \u5206\u949F",
|
29 |
+
other: "{{count}} \u5206\u949F"
|
30 |
+
},
|
31 |
+
xHours: {
|
32 |
+
one: "1 \u5C0F\u65F6",
|
33 |
+
other: "{{count}} \u5C0F\u65F6"
|
34 |
+
},
|
35 |
+
aboutXHours: {
|
36 |
+
one: "\u5927\u7EA6 1 \u5C0F\u65F6",
|
37 |
+
other: "\u5927\u7EA6 {{count}} \u5C0F\u65F6"
|
38 |
+
},
|
39 |
+
xDays: {
|
40 |
+
one: "1 \u5929",
|
41 |
+
other: "{{count}} \u5929"
|
42 |
+
},
|
43 |
+
aboutXWeeks: {
|
44 |
+
one: "\u5927\u7EA6 1 \u4E2A\u661F\u671F",
|
45 |
+
other: "\u5927\u7EA6 {{count}} \u4E2A\u661F\u671F"
|
46 |
+
},
|
47 |
+
xWeeks: {
|
48 |
+
one: "1 \u4E2A\u661F\u671F",
|
49 |
+
other: "{{count}} \u4E2A\u661F\u671F"
|
50 |
+
},
|
51 |
+
aboutXMonths: {
|
52 |
+
one: "\u5927\u7EA6 1 \u4E2A\u6708",
|
53 |
+
other: "\u5927\u7EA6 {{count}} \u4E2A\u6708"
|
54 |
+
},
|
55 |
+
xMonths: {
|
56 |
+
one: "1 \u4E2A\u6708",
|
57 |
+
other: "{{count}} \u4E2A\u6708"
|
58 |
+
},
|
59 |
+
aboutXYears: {
|
60 |
+
one: "\u5927\u7EA6 1 \u5E74",
|
61 |
+
other: "\u5927\u7EA6 {{count}} \u5E74"
|
62 |
+
},
|
63 |
+
xYears: {
|
64 |
+
one: "1 \u5E74",
|
65 |
+
other: "{{count}} \u5E74"
|
66 |
+
},
|
67 |
+
overXYears: {
|
68 |
+
one: "\u8D85\u8FC7 1 \u5E74",
|
69 |
+
other: "\u8D85\u8FC7 {{count}} \u5E74"
|
70 |
+
},
|
71 |
+
almostXYears: {
|
72 |
+
one: "\u5C06\u8FD1 1 \u5E74",
|
73 |
+
other: "\u5C06\u8FD1 {{count}} \u5E74"
|
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 + "\u5185";
|
89 |
+
} else {
|
90 |
+
return result + "\u524D";
|
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/zh-CN/_lib/formatLong.mjs
|
106 |
+
var dateFormats = {
|
107 |
+
full: "y'\u5E74'M'\u6708'd'\u65E5' EEEE",
|
108 |
+
long: "y'\u5E74'M'\u6708'd'\u65E5'",
|
109 |
+
medium: "yyyy-MM-dd",
|
110 |
+
short: "yy-MM-dd"
|
111 |
+
};
|
112 |
+
var timeFormats = {
|
113 |
+
full: "zzzz a h:mm:ss",
|
114 |
+
long: "z a h:mm:ss",
|
115 |
+
medium: "a h:mm:ss",
|
116 |
+
short: "a h:mm"
|
117 |
+
};
|
118 |
+
var dateTimeFormats = {
|
119 |
+
full: "{{date}} {{time}}",
|
120 |
+
long: "{{date}} {{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/toDate.mjs
|
140 |
+
function toDate(argument) {
|
141 |
+
var argStr = Object.prototype.toString.call(argument);
|
142 |
+
if (argument instanceof Date || _typeof(argument) === "object" && argStr === "[object Date]") {
|
143 |
+
return new argument.constructor(+argument);
|
144 |
+
} else if (typeof argument === "number" || argStr === "[object Number]" || typeof argument === "string" || argStr === "[object String]") {
|
145 |
+
return new Date(argument);
|
146 |
+
} else {
|
147 |
+
return new Date(NaN);
|
148 |
+
}
|
149 |
+
}
|
150 |
+
|
151 |
+
// lib/_lib/defaultOptions.mjs
|
152 |
+
function getDefaultOptions() {
|
153 |
+
return defaultOptions;
|
154 |
+
}
|
155 |
+
function setDefaultOptions(newOptions) {
|
156 |
+
defaultOptions = newOptions;
|
157 |
+
}
|
158 |
+
var defaultOptions = {};
|
159 |
+
|
160 |
+
// lib/startOfWeek.mjs
|
161 |
+
function startOfWeek(date, options) {var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _defaultOptions3$loca;
|
162 |
+
var defaultOptions3 = getDefaultOptions();
|
163 |
+
var weekStartsOn = (_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 || (_options$locale = options.locale) === null || _options$locale === void 0 || (_options$locale = _options$locale.options) === null || _options$locale === void 0 ? void 0 : _options$locale.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions3.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions3$loca = defaultOptions3.locale) === null || _defaultOptions3$loca === void 0 || (_defaultOptions3$loca = _defaultOptions3$loca.options) === null || _defaultOptions3$loca === void 0 ? void 0 : _defaultOptions3$loca.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0;
|
164 |
+
var _date = toDate(date);
|
165 |
+
var day = _date.getDay();
|
166 |
+
var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
167 |
+
_date.setDate(_date.getDate() - diff);
|
168 |
+
_date.setHours(0, 0, 0, 0);
|
169 |
+
return _date;
|
170 |
+
}
|
171 |
+
|
172 |
+
// lib/isSameWeek.mjs
|
173 |
+
function isSameWeek(dateLeft, dateRight, options) {
|
174 |
+
var dateLeftStartOfWeek = startOfWeek(dateLeft, options);
|
175 |
+
var dateRightStartOfWeek = startOfWeek(dateRight, options);
|
176 |
+
return +dateLeftStartOfWeek === +dateRightStartOfWeek;
|
177 |
+
}
|
178 |
+
|
179 |
+
// lib/locale/zh-CN/_lib/formatRelative.mjs
|
180 |
+
var checkWeek = function checkWeek(date, baseDate, options) {
|
181 |
+
var baseFormat = "eeee p";
|
182 |
+
if (isSameWeek(date, baseDate, options)) {
|
183 |
+
return baseFormat;
|
184 |
+
} else if (date.getTime() > baseDate.getTime()) {
|
185 |
+
return "'\u4E0B\u4E2A'" + baseFormat;
|
186 |
+
}
|
187 |
+
return "'\u4E0A\u4E2A'" + baseFormat;
|
188 |
+
};
|
189 |
+
var formatRelativeLocale = {
|
190 |
+
lastWeek: checkWeek,
|
191 |
+
yesterday: "'\u6628\u5929' p",
|
192 |
+
today: "'\u4ECA\u5929' p",
|
193 |
+
tomorrow: "'\u660E\u5929' p",
|
194 |
+
nextWeek: checkWeek,
|
195 |
+
other: "PP p"
|
196 |
+
};
|
197 |
+
var formatRelative = function formatRelative(token, date, baseDate, options) {
|
198 |
+
var format = formatRelativeLocale[token];
|
199 |
+
if (typeof format === "function") {
|
200 |
+
return format(date, baseDate, options);
|
201 |
+
}
|
202 |
+
return format;
|
203 |
+
};
|
204 |
+
|
205 |
+
// lib/locale/_lib/buildLocalizeFn.mjs
|
206 |
+
function buildLocalizeFn(args) {
|
207 |
+
return function (value, options) {
|
208 |
+
var context = options !== null && options !== void 0 && options.context ? String(options.context) : "standalone";
|
209 |
+
var valuesArray;
|
210 |
+
if (context === "formatting" && args.formattingValues) {
|
211 |
+
var defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
212 |
+
var width = options !== null && options !== void 0 && options.width ? String(options.width) : defaultWidth;
|
213 |
+
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
214 |
+
} else {
|
215 |
+
var _defaultWidth = args.defaultWidth;
|
216 |
+
var _width = options !== null && options !== void 0 && options.width ? String(options.width) : args.defaultWidth;
|
217 |
+
valuesArray = args.values[_width] || args.values[_defaultWidth];
|
218 |
+
}
|
219 |
+
var index = args.argumentCallback ? args.argumentCallback(value) : value;
|
220 |
+
return valuesArray[index];
|
221 |
+
};
|
222 |
+
}
|
223 |
+
|
224 |
+
// lib/locale/zh-CN/_lib/localize.mjs
|
225 |
+
var eraValues = {
|
226 |
+
narrow: ["\u524D", "\u516C\u5143"],
|
227 |
+
abbreviated: ["\u524D", "\u516C\u5143"],
|
228 |
+
wide: ["\u516C\u5143\u524D", "\u516C\u5143"]
|
229 |
+
};
|
230 |
+
var quarterValues = {
|
231 |
+
narrow: ["1", "2", "3", "4"],
|
232 |
+
abbreviated: ["\u7B2C\u4E00\u5B63", "\u7B2C\u4E8C\u5B63", "\u7B2C\u4E09\u5B63", "\u7B2C\u56DB\u5B63"],
|
233 |
+
wide: ["\u7B2C\u4E00\u5B63\u5EA6", "\u7B2C\u4E8C\u5B63\u5EA6", "\u7B2C\u4E09\u5B63\u5EA6", "\u7B2C\u56DB\u5B63\u5EA6"]
|
234 |
+
};
|
235 |
+
var monthValues = {
|
236 |
+
narrow: [
|
237 |
+
"\u4E00",
|
238 |
+
"\u4E8C",
|
239 |
+
"\u4E09",
|
240 |
+
"\u56DB",
|
241 |
+
"\u4E94",
|
242 |
+
"\u516D",
|
243 |
+
"\u4E03",
|
244 |
+
"\u516B",
|
245 |
+
"\u4E5D",
|
246 |
+
"\u5341",
|
247 |
+
"\u5341\u4E00",
|
248 |
+
"\u5341\u4E8C"],
|
249 |
+
|
250 |
+
abbreviated: [
|
251 |
+
"1\u6708",
|
252 |
+
"2\u6708",
|
253 |
+
"3\u6708",
|
254 |
+
"4\u6708",
|
255 |
+
"5\u6708",
|
256 |
+
"6\u6708",
|
257 |
+
"7\u6708",
|
258 |
+
"8\u6708",
|
259 |
+
"9\u6708",
|
260 |
+
"10\u6708",
|
261 |
+
"11\u6708",
|
262 |
+
"12\u6708"],
|
263 |
+
|
264 |
+
wide: [
|
265 |
+
"\u4E00\u6708",
|
266 |
+
"\u4E8C\u6708",
|
267 |
+
"\u4E09\u6708",
|
268 |
+
"\u56DB\u6708",
|
269 |
+
"\u4E94\u6708",
|
270 |
+
"\u516D\u6708",
|
271 |
+
"\u4E03\u6708",
|
272 |
+
"\u516B\u6708",
|
273 |
+
"\u4E5D\u6708",
|
274 |
+
"\u5341\u6708",
|
275 |
+
"\u5341\u4E00\u6708",
|
276 |
+
"\u5341\u4E8C\u6708"]
|
277 |
+
|
278 |
+
};
|
279 |
+
var dayValues = {
|
280 |
+
narrow: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
281 |
+
short: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
282 |
+
abbreviated: ["\u5468\u65E5", "\u5468\u4E00", "\u5468\u4E8C", "\u5468\u4E09", "\u5468\u56DB", "\u5468\u4E94", "\u5468\u516D"],
|
283 |
+
wide: ["\u661F\u671F\u65E5", "\u661F\u671F\u4E00", "\u661F\u671F\u4E8C", "\u661F\u671F\u4E09", "\u661F\u671F\u56DB", "\u661F\u671F\u4E94", "\u661F\u671F\u516D"]
|
284 |
+
};
|
285 |
+
var dayPeriodValues = {
|
286 |
+
narrow: {
|
287 |
+
am: "\u4E0A",
|
288 |
+
pm: "\u4E0B",
|
289 |
+
midnight: "\u51CC\u6668",
|
290 |
+
noon: "\u5348",
|
291 |
+
morning: "\u65E9",
|
292 |
+
afternoon: "\u4E0B\u5348",
|
293 |
+
evening: "\u665A",
|
294 |
+
night: "\u591C"
|
295 |
+
},
|
296 |
+
abbreviated: {
|
297 |
+
am: "\u4E0A\u5348",
|
298 |
+
pm: "\u4E0B\u5348",
|
299 |
+
midnight: "\u51CC\u6668",
|
300 |
+
noon: "\u4E2D\u5348",
|
301 |
+
morning: "\u65E9\u6668",
|
302 |
+
afternoon: "\u4E2D\u5348",
|
303 |
+
evening: "\u665A\u4E0A",
|
304 |
+
night: "\u591C\u95F4"
|
305 |
+
},
|
306 |
+
wide: {
|
307 |
+
am: "\u4E0A\u5348",
|
308 |
+
pm: "\u4E0B\u5348",
|
309 |
+
midnight: "\u51CC\u6668",
|
310 |
+
noon: "\u4E2D\u5348",
|
311 |
+
morning: "\u65E9\u6668",
|
312 |
+
afternoon: "\u4E2D\u5348",
|
313 |
+
evening: "\u665A\u4E0A",
|
314 |
+
night: "\u591C\u95F4"
|
315 |
+
}
|
316 |
+
};
|
317 |
+
var formattingDayPeriodValues = {
|
318 |
+
narrow: {
|
319 |
+
am: "\u4E0A",
|
320 |
+
pm: "\u4E0B",
|
321 |
+
midnight: "\u51CC\u6668",
|
322 |
+
noon: "\u5348",
|
323 |
+
morning: "\u65E9",
|
324 |
+
afternoon: "\u4E0B\u5348",
|
325 |
+
evening: "\u665A",
|
326 |
+
night: "\u591C"
|
327 |
+
},
|
328 |
+
abbreviated: {
|
329 |
+
am: "\u4E0A\u5348",
|
330 |
+
pm: "\u4E0B\u5348",
|
331 |
+
midnight: "\u51CC\u6668",
|
332 |
+
noon: "\u4E2D\u5348",
|
333 |
+
morning: "\u65E9\u6668",
|
334 |
+
afternoon: "\u4E2D\u5348",
|
335 |
+
evening: "\u665A\u4E0A",
|
336 |
+
night: "\u591C\u95F4"
|
337 |
+
},
|
338 |
+
wide: {
|
339 |
+
am: "\u4E0A\u5348",
|
340 |
+
pm: "\u4E0B\u5348",
|
341 |
+
midnight: "\u51CC\u6668",
|
342 |
+
noon: "\u4E2D\u5348",
|
343 |
+
morning: "\u65E9\u6668",
|
344 |
+
afternoon: "\u4E2D\u5348",
|
345 |
+
evening: "\u665A\u4E0A",
|
346 |
+
night: "\u591C\u95F4"
|
347 |
+
}
|
348 |
+
};
|
349 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, options) {
|
350 |
+
var number = Number(dirtyNumber);
|
351 |
+
switch (options === null || options === void 0 ? void 0 : options.unit) {
|
352 |
+
case "date":
|
353 |
+
return number.toString() + "\u65E5";
|
354 |
+
case "hour":
|
355 |
+
return number.toString() + "\u65F6";
|
356 |
+
case "minute":
|
357 |
+
return number.toString() + "\u5206";
|
358 |
+
case "second":
|
359 |
+
return number.toString() + "\u79D2";
|
360 |
+
default:
|
361 |
+
return "\u7B2C " + number.toString();
|
362 |
+
}
|
363 |
+
};
|
364 |
+
var localize = {
|
365 |
+
ordinalNumber: ordinalNumber,
|
366 |
+
era: buildLocalizeFn({
|
367 |
+
values: eraValues,
|
368 |
+
defaultWidth: "wide"
|
369 |
+
}),
|
370 |
+
quarter: buildLocalizeFn({
|
371 |
+
values: quarterValues,
|
372 |
+
defaultWidth: "wide",
|
373 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
374 |
+
}),
|
375 |
+
month: buildLocalizeFn({
|
376 |
+
values: monthValues,
|
377 |
+
defaultWidth: "wide"
|
378 |
+
}),
|
379 |
+
day: buildLocalizeFn({
|
380 |
+
values: dayValues,
|
381 |
+
defaultWidth: "wide"
|
382 |
+
}),
|
383 |
+
dayPeriod: buildLocalizeFn({
|
384 |
+
values: dayPeriodValues,
|
385 |
+
defaultWidth: "wide",
|
386 |
+
formattingValues: formattingDayPeriodValues,
|
387 |
+
defaultFormattingWidth: "wide"
|
388 |
+
})
|
389 |
+
};
|
390 |
+
|
391 |
+
// lib/locale/_lib/buildMatchFn.mjs
|
392 |
+
function buildMatchFn(args) {
|
393 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
394 |
+
var width = options.width;
|
395 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
396 |
+
var matchResult = string.match(matchPattern);
|
397 |
+
if (!matchResult) {
|
398 |
+
return null;
|
399 |
+
}
|
400 |
+
var matchedString = matchResult[0];
|
401 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
402 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
403 |
+
var value;
|
404 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
405 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
406 |
+
var rest = string.slice(matchedString.length);
|
407 |
+
return { value: value, rest: rest };
|
408 |
+
};
|
409 |
+
}
|
410 |
+
var findKey = function findKey(object, predicate) {
|
411 |
+
for (var key in object) {
|
412 |
+
if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
|
413 |
+
return key;
|
414 |
+
}
|
415 |
+
}
|
416 |
+
return;
|
417 |
+
};
|
418 |
+
var findIndex = function findIndex(array, predicate) {
|
419 |
+
for (var key = 0; key < array.length; key++) {
|
420 |
+
if (predicate(array[key])) {
|
421 |
+
return key;
|
422 |
+
}
|
423 |
+
}
|
424 |
+
return;
|
425 |
+
};
|
426 |
+
|
427 |
+
// lib/locale/_lib/buildMatchPatternFn.mjs
|
428 |
+
function buildMatchPatternFn(args) {
|
429 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
430 |
+
var matchResult = string.match(args.matchPattern);
|
431 |
+
if (!matchResult)
|
432 |
+
return null;
|
433 |
+
var matchedString = matchResult[0];
|
434 |
+
var parseResult = string.match(args.parsePattern);
|
435 |
+
if (!parseResult)
|
436 |
+
return null;
|
437 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
438 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
439 |
+
var rest = string.slice(matchedString.length);
|
440 |
+
return { value: value, rest: rest };
|
441 |
+
};
|
442 |
+
}
|
443 |
+
|
444 |
+
// lib/locale/zh-CN/_lib/match.mjs
|
445 |
+
var matchOrdinalNumberPattern = /^(第\s*)?\d+(日|时|分|秒)?/i;
|
446 |
+
var parseOrdinalNumberPattern = /\d+/i;
|
447 |
+
var matchEraPatterns = {
|
448 |
+
narrow: /^(前)/i,
|
449 |
+
abbreviated: /^(前)/i,
|
450 |
+
wide: /^(公元前|公元)/i
|
451 |
+
};
|
452 |
+
var parseEraPatterns = {
|
453 |
+
any: [/^(前)/i, /^(公元)/i]
|
454 |
+
};
|
455 |
+
var matchQuarterPatterns = {
|
456 |
+
narrow: /^[1234]/i,
|
457 |
+
abbreviated: /^第[一二三四]刻/i,
|
458 |
+
wide: /^第[一二三四]刻钟/i
|
459 |
+
};
|
460 |
+
var parseQuarterPatterns = {
|
461 |
+
any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]
|
462 |
+
};
|
463 |
+
var matchMonthPatterns = {
|
464 |
+
narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
|
465 |
+
abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
|
466 |
+
wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i
|
467 |
+
};
|
468 |
+
var parseMonthPatterns = {
|
469 |
+
narrow: [
|
470 |
+
/^一/i,
|
471 |
+
/^二/i,
|
472 |
+
/^三/i,
|
473 |
+
/^四/i,
|
474 |
+
/^五/i,
|
475 |
+
/^六/i,
|
476 |
+
/^七/i,
|
477 |
+
/^八/i,
|
478 |
+
/^九/i,
|
479 |
+
/^十(?!(一|二))/i,
|
480 |
+
/^十一/i,
|
481 |
+
/^十二/i],
|
482 |
+
|
483 |
+
any: [
|
484 |
+
/^一|1/i,
|
485 |
+
/^二|2/i,
|
486 |
+
/^三|3/i,
|
487 |
+
/^四|4/i,
|
488 |
+
/^五|5/i,
|
489 |
+
/^六|6/i,
|
490 |
+
/^七|7/i,
|
491 |
+
/^八|8/i,
|
492 |
+
/^九|9/i,
|
493 |
+
/^十(?!(一|二))|10/i,
|
494 |
+
/^十一|11/i,
|
495 |
+
/^十二|12/i]
|
496 |
+
|
497 |
+
};
|
498 |
+
var matchDayPatterns = {
|
499 |
+
narrow: /^[一二三四五六日]/i,
|
500 |
+
short: /^[一二三四五六日]/i,
|
501 |
+
abbreviated: /^周[一二三四五六日]/i,
|
502 |
+
wide: /^星期[一二三四五六日]/i
|
503 |
+
};
|
504 |
+
var parseDayPatterns = {
|
505 |
+
any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]
|
506 |
+
};
|
507 |
+
var matchDayPeriodPatterns = {
|
508 |
+
any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i
|
509 |
+
};
|
510 |
+
var parseDayPeriodPatterns = {
|
511 |
+
any: {
|
512 |
+
am: /^上午?/i,
|
513 |
+
pm: /^下午?/i,
|
514 |
+
midnight: /^午夜/i,
|
515 |
+
noon: /^[中正]午/i,
|
516 |
+
morning: /^早上/i,
|
517 |
+
afternoon: /^下午/i,
|
518 |
+
evening: /^晚上?/i,
|
519 |
+
night: /^凌晨/i
|
520 |
+
}
|
521 |
+
};
|
522 |
+
var match = {
|
523 |
+
ordinalNumber: buildMatchPatternFn({
|
524 |
+
matchPattern: matchOrdinalNumberPattern,
|
525 |
+
parsePattern: parseOrdinalNumberPattern,
|
526 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
527 |
+
}),
|
528 |
+
era: buildMatchFn({
|
529 |
+
matchPatterns: matchEraPatterns,
|
530 |
+
defaultMatchWidth: "wide",
|
531 |
+
parsePatterns: parseEraPatterns,
|
532 |
+
defaultParseWidth: "any"
|
533 |
+
}),
|
534 |
+
quarter: buildMatchFn({
|
535 |
+
matchPatterns: matchQuarterPatterns,
|
536 |
+
defaultMatchWidth: "wide",
|
537 |
+
parsePatterns: parseQuarterPatterns,
|
538 |
+
defaultParseWidth: "any",
|
539 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
540 |
+
}),
|
541 |
+
month: buildMatchFn({
|
542 |
+
matchPatterns: matchMonthPatterns,
|
543 |
+
defaultMatchWidth: "wide",
|
544 |
+
parsePatterns: parseMonthPatterns,
|
545 |
+
defaultParseWidth: "any"
|
546 |
+
}),
|
547 |
+
day: buildMatchFn({
|
548 |
+
matchPatterns: matchDayPatterns,
|
549 |
+
defaultMatchWidth: "wide",
|
550 |
+
parsePatterns: parseDayPatterns,
|
551 |
+
defaultParseWidth: "any"
|
552 |
+
}),
|
553 |
+
dayPeriod: buildMatchFn({
|
554 |
+
matchPatterns: matchDayPeriodPatterns,
|
555 |
+
defaultMatchWidth: "any",
|
556 |
+
parsePatterns: parseDayPeriodPatterns,
|
557 |
+
defaultParseWidth: "any"
|
558 |
+
})
|
559 |
+
};
|
560 |
+
|
561 |
+
// lib/locale/zh-CN.mjs
|
562 |
+
var zhCN = {
|
563 |
+
code: "zh-CN",
|
564 |
+
formatDistance: formatDistance,
|
565 |
+
formatLong: formatLong,
|
566 |
+
formatRelative: formatRelative,
|
567 |
+
localize: localize,
|
568 |
+
match: match,
|
569 |
+
options: {
|
570 |
+
weekStartsOn: 1,
|
571 |
+
firstWeekContainsDate: 4
|
572 |
+
}
|
573 |
+
};
|
574 |
+
|
575 |
+
// lib/locale/zh-CN/cdn.js
|
576 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
577 |
+
window.dateFns), {}, {
|
578 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
579 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
580 |
+
zhCN: zhCN }) });
|
581 |
+
|
582 |
+
|
583 |
+
|
584 |
+
//# debugId=03417304EC37CFC464756e2164756e21
|
585 |
+
})();
|
586 |
+
|
587 |
+
//# sourceMappingURL=cdn.js.map
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/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","xHours","aboutXHours","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","toDate","argument","argStr","prototype","toString","call","Date","_typeof","constructor","NaN","getDefaultOptions","defaultOptions","setDefaultOptions","newOptions","startOfWeek","_ref","_ref2","_ref3","_options$weekStartsOn","_options$locale","_defaultOptions3$loca","defaultOptions3","weekStartsOn","locale","_date","day","getDay","diff","setDate","getDate","setHours","isSameWeek","dateLeft","dateRight","dateLeftStartOfWeek","dateRightStartOfWeek","checkWeek","baseDate","baseFormat","getTime","formatRelativeLocale","lastWeek","yesterday","today","tomorrow","nextWeek","formatRelative","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","number","Number","unit","localize","era","quarter","month","dayPeriod","buildMatchFn","string","matchPattern","matchPatterns","defaultMatchWidth","matchResult","match","matchedString","parsePatterns","defaultParseWidth","key","Array","isArray","findIndex","pattern","test","findKey","valueCallback","rest","slice","object","predicate","hasOwnProperty","array","buildMatchPatternFn","parseResult","parsePattern","matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","any","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","parseInt","zhCN","code","firstWeekContainsDate","window","dateFns","_objectSpread"],"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/zh-CN/_lib/formatDistance.mjs\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"\\u4E0D\\u5230 1 \\u79D2\",\n other: \"\\u4E0D\\u5230 {{count}} \\u79D2\"\n },\n xSeconds: {\n one: \"1 \\u79D2\",\n other: \"{{count}} \\u79D2\"\n },\n halfAMinute: \"\\u534A\\u5206\\u949F\",\n lessThanXMinutes: {\n one: \"\\u4E0D\\u5230 1 \\u5206\\u949F\",\n other: \"\\u4E0D\\u5230 {{count}} \\u5206\\u949F\"\n },\n xMinutes: {\n one: \"1 \\u5206\\u949F\",\n other: \"{{count}} \\u5206\\u949F\"\n },\n xHours: {\n one: \"1 \\u5C0F\\u65F6\",\n other: \"{{count}} \\u5C0F\\u65F6\"\n },\n aboutXHours: {\n one: \"\\u5927\\u7EA6 1 \\u5C0F\\u65F6\",\n other: \"\\u5927\\u7EA6 {{count}} \\u5C0F\\u65F6\"\n },\n xDays: {\n one: \"1 \\u5929\",\n other: \"{{count}} \\u5929\"\n },\n aboutXWeeks: {\n one: \"\\u5927\\u7EA6 1 \\u4E2A\\u661F\\u671F\",\n other: \"\\u5927\\u7EA6 {{count}} \\u4E2A\\u661F\\u671F\"\n },\n xWeeks: {\n one: \"1 \\u4E2A\\u661F\\u671F\",\n other: \"{{count}} \\u4E2A\\u661F\\u671F\"\n },\n aboutXMonths: {\n one: \"\\u5927\\u7EA6 1 \\u4E2A\\u6708\",\n other: \"\\u5927\\u7EA6 {{count}} \\u4E2A\\u6708\"\n },\n xMonths: {\n one: \"1 \\u4E2A\\u6708\",\n other: \"{{count}} \\u4E2A\\u6708\"\n },\n aboutXYears: {\n one: \"\\u5927\\u7EA6 1 \\u5E74\",\n other: \"\\u5927\\u7EA6 {{count}} \\u5E74\"\n },\n xYears: {\n one: \"1 \\u5E74\",\n other: \"{{count}} \\u5E74\"\n },\n overXYears: {\n one: \"\\u8D85\\u8FC7 1 \\u5E74\",\n other: \"\\u8D85\\u8FC7 {{count}} \\u5E74\"\n },\n almostXYears: {\n one: \"\\u5C06\\u8FD1 1 \\u5E74\",\n other: \"\\u5C06\\u8FD1 {{count}} \\u5E74\"\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 + \"\\u5185\";\n } else {\n return result + \"\\u524D\";\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/zh-CN/_lib/formatLong.mjs\nvar dateFormats = {\n full: \"y'\\u5E74'M'\\u6708'd'\\u65E5' EEEE\",\n long: \"y'\\u5E74'M'\\u6708'd'\\u65E5'\",\n medium: \"yyyy-MM-dd\",\n short: \"yy-MM-dd\"\n};\nvar timeFormats = {\n full: \"zzzz a h:mm:ss\",\n long: \"z a h:mm:ss\",\n medium: \"a h:mm:ss\",\n short: \"a h:mm\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} {{time}}\",\n long: \"{{date}} {{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/toDate.mjs\nfunction toDate(argument) {\n const argStr = Object.prototype.toString.call(argument);\n if (argument instanceof Date || typeof argument === \"object\" && argStr === \"[object Date]\") {\n return new argument.constructor(+argument);\n } else if (typeof argument === \"number\" || argStr === \"[object Number]\" || typeof argument === \"string\" || argStr === \"[object String]\") {\n return new Date(argument);\n } else {\n return new Date(NaN);\n }\n}\n\n// lib/_lib/defaultOptions.mjs\nfunction getDefaultOptions() {\n return defaultOptions;\n}\nfunction setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}\nvar defaultOptions = {};\n\n// lib/startOfWeek.mjs\nfunction startOfWeek(date, options) {\n const defaultOptions3 = getDefaultOptions();\n const weekStartsOn = options?.weekStartsOn ?? options?.locale?.options?.weekStartsOn ?? defaultOptions3.weekStartsOn ?? defaultOptions3.locale?.options?.weekStartsOn ?? 0;\n const _date = toDate(date);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n _date.setDate(_date.getDate() - diff);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// lib/isSameWeek.mjs\nfunction isSameWeek(dateLeft, dateRight, options) {\n const dateLeftStartOfWeek = startOfWeek(dateLeft, options);\n const dateRightStartOfWeek = startOfWeek(dateRight, options);\n return +dateLeftStartOfWeek === +dateRightStartOfWeek;\n}\n\n// lib/locale/zh-CN/_lib/formatRelative.mjs\nvar checkWeek = function(date, baseDate, options) {\n const baseFormat = \"eeee p\";\n if (isSameWeek(date, baseDate, options)) {\n return baseFormat;\n } else if (date.getTime() > baseDate.getTime()) {\n return \"'\\u4E0B\\u4E2A'\" + baseFormat;\n }\n return \"'\\u4E0A\\u4E2A'\" + baseFormat;\n};\nvar formatRelativeLocale = {\n lastWeek: checkWeek,\n yesterday: \"'\\u6628\\u5929' p\",\n today: \"'\\u4ECA\\u5929' p\",\n tomorrow: \"'\\u660E\\u5929' p\",\n nextWeek: checkWeek,\n other: \"PP p\"\n};\nvar formatRelative = (token, date, baseDate, options) => {\n const format = formatRelativeLocale[token];\n if (typeof format === \"function\") {\n return format(date, baseDate, options);\n }\n return format;\n};\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/zh-CN/_lib/localize.mjs\nvar eraValues = {\n narrow: [\"\\u524D\", \"\\u516C\\u5143\"],\n abbreviated: [\"\\u524D\", \"\\u516C\\u5143\"],\n wide: [\"\\u516C\\u5143\\u524D\", \"\\u516C\\u5143\"]\n};\nvar quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"\\u7B2C\\u4E00\\u5B63\", \"\\u7B2C\\u4E8C\\u5B63\", \"\\u7B2C\\u4E09\\u5B63\", \"\\u7B2C\\u56DB\\u5B63\"],\n wide: [\"\\u7B2C\\u4E00\\u5B63\\u5EA6\", \"\\u7B2C\\u4E8C\\u5B63\\u5EA6\", \"\\u7B2C\\u4E09\\u5B63\\u5EA6\", \"\\u7B2C\\u56DB\\u5B63\\u5EA6\"]\n};\nvar monthValues = {\n narrow: [\n \"\\u4E00\",\n \"\\u4E8C\",\n \"\\u4E09\",\n \"\\u56DB\",\n \"\\u4E94\",\n \"\\u516D\",\n \"\\u4E03\",\n \"\\u516B\",\n \"\\u4E5D\",\n \"\\u5341\",\n \"\\u5341\\u4E00\",\n \"\\u5341\\u4E8C\"\n ],\n abbreviated: [\n \"1\\u6708\",\n \"2\\u6708\",\n \"3\\u6708\",\n \"4\\u6708\",\n \"5\\u6708\",\n \"6\\u6708\",\n \"7\\u6708\",\n \"8\\u6708\",\n \"9\\u6708\",\n \"10\\u6708\",\n \"11\\u6708\",\n \"12\\u6708\"\n ],\n wide: [\n \"\\u4E00\\u6708\",\n \"\\u4E8C\\u6708\",\n \"\\u4E09\\u6708\",\n \"\\u56DB\\u6708\",\n \"\\u4E94\\u6708\",\n \"\\u516D\\u6708\",\n \"\\u4E03\\u6708\",\n \"\\u516B\\u6708\",\n \"\\u4E5D\\u6708\",\n \"\\u5341\\u6708\",\n \"\\u5341\\u4E00\\u6708\",\n \"\\u5341\\u4E8C\\u6708\"\n ]\n};\nvar dayValues = {\n narrow: [\"\\u65E5\", \"\\u4E00\", \"\\u4E8C\", \"\\u4E09\", \"\\u56DB\", \"\\u4E94\", \"\\u516D\"],\n short: [\"\\u65E5\", \"\\u4E00\", \"\\u4E8C\", \"\\u4E09\", \"\\u56DB\", \"\\u4E94\", \"\\u516D\"],\n abbreviated: [\"\\u5468\\u65E5\", \"\\u5468\\u4E00\", \"\\u5468\\u4E8C\", \"\\u5468\\u4E09\", \"\\u5468\\u56DB\", \"\\u5468\\u4E94\", \"\\u5468\\u516D\"],\n wide: [\"\\u661F\\u671F\\u65E5\", \"\\u661F\\u671F\\u4E00\", \"\\u661F\\u671F\\u4E8C\", \"\\u661F\\u671F\\u4E09\", \"\\u661F\\u671F\\u56DB\", \"\\u661F\\u671F\\u4E94\", \"\\u661F\\u671F\\u516D\"]\n};\nvar dayPeriodValues = {\n narrow: {\n am: \"\\u4E0A\",\n pm: \"\\u4E0B\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u5348\",\n morning: \"\\u65E9\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\",\n night: \"\\u591C\"\n },\n abbreviated: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u65E9\\u6668\",\n afternoon: \"\\u4E2D\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u95F4\"\n },\n wide: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u65E9\\u6668\",\n afternoon: \"\\u4E2D\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u95F4\"\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: \"\\u4E0A\",\n pm: \"\\u4E0B\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u5348\",\n morning: \"\\u65E9\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\",\n night: \"\\u591C\"\n },\n abbreviated: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u65E9\\u6668\",\n afternoon: \"\\u4E2D\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u95F4\"\n },\n wide: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u65E9\\u6668\",\n afternoon: \"\\u4E2D\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u95F4\"\n }\n};\nvar ordinalNumber = (dirtyNumber, options) => {\n const number = Number(dirtyNumber);\n switch (options?.unit) {\n case \"date\":\n return number.toString() + \"\\u65E5\";\n case \"hour\":\n return number.toString() + \"\\u65F6\";\n case \"minute\":\n return number.toString() + \"\\u5206\";\n case \"second\":\n return number.toString() + \"\\u79D2\";\n default:\n return \"\\u7B2C \" + number.toString();\n }\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/zh-CN/_lib/match.mjs\nvar matchOrdinalNumberPattern = /^(第\\s*)?\\d+(日|时|分|秒)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(前)/i,\n abbreviated: /^(前)/i,\n wide: /^(公元前|公元)/i\n};\nvar parseEraPatterns = {\n any: [/^(前)/i, /^(公元)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^第[一二三四]刻/i,\n wide: /^第[一二三四]刻钟/i\n};\nvar parseQuarterPatterns = {\n any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,\n abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\\d|1[12])月/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 /^一|1/i,\n /^二|2/i,\n /^三|3/i,\n /^四|4/i,\n /^五|5/i,\n /^六|6/i,\n /^七|7/i,\n /^八|8/i,\n /^九|9/i,\n /^十(?!(一|二))|10/i,\n /^十一|11/i,\n /^十二|12/i\n ]\n};\nvar matchDayPatterns = {\n narrow: /^[一二三四五六日]/i,\n short: /^[一二三四五六日]/i,\n abbreviated: /^周[一二三四五六日]/i,\n wide: /^星期[一二三四五六日]/i\n};\nvar parseDayPatterns = {\n any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]\n};\nvar matchDayPeriodPatterns = {\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/zh-CN.mjs\nvar zhCN = {\n code: \"zh-CN\",\n formatDistance,\n formatLong,\n formatRelative,\n localize,\n match,\n options: {\n weekStartsOn: 1,\n firstWeekContainsDate: 4\n }\n};\n\n// lib/locale/zh-CN/cdn.js\nwindow.dateFns = {\n ...window.dateFns,\n locale: {\n ...window.dateFns?.locale,\n zhCN\n }\n};\n\n//# debugId=03417304EC37CFC464756e2164756e21\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;EAC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fwG,qBAAqB,EAAE;IACzB;EACF,CAAC;;EAED;EACAC,MAAM,CAACC,OAAO,GAAAC,aAAA,CAAAA,aAAA;EACTF,MAAM,CAACC,OAAO;IACjBzG,MAAM,EAAA0G,aAAA,CAAAA,aAAA,MAAA/L,eAAA;IACD6L,MAAM,CAACC,OAAO,cAAA9L,eAAA,uBAAdA,eAAA,CAAgBqF,MAAM;MACzBqG,IAAI,EAAJA,IAAI,GACL,GACF;;;;EAED;AACC,CAAC,EAAE,CAAC","ignoreList":[]}
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/cdn.min.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
var j=function(H,G){var Y=Object.keys(H);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(H);G&&(Z=Z.filter(function(R){return Object.getOwnPropertyDescriptor(H,R).enumerable})),Y.push.apply(Y,Z)}return Y},M=function(H){for(var G=1;G<arguments.length;G++){var Y=arguments[G]!=null?arguments[G]:{};G%2?j(Object(Y),!0).forEach(function(Z){T0(H,Z,Y[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(Y)):j(Object(Y)).forEach(function(Z){Object.defineProperty(H,Z,Object.getOwnPropertyDescriptor(Y,Z))})}return H},T0=function(H,G,Y){if(G=X0(G),G in H)Object.defineProperty(H,G,{value:Y,enumerable:!0,configurable:!0,writable:!0});else H[G]=Y;return H},X0=function(H){var G=Y0(H,"string");return K(G)=="symbol"?G:String(G)},Y0=function(H,G){if(K(H)!="object"||!H)return H;var Y=H[Symbol.toPrimitive];if(Y!==void 0){var Z=Y.call(H,G||"default");if(K(Z)!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(G==="string"?String:Number)(H)},K=function(H){return K=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},K(H)};(function(H){var G=Object.defineProperty,Y=function C(E,U){for(var B in U)G(E,B,{get:U[B],enumerable:!0,configurable:!0,set:function J(T){return U[B]=function(){return T}}})},Z={lessThanXSeconds:{one:"\u4E0D\u5230 1 \u79D2",other:"\u4E0D\u5230 {{count}} \u79D2"},xSeconds:{one:"1 \u79D2",other:"{{count}} \u79D2"},halfAMinute:"\u534A\u5206\u949F",lessThanXMinutes:{one:"\u4E0D\u5230 1 \u5206\u949F",other:"\u4E0D\u5230 {{count}} \u5206\u949F"},xMinutes:{one:"1 \u5206\u949F",other:"{{count}} \u5206\u949F"},xHours:{one:"1 \u5C0F\u65F6",other:"{{count}} \u5C0F\u65F6"},aboutXHours:{one:"\u5927\u7EA6 1 \u5C0F\u65F6",other:"\u5927\u7EA6 {{count}} \u5C0F\u65F6"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7EA6 1 \u4E2A\u661F\u671F",other:"\u5927\u7EA6 {{count}} \u4E2A\u661F\u671F"},xWeeks:{one:"1 \u4E2A\u661F\u671F",other:"{{count}} \u4E2A\u661F\u671F"},aboutXMonths:{one:"\u5927\u7EA6 1 \u4E2A\u6708",other:"\u5927\u7EA6 {{count}} \u4E2A\u6708"},xMonths:{one:"1 \u4E2A\u6708",other:"{{count}} \u4E2A\u6708"},aboutXYears:{one:"\u5927\u7EA6 1 \u5E74",other:"\u5927\u7EA6 {{count}} \u5E74"},xYears:{one:"1 \u5E74",other:"{{count}} \u5E74"},overXYears:{one:"\u8D85\u8FC7 1 \u5E74",other:"\u8D85\u8FC7 {{count}} \u5E74"},almostXYears:{one:"\u5C06\u8FD1 1 \u5E74",other:"\u5C06\u8FD1 {{count}} \u5E74"}},R=function C(E,U,B){var J,T=Z[E];if(typeof T==="string")J=T;else if(U===1)J=T.one;else J=T.other.replace("{{count}}",String(U));if(B!==null&&B!==void 0&&B.addSuffix)if(B.comparison&&B.comparison>0)return J+"\u5185";else return J+"\u524D";return J};function W(C){return function(){var E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},U=E.width?String(E.width):C.defaultWidth,B=C.formats[U]||C.formats[C.defaultWidth];return B}}var S={full:"y'\u5E74'M'\u6708'd'\u65E5' EEEE",long:"y'\u5E74'M'\u6708'd'\u65E5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},P={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},$={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},v={date:W({formats:S,defaultWidth:"full"}),time:W({formats:P,defaultWidth:"full"}),dateTime:W({formats:$,defaultWidth:"full"})};function O(C){var E=Object.prototype.toString.call(C);if(C instanceof Date||K(C)==="object"&&E==="[object Date]")return new C.constructor(+C);else if(typeof C==="number"||E==="[object Number]"||typeof C==="string"||E==="[object String]")return new Date(C);else return new Date(NaN)}function F(){return V}function Z0(C){V=C}var V={};function D(C,E){var U,B,J,T,X,A,Q=F(),I=(U=(B=(J=(T=E===null||E===void 0?void 0:E.weekStartsOn)!==null&&T!==void 0?T:E===null||E===void 0||(X=E.locale)===null||X===void 0||(X=X.options)===null||X===void 0?void 0:X.weekStartsOn)!==null&&J!==void 0?J:Q.weekStartsOn)!==null&&B!==void 0?B:(A=Q.locale)===null||A===void 0||(A=A.options)===null||A===void 0?void 0:A.weekStartsOn)!==null&&U!==void 0?U:0,q=O(C),z=q.getDay(),J0=(z<I?7:0)+z-I;return q.setDate(q.getDate()-J0),q.setHours(0,0,0,0),q}function w(C,E,U){var B=D(C,U),J=D(E,U);return+B===+J}var L=function C(E,U,B){var J="eeee p";if(w(E,U,B))return J;else if(E.getTime()>U.getTime())return"'\u4E0B\u4E2A'"+J;return"'\u4E0A\u4E2A'"+J},h={lastWeek:L,yesterday:"'\u6628\u5929' p",today:"'\u4ECA\u5929' p",tomorrow:"'\u660E\u5929' p",nextWeek:L,other:"PP p"},k=function C(E,U,B,J){var T=h[E];if(typeof T==="function")return T(U,B,J);return T};function x(C){return function(E,U){var B=U!==null&&U!==void 0&&U.context?String(U.context):"standalone",J;if(B==="formatting"&&C.formattingValues){var T=C.defaultFormattingWidth||C.defaultWidth,X=U!==null&&U!==void 0&&U.width?String(U.width):T;J=C.formattingValues[X]||C.formattingValues[T]}else{var A=C.defaultWidth,Q=U!==null&&U!==void 0&&U.width?String(U.width):C.defaultWidth;J=C.values[Q]||C.values[A]}var I=C.argumentCallback?C.argumentCallback(E):E;return J[I]}}var b={narrow:["\u524D","\u516C\u5143"],abbreviated:["\u524D","\u516C\u5143"],wide:["\u516C\u5143\u524D","\u516C\u5143"]},f={narrow:["1","2","3","4"],abbreviated:["\u7B2C\u4E00\u5B63","\u7B2C\u4E8C\u5B63","\u7B2C\u4E09\u5B63","\u7B2C\u56DB\u5B63"],wide:["\u7B2C\u4E00\u5B63\u5EA6","\u7B2C\u4E8C\u5B63\u5EA6","\u7B2C\u4E09\u5B63\u5EA6","\u7B2C\u56DB\u5B63\u5EA6"]},y={narrow:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},c={narrow:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],short:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],abbreviated:["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],wide:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},_={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},m={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u51CC\u6668",noon:"\u5348",morning:"\u65E9",afternoon:"\u4E0B\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u51CC\u6668",noon:"\u4E2D\u5348",morning:"\u65E9\u6668",afternoon:"\u4E2D\u5348",evening:"\u665A\u4E0A",night:"\u591C\u95F4"}},d=function C(E,U){var B=Number(E);switch(U===null||U===void 0?void 0:U.unit){case"date":return B.toString()+"\u65E5";case"hour":return B.toString()+"\u65F6";case"minute":return B.toString()+"\u5206";case"second":return B.toString()+"\u79D2";default:return"\u7B2C "+B.toString()}},g={ordinalNumber:d,era:x({values:b,defaultWidth:"wide"}),quarter:x({values:f,defaultWidth:"wide",argumentCallback:function C(E){return E-1}}),month:x({values:y,defaultWidth:"wide"}),day:x({values:c,defaultWidth:"wide"}),dayPeriod:x({values:_,defaultWidth:"wide",formattingValues:m,defaultFormattingWidth:"wide"})};function N(C){return function(E){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=U.width,J=B&&C.matchPatterns[B]||C.matchPatterns[C.defaultMatchWidth],T=E.match(J);if(!T)return null;var X=T[0],A=B&&C.parsePatterns[B]||C.parsePatterns[C.defaultParseWidth],Q=Array.isArray(A)?l(A,function(z){return z.test(X)}):u(A,function(z){return z.test(X)}),I;I=C.valueCallback?C.valueCallback(Q):Q,I=U.valueCallback?U.valueCallback(I):I;var q=E.slice(X.length);return{value:I,rest:q}}}var u=function C(E,U){for(var B in E)if(Object.prototype.hasOwnProperty.call(E,B)&&U(E[B]))return B;return},l=function C(E,U){for(var B=0;B<E.length;B++)if(U(E[B]))return B;return};function p(C){return function(E){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=E.match(C.matchPattern);if(!B)return null;var J=B[0],T=E.match(C.parsePattern);if(!T)return null;var X=C.valueCallback?C.valueCallback(T[0]):T[0];X=U.valueCallback?U.valueCallback(X):X;var A=E.slice(J.length);return{value:X,rest:A}}}var i=/^(第\s*)?\d+(日|时|分|秒)?/i,n=/\d+/i,s={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},r={any:[/^(前)/i,/^(公元)/i]},o={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},a={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},e={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},t={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},C0={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},E0={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},U0={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},B0={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},G0={ordinalNumber:p({matchPattern:i,parsePattern:n,valueCallback:function C(E){return parseInt(E,10)}}),era:N({matchPatterns:s,defaultMatchWidth:"wide",parsePatterns:r,defaultParseWidth:"any"}),quarter:N({matchPatterns:o,defaultMatchWidth:"wide",parsePatterns:a,defaultParseWidth:"any",valueCallback:function C(E){return E+1}}),month:N({matchPatterns:e,defaultMatchWidth:"wide",parsePatterns:t,defaultParseWidth:"any"}),day:N({matchPatterns:C0,defaultMatchWidth:"wide",parsePatterns:E0,defaultParseWidth:"any"}),dayPeriod:N({matchPatterns:U0,defaultMatchWidth:"any",parsePatterns:B0,defaultParseWidth:"any"})},H0={code:"zh-CN",formatDistance:R,formatLong:v,formatRelative:k,localize:g,match:G0,options:{weekStartsOn:1,firstWeekContainsDate:4}};window.dateFns=M(M({},window.dateFns),{},{locale:M(M({},(H=window.dateFns)===null||H===void 0?void 0:H.locale),{},{zhCN:H0})})})();
|
2 |
+
|
3 |
+
//# debugId=AF1F717C506C57DF64756e2164756e21
|
workers1/auto3d/node_modules/date-fns/locale/zh-CN/cdn.min.js.map
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": 3,
|
3 |
+
"sources": ["lib/locale/zh-CN/cdn.js"],
|
4 |
+
"sourcesContent": [
|
5 |
+
"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 _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 (_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/zh-CN/_lib/formatDistance.mjs\n var formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"\\u4E0D\\u5230 1 \\u79D2\",\n other: \"\\u4E0D\\u5230 {{count}} \\u79D2\"\n },\n xSeconds: {\n one: \"1 \\u79D2\",\n other: \"{{count}} \\u79D2\"\n },\n halfAMinute: \"\\u534A\\u5206\\u949F\",\n lessThanXMinutes: {\n one: \"\\u4E0D\\u5230 1 \\u5206\\u949F\",\n other: \"\\u4E0D\\u5230 {{count}} \\u5206\\u949F\"\n },\n xMinutes: {\n one: \"1 \\u5206\\u949F\",\n other: \"{{count}} \\u5206\\u949F\"\n },\n xHours: {\n one: \"1 \\u5C0F\\u65F6\",\n other: \"{{count}} \\u5C0F\\u65F6\"\n },\n aboutXHours: {\n one: \"\\u5927\\u7EA6 1 \\u5C0F\\u65F6\",\n other: \"\\u5927\\u7EA6 {{count}} \\u5C0F\\u65F6\"\n },\n xDays: {\n one: \"1 \\u5929\",\n other: \"{{count}} \\u5929\"\n },\n aboutXWeeks: {\n one: \"\\u5927\\u7EA6 1 \\u4E2A\\u661F\\u671F\",\n other: \"\\u5927\\u7EA6 {{count}} \\u4E2A\\u661F\\u671F\"\n },\n xWeeks: {\n one: \"1 \\u4E2A\\u661F\\u671F\",\n other: \"{{count}} \\u4E2A\\u661F\\u671F\"\n },\n aboutXMonths: {\n one: \"\\u5927\\u7EA6 1 \\u4E2A\\u6708\",\n other: \"\\u5927\\u7EA6 {{count}} \\u4E2A\\u6708\"\n },\n xMonths: {\n one: \"1 \\u4E2A\\u6708\",\n other: \"{{count}} \\u4E2A\\u6708\"\n },\n aboutXYears: {\n one: \"\\u5927\\u7EA6 1 \\u5E74\",\n other: \"\\u5927\\u7EA6 {{count}} \\u5E74\"\n },\n xYears: {\n one: \"1 \\u5E74\",\n other: \"{{count}} \\u5E74\"\n },\n overXYears: {\n one: \"\\u8D85\\u8FC7 1 \\u5E74\",\n other: \"\\u8D85\\u8FC7 {{count}} \\u5E74\"\n },\n almostXYears: {\n one: \"\\u5C06\\u8FD1 1 \\u5E74\",\n other: \"\\u5C06\\u8FD1 {{count}} \\u5E74\"\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 + \"\\u5185\";\n } else {\n return result + \"\\u524D\";\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/zh-CN/_lib/formatLong.mjs\n var dateFormats = {\n full: \"y'\\u5E74'M'\\u6708'd'\\u65E5' EEEE\",\n long: \"y'\\u5E74'M'\\u6708'd'\\u65E5'\",\n medium: \"yyyy-MM-dd\",\n short: \"yy-MM-dd\"\n };\n var timeFormats = {\n full: \"zzzz a h:mm:ss\",\n long: \"z a h:mm:ss\",\n medium: \"a h:mm:ss\",\n short: \"a h:mm\"\n };\n var dateTimeFormats = {\n full: \"{{date}} {{time}}\",\n long: \"{{date}} {{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/toDate.mjs\n function toDate(argument) {\n var argStr = Object.prototype.toString.call(argument);\n if (argument instanceof Date || _typeof(argument) === \"object\" && argStr === \"[object Date]\") {\n return new argument.constructor(+argument);\n } else if (typeof argument === \"number\" || argStr === \"[object Number]\" || typeof argument === \"string\" || argStr === \"[object String]\") {\n return new Date(argument);\n } else {\n return new Date(NaN);\n }\n }\n\n // lib/_lib/defaultOptions.mjs\n function getDefaultOptions() {\n return defaultOptions;\n }\n function setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n }\n var defaultOptions = {};\n\n // lib/startOfWeek.mjs\n function startOfWeek(date, options) {var _ref, _ref2, _ref3, _options$weekStartsOn, _options$locale, _defaultOptions3$loca;\n var defaultOptions3 = getDefaultOptions();\n var weekStartsOn = (_ref = (_ref2 = (_ref3 = (_options$weekStartsOn = options === null || options === void 0 ? void 0 : options.weekStartsOn) !== null && _options$weekStartsOn !== void 0 ? _options$weekStartsOn : options === null || options === void 0 || (_options$locale = options.locale) === null || _options$locale === void 0 || (_options$locale = _options$locale.options) === null || _options$locale === void 0 ? void 0 : _options$locale.weekStartsOn) !== null && _ref3 !== void 0 ? _ref3 : defaultOptions3.weekStartsOn) !== null && _ref2 !== void 0 ? _ref2 : (_defaultOptions3$loca = defaultOptions3.locale) === null || _defaultOptions3$loca === void 0 || (_defaultOptions3$loca = _defaultOptions3$loca.options) === null || _defaultOptions3$loca === void 0 ? void 0 : _defaultOptions3$loca.weekStartsOn) !== null && _ref !== void 0 ? _ref : 0;\n var _date = toDate(date);\n var day = _date.getDay();\n var diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;\n _date.setDate(_date.getDate() - diff);\n _date.setHours(0, 0, 0, 0);\n return _date;\n }\n\n // lib/isSameWeek.mjs\n function isSameWeek(dateLeft, dateRight, options) {\n var dateLeftStartOfWeek = startOfWeek(dateLeft, options);\n var dateRightStartOfWeek = startOfWeek(dateRight, options);\n return +dateLeftStartOfWeek === +dateRightStartOfWeek;\n }\n\n // lib/locale/zh-CN/_lib/formatRelative.mjs\n var checkWeek = function checkWeek(date, baseDate, options) {\n var baseFormat = \"eeee p\";\n if (isSameWeek(date, baseDate, options)) {\n return baseFormat;\n } else if (date.getTime() > baseDate.getTime()) {\n return \"'\\u4E0B\\u4E2A'\" + baseFormat;\n }\n return \"'\\u4E0A\\u4E2A'\" + baseFormat;\n };\n var formatRelativeLocale = {\n lastWeek: checkWeek,\n yesterday: \"'\\u6628\\u5929' p\",\n today: \"'\\u4ECA\\u5929' p\",\n tomorrow: \"'\\u660E\\u5929' p\",\n nextWeek: checkWeek,\n other: \"PP p\"\n };\n var formatRelative = function formatRelative(token, date, baseDate, options) {\n var format = formatRelativeLocale[token];\n if (typeof format === \"function\") {\n return format(date, baseDate, options);\n }\n return format;\n };\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/zh-CN/_lib/localize.mjs\n var eraValues = {\n narrow: [\"\\u524D\", \"\\u516C\\u5143\"],\n abbreviated: [\"\\u524D\", \"\\u516C\\u5143\"],\n wide: [\"\\u516C\\u5143\\u524D\", \"\\u516C\\u5143\"]\n };\n var quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"\\u7B2C\\u4E00\\u5B63\", \"\\u7B2C\\u4E8C\\u5B63\", \"\\u7B2C\\u4E09\\u5B63\", \"\\u7B2C\\u56DB\\u5B63\"],\n wide: [\"\\u7B2C\\u4E00\\u5B63\\u5EA6\", \"\\u7B2C\\u4E8C\\u5B63\\u5EA6\", \"\\u7B2C\\u4E09\\u5B63\\u5EA6\", \"\\u7B2C\\u56DB\\u5B63\\u5EA6\"]\n };\n var monthValues = {\n narrow: [\n \"\\u4E00\",\n \"\\u4E8C\",\n \"\\u4E09\",\n \"\\u56DB\",\n \"\\u4E94\",\n \"\\u516D\",\n \"\\u4E03\",\n \"\\u516B\",\n \"\\u4E5D\",\n \"\\u5341\",\n \"\\u5341\\u4E00\",\n \"\\u5341\\u4E8C\"],\n\n abbreviated: [\n \"1\\u6708\",\n \"2\\u6708\",\n \"3\\u6708\",\n \"4\\u6708\",\n \"5\\u6708\",\n \"6\\u6708\",\n \"7\\u6708\",\n \"8\\u6708\",\n \"9\\u6708\",\n \"10\\u6708\",\n \"11\\u6708\",\n \"12\\u6708\"],\n\n wide: [\n \"\\u4E00\\u6708\",\n \"\\u4E8C\\u6708\",\n \"\\u4E09\\u6708\",\n \"\\u56DB\\u6708\",\n \"\\u4E94\\u6708\",\n \"\\u516D\\u6708\",\n \"\\u4E03\\u6708\",\n \"\\u516B\\u6708\",\n \"\\u4E5D\\u6708\",\n \"\\u5341\\u6708\",\n \"\\u5341\\u4E00\\u6708\",\n \"\\u5341\\u4E8C\\u6708\"]\n\n };\n var dayValues = {\n narrow: [\"\\u65E5\", \"\\u4E00\", \"\\u4E8C\", \"\\u4E09\", \"\\u56DB\", \"\\u4E94\", \"\\u516D\"],\n short: [\"\\u65E5\", \"\\u4E00\", \"\\u4E8C\", \"\\u4E09\", \"\\u56DB\", \"\\u4E94\", \"\\u516D\"],\n abbreviated: [\"\\u5468\\u65E5\", \"\\u5468\\u4E00\", \"\\u5468\\u4E8C\", \"\\u5468\\u4E09\", \"\\u5468\\u56DB\", \"\\u5468\\u4E94\", \"\\u5468\\u516D\"],\n wide: [\"\\u661F\\u671F\\u65E5\", \"\\u661F\\u671F\\u4E00\", \"\\u661F\\u671F\\u4E8C\", \"\\u661F\\u671F\\u4E09\", \"\\u661F\\u671F\\u56DB\", \"\\u661F\\u671F\\u4E94\", \"\\u661F\\u671F\\u516D\"]\n };\n var dayPeriodValues = {\n narrow: {\n am: \"\\u4E0A\",\n pm: \"\\u4E0B\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u5348\",\n morning: \"\\u65E9\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\",\n night: \"\\u591C\"\n },\n abbreviated: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u65E9\\u6668\",\n afternoon: \"\\u4E2D\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u95F4\"\n },\n wide: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u65E9\\u6668\",\n afternoon: \"\\u4E2D\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u95F4\"\n }\n };\n var formattingDayPeriodValues = {\n narrow: {\n am: \"\\u4E0A\",\n pm: \"\\u4E0B\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u5348\",\n morning: \"\\u65E9\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\",\n night: \"\\u591C\"\n },\n abbreviated: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u65E9\\u6668\",\n afternoon: \"\\u4E2D\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u95F4\"\n },\n wide: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u51CC\\u6668\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u65E9\\u6668\",\n afternoon: \"\\u4E2D\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u95F4\"\n }\n };\n var ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n switch (options === null || options === void 0 ? void 0 : options.unit) {\n case \"date\":\n return number.toString() + \"\\u65E5\";\n case \"hour\":\n return number.toString() + \"\\u65F6\";\n case \"minute\":\n return number.toString() + \"\\u5206\";\n case \"second\":\n return number.toString() + \"\\u79D2\";\n default:\n return \"\\u7B2C \" + number.toString();\n }\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/zh-CN/_lib/match.mjs\n var matchOrdinalNumberPattern = /^(第\\s*)?\\d+(日|时|分|秒)?/i;\n var parseOrdinalNumberPattern = /\\d+/i;\n var matchEraPatterns = {\n narrow: /^(前)/i,\n abbreviated: /^(前)/i,\n wide: /^(公元前|公元)/i\n };\n var parseEraPatterns = {\n any: [/^(前)/i, /^(公元)/i]\n };\n var matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^第[一二三四]刻/i,\n wide: /^第[一二三四]刻钟/i\n };\n var parseQuarterPatterns = {\n any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]\n };\n var matchMonthPatterns = {\n narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,\n abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\\d|1[12])月/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 /^一|1/i,\n /^二|2/i,\n /^三|3/i,\n /^四|4/i,\n /^五|5/i,\n /^六|6/i,\n /^七|7/i,\n /^八|8/i,\n /^九|9/i,\n /^十(?!(一|二))|10/i,\n /^十一|11/i,\n /^十二|12/i]\n\n };\n var matchDayPatterns = {\n narrow: /^[一二三四五六日]/i,\n short: /^[一二三四五六日]/i,\n abbreviated: /^周[一二三四五六日]/i,\n wide: /^星期[一二三四五六日]/i\n };\n var parseDayPatterns = {\n any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]\n };\n var matchDayPeriodPatterns = {\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/zh-CN.mjs\n var zhCN = {\n code: \"zh-CN\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 1,\n firstWeekContainsDate: 4\n }\n };\n\n // lib/locale/zh-CN/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 zhCN: zhCN }) });\n\n\n\n //# debugId=03417304EC37CFC464756e2164756e21\n})();\n\n//# sourceMappingURL=cdn.js.map"
|
6 |
+
],
|
7 |
+
"mappings": "AAAA,IAAS,UAAO,CAAC,EAAG,EAAG,CAAC,IAAI,EAAI,OAAO,KAAK,CAAC,EAAE,GAAI,OAAO,sBAAuB,CAAC,IAAI,EAAI,OAAO,sBAAsB,CAAC,EAAE,IAAM,EAAI,EAAE,eAAgB,CAAC,EAAG,CAAC,OAAO,OAAO,yBAAyB,EAAG,CAAC,EAAE,WAAY,GAAI,EAAE,KAAK,MAAM,EAAG,CAAC,EAAG,OAAO,GAAY,UAAa,CAAC,EAAG,CAAC,QAAS,EAAI,EAAG,EAAI,UAAU,OAAQ,IAAK,CAAC,IAAI,EAAY,UAAU,IAAlB,KAAuB,UAAU,GAAK,CAAC,EAAE,EAAI,EAAI,EAAQ,OAAO,CAAC,EAAG,EAAE,EAAE,gBAAiB,CAAC,EAAG,CAAC,GAAgB,EAAG,EAAG,EAAE,EAAE,EAAG,EAAI,OAAO,0BAA4B,OAAO,iBAAiB,EAAG,OAAO,0BAA0B,CAAC,CAAC,EAAI,EAAQ,OAAO,CAAC,CAAC,EAAE,gBAAiB,CAAC,EAAG,CAAC,OAAO,eAAe,EAAG,EAAG,OAAO,yBAAyB,EAAG,CAAC,CAAC,EAAG,EAAG,OAAO,GAAY,WAAe,CAAC,EAAK,EAAK,EAAO,CAA2B,GAA1B,EAAM,GAAe,CAAG,EAAM,KAAO,EAAM,OAAO,eAAe,EAAK,EAAK,CAAE,MAAO,EAAO,WAAY,GAAM,aAAc,GAAM,SAAU,EAAK,CAAC,MAAU,GAAI,GAAO,EAAO,OAAO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,SAAU,EACV,MAAO,GACP,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,KAAM,EAAK,CAAC,CAAE,CAAC,IAKlB",
|
8 |
+
"debugId": "AF1F717C506C57DF64756e2164756e21",
|
9 |
+
"names": []
|
10 |
+
}
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK.d.mts
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import type { Locale } from "./types.js";
|
2 |
+
/**
|
3 |
+
* @category Locales
|
4 |
+
* @summary Chinese Traditional locale.
|
5 |
+
* @language Chinese Traditional
|
6 |
+
* @iso-639-2 zho
|
7 |
+
* @author Gary Ip [@gaplo](https://github.com/gaplo)
|
8 |
+
*/
|
9 |
+
export declare const zhHK: Locale;
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK/_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/zh-HK/_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/zh-HK/_lib/formatDistance.js
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"use strict";
|
2 |
+
exports.formatDistance = void 0;
|
3 |
+
|
4 |
+
const formatDistanceLocale = {
|
5 |
+
lessThanXSeconds: {
|
6 |
+
one: "少於 1 秒",
|
7 |
+
other: "少於 {{count}} 秒",
|
8 |
+
},
|
9 |
+
|
10 |
+
xSeconds: {
|
11 |
+
one: "1 秒",
|
12 |
+
other: "{{count}} 秒",
|
13 |
+
},
|
14 |
+
|
15 |
+
halfAMinute: "半分鐘",
|
16 |
+
|
17 |
+
lessThanXMinutes: {
|
18 |
+
one: "少於 1 分鐘",
|
19 |
+
other: "少於 {{count}} 分鐘",
|
20 |
+
},
|
21 |
+
|
22 |
+
xMinutes: {
|
23 |
+
one: "1 分鐘",
|
24 |
+
other: "{{count}} 分鐘",
|
25 |
+
},
|
26 |
+
|
27 |
+
xHours: {
|
28 |
+
one: "1 小時",
|
29 |
+
other: "{{count}} 小時",
|
30 |
+
},
|
31 |
+
|
32 |
+
aboutXHours: {
|
33 |
+
one: "大約 1 小時",
|
34 |
+
other: "大約 {{count}} 小時",
|
35 |
+
},
|
36 |
+
|
37 |
+
xDays: {
|
38 |
+
one: "1 天",
|
39 |
+
other: "{{count}} 天",
|
40 |
+
},
|
41 |
+
|
42 |
+
aboutXWeeks: {
|
43 |
+
one: "大約 1 個星期",
|
44 |
+
other: "大約 {{count}} 個星期",
|
45 |
+
},
|
46 |
+
|
47 |
+
xWeeks: {
|
48 |
+
one: "1 個星期",
|
49 |
+
other: "{{count}} 個星期",
|
50 |
+
},
|
51 |
+
|
52 |
+
aboutXMonths: {
|
53 |
+
one: "大約 1 個月",
|
54 |
+
other: "大約 {{count}} 個月",
|
55 |
+
},
|
56 |
+
|
57 |
+
xMonths: {
|
58 |
+
one: "1 個月",
|
59 |
+
other: "{{count}} 個月",
|
60 |
+
},
|
61 |
+
|
62 |
+
aboutXYears: {
|
63 |
+
one: "大約 1 年",
|
64 |
+
other: "大約 {{count}} 年",
|
65 |
+
},
|
66 |
+
|
67 |
+
xYears: {
|
68 |
+
one: "1 年",
|
69 |
+
other: "{{count}} 年",
|
70 |
+
},
|
71 |
+
|
72 |
+
overXYears: {
|
73 |
+
one: "超過 1 年",
|
74 |
+
other: "超過 {{count}} 年",
|
75 |
+
},
|
76 |
+
|
77 |
+
almostXYears: {
|
78 |
+
one: "將近 1 年",
|
79 |
+
other: "將近 {{count}} 年",
|
80 |
+
},
|
81 |
+
};
|
82 |
+
|
83 |
+
const formatDistance = (token, count, options) => {
|
84 |
+
let result;
|
85 |
+
|
86 |
+
const tokenValue = formatDistanceLocale[token];
|
87 |
+
if (typeof tokenValue === "string") {
|
88 |
+
result = tokenValue;
|
89 |
+
} else if (count === 1) {
|
90 |
+
result = tokenValue.one;
|
91 |
+
} else {
|
92 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
93 |
+
}
|
94 |
+
|
95 |
+
if (options?.addSuffix) {
|
96 |
+
if (options.comparison && options.comparison > 0) {
|
97 |
+
return result + "內";
|
98 |
+
} else {
|
99 |
+
return result + "前";
|
100 |
+
}
|
101 |
+
}
|
102 |
+
|
103 |
+
return result;
|
104 |
+
};
|
105 |
+
exports.formatDistance = formatDistance;
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/formatDistance.mjs
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatDistanceLocale = {
|
2 |
+
lessThanXSeconds: {
|
3 |
+
one: "少於 1 秒",
|
4 |
+
other: "少於 {{count}} 秒",
|
5 |
+
},
|
6 |
+
|
7 |
+
xSeconds: {
|
8 |
+
one: "1 秒",
|
9 |
+
other: "{{count}} 秒",
|
10 |
+
},
|
11 |
+
|
12 |
+
halfAMinute: "半分鐘",
|
13 |
+
|
14 |
+
lessThanXMinutes: {
|
15 |
+
one: "少於 1 分鐘",
|
16 |
+
other: "少於 {{count}} 分鐘",
|
17 |
+
},
|
18 |
+
|
19 |
+
xMinutes: {
|
20 |
+
one: "1 分鐘",
|
21 |
+
other: "{{count}} 分鐘",
|
22 |
+
},
|
23 |
+
|
24 |
+
xHours: {
|
25 |
+
one: "1 小時",
|
26 |
+
other: "{{count}} 小時",
|
27 |
+
},
|
28 |
+
|
29 |
+
aboutXHours: {
|
30 |
+
one: "大約 1 小時",
|
31 |
+
other: "大約 {{count}} 小時",
|
32 |
+
},
|
33 |
+
|
34 |
+
xDays: {
|
35 |
+
one: "1 天",
|
36 |
+
other: "{{count}} 天",
|
37 |
+
},
|
38 |
+
|
39 |
+
aboutXWeeks: {
|
40 |
+
one: "大約 1 個星期",
|
41 |
+
other: "大約 {{count}} 個星期",
|
42 |
+
},
|
43 |
+
|
44 |
+
xWeeks: {
|
45 |
+
one: "1 個星期",
|
46 |
+
other: "{{count}} 個星期",
|
47 |
+
},
|
48 |
+
|
49 |
+
aboutXMonths: {
|
50 |
+
one: "大約 1 個月",
|
51 |
+
other: "大約 {{count}} 個月",
|
52 |
+
},
|
53 |
+
|
54 |
+
xMonths: {
|
55 |
+
one: "1 個月",
|
56 |
+
other: "{{count}} 個月",
|
57 |
+
},
|
58 |
+
|
59 |
+
aboutXYears: {
|
60 |
+
one: "大約 1 年",
|
61 |
+
other: "大約 {{count}} 年",
|
62 |
+
},
|
63 |
+
|
64 |
+
xYears: {
|
65 |
+
one: "1 年",
|
66 |
+
other: "{{count}} 年",
|
67 |
+
},
|
68 |
+
|
69 |
+
overXYears: {
|
70 |
+
one: "超過 1 年",
|
71 |
+
other: "超過 {{count}} 年",
|
72 |
+
},
|
73 |
+
|
74 |
+
almostXYears: {
|
75 |
+
one: "將近 1 年",
|
76 |
+
other: "將近 {{count}} 年",
|
77 |
+
},
|
78 |
+
};
|
79 |
+
|
80 |
+
export const formatDistance = (token, count, options) => {
|
81 |
+
let result;
|
82 |
+
|
83 |
+
const tokenValue = formatDistanceLocale[token];
|
84 |
+
if (typeof tokenValue === "string") {
|
85 |
+
result = tokenValue;
|
86 |
+
} else if (count === 1) {
|
87 |
+
result = tokenValue.one;
|
88 |
+
} else {
|
89 |
+
result = tokenValue.other.replace("{{count}}", String(count));
|
90 |
+
}
|
91 |
+
|
92 |
+
if (options?.addSuffix) {
|
93 |
+
if (options.comparison && options.comparison > 0) {
|
94 |
+
return result + "內";
|
95 |
+
} else {
|
96 |
+
return result + "前";
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
+
return result;
|
101 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK/_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/zh-HK/_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/zh-HK/_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: "y'年'M'月'd'日' EEEE",
|
7 |
+
long: "y'年'M'月'd'日'",
|
8 |
+
medium: "yyyy-MM-dd",
|
9 |
+
short: "yy-MM-dd",
|
10 |
+
};
|
11 |
+
|
12 |
+
const timeFormats = {
|
13 |
+
full: "zzzz a h:mm:ss",
|
14 |
+
long: "z a h:mm:ss",
|
15 |
+
medium: "a h:mm:ss",
|
16 |
+
short: "a 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/zh-HK/_lib/formatLong.mjs
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
2 |
+
|
3 |
+
const dateFormats = {
|
4 |
+
full: "y'年'M'月'd'日' EEEE",
|
5 |
+
long: "y'年'M'月'd'日'",
|
6 |
+
medium: "yyyy-MM-dd",
|
7 |
+
short: "yy-MM-dd",
|
8 |
+
};
|
9 |
+
|
10 |
+
const timeFormats = {
|
11 |
+
full: "zzzz a h:mm:ss",
|
12 |
+
long: "z a h:mm:ss",
|
13 |
+
medium: "a h:mm:ss",
|
14 |
+
short: "a 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/zh-HK/_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/zh-HK/_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/zh-HK/_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/zh-HK/_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/zh-HK/_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/zh-HK/_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/zh-HK/_lib/localize.js
ADDED
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: ["第一季", "第二季", "第三季", "第四季"],
|
14 |
+
wide: ["第一季度", "第二季度", "第三季度", "第四季度"],
|
15 |
+
};
|
16 |
+
|
17 |
+
const monthValues = {
|
18 |
+
narrow: [
|
19 |
+
"一",
|
20 |
+
"二",
|
21 |
+
"三",
|
22 |
+
"四",
|
23 |
+
"五",
|
24 |
+
"六",
|
25 |
+
"七",
|
26 |
+
"八",
|
27 |
+
"九",
|
28 |
+
"十",
|
29 |
+
"十一",
|
30 |
+
"十二",
|
31 |
+
],
|
32 |
+
|
33 |
+
abbreviated: [
|
34 |
+
"1月",
|
35 |
+
"2月",
|
36 |
+
"3月",
|
37 |
+
"4月",
|
38 |
+
"5月",
|
39 |
+
"6月",
|
40 |
+
"7月",
|
41 |
+
"8月",
|
42 |
+
"9月",
|
43 |
+
"10月",
|
44 |
+
"11月",
|
45 |
+
"12月",
|
46 |
+
],
|
47 |
+
|
48 |
+
wide: [
|
49 |
+
"一月",
|
50 |
+
"二月",
|
51 |
+
"三月",
|
52 |
+
"四月",
|
53 |
+
"五月",
|
54 |
+
"六月",
|
55 |
+
"七月",
|
56 |
+
"八月",
|
57 |
+
"九月",
|
58 |
+
"十月",
|
59 |
+
"十一月",
|
60 |
+
"十二月",
|
61 |
+
],
|
62 |
+
};
|
63 |
+
|
64 |
+
const dayValues = {
|
65 |
+
narrow: ["日", "一", "二", "三", "四", "五", "六"],
|
66 |
+
short: ["日", "一", "二", "三", "四", "五", "六"],
|
67 |
+
abbreviated: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
|
68 |
+
|
69 |
+
wide: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
|
70 |
+
};
|
71 |
+
|
72 |
+
const dayPeriodValues = {
|
73 |
+
narrow: {
|
74 |
+
am: "上",
|
75 |
+
pm: "下",
|
76 |
+
midnight: "午夜",
|
77 |
+
noon: "晌",
|
78 |
+
morning: "早",
|
79 |
+
afternoon: "午",
|
80 |
+
evening: "晚",
|
81 |
+
night: "夜",
|
82 |
+
},
|
83 |
+
abbreviated: {
|
84 |
+
am: "上午",
|
85 |
+
pm: "下午",
|
86 |
+
midnight: "午夜",
|
87 |
+
noon: "中午",
|
88 |
+
morning: "上午",
|
89 |
+
afternoon: "下午",
|
90 |
+
evening: "晚上",
|
91 |
+
night: "夜晚",
|
92 |
+
},
|
93 |
+
wide: {
|
94 |
+
am: "上午",
|
95 |
+
pm: "下午",
|
96 |
+
midnight: "午夜",
|
97 |
+
noon: "中午",
|
98 |
+
morning: "上午",
|
99 |
+
afternoon: "下午",
|
100 |
+
evening: "晚上",
|
101 |
+
night: "夜晚",
|
102 |
+
},
|
103 |
+
};
|
104 |
+
|
105 |
+
const formattingDayPeriodValues = {
|
106 |
+
narrow: {
|
107 |
+
am: "上",
|
108 |
+
pm: "下",
|
109 |
+
midnight: "午夜",
|
110 |
+
noon: "晌",
|
111 |
+
morning: "早",
|
112 |
+
afternoon: "午",
|
113 |
+
evening: "晚",
|
114 |
+
night: "夜",
|
115 |
+
},
|
116 |
+
abbreviated: {
|
117 |
+
am: "上午",
|
118 |
+
pm: "下午",
|
119 |
+
midnight: "午夜",
|
120 |
+
noon: "中午",
|
121 |
+
morning: "上午",
|
122 |
+
afternoon: "下午",
|
123 |
+
evening: "晚上",
|
124 |
+
night: "夜晚",
|
125 |
+
},
|
126 |
+
wide: {
|
127 |
+
am: "上午",
|
128 |
+
pm: "下午",
|
129 |
+
midnight: "午夜",
|
130 |
+
noon: "中午",
|
131 |
+
morning: "上午",
|
132 |
+
afternoon: "下午",
|
133 |
+
evening: "晚上",
|
134 |
+
night: "夜晚",
|
135 |
+
},
|
136 |
+
};
|
137 |
+
|
138 |
+
const ordinalNumber = (dirtyNumber, options) => {
|
139 |
+
const number = Number(dirtyNumber);
|
140 |
+
|
141 |
+
switch (options?.unit) {
|
142 |
+
case "date":
|
143 |
+
return number + "日";
|
144 |
+
case "hour":
|
145 |
+
return number + "時";
|
146 |
+
case "minute":
|
147 |
+
return number + "分";
|
148 |
+
case "second":
|
149 |
+
return number + "秒";
|
150 |
+
default:
|
151 |
+
return "第 " + number;
|
152 |
+
}
|
153 |
+
};
|
154 |
+
|
155 |
+
const localize = (exports.localize = {
|
156 |
+
ordinalNumber,
|
157 |
+
|
158 |
+
era: (0, _index.buildLocalizeFn)({
|
159 |
+
values: eraValues,
|
160 |
+
defaultWidth: "wide",
|
161 |
+
}),
|
162 |
+
|
163 |
+
quarter: (0, _index.buildLocalizeFn)({
|
164 |
+
values: quarterValues,
|
165 |
+
defaultWidth: "wide",
|
166 |
+
argumentCallback: (quarter) => quarter - 1,
|
167 |
+
}),
|
168 |
+
|
169 |
+
month: (0, _index.buildLocalizeFn)({
|
170 |
+
values: monthValues,
|
171 |
+
defaultWidth: "wide",
|
172 |
+
}),
|
173 |
+
|
174 |
+
day: (0, _index.buildLocalizeFn)({
|
175 |
+
values: dayValues,
|
176 |
+
defaultWidth: "wide",
|
177 |
+
}),
|
178 |
+
|
179 |
+
dayPeriod: (0, _index.buildLocalizeFn)({
|
180 |
+
values: dayPeriodValues,
|
181 |
+
defaultWidth: "wide",
|
182 |
+
formattingValues: formattingDayPeriodValues,
|
183 |
+
defaultFormattingWidth: "wide",
|
184 |
+
}),
|
185 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/localize.mjs
ADDED
@@ -0,0 +1,183 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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: ["第一季", "第二季", "第三季", "第四季"],
|
12 |
+
wide: ["第一季度", "第二季度", "第三季度", "第四季度"],
|
13 |
+
};
|
14 |
+
|
15 |
+
const monthValues = {
|
16 |
+
narrow: [
|
17 |
+
"一",
|
18 |
+
"二",
|
19 |
+
"三",
|
20 |
+
"四",
|
21 |
+
"五",
|
22 |
+
"六",
|
23 |
+
"七",
|
24 |
+
"八",
|
25 |
+
"九",
|
26 |
+
"十",
|
27 |
+
"十一",
|
28 |
+
"十二",
|
29 |
+
],
|
30 |
+
|
31 |
+
abbreviated: [
|
32 |
+
"1月",
|
33 |
+
"2月",
|
34 |
+
"3月",
|
35 |
+
"4月",
|
36 |
+
"5月",
|
37 |
+
"6月",
|
38 |
+
"7月",
|
39 |
+
"8月",
|
40 |
+
"9月",
|
41 |
+
"10月",
|
42 |
+
"11月",
|
43 |
+
"12月",
|
44 |
+
],
|
45 |
+
|
46 |
+
wide: [
|
47 |
+
"一月",
|
48 |
+
"二月",
|
49 |
+
"三月",
|
50 |
+
"四月",
|
51 |
+
"五月",
|
52 |
+
"六月",
|
53 |
+
"七月",
|
54 |
+
"八月",
|
55 |
+
"九月",
|
56 |
+
"十月",
|
57 |
+
"十一月",
|
58 |
+
"十二月",
|
59 |
+
],
|
60 |
+
};
|
61 |
+
|
62 |
+
const dayValues = {
|
63 |
+
narrow: ["日", "一", "二", "三", "四", "五", "六"],
|
64 |
+
short: ["日", "一", "二", "三", "四", "五", "六"],
|
65 |
+
abbreviated: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
|
66 |
+
|
67 |
+
wide: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
|
68 |
+
};
|
69 |
+
|
70 |
+
const dayPeriodValues = {
|
71 |
+
narrow: {
|
72 |
+
am: "上",
|
73 |
+
pm: "下",
|
74 |
+
midnight: "午夜",
|
75 |
+
noon: "晌",
|
76 |
+
morning: "早",
|
77 |
+
afternoon: "午",
|
78 |
+
evening: "晚",
|
79 |
+
night: "夜",
|
80 |
+
},
|
81 |
+
abbreviated: {
|
82 |
+
am: "上午",
|
83 |
+
pm: "下午",
|
84 |
+
midnight: "午夜",
|
85 |
+
noon: "中午",
|
86 |
+
morning: "上午",
|
87 |
+
afternoon: "下午",
|
88 |
+
evening: "晚上",
|
89 |
+
night: "夜晚",
|
90 |
+
},
|
91 |
+
wide: {
|
92 |
+
am: "上午",
|
93 |
+
pm: "下午",
|
94 |
+
midnight: "午夜",
|
95 |
+
noon: "中午",
|
96 |
+
morning: "上午",
|
97 |
+
afternoon: "下午",
|
98 |
+
evening: "晚上",
|
99 |
+
night: "夜晚",
|
100 |
+
},
|
101 |
+
};
|
102 |
+
|
103 |
+
const formattingDayPeriodValues = {
|
104 |
+
narrow: {
|
105 |
+
am: "上",
|
106 |
+
pm: "下",
|
107 |
+
midnight: "午夜",
|
108 |
+
noon: "晌",
|
109 |
+
morning: "早",
|
110 |
+
afternoon: "午",
|
111 |
+
evening: "晚",
|
112 |
+
night: "夜",
|
113 |
+
},
|
114 |
+
abbreviated: {
|
115 |
+
am: "上午",
|
116 |
+
pm: "下午",
|
117 |
+
midnight: "午夜",
|
118 |
+
noon: "中午",
|
119 |
+
morning: "上午",
|
120 |
+
afternoon: "下午",
|
121 |
+
evening: "晚上",
|
122 |
+
night: "夜晚",
|
123 |
+
},
|
124 |
+
wide: {
|
125 |
+
am: "上午",
|
126 |
+
pm: "下午",
|
127 |
+
midnight: "午夜",
|
128 |
+
noon: "中午",
|
129 |
+
morning: "上午",
|
130 |
+
afternoon: "下午",
|
131 |
+
evening: "晚上",
|
132 |
+
night: "夜晚",
|
133 |
+
},
|
134 |
+
};
|
135 |
+
|
136 |
+
const ordinalNumber = (dirtyNumber, options) => {
|
137 |
+
const number = Number(dirtyNumber);
|
138 |
+
|
139 |
+
switch (options?.unit) {
|
140 |
+
case "date":
|
141 |
+
return number + "日";
|
142 |
+
case "hour":
|
143 |
+
return number + "時";
|
144 |
+
case "minute":
|
145 |
+
return number + "分";
|
146 |
+
case "second":
|
147 |
+
return number + "秒";
|
148 |
+
default:
|
149 |
+
return "第 " + number;
|
150 |
+
}
|
151 |
+
};
|
152 |
+
|
153 |
+
export const localize = {
|
154 |
+
ordinalNumber,
|
155 |
+
|
156 |
+
era: buildLocalizeFn({
|
157 |
+
values: eraValues,
|
158 |
+
defaultWidth: "wide",
|
159 |
+
}),
|
160 |
+
|
161 |
+
quarter: buildLocalizeFn({
|
162 |
+
values: quarterValues,
|
163 |
+
defaultWidth: "wide",
|
164 |
+
argumentCallback: (quarter) => quarter - 1,
|
165 |
+
}),
|
166 |
+
|
167 |
+
month: buildLocalizeFn({
|
168 |
+
values: monthValues,
|
169 |
+
defaultWidth: "wide",
|
170 |
+
}),
|
171 |
+
|
172 |
+
day: buildLocalizeFn({
|
173 |
+
values: dayValues,
|
174 |
+
defaultWidth: "wide",
|
175 |
+
}),
|
176 |
+
|
177 |
+
dayPeriod: buildLocalizeFn({
|
178 |
+
values: dayPeriodValues,
|
179 |
+
defaultWidth: "wide",
|
180 |
+
formattingValues: formattingDayPeriodValues,
|
181 |
+
defaultFormattingWidth: "wide",
|
182 |
+
}),
|
183 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK/_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/zh-HK/_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/zh-HK/_lib/match.js
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 = /^(第\s*)?\d+(日|時|分|秒)?/i;
|
8 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
9 |
+
|
10 |
+
const matchEraPatterns = {
|
11 |
+
narrow: /^(前)/i,
|
12 |
+
abbreviated: /^(前)/i,
|
13 |
+
wide: /^(公元前|公元)/i,
|
14 |
+
};
|
15 |
+
const parseEraPatterns = {
|
16 |
+
any: [/^(前)/i, /^(公元)/i],
|
17 |
+
};
|
18 |
+
|
19 |
+
const matchQuarterPatterns = {
|
20 |
+
narrow: /^[1234]/i,
|
21 |
+
abbreviated: /^第[一二三四]季/i,
|
22 |
+
wide: /^第[一二三四]季度/i,
|
23 |
+
};
|
24 |
+
const parseQuarterPatterns = {
|
25 |
+
any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i],
|
26 |
+
};
|
27 |
+
|
28 |
+
const matchMonthPatterns = {
|
29 |
+
narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
|
30 |
+
abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
|
31 |
+
wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i,
|
32 |
+
};
|
33 |
+
const parseMonthPatterns = {
|
34 |
+
narrow: [
|
35 |
+
/^一/i,
|
36 |
+
/^二/i,
|
37 |
+
/^三/i,
|
38 |
+
/^四/i,
|
39 |
+
/^五/i,
|
40 |
+
/^六/i,
|
41 |
+
/^七/i,
|
42 |
+
/^八/i,
|
43 |
+
/^九/i,
|
44 |
+
/^十(?!(一|二))/i,
|
45 |
+
/^十一/i,
|
46 |
+
/^十二/i,
|
47 |
+
],
|
48 |
+
|
49 |
+
any: [
|
50 |
+
/^一|1/i,
|
51 |
+
/^二|2/i,
|
52 |
+
/^三|3/i,
|
53 |
+
/^四|4/i,
|
54 |
+
/^五|5/i,
|
55 |
+
/^六|6/i,
|
56 |
+
/^七|7/i,
|
57 |
+
/^八|8/i,
|
58 |
+
/^九|9/i,
|
59 |
+
/^十(?!(一|二))|10/i,
|
60 |
+
/^十一|11/i,
|
61 |
+
/^十二|12/i,
|
62 |
+
],
|
63 |
+
};
|
64 |
+
|
65 |
+
const matchDayPatterns = {
|
66 |
+
narrow: /^[一二三四五六日]/i,
|
67 |
+
short: /^[一二三四五六日]/i,
|
68 |
+
abbreviated: /^週[一二三四五六日]/i,
|
69 |
+
wide: /^星期[一二三四五六日]/i,
|
70 |
+
};
|
71 |
+
const parseDayPatterns = {
|
72 |
+
any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i],
|
73 |
+
};
|
74 |
+
|
75 |
+
const matchDayPeriodPatterns = {
|
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 |
+
const match = (exports.match = {
|
92 |
+
ordinalNumber: (0, _index2.buildMatchPatternFn)({
|
93 |
+
matchPattern: matchOrdinalNumberPattern,
|
94 |
+
parsePattern: parseOrdinalNumberPattern,
|
95 |
+
valueCallback: (value) => parseInt(value, 10),
|
96 |
+
}),
|
97 |
+
|
98 |
+
era: (0, _index.buildMatchFn)({
|
99 |
+
matchPatterns: matchEraPatterns,
|
100 |
+
defaultMatchWidth: "wide",
|
101 |
+
parsePatterns: parseEraPatterns,
|
102 |
+
defaultParseWidth: "any",
|
103 |
+
}),
|
104 |
+
|
105 |
+
quarter: (0, _index.buildMatchFn)({
|
106 |
+
matchPatterns: matchQuarterPatterns,
|
107 |
+
defaultMatchWidth: "wide",
|
108 |
+
parsePatterns: parseQuarterPatterns,
|
109 |
+
defaultParseWidth: "any",
|
110 |
+
valueCallback: (index) => index + 1,
|
111 |
+
}),
|
112 |
+
|
113 |
+
month: (0, _index.buildMatchFn)({
|
114 |
+
matchPatterns: matchMonthPatterns,
|
115 |
+
defaultMatchWidth: "wide",
|
116 |
+
parsePatterns: parseMonthPatterns,
|
117 |
+
defaultParseWidth: "any",
|
118 |
+
}),
|
119 |
+
|
120 |
+
day: (0, _index.buildMatchFn)({
|
121 |
+
matchPatterns: matchDayPatterns,
|
122 |
+
defaultMatchWidth: "wide",
|
123 |
+
parsePatterns: parseDayPatterns,
|
124 |
+
defaultParseWidth: "any",
|
125 |
+
}),
|
126 |
+
|
127 |
+
dayPeriod: (0, _index.buildMatchFn)({
|
128 |
+
matchPatterns: matchDayPeriodPatterns,
|
129 |
+
defaultMatchWidth: "any",
|
130 |
+
parsePatterns: parseDayPeriodPatterns,
|
131 |
+
defaultParseWidth: "any",
|
132 |
+
}),
|
133 |
+
});
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK/_lib/match.mjs
ADDED
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { buildMatchFn } from "../../_lib/buildMatchFn.mjs";
|
2 |
+
import { buildMatchPatternFn } from "../../_lib/buildMatchPatternFn.mjs";
|
3 |
+
|
4 |
+
const matchOrdinalNumberPattern = /^(第\s*)?\d+(日|時|分|秒)?/i;
|
5 |
+
const parseOrdinalNumberPattern = /\d+/i;
|
6 |
+
|
7 |
+
const matchEraPatterns = {
|
8 |
+
narrow: /^(前)/i,
|
9 |
+
abbreviated: /^(前)/i,
|
10 |
+
wide: /^(公元前|公元)/i,
|
11 |
+
};
|
12 |
+
const parseEraPatterns = {
|
13 |
+
any: [/^(前)/i, /^(公元)/i],
|
14 |
+
};
|
15 |
+
|
16 |
+
const matchQuarterPatterns = {
|
17 |
+
narrow: /^[1234]/i,
|
18 |
+
abbreviated: /^第[一二三四]季/i,
|
19 |
+
wide: /^第[一二三四]季度/i,
|
20 |
+
};
|
21 |
+
const parseQuarterPatterns = {
|
22 |
+
any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i],
|
23 |
+
};
|
24 |
+
|
25 |
+
const matchMonthPatterns = {
|
26 |
+
narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
|
27 |
+
abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
|
28 |
+
wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i,
|
29 |
+
};
|
30 |
+
const parseMonthPatterns = {
|
31 |
+
narrow: [
|
32 |
+
/^一/i,
|
33 |
+
/^二/i,
|
34 |
+
/^三/i,
|
35 |
+
/^四/i,
|
36 |
+
/^五/i,
|
37 |
+
/^六/i,
|
38 |
+
/^七/i,
|
39 |
+
/^八/i,
|
40 |
+
/^九/i,
|
41 |
+
/^十(?!(一|二))/i,
|
42 |
+
/^十一/i,
|
43 |
+
/^十二/i,
|
44 |
+
],
|
45 |
+
|
46 |
+
any: [
|
47 |
+
/^一|1/i,
|
48 |
+
/^二|2/i,
|
49 |
+
/^三|3/i,
|
50 |
+
/^四|4/i,
|
51 |
+
/^五|5/i,
|
52 |
+
/^六|6/i,
|
53 |
+
/^七|7/i,
|
54 |
+
/^八|8/i,
|
55 |
+
/^九|9/i,
|
56 |
+
/^十(?!(一|二))|10/i,
|
57 |
+
/^十一|11/i,
|
58 |
+
/^十二|12/i,
|
59 |
+
],
|
60 |
+
};
|
61 |
+
|
62 |
+
const matchDayPatterns = {
|
63 |
+
narrow: /^[一二三四五六日]/i,
|
64 |
+
short: /^[一二三四五六日]/i,
|
65 |
+
abbreviated: /^週[一二三四五六日]/i,
|
66 |
+
wide: /^星期[一二三四五六日]/i,
|
67 |
+
};
|
68 |
+
const parseDayPatterns = {
|
69 |
+
any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i],
|
70 |
+
};
|
71 |
+
|
72 |
+
const matchDayPeriodPatterns = {
|
73 |
+
any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i,
|
74 |
+
};
|
75 |
+
const parseDayPeriodPatterns = {
|
76 |
+
any: {
|
77 |
+
am: /^上午?/i,
|
78 |
+
pm: /^下午?/i,
|
79 |
+
midnight: /^午夜/i,
|
80 |
+
noon: /^[中正]午/i,
|
81 |
+
morning: /^早上/i,
|
82 |
+
afternoon: /^下午/i,
|
83 |
+
evening: /^晚上?/i,
|
84 |
+
night: /^凌晨/i,
|
85 |
+
},
|
86 |
+
};
|
87 |
+
|
88 |
+
export const match = {
|
89 |
+
ordinalNumber: buildMatchPatternFn({
|
90 |
+
matchPattern: matchOrdinalNumberPattern,
|
91 |
+
parsePattern: parseOrdinalNumberPattern,
|
92 |
+
valueCallback: (value) => parseInt(value, 10),
|
93 |
+
}),
|
94 |
+
|
95 |
+
era: buildMatchFn({
|
96 |
+
matchPatterns: matchEraPatterns,
|
97 |
+
defaultMatchWidth: "wide",
|
98 |
+
parsePatterns: parseEraPatterns,
|
99 |
+
defaultParseWidth: "any",
|
100 |
+
}),
|
101 |
+
|
102 |
+
quarter: buildMatchFn({
|
103 |
+
matchPatterns: matchQuarterPatterns,
|
104 |
+
defaultMatchWidth: "wide",
|
105 |
+
parsePatterns: parseQuarterPatterns,
|
106 |
+
defaultParseWidth: "any",
|
107 |
+
valueCallback: (index) => index + 1,
|
108 |
+
}),
|
109 |
+
|
110 |
+
month: buildMatchFn({
|
111 |
+
matchPatterns: matchMonthPatterns,
|
112 |
+
defaultMatchWidth: "wide",
|
113 |
+
parsePatterns: parseMonthPatterns,
|
114 |
+
defaultParseWidth: "any",
|
115 |
+
}),
|
116 |
+
|
117 |
+
day: buildMatchFn({
|
118 |
+
matchPatterns: matchDayPatterns,
|
119 |
+
defaultMatchWidth: "wide",
|
120 |
+
parsePatterns: parseDayPatterns,
|
121 |
+
defaultParseWidth: "any",
|
122 |
+
}),
|
123 |
+
|
124 |
+
dayPeriod: buildMatchFn({
|
125 |
+
matchPatterns: matchDayPeriodPatterns,
|
126 |
+
defaultMatchWidth: "any",
|
127 |
+
parsePatterns: parseDayPeriodPatterns,
|
128 |
+
defaultParseWidth: "any",
|
129 |
+
}),
|
130 |
+
};
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK/cdn.js
ADDED
@@ -0,0 +1,532 @@
|
|
|
|
|
|
|
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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/zh-HK/_lib/formatDistance.mjs
|
13 |
+
var formatDistanceLocale = {
|
14 |
+
lessThanXSeconds: {
|
15 |
+
one: "\u5C11\u65BC 1 \u79D2",
|
16 |
+
other: "\u5C11\u65BC {{count}} \u79D2"
|
17 |
+
},
|
18 |
+
xSeconds: {
|
19 |
+
one: "1 \u79D2",
|
20 |
+
other: "{{count}} \u79D2"
|
21 |
+
},
|
22 |
+
halfAMinute: "\u534A\u5206\u9418",
|
23 |
+
lessThanXMinutes: {
|
24 |
+
one: "\u5C11\u65BC 1 \u5206\u9418",
|
25 |
+
other: "\u5C11\u65BC {{count}} \u5206\u9418"
|
26 |
+
},
|
27 |
+
xMinutes: {
|
28 |
+
one: "1 \u5206\u9418",
|
29 |
+
other: "{{count}} \u5206\u9418"
|
30 |
+
},
|
31 |
+
xHours: {
|
32 |
+
one: "1 \u5C0F\u6642",
|
33 |
+
other: "{{count}} \u5C0F\u6642"
|
34 |
+
},
|
35 |
+
aboutXHours: {
|
36 |
+
one: "\u5927\u7D04 1 \u5C0F\u6642",
|
37 |
+
other: "\u5927\u7D04 {{count}} \u5C0F\u6642"
|
38 |
+
},
|
39 |
+
xDays: {
|
40 |
+
one: "1 \u5929",
|
41 |
+
other: "{{count}} \u5929"
|
42 |
+
},
|
43 |
+
aboutXWeeks: {
|
44 |
+
one: "\u5927\u7D04 1 \u500B\u661F\u671F",
|
45 |
+
other: "\u5927\u7D04 {{count}} \u500B\u661F\u671F"
|
46 |
+
},
|
47 |
+
xWeeks: {
|
48 |
+
one: "1 \u500B\u661F\u671F",
|
49 |
+
other: "{{count}} \u500B\u661F\u671F"
|
50 |
+
},
|
51 |
+
aboutXMonths: {
|
52 |
+
one: "\u5927\u7D04 1 \u500B\u6708",
|
53 |
+
other: "\u5927\u7D04 {{count}} \u500B\u6708"
|
54 |
+
},
|
55 |
+
xMonths: {
|
56 |
+
one: "1 \u500B\u6708",
|
57 |
+
other: "{{count}} \u500B\u6708"
|
58 |
+
},
|
59 |
+
aboutXYears: {
|
60 |
+
one: "\u5927\u7D04 1 \u5E74",
|
61 |
+
other: "\u5927\u7D04 {{count}} \u5E74"
|
62 |
+
},
|
63 |
+
xYears: {
|
64 |
+
one: "1 \u5E74",
|
65 |
+
other: "{{count}} \u5E74"
|
66 |
+
},
|
67 |
+
overXYears: {
|
68 |
+
one: "\u8D85\u904E 1 \u5E74",
|
69 |
+
other: "\u8D85\u904E {{count}} \u5E74"
|
70 |
+
},
|
71 |
+
almostXYears: {
|
72 |
+
one: "\u5C07\u8FD1 1 \u5E74",
|
73 |
+
other: "\u5C07\u8FD1 {{count}} \u5E74"
|
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 + "\u5167";
|
89 |
+
} else {
|
90 |
+
return result + "\u524D";
|
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/zh-HK/_lib/formatLong.mjs
|
106 |
+
var dateFormats = {
|
107 |
+
full: "y'\u5E74'M'\u6708'd'\u65E5' EEEE",
|
108 |
+
long: "y'\u5E74'M'\u6708'd'\u65E5'",
|
109 |
+
medium: "yyyy-MM-dd",
|
110 |
+
short: "yy-MM-dd"
|
111 |
+
};
|
112 |
+
var timeFormats = {
|
113 |
+
full: "zzzz a h:mm:ss",
|
114 |
+
long: "z a h:mm:ss",
|
115 |
+
medium: "a h:mm:ss",
|
116 |
+
short: "a h:mm"
|
117 |
+
};
|
118 |
+
var dateTimeFormats = {
|
119 |
+
full: "{{date}} {{time}}",
|
120 |
+
long: "{{date}} {{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/zh-HK/_lib/formatRelative.mjs
|
140 |
+
var formatRelativeLocale = {
|
141 |
+
lastWeek: "'\u4E0A\u500B'eeee p",
|
142 |
+
yesterday: "'\u6628\u5929' p",
|
143 |
+
today: "'\u4ECA\u5929' p",
|
144 |
+
tomorrow: "'\u660E\u5929' p",
|
145 |
+
nextWeek: "'\u4E0B\u500B'eeee 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/zh-HK/_lib/localize.mjs
|
170 |
+
var eraValues = {
|
171 |
+
narrow: ["\u524D", "\u516C\u5143"],
|
172 |
+
abbreviated: ["\u524D", "\u516C\u5143"],
|
173 |
+
wide: ["\u516C\u5143\u524D", "\u516C\u5143"]
|
174 |
+
};
|
175 |
+
var quarterValues = {
|
176 |
+
narrow: ["1", "2", "3", "4"],
|
177 |
+
abbreviated: ["\u7B2C\u4E00\u5B63", "\u7B2C\u4E8C\u5B63", "\u7B2C\u4E09\u5B63", "\u7B2C\u56DB\u5B63"],
|
178 |
+
wide: ["\u7B2C\u4E00\u5B63\u5EA6", "\u7B2C\u4E8C\u5B63\u5EA6", "\u7B2C\u4E09\u5B63\u5EA6", "\u7B2C\u56DB\u5B63\u5EA6"]
|
179 |
+
};
|
180 |
+
var monthValues = {
|
181 |
+
narrow: [
|
182 |
+
"\u4E00",
|
183 |
+
"\u4E8C",
|
184 |
+
"\u4E09",
|
185 |
+
"\u56DB",
|
186 |
+
"\u4E94",
|
187 |
+
"\u516D",
|
188 |
+
"\u4E03",
|
189 |
+
"\u516B",
|
190 |
+
"\u4E5D",
|
191 |
+
"\u5341",
|
192 |
+
"\u5341\u4E00",
|
193 |
+
"\u5341\u4E8C"],
|
194 |
+
|
195 |
+
abbreviated: [
|
196 |
+
"1\u6708",
|
197 |
+
"2\u6708",
|
198 |
+
"3\u6708",
|
199 |
+
"4\u6708",
|
200 |
+
"5\u6708",
|
201 |
+
"6\u6708",
|
202 |
+
"7\u6708",
|
203 |
+
"8\u6708",
|
204 |
+
"9\u6708",
|
205 |
+
"10\u6708",
|
206 |
+
"11\u6708",
|
207 |
+
"12\u6708"],
|
208 |
+
|
209 |
+
wide: [
|
210 |
+
"\u4E00\u6708",
|
211 |
+
"\u4E8C\u6708",
|
212 |
+
"\u4E09\u6708",
|
213 |
+
"\u56DB\u6708",
|
214 |
+
"\u4E94\u6708",
|
215 |
+
"\u516D\u6708",
|
216 |
+
"\u4E03\u6708",
|
217 |
+
"\u516B\u6708",
|
218 |
+
"\u4E5D\u6708",
|
219 |
+
"\u5341\u6708",
|
220 |
+
"\u5341\u4E00\u6708",
|
221 |
+
"\u5341\u4E8C\u6708"]
|
222 |
+
|
223 |
+
};
|
224 |
+
var dayValues = {
|
225 |
+
narrow: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
226 |
+
short: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D"],
|
227 |
+
abbreviated: ["\u9031\u65E5", "\u9031\u4E00", "\u9031\u4E8C", "\u9031\u4E09", "\u9031\u56DB", "\u9031\u4E94", "\u9031\u516D"],
|
228 |
+
wide: ["\u661F\u671F\u65E5", "\u661F\u671F\u4E00", "\u661F\u671F\u4E8C", "\u661F\u671F\u4E09", "\u661F\u671F\u56DB", "\u661F\u671F\u4E94", "\u661F\u671F\u516D"]
|
229 |
+
};
|
230 |
+
var dayPeriodValues = {
|
231 |
+
narrow: {
|
232 |
+
am: "\u4E0A",
|
233 |
+
pm: "\u4E0B",
|
234 |
+
midnight: "\u5348\u591C",
|
235 |
+
noon: "\u664C",
|
236 |
+
morning: "\u65E9",
|
237 |
+
afternoon: "\u5348",
|
238 |
+
evening: "\u665A",
|
239 |
+
night: "\u591C"
|
240 |
+
},
|
241 |
+
abbreviated: {
|
242 |
+
am: "\u4E0A\u5348",
|
243 |
+
pm: "\u4E0B\u5348",
|
244 |
+
midnight: "\u5348\u591C",
|
245 |
+
noon: "\u4E2D\u5348",
|
246 |
+
morning: "\u4E0A\u5348",
|
247 |
+
afternoon: "\u4E0B\u5348",
|
248 |
+
evening: "\u665A\u4E0A",
|
249 |
+
night: "\u591C\u665A"
|
250 |
+
},
|
251 |
+
wide: {
|
252 |
+
am: "\u4E0A\u5348",
|
253 |
+
pm: "\u4E0B\u5348",
|
254 |
+
midnight: "\u5348\u591C",
|
255 |
+
noon: "\u4E2D\u5348",
|
256 |
+
morning: "\u4E0A\u5348",
|
257 |
+
afternoon: "\u4E0B\u5348",
|
258 |
+
evening: "\u665A\u4E0A",
|
259 |
+
night: "\u591C\u665A"
|
260 |
+
}
|
261 |
+
};
|
262 |
+
var formattingDayPeriodValues = {
|
263 |
+
narrow: {
|
264 |
+
am: "\u4E0A",
|
265 |
+
pm: "\u4E0B",
|
266 |
+
midnight: "\u5348\u591C",
|
267 |
+
noon: "\u664C",
|
268 |
+
morning: "\u65E9",
|
269 |
+
afternoon: "\u5348",
|
270 |
+
evening: "\u665A",
|
271 |
+
night: "\u591C"
|
272 |
+
},
|
273 |
+
abbreviated: {
|
274 |
+
am: "\u4E0A\u5348",
|
275 |
+
pm: "\u4E0B\u5348",
|
276 |
+
midnight: "\u5348\u591C",
|
277 |
+
noon: "\u4E2D\u5348",
|
278 |
+
morning: "\u4E0A\u5348",
|
279 |
+
afternoon: "\u4E0B\u5348",
|
280 |
+
evening: "\u665A\u4E0A",
|
281 |
+
night: "\u591C\u665A"
|
282 |
+
},
|
283 |
+
wide: {
|
284 |
+
am: "\u4E0A\u5348",
|
285 |
+
pm: "\u4E0B\u5348",
|
286 |
+
midnight: "\u5348\u591C",
|
287 |
+
noon: "\u4E2D\u5348",
|
288 |
+
morning: "\u4E0A\u5348",
|
289 |
+
afternoon: "\u4E0B\u5348",
|
290 |
+
evening: "\u665A\u4E0A",
|
291 |
+
night: "\u591C\u665A"
|
292 |
+
}
|
293 |
+
};
|
294 |
+
var ordinalNumber = function ordinalNumber(dirtyNumber, options) {
|
295 |
+
var number = Number(dirtyNumber);
|
296 |
+
switch (options === null || options === void 0 ? void 0 : options.unit) {
|
297 |
+
case "date":
|
298 |
+
return number + "\u65E5";
|
299 |
+
case "hour":
|
300 |
+
return number + "\u6642";
|
301 |
+
case "minute":
|
302 |
+
return number + "\u5206";
|
303 |
+
case "second":
|
304 |
+
return number + "\u79D2";
|
305 |
+
default:
|
306 |
+
return "\u7B2C " + number;
|
307 |
+
}
|
308 |
+
};
|
309 |
+
var localize = {
|
310 |
+
ordinalNumber: ordinalNumber,
|
311 |
+
era: buildLocalizeFn({
|
312 |
+
values: eraValues,
|
313 |
+
defaultWidth: "wide"
|
314 |
+
}),
|
315 |
+
quarter: buildLocalizeFn({
|
316 |
+
values: quarterValues,
|
317 |
+
defaultWidth: "wide",
|
318 |
+
argumentCallback: function argumentCallback(quarter) {return quarter - 1;}
|
319 |
+
}),
|
320 |
+
month: buildLocalizeFn({
|
321 |
+
values: monthValues,
|
322 |
+
defaultWidth: "wide"
|
323 |
+
}),
|
324 |
+
day: buildLocalizeFn({
|
325 |
+
values: dayValues,
|
326 |
+
defaultWidth: "wide"
|
327 |
+
}),
|
328 |
+
dayPeriod: buildLocalizeFn({
|
329 |
+
values: dayPeriodValues,
|
330 |
+
defaultWidth: "wide",
|
331 |
+
formattingValues: formattingDayPeriodValues,
|
332 |
+
defaultFormattingWidth: "wide"
|
333 |
+
})
|
334 |
+
};
|
335 |
+
|
336 |
+
// lib/locale/_lib/buildMatchFn.mjs
|
337 |
+
function buildMatchFn(args) {
|
338 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
339 |
+
var width = options.width;
|
340 |
+
var matchPattern = width && args.matchPatterns[width] || args.matchPatterns[args.defaultMatchWidth];
|
341 |
+
var matchResult = string.match(matchPattern);
|
342 |
+
if (!matchResult) {
|
343 |
+
return null;
|
344 |
+
}
|
345 |
+
var matchedString = matchResult[0];
|
346 |
+
var parsePatterns = width && args.parsePatterns[width] || args.parsePatterns[args.defaultParseWidth];
|
347 |
+
var key = Array.isArray(parsePatterns) ? findIndex(parsePatterns, function (pattern) {return pattern.test(matchedString);}) : findKey(parsePatterns, function (pattern) {return pattern.test(matchedString);});
|
348 |
+
var value;
|
349 |
+
value = args.valueCallback ? args.valueCallback(key) : key;
|
350 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
351 |
+
var rest = string.slice(matchedString.length);
|
352 |
+
return { value: value, rest: rest };
|
353 |
+
};
|
354 |
+
}
|
355 |
+
var findKey = function findKey(object, predicate) {
|
356 |
+
for (var key in object) {
|
357 |
+
if (Object.prototype.hasOwnProperty.call(object, key) && predicate(object[key])) {
|
358 |
+
return key;
|
359 |
+
}
|
360 |
+
}
|
361 |
+
return;
|
362 |
+
};
|
363 |
+
var findIndex = function findIndex(array, predicate) {
|
364 |
+
for (var key = 0; key < array.length; key++) {
|
365 |
+
if (predicate(array[key])) {
|
366 |
+
return key;
|
367 |
+
}
|
368 |
+
}
|
369 |
+
return;
|
370 |
+
};
|
371 |
+
|
372 |
+
// lib/locale/_lib/buildMatchPatternFn.mjs
|
373 |
+
function buildMatchPatternFn(args) {
|
374 |
+
return function (string) {var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
375 |
+
var matchResult = string.match(args.matchPattern);
|
376 |
+
if (!matchResult)
|
377 |
+
return null;
|
378 |
+
var matchedString = matchResult[0];
|
379 |
+
var parseResult = string.match(args.parsePattern);
|
380 |
+
if (!parseResult)
|
381 |
+
return null;
|
382 |
+
var value = args.valueCallback ? args.valueCallback(parseResult[0]) : parseResult[0];
|
383 |
+
value = options.valueCallback ? options.valueCallback(value) : value;
|
384 |
+
var rest = string.slice(matchedString.length);
|
385 |
+
return { value: value, rest: rest };
|
386 |
+
};
|
387 |
+
}
|
388 |
+
|
389 |
+
// lib/locale/zh-HK/_lib/match.mjs
|
390 |
+
var matchOrdinalNumberPattern = /^(第\s*)?\d+(日|時|分|秒)?/i;
|
391 |
+
var parseOrdinalNumberPattern = /\d+/i;
|
392 |
+
var matchEraPatterns = {
|
393 |
+
narrow: /^(前)/i,
|
394 |
+
abbreviated: /^(前)/i,
|
395 |
+
wide: /^(公元前|公元)/i
|
396 |
+
};
|
397 |
+
var parseEraPatterns = {
|
398 |
+
any: [/^(前)/i, /^(公元)/i]
|
399 |
+
};
|
400 |
+
var matchQuarterPatterns = {
|
401 |
+
narrow: /^[1234]/i,
|
402 |
+
abbreviated: /^第[一二三四]季/i,
|
403 |
+
wide: /^第[一二三四]季度/i
|
404 |
+
};
|
405 |
+
var parseQuarterPatterns = {
|
406 |
+
any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]
|
407 |
+
};
|
408 |
+
var matchMonthPatterns = {
|
409 |
+
narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,
|
410 |
+
abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,
|
411 |
+
wide: /^(一|二|三|四|五|六|七|八|九|十[二一])月/i
|
412 |
+
};
|
413 |
+
var parseMonthPatterns = {
|
414 |
+
narrow: [
|
415 |
+
/^一/i,
|
416 |
+
/^二/i,
|
417 |
+
/^三/i,
|
418 |
+
/^四/i,
|
419 |
+
/^五/i,
|
420 |
+
/^六/i,
|
421 |
+
/^七/i,
|
422 |
+
/^八/i,
|
423 |
+
/^九/i,
|
424 |
+
/^十(?!(一|二))/i,
|
425 |
+
/^十一/i,
|
426 |
+
/^十二/i],
|
427 |
+
|
428 |
+
any: [
|
429 |
+
/^一|1/i,
|
430 |
+
/^二|2/i,
|
431 |
+
/^三|3/i,
|
432 |
+
/^四|4/i,
|
433 |
+
/^五|5/i,
|
434 |
+
/^六|6/i,
|
435 |
+
/^七|7/i,
|
436 |
+
/^八|8/i,
|
437 |
+
/^九|9/i,
|
438 |
+
/^十(?!(一|二))|10/i,
|
439 |
+
/^十一|11/i,
|
440 |
+
/^十二|12/i]
|
441 |
+
|
442 |
+
};
|
443 |
+
var matchDayPatterns = {
|
444 |
+
narrow: /^[一二三四五六日]/i,
|
445 |
+
short: /^[一二三四五六日]/i,
|
446 |
+
abbreviated: /^週[一二三四五六日]/i,
|
447 |
+
wide: /^星期[一二三四五六日]/i
|
448 |
+
};
|
449 |
+
var parseDayPatterns = {
|
450 |
+
any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /���/i]
|
451 |
+
};
|
452 |
+
var matchDayPeriodPatterns = {
|
453 |
+
any: /^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i
|
454 |
+
};
|
455 |
+
var parseDayPeriodPatterns = {
|
456 |
+
any: {
|
457 |
+
am: /^上午?/i,
|
458 |
+
pm: /^下午?/i,
|
459 |
+
midnight: /^午夜/i,
|
460 |
+
noon: /^[中正]午/i,
|
461 |
+
morning: /^早上/i,
|
462 |
+
afternoon: /^下午/i,
|
463 |
+
evening: /^晚上?/i,
|
464 |
+
night: /^凌晨/i
|
465 |
+
}
|
466 |
+
};
|
467 |
+
var match = {
|
468 |
+
ordinalNumber: buildMatchPatternFn({
|
469 |
+
matchPattern: matchOrdinalNumberPattern,
|
470 |
+
parsePattern: parseOrdinalNumberPattern,
|
471 |
+
valueCallback: function valueCallback(value) {return parseInt(value, 10);}
|
472 |
+
}),
|
473 |
+
era: buildMatchFn({
|
474 |
+
matchPatterns: matchEraPatterns,
|
475 |
+
defaultMatchWidth: "wide",
|
476 |
+
parsePatterns: parseEraPatterns,
|
477 |
+
defaultParseWidth: "any"
|
478 |
+
}),
|
479 |
+
quarter: buildMatchFn({
|
480 |
+
matchPatterns: matchQuarterPatterns,
|
481 |
+
defaultMatchWidth: "wide",
|
482 |
+
parsePatterns: parseQuarterPatterns,
|
483 |
+
defaultParseWidth: "any",
|
484 |
+
valueCallback: function valueCallback(index) {return index + 1;}
|
485 |
+
}),
|
486 |
+
month: buildMatchFn({
|
487 |
+
matchPatterns: matchMonthPatterns,
|
488 |
+
defaultMatchWidth: "wide",
|
489 |
+
parsePatterns: parseMonthPatterns,
|
490 |
+
defaultParseWidth: "any"
|
491 |
+
}),
|
492 |
+
day: buildMatchFn({
|
493 |
+
matchPatterns: matchDayPatterns,
|
494 |
+
defaultMatchWidth: "wide",
|
495 |
+
parsePatterns: parseDayPatterns,
|
496 |
+
defaultParseWidth: "any"
|
497 |
+
}),
|
498 |
+
dayPeriod: buildMatchFn({
|
499 |
+
matchPatterns: matchDayPeriodPatterns,
|
500 |
+
defaultMatchWidth: "any",
|
501 |
+
parsePatterns: parseDayPeriodPatterns,
|
502 |
+
defaultParseWidth: "any"
|
503 |
+
})
|
504 |
+
};
|
505 |
+
|
506 |
+
// lib/locale/zh-HK.mjs
|
507 |
+
var zhHK = {
|
508 |
+
code: "zh-HK",
|
509 |
+
formatDistance: formatDistance,
|
510 |
+
formatLong: formatLong,
|
511 |
+
formatRelative: formatRelative,
|
512 |
+
localize: localize,
|
513 |
+
match: match,
|
514 |
+
options: {
|
515 |
+
weekStartsOn: 0,
|
516 |
+
firstWeekContainsDate: 1
|
517 |
+
}
|
518 |
+
};
|
519 |
+
|
520 |
+
// lib/locale/zh-HK/cdn.js
|
521 |
+
window.dateFns = _objectSpread(_objectSpread({},
|
522 |
+
window.dateFns), {}, {
|
523 |
+
locale: _objectSpread(_objectSpread({}, (_window$dateFns =
|
524 |
+
window.dateFns) === null || _window$dateFns === void 0 ? void 0 : _window$dateFns.locale), {}, {
|
525 |
+
zhHK: zhHK }) });
|
526 |
+
|
527 |
+
|
528 |
+
|
529 |
+
//# debugId=577879BF0C784FE264756e2164756e21
|
530 |
+
})();
|
531 |
+
|
532 |
+
//# sourceMappingURL=cdn.js.map
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK/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","xHours","aboutXHours","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","number","Number","unit","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","zhHK","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/zh-HK/_lib/formatDistance.mjs\nvar formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"\\u5C11\\u65BC 1 \\u79D2\",\n other: \"\\u5C11\\u65BC {{count}} \\u79D2\"\n },\n xSeconds: {\n one: \"1 \\u79D2\",\n other: \"{{count}} \\u79D2\"\n },\n halfAMinute: \"\\u534A\\u5206\\u9418\",\n lessThanXMinutes: {\n one: \"\\u5C11\\u65BC 1 \\u5206\\u9418\",\n other: \"\\u5C11\\u65BC {{count}} \\u5206\\u9418\"\n },\n xMinutes: {\n one: \"1 \\u5206\\u9418\",\n other: \"{{count}} \\u5206\\u9418\"\n },\n xHours: {\n one: \"1 \\u5C0F\\u6642\",\n other: \"{{count}} \\u5C0F\\u6642\"\n },\n aboutXHours: {\n one: \"\\u5927\\u7D04 1 \\u5C0F\\u6642\",\n other: \"\\u5927\\u7D04 {{count}} \\u5C0F\\u6642\"\n },\n xDays: {\n one: \"1 \\u5929\",\n other: \"{{count}} \\u5929\"\n },\n aboutXWeeks: {\n one: \"\\u5927\\u7D04 1 \\u500B\\u661F\\u671F\",\n other: \"\\u5927\\u7D04 {{count}} \\u500B\\u661F\\u671F\"\n },\n xWeeks: {\n one: \"1 \\u500B\\u661F\\u671F\",\n other: \"{{count}} \\u500B\\u661F\\u671F\"\n },\n aboutXMonths: {\n one: \"\\u5927\\u7D04 1 \\u500B\\u6708\",\n other: \"\\u5927\\u7D04 {{count}} \\u500B\\u6708\"\n },\n xMonths: {\n one: \"1 \\u500B\\u6708\",\n other: \"{{count}} \\u500B\\u6708\"\n },\n aboutXYears: {\n one: \"\\u5927\\u7D04 1 \\u5E74\",\n other: \"\\u5927\\u7D04 {{count}} \\u5E74\"\n },\n xYears: {\n one: \"1 \\u5E74\",\n other: \"{{count}} \\u5E74\"\n },\n overXYears: {\n one: \"\\u8D85\\u904E 1 \\u5E74\",\n other: \"\\u8D85\\u904E {{count}} \\u5E74\"\n },\n almostXYears: {\n one: \"\\u5C07\\u8FD1 1 \\u5E74\",\n other: \"\\u5C07\\u8FD1 {{count}} \\u5E74\"\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 + \"\\u5167\";\n } else {\n return result + \"\\u524D\";\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/zh-HK/_lib/formatLong.mjs\nvar dateFormats = {\n full: \"y'\\u5E74'M'\\u6708'd'\\u65E5' EEEE\",\n long: \"y'\\u5E74'M'\\u6708'd'\\u65E5'\",\n medium: \"yyyy-MM-dd\",\n short: \"yy-MM-dd\"\n};\nvar timeFormats = {\n full: \"zzzz a h:mm:ss\",\n long: \"z a h:mm:ss\",\n medium: \"a h:mm:ss\",\n short: \"a h:mm\"\n};\nvar dateTimeFormats = {\n full: \"{{date}} {{time}}\",\n long: \"{{date}} {{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/zh-HK/_lib/formatRelative.mjs\nvar formatRelativeLocale = {\n lastWeek: \"'\\u4E0A\\u500B'eeee p\",\n yesterday: \"'\\u6628\\u5929' p\",\n today: \"'\\u4ECA\\u5929' p\",\n tomorrow: \"'\\u660E\\u5929' p\",\n nextWeek: \"'\\u4E0B\\u500B'eeee 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/zh-HK/_lib/localize.mjs\nvar eraValues = {\n narrow: [\"\\u524D\", \"\\u516C\\u5143\"],\n abbreviated: [\"\\u524D\", \"\\u516C\\u5143\"],\n wide: [\"\\u516C\\u5143\\u524D\", \"\\u516C\\u5143\"]\n};\nvar quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"\\u7B2C\\u4E00\\u5B63\", \"\\u7B2C\\u4E8C\\u5B63\", \"\\u7B2C\\u4E09\\u5B63\", \"\\u7B2C\\u56DB\\u5B63\"],\n wide: [\"\\u7B2C\\u4E00\\u5B63\\u5EA6\", \"\\u7B2C\\u4E8C\\u5B63\\u5EA6\", \"\\u7B2C\\u4E09\\u5B63\\u5EA6\", \"\\u7B2C\\u56DB\\u5B63\\u5EA6\"]\n};\nvar monthValues = {\n narrow: [\n \"\\u4E00\",\n \"\\u4E8C\",\n \"\\u4E09\",\n \"\\u56DB\",\n \"\\u4E94\",\n \"\\u516D\",\n \"\\u4E03\",\n \"\\u516B\",\n \"\\u4E5D\",\n \"\\u5341\",\n \"\\u5341\\u4E00\",\n \"\\u5341\\u4E8C\"\n ],\n abbreviated: [\n \"1\\u6708\",\n \"2\\u6708\",\n \"3\\u6708\",\n \"4\\u6708\",\n \"5\\u6708\",\n \"6\\u6708\",\n \"7\\u6708\",\n \"8\\u6708\",\n \"9\\u6708\",\n \"10\\u6708\",\n \"11\\u6708\",\n \"12\\u6708\"\n ],\n wide: [\n \"\\u4E00\\u6708\",\n \"\\u4E8C\\u6708\",\n \"\\u4E09\\u6708\",\n \"\\u56DB\\u6708\",\n \"\\u4E94\\u6708\",\n \"\\u516D\\u6708\",\n \"\\u4E03\\u6708\",\n \"\\u516B\\u6708\",\n \"\\u4E5D\\u6708\",\n \"\\u5341\\u6708\",\n \"\\u5341\\u4E00\\u6708\",\n \"\\u5341\\u4E8C\\u6708\"\n ]\n};\nvar dayValues = {\n narrow: [\"\\u65E5\", \"\\u4E00\", \"\\u4E8C\", \"\\u4E09\", \"\\u56DB\", \"\\u4E94\", \"\\u516D\"],\n short: [\"\\u65E5\", \"\\u4E00\", \"\\u4E8C\", \"\\u4E09\", \"\\u56DB\", \"\\u4E94\", \"\\u516D\"],\n abbreviated: [\"\\u9031\\u65E5\", \"\\u9031\\u4E00\", \"\\u9031\\u4E8C\", \"\\u9031\\u4E09\", \"\\u9031\\u56DB\", \"\\u9031\\u4E94\", \"\\u9031\\u516D\"],\n wide: [\"\\u661F\\u671F\\u65E5\", \"\\u661F\\u671F\\u4E00\", \"\\u661F\\u671F\\u4E8C\", \"\\u661F\\u671F\\u4E09\", \"\\u661F\\u671F\\u56DB\", \"\\u661F\\u671F\\u4E94\", \"\\u661F\\u671F\\u516D\"]\n};\nvar dayPeriodValues = {\n narrow: {\n am: \"\\u4E0A\",\n pm: \"\\u4E0B\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u664C\",\n morning: \"\\u65E9\",\n afternoon: \"\\u5348\",\n evening: \"\\u665A\",\n night: \"\\u591C\"\n },\n abbreviated: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u4E0A\\u5348\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u665A\"\n },\n wide: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u4E0A\\u5348\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u665A\"\n }\n};\nvar formattingDayPeriodValues = {\n narrow: {\n am: \"\\u4E0A\",\n pm: \"\\u4E0B\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u664C\",\n morning: \"\\u65E9\",\n afternoon: \"\\u5348\",\n evening: \"\\u665A\",\n night: \"\\u591C\"\n },\n abbreviated: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u4E0A\\u5348\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u665A\"\n },\n wide: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u4E0A\\u5348\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u665A\"\n }\n};\nvar ordinalNumber = (dirtyNumber, options) => {\n const number = Number(dirtyNumber);\n switch (options?.unit) {\n case \"date\":\n return number + \"\\u65E5\";\n case \"hour\":\n return number + \"\\u6642\";\n case \"minute\":\n return number + \"\\u5206\";\n case \"second\":\n return number + \"\\u79D2\";\n default:\n return \"\\u7B2C \" + number;\n }\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/zh-HK/_lib/match.mjs\nvar matchOrdinalNumberPattern = /^(第\\s*)?\\d+(日|時|分|秒)?/i;\nvar parseOrdinalNumberPattern = /\\d+/i;\nvar matchEraPatterns = {\n narrow: /^(前)/i,\n abbreviated: /^(前)/i,\n wide: /^(公元前|公元)/i\n};\nvar parseEraPatterns = {\n any: [/^(前)/i, /^(公元)/i]\n};\nvar matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^第[一二三四]季/i,\n wide: /^第[一二三四]季度/i\n};\nvar parseQuarterPatterns = {\n any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]\n};\nvar matchMonthPatterns = {\n narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,\n abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\\d|1[12])月/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 /^一|1/i,\n /^二|2/i,\n /^三|3/i,\n /^四|4/i,\n /^五|5/i,\n /^六|6/i,\n /^七|7/i,\n /^八|8/i,\n /^九|9/i,\n /^十(?!(一|二))|10/i,\n /^十一|11/i,\n /^十二|12/i\n ]\n};\nvar matchDayPatterns = {\n narrow: /^[一二三四五六日]/i,\n short: /^[一二三四五六日]/i,\n abbreviated: /^週[一二三四五六日]/i,\n wide: /^星期[一二三四五六日]/i\n};\nvar parseDayPatterns = {\n any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]\n};\nvar matchDayPeriodPatterns = {\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/zh-HK.mjs\nvar zhHK = {\n code: \"zh-HK\",\n formatDistance,\n formatLong,\n formatRelative,\n localize,\n match,\n options: {\n weekStartsOn: 0,\n firstWeekContainsDate: 1\n }\n};\n\n// lib/locale/zh-HK/cdn.js\nwindow.dateFns = {\n ...window.dateFns,\n locale: {\n ...window.dateFns?.locale,\n zhHK\n }\n};\n\n//# debugId=577879BF0C784FE264756e2164756e21\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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@
|
|
|
|
|
|
|
|
|
1 |
+
var q=function(J){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(J)},W=function(J,G){var X=Object.keys(J);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(J);G&&(H=H.filter(function(D){return Object.getOwnPropertyDescriptor(J,D).enumerable})),X.push.apply(X,H)}return X},x=function(J){for(var G=1;G<arguments.length;G++){var X=arguments[G]!=null?arguments[G]:{};G%2?W(Object(X),!0).forEach(function(H){CC(J,H,X[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(J,Object.getOwnPropertyDescriptors(X)):W(Object(X)).forEach(function(H){Object.defineProperty(J,H,Object.getOwnPropertyDescriptor(X,H))})}return J},CC=function(J,G,X){if(G=BC(G),G in J)Object.defineProperty(J,G,{value:X,enumerable:!0,configurable:!0,writable:!0});else J[G]=X;return J},BC=function(J){var G=EC(J,"string");return q(G)=="symbol"?G:String(G)},EC=function(J,G){if(q(J)!="object"||!J)return J;var X=J[Symbol.toPrimitive];if(X!==void 0){var H=X.call(J,G||"default");if(q(H)!="object")return H;throw new TypeError("@@toPrimitive must return a primitive value.")}return(G==="string"?String:Number)(J)};(function(J){var G=Object.defineProperty,X=function C(U,B){for(var E in B)G(U,E,{get:B[E],enumerable:!0,configurable:!0,set:function Y(Z){return B[E]=function(){return Z}}})},H={lessThanXSeconds:{one:"\u5C11\u65BC 1 \u79D2",other:"\u5C11\u65BC {{count}} \u79D2"},xSeconds:{one:"1 \u79D2",other:"{{count}} \u79D2"},halfAMinute:"\u534A\u5206\u9418",lessThanXMinutes:{one:"\u5C11\u65BC 1 \u5206\u9418",other:"\u5C11\u65BC {{count}} \u5206\u9418"},xMinutes:{one:"1 \u5206\u9418",other:"{{count}} \u5206\u9418"},xHours:{one:"1 \u5C0F\u6642",other:"{{count}} \u5C0F\u6642"},aboutXHours:{one:"\u5927\u7D04 1 \u5C0F\u6642",other:"\u5927\u7D04 {{count}} \u5C0F\u6642"},xDays:{one:"1 \u5929",other:"{{count}} \u5929"},aboutXWeeks:{one:"\u5927\u7D04 1 \u500B\u661F\u671F",other:"\u5927\u7D04 {{count}} \u500B\u661F\u671F"},xWeeks:{one:"1 \u500B\u661F\u671F",other:"{{count}} \u500B\u661F\u671F"},aboutXMonths:{one:"\u5927\u7D04 1 \u500B\u6708",other:"\u5927\u7D04 {{count}} \u500B\u6708"},xMonths:{one:"1 \u500B\u6708",other:"{{count}} \u500B\u6708"},aboutXYears:{one:"\u5927\u7D04 1 \u5E74",other:"\u5927\u7D04 {{count}} \u5E74"},xYears:{one:"1 \u5E74",other:"{{count}} \u5E74"},overXYears:{one:"\u8D85\u904E 1 \u5E74",other:"\u8D85\u904E {{count}} \u5E74"},almostXYears:{one:"\u5C07\u8FD1 1 \u5E74",other:"\u5C07\u8FD1 {{count}} \u5E74"}},D=function C(U,B,E){var Y,Z=H[U];if(typeof Z==="string")Y=Z;else if(B===1)Y=Z.one;else Y=Z.other.replace("{{count}}",String(B));if(E!==null&&E!==void 0&&E.addSuffix)if(E.comparison&&E.comparison>0)return Y+"\u5167";else return Y+"\u524D";return Y};function N(C){return function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},B=U.width?String(U.width):C.defaultWidth,E=C.formats[B]||C.formats[C.defaultWidth];return E}}var $={full:"y'\u5E74'M'\u6708'd'\u65E5' EEEE",long:"y'\u5E74'M'\u6708'd'\u65E5'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},z={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},M={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},R={date:N({formats:$,defaultWidth:"full"}),time:N({formats:z,defaultWidth:"full"}),dateTime:N({formats:M,defaultWidth:"full"})},L={lastWeek:"'\u4E0A\u500B'eeee p",yesterday:"'\u6628\u5929' p",today:"'\u4ECA\u5929' p",tomorrow:"'\u660E\u5929' p",nextWeek:"'\u4E0B\u500B'eeee p",other:"P"},V=function C(U,B,E,Y){return L[U]};function O(C){return function(U,B){var E=B!==null&&B!==void 0&&B.context?String(B.context):"standalone",Y;if(E==="formatting"&&C.formattingValues){var Z=C.defaultFormattingWidth||C.defaultWidth,I=B!==null&&B!==void 0&&B.width?String(B.width):Z;Y=C.formattingValues[I]||C.formattingValues[Z]}else{var T=C.defaultWidth,K=B!==null&&B!==void 0&&B.width?String(B.width):C.defaultWidth;Y=C.values[K]||C.values[T]}var A=C.argumentCallback?C.argumentCallback(U):U;return Y[A]}}var j={narrow:["\u524D","\u516C\u5143"],abbreviated:["\u524D","\u516C\u5143"],wide:["\u516C\u5143\u524D","\u516C\u5143"]},f={narrow:["1","2","3","4"],abbreviated:["\u7B2C\u4E00\u5B63","\u7B2C\u4E8C\u5B63","\u7B2C\u4E09\u5B63","\u7B2C\u56DB\u5B63"],wide:["\u7B2C\u4E00\u5B63\u5EA6","\u7B2C\u4E8C\u5B63\u5EA6","\u7B2C\u4E09\u5B63\u5EA6","\u7B2C\u56DB\u5B63\u5EA6"]},F={narrow:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D","\u5341","\u5341\u4E00","\u5341\u4E8C"],abbreviated:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],wide:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},P={narrow:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],short:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"],abbreviated:["\u9031\u65E5","\u9031\u4E00","\u9031\u4E8C","\u9031\u4E09","\u9031\u56DB","\u9031\u4E94","\u9031\u516D"],wide:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},_={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u5348\u591C",noon:"\u664C",morning:"\u65E9",afternoon:"\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u5348\u591C",noon:"\u4E2D\u5348",morning:"\u4E0A\u5348",afternoon:"\u4E0B\u5348",evening:"\u665A\u4E0A",night:"\u591C\u665A"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u5348\u591C",noon:"\u4E2D\u5348",morning:"\u4E0A\u5348",afternoon:"\u4E0B\u5348",evening:"\u665A\u4E0A",night:"\u591C\u665A"}},v={narrow:{am:"\u4E0A",pm:"\u4E0B",midnight:"\u5348\u591C",noon:"\u664C",morning:"\u65E9",afternoon:"\u5348",evening:"\u665A",night:"\u591C"},abbreviated:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u5348\u591C",noon:"\u4E2D\u5348",morning:"\u4E0A\u5348",afternoon:"\u4E0B\u5348",evening:"\u665A\u4E0A",night:"\u591C\u665A"},wide:{am:"\u4E0A\u5348",pm:"\u4E0B\u5348",midnight:"\u5348\u591C",noon:"\u4E2D\u5348",morning:"\u4E0A\u5348",afternoon:"\u4E0B\u5348",evening:"\u665A\u4E0A",night:"\u591C\u665A"}},w=function C(U,B){var E=Number(U);switch(B===null||B===void 0?void 0:B.unit){case"date":return E+"\u65E5";case"hour":return E+"\u6642";case"minute":return E+"\u5206";case"second":return E+"\u79D2";default:return"\u7B2C "+E}},k={ordinalNumber:w,era:O({values:j,defaultWidth:"wide"}),quarter:O({values:f,defaultWidth:"wide",argumentCallback:function C(U){return U-1}}),month:O({values:F,defaultWidth:"wide"}),day:O({values:P,defaultWidth:"wide"}),dayPeriod:O({values:_,defaultWidth:"wide",formattingValues:v,defaultFormattingWidth:"wide"})};function Q(C){return function(U){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=B.width,Y=E&&C.matchPatterns[E]||C.matchPatterns[C.defaultMatchWidth],Z=U.match(Y);if(!Z)return null;var I=Z[0],T=E&&C.parsePatterns[E]||C.parsePatterns[C.defaultParseWidth],K=Array.isArray(T)?h(T,function(S){return S.test(I)}):b(T,function(S){return S.test(I)}),A;A=C.valueCallback?C.valueCallback(K):K,A=B.valueCallback?B.valueCallback(A):A;var t=U.slice(I.length);return{value:A,rest:t}}}var b=function C(U,B){for(var E in U)if(Object.prototype.hasOwnProperty.call(U,E)&&B(U[E]))return E;return},h=function C(U,B){for(var E=0;E<U.length;E++)if(B(U[E]))return E;return};function m(C){return function(U){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},E=U.match(C.matchPattern);if(!E)return null;var Y=E[0],Z=U.match(C.parsePattern);if(!Z)return null;var I=C.valueCallback?C.valueCallback(Z[0]):Z[0];I=B.valueCallback?B.valueCallback(I):I;var T=U.slice(Y.length);return{value:I,rest:T}}}var c=/^(第\s*)?\d+(日|時|分|秒)?/i,y=/\d+/i,d={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},p={any:[/^(前)/i,/^(公元)/i]},g={narrow:/^[1234]/i,abbreviated:/^第[一二三四]季/i,wide:/^第[一二三四]季度/i},u={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},l={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},i={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},n={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^週[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},s={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},o={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨)/i},r={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},e={ordinalNumber:m({matchPattern:c,parsePattern:y,valueCallback:function C(U){return parseInt(U,10)}}),era:Q({matchPatterns:d,defaultMatchWidth:"wide",parsePatterns:p,defaultParseWidth:"any"}),quarter:Q({matchPatterns:g,defaultMatchWidth:"wide",parsePatterns:u,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"})},a={code:"zh-HK",formatDistance:D,formatLong:R,formatRelative:V,localize:k,match:e,options:{weekStartsOn:0,firstWeekContainsDate:1}};window.dateFns=x(x({},window.dateFns),{},{locale:x(x({},(J=window.dateFns)===null||J===void 0?void 0:J.locale),{},{zhHK:a})})})();
|
2 |
+
|
3 |
+
//# debugId=9164AC736F39F97964756e2164756e21
|
workers1/auto3d/node_modules/date-fns/locale/zh-HK/cdn.min.js.map
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": 3,
|
3 |
+
"sources": ["lib/locale/zh-HK/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/zh-HK/_lib/formatDistance.mjs\n var formatDistanceLocale = {\n lessThanXSeconds: {\n one: \"\\u5C11\\u65BC 1 \\u79D2\",\n other: \"\\u5C11\\u65BC {{count}} \\u79D2\"\n },\n xSeconds: {\n one: \"1 \\u79D2\",\n other: \"{{count}} \\u79D2\"\n },\n halfAMinute: \"\\u534A\\u5206\\u9418\",\n lessThanXMinutes: {\n one: \"\\u5C11\\u65BC 1 \\u5206\\u9418\",\n other: \"\\u5C11\\u65BC {{count}} \\u5206\\u9418\"\n },\n xMinutes: {\n one: \"1 \\u5206\\u9418\",\n other: \"{{count}} \\u5206\\u9418\"\n },\n xHours: {\n one: \"1 \\u5C0F\\u6642\",\n other: \"{{count}} \\u5C0F\\u6642\"\n },\n aboutXHours: {\n one: \"\\u5927\\u7D04 1 \\u5C0F\\u6642\",\n other: \"\\u5927\\u7D04 {{count}} \\u5C0F\\u6642\"\n },\n xDays: {\n one: \"1 \\u5929\",\n other: \"{{count}} \\u5929\"\n },\n aboutXWeeks: {\n one: \"\\u5927\\u7D04 1 \\u500B\\u661F\\u671F\",\n other: \"\\u5927\\u7D04 {{count}} \\u500B\\u661F\\u671F\"\n },\n xWeeks: {\n one: \"1 \\u500B\\u661F\\u671F\",\n other: \"{{count}} \\u500B\\u661F\\u671F\"\n },\n aboutXMonths: {\n one: \"\\u5927\\u7D04 1 \\u500B\\u6708\",\n other: \"\\u5927\\u7D04 {{count}} \\u500B\\u6708\"\n },\n xMonths: {\n one: \"1 \\u500B\\u6708\",\n other: \"{{count}} \\u500B\\u6708\"\n },\n aboutXYears: {\n one: \"\\u5927\\u7D04 1 \\u5E74\",\n other: \"\\u5927\\u7D04 {{count}} \\u5E74\"\n },\n xYears: {\n one: \"1 \\u5E74\",\n other: \"{{count}} \\u5E74\"\n },\n overXYears: {\n one: \"\\u8D85\\u904E 1 \\u5E74\",\n other: \"\\u8D85\\u904E {{count}} \\u5E74\"\n },\n almostXYears: {\n one: \"\\u5C07\\u8FD1 1 \\u5E74\",\n other: \"\\u5C07\\u8FD1 {{count}} \\u5E74\"\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 + \"\\u5167\";\n } else {\n return result + \"\\u524D\";\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/zh-HK/_lib/formatLong.mjs\n var dateFormats = {\n full: \"y'\\u5E74'M'\\u6708'd'\\u65E5' EEEE\",\n long: \"y'\\u5E74'M'\\u6708'd'\\u65E5'\",\n medium: \"yyyy-MM-dd\",\n short: \"yy-MM-dd\"\n };\n var timeFormats = {\n full: \"zzzz a h:mm:ss\",\n long: \"z a h:mm:ss\",\n medium: \"a h:mm:ss\",\n short: \"a h:mm\"\n };\n var dateTimeFormats = {\n full: \"{{date}} {{time}}\",\n long: \"{{date}} {{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/zh-HK/_lib/formatRelative.mjs\n var formatRelativeLocale = {\n lastWeek: \"'\\u4E0A\\u500B'eeee p\",\n yesterday: \"'\\u6628\\u5929' p\",\n today: \"'\\u4ECA\\u5929' p\",\n tomorrow: \"'\\u660E\\u5929' p\",\n nextWeek: \"'\\u4E0B\\u500B'eeee 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/zh-HK/_lib/localize.mjs\n var eraValues = {\n narrow: [\"\\u524D\", \"\\u516C\\u5143\"],\n abbreviated: [\"\\u524D\", \"\\u516C\\u5143\"],\n wide: [\"\\u516C\\u5143\\u524D\", \"\\u516C\\u5143\"]\n };\n var quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"\\u7B2C\\u4E00\\u5B63\", \"\\u7B2C\\u4E8C\\u5B63\", \"\\u7B2C\\u4E09\\u5B63\", \"\\u7B2C\\u56DB\\u5B63\"],\n wide: [\"\\u7B2C\\u4E00\\u5B63\\u5EA6\", \"\\u7B2C\\u4E8C\\u5B63\\u5EA6\", \"\\u7B2C\\u4E09\\u5B63\\u5EA6\", \"\\u7B2C\\u56DB\\u5B63\\u5EA6\"]\n };\n var monthValues = {\n narrow: [\n \"\\u4E00\",\n \"\\u4E8C\",\n \"\\u4E09\",\n \"\\u56DB\",\n \"\\u4E94\",\n \"\\u516D\",\n \"\\u4E03\",\n \"\\u516B\",\n \"\\u4E5D\",\n \"\\u5341\",\n \"\\u5341\\u4E00\",\n \"\\u5341\\u4E8C\"],\n\n abbreviated: [\n \"1\\u6708\",\n \"2\\u6708\",\n \"3\\u6708\",\n \"4\\u6708\",\n \"5\\u6708\",\n \"6\\u6708\",\n \"7\\u6708\",\n \"8\\u6708\",\n \"9\\u6708\",\n \"10\\u6708\",\n \"11\\u6708\",\n \"12\\u6708\"],\n\n wide: [\n \"\\u4E00\\u6708\",\n \"\\u4E8C\\u6708\",\n \"\\u4E09\\u6708\",\n \"\\u56DB\\u6708\",\n \"\\u4E94\\u6708\",\n \"\\u516D\\u6708\",\n \"\\u4E03\\u6708\",\n \"\\u516B\\u6708\",\n \"\\u4E5D\\u6708\",\n \"\\u5341\\u6708\",\n \"\\u5341\\u4E00\\u6708\",\n \"\\u5341\\u4E8C\\u6708\"]\n\n };\n var dayValues = {\n narrow: [\"\\u65E5\", \"\\u4E00\", \"\\u4E8C\", \"\\u4E09\", \"\\u56DB\", \"\\u4E94\", \"\\u516D\"],\n short: [\"\\u65E5\", \"\\u4E00\", \"\\u4E8C\", \"\\u4E09\", \"\\u56DB\", \"\\u4E94\", \"\\u516D\"],\n abbreviated: [\"\\u9031\\u65E5\", \"\\u9031\\u4E00\", \"\\u9031\\u4E8C\", \"\\u9031\\u4E09\", \"\\u9031\\u56DB\", \"\\u9031\\u4E94\", \"\\u9031\\u516D\"],\n wide: [\"\\u661F\\u671F\\u65E5\", \"\\u661F\\u671F\\u4E00\", \"\\u661F\\u671F\\u4E8C\", \"\\u661F\\u671F\\u4E09\", \"\\u661F\\u671F\\u56DB\", \"\\u661F\\u671F\\u4E94\", \"\\u661F\\u671F\\u516D\"]\n };\n var dayPeriodValues = {\n narrow: {\n am: \"\\u4E0A\",\n pm: \"\\u4E0B\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u664C\",\n morning: \"\\u65E9\",\n afternoon: \"\\u5348\",\n evening: \"\\u665A\",\n night: \"\\u591C\"\n },\n abbreviated: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u4E0A\\u5348\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u665A\"\n },\n wide: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u4E0A\\u5348\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u665A\"\n }\n };\n var formattingDayPeriodValues = {\n narrow: {\n am: \"\\u4E0A\",\n pm: \"\\u4E0B\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u664C\",\n morning: \"\\u65E9\",\n afternoon: \"\\u5348\",\n evening: \"\\u665A\",\n night: \"\\u591C\"\n },\n abbreviated: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u4E0A\\u5348\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u665A\"\n },\n wide: {\n am: \"\\u4E0A\\u5348\",\n pm: \"\\u4E0B\\u5348\",\n midnight: \"\\u5348\\u591C\",\n noon: \"\\u4E2D\\u5348\",\n morning: \"\\u4E0A\\u5348\",\n afternoon: \"\\u4E0B\\u5348\",\n evening: \"\\u665A\\u4E0A\",\n night: \"\\u591C\\u665A\"\n }\n };\n var ordinalNumber = function ordinalNumber(dirtyNumber, options) {\n var number = Number(dirtyNumber);\n switch (options === null || options === void 0 ? void 0 : options.unit) {\n case \"date\":\n return number + \"\\u65E5\";\n case \"hour\":\n return number + \"\\u6642\";\n case \"minute\":\n return number + \"\\u5206\";\n case \"second\":\n return number + \"\\u79D2\";\n default:\n return \"\\u7B2C \" + number;\n }\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/zh-HK/_lib/match.mjs\n var matchOrdinalNumberPattern = /^(第\\s*)?\\d+(日|時|分|秒)?/i;\n var parseOrdinalNumberPattern = /\\d+/i;\n var matchEraPatterns = {\n narrow: /^(前)/i,\n abbreviated: /^(前)/i,\n wide: /^(公元前|公元)/i\n };\n var parseEraPatterns = {\n any: [/^(前)/i, /^(公元)/i]\n };\n var matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^第[一二三四]季/i,\n wide: /^第[一二三四]季度/i\n };\n var parseQuarterPatterns = {\n any: [/(1|一)/i, /(2|二)/i, /(3|三)/i, /(4|四)/i]\n };\n var matchMonthPatterns = {\n narrow: /^(一|二|三|四|五|六|七|八|九|十[二一])/i,\n abbreviated: /^(一|二|三|四|五|六|七|八|九|十[二一]|\\d|1[12])月/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 /^一|1/i,\n /^二|2/i,\n /^三|3/i,\n /^四|4/i,\n /^五|5/i,\n /^六|6/i,\n /^七|7/i,\n /^八|8/i,\n /^九|9/i,\n /^十(?!(一|二))|10/i,\n /^十一|11/i,\n /^十二|12/i]\n\n };\n var matchDayPatterns = {\n narrow: /^[一二三四五六日]/i,\n short: /^[一二三四五六日]/i,\n abbreviated: /^週[一二三四五六日]/i,\n wide: /^星期[一二三四五六日]/i\n };\n var parseDayPatterns = {\n any: [/日/i, /一/i, /二/i, /三/i, /四/i, /五/i, /六/i]\n };\n var matchDayPeriodPatterns = {\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/zh-HK.mjs\n var zhHK = {\n code: \"zh-HK\",\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/zh-HK/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 zhHK: zhHK }) });\n\n\n\n //# debugId=577879BF0C784FE264756e2164756e21\n})();\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