@unicom-cloud/utils 0.1.14 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/content-disposition/index.js +34 -31
  2. package/contentDisposition.js +7 -5
  3. package/file/saveAs.js +13 -14
  4. package/lunar/lib/Holiday.js +2 -6
  5. package/lunar/lib/HolidayUtil.js +113 -99
  6. package/lunar/lib/I18n.js +395 -975
  7. package/lunar/lib/JieQi.js +12 -16
  8. package/lunar/lib/Lunar.js +224 -672
  9. package/lunar/lib/LunarMonth.js +35 -98
  10. package/lunar/lib/LunarTime.js +24 -103
  11. package/lunar/lib/LunarUtil.js +426 -1728
  12. package/lunar/lib/LunarYear.js +473 -566
  13. package/lunar/lib/ShouXingUtil.js +6714 -6690
  14. package/lunar/lib/Solar.js +24 -49
  15. package/lunar/lib/SolarHalfYear.js +0 -2
  16. package/lunar/lib/SolarMonth.js +4 -6
  17. package/lunar/lib/SolarSeason.js +0 -2
  18. package/lunar/lib/SolarUtil.js +238 -226
  19. package/lunar/lib/SolarWeek.js +7 -11
  20. package/lunar/lib/SolarYear.js +0 -1
  21. package/mock/MockWebSocket.js +2 -2
  22. package/package.json +1 -1
  23. package/snapdom/src/api/snapdom.js +72 -71
  24. package/snapdom/src/core/prepare.js +21 -21
  25. package/snapdom/src/modules/background.js +23 -17
  26. package/snapdom/src/modules/fonts.js +99 -91
  27. package/snapdom/src/modules/pseudo.js +59 -70
  28. package/tinycolor/src/conversion.js +1 -1
  29. package/tinycolor/src/index.js +2 -19
  30. package/turbo-stream/src/encode.js +5 -8
  31. package/turbo-stream/src/shared.js +117 -119
  32. package/types/file/saveAs.d.ts +1 -1
  33. package/types/lunar/lib/Lunar.d.ts +0 -98
  34. package/types/lunar/lib/LunarMonth.d.ts +0 -12
  35. package/types/lunar/lib/LunarTime.d.ts +0 -22
  36. package/types/lunar/lib/LunarUtil.d.ts +0 -90
  37. package/types/lunar/lib/LunarYear.d.ts +0 -30
  38. package/types/lunar/lib/Solar.d.ts +0 -5
  39. package/types/snapdom/src/modules/pseudo.d.ts +1 -1
  40. package/types/tinycolor/src/conversion.d.ts +1 -1
