@bigbinary/neeto-time-zones 0.5.0
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.
- package/README.md +75 -0
- package/dist/index-3103b741.js +1994 -0
- package/dist/index-72a4a60c.cjs +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.es.js +24 -0
- package/dist/react.cjs.js +17 -0
- package/dist/react.es.js +2027 -0
- package/dist/style.css +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,1994 @@
|
|
|
1
|
+
const Africa = [
|
|
2
|
+
{
|
|
3
|
+
utc: [
|
|
4
|
+
"Africa/Cairo"
|
|
5
|
+
],
|
|
6
|
+
label: "Egypt Standard Time",
|
|
7
|
+
keywords: "Egypt Standard Time Cairo EST",
|
|
8
|
+
isDst: false,
|
|
9
|
+
cities: "Cairo"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
utc: [
|
|
13
|
+
"Africa/Algiers",
|
|
14
|
+
"Africa/Bangui",
|
|
15
|
+
"Africa/Brazzaville",
|
|
16
|
+
"Africa/Douala",
|
|
17
|
+
"Africa/Kinshasa",
|
|
18
|
+
"Africa/Lagos",
|
|
19
|
+
"Africa/Libreville",
|
|
20
|
+
"Africa/Luanda",
|
|
21
|
+
"Africa/Malabo",
|
|
22
|
+
"Africa/Ndjamena",
|
|
23
|
+
"Africa/Niamey",
|
|
24
|
+
"Africa/Porto-Novo",
|
|
25
|
+
"Africa/Tunis",
|
|
26
|
+
"Etc/GMT-1"
|
|
27
|
+
],
|
|
28
|
+
label: "West Central Africa Standard Time",
|
|
29
|
+
keywords: "W. Central Africa Standard Time Algiers Bangui Brazzaville Douala Kinshasa Lagos Libreville Luanda Malabo Ndjamena Niamey Porto-Novo Tunis GMT-1 WCAST",
|
|
30
|
+
isDst: false,
|
|
31
|
+
cities: "Algiers, Bangui, Brazzaville, Douala, Kinshasa, Lagos, Libreville, Luanda, Malabo, Ndjamena, Niamey, Porto-Novo, Tunis"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
utc: [
|
|
35
|
+
"Africa/Windhoek"
|
|
36
|
+
],
|
|
37
|
+
label: "Namibia Standard Time",
|
|
38
|
+
keywords: "Namibia Standard Time Windhoek NST",
|
|
39
|
+
isDst: false,
|
|
40
|
+
cities: "Windhoek"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
utc: [
|
|
44
|
+
"Africa/Blantyre",
|
|
45
|
+
"Africa/Bujumbura",
|
|
46
|
+
"Africa/Gaborone",
|
|
47
|
+
"Africa/Harare",
|
|
48
|
+
"Africa/Johannesburg",
|
|
49
|
+
"Africa/Kigali",
|
|
50
|
+
"Africa/Lubumbashi",
|
|
51
|
+
"Africa/Lusaka",
|
|
52
|
+
"Africa/Maputo",
|
|
53
|
+
"Africa/Maseru",
|
|
54
|
+
"Africa/Mbabane",
|
|
55
|
+
"Etc/GMT-2"
|
|
56
|
+
],
|
|
57
|
+
label: "South Africa Standard Time",
|
|
58
|
+
keywords: "South Africa Standard Time Blantyre Bujumbura Gaborone Harare Johannesburg Kigali Lubumbashi Lusaka Maputo Maseru Mbabane GMT-2 SAST",
|
|
59
|
+
isDst: false,
|
|
60
|
+
cities: "Blantyre, Bujumbura, Gaborone, Harare, Johannesburg, Kigali, Lubumbashi, Lusaka, Maputo, Maseru, Mbabane, Pretoria"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
utc: [
|
|
64
|
+
"Africa/Tripoli"
|
|
65
|
+
],
|
|
66
|
+
label: "Libya Standard Time",
|
|
67
|
+
keywords: "Libya Standard Time Tripoli LST",
|
|
68
|
+
isDst: false,
|
|
69
|
+
cities: "Tripoli"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
utc: [
|
|
73
|
+
"Africa/Addis_Ababa",
|
|
74
|
+
"Africa/Asmera",
|
|
75
|
+
"Africa/Dar_es_Salaam",
|
|
76
|
+
"Africa/Djibouti",
|
|
77
|
+
"Africa/Juba",
|
|
78
|
+
"Africa/Kampala",
|
|
79
|
+
"Africa/Khartoum",
|
|
80
|
+
"Africa/Mogadishu",
|
|
81
|
+
"Africa/Nairobi",
|
|
82
|
+
"Antarctica/Syowa",
|
|
83
|
+
"Etc/GMT-3",
|
|
84
|
+
"Indian/Antananarivo",
|
|
85
|
+
"Indian/Comoro",
|
|
86
|
+
"Indian/Mayotte"
|
|
87
|
+
],
|
|
88
|
+
label: "East Africa Standard Time",
|
|
89
|
+
keywords: "E. Africa Standard Time Addis Ababa Asmera Dar_es_Salaam Djibouti Juba Kampala Khartoum Mogadishu Nairobi Syowa GMT-3 Antananarivo Comoro Mayotte EAST",
|
|
90
|
+
isDst: false,
|
|
91
|
+
cities: "Addis Abada, Asmera, Dar es Salaam, Djibouti, Juba, Kampala, Khartoum, Mogadishu, Nairobi, Syowa, Antananarivo, Comoro, Mayotte"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
utc: [
|
|
95
|
+
"Africa/Abidjan",
|
|
96
|
+
"Africa/Accra",
|
|
97
|
+
"Africa/Bamako",
|
|
98
|
+
"Africa/Banjul",
|
|
99
|
+
"Africa/Bissau",
|
|
100
|
+
"Africa/Conakry",
|
|
101
|
+
"Africa/Dakar",
|
|
102
|
+
"Africa/Freetown",
|
|
103
|
+
"Africa/Lome",
|
|
104
|
+
"Africa/Monrovia",
|
|
105
|
+
"Africa/Nouakchott",
|
|
106
|
+
"Africa/Ouagadougou",
|
|
107
|
+
"Africa/Sao_Tome",
|
|
108
|
+
"Atlantic/Reykjavik",
|
|
109
|
+
"Atlantic/St_Helena"
|
|
110
|
+
],
|
|
111
|
+
label: "Greenwich Standard Time",
|
|
112
|
+
keywords: "Greenwich Standard Time Abidjan Accra Bamako Banjul Bissau Conakry Dakar Freetown Lome Monrovia Nouakchott Ouagadougou Sao Tome Reykjavik St_Helena GST",
|
|
113
|
+
isDst: false,
|
|
114
|
+
cities: "Abidjan, Accra, Bamako, Banjul, Bissau, Conakry, Dakar, Freetown, Lome, Monrovia, Nouakchott, Ouagadougou, Sao Tome, Reykjavik, St. Helena"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
utc: [
|
|
118
|
+
"Africa/Casablanca",
|
|
119
|
+
"Africa/El_Aaiun"
|
|
120
|
+
],
|
|
121
|
+
label: "Morocco Standard Time",
|
|
122
|
+
keywords: "Morocco Standard Time Casablanca El Aaiun MST",
|
|
123
|
+
isDst: true,
|
|
124
|
+
cities: "Casablanca, El Aaiun"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
utc: [
|
|
128
|
+
"Indian/Mahe",
|
|
129
|
+
"Indian/Mauritius",
|
|
130
|
+
"Indian/Reunion"
|
|
131
|
+
],
|
|
132
|
+
label: "Mauritius Standard Time",
|
|
133
|
+
keywords: "Mauritius Standard Time Mahe Mauritius Reunion MST",
|
|
134
|
+
isDst: false,
|
|
135
|
+
cities: "Mahe, Mauritius, Reunion"
|
|
136
|
+
}
|
|
137
|
+
];
|
|
138
|
+
const America = [
|
|
139
|
+
{
|
|
140
|
+
utc: [
|
|
141
|
+
"America/Argentina/La_Rioja",
|
|
142
|
+
"America/Argentina/Rio_Gallegos",
|
|
143
|
+
"America/Argentina/Salta",
|
|
144
|
+
"America/Argentina/San_Juan",
|
|
145
|
+
"America/Argentina/San_Luis",
|
|
146
|
+
"America/Argentina/Tucuman",
|
|
147
|
+
"America/Argentina/Ushuaia",
|
|
148
|
+
"America/Buenos_Aires",
|
|
149
|
+
"America/Catamarca",
|
|
150
|
+
"America/Cordoba",
|
|
151
|
+
"America/Jujuy",
|
|
152
|
+
"America/Mendoza"
|
|
153
|
+
],
|
|
154
|
+
label: "Argentina Standard Time",
|
|
155
|
+
keywords: "Argentina Standard Time La Rioja Rio_Gallegos Salta San_Juan San_Luis Tucuman Ushuaia Buenos_Aires Catamarca Cordoba Jujuy Mendoza AST",
|
|
156
|
+
isDst: false,
|
|
157
|
+
cities: "La Rioja, Rio Gallegos, Salta, San Juan, San Luis, Tucuman, Ushuaia, Buenos Aires, Catamarca, Cordoba, Jujuy, Mendoza"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
utc: [
|
|
161
|
+
"America/Asuncion"
|
|
162
|
+
],
|
|
163
|
+
label: "Paraguay Standard Time",
|
|
164
|
+
keywords: "Paraguay Standard Time Asuncion PST",
|
|
165
|
+
isDst: false,
|
|
166
|
+
cities: "Asuncion"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
utc: [
|
|
170
|
+
"America/Bogota",
|
|
171
|
+
"America/Cayman",
|
|
172
|
+
"America/Coral_Harbour",
|
|
173
|
+
"America/Eirunepe",
|
|
174
|
+
"America/Guayaquil",
|
|
175
|
+
"America/Jamaica",
|
|
176
|
+
"America/Lima",
|
|
177
|
+
"America/Panama",
|
|
178
|
+
"America/Rio_Branco",
|
|
179
|
+
"Etc/GMT+5"
|
|
180
|
+
],
|
|
181
|
+
label: "South American Pacific Standard Time",
|
|
182
|
+
keywords: "SA Pacific Standard Time Bogota Cayman Coral Harbour Eirunepe Guayaquil Jamaica Lima Panama Rio_Branco GMT+5 SAPST PST",
|
|
183
|
+
isDst: false,
|
|
184
|
+
cities: "Bogota, Cayman, Coral Harbour, Eirunepe, Guayaquil, Jamaica, Lima, Panama, Rio Branco"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
utc: [
|
|
188
|
+
"America/Campo_Grande",
|
|
189
|
+
"America/Cuiaba"
|
|
190
|
+
],
|
|
191
|
+
label: "Central Brazilian Standard Time",
|
|
192
|
+
keywords: "Central Brazilian Standard Time Campo Grande Cuiaba CBST",
|
|
193
|
+
isDst: false,
|
|
194
|
+
cities: "Cuiaba, Campo Grande"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
utc: [
|
|
198
|
+
"America/Caracas"
|
|
199
|
+
],
|
|
200
|
+
label: "Venezuela Standard Time",
|
|
201
|
+
keywords: "Venezuela Standard Time Caracas VST",
|
|
202
|
+
isDst: false,
|
|
203
|
+
cities: "Caracas"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
utc: [
|
|
207
|
+
"America/Godthab"
|
|
208
|
+
],
|
|
209
|
+
label: "Greenland Standard Time",
|
|
210
|
+
keywords: "Greenland Standard Time Godthab GST",
|
|
211
|
+
isDst: true,
|
|
212
|
+
cities: "Godthab"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
utc: [
|
|
216
|
+
"America/Regina",
|
|
217
|
+
"America/Swift_Current"
|
|
218
|
+
],
|
|
219
|
+
label: "Canada Central Standard Time",
|
|
220
|
+
keywords: "Canada Central Standard Time Regina Swift Current CCST",
|
|
221
|
+
isDst: false,
|
|
222
|
+
cities: "Regina, Swift Current"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
utc: [
|
|
226
|
+
"America/Chihuahua",
|
|
227
|
+
"America/Mazatlan"
|
|
228
|
+
],
|
|
229
|
+
label: "Mountain Standard Time (Mexico)",
|
|
230
|
+
keywords: "Mountain Standard Time (Mexico) Chihuahua Mazatlan MST",
|
|
231
|
+
isDst: true,
|
|
232
|
+
cities: "Chihuahua, Mazatlan, La Paz,"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
utc: [
|
|
236
|
+
"America/Bahia_Banderas",
|
|
237
|
+
"America/Cancun",
|
|
238
|
+
"America/Merida",
|
|
239
|
+
"America/Mexico_City",
|
|
240
|
+
"America/Monterrey"
|
|
241
|
+
],
|
|
242
|
+
label: "Central Standard Time (Mexico)",
|
|
243
|
+
keywords: "Central Standard Time (Mexico) Bahia Banderas Cancun Merida Mexico_City Monterrey CST",
|
|
244
|
+
isDst: true,
|
|
245
|
+
cities: "Guadalajara, Mexico City, Monterrey, Bahia Baderas, Cancun, Merida"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
utc: [
|
|
249
|
+
"America/Montevideo"
|
|
250
|
+
],
|
|
251
|
+
label: "Montevideo Standard Time",
|
|
252
|
+
keywords: "Montevideo Standard Time Montevideo MST",
|
|
253
|
+
isDst: false,
|
|
254
|
+
cities: "Montevideo"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
utc: [
|
|
258
|
+
"America/Noronha",
|
|
259
|
+
"Atlantic/South_Georgia",
|
|
260
|
+
"Etc/GMT+2"
|
|
261
|
+
],
|
|
262
|
+
label: "Coordinated Universal Time (UTC -02)",
|
|
263
|
+
keywords: "UTC-02 Noronha South Georgia GMT+2 CUT",
|
|
264
|
+
isDst: false,
|
|
265
|
+
cities: "Noronha, South Georgia"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
utc: [
|
|
269
|
+
"America/Santiago",
|
|
270
|
+
"Antarctica/Palmer"
|
|
271
|
+
],
|
|
272
|
+
label: "Pacific SA Standard Time",
|
|
273
|
+
keywords: "Pacific SA Standard Time Santiago Palmer PSST",
|
|
274
|
+
isDst: false,
|
|
275
|
+
cities: "Santiago, Palmer"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
utc: [
|
|
279
|
+
"America/Santa_Isabel"
|
|
280
|
+
],
|
|
281
|
+
label: "Pacific Standard Time (Mexico)",
|
|
282
|
+
keywords: "Pacific Standard Time (Mexico) Santa Isabel PST",
|
|
283
|
+
isDst: true,
|
|
284
|
+
cities: "Santa Isabel"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
utc: [
|
|
288
|
+
"America/Glace_Bay",
|
|
289
|
+
"America/Goose_Bay",
|
|
290
|
+
"America/Halifax",
|
|
291
|
+
"America/Moncton",
|
|
292
|
+
"America/Thule",
|
|
293
|
+
"Atlantic/Bermuda"
|
|
294
|
+
],
|
|
295
|
+
label: "Atlantic Time (Canada)",
|
|
296
|
+
keywords: "Atlantic Standard Time Glace Bay Goose_Bay Halifax Moncton Thule Bermuda AT",
|
|
297
|
+
isDst: true,
|
|
298
|
+
cities: "Glace Bay, Goose Bay, Halifax, Moncton, Thule, Bermuda"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
utc: [
|
|
302
|
+
"America/Sao_Paulo"
|
|
303
|
+
],
|
|
304
|
+
label: "East South America Standard Time",
|
|
305
|
+
keywords: "E. South America Standard Time Sao Paulo ESAST EAST",
|
|
306
|
+
isDst: false,
|
|
307
|
+
cities: "Sao Paulo"
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
utc: [
|
|
311
|
+
"America/Danmarkshavn",
|
|
312
|
+
"Etc/GMT"
|
|
313
|
+
],
|
|
314
|
+
label: "Coordinated Universal Time",
|
|
315
|
+
keywords: "UTC Danmarkshavn GMT CUT",
|
|
316
|
+
isDst: false,
|
|
317
|
+
cities: "Danmarkshavn"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
utc: [
|
|
321
|
+
"America/Bahia"
|
|
322
|
+
],
|
|
323
|
+
label: "Bahia Standard Time",
|
|
324
|
+
keywords: "Bahia Standard Time Bahia BST",
|
|
325
|
+
isDst: false,
|
|
326
|
+
cities: "Bahia, Salvado"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
utc: [
|
|
330
|
+
"America/Araguaina",
|
|
331
|
+
"America/Belem",
|
|
332
|
+
"America/Cayenne",
|
|
333
|
+
"America/Fortaleza",
|
|
334
|
+
"America/Maceio",
|
|
335
|
+
"America/Paramaribo",
|
|
336
|
+
"America/Recife",
|
|
337
|
+
"America/Santarem",
|
|
338
|
+
"Antarctica/Rothera",
|
|
339
|
+
"Atlantic/Stanley",
|
|
340
|
+
"Etc/GMT+3"
|
|
341
|
+
],
|
|
342
|
+
label: "South American Eastern Standard Time",
|
|
343
|
+
keywords: "SA Eastern Standard Time Araguaina Belem Cayenne Fortaleza Maceio Paramaribo Recife Santarem Rothera Stanley GMT+3 SAEST SAET",
|
|
344
|
+
isDst: false,
|
|
345
|
+
cities: "Araguaina, Belem, Cayenne, Fortaleza, Maceio, Paramaribo, Recife, Santarem, Rothera, Stanley"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
utc: [
|
|
349
|
+
"America/Anguilla",
|
|
350
|
+
"America/Antigua",
|
|
351
|
+
"America/Aruba",
|
|
352
|
+
"America/Barbados",
|
|
353
|
+
"America/Blanc-Sablon",
|
|
354
|
+
"America/Boa_Vista",
|
|
355
|
+
"America/Curacao",
|
|
356
|
+
"America/Dominica",
|
|
357
|
+
"America/Grand_Turk",
|
|
358
|
+
"America/Grenada",
|
|
359
|
+
"America/Guadeloupe",
|
|
360
|
+
"America/Guyana",
|
|
361
|
+
"America/Kralendijk",
|
|
362
|
+
"America/La_Paz",
|
|
363
|
+
"America/Lower_Princes",
|
|
364
|
+
"America/Manaus",
|
|
365
|
+
"America/Marigot",
|
|
366
|
+
"America/Martinique",
|
|
367
|
+
"America/Montserrat",
|
|
368
|
+
"America/Port_of_Spain",
|
|
369
|
+
"America/Porto_Velho",
|
|
370
|
+
"America/Puerto_Rico",
|
|
371
|
+
"America/Santo_Domingo",
|
|
372
|
+
"America/St_Barthelemy",
|
|
373
|
+
"America/St_Kitts",
|
|
374
|
+
"America/St_Lucia",
|
|
375
|
+
"America/St_Thomas",
|
|
376
|
+
"America/St_Vincent",
|
|
377
|
+
"America/Tortola",
|
|
378
|
+
"Etc/GMT+4"
|
|
379
|
+
],
|
|
380
|
+
label: "South American Western Standard Time",
|
|
381
|
+
keywords: "SA Western Standard Time Anguilla Antigua Aruba Barbados Blanc-Sablon Boa Vista Curacao Dominica Grand_Turk Grenada Guadeloupe Guyana Kralendijk La_Paz Lower_Princes Manaus Marigot Martinique Montserrat Port_of_Spain Porto_Velho Puerto_Rico Santo_Domingo St_Barthelemy St_Kitts St_Lucia St_Thomas St_Vincent Tortola GMT+4 SAWST SAWT",
|
|
382
|
+
isDst: false,
|
|
383
|
+
cities: "Anguilla, Antigua, Aruba, Barbados, Blanc-Sablon, Boa Vista, Curacao, Dominica, Grand_Turk, Grenada, Guadeloupe, Guyana, Kralendijk, La Paz, Lower_Princes, Manaus, Marigot, Martinique, Montserrat, Port_of_Spain, Porto_Velho, Puerto_Rico, Santo_Domingo, St_Barthelemy, St_Kitts, St_Lucia, St_Thomas, St_Vincent, Tortola, Georgetown, La Paz, San Juan"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
utc: [
|
|
387
|
+
"America/Indiana/Marengo",
|
|
388
|
+
"America/Indiana/Vevay",
|
|
389
|
+
"America/Indianapolis"
|
|
390
|
+
],
|
|
391
|
+
label: "US Eastern Standard Time",
|
|
392
|
+
keywords: "US Eastern Standard Time Marengo Vevay Indianapolis UEST UET",
|
|
393
|
+
isDst: false,
|
|
394
|
+
cities: "Marengo, Vevay, Indianapolis"
|
|
395
|
+
}
|
|
396
|
+
];
|
|
397
|
+
const Asia = [
|
|
398
|
+
{
|
|
399
|
+
utc: [
|
|
400
|
+
"Asia/Kolkata",
|
|
401
|
+
"Asia/Calcutta"
|
|
402
|
+
],
|
|
403
|
+
label: "Indian Standard Time",
|
|
404
|
+
keywords: "India Standard Time Kolkata Calcutta Chennai Mumbai New Delhi IST",
|
|
405
|
+
isDst: false,
|
|
406
|
+
cities: "Kolkata, Chennai, Mumbai, New Delhi"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
utc: [
|
|
410
|
+
"Asia/Beirut"
|
|
411
|
+
],
|
|
412
|
+
label: "Middle East Standard Time",
|
|
413
|
+
keywords: "Middle East Standard Time Beirut MEST",
|
|
414
|
+
isDst: true,
|
|
415
|
+
cities: "Beirut"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
utc: [
|
|
419
|
+
"Asia/Damascus"
|
|
420
|
+
],
|
|
421
|
+
label: "Syria Standard Time",
|
|
422
|
+
keywords: "Syria Standard Time Damascus SST",
|
|
423
|
+
isDst: true,
|
|
424
|
+
cities: "Damascus"
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
utc: [
|
|
428
|
+
"Asia/Jerusalem"
|
|
429
|
+
],
|
|
430
|
+
label: "Israel Standard Time",
|
|
431
|
+
keywords: "Israel Standard Time Jerusalem IST",
|
|
432
|
+
isDst: true,
|
|
433
|
+
cities: "Jerusalem"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
utc: [
|
|
437
|
+
"Asia/Amman"
|
|
438
|
+
],
|
|
439
|
+
label: "Jordan Standard Time",
|
|
440
|
+
keywords: "Jordan Standard Time Amman JST",
|
|
441
|
+
isDst: false,
|
|
442
|
+
cities: "Amman"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
utc: [
|
|
446
|
+
"Asia/Baghdad"
|
|
447
|
+
],
|
|
448
|
+
label: "Arabic Standard Time",
|
|
449
|
+
keywords: "Arabic Standard Time Baghdad AST",
|
|
450
|
+
isDst: false,
|
|
451
|
+
cities: "Baghdad"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
utc: [
|
|
455
|
+
"Asia/Aden",
|
|
456
|
+
"Asia/Bahrain",
|
|
457
|
+
"Asia/Kuwait",
|
|
458
|
+
"Asia/Qatar",
|
|
459
|
+
"Asia/Riyadh"
|
|
460
|
+
],
|
|
461
|
+
label: "Arab Standard Time",
|
|
462
|
+
keywords: "Arab Standard Time Aden Bahrain Kuwait Qatar Riyadh AST",
|
|
463
|
+
isDst: false,
|
|
464
|
+
cities: "Aden, Bahrain, Kuwait, Qatar, Riyadh"
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
utc: [
|
|
468
|
+
"Asia/Tehran"
|
|
469
|
+
],
|
|
470
|
+
label: "Iran Standard Time",
|
|
471
|
+
keywords: "Iran Standard Time Tehran IST",
|
|
472
|
+
isDst: true,
|
|
473
|
+
cities: "Tehran"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
utc: [
|
|
477
|
+
"Asia/Dubai",
|
|
478
|
+
"Asia/Muscat",
|
|
479
|
+
"Etc/GMT-4"
|
|
480
|
+
],
|
|
481
|
+
label: "Arabian Standard time",
|
|
482
|
+
keywords: "Arabian Standard Time Dubai Muscat GMT-4 AST",
|
|
483
|
+
isDst: false,
|
|
484
|
+
cities: "Dubai, Muscat, Abu Dhabi"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
utc: [
|
|
488
|
+
"Asia/Baku"
|
|
489
|
+
],
|
|
490
|
+
label: "Azerbaijan Standard Time",
|
|
491
|
+
keywords: "Azerbaijan Standard Time Baku AST",
|
|
492
|
+
isDst: true,
|
|
493
|
+
cities: "Baku"
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
utc: [
|
|
497
|
+
"Asia/Tbilisi"
|
|
498
|
+
],
|
|
499
|
+
label: "Georgian Standard Time",
|
|
500
|
+
keywords: "Georgian Standard Time Tbilisi GST",
|
|
501
|
+
isDst: false,
|
|
502
|
+
cities: "Tbilisi"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
utc: [
|
|
506
|
+
"Asia/Yerevan"
|
|
507
|
+
],
|
|
508
|
+
label: "Caucasus Standard Time",
|
|
509
|
+
keywords: "Caucasus Standard Time Yerevan CST",
|
|
510
|
+
isDst: false,
|
|
511
|
+
cities: "Yerevan"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
utc: [
|
|
515
|
+
"Asia/Kabul"
|
|
516
|
+
],
|
|
517
|
+
label: "Afghanistan Standard Time",
|
|
518
|
+
keywords: "Afghanistan Standard Time Kabul AST",
|
|
519
|
+
isDst: false,
|
|
520
|
+
cities: "Kabul"
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
utc: [
|
|
524
|
+
"Antarctica/Mawson",
|
|
525
|
+
"Asia/Aqtau",
|
|
526
|
+
"Asia/Aqtobe",
|
|
527
|
+
"Asia/Ashgabat",
|
|
528
|
+
"Asia/Dushanbe",
|
|
529
|
+
"Asia/Oral",
|
|
530
|
+
"Asia/Samarkand",
|
|
531
|
+
"Asia/Tashkent",
|
|
532
|
+
"Etc/GMT-5",
|
|
533
|
+
"Indian/Kerguelen",
|
|
534
|
+
"Indian/Maldives"
|
|
535
|
+
],
|
|
536
|
+
label: "West Asia Standard Time",
|
|
537
|
+
keywords: "West Asia Standard Time Mawson Aqtau Aqtobe Ashgabat Dushanbe Oral Samarkand Tashkent GMT-5 Kerguelen Maldives WAST",
|
|
538
|
+
isDst: false,
|
|
539
|
+
cities: "Mawson, Aqtau, Aqtobe, Ashgabat, Dushanbe, Oral, Samarkand, Tashkent, Kerguelen, Maldives"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
utc: [
|
|
543
|
+
"Asia/Yekaterinburg"
|
|
544
|
+
],
|
|
545
|
+
label: "Yekaterinburg Time",
|
|
546
|
+
keywords: "Yekaterinburg Time YT",
|
|
547
|
+
isDst: false,
|
|
548
|
+
cities: "Yekaterinburg"
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
utc: [
|
|
552
|
+
"Asia/Karachi"
|
|
553
|
+
],
|
|
554
|
+
label: "Pakistan Standard Time",
|
|
555
|
+
keywords: "Pakistan Standard Time Karachi PST",
|
|
556
|
+
isDst: false,
|
|
557
|
+
cities: "Islamabad, Karachi"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
utc: [
|
|
561
|
+
"Asia/Colombo"
|
|
562
|
+
],
|
|
563
|
+
label: "Sri Lanka Standard Time",
|
|
564
|
+
keywords: "Sri Lanka Standard Time Colombo SLST SST",
|
|
565
|
+
isDst: false,
|
|
566
|
+
cities: "Colombo"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
utc: [
|
|
570
|
+
"Asia/Kathmandu"
|
|
571
|
+
],
|
|
572
|
+
label: "Nepal Standard Time",
|
|
573
|
+
keywords: "Nepal Standard Time Kathmandu NST",
|
|
574
|
+
isDst: false,
|
|
575
|
+
cities: "Kathmandu"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
utc: [
|
|
579
|
+
"Antarctica/Vostok",
|
|
580
|
+
"Asia/Almaty",
|
|
581
|
+
"Asia/Bishkek",
|
|
582
|
+
"Asia/Qyzylorda",
|
|
583
|
+
"Asia/Urumqi",
|
|
584
|
+
"Etc/GMT-6",
|
|
585
|
+
"Indian/Chagos"
|
|
586
|
+
],
|
|
587
|
+
label: "Central Asia Standard Time",
|
|
588
|
+
keywords: "Central Asia Standard Time Vostok Almaty Bishkek Qyzylorda Urumqi GMT-6 Chagos CAST",
|
|
589
|
+
isDst: false,
|
|
590
|
+
cities: "Vostok, Almaty, Bishkek, Qyzylorda, Urumqi, Chagos, Nur-Sultan (Astana)"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
utc: [
|
|
594
|
+
"Asia/Dhaka",
|
|
595
|
+
"Asia/Thimphu"
|
|
596
|
+
],
|
|
597
|
+
label: "Bangladesh Standard Time",
|
|
598
|
+
keywords: "Bangladesh Standard Time Dhaka Thimphu BST",
|
|
599
|
+
isDst: false,
|
|
600
|
+
cities: "Dhaka, Thimpu"
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
utc: [
|
|
604
|
+
"Asia/Rangoon",
|
|
605
|
+
"Indian/Cocos"
|
|
606
|
+
],
|
|
607
|
+
label: "Myanmar Standard Time",
|
|
608
|
+
keywords: "Myanmar Standard Time Rangoon Cocos MST",
|
|
609
|
+
isDst: false,
|
|
610
|
+
cities: "Rangoon, Cocos"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
utc: [
|
|
614
|
+
"Antarctica/Davis",
|
|
615
|
+
"Asia/Bangkok",
|
|
616
|
+
"Asia/Hovd",
|
|
617
|
+
"Asia/Jakarta",
|
|
618
|
+
"Asia/Phnom_Penh",
|
|
619
|
+
"Asia/Pontianak",
|
|
620
|
+
"Asia/Saigon",
|
|
621
|
+
"Asia/Vientiane",
|
|
622
|
+
"Etc/GMT-7",
|
|
623
|
+
"Indian/Christmas"
|
|
624
|
+
],
|
|
625
|
+
label: "South East Asia Standard Time",
|
|
626
|
+
keywords: "SE Asia Standard Time Davis Bangkok Hovd Jakarta Phnom Penh Pontianak Saigon Vientiane GMT-7 Christmas SEAST SST",
|
|
627
|
+
isDst: false,
|
|
628
|
+
cities: "Bangkok, Hanoi, Jakarta, Hovd, Davis, Phnom Penh, Pontianak, Saigon, Vientiane, Christmas"
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
utc: [
|
|
632
|
+
"Asia/Novokuznetsk",
|
|
633
|
+
"Asia/Novosibirsk",
|
|
634
|
+
"Asia/Omsk"
|
|
635
|
+
],
|
|
636
|
+
label: "North Central Asia Standard Time",
|
|
637
|
+
keywords: "N. Central Asia Standard Time Novokuznetsk Novosibirsk Omsk NCAST NST",
|
|
638
|
+
isDst: false,
|
|
639
|
+
cities: "Novosibirsk, Novokuznetsk, Omsk"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
utc: [
|
|
643
|
+
"Asia/Hong_Kong",
|
|
644
|
+
"Asia/Macau",
|
|
645
|
+
"Asia/Shanghai"
|
|
646
|
+
],
|
|
647
|
+
label: "China Standard Time",
|
|
648
|
+
keywords: "China Standard Time Hong Kong Macau Shanghai CST",
|
|
649
|
+
isDst: false,
|
|
650
|
+
cities: "Beijing, Chongqing, Hong Kong, Urumqi, Macau, Shanghai"
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
utc: [
|
|
654
|
+
"Asia/Krasnoyarsk"
|
|
655
|
+
],
|
|
656
|
+
label: "North Asia Standard Time",
|
|
657
|
+
keywords: "North Asia Standard Time Krasnoyarsk NAST NAT",
|
|
658
|
+
isDst: false,
|
|
659
|
+
cities: "Krasnoyarsk"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
utc: [
|
|
663
|
+
"Asia/Brunei",
|
|
664
|
+
"Asia/Kuala_Lumpur",
|
|
665
|
+
"Asia/Kuching",
|
|
666
|
+
"Asia/Makassar",
|
|
667
|
+
"Asia/Manila",
|
|
668
|
+
"Asia/Singapore",
|
|
669
|
+
"Etc/GMT-8"
|
|
670
|
+
],
|
|
671
|
+
label: "Singapore Standard Time",
|
|
672
|
+
keywords: "Singapore Standard Time Brunei Kuala Lumpur Kuching Makassar Manila Singapore GMT-8 SST",
|
|
673
|
+
isDst: false,
|
|
674
|
+
cities: "Brunei, Kuala Lumpur, Singapore, Makassar, Manila, Kuching"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
utc: [
|
|
678
|
+
"Asia/Taipei"
|
|
679
|
+
],
|
|
680
|
+
label: "Taipei Standard Time",
|
|
681
|
+
keywords: "Taipei Standard Time Taipei TST",
|
|
682
|
+
isDst: false,
|
|
683
|
+
cities: "Taipei"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
utc: [
|
|
687
|
+
"Asia/Choibalsan",
|
|
688
|
+
"Asia/Ulaanbaatar"
|
|
689
|
+
],
|
|
690
|
+
label: "Ulaanbaatar Standard Time",
|
|
691
|
+
keywords: "Ulaanbaatar Standard Time Choibalsan Ulaanbaatar UST",
|
|
692
|
+
isDst: false,
|
|
693
|
+
cities: "Ulaanbaatar, Choibalsan"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
utc: [
|
|
697
|
+
"Asia/Irkutsk"
|
|
698
|
+
],
|
|
699
|
+
label: "North Asia East Standard Time",
|
|
700
|
+
keywords: "North Asia East Standard Time Irkutsk NAEST",
|
|
701
|
+
isDst: false,
|
|
702
|
+
cities: "Irkutsk"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
utc: [
|
|
706
|
+
"Asia/Dili",
|
|
707
|
+
"Asia/Jayapura",
|
|
708
|
+
"Asia/Tokyo",
|
|
709
|
+
"Etc/GMT-9",
|
|
710
|
+
"Pacific/Palau"
|
|
711
|
+
],
|
|
712
|
+
label: "Japan Standard Time",
|
|
713
|
+
keywords: "Japan Standard Time Dili Jayapura Tokyo GMT-9 Palau JST",
|
|
714
|
+
isDst: false,
|
|
715
|
+
cities: "Osaka, Sapporo, Tokyo, Jayapura, Dili, Palau"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
utc: [
|
|
719
|
+
"Asia/Pyongyang",
|
|
720
|
+
"Asia/Seoul"
|
|
721
|
+
],
|
|
722
|
+
label: "Korea Standard Time",
|
|
723
|
+
keywords: "Korea Standard Time Pyongyang Seoul KST",
|
|
724
|
+
isDst: false,
|
|
725
|
+
cities: "Pyongyang, Seoul"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
utc: [
|
|
729
|
+
"Asia/Anadyr",
|
|
730
|
+
"Asia/Kamchatka",
|
|
731
|
+
"Asia/Magadan",
|
|
732
|
+
"Asia/Srednekolymsk"
|
|
733
|
+
],
|
|
734
|
+
label: "Magadan Standard Time",
|
|
735
|
+
keywords: "Magadan Standard Time Anadyr Kamchatka Magadan Srednekolymsk MST",
|
|
736
|
+
isDst: false,
|
|
737
|
+
cities: "Anadyr, Kamchatka, Magadan, Srednekolymsk"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
utc: [
|
|
741
|
+
"Asia/Kamchatka"
|
|
742
|
+
],
|
|
743
|
+
label: "Kamchatka Standard Time",
|
|
744
|
+
keywords: "Kamchatka Standard Time Kamchatka KST",
|
|
745
|
+
isDst: true,
|
|
746
|
+
cities: "Petropavlovsk-Kamchatsky - Old"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
utc: [
|
|
750
|
+
"Asia/Sakhalin",
|
|
751
|
+
"Asia/Ust-Nera",
|
|
752
|
+
"Asia/Vladivostok"
|
|
753
|
+
],
|
|
754
|
+
label: "Vladivostok Standard Time",
|
|
755
|
+
keywords: "Vladivostok Standard Time Sakhalin Ust-Nera Vladivostok VST",
|
|
756
|
+
isDst: false,
|
|
757
|
+
cities: "Sakhalin, Ust-Nera, Vladivostok"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
utc: [
|
|
761
|
+
"Asia/Chita",
|
|
762
|
+
"Asia/Khandyga",
|
|
763
|
+
"Asia/Yakutsk"
|
|
764
|
+
],
|
|
765
|
+
label: "Yakutsk Standard Time",
|
|
766
|
+
keywords: "Yakutsk Standard Time Chita Khandyga Yakutsk YST",
|
|
767
|
+
isDst: false,
|
|
768
|
+
cities: "Chita, Khandyga, Yakutsk"
|
|
769
|
+
}
|
|
770
|
+
];
|
|
771
|
+
const Atlantic = [
|
|
772
|
+
{
|
|
773
|
+
utc: [
|
|
774
|
+
"America/Scoresbysund",
|
|
775
|
+
"Atlantic/Azores"
|
|
776
|
+
],
|
|
777
|
+
label: "Azores Standard Time",
|
|
778
|
+
keywords: "Azores Standard Time Scoresbysund Azores AST",
|
|
779
|
+
isDst: true,
|
|
780
|
+
cities: "Scoresbysund, Azores"
|
|
781
|
+
},
|
|
782
|
+
{
|
|
783
|
+
utc: [
|
|
784
|
+
"Atlantic/Cape_Verde",
|
|
785
|
+
"Etc/GMT+1"
|
|
786
|
+
],
|
|
787
|
+
label: "Cape Verde Standard Time",
|
|
788
|
+
keywords: "Cape Verde Standard Time Cape Verde GMT+1 CVST CST",
|
|
789
|
+
isDst: true,
|
|
790
|
+
cities: "Cape Verde"
|
|
791
|
+
}
|
|
792
|
+
];
|
|
793
|
+
const Australia = [
|
|
794
|
+
{
|
|
795
|
+
utc: [
|
|
796
|
+
"Antarctica/Casey",
|
|
797
|
+
"Australia/Perth"
|
|
798
|
+
],
|
|
799
|
+
label: "West Australia Standard Time",
|
|
800
|
+
keywords: "W. Australia Standard Time Casey Perth WAST",
|
|
801
|
+
isDst: false,
|
|
802
|
+
cities: "Casey, Perth"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
utc: [
|
|
806
|
+
"Australia/Adelaide",
|
|
807
|
+
"Australia/Broken_Hill"
|
|
808
|
+
],
|
|
809
|
+
label: "Central Australian Standard Time",
|
|
810
|
+
keywords: "Cen. Australia Standard Time Adelaide Broken Hill CAST",
|
|
811
|
+
isDst: false,
|
|
812
|
+
cities: "Adelaide, Broken Hill"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
utc: [
|
|
816
|
+
"Australia/Darwin"
|
|
817
|
+
],
|
|
818
|
+
label: "Australian Central Standard Time",
|
|
819
|
+
keywords: "AUS Central Standard Time Darwin ACST",
|
|
820
|
+
isDst: false,
|
|
821
|
+
cities: "Darwin"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
utc: [
|
|
825
|
+
"Australia/Brisbane",
|
|
826
|
+
"Australia/Lindeman"
|
|
827
|
+
],
|
|
828
|
+
label: "East Australian Standard Time",
|
|
829
|
+
keywords: "East Australian Australia Standard Time Brisbane Lindeman EAST",
|
|
830
|
+
isDst: false,
|
|
831
|
+
cities: "Brisbane, Lindeman"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
utc: [
|
|
835
|
+
"Australia/Melbourne",
|
|
836
|
+
"Australia/Sydney"
|
|
837
|
+
],
|
|
838
|
+
label: "Australian Eastern Standard Time",
|
|
839
|
+
keywords: "AUS Eastern Standard Time Melbourne Sydney AEST",
|
|
840
|
+
isDst: false,
|
|
841
|
+
cities: "Melbourne, Sydney, Canberra"
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
utc: [
|
|
845
|
+
"Australia/Currie",
|
|
846
|
+
"Australia/Hobart"
|
|
847
|
+
],
|
|
848
|
+
label: "Tasmania Standard Time",
|
|
849
|
+
keywords: "Tasmania Standard Time Currie Hobart TST",
|
|
850
|
+
isDst: false,
|
|
851
|
+
cities: "Currie, Hobart"
|
|
852
|
+
}
|
|
853
|
+
];
|
|
854
|
+
const Europe = [
|
|
855
|
+
{
|
|
856
|
+
utc: [
|
|
857
|
+
"Europe/London",
|
|
858
|
+
"Europe/Isle_of_Man",
|
|
859
|
+
"Europe/Guernsey",
|
|
860
|
+
"Europe/Jersey"
|
|
861
|
+
],
|
|
862
|
+
label: "GMT Standard Time",
|
|
863
|
+
keywords: "GMT Standard Time Isle of_Man Guernsey Jersey London Edinburgh England",
|
|
864
|
+
isDst: true,
|
|
865
|
+
cities: "London, Edinburgh, Isle of Man, Guernsey, Jersey"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
utc: [
|
|
869
|
+
"WET",
|
|
870
|
+
"Atlantic/Canary",
|
|
871
|
+
"Atlantic/Faeroe",
|
|
872
|
+
"Atlantic/Madeira",
|
|
873
|
+
"Europe/Dublin",
|
|
874
|
+
"Europe/Lisbon"
|
|
875
|
+
],
|
|
876
|
+
label: "Western European Time",
|
|
877
|
+
keywords: "WET Western European Time Canary Faeroe Madeira Dublin Lisbon",
|
|
878
|
+
isDst: true,
|
|
879
|
+
cities: "Canary, Faeroe, Madeira, Dublin, Lisbon"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
utc: [
|
|
883
|
+
"CET",
|
|
884
|
+
"Africa/Ceuta",
|
|
885
|
+
"Arctic/Longyearbyen",
|
|
886
|
+
"Europe/Amsterdam",
|
|
887
|
+
"Europe/Andorra",
|
|
888
|
+
"Europe/Belgrade",
|
|
889
|
+
"Europe/Berlin",
|
|
890
|
+
"Europe/Bratislava",
|
|
891
|
+
"Europe/Brussels",
|
|
892
|
+
"Europe/Budapest",
|
|
893
|
+
"Europe/Busingen",
|
|
894
|
+
"Europe/Copenhagen",
|
|
895
|
+
"Europe/Gibraltar",
|
|
896
|
+
"Europe/Ljubljana",
|
|
897
|
+
"Europe/Luxembourg",
|
|
898
|
+
"Europe/Madrid",
|
|
899
|
+
"Europe/Malta",
|
|
900
|
+
"Europe/Monaco",
|
|
901
|
+
"Europe/Oslo",
|
|
902
|
+
"Europe/Paris",
|
|
903
|
+
"Europe/Podgorica",
|
|
904
|
+
"Europe/Prague",
|
|
905
|
+
"Europe/Rome",
|
|
906
|
+
"Europe/San_Marino",
|
|
907
|
+
"Europe/Sarajevo",
|
|
908
|
+
"Europe/Skopje",
|
|
909
|
+
"Europe/Stockholm",
|
|
910
|
+
"Europe/Tirane",
|
|
911
|
+
"Europe/Vaduz",
|
|
912
|
+
"Europe/Vatican",
|
|
913
|
+
"Europe/Vienna",
|
|
914
|
+
"Europe/Warsaw",
|
|
915
|
+
"Europe/Zagreb",
|
|
916
|
+
"Europe/Zurich"
|
|
917
|
+
],
|
|
918
|
+
label: "Central European Time",
|
|
919
|
+
keywords: "CET Central European Time Amsterdam Andorra Belgrade Berlin Bern Bratislava Brussels Budapest Busingen Ceuta Copenhagen Gibraltar Ljubljana Longyearbyen Luxembourg Madrid Malta Monaco Oslo Paris Podgorica Prague Rome San Marino Stockholm Tirane Vaduz Vatican Vienna Zurich Spain France Italy Germany",
|
|
920
|
+
isDst: true,
|
|
921
|
+
cities: "Amsterdam, Andorra, Belgrade, Berlin, Bern, Bratislava, Brussels, Budapest, Busingen, Ceuta, Copenhagen, Gibraltar, Ljubljana, Longyearbyen, Luxembourg, Madrid, Malta, Monaco, Oslo, Paris, Podgorica, Prague, Rome, San Marino, Stockholm, Tirane, Vaduz, Vatican, Vienna, Zurich"
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
utc: [
|
|
925
|
+
"EET",
|
|
926
|
+
"Asia/Nicosia",
|
|
927
|
+
"Europe/Athens",
|
|
928
|
+
"Europe/Bucharest",
|
|
929
|
+
"Europe/Chisinau",
|
|
930
|
+
"Europe/Helsinki",
|
|
931
|
+
"Europe/Kiev",
|
|
932
|
+
"Europe/Mariehamn",
|
|
933
|
+
"Europe/Nicosia",
|
|
934
|
+
"Europe/Riga",
|
|
935
|
+
"Europe/Sofia",
|
|
936
|
+
"Europe/Tallinn",
|
|
937
|
+
"Europe/Uzhgorod",
|
|
938
|
+
"Europe/Vilnius",
|
|
939
|
+
"Europe/Zaporozhye"
|
|
940
|
+
],
|
|
941
|
+
label: "Eastern European Time",
|
|
942
|
+
keywords: "Eastern European Time Athens Bucharest Chisinau Helsinki Kiev Mariehamn Nicosia Riga Sofia Tallinn Uzhgorod Vilnius Zaporozhye EEST",
|
|
943
|
+
isDst: true,
|
|
944
|
+
cities: "Athens, Bucharest, Chisinau, Helsinki, Kiev, Mariehamn, Nicosia, Riga, Sofia, Tallinn, Uzhgorod, Vilnius, Zaporozhye"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
utc: [
|
|
948
|
+
"Europe/Istanbul"
|
|
949
|
+
],
|
|
950
|
+
label: "Turkey Standard Time",
|
|
951
|
+
keywords: "Turkey Standard Time Istanbul TST",
|
|
952
|
+
isDst: false,
|
|
953
|
+
cities: "Istanbul"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
utc: [
|
|
957
|
+
"Europe/Kaliningrad"
|
|
958
|
+
],
|
|
959
|
+
label: "Kaliningrad Standard Time",
|
|
960
|
+
keywords: "Kaliningrad Standard Time Kaliningrad KST",
|
|
961
|
+
isDst: false,
|
|
962
|
+
cities: "Kaliningrad"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
utc: [
|
|
966
|
+
"Europe/Kirov",
|
|
967
|
+
"Europe/Moscow",
|
|
968
|
+
"Europe/Simferopol",
|
|
969
|
+
"Europe/Volgograd",
|
|
970
|
+
"Europe/Minsk"
|
|
971
|
+
],
|
|
972
|
+
label: "Moscow Standard Time",
|
|
973
|
+
keywords: "Moscow Standard Time Kirov Moscow Simferopol Volgograd Minsk MST",
|
|
974
|
+
isDst: false,
|
|
975
|
+
cities: "Moscow, St. Petersburg, Volgograd, Minsk, Kirov"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
utc: [
|
|
979
|
+
"Europe/Astrakhan",
|
|
980
|
+
"Europe/Samara",
|
|
981
|
+
"Europe/Ulyanovsk"
|
|
982
|
+
],
|
|
983
|
+
label: "Samara Time",
|
|
984
|
+
keywords: "Samara Time Astrakhan Samara Ulyanovsk ST",
|
|
985
|
+
isDst: false,
|
|
986
|
+
cities: "Samara, Ulyanovsk, Saratov"
|
|
987
|
+
}
|
|
988
|
+
];
|
|
989
|
+
const Pacific = [
|
|
990
|
+
{
|
|
991
|
+
utc: [
|
|
992
|
+
"Etc/GMT+11",
|
|
993
|
+
"Pacific/Midway",
|
|
994
|
+
"Pacific/Niue",
|
|
995
|
+
"Pacific/Pago_Pago"
|
|
996
|
+
],
|
|
997
|
+
label: "Coordinated Universal Time (UTC -11)",
|
|
998
|
+
keywords: "UTC-11 GMT+11 Midway Niue Pago Pago CUT",
|
|
999
|
+
isDst: false,
|
|
1000
|
+
cities: "Midway, Pago Pago"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
utc: [
|
|
1004
|
+
"Pacific/Apia"
|
|
1005
|
+
],
|
|
1006
|
+
label: "Samoa Standard Time",
|
|
1007
|
+
keywords: "Samoa Standard Time Apia SST",
|
|
1008
|
+
isDst: false,
|
|
1009
|
+
cities: "Apia"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
utc: [
|
|
1013
|
+
"Antarctica/McMurdo",
|
|
1014
|
+
"Pacific/Auckland"
|
|
1015
|
+
],
|
|
1016
|
+
label: "New Zealand Standard Time",
|
|
1017
|
+
keywords: "New Zealand Standard Time Wellington McMurdo Auckland NST",
|
|
1018
|
+
isDst: false,
|
|
1019
|
+
cities: "Auckland, Wellington, McMurdo"
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
utc: [
|
|
1023
|
+
"Pacific/Fiji"
|
|
1024
|
+
],
|
|
1025
|
+
label: "Fiji Standard Time",
|
|
1026
|
+
keywords: "Fiji Standard Time Fiji FST",
|
|
1027
|
+
isDst: false,
|
|
1028
|
+
cities: "Fiji"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
utc: [
|
|
1032
|
+
"Etc/GMT-12",
|
|
1033
|
+
"Pacific/Funafuti",
|
|
1034
|
+
"Pacific/Kwajalein",
|
|
1035
|
+
"Pacific/Majuro",
|
|
1036
|
+
"Pacific/Nauru",
|
|
1037
|
+
"Pacific/Tarawa",
|
|
1038
|
+
"Pacific/Wake",
|
|
1039
|
+
"Pacific/Wallis"
|
|
1040
|
+
],
|
|
1041
|
+
label: "Coordinated Universal Time (UtC +12)",
|
|
1042
|
+
keywords: "UTC+12 GMT-12 Funafuti Kwajalein Majuro Nauru Tarawa Wake Wallis CUT",
|
|
1043
|
+
isDst: false,
|
|
1044
|
+
cities: "Funafuti, Kwajalein, Majuro, Nauru, Tarawa, Wake, Wallis"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
utc: [
|
|
1048
|
+
"Antarctica/DumontDUrville",
|
|
1049
|
+
"Etc/GMT-10",
|
|
1050
|
+
"Pacific/Guam",
|
|
1051
|
+
"Pacific/Port_Moresby",
|
|
1052
|
+
"Pacific/Saipan",
|
|
1053
|
+
"Pacific/Truk"
|
|
1054
|
+
],
|
|
1055
|
+
label: "West Pacific Standard Time",
|
|
1056
|
+
keywords: "West Pacific Standard Time DumontDUrville GMT-10 Guam Port Moresby Saipan Truk WPST",
|
|
1057
|
+
isDst: false,
|
|
1058
|
+
cities: "DumontDUrville, Guam, Port Moresby, Saipan, Truk"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
utc: [
|
|
1062
|
+
"Antarctica/Macquarie",
|
|
1063
|
+
"Etc/GMT-11",
|
|
1064
|
+
"Pacific/Efate",
|
|
1065
|
+
"Pacific/Guadalcanal",
|
|
1066
|
+
"Pacific/Kosrae",
|
|
1067
|
+
"Pacific/Noumea",
|
|
1068
|
+
"Pacific/Ponape"
|
|
1069
|
+
],
|
|
1070
|
+
label: "Central Pacific Standard Time",
|
|
1071
|
+
keywords: "Central Pacific Standard Time Macquarie GMT-11 Efate Guadalcanal Kosrae Noumea Ponape CPST",
|
|
1072
|
+
isDst: false,
|
|
1073
|
+
cities: "Macquarie, Efate, Guadalcanal, Kosrae, Noumea, Ponape"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
utc: [
|
|
1077
|
+
"Etc/GMT-13",
|
|
1078
|
+
"Pacific/Enderbury",
|
|
1079
|
+
"Pacific/Fakaofo",
|
|
1080
|
+
"Pacific/Tongatapu"
|
|
1081
|
+
],
|
|
1082
|
+
label: "Tonga Standard Time",
|
|
1083
|
+
keywords: "Tonga Standard Time GMT-13 Enderbury Fakaofo Tongatapu TST",
|
|
1084
|
+
isDst: false,
|
|
1085
|
+
cities: "Enderbury, Fakaofo, Tongatapu"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
utc: [
|
|
1089
|
+
"Etc/GMT+12"
|
|
1090
|
+
],
|
|
1091
|
+
label: "International Date Line West",
|
|
1092
|
+
keywords: "Dateline Standard Time GMT+12 IDLW",
|
|
1093
|
+
isDst: false,
|
|
1094
|
+
cities: ""
|
|
1095
|
+
}
|
|
1096
|
+
];
|
|
1097
|
+
const UsCanada = [
|
|
1098
|
+
{
|
|
1099
|
+
utc: [
|
|
1100
|
+
"America/Los_Angeles",
|
|
1101
|
+
"America/Tijuana",
|
|
1102
|
+
"America/Vancouver",
|
|
1103
|
+
"PST8PDT"
|
|
1104
|
+
],
|
|
1105
|
+
label: "Pacific Standard Time",
|
|
1106
|
+
keywords: "Pacific Standard Time PST8PDT PST California Las Vegas Los Angeles Nevada Palm Springs San Diego San Francisco Tijuana Vancouver Washington",
|
|
1107
|
+
isDst: true,
|
|
1108
|
+
cities: "California, Las Vegas, Los Angeles, Nevada, Palm Springs, San Diego, San Francisco, Tijuana, Vancouver, Washington"
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
utc: [
|
|
1112
|
+
"America/Creston",
|
|
1113
|
+
"America/Dawson",
|
|
1114
|
+
"America/Dawson_Creek",
|
|
1115
|
+
"America/Hermosillo",
|
|
1116
|
+
"America/Phoenix",
|
|
1117
|
+
"America/Whitehorse",
|
|
1118
|
+
"Etc/GMT+7"
|
|
1119
|
+
],
|
|
1120
|
+
label: "Mountain Time",
|
|
1121
|
+
keywords: "US Mountain Standard Time GMT+7 MT MST Creston Dawson Creek Hermosillo Phoenix Whitehorse",
|
|
1122
|
+
isDst: false,
|
|
1123
|
+
cities: "Creston, Dawson, Dawson Creek, Hermosillo, Phoenix, Whitehorse"
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
utc: [
|
|
1127
|
+
"America/Boise",
|
|
1128
|
+
"America/Cambridge_Bay",
|
|
1129
|
+
"America/Denver",
|
|
1130
|
+
"America/Edmonton",
|
|
1131
|
+
"America/Inuvik",
|
|
1132
|
+
"America/Ojinaga",
|
|
1133
|
+
"America/Yellowknife",
|
|
1134
|
+
"MST7MDT"
|
|
1135
|
+
],
|
|
1136
|
+
label: "Mountain Time",
|
|
1137
|
+
keywords: "Mountain Time MST7MDT MT MST MDT Boise Cambridge_Bay Denver Edmonton Inuvik Ojinaga Yellowknife",
|
|
1138
|
+
isDst: true,
|
|
1139
|
+
cities: "Boise, Cambridge Bay, Denver, Edmonton, Inuvik, Ojinaga, Yellowknife"
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
utc: [
|
|
1143
|
+
"America/Chicago",
|
|
1144
|
+
"America/Indiana/Knox",
|
|
1145
|
+
"America/Indiana/Tell_City",
|
|
1146
|
+
"America/Matamoros",
|
|
1147
|
+
"America/Menominee",
|
|
1148
|
+
"America/North_Dakota/Beulah",
|
|
1149
|
+
"America/North_Dakota/Center",
|
|
1150
|
+
"America/North_Dakota/New_Salem",
|
|
1151
|
+
"America/Rainy_River",
|
|
1152
|
+
"America/Rankin_Inlet",
|
|
1153
|
+
"America/Resolute",
|
|
1154
|
+
"America/Winnipeg",
|
|
1155
|
+
"CST6CDT"
|
|
1156
|
+
],
|
|
1157
|
+
label: "Central Time",
|
|
1158
|
+
keywords: "Central Standard Time CST6CDT CT CDT Austin Beulah Center Chicago Illinois Knox Matamoros Menominee Nashville New Salem Rainy River Rankin Inlet Resolute San Antonio Tell City Tennessee Texas Winnipeg",
|
|
1159
|
+
isDst: true,
|
|
1160
|
+
cities: "Austin, Beulah, Center, Chicago, Knox, Matamoros, Menominee, Nashville, New Salem, Rainy River, Rankin Inlet, Resolute, San Antonio, Tell City, Tennessee, Texas, Winnipeg"
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
utc: [
|
|
1164
|
+
"America/New_York",
|
|
1165
|
+
"America/Detroit",
|
|
1166
|
+
"America/Havana",
|
|
1167
|
+
"America/Indiana/Petersburg",
|
|
1168
|
+
"America/Indiana/Vincennes",
|
|
1169
|
+
"America/Indiana/Winamac",
|
|
1170
|
+
"America/Iqaluit",
|
|
1171
|
+
"America/Kentucky/Monticello",
|
|
1172
|
+
"America/Louisville",
|
|
1173
|
+
"America/Montreal",
|
|
1174
|
+
"America/Nassau",
|
|
1175
|
+
"America/Nipigon",
|
|
1176
|
+
"America/Pangnirtung",
|
|
1177
|
+
"America/Port-au-Prince",
|
|
1178
|
+
"America/Thunder_Bay",
|
|
1179
|
+
"America/Toronto"
|
|
1180
|
+
],
|
|
1181
|
+
label: "Eastern Time",
|
|
1182
|
+
keywords: "Eastern Standard Time EST ET Boston Massachusetts Charleston South Carolina Detroit Florida Havana Iqaluit Louisville Miami Monticello Montreal Nassau New York Nipigon Orlando Pangnirtung Port-au-Prince Petersburg Saint Augustine Thunder Bay Toronto Vincennes Washington D.C Winamac",
|
|
1183
|
+
isDst: true,
|
|
1184
|
+
cities: "Boston, Charleston, Detroit, Florida, Havana, Iqaluit, Louisville, Miami, Monticello, Montreal, Nassau, New York, Nipigon, Orlando, Pangnirtung, Port-au-Prince, Petersburg, Saint Augustine, Thunder Bay, Toronto, Vincennes, Washington D.C, Winamac"
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
utc: [
|
|
1188
|
+
"America/Anchorage",
|
|
1189
|
+
"America/Juneau",
|
|
1190
|
+
"America/Nome",
|
|
1191
|
+
"America/Sitka",
|
|
1192
|
+
"America/Yakutat"
|
|
1193
|
+
],
|
|
1194
|
+
label: "Alaskan Time",
|
|
1195
|
+
keywords: "Alaskan Standard Time AT Anchorage Juneau Nome Sitka Yakutat",
|
|
1196
|
+
isDst: true,
|
|
1197
|
+
cities: "Anchorage, Juneau, Nome, Sitka, Yakutat"
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
utc: [
|
|
1201
|
+
"America/St_Johns"
|
|
1202
|
+
],
|
|
1203
|
+
label: "Newfoundland Time",
|
|
1204
|
+
keywords: "Newfoundland Standard Time NT St Johns",
|
|
1205
|
+
isDst: true,
|
|
1206
|
+
cities: "St Johns"
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
utc: [
|
|
1210
|
+
"Etc/GMT+10",
|
|
1211
|
+
"Pacific/Honolulu",
|
|
1212
|
+
"Pacific/Johnston",
|
|
1213
|
+
"Pacific/Rarotonga",
|
|
1214
|
+
"Pacific/Tahiti"
|
|
1215
|
+
],
|
|
1216
|
+
label: "Hawaiian Time",
|
|
1217
|
+
keywords: "Hawaiian Standard Time T GMT+10 Honolulu Johnston Lahaina Rarotonga Tahiti",
|
|
1218
|
+
isDst: false,
|
|
1219
|
+
cities: "Honolulu, Johnston, Lahaina, Rarotonga, Tahiti"
|
|
1220
|
+
}
|
|
1221
|
+
];
|
|
1222
|
+
var n$1, l$1, u$1, i$1, o$1, r$1, f$1, c$1 = {}, s$1 = [], a$1 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, v$1 = Array.isArray;
|
|
1223
|
+
function h$1(n2, l2) {
|
|
1224
|
+
for (var u2 in l2)
|
|
1225
|
+
n2[u2] = l2[u2];
|
|
1226
|
+
return n2;
|
|
1227
|
+
}
|
|
1228
|
+
function p$1(n2) {
|
|
1229
|
+
var l2 = n2.parentNode;
|
|
1230
|
+
l2 && l2.removeChild(n2);
|
|
1231
|
+
}
|
|
1232
|
+
function y(l2, u2, t2) {
|
|
1233
|
+
var i2, o2, r2, f2 = {};
|
|
1234
|
+
for (r2 in u2)
|
|
1235
|
+
"key" == r2 ? i2 = u2[r2] : "ref" == r2 ? o2 = u2[r2] : f2[r2] = u2[r2];
|
|
1236
|
+
if (arguments.length > 2 && (f2.children = arguments.length > 3 ? n$1.call(arguments, 2) : t2), "function" == typeof l2 && null != l2.defaultProps)
|
|
1237
|
+
for (r2 in l2.defaultProps)
|
|
1238
|
+
void 0 === f2[r2] && (f2[r2] = l2.defaultProps[r2]);
|
|
1239
|
+
return d$1(l2, f2, i2, o2, null);
|
|
1240
|
+
}
|
|
1241
|
+
function d$1(n2, t2, i2, o2, r2) {
|
|
1242
|
+
var f2 = { type: n2, props: t2, key: i2, ref: o2, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: null == r2 ? ++u$1 : r2 };
|
|
1243
|
+
return null == r2 && null != l$1.vnode && l$1.vnode(f2), f2;
|
|
1244
|
+
}
|
|
1245
|
+
function k$1(n2) {
|
|
1246
|
+
return n2.children;
|
|
1247
|
+
}
|
|
1248
|
+
function b$1(n2, l2) {
|
|
1249
|
+
this.props = n2, this.context = l2;
|
|
1250
|
+
}
|
|
1251
|
+
function g$1(n2, l2) {
|
|
1252
|
+
if (null == l2)
|
|
1253
|
+
return n2.__ ? g$1(n2.__, n2.__.__k.indexOf(n2) + 1) : null;
|
|
1254
|
+
for (var u2; l2 < n2.__k.length; l2++)
|
|
1255
|
+
if (null != (u2 = n2.__k[l2]) && null != u2.__e)
|
|
1256
|
+
return u2.__d || u2.__e;
|
|
1257
|
+
return "function" == typeof n2.type ? g$1(n2) : null;
|
|
1258
|
+
}
|
|
1259
|
+
function m$1(n2) {
|
|
1260
|
+
var l2, u2;
|
|
1261
|
+
if (null != (n2 = n2.__) && null != n2.__c) {
|
|
1262
|
+
for (n2.__e = n2.__c.base = null, l2 = 0; l2 < n2.__k.length; l2++)
|
|
1263
|
+
if (null != (u2 = n2.__k[l2]) && null != u2.__e) {
|
|
1264
|
+
n2.__e = n2.__c.base = u2.__e;
|
|
1265
|
+
break;
|
|
1266
|
+
}
|
|
1267
|
+
return m$1(n2);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
function w$1(n2) {
|
|
1271
|
+
(!n2.__d && (n2.__d = true) && i$1.push(n2) && !x.__r++ || o$1 !== l$1.debounceRendering) && ((o$1 = l$1.debounceRendering) || r$1)(x);
|
|
1272
|
+
}
|
|
1273
|
+
function x() {
|
|
1274
|
+
var n2, l2, u2, t2, o2, r2, e2, c2, s2;
|
|
1275
|
+
for (i$1.sort(f$1); n2 = i$1.shift(); )
|
|
1276
|
+
n2.__d && (l2 = i$1.length, t2 = void 0, o2 = void 0, r2 = void 0, c2 = (e2 = (u2 = n2).__v).__e, (s2 = u2.__P) && (t2 = [], o2 = [], (r2 = h$1({}, e2)).__v = e2.__v + 1, z$1(s2, e2, r2, u2.__n, void 0 !== s2.ownerSVGElement, null != e2.__h ? [c2] : null, t2, null == c2 ? g$1(e2) : c2, e2.__h, o2), L(t2, e2, o2), e2.__e != c2 && m$1(e2)), i$1.length > l2 && i$1.sort(f$1));
|
|
1277
|
+
x.__r = 0;
|
|
1278
|
+
}
|
|
1279
|
+
function P(n2, l2, u2, t2, i2, o2, r2, f2, e2, a2, h2) {
|
|
1280
|
+
var p2, y2, _, b2, m2, w2, x2, P2, C, D2 = 0, H2 = t2 && t2.__k || s$1, I2 = H2.length, T2 = I2, j2 = l2.length;
|
|
1281
|
+
for (u2.__k = [], p2 = 0; p2 < j2; p2++)
|
|
1282
|
+
null != (b2 = u2.__k[p2] = null == (b2 = l2[p2]) || "boolean" == typeof b2 || "function" == typeof b2 ? null : "string" == typeof b2 || "number" == typeof b2 || "bigint" == typeof b2 ? d$1(null, b2, null, null, b2) : v$1(b2) ? d$1(k$1, { children: b2 }, null, null, null) : b2.__b > 0 ? d$1(b2.type, b2.props, b2.key, b2.ref ? b2.ref : null, b2.__v) : b2) ? (b2.__ = u2, b2.__b = u2.__b + 1, -1 === (P2 = A(b2, H2, x2 = p2 + D2, T2)) ? _ = c$1 : (_ = H2[P2] || c$1, H2[P2] = void 0, T2--), z$1(n2, b2, _, i2, o2, r2, f2, e2, a2, h2), m2 = b2.__e, (y2 = b2.ref) && _.ref != y2 && (_.ref && N(_.ref, null, b2), h2.push(y2, b2.__c || m2, b2)), null != m2 && (null == w2 && (w2 = m2), (C = _ === c$1 || null === _.__v) ? -1 == P2 && D2-- : P2 !== x2 && (P2 === x2 + 1 ? D2++ : P2 > x2 ? T2 > j2 - x2 ? D2 += P2 - x2 : D2-- : D2 = P2 < x2 && P2 == x2 - 1 ? P2 - x2 : 0), x2 = p2 + D2, "function" != typeof b2.type || P2 === x2 && _.__k !== b2.__k ? "function" == typeof b2.type || P2 === x2 && !C ? void 0 !== b2.__d ? (e2 = b2.__d, b2.__d = void 0) : e2 = m2.nextSibling : e2 = S(n2, m2, e2) : e2 = $(b2, e2, n2), "function" == typeof u2.type && (u2.__d = e2))) : (_ = H2[p2]) && null == _.key && _.__e && (_.__e == e2 && (_.__ = t2, e2 = g$1(_)), O(_, _, false), H2[p2] = null);
|
|
1283
|
+
for (u2.__e = w2, p2 = I2; p2--; )
|
|
1284
|
+
null != H2[p2] && ("function" == typeof u2.type && null != H2[p2].__e && H2[p2].__e == u2.__d && (u2.__d = H2[p2].__e.nextSibling), O(H2[p2], H2[p2]));
|
|
1285
|
+
}
|
|
1286
|
+
function $(n2, l2, u2) {
|
|
1287
|
+
for (var t2, i2 = n2.__k, o2 = 0; i2 && o2 < i2.length; o2++)
|
|
1288
|
+
(t2 = i2[o2]) && (t2.__ = n2, l2 = "function" == typeof t2.type ? $(t2, l2, u2) : S(u2, t2.__e, l2));
|
|
1289
|
+
return l2;
|
|
1290
|
+
}
|
|
1291
|
+
function S(n2, l2, u2) {
|
|
1292
|
+
return null == u2 || u2.parentNode !== n2 ? n2.insertBefore(l2, null) : l2 == u2 && null != l2.parentNode || n2.insertBefore(l2, u2), l2.nextSibling;
|
|
1293
|
+
}
|
|
1294
|
+
function A(n2, l2, u2, t2) {
|
|
1295
|
+
var i2 = n2.key, o2 = n2.type, r2 = u2 - 1, f2 = u2 + 1, e2 = l2[u2];
|
|
1296
|
+
if (null === e2 || e2 && i2 == e2.key && o2 === e2.type)
|
|
1297
|
+
return u2;
|
|
1298
|
+
if (t2 > (null != e2 ? 1 : 0))
|
|
1299
|
+
for (; r2 >= 0 || f2 < l2.length; ) {
|
|
1300
|
+
if (r2 >= 0) {
|
|
1301
|
+
if ((e2 = l2[r2]) && i2 == e2.key && o2 === e2.type)
|
|
1302
|
+
return r2;
|
|
1303
|
+
r2--;
|
|
1304
|
+
}
|
|
1305
|
+
if (f2 < l2.length) {
|
|
1306
|
+
if ((e2 = l2[f2]) && i2 == e2.key && o2 === e2.type)
|
|
1307
|
+
return f2;
|
|
1308
|
+
f2++;
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
return -1;
|
|
1312
|
+
}
|
|
1313
|
+
function D(n2, l2, u2, t2, i2) {
|
|
1314
|
+
var o2;
|
|
1315
|
+
for (o2 in u2)
|
|
1316
|
+
"children" === o2 || "key" === o2 || o2 in l2 || I(n2, o2, null, u2[o2], t2);
|
|
1317
|
+
for (o2 in l2)
|
|
1318
|
+
i2 && "function" != typeof l2[o2] || "children" === o2 || "key" === o2 || "value" === o2 || "checked" === o2 || u2[o2] === l2[o2] || I(n2, o2, l2[o2], u2[o2], t2);
|
|
1319
|
+
}
|
|
1320
|
+
function H(n2, l2, u2) {
|
|
1321
|
+
"-" === l2[0] ? n2.setProperty(l2, null == u2 ? "" : u2) : n2[l2] = null == u2 ? "" : "number" != typeof u2 || a$1.test(l2) ? u2 : u2 + "px";
|
|
1322
|
+
}
|
|
1323
|
+
function I(n2, l2, u2, t2, i2) {
|
|
1324
|
+
var o2;
|
|
1325
|
+
n:
|
|
1326
|
+
if ("style" === l2)
|
|
1327
|
+
if ("string" == typeof u2)
|
|
1328
|
+
n2.style.cssText = u2;
|
|
1329
|
+
else {
|
|
1330
|
+
if ("string" == typeof t2 && (n2.style.cssText = t2 = ""), t2)
|
|
1331
|
+
for (l2 in t2)
|
|
1332
|
+
u2 && l2 in u2 || H(n2.style, l2, "");
|
|
1333
|
+
if (u2)
|
|
1334
|
+
for (l2 in u2)
|
|
1335
|
+
t2 && u2[l2] === t2[l2] || H(n2.style, l2, u2[l2]);
|
|
1336
|
+
}
|
|
1337
|
+
else if ("o" === l2[0] && "n" === l2[1])
|
|
1338
|
+
o2 = l2 !== (l2 = l2.replace(/(PointerCapture)$|Capture$/, "$1")), l2 = l2.toLowerCase() in n2 ? l2.toLowerCase().slice(2) : l2.slice(2), n2.l || (n2.l = {}), n2.l[l2 + o2] = u2, u2 ? t2 ? u2.u = t2.u : (u2.u = Date.now(), n2.addEventListener(l2, o2 ? j$1 : T, o2)) : n2.removeEventListener(l2, o2 ? j$1 : T, o2);
|
|
1339
|
+
else if ("dangerouslySetInnerHTML" !== l2) {
|
|
1340
|
+
if (i2)
|
|
1341
|
+
l2 = l2.replace(/xlink(H|:h)/, "h").replace(/sName$/, "s");
|
|
1342
|
+
else if ("width" !== l2 && "height" !== l2 && "href" !== l2 && "list" !== l2 && "form" !== l2 && "tabIndex" !== l2 && "download" !== l2 && "rowSpan" !== l2 && "colSpan" !== l2 && "role" !== l2 && l2 in n2)
|
|
1343
|
+
try {
|
|
1344
|
+
n2[l2] = null == u2 ? "" : u2;
|
|
1345
|
+
break n;
|
|
1346
|
+
} catch (n3) {
|
|
1347
|
+
}
|
|
1348
|
+
"function" == typeof u2 || (null == u2 || false === u2 && "-" !== l2[4] ? n2.removeAttribute(l2) : n2.setAttribute(l2, u2));
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
function T(n2) {
|
|
1352
|
+
var u2 = this.l[n2.type + false];
|
|
1353
|
+
if (n2.t) {
|
|
1354
|
+
if (n2.t <= u2.u)
|
|
1355
|
+
return;
|
|
1356
|
+
} else
|
|
1357
|
+
n2.t = Date.now();
|
|
1358
|
+
return u2(l$1.event ? l$1.event(n2) : n2);
|
|
1359
|
+
}
|
|
1360
|
+
function j$1(n2) {
|
|
1361
|
+
return this.l[n2.type + true](l$1.event ? l$1.event(n2) : n2);
|
|
1362
|
+
}
|
|
1363
|
+
function z$1(n2, u2, t2, i2, o2, r2, f2, e2, c2, s2) {
|
|
1364
|
+
var a2, p2, y2, d2, _, g2, m2, w2, x2, $2, C, S2, A2, D2, H2, I2 = u2.type;
|
|
1365
|
+
if (void 0 !== u2.constructor)
|
|
1366
|
+
return null;
|
|
1367
|
+
null != t2.__h && (c2 = t2.__h, e2 = u2.__e = t2.__e, u2.__h = null, r2 = [e2]), (a2 = l$1.__b) && a2(u2);
|
|
1368
|
+
n:
|
|
1369
|
+
if ("function" == typeof I2)
|
|
1370
|
+
try {
|
|
1371
|
+
if (w2 = u2.props, x2 = (a2 = I2.contextType) && i2[a2.__c], $2 = a2 ? x2 ? x2.props.value : a2.__ : i2, t2.__c ? m2 = (p2 = u2.__c = t2.__c).__ = p2.__E : ("prototype" in I2 && I2.prototype.render ? u2.__c = p2 = new I2(w2, $2) : (u2.__c = p2 = new b$1(w2, $2), p2.constructor = I2, p2.render = q), x2 && x2.sub(p2), p2.props = w2, p2.state || (p2.state = {}), p2.context = $2, p2.__n = i2, y2 = p2.__d = true, p2.__h = [], p2._sb = []), null == p2.__s && (p2.__s = p2.state), null != I2.getDerivedStateFromProps && (p2.__s == p2.state && (p2.__s = h$1({}, p2.__s)), h$1(p2.__s, I2.getDerivedStateFromProps(w2, p2.__s))), d2 = p2.props, _ = p2.state, p2.__v = u2, y2)
|
|
1372
|
+
null == I2.getDerivedStateFromProps && null != p2.componentWillMount && p2.componentWillMount(), null != p2.componentDidMount && p2.__h.push(p2.componentDidMount);
|
|
1373
|
+
else {
|
|
1374
|
+
if (null == I2.getDerivedStateFromProps && w2 !== d2 && null != p2.componentWillReceiveProps && p2.componentWillReceiveProps(w2, $2), !p2.__e && (null != p2.shouldComponentUpdate && false === p2.shouldComponentUpdate(w2, p2.__s, $2) || u2.__v === t2.__v)) {
|
|
1375
|
+
for (u2.__v !== t2.__v && (p2.props = w2, p2.state = p2.__s, p2.__d = false), u2.__e = t2.__e, u2.__k = t2.__k, u2.__k.forEach(function(n3) {
|
|
1376
|
+
n3 && (n3.__ = u2);
|
|
1377
|
+
}), C = 0; C < p2._sb.length; C++)
|
|
1378
|
+
p2.__h.push(p2._sb[C]);
|
|
1379
|
+
p2._sb = [], p2.__h.length && f2.push(p2);
|
|
1380
|
+
break n;
|
|
1381
|
+
}
|
|
1382
|
+
null != p2.componentWillUpdate && p2.componentWillUpdate(w2, p2.__s, $2), null != p2.componentDidUpdate && p2.__h.push(function() {
|
|
1383
|
+
p2.componentDidUpdate(d2, _, g2);
|
|
1384
|
+
});
|
|
1385
|
+
}
|
|
1386
|
+
if (p2.context = $2, p2.props = w2, p2.__P = n2, p2.__e = false, S2 = l$1.__r, A2 = 0, "prototype" in I2 && I2.prototype.render) {
|
|
1387
|
+
for (p2.state = p2.__s, p2.__d = false, S2 && S2(u2), a2 = p2.render(p2.props, p2.state, p2.context), D2 = 0; D2 < p2._sb.length; D2++)
|
|
1388
|
+
p2.__h.push(p2._sb[D2]);
|
|
1389
|
+
p2._sb = [];
|
|
1390
|
+
} else
|
|
1391
|
+
do {
|
|
1392
|
+
p2.__d = false, S2 && S2(u2), a2 = p2.render(p2.props, p2.state, p2.context), p2.state = p2.__s;
|
|
1393
|
+
} while (p2.__d && ++A2 < 25);
|
|
1394
|
+
p2.state = p2.__s, null != p2.getChildContext && (i2 = h$1(h$1({}, i2), p2.getChildContext())), y2 || null == p2.getSnapshotBeforeUpdate || (g2 = p2.getSnapshotBeforeUpdate(d2, _)), P(n2, v$1(H2 = null != a2 && a2.type === k$1 && null == a2.key ? a2.props.children : a2) ? H2 : [H2], u2, t2, i2, o2, r2, f2, e2, c2, s2), p2.base = u2.__e, u2.__h = null, p2.__h.length && f2.push(p2), m2 && (p2.__E = p2.__ = null);
|
|
1395
|
+
} catch (n3) {
|
|
1396
|
+
u2.__v = null, (c2 || null != r2) && (u2.__e = e2, u2.__h = !!c2, r2[r2.indexOf(e2)] = null), l$1.__e(n3, u2, t2);
|
|
1397
|
+
}
|
|
1398
|
+
else
|
|
1399
|
+
null == r2 && u2.__v === t2.__v ? (u2.__k = t2.__k, u2.__e = t2.__e) : u2.__e = M(t2.__e, u2, t2, i2, o2, r2, f2, c2, s2);
|
|
1400
|
+
(a2 = l$1.diffed) && a2(u2);
|
|
1401
|
+
}
|
|
1402
|
+
function L(n2, u2, t2) {
|
|
1403
|
+
for (var i2 = 0; i2 < t2.length; i2++)
|
|
1404
|
+
N(t2[i2], t2[++i2], t2[++i2]);
|
|
1405
|
+
l$1.__c && l$1.__c(u2, n2), n2.some(function(u3) {
|
|
1406
|
+
try {
|
|
1407
|
+
n2 = u3.__h, u3.__h = [], n2.some(function(n3) {
|
|
1408
|
+
n3.call(u3);
|
|
1409
|
+
});
|
|
1410
|
+
} catch (n3) {
|
|
1411
|
+
l$1.__e(n3, u3.__v);
|
|
1412
|
+
}
|
|
1413
|
+
});
|
|
1414
|
+
}
|
|
1415
|
+
function M(l2, u2, t2, i2, o2, r2, f2, e2, s2) {
|
|
1416
|
+
var a2, h2, y2, d2 = t2.props, _ = u2.props, k2 = u2.type, b2 = 0;
|
|
1417
|
+
if ("svg" === k2 && (o2 = true), null != r2) {
|
|
1418
|
+
for (; b2 < r2.length; b2++)
|
|
1419
|
+
if ((a2 = r2[b2]) && "setAttribute" in a2 == !!k2 && (k2 ? a2.localName === k2 : 3 === a2.nodeType)) {
|
|
1420
|
+
l2 = a2, r2[b2] = null;
|
|
1421
|
+
break;
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
if (null == l2) {
|
|
1425
|
+
if (null === k2)
|
|
1426
|
+
return document.createTextNode(_);
|
|
1427
|
+
l2 = o2 ? document.createElementNS("http://www.w3.org/2000/svg", k2) : document.createElement(k2, _.is && _), r2 = null, e2 = false;
|
|
1428
|
+
}
|
|
1429
|
+
if (null === k2)
|
|
1430
|
+
d2 === _ || e2 && l2.data === _ || (l2.data = _);
|
|
1431
|
+
else {
|
|
1432
|
+
if (r2 = r2 && n$1.call(l2.childNodes), h2 = (d2 = t2.props || c$1).dangerouslySetInnerHTML, y2 = _.dangerouslySetInnerHTML, !e2) {
|
|
1433
|
+
if (null != r2)
|
|
1434
|
+
for (d2 = {}, b2 = 0; b2 < l2.attributes.length; b2++)
|
|
1435
|
+
d2[l2.attributes[b2].name] = l2.attributes[b2].value;
|
|
1436
|
+
(y2 || h2) && (y2 && (h2 && y2.__html == h2.__html || y2.__html === l2.innerHTML) || (l2.innerHTML = y2 && y2.__html || ""));
|
|
1437
|
+
}
|
|
1438
|
+
if (D(l2, _, d2, o2, e2), y2)
|
|
1439
|
+
u2.__k = [];
|
|
1440
|
+
else if (P(l2, v$1(b2 = u2.props.children) ? b2 : [b2], u2, t2, i2, o2 && "foreignObject" !== k2, r2, f2, r2 ? r2[0] : t2.__k && g$1(t2, 0), e2, s2), null != r2)
|
|
1441
|
+
for (b2 = r2.length; b2--; )
|
|
1442
|
+
null != r2[b2] && p$1(r2[b2]);
|
|
1443
|
+
e2 || ("value" in _ && void 0 !== (b2 = _.value) && (b2 !== l2.value || "progress" === k2 && !b2 || "option" === k2 && b2 !== d2.value) && I(l2, "value", b2, d2.value, false), "checked" in _ && void 0 !== (b2 = _.checked) && b2 !== l2.checked && I(l2, "checked", b2, d2.checked, false));
|
|
1444
|
+
}
|
|
1445
|
+
return l2;
|
|
1446
|
+
}
|
|
1447
|
+
function N(n2, u2, t2) {
|
|
1448
|
+
try {
|
|
1449
|
+
"function" == typeof n2 ? n2(u2) : n2.current = u2;
|
|
1450
|
+
} catch (n3) {
|
|
1451
|
+
l$1.__e(n3, t2);
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
function O(n2, u2, t2) {
|
|
1455
|
+
var i2, o2;
|
|
1456
|
+
if (l$1.unmount && l$1.unmount(n2), (i2 = n2.ref) && (i2.current && i2.current !== n2.__e || N(i2, null, u2)), null != (i2 = n2.__c)) {
|
|
1457
|
+
if (i2.componentWillUnmount)
|
|
1458
|
+
try {
|
|
1459
|
+
i2.componentWillUnmount();
|
|
1460
|
+
} catch (n3) {
|
|
1461
|
+
l$1.__e(n3, u2);
|
|
1462
|
+
}
|
|
1463
|
+
i2.base = i2.__P = null, n2.__c = void 0;
|
|
1464
|
+
}
|
|
1465
|
+
if (i2 = n2.__k)
|
|
1466
|
+
for (o2 = 0; o2 < i2.length; o2++)
|
|
1467
|
+
i2[o2] && O(i2[o2], u2, t2 || "function" != typeof n2.type);
|
|
1468
|
+
t2 || null == n2.__e || p$1(n2.__e), n2.__ = n2.__e = n2.__d = void 0;
|
|
1469
|
+
}
|
|
1470
|
+
function q(n2, l2, u2) {
|
|
1471
|
+
return this.constructor(n2, u2);
|
|
1472
|
+
}
|
|
1473
|
+
function B$1(u2, t2, i2) {
|
|
1474
|
+
var o2, r2, f2, e2;
|
|
1475
|
+
l$1.__ && l$1.__(u2, t2), r2 = (o2 = "function" == typeof i2) ? null : i2 && i2.__k || t2.__k, f2 = [], e2 = [], z$1(t2, u2 = (!o2 && i2 || t2).__k = y(k$1, null, [u2]), r2 || c$1, c$1, void 0 !== t2.ownerSVGElement, !o2 && i2 ? [i2] : r2 ? null : t2.firstChild ? n$1.call(t2.childNodes) : null, f2, !o2 && i2 ? i2 : r2 ? r2.__e : t2.firstChild, o2, e2), L(f2, u2, e2);
|
|
1476
|
+
}
|
|
1477
|
+
n$1 = s$1.slice, l$1 = { __e: function(n2, l2, u2, t2) {
|
|
1478
|
+
for (var i2, o2, r2; l2 = l2.__; )
|
|
1479
|
+
if ((i2 = l2.__c) && !i2.__)
|
|
1480
|
+
try {
|
|
1481
|
+
if ((o2 = i2.constructor) && null != o2.getDerivedStateFromError && (i2.setState(o2.getDerivedStateFromError(n2)), r2 = i2.__d), null != i2.componentDidCatch && (i2.componentDidCatch(n2, t2 || {}), r2 = i2.__d), r2)
|
|
1482
|
+
return i2.__E = i2;
|
|
1483
|
+
} catch (l3) {
|
|
1484
|
+
n2 = l3;
|
|
1485
|
+
}
|
|
1486
|
+
throw n2;
|
|
1487
|
+
} }, u$1 = 0, b$1.prototype.setState = function(n2, l2) {
|
|
1488
|
+
var u2;
|
|
1489
|
+
u2 = null != this.__s && this.__s !== this.state ? this.__s : this.__s = h$1({}, this.state), "function" == typeof n2 && (n2 = n2(h$1({}, u2), this.props)), n2 && h$1(u2, n2), null != n2 && this.__v && (l2 && this._sb.push(l2), w$1(this));
|
|
1490
|
+
}, b$1.prototype.forceUpdate = function(n2) {
|
|
1491
|
+
this.__v && (this.__e = true, n2 && this.__h.push(n2), w$1(this));
|
|
1492
|
+
}, b$1.prototype.render = k$1, i$1 = [], r$1 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$1 = function(n2, l2) {
|
|
1493
|
+
return n2.__v.__b - l2.__v.__b;
|
|
1494
|
+
}, x.__r = 0;
|
|
1495
|
+
var n = function(t2, s2, r2, e2) {
|
|
1496
|
+
var u2;
|
|
1497
|
+
s2[0] = 0;
|
|
1498
|
+
for (var h2 = 1; h2 < s2.length; h2++) {
|
|
1499
|
+
var p2 = s2[h2++], a2 = s2[h2] ? (s2[0] |= p2 ? 1 : 2, r2[s2[h2++]]) : s2[++h2];
|
|
1500
|
+
3 === p2 ? e2[0] = a2 : 4 === p2 ? e2[1] = Object.assign(e2[1] || {}, a2) : 5 === p2 ? (e2[1] = e2[1] || {})[s2[++h2]] = a2 : 6 === p2 ? e2[1][s2[++h2]] += a2 + "" : p2 ? (u2 = t2.apply(a2, n(t2, a2, r2, ["", null])), e2.push(u2), a2[0] ? s2[0] |= 2 : (s2[h2 - 2] = 0, s2[h2] = u2)) : e2.push(a2);
|
|
1501
|
+
}
|
|
1502
|
+
return e2;
|
|
1503
|
+
}, t$1 = /* @__PURE__ */ new Map();
|
|
1504
|
+
function e$1(s2) {
|
|
1505
|
+
var r2 = t$1.get(this);
|
|
1506
|
+
return r2 || (r2 = /* @__PURE__ */ new Map(), t$1.set(this, r2)), (r2 = n(this, r2.get(s2) || (r2.set(s2, r2 = function(n2) {
|
|
1507
|
+
for (var t2, s3, r3 = 1, e2 = "", u2 = "", h2 = [0], p2 = function(n3) {
|
|
1508
|
+
1 === r3 && (n3 || (e2 = e2.replace(/^\s*\n\s*|\s*\n\s*$/g, ""))) ? h2.push(0, n3, e2) : 3 === r3 && (n3 || e2) ? (h2.push(3, n3, e2), r3 = 2) : 2 === r3 && "..." === e2 && n3 ? h2.push(4, n3, 0) : 2 === r3 && e2 && !n3 ? h2.push(5, 0, true, e2) : r3 >= 5 && ((e2 || !n3 && 5 === r3) && (h2.push(r3, 0, e2, s3), r3 = 6), n3 && (h2.push(r3, n3, 0, s3), r3 = 6)), e2 = "";
|
|
1509
|
+
}, a2 = 0; a2 < n2.length; a2++) {
|
|
1510
|
+
a2 && (1 === r3 && p2(), p2(a2));
|
|
1511
|
+
for (var l2 = 0; l2 < n2[a2].length; l2++)
|
|
1512
|
+
t2 = n2[a2][l2], 1 === r3 ? "<" === t2 ? (p2(), h2 = [h2], r3 = 3) : e2 += t2 : 4 === r3 ? "--" === e2 && ">" === t2 ? (r3 = 1, e2 = "") : e2 = t2 + e2[0] : u2 ? t2 === u2 ? u2 = "" : e2 += t2 : '"' === t2 || "'" === t2 ? u2 = t2 : ">" === t2 ? (p2(), r3 = 1) : r3 && ("=" === t2 ? (r3 = 5, s3 = e2, e2 = "") : "/" === t2 && (r3 < 5 || ">" === n2[a2][l2 + 1]) ? (p2(), 3 === r3 && (h2 = h2[0]), r3 = h2, (h2 = h2[0]).push(2, 0, r3), r3 = 0) : " " === t2 || " " === t2 || "\n" === t2 || "\r" === t2 ? (p2(), r3 = 2) : e2 += t2), 3 === r3 && "!--" === e2 && (r3 = 4, h2 = h2[0]);
|
|
1513
|
+
}
|
|
1514
|
+
return p2(), h2;
|
|
1515
|
+
}(s2)), r2), arguments, [])).length > 1 ? r2 : r2[0];
|
|
1516
|
+
}
|
|
1517
|
+
e$1.bind(y);
|
|
1518
|
+
var t, r, u, i, o = 0, f = [], c = [], e = l$1.__b, a = l$1.__r, v = l$1.diffed, l = l$1.__c, m = l$1.unmount;
|
|
1519
|
+
function d(t2, u2) {
|
|
1520
|
+
l$1.__h && l$1.__h(r, t2, o || u2), o = 0;
|
|
1521
|
+
var i2 = r.__H || (r.__H = { __: [], __h: [] });
|
|
1522
|
+
return t2 >= i2.__.length && i2.__.push({ __V: c }), i2.__[t2];
|
|
1523
|
+
}
|
|
1524
|
+
function h(n2) {
|
|
1525
|
+
return o = 1, s(B, n2);
|
|
1526
|
+
}
|
|
1527
|
+
function s(n2, u2, i2) {
|
|
1528
|
+
var o2 = d(t++, 2);
|
|
1529
|
+
if (o2.t = n2, !o2.__c && (o2.__ = [i2 ? i2(u2) : B(void 0, u2), function(n3) {
|
|
1530
|
+
var t2 = o2.__N ? o2.__N[0] : o2.__[0], r2 = o2.t(t2, n3);
|
|
1531
|
+
t2 !== r2 && (o2.__N = [r2, o2.__[1]], o2.__c.setState({}));
|
|
1532
|
+
}], o2.__c = r, !r.u)) {
|
|
1533
|
+
var f2 = function(n3, t2, r2) {
|
|
1534
|
+
if (!o2.__c.__H)
|
|
1535
|
+
return true;
|
|
1536
|
+
var u3 = o2.__c.__H.__.filter(function(n4) {
|
|
1537
|
+
return n4.__c;
|
|
1538
|
+
});
|
|
1539
|
+
if (u3.every(function(n4) {
|
|
1540
|
+
return !n4.__N;
|
|
1541
|
+
}))
|
|
1542
|
+
return !c2 || c2.call(this, n3, t2, r2);
|
|
1543
|
+
var i3 = false;
|
|
1544
|
+
return u3.forEach(function(n4) {
|
|
1545
|
+
if (n4.__N) {
|
|
1546
|
+
var t3 = n4.__[0];
|
|
1547
|
+
n4.__ = n4.__N, n4.__N = void 0, t3 !== n4.__[0] && (i3 = true);
|
|
1548
|
+
}
|
|
1549
|
+
}), !(!i3 && o2.__c.props === n3) && (!c2 || c2.call(this, n3, t2, r2));
|
|
1550
|
+
};
|
|
1551
|
+
r.u = true;
|
|
1552
|
+
var c2 = r.shouldComponentUpdate, e2 = r.componentWillUpdate;
|
|
1553
|
+
r.componentWillUpdate = function(n3, t2, r2) {
|
|
1554
|
+
if (this.__e) {
|
|
1555
|
+
var u3 = c2;
|
|
1556
|
+
c2 = void 0, f2(n3, t2, r2), c2 = u3;
|
|
1557
|
+
}
|
|
1558
|
+
e2 && e2.call(this, n3, t2, r2);
|
|
1559
|
+
}, r.shouldComponentUpdate = f2;
|
|
1560
|
+
}
|
|
1561
|
+
return o2.__N || o2.__;
|
|
1562
|
+
}
|
|
1563
|
+
function p(u2, i2) {
|
|
1564
|
+
var o2 = d(t++, 3);
|
|
1565
|
+
!l$1.__s && z(o2.__H, i2) && (o2.__ = u2, o2.i = i2, r.__H.__h.push(o2));
|
|
1566
|
+
}
|
|
1567
|
+
function b() {
|
|
1568
|
+
for (var t2; t2 = f.shift(); )
|
|
1569
|
+
if (t2.__P && t2.__H)
|
|
1570
|
+
try {
|
|
1571
|
+
t2.__H.__h.forEach(k), t2.__H.__h.forEach(w), t2.__H.__h = [];
|
|
1572
|
+
} catch (r2) {
|
|
1573
|
+
t2.__H.__h = [], l$1.__e(r2, t2.__v);
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
l$1.__b = function(n2) {
|
|
1577
|
+
r = null, e && e(n2);
|
|
1578
|
+
}, l$1.__r = function(n2) {
|
|
1579
|
+
a && a(n2), t = 0;
|
|
1580
|
+
var i2 = (r = n2.__c).__H;
|
|
1581
|
+
i2 && (u === r ? (i2.__h = [], r.__h = [], i2.__.forEach(function(n3) {
|
|
1582
|
+
n3.__N && (n3.__ = n3.__N), n3.__V = c, n3.__N = n3.i = void 0;
|
|
1583
|
+
})) : (i2.__h.forEach(k), i2.__h.forEach(w), i2.__h = [], t = 0)), u = r;
|
|
1584
|
+
}, l$1.diffed = function(t2) {
|
|
1585
|
+
v && v(t2);
|
|
1586
|
+
var o2 = t2.__c;
|
|
1587
|
+
o2 && o2.__H && (o2.__H.__h.length && (1 !== f.push(o2) && i === l$1.requestAnimationFrame || ((i = l$1.requestAnimationFrame) || j)(b)), o2.__H.__.forEach(function(n2) {
|
|
1588
|
+
n2.i && (n2.__H = n2.i), n2.__V !== c && (n2.__ = n2.__V), n2.i = void 0, n2.__V = c;
|
|
1589
|
+
})), u = r = null;
|
|
1590
|
+
}, l$1.__c = function(t2, r2) {
|
|
1591
|
+
r2.some(function(t3) {
|
|
1592
|
+
try {
|
|
1593
|
+
t3.__h.forEach(k), t3.__h = t3.__h.filter(function(n2) {
|
|
1594
|
+
return !n2.__ || w(n2);
|
|
1595
|
+
});
|
|
1596
|
+
} catch (u2) {
|
|
1597
|
+
r2.some(function(n2) {
|
|
1598
|
+
n2.__h && (n2.__h = []);
|
|
1599
|
+
}), r2 = [], l$1.__e(u2, t3.__v);
|
|
1600
|
+
}
|
|
1601
|
+
}), l && l(t2, r2);
|
|
1602
|
+
}, l$1.unmount = function(t2) {
|
|
1603
|
+
m && m(t2);
|
|
1604
|
+
var r2, u2 = t2.__c;
|
|
1605
|
+
u2 && u2.__H && (u2.__H.__.forEach(function(n2) {
|
|
1606
|
+
try {
|
|
1607
|
+
k(n2);
|
|
1608
|
+
} catch (n3) {
|
|
1609
|
+
r2 = n3;
|
|
1610
|
+
}
|
|
1611
|
+
}), u2.__H = void 0, r2 && l$1.__e(r2, u2.__v));
|
|
1612
|
+
};
|
|
1613
|
+
var g = "function" == typeof requestAnimationFrame;
|
|
1614
|
+
function j(n2) {
|
|
1615
|
+
var t2, r2 = function() {
|
|
1616
|
+
clearTimeout(u2), g && cancelAnimationFrame(t2), setTimeout(n2);
|
|
1617
|
+
}, u2 = setTimeout(r2, 100);
|
|
1618
|
+
g && (t2 = requestAnimationFrame(r2));
|
|
1619
|
+
}
|
|
1620
|
+
function k(n2) {
|
|
1621
|
+
var t2 = r, u2 = n2.__c;
|
|
1622
|
+
"function" == typeof u2 && (n2.__c = void 0, u2()), r = t2;
|
|
1623
|
+
}
|
|
1624
|
+
function w(n2) {
|
|
1625
|
+
var t2 = r;
|
|
1626
|
+
n2.__c = n2.__(), r = t2;
|
|
1627
|
+
}
|
|
1628
|
+
function z(n2, t2) {
|
|
1629
|
+
return !n2 || n2.length !== t2.length || t2.some(function(t3, r2) {
|
|
1630
|
+
return t3 !== n2[r2];
|
|
1631
|
+
});
|
|
1632
|
+
}
|
|
1633
|
+
function B(n2, t2) {
|
|
1634
|
+
return "function" == typeof t2 ? t2(n2) : t2;
|
|
1635
|
+
}
|
|
1636
|
+
function Button$1({
|
|
1637
|
+
children,
|
|
1638
|
+
customClass = "",
|
|
1639
|
+
hideCitiesTooltip = false,
|
|
1640
|
+
id = "",
|
|
1641
|
+
key = "",
|
|
1642
|
+
timezone,
|
|
1643
|
+
onClick,
|
|
1644
|
+
is24H
|
|
1645
|
+
}) {
|
|
1646
|
+
const {
|
|
1647
|
+
label,
|
|
1648
|
+
keywords: value,
|
|
1649
|
+
isDst,
|
|
1650
|
+
cities
|
|
1651
|
+
} = timezone;
|
|
1652
|
+
const getCurrentTimeInTimezone = (timeZone) => {
|
|
1653
|
+
const currentTimeInUTC = /* @__PURE__ */ new Date();
|
|
1654
|
+
const options = {
|
|
1655
|
+
timeZone,
|
|
1656
|
+
hour12: !is24H,
|
|
1657
|
+
hour: "numeric",
|
|
1658
|
+
minute: "numeric"
|
|
1659
|
+
};
|
|
1660
|
+
const currentTimeInTimezone = currentTimeInUTC.toLocaleString(
|
|
1661
|
+
"en-US",
|
|
1662
|
+
options
|
|
1663
|
+
);
|
|
1664
|
+
return currentTimeInTimezone;
|
|
1665
|
+
};
|
|
1666
|
+
return /* @__PURE__ */ y(
|
|
1667
|
+
"button",
|
|
1668
|
+
{
|
|
1669
|
+
...{
|
|
1670
|
+
id,
|
|
1671
|
+
key,
|
|
1672
|
+
onClick,
|
|
1673
|
+
value
|
|
1674
|
+
},
|
|
1675
|
+
className: `flex items-center gap-2 py-2 text-md ${customClass}`,
|
|
1676
|
+
type: "button"
|
|
1677
|
+
},
|
|
1678
|
+
/* @__PURE__ */ y("div", { className: "min-w-0 text-left break-words grow flex space-x-1" }, hideCitiesTooltip ? label : /* @__PURE__ */ y("span", { value, title: cities }, label), isDst && /* @__PURE__ */ y("span", { value, title: "Daylight savings time applicable" }, "🌞")),
|
|
1679
|
+
/* @__PURE__ */ y("span", { className: "flex items-center shrink-0" }, getCurrentTimeInTimezone(timezone.utc[0])),
|
|
1680
|
+
children
|
|
1681
|
+
);
|
|
1682
|
+
}
|
|
1683
|
+
function Button({
|
|
1684
|
+
selectedValue,
|
|
1685
|
+
isOverlayVisible,
|
|
1686
|
+
elementId,
|
|
1687
|
+
is24H,
|
|
1688
|
+
setIsOverlayVisible
|
|
1689
|
+
}) {
|
|
1690
|
+
const handleClick = () => {
|
|
1691
|
+
setIsOverlayVisible(
|
|
1692
|
+
(previousIsOverlayVisible) => !previousIsOverlayVisible
|
|
1693
|
+
);
|
|
1694
|
+
};
|
|
1695
|
+
const searchBoxElementId = `${elementId}-search-box`;
|
|
1696
|
+
p(() => {
|
|
1697
|
+
if (isOverlayVisible) {
|
|
1698
|
+
const searchBox = document.getElementById(searchBoxElementId);
|
|
1699
|
+
searchBox.focus();
|
|
1700
|
+
}
|
|
1701
|
+
}, [isOverlayVisible]);
|
|
1702
|
+
return /* @__PURE__ */ y("div", { className: "flex flex-col justify-between w-full text-gray-700 bg-white rounded" }, /* @__PURE__ */ y(
|
|
1703
|
+
Button$1,
|
|
1704
|
+
{
|
|
1705
|
+
onClick: handleClick,
|
|
1706
|
+
customClass: "px-4 ntsp-button-border",
|
|
1707
|
+
timezone: selectedValue,
|
|
1708
|
+
hideCitiesTooltip: true,
|
|
1709
|
+
is24H
|
|
1710
|
+
},
|
|
1711
|
+
/* @__PURE__ */ y("span", { className: "flex items-center shrink-0" }, /* @__PURE__ */ y(
|
|
1712
|
+
"svg",
|
|
1713
|
+
{
|
|
1714
|
+
height: "16",
|
|
1715
|
+
width: "16",
|
|
1716
|
+
viewBox: "0 2 20 20",
|
|
1717
|
+
"aria-hidden": "true",
|
|
1718
|
+
focusable: "false"
|
|
1719
|
+
},
|
|
1720
|
+
/* @__PURE__ */ y("path", { d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z" })
|
|
1721
|
+
))
|
|
1722
|
+
));
|
|
1723
|
+
}
|
|
1724
|
+
function Search({ searchInput, setSearchInput, elementId }) {
|
|
1725
|
+
const searchBoxElementId = `${elementId}-search-box`;
|
|
1726
|
+
return /* @__PURE__ */ y(
|
|
1727
|
+
"input",
|
|
1728
|
+
{
|
|
1729
|
+
id: searchBoxElementId,
|
|
1730
|
+
type: "text",
|
|
1731
|
+
placeholder: "Search",
|
|
1732
|
+
onInput: (event) => setSearchInput(event.target.value),
|
|
1733
|
+
className: "p-2 m-2 border-2 border-blue-400 rounded shadow-lg outline-none",
|
|
1734
|
+
value: searchInput
|
|
1735
|
+
}
|
|
1736
|
+
);
|
|
1737
|
+
}
|
|
1738
|
+
const groupedOptions = [
|
|
1739
|
+
{ "US/Canada": UsCanada },
|
|
1740
|
+
{ America },
|
|
1741
|
+
{ Asia },
|
|
1742
|
+
{ Africa },
|
|
1743
|
+
{ Atlantic },
|
|
1744
|
+
{ Australia },
|
|
1745
|
+
{ Europe },
|
|
1746
|
+
{ Pacific }
|
|
1747
|
+
];
|
|
1748
|
+
const allTimezones = groupedOptions.reduce(
|
|
1749
|
+
(accumulator, currentValue) => {
|
|
1750
|
+
const key = Object.keys(currentValue)[0];
|
|
1751
|
+
return [...accumulator, ...currentValue[key]];
|
|
1752
|
+
},
|
|
1753
|
+
[]
|
|
1754
|
+
);
|
|
1755
|
+
const getTimezoneObject = (ianaTimezone) => ianaTimezone && allTimezones.find((timezone) => timezone.utc.includes(ianaTimezone));
|
|
1756
|
+
const findBrowserTimezone = () => {
|
|
1757
|
+
const browserTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
1758
|
+
return getTimezoneObject(browserTimezone);
|
|
1759
|
+
};
|
|
1760
|
+
const DEFAULT_VALUE = findBrowserTimezone() || allTimezones[0];
|
|
1761
|
+
const valueToId = (value) => `option-${value.replaceAll(" ", "_").toLowerCase()}`;
|
|
1762
|
+
const createGroupedOptionButton = (group, selectedValue, handleSelect, is24H) => /* @__PURE__ */ y("div", null, group.map((groupItem, groupIndex) => {
|
|
1763
|
+
const key = Object.keys(groupItem)[0];
|
|
1764
|
+
const element = groupItem[key];
|
|
1765
|
+
return /* @__PURE__ */ y("div", { className: "flex flex-col px-2 py-1", key: groupIndex }, /* @__PURE__ */ y("span", { className: "pb-1 font-bold uppercase text-md" }, key), element.map((timezone, index) => /* @__PURE__ */ y(
|
|
1766
|
+
Button$1,
|
|
1767
|
+
{
|
|
1768
|
+
id: valueToId(timezone.keywords),
|
|
1769
|
+
onClick: handleSelect,
|
|
1770
|
+
customClass: `px-2 hover:bg-slate-100 ${selectedValue.keywords === timezone.keywords ? "bg-blue-300" : ""}`,
|
|
1771
|
+
key: index,
|
|
1772
|
+
timezone,
|
|
1773
|
+
is24H
|
|
1774
|
+
}
|
|
1775
|
+
)));
|
|
1776
|
+
}));
|
|
1777
|
+
const filterTimezones = (inputValue) => {
|
|
1778
|
+
if (inputValue === "") {
|
|
1779
|
+
return groupedOptions;
|
|
1780
|
+
}
|
|
1781
|
+
const filteredOptions = groupedOptions.map((group) => {
|
|
1782
|
+
const key = Object.keys(group)[0];
|
|
1783
|
+
const element = group[key].filter(
|
|
1784
|
+
(timezone) => timezone.label.toLowerCase().includes(inputValue.toLowerCase()) || timezone.keywords.toLowerCase().includes(inputValue.toLowerCase())
|
|
1785
|
+
);
|
|
1786
|
+
return element.length > 0 ? { [key]: element } : null;
|
|
1787
|
+
});
|
|
1788
|
+
return filteredOptions.filter((group) => group !== null);
|
|
1789
|
+
};
|
|
1790
|
+
function Options({
|
|
1791
|
+
elementId,
|
|
1792
|
+
is24H,
|
|
1793
|
+
searchInput,
|
|
1794
|
+
selectedValue,
|
|
1795
|
+
setSelectedValue,
|
|
1796
|
+
setIsOverlayVisible
|
|
1797
|
+
}) {
|
|
1798
|
+
const handleSelect = (e2) => {
|
|
1799
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1800
|
+
const targetValue = ((_a = e2 == null ? void 0 : e2.target) == null ? void 0 : _a.value) || ((_c = (_b = e2 == null ? void 0 : e2.target) == null ? void 0 : _b.parentNode) == null ? void 0 : _c.value) || ((_f = (_e = (_d = e2 == null ? void 0 : e2.target) == null ? void 0 : _d.parentNode) == null ? void 0 : _e.parentNode) == null ? void 0 : _f.value);
|
|
1801
|
+
const selectedTimezone = allTimezones.find((timezone) => (timezone == null ? void 0 : timezone.keywords) === targetValue);
|
|
1802
|
+
setIsOverlayVisible(false);
|
|
1803
|
+
setSelectedValue(selectedTimezone);
|
|
1804
|
+
};
|
|
1805
|
+
p(() => {
|
|
1806
|
+
const selectedElement = document.getElementById(valueToId(selectedValue == null ? void 0 : selectedValue.keywords));
|
|
1807
|
+
selectedElement.scrollIntoView({ behavior: "auto", block: "center" });
|
|
1808
|
+
}, []);
|
|
1809
|
+
p(() => {
|
|
1810
|
+
if (searchInput === "")
|
|
1811
|
+
return;
|
|
1812
|
+
const overflowContainer = document.getElementById(`${elementId}-ntsp-overflow-container`);
|
|
1813
|
+
if (overflowContainer) {
|
|
1814
|
+
overflowContainer.scrollTop = 0;
|
|
1815
|
+
}
|
|
1816
|
+
}, [searchInput]);
|
|
1817
|
+
return /* @__PURE__ */ y("div", { className: "pt-2 overflow-y-scroll h-80", id: `${elementId}-ntsp-overflow-container` }, /* @__PURE__ */ y("div", { className: "flex flex-col" }, createGroupedOptionButton(
|
|
1818
|
+
filterTimezones(searchInput),
|
|
1819
|
+
selectedValue,
|
|
1820
|
+
handleSelect,
|
|
1821
|
+
is24H
|
|
1822
|
+
)));
|
|
1823
|
+
}
|
|
1824
|
+
function Switch({
|
|
1825
|
+
id = "ntsp-switch",
|
|
1826
|
+
onChange = () => {
|
|
1827
|
+
},
|
|
1828
|
+
labelRight = "Toggle switch",
|
|
1829
|
+
labelLeft = "Toggle switch",
|
|
1830
|
+
defaultValue = false
|
|
1831
|
+
}) {
|
|
1832
|
+
const [isChecked, setIsChecked] = h(defaultValue);
|
|
1833
|
+
const labelLeftBold = !isChecked && "font-semibold";
|
|
1834
|
+
const labelRightBold = isChecked && "font-semibold";
|
|
1835
|
+
const handleChange = ({ target: { checked } }) => {
|
|
1836
|
+
setIsChecked(checked);
|
|
1837
|
+
onChange(checked);
|
|
1838
|
+
};
|
|
1839
|
+
return /* @__PURE__ */ y("label", { htmlFor: id, className: "flex items-center space-x-1 cursor-pointer" }, /* @__PURE__ */ y("span", { className: `ml-3 text-sm text-gray-700 ${labelLeftBold}` }, labelLeft), /* @__PURE__ */ y("span", { className: "relative" }, /* @__PURE__ */ y(
|
|
1840
|
+
"input",
|
|
1841
|
+
{
|
|
1842
|
+
type: "checkbox",
|
|
1843
|
+
id,
|
|
1844
|
+
className: "sr-only",
|
|
1845
|
+
checked: isChecked,
|
|
1846
|
+
onChange: handleChange
|
|
1847
|
+
}
|
|
1848
|
+
), /* @__PURE__ */ y("span", { className: "block w-10 h-6 bg-gray-600 rounded-full" }), /* @__PURE__ */ y("span", { className: "absolute w-4 h-4 transition bg-white rounded-full dot left-1 top-1" })), /* @__PURE__ */ y("span", { className: `ml-3 text-sm text-gray-700 ${labelRightBold}` }, labelRight));
|
|
1849
|
+
}
|
|
1850
|
+
const getFromLocalStorage = (key) => {
|
|
1851
|
+
let response = null;
|
|
1852
|
+
try {
|
|
1853
|
+
const value = localStorage.getItem(key);
|
|
1854
|
+
response = value !== null ? JSON.parse(value) : null;
|
|
1855
|
+
} catch (error) {
|
|
1856
|
+
response = null;
|
|
1857
|
+
}
|
|
1858
|
+
return response;
|
|
1859
|
+
};
|
|
1860
|
+
const setToLocalStorage = (key, value) => {
|
|
1861
|
+
if (value !== null) {
|
|
1862
|
+
localStorage.setItem(key, JSON.stringify(value));
|
|
1863
|
+
} else
|
|
1864
|
+
localStorage.removeItem(key);
|
|
1865
|
+
};
|
|
1866
|
+
function OptionsContainer({
|
|
1867
|
+
className,
|
|
1868
|
+
is24H,
|
|
1869
|
+
elementId,
|
|
1870
|
+
selectedValue,
|
|
1871
|
+
setSelectedValue,
|
|
1872
|
+
setIsOverlayVisible,
|
|
1873
|
+
setIs24H
|
|
1874
|
+
}) {
|
|
1875
|
+
const [searchInput, setSearchInput] = h("");
|
|
1876
|
+
const handleTimeFormatChange = (value) => {
|
|
1877
|
+
setToLocalStorage("ntsp-24-hr-time-format", value);
|
|
1878
|
+
setIs24H(value);
|
|
1879
|
+
};
|
|
1880
|
+
return /* @__PURE__ */ y(
|
|
1881
|
+
"div",
|
|
1882
|
+
{
|
|
1883
|
+
className: `w-full px-2 py-4 flex flex-col text-gray-700 bg-white border border-gray-300 rounded shadow h-80 ${className}`
|
|
1884
|
+
},
|
|
1885
|
+
/* @__PURE__ */ y(Search, { ...{ elementId, searchInput, setSearchInput } }),
|
|
1886
|
+
/* @__PURE__ */ y("div", { className: "flex items-center justify-between w-full pb-2 pr-4 mb-1 shadow-sm gap-x-4" }, /* @__PURE__ */ y("span", null), /* @__PURE__ */ y(Switch, { defaultValue: is24H, labelRight: "24H", labelLeft: "AM/PM", onChange: handleTimeFormatChange })),
|
|
1887
|
+
/* @__PURE__ */ y(
|
|
1888
|
+
Options,
|
|
1889
|
+
{
|
|
1890
|
+
...{
|
|
1891
|
+
elementId,
|
|
1892
|
+
searchInput,
|
|
1893
|
+
selectedValue,
|
|
1894
|
+
setSelectedValue,
|
|
1895
|
+
setIsOverlayVisible,
|
|
1896
|
+
is24H
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
)
|
|
1900
|
+
);
|
|
1901
|
+
}
|
|
1902
|
+
function Selector({
|
|
1903
|
+
className = "",
|
|
1904
|
+
elementId = "timezone-selector",
|
|
1905
|
+
initialValue,
|
|
1906
|
+
position = "bottom",
|
|
1907
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1908
|
+
onChange = (selectedValue) => {
|
|
1909
|
+
},
|
|
1910
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
1911
|
+
onHourFormatChange = (hourFormat) => {
|
|
1912
|
+
}
|
|
1913
|
+
}) {
|
|
1914
|
+
const [selectedValue, setSelectedValue] = h(
|
|
1915
|
+
getTimezoneObject(initialValue) || DEFAULT_VALUE
|
|
1916
|
+
);
|
|
1917
|
+
const [isOverlayVisible, setIsOverlayVisible] = h(false);
|
|
1918
|
+
const [is24H, setIs24H] = h(getFromLocalStorage("ntsp-24-hr-time-format") || false);
|
|
1919
|
+
const top = position === "top";
|
|
1920
|
+
p(() => {
|
|
1921
|
+
const handleOutsideClick = (e2) => {
|
|
1922
|
+
const element = document.getElementById(elementId);
|
|
1923
|
+
if (element && !(element == null ? void 0 : element.contains(e2.target))) {
|
|
1924
|
+
setIsOverlayVisible(false);
|
|
1925
|
+
}
|
|
1926
|
+
};
|
|
1927
|
+
window.addEventListener("click", handleOutsideClick);
|
|
1928
|
+
return () => {
|
|
1929
|
+
window.removeEventListener("click", handleOutsideClick);
|
|
1930
|
+
};
|
|
1931
|
+
}, []);
|
|
1932
|
+
p(() => {
|
|
1933
|
+
onChange(selectedValue);
|
|
1934
|
+
}, [selectedValue]);
|
|
1935
|
+
p(() => {
|
|
1936
|
+
const hourFormat = is24H ? "24H" : "12H";
|
|
1937
|
+
onHourFormatChange(hourFormat);
|
|
1938
|
+
}, [is24H]);
|
|
1939
|
+
return /* @__PURE__ */ y("div", { className: "ntsp", id: elementId }, /* @__PURE__ */ y(
|
|
1940
|
+
"div",
|
|
1941
|
+
{
|
|
1942
|
+
className: `flex flex-col relative ${className}`
|
|
1943
|
+
},
|
|
1944
|
+
/* @__PURE__ */ y(
|
|
1945
|
+
Button,
|
|
1946
|
+
{
|
|
1947
|
+
...{
|
|
1948
|
+
isOverlayVisible,
|
|
1949
|
+
setIsOverlayVisible,
|
|
1950
|
+
selectedValue,
|
|
1951
|
+
elementId,
|
|
1952
|
+
is24H
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
),
|
|
1956
|
+
isOverlayVisible === true && /* @__PURE__ */ y(
|
|
1957
|
+
OptionsContainer,
|
|
1958
|
+
{
|
|
1959
|
+
className: `absolute ${top ? "bottom-16" : "top-16"}`,
|
|
1960
|
+
...{
|
|
1961
|
+
elementId,
|
|
1962
|
+
selectedValue,
|
|
1963
|
+
setSelectedValue,
|
|
1964
|
+
setIsOverlayVisible,
|
|
1965
|
+
is24H,
|
|
1966
|
+
setIs24H
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
)
|
|
1970
|
+
));
|
|
1971
|
+
}
|
|
1972
|
+
const styles = "";
|
|
1973
|
+
class Plugin {
|
|
1974
|
+
constructor(element, options) {
|
|
1975
|
+
this.element = element;
|
|
1976
|
+
this.options = options;
|
|
1977
|
+
this.render();
|
|
1978
|
+
}
|
|
1979
|
+
render() {
|
|
1980
|
+
B$1(/* @__PURE__ */ y(Selector, { ...this.options }), this.element);
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
window.NeetoTimezoneSelector = Plugin;
|
|
1984
|
+
export {
|
|
1985
|
+
America as A,
|
|
1986
|
+
Europe as E,
|
|
1987
|
+
Pacific as P,
|
|
1988
|
+
UsCanada as U,
|
|
1989
|
+
Asia as a,
|
|
1990
|
+
Africa as b,
|
|
1991
|
+
Atlantic as c,
|
|
1992
|
+
Australia as d,
|
|
1993
|
+
Plugin as e
|
|
1994
|
+
};
|