@bigbinary/neeto-time-zones 0.5.0 → 0.5.2
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 +7 -7
- package/dist/{index-3103b741.js → index-61b4b02c.js} +1370 -65
- package/dist/index-6b0ab984.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +2 -2
- package/dist/react.cjs.js +4 -11
- package/dist/react.es.js +556 -384
- package/dist/style.css +1 -1
- package/package.json +30 -10
- package/dist/index-72a4a60c.cjs +0 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.ntsp *,.ntsp :after,.ntsp :before{
|
|
1
|
+
.ntsp *,.ntsp :after,.ntsp :before{box-sizing:border-box;border:0 solid #e5e7eb;line-height:1.5;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal}.ntsp button,.ntsp input{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}.ntsp button{text-transform:none}.ntsp [type=button],.ntsp [type=reset],.ntsp [type=submit],.ntsp button{-webkit-appearance:button;background-color:transparent;background-image:none}.ntsp :-moz-ui-invalid{box-shadow:none}.ntsp input::-moz-placeholder{opacity:1;color:#9ca3af}.ntsp input::placeholder{opacity:1;color:#9ca3af}.ntsp [role=button],.ntsp button{cursor:pointer}.ntsp :disabled{cursor:default}.ntsp svg{display:block;vertical-align:middle}.ntsp .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.ntsp .absolute{position:absolute}.ntsp .relative{position:relative}.ntsp .bottom-16{bottom:4rem}.ntsp .left-1{left:.25rem}.ntsp .top-1{top:.25rem}.ntsp .top-16{top:4rem}.ntsp .m-2{margin:.5rem}.ntsp .mb-1{margin-bottom:.25rem}.ntsp .ml-3{margin-left:.75rem}.ntsp .block{display:block}.ntsp .flex{display:flex}.ntsp .h-4{height:1rem}.ntsp .h-6{height:1.5rem}.ntsp .h-80{height:20rem}.ntsp .w-10{width:2.5rem}.ntsp .w-4{width:1rem}.ntsp .w-full{width:100%}.ntsp .min-w-0{min-width:0}.ntsp .shrink-0{flex-shrink:0}.ntsp .grow{flex-grow:1}.ntsp .cursor-pointer{cursor:pointer}.ntsp .flex-col{flex-direction:column}.ntsp .items-center{align-items:center}.ntsp .justify-between{justify-content:space-between}.ntsp .gap-2{gap:.5rem}.ntsp .gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.ntsp .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(.25rem*var(--tw-space-x-reverse));margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))}.ntsp .overflow-y-scroll{overflow-y:scroll}.ntsp .break-words{overflow-wrap:break-word}.ntsp .border{border-width:1px}.ntsp .border-2{border-width:2px}.ntsp .border-blue-400{--tw-border-opacity:1;border-color:rgb(96 165 250/var(--tw-border-opacity))}.ntsp .bg-blue-300{--tw-bg-opacity:1;background-color:rgb(147 197 253/var(--tw-bg-opacity))}.ntsp .p-2{padding:.5rem}.ntsp .px-2{padding-left:.5rem;padding-right:.5rem}.ntsp .px-4{padding-left:1rem;padding-right:1rem}.ntsp .py-1{padding-top:.25rem;padding-bottom:.25rem}.ntsp .py-2{padding-top:.5rem;padding-bottom:.5rem}.ntsp .py-4{padding-top:1rem;padding-bottom:1rem}.ntsp .pb-1{padding-bottom:.25rem}.ntsp .pb-2{padding-bottom:.5rem}.ntsp .pr-4{padding-right:1rem}.ntsp .pt-2{padding-top:.5rem}.ntsp .text-left{text-align:left}.ntsp .text-sm{font-size:.875rem;line-height:1.25rem}.ntsp .font-bold{font-weight:700}.ntsp .font-semibold{font-weight:600}.ntsp .uppercase{text-transform:uppercase}.ntsp .shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:0 0 transparent,0 0 transparent,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.ntsp .outline-none{outline:2px solid transparent;outline-offset:2px}.ntsp .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ntsp .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ntsp .ntsp-button-border{border:1px solid #d8dcde;border-radius:8px;margin-top:8px;overflow:hidden}.ntsp input:checked~.dot{transform:translate(100%)}.ntsp .hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity))}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bigbinary/neeto-time-zones",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -20,27 +20,47 @@
|
|
|
20
20
|
"dev": "vite",
|
|
21
21
|
"build": "vite build"
|
|
22
22
|
},
|
|
23
|
+
"lint-staged": {
|
|
24
|
+
"./**/*.{tsx,js,css,jsx,json,yml}": [
|
|
25
|
+
"prettier --write",
|
|
26
|
+
"eslint --cache --fix"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
23
29
|
"peerDependencies": {
|
|
30
|
+
"@bigbinary/neeto-cist": "^1.0.4",
|
|
31
|
+
"@bigbinary/neeto-commons-frontend": "^3.0.1",
|
|
32
|
+
"ramda": "^0.29.1",
|
|
24
33
|
"react": "^18 || ^17.0.1 || ^16",
|
|
25
34
|
"react-dom": "^18 || ^17.0.1 || ^16"
|
|
26
35
|
},
|
|
27
36
|
"devDependencies": {
|
|
37
|
+
"@bigbinary/eslint-plugin-neeto": "^1.1.14",
|
|
38
|
+
"@bigbinary/neeto-cist": "^1.0.4",
|
|
39
|
+
"@bigbinary/neeto-commons-frontend": "^3.0.1",
|
|
40
|
+
"@bigbinary/neeto-icons": "^1.11.0",
|
|
41
|
+
"@bigbinary/neeto-molecules": "^1.0.19",
|
|
42
|
+
"@bigbinary/neetoui": "5.0.2",
|
|
28
43
|
"@typescript-eslint/eslint-plugin": "^6.2.1",
|
|
29
44
|
"@typescript-eslint/parser": "^6.2.1",
|
|
30
45
|
"@vitejs/plugin-react": "^4.0.3",
|
|
31
|
-
"autoprefixer": "
|
|
32
|
-
"cssnano": "
|
|
33
|
-
"eslint": "
|
|
46
|
+
"autoprefixer": "9.0.0",
|
|
47
|
+
"cssnano": "4.1.11",
|
|
48
|
+
"eslint": "8.14.0",
|
|
34
49
|
"eslint-config-airbnb": "^19.0.4",
|
|
35
|
-
"eslint-plugin-import": "
|
|
50
|
+
"eslint-plugin-import": "2.26.0",
|
|
36
51
|
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
37
|
-
"eslint-plugin-react": "
|
|
38
|
-
"eslint-plugin-react-hooks": "
|
|
39
|
-
"
|
|
52
|
+
"eslint-plugin-react": "7.29.4",
|
|
53
|
+
"eslint-plugin-react-hooks": "4.5.0",
|
|
54
|
+
"lint-staged": "12.4.1",
|
|
55
|
+
"postcss": "^8.4.17",
|
|
56
|
+
"postcss-import": "^15.0.0",
|
|
40
57
|
"postcss-prefixwrap": "1.40.0",
|
|
58
|
+
"postcss-preset-env": "7.8.2",
|
|
41
59
|
"postcss-wrap": "^0.0.4",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
60
|
+
"prettier": "2.6.2",
|
|
61
|
+
"ramda": "^0.29.1",
|
|
62
|
+
"react": "^18.2.0",
|
|
63
|
+
"react-dom": "^18.2.0",
|
|
44
64
|
"tailwind": "^4.0.0",
|
|
45
65
|
"terser": "^5.16.6",
|
|
46
66
|
"typescript": "^5.1.6",
|
package/dist/index-72a4a60c.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const a=[{utc:["Africa/Cairo"],label:"Egypt Standard Time",keywords:"Egypt Standard Time Cairo EST",isDst:!1,cities:"Cairo"},{utc:["Africa/Algiers","Africa/Bangui","Africa/Brazzaville","Africa/Douala","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Luanda","Africa/Malabo","Africa/Ndjamena","Africa/Niamey","Africa/Porto-Novo","Africa/Tunis","Etc/GMT-1"],label:"West Central Africa Standard Time",keywords:"W. Central Africa Standard Time Algiers Bangui Brazzaville Douala Kinshasa Lagos Libreville Luanda Malabo Ndjamena Niamey Porto-Novo Tunis GMT-1 WCAST",isDst:!1,cities:"Algiers, Bangui, Brazzaville, Douala, Kinshasa, Lagos, Libreville, Luanda, Malabo, Ndjamena, Niamey, Porto-Novo, Tunis"},{utc:["Africa/Windhoek"],label:"Namibia Standard Time",keywords:"Namibia Standard Time Windhoek NST",isDst:!1,cities:"Windhoek"},{utc:["Africa/Blantyre","Africa/Bujumbura","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Kigali","Africa/Lubumbashi","Africa/Lusaka","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Etc/GMT-2"],label:"South Africa Standard Time",keywords:"South Africa Standard Time Blantyre Bujumbura Gaborone Harare Johannesburg Kigali Lubumbashi Lusaka Maputo Maseru Mbabane GMT-2 SAST",isDst:!1,cities:"Blantyre, Bujumbura, Gaborone, Harare, Johannesburg, Kigali, Lubumbashi, Lusaka, Maputo, Maseru, Mbabane, Pretoria"},{utc:["Africa/Tripoli"],label:"Libya Standard Time",keywords:"Libya Standard Time Tripoli LST",isDst:!1,cities:"Tripoli"},{utc:["Africa/Addis_Ababa","Africa/Asmera","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Mogadishu","Africa/Nairobi","Antarctica/Syowa","Etc/GMT-3","Indian/Antananarivo","Indian/Comoro","Indian/Mayotte"],label:"East Africa Standard Time",keywords:"E. Africa Standard Time Addis Ababa Asmera Dar_es_Salaam Djibouti Juba Kampala Khartoum Mogadishu Nairobi Syowa GMT-3 Antananarivo Comoro Mayotte EAST",isDst:!1,cities:"Addis Abada, Asmera, Dar es Salaam, Djibouti, Juba, Kampala, Khartoum, Mogadishu, Nairobi, Syowa, Antananarivo, Comoro, Mayotte"},{utc:["Africa/Abidjan","Africa/Accra","Africa/Bamako","Africa/Banjul","Africa/Bissau","Africa/Conakry","Africa/Dakar","Africa/Freetown","Africa/Lome","Africa/Monrovia","Africa/Nouakchott","Africa/Ouagadougou","Africa/Sao_Tome","Atlantic/Reykjavik","Atlantic/St_Helena"],label:"Greenwich Standard Time",keywords:"Greenwich Standard Time Abidjan Accra Bamako Banjul Bissau Conakry Dakar Freetown Lome Monrovia Nouakchott Ouagadougou Sao Tome Reykjavik St_Helena GST",isDst:!1,cities:"Abidjan, Accra, Bamako, Banjul, Bissau, Conakry, Dakar, Freetown, Lome, Monrovia, Nouakchott, Ouagadougou, Sao Tome, Reykjavik, St. Helena"},{utc:["Africa/Casablanca","Africa/El_Aaiun"],label:"Morocco Standard Time",keywords:"Morocco Standard Time Casablanca El Aaiun MST",isDst:!0,cities:"Casablanca, El Aaiun"},{utc:["Indian/Mahe","Indian/Mauritius","Indian/Reunion"],label:"Mauritius Standard Time",keywords:"Mauritius Standard Time Mahe Mauritius Reunion MST",isDst:!1,cities:"Mahe, Mauritius, Reunion"}],e=[{utc:["America/Argentina/La_Rioja","America/Argentina/Rio_Gallegos","America/Argentina/Salta","America/Argentina/San_Juan","America/Argentina/San_Luis","America/Argentina/Tucuman","America/Argentina/Ushuaia","America/Buenos_Aires","America/Catamarca","America/Cordoba","America/Jujuy","America/Mendoza"],label:"Argentina Standard Time",keywords:"Argentina Standard Time La Rioja Rio_Gallegos Salta San_Juan San_Luis Tucuman Ushuaia Buenos_Aires Catamarca Cordoba Jujuy Mendoza AST",isDst:!1,cities:"La Rioja, Rio Gallegos, Salta, San Juan, San Luis, Tucuman, Ushuaia, Buenos Aires, Catamarca, Cordoba, Jujuy, Mendoza"},{utc:["America/Asuncion"],label:"Paraguay Standard Time",keywords:"Paraguay Standard Time Asuncion PST",isDst:!1,cities:"Asuncion"},{utc:["America/Bogota","America/Cayman","America/Coral_Harbour","America/Eirunepe","America/Guayaquil","America/Jamaica","America/Lima","America/Panama","America/Rio_Branco","Etc/GMT+5"],label:"South American Pacific Standard Time",keywords:"SA Pacific Standard Time Bogota Cayman Coral Harbour Eirunepe Guayaquil Jamaica Lima Panama Rio_Branco GMT+5 SAPST PST",isDst:!1,cities:"Bogota, Cayman, Coral Harbour, Eirunepe, Guayaquil, Jamaica, Lima, Panama, Rio Branco"},{utc:["America/Campo_Grande","America/Cuiaba"],label:"Central Brazilian Standard Time",keywords:"Central Brazilian Standard Time Campo Grande Cuiaba CBST",isDst:!1,cities:"Cuiaba, Campo Grande"},{utc:["America/Caracas"],label:"Venezuela Standard Time",keywords:"Venezuela Standard Time Caracas VST",isDst:!1,cities:"Caracas"},{utc:["America/Godthab"],label:"Greenland Standard Time",keywords:"Greenland Standard Time Godthab GST",isDst:!0,cities:"Godthab"},{utc:["America/Regina","America/Swift_Current"],label:"Canada Central Standard Time",keywords:"Canada Central Standard Time Regina Swift Current CCST",isDst:!1,cities:"Regina, Swift Current"},{utc:["America/Chihuahua","America/Mazatlan"],label:"Mountain Standard Time (Mexico)",keywords:"Mountain Standard Time (Mexico) Chihuahua Mazatlan MST",isDst:!0,cities:"Chihuahua, Mazatlan, La Paz,"},{utc:["America/Bahia_Banderas","America/Cancun","America/Merida","America/Mexico_City","America/Monterrey"],label:"Central Standard Time (Mexico)",keywords:"Central Standard Time (Mexico) Bahia Banderas Cancun Merida Mexico_City Monterrey CST",isDst:!0,cities:"Guadalajara, Mexico City, Monterrey, Bahia Baderas, Cancun, Merida"},{utc:["America/Montevideo"],label:"Montevideo Standard Time",keywords:"Montevideo Standard Time Montevideo MST",isDst:!1,cities:"Montevideo"},{utc:["America/Noronha","Atlantic/South_Georgia","Etc/GMT+2"],label:"Coordinated Universal Time (UTC -02)",keywords:"UTC-02 Noronha South Georgia GMT+2 CUT",isDst:!1,cities:"Noronha, South Georgia"},{utc:["America/Santiago","Antarctica/Palmer"],label:"Pacific SA Standard Time",keywords:"Pacific SA Standard Time Santiago Palmer PSST",isDst:!1,cities:"Santiago, Palmer"},{utc:["America/Santa_Isabel"],label:"Pacific Standard Time (Mexico)",keywords:"Pacific Standard Time (Mexico) Santa Isabel PST",isDst:!0,cities:"Santa Isabel"},{utc:["America/Glace_Bay","America/Goose_Bay","America/Halifax","America/Moncton","America/Thule","Atlantic/Bermuda"],label:"Atlantic Time (Canada)",keywords:"Atlantic Standard Time Glace Bay Goose_Bay Halifax Moncton Thule Bermuda AT",isDst:!0,cities:"Glace Bay, Goose Bay, Halifax, Moncton, Thule, Bermuda"},{utc:["America/Sao_Paulo"],label:"East South America Standard Time",keywords:"E. South America Standard Time Sao Paulo ESAST EAST",isDst:!1,cities:"Sao Paulo"},{utc:["America/Danmarkshavn","Etc/GMT"],label:"Coordinated Universal Time",keywords:"UTC Danmarkshavn GMT CUT",isDst:!1,cities:"Danmarkshavn"},{utc:["America/Bahia"],label:"Bahia Standard Time",keywords:"Bahia Standard Time Bahia BST",isDst:!1,cities:"Bahia, Salvado"},{utc:["America/Araguaina","America/Belem","America/Cayenne","America/Fortaleza","America/Maceio","America/Paramaribo","America/Recife","America/Santarem","Antarctica/Rothera","Atlantic/Stanley","Etc/GMT+3"],label:"South American Eastern Standard Time",keywords:"SA Eastern Standard Time Araguaina Belem Cayenne Fortaleza Maceio Paramaribo Recife Santarem Rothera Stanley GMT+3 SAEST SAET",isDst:!1,cities:"Araguaina, Belem, Cayenne, Fortaleza, Maceio, Paramaribo, Recife, Santarem, Rothera, Stanley"},{utc:["America/Anguilla","America/Antigua","America/Aruba","America/Barbados","America/Blanc-Sablon","America/Boa_Vista","America/Curacao","America/Dominica","America/Grand_Turk","America/Grenada","America/Guadeloupe","America/Guyana","America/Kralendijk","America/La_Paz","America/Lower_Princes","America/Manaus","America/Marigot","America/Martinique","America/Montserrat","America/Port_of_Spain","America/Porto_Velho","America/Puerto_Rico","America/Santo_Domingo","America/St_Barthelemy","America/St_Kitts","America/St_Lucia","America/St_Thomas","America/St_Vincent","America/Tortola","Etc/GMT+4"],label:"South American Western Standard Time",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",isDst:!1,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"},{utc:["America/Indiana/Marengo","America/Indiana/Vevay","America/Indianapolis"],label:"US Eastern Standard Time",keywords:"US Eastern Standard Time Marengo Vevay Indianapolis UEST UET",isDst:!1,cities:"Marengo, Vevay, Indianapolis"}],i=[{utc:["Asia/Kolkata","Asia/Calcutta"],label:"Indian Standard Time",keywords:"India Standard Time Kolkata Calcutta Chennai Mumbai New Delhi IST",isDst:!1,cities:"Kolkata, Chennai, Mumbai, New Delhi"},{utc:["Asia/Beirut"],label:"Middle East Standard Time",keywords:"Middle East Standard Time Beirut MEST",isDst:!0,cities:"Beirut"},{utc:["Asia/Damascus"],label:"Syria Standard Time",keywords:"Syria Standard Time Damascus SST",isDst:!0,cities:"Damascus"},{utc:["Asia/Jerusalem"],label:"Israel Standard Time",keywords:"Israel Standard Time Jerusalem IST",isDst:!0,cities:"Jerusalem"},{utc:["Asia/Amman"],label:"Jordan Standard Time",keywords:"Jordan Standard Time Amman JST",isDst:!1,cities:"Amman"},{utc:["Asia/Baghdad"],label:"Arabic Standard Time",keywords:"Arabic Standard Time Baghdad AST",isDst:!1,cities:"Baghdad"},{utc:["Asia/Aden","Asia/Bahrain","Asia/Kuwait","Asia/Qatar","Asia/Riyadh"],label:"Arab Standard Time",keywords:"Arab Standard Time Aden Bahrain Kuwait Qatar Riyadh AST",isDst:!1,cities:"Aden, Bahrain, Kuwait, Qatar, Riyadh"},{utc:["Asia/Tehran"],label:"Iran Standard Time",keywords:"Iran Standard Time Tehran IST",isDst:!0,cities:"Tehran"},{utc:["Asia/Dubai","Asia/Muscat","Etc/GMT-4"],label:"Arabian Standard time",keywords:"Arabian Standard Time Dubai Muscat GMT-4 AST",isDst:!1,cities:"Dubai, Muscat, Abu Dhabi"},{utc:["Asia/Baku"],label:"Azerbaijan Standard Time",keywords:"Azerbaijan Standard Time Baku AST",isDst:!0,cities:"Baku"},{utc:["Asia/Tbilisi"],label:"Georgian Standard Time",keywords:"Georgian Standard Time Tbilisi GST",isDst:!1,cities:"Tbilisi"},{utc:["Asia/Yerevan"],label:"Caucasus Standard Time",keywords:"Caucasus Standard Time Yerevan CST",isDst:!1,cities:"Yerevan"},{utc:["Asia/Kabul"],label:"Afghanistan Standard Time",keywords:"Afghanistan Standard Time Kabul AST",isDst:!1,cities:"Kabul"},{utc:["Antarctica/Mawson","Asia/Aqtau","Asia/Aqtobe","Asia/Ashgabat","Asia/Dushanbe","Asia/Oral","Asia/Samarkand","Asia/Tashkent","Etc/GMT-5","Indian/Kerguelen","Indian/Maldives"],label:"West Asia Standard Time",keywords:"West Asia Standard Time Mawson Aqtau Aqtobe Ashgabat Dushanbe Oral Samarkand Tashkent GMT-5 Kerguelen Maldives WAST",isDst:!1,cities:"Mawson, Aqtau, Aqtobe, Ashgabat, Dushanbe, Oral, Samarkand, Tashkent, Kerguelen, Maldives"},{utc:["Asia/Yekaterinburg"],label:"Yekaterinburg Time",keywords:"Yekaterinburg Time YT",isDst:!1,cities:"Yekaterinburg"},{utc:["Asia/Karachi"],label:"Pakistan Standard Time",keywords:"Pakistan Standard Time Karachi PST",isDst:!1,cities:"Islamabad, Karachi"},{utc:["Asia/Colombo"],label:"Sri Lanka Standard Time",keywords:"Sri Lanka Standard Time Colombo SLST SST",isDst:!1,cities:"Colombo"},{utc:["Asia/Kathmandu"],label:"Nepal Standard Time",keywords:"Nepal Standard Time Kathmandu NST",isDst:!1,cities:"Kathmandu"},{utc:["Antarctica/Vostok","Asia/Almaty","Asia/Bishkek","Asia/Qyzylorda","Asia/Urumqi","Etc/GMT-6","Indian/Chagos"],label:"Central Asia Standard Time",keywords:"Central Asia Standard Time Vostok Almaty Bishkek Qyzylorda Urumqi GMT-6 Chagos CAST",isDst:!1,cities:"Vostok, Almaty, Bishkek, Qyzylorda, Urumqi, Chagos, Nur-Sultan (Astana)"},{utc:["Asia/Dhaka","Asia/Thimphu"],label:"Bangladesh Standard Time",keywords:"Bangladesh Standard Time Dhaka Thimphu BST",isDst:!1,cities:"Dhaka, Thimpu"},{utc:["Asia/Rangoon","Indian/Cocos"],label:"Myanmar Standard Time",keywords:"Myanmar Standard Time Rangoon Cocos MST",isDst:!1,cities:"Rangoon, Cocos"},{utc:["Antarctica/Davis","Asia/Bangkok","Asia/Hovd","Asia/Jakarta","Asia/Phnom_Penh","Asia/Pontianak","Asia/Saigon","Asia/Vientiane","Etc/GMT-7","Indian/Christmas"],label:"South East Asia Standard Time",keywords:"SE Asia Standard Time Davis Bangkok Hovd Jakarta Phnom Penh Pontianak Saigon Vientiane GMT-7 Christmas SEAST SST",isDst:!1,cities:"Bangkok, Hanoi, Jakarta, Hovd, Davis, Phnom Penh, Pontianak, Saigon, Vientiane, Christmas"},{utc:["Asia/Novokuznetsk","Asia/Novosibirsk","Asia/Omsk"],label:"North Central Asia Standard Time",keywords:"N. Central Asia Standard Time Novokuznetsk Novosibirsk Omsk NCAST NST",isDst:!1,cities:"Novosibirsk, Novokuznetsk, Omsk"},{utc:["Asia/Hong_Kong","Asia/Macau","Asia/Shanghai"],label:"China Standard Time",keywords:"China Standard Time Hong Kong Macau Shanghai CST",isDst:!1,cities:"Beijing, Chongqing, Hong Kong, Urumqi, Macau, Shanghai"},{utc:["Asia/Krasnoyarsk"],label:"North Asia Standard Time",keywords:"North Asia Standard Time Krasnoyarsk NAST NAT",isDst:!1,cities:"Krasnoyarsk"},{utc:["Asia/Brunei","Asia/Kuala_Lumpur","Asia/Kuching","Asia/Makassar","Asia/Manila","Asia/Singapore","Etc/GMT-8"],label:"Singapore Standard Time",keywords:"Singapore Standard Time Brunei Kuala Lumpur Kuching Makassar Manila Singapore GMT-8 SST",isDst:!1,cities:"Brunei, Kuala Lumpur, Singapore, Makassar, Manila, Kuching"},{utc:["Asia/Taipei"],label:"Taipei Standard Time",keywords:"Taipei Standard Time Taipei TST",isDst:!1,cities:"Taipei"},{utc:["Asia/Choibalsan","Asia/Ulaanbaatar"],label:"Ulaanbaatar Standard Time",keywords:"Ulaanbaatar Standard Time Choibalsan Ulaanbaatar UST",isDst:!1,cities:"Ulaanbaatar, Choibalsan"},{utc:["Asia/Irkutsk"],label:"North Asia East Standard Time",keywords:"North Asia East Standard Time Irkutsk NAEST",isDst:!1,cities:"Irkutsk"},{utc:["Asia/Dili","Asia/Jayapura","Asia/Tokyo","Etc/GMT-9","Pacific/Palau"],label:"Japan Standard Time",keywords:"Japan Standard Time Dili Jayapura Tokyo GMT-9 Palau JST",isDst:!1,cities:"Osaka, Sapporo, Tokyo, Jayapura, Dili, Palau"},{utc:["Asia/Pyongyang","Asia/Seoul"],label:"Korea Standard Time",keywords:"Korea Standard Time Pyongyang Seoul KST",isDst:!1,cities:"Pyongyang, Seoul"},{utc:["Asia/Anadyr","Asia/Kamchatka","Asia/Magadan","Asia/Srednekolymsk"],label:"Magadan Standard Time",keywords:"Magadan Standard Time Anadyr Kamchatka Magadan Srednekolymsk MST",isDst:!1,cities:"Anadyr, Kamchatka, Magadan, Srednekolymsk"},{utc:["Asia/Kamchatka"],label:"Kamchatka Standard Time",keywords:"Kamchatka Standard Time Kamchatka KST",isDst:!0,cities:"Petropavlovsk-Kamchatsky - Old"},{utc:["Asia/Sakhalin","Asia/Ust-Nera","Asia/Vladivostok"],label:"Vladivostok Standard Time",keywords:"Vladivostok Standard Time Sakhalin Ust-Nera Vladivostok VST",isDst:!1,cities:"Sakhalin, Ust-Nera, Vladivostok"},{utc:["Asia/Chita","Asia/Khandyga","Asia/Yakutsk"],label:"Yakutsk Standard Time",keywords:"Yakutsk Standard Time Chita Khandyga Yakutsk YST",isDst:!1,cities:"Chita, Khandyga, Yakutsk"}],t=[{utc:["America/Scoresbysund","Atlantic/Azores"],label:"Azores Standard Time",keywords:"Azores Standard Time Scoresbysund Azores AST",isDst:!0,cities:"Scoresbysund, Azores"},{utc:["Atlantic/Cape_Verde","Etc/GMT+1"],label:"Cape Verde Standard Time",keywords:"Cape Verde Standard Time Cape Verde GMT+1 CVST CST",isDst:!0,cities:"Cape Verde"}],n=[{utc:["Antarctica/Casey","Australia/Perth"],label:"West Australia Standard Time",keywords:"W. Australia Standard Time Casey Perth WAST",isDst:!1,cities:"Casey, Perth"},{utc:["Australia/Adelaide","Australia/Broken_Hill"],label:"Central Australian Standard Time",keywords:"Cen. Australia Standard Time Adelaide Broken Hill CAST",isDst:!1,cities:"Adelaide, Broken Hill"},{utc:["Australia/Darwin"],label:"Australian Central Standard Time",keywords:"AUS Central Standard Time Darwin ACST",isDst:!1,cities:"Darwin"},{utc:["Australia/Brisbane","Australia/Lindeman"],label:"East Australian Standard Time",keywords:"East Australian Australia Standard Time Brisbane Lindeman EAST",isDst:!1,cities:"Brisbane, Lindeman"},{utc:["Australia/Melbourne","Australia/Sydney"],label:"Australian Eastern Standard Time",keywords:"AUS Eastern Standard Time Melbourne Sydney AEST",isDst:!1,cities:"Melbourne, Sydney, Canberra"},{utc:["Australia/Currie","Australia/Hobart"],label:"Tasmania Standard Time",keywords:"Tasmania Standard Time Currie Hobart TST",isDst:!1,cities:"Currie, Hobart"}],r=[{utc:["Europe/London","Europe/Isle_of_Man","Europe/Guernsey","Europe/Jersey"],label:"GMT Standard Time",keywords:"GMT Standard Time Isle of_Man Guernsey Jersey London Edinburgh England",isDst:!0,cities:"London, Edinburgh, Isle of Man, Guernsey, Jersey"},{utc:["WET","Atlantic/Canary","Atlantic/Faeroe","Atlantic/Madeira","Europe/Dublin","Europe/Lisbon"],label:"Western European Time",keywords:"WET Western European Time Canary Faeroe Madeira Dublin Lisbon",isDst:!0,cities:"Canary, Faeroe, Madeira, Dublin, Lisbon"},{utc:["CET","Africa/Ceuta","Arctic/Longyearbyen","Europe/Amsterdam","Europe/Andorra","Europe/Belgrade","Europe/Berlin","Europe/Bratislava","Europe/Brussels","Europe/Budapest","Europe/Busingen","Europe/Copenhagen","Europe/Gibraltar","Europe/Ljubljana","Europe/Luxembourg","Europe/Madrid","Europe/Malta","Europe/Monaco","Europe/Oslo","Europe/Paris","Europe/Podgorica","Europe/Prague","Europe/Rome","Europe/San_Marino","Europe/Sarajevo","Europe/Skopje","Europe/Stockholm","Europe/Tirane","Europe/Vaduz","Europe/Vatican","Europe/Vienna","Europe/Warsaw","Europe/Zagreb","Europe/Zurich"],label:"Central European Time",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",isDst:!0,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"},{utc:["EET","Asia/Nicosia","Europe/Athens","Europe/Bucharest","Europe/Chisinau","Europe/Helsinki","Europe/Kiev","Europe/Mariehamn","Europe/Nicosia","Europe/Riga","Europe/Sofia","Europe/Tallinn","Europe/Uzhgorod","Europe/Vilnius","Europe/Zaporozhye"],label:"Eastern European Time",keywords:"Eastern European Time Athens Bucharest Chisinau Helsinki Kiev Mariehamn Nicosia Riga Sofia Tallinn Uzhgorod Vilnius Zaporozhye EEST",isDst:!0,cities:"Athens, Bucharest, Chisinau, Helsinki, Kiev, Mariehamn, Nicosia, Riga, Sofia, Tallinn, Uzhgorod, Vilnius, Zaporozhye"},{utc:["Europe/Istanbul"],label:"Turkey Standard Time",keywords:"Turkey Standard Time Istanbul TST",isDst:!1,cities:"Istanbul"},{utc:["Europe/Kaliningrad"],label:"Kaliningrad Standard Time",keywords:"Kaliningrad Standard Time Kaliningrad KST",isDst:!1,cities:"Kaliningrad"},{utc:["Europe/Kirov","Europe/Moscow","Europe/Simferopol","Europe/Volgograd","Europe/Minsk"],label:"Moscow Standard Time",keywords:"Moscow Standard Time Kirov Moscow Simferopol Volgograd Minsk MST",isDst:!1,cities:"Moscow, St. Petersburg, Volgograd, Minsk, Kirov"},{utc:["Europe/Astrakhan","Europe/Samara","Europe/Ulyanovsk"],label:"Samara Time",keywords:"Samara Time Astrakhan Samara Ulyanovsk ST",isDst:!1,cities:"Samara, Ulyanovsk, Saratov"}],o=[{utc:["Etc/GMT+11","Pacific/Midway","Pacific/Niue","Pacific/Pago_Pago"],label:"Coordinated Universal Time (UTC -11)",keywords:"UTC-11 GMT+11 Midway Niue Pago Pago CUT",isDst:!1,cities:"Midway, Pago Pago"},{utc:["Pacific/Apia"],label:"Samoa Standard Time",keywords:"Samoa Standard Time Apia SST",isDst:!1,cities:"Apia"},{utc:["Antarctica/McMurdo","Pacific/Auckland"],label:"New Zealand Standard Time",keywords:"New Zealand Standard Time Wellington McMurdo Auckland NST",isDst:!1,cities:"Auckland, Wellington, McMurdo"},{utc:["Pacific/Fiji"],label:"Fiji Standard Time",keywords:"Fiji Standard Time Fiji FST",isDst:!1,cities:"Fiji"},{utc:["Etc/GMT-12","Pacific/Funafuti","Pacific/Kwajalein","Pacific/Majuro","Pacific/Nauru","Pacific/Tarawa","Pacific/Wake","Pacific/Wallis"],label:"Coordinated Universal Time (UtC +12)",keywords:"UTC+12 GMT-12 Funafuti Kwajalein Majuro Nauru Tarawa Wake Wallis CUT",isDst:!1,cities:"Funafuti, Kwajalein, Majuro, Nauru, Tarawa, Wake, Wallis"},{utc:["Antarctica/DumontDUrville","Etc/GMT-10","Pacific/Guam","Pacific/Port_Moresby","Pacific/Saipan","Pacific/Truk"],label:"West Pacific Standard Time",keywords:"West Pacific Standard Time DumontDUrville GMT-10 Guam Port Moresby Saipan Truk WPST",isDst:!1,cities:"DumontDUrville, Guam, Port Moresby, Saipan, Truk"},{utc:["Antarctica/Macquarie","Etc/GMT-11","Pacific/Efate","Pacific/Guadalcanal","Pacific/Kosrae","Pacific/Noumea","Pacific/Ponape"],label:"Central Pacific Standard Time",keywords:"Central Pacific Standard Time Macquarie GMT-11 Efate Guadalcanal Kosrae Noumea Ponape CPST",isDst:!1,cities:"Macquarie, Efate, Guadalcanal, Kosrae, Noumea, Ponape"},{utc:["Etc/GMT-13","Pacific/Enderbury","Pacific/Fakaofo","Pacific/Tongatapu"],label:"Tonga Standard Time",keywords:"Tonga Standard Time GMT-13 Enderbury Fakaofo Tongatapu TST",isDst:!1,cities:"Enderbury, Fakaofo, Tongatapu"},{utc:["Etc/GMT+12"],label:"International Date Line West",keywords:"Dateline Standard Time GMT+12 IDLW",isDst:!1,cities:""}],s=[{utc:["America/Los_Angeles","America/Tijuana","America/Vancouver","PST8PDT"],label:"Pacific Standard Time",keywords:"Pacific Standard Time PST8PDT PST California Las Vegas Los Angeles Nevada Palm Springs San Diego San Francisco Tijuana Vancouver Washington",isDst:!0,cities:"California, Las Vegas, Los Angeles, Nevada, Palm Springs, San Diego, San Francisco, Tijuana, Vancouver, Washington"},{utc:["America/Creston","America/Dawson","America/Dawson_Creek","America/Hermosillo","America/Phoenix","America/Whitehorse","Etc/GMT+7"],label:"Mountain Time",keywords:"US Mountain Standard Time GMT+7 MT MST Creston Dawson Creek Hermosillo Phoenix Whitehorse",isDst:!1,cities:"Creston, Dawson, Dawson Creek, Hermosillo, Phoenix, Whitehorse"},{utc:["America/Boise","America/Cambridge_Bay","America/Denver","America/Edmonton","America/Inuvik","America/Ojinaga","America/Yellowknife","MST7MDT"],label:"Mountain Time",keywords:"Mountain Time MST7MDT MT MST MDT Boise Cambridge_Bay Denver Edmonton Inuvik Ojinaga Yellowknife",isDst:!0,cities:"Boise, Cambridge Bay, Denver, Edmonton, Inuvik, Ojinaga, Yellowknife"},{utc:["America/Chicago","America/Indiana/Knox","America/Indiana/Tell_City","America/Matamoros","America/Menominee","America/North_Dakota/Beulah","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/Rainy_River","America/Rankin_Inlet","America/Resolute","America/Winnipeg","CST6CDT"],label:"Central Time",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",isDst:!0,cities:"Austin, Beulah, Center, Chicago, Knox, Matamoros, Menominee, Nashville, New Salem, Rainy River, Rankin Inlet, Resolute, San Antonio, Tell City, Tennessee, Texas, Winnipeg"},{utc:["America/New_York","America/Detroit","America/Havana","America/Indiana/Petersburg","America/Indiana/Vincennes","America/Indiana/Winamac","America/Iqaluit","America/Kentucky/Monticello","America/Louisville","America/Montreal","America/Nassau","America/Nipigon","America/Pangnirtung","America/Port-au-Prince","America/Thunder_Bay","America/Toronto"],label:"Eastern Time",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",isDst:!0,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"},{utc:["America/Anchorage","America/Juneau","America/Nome","America/Sitka","America/Yakutat"],label:"Alaskan Time",keywords:"Alaskan Standard Time AT Anchorage Juneau Nome Sitka Yakutat",isDst:!0,cities:"Anchorage, Juneau, Nome, Sitka, Yakutat"},{utc:["America/St_Johns"],label:"Newfoundland Time",keywords:"Newfoundland Standard Time NT St Johns",isDst:!0,cities:"St Johns"},{utc:["Etc/GMT+10","Pacific/Honolulu","Pacific/Johnston","Pacific/Rarotonga","Pacific/Tahiti"],label:"Hawaiian Time",keywords:"Hawaiian Standard Time T GMT+10 Honolulu Johnston Lahaina Rarotonga Tahiti",isDst:!1,cities:"Honolulu, Johnston, Lahaina, Rarotonga, Tahiti"}];var l,c,u,d,m,_,A,h={},S=[],T=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,p=Array.isArray;function f(a,e){for(var i in e)a[i]=e[i];return a}function y(a){var e=a.parentNode;e&&e.removeChild(a)}function b(a,e,i){var t,n,r,o={};for(r in e)"key"==r?t=e[r]:"ref"==r?n=e[r]:o[r]=e[r];if(arguments.length>2&&(o.children=arguments.length>3?l.call(arguments,2):i),"function"==typeof a&&null!=a.defaultProps)for(r in a.defaultProps)void 0===o[r]&&(o[r]=a.defaultProps[r]);return k(a,o,t,n,null)}function k(a,e,i,t,n){var r={type:a,props:e,key:i,ref:t,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==n?++u:n};return null==n&&null!=c.vnode&&c.vnode(r),r}function g(a){return a.children}function v(a,e){this.props=a,this.context=e}function M(a,e){if(null==e)return a.__?M(a.__,a.__.__k.indexOf(a)+1):null;for(var i;e<a.__k.length;e++)if(null!=(i=a.__k[e])&&null!=i.__e)return i.__d||i.__e;return"function"==typeof a.type?M(a):null}function C(a){var e,i;if(null!=(a=a.__)&&null!=a.__c){for(a.__e=a.__c.base=null,e=0;e<a.__k.length;e++)if(null!=(i=a.__k[e])&&null!=i.__e){a.__e=a.__c.base=i.__e;break}return C(a)}}function w(a){(!a.__d&&(a.__d=!0)&&d.push(a)&&!D.__r++||m!==c.debounceRendering)&&((m=c.debounceRendering)||_)(D)}function D(){var a,e,i,t,n,r,o,s,l;for(d.sort(A);a=d.shift();)a.__d&&(e=d.length,t=void 0,n=void 0,r=void 0,s=(o=(i=a).__v).__e,(l=i.__P)&&(t=[],n=[],(r=f({},o)).__v=o.__v+1,K(l,o,r,i.__n,void 0!==l.ownerSVGElement,null!=o.__h?[s]:null,t,null==s?M(o):s,o.__h,n),V(t,o,n),o.__e!=s&&C(o)),d.length>e&&d.sort(A));D.__r=0}function E(a,e,i,t,n,r,o,s,l,c,u){var d,m,_,A,T,f,y,b,v,C=0,w=t&&t.__k||S,D=w.length,E=D,G=e.length;for(i.__k=[],d=0;d<G;d++)null!=(A=i.__k[d]=null==(A=e[d])||"boolean"==typeof A||"function"==typeof A?null:"string"==typeof A||"number"==typeof A||"bigint"==typeof A?k(null,A,null,null,A):p(A)?k(g,{children:A},null,null,null):A.__b>0?k(A.type,A.props,A.key,A.ref?A.ref:null,A.__v):A)?(A.__=i,A.__b=i.__b+1,-1===(b=N(A,w,y=d+C,E))?_=h:(_=w[b]||h,w[b]=void 0,E--),K(a,A,_,n,r,o,s,l,c,u),T=A.__e,(m=A.ref)&&_.ref!=m&&(_.ref&&H(_.ref,null,A),u.push(m,A.__c||T,A)),null!=T&&(null==f&&(f=T),(v=_===h||null===_.__v)?-1==b&&C--:b!==y&&(b===y+1?C++:b>y?E>G-y?C+=b-y:C--:C=b<y&&b==y-1?b-y:0),y=d+C,"function"!=typeof A.type||b===y&&_.__k!==A.__k?"function"==typeof A.type||b===y&&!v?void 0!==A.__d?(l=A.__d,A.__d=void 0):l=T.nextSibling:l=B(a,T,l):l=P(A,l,a),"function"==typeof i.type&&(i.__d=l))):(_=w[d])&&null==_.key&&_.__e&&(_.__e==l&&(_.__=t,l=M(_)),U(_,_,!1),w[d]=null);for(i.__e=f,d=D;d--;)null!=w[d]&&("function"==typeof i.type&&null!=w[d].__e&&w[d].__e==i.__d&&(i.__d=w[d].__e.nextSibling),U(w[d],w[d]))}function P(a,e,i){for(var t,n=a.__k,r=0;n&&r<n.length;r++)(t=n[r])&&(t.__=a,e="function"==typeof t.type?P(t,e,i):B(i,t.__e,e));return e}function B(a,e,i){return null==i||i.parentNode!==a?a.insertBefore(e,null):e==i&&null!=e.parentNode||a.insertBefore(e,i),e.nextSibling}function N(a,e,i,t){var n=a.key,r=a.type,o=i-1,s=i+1,l=e[i];if(null===l||l&&n==l.key&&r===l.type)return i;if(t>(null!=l?1:0))for(;o>=0||s<e.length;){if(o>=0){if((l=e[o])&&n==l.key&&r===l.type)return o;o--}if(s<e.length){if((l=e[s])&&n==l.key&&r===l.type)return s;s++}}return-1}function G(a,e,i){"-"===e[0]?a.setProperty(e,null==i?"":i):a[e]=null==i?"":"number"!=typeof i||T.test(e)?i:i+"px"}function L(a,e,i,t,n){var r;a:if("style"===e)if("string"==typeof i)a.style.cssText=i;else{if("string"==typeof t&&(a.style.cssText=t=""),t)for(e in t)i&&e in i||G(a.style,e,"");if(i)for(e in i)t&&i[e]===t[e]||G(a.style,e,i[e])}else if("o"===e[0]&&"n"===e[1])r=e!==(e=e.replace(/(PointerCapture)$|Capture$/,"$1")),e=e.toLowerCase()in a?e.toLowerCase().slice(2):e.slice(2),a.l||(a.l={}),a.l[e+r]=i,i?t?i.u=t.u:(i.u=Date.now(),a.addEventListener(e,r?x:I,r)):a.removeEventListener(e,r?x:I,r);else if("dangerouslySetInnerHTML"!==e){if(n)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==e&&"height"!==e&&"href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&"rowSpan"!==e&&"colSpan"!==e&&"role"!==e&&e in a)try{a[e]=null==i?"":i;break a}catch(o){}"function"==typeof i||(null==i||!1===i&&"-"!==e[4]?a.removeAttribute(e):a.setAttribute(e,i))}}function I(a){var e=this.l[a.type+!1];if(a.t){if(a.t<=e.u)return}else a.t=Date.now();return e(c.event?c.event(a):a)}function x(a){return this.l[a.type+!0](c.event?c.event(a):a)}function K(a,e,i,t,n,r,o,s,u,d){var m,_,A,S,T,b,k,C,w,D,P,B,N,G,I,x=e.type;if(void 0!==e.constructor)return null;null!=i.__h&&(u=i.__h,s=e.__e=i.__e,e.__h=null,r=[s]),(m=c.__b)&&m(e);a:if("function"==typeof x)try{if(C=e.props,w=(m=x.contextType)&&t[m.__c],D=m?w?w.props.value:m.__:t,i.__c?k=(_=e.__c=i.__c).__=_.__E:("prototype"in x&&x.prototype.render?e.__c=_=new x(C,D):(e.__c=_=new v(C,D),_.constructor=x,_.render=j),w&&w.sub(_),_.props=C,_.state||(_.state={}),_.context=D,_.__n=t,A=_.__d=!0,_.__h=[],_._sb=[]),null==_.__s&&(_.__s=_.state),null!=x.getDerivedStateFromProps&&(_.__s==_.state&&(_.__s=f({},_.__s)),f(_.__s,x.getDerivedStateFromProps(C,_.__s))),S=_.props,T=_.state,_.__v=e,A)null==x.getDerivedStateFromProps&&null!=_.componentWillMount&&_.componentWillMount(),null!=_.componentDidMount&&_.__h.push(_.componentDidMount);else{if(null==x.getDerivedStateFromProps&&C!==S&&null!=_.componentWillReceiveProps&&_.componentWillReceiveProps(C,D),!_.__e&&(null!=_.shouldComponentUpdate&&!1===_.shouldComponentUpdate(C,_.__s,D)||e.__v===i.__v)){for(e.__v!==i.__v&&(_.props=C,_.state=_.__s,_.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.forEach((function(a){a&&(a.__=e)})),P=0;P<_._sb.length;P++)_.__h.push(_._sb[P]);_._sb=[],_.__h.length&&o.push(_);break a}null!=_.componentWillUpdate&&_.componentWillUpdate(C,_.__s,D),null!=_.componentDidUpdate&&_.__h.push((function(){_.componentDidUpdate(S,T,b)}))}if(_.context=D,_.props=C,_.__P=a,_.__e=!1,B=c.__r,N=0,"prototype"in x&&x.prototype.render){for(_.state=_.__s,_.__d=!1,B&&B(e),m=_.render(_.props,_.state,_.context),G=0;G<_._sb.length;G++)_.__h.push(_._sb[G]);_._sb=[]}else do{_.__d=!1,B&&B(e),m=_.render(_.props,_.state,_.context),_.state=_.__s}while(_.__d&&++N<25);_.state=_.__s,null!=_.getChildContext&&(t=f(f({},t),_.getChildContext())),A||null==_.getSnapshotBeforeUpdate||(b=_.getSnapshotBeforeUpdate(S,T)),E(a,p(I=null!=m&&m.type===g&&null==m.key?m.props.children:m)?I:[I],e,i,t,n,r,o,s,u,d),_.base=e.__e,e.__h=null,_.__h.length&&o.push(_),k&&(_.__E=_.__=null)}catch(K){e.__v=null,(u||null!=r)&&(e.__e=s,e.__h=!!u,r[r.indexOf(s)]=null),c.__e(K,e,i)}else null==r&&e.__v===i.__v?(e.__k=i.__k,e.__e=i.__e):e.__e=function(a,e,i,t,n,r,o,s,c){var u,d,m,_=i.props,A=e.props,S=e.type,T=0;if("svg"===S&&(n=!0),null!=r)for(;T<r.length;T++)if((u=r[T])&&"setAttribute"in u==!!S&&(S?u.localName===S:3===u.nodeType)){a=u,r[T]=null;break}if(null==a){if(null===S)return document.createTextNode(A);a=n?document.createElementNS("http://www.w3.org/2000/svg",S):document.createElement(S,A.is&&A),r=null,s=!1}if(null===S)_===A||s&&a.data===A||(a.data=A);else{if(r=r&&l.call(a.childNodes),d=(_=i.props||h).dangerouslySetInnerHTML,m=A.dangerouslySetInnerHTML,!s){if(null!=r)for(_={},T=0;T<a.attributes.length;T++)_[a.attributes[T].name]=a.attributes[T].value;(m||d)&&(m&&(d&&m.__html==d.__html||m.__html===a.innerHTML)||(a.innerHTML=m&&m.__html||""))}if(function(a,e,i,t,n){var r;for(r in i)"children"===r||"key"===r||r in e||L(a,r,null,i[r],t);for(r in e)n&&"function"!=typeof e[r]||"children"===r||"key"===r||"value"===r||"checked"===r||i[r]===e[r]||L(a,r,e[r],i[r],t)}(a,A,_,n,s),m)e.__k=[];else if(E(a,p(T=e.props.children)?T:[T],e,i,t,n&&"foreignObject"!==S,r,o,r?r[0]:i.__k&&M(i,0),s,c),null!=r)for(T=r.length;T--;)null!=r[T]&&y(r[T]);s||("value"in A&&void 0!==(T=A.value)&&(T!==a.value||"progress"===S&&!T||"option"===S&&T!==_.value)&&L(a,"value",T,_.value,!1),"checked"in A&&void 0!==(T=A.checked)&&T!==a.checked&&L(a,"checked",T,_.checked,!1))}return a}(i.__e,e,i,t,n,r,o,u,d);(m=c.diffed)&&m(e)}function V(a,e,i){for(var t=0;t<i.length;t++)H(i[t],i[++t],i[++t]);c.__c&&c.__c(e,a),a.some((function(e){try{a=e.__h,e.__h=[],a.some((function(a){a.call(e)}))}catch(i){c.__e(i,e.__v)}}))}function H(a,e,i){try{"function"==typeof a?a(e):a.current=e}catch(t){c.__e(t,i)}}function U(a,e,i){var t,n;if(c.unmount&&c.unmount(a),(t=a.ref)&&(t.current&&t.current!==a.__e||H(t,null,e)),null!=(t=a.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(r){c.__e(r,e)}t.base=t.__P=null,a.__c=void 0}if(t=a.__k)for(n=0;n<t.length;n++)t[n]&&U(t[n],e,i||"function"!=typeof a.type);i||null==a.__e||y(a.__e),a.__=a.__e=a.__d=void 0}function j(a,e,i){return this.constructor(a,i)}l=S.slice,c={__e:function(a,e,i,t){for(var n,r,o;e=e.__;)if((n=e.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(a)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(a,t||{}),o=n.__d),o)return n.__E=n}catch(s){a=s}throw a}},u=0,v.prototype.setState=function(a,e){var i;i=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof a&&(a=a(f({},i),this.props)),a&&f(i,a),null!=a&&this.__v&&(e&&this._sb.push(e),w(this))},v.prototype.forceUpdate=function(a){this.__v&&(this.__e=!0,a&&this.__h.push(a),w(this))},v.prototype.render=g,d=[],_="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,A=function(a,e){return a.__v.__b-e.__v.__b},D.__r=0;var R=function(a,e,i,t){var n;e[0]=0;for(var r=1;r<e.length;r++){var o=e[r++],s=e[r]?(e[0]|=o?1:2,i[e[r++]]):e[++r];3===o?t[0]=s:4===o?t[1]=Object.assign(t[1]||{},s):5===o?(t[1]=t[1]||{})[e[++r]]=s:6===o?t[1][e[++r]]+=s+"":o?(n=a.apply(s,R(a,s,i,["",null])),t.push(n),s[0]?e[0]|=2:(e[r-2]=0,e[r]=n)):t.push(s)}return t},W=new Map;(function(a){var e=W.get(this);return e||(e=new Map,W.set(this,e)),(e=R(this,e.get(a)||(e.set(a,e=function(a){for(var e,i,t=1,n="",r="",o=[0],s=function(a){1===t&&(a||(n=n.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?o.push(0,a,n):3===t&&(a||n)?(o.push(3,a,n),t=2):2===t&&"..."===n&&a?o.push(4,a,0):2===t&&n&&!a?o.push(5,0,!0,n):t>=5&&((n||!a&&5===t)&&(o.push(t,0,n,i),t=6),a&&(o.push(t,a,0,i),t=6)),n=""},l=0;l<a.length;l++){l&&(1===t&&s(),s(l));for(var c=0;c<a[l].length;c++)e=a[l][c],1===t?"<"===e?(s(),o=[o],t=3):n+=e:4===t?"--"===n&&">"===e?(t=1,n=""):n=e+n[0]:r?e===r?r="":n+=e:'"'===e||"'"===e?r=e:">"===e?(s(),t=1):t&&("="===e?(t=5,i=n,n=""):"/"===e&&(t<5||">"===a[l][c+1])?(s(),3===t&&(o=o[0]),t=o,(o=o[0]).push(2,0,t),t=0):" "===e||"\t"===e||"\n"===e||"\r"===e?(s(),t=2):n+=e),3===t&&"!--"===n&&(t=4,o=o[0])}return s(),o}(a)),e),arguments,[])).length>1?e:e[0]}).bind(b);var z,J,F,O,q=0,Y=[],$=[],Z=c.__b,Q=c.__r,X=c.diffed,aa=c.__c,ea=c.unmount;function ia(a,e){c.__h&&c.__h(J,a,q||e),q=0;var i=J.__H||(J.__H={__:[],__h:[]});return a>=i.__.length&&i.__.push({__V:$}),i.__[a]}function ta(a){return q=1,function(a,e,i){var t=ia(z++,2);if(t.t=a,!t.__c&&(t.__=[i?i(e):ua(void 0,e),function(a){var e=t.__N?t.__N[0]:t.__[0],i=t.t(e,a);e!==i&&(t.__N=[i,t.__[1]],t.__c.setState({}))}],t.__c=J,!J.u)){var n=function(a,e,i){if(!t.__c.__H)return!0;var n=t.__c.__H.__.filter((function(a){return a.__c}));if(n.every((function(a){return!a.__N})))return!r||r.call(this,a,e,i);var o=!1;return n.forEach((function(a){if(a.__N){var e=a.__[0];a.__=a.__N,a.__N=void 0,e!==a.__[0]&&(o=!0)}})),!(!o&&t.__c.props===a)&&(!r||r.call(this,a,e,i))};J.u=!0;var r=J.shouldComponentUpdate,o=J.componentWillUpdate;J.componentWillUpdate=function(a,e,i){if(this.__e){var t=r;r=void 0,n(a,e,i),r=t}o&&o.call(this,a,e,i)},J.shouldComponentUpdate=n}return t.__N||t.__}(ua,a)}function na(a,e){var i,t,n=ia(z++,3);!c.__s&&(i=n.__H,t=e,!i||i.length!==t.length||t.some((function(a,e){return a!==i[e]})))&&(n.__=a,n.i=e,J.__H.__h.push(n))}function ra(){for(var a;a=Y.shift();)if(a.__P&&a.__H)try{a.__H.__h.forEach(la),a.__H.__h.forEach(ca),a.__H.__h=[]}catch(e){a.__H.__h=[],c.__e(e,a.__v)}}c.__b=function(a){J=null,Z&&Z(a)},c.__r=function(a){Q&&Q(a),z=0;var e=(J=a.__c).__H;e&&(F===J?(e.__h=[],J.__h=[],e.__.forEach((function(a){a.__N&&(a.__=a.__N),a.__V=$,a.__N=a.i=void 0}))):(e.__h.forEach(la),e.__h.forEach(ca),e.__h=[],z=0)),F=J},c.diffed=function(a){X&&X(a);var e=a.__c;e&&e.__H&&(e.__H.__h.length&&(1!==Y.push(e)&&O===c.requestAnimationFrame||((O=c.requestAnimationFrame)||sa)(ra)),e.__H.__.forEach((function(a){a.i&&(a.__H=a.i),a.__V!==$&&(a.__=a.__V),a.i=void 0,a.__V=$}))),F=J=null},c.__c=function(a,e){e.some((function(a){try{a.__h.forEach(la),a.__h=a.__h.filter((function(a){return!a.__||ca(a)}))}catch(i){e.some((function(a){a.__h&&(a.__h=[])})),e=[],c.__e(i,a.__v)}})),aa&&aa(a,e)},c.unmount=function(a){ea&&ea(a);var e,i=a.__c;i&&i.__H&&(i.__H.__.forEach((function(a){try{la(a)}catch(i){e=i}})),i.__H=void 0,e&&c.__e(e,i.__v))};var oa="function"==typeof requestAnimationFrame;function sa(a){var e,i=function(){clearTimeout(t),oa&&cancelAnimationFrame(e),setTimeout(a)},t=setTimeout(i,100);oa&&(e=requestAnimationFrame(i))}function la(a){var e=J,i=a.__c;"function"==typeof i&&(a.__c=void 0,i()),J=e}function ca(a){var e=J;a.__c=a.__(),J=e}function ua(a,e){return"function"==typeof e?e(a):e}function da({children:a,customClass:e="",hideCitiesTooltip:i=!1,id:t="",key:n="",timezone:r,onClick:o,is24H:s}){const{label:l,keywords:c,isDst:u,cities:d}=r;return b("button",{id:t,key:n,onClick:o,value:c,className:`flex items-center gap-2 py-2 text-md ${e}`,type:"button"},b("div",{className:"min-w-0 text-left break-words grow flex space-x-1"},i?l:b("span",{value:c,title:d},l),u&&b("span",{value:c,title:"Daylight savings time applicable"},"🌞")),b("span",{className:"flex items-center shrink-0"},(a=>{const e={timeZone:a,hour12:!s,hour:"numeric",minute:"numeric"};return(new Date).toLocaleString("en-US",e)})(r.utc[0])),a)}function ma({selectedValue:a,isOverlayVisible:e,elementId:i,is24H:t,setIsOverlayVisible:n}){const r=`${i}-search-box`;return na((()=>{if(e){document.getElementById(r).focus()}}),[e]),b("div",{className:"flex flex-col justify-between w-full text-gray-700 bg-white rounded"},b(da,{onClick:()=>{n((a=>!a))},customClass:"px-4 ntsp-button-border",timezone:a,hideCitiesTooltip:!0,is24H:t},b("span",{className:"flex items-center shrink-0"},b("svg",{height:"16",width:"16",viewBox:"0 2 20 20","aria-hidden":"true",focusable:"false"},b("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"})))))}function _a({searchInput:a,setSearchInput:e,elementId:i}){return b("input",{id:`${i}-search-box`,type:"text",placeholder:"Search",onInput:a=>e(a.target.value),className:"p-2 m-2 border-2 border-blue-400 rounded shadow-lg outline-none",value:a})}const Aa=[{"US/Canada":s},{America:e},{Asia:i},{Africa:a},{Atlantic:t},{Australia:n},{Europe:r},{Pacific:o}],ha=Aa.reduce(((a,e)=>[...a,...e[Object.keys(e)[0]]]),[]),Sa=a=>a&&ha.find((e=>e.utc.includes(a))),Ta=(()=>{const a=Intl.DateTimeFormat().resolvedOptions().timeZone;return Sa(a)})()||ha[0],pa=a=>`option-${a.replaceAll(" ","_").toLowerCase()}`,fa=(a,e,i,t)=>b("div",null,a.map(((a,n)=>{const r=Object.keys(a)[0],o=a[r];return b("div",{className:"flex flex-col px-2 py-1",key:n},b("span",{className:"pb-1 font-bold uppercase text-md"},r),o.map(((a,n)=>b(da,{id:pa(a.keywords),onClick:i,customClass:"px-2 hover:bg-slate-100 "+(e.keywords===a.keywords?"bg-blue-300":""),key:n,timezone:a,is24H:t}))))}))),ya=a=>{if(""===a)return Aa;return Aa.map((e=>{const i=Object.keys(e)[0],t=e[i].filter((e=>e.label.toLowerCase().includes(a.toLowerCase())||e.keywords.toLowerCase().includes(a.toLowerCase())));return t.length>0?{[i]:t}:null})).filter((a=>null!==a))};function ba({elementId:a,is24H:e,searchInput:i,selectedValue:t,setSelectedValue:n,setIsOverlayVisible:r}){return na((()=>{document.getElementById(pa(null==t?void 0:t.keywords)).scrollIntoView({behavior:"auto",block:"center"})}),[]),na((()=>{if(""===i)return;const e=document.getElementById(`${a}-ntsp-overflow-container`);e&&(e.scrollTop=0)}),[i]),b("div",{className:"pt-2 overflow-y-scroll h-80",id:`${a}-ntsp-overflow-container`},b("div",{className:"flex flex-col"},fa(ya(i),t,(a=>{var e,i,t,o,s,l;const c=(null==(e=null==a?void 0:a.target)?void 0:e.value)||(null==(t=null==(i=null==a?void 0:a.target)?void 0:i.parentNode)?void 0:t.value)||(null==(l=null==(s=null==(o=null==a?void 0:a.target)?void 0:o.parentNode)?void 0:s.parentNode)?void 0:l.value),u=ha.find((a=>(null==a?void 0:a.keywords)===c));r(!1),n(u)}),e)))}function ka({id:a="ntsp-switch",onChange:e=(()=>{}),labelRight:i="Toggle switch",labelLeft:t="Toggle switch",defaultValue:n=!1}){const[r,o]=ta(n),s=r&&"font-semibold";return b("label",{htmlFor:a,className:"flex items-center space-x-1 cursor-pointer"},b("span",{className:`ml-3 text-sm text-gray-700 ${!r&&"font-semibold"}`},t),b("span",{className:"relative"},b("input",{type:"checkbox",id:a,className:"sr-only",checked:r,onChange:({target:{checked:a}})=>{o(a),e(a)}}),b("span",{className:"block w-10 h-6 bg-gray-600 rounded-full"}),b("span",{className:"absolute w-4 h-4 transition bg-white rounded-full dot left-1 top-1"})),b("span",{className:`ml-3 text-sm text-gray-700 ${s}`},i))}const ga=(a,e)=>{null!==e?localStorage.setItem(a,JSON.stringify(e)):localStorage.removeItem(a)};function va({className:a,is24H:e,elementId:i,selectedValue:t,setSelectedValue:n,setIsOverlayVisible:r,setIs24H:o}){const[s,l]=ta("");return b("div",{className:`w-full px-2 py-4 flex flex-col text-gray-700 bg-white border border-gray-300 rounded shadow h-80 ${a}`},b(_a,{elementId:i,searchInput:s,setSearchInput:l}),b("div",{className:"flex items-center justify-between w-full pb-2 pr-4 mb-1 shadow-sm gap-x-4"},b("span",null),b(ka,{defaultValue:e,labelRight:"24H",labelLeft:"AM/PM",onChange:a=>{ga("ntsp-24-hr-time-format",a),o(a)}})),b(ba,{elementId:i,searchInput:s,selectedValue:t,setSelectedValue:n,setIsOverlayVisible:r,is24H:e}))}function Ma({className:a="",elementId:e="timezone-selector",initialValue:i,position:t="bottom",onChange:n=(a=>{}),onHourFormatChange:r=(a=>{})}){const[o,s]=ta(Sa(i)||Ta),[l,c]=ta(!1),[u,d]=ta((a=>{let e=null;try{const i=localStorage.getItem(a);e=null!==i?JSON.parse(i):null}catch(i){e=null}return e})("ntsp-24-hr-time-format")||!1),m="top"===t;return na((()=>{const a=a=>{const i=document.getElementById(e);i&&!(null==i?void 0:i.contains(a.target))&&c(!1)};return window.addEventListener("click",a),()=>{window.removeEventListener("click",a)}}),[]),na((()=>{n(o)}),[o]),na((()=>{r(u?"24H":"12H")}),[u]),b("div",{className:"ntsp",id:e},b("div",{className:`flex flex-col relative ${a}`},b(ma,{isOverlayVisible:l,setIsOverlayVisible:c,selectedValue:o,elementId:e,is24H:u}),!0===l&&b(va,{className:"absolute "+(m?"bottom-16":"top-16"),elementId:e,selectedValue:o,setSelectedValue:s,setIsOverlayVisible:c,is24H:u,setIs24H:d})))}class Ca{constructor(a,e){this.element=a,this.options=e,this.render()}render(){var a,e,i,t,n,r,o;a=b(Ma,{...this.options}),e=this.element,c.__&&c.__(a,e),n=(t="function"==typeof i)?null:i&&i.__k||e.__k,r=[],o=[],K(e,a=(!t&&i||e).__k=b(g,null,[a]),n||h,h,void 0!==e.ownerSVGElement,!t&&i?[i]:n?null:e.firstChild?l.call(e.childNodes):null,r,!t&&i?i:n?n.__e:e.firstChild,t,o),V(r,a,o)}}window.NeetoTimezoneSelector=Ca,exports.Africa=a,exports.America=e,exports.Asia=i,exports.Atlantic=t,exports.Australia=n,exports.Europe=r,exports.Pacific=o,exports.Plugin=Ca,exports.UsCanada=s;
|