package/lunar/lib/I18n.js CHANGED
@@ -1,1005 +1,425 @@
1
- import { LunarUtil as r } from "./LunarUtil.js";
2
- import { SolarUtil as x } from "./SolarUtil.js";
3
- class i {
4
- static _INIT = !1;
5
- static _MESSAGES = {
6
- "tg.jia": "甲",
7
- "tg.yi": "乙",
8
- "tg.bing": "丙",
9
- "tg.ding": "",
10
- "tg.wu": "",
11
- "tg.ji": "",
12
- "tg.geng": "",
13
- "tg.xin": "",
14
- "tg.ren": "",
15
- "tg.gui": "",
16
- "dz.zi": "",
17
- "dz.chou": "",
18
- "dz.yin": "",
19
- "dz.mao": "",
20
- "dz.chen": "",
21
- "dz.si": "",
22
- "dz.wu": "",
23
- "dz.wei": "",
24
- "dz.shen": "",
25
- "dz.you": "",
26
- "dz.xu": "",
27
- "dz.hai": "",
28
- "zx.jian": "",
29
- "zx.chu": "",
30
- "zx.man": "",
31
- "zx.ping": "",
32
- "zx.ding": "",
33
- "zx.zhi": "",
34
- "zx.po": "",
35
- "zx.wei": "",
36
- "zx.cheng": "",
37
- "zx.shou": "",
38
- "zx.kai": "",
39
- "zx.bi": "",
40
- "jz.jiaZi": "甲子",
41
- "jz.yiChou": "乙丑",
42
- "jz.bingYin": "丙寅",
43
- "jz.dingMao": "丁卯",
44
- "jz.wuChen": "戊辰",
45
- "jz.jiSi": "己巳",
46
- "jz.gengWu": "庚午",
47
- "jz.xinWei": "辛未",
48
- "jz.renShen": "壬申",
49
- "jz.guiYou": "癸酉",
50
- "jz.jiaXu": "甲戌",
51
- "jz.yiHai": "乙亥",
52
- "jz.bingZi": "丙子",
53
- "jz.dingChou": "丁丑",
54
- "jz.wuYin": "戊寅",
55
- "jz.jiMao": "己卯",
56
- "jz.gengChen": "庚辰",
57
- "jz.xinSi": "辛巳",
58
- "jz.renWu": "壬午",
59
- "jz.guiWei": "癸未",
60
- "jz.jiaShen": "甲申",
61
- "jz.yiYou": "乙酉",
62
- "jz.bingXu": "丙戌",
63
- "jz.dingHai": "丁亥",
64
- "jz.wuZi": "戊子",
65
- "jz.jiChou": "己丑",
66
- "jz.gengYin": "庚寅",
67
- "jz.xinMao": "辛卯",
68
- "jz.renChen": "壬辰",
69
- "jz.guiSi": "癸巳",
70
- "jz.jiaWu": "甲午",
71
- "jz.yiWei": "乙未",
72
- "jz.bingShen": "丙申",
73
- "jz.dingYou": "丁酉",
74
- "jz.wuXu": "戊戌",
75
- "jz.jiHai": "己亥",
76
- "jz.gengZi": "庚子",
77
- "jz.xinChou": "辛丑",
78
- "jz.renYin": "壬寅",
79
- "jz.guiMao": "癸卯",
80
- "jz.jiaChen": "甲辰",
81
- "jz.yiSi": "乙巳",
82
- "jz.bingWu": "丙午",
83
- "jz.dingWei": "丁未",
84
- "jz.wuShen": "戊申",
85
- "jz.jiYou": "己酉",
86
- "jz.gengXu": "庚戌",
87
- "jz.xinHai": "辛亥",
88
- "jz.renZi": "壬子",
89
- "jz.guiChou": "癸丑",
90
- "jz.jiaYin": "甲寅",
91
- "jz.yiMao": "乙卯",
92
- "jz.bingChen": "丙辰",
93
- "jz.dingSi": "丁巳",
94
- "jz.wuWu": "戊午",
95
- "jz.jiWei": "己未",
96
- "jz.gengShen": "庚申",
97
- "jz.xinYou": "辛酉",
98
- "jz.renXu": "壬戌",
99
- "jz.guiHai": "癸亥",
100
- "sx.rat": "",
101
- "sx.ox": "",
102
- "sx.tiger": "",
103
- "sx.rabbit": "",
104
- "sx.dragon": "",
105
- "sx.snake": "",
106
- "sx.horse": "",
107
- "sx.goat": "",
108
- "sx.monkey": "",
109
- "sx.rooster": "",
110
- "sx.dog": "",
111
- "sx.pig": "",
112
- "dw.long": "",
113
- "dw.niu": "",
114
- "dw.gou": "",
115
- "dw.yang": "",
116
- "dw.tu": "",
117
- "dw.shu": "",
118
- "dw.ji": "",
119
- "dw.ma": "",
120
- "dw.hu": "",
121
- "dw.zhu": "",
122
- "dw.hou": "",
123
- "dw.she": "",
124
- "dw.huLi": "",
125
- "dw.yan": "",
126
- "dw.bao": "",
127
- "dw.yuan": "",
128
- "dw.yin": "",
129
- "dw.lu": "鹿",
130
- "dw.wu": "",
131
- "dw.jiao": "",
132
- "dw.lang": "",
133
- "dw.fu": "",
134
- "dw.zhang": "",
135
- "dw.xu": "",
136
- "dw.xie": "",
137
- "dw.han": "",
138
- "dw.he": "",
139
- "dw.zhi": "",
140
- "wx.jin": "",
141
- "wx.mu": "",
142
- "wx.shui": "",
143
- "wx.huo": "",
144
- "wx.tu": "",
145
- "wx.ri": "",
146
- "wx.yue": "",
147
- "n.zero": "",
148
- "n.one": "",
149
- "n.two": "",
150
- "n.three": "",
151
- "n.four": "",
152
- "n.five": "",
153
- "n.six": "",
154
- "n.seven": "",
155
- "n.eight": "",
156
- "n.nine": "",
157
- "n.ten": "",
158
- "n.eleven": "十一",
159
- "n.twelve": "十二",
160
- "d.one": "初一",
161
- "d.two": "初二",
162
- "d.three": "初三",
163
- "d.four": "初四",
164
- "d.five": "初五",
165
- "d.six": "初六",
166
- "d.seven": "初七",
167
- "d.eight": "初八",
168
- "d.nine": "初九",
169
- "d.ten": "初十",
170
- "d.eleven": "十一",
171
- "d.twelve": "十二",
172
- "d.thirteen": "十三",
173
- "d.fourteen": "十四",
174
- "d.fifteen": "十五",
175
- "d.sixteen": "十六",
176
- "d.seventeen": "十七",
177
- "d.eighteen": "十八",
178
- "d.nighteen": "十九",
179
- "d.twenty": "二十",
180
- "d.twentyOne": "廿一",
181
- "d.twentyTwo": "廿二",
182
- "d.twentyThree": "廿三",
183
- "d.twentyFour": "廿四",
184
- "d.twentyFive": "廿五",
185
- "d.twentySix": "廿六",
186
- "d.twentySeven": "廿七",
187
- "d.twentyEight": "廿八",
188
- "d.twentyNine": "廿九",
189
- "d.thirty": "三十",
190
- "m.one": "",
191
- "m.two": "",
192
- "m.three": "",
193
- "m.four": "",
194
- "m.five": "",
195
- "m.six": "",
196
- "m.seven": "",
197
- "m.eight": "",
198
- "m.nine": "",
199
- "m.ten": "",
200
- "m.eleven": "",
201
- "m.twelve": "",
202
- "w.sun": "",
203
- "w.mon": "",
204
- "w.tues": "",
205
- "w.wed": "",
206
- "w.thur": "",
207
- "w.fri": "",
208
- "w.sat": "",
209
- "xz.aries": "白羊",
210
- "xz.taurus": "金牛",
211
- "xz.gemini": "双子",
212
- "xz.cancer": "巨蟹",
213
- "xz.leo": "狮子",
214
- "xz.virgo": "处女",
215
- "xz.libra": "天秤",
216
- "xz.scorpio": "天蝎",
217
- "xz.sagittarius": "射手",
218
- "xz.capricornus": "摩羯",
219
- "xz.aquarius": "水瓶",
220
- "xz.pisces": "双鱼",
221
- "bg.qian": "",
222
- "bg.kun": "",
223
- "bg.zhen": "",
224
- "bg.xun": "",
225
- "bg.kan": "",
226
- "bg.li": "",
227
- "bg.gen": "",
228
- "bg.dui": "",
229
- "ps.center": "",
230
- "ps.dong": "",
231
- "ps.nan": "",
232
- "ps.xi": "西",
233
- "ps.bei": "",
234
- "ps.zhong": "中宫",
235
- "ps.zhengDong": "正东",
236
- "ps.zhengNan": "正南",
237
- "ps.zhengXi": "正西",
238
- "ps.zhengBei": "正北",
239
- "ps.dongBei": "东北",
240
- "ps.dongNan": "东南",
241
- "ps.xiBei": "西北",
242
- "ps.xiNan": "西南",
243
- "ps.wai": "",
244
- "ps.fangNei": "房内",
245
- "jq.dongZhi": "冬至",
246
- "jq.xiaoHan": "小寒",
247
- "jq.daHan": "大寒",
248
- "jq.liChun": "立春",
249
- "jq.yuShui": "雨水",
250
- "jq.jingZhe": "惊蛰",
251
- "jq.chunFen": "春分",
252
- "jq.qingMing": "清明",
253
- "jq.guYu": "谷雨",
254
- "jq.liXia": "立夏",
255
- "jq.xiaoMan": "小满",
256
- "jq.mangZhong": "芒种",
257
- "jq.xiaZhi": "夏至",
258
- "jq.xiaoShu": "小暑",
259
- "jq.daShu": "大暑",
260
- "jq.liQiu": "立秋",
261
- "jq.chuShu": "处暑",
262
- "jq.baiLu": "白露",
263
- "jq.qiuFen": "秋分",
264
- "jq.hanLu": "寒露",
265
- "jq.shuangJiang": "霜降",
266
- "jq.liDong": "立冬",
267
- "jq.xiaoXue": "小雪",
268
- "jq.daXue": "大雪",
269
- "sn.qingLong": "青龙",
270
- "sn.baiHu": "白虎",
271
- "sn.zhuQue": "朱雀",
272
- "sn.xuanWu": "玄武",
273
- "sn.mingTang": "明堂",
274
- "sn.tianXing": "天刑",
275
- "sn.tianDe": "天德",
276
- "sn.jinKui": "金匮",
277
- "sn.yuTang": "玉堂",
278
- "sn.siMing": "司命",
279
- "sn.tianLao": "天牢",
280
- "sn.gouChen": "勾陈",
281
- "sn.tianEn": "天恩",
282
- "sn.muCang": "母仓",
283
- "sn.shiYang": "时阳",
284
- "sn.shengQi": "生气",
285
- "sn.yiHou": "益后",
286
- "sn.zaiSha": "灾煞",
287
- "sn.tianHuo": "天火",
288
- "sn.siJi": "四忌",
289
- "sn.baLong": "八龙",
290
- "sn.fuRi": "复日",
291
- "sn.xuShi": "续世",
292
- "sn.yueSha": "月煞",
293
- "sn.yueXu": "月虚",
294
- "sn.xueZhi": "血支",
295
- "sn.tianZei": "天贼",
296
- "sn.wuXu": "五虚",
297
- "sn.tuFu": "土符",
298
- "sn.guiJi": "归忌",
299
- "sn.xueJi": "血忌",
300
- "sn.yueDe": "月德",
301
- "sn.yueEn": "月恩",
302
- "sn.siXiang": "四相",
303
- "sn.wangRi": "王日",
304
- "sn.tianCang": "天仓",
305
- "sn.buJiang": "不将",
306
- "sn.wuHe": "五合",
307
- "sn.mingFeiDui": "鸣吠对",
308
- "sn.yueJian": "月建",
309
- "sn.xiaoShi": "小时",
310
- "sn.tuHu": "土府",
311
- "sn.wangWang": "往亡",
312
- "sn.yaoAn": "要安",
313
- "sn.siShen": "死神",
314
- "sn.tianMa": "天马",
315
- "sn.jiuHu": "九虎",
316
- "sn.qiNiao": "七鸟",
317
- "sn.liuShe": "六蛇",
318
- "sn.guanRi": "官日",
319
- "sn.jiQi": "吉期",
320
- "sn.yuYu": "玉宇",
321
- "sn.daShi": "大时",
322
- "sn.daBai": "大败",
323
- "sn.xianChi": "咸池",
324
- "sn.shouRi": "守日",
325
- "sn.tianWu": "天巫",
326
- "sn.fuDe": "福德",
327
- "sn.liuYi": "六仪",
328
- "sn.jinTang": "金堂",
329
- "sn.yanDui": "厌对",
330
- "sn.zhaoYao": "招摇",
331
- "sn.jiuKong": "九空",
332
- "sn.jiuKan": "九坎",
333
- "sn.jiuJiao": "九焦",
334
- "sn.xiangRi": "相日",
335
- "sn.baoGuang": "宝光",
336
- "sn.tianGang": "天罡",
337
- "sn.yueXing": "月刑",
338
- "sn.yueHai": "月害",
339
- "sn.youHuo": "游祸",
340
- "sn.chongRi": "重日",
341
- "sn.shiDe": "时德",
342
- "sn.minRi": "民日",
343
- "sn.sanHe": "三合",
344
- "sn.linRi": "临日",
345
- "sn.shiYin": "时阴",
346
- "sn.mingFei": "鸣吠",
347
- "sn.siQi": "死气",
348
- "sn.diNang": "地囊",
349
- "sn.yueDeHe": "月德合",
350
- "sn.jingAn": "敬安",
351
- "sn.puHu": "普护",
352
- "sn.jieShen": "解神",
353
- "sn.xiaoHao": "小耗",
354
- "sn.tianDeHe": "天德合",
355
- "sn.yueKong": "月空",
356
- "sn.yiMa": "驿马",
357
- "sn.tianHou": "天后",
358
- "sn.chuShen": "除神",
359
- "sn.yuePo": "月破",
360
- "sn.daHao": "大耗",
361
- "sn.wuLi": "五离",
362
- "sn.yinDe": "阴德",
363
- "sn.fuSheng": "福生",
364
- "sn.tianLi": "天吏",
365
- "sn.zhiSi": "致死",
366
- "sn.yuanWu": "元武",
367
- "sn.yangDe": "阳德",
368
- "sn.tianXi": "天喜",
369
- "sn.tianYi": "天医",
370
- "sn.yueYan": "月厌",
371
- "sn.diHuo": "地火",
372
- "sn.fourHit": "四击",
373
- "sn.daSha": "大煞",
374
- "sn.daHui": "大会",
375
- "sn.tianYuan": "天愿",
376
- "sn.liuHe": "六合",
377
- "sn.wuFu": "五富",
378
- "sn.shengXin": "圣心",
379
- "sn.heKui": "河魁",
380
- "sn.jieSha": "劫煞",
381
- "sn.siQiong": "四穷",
382
- "sn.chuShuiLong": "触水龙",
383
- "sn.baFeng": "八风",
384
- "sn.tianShe": "天赦",
385
- "sn.wuMu": "五墓",
386
- "sn.baZhuan": "八专",
387
- "sn.yinCuo": "阴错",
388
- "sn.siHao": "四耗",
389
- "sn.yangCuo": "阳错",
390
- "sn.siFei": "四废",
391
- "sn.sanYin": "三阴",
392
- "sn.xiaoHui": "小会",
393
- "sn.yinDaoChongYang": "阴道冲阳",
394
- "sn.danYin": "单阴",
395
- "sn.guChen": "孤辰",
396
- "sn.yinWei": "阴位",
397
- "sn.xingHen": "行狠",
398
- "sn.liaoLi": "了戾",
399
- "sn.jueYin": "绝阴",
400
- "sn.chunYang": "纯阳",
401
- "sn.suiBo": "岁薄",
402
- "sn.yinYangJiaoPo": "阴阳交破",
403
- "sn.yinYangJuCuo": "阴阳俱错",
404
- "sn.yinYangJiChong": "阴阳击冲",
405
- "sn.zhuZhen": "逐阵",
406
- "sn.yangCuoYinChong": "阳错阴冲",
407
- "sn.qiFu": "七符",
408
- "sn.tianGou": "天狗",
409
- "sn.chengRi": "成日",
410
- "sn.tianFu": "天符",
411
- "sn.guYang": "孤阳",
412
- "sn.jueYang": "绝阳",
413
- "sn.chunYin": "纯阴",
414
- "sn.yinShen": "阴神",
415
- "sn.jieChu": "解除",
416
- "sn.yangPoYinChong": "阳破阴冲",
417
- "ss.biJian": "比肩",
418
- "ss.jieCai": "劫财",
419
- "ss.shiShen": "食神",
420
- "ss.shangGuan": "伤官",
421
- "ss.pianCai": "偏财",
422
- "ss.zhengCai": "正财",
423
- "ss.qiSha": "七杀",
424
- "ss.zhengGuan": "正官",
425
- "ss.pianYin": "偏印",
426
- "ss.zhengYin": "正印",
427
- "s.none": "无",
428
- "s.huangDao": "黄道",
429
- "s.heiDao": "黑道",
430
- "s.goodLuck": "吉",
431
- "s.badLuck": "凶",
432
- "s.yin": "阴",
433
- "s.yang": "阳",
434
- "s.white": "白",
435
- "s.black": "黑",
436
- "s.blue": "碧",
437
- "s.green": "绿",
438
- "s.yellow": "黄",
439
- "s.red": "赤",
440
- "s.purple": "紫",
441
- "jr.chuXi": "除夕",
442
- "jr.chunJie": "春节",
443
- "jr.yuanXiao": "元宵节",
444
- "jr.longTou": "龙头节",
445
- "jr.duanWu": "端午节",
446
- "jr.qiXi": "七夕节",
447
- "jr.zhongQiu": "中秋节",
448
- "jr.chongYang": "重阳节",
449
- "jr.laBa": "腊八节",
450
- "jr.yuanDan": "元旦节",
451
- "jr.qingRen": "情人节",
452
- "jr.fuNv": "妇女节",
453
- "jr.zhiShu": "植树节",
454
- "jr.xiaoFei": "消费者权益日",
455
- "jr.wuYi": "劳动节",
456
- "jr.qingNian": "青年节",
457
- "jr.erTong": "儿童节",
458
- "jr.yuRen": "愚人节",
459
- "jr.jianDang": "建党节",
460
- "jr.jianJun": "建军节",
461
- "jr.jiaoShi": "教师节",
462
- "jr.guoQing": "国庆节",
463
- "jr.wanShengYe": "万圣节前夜",
464
- "jr.wanSheng": "万圣节",
465
- "jr.pingAn": "平安夜",
466
- "jr.shengDan": "圣诞节",
467
- "ds.changSheng": "长生",
468
- "ds.muYu": "沐浴",
469
- "ds.guanDai": "冠带",
470
- "ds.linGuan": "临官",
471
- "ds.diWang": "帝旺",
472
- "ds.shuai": "衰",
473
- "ds.bing": "病",
474
- "ds.si": "死",
475
- "ds.mu": "墓",
476
- "ds.jue": "绝",
477
- "ds.tai": "胎",
478
- "ds.yang": "养",
479
- "h.first": "初候",
480
- "h.second": "二候",
481
- "h.third": "三候",
482
- "h.qiuYinJie": "蚯蚓结",
483
- "h.miJiao": "麋角解",
484
- "h.shuiQuan": "水泉动",
485
- "h.yanBei": "雁北乡",
486
- "h.queShi": "鹊始巢",
487
- "h.zhiShi": "雉始雊",
488
- "h.jiShi": "鸡始乳",
489
- "h.zhengNiao": "征鸟厉疾",
490
- "h.shuiZe": "水泽腹坚",
491
- "h.dongFeng": "东风解冻",
492
- "h.zheChongShiZhen": "蛰虫始振",
493
- "h.yuZhi": "鱼陟负冰",
494
- "h.taJi": "獭祭鱼",
495
- "h.houYan": "候雁北",
496
- "h.caoMuMengDong": "草木萌动",
497
- "h.taoShi": "桃始华",
498
- "h.cangGeng": "仓庚鸣",
499
- "h.yingHua": "鹰化为鸠",
500
- "h.xuanNiaoZhi": "玄鸟至",
501
- "h.leiNai": "雷乃发声",
502
- "h.shiDian": "始电",
503
- "h.tongShi": "桐始华",
504
- "h.tianShu": "田鼠化为鴽",
505
- "h.hongShi": "虹始见",
506
- "h.pingShi": "萍始生",
507
- "h.mingJiu": "鸣鸠拂奇羽",
508
- "h.daiSheng": "戴胜降于桑",
509
- "h.louGuo": "蝼蝈鸣",
510
- "h.qiuYinChu": "蚯蚓出",
511
- "h.wangGua": "王瓜生",
512
- "h.kuCai": "苦菜秀",
513
- "h.miCao": "靡草死",
514
- "h.maiQiu": "麦秋至",
515
- "h.tangLang": "螳螂生",
516
- "h.juShi": "鵙始鸣",
517
- "h.fanShe": "反舌无声",
518
- "h.luJia": "鹿角解",
519
- "h.tiaoShi": "蜩始鸣",
520
- "h.banXia": "半夏生",
521
- "h.wenFeng": "温风至",
522
- "h.xiShuai": "蟋蟀居壁",
523
- "h.yingShi": "鹰始挚",
524
- "h.fuCao": "腐草为萤",
525
- "h.tuRun": "土润溽暑",
526
- "h.daYu": "大雨行时",
527
- "h.liangFeng": "凉风至",
528
- "h.baiLu": "白露降",
529
- "h.hanChan": "寒蝉鸣",
530
- "h.yingNai": "鹰乃祭鸟",
531
- "h.tianDi": "天地始肃",
532
- "h.heNai": "禾乃登",
533
- "h.hongYanLai": "鸿雁来",
534
- "h.xuanNiaoGui": "玄鸟归",
535
- "h.qunNiao": "群鸟养羞",
536
- "h.leiShi": "雷始收声",
537
- "h.zheChongPiHu": "蛰虫坯户",
538
- "h.shuiShiHe": "水始涸",
539
- "h.hongYanLaiBin": "鸿雁来宾",
540
- "h.queRu": "雀入大水为蛤",
541
- "h.juYou": "菊有黄花",
542
- "h.caiNai": "豺乃祭兽",
543
- "h.caoMuHuangLuo": "草木黄落",
544
- "h.zheChongXianFu": "蛰虫咸俯",
545
- "h.shuiShiBing": "水始冰",
546
- "h.diShi": "地始冻",
547
- "h.zhiRu": "雉入大水为蜃",
548
- "h.hongCang": "虹藏不见",
549
- "h.tianQi": "天气上升地气下降",
550
- "h.biSe": "闭塞而成冬",
551
- "h.heDan": "鹖鴠不鸣",
552
- "h.huShi": "虎始交",
553
- "h.liTing": "荔挺出",
554
- "ts.zhan": "占",
555
- "ts.hu": "户",
556
- "ts.win": "窗",
557
- "ts.fang": "房",
558
- "ts.chuang": "床",
559
- "ts.lu": "炉",
560
- "ts.zao": "灶",
561
- "ts.dui": "碓",
562
- "ts.mo": "磨",
563
- "ts.xi": "栖",
564
- "ts.chu": "厨",
565
- "ts.ce": "厕",
566
- "ts.cang": "仓",
567
- "ts.cangKu": "仓库",
568
- "ts.daMen": "大门",
569
- "ts.men": "门",
570
- "ts.tang": "堂",
571
- "ly.xianSheng": "先胜",
572
- "ly.xianFu": "先负",
573
- "ly.youYin": "友引",
574
- "ly.foMie": "佛灭",
575
- "ly.daAn": "大安",
576
- "ly.chiKou": "赤口",
577
- "yj.jiSi": "祭祀",
578
- "yj.qiFu": "祈福",
579
- "yj.qiuSi": "求嗣",
580
- "yj.kaiGuang": "开光",
581
- "yj.suHui": "塑绘",
582
- "yj.qiJiao": "齐醮",
583
- "yj.zhaiJiao": "斋醮",
584
- "yj.muYu": "沐浴",
585
- "yj.chouShen": "酬神",
586
- "yj.zaoMiao": "造庙",
587
- "yj.siZhao": "祀灶",
588
- "yj.fenXiang": "焚香",
589
- "yj.xieTu": "谢土",
590
- "yj.chuHuo": "出火",
591
- "yj.diaoKe": "雕刻",
592
- "yj.jiaQu": "嫁娶",
593
- "yj.DingHun": "订婚",
594
- "yj.naCai": "纳采",
595
- "yj.wenMing": "问名",
596
- "yj.naXu": "纳婿",
597
- "yj.guiNing": "归宁",
598
- "yj.anChuang": "安床",
599
- "yj.heZhang": "合帐",
600
- "yj.guanJi": "冠笄",
601
- "yj.dingMeng": "订盟",
602
- "yj.jinRenKou": "进人口",
603
- "yj.caiYi": "裁衣",
604
- "yj.wanMian": "挽面",
605
- "yj.kaiRong": "开容",
606
- "yj.xiuFen": "修坟",
607
- "yj.qiZuan": "启钻",
608
- "yj.poTu": "破土",
609
- "yj.anZang": "安葬",
610
- "yj.liBei": "立碑",
611
- "yj.chengFu": "成服",
612
- "yj.chuFu": "除服",
613
- "yj.kaiShengFen": "开生坟",
614
- "yj.heShouMu": "合寿木",
615
- "yj.ruLian": "入殓",
616
- "yj.yiJiu": "移柩",
617
- "yj.puDu": "普渡",
618
- "yj.ruZhai": "入宅",
619
- "yj.anXiang": "安香",
620
- "yj.anMen": "安门",
621
- "yj.xiuZao": "修造",
622
- "yj.qiJi": "起基",
623
- "yj.dongTu": "动土",
624
- "yj.shangLiang": "上梁",
625
- "yj.shuZhu": "竖柱",
626
- "yj.kaiJing": "开井开池",
627
- "yj.zuoBei": "作陂放水",
628
- "yj.chaiXie": "拆卸",
629
- "yj.poWu": "破屋",
630
- "yj.huaiYuan": "坏垣",
631
- "yj.buYuan": "补垣",
632
- "yj.faMuZuoLiang": "伐木做梁",
633
- "yj.zuoZhao": "作灶",
634
- "yj.jieChu": "解除",
635
- "yj.kaiZhuYan": "开柱眼",
636
- "yj.chuanPing": "穿屏扇架",
637
- "yj.gaiWuHeJi": "盖屋合脊",
638
- "yj.kaiCe": "开厕",
639
- "yj.zaoCang": "造仓",
640
- "yj.saiXue": "塞穴",
641
- "yj.pingZhi": "平治道涂",
642
- "yj.zaoQiao": "造桥",
643
- "yj.zuoCe": "作厕",
644
- "yj.zhuDi": "筑堤",
645
- "yj.kaiChi": "开池",
646
- "yj.faMu": "伐木",
647
- "yj.kaiQu": "开渠",
648
- "yj.jueJing": "掘井",
649
- "yj.saoShe": "扫舍",
650
- "yj.fangShui": "放水",
651
- "yj.zaoWu": "造屋",
652
- "yj.heJi": "合脊",
653
- "yj.zaoChuChou": "造畜稠",
654
- "yj.xiuMen": "修门",
655
- "yj.dingSang": "定磉",
656
- "yj.zuoLiang": "作梁",
657
- "yj.xiuShi": "修饰垣墙",
658
- "yj.jiaMa": "架马",
659
- "yj.kaiShi": "开市",
660
- "yj.guaBian": "挂匾",
661
- "yj.naChai": "纳财",
662
- "yj.qiuCai": "求财",
663
- "yj.kaiCang": "开仓",
664
- "yj.maiChe": "买车",
665
- "yj.zhiChan": "置产",
666
- "yj.guYong": "雇佣",
667
- "yj.chuHuoCai": "出货财",
668
- "yj.anJiXie": "安机械",
669
- "yj.zaoCheQi": "造车器",
670
- "yj.jingLuo": "经络",
671
- "yj.yunNiang": "酝酿",
672
- "yj.zuoRan": "作染",
673
- "yj.guZhu": "鼓铸",
674
- "yj.zaoChuan": "造船",
675
- "yj.geMi": "割蜜",
676
- "yj.zaiZhong": "栽种",
677
- "yj.quYu": "取渔",
678
- "yj.jieWang": "结网",
679
- "yj.muYang": "牧养",
680
- "yj.anDuiWei": "安碓磑",
681
- "yj.xiYi": "习艺",
682
- "yj.ruXue": "入学",
683
- "yj.liFa": "理发",
684
- "yj.tanBing": "探病",
685
- "yj.jianGui": "见贵",
686
- "yj.chengChuan": "乘船",
687
- "yj.duShui": "渡水",
688
- "yj.zhenJiu": "针灸",
689
- "yj.chuXing": "出行",
690
- "yj.yiXi": "移徙",
691
- "yj.fenJu": "分居",
692
- "yj.TiTou": "剃头",
693
- "yj.zhengShou": "整手足甲",
694
- "yj.naChu": "纳畜",
695
- "yj.buZhuo": "捕捉",
696
- "yj.tianLie": "畋猎",
697
- "yj.jiaoNiuMa": "教牛马",
698
- "yj.huiQinYou": "会亲友",
699
- "yj.fuRen": "赴任",
700
- "yj.qiuYi": "求医",
701
- "yj.zhiBing": "治病",
702
- "yj.ciSong": "词讼",
703
- "yj.qiJiDongTu": "起基动土",
704
- "yj.poWuHuaiYuan": "破屋坏垣",
705
- "yj.gaiWu": "盖屋",
706
- "yj.zaoCangKu": "造仓库",
707
- "yj.liQuanJiaoYi": "立券交易",
708
- "yj.jiaoYi": "交易",
709
- "yj.liQuan": "立券",
710
- "yj.anJi": "安机",
711
- "yj.huiYou": "会友",
712
- "yj.qiuYiLiaoBing": "求医疗病",
713
- "yj.zhuShi": "诸事不宜",
714
- "yj.yuShi": "馀事勿取",
715
- "yj.xingSang": "行丧",
716
- "yj.duanYi": "断蚁",
717
- "yj.guiXiu": "归岫",
718
- "xx.bi": "毕",
719
- "xx.yi": "翼",
720
- "xx.ji": "箕",
721
- "xx.kui": "奎",
722
- "xx.gui": "鬼",
723
- "xx.di": "氐",
724
- "xx.xu": "虚",
725
- "xx.wei": "危",
726
- "xx.zi": "觜",
727
- "xx.zhen": "轸",
728
- "xx.dou": "斗",
729
- "xx.lou": "娄",
730
- "xx.liu": "柳",
731
- "xx.fang": "房",
732
- "xx.xin": "心",
733
- "xx.shi": "室",
734
- "xx.can": "参",
735
- "xx.jiao": "角",
736
- "xx.niu": "牛",
737
- "xx.vei": "胃",
738
- "xx.xing": "星",
739
- "xx.zhang": "张",
740
- "xx.tail": "尾",
741
- "xx.qiang": "壁",
742
- "xx.jing": "井",
743
- "xx.kang": "亢",
744
- "xx.nv": "女",
745
- "xx.mao": "昴",
746
- "sz.chun": "春",
747
- "sz.xia": "夏",
748
- "sz.qiu": "秋",
749
- "sz.dong": "冬",
750
- "od.first": "孟",
751
- "od.second": "仲",
752
- "od.third": "季",
753
- "yx.shuo": "朔",
754
- "yx.jiShuo": "既朔",
755
- "yx.eMeiXin": "蛾眉新",
756
- "yx.eMei": "蛾眉",
757
- "yx.xi": "夕",
758
- "yx.shangXian": "上弦",
759
- "yx.jiuYe": "九夜",
760
- "yx.night": "宵",
761
- "yx.jianYingTu": "渐盈凸",
762
- "yx.xiaoWang": "小望",
763
- "yx.wang": "望",
764
- "yx.jiWang": "既望",
765
- "yx.liDai": "立待",
766
- "yx.juDai": "居待",
767
- "yx.qinDai": "寝待",
768
- "yx.gengDai": "更待",
769
- "yx.jianKuiTu": "渐亏凸",
770
- "yx.xiaXian": "下弦",
771
- "yx.youMing": "有明",
772
- "yx.eMeiCan": "蛾眉残",
773
- "yx.can": "残",
774
- "yx.xiao": "晓",
775
- "yx.hui": "晦",
776
- "ny.sangZhe": "桑柘",
777
- "ny.baiLa": "白蜡",
778
- "ny.yangLiu": "杨柳",
779
- "ny.jinBo": "金箔",
780
- "ny.haiZhong": "海中",
781
- "ny.daHai": "大海",
782
- "ny.shaZhong": "沙中",
783
- "ny.luZhong": "炉中",
784
- "ny.shanXia": "山下",
785
- "ny.daLin": "大林",
786
- "ny.pingDi": "平地",
787
- "ny.luPang": "路旁",
788
- "ny.biShang": "壁上",
789
- "ny.jianFeng": "剑锋",
790
- "ny.shanTou": "山头",
791
- "ny.fuDeng": "覆灯",
792
- "ny.jianXia": "涧下",
793
- "ny.tianHe": "天河",
794
- "ny.chengTou": "城头",
795
- "ny.daYi": "大驿",
796
- "ny.chaiChuan": "钗钏",
797
- "ny.quanZhong": "泉中",
798
- "ny.daXi": "大溪",
799
- "ny.wuShang": "屋上",
800
- "ny.piLi": "霹雳",
801
- "ny.tianShang": "天上",
802
- "ny.songBo": "松柏",
803
- "ny.shiLiu": "石榴",
804
- "ny.changLiu": "长流"
805
- };
806
- static _OBJS = {
807
- LunarUtil: r,
808
- SolarUtil: x
809
- };
810
- static _DICT_STRING = {
811
- LunarUtil: {
812
- TIAN_SHEN_TYPE: {},
813
- TIAN_SHEN_TYPE_LUCK: {},
814
- XIU_LUCK: {},
815
- LU: {},
816
- XIU: {},
817
- SHA: {},
818
- POSITION_DESC: {},
819
- NAYIN: {},
820
- WU_XING_GAN: {},
821
- WU_XING_ZHI: {},
822
- SHOU: {},
823
- GONG: {},
824
- FESTIVAL: {},
825
- ZHENG: {},
826
- ANIMAL: {},
827
- SHI_SHEN: {},
828
- XIU_SONG: {}
829
- },
830
- SolarUtil: {
831
- FESTIVAL: {}
832
- }
833
- };
834
- static _DICT_NUMBER = {
835
- LunarUtil: {
836
- ZHI_TIAN_SHEN_OFFSET: {},
837
- CHANG_SHENG_OFFSET: {}
838
- }
839
- };
840
- static _DICT_ARRAY = {
841
- LunarUtil: {
842
- ZHI_HIDE_GAN: {}
843
- }
844
- };
845
- static _ARRAYS = {
846
- LunarUtil: {
847
- GAN: [],
848
- ZHI: [],
849
- JIA_ZI: [],
850
- ZHI_XING: [],
851
- XUN: [],
852
- XUN_KONG: [],
853
- CHONG: [],
854
- CHONG_GAN: [],
855
- CHONG_GAN_TIE: [],
856
- HE_GAN_5: [],
857
- HE_ZHI_6: [],
858
- SHENGXIAO: [],
859
- NUMBER: [],
860
- POSITION_XI: [],
861
- POSITION_YANG_GUI: [],
862
- POSITION_YIN_GUI: [],
863
- POSITION_FU: [],
864
- POSITION_FU_2: [],
865
- POSITION_CAI: [],
866
- POSITION_TAI_SUI_YEAR: [],
867
- POSITION_GAN: [],
868
- POSITION_ZHI: [],
869
- JIE_QI: [],
870
- JIE_QI_IN_USE: [],
871
- TIAN_SHEN: [],
872
- SHEN_SHA: [],
873
- PENGZU_GAN: [],
874
- PENGZU_ZHI: [],
875
- MONTH_ZHI: [],
876
- CHANG_SHENG: [],
877
- HOU: [],
878
- WU_HOU: [],
879
- POSITION_TAI_DAY: [],
880
- POSITION_TAI_MONTH: [],
881
- YI_JI: [],
882
- LIU_YAO: [],
883
- MONTH: [],
884
- SEASON: [],
885
- DAY: [],
886
- YUE_XIANG: []
887
- },
888
- SolarUtil: {
889
- WEEK: [],
890
- XINGZUO: []
891
- }
892
- };
893
- static updateArray(n) {
894
- const a = i._ARRAYS[n], h = i._OBJS[n];
895
- for (const s in a) {
896
- const e = a[s];
897
- for (let u = 0, g = e.length; u < g; u++)
898
- h[s][u] = e[u].replace(/{(.[^}]*)}/g, (j, o) => i.getMessage(o));
1
+ import { LunarUtil as z } from "./LunarUtil.js";
2
+ import { SolarUtil as d } from "./SolarUtil.js";
3
+ class n {
4
+ static {
5
+ this._INIT = !1;
6
+ }
7
+ static {
8
+ this._MESSAGES = {
9
+ "tg.jia": "",
10
+ "tg.yi": "",
11
+ "tg.bing": "",
12
+ "tg.ding": "",
13
+ "tg.wu": "",
14
+ "tg.ji": "",
15
+ "tg.geng": "",
16
+ "tg.xin": "",
17
+ "tg.ren": "",
18
+ "tg.gui": "",
19
+ "dz.zi": "",
20
+ "dz.chou": "",
21
+ "dz.yin": "",
22
+ "dz.mao": "",
23
+ "dz.chen": "",
24
+ "dz.si": "",
25
+ "dz.wu": "",
26
+ "dz.wei": "",
27
+ "dz.shen": "",
28
+ "dz.you": "",
29
+ "dz.xu": "",
30
+ "dz.hai": "",
31
+ "jz.jiaZi": "甲子",
32
+ "jz.yiChou": "乙丑",
33
+ "jz.bingYin": "丙寅",
34
+ "jz.dingMao": "丁卯",
35
+ "jz.wuChen": "戊辰",
36
+ "jz.jiSi": "己巳",
37
+ "jz.gengWu": "庚午",
38
+ "jz.xinWei": "辛未",
39
+ "jz.renShen": "壬申",
40
+ "jz.guiYou": "癸酉",
41
+ "jz.jiaXu": "甲戌",
42
+ "jz.yiHai": "乙亥",
43
+ "jz.bingZi": "丙子",
44
+ "jz.dingChou": "丁丑",
45
+ "jz.wuYin": "戊寅",
46
+ "jz.jiMao": "己卯",
47
+ "jz.gengChen": "庚辰",
48
+ "jz.xinSi": "辛巳",
49
+ "jz.renWu": "壬午",
50
+ "jz.guiWei": "癸未",
51
+ "jz.jiaShen": "甲申",
52
+ "jz.yiYou": "乙酉",
53
+ "jz.bingXu": "丙戌",
54
+ "jz.dingHai": "丁亥",
55
+ "jz.wuZi": "戊子",
56
+ "jz.jiChou": "己丑",
57
+ "jz.gengYin": "庚寅",
58
+ "jz.xinMao": "辛卯",
59
+ "jz.renChen": "壬辰",
60
+ "jz.guiSi": "癸巳",
61
+ "jz.jiaWu": "甲午",
62
+ "jz.yiWei": "乙未",
63
+ "jz.bingShen": "丙申",
64
+ "jz.dingYou": "丁酉",
65
+ "jz.wuXu": "戊戌",
66
+ "jz.jiHai": "己亥",
67
+ "jz.gengZi": "庚子",
68
+ "jz.xinChou": "辛丑",
69
+ "jz.renYin": "壬寅",
70
+ "jz.guiMao": "癸卯",
71
+ "jz.jiaChen": "甲辰",
72
+ "jz.yiSi": "乙巳",
73
+ "jz.bingWu": "丙午",
74
+ "jz.dingWei": "丁未",
75
+ "jz.wuShen": "戊申",
76
+ "jz.jiYou": "己酉",
77
+ "jz.gengXu": "庚戌",
78
+ "jz.xinHai": "辛亥",
79
+ "jz.renZi": "壬子",
80
+ "jz.guiChou": "癸丑",
81
+ "jz.jiaYin": "甲寅",
82
+ "jz.yiMao": "乙卯",
83
+ "jz.bingChen": "丙辰",
84
+ "jz.dingSi": "丁巳",
85
+ "jz.wuWu": "戊午",
86
+ "jz.jiWei": "己未",
87
+ "jz.gengShen": "庚申",
88
+ "jz.xinYou": "辛酉",
89
+ "jz.renXu": "壬戌",
90
+ "jz.guiHai": "癸亥",
91
+ "sx.rat": "",
92
+ "sx.ox": "",
93
+ "sx.tiger": "",
94
+ "sx.rabbit": "",
95
+ "sx.dragon": "",
96
+ "sx.snake": "",
97
+ "sx.horse": "",
98
+ "sx.goat": "",
99
+ "sx.monkey": "",
100
+ "sx.rooster": "",
101
+ "sx.dog": "",
102
+ "sx.pig": "",
103
+ "n.zero": "",
104
+ "n.one": "",
105
+ "n.two": "",
106
+ "n.three": "",
107
+ "n.four": "",
108
+ "n.five": "",
109
+ "n.six": "",
110
+ "n.seven": "",
111
+ "n.eight": "",
112
+ "n.nine": "",
113
+ "n.ten": "",
114
+ "n.eleven": "十一",
115
+ "n.twelve": "十二",
116
+ "d.one": "初一",
117
+ "d.two": "初二",
118
+ "d.three": "初三",
119
+ "d.four": "初四",
120
+ "d.five": "初五",
121
+ "d.six": "初六",
122
+ "d.seven": "初七",
123
+ "d.eight": "初八",
124
+ "d.nine": "初九",
125
+ "d.ten": "初十",
126
+ "d.eleven": "十一",
127
+ "d.twelve": "十二",
128
+ "d.thirteen": "十三",
129
+ "d.fourteen": "十四",
130
+ "d.fifteen": "十五",
131
+ "d.sixteen": "十六",
132
+ "d.seventeen": "十七",
133
+ "d.eighteen": "十八",
134
+ "d.nighteen": "十九",
135
+ "d.twenty": "二十",
136
+ "d.twentyOne": "廿一",
137
+ "d.twentyTwo": "廿二",
138
+ "d.twentyThree": "廿三",
139
+ "d.twentyFour": "廿四",
140
+ "d.twentyFive": "廿五",
141
+ "d.twentySix": "廿六",
142
+ "d.twentySeven": "廿七",
143
+ "d.twentyEight": "廿八",
144
+ "d.twentyNine": "廿九",
145
+ "d.thirty": "三十",
146
+ "m.one": "",
147
+ "m.two": "",
148
+ "m.three": "",
149
+ "m.four": "",
150
+ "m.five": "",
151
+ "m.six": "",
152
+ "m.seven": "",
153
+ "m.eight": "",
154
+ "m.nine": "",
155
+ "m.ten": "",
156
+ "m.eleven": "",
157
+ "m.twelve": "",
158
+ "w.sun": "",
159
+ "w.mon": "",
160
+ "w.tues": "",
161
+ "w.wed": "",
162
+ "w.thur": "",
163
+ "w.fri": "",
164
+ "w.sat": "",
165
+ "xz.aries": "白羊",
166
+ "xz.taurus": "金牛",
167
+ "xz.gemini": "双子",
168
+ "xz.cancer": "巨蟹",
169
+ "xz.leo": "狮子",
170
+ "xz.virgo": "处女",
171
+ "xz.libra": "天秤",
172
+ "xz.scorpio": "天蝎",
173
+ "xz.sagittarius": "射手",
174
+ "xz.capricornus": "摩羯",
175
+ "xz.aquarius": "水瓶",
176
+ "xz.pisces": "双鱼",
177
+ "jq.dongZhi": "冬至",
178
+ "jq.xiaoHan": "小寒",
179
+ "jq.daHan": "大寒",
180
+ "jq.liChun": "立春",
181
+ "jq.yuShui": "雨水",
182
+ "jq.jingZhe": "惊蛰",
183
+ "jq.chunFen": "春分",
184
+ "jq.qingMing": "清明",
185
+ "jq.guYu": "谷雨",
186
+ "jq.liXia": "立夏",
187
+ "jq.xiaoMan": "小满",
188
+ "jq.mangZhong": "芒种",
189
+ "jq.xiaZhi": "夏至",
190
+ "jq.xiaoShu": "小暑",
191
+ "jq.daShu": "大暑",
192
+ "jq.liQiu": "立秋",
193
+ "jq.chuShu": "处暑",
194
+ "jq.baiLu": "白露",
195
+ "jq.qiuFen": "秋分",
196
+ "jq.hanLu": "寒露",
197
+ "jq.shuangJiang": "霜降",
198
+ "jq.liDong": "立冬",
199
+ "jq.xiaoXue": "小雪",
200
+ "jq.daXue": "大雪",
201
+ "jr.chuXi": "除夕",
202
+ "jr.chunJie": "春节",
203
+ "jr.yuanXiao": "元宵节",
204
+ "jr.longTou": "龙头节",
205
+ "jr.duanWu": "端午节",
206
+ "jr.qiXi": "七夕节",
207
+ "jr.zhongQiu": "中秋节",
208
+ "jr.chongYang": "重阳节",
209
+ "jr.laBa": "腊八节",
210
+ "jr.yuanDan": "元旦节",
211
+ "jr.qingRen": "情人节",
212
+ "jr.fuNv": "妇女节",
213
+ "jr.zhiShu": "植树节",
214
+ "jr.xiaoFei": "消费者权益日",
215
+ "jr.wuYi": "劳动节",
216
+ "jr.qingNian": "青年节",
217
+ "jr.erTong": "儿童节",
218
+ "jr.yuRen": "愚人节",
219
+ "jr.jianDang": "建党节",
220
+ "jr.jianJun": "建军节",
221
+ "jr.jiaoShi": "教师节",
222
+ "jr.guoQing": "国庆节",
223
+ "jr.wanShengYe": "万圣节前夜",
224
+ "jr.wanSheng": "万圣节",
225
+ "jr.pingAn": "平安夜",
226
+ "jr.shengDan": "圣诞节",
227
+ "sz.chun": "",
228
+ "sz.xia": "",
229
+ "sz.qiu": "",
230
+ "sz.dong": "",
231
+ "od.first": "",
232
+ "od.second": "",
233
+ "od.third": "",
234
+ "yx.shuo": "",
235
+ "yx.jiShuo": "既朔",
236
+ "yx.eMeiXin": "蛾眉新",
237
+ "yx.eMei": "蛾眉",
238
+ "yx.xi": "",
239
+ "yx.shangXian": "上弦",
240
+ "yx.jiuYe": "九夜",
241
+ "yx.night": "",
242
+ "yx.jianYingTu": "渐盈凸",
243
+ "yx.xiaoWang": "小望",
244
+ "yx.wang": "",
245
+ "yx.jiWang": "既望",
246
+ "yx.liDai": "立待",
247
+ "yx.juDai": "居待",
248
+ "yx.qinDai": "寝待",
249
+ "yx.gengDai": "更待",
250
+ "yx.jianKuiTu": "渐亏凸",
251
+ "yx.xiaXian": "下弦",
252
+ "yx.youMing": "有明",
253
+ "yx.eMeiCan": "蛾眉残",
254
+ "yx.can": "",
255
+ "yx.xiao": "",
256
+ "yx.hui": ""
257
+ };
258
+ }
259
+ static {
260
+ this._OBJS = {
261
+ LunarUtil: z,
262
+ SolarUtil: d
263
+ };
264
+ }
265
+ static {
266
+ this._DICT_STRING = {
267
+ LunarUtil: {
268
+ FESTIVAL: {}
269
+ },
270
+ SolarUtil: {
271
+ FESTIVAL: {}
272
+ }
273
+ };
274
+ }
275
+ static {
276
+ this._DICT_NUMBER = {
277
+ LunarUtil: {
278
+ ZHI_TIAN_SHEN_OFFSET: {},
279
+ CHANG_SHENG_OFFSET: {}
280
+ }
281
+ };
282
+ }
283
+ static {
284
+ this._DICT_ARRAY = {
285
+ LunarUtil: {
286
+ // XXX: {},
287
+ }
288
+ };
289
+ }
290
+ static {
291
+ this._ARRAYS = {
292
+ LunarUtil: {
293
+ GAN: [],
294
+ ZHI: [],
295
+ JIA_ZI: [],
296
+ CHONG_GAN: [],
297
+ CHONG_GAN_TIE: [],
298
+ SHENGXIAO: [],
299
+ NUMBER: [],
300
+ JIE_QI: [],
301
+ JIE_QI_IN_USE: [],
302
+ MONTH: [],
303
+ SEASON: [],
304
+ DAY: [],
305
+ YUE_XIANG: []
306
+ },
307
+ SolarUtil: {
308
+ WEEK: [],
309
+ XINGZUO: []
310
+ }
311
+ };
312
+ }
313
+ static updateArray(i) {
314
+ const t = n._ARRAYS[i], a = n._OBJS[i];
315
+ for (const o in t) {
316
+ const r = t[o];
317
+ for (let e = 0, j = r.length; e < j; e++)
318
+ a[o][e] = r[e].replace(/{(.[^}]*)}/g, (u, s) => n.getMessage(s));
899
319
  }
900
320
  }
901
- static updateStringDictionary(n) {
902
- const a = i._DICT_STRING[n], h = i._OBJS[n];
903
- for (const s in a) {
904
- const e = a[s];
905
- for (const u in e) {
906
- const g = u.replace(/{(.[^}]*)}/g, (j, o) => i.getMessage(o));
907
- h[s][g] = e[u].replace(/{(.[^}]*)}/g, (j, o) => i.getMessage(o));
321
+ static updateStringDictionary(i) {
322
+ const t = n._DICT_STRING[i], a = n._OBJS[i];
323
+ for (const o in t) {
324
+ const r = t[o];
325
+ for (const e in r) {
326
+ const j = e.replace(/{(.[^}]*)}/g, (u, s) => n.getMessage(s));
327
+ a[o][j] = r[e].replace(/{(.[^}]*)}/g, (u, s) => n.getMessage(s));
908
328
  }
909
329
  }
910
330
  }
911
- static updateNumberDictionary(n) {
912
- const a = i._DICT_NUMBER[n], h = i._OBJS[n];
913
- for (const s in a) {
914
- const e = a[s];
915
- for (const u in e) {
916
- const g = u.replace(/{(.[^}]*)}/g, (j, o) => i.getMessage(o));
917
- h[s][g] = e[u];
331
+ static updateNumberDictionary(i) {
332
+ const t = n._DICT_NUMBER[i], a = n._OBJS[i];
333
+ for (const o in t) {
334
+ const r = t[o];
335
+ for (const e in r) {
336
+ const j = e.replace(/{(.[^}]*)}/g, (u, s) => n.getMessage(s));
337
+ a[o][j] = r[e];
918
338
  }
919
339
  }
920
340
  }
921
- static updateArrayDictionary(n) {
922
- const a = i._DICT_ARRAY[n], h = i._OBJS[n];
923
- for (const s in a) {
924
- const e = a[s];
925
- for (const u in e) {
926
- const g = u.replace(/{(.[^}]*)}/g, (o, y) => i.getMessage(y)), j = e[u];
927
- for (let o = 0, y = j.length; o < y; o++)
928
- j[o] = j[o].replace(/{(.[^}]*)}/g, (d, t) => i.getMessage(t));
929
- h[s][g] = j;
341
+ static updateArrayDictionary(i) {
342
+ const t = n._DICT_ARRAY[i], a = n._OBJS[i];
343
+ for (const o in t) {
344
+ const r = t[o];
345
+ for (const e in r) {
346
+ const j = e.replace(/{(.[^}]*)}/g, (s, g) => n.getMessage(g)), u = r[e];
347
+ for (let s = 0, g = u.length; s < g; s++)
348
+ u[s] = u[s].replace(/{(.[^}]*)}/g, (h, c) => n.getMessage(c));
349
+ a[o][j] = u;
930
350
  }
931
351
  }
932
352
  }
933
353
  static update() {
934
- for (const n in i._ARRAYS)
935
- i.updateArray(n);
936
- for (const n in i._DICT_STRING)
937
- i.updateStringDictionary(n);
938
- for (const n in i._DICT_NUMBER)
939
- i.updateNumberDictionary(n);
940
- for (const n in i._DICT_ARRAY)
941
- i.updateArrayDictionary(n);
354
+ for (const i in n._ARRAYS)
355
+ n.updateArray(i);
356
+ for (const i in n._DICT_STRING)
357
+ n.updateStringDictionary(i);
358
+ for (const i in n._DICT_NUMBER)
359
+ n.updateNumberDictionary(i);
360
+ for (const i in n._DICT_ARRAY)
361
+ n.updateArrayDictionary(i);
942
362
  }
943
- static setMessages(n) {
944
- if (n) {
945
- i._MESSAGES ??= {};
946
- for (const a in n)
947
- i._MESSAGES[a] = n[a];
948
- i.update();
363
+ static setMessages(i) {
364
+ if (i) {
365
+ n._MESSAGES ??= {};
366
+ for (const t in i)
367
+ n._MESSAGES[t] = i[t];
368
+ n.update();
949
369
  }
950
370
  }
951
- static getMessage(n) {
952
- let a = i._MESSAGES[n];
953
- return a == null && (a = n), a;
371
+ static getMessage(i) {
372
+ let t = n._MESSAGES[i];
373
+ return t == null && (t = i), t;
954
374
  }
955
- static initArray(n) {
956
- const a = i._ARRAYS[n], h = i._OBJS[n];
957
- for (const s in a) {
958
- a[s].length = 0;
959
- const e = h[s];
960
- for (let u = 0, g = e.length; u < g; u++)
961
- a[s].push(e[u]);
375
+ static initArray(i) {
376
+ const t = n._ARRAYS[i], a = n._OBJS[i];
377
+ for (const o in t) {
378
+ t[o].length = 0;
379
+ const r = a[o];
380
+ for (let e = 0, j = r.length; e < j; e++)
381
+ t[o].push(r[e]);
962
382
  }
963
383
  }
964
- static initArrayDictionary(n) {
965
- const a = i._DICT_ARRAY[n], h = i._OBJS[n];
966
- for (const s in a) {
967
- const e = h[s];
968
- for (const u in e)
969
- a[s][u] = e[u];
384
+ static initArrayDictionary(i) {
385
+ const t = n._DICT_ARRAY[i], a = n._OBJS[i];
386
+ for (const o in t) {
387
+ const r = a[o];
388
+ for (const e in r)
389
+ t[o][e] = r[e];
970
390
  }
971
391
  }
972
- static initStringDictionary(n) {
973
- const a = i._DICT_STRING[n], h = i._OBJS[n];
974
- for (const s in a) {
975
- const e = h[s];
976
- for (const u in e)
977
- a[s][u] = e[u];
392
+ static initStringDictionary(i) {
393
+ const t = n._DICT_STRING[i], a = n._OBJS[i];
394
+ for (const o in t) {
395
+ const r = a[o];
396
+ for (const e in r)
397
+ t[o][e] = r[e];
978
398
  }
979
399
  }
980
- static initNumberDictionary(n) {
981
- const a = i._DICT_NUMBER[n], h = i._OBJS[n];
982
- for (const s in a) {
983
- const e = h[s];
984
- for (const u in e)
985
- a[s][u] = e[u];
400
+ static initNumberDictionary(i) {
401
+ const t = n._DICT_NUMBER[i], a = n._OBJS[i];
402
+ for (const o in t) {
403
+ const r = a[o];
404
+ for (const e in r)
405
+ t[o][e] = r[e];
986
406
  }
987
407
  }
988
408
  static init() {
989
- if (!i._INIT) {
990
- i._INIT = !0;
991
- for (const n in i._ARRAYS)
992
- i.initArray(n);
993
- for (const n in i._DICT_STRING)
994
- i.initStringDictionary(n);
995
- for (const n in i._DICT_NUMBER)
996
- i.initNumberDictionary(n);
997
- for (const n in i._DICT_ARRAY)
998
- i.initArrayDictionary(n);
999
- i.update();
409
+ if (!n._INIT) {
410
+ n._INIT = !0;
411
+ for (const i in n._ARRAYS)
412
+ n.initArray(i);
413
+ for (const i in n._DICT_STRING)
414
+ n.initStringDictionary(i);
415
+ for (const i in n._DICT_NUMBER)
416
+ n.initNumberDictionary(i);
417
+ for (const i in n._DICT_ARRAY)
418
+ n.initArrayDictionary(i);
419
+ n.update();
1000
420
  }
1001
421
  }
1002
422
  }
1003
423
  export {
1004
- i as I18n
424
+ n as I18n
1005
425
  };