@blueking/date-picker 0.0.23 → 0.0.24

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.
@@ -0,0 +1,2704 @@
1
+ import A from "dayjs";
2
+ import { Dayjs as $i, default as Ni } from "dayjs";
3
+ import Ma from "dayjs/plugin/customParseFormat";
4
+ import Na from "dayjs/plugin/localizedFormat";
5
+ import Ea from "dayjs/plugin/timezone";
6
+ import za from "dayjs/plugin/utc";
7
+ import { provide as Ha, inject as Ra, defineComponent as G, openBlock as g, createElementBlock as S, createVNode as w, unref as t, withCtx as C, Fragment as $, renderList as R, createBlock as H, createTextVNode as K, toDisplayString as k, createCommentVNode as da, shallowRef as W, watch as ca, createElementVNode as s, normalizeClass as ea, withModifiers as Sa, ref as B, withDirectives as ia, withKeys as Aa, computed as Z, vShow as fa, KeepAlive as La, resolveDynamicComponent as Ka, onBeforeUnmount as qa, normalizeStyle as Ua } from "vue";
8
+ import aa from "bkui-vue/lib/popover";
9
+ import "bkui-vue/lib/popover/popover.less";
10
+ import { provideGlobalConfig as Fa } from "bkui-vue/lib/config-provider";
11
+ import { clickoutside as ua } from "bkui-vue/lib/directives";
12
+ import { AngleDoubleLeft as Ga, AngleLeft as Pa, AngleRight as Da, AngleDoubleRight as Oa, Close as Ja } from "bkui-vue/lib/icon";
13
+ import "bkui-vue/lib/styles/reset.css";
14
+ import Wa from "dayjs/locale/en";
15
+ import Za from "dayjs/locale/zh-cn";
16
+ import ma from "bkui-vue/lib/button";
17
+ import "bkui-vue/lib/button/button.less";
18
+ import Qa from "bkui-vue/lib/exception";
19
+ import "bkui-vue/lib/exception/exception.less";
20
+ import ga from "bkui-vue/lib/tab";
21
+ import "bkui-vue/lib/tab/tab.less";
22
+ import Xa from "bkui-vue/lib/checkbox";
23
+ import "bkui-vue/lib/checkbox/checkbox.less";
24
+ import Ca from "bkui-vue/lib/input";
25
+ import "bkui-vue/lib/input/input.less";
26
+ import U from "bkui-vue/lib/select";
27
+ import "bkui-vue/lib/select/select.less";
28
+ const ae = (i) => {
29
+ const e = document.cookie.match(new RegExp(`(^| )${i}=([^;]*)(;|$)`));
30
+ return e ? e[2] : "";
31
+ }, J = {
32
+ "option-上周": "Last week",
33
+ "option-上月": "Last month",
34
+ "option-今天": "Today",
35
+ "option-分钟": "minutes",
36
+ "option-前天": "now-2d/d",
37
+ "option-周": "weeks",
38
+ "option-天": "days",
39
+ "option-小时": "hours",
40
+ "option-年": "years",
41
+ "option-昨天": "Yesterday",
42
+ "option-月": "Months",
43
+ "option-本周": "This week",
44
+ "option-本月": "This month",
45
+ "option-秒": "Seconds",
46
+ 上周: "now-1w/w",
47
+ 上月: "now-1M/M",
48
+ 今天: "now/d",
49
+ 分钟: "m",
50
+ 前: "Previous",
51
+ "前 N 周": "Previous N weeks",
52
+ "前 N 天": "Previous N days",
53
+ 前天: "The day before yesterday",
54
+ 周: "w",
55
+ 天: "d",
56
+ 将来: "Future",
57
+ 小时: "h",
58
+ 常用时间: "Common",
59
+ 年: "y",
60
+ 开始时间: "Start Time",
61
+ 支持多种时间格式自动转换: "Support multiple time formats for automatic conversion",
62
+ 整: "whole",
63
+ 无匹配数据: "No matching data",
64
+ 日期选择: "Time Range",
65
+ 时区设置: "Timezone setting",
66
+ 时间格式支持: "Time format support",
67
+ 昨天: "now-1d/d",
68
+ 暂无最近使用记录: "No recent records",
69
+ 最近: "Last",
70
+ 最近使用: "Recently",
71
+ 月: "M",
72
+ 未来: "Future",
73
+ 本周: "now/w",
74
+ 本月: "now/M",
75
+ 查看支持格式: "View supported formats",
76
+ 格式: "Format",
77
+ 此刻: "now",
78
+ 浏览器时间: "Browser time",
79
+ 确定: "Confirm",
80
+ 示例: "Example",
81
+ 秒: "s",
82
+ 结束时间: "End Time",
83
+ 自然日期: "Natural",
84
+ 至今: "so far",
85
+ 请输入: "Please enter",
86
+ "请输入搜索(国家,城市,简称)": "Please enter search (country, city, abbreviation)",
87
+ 近: "Last ",
88
+ "(至今)": "(so far)"
89
+ }, Q = Object.keys(J).reduce((i, e) => (i[J[e]] = e, i), {}), ta = ae("blueking_language") || "zh-cn", l = (i, e = !0) => {
90
+ if (J[i] || console.info(`[i18n] ${i}: ${J[i]}`), ta !== "en")
91
+ return i;
92
+ if (e) {
93
+ const a = J[`option-${i}`];
94
+ return a != null && a.includes("now") ? J[i] : a || J[i];
95
+ }
96
+ return J[i];
97
+ };
98
+ var D = /* @__PURE__ */ ((i) => (i.Date = "date", i.FUTURE = "now+", i.NATURAL = "natural", i.RECENT = "now-", i))(D || {});
99
+ const Va = [
100
+ {
101
+ id: "s",
102
+ name: l("秒")
103
+ },
104
+ {
105
+ id: "m",
106
+ name: l("分钟")
107
+ },
108
+ {
109
+ id: "h",
110
+ name: l("小时")
111
+ },
112
+ {
113
+ id: "d",
114
+ name: l("天")
115
+ },
116
+ {
117
+ id: "w",
118
+ name: l("周")
119
+ },
120
+ {
121
+ id: "M",
122
+ name: l("月")
123
+ },
124
+ {
125
+ id: "y",
126
+ name: l("年")
127
+ }
128
+ ], oa = Va.map((i) => i.id).join("");
129
+ var X = /* @__PURE__ */ ((i) => (i.custom = "custom", i.default = "default", i.edit = "edit", i))(X || {});
130
+ const xa = [
131
+ {
132
+ id: "now/d",
133
+ name: l("今天", !0),
134
+ type: "default"
135
+ /* default */
136
+ },
137
+ {
138
+ id: "now-1d/d",
139
+ name: l("昨天", !0),
140
+ type: "default"
141
+ /* default */
142
+ },
143
+ {
144
+ id: "now-2d/d",
145
+ name: l("前天", !0),
146
+ type: "default"
147
+ /* default */
148
+ },
149
+ {
150
+ id: "now/w",
151
+ name: l("本周", !0),
152
+ type: "default"
153
+ /* default */
154
+ },
155
+ {
156
+ id: "now-1w/w",
157
+ name: l("上周", !0),
158
+ type: "default"
159
+ /* default */
160
+ },
161
+ {
162
+ id: "now/M",
163
+ name: l("本月", !0),
164
+ type: "default"
165
+ /* default */
166
+ },
167
+ {
168
+ id: "now-1M/M",
169
+ name: l("上月", !0),
170
+ type: "default"
171
+ /* default */
172
+ },
173
+ {
174
+ id: "now-nd/d",
175
+ name: l("前 N 天"),
176
+ prefix: l("前"),
177
+ suffix: l("天"),
178
+ type: "edit",
179
+ unit: "d"
180
+ },
181
+ {
182
+ id: "now-nw/w",
183
+ name: l("前 N 周"),
184
+ prefix: l("前"),
185
+ suffix: l("周"),
186
+ type: "edit",
187
+ unit: "w"
188
+ }
189
+ ];
190
+ var la = /* @__PURE__ */ ((i) => (i.ALL = "all", i.NOW = "now", i))(la || {});
191
+ const Ia = [
192
+ {
193
+ id: "all",
194
+ name: l("整")
195
+ },
196
+ {
197
+ id: "now",
198
+ name: l("至今")
199
+ }
200
+ ], ee = [
201
+ {
202
+ id: "common",
203
+ name: l("常用时间")
204
+ },
205
+ {
206
+ id: "recent",
207
+ name: l("最近使用")
208
+ }
209
+ ], ie = [
210
+ {
211
+ id: D.RECENT,
212
+ name: l("最近")
213
+ },
214
+ {
215
+ id: D.FUTURE,
216
+ name: l("未来")
217
+ },
218
+ {
219
+ id: D.NATURAL,
220
+ name: l("自然日期")
221
+ },
222
+ {
223
+ id: D.Date,
224
+ name: l("日期选择")
225
+ }
226
+ ], te = "__bk_time_picker_store__", ne = (i = 1) => `${te}_${i}`, re = [
227
+ "YYYY-MM-DD HH:mm:ss",
228
+ "YYYY-MM-DD HH:mm:ss,SSS",
229
+ "YYYY-MM-DD HH:mm:ss.SSS",
230
+ "YYYY-MM-DD+HH:mm:ss",
231
+ "MM/DD/YYYY HH:mm:ss",
232
+ "YYYYMMDDHHmmss",
233
+ "YYYYMMDD HHmmss",
234
+ "YYYYMMDD HHmmss.SSS",
235
+ "DD/MMM/YYYY:HH:mm:ss",
236
+ "DD/MMM/YYYY:HH:mm:ssZ",
237
+ "DD/MMM/YYYY:HH:mm:ss Z",
238
+ "DD/MMM/YYYY:HH:mm:ssZZ",
239
+ "DD/MMM/YYYY:HH:mm:ss ZZ",
240
+ "YYYY-MM-DDTHH:mm:ss",
241
+ "YYYY-MM-DDTHH:mm:ss.SSS",
242
+ "YYYYMMDDTHHmmssZ",
243
+ "YYYYMMDDTHHmmss.SSSSSSZ",
244
+ "YYYY-MM-DDTHH:mm:ss.SSSZ",
245
+ "YYYY-MM-DDTHH:mm:ssZ",
246
+ "YYYY-MM-DDTHH:mm:ss.SSSSSSZ"
247
+ ], na = new RegExp(`now[+-](\\d+)([${oa}]{1})`), q = new RegExp(`now[+-]?(\\d*)([${oa}]?)\\/([${oa}]?)`), Ta = Symbol("DATE_PICKER_PROVIDER_KEY"), le = (i) => {
248
+ Ha(Ta, i);
249
+ }, Ba = () => Ra(Ta), Ya = (i, e) => {
250
+ if (!sa(i))
251
+ return (i == null ? void 0 : i[0]) || "";
252
+ const [a, d] = i;
253
+ let c = A(a, e);
254
+ c = c.isValid() ? c : A(a);
255
+ let u = A(d, e);
256
+ if (u = u.isValid() ? u : A(d), c.isValid() || u.isValid()) {
257
+ let n = e;
258
+ if (d === "now")
259
+ return `${c.format(e)} ~ ${l("此刻")}`;
260
+ const h = ["Y", "M", "D", "H", "m", "s"].reduce(
261
+ (o, b, f, P) => (f < 1 || (e.indexOf(b) > e.indexOf(P[f - 1]) ? o.push(b) : o = []), o),
262
+ ["Y"]
263
+ );
264
+ if (h.length > 1 && h.includes("D") && c.isSame(u, "year")) {
265
+ const [, o] = e.match(/(Y+)/);
266
+ let b = e.replace(o, c.format(o));
267
+ if (n = n.replace(/Y+[-/\\\s]/, ""), c.isSame(u, "month")) {
268
+ const [, f] = e.match(/(M+)/);
269
+ if (b = b.replace(f, c.format(f)), n = n.replace(/M+[-/\\\s]/, ""), c.isSame(u, "day")) {
270
+ const [, P] = e.match(/(d+|D+)/);
271
+ if (b = b.replace(P, c.format(P)), n = n.replace(/(d|D)+[-/\\\s]/, ""), c.isSame(u, "hour")) {
272
+ const [, j] = e.match(/(H+|h+)/);
273
+ if (b = b.replace(j, c.format(j)), n = n.replace(/[Hh]+[-/\\\s:]/, ""), c.isSame(u, "minute")) {
274
+ const [, N] = e.match(/(m+)/);
275
+ b = b.replace(N, c.format(N)), n = n.replace(/m+[-/\\\s:]/, "");
276
+ }
277
+ }
278
+ }
279
+ }
280
+ return b.replace(
281
+ n,
282
+ `(${c.format(n)} ~ ${u.format(n)})`
283
+ );
284
+ }
285
+ return `${c.format(e)} ~ ${u.format(e)}`;
286
+ }
287
+ if (!a.includes("/") && d === "now" || a === "now") {
288
+ const [, n, h] = (a === "now" ? d : a).match(na) || [];
289
+ return !n || !h ? "" : `${l(a === "now" ? "未来" : "近")}${n}${ta === "en" ? " " : ""}${l(
290
+ Q[h],
291
+ !0
292
+ )}`;
293
+ }
294
+ const _ = d !== "now" ? "" : l("(至今)");
295
+ if (Q[a])
296
+ return l(Q[a].replace("option-", ""), !0) + _;
297
+ const [, m, r] = a.match(q) || [];
298
+ return !m || !r ? "" : `${`${l("前")} ${m} ${l(Q[r], !0)}`}${_}`;
299
+ }, ha = (i) => {
300
+ if (!sa(i))
301
+ return D.RECENT;
302
+ const [e, a] = i, d = A(e), c = A(a);
303
+ return d.isValid() || c.isValid() ? D.Date : !e.includes("/") && a === "now" ? D.RECENT : e === "now" ? D.FUTURE : (e === a || a === "now") && q.test(e) || q.test(e) && q.test(a) ? D.NATURAL : D.Date;
304
+ }, ka = (i) => {
305
+ if (!sa(i))
306
+ return [];
307
+ const [e, a] = i, d = A(e), c = A(a);
308
+ if (d.isValid() || c.isValid())
309
+ return [d, a === "now" ? A() : c];
310
+ if (!e.includes("/") && a === "now") {
311
+ const [, b, f] = e.match(na) || [];
312
+ return !b || !f ? [] : [A().add(-b, f), A()];
313
+ }
314
+ if (e === "now") {
315
+ const [, b, f] = a.match(na) || [];
316
+ return !b || !f ? [] : [A(), A().add(+b, f)];
317
+ }
318
+ const [, u, _, m] = e.match(q) || [];
319
+ if ((!u || !_) && !m)
320
+ return [];
321
+ const r = _ || m, n = A().startOf(r).subtract(+u, _ || m);
322
+ if (a === "now")
323
+ return [n, A()];
324
+ if (e === a)
325
+ return [n, n.endOf(r)];
326
+ const [, h] = a.match(q) || [], o = A().subtract(+h, r).endOf(r);
327
+ return console.info(n.format(), o.format()), [n, o];
328
+ }, sa = (i) => {
329
+ if (!Array.isArray(i) || i.length < 2)
330
+ return !1;
331
+ const [e, a] = i, d = A(e), c = A(a);
332
+ if (d.isValid() || c.isValid())
333
+ return a === "now" ? d.isValid() : d.isValid() && c.isValid();
334
+ if (!e.includes("/") && a === "now" || e === "now") {
335
+ const u = e === "now" ? a : e;
336
+ return na.test(u);
337
+ }
338
+ return a === "now" || e === a ? q.test(e) : q.test(e) && q.test(a);
339
+ }, ce = (i) => {
340
+ const e = localStorage.getItem(i);
341
+ let a = [];
342
+ if (e)
343
+ try {
344
+ a = JSON.parse(e);
345
+ } catch {
346
+ a = [];
347
+ }
348
+ return Array.isArray(a) || (a = []), a;
349
+ }, se = (i, e) => {
350
+ if (!sa(i))
351
+ return;
352
+ let a = [];
353
+ const d = localStorage.getItem(e);
354
+ if (d)
355
+ try {
356
+ a = JSON.parse(d);
357
+ } catch {
358
+ a = [];
359
+ }
360
+ Array.isArray(a) || (a = []), !a.some((c) => c[0] === i[0] && c[1] === i[1]) && (a.unshift(i), localStorage.setItem(e, JSON.stringify(a.slice(0, 10))));
361
+ }, ue = { class: "common-panel-tab" }, _a = /* @__PURE__ */ G({
362
+ __name: "common-tab",
363
+ props: {
364
+ modelValue: {
365
+ required: !0,
366
+ type: String
367
+ },
368
+ /** panels */
369
+ panels: {
370
+ required: !0,
371
+ type: Array
372
+ }
373
+ },
374
+ setup(i) {
375
+ return (e, a) => (g(), S("div", ue, [
376
+ w(t(ga), {
377
+ active: i.modelValue,
378
+ type: "unborder-card",
379
+ "onUpdate:active": a[0] || (a[0] = (d) => e.$emit("update:modelValue", d))
380
+ }, {
381
+ default: C(() => [
382
+ (g(!0), S($, null, R(i.panels, (d) => (g(), H(t(ga).TabPanel, {
383
+ key: d.id,
384
+ name: d.id,
385
+ label: d.name
386
+ }, null, 8, ["name", "label"]))), 128))
387
+ ]),
388
+ _: 1
389
+ }, 8, ["active"])
390
+ ]));
391
+ }
392
+ });
393
+ const ba = /* @__PURE__ */ G({
394
+ __name: "common-submit",
395
+ props: {
396
+ disabled: { type: Boolean }
397
+ },
398
+ emits: ["submit"],
399
+ setup(i) {
400
+ return (e, a) => (g(), S($, null, [
401
+ w(t(ma), {
402
+ class: "common-submit",
403
+ outline: !0,
404
+ theme: "primary",
405
+ disabled: e.disabled,
406
+ onClick: a[0] || (a[0] = (d) => e.$emit("submit"))
407
+ }, {
408
+ default: C(() => [
409
+ K(k(t(l)("确定")), 1)
410
+ ]),
411
+ _: 1
412
+ }, 8, ["disabled"]),
413
+ da("", !0)
414
+ ], 64));
415
+ }
416
+ });
417
+ const oe = { class: "date-panel" }, de = { class: "date-panel-title" }, me = { class: "date-panel-main" }, he = { class: "date-header" }, be = { class: "date-header-left" }, ve = { class: "date-header-center" }, pe = /* @__PURE__ */ s("span", { class: "date-split" }, null, -1), Ae = { class: "date-header-right" }, fe = { class: "date-content" }, ge = { class: "date-grid" }, xe = ["onClick"], ya = 6, ra = 7, wa = /* @__PURE__ */ G({
418
+ __name: "date-panel",
419
+ props: {
420
+ format: { default: "YYYY-MM-DD HH:mm:ss" },
421
+ isNow: { type: Boolean },
422
+ minDate: {},
423
+ modelValue: {}
424
+ },
425
+ emits: ["update:isNow", "update:modelValue"],
426
+ setup(i, { emit: e }) {
427
+ const a = i, d = e, c = ta === "en" ? ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"] : ["日", "一", "二", "三", "四", "五", "六"], u = W([]), _ = A(), m = W(a.modelValue || _);
428
+ ca(m, () => {
429
+ const o = m.value.startOf("month").startOf("week"), b = [];
430
+ for (let f = 0; f < ya * ra; f++)
431
+ b.push(o.add(f, "day"));
432
+ u.value = b;
433
+ }, {
434
+ immediate: !0
435
+ });
436
+ const r = (o) => {
437
+ m.value = m.value.add(o, "month");
438
+ }, n = (o) => {
439
+ m.value = m.value.add(o, "year");
440
+ }, h = (o) => {
441
+ a.minDate && o.isBefore(a.minDate, "day") || d("update:modelValue", o);
442
+ };
443
+ return (o, b) => (g(), S("div", oe, [
444
+ s("div", de, [
445
+ K(k(t(l)("结束时间")) + " ", 1),
446
+ w(t(Xa), {
447
+ size: "small",
448
+ class: "title-check",
449
+ "model-value": a.isNow,
450
+ "onUpdate:modelValue": b[0] || (b[0] = (f) => o.$emit("update:isNow", !f))
451
+ }, {
452
+ default: C(() => [
453
+ K(" now ")
454
+ ]),
455
+ _: 1
456
+ }, 8, ["model-value"])
457
+ ]),
458
+ s("div", me, [
459
+ s("div", he, [
460
+ s("div", be, [
461
+ w(t(Ga), {
462
+ class: "hand-icon",
463
+ onClick: b[1] || (b[1] = (f) => n(-1))
464
+ }),
465
+ w(t(Pa), {
466
+ class: "hand-icon",
467
+ onClick: b[2] || (b[2] = (f) => r(-1))
468
+ })
469
+ ]),
470
+ s("div", ve, [
471
+ K(k(m.value.year()), 1),
472
+ pe,
473
+ K(k(m.value.month() + 1), 1)
474
+ ]),
475
+ s("div", Ae, [
476
+ w(t(Da), {
477
+ class: "hand-icon",
478
+ onClick: b[3] || (b[3] = (f) => r(1))
479
+ }),
480
+ w(t(Oa), {
481
+ class: "hand-icon",
482
+ onClick: b[4] || (b[4] = (f) => n(1))
483
+ })
484
+ ])
485
+ ]),
486
+ s("div", fe, [
487
+ s("ul", ge, [
488
+ (g(!0), S($, null, R(t(c), (f, P) => (g(), S("li", {
489
+ class: "date-grid-item not-click",
490
+ key: P
491
+ }, k(f), 1))), 128))
492
+ ]),
493
+ (g(), S($, null, R(ya, (f) => s("ul", {
494
+ class: "date-grid",
495
+ key: f
496
+ }, [
497
+ (g(!0), S($, null, R(u.value.slice((f - 1) * ra, (f - 1) * ra + ra), (P) => (g(), S("li", {
498
+ class: ea(["date-grid-item", {
499
+ "is-last-month": P.isBefore(m.value, "month"),
500
+ "is-next-month": P.isAfter(m.value, "month"),
501
+ "is-today": P.isSame(t(_), "day"),
502
+ "is-disabled": o.minDate && P.isBefore(o.minDate, "day"),
503
+ "is-selected": a.modelValue && P.isSame(a.modelValue, "day")
504
+ }]),
505
+ key: P.unix(),
506
+ onClick: Sa((j) => h(P), ["prevent"])
507
+ }, k(P.date()), 11, xe))), 128))
508
+ ])), 64))
509
+ ])
510
+ ])
511
+ ]));
512
+ }
513
+ });
514
+ const Ie = { class: "date-wrapper" }, ke = { class: "date-input" }, _e = { class: "date-picker" }, ye = /* @__PURE__ */ s("span", { class: "date-picker-icon" }, [
515
+ /* @__PURE__ */ s("svg", {
516
+ class: "date-content-icon",
517
+ viewBox: "0 0 1024 1024",
518
+ version: "1.1",
519
+ xmlns: "http://www.w3.org/2000/svg",
520
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
521
+ width: "14",
522
+ height: "14"
523
+ }, [
524
+ /* @__PURE__ */ s("path", {
525
+ xmlns: "http://www.w3.org/2000/svg",
526
+ d: "M558.933 465.067h-93.866v93.866h93.866v-93.866z m0 162.133h-93.866v93.867h93.866V627.2z m371.2-533.333h-93.866V21.333c0-12.8-8.534-21.333-21.334-21.333S793.6 8.533 793.6 21.333V89.6H234.667V21.333c0-12.8-12.8-21.333-25.6-21.333s-21.334 8.533-21.334 21.333V89.6H93.867C42.667 93.867 0 136.533 0 187.733V934.4c0 46.933 42.667 89.6 93.867 89.6h836.266c51.2 0 93.867-42.667 93.867-93.867v-742.4c0-51.2-42.667-93.866-93.867-93.866z m46.934 836.266c0 25.6-21.334 46.934-46.934 46.934H93.867c-25.6 0-46.934-21.334-46.934-46.934V371.2h930.134v558.933z m0-605.866H46.933V187.733c0-25.6 21.334-46.933 46.934-46.933h93.866v68.267c0 12.8 8.534 21.333 21.334 21.333s21.333-8.533 21.333-21.333V140.8h558.933v68.267c0 12.8 8.534 21.333 21.334 21.333S832 221.867 832 209.067V140.8h93.867c25.6 0 46.933 21.333 46.933 46.933v136.534h4.267zM789.333 627.2h-93.866v93.867h93.866V627.2z m0-162.133h-93.866v93.866h93.866v-93.866z m-230.4 324.266h-93.866V883.2h93.866v-93.867z m-234.666 0h-89.6V883.2h93.866v-93.867h-4.266z m0-324.266h-89.6v93.866h93.866v-93.866h-4.266z m0 162.133h-89.6v93.867h93.866V627.2h-4.266z",
527
+ fill: "#C4C6CC"
528
+ })
529
+ ])
530
+ ], -1), we = ["placeholder", "value"], Me = /* @__PURE__ */ s("span", { class: "date-picker-split" }, "~", -1), Ee = ["placeholder", "value"], ze = { class: "show-format" }, Se = { class: "date-format-wrapper" }, Pe = { class: "content-title" }, De = { class: "content-table" }, Ce = /* @__PURE__ */ G({
531
+ __name: "date-picker",
532
+ props: {
533
+ value: {}
534
+ },
535
+ emits: ["change"],
536
+ setup(i, { emit: e }) {
537
+ A.extend(Ma);
538
+ const a = i, d = e, c = B(null), u = B(null), _ = B(!1), m = B(!1), r = W(), n = W(), h = B(!1), { format: o } = Ba(), b = A();
539
+ ca(() => a.value, (x) => {
540
+ if (!Array.isArray(x) || x.length < 2)
541
+ return;
542
+ const [I, z] = x, Y = A(I), F = A(z);
543
+ if (!(!Y.isValid() && !F.isValid())) {
544
+ if (Y.isValid()) {
545
+ const O = A(I, o.value);
546
+ r.value = O.isValid() ? O : Y;
547
+ }
548
+ if (z === "now") {
549
+ h.value = !0, n.value = A();
550
+ return;
551
+ }
552
+ if (F.isValid()) {
553
+ const O = A(z, o.value);
554
+ n.value = O.isValid() ? O : F;
555
+ }
556
+ }
557
+ }, {
558
+ immediate: !0
559
+ });
560
+ const f = async (x, I) => {
561
+ var O, va, pa;
562
+ const z = x.target.value.toString().trim();
563
+ if (!z || I === "end" && z === "now" && h.value)
564
+ return;
565
+ if (z === "now" && I === "end") {
566
+ h.value || (h.value = !0, p(A(), !1));
567
+ return;
568
+ }
569
+ const Y = I === "start" ? r.value : n.value, F = A(z);
570
+ F.isValid() && (Y != null && Y.isSame(F) || (I === "start" ? M(F) : (h.value = z === "now", p(F, !!((O = r.value) != null && O.isSame(F)))))), x.target.value = I === "start" ? ((va = r.value) == null ? void 0 : va.format(o.value)) || "" : ((pa = n.value) == null ? void 0 : pa.format(o.value)) || "";
571
+ }, P = () => {
572
+ _.value = !0;
573
+ }, j = () => {
574
+ m.value = !0;
575
+ }, N = (x = 32) => {
576
+ setTimeout(() => _.value = !1, x);
577
+ }, L = (x = 32) => {
578
+ setTimeout(() => m.value = !1, x);
579
+ }, M = (x) => {
580
+ var I;
581
+ r.value = x, n.value || ((I = u.value) == null || I.focus(), j()), N();
582
+ }, p = (x, I = !0) => {
583
+ var z;
584
+ n.value = I ? A(x.endOf("day")) : x, h.value = I ? !1 : h.value, r.value || ((z = c.value) == null || z.focus(), P()), L();
585
+ }, v = () => {
586
+ h.value = !h.value, p(A(), !1), r.value && (_.value = !1);
587
+ }, E = () => {
588
+ r.value = void 0, n.value = void 0, h.value = !1, N(), L();
589
+ }, y = () => {
590
+ var x, I;
591
+ r.value && n.value && d("change", [
592
+ ((x = r.value) == null ? void 0 : x.format(o.value)) || "",
593
+ h.value ? "now" : ((I = n.value) == null ? void 0 : I.format(o.value)) || ""
594
+ ]);
595
+ }, T = (x) => {
596
+ var I;
597
+ _.value && ((I = document.querySelector(".__date-picker-popover-start__")) != null && I.contains(x.target) || N());
598
+ }, V = (x) => {
599
+ var I;
600
+ m.value && ((I = document.querySelector(".__date-picker-popover-end__")) != null && I.contains(x.target) || L());
601
+ };
602
+ return (x, I) => (g(), S("div", Ie, [
603
+ s("div", ke, [
604
+ s("div", _e, [
605
+ ye,
606
+ w(t(aa), {
607
+ trigger: "manual",
608
+ theme: "light",
609
+ placement: "bottom-start",
610
+ boundary: "parent",
611
+ "ext-cls": "__bk-date-picker-popover__ __date-picker-popover-start__",
612
+ arrow: !1,
613
+ "is-show": _.value
614
+ }, {
615
+ content: C(() => [
616
+ w(wa, {
617
+ format: t(o),
618
+ "is-now": h.value,
619
+ key: "start",
620
+ "model-value": r.value,
621
+ "onUpdate:modelValue": M,
622
+ "onUpdate:isNow": v
623
+ }, null, 8, ["format", "is-now", "model-value"])
624
+ ]),
625
+ default: C(() => {
626
+ var z;
627
+ return [
628
+ ia(s("input", {
629
+ ref_key: "startInput",
630
+ ref: c,
631
+ class: "date-picker-start",
632
+ spellcheck: "false",
633
+ placeholder: t(l)("开始时间"),
634
+ value: (z = r.value) == null ? void 0 : z.format(t(o)),
635
+ onClick: P,
636
+ onBlur: I[0] || (I[0] = (Y) => f(Y, "start")),
637
+ onKeypress: I[1] || (I[1] = Aa((Y) => f(Y, "start"), ["enter"]))
638
+ }, null, 40, we), [
639
+ [t(ua), T]
640
+ ])
641
+ ];
642
+ }),
643
+ _: 1
644
+ }, 8, ["is-show"]),
645
+ Me,
646
+ w(t(aa), {
647
+ trigger: "manual",
648
+ theme: "light",
649
+ placement: "bottom-start",
650
+ boundary: "parent",
651
+ "ext-cls": "__bk-date-picker-popover__ __date-picker-popover-end__",
652
+ arrow: !1,
653
+ "is-show": m.value
654
+ }, {
655
+ content: C(() => [
656
+ w(wa, {
657
+ format: t(o),
658
+ "is-now": h.value,
659
+ "min-date": r.value,
660
+ "model-value": n.value,
661
+ key: "end",
662
+ "onUpdate:modelValue": p,
663
+ "onUpdate:isNow": v
664
+ }, null, 8, ["format", "is-now", "min-date", "model-value"])
665
+ ]),
666
+ default: C(() => {
667
+ var z;
668
+ return [
669
+ ia(s("input", {
670
+ ref_key: "endInput",
671
+ ref: u,
672
+ class: "date-picker-end",
673
+ placeholder: t(l)("结束时间"),
674
+ value: h.value ? "now" : (z = n.value) == null ? void 0 : z.format(t(o)),
675
+ onClick: j,
676
+ onBlur: I[2] || (I[2] = (Y) => f(Y, "end")),
677
+ onKeypress: I[3] || (I[3] = Aa((Y) => f(Y, "end"), ["enter"]))
678
+ }, null, 40, Ee), [
679
+ [t(ua), V]
680
+ ])
681
+ ];
682
+ }),
683
+ _: 1
684
+ }, 8, ["is-show"]),
685
+ r.value || n.value ? (g(), H(t(Ja), {
686
+ key: 0,
687
+ class: "date-picker-clear",
688
+ onClick: E
689
+ })) : da("", !0)
690
+ ]),
691
+ w(ba, {
692
+ disabled: !(r.value && n.value),
693
+ onSubmit: y
694
+ }, null, 8, ["disabled"])
695
+ ]),
696
+ s("div", ze, [
697
+ K(k(t(l)("支持多种时间格式自动转换")) + " ", 1),
698
+ w(t(aa), {
699
+ trigger: "click",
700
+ placement: "bottom",
701
+ theme: "light"
702
+ }, {
703
+ content: C(() => [
704
+ s("div", Se, [
705
+ s("div", Pe, k(t(l)("时间格式支持")), 1),
706
+ s("table", De, [
707
+ s("thead", null, [
708
+ s("tr", null, [
709
+ s("th", null, k(t(l)("格式")), 1),
710
+ s("th", null, k(t(l)("示例")), 1)
711
+ ])
712
+ ]),
713
+ s("tbody", null, [
714
+ (g(!0), S($, null, R(t(re), (z) => (g(), S("tr", { key: z }, [
715
+ s("td", null, k(z), 1),
716
+ s("td", null, k(t(b).format(z)), 1)
717
+ ]))), 128))
718
+ ])
719
+ ])
720
+ ])
721
+ ]),
722
+ default: C(() => [
723
+ w(t(ma), {
724
+ text: "",
725
+ theme: "primary",
726
+ class: "format-button"
727
+ }, {
728
+ default: C(() => [
729
+ K(k(t(l)("查看支持格式")), 1)
730
+ ]),
731
+ _: 1
732
+ })
733
+ ]),
734
+ _: 1
735
+ })
736
+ ])
737
+ ]));
738
+ }
739
+ });
740
+ const Ve = { class: "natural-picker" }, Te = ["onClick"], Be = "__", Ye = /* @__PURE__ */ G({
741
+ __name: "natural-picker",
742
+ props: {
743
+ value: {}
744
+ },
745
+ emits: ["change"],
746
+ setup(i, { emit: e }) {
747
+ const a = e, d = i, c = B(), u = W(xa.slice()), _ = B(Ia[0].id), m = B(""), r = B(), n = B(u.value[0]);
748
+ ca(() => d.value, (M) => {
749
+ if (![D.NATURAL].includes(ha(M)))
750
+ return;
751
+ const [p, v] = M;
752
+ _.value = v === "now" ? la.NOW : la.ALL;
753
+ const [, E, y, T] = p.match(q) || [];
754
+ if ((!E || !y) && !T)
755
+ return;
756
+ const V = xa.find((x) => x.id === p && x.type === X.default);
757
+ if (v !== "now" && p !== v && V || !V) {
758
+ const x = `${`${l("前")} ${E} ${l(Q[y], !0)}`}`;
759
+ u.value.unshift({
760
+ id: p,
761
+ name: x,
762
+ type: X.custom
763
+ }), [n.value] = u.value;
764
+ return;
765
+ }
766
+ V && (n.value = V);
767
+ }, {
768
+ immediate: !0
769
+ });
770
+ const h = (M) => `${M.id}${Be}${M.type}`, o = (M) => {
771
+ const p = M.id;
772
+ if (_.value === la.ALL) {
773
+ const [, v, E, y] = p.match(q) || [];
774
+ return +v > 1 ? +v == 2 && E === "d" ? [p, p] : [p, `now-1${E}/${y}`] : [p, p];
775
+ }
776
+ return [p, "now"];
777
+ }, b = (M) => {
778
+ var p;
779
+ if (M.type === X.edit) {
780
+ r.value = "", m.value = M.id, setTimeout(() => {
781
+ var v, E;
782
+ (E = (v = c.value) == null ? void 0 : v.inputRef) == null || E.focus();
783
+ }, 20);
784
+ return;
785
+ }
786
+ n.value = M, m.value = "", (p = c.value) == null || p.hidePopover();
787
+ }, f = (M) => {
788
+ _.value = M;
789
+ }, P = (M, p) => {
790
+ var y, T;
791
+ m.value = "";
792
+ const v = `now-${+M}${p.unit}/${p.unit}`, E = u.value.find((V) => V.id === v);
793
+ if (E) {
794
+ n.value = E, (y = c.value) == null || y.hidePopover();
795
+ return;
796
+ }
797
+ u.value.unshift({
798
+ id: v,
799
+ name: p.name.replace("N", M.toString()),
800
+ type: X.custom
801
+ }), [n.value] = u.value, (T = c.value) == null || T.hidePopover();
802
+ }, j = (M, p) => {
803
+ const v = M.target.value;
804
+ !v || !m.value || P(+v, p);
805
+ }, N = (M, p, v) => {
806
+ M.key !== "Enter" || !m.value || P(p, v);
807
+ }, L = () => {
808
+ a("change", o(n.value));
809
+ };
810
+ return (M, p) => (g(), S("div", Ve, [
811
+ w(t(U), {
812
+ ref_key: "naturalSelectRef",
813
+ ref: c,
814
+ "model-value": h(n.value),
815
+ filterable: "",
816
+ "input-search": !1,
817
+ prefix: t(l)("自然日期"),
818
+ clearable: !1,
819
+ "popover-options": { boundary: "parent" },
820
+ "search-placeholder": t(l)("请输入"),
821
+ "no-match-text": t(l)("无匹配数据")
822
+ }, {
823
+ default: C(() => [
824
+ (g(!0), S($, null, R(u.value, (v) => (g(), H(t(U).Option, {
825
+ id: h(v),
826
+ key: h(v),
827
+ name: v.name
828
+ }, {
829
+ default: C(() => [
830
+ s("div", {
831
+ onClick: p[1] || (p[1] = Sa(() => {
832
+ }, ["prevent", "stop"])),
833
+ style: { width: "100%", padding: "0 12px", margin: "0 -12px" }
834
+ }, [
835
+ m.value === v.id ? (g(), H(t(Ca), {
836
+ key: 0,
837
+ style: { width: "100%" },
838
+ type: "number",
839
+ size: "small",
840
+ prefix: v.prefix,
841
+ suffix: v.suffix,
842
+ clearable: !1,
843
+ autofocus: !0,
844
+ "show-control": !1,
845
+ placeholder: t(l)("请输入"),
846
+ modelValue: r.value,
847
+ "onUpdate:modelValue": p[0] || (p[0] = (E) => r.value = E),
848
+ onBlur: (E) => j(E, v),
849
+ onKeypress: (E, y) => N(y, E, v)
850
+ }, null, 8, ["prefix", "suffix", "placeholder", "modelValue", "onBlur", "onKeypress"])) : (g(), S("div", {
851
+ key: 1,
852
+ onClick: (E) => b(v),
853
+ style: { width: "100%" }
854
+ }, k(v.name), 9, Te))
855
+ ])
856
+ ]),
857
+ _: 2
858
+ }, 1032, ["id", "name"]))), 128))
859
+ ]),
860
+ _: 1
861
+ }, 8, ["model-value", "prefix", "search-placeholder", "no-match-text"]),
862
+ w(t(U), {
863
+ class: "natural-unit",
864
+ "model-value": _.value,
865
+ clearable: !1,
866
+ "popover-options": { boundary: "parent" },
867
+ onChange: f
868
+ }, {
869
+ default: C(() => [
870
+ (g(!0), S($, null, R(t(Ia), (v) => (g(), H(t(U).Option, {
871
+ id: v.id,
872
+ key: v.id,
873
+ name: v.name
874
+ }, null, 8, ["id", "name"]))), 128))
875
+ ]),
876
+ _: 1
877
+ }, 8, ["model-value"]),
878
+ w(ba, { onSubmit: L })
879
+ ]));
880
+ }
881
+ });
882
+ const je = { class: "recent-picker" }, $e = /* @__PURE__ */ G({
883
+ __name: "recent-picker",
884
+ props: {
885
+ type: { default: D.RECENT },
886
+ value: {}
887
+ },
888
+ emits: ["change"],
889
+ setup(i, { emit: e }) {
890
+ const a = e, d = i, c = B("m"), u = B();
891
+ ca(() => d.value, (r) => {
892
+ if (![D.FUTURE, D.RECENT].includes(ha(r)))
893
+ return;
894
+ const [n, h] = r, o = d.type === D.FUTURE ? h : n, [, b, f] = o.match(na) || [];
895
+ c.value = f || "m", u.value = Number(b) || void 0;
896
+ }, {
897
+ immediate: !0
898
+ });
899
+ const _ = Z(() => !!u.value && !!c.value), m = () => {
900
+ if (u.value) {
901
+ if (d.type === D.FUTURE) {
902
+ a("change", ["now", `${D.FUTURE}${u.value}${c.value}`]);
903
+ return;
904
+ }
905
+ a("change", [`${D.RECENT}${u.value}${c.value}`, "now"]);
906
+ }
907
+ };
908
+ return (r, n) => (g(), S("div", je, [
909
+ w(t(Ca), {
910
+ modelValue: u.value,
911
+ "onUpdate:modelValue": n[1] || (n[1] = (h) => u.value = h),
912
+ type: "number",
913
+ prefix: r.type === "now-" ? t(l)("最近") : t(l)("将来"),
914
+ placeholder: t(l)("请输入")
915
+ }, {
916
+ suffix: C(() => [
917
+ w(t(U), {
918
+ class: "recent-unit",
919
+ modelValue: c.value,
920
+ "onUpdate:modelValue": n[0] || (n[0] = (h) => c.value = h),
921
+ filterable: "",
922
+ clearable: !1,
923
+ "popover-options": { boundary: "parent" }
924
+ }, {
925
+ default: C(() => [
926
+ (g(!0), S($, null, R(t(Va), (h) => (g(), H(t(U).Option, {
927
+ id: h.id,
928
+ key: h.id,
929
+ name: h.name
930
+ }, null, 8, ["id", "name"]))), 128))
931
+ ]),
932
+ _: 1
933
+ }, 8, ["modelValue"])
934
+ ]),
935
+ _: 1
936
+ }, 8, ["modelValue", "prefix", "placeholder"]),
937
+ w(ba, {
938
+ disabled: !_.value,
939
+ onSubmit: m
940
+ }, null, 8, ["disabled"])
941
+ ]));
942
+ }
943
+ });
944
+ A.extend(za);
945
+ A.extend(Ea);
946
+ const Ne = [
947
+ // {
948
+ // label: '',
949
+ // options: [
950
+ // { label: 'Browser Time', searchIndex: 'browser time|cst|utc+08:00|china|cn', value: 'browser' },
951
+ // // { label: 'Coordinated Universal Time', searchIndex: 'coordinated universal time|utc, gmt|utc', value: 'utc' },
952
+ // ],
953
+ // },
954
+ {
955
+ label: "Africa",
956
+ options: [
957
+ {
958
+ label: "Africa/Abidjan",
959
+ searchIndex: "africa/abidjan|gmt|utc|burkina faso|bf|cote d'ivoire|ci|ghana|gh|gambia|gm|guinea|gn|iceland|is|mali|ml|mauritania|mr|saint helena|sh|sierra leone|sl|senegal|sn|togo|tg",
960
+ value: "Africa/Abidjan"
961
+ },
962
+ { label: "Africa/Accra", searchIndex: "africa/accra|gmt|utc|ghana|gh", value: "Africa/Accra" },
963
+ {
964
+ label: "Africa/Addis_Ababa",
965
+ searchIndex: "africa/addis_ababa|eat|utc+03:00|ethiopia|et",
966
+ value: "Africa/Addis_Ababa"
967
+ },
968
+ { label: "Africa/Algiers", searchIndex: "africa/algiers|cet|utc+01:00|algeria|dz", value: "Africa/Algiers" },
969
+ { label: "Africa/Asmara", searchIndex: "africa/asmara|eat|utc+03:00|eritrea|er", value: "Africa/Asmara" },
970
+ { label: "Africa/Bamako", searchIndex: "africa/bamako|gmt|utc|mali|ml", value: "Africa/Bamako" },
971
+ {
972
+ label: "Africa/Bangui",
973
+ searchIndex: "africa/bangui|wat|utc+01:00|central african republic|cf",
974
+ value: "Africa/Bangui"
975
+ },
976
+ { label: "Africa/Banjul", searchIndex: "africa/banjul|gmt|utc|gambia|gm", value: "Africa/Banjul" },
977
+ { label: "Africa/Bissau", searchIndex: "africa/bissau|gmt|utc|guinea-bissau|gw", value: "Africa/Bissau" },
978
+ { label: "Africa/Blantyre", searchIndex: "africa/blantyre|cat|utc+02:00|malawi|mw", value: "Africa/Blantyre" },
979
+ {
980
+ label: "Africa/Brazzaville",
981
+ searchIndex: "africa/brazzaville|wat|utc+01:00|congo|cg",
982
+ value: "Africa/Brazzaville"
983
+ },
984
+ {
985
+ label: "Africa/Bujumbura",
986
+ searchIndex: "africa/bujumbura|cat|utc+02:00|burundi|bi",
987
+ value: "Africa/Bujumbura"
988
+ },
989
+ { label: "Africa/Cairo", searchIndex: "africa/cairo|eest|utc+03:00|egypt|eg", value: "Africa/Cairo" },
990
+ {
991
+ label: "Africa/Casablanca",
992
+ searchIndex: "africa/casablanca||utc+01:00|morocco|ma",
993
+ value: "Africa/Casablanca"
994
+ },
995
+ { label: "Africa/Ceuta", searchIndex: "africa/ceuta|cest|utc+02:00|spain|es", value: "Africa/Ceuta" },
996
+ { label: "Africa/Conakry", searchIndex: "africa/conakry|gmt|utc|guinea|gn", value: "Africa/Conakry" },
997
+ { label: "Africa/Dakar", searchIndex: "africa/dakar|gmt|utc|senegal|sn", value: "Africa/Dakar" },
998
+ {
999
+ label: "Africa/Dar_es_Salaam",
1000
+ searchIndex: "africa/dar_es_salaam|eat|utc+03:00|tanzania|tz",
1001
+ value: "Africa/Dar_es_Salaam"
1002
+ },
1003
+ { label: "Africa/Djibouti", searchIndex: "africa/djibouti|eat|utc+03:00|djibouti|dj", value: "Africa/Djibouti" },
1004
+ { label: "Africa/Douala", searchIndex: "africa/douala|wat|utc+01:00|cameroon|cm", value: "Africa/Douala" },
1005
+ {
1006
+ label: "Africa/El_Aaiun",
1007
+ searchIndex: "africa/el_aaiun||utc+01:00|western sahara|eh",
1008
+ value: "Africa/El_Aaiun"
1009
+ },
1010
+ { label: "Africa/Freetown", searchIndex: "africa/freetown|gmt|utc|sierra leone|sl", value: "Africa/Freetown" },
1011
+ { label: "Africa/Gaborone", searchIndex: "africa/gaborone|cat|utc+02:00|botswana|bw", value: "Africa/Gaborone" },
1012
+ { label: "Africa/Harare", searchIndex: "africa/harare|cat|utc+02:00|zimbabwe|zw", value: "Africa/Harare" },
1013
+ {
1014
+ label: "Africa/Johannesburg",
1015
+ searchIndex: "africa/johannesburg|sast|utc+02:00|lesotho|ls|swaziland|sz|south africa|za",
1016
+ value: "Africa/Johannesburg"
1017
+ },
1018
+ { label: "Africa/Kampala", searchIndex: "africa/kampala|eat|utc+03:00|uganda|ug", value: "Africa/Kampala" },
1019
+ { label: "Africa/Khartoum", searchIndex: "africa/khartoum|cat|utc+02:00|sudan|sd", value: "Africa/Khartoum" },
1020
+ { label: "Africa/Kigali", searchIndex: "africa/kigali|cat|utc+02:00|rwanda|rw", value: "Africa/Kigali" },
1021
+ {
1022
+ label: "Africa/Kinshasa",
1023
+ searchIndex: "africa/kinshasa|wat|utc+01:00|congo, democratic republic|cd",
1024
+ value: "Africa/Kinshasa"
1025
+ },
1026
+ {
1027
+ label: "Africa/Lagos",
1028
+ searchIndex: "africa/lagos|wat|utc+01:00|angola|ao|benin|bj|congo, democratic republic|cd|central african republic|cf|congo|cg|cameroon|cm|gabon|ga|equatorial guinea|gq|niger|ne|nigeria|ng",
1029
+ value: "Africa/Lagos"
1030
+ },
1031
+ {
1032
+ label: "Africa/Libreville",
1033
+ searchIndex: "africa/libreville|wat|utc+01:00|gabon|ga",
1034
+ value: "Africa/Libreville"
1035
+ },
1036
+ { label: "Africa/Lome", searchIndex: "africa/lome|gmt|utc|togo|tg", value: "Africa/Lome" },
1037
+ { label: "Africa/Luanda", searchIndex: "africa/luanda|wat|utc+01:00|angola|ao", value: "Africa/Luanda" },
1038
+ {
1039
+ label: "Africa/Lubumbashi",
1040
+ searchIndex: "africa/lubumbashi|cat|utc+02:00|congo, democratic republic|cd",
1041
+ value: "Africa/Lubumbashi"
1042
+ },
1043
+ { label: "Africa/Lusaka", searchIndex: "africa/lusaka|cat|utc+02:00|zambia|zm", value: "Africa/Lusaka" },
1044
+ {
1045
+ label: "Africa/Malabo",
1046
+ searchIndex: "africa/malabo|wat|utc+01:00|equatorial guinea|gq",
1047
+ value: "Africa/Malabo"
1048
+ },
1049
+ {
1050
+ label: "Africa/Maputo",
1051
+ searchIndex: "africa/maputo|cat|utc+02:00|burundi|bi|botswana|bw|congo, democratic republic|cd|malawi|mw|mozambique|mz|rwanda|rw|zambia|zm|zimbabwe|zw",
1052
+ value: "Africa/Maputo"
1053
+ },
1054
+ { label: "Africa/Maseru", searchIndex: "africa/maseru|sast|utc+02:00|lesotho|ls", value: "Africa/Maseru" },
1055
+ { label: "Africa/Mbabane", searchIndex: "africa/mbabane|sast|utc+02:00|swaziland|sz", value: "Africa/Mbabane" },
1056
+ {
1057
+ label: "Africa/Mogadishu",
1058
+ searchIndex: "africa/mogadishu|eat|utc+03:00|somalia|so",
1059
+ value: "Africa/Mogadishu"
1060
+ },
1061
+ { label: "Africa/Monrovia", searchIndex: "africa/monrovia|gmt|utc|liberia|lr", value: "Africa/Monrovia" },
1062
+ {
1063
+ label: "Africa/Nairobi",
1064
+ searchIndex: "africa/nairobi|eat|utc+03:00|djibouti|dj|eritrea|er|ethiopia|et|kenya|ke|comoros|km|madagascar|mg|somalia|so|tanzania|tz|uganda|ug|mayotte|yt",
1065
+ value: "Africa/Nairobi"
1066
+ },
1067
+ { label: "Africa/Ndjamena", searchIndex: "africa/ndjamena|wat|utc+01:00|chad|td", value: "Africa/Ndjamena" },
1068
+ { label: "Africa/Niamey", searchIndex: "africa/niamey|wat|utc+01:00|niger|ne", value: "Africa/Niamey" },
1069
+ {
1070
+ label: "Africa/Nouakchott",
1071
+ searchIndex: "africa/nouakchott|gmt|utc|mauritania|mr",
1072
+ value: "Africa/Nouakchott"
1073
+ },
1074
+ {
1075
+ label: "Africa/Ouagadougou",
1076
+ searchIndex: "africa/ouagadougou|gmt|utc|burkina faso|bf",
1077
+ value: "Africa/Ouagadougou"
1078
+ },
1079
+ {
1080
+ label: "Africa/Porto-Novo",
1081
+ searchIndex: "africa/porto-novo|wat|utc+01:00|benin|bj",
1082
+ value: "Africa/Porto-Novo"
1083
+ },
1084
+ {
1085
+ label: "Africa/Sao_Tome",
1086
+ searchIndex: "africa/sao_tome|gmt|utc|sao tome and principe|st",
1087
+ value: "Africa/Sao_Tome"
1088
+ },
1089
+ {
1090
+ label: "Africa/Tripoli",
1091
+ searchIndex: "africa/tripoli|eet|utc+02:00|libyan arab jamahiriya|ly",
1092
+ value: "Africa/Tripoli"
1093
+ },
1094
+ { label: "Africa/Tunis", searchIndex: "africa/tunis|cet|utc+01:00|tunisia|tn", value: "Africa/Tunis" },
1095
+ { label: "Africa/Windhoek", searchIndex: "africa/windhoek|cat|utc+02:00|namibia|na", value: "Africa/Windhoek" }
1096
+ ]
1097
+ },
1098
+ {
1099
+ label: "America",
1100
+ options: [
1101
+ { label: "America/Adak", searchIndex: "america/adak|hdt|utc-09:00|united states|us", value: "America/Adak" },
1102
+ {
1103
+ label: "America/Anchorage",
1104
+ searchIndex: "america/anchorage|akdt|utc-08:00|united states|us",
1105
+ value: "America/Anchorage"
1106
+ },
1107
+ {
1108
+ label: "America/Anguilla",
1109
+ searchIndex: "america/anguilla|ast|utc-04:00|anguilla|ai",
1110
+ value: "America/Anguilla"
1111
+ },
1112
+ {
1113
+ label: "America/Antigua",
1114
+ searchIndex: "america/antigua|ast|utc-04:00|antigua and barbuda|ag",
1115
+ value: "America/Antigua"
1116
+ },
1117
+ { label: "America/Araguaina", searchIndex: "america/araguaina||utc-03:00|brazil|br", value: "America/Araguaina" },
1118
+ {
1119
+ label: "America/Argentina/Buenos_Aires",
1120
+ searchIndex: "america/argentina/buenos_aires||utc-03:00|argentina|ar",
1121
+ value: "America/Argentina/Buenos_Aires"
1122
+ },
1123
+ {
1124
+ label: "America/Argentina/Catamarca",
1125
+ searchIndex: "america/argentina/catamarca||utc-03:00|argentina|ar",
1126
+ value: "America/Argentina/Catamarca"
1127
+ },
1128
+ {
1129
+ label: "America/Argentina/Cordoba",
1130
+ searchIndex: "america/argentina/cordoba||utc-03:00|argentina|ar",
1131
+ value: "America/Argentina/Cordoba"
1132
+ },
1133
+ {
1134
+ label: "America/Argentina/Jujuy",
1135
+ searchIndex: "america/argentina/jujuy||utc-03:00|argentina|ar",
1136
+ value: "America/Argentina/Jujuy"
1137
+ },
1138
+ {
1139
+ label: "America/Argentina/La_Rioja",
1140
+ searchIndex: "america/argentina/la_rioja||utc-03:00|argentina|ar",
1141
+ value: "America/Argentina/La_Rioja"
1142
+ },
1143
+ {
1144
+ label: "America/Argentina/Mendoza",
1145
+ searchIndex: "america/argentina/mendoza||utc-03:00|argentina|ar",
1146
+ value: "America/Argentina/Mendoza"
1147
+ },
1148
+ {
1149
+ label: "America/Argentina/Rio_Gallegos",
1150
+ searchIndex: "america/argentina/rio_gallegos||utc-03:00|argentina|ar",
1151
+ value: "America/Argentina/Rio_Gallegos"
1152
+ },
1153
+ {
1154
+ label: "America/Argentina/Salta",
1155
+ searchIndex: "america/argentina/salta||utc-03:00|argentina|ar",
1156
+ value: "America/Argentina/Salta"
1157
+ },
1158
+ {
1159
+ label: "America/Argentina/San_Juan",
1160
+ searchIndex: "america/argentina/san_juan||utc-03:00|argentina|ar",
1161
+ value: "America/Argentina/San_Juan"
1162
+ },
1163
+ {
1164
+ label: "America/Argentina/San_Luis",
1165
+ searchIndex: "america/argentina/san_luis||utc-03:00|argentina|ar",
1166
+ value: "America/Argentina/San_Luis"
1167
+ },
1168
+ {
1169
+ label: "America/Argentina/Tucuman",
1170
+ searchIndex: "america/argentina/tucuman||utc-03:00|argentina|ar",
1171
+ value: "America/Argentina/Tucuman"
1172
+ },
1173
+ {
1174
+ label: "America/Argentina/Ushuaia",
1175
+ searchIndex: "america/argentina/ushuaia||utc-03:00|argentina|ar",
1176
+ value: "America/Argentina/Ushuaia"
1177
+ },
1178
+ { label: "America/Aruba", searchIndex: "america/aruba|ast|utc-04:00|aruba|aw", value: "America/Aruba" },
1179
+ { label: "America/Asuncion", searchIndex: "america/asuncion||utc-03:00|paraguay|py", value: "America/Asuncion" },
1180
+ { label: "America/Atikokan", searchIndex: "america/atikokan|est|utc-05:00|canada|ca", value: "America/Atikokan" },
1181
+ { label: "America/Bahia", searchIndex: "america/bahia||utc-03:00|brazil|br", value: "America/Bahia" },
1182
+ {
1183
+ label: "America/Bahia_Banderas",
1184
+ searchIndex: "america/bahia_banderas|cst|utc-06:00|mexico|mx",
1185
+ value: "America/Bahia_Banderas"
1186
+ },
1187
+ {
1188
+ label: "America/Barbados",
1189
+ searchIndex: "america/barbados|ast|utc-04:00|barbados|bb",
1190
+ value: "America/Barbados"
1191
+ },
1192
+ { label: "America/Belem", searchIndex: "america/belem||utc-03:00|brazil|br", value: "America/Belem" },
1193
+ { label: "America/Belize", searchIndex: "america/belize|cst|utc-06:00|belize|bz", value: "America/Belize" },
1194
+ {
1195
+ label: "America/Blanc-Sablon",
1196
+ searchIndex: "america/blanc-sablon|ast|utc-04:00|canada|ca",
1197
+ value: "America/Blanc-Sablon"
1198
+ },
1199
+ { label: "America/Boa_Vista", searchIndex: "america/boa_vista||utc-04:00|brazil|br", value: "America/Boa_Vista" },
1200
+ { label: "America/Bogota", searchIndex: "america/bogota||utc-05:00|colombia|co", value: "America/Bogota" },
1201
+ { label: "America/Boise", searchIndex: "america/boise|mdt|utc-06:00|united states|us", value: "America/Boise" },
1202
+ {
1203
+ label: "America/Cambridge_Bay",
1204
+ searchIndex: "america/cambridge_bay|mdt|utc-06:00|canada|ca",
1205
+ value: "America/Cambridge_Bay"
1206
+ },
1207
+ {
1208
+ label: "America/Campo_Grande",
1209
+ searchIndex: "america/campo_grande||utc-04:00|brazil|br",
1210
+ value: "America/Campo_Grande"
1211
+ },
1212
+ { label: "America/Cancun", searchIndex: "america/cancun|est|utc-05:00|mexico|mx", value: "America/Cancun" },
1213
+ { label: "America/Caracas", searchIndex: "america/caracas||utc-04:00|venezuela|ve", value: "America/Caracas" },
1214
+ {
1215
+ label: "America/Cayenne",
1216
+ searchIndex: "america/cayenne||utc-03:00|french guiana|gf",
1217
+ value: "America/Cayenne"
1218
+ },
1219
+ {
1220
+ label: "America/Cayman",
1221
+ searchIndex: "america/cayman|est|utc-05:00|cayman islands|ky",
1222
+ value: "America/Cayman"
1223
+ },
1224
+ {
1225
+ label: "America/Chicago",
1226
+ searchIndex: "america/chicago|cdt|utc-05:00|united states|us",
1227
+ value: "America/Chicago"
1228
+ },
1229
+ {
1230
+ label: "America/Chihuahua",
1231
+ searchIndex: "america/chihuahua|cst|utc-06:00|mexico|mx",
1232
+ value: "America/Chihuahua"
1233
+ },
1234
+ {
1235
+ label: "America/Ciudad_Juarez",
1236
+ searchIndex: "america/ciudad_juarez|mdt|utc-06:00|mexico|mx",
1237
+ value: "America/Ciudad_Juarez"
1238
+ },
1239
+ {
1240
+ label: "America/Costa_Rica",
1241
+ searchIndex: "america/costa_rica|cst|utc-06:00|costa rica|cr",
1242
+ value: "America/Costa_Rica"
1243
+ },
1244
+ { label: "America/Creston", searchIndex: "america/creston|mst|utc-07:00|canada|ca", value: "America/Creston" },
1245
+ { label: "America/Cuiaba", searchIndex: "america/cuiaba||utc-04:00|brazil|br", value: "America/Cuiaba" },
1246
+ {
1247
+ label: "America/Danmarkshavn",
1248
+ searchIndex: "america/danmarkshavn|gmt|utc|greenland|gl",
1249
+ value: "America/Danmarkshavn"
1250
+ },
1251
+ { label: "America/Dawson", searchIndex: "america/dawson|mst|utc-07:00|canada|ca", value: "America/Dawson" },
1252
+ {
1253
+ label: "America/Dawson_Creek",
1254
+ searchIndex: "america/dawson_creek|mst|utc-07:00|canada|ca",
1255
+ value: "America/Dawson_Creek"
1256
+ },
1257
+ {
1258
+ label: "America/Denver",
1259
+ searchIndex: "america/denver|mdt|utc-06:00|united states|us",
1260
+ value: "America/Denver"
1261
+ },
1262
+ {
1263
+ label: "America/Detroit",
1264
+ searchIndex: "america/detroit|edt|utc-04:00|united states|us",
1265
+ value: "America/Detroit"
1266
+ },
1267
+ {
1268
+ label: "America/Dominica",
1269
+ searchIndex: "america/dominica|ast|utc-04:00|dominica|dm",
1270
+ value: "America/Dominica"
1271
+ },
1272
+ { label: "America/Edmonton", searchIndex: "america/edmonton|mdt|utc-06:00|canada|ca", value: "America/Edmonton" },
1273
+ { label: "America/Eirunepe", searchIndex: "america/eirunepe||utc-05:00|brazil|br", value: "America/Eirunepe" },
1274
+ {
1275
+ label: "America/El_Salvador",
1276
+ searchIndex: "america/el_salvador|cst|utc-06:00|el salvador|sv",
1277
+ value: "America/El_Salvador"
1278
+ },
1279
+ {
1280
+ label: "America/Fort_Nelson",
1281
+ searchIndex: "america/fort_nelson|mst|utc-07:00|canada|ca",
1282
+ value: "America/Fort_Nelson"
1283
+ },
1284
+ { label: "America/Fortaleza", searchIndex: "america/fortaleza||utc-03:00|brazil|br", value: "America/Fortaleza" },
1285
+ {
1286
+ label: "America/Glace_Bay",
1287
+ searchIndex: "america/glace_bay|adt|utc-03:00|canada|ca",
1288
+ value: "America/Glace_Bay"
1289
+ },
1290
+ {
1291
+ label: "America/Goose_Bay",
1292
+ searchIndex: "america/goose_bay|adt|utc-03:00|canada|ca",
1293
+ value: "America/Goose_Bay"
1294
+ },
1295
+ {
1296
+ label: "America/Grand_Turk",
1297
+ searchIndex: "america/grand_turk|edt|utc-04:00|turks and caicos islands|tc",
1298
+ value: "America/Grand_Turk"
1299
+ },
1300
+ { label: "America/Grenada", searchIndex: "america/grenada|ast|utc-04:00|grenada|gd", value: "America/Grenada" },
1301
+ {
1302
+ label: "America/Guadeloupe",
1303
+ searchIndex: "america/guadeloupe|ast|utc-04:00|guadeloupe|gp",
1304
+ value: "America/Guadeloupe"
1305
+ },
1306
+ {
1307
+ label: "America/Guatemala",
1308
+ searchIndex: "america/guatemala|cst|utc-06:00|guatemala|gt",
1309
+ value: "America/Guatemala"
1310
+ },
1311
+ {
1312
+ label: "America/Guayaquil",
1313
+ searchIndex: "america/guayaquil||utc-05:00|ecuador|ec",
1314
+ value: "America/Guayaquil"
1315
+ },
1316
+ { label: "America/Guyana", searchIndex: "america/guyana||utc-04:00|guyana|gy", value: "America/Guyana" },
1317
+ { label: "America/Halifax", searchIndex: "america/halifax|adt|utc-03:00|canada|ca", value: "America/Halifax" },
1318
+ { label: "America/Havana", searchIndex: "america/havana|cdt|utc-04:00|cuba|cu", value: "America/Havana" },
1319
+ {
1320
+ label: "America/Hermosillo",
1321
+ searchIndex: "america/hermosillo|mst|utc-07:00|mexico|mx",
1322
+ value: "America/Hermosillo"
1323
+ },
1324
+ {
1325
+ label: "America/Indiana/Indianapolis",
1326
+ searchIndex: "america/indiana/indianapolis|edt|utc-04:00|united states|us",
1327
+ value: "America/Indiana/Indianapolis"
1328
+ },
1329
+ {
1330
+ label: "America/Indiana/Knox",
1331
+ searchIndex: "america/indiana/knox|cdt|utc-05:00|united states|us",
1332
+ value: "America/Indiana/Knox"
1333
+ },
1334
+ {
1335
+ label: "America/Indiana/Marengo",
1336
+ searchIndex: "america/indiana/marengo|edt|utc-04:00|united states|us",
1337
+ value: "America/Indiana/Marengo"
1338
+ },
1339
+ {
1340
+ label: "America/Indiana/Petersburg",
1341
+ searchIndex: "america/indiana/petersburg|edt|utc-04:00|united states|us",
1342
+ value: "America/Indiana/Petersburg"
1343
+ },
1344
+ {
1345
+ label: "America/Indiana/Tell_City",
1346
+ searchIndex: "america/indiana/tell_city|cdt|utc-05:00|united states|us",
1347
+ value: "America/Indiana/Tell_City"
1348
+ },
1349
+ {
1350
+ label: "America/Indiana/Vevay",
1351
+ searchIndex: "america/indiana/vevay|edt|utc-04:00|united states|us",
1352
+ value: "America/Indiana/Vevay"
1353
+ },
1354
+ {
1355
+ label: "America/Indiana/Vincennes",
1356
+ searchIndex: "america/indiana/vincennes|edt|utc-04:00|united states|us",
1357
+ value: "America/Indiana/Vincennes"
1358
+ },
1359
+ {
1360
+ label: "America/Indiana/Winamac",
1361
+ searchIndex: "america/indiana/winamac|edt|utc-04:00|united states|us",
1362
+ value: "America/Indiana/Winamac"
1363
+ },
1364
+ { label: "America/Inuvik", searchIndex: "america/inuvik|mdt|utc-06:00|canada|ca", value: "America/Inuvik" },
1365
+ { label: "America/Iqaluit", searchIndex: "america/iqaluit|edt|utc-04:00|canada|ca", value: "America/Iqaluit" },
1366
+ { label: "America/Jamaica", searchIndex: "america/jamaica|est|utc-05:00|jamaica|jm", value: "America/Jamaica" },
1367
+ {
1368
+ label: "America/Juneau",
1369
+ searchIndex: "america/juneau|akdt|utc-08:00|united states|us",
1370
+ value: "America/Juneau"
1371
+ },
1372
+ {
1373
+ label: "America/Kentucky/Louisville",
1374
+ searchIndex: "america/kentucky/louisville|edt|utc-04:00|united states|us",
1375
+ value: "America/Kentucky/Louisville"
1376
+ },
1377
+ {
1378
+ label: "America/Kentucky/Monticello",
1379
+ searchIndex: "america/kentucky/monticello|edt|utc-04:00|united states|us",
1380
+ value: "America/Kentucky/Monticello"
1381
+ },
1382
+ { label: "America/La_Paz", searchIndex: "america/la_paz||utc-04:00|bolivia|bo", value: "America/La_Paz" },
1383
+ { label: "America/Lima", searchIndex: "america/lima||utc-05:00|peru|pe", value: "America/Lima" },
1384
+ {
1385
+ label: "America/Los_Angeles",
1386
+ searchIndex: "america/los_angeles|pdt|utc-07:00|united states|us",
1387
+ value: "America/Los_Angeles"
1388
+ },
1389
+ { label: "America/Maceio", searchIndex: "america/maceio||utc-03:00|brazil|br", value: "America/Maceio" },
1390
+ { label: "America/Managua", searchIndex: "america/managua|cst|utc-06:00|nicaragua|ni", value: "America/Managua" },
1391
+ { label: "America/Manaus", searchIndex: "america/manaus||utc-04:00|brazil|br", value: "America/Manaus" },
1392
+ {
1393
+ label: "America/Marigot",
1394
+ searchIndex: "america/marigot|ast|utc-04:00|saint martin|mf",
1395
+ value: "America/Marigot"
1396
+ },
1397
+ {
1398
+ label: "America/Martinique",
1399
+ searchIndex: "america/martinique|ast|utc-04:00|martinique|mq",
1400
+ value: "America/Martinique"
1401
+ },
1402
+ {
1403
+ label: "America/Matamoros",
1404
+ searchIndex: "america/matamoros|cdt|utc-05:00|mexico|mx",
1405
+ value: "America/Matamoros"
1406
+ },
1407
+ { label: "America/Mazatlan", searchIndex: "america/mazatlan|mst|utc-07:00|mexico|mx", value: "America/Mazatlan" },
1408
+ {
1409
+ label: "America/Menominee",
1410
+ searchIndex: "america/menominee|cdt|utc-05:00|united states|us",
1411
+ value: "America/Menominee"
1412
+ },
1413
+ { label: "America/Merida", searchIndex: "america/merida|cst|utc-06:00|mexico|mx", value: "America/Merida" },
1414
+ {
1415
+ label: "America/Metlakatla",
1416
+ searchIndex: "america/metlakatla|akdt|utc-08:00|united states|us",
1417
+ value: "America/Metlakatla"
1418
+ },
1419
+ {
1420
+ label: "America/Mexico_City",
1421
+ searchIndex: "america/mexico_city|cst|utc-06:00|mexico|mx",
1422
+ value: "America/Mexico_City"
1423
+ },
1424
+ {
1425
+ label: "America/Miquelon",
1426
+ searchIndex: "america/miquelon||utc-02:00|saint pierre and miquelon|pm",
1427
+ value: "America/Miquelon"
1428
+ },
1429
+ { label: "America/Moncton", searchIndex: "america/moncton|adt|utc-03:00|canada|ca", value: "America/Moncton" },
1430
+ {
1431
+ label: "America/Monterrey",
1432
+ searchIndex: "america/monterrey|cst|utc-06:00|mexico|mx",
1433
+ value: "America/Monterrey"
1434
+ },
1435
+ {
1436
+ label: "America/Montevideo",
1437
+ searchIndex: "america/montevideo||utc-03:00|uruguay|uy",
1438
+ value: "America/Montevideo"
1439
+ },
1440
+ {
1441
+ label: "America/Montserrat",
1442
+ searchIndex: "america/montserrat|ast|utc-04:00|montserrat|ms",
1443
+ value: "America/Montserrat"
1444
+ },
1445
+ { label: "America/Nassau", searchIndex: "america/nassau|edt|utc-04:00|bahamas|bs", value: "America/Nassau" },
1446
+ {
1447
+ label: "America/New_York",
1448
+ searchIndex: "america/new_york|edt|utc-04:00|united states|us",
1449
+ value: "America/New_York"
1450
+ },
1451
+ { label: "America/Nome", searchIndex: "america/nome|akdt|utc-08:00|united states|us", value: "America/Nome" },
1452
+ { label: "America/Noronha", searchIndex: "america/noronha||utc-02:00|brazil|br", value: "America/Noronha" },
1453
+ {
1454
+ label: "America/North_Dakota/Beulah",
1455
+ searchIndex: "america/north_dakota/beulah|cdt|utc-05:00|united states|us",
1456
+ value: "America/North_Dakota/Beulah"
1457
+ },
1458
+ {
1459
+ label: "America/North_Dakota/Center",
1460
+ searchIndex: "america/north_dakota/center|cdt|utc-05:00|united states|us",
1461
+ value: "America/North_Dakota/Center"
1462
+ },
1463
+ {
1464
+ label: "America/North_Dakota/New_Salem",
1465
+ searchIndex: "america/north_dakota/new_salem|cdt|utc-05:00|united states|us",
1466
+ value: "America/North_Dakota/New_Salem"
1467
+ },
1468
+ { label: "America/Nuuk", searchIndex: "america/nuuk||utc-02:00|greenland|gl", value: "America/Nuuk" },
1469
+ { label: "America/Ojinaga", searchIndex: "america/ojinaga|cdt|utc-05:00|mexico|mx", value: "America/Ojinaga" },
1470
+ {
1471
+ label: "America/Panama",
1472
+ searchIndex: "america/panama|est|utc-05:00|canada|ca|cayman islands|ky|panama|pa",
1473
+ value: "America/Panama"
1474
+ },
1475
+ {
1476
+ label: "America/Paramaribo",
1477
+ searchIndex: "america/paramaribo||utc-03:00|suriname|sr",
1478
+ value: "America/Paramaribo"
1479
+ },
1480
+ {
1481
+ label: "America/Phoenix",
1482
+ searchIndex: "america/phoenix|mst|utc-07:00|canada|ca|united states|us",
1483
+ value: "America/Phoenix"
1484
+ },
1485
+ {
1486
+ label: "America/Port-au-Prince",
1487
+ searchIndex: "america/port-au-prince|edt|utc-04:00|haiti|ht",
1488
+ value: "America/Port-au-Prince"
1489
+ },
1490
+ {
1491
+ label: "America/Port_of_Spain",
1492
+ searchIndex: "america/port_of_spain|ast|utc-04:00|trinidad and tobago|tt",
1493
+ value: "America/Port_of_Spain"
1494
+ },
1495
+ {
1496
+ label: "America/Porto_Velho",
1497
+ searchIndex: "america/porto_velho||utc-04:00|brazil|br",
1498
+ value: "America/Porto_Velho"
1499
+ },
1500
+ {
1501
+ label: "America/Puerto_Rico",
1502
+ searchIndex: "america/puerto_rico|ast|utc-04:00|antigua and barbuda|ag|anguilla|ai|aruba|aw|saint barthelemy|bl|canada|ca|dominica|dm|grenada|gd|guadeloupe|gp|saint kitts and nevis|kn|saint lucia|lc|saint martin|mf|montserrat|ms|puerto rico|pr|trinidad and tobago|tt|saint vincent and grenadines|vc|virgin islands, british|vg|virgin islands, u.s.|vi",
1503
+ value: "America/Puerto_Rico"
1504
+ },
1505
+ {
1506
+ label: "America/Punta_Arenas",
1507
+ searchIndex: "america/punta_arenas||utc-03:00|chile|cl",
1508
+ value: "America/Punta_Arenas"
1509
+ },
1510
+ {
1511
+ label: "America/Rankin_Inlet",
1512
+ searchIndex: "america/rankin_inlet|cdt|utc-05:00|canada|ca",
1513
+ value: "America/Rankin_Inlet"
1514
+ },
1515
+ { label: "America/Recife", searchIndex: "america/recife||utc-03:00|brazil|br", value: "America/Recife" },
1516
+ { label: "America/Regina", searchIndex: "america/regina|cst|utc-06:00|canada|ca", value: "America/Regina" },
1517
+ { label: "America/Resolute", searchIndex: "america/resolute|cdt|utc-05:00|canada|ca", value: "America/Resolute" },
1518
+ {
1519
+ label: "America/Rio_Branco",
1520
+ searchIndex: "america/rio_branco||utc-05:00|brazil|br",
1521
+ value: "America/Rio_Branco"
1522
+ },
1523
+ { label: "America/Santarem", searchIndex: "america/santarem||utc-03:00|brazil|br", value: "America/Santarem" },
1524
+ { label: "America/Santiago", searchIndex: "america/santiago||utc-03:00|chile|cl", value: "America/Santiago" },
1525
+ {
1526
+ label: "America/Santo_Domingo",
1527
+ searchIndex: "america/santo_domingo|ast|utc-04:00|dominican republic|do",
1528
+ value: "America/Santo_Domingo"
1529
+ },
1530
+ { label: "America/Sao_Paulo", searchIndex: "america/sao_paulo||utc-03:00|brazil|br", value: "America/Sao_Paulo" },
1531
+ {
1532
+ label: "America/Scoresbysund",
1533
+ searchIndex: "america/scoresbysund||utc|greenland|gl",
1534
+ value: "America/Scoresbysund"
1535
+ },
1536
+ { label: "America/Sitka", searchIndex: "america/sitka|akdt|utc-08:00|united states|us", value: "America/Sitka" },
1537
+ {
1538
+ label: "America/St_Barthelemy",
1539
+ searchIndex: "america/st_barthelemy|ast|utc-04:00|saint barthelemy|bl",
1540
+ value: "America/St_Barthelemy"
1541
+ },
1542
+ { label: "America/St_Johns", searchIndex: "america/st_johns|ndt|utc-02:30|canada|ca", value: "America/St_Johns" },
1543
+ {
1544
+ label: "America/St_Kitts",
1545
+ searchIndex: "america/st_kitts|ast|utc-04:00|saint kitts and nevis|kn",
1546
+ value: "America/St_Kitts"
1547
+ },
1548
+ {
1549
+ label: "America/St_Lucia",
1550
+ searchIndex: "america/st_lucia|ast|utc-04:00|saint lucia|lc",
1551
+ value: "America/St_Lucia"
1552
+ },
1553
+ {
1554
+ label: "America/St_Thomas",
1555
+ searchIndex: "america/st_thomas|ast|utc-04:00|virgin islands, u.s.|vi",
1556
+ value: "America/St_Thomas"
1557
+ },
1558
+ {
1559
+ label: "America/St_Vincent",
1560
+ searchIndex: "america/st_vincent|ast|utc-04:00|saint vincent and grenadines|vc",
1561
+ value: "America/St_Vincent"
1562
+ },
1563
+ {
1564
+ label: "America/Swift_Current",
1565
+ searchIndex: "america/swift_current|cst|utc-06:00|canada|ca",
1566
+ value: "America/Swift_Current"
1567
+ },
1568
+ {
1569
+ label: "America/Tegucigalpa",
1570
+ searchIndex: "america/tegucigalpa|cst|utc-06:00|honduras|hn",
1571
+ value: "America/Tegucigalpa"
1572
+ },
1573
+ { label: "America/Thule", searchIndex: "america/thule|adt|utc-03:00|greenland|gl", value: "America/Thule" },
1574
+ { label: "America/Tijuana", searchIndex: "america/tijuana|pdt|utc-07:00|mexico|mx", value: "America/Tijuana" },
1575
+ {
1576
+ label: "America/Toronto",
1577
+ searchIndex: "america/toronto|edt|utc-04:00|bahamas|bs|canada|ca",
1578
+ value: "America/Toronto"
1579
+ },
1580
+ {
1581
+ label: "America/Tortola",
1582
+ searchIndex: "america/tortola|ast|utc-04:00|virgin islands, british|vg",
1583
+ value: "America/Tortola"
1584
+ },
1585
+ {
1586
+ label: "America/Vancouver",
1587
+ searchIndex: "america/vancouver|pdt|utc-07:00|canada|ca",
1588
+ value: "America/Vancouver"
1589
+ },
1590
+ {
1591
+ label: "America/Whitehorse",
1592
+ searchIndex: "america/whitehorse|mst|utc-07:00|canada|ca",
1593
+ value: "America/Whitehorse"
1594
+ },
1595
+ { label: "America/Winnipeg", searchIndex: "america/winnipeg|cdt|utc-05:00|canada|ca", value: "America/Winnipeg" },
1596
+ {
1597
+ label: "America/Yakutat",
1598
+ searchIndex: "america/yakutat|akdt|utc-08:00|united states|us",
1599
+ value: "America/Yakutat"
1600
+ }
1601
+ ]
1602
+ },
1603
+ {
1604
+ label: "Antarctica",
1605
+ options: [
1606
+ {
1607
+ label: "Antarctica/Casey",
1608
+ searchIndex: "antarctica/casey||utc+11:00|antarctica|aq",
1609
+ value: "Antarctica/Casey"
1610
+ },
1611
+ {
1612
+ label: "Antarctica/Davis",
1613
+ searchIndex: "antarctica/davis||utc+07:00|antarctica|aq",
1614
+ value: "Antarctica/Davis"
1615
+ },
1616
+ {
1617
+ label: "Antarctica/DumontDUrville",
1618
+ searchIndex: "antarctica/dumontdurville||utc+10:00|antarctica|aq",
1619
+ value: "Antarctica/DumontDUrville"
1620
+ },
1621
+ {
1622
+ label: "Antarctica/Macquarie",
1623
+ searchIndex: "antarctica/macquarie|aedt|utc+11:00|australia|au",
1624
+ value: "Antarctica/Macquarie"
1625
+ },
1626
+ {
1627
+ label: "Antarctica/Mawson",
1628
+ searchIndex: "antarctica/mawson||utc+05:00|antarctica|aq",
1629
+ value: "Antarctica/Mawson"
1630
+ },
1631
+ {
1632
+ label: "Antarctica/McMurdo",
1633
+ searchIndex: "antarctica/mcmurdo|nzdt|utc+13:00|antarctica|aq",
1634
+ value: "Antarctica/McMurdo"
1635
+ },
1636
+ {
1637
+ label: "Antarctica/Palmer",
1638
+ searchIndex: "antarctica/palmer||utc-03:00|antarctica|aq",
1639
+ value: "Antarctica/Palmer"
1640
+ },
1641
+ {
1642
+ label: "Antarctica/Rothera",
1643
+ searchIndex: "antarctica/rothera||utc-03:00|antarctica|aq",
1644
+ value: "Antarctica/Rothera"
1645
+ },
1646
+ {
1647
+ label: "Antarctica/Syowa",
1648
+ searchIndex: "antarctica/syowa||utc+03:00|antarctica|aq",
1649
+ value: "Antarctica/Syowa"
1650
+ },
1651
+ {
1652
+ label: "Antarctica/Troll",
1653
+ searchIndex: "antarctica/troll||utc+02:00|antarctica|aq",
1654
+ value: "Antarctica/Troll"
1655
+ },
1656
+ {
1657
+ label: "Antarctica/Vostok",
1658
+ searchIndex: "antarctica/vostok||utc+06:00|antarctica|aq",
1659
+ value: "Antarctica/Vostok"
1660
+ }
1661
+ ]
1662
+ },
1663
+ {
1664
+ label: "Arctic",
1665
+ options: [
1666
+ {
1667
+ label: "Arctic/Longyearbyen",
1668
+ searchIndex: "arctic/longyearbyen|cest|utc+02:00|svalbard and jan mayen|sj",
1669
+ value: "Arctic/Longyearbyen"
1670
+ }
1671
+ ]
1672
+ },
1673
+ {
1674
+ label: "Asia",
1675
+ options: [
1676
+ { label: "Asia/Aden", searchIndex: "asia/aden||utc+03:00|yemen|ye", value: "Asia/Aden" },
1677
+ { label: "Asia/Almaty", searchIndex: "asia/almaty||utc+06:00|kazakhstan|kz", value: "Asia/Almaty" },
1678
+ { label: "Asia/Amman", searchIndex: "asia/amman||utc+03:00|jordan|jo", value: "Asia/Amman" },
1679
+ { label: "Asia/Anadyr", searchIndex: "asia/anadyr||utc+12:00|russian federation|ru", value: "Asia/Anadyr" },
1680
+ { label: "Asia/Aqtau", searchIndex: "asia/aqtau||utc+05:00|kazakhstan|kz", value: "Asia/Aqtau" },
1681
+ { label: "Asia/Aqtobe", searchIndex: "asia/aqtobe||utc+05:00|kazakhstan|kz", value: "Asia/Aqtobe" },
1682
+ { label: "Asia/Ashgabat", searchIndex: "asia/ashgabat||utc+05:00|turkmenistan|tm", value: "Asia/Ashgabat" },
1683
+ { label: "Asia/Atyrau", searchIndex: "asia/atyrau||utc+05:00|kazakhstan|kz", value: "Asia/Atyrau" },
1684
+ { label: "Asia/Baghdad", searchIndex: "asia/baghdad||utc+03:00|iraq|iq", value: "Asia/Baghdad" },
1685
+ { label: "Asia/Bahrain", searchIndex: "asia/bahrain||utc+03:00|bahrain|bh", value: "Asia/Bahrain" },
1686
+ { label: "Asia/Baku", searchIndex: "asia/baku||utc+04:00|azerbaijan|az", value: "Asia/Baku" },
1687
+ {
1688
+ label: "Asia/Bangkok",
1689
+ searchIndex: "asia/bangkok||utc+07:00|christmas island|cx|cambodia|kh|lao people's democratic republic|la|thailand|th|viet nam|vn",
1690
+ value: "Asia/Bangkok"
1691
+ },
1692
+ { label: "Asia/Barnaul", searchIndex: "asia/barnaul||utc+07:00|russian federation|ru", value: "Asia/Barnaul" },
1693
+ { label: "Asia/Beirut", searchIndex: "asia/beirut|eest|utc+03:00|lebanon|lb", value: "Asia/Beirut" },
1694
+ { label: "Asia/Bishkek", searchIndex: "asia/bishkek||utc+06:00|kyrgyzstan|kg", value: "Asia/Bishkek" },
1695
+ { label: "Asia/Brunei", searchIndex: "asia/brunei||utc+08:00|brunei darussalam|bn", value: "Asia/Brunei" },
1696
+ { label: "Asia/Chita", searchIndex: "asia/chita||utc+09:00|russian federation|ru", value: "Asia/Chita" },
1697
+ { label: "Asia/Choibalsan", searchIndex: "asia/choibalsan||utc+08:00|mongolia|mn", value: "Asia/Choibalsan" },
1698
+ { label: "Asia/Colombo", searchIndex: "asia/colombo||utc+05:30|sri lanka|lk", value: "Asia/Colombo" },
1699
+ {
1700
+ label: "Asia/Damascus",
1701
+ searchIndex: "asia/damascus||utc+03:00|syrian arab republic|sy",
1702
+ value: "Asia/Damascus"
1703
+ },
1704
+ { label: "Asia/Dhaka", searchIndex: "asia/dhaka||utc+06:00|bangladesh|bd", value: "Asia/Dhaka" },
1705
+ { label: "Asia/Dili", searchIndex: "asia/dili||utc+09:00|timor-leste|tl", value: "Asia/Dili" },
1706
+ {
1707
+ label: "Asia/Dubai",
1708
+ searchIndex: "asia/dubai||utc+04:00|united arab emirates|ae|oman|om|reunion|re|seychelles|sc|french southern territories|tf",
1709
+ value: "Asia/Dubai"
1710
+ },
1711
+ { label: "Asia/Dushanbe", searchIndex: "asia/dushanbe||utc+05:00|tajikistan|tj", value: "Asia/Dushanbe" },
1712
+ { label: "Asia/Famagusta", searchIndex: "asia/famagusta|eest|utc+03:00|cyprus|cy", value: "Asia/Famagusta" },
1713
+ { label: "Asia/Gaza", searchIndex: "asia/gaza|eest|utc+03:00|palestine, state of|ps", value: "Asia/Gaza" },
1714
+ { label: "Asia/Hebron", searchIndex: "asia/hebron|eest|utc+03:00|palestine, state of|ps", value: "Asia/Hebron" },
1715
+ { label: "Asia/Ho_Chi_Minh", searchIndex: "asia/ho_chi_minh||utc+07:00|viet nam|vn", value: "Asia/Ho_Chi_Minh" },
1716
+ { label: "Asia/Hong_Kong", searchIndex: "asia/hong_kong|hkt|utc+08:00|hong kong|hk", value: "Asia/Hong_Kong" },
1717
+ { label: "Asia/Hovd", searchIndex: "asia/hovd||utc+07:00|mongolia|mn", value: "Asia/Hovd" },
1718
+ { label: "Asia/Irkutsk", searchIndex: "asia/irkutsk||utc+08:00|russian federation|ru", value: "Asia/Irkutsk" },
1719
+ { label: "Asia/Jakarta", searchIndex: "asia/jakarta|wib|utc+07:00|indonesia|id", value: "Asia/Jakarta" },
1720
+ { label: "Asia/Jayapura", searchIndex: "asia/jayapura|wit|utc+09:00|indonesia|id", value: "Asia/Jayapura" },
1721
+ { label: "Asia/Jerusalem", searchIndex: "asia/jerusalem|idt|utc+03:00|israel|il", value: "Asia/Jerusalem" },
1722
+ { label: "Asia/Kabul", searchIndex: "asia/kabul||utc+04:30|afghanistan|af", value: "Asia/Kabul" },
1723
+ {
1724
+ label: "Asia/Kamchatka",
1725
+ searchIndex: "asia/kamchatka||utc+12:00|russian federation|ru",
1726
+ value: "Asia/Kamchatka"
1727
+ },
1728
+ { label: "Asia/Karachi", searchIndex: "asia/karachi|pkt|utc+05:00|pakistan|pk", value: "Asia/Karachi" },
1729
+ { label: "Asia/Kathmandu", searchIndex: "asia/kathmandu||utc+05:45|nepal|np", value: "Asia/Kathmandu" },
1730
+ { label: "Asia/Khandyga", searchIndex: "asia/khandyga||utc+09:00|russian federation|ru", value: "Asia/Khandyga" },
1731
+ { label: "Asia/Kolkata", searchIndex: "asia/kolkata|ist|utc+05:30|india|in", value: "Asia/Kolkata" },
1732
+ {
1733
+ label: "Asia/Krasnoyarsk",
1734
+ searchIndex: "asia/krasnoyarsk||utc+07:00|russian federation|ru",
1735
+ value: "Asia/Krasnoyarsk"
1736
+ },
1737
+ {
1738
+ label: "Asia/Kuala_Lumpur",
1739
+ searchIndex: "asia/kuala_lumpur||utc+08:00|malaysia|my",
1740
+ value: "Asia/Kuala_Lumpur"
1741
+ },
1742
+ {
1743
+ label: "Asia/Kuching",
1744
+ searchIndex: "asia/kuching||utc+08:00|brunei darussalam|bn|malaysia|my",
1745
+ value: "Asia/Kuching"
1746
+ },
1747
+ { label: "Asia/Kuwait", searchIndex: "asia/kuwait||utc+03:00|kuwait|kw", value: "Asia/Kuwait" },
1748
+ { label: "Asia/Macau", searchIndex: "asia/macau|cst|utc+08:00|macao|mo", value: "Asia/Macau" },
1749
+ { label: "Asia/Magadan", searchIndex: "asia/magadan||utc+11:00|russian federation|ru", value: "Asia/Magadan" },
1750
+ { label: "Asia/Makassar", searchIndex: "asia/makassar|wita|utc+08:00|indonesia|id", value: "Asia/Makassar" },
1751
+ { label: "Asia/Manila", searchIndex: "asia/manila|pst|utc+08:00|philippines|ph", value: "Asia/Manila" },
1752
+ { label: "Asia/Muscat", searchIndex: "asia/muscat||utc+04:00|oman|om", value: "Asia/Muscat" },
1753
+ { label: "Asia/Nicosia", searchIndex: "asia/nicosia|eest|utc+03:00|cyprus|cy", value: "Asia/Nicosia" },
1754
+ {
1755
+ label: "Asia/Novokuznetsk",
1756
+ searchIndex: "asia/novokuznetsk||utc+07:00|russian federation|ru",
1757
+ value: "Asia/Novokuznetsk"
1758
+ },
1759
+ {
1760
+ label: "Asia/Novosibirsk",
1761
+ searchIndex: "asia/novosibirsk||utc+07:00|russian federation|ru",
1762
+ value: "Asia/Novosibirsk"
1763
+ },
1764
+ { label: "Asia/Omsk", searchIndex: "asia/omsk||utc+06:00|russian federation|ru", value: "Asia/Omsk" },
1765
+ { label: "Asia/Oral", searchIndex: "asia/oral||utc+05:00|kazakhstan|kz", value: "Asia/Oral" },
1766
+ { label: "Asia/Phnom_Penh", searchIndex: "asia/phnom_penh||utc+07:00|cambodia|kh", value: "Asia/Phnom_Penh" },
1767
+ { label: "Asia/Pontianak", searchIndex: "asia/pontianak|wib|utc+07:00|indonesia|id", value: "Asia/Pontianak" },
1768
+ { label: "Asia/Qatar", searchIndex: "asia/qatar||utc+03:00|bahrain|bh|qatar|qa", value: "Asia/Qatar" },
1769
+ { label: "Asia/Qostanay", searchIndex: "asia/qostanay||utc+06:00|kazakhstan|kz", value: "Asia/Qostanay" },
1770
+ { label: "Asia/Qyzylorda", searchIndex: "asia/qyzylorda||utc+05:00|kazakhstan|kz", value: "Asia/Qyzylorda" },
1771
+ {
1772
+ label: "Asia/Riyadh",
1773
+ searchIndex: "asia/riyadh||utc+03:00|antarctica|aq|kuwait|kw|saudi arabia|sa|yemen|ye",
1774
+ value: "Asia/Riyadh"
1775
+ },
1776
+ { label: "Asia/Sakhalin", searchIndex: "asia/sakhalin||utc+11:00|russian federation|ru", value: "Asia/Sakhalin" },
1777
+ { label: "Asia/Samarkand", searchIndex: "asia/samarkand||utc+05:00|uzbekistan|uz", value: "Asia/Samarkand" },
1778
+ { label: "Asia/Seoul", searchIndex: "asia/seoul|kst|utc+09:00|korea|kr", value: "Asia/Seoul" },
1779
+ { label: "Asia/Shanghai", searchIndex: "asia/shanghai|cst|utc+08:00|china|cn", value: "Asia/Shanghai" },
1780
+ {
1781
+ label: "Asia/Singapore",
1782
+ searchIndex: "asia/singapore||utc+08:00|malaysia|my|singapore|sg",
1783
+ value: "Asia/Singapore"
1784
+ },
1785
+ {
1786
+ label: "Asia/Srednekolymsk",
1787
+ searchIndex: "asia/srednekolymsk||utc+11:00|russian federation|ru",
1788
+ value: "Asia/Srednekolymsk"
1789
+ },
1790
+ { label: "Asia/Taipei", searchIndex: "asia/taipei|cst|utc+08:00|taiwan|tw", value: "Asia/Taipei" },
1791
+ { label: "Asia/Tashkent", searchIndex: "asia/tashkent||utc+05:00|uzbekistan|uz", value: "Asia/Tashkent" },
1792
+ { label: "Asia/Tbilisi", searchIndex: "asia/tbilisi||utc+04:00|georgia|ge", value: "Asia/Tbilisi" },
1793
+ {
1794
+ label: "Asia/Tehran",
1795
+ searchIndex: "asia/tehran||utc+03:30|iran (islamic republic of)|ir",
1796
+ value: "Asia/Tehran"
1797
+ },
1798
+ { label: "Asia/Thimphu", searchIndex: "asia/thimphu||utc+06:00|bhutan|bt", value: "Asia/Thimphu" },
1799
+ { label: "Asia/Tokyo", searchIndex: "asia/tokyo|jst|utc+09:00|japan|jp", value: "Asia/Tokyo" },
1800
+ { label: "Asia/Tomsk", searchIndex: "asia/tomsk||utc+07:00|russian federation|ru", value: "Asia/Tomsk" },
1801
+ { label: "Asia/Ulaanbaatar", searchIndex: "asia/ulaanbaatar||utc+08:00|mongolia|mn", value: "Asia/Ulaanbaatar" },
1802
+ { label: "Asia/Urumqi", searchIndex: "asia/urumqi||utc+06:00|antarctica|aq|china|cn", value: "Asia/Urumqi" },
1803
+ { label: "Asia/Ust-Nera", searchIndex: "asia/ust-nera||utc+10:00|russian federation|ru", value: "Asia/Ust-Nera" },
1804
+ {
1805
+ label: "Asia/Vientiane",
1806
+ searchIndex: "asia/vientiane||utc+07:00|lao people's democratic republic|la",
1807
+ value: "Asia/Vientiane"
1808
+ },
1809
+ {
1810
+ label: "Asia/Vladivostok",
1811
+ searchIndex: "asia/vladivostok||utc+10:00|russian federation|ru",
1812
+ value: "Asia/Vladivostok"
1813
+ },
1814
+ { label: "Asia/Yakutsk", searchIndex: "asia/yakutsk||utc+09:00|russian federation|ru", value: "Asia/Yakutsk" },
1815
+ {
1816
+ label: "Asia/Yangon",
1817
+ searchIndex: "asia/yangon||utc+06:30|cocos (keeling) islands|cc|myanmar|mm",
1818
+ value: "Asia/Yangon"
1819
+ },
1820
+ {
1821
+ label: "Asia/Yekaterinburg",
1822
+ searchIndex: "asia/yekaterinburg||utc+05:00|russian federation|ru",
1823
+ value: "Asia/Yekaterinburg"
1824
+ },
1825
+ { label: "Asia/Yerevan", searchIndex: "asia/yerevan||utc+04:00|armenia|am", value: "Asia/Yerevan" }
1826
+ ]
1827
+ },
1828
+ {
1829
+ label: "Atlantic",
1830
+ options: [
1831
+ { label: "Atlantic/Azores", searchIndex: "atlantic/azores||utc|portugal|pt", value: "Atlantic/Azores" },
1832
+ {
1833
+ label: "Atlantic/Bermuda",
1834
+ searchIndex: "atlantic/bermuda|adt|utc-03:00|bermuda|bm",
1835
+ value: "Atlantic/Bermuda"
1836
+ },
1837
+ { label: "Atlantic/Canary", searchIndex: "atlantic/canary|west|utc+01:00|spain|es", value: "Atlantic/Canary" },
1838
+ {
1839
+ label: "Atlantic/Cape_Verde",
1840
+ searchIndex: "atlantic/cape_verde||utc-01:00|cape verde|cv",
1841
+ value: "Atlantic/Cape_Verde"
1842
+ },
1843
+ {
1844
+ label: "Atlantic/Faroe",
1845
+ searchIndex: "atlantic/faroe|west|utc+01:00|faroe islands|fo",
1846
+ value: "Atlantic/Faroe"
1847
+ },
1848
+ {
1849
+ label: "Atlantic/Madeira",
1850
+ searchIndex: "atlantic/madeira|west|utc+01:00|portugal|pt",
1851
+ value: "Atlantic/Madeira"
1852
+ },
1853
+ {
1854
+ label: "Atlantic/Reykjavik",
1855
+ searchIndex: "atlantic/reykjavik|gmt|utc|iceland|is",
1856
+ value: "Atlantic/Reykjavik"
1857
+ },
1858
+ {
1859
+ label: "Atlantic/South_Georgia",
1860
+ searchIndex: "atlantic/south_georgia||utc-02:00|south georgia and sandwich isl.|gs",
1861
+ value: "Atlantic/South_Georgia"
1862
+ },
1863
+ {
1864
+ label: "Atlantic/St_Helena",
1865
+ searchIndex: "atlantic/st_helena|gmt|utc|saint helena|sh",
1866
+ value: "Atlantic/St_Helena"
1867
+ },
1868
+ {
1869
+ label: "Atlantic/Stanley",
1870
+ searchIndex: "atlantic/stanley||utc-03:00|falkland islands (malvinas)|fk",
1871
+ value: "Atlantic/Stanley"
1872
+ }
1873
+ ]
1874
+ },
1875
+ {
1876
+ label: "Australia",
1877
+ options: [
1878
+ {
1879
+ label: "Australia/Adelaide",
1880
+ searchIndex: "australia/adelaide|acdt|utc+10:30|australia|au",
1881
+ value: "Australia/Adelaide"
1882
+ },
1883
+ {
1884
+ label: "Australia/Brisbane",
1885
+ searchIndex: "australia/brisbane|aest|utc+10:00|australia|au",
1886
+ value: "Australia/Brisbane"
1887
+ },
1888
+ {
1889
+ label: "Australia/Broken_Hill",
1890
+ searchIndex: "australia/broken_hill|acdt|utc+10:30|australia|au",
1891
+ value: "Australia/Broken_Hill"
1892
+ },
1893
+ {
1894
+ label: "Australia/Darwin",
1895
+ searchIndex: "australia/darwin|acst|utc+09:30|australia|au",
1896
+ value: "Australia/Darwin"
1897
+ },
1898
+ { label: "Australia/Eucla", searchIndex: "australia/eucla||utc+08:45|australia|au", value: "Australia/Eucla" },
1899
+ {
1900
+ label: "Australia/Hobart",
1901
+ searchIndex: "australia/hobart|aedt|utc+11:00|australia|au",
1902
+ value: "Australia/Hobart"
1903
+ },
1904
+ {
1905
+ label: "Australia/Lindeman",
1906
+ searchIndex: "australia/lindeman|aest|utc+10:00|australia|au",
1907
+ value: "Australia/Lindeman"
1908
+ },
1909
+ {
1910
+ label: "Australia/Lord_Howe",
1911
+ searchIndex: "australia/lord_howe||utc+11:00|australia|au",
1912
+ value: "Australia/Lord_Howe"
1913
+ },
1914
+ {
1915
+ label: "Australia/Melbourne",
1916
+ searchIndex: "australia/melbourne|aedt|utc+11:00|australia|au",
1917
+ value: "Australia/Melbourne"
1918
+ },
1919
+ {
1920
+ label: "Australia/Perth",
1921
+ searchIndex: "australia/perth|awst|utc+08:00|australia|au",
1922
+ value: "Australia/Perth"
1923
+ },
1924
+ {
1925
+ label: "Australia/Sydney",
1926
+ searchIndex: "australia/sydney|aedt|utc+11:00|australia|au",
1927
+ value: "Australia/Sydney"
1928
+ }
1929
+ ]
1930
+ },
1931
+ {
1932
+ label: "Europe",
1933
+ options: [
1934
+ {
1935
+ label: "Europe/Amsterdam",
1936
+ searchIndex: "europe/amsterdam|cest|utc+02:00|netherlands|nl",
1937
+ value: "Europe/Amsterdam"
1938
+ },
1939
+ { label: "Europe/Andorra", searchIndex: "europe/andorra|cest|utc+02:00|andorra|ad", value: "Europe/Andorra" },
1940
+ {
1941
+ label: "Europe/Astrakhan",
1942
+ searchIndex: "europe/astrakhan||utc+04:00|russian federation|ru",
1943
+ value: "Europe/Astrakhan"
1944
+ },
1945
+ { label: "Europe/Athens", searchIndex: "europe/athens|eest|utc+03:00|greece|gr", value: "Europe/Athens" },
1946
+ {
1947
+ label: "Europe/Belgrade",
1948
+ searchIndex: "europe/belgrade|cest|utc+02:00|bosnia and herzegovina|ba|croatia|hr|montenegro|me|macedonia|mk|serbia|rs|slovenia|si",
1949
+ value: "Europe/Belgrade"
1950
+ },
1951
+ {
1952
+ label: "Europe/Berlin",
1953
+ searchIndex: "europe/berlin|cest|utc+02:00|germany|de|denmark|dk|norway|no|sweden|se|svalbard and jan mayen|sj",
1954
+ value: "Europe/Berlin"
1955
+ },
1956
+ {
1957
+ label: "Europe/Bratislava",
1958
+ searchIndex: "europe/bratislava|cest|utc+02:00|slovakia|sk",
1959
+ value: "Europe/Bratislava"
1960
+ },
1961
+ {
1962
+ label: "Europe/Brussels",
1963
+ searchIndex: "europe/brussels|cest|utc+02:00|belgium|be|luxembourg|lu|netherlands|nl",
1964
+ value: "Europe/Brussels"
1965
+ },
1966
+ {
1967
+ label: "Europe/Bucharest",
1968
+ searchIndex: "europe/bucharest|eest|utc+03:00|romania|ro",
1969
+ value: "Europe/Bucharest"
1970
+ },
1971
+ { label: "Europe/Budapest", searchIndex: "europe/budapest|cest|utc+02:00|hungary|hu", value: "Europe/Budapest" },
1972
+ { label: "Europe/Busingen", searchIndex: "europe/busingen|cest|utc+02:00|germany|de", value: "Europe/Busingen" },
1973
+ { label: "Europe/Chisinau", searchIndex: "europe/chisinau|eest|utc+03:00|moldova|md", value: "Europe/Chisinau" },
1974
+ {
1975
+ label: "Europe/Copenhagen",
1976
+ searchIndex: "europe/copenhagen|cest|utc+02:00|denmark|dk",
1977
+ value: "Europe/Copenhagen"
1978
+ },
1979
+ { label: "Europe/Dublin", searchIndex: "europe/dublin|ist|utc+01:00|ireland|ie", value: "Europe/Dublin" },
1980
+ {
1981
+ label: "Europe/Gibraltar",
1982
+ searchIndex: "europe/gibraltar|cest|utc+02:00|gibraltar|gi",
1983
+ value: "Europe/Gibraltar"
1984
+ },
1985
+ { label: "Europe/Guernsey", searchIndex: "europe/guernsey|bst|utc+01:00|guernsey|gg", value: "Europe/Guernsey" },
1986
+ {
1987
+ label: "Europe/Helsinki",
1988
+ searchIndex: "europe/helsinki|eest|utc+03:00|aland islands|ax|finland|fi",
1989
+ value: "Europe/Helsinki"
1990
+ },
1991
+ {
1992
+ label: "Europe/Isle_of_Man",
1993
+ searchIndex: "europe/isle_of_man|bst|utc+01:00|isle of man|im",
1994
+ value: "Europe/Isle_of_Man"
1995
+ },
1996
+ { label: "Europe/Istanbul", searchIndex: "europe/istanbul||utc+03:00|turkey|tr", value: "Europe/Istanbul" },
1997
+ { label: "Europe/Jersey", searchIndex: "europe/jersey|bst|utc+01:00|jersey|je", value: "Europe/Jersey" },
1998
+ {
1999
+ label: "Europe/Kaliningrad",
2000
+ searchIndex: "europe/kaliningrad|eet|utc+02:00|russian federation|ru",
2001
+ value: "Europe/Kaliningrad"
2002
+ },
2003
+ { label: "Europe/Kirov", searchIndex: "europe/kirov|msk|utc+03:00|russian federation|ru", value: "Europe/Kirov" },
2004
+ { label: "Europe/Kyiv", searchIndex: "europe/kyiv|eest|utc+03:00|ukraine|ua", value: "Europe/Kyiv" },
2005
+ { label: "Europe/Lisbon", searchIndex: "europe/lisbon|west|utc+01:00|portugal|pt", value: "Europe/Lisbon" },
2006
+ {
2007
+ label: "Europe/Ljubljana",
2008
+ searchIndex: "europe/ljubljana|cest|utc+02:00|slovenia|si",
2009
+ value: "Europe/Ljubljana"
2010
+ },
2011
+ {
2012
+ label: "Europe/London",
2013
+ searchIndex: "europe/london|bst|utc+01:00|united kingdom|gb|guernsey|gg|isle of man|im|jersey|je",
2014
+ value: "Europe/London"
2015
+ },
2016
+ {
2017
+ label: "Europe/Luxembourg",
2018
+ searchIndex: "europe/luxembourg|cest|utc+02:00|luxembourg|lu",
2019
+ value: "Europe/Luxembourg"
2020
+ },
2021
+ { label: "Europe/Madrid", searchIndex: "europe/madrid|cest|utc+02:00|spain|es", value: "Europe/Madrid" },
2022
+ { label: "Europe/Malta", searchIndex: "europe/malta|cest|utc+02:00|malta|mt", value: "Europe/Malta" },
2023
+ {
2024
+ label: "Europe/Mariehamn",
2025
+ searchIndex: "europe/mariehamn|eest|utc+03:00|aland islands|ax",
2026
+ value: "Europe/Mariehamn"
2027
+ },
2028
+ { label: "Europe/Minsk", searchIndex: "europe/minsk||utc+03:00|belarus|by", value: "Europe/Minsk" },
2029
+ { label: "Europe/Monaco", searchIndex: "europe/monaco|cest|utc+02:00|monaco|mc", value: "Europe/Monaco" },
2030
+ {
2031
+ label: "Europe/Moscow",
2032
+ searchIndex: "europe/moscow|msk|utc+03:00|russian federation|ru",
2033
+ value: "Europe/Moscow"
2034
+ },
2035
+ { label: "Europe/Oslo", searchIndex: "europe/oslo|cest|utc+02:00|norway|no", value: "Europe/Oslo" },
2036
+ { label: "Europe/Paris", searchIndex: "europe/paris|cest|utc+02:00|france|fr|monaco|mc", value: "Europe/Paris" },
2037
+ {
2038
+ label: "Europe/Podgorica",
2039
+ searchIndex: "europe/podgorica|cest|utc+02:00|montenegro|me",
2040
+ value: "Europe/Podgorica"
2041
+ },
2042
+ {
2043
+ label: "Europe/Prague",
2044
+ searchIndex: "europe/prague|cest|utc+02:00|czech republic|cz|slovakia|sk",
2045
+ value: "Europe/Prague"
2046
+ },
2047
+ { label: "Europe/Riga", searchIndex: "europe/riga|eest|utc+03:00|latvia|lv", value: "Europe/Riga" },
2048
+ {
2049
+ label: "Europe/Rome",
2050
+ searchIndex: "europe/rome|cest|utc+02:00|italy|it|san marino|sm|holy see (vatican city state)|va",
2051
+ value: "Europe/Rome"
2052
+ },
2053
+ { label: "Europe/Samara", searchIndex: "europe/samara||utc+04:00|russian federation|ru", value: "Europe/Samara" },
2054
+ {
2055
+ label: "Europe/San_Marino",
2056
+ searchIndex: "europe/san_marino|cest|utc+02:00|san marino|sm",
2057
+ value: "Europe/San_Marino"
2058
+ },
2059
+ {
2060
+ label: "Europe/Sarajevo",
2061
+ searchIndex: "europe/sarajevo|cest|utc+02:00|bosnia and herzegovina|ba",
2062
+ value: "Europe/Sarajevo"
2063
+ },
2064
+ {
2065
+ label: "Europe/Saratov",
2066
+ searchIndex: "europe/saratov||utc+04:00|russian federation|ru",
2067
+ value: "Europe/Saratov"
2068
+ },
2069
+ {
2070
+ label: "Europe/Simferopol",
2071
+ searchIndex: "europe/simferopol|msk|utc+03:00|russian federation|ru|ukraine|ua",
2072
+ value: "Europe/Simferopol"
2073
+ },
2074
+ { label: "Europe/Skopje", searchIndex: "europe/skopje|cest|utc+02:00|macedonia|mk", value: "Europe/Skopje" },
2075
+ { label: "Europe/Sofia", searchIndex: "europe/sofia|eest|utc+03:00|bulgaria|bg", value: "Europe/Sofia" },
2076
+ {
2077
+ label: "Europe/Stockholm",
2078
+ searchIndex: "europe/stockholm|cest|utc+02:00|sweden|se",
2079
+ value: "Europe/Stockholm"
2080
+ },
2081
+ { label: "Europe/Tallinn", searchIndex: "europe/tallinn|eest|utc+03:00|estonia|ee", value: "Europe/Tallinn" },
2082
+ { label: "Europe/Tirane", searchIndex: "europe/tirane|cest|utc+02:00|albania|al", value: "Europe/Tirane" },
2083
+ {
2084
+ label: "Europe/Ulyanovsk",
2085
+ searchIndex: "europe/ulyanovsk||utc+04:00|russian federation|ru",
2086
+ value: "Europe/Ulyanovsk"
2087
+ },
2088
+ { label: "Europe/Vaduz", searchIndex: "europe/vaduz|cest|utc+02:00|liechtenstein|li", value: "Europe/Vaduz" },
2089
+ {
2090
+ label: "Europe/Vatican",
2091
+ searchIndex: "europe/vatican|cest|utc+02:00|holy see (vatican city state)|va",
2092
+ value: "Europe/Vatican"
2093
+ },
2094
+ { label: "Europe/Vienna", searchIndex: "europe/vienna|cest|utc+02:00|austria|at", value: "Europe/Vienna" },
2095
+ { label: "Europe/Vilnius", searchIndex: "europe/vilnius|eest|utc+03:00|lithuania|lt", value: "Europe/Vilnius" },
2096
+ {
2097
+ label: "Europe/Volgograd",
2098
+ searchIndex: "europe/volgograd|msk|utc+03:00|russian federation|ru",
2099
+ value: "Europe/Volgograd"
2100
+ },
2101
+ { label: "Europe/Warsaw", searchIndex: "europe/warsaw|cest|utc+02:00|poland|pl", value: "Europe/Warsaw" },
2102
+ { label: "Europe/Zagreb", searchIndex: "europe/zagreb|cest|utc+02:00|croatia|hr", value: "Europe/Zagreb" },
2103
+ {
2104
+ label: "Europe/Zurich",
2105
+ searchIndex: "europe/zurich|cest|utc+02:00|switzerland|ch|germany|de|liechtenstein|li",
2106
+ value: "Europe/Zurich"
2107
+ }
2108
+ ]
2109
+ },
2110
+ {
2111
+ label: "Indian",
2112
+ options: [
2113
+ {
2114
+ label: "Indian/Antananarivo",
2115
+ searchIndex: "indian/antananarivo|eat|utc+03:00|madagascar|mg",
2116
+ value: "Indian/Antananarivo"
2117
+ },
2118
+ {
2119
+ label: "Indian/Chagos",
2120
+ searchIndex: "indian/chagos||utc+06:00|british indian ocean territory|io",
2121
+ value: "Indian/Chagos"
2122
+ },
2123
+ {
2124
+ label: "Indian/Christmas",
2125
+ searchIndex: "indian/christmas||utc+07:00|christmas island|cx",
2126
+ value: "Indian/Christmas"
2127
+ },
2128
+ {
2129
+ label: "Indian/Cocos",
2130
+ searchIndex: "indian/cocos||utc+06:30|cocos (keeling) islands|cc",
2131
+ value: "Indian/Cocos"
2132
+ },
2133
+ { label: "Indian/Comoro", searchIndex: "indian/comoro|eat|utc+03:00|comoros|km", value: "Indian/Comoro" },
2134
+ {
2135
+ label: "Indian/Kerguelen",
2136
+ searchIndex: "indian/kerguelen||utc+05:00|french southern territories|tf",
2137
+ value: "Indian/Kerguelen"
2138
+ },
2139
+ { label: "Indian/Mahe", searchIndex: "indian/mahe||utc+04:00|seychelles|sc", value: "Indian/Mahe" },
2140
+ {
2141
+ label: "Indian/Maldives",
2142
+ searchIndex: "indian/maldives||utc+05:00|maldives|mv|french southern territories|tf",
2143
+ value: "Indian/Maldives"
2144
+ },
2145
+ { label: "Indian/Mauritius", searchIndex: "indian/mauritius||utc+04:00|mauritius|mu", value: "Indian/Mauritius" },
2146
+ { label: "Indian/Mayotte", searchIndex: "indian/mayotte|eat|utc+03:00|mayotte|yt", value: "Indian/Mayotte" },
2147
+ { label: "Indian/Reunion", searchIndex: "indian/reunion||utc+04:00|reunion|re", value: "Indian/Reunion" }
2148
+ ]
2149
+ },
2150
+ {
2151
+ label: "Pacific",
2152
+ options: [
2153
+ { label: "Pacific/Apia", searchIndex: "pacific/apia||utc+13:00|samoa|ws", value: "Pacific/Apia" },
2154
+ {
2155
+ label: "Pacific/Auckland",
2156
+ searchIndex: "pacific/auckland|nzdt|utc+13:00|antarctica|aq|new zealand|nz",
2157
+ value: "Pacific/Auckland"
2158
+ },
2159
+ {
2160
+ label: "Pacific/Bougainville",
2161
+ searchIndex: "pacific/bougainville||utc+11:00|papua new guinea|pg",
2162
+ value: "Pacific/Bougainville"
2163
+ },
2164
+ { label: "Pacific/Chatham", searchIndex: "pacific/chatham||utc+13:45|new zealand|nz", value: "Pacific/Chatham" },
2165
+ {
2166
+ label: "Pacific/Chuuk",
2167
+ searchIndex: "pacific/chuuk||utc+10:00|micronesia (federated states of)|fm",
2168
+ value: "Pacific/Chuuk"
2169
+ },
2170
+ { label: "Pacific/Easter", searchIndex: "pacific/easter||utc-05:00|chile|cl", value: "Pacific/Easter" },
2171
+ { label: "Pacific/Efate", searchIndex: "pacific/efate||utc+11:00|vanuatu|vu", value: "Pacific/Efate" },
2172
+ { label: "Pacific/Fakaofo", searchIndex: "pacific/fakaofo||utc+13:00|tokelau|tk", value: "Pacific/Fakaofo" },
2173
+ { label: "Pacific/Fiji", searchIndex: "pacific/fiji||utc+12:00|fiji|fj", value: "Pacific/Fiji" },
2174
+ { label: "Pacific/Funafuti", searchIndex: "pacific/funafuti||utc+12:00|tuvalu|tv", value: "Pacific/Funafuti" },
2175
+ {
2176
+ label: "Pacific/Galapagos",
2177
+ searchIndex: "pacific/galapagos||utc-06:00|ecuador|ec",
2178
+ value: "Pacific/Galapagos"
2179
+ },
2180
+ {
2181
+ label: "Pacific/Gambier",
2182
+ searchIndex: "pacific/gambier||utc-09:00|french polynesia|pf",
2183
+ value: "Pacific/Gambier"
2184
+ },
2185
+ {
2186
+ label: "Pacific/Guadalcanal",
2187
+ searchIndex: "pacific/guadalcanal||utc+11:00|micronesia (federated states of)|fm|solomon islands|sb",
2188
+ value: "Pacific/Guadalcanal"
2189
+ },
2190
+ {
2191
+ label: "Pacific/Guam",
2192
+ searchIndex: "pacific/guam|chst|utc+10:00|guam|gu|northern mariana islands|mp",
2193
+ value: "Pacific/Guam"
2194
+ },
2195
+ {
2196
+ label: "Pacific/Honolulu",
2197
+ searchIndex: "pacific/honolulu|hst|utc-10:00|united states|us",
2198
+ value: "Pacific/Honolulu"
2199
+ },
2200
+ { label: "Pacific/Kanton", searchIndex: "pacific/kanton||utc+13:00|kiribati|ki", value: "Pacific/Kanton" },
2201
+ {
2202
+ label: "Pacific/Kiritimati",
2203
+ searchIndex: "pacific/kiritimati||utc+14:00|kiribati|ki",
2204
+ value: "Pacific/Kiritimati"
2205
+ },
2206
+ {
2207
+ label: "Pacific/Kosrae",
2208
+ searchIndex: "pacific/kosrae||utc+11:00|micronesia (federated states of)|fm",
2209
+ value: "Pacific/Kosrae"
2210
+ },
2211
+ {
2212
+ label: "Pacific/Kwajalein",
2213
+ searchIndex: "pacific/kwajalein||utc+12:00|marshall islands|mh",
2214
+ value: "Pacific/Kwajalein"
2215
+ },
2216
+ {
2217
+ label: "Pacific/Majuro",
2218
+ searchIndex: "pacific/majuro||utc+12:00|marshall islands|mh",
2219
+ value: "Pacific/Majuro"
2220
+ },
2221
+ {
2222
+ label: "Pacific/Marquesas",
2223
+ searchIndex: "pacific/marquesas||utc-09:30|french polynesia|pf",
2224
+ value: "Pacific/Marquesas"
2225
+ },
2226
+ {
2227
+ label: "Pacific/Midway",
2228
+ searchIndex: "pacific/midway|sst|utc-11:00|united states outlying islands|um",
2229
+ value: "Pacific/Midway"
2230
+ },
2231
+ { label: "Pacific/Nauru", searchIndex: "pacific/nauru||utc+12:00|nauru|nr", value: "Pacific/Nauru" },
2232
+ { label: "Pacific/Niue", searchIndex: "pacific/niue||utc-11:00|niue|nu", value: "Pacific/Niue" },
2233
+ {
2234
+ label: "Pacific/Norfolk",
2235
+ searchIndex: "pacific/norfolk||utc+12:00|norfolk island|nf",
2236
+ value: "Pacific/Norfolk"
2237
+ },
2238
+ { label: "Pacific/Noumea", searchIndex: "pacific/noumea||utc+11:00|new caledonia|nc", value: "Pacific/Noumea" },
2239
+ {
2240
+ label: "Pacific/Pago_Pago",
2241
+ searchIndex: "pacific/pago_pago|sst|utc-11:00|american samoa|as|united states outlying islands|um",
2242
+ value: "Pacific/Pago_Pago"
2243
+ },
2244
+ { label: "Pacific/Palau", searchIndex: "pacific/palau||utc+09:00|palau|pw", value: "Pacific/Palau" },
2245
+ { label: "Pacific/Pitcairn", searchIndex: "pacific/pitcairn||utc-08:00|pitcairn|pn", value: "Pacific/Pitcairn" },
2246
+ {
2247
+ label: "Pacific/Pohnpei",
2248
+ searchIndex: "pacific/pohnpei||utc+11:00|micronesia (federated states of)|fm",
2249
+ value: "Pacific/Pohnpei"
2250
+ },
2251
+ {
2252
+ label: "Pacific/Port_Moresby",
2253
+ searchIndex: "pacific/port_moresby||utc+10:00|antarctica|aq|micronesia (federated states of)|fm|papua new guinea|pg",
2254
+ value: "Pacific/Port_Moresby"
2255
+ },
2256
+ {
2257
+ label: "Pacific/Rarotonga",
2258
+ searchIndex: "pacific/rarotonga||utc-10:00|cook islands|ck",
2259
+ value: "Pacific/Rarotonga"
2260
+ },
2261
+ {
2262
+ label: "Pacific/Saipan",
2263
+ searchIndex: "pacific/saipan|chst|utc+10:00|northern mariana islands|mp",
2264
+ value: "Pacific/Saipan"
2265
+ },
2266
+ {
2267
+ label: "Pacific/Tahiti",
2268
+ searchIndex: "pacific/tahiti||utc-10:00|french polynesia|pf",
2269
+ value: "Pacific/Tahiti"
2270
+ },
2271
+ {
2272
+ label: "Pacific/Tarawa",
2273
+ searchIndex: "pacific/tarawa||utc+12:00|kiribati|ki|marshall islands|mh|tuvalu|tv|united states outlying islands|um|wallis and futuna|wf",
2274
+ value: "Pacific/Tarawa"
2275
+ },
2276
+ { label: "Pacific/Tongatapu", searchIndex: "pacific/tongatapu||utc+13:00|tonga|to", value: "Pacific/Tongatapu" },
2277
+ {
2278
+ label: "Pacific/Wake",
2279
+ searchIndex: "pacific/wake||utc+12:00|united states outlying islands|um",
2280
+ value: "Pacific/Wake"
2281
+ },
2282
+ {
2283
+ label: "Pacific/Wallis",
2284
+ searchIndex: "pacific/wallis||utc+12:00|wallis and futuna|wf",
2285
+ value: "Pacific/Wallis"
2286
+ }
2287
+ ]
2288
+ }
2289
+ ], He = () => {
2290
+ const i = A.tz.guess(), e = [], a = Ne.map((d) => ({
2291
+ label: d.label,
2292
+ options: d.options.map((c) => {
2293
+ const u = {
2294
+ ...c,
2295
+ ...Re(c.searchIndex)
2296
+ };
2297
+ return c.value === i && e.push({
2298
+ ...c,
2299
+ ...u,
2300
+ label: u.label
2301
+ }), u;
2302
+ })
2303
+ }));
2304
+ return a.unshift({
2305
+ label: "",
2306
+ options: e
2307
+ }), a;
2308
+ }, Re = (i) => {
2309
+ const e = i.split("|");
2310
+ return {
2311
+ abbreviation: e[1].toLocaleUpperCase(),
2312
+ country: (e[3] || "").replace(/(\b\w)/g, (a) => a.toLocaleUpperCase()),
2313
+ countryCode: e[4] || "",
2314
+ utc: e[2].toLocaleUpperCase()
2315
+ };
2316
+ }, ja = He(), $a = (i) => ja.reduce((e, a) => (e == null ? void 0 : e.label) === i ? e : a.options.find((d) => d.label === i), {}), Le = { class: "option-name" }, Ke = { class: "option-country" }, qe = { class: "option-utc" }, Ue = { class: "option-name" }, Fe = { class: "option-country" }, Ge = { class: "option-utc" }, Oe = /* @__PURE__ */ G({
2317
+ __name: "timezone-picker",
2318
+ props: {
2319
+ value: {}
2320
+ },
2321
+ emits: ["change"],
2322
+ setup(i, { emit: e }) {
2323
+ const a = e, d = W(ja), c = (u) => {
2324
+ const _ = $a(u);
2325
+ a("change", u, _);
2326
+ };
2327
+ return (u, _) => (g(), H(t(U), {
2328
+ "model-value": u.value,
2329
+ class: "timezone-picker",
2330
+ filterable: "",
2331
+ "input-search": "",
2332
+ clearable: !1,
2333
+ placeholder: t(l)("请输入搜索(国家,城市,简称)"),
2334
+ "no-match-text": t(l)("无匹配数据"),
2335
+ "popover-options": { "ext-cls": "__bk-date-picker-popover__" },
2336
+ onChange: c
2337
+ }, {
2338
+ default: C(() => [
2339
+ (g(!0), S($, null, R(d.value, (m) => (g(), S($, null, [
2340
+ m.label.length < 1 ? (g(!0), S($, { key: 0 }, R(m.options, (r) => (g(), H(t(U).Option, {
2341
+ id: r.label,
2342
+ name: r.label,
2343
+ key: r.label
2344
+ }, {
2345
+ default: C(() => [
2346
+ s("div", {
2347
+ class: ea({
2348
+ "timezone-picker-option": !0,
2349
+ "is-selected": r.label === u.value
2350
+ })
2351
+ }, [
2352
+ s("span", Le, k(t(l)("浏览器时间")) + " " + k(r.label), 1),
2353
+ s("span", Ke, k(r.country) + ", " + k(r.abbreviation), 1),
2354
+ s("span", qe, k(r.utc), 1)
2355
+ ], 2)
2356
+ ]),
2357
+ _: 2
2358
+ }, 1032, ["id", "name"]))), 128)) : (g(), S($, { key: 1 }, [
2359
+ m.options.length ? (g(), H(t(U).Group, {
2360
+ key: m.label,
2361
+ label: m.label
2362
+ }, {
2363
+ default: C(() => [
2364
+ (g(!0), S($, null, R(m.options, (r) => (g(), H(t(U).Option, {
2365
+ id: r.label,
2366
+ name: r.label,
2367
+ key: r.label
2368
+ }, {
2369
+ default: C(() => [
2370
+ s("div", {
2371
+ class: ea({
2372
+ "timezone-picker-option": !0,
2373
+ "is-selected": r.label === u.value
2374
+ })
2375
+ }, [
2376
+ s("span", Ue, k(r.label), 1),
2377
+ s("span", Fe, k(r.country) + ", " + k(r.abbreviation), 1),
2378
+ s("span", Ge, k(r.utc), 1)
2379
+ ], 2)
2380
+ ]),
2381
+ _: 2
2382
+ }, 1032, ["id", "name"]))), 128))
2383
+ ]),
2384
+ _: 2
2385
+ }, 1032, ["label"])) : da("", !0)
2386
+ ], 64))
2387
+ ], 64))), 256))
2388
+ ]),
2389
+ _: 1
2390
+ }, 8, ["model-value", "placeholder", "no-match-text"]));
2391
+ }
2392
+ });
2393
+ const Je = { class: "panel-wrapper" }, We = { class: "common-date-list" }, Ze = ["onClick"], Qe = { class: "common-wrapper" }, Xe = { class: "empty-tips" }, ai = { class: "time-zone-panel" }, ei = { class: "time-zone" }, ii = { class: "time-zone-area" }, ti = { class: "time-zone-tag" }, ni = { class: "time-zone-picker" }, ri = /* @__PURE__ */ G({
2394
+ __name: "panel-wrapper",
2395
+ props: {
2396
+ defaultValue: {},
2397
+ timezone: {}
2398
+ },
2399
+ emits: ["change", "update:timezone"],
2400
+ setup(i, { emit: e }) {
2401
+ const a = i, { format: d, storeKey: c, timezoneInfo: u } = Ba(), _ = e, m = B(!1), r = [
2402
+ ["now-5m", "now"],
2403
+ ["now-15m", "now"],
2404
+ ["now-30m", "now"],
2405
+ ["now-1h", "now"],
2406
+ ["now-3h", "now"],
2407
+ ["now-6h", "now"],
2408
+ ["now-12h", "now"],
2409
+ ["now-24h", "now"],
2410
+ ["now-2d", "now"],
2411
+ ["now-7d", "now"],
2412
+ ["now-30d", "now"],
2413
+ ["now/d", "now/d"],
2414
+ ["now-1d/d", "now-1d/d"],
2415
+ ["now-2d/d", "now-2d/d"],
2416
+ ["now-3d/d", "now-1d/d"],
2417
+ ["now-1w/w", "now-1w/w"],
2418
+ ["now/d", "now"],
2419
+ ["now/w", "now/w"],
2420
+ ["now/w", "now"],
2421
+ ["now/M", "now/M"],
2422
+ ["now/M", "now"],
2423
+ ["now-1M/M", "now-1M/M"],
2424
+ ["now-1M/M", "now"]
2425
+ ], n = B("common"), h = B(ha(a.defaultValue)), o = B(a.defaultValue), b = A.tz.guess(), f = Z(() => ce(c.value)), P = Z(() => n.value === "common" ? r : f.value), j = (p) => {
2426
+ o.value = p, _("change", p);
2427
+ }, N = () => {
2428
+ switch (h.value) {
2429
+ case D.RECENT:
2430
+ case D.FUTURE:
2431
+ return $e;
2432
+ case D.NATURAL:
2433
+ return Ye;
2434
+ case D.Date:
2435
+ default:
2436
+ return Ce;
2437
+ }
2438
+ }, L = () => {
2439
+ m.value = !m.value;
2440
+ }, M = (p, v) => {
2441
+ _("update:timezone", p, v);
2442
+ };
2443
+ return (p, v) => (g(), S("div", Je, [
2444
+ w(_a, {
2445
+ modelValue: n.value,
2446
+ "onUpdate:modelValue": v[0] || (v[0] = (E) => n.value = E),
2447
+ panels: t(ee)
2448
+ }, null, 8, ["modelValue", "panels"]),
2449
+ s("div", null, [
2450
+ s("ul", We, [
2451
+ (g(!0), S($, null, R(P.value, (E, y) => (g(), S("li", {
2452
+ class: ea({
2453
+ "list-item": !0,
2454
+ "is-recent-item": n.value === "recent"
2455
+ }),
2456
+ key: y,
2457
+ onClick: (T) => j(E)
2458
+ }, k(t(Ya)(E, t(d))), 11, Ze))), 128))
2459
+ ])
2460
+ ]),
2461
+ ia(s("div", Qe, [
2462
+ w(t(Qa), {
2463
+ type: "empty",
2464
+ scene: "part",
2465
+ class: "empty-content"
2466
+ }),
2467
+ s("div", Xe, k(t(l)("暂无最近使用记录")), 1)
2468
+ ], 512), [
2469
+ [fa, P.value.length < 1]
2470
+ ]),
2471
+ w(_a, {
2472
+ class: "date-pick-tab",
2473
+ modelValue: h.value,
2474
+ "onUpdate:modelValue": v[1] || (v[1] = (E) => h.value = E),
2475
+ panels: t(ie)
2476
+ }, null, 8, ["modelValue", "panels"]),
2477
+ (g(), H(La, null, [
2478
+ (g(), H(Ka(N()), {
2479
+ key: h.value,
2480
+ type: h.value,
2481
+ value: o.value,
2482
+ onChange: j
2483
+ }, null, 40, ["type", "value"]))
2484
+ ], 1024)),
2485
+ s("div", ai, [
2486
+ K(k(t(u).label === t(b) ? t(l)("浏览器时间") : "") + " ", 1),
2487
+ s("span", ei, [
2488
+ K(k(t(u).label) + " ", 1),
2489
+ s("span", ii, k(t(u).country) + ", " + k(t(u).abbreviation), 1)
2490
+ ]),
2491
+ s("span", ti, k(t(u).utc), 1),
2492
+ w(t(ma), {
2493
+ theme: "primary",
2494
+ size: "small",
2495
+ text: !0,
2496
+ onClick: L
2497
+ }, {
2498
+ default: C(() => [
2499
+ K(k(t(l)("时区设置")), 1)
2500
+ ]),
2501
+ _: 1
2502
+ })
2503
+ ]),
2504
+ ia(s("div", ni, [
2505
+ w(Oe, {
2506
+ value: p.timezone || t(b),
2507
+ onChange: M
2508
+ }, null, 8, ["value"])
2509
+ ], 512), [
2510
+ [fa, m.value]
2511
+ ])
2512
+ ]));
2513
+ }
2514
+ });
2515
+ const li = /* @__PURE__ */ s("svg", {
2516
+ class: "date-content-icon",
2517
+ viewBox: "0 0 1024 1024",
2518
+ version: "1.1",
2519
+ xmlns: "http://www.w3.org/2000/svg",
2520
+ "xmlns:xlink": "http://www.w3.org/1999/xlink",
2521
+ width: "14",
2522
+ height: "14"
2523
+ }, [
2524
+ /* @__PURE__ */ s("path", {
2525
+ d: "M486.656 997.312c-268.288 0-486.656-218.304-486.656-486.656 0-268.288 218.304-486.656 486.656-486.656 268.352 0 486.656 218.304 486.656 486.656C973.376 779.008 755.008 997.312 486.656 997.312zM486.656 88c-233.088 0-422.656 189.568-422.656 422.656 0 233.088 189.568 422.656 422.656 422.656s422.656-189.632 422.656-422.656C909.376 277.568 719.744 88 486.656 88z",
2526
+ fill: "#979BA5"
2527
+ }),
2528
+ /* @__PURE__ */ s("path", {
2529
+ d: "M816.064 544 432.064 544 432.064 160 496.064 160 496.064 480 816.064 480Z",
2530
+ fill: "#979BA5"
2531
+ })
2532
+ ], -1), ci = { class: "date-content-utc" }, si = { class: "date-tooltips-timezone" }, Bi = /* @__PURE__ */ G({
2533
+ name: "DatePicker",
2534
+ __name: "date-picker",
2535
+ props: {
2536
+ behavior: { default: "normal" },
2537
+ disabled: { type: Boolean },
2538
+ format: { default: "YYYY-MM-DD HH:mm:ss" },
2539
+ modelValue: {},
2540
+ timezone: {},
2541
+ version: { default: "1.0" }
2542
+ },
2543
+ emits: ["update:modelValue", "update:timezone"],
2544
+ setup(i, { expose: e, emit: a }) {
2545
+ A.locale({
2546
+ ...ta === "en" ? Wa : Za,
2547
+ weekStart: 1
2548
+ }), Fa({
2549
+ prefix: "bk"
2550
+ });
2551
+ const d = i, c = a, u = B(), _ = B(), m = Z(() => d.format), r = Z(() => $a(d.timezone || A.tz.guess())), n = W(ka(d.modelValue)), h = Z(() => ne(d.version)), o = B(!1), b = B(!1);
2552
+ le({
2553
+ format: m,
2554
+ storeKey: h,
2555
+ t: l,
2556
+ timezoneInfo: r
2557
+ }), qa(() => {
2558
+ b.value = !1, o.value = !1;
2559
+ });
2560
+ const f = () => {
2561
+ b.value = !0;
2562
+ }, P = () => {
2563
+ setTimeout(() => {
2564
+ b.value = !1;
2565
+ }, 100);
2566
+ }, j = (y) => {
2567
+ var T;
2568
+ o.value = !1, n.value = ka(y), c("update:modelValue", y, (T = n.value) == null ? void 0 : T.map((V) => ({
2569
+ dayjs: V,
2570
+ formatText: V.format(m.value),
2571
+ unix: V.unix()
2572
+ }))), y && se(y, h.value);
2573
+ }, N = (y, T) => {
2574
+ c("update:timezone", y, { ...T }), L();
2575
+ }, L = () => {
2576
+ o.value = !1;
2577
+ }, M = (y) => {
2578
+ var z;
2579
+ if (((z = n.value) == null ? void 0 : z.length) < 2)
2580
+ return;
2581
+ const [T, V] = n.value;
2582
+ let x = V.diff(T);
2583
+ const I = 24 * 60 * 60 * 1e3;
2584
+ x % I === I - 1e3 && (x += 1e3), n.value = y === "left" ? [T.subtract(x), V.subtract(x)] : [T.add(x), V.add(x)], j(n.value.map((Y) => Y.format(m.value)));
2585
+ }, p = () => {
2586
+ M("left");
2587
+ }, v = () => {
2588
+ M("right");
2589
+ }, E = (y) => {
2590
+ o.value && (Array.from(document.querySelectorAll(".__bk-date-picker-popover__")).some((T) => T.contains(y.target)) || L());
2591
+ };
2592
+ return e({
2593
+ handleHidePanel: () => {
2594
+ o.value = !1;
2595
+ },
2596
+ handleShowPanel: () => {
2597
+ o.value = !0;
2598
+ }
2599
+ }), (y, T) => (g(), S("div", {
2600
+ class: ea({
2601
+ __bk_date_picker__: !0,
2602
+ "is-simplicity": y.behavior === "simplicity",
2603
+ "is-disabled": y.disabled
2604
+ })
2605
+ }, [
2606
+ s("span", {
2607
+ class: "date-icon",
2608
+ onClick: p
2609
+ }, [
2610
+ w(t(Pa), { class: "date-icon-left" })
2611
+ ]),
2612
+ w(t(aa), {
2613
+ trigger: "manual",
2614
+ "is-show": o.value,
2615
+ placement: "bottom-start",
2616
+ theme: "light",
2617
+ arrow: !1,
2618
+ "ext-cls": "bk-date-picker-popover __bk-date-picker-popover__",
2619
+ offset: { mainAxis: 10, crossAxis: 10, alignmentAxis: -32 },
2620
+ onAfterHidden: L
2621
+ }, {
2622
+ content: C(() => [
2623
+ w(ri, {
2624
+ "default-value": y.modelValue,
2625
+ timezone: y.timezone,
2626
+ onChange: j,
2627
+ "onUpdate:timezone": N
2628
+ }, null, 8, ["default-value", "timezone"])
2629
+ ]),
2630
+ default: C(() => {
2631
+ var V;
2632
+ return [
2633
+ ia((g(), S("span", {
2634
+ class: "date-content",
2635
+ onClick: T[0] || (T[0] = (x) => o.value = !o.value),
2636
+ ref_key: "dateContentRef",
2637
+ ref: _,
2638
+ onMouseenter: f,
2639
+ onMouseleave: P
2640
+ }, [
2641
+ li,
2642
+ s("span", null, k(t(Ya)(y.modelValue, m.value)), 1),
2643
+ s("span", ci, k(r.value.abbreviation || ((V = r.value.utc) == null ? void 0 : V.replace("UTC", "").replace(":00", ""))), 1)
2644
+ ], 32)), [
2645
+ [t(ua), E]
2646
+ ])
2647
+ ];
2648
+ }),
2649
+ _: 1
2650
+ }, 8, ["is-show"]),
2651
+ s("span", {
2652
+ class: "date-icon",
2653
+ style: { "margin-left": "auto" },
2654
+ onClick: v
2655
+ }, [
2656
+ w(t(Da), { class: "date-icon-right" })
2657
+ ]),
2658
+ w(t(aa), {
2659
+ "is-show": b.value,
2660
+ trigger: "manual",
2661
+ target: _.value,
2662
+ offset: 12,
2663
+ placement: "top"
2664
+ }, {
2665
+ content: C(() => {
2666
+ var V, x, I, z;
2667
+ return [
2668
+ s("div", {
2669
+ ref_key: "dateTooltipsRef",
2670
+ ref: u,
2671
+ class: "__date-tooltips__",
2672
+ style: Ua({ maxWidth: t(ta) === "en" ? "180px" : "156px" })
2673
+ }, [
2674
+ s("div", null, k((x = (V = n.value) == null ? void 0 : V[0]) == null ? void 0 : x.format(m.value)), 1),
2675
+ K(" to "),
2676
+ s("div", null, k((z = (I = n.value) == null ? void 0 : I[1]) == null ? void 0 : z.format(m.value)), 1),
2677
+ s("div", si, k(r.value.label === t(A).tz.guess() ? `${t(l)("浏览器时间")} (${r.value.label})` : r.value.label), 1)
2678
+ ], 4)
2679
+ ];
2680
+ }),
2681
+ _: 1
2682
+ }, 8, ["is-show", "target"])
2683
+ ], 2));
2684
+ }
2685
+ });
2686
+ A.extend(Ma);
2687
+ A.extend(Na);
2688
+ A.extend(Ea);
2689
+ A.extend(za);
2690
+ export {
2691
+ Ta as DATE_PICKER_PROVIDER_KEY,
2692
+ Bi as DatePicker,
2693
+ $i as Dayjs,
2694
+ Ni as dayjs,
2695
+ Bi as default,
2696
+ ha as getDateValueMode,
2697
+ Ya as getDateValueToString,
2698
+ sa as isValidDateValue,
2699
+ q as naturalDateRegexp,
2700
+ na as recentDateRegexp,
2701
+ ka as transformDateValueToDayjs,
2702
+ le as useDatePickerProvider,
2703
+ Ba as useDatePickertInject
2704
+ };