-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlistWorldEnergyPrice
788 lines (776 loc) · 25.4 KB
/
listWorldEnergyPrice
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
// Energy price in local currency from all countries
// If you know the price of a country that is missing or an outdated price please suggest
// Thank you
import Foundation
enum ListCountryEnum: String {
case af = "AF"
case ax = "AX"
case al = "AL"
case dz = "DZ"
case `as` = "AS"
case ad = "AD"
case ao = "AO"
case ai = "AI"
case aq = "AQ"
case ag = "AG"
case ar = "AR"
case am = "AM"
case aw = "AW"
case au = "AU"
case at = "AT"
case az = "AZ"
case bs = "BS"
case bh = "BH"
case bd = "BD"
case bb = "BB"
case by = "BY"
case be = "BE"
case bz = "BZ"
case bj = "BJ"
case bm = "BM"
case bt = "BT"
case bo = "BO"
case bq = "BQ"
case ba = "BA"
case bw = "BW"
case bv = "BV"
case br = "BR"
case io = "IO"
case bn = "BN"
case bg = "BG"
case bf = "BF"
case bi = "BI"
case cv = "CV"
case kh = "KH"
case cm = "CM"
case ca = "CA"
case ky = "KY"
case cf = "CF"
case td = "TD"
case cl = "CL"
case cn = "CN"
case cx = "CX"
case cc = "CC"
case co = "CO"
case km = "KM"
case cg = "CG"
case cd = "CD"
case ck = "CK"
case cr = "CR"
case ci = "CI"
case hr = "HR"
case cu = "CU"
case cw = "CW"
case cy = "CY"
case cz = "CZ"
case dk = "DK"
case dj = "DJ"
case dm = "DM"
case `do` = "DO"
case ec = "EC"
case eg = "EG"
case sv = "SV"
case gq = "GQ"
case er = "ER"
case ee = "EE"
case et = "ET"
case fk = "FK"
case fo = "FO"
case fj = "FJ"
case fi = "FI"
case fr = "FR"
case gf = "GF"
case pf = "PF"
case tf = "TF"
case ga = "GA"
case gm = "GM"
case ge = "GE"
case de = "DE"
case gh = "GH"
case gi = "GI"
case gr = "GR"
case gl = "GL"
case gd = "GD"
case gp = "GP"
case gu = "GU"
case gt = "GT"
case gg = "GG"
case gn = "GN"
case gw = "GW"
case gy = "GY"
case ht = "HT"
case hm = "HM"
case va = "VA"
case hn = "HN"
case hk = "HK"
case hu = "HU"
case `is` = "IS"
case `in` = "IN"
case id = "ID"
case ir = "IR"
case iq = "IQ"
case ie = "IE"
case im = "IM"
case il = "IL"
case it = "IT"
case jm = "JM"
case jp = "JP"
case je = "JE"
case jo = "JO"
case kz = "KZ"
case ke = "KE"
case ki = "KI"
case kp = "KP"
case kr = "KR"
case kw = "KW"
case kg = "KG"
case la = "LA"
case lv = "LV"
case lb = "LB"
case ls = "LS"
case lr = "LR"
case ly = "LY"
case li = "LI"
case lt = "LT"
case lu = "LU"
case mo = "MO"
case mk = "MK"
case mg = "MG"
case mw = "MW"
case my = "MY"
case mv = "MV"
case ml = "ML"
case mt = "MT"
case mh = "MH"
case mq = "MQ"
case mr = "MR"
case mu = "MU"
case yt = "YT"
case mx = "MX"
case fm = "FM"
case md = "MD"
case mc = "MC"
case mn = "MN"
case me = "ME"
case ms = "MS"
case ma = "MA"
case mz = "MZ"
case mm = "MM"
case na = "NA"
case nr = "NR"
case np = "NP"
case nl = "NL"
case nc = "NC"
case nz = "NZ"
case ni = "NI"
case ne = "NE"
case ng = "NG"
case nu = "NU"
case nf = "NF"
case mp = "MP"
case no = "NO"
case om = "OM"
case pk = "PK"
case pw = "PW"
case ps = "PS"
case pa = "PA"
case pg = "PG"
case py = "PY"
case pe = "PE"
case ph = "PH"
case pn = "PN"
case pl = "PL"
case pt = "PT"
case pr = "PR"
case qa = "QA"
case re = "RE"
case ro = "RO"
case ru = "RU"
case rw = "RW"
case bl = "BL"
case sh = "SH"
case kn = "KN"
case lc = "LC"
case mf = "MF"
case pm = "PM"
case vc = "VC"
case ws = "WS"
case sm = "SM"
case st = "ST"
case sa = "SA"
case sn = "SN"
case rs = "RS"
case sc = "SC"
case sl = "SL"
case sg = "SG"
case sx = "SX"
case sk = "SK"
case si = "SI"
case sb = "SB"
case so = "SO"
case za = "ZA"
case gs = "GS"
case ss = "SS"
case es = "ES"
case lk = "LK"
case sd = "SD"
case sr = "SR"
case sj = "SJ"
case sz = "SZ"
case se = "SE"
case ch = "CH"
case sy = "SY"
case tw = "TW"
case tj = "TJ"
case tz = "TZ"
case th = "TH"
case tl = "TL"
case tg = "TG"
case tk = "TK"
case to = "TO"
case tt = "TT"
case tn = "TN"
case tr = "TR"
case tm = "TM"
case tc = "TC"
case tv = "TV"
case ug = "UG"
case ua = "UA"
case ae = "AE"
case gb = "GB"
case us = "US"
case um = "UM"
case uy = "UY"
case uz = "UZ"
case vu = "VU"
case ve = "VE"
case vn = "VN"
case vg = "VG"
case vi = "VI"
case wf = "WF"
case eh = "EH"
case ye = "YE"
case zm = "ZM"
case zw = "ZW"
}
extension ListCountryEnum {
static var all: [ListCountryEnum] = [.af, .ax, .al, .dz, .`as`, .ad, .ao, .ai, .aq, .ag, .ar, .am, .aw, .au, .at, .az, .bs, .bh, .bd, .bb, .by, .be, .bz, .bj, .bm, .bt, .bo, .bq, .ba, .bw, .bv, .br, .io, .bn, .bg, .bf, .bi, .cv, .kh, .cm, .ca, .ky, .cf, .td, .cl, .cn, .cx, .cc, .co, .km, .cg, .cd, .ck, .cr, .ci, .hr, .cu, .cw, .cy, .cz, .dk, .dj, .dm, .`do`, .ec, .eg, .sv, .gq, .er, .ee, .et, .fk, .fo, .fj, .fi, .fr, .gf, .pf, .tf, .ga, .gm, .ge, .de, .gh, .gi, .gr, .gl, .gd, .gp, .gu, .gt, .gg, .gn, .gw, .gy, .ht, .hm, .va, .hn, .hk, .hu, .`is`, .`in`, .id, .ir, .iq, .ie, .im, .il, .it, .jm, .jp, .je, .jo, .kz, .ke, .ki, .kp, .kr, .kw, .kg, .la, .lv, .lb, .ls, .lr, .ly, .li, .lt, .lu, .mo, .mk, .mg, .mw, .my, .mv, .ml, .mt, .mh, .mq, .mr, .mu, .yt, .mx, .fm, .md, .mc, .mn, .me, .ms, .ma, .mz, .mm, .na, .nr, .np, .nl, .nc, .nz, .ni, .ne, .ng, .nu, .nf, .mp, .no, .om, .pk, .pw, .ps, .pa, .pg, .py, .pe, .ph, .pn, .pl, .pt, .pr, .qa, .re, .ro, .ru, .rw, .bl, .sh, .kn, .lc, .mf, .pm, .vc, .ws, .sm, .st, .sa, .sn, .rs, .sc, .sl, .sg, .sx, .sk, .si, .sb, .so, .za, .gs, .ss, .es, .lk, .sd, .sr, .sj, .sz, .se, .ch, .sy, .tw, .tj, .tz, .th, .tl, .tg, .tk, .to, .tt, .tn, .tr, .tm, .tc, .tv, .ug, .ua, .ae, .gb, .us, .um, .uy, .uz, .vu, .ve, .vn, .vg, .vi, .wf, .eh, .ye, .zm, .zw]
var country: String {
switch self {
case .af: return "Afghanistan"
case .ax: return "Åland Islands"
case .al: return "Albania"
case .dz: return "Algeria"
case .as: return "American Samoa"
case .ad: return "Andorra"
case .ao: return "Angola"
case .ai: return "Anguilla"
case .aq: return "Antarctica"
case .ag: return "Antigua and Barbuda"
case .ar: return "Argentina"
case .am: return "Armenia"
case .aw: return "Aruba"
case .au: return "Australia"
case .at: return "Austria"
case .az: return "Azerbaijan"
case .bs: return "Bahamas"
case .bh: return "Bahrain"
case .bd: return "Bangladesh"
case .bb: return "Barbados"
case .by: return "Belarus"
case .be: return "Belgium"
case .bz: return "Belize"
case .bj: return "Benin"
case .bm: return "Bermuda"
case .bt: return "Bhutan"
case .bo: return "Bolivia (Plurinational State of)"
case .bq: return "Bonaire, Sint Eustatius and Saba"
case .ba: return "Bosnia and Herzegovina"
case .bw: return "Botswana"
case .bv: return "Bouvet Island"
case .br: return "Brazil"
case .io: return "British Indian Ocean Territory"
case .bn: return "Brunei Darussalam"
case .bg: return "Bulgaria"
case .bf: return "Burkina Faso"
case .bi: return "Burundi"
case .cv: return "Cabo Verde"
case .kh: return "Cambodia"
case .cm: return "Cameroon"
case .ca: return "Canada"
case .ky: return "Cayman Islands"
case .cf: return "Central African Republic"
case .td: return "Chad"
case .cl: return "Chile"
case .cn: return "China"
case .cx: return "Christmas Island"
case .cc: return "Cocos (Keeling) Islands"
case .co: return "Colombia"
case .km: return "Comoros"
case .cg: return "Congo"
case .cd: return "Congo (Democratic Republic of the)"
case .ck: return "Cook Islands"
case .cr: return "Costa Rica"
case .ci: return "Côte d'Ivoire"
case .hr: return "Croatia"
case .cu: return "Cuba"
case .cw: return "Curaçao"
case .cy: return "Cyprus"
case .cz: return "Czechia"
case .dk: return "Denmark"
case .dj: return "Djibouti"
case .dm: return "Dominica"
case .do: return "Dominican Republic"
case .ec: return "Ecuador"
case .eg: return "Egypt"
case .sv: return "El Salvador"
case .gq: return "Equatorial Guinea"
case .er: return "Eritrea"
case .ee: return "Estonia"
case .et: return "Ethiopia"
case .fk: return "Falkland Islands (Malvinas)"
case .fo: return "Faroe Islands"
case .fj: return "Fiji"
case .fi: return "Finland"
case .fr: return "France"
case .gf: return "French Guiana"
case .pf: return "French Polynesia"
case .tf: return "French Southern Territories"
case .ga: return "Gabon"
case .gm: return "Gambia"
case .ge: return "Georgia"
case .de: return "Germany"
case .gh: return "Ghana"
case .gi: return "Gibraltar"
case .gr: return "Greece"
case .gl: return "Greenland"
case .gd: return "Grenada"
case .gp: return "Guadeloupe"
case .gu: return "Guam"
case .gt: return "Guatemala"
case .gg: return "Guernsey"
case .gn: return "Guinea"
case .gw: return "Guinea-Bissau"
case .gy: return "Guyana"
case .ht: return "Haiti"
case .hm: return "Heard Island and McDonald Islands"
case .va: return "Holy See"
case .hn: return "Honduras"
case .hk: return "Hong Kong"
case .hu: return "Hungary"
case .is: return "Iceland"
case .in: return "India"
case .id: return "Indonesia"
case .ir: return "Iran (Islamic Republic of)"
case .iq: return "Iraq"
case .ie: return "Ireland"
case .im: return "Isle of Man"
case .il: return "Israel"
case .it: return "Italy"
case .jm: return "Jamaica"
case .jp: return "Japan"
case .je: return "Jersey"
case .jo: return "Jordan"
case .kz: return "Kazakhstan"
case .ke: return "Kenya"
case .ki: return "Kiribati"
case .kp: return "Korea (Democratic People's Republic of)"
case .kr: return "Korea (Republic of)"
case .kw: return "Kuwait"
case .kg: return "Kyrgyzstan"
case .la: return "Lao People's Democratic Republic"
case .lv: return "Latvia"
case .lb: return "Lebanon"
case .ls: return "Lesotho"
case .lr: return "Liberia"
case .ly: return "Libya"
case .li: return "Liechtenstein"
case .lt: return "Lithuania"
case .lu: return "Luxembourg"
case .mo: return "Macao"
case .mk: return "Macedonia (the former Yugoslav Republic of)"
case .mg: return "Madagascar"
case .mw: return "Malawi"
case .my: return "Malaysia"
case .mv: return "Maldives"
case .ml: return "Mali"
case .mt: return "Malta"
case .mh: return "Marshall Islands"
case .mq: return "Martinique"
case .mr: return "Mauritania"
case .mu: return "Mauritius"
case .yt: return "Mayotte"
case .mx: return "Mexico"
case .fm: return "Micronesia (Federated States of)"
case .md: return "Moldova (Republic of)"
case .mc: return "Monaco"
case .mn: return "Mongolia"
case .me: return "Montenegro"
case .ms: return "Montserrat"
case .ma: return "Morocco"
case .mz: return "Mozambique"
case .mm: return "Myanmar"
case .na: return "Namibia"
case .nr: return "Nauru"
case .np: return "Nepal"
case .nl: return "Netherlands"
case .nc: return "New Caledonia"
case .nz: return "New Zealand"
case .ni: return "Nicaragua"
case .ne: return "Niger"
case .ng: return "Nigeria"
case .nu: return "Niue"
case .nf: return "Norfolk Island"
case .mp: return "Northern Mariana Islands"
case .no: return "Norway"
case .om: return "Oman"
case .pk: return "Pakistan"
case .pw: return "Palau"
case .ps: return "Palestine, State of"
case .pa: return "Panama"
case .pg: return "Papua New Guinea"
case .py: return "Paraguay"
case .pe: return "Peru"
case .ph: return "Philippines"
case .pn: return "Pitcairn"
case .pl: return "Poland"
case .pt: return "Portugal"
case .pr: return "Puerto Rico"
case .qa: return "Qatar"
case .re: return "Réunion"
case .ro: return "Romania"
case .ru: return "Russian Federation"
case .rw: return "Rwanda"
case .bl: return "Saint Barthélemy"
case .sh: return "Saint Helena, Ascension and Tristan da Cunha"
case .kn: return "Saint Kitts and Nevis"
case .lc: return "Saint Lucia"
case .mf: return "Saint Martin (French part)"
case .pm: return "Saint Pierre and Miquelon"
case .vc: return "Saint Vincent and the Grenadines"
case .ws: return "Samoa"
case .sm: return "San Marino"
case .st: return "Sao Tome and Principe"
case .sa: return "Saudi Arabia"
case .sn: return "Senegal"
case .rs: return "Serbia"
case .sc: return "Seychelles"
case .sl: return "Sierra Leone"
case .sg: return "Singapore"
case .sx: return "Sint Maarten (Dutch part)"
case .sk: return "Slovakia"
case .si: return "Slovenia"
case .sb: return "Solomon Islands"
case .so: return "Somalia"
case .za: return "South Africa"
case .gs: return "South Georgia and the South Sandwich Islands"
case .ss: return "South Sudan"
case .es: return "Spain"
case .lk: return "Sri Lanka"
case .sd: return "Sudan"
case .sr: return "Suriname"
case .sj: return "Svalbard and Jan Mayen"
case .sz: return "Swaziland"
case .se: return "Sweden"
case .ch: return "Switzerland"
case .sy: return "Syrian Arab Republic"
case .tw: return "Taiwan"
case .tj: return "Tajikistan"
case .tz: return "Tanzania, United Republic of"
case .th: return "Thailand"
case .tl: return "Timor-Leste"
case .tg: return "Togo"
case .tk: return "Tokelau"
case .to: return "Tonga"
case .tt: return "Trinidad and Tobago"
case .tn: return "Tunisia"
case .tr: return "Turkey"
case .tm: return "Turkmenistan"
case .tc: return "Turks and Caicos Islands"
case .tv: return "Tuvalu"
case .ug: return "Uganda"
case .ua: return "Ukraine"
case .ae: return "United Arab Emirates"
case .gb: return "United Kingdom of Great Britain and Northern Ireland"
case .us: return "United States of America"
case .um: return "United States Minor Outlying Islands"
case .uy: return "Uruguay"
case .uz: return "Uzbekistan"
case .vu: return "Vanuatu"
case .ve: return "Venezuela (Bolivarian Republic of)"
case .vn: return "Viet Nam"
case .vg: return "Virgin Islands (British)"
case .vi: return "Virgin Islands (U.S.)"
case .wf: return "Wallis and Futuna"
case .eh: return "Western Sahara"
case .ye: return "Yemen"
case .zm: return "Zambia"
case .zw: return "Zimbabwe"
}
}
// Household kWh price in local currency (including fees)
var electricityPrices: Double {
switch self {
case .af: return 3.750
//case .ax: return "Åland Islands"
case .al: return 11.400
case .dz: return 5.344
//case .as: return "American Samoa"
case .ad: return 0.133
case .ao: return 6.41
//case .ai: return "Anguilla"
//case .aq: return "Antarctica"
//case .ag: return "Antigua and Barbuda"
case .ar: return 5.851
case .am: return 39.980
case .aw: return 0.368
case .au: return 0.364
case .at: return 0.203
case .az: return 0.070
//case .bs: return "Bahamas"
case .bh: return 0.018
case .bd: return 5.335
case .bb: return 0.608
case .by: return 0.175
case .be: return 0.273
case .bz: return 0.458
//case .bj: return "Benin"
case .bm: return 0.406
//case .bt: return "Bhutan"
//case .bo: return "Bolivia (Plurinational State of)"
//case .bq: return "Bonaire, Sint Eustatius and Saba"
case .ba: return 0.175
case .bw: return 0.991
//case .bv: return "Bouvet Island"
case .br: return 0.752
//case .io: return "British Indian Ocean Territory"
//case .bn: return "Brunei Darussalam"
case .bg: return 0.220
//case .bf: return "Burkina Faso"
//case .bi: return "Burundi"
//case .cv: return "Cabo Verde"
case .kh: return 610.000
case .cm: return 50.000
case .ca: return 0.142
//case .ky: return "Cayman Islands"
//case .cf: return "Central African Republic"
//case .td: return "Chad"
case .cl: return 135.472
case .cn: return 0.546
//case .cx: return "Christmas Island"
//case .cc: return "Cocos (Keeling) Islands"
case .co: return 496.946
//case .km: return "Comoros"
//case .cg: return "Congo"
case .cd: return 121.696
//case .ck: return "Cook Islands"
case .cr: return 93.677
case .ci: return 72.604
case .hr: return 1.041
//case .cu: return "Cuba"
//case .cw: return "Curaçao"
case .cy: return 18.93
case .cz: return 5.131
case .dk: return 2.139
//case .dj: return "Djibouti"
//case .dm: return "Dominica"
case .do: return 5.126
case .ec: return 0.096
case .eg: return 0.428
case .sv: return 0.236
case .gq: return 60.000
//case .er: return "Eritrea"
case .ee: return 0.151
//case .et: return "Ethiopia"
//case .fk: return "Falkland Islands (Malvinas)"
case .fo: return 1.31
//case .fj: return "Fiji"
case .fi: return 0.173
case .fr: return 0.176
//case .gf: return "French Guiana"
//case .pf: return "French Polynesia"
//case .tf: return "French Southern Territories"
case .ga: return 122.960
//case .gm: return "Gambia"
case .ge: return 0.184
case .de: return 0.310
case .gh: return 0.319
//case .gi: return "Gibraltar"
case .gr: return 0.174
//case .gl: return "Greenland"
//case .gd: return "Grenada"
//case .gp: return "Guadeloupe"
//case .gu: return "Guam"
case .gt: return 1.953
//case .gg: return "Guernsey"
//case .gn: return "Guinea"
//case .gw: return "Guinea-Bissau"
//case .gy: return "Guyana"
//case .ht: return "Haiti"
//case .hm: return "Heard Island and McDonald Islands"
//case .va: return "Holy See"
case .hn: return 3.924
case .hk: return 1.129
case .hu: return 37.471
case .is: return 19.373
case .in: return 5.966
case .id: return 1467.280
case .ir: return 1144.000
case .iq: return 35.000
case .ie: return 0.246
//case .im: return "Isle of Man"
case .il: return 0.584
case .it: return 0.234
case .jm: return 40.775
case .jp: return 29.917
//case .je: return "Jersey"
case .jo: return 0.079
case .kz: return 17.189
case .ke: return 22.590
//case .ki: return "Kiribati"
//case .kp: return "Korea (Democratic People's Republic of)"
case .kr: return 126.089
//case .kw: return "Kuwait"
//case .kg: return "Kyrgyzstan"
case .la: return 581.900
case .lv: return 0.165
case .lb: return 116.725
//case .ls: return "Lesotho"
//case .lr: return "Liberia"
//case .ly: return "Libya"
case .li: return 0.243
case .lt: return 0.136
case .lu: return 0.192
case .mo: return 1.224
case .mk: return 4.440
//case .mg: return "Madagascar"
//case .mw: return "Malawi"
case .my: return 0.244
//case .mv: return "Maldives"
//case .ml: return "Mali"
case .mt: return 0.134
//case .mh: return "Marshall Islands"
//case .mq: return "Martinique"
//case .mr: return "Mauritania"
//case .mu: return "Mauritius"
//case .yt: return "Mayotte"
case .mx: return 1.620
//case .fm: return "Micronesia (Federated States of)"
//case .md: return "Moldova (Republic of)"
//case .mc: return "Monaco"
//case .mn: return "Mongolia"
//case .me: return "Montenegro"
//case .ms: return "Montserrat"
case .ma: return 1.172
case .mz: return 8.975
case .mm: return 35.000
case .na: return 1.951
//case .nr: return "Nauru"
case .np: return 8.786
case .nl: return 0.221
//case .nc: return "New Caledonia"
case .nz: return 0.340
//case .ni: return "Nicaragua"
//case .ne: return "Niger"
case .ng: return 25.731
//case .nu: return "Niue"
//case .nf: return "Norfolk Island"
//case .mp: return "Northern Mariana Islands"
case .no: return 1.118
//case .om: return "Oman"
case .pk: return 8.744
//case .pw: return "Palau"
//case .ps: return "Palestine, State of"
case .pa: return 0.184
//case .pg: return "Papua New Guinea"
//case .py: return "Paraguay"
case .pe: return 0.695
case .ph: return 10.092
//case .pn: return "Pitcairn"
case .pl: return 0.685
case .pt: return 0.23
//case .pr: return "Puerto Rico"
case .qa: return 0.115
//case .re: return "Réunion"
case .ro: return 0.738
case .ru: return 4.310
//case .rw: return "Rwanda"
//case .bl: return "Saint Barthélemy"
//case .sh: return "Saint Helena, Ascension and Tristan da Cunha"
//case .kn: return "Saint Kitts and Nevis"
//case .lc: return "Saint Lucia"
//case .mf: return "Saint Martin (French part)"
//case .pm: return "Saint Pierre and Miquelon"
//case .vc: return "Saint Vincent and the Grenadines"
//case .ws: return "Samoa"
//case .sm: return "San Marino"
//case .st: return "Sao Tome and Principe"
case .sa: return 0.180
case .sn: return 99.924
case .rs: return 8.969
//case .sc: return "Seychelles"
//case .sl: return "Sierra Leone"
case .sg: return 0.244
//case .sx: return "Sint Maarten (Dutch part)"
case .sk: return 0.161
case .si: return 0.165
//case .sb: return "Solomon Islands"
//case .so: return "Somalia"
case .za: return 2.030
//case .gs: return "South Georgia and the South Sandwich Islands"
//case .ss: return "South Sudan"
case .es: return 0.216
case .lk: return 14.710
//case .sd: return "Sudan"
//case .sr: return "Suriname"
//case .sj: return "Svalbard and Jan Mayen"
//case .sz: return "Swaziland"
case .se: return 1.731
case .ch: return 0.202
//case .sy: return "Syrian Arab Republic"
case .tw: return 2.820
//case .tj: return "Tajikistan"
case .tz: return 229.590
case .th: return 3.817
//case .tl: return "Timor-Leste"
//case .tg: return "Togo"
//case .tk: return "Tokelau"
//case .to: return "Tonga"
case .tt: return 0.354
case .tn: return 0.210
case .tr: return 0.538
//case .tm: return "Turkmenistan"
//case .tc: return "Turks and Caicos Islands"
//case .tv: return "Tuvalu"
case .ug: return 760.200
case .ua: return 1.290
case .ae: return 0.296
case .gb: return 0.208
case .us: return 0.148
//case .um: return "United States Minor Outlying Islands"
case .uy: return 7.892
//case .uz: return "Uzbekistan"
//case .vu: return "Vanuatu"
//case .ve: return "Venezuela (Bolivarian Republic of)"
case .vn: return 1876.600
//case .vg: return "Virgin Islands (British)"
//case .vi: return "Virgin Islands (U.S.)"
//case .wf: return "Wallis and Futuna"
//case .eh: return "Western Sahara"
//case .ye: return "Yemen"
case .zm: return 0.488
//case .zw: return "Zimbabwe"
default:
return 0.10
}
}
var flag: String {
let unicodeScalars = self.rawValue
.unicodeScalars
.map { $0.value + 0x1F1E6 - 65 }
.compactMap(UnicodeScalar.init)
var result = ""
result.unicodeScalars.append(contentsOf: unicodeScalars)
return result
}
}