CN-1235 界面相关功能细节调整(1.Traffic Overview/NPM/Link Monitor:新增 Second-level Domains维度;删除IDC Renters、Client IDC Renters、Server IDC Renters、SNIs维度;修改 Provinces 维度改名为 Regions;2.DNS Insight:维度表删除DNS Server Organizations)

This commit is contained in:
hyx
2023-08-25 14:10:22 +08:00
parent 72fdb13295
commit 8e99dbf378

View File

@@ -409,10 +409,6 @@ export const knowledgeBaseSource = [
name: 'Internal IP', name: 'Internal IP',
value: 'cn_internal_ip_built_in' value: 'cn_internal_ip_built_in'
}, },
{
name: 'IDC Renter',
value: 'cn_idc_renter_built_in'
},
{ {
name: 'Psiphon3', name: 'Psiphon3',
value: 'cn_psiphon3_ip' value: 'cn_psiphon3_ip'
@@ -729,6 +725,14 @@ export const networkOverviewTabList = [
checked: true, checked: true,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview panelId: drillDownPanelTypeMapping.networkOverview
}, {
label: 'network.secondLevelDomains',
prop: 'domainSld',
queryCycleTotalProp: 'domainSld',
dillDownProp: ['domain_sld'],
checked: true,
disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview
},{ },{
label: 'network.protocols', label: 'network.protocols',
prop: 'l7Protocol', prop: 'l7Protocol',
@@ -738,18 +742,10 @@ export const networkOverviewTabList = [
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview panelId: drillDownPanelTypeMapping.networkOverview
},{ },{
label: 'network.idcTenants', label: 'network.regions',
prop: 'idcRenter', prop: 'superAdminArea',
queryCycleTotalProp: 'idcTenants', queryCycleTotalProp: 'regions',
dillDownProp: ['client_idc_renter', 'server_idc_renter'], dillDownProp: ['client_super_admin_area', 'server_super_admin_area'],
checked: true,
disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview
}, {
label: 'network.provinces',
prop: 'province',
queryCycleTotalProp: 'provinces',
dillDownProp: ['client_province', 'server_province'],
checked: false, checked: false,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview panelId: drillDownPanelTypeMapping.networkOverview
@@ -793,14 +789,6 @@ export const networkOverviewTabList = [
checked: false, checked: false,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview panelId: drillDownPanelTypeMapping.networkOverview
}, {
label: 'network.snis',
prop: 'sslSni',
queryCycleTotalProp: 'snis',
dillDownProp: ['ssl_sni'],
checked: false,
disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview
}, { }, {
label: 'network.protocolPorts', label: 'network.protocolPorts',
prop: 'protocolPort', prop: 'protocolPort',
@@ -889,22 +877,6 @@ export const networkOverviewTabList = [
checked: false, checked: false,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview panelId: drillDownPanelTypeMapping.networkOverview
}, {
label: 'network.clientIdcRenters',
prop: 'clientIdcRenter',
queryCycleTotalProp: 'clientIdcRenters',
dillDownProp: ['client_idc_renter'],
checked: false,
disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview
}, {
label: 'network.serverIdcRenters',
prop: 'serverIdcRenter',
queryCycleTotalProp: 'serverIdcRenters',
dillDownProp: ['server_idc_renter'],
checked: false,
disabled: false,
panelId: drillDownPanelTypeMapping.networkOverview
}, { }, {
label: 'network.clientAsns', label: 'network.clientAsns',
prop: 'clientAsn', prop: 'clientAsn',
@@ -973,6 +945,14 @@ export const networkAppPerformanceTabList = [
checked: true, checked: true,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewDomain panelId: drillDownPanelTypeMapping.npmOverviewDomain
},{
label: 'network.secondLevelDomains',
prop: 'domainSld',
queryCycleTotalProp: 'domainSld',
dillDownProp: ['domain_sld'],
checked: true,
disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewDomain
}, { }, {
label: 'network.protocols', label: 'network.protocols',
prop: 'l7Protocol', prop: 'l7Protocol',
@@ -982,18 +962,10 @@ export const networkAppPerformanceTabList = [
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewCommon panelId: drillDownPanelTypeMapping.npmOverviewCommon
}, { }, {
label: 'network.idcTenants', label: 'network.regions',
prop: 'idcRenter', prop: 'superAdminArea',
queryCycleTotalProp: 'idcTenants', queryCycleTotalProp: 'regions',
dillDownProp: ['client_idc_renter', 'server_idc_renter'], dillDownProp: ['client_super_admin_area', 'server_super_admin_area'],
checked: true,
disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewCommon
}, {
label: 'network.provinces',
prop: 'province',
queryCycleTotalProp: 'provinces',
dillDownProp: ['client_province', 'server_province'],
checked: false, checked: false,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewCommon panelId: drillDownPanelTypeMapping.npmOverviewCommon
@@ -1037,14 +1009,6 @@ export const networkAppPerformanceTabList = [
checked: false, checked: false,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewCommon panelId: drillDownPanelTypeMapping.npmOverviewCommon
}, {
label: 'network.snis',
prop: 'sslSni',
queryCycleTotalProp: 'snis',
dillDownProp: ['ssl_sni'],
checked: false,
disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewCommon
}, { }, {
label: 'network.protocolPorts', label: 'network.protocolPorts',
prop: 'protocolPort', prop: 'protocolPort',
@@ -1133,22 +1097,6 @@ export const networkAppPerformanceTabList = [
checked: false, checked: false,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewCommon panelId: drillDownPanelTypeMapping.npmOverviewCommon
}, {
label: 'network.clientIdcRenters',
prop: 'clientIdcRenter',
queryCycleTotalProp: 'clientIdcRenters',
dillDownProp: ['client_idc_renter'],
checked: false,
disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewCommon
}, {
label: 'network.serverIdcRenters',
prop: 'serverIdcRenter',
queryCycleTotalProp: 'serverIdcRenters',
dillDownProp: ['server_idc_renter'],
checked: false,
disabled: false,
panelId: drillDownPanelTypeMapping.npmOverviewCommon
}, { }, {
label: 'network.clientAsns', label: 'network.clientAsns',
prop: 'clientAsn', prop: 'clientAsn',
@@ -1216,6 +1164,14 @@ export const linkMonitorTabList = [
checked: true, checked: true,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor panelId: drillDownPanelTypeMapping.linkMonitor
},{
label: 'network.secondLevelDomains',
prop: 'domainSld',
queryCycleTotalProp: 'domainSld',
dillDownProp: ['domain_sld'],
checked: true,
disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor
}, { }, {
label: 'network.protocols', label: 'network.protocols',
prop: 'l7Protocol', prop: 'l7Protocol',
@@ -1225,18 +1181,10 @@ export const linkMonitorTabList = [
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor panelId: drillDownPanelTypeMapping.linkMonitor
}, { }, {
label: 'network.idcTenants', label: 'network.regions',
prop: 'idcRenter', prop: 'superAdminArea',
queryCycleTotalProp: 'idcTenants', queryCycleTotalProp: 'regions',
dillDownProp: ['client_idc_renter', 'server_idc_renter'], dillDownProp: ['client_super_admin_area', 'server_super_admin_area'],
checked: true,
disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor
}, {
label: 'network.provinces',
prop: 'province',
queryCycleTotalProp: 'provinces',
dillDownProp: ['client_province', 'server_province'],
checked: false, checked: false,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor panelId: drillDownPanelTypeMapping.linkMonitor
@@ -1280,14 +1228,6 @@ export const linkMonitorTabList = [
checked: false, checked: false,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor panelId: drillDownPanelTypeMapping.linkMonitor
}, {
label: 'network.snis',
prop: 'sslSni',
queryCycleTotalProp: 'snis',
dillDownProp: ['ssl_sni'],
checked: false,
disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor
},{ },{
label: 'network.protocolPorts', label: 'network.protocolPorts',
prop: 'protocolPort', prop: 'protocolPort',
@@ -1376,22 +1316,6 @@ export const linkMonitorTabList = [
checked: false, checked: false,
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor panelId: drillDownPanelTypeMapping.linkMonitor
}, {
label: 'network.clientIdcRenters',
prop: 'clientIdcRenter',
queryCycleTotalProp: 'clientIdcRenters',
dillDownProp: ['client_idc_renter'],
checked: false,
disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor
}, {
label: 'network.serverIdcRenters',
prop: 'serverIdcRenter',
queryCycleTotalProp: 'serverIdcRenters',
dillDownProp: ['server_idc_renter'],
checked: false,
disabled: false,
panelId: drillDownPanelTypeMapping.linkMonitor
}, { }, {
label: 'network.clientAsns', label: 'network.clientAsns',
prop: 'clientAsn', prop: 'clientAsn',
@@ -1447,15 +1371,6 @@ export const dnsServiceInsightsTabList = [
disabled: false, disabled: false,
panelId: drillDownPanelTypeMapping.dnsFourthMenu panelId: drillDownPanelTypeMapping.dnsFourthMenu
}, },
{
label: 'dns.dnsServerOrganizations',
prop: 'dnsServerOrganization',
queryCycleTotalProp: 'orgs',
dillDownProp: ['dns_server_org'],
checked: true,
disabled: false,
panelId: drillDownPanelTypeMapping.dnsFourthMenu
},
{ {
label: 'dns.dnsServerRoles', label: 'dns.dnsServerRoles',
prop: 'dnsServerRole', prop: 'dnsServerRole',
@@ -2021,282 +1936,282 @@ export const iso36112 = {
} }
export const countryNameIdMapping = { export const countryNameIdMapping = {
"Private IP": "CN", 'Private IP': 'CN',
"Andorra": "AD", Andorra: 'AD',
"United Arab Emirates": "AE", 'United Arab Emirates': 'AE',
"Afghanistan": "AF", Afghanistan: 'AF',
"Antigua and Barbuda": "AG", 'Antigua and Barbuda': 'AG',
"Anguilla": "AI", Anguilla: 'AI',
"Albania": "AL", Albania: 'AL',
"Armenia": "AM", Armenia: 'AM',
"Angola": "AO", Angola: 'AO',
"Antarctica": "AQ", Antarctica: 'AQ',
"Argentina": "AR", Argentina: 'AR',
"American Samoa": "AS", 'American Samoa': 'AS',
"Austria": "AT", Austria: 'AT',
"Australia": "AU", Australia: 'AU',
"Aruba": "AW", Aruba: 'AW',
"Ahvenanmaa": "AX", Ahvenanmaa: 'AX',
"Åland Islands": "AX", 'Åland Islands': 'AX',
"Azerbaijan": "AZ", Azerbaijan: 'AZ',
"Bosnia and Herzegovina": "BA", 'Bosnia and Herzegovina': 'BA',
"Barbados": "BB", Barbados: 'BB',
"Bangladesh": "BD", Bangladesh: 'BD',
"Belgium": "BE", Belgium: 'BE',
"Burkina Faso": "BF", 'Burkina Faso': 'BF',
"Bulgaria": "BG", Bulgaria: 'BG',
"Bahrain": "BH", Bahrain: 'BH',
"Burundi": "BI", Burundi: 'BI',
"Benin": "BJ", Benin: 'BJ',
"Saint Barthelemy": "BL", 'Saint Barthelemy': 'BL',
"Bermuda": "BM", Bermuda: 'BM',
"Brunei": "BN", Brunei: 'BN',
"Brunei Darussalam": "BN", 'Brunei Darussalam': 'BN',
"Bolivia": "BO", Bolivia: 'BO',
"Bonaire, Sint Eustatius, and Saba": "BQ", 'Bonaire, Sint Eustatius, and Saba': 'BQ',
"Caribbean Netherlands": "BQ", 'Caribbean Netherlands': 'BQ',
"Brazil": "BR", Brazil: 'BR',
"Bahamas": "BS", Bahamas: 'BS',
"Bhutan": "BT", Bhutan: 'BT',
"Bouvet Island": "BV", 'Bouvet Island': 'BV',
"Botswana": "BW", Botswana: 'BW',
"Belarus": "BY", Belarus: 'BY',
"Belize": "BZ", Belize: 'BZ',
"Canada": "CA", Canada: 'CA',
"Cocos (Keeling) Islands": "CC", 'Cocos (Keeling) Islands': 'CC',
"Democratic Republic of the Congo": "CD", 'Democratic Republic of the Congo': 'CD',
"DR Congo": "CD", 'DR Congo': 'CD',
"Central African Republic": "CF", 'Central African Republic': 'CF',
"Congo Republic": "CG", 'Congo Republic': 'CG',
"Republic of the Congo": "CG", 'Republic of the Congo': 'CG',
"Switzerland": "CH", Switzerland: 'CH',
"Cote D'Ivoire": "CI", "Cote D'Ivoire": 'CI',
"Ivory Coast": "CI", 'Ivory Coast': 'CI',
"Cook Islands": "CK", 'Cook Islands': 'CK',
"Chile": "CL", Chile: 'CL',
"Cameroon": "CM", Cameroon: 'CM',
"China": "CN", China: 'CN',
"Colombia": "CO", Colombia: 'CO',
"Costa Rica": "CR", 'Costa Rica': 'CR',
"Cuba": "CU", Cuba: 'CU',
"Cabo Verde": "CV", 'Cabo Verde': 'CV',
"Cape Verde": "CV", 'Cape Verde': 'CV',
"Curaao": "CW", Curaao: 'CW',
"Curaçao": "CW", Curaçao: 'CW',
"Christmas Island": "CX", 'Christmas Island': 'CX',
"Cyprus": "CY", Cyprus: 'CY',
"Czech Republic": "CZ", 'Czech Republic': 'CZ',
"Czechia": "CZ", Czechia: 'CZ',
"Germany": "DE", Germany: 'DE',
"Djibouti": "DJ", Djibouti: 'DJ',
"Denmark": "DK", Denmark: 'DK',
"Dominica": "DM", Dominica: 'DM',
"Dominican Republic": "DO", 'Dominican Republic': 'DO',
"Algeria": "DZ", Algeria: 'DZ',
"Ecuador": "EC", Ecuador: 'EC',
"Estonia": "EE", Estonia: 'EE',
"Egypt": "EG", Egypt: 'EG',
"Western Sahara": "EH", 'Western Sahara': 'EH',
"Eritrea": "ER", Eritrea: 'ER',
"Spain": "ES", Spain: 'ES',
"Ethiopia": "ET", Ethiopia: 'ET',
"Finland": "FI", Finland: 'FI',
"Fiji": "FJ", Fiji: 'FJ',
"Falkland Islands": "FK", 'Falkland Islands': 'FK',
"Federated States of Micronesia": "FM", 'Federated States of Micronesia': 'FM',
"Micronesia": "FM", Micronesia: 'FM',
"Faroe Islands": "FO", 'Faroe Islands': 'FO',
"France": "FR", France: 'FR',
"Gabon": "GA", Gabon: 'GA',
"United Kingdom": "GB", 'United Kingdom': 'GB',
"Grenada": "GD", Grenada: 'GD',
"Georgia": "GE", Georgia: 'GE',
"French Guiana": "GF", 'French Guiana': 'GF',
"Guernsey": "GG", Guernsey: 'GG',
"Ghana": "GH", Ghana: 'GH',
"Gibraltar": "GI", Gibraltar: 'GI',
"Greenland": "GL", Greenland: 'GL',
"Gambia": "GM", Gambia: 'GM',
"Guinea": "GN", Guinea: 'GN',
"Guadeloupe": "GP", Guadeloupe: 'GP',
"Equatorial Guinea": "GQ", 'Equatorial Guinea': 'GQ',
"Greece": "GR", Greece: 'GR',
"South Georgia and The South Sandwich Islands": "GS", 'South Georgia and The South Sandwich Islands': 'GS',
"Guatemala": "GT", Guatemala: 'GT',
"Guam": "GU", Guam: 'GU',
"Guinea-Bissau": "GW", 'Guinea-Bissau': 'GW',
"Guyana": "GY", Guyana: 'GY',
"Hong Kong": "HK", 'Hong Kong': 'HK',
"Heard and McDonald Islands": "HM", 'Heard and McDonald Islands': 'HM',
"Heard Island and McDonald Islands": "HM", 'Heard Island and McDonald Islands': 'HM',
"Honduras": "HN", Honduras: 'HN',
"Croatia": "HR", Croatia: 'HR',
"Haiti": "HT", Haiti: 'HT',
"Hungary": "HU", Hungary: 'HU',
"Indonesia": "ID", Indonesia: 'ID',
"Ireland": "IE", Ireland: 'IE',
"Israel": "IL", Israel: 'IL',
"Isle of Man": "IM", 'Isle of Man': 'IM',
"India": "IN", India: 'IN',
"British Indian Ocean Territory": "IO", 'British Indian Ocean Territory': 'IO',
"Iraq": "IQ", Iraq: 'IQ',
"Iran": "IR", Iran: 'IR',
"Iceland": "IS", Iceland: 'IS',
"Italy": "IT", Italy: 'IT',
"Jersey": "JE", Jersey: 'JE',
"Jamaica": "JM", Jamaica: 'JM',
"Jordan": "JO", Jordan: 'JO',
"Japan": "JP", Japan: 'JP',
"Kenya": "KE", Kenya: 'KE',
"Kyrgyzstan": "KG", Kyrgyzstan: 'KG',
"Cambodia": "KH", Cambodia: 'KH',
"Kiribati": "KI", Kiribati: 'KI',
"Comoros": "KM", Comoros: 'KM',
"Saint Kitts and Nevis": "KN", 'Saint Kitts and Nevis': 'KN',
"St Kitts and Nevis": "KN", 'St Kitts and Nevis': 'KN',
"North Korea": "KP", 'North Korea': 'KP',
"South Korea": "KR", 'South Korea': 'KR',
"Kuwait": "KW", Kuwait: 'KW',
"Cayman Islands": "KY", 'Cayman Islands': 'KY',
"Kazakhstan": "KZ", Kazakhstan: 'KZ',
"Laos": "LA", Laos: 'LA',
"Lebanon": "LB", Lebanon: 'LB',
"Saint Lucia": "LC", 'Saint Lucia': 'LC',
"Liechtenstein": "LI", Liechtenstein: 'LI',
"Sri Lanka": "LK", 'Sri Lanka': 'LK',
"Liberia": "LR", Liberia: 'LR',
"Lesotho": "LS", Lesotho: 'LS',
"Lithuania": "LT", Lithuania: 'LT',
"Luxembourg": "LU", Luxembourg: 'LU',
"Latvia": "LV", Latvia: 'LV',
"Libya": "LY", Libya: 'LY',
"Morocco": "MA", Morocco: 'MA',
"Monaco": "MC", Monaco: 'MC',
"Moldova": "MD", Moldova: 'MD',
"Montenegro": "ME", Montenegro: 'ME',
"Saint Martin": "MF", 'Saint Martin': 'MF',
"Madagascar": "MG", Madagascar: 'MG',
"Marshall Islands": "MH", 'Marshall Islands': 'MH',
"North Macedonia": "MK", 'North Macedonia': 'MK',
"The Republic of North Macedonia": "MK", 'The Republic of North Macedonia': 'MK',
"Mali": "ML", Mali: 'ML',
"Myanmar": "MM", Myanmar: 'MM',
"Mongolia": "MN", Mongolia: 'MN',
"Macao": "MO", Macao: 'MO',
"Northern Mariana Islands": "MP", 'Northern Mariana Islands': 'MP',
"Martinique": "MQ", Martinique: 'MQ',
"Mauritania": "MR", Mauritania: 'MR',
"Montserrat": "MS", Montserrat: 'MS',
"Malta": "MT", Malta: 'MT',
"Mauritius": "MU", Mauritius: 'MU',
"Maldives": "MV", Maldives: 'MV',
"Malawi": "MW", Malawi: 'MW',
"Mexico": "MX", Mexico: 'MX',
"Malaysia": "MY", Malaysia: 'MY',
"Mozambique": "MZ", Mozambique: 'MZ',
"Namibia": "NA", Namibia: 'NA',
"New Caledonia": "NC", 'New Caledonia': 'NC',
"Niger": "NE", Niger: 'NE',
"Norfolk Island": "NF", 'Norfolk Island': 'NF',
"Nigeria": "NG", Nigeria: 'NG',
"Nicaragua": "NI", Nicaragua: 'NI',
"Netherlands": "NL", Netherlands: 'NL',
"The Netherlands": "NL", 'The Netherlands': 'NL',
"Norway": "NO", Norway: 'NO',
"Nepal": "NP", Nepal: 'NP',
"Nauru": "NR", Nauru: 'NR',
"Niue": "NU", Niue: 'NU',
"New Zealand": "NZ", 'New Zealand': 'NZ',
"Oman": "OM", Oman: 'OM',
"Panama": "PA", Panama: 'PA',
"Peru": "PE", Peru: 'PE',
"French Polynesia": "PF", 'French Polynesia': 'PF',
"Papua New Guinea": "PG", 'Papua New Guinea': 'PG',
"Philippines": "PH", Philippines: 'PH',
"Pakistan": "PK", Pakistan: 'PK',
"Poland": "PL", Poland: 'PL',
"Saint Pierre and Miquelon": "PM", 'Saint Pierre and Miquelon': 'PM',
"Saint-Pierre and Miquelon": "PM", 'Saint-Pierre and Miquelon': 'PM',
"Pitcairn": "PN", Pitcairn: 'PN',
"Pitcairn Islands": "PN", 'Pitcairn Islands': 'PN',
"Puerto Rico": "PR", 'Puerto Rico': 'PR',
"Palestine": "PS", Palestine: 'PS',
"Portugal": "PT", Portugal: 'PT',
"Palau": "PW", Palau: 'PW',
"Paraguay": "PY", Paraguay: 'PY',
"Qatar": "QA", Qatar: 'QA',
"Reunion": "RE", Reunion: 'RE',
"Romania": "RO", Romania: 'RO',
"Serbia": "RS", Serbia: 'RS',
"Russia": "RU", Russia: 'RU',
"Rwanda": "RW", Rwanda: 'RW',
"Saudi Arabia": "SA", 'Saudi Arabia': 'SA',
"Solomon Islands": "SB", 'Solomon Islands': 'SB',
"Seychelles": "SC", Seychelles: 'SC',
"Sudan": "SD", Sudan: 'SD',
"Sweden": "SE", Sweden: 'SE',
"Singapore": "SG", Singapore: 'SG',
"Saint Helena": "SH", 'Saint Helena': 'SH',
"Slovenia": "SI", Slovenia: 'SI',
"Svalbard and Jan Mayen": "SJ", 'Svalbard and Jan Mayen': 'SJ',
"Slovakia": "SK", Slovakia: 'SK',
"Sierra Leone": "SL", 'Sierra Leone': 'SL',
"San Marino": "SM", 'San Marino': 'SM',
"Senegal": "SN", Senegal: 'SN',
"Somalia": "SO", Somalia: 'SO',
"Suriname": "SR", Suriname: 'SR',
"South Sudan": "SS", 'South Sudan': 'SS',
"Sao Tome and Principe": "ST", 'Sao Tome and Principe': 'ST',
"El Salvador": "SV", 'El Salvador': 'SV',
"Sint Maarten": "SX", 'Sint Maarten': 'SX',
"Syria": "SY", Syria: 'SY',
"Eswatini": "SZ", Eswatini: 'SZ',
"Swaziland": "SZ", Swaziland: 'SZ',
"Turks and Caicos Islands": "TC", 'Turks and Caicos Islands': 'TC',
"Chad": "TD", Chad: 'TD',
"French Southern and Antarctic Lands": "TF", 'French Southern and Antarctic Lands': 'TF',
"French Southern Territories": "TF", 'French Southern Territories': 'TF',
"Togo": "TG", Togo: 'TG',
"Thailand": "TH", Thailand: 'TH',
"Tajikistan": "TJ", Tajikistan: 'TJ',
"Tokelau": "TK", Tokelau: 'TK',
"East Timor": "TL", 'East Timor': 'TL',
"Timor-Leste": "TL", 'Timor-Leste': 'TL',
"Turkmenistan": "TM", Turkmenistan: 'TM',
"Tunisia": "TN", Tunisia: 'TN',
"Tonga": "TO", Tonga: 'TO',
"Turkey": "TR", Turkey: 'TR',
"Trinidad and Tobago": "TT", 'Trinidad and Tobago': 'TT',
"Tuvalu": "TV", Tuvalu: 'TV',
"Taiwan": "TW", Taiwan: 'TW',
"Tanzania": "TZ", Tanzania: 'TZ',
"Ukraine": "UA", Ukraine: 'UA',
"Uganda": "UG", Uganda: 'UG',
"US Minor Outlying Islands": "UM", 'US Minor Outlying Islands': 'UM',
"US-Outlying Islands": "UM", 'US-Outlying Islands': 'UM',
"Unknown": "Unknown", Unknown: 'Unknown',
"United States": "US", 'United States': 'US',
"Uruguay": "UY", Uruguay: 'UY',
"Uzbekistan": "UZ", Uzbekistan: 'UZ',
"Vatican City": "VA", 'Vatican City': 'VA',
"Saint Vincent and the Grenadines": "VC", 'Saint Vincent and the Grenadines': 'VC',
"St Vincent and Grenadines": "VC", 'St Vincent and Grenadines': 'VC',
"Venezuela": "VE", Venezuela: 'VE',
"British Virgin Islands": "VG", 'British Virgin Islands': 'VG',
"United States Virgin Islands": "VI", 'United States Virgin Islands': 'VI',
"US-Virgin Islands": "VI", 'US-Virgin Islands': 'VI',
"Viet Nam": "VN", 'Viet Nam': 'VN',
"Vietnam": "VN", Vietnam: 'VN',
"Vanuatu": "VU", Vanuatu: 'VU',
"Wallis and Futuna": "WF", 'Wallis and Futuna': 'WF',
"Samoa": "WS", Samoa: 'WS',
"Kosovo": "XK", Kosovo: 'XK',
"The Republic of Kosovo": "XK", 'The Republic of Kosovo': 'XK',
"Yemen": "YE", Yemen: 'YE',
"Mayotte": "YT", Mayotte: 'YT',
"South Africa": "ZA", 'South Africa': 'ZA',
"Zambia": "ZM", Zambia: 'ZM',
"Zimbabwe": "ZW" Zimbabwe: 'ZW'
} }
export const reg = { export const reg = {