@swan-io/shared-business 4.4.1 → 4.5.1

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.
@@ -1,2261 +1,1767 @@
1
- import { isNotNullish, isNullish } from "@swan-io/lake/src/utils/nullish";
2
- import { locale, t } from "../utils/i18n";
3
- export const france = {
4
- name: "France",
5
- deburr: "france",
6
- cca2: "FR",
7
- cca3: "FRA",
8
- idd: "33",
9
- uid: "FR-33",
10
- flag: "🇫🇷",
11
- };
1
+ import { Result } from "@swan-io/boxed";
2
+ import { deburr } from "@swan-io/lake/src/utils/string";
3
+ import { locale } from "../utils/i18n";
12
4
  const readonlyCountries = [
13
5
  {
14
6
  name: "Åland",
15
- deburr: "aland",
16
7
  cca2: "AX",
17
8
  cca3: "ALA",
18
9
  idd: "358",
19
- uid: "AX-358",
20
10
  flag: "🇦🇽",
21
11
  },
22
12
  {
23
13
  name: "American Samoa",
24
- deburr: "american samoa",
25
14
  cca2: "AS",
26
15
  cca3: "ASM",
27
16
  idd: "1684",
28
- uid: "AS-1684",
29
17
  flag: "🇦🇸",
30
18
  },
31
19
  {
32
20
  name: "Andorra",
33
- deburr: "andorra",
34
21
  cca2: "AD",
35
22
  cca3: "AND",
36
23
  idd: "376",
37
- uid: "AD-376",
38
24
  flag: "🇦🇩",
39
25
  },
40
26
  {
41
27
  name: "Angola",
42
- deburr: "angola",
43
28
  cca2: "AO",
44
29
  cca3: "AGO",
45
30
  idd: "244",
46
- uid: "AO-244",
47
31
  flag: "🇦🇴",
48
32
  },
49
33
  {
50
34
  name: "Anguilla",
51
- deburr: "anguilla",
52
35
  cca2: "AI",
53
36
  cca3: "AIA",
54
37
  idd: "1264",
55
- uid: "AI-1264",
56
38
  flag: "🇦🇮",
57
39
  },
58
40
  {
59
41
  name: "Antarctica",
60
- deburr: "antarctica",
61
42
  cca2: "AQ",
62
43
  cca3: "ATA",
63
44
  idd: "672",
64
- uid: "AQ-672",
65
45
  flag: "🇦🇶",
66
46
  },
67
47
  {
68
48
  name: "Antigua and Barbuda",
69
- deburr: "antigua and barbuda",
70
49
  cca2: "AG",
71
50
  cca3: "ATG",
72
51
  idd: "1268",
73
- uid: "AG-1268",
74
52
  flag: "🇦🇬",
75
53
  },
76
54
  {
77
55
  name: "Argentina",
78
- deburr: "argentina",
79
56
  cca2: "AR",
80
57
  cca3: "ARG",
81
58
  idd: "54",
82
- uid: "AR-54",
83
59
  flag: "🇦🇷",
84
60
  },
85
61
  {
86
62
  name: "Aruba",
87
- deburr: "aruba",
88
63
  cca2: "AW",
89
64
  cca3: "ABW",
90
65
  idd: "297",
91
- uid: "AW-297",
92
66
  flag: "🇦🇼",
93
67
  },
94
68
  {
95
69
  name: "Australia",
96
- deburr: "australia",
97
70
  cca2: "AU",
98
71
  cca3: "AUS",
99
72
  idd: "61",
100
- uid: "AU-61",
101
73
  flag: "🇦🇺",
102
74
  },
103
75
  {
104
76
  name: "Azərbaycan",
105
- deburr: "azərbaycan",
106
77
  cca2: "AZ",
107
78
  cca3: "AZE",
108
79
  idd: "994",
109
- uid: "AZ-994",
110
80
  flag: "🇦🇿",
111
81
  },
112
82
  {
113
83
  name: "Bahamas",
114
- deburr: "bahamas",
115
84
  cca2: "BS",
116
85
  cca3: "BHS",
117
86
  idd: "1242",
118
- uid: "BS-1242",
119
87
  flag: "🇧🇸",
120
88
  },
121
89
  {
122
90
  name: "Bangladesh",
123
- deburr: "bangladesh",
124
91
  cca2: "BD",
125
92
  cca3: "BGD",
126
93
  idd: "880",
127
- uid: "BD-880",
128
94
  flag: "🇧🇩",
129
95
  },
130
96
  {
131
97
  name: "Barbados",
132
- deburr: "barbados",
133
98
  cca2: "BB",
134
99
  cca3: "BRB",
135
100
  idd: "1246",
136
- uid: "BB-1246",
137
101
  flag: "🇧🇧",
138
102
  },
139
103
  {
140
104
  name: "België",
141
- deburr: "belgie",
142
105
  cca2: "BE",
143
106
  cca3: "BEL",
144
107
  idd: "32",
145
- uid: "BE-32",
146
108
  flag: "🇧🇪",
147
109
  },
148
110
  {
149
111
  name: "Belize",
150
- deburr: "belize",
151
112
  cca2: "BZ",
152
113
  cca3: "BLZ",
153
114
  idd: "501",
154
- uid: "BZ-501",
155
115
  flag: "🇧🇿",
156
116
  },
157
117
  {
158
118
  name: "Bénin",
159
- deburr: "benin",
160
119
  cca2: "BJ",
161
120
  cca3: "BEN",
162
121
  idd: "229",
163
- uid: "BJ-229",
164
122
  flag: "🇧🇯",
165
123
  },
166
124
  {
167
125
  name: "Bermuda",
168
- deburr: "bermuda",
169
126
  cca2: "BM",
170
127
  cca3: "BMU",
171
128
  idd: "1441",
172
- uid: "BM-1441",
173
129
  flag: "🇧🇲",
174
130
  },
175
131
  {
176
132
  name: "Bolivia",
177
- deburr: "bolivia",
178
133
  cca2: "BO",
179
134
  cca3: "BOL",
180
135
  idd: "591",
181
- uid: "BO-591",
182
136
  flag: "🇧🇴",
183
137
  },
184
138
  {
185
139
  name: "Bonaire",
186
- deburr: "bonaire",
187
140
  cca2: "BQ",
188
141
  cca3: "BES",
189
142
  idd: "5997",
190
- uid: "BQ-5997",
191
143
  flag: "🇧🇶",
192
144
  },
193
145
  {
194
146
  name: "Bosna i Hercegovina",
195
- deburr: "bosna i hercegovina",
196
147
  cca2: "BA",
197
148
  cca3: "BIH",
198
149
  idd: "387",
199
- uid: "BA-387",
200
150
  flag: "🇧🇦",
201
151
  },
202
152
  {
203
153
  name: "Botswana",
204
- deburr: "botswana",
205
154
  cca2: "BW",
206
155
  cca3: "BWA",
207
156
  idd: "267",
208
- uid: "BW-267",
209
157
  flag: "🇧🇼",
210
158
  },
211
159
  {
212
160
  name: "Bouvetøya",
213
- deburr: "bouvetoya",
214
161
  cca2: "BV",
215
162
  cca3: "BVT",
216
163
  idd: "47",
217
- uid: "BV-47",
218
164
  flag: "🇧🇻",
219
165
  },
220
166
  {
221
167
  name: "Brasil",
222
- deburr: "brasil",
223
168
  cca2: "BR",
224
169
  cca3: "BRA",
225
170
  idd: "55",
226
- uid: "BR-55",
227
171
  flag: "🇧🇷",
228
172
  },
229
173
  {
230
174
  name: "British Virgin Islands",
231
- deburr: "british virgin islands",
232
175
  cca2: "VG",
233
176
  cca3: "VGB",
234
177
  idd: "1284",
235
- uid: "VG-1284",
236
178
  flag: "🇻🇬",
237
179
  },
238
180
  {
239
181
  name: "Burkina Faso",
240
- deburr: "burkina faso",
241
182
  cca2: "BF",
242
183
  cca3: "BFA",
243
184
  idd: "226",
244
- uid: "BF-226",
245
185
  flag: "🇧🇫",
246
186
  },
247
187
  {
248
188
  name: "Burundi",
249
- deburr: "burundi",
250
189
  cca2: "BI",
251
190
  cca3: "BDI",
252
191
  idd: "257",
253
- uid: "BI-257",
254
192
  flag: "🇧🇮",
255
193
  },
256
194
  {
257
195
  name: "Cabo Verde",
258
- deburr: "cabo verde",
259
196
  cca2: "CV",
260
197
  cca3: "CPV",
261
198
  idd: "238",
262
- uid: "CV-238",
263
199
  flag: "🇨🇻",
264
200
  },
265
201
  {
266
202
  name: "Cameroon",
267
- deburr: "cameroon",
268
203
  cca2: "CM",
269
204
  cca3: "CMR",
270
205
  idd: "237",
271
- uid: "CM-237",
272
206
  flag: "🇨🇲",
273
207
  },
274
208
  {
275
209
  name: "Canada",
276
- deburr: "canada",
277
210
  cca2: "CA",
278
211
  cca3: "CAN",
279
212
  idd: "1",
280
- uid: "CA-1",
281
213
  flag: "🇨🇦",
282
214
  },
283
215
  {
284
216
  name: "Cayman Islands",
285
- deburr: "cayman islands",
286
217
  cca2: "KY",
287
218
  cca3: "CYM",
288
219
  idd: "1345",
289
- uid: "KY-1345",
290
220
  flag: "🇰🇾",
291
221
  },
292
222
  {
293
223
  name: "Česká republika",
294
- deburr: "ceska republika",
295
224
  cca2: "CZ",
296
225
  cca3: "CZE",
297
226
  idd: "420",
298
- uid: "CZ-420",
299
227
  flag: "🇨🇿",
300
228
  },
301
229
  {
302
230
  name: "Chile",
303
- deburr: "chile",
304
231
  cca2: "CL",
305
232
  cca3: "CHL",
306
233
  idd: "56",
307
- uid: "CL-56",
308
234
  flag: "🇨🇱",
309
235
  },
310
236
  {
311
237
  name: "Christmas Island",
312
- deburr: "christmas island",
313
238
  cca2: "CX",
314
239
  cca3: "CXR",
315
240
  idd: "61",
316
- uid: "CX-61",
317
241
  flag: "🇨🇽",
318
242
  },
319
243
  {
320
244
  name: "Cocos (Keeling) Islands",
321
- deburr: "cocos (keeling) islands",
322
245
  cca2: "CC",
323
246
  cca3: "CCK",
324
247
  idd: "61",
325
- uid: "CC-61",
326
248
  flag: "🇨🇨",
327
249
  },
328
250
  {
329
251
  name: "Colombia",
330
- deburr: "colombia",
331
252
  cca2: "CO",
332
253
  cca3: "COL",
333
254
  idd: "57",
334
- uid: "CO-57",
335
255
  flag: "🇨🇴",
336
256
  },
337
257
  {
338
258
  name: "Cook Islands",
339
- deburr: "cook islands",
340
259
  cca2: "CK",
341
260
  cca3: "COK",
342
261
  idd: "682",
343
- uid: "CK-682",
344
262
  flag: "🇨🇰",
345
263
  },
346
264
  {
347
265
  name: "Costa Rica",
348
- deburr: "costa rica",
349
266
  cca2: "CR",
350
267
  cca3: "CRI",
351
268
  idd: "506",
352
- uid: "CR-506",
353
269
  flag: "🇨🇷",
354
270
  },
355
271
  {
356
272
  name: "Côte d'Ivoire",
357
- deburr: "cote d'ivoire",
358
273
  cca2: "CI",
359
274
  cca3: "CIV",
360
275
  idd: "225",
361
- uid: "CI-225",
362
276
  flag: "🇨🇮",
363
277
  },
364
278
  {
365
279
  name: "Cuba",
366
- deburr: "cuba",
367
280
  cca2: "CU",
368
281
  cca3: "CUB",
369
282
  idd: "53",
370
- uid: "CU-53",
371
283
  flag: "🇨🇺",
372
284
  },
373
285
  {
374
286
  name: "Curaçao",
375
- deburr: "curacao",
376
287
  cca2: "CW",
377
288
  cca3: "CUW",
378
289
  idd: "5999",
379
- uid: "CW-5999",
380
290
  flag: "🇨🇼",
381
291
  },
382
292
  {
383
293
  name: "Danmark",
384
- deburr: "danmark",
385
294
  cca2: "DK",
386
295
  cca3: "DNK",
387
296
  idd: "45",
388
- uid: "DK-45",
389
297
  flag: "🇩🇰",
390
298
  },
391
299
  {
392
300
  name: "Deutschland",
393
- deburr: "deutschland",
394
301
  cca2: "DE",
395
302
  cca3: "DEU",
396
303
  idd: "49",
397
- uid: "DE-49",
398
304
  flag: "🇩🇪",
399
305
  },
400
306
  {
401
307
  name: "Djibouti",
402
- deburr: "djibouti",
403
308
  cca2: "DJ",
404
309
  cca3: "DJI",
405
310
  idd: "253",
406
- uid: "DJ-253",
407
311
  flag: "🇩🇯",
408
312
  },
409
313
  {
410
314
  name: "Dominica",
411
- deburr: "dominica",
412
315
  cca2: "DM",
413
316
  cca3: "DMA",
414
317
  idd: "1767",
415
- uid: "DM-1767",
416
318
  flag: "🇩🇲",
417
319
  },
418
320
  {
419
321
  name: "Ecuador",
420
- deburr: "ecuador",
421
322
  cca2: "EC",
422
323
  cca3: "ECU",
423
324
  idd: "593",
424
- uid: "EC-593",
425
325
  flag: "🇪🇨",
426
326
  },
427
327
  {
428
328
  name: "Eesti",
429
- deburr: "eesti",
430
329
  cca2: "EE",
431
330
  cca3: "EST",
432
331
  idd: "372",
433
- uid: "EE-372",
434
332
  flag: "🇪🇪",
435
333
  },
436
334
  {
437
335
  name: "Éire",
438
- deburr: "eire",
439
336
  cca2: "IE",
440
337
  cca3: "IRL",
441
338
  idd: "353",
442
- uid: "IE-353",
443
339
  flag: "🇮🇪",
444
340
  },
445
341
  {
446
342
  name: "El Salvador",
447
- deburr: "el salvador",
448
343
  cca2: "SV",
449
344
  cca3: "SLV",
450
345
  idd: "503",
451
- uid: "SV-503",
452
346
  flag: "🇸🇻",
453
347
  },
454
348
  {
455
349
  name: "España",
456
- deburr: "espana",
457
350
  cca2: "ES",
458
351
  cca3: "ESP",
459
352
  idd: "34",
460
- uid: "ES-34",
461
353
  flag: "🇪🇸",
462
354
  },
463
355
  {
464
356
  name: "Falkland Islands",
465
- deburr: "falkland islands",
466
357
  cca2: "FK",
467
358
  cca3: "FLK",
468
359
  idd: "500",
469
- uid: "FK-500",
470
360
  flag: "🇫🇰",
471
361
  },
472
362
  {
473
363
  name: "Fiji",
474
- deburr: "fiji",
475
364
  cca2: "FJ",
476
365
  cca3: "FJI",
477
366
  idd: "679",
478
- uid: "FJ-679",
479
367
  flag: "🇫🇯",
480
368
  },
481
369
  {
482
370
  name: "Føroyar",
483
- deburr: "foroyar",
484
371
  cca2: "FO",
485
372
  cca3: "FRO",
486
373
  idd: "298",
487
- uid: "FO-298",
488
374
  flag: "🇫🇴",
489
375
  },
490
- france,
376
+ {
377
+ name: "France",
378
+ cca2: "FR",
379
+ cca3: "FRA",
380
+ idd: "33",
381
+ flag: "🇫🇷",
382
+ },
491
383
  {
492
384
  name: "Gabon",
493
- deburr: "gabon",
494
385
  cca2: "GA",
495
386
  cca3: "GAB",
496
387
  idd: "241",
497
- uid: "GA-241",
498
388
  flag: "🇬🇦",
499
389
  },
500
390
  {
501
391
  name: "Gambia",
502
- deburr: "gambia",
503
392
  cca2: "GM",
504
393
  cca3: "GMB",
505
394
  idd: "220",
506
- uid: "GM-220",
507
395
  flag: "🇬🇲",
508
396
  },
509
397
  {
510
398
  name: "Ghana",
511
- deburr: "ghana",
512
399
  cca2: "GH",
513
400
  cca3: "GHA",
514
401
  idd: "233",
515
- uid: "GH-233",
516
402
  flag: "🇬🇭",
517
403
  },
518
404
  {
519
405
  name: "Gibraltar",
520
- deburr: "gibraltar",
521
406
  cca2: "GI",
522
407
  cca3: "GIB",
523
408
  idd: "350",
524
- uid: "GI-350",
525
409
  flag: "🇬🇮",
526
410
  },
527
411
  {
528
412
  name: "Grenada",
529
- deburr: "grenada",
530
413
  cca2: "GD",
531
414
  cca3: "GRD",
532
415
  idd: "1473",
533
- uid: "GD-1473",
534
416
  flag: "🇬🇩",
535
417
  },
536
418
  {
537
419
  name: "Guadeloupe",
538
- deburr: "guadeloupe",
539
420
  cca2: "GP",
540
421
  cca3: "GLP",
541
422
  idd: "590",
542
- uid: "GP-590",
543
423
  flag: "🇬🇵",
544
424
  },
545
425
  {
546
426
  name: "Guam",
547
- deburr: "guam",
548
427
  cca2: "GU",
549
428
  cca3: "GUM",
550
429
  idd: "1671",
551
- uid: "GU-1671",
552
430
  flag: "🇬🇺",
553
431
  },
554
432
  {
555
433
  name: "Guatemala",
556
- deburr: "guatemala",
557
434
  cca2: "GT",
558
435
  cca3: "GTM",
559
436
  idd: "502",
560
- uid: "GT-502",
561
437
  flag: "🇬🇹",
562
438
  },
563
439
  {
564
440
  name: "Guernsey",
565
- deburr: "guernsey",
566
441
  cca2: "GG",
567
442
  cca3: "GGY",
568
443
  idd: "44",
569
- uid: "GG-44",
570
444
  flag: "🇬🇬",
571
445
  },
572
446
  {
573
447
  name: "Guiné-Bissau",
574
- deburr: "guine-bissau",
575
448
  cca2: "GW",
576
449
  cca3: "GNB",
577
450
  idd: "245",
578
- uid: "GW-245",
579
451
  flag: "🇬🇼",
580
452
  },
581
453
  {
582
454
  name: "Guinea Ecuatorial",
583
- deburr: "guinea ecuatorial",
584
455
  cca2: "GQ",
585
456
  cca3: "GNQ",
586
457
  idd: "240",
587
- uid: "GQ-240",
588
458
  flag: "🇬🇶",
589
459
  },
590
460
  {
591
461
  name: "Guinée",
592
- deburr: "guinee",
593
462
  cca2: "GN",
594
463
  cca3: "GIN",
595
464
  idd: "224",
596
- uid: "GN-224",
597
465
  flag: "🇬🇳",
598
466
  },
599
467
  {
600
468
  name: "Guyana",
601
- deburr: "guyana",
602
469
  cca2: "GY",
603
470
  cca3: "GUY",
604
471
  idd: "592",
605
- uid: "GY-592",
606
472
  flag: "🇬🇾",
607
473
  },
608
474
  {
609
475
  name: "Guyane française",
610
- deburr: "guyane francaise",
611
476
  cca2: "GF",
612
477
  cca3: "GUF",
613
478
  idd: "594",
614
- uid: "GF-594",
615
479
  flag: "🇬🇫",
616
480
  },
617
481
  {
618
482
  name: "Haïti",
619
- deburr: "haiti",
620
483
  cca2: "HT",
621
484
  cca3: "HTI",
622
485
  idd: "509",
623
- uid: "HT-509",
624
486
  flag: "🇭🇹",
625
487
  },
626
488
  {
627
489
  name: "Heard Island and McDonald Islands",
628
- deburr: "heard island and mcdonald islands",
629
490
  cca2: "HM",
630
491
  cca3: "HMD",
631
492
  idd: "61",
632
- uid: "HM-61",
633
493
  flag: "🇭🇲",
634
494
  },
635
495
  {
636
496
  name: "Honduras",
637
- deburr: "honduras",
638
497
  cca2: "HN",
639
498
  cca3: "HND",
640
499
  idd: "504",
641
- uid: "HN-504",
642
500
  flag: "🇭🇳",
643
501
  },
644
502
  {
645
503
  name: "Hrvatska",
646
- deburr: "hrvatska",
647
504
  cca2: "HR",
648
505
  cca3: "HRV",
649
506
  idd: "385",
650
- uid: "HR-385",
651
507
  flag: "🇭🇷",
652
508
  },
653
509
  {
654
510
  name: "Indonesia",
655
- deburr: "indonesia",
656
511
  cca2: "ID",
657
512
  cca3: "IDN",
658
513
  idd: "62",
659
- uid: "ID-62",
660
514
  flag: "🇮🇩",
661
515
  },
662
516
  {
663
517
  name: "Ísland",
664
- deburr: "island",
665
518
  cca2: "IS",
666
519
  cca3: "ISL",
667
520
  idd: "354",
668
- uid: "IS-354",
669
521
  flag: "🇮🇸",
670
522
  },
671
523
  {
672
524
  name: "Isle of Man",
673
- deburr: "isle of man",
674
525
  cca2: "IM",
675
526
  cca3: "IMN",
676
527
  idd: "44",
677
- uid: "IM-44",
678
528
  flag: "🇮🇲",
679
529
  },
680
530
  {
681
531
  name: "Italia",
682
- deburr: "italia",
683
532
  cca2: "IT",
684
533
  cca3: "ITA",
685
534
  idd: "39",
686
- uid: "IT-39",
687
535
  flag: "🇮🇹",
688
536
  },
689
537
  {
690
538
  name: "Jamaica",
691
- deburr: "jamaica",
692
539
  cca2: "JM",
693
540
  cca3: "JAM",
694
541
  idd: "1876",
695
- uid: "JM-1876",
696
542
  flag: "🇯🇲",
697
543
  },
698
544
  {
699
545
  name: "Jersey",
700
- deburr: "jersey",
701
546
  cca2: "JE",
702
547
  cca3: "JEY",
703
548
  idd: "44",
704
- uid: "JE-44",
705
549
  flag: "🇯🇪",
706
550
  },
707
551
  {
708
552
  name: "Kalaallit Nunaat",
709
- deburr: "kalaallit nunaat",
710
553
  cca2: "GL",
711
554
  cca3: "GRL",
712
555
  idd: "299",
713
- uid: "GL-299",
714
556
  flag: "🇬🇱",
715
557
  },
716
558
  {
717
559
  name: "Kâmpŭchéa",
718
- deburr: "kampuchea",
719
560
  cca2: "KH",
720
561
  cca3: "KHM",
721
562
  idd: "855",
722
- uid: "KH-855",
723
563
  flag: "🇰🇭",
724
564
  },
725
565
  {
726
566
  name: "Kazakhstan",
727
- deburr: "kazakhstan",
728
567
  cca2: "KZ",
729
568
  cca3: "KAZ",
730
569
  idd: "7",
731
- uid: "KZ-7",
732
570
  flag: "🇰🇿",
733
571
  },
734
572
  {
735
573
  name: "Kenya",
736
- deburr: "kenya",
737
574
  cca2: "KE",
738
575
  cca3: "KEN",
739
576
  idd: "254",
740
- uid: "KE-254",
741
577
  flag: "🇰🇪",
742
578
  },
743
579
  {
744
580
  name: "Kiribati",
745
- deburr: "kiribati",
746
581
  cca2: "KI",
747
582
  cca3: "KIR",
748
583
  idd: "686",
749
- uid: "KI-686",
750
584
  flag: "🇰🇮",
751
585
  },
752
586
  {
753
587
  name: "Ködörösêse tî Bêafrîka",
754
- deburr: "kodorosese ti beafrika",
755
588
  cca2: "CF",
756
589
  cca3: "CAF",
757
590
  idd: "236",
758
- uid: "CF-236",
759
591
  flag: "🇨🇫",
760
592
  },
761
593
  {
762
594
  name: "Komori",
763
- deburr: "komori",
764
595
  cca2: "KM",
765
596
  cca3: "COM",
766
597
  idd: "269",
767
- uid: "KM-269",
768
598
  flag: "🇰🇲",
769
599
  },
770
600
  {
771
601
  name: "La Réunion",
772
- deburr: "la reunion",
773
602
  cca2: "RE",
774
603
  cca3: "REU",
775
604
  idd: "262",
776
- uid: "RE-262",
777
605
  flag: "🇷🇪",
778
606
  },
779
607
  {
780
608
  name: "Latvija",
781
- deburr: "latvija",
782
609
  cca2: "LV",
783
610
  cca3: "LVA",
784
611
  idd: "371",
785
- uid: "LV-371",
786
612
  flag: "🇱🇻",
787
613
  },
788
614
  {
789
615
  name: "Lesotho",
790
- deburr: "lesotho",
791
616
  cca2: "LS",
792
617
  cca3: "LSO",
793
618
  idd: "266",
794
- uid: "LS-266",
795
619
  flag: "🇱🇸",
796
620
  },
797
621
  {
798
622
  name: "Liberia",
799
- deburr: "liberia",
800
623
  cca2: "LR",
801
624
  cca3: "LBR",
802
625
  idd: "231",
803
- uid: "LR-231",
804
626
  flag: "🇱🇷",
805
627
  },
806
628
  {
807
629
  name: "Liechtenstein",
808
- deburr: "liechtenstein",
809
630
  cca2: "LI",
810
631
  cca3: "LIE",
811
632
  idd: "423",
812
- uid: "LI-423",
813
633
  flag: "🇱🇮",
814
634
  },
815
635
  {
816
636
  name: "Lietuva",
817
- deburr: "lietuva",
818
637
  cca2: "LT",
819
638
  cca3: "LTU",
820
639
  idd: "370",
821
- uid: "LT-370",
822
640
  flag: "🇱🇹",
823
641
  },
824
642
  {
825
643
  name: "Luxembourg",
826
- deburr: "luxembourg",
827
644
  cca2: "LU",
828
645
  cca3: "LUX",
829
646
  idd: "352",
830
- uid: "LU-352",
831
647
  flag: "🇱🇺",
832
648
  },
833
649
  {
834
650
  name: "Madagasikara",
835
- deburr: "madagasikara",
836
651
  cca2: "MG",
837
652
  cca3: "MDG",
838
653
  idd: "261",
839
- uid: "MG-261",
840
654
  flag: "🇲🇬",
841
655
  },
842
656
  {
843
657
  name: "Magyarország",
844
- deburr: "magyarorszag",
845
658
  cca2: "HU",
846
659
  cca3: "HUN",
847
660
  idd: "36",
848
- uid: "HU-36",
849
661
  flag: "🇭🇺",
850
662
  },
851
663
  {
852
664
  name: "M̧ajeļ",
853
- deburr: "majel",
854
665
  cca2: "MH",
855
666
  cca3: "MHL",
856
667
  idd: "692",
857
- uid: "MH-692",
858
668
  flag: "🇲🇭",
859
669
  },
860
670
  {
861
671
  name: "Malawi",
862
- deburr: "malawi",
863
672
  cca2: "MW",
864
673
  cca3: "MWI",
865
674
  idd: "265",
866
- uid: "MW-265",
867
675
  flag: "🇲🇼",
868
676
  },
869
677
  {
870
678
  name: "Malaysia",
871
- deburr: "malaysia",
872
679
  cca2: "MY",
873
680
  cca3: "MYS",
874
681
  idd: "60",
875
- uid: "MY-60",
876
682
  flag: "🇲🇾",
877
683
  },
878
684
  {
879
685
  name: "Maldives",
880
- deburr: "maldives",
881
686
  cca2: "MV",
882
687
  cca3: "MDV",
883
688
  idd: "960",
884
- uid: "MV-960",
885
689
  flag: "🇲🇻",
886
690
  },
887
691
  {
888
692
  name: "Mali",
889
- deburr: "mali",
890
693
  cca2: "ML",
891
694
  cca3: "MLI",
892
695
  idd: "223",
893
- uid: "ML-223",
894
696
  flag: "🇲🇱",
895
697
  },
896
698
  {
897
699
  name: "Malta",
898
- deburr: "malta",
899
700
  cca2: "MT",
900
701
  cca3: "MLT",
901
702
  idd: "356",
902
- uid: "MT-356",
903
703
  flag: "🇲🇹",
904
704
  },
905
705
  {
906
706
  name: "Martinique",
907
- deburr: "martinique",
908
707
  cca2: "MQ",
909
708
  cca3: "MTQ",
910
709
  idd: "596",
911
- uid: "MQ-596",
912
710
  flag: "🇲🇶",
913
711
  },
914
712
  {
915
713
  name: "Maurice",
916
- deburr: "maurice",
917
714
  cca2: "MU",
918
715
  cca3: "MUS",
919
716
  idd: "230",
920
- uid: "MU-230",
921
717
  flag: "🇲🇺",
922
718
  },
923
719
  {
924
720
  name: "Mayotte",
925
- deburr: "mayotte",
926
721
  cca2: "YT",
927
722
  cca3: "MYT",
928
723
  idd: "262",
929
- uid: "YT-262",
930
724
  flag: "🇾🇹",
931
725
  },
932
726
  {
933
727
  name: "México",
934
- deburr: "mexico",
935
728
  cca2: "MX",
936
729
  cca3: "MEX",
937
730
  idd: "52",
938
- uid: "MX-52",
939
731
  flag: "🇲🇽",
940
732
  },
941
733
  {
942
734
  name: "Micronesia",
943
- deburr: "micronesia",
944
735
  cca2: "FM",
945
736
  cca3: "FSM",
946
737
  idd: "691",
947
- uid: "FM-691",
948
738
  flag: "🇫🇲",
949
739
  },
950
740
  {
951
741
  name: "Moçambique",
952
- deburr: "mocambique",
953
742
  cca2: "MZ",
954
743
  cca3: "MOZ",
955
744
  idd: "258",
956
- uid: "MZ-258",
957
745
  flag: "🇲🇿",
958
746
  },
959
747
  {
960
748
  name: "Moldova",
961
- deburr: "moldova",
962
749
  cca2: "MD",
963
750
  cca3: "MDA",
964
751
  idd: "373",
965
- uid: "MD-373",
966
752
  flag: "🇲🇩",
967
753
  },
968
754
  {
969
755
  name: "Monaco",
970
- deburr: "monaco",
971
756
  cca2: "MC",
972
757
  cca3: "MCO",
973
758
  idd: "377",
974
- uid: "MC-377",
975
759
  flag: "🇲🇨",
976
760
  },
977
761
  {
978
762
  name: "Montserrat",
979
- deburr: "montserrat",
980
763
  cca2: "MS",
981
764
  cca3: "MSR",
982
765
  idd: "1664",
983
- uid: "MS-1664",
984
766
  flag: "🇲🇸",
985
767
  },
986
768
  {
987
769
  name: "Namibia",
988
- deburr: "namibia",
989
770
  cca2: "NA",
990
771
  cca3: "NAM",
991
772
  idd: "264",
992
- uid: "NA-264",
993
773
  flag: "🇳🇦",
994
774
  },
995
775
  {
996
776
  name: "Nederland",
997
- deburr: "nederland",
998
777
  cca2: "NL",
999
778
  cca3: "NLD",
1000
779
  idd: "31",
1001
- uid: "NL-31",
1002
780
  flag: "🇳🇱",
1003
781
  },
1004
782
  {
1005
783
  name: "Negara Brunei Darussalam",
1006
- deburr: "negara brunei darussalam",
1007
784
  cca2: "BN",
1008
785
  cca3: "BRN",
1009
786
  idd: "673",
1010
- uid: "BN-673",
1011
787
  flag: "🇧🇳",
1012
788
  },
1013
789
  {
1014
790
  name: "New Zealand",
1015
- deburr: "new zealand",
1016
791
  cca2: "NZ",
1017
792
  cca3: "NZL",
1018
793
  idd: "64",
1019
- uid: "NZ-64",
1020
794
  flag: "🇳🇿",
1021
795
  },
1022
796
  {
1023
797
  name: "Nicaragua",
1024
- deburr: "nicaragua",
1025
798
  cca2: "NI",
1026
799
  cca3: "NIC",
1027
800
  idd: "505",
1028
- uid: "NI-505",
1029
801
  flag: "🇳🇮",
1030
802
  },
1031
803
  {
1032
804
  name: "Niger",
1033
- deburr: "niger",
1034
805
  cca2: "NE",
1035
806
  cca3: "NER",
1036
807
  idd: "227",
1037
- uid: "NE-227",
1038
808
  flag: "🇳🇪",
1039
809
  },
1040
810
  {
1041
811
  name: "Nigeria",
1042
- deburr: "nigeria",
1043
812
  cca2: "NG",
1044
813
  cca3: "NGA",
1045
814
  idd: "234",
1046
- uid: "NG-234",
1047
815
  flag: "🇳🇬",
1048
816
  },
1049
817
  {
1050
818
  name: "Niuē",
1051
- deburr: "niue",
1052
819
  cca2: "NU",
1053
820
  cca3: "NIU",
1054
821
  idd: "683",
1055
- uid: "NU-683",
1056
822
  flag: "🇳🇺",
1057
823
  },
1058
824
  {
1059
825
  name: "Norfolk Island",
1060
- deburr: "norfolk island",
1061
826
  cca2: "NF",
1062
827
  cca3: "NFK",
1063
828
  idd: "672",
1064
- uid: "NF-672",
1065
829
  flag: "🇳🇫",
1066
830
  },
1067
831
  {
1068
832
  name: "Norge",
1069
- deburr: "norge",
1070
833
  cca2: "NO",
1071
834
  cca3: "NOR",
1072
835
  idd: "47",
1073
- uid: "NO-47",
1074
836
  flag: "🇳🇴",
1075
837
  },
1076
838
  {
1077
839
  name: "Northern Mariana Islands",
1078
- deburr: "northern mariana islands",
1079
840
  cca2: "MP",
1080
841
  cca3: "MNP",
1081
842
  idd: "1670",
1082
- uid: "MP-1670",
1083
843
  flag: "🇲🇵",
1084
844
  },
1085
845
  {
1086
846
  name: "Nouvelle-Calédonie",
1087
- deburr: "nouvelle-caledonie",
1088
847
  cca2: "NC",
1089
848
  cca3: "NCL",
1090
849
  idd: "687",
1091
- uid: "NC-687",
1092
850
  flag: "🇳🇨",
1093
851
  },
1094
852
  {
1095
853
  name: "Österreich",
1096
- deburr: "osterreich",
1097
854
  cca2: "AT",
1098
855
  cca3: "AUT",
1099
856
  idd: "43",
1100
- uid: "AT-43",
1101
857
  flag: "🇦🇹",
1102
858
  },
1103
859
  {
1104
860
  name: "O‘zbekiston",
1105
- deburr: "o‘zbekiston",
1106
861
  cca2: "UZ",
1107
862
  cca3: "UZB",
1108
863
  idd: "998",
1109
- uid: "UZ-998",
1110
864
  flag: "🇺🇿",
1111
865
  },
1112
866
  {
1113
867
  name: "Pakistan",
1114
- deburr: "pakistan",
1115
868
  cca2: "PK",
1116
869
  cca3: "PAK",
1117
870
  idd: "92",
1118
- uid: "PK-92",
1119
871
  flag: "🇵🇰",
1120
872
  },
1121
873
  {
1122
874
  name: "Palau",
1123
- deburr: "palau",
1124
875
  cca2: "PW",
1125
876
  cca3: "PLW",
1126
877
  idd: "680",
1127
- uid: "PW-680",
1128
878
  flag: "🇵🇼",
1129
879
  },
1130
880
  {
1131
881
  name: "Panamá",
1132
- deburr: "panama",
1133
882
  cca2: "PA",
1134
883
  cca3: "PAN",
1135
884
  idd: "507",
1136
- uid: "PA-507",
1137
885
  flag: "🇵🇦",
1138
886
  },
1139
887
  {
1140
888
  name: "Papua Niugini",
1141
- deburr: "papua niugini",
1142
889
  cca2: "PG",
1143
890
  cca3: "PNG",
1144
891
  idd: "675",
1145
- uid: "PG-675",
1146
892
  flag: "🇵🇬",
1147
893
  },
1148
894
  {
1149
895
  name: "Paraguay",
1150
- deburr: "paraguay",
1151
896
  cca2: "PY",
1152
897
  cca3: "PRY",
1153
898
  idd: "595",
1154
- uid: "PY-595",
1155
899
  flag: "🇵🇾",
1156
900
  },
1157
901
  {
1158
902
  name: "Perú",
1159
- deburr: "peru",
1160
903
  cca2: "PE",
1161
904
  cca3: "PER",
1162
905
  idd: "51",
1163
- uid: "PE-51",
1164
906
  flag: "🇵🇪",
1165
907
  },
1166
908
  {
1167
909
  name: "Pilipinas",
1168
- deburr: "pilipinas",
1169
910
  cca2: "PH",
1170
911
  cca3: "PHL",
1171
912
  idd: "63",
1172
- uid: "PH-63",
1173
913
  flag: "🇵🇭",
1174
914
  },
1175
915
  {
1176
916
  name: "Pitcairn Islands",
1177
- deburr: "pitcairn islands",
1178
917
  cca2: "PN",
1179
918
  cca3: "PCN",
1180
919
  idd: "64",
1181
- uid: "PN-64",
1182
920
  flag: "🇵🇳",
1183
921
  },
1184
922
  {
1185
923
  name: "Polska",
1186
- deburr: "polska",
1187
924
  cca2: "PL",
1188
925
  cca3: "POL",
1189
926
  idd: "48",
1190
- uid: "PL-48",
1191
927
  flag: "🇵🇱",
1192
928
  },
1193
929
  {
1194
930
  name: "Polynésie française",
1195
- deburr: "polynesie francaise",
1196
931
  cca2: "PF",
1197
932
  cca3: "PYF",
1198
933
  idd: "689",
1199
- uid: "PF-689",
1200
934
  flag: "🇵🇫",
1201
935
  },
1202
936
  {
1203
937
  name: "Portugal",
1204
- deburr: "portugal",
1205
938
  cca2: "PT",
1206
939
  cca3: "PRT",
1207
940
  idd: "351",
1208
- uid: "PT-351",
1209
941
  flag: "🇵🇹",
1210
942
  },
1211
943
  {
1212
944
  name: "Puerto Rico",
1213
- deburr: "puerto rico",
1214
945
  cca2: "PR",
1215
946
  cca3: "PRI",
1216
947
  idd: "1787",
1217
- uid: "PR-1787",
1218
948
  flag: "🇵🇷",
1219
949
  },
1220
950
  {
1221
951
  name: "República Dominicana",
1222
- deburr: "republica dominicana",
1223
952
  cca2: "DO",
1224
953
  cca3: "DOM",
1225
954
  idd: "1829",
1226
- uid: "DO-1829",
1227
955
  flag: "🇩🇴",
1228
956
  },
1229
957
  {
1230
958
  name: "República Dominicana",
1231
- deburr: "republica dominicana",
1232
959
  cca2: "DO",
1233
960
  cca3: "DOM",
1234
961
  idd: "1849",
1235
- uid: "DO-1849",
1236
962
  flag: "🇩🇴",
1237
963
  },
1238
964
  {
1239
965
  name: "República Dominicana",
1240
- deburr: "republica dominicana",
1241
966
  cca2: "DO",
1242
967
  cca3: "DOM",
1243
968
  idd: "1809",
1244
- uid: "DO-1809",
1245
969
  flag: "🇩🇴",
1246
970
  },
1247
971
  {
1248
972
  name: "Republika e Kosovës",
1249
- deburr: "republika e kosoves",
1250
973
  cca2: "XK",
1251
974
  cca3: "XKX",
1252
975
  idd: "383",
1253
- uid: "XK-383",
1254
976
  flag: "🇽🇰",
1255
977
  },
1256
978
  {
1257
979
  name: "République démocratique du Congo",
1258
- deburr: "republique democratique du congo",
1259
980
  cca2: "CD",
1260
981
  cca3: "COD",
1261
982
  idd: "243",
1262
- uid: "CD-243",
1263
983
  flag: "🇨🇩",
1264
984
  },
1265
985
  {
1266
986
  name: "République du Congo",
1267
- deburr: "republique du congo",
1268
987
  cca2: "CG",
1269
988
  cca3: "COG",
1270
989
  idd: "242",
1271
- uid: "CG-242",
1272
990
  flag: "🇨🇬",
1273
991
  },
1274
992
  {
1275
993
  name: "România",
1276
- deburr: "romania",
1277
994
  cca2: "RO",
1278
995
  cca3: "ROU",
1279
996
  idd: "40",
1280
- uid: "RO-40",
1281
997
  flag: "🇷🇴",
1282
998
  },
1283
999
  {
1284
1000
  name: "Rwanda",
1285
- deburr: "rwanda",
1286
1001
  cca2: "RW",
1287
1002
  cca3: "RWA",
1288
1003
  idd: "250",
1289
- uid: "RW-250",
1290
1004
  flag: "🇷🇼",
1291
1005
  },
1292
1006
  {
1293
1007
  name: "Saint Kitts and Nevis",
1294
- deburr: "saint kitts and nevis",
1295
1008
  cca2: "KN",
1296
1009
  cca3: "KNA",
1297
1010
  idd: "1869",
1298
- uid: "KN-1869",
1299
1011
  flag: "🇰🇳",
1300
1012
  },
1301
1013
  {
1302
1014
  name: "Saint Lucia",
1303
- deburr: "saint lucia",
1304
1015
  cca2: "LC",
1305
1016
  cca3: "LCA",
1306
1017
  idd: "1758",
1307
- uid: "LC-1758",
1308
1018
  flag: "🇱🇨",
1309
1019
  },
1310
1020
  {
1311
1021
  name: "Saint Vincent and the Grenadines",
1312
- deburr: "saint vincent and the grenadines",
1313
1022
  cca2: "VC",
1314
1023
  cca3: "VCT",
1315
1024
  idd: "1784",
1316
- uid: "VC-1784",
1317
1025
  flag: "🇻🇨",
1318
1026
  },
1319
1027
  {
1320
1028
  name: "Saint-Barthélemy",
1321
- deburr: "saint-barthelemy",
1322
1029
  cca2: "BL",
1323
1030
  cca3: "BLM",
1324
1031
  idd: "590",
1325
- uid: "BL-590",
1326
1032
  flag: "🇧🇱",
1327
1033
  },
1328
1034
  {
1329
1035
  name: "Saint-Martin",
1330
- deburr: "saint-martin",
1331
1036
  cca2: "MF",
1332
1037
  cca3: "MAF",
1333
1038
  idd: "590",
1334
- uid: "MF-590",
1335
1039
  flag: "🇲🇫",
1336
1040
  },
1337
1041
  {
1338
1042
  name: "Saint-Pierre-et-Miquelon",
1339
- deburr: "saint-pierre-et-miquelon",
1340
1043
  cca2: "PM",
1341
1044
  cca3: "SPM",
1342
1045
  idd: "508",
1343
- uid: "PM-508",
1344
1046
  flag: "🇵🇲",
1345
1047
  },
1346
1048
  {
1347
1049
  name: "Samoa",
1348
- deburr: "samoa",
1349
1050
  cca2: "WS",
1350
1051
  cca3: "WSM",
1351
1052
  idd: "685",
1352
- uid: "WS-685",
1353
1053
  flag: "🇼🇸",
1354
1054
  },
1355
1055
  {
1356
1056
  name: "San Marino",
1357
- deburr: "san marino",
1358
1057
  cca2: "SM",
1359
1058
  cca3: "SMR",
1360
1059
  idd: "378",
1361
- uid: "SM-378",
1362
1060
  flag: "🇸🇲",
1363
1061
  },
1364
1062
  {
1365
1063
  name: "São Tomé e Príncipe",
1366
- deburr: "sao tome e principe",
1367
1064
  cca2: "ST",
1368
1065
  cca3: "STP",
1369
1066
  idd: "239",
1370
- uid: "ST-239",
1371
1067
  flag: "🇸🇹",
1372
1068
  },
1373
1069
  {
1374
1070
  name: "Schweiz",
1375
- deburr: "schweiz",
1376
1071
  cca2: "CH",
1377
1072
  cca3: "CHE",
1378
1073
  idd: "41",
1379
- uid: "CH-41",
1380
1074
  flag: "🇨🇭",
1381
1075
  },
1382
1076
  {
1383
1077
  name: "Sénégal",
1384
- deburr: "senegal",
1385
1078
  cca2: "SN",
1386
1079
  cca3: "SEN",
1387
1080
  idd: "221",
1388
- uid: "SN-221",
1389
1081
  flag: "🇸🇳",
1390
1082
  },
1391
1083
  {
1392
1084
  name: "Seychelles",
1393
- deburr: "seychelles",
1394
1085
  cca2: "SC",
1395
1086
  cca3: "SYC",
1396
1087
  idd: "248",
1397
- uid: "SC-248",
1398
1088
  flag: "🇸🇨",
1399
1089
  },
1400
1090
  {
1401
1091
  name: "Shqipëria",
1402
- deburr: "shqiperia",
1403
1092
  cca2: "AL",
1404
1093
  cca3: "ALB",
1405
1094
  idd: "355",
1406
- uid: "AL-355",
1407
1095
  flag: "🇦🇱",
1408
1096
  },
1409
1097
  {
1410
1098
  name: "Sierra Leone",
1411
- deburr: "sierra leone",
1412
1099
  cca2: "SL",
1413
1100
  cca3: "SLE",
1414
1101
  idd: "232",
1415
- uid: "SL-232",
1416
1102
  flag: "🇸🇱",
1417
1103
  },
1418
1104
  {
1419
1105
  name: "Singapore",
1420
- deburr: "singapore",
1421
1106
  cca2: "SG",
1422
1107
  cca3: "SGP",
1423
1108
  idd: "65",
1424
- uid: "SG-65",
1425
1109
  flag: "🇸🇬",
1426
1110
  },
1427
1111
  {
1428
1112
  name: "Slovenija",
1429
- deburr: "slovenija",
1430
1113
  cca2: "SI",
1431
1114
  cca3: "SVN",
1432
1115
  idd: "386",
1433
- uid: "SI-386",
1434
1116
  flag: "🇸🇮",
1435
1117
  },
1436
1118
  {
1437
1119
  name: "Slovensko",
1438
- deburr: "slovensko",
1439
1120
  cca2: "SK",
1440
1121
  cca3: "SVK",
1441
1122
  idd: "421",
1442
- uid: "SK-421",
1443
1123
  flag: "🇸🇰",
1444
1124
  },
1445
1125
  {
1446
1126
  name: "Solomon Islands",
1447
- deburr: "solomon islands",
1448
1127
  cca2: "SB",
1449
1128
  cca3: "SLB",
1450
1129
  idd: "677",
1451
- uid: "SB-677",
1452
1130
  flag: "🇸🇧",
1453
1131
  },
1454
1132
  {
1455
1133
  name: "Soomaaliya",
1456
- deburr: "soomaaliya",
1457
1134
  cca2: "SO",
1458
1135
  cca3: "SOM",
1459
1136
  idd: "252",
1460
- uid: "SO-252",
1461
1137
  flag: "🇸🇴",
1462
1138
  },
1463
1139
  {
1464
1140
  name: "South Africa",
1465
- deburr: "south africa",
1466
1141
  cca2: "ZA",
1467
1142
  cca3: "ZAF",
1468
1143
  idd: "27",
1469
- uid: "ZA-27",
1470
1144
  flag: "🇿🇦",
1471
1145
  },
1472
1146
  {
1473
1147
  name: "South Georgia",
1474
- deburr: "south georgia",
1475
1148
  cca2: "GS",
1476
1149
  cca3: "SGS",
1477
1150
  idd: "500",
1478
- uid: "GS-500",
1479
1151
  flag: "🇬🇸",
1480
1152
  },
1481
1153
  {
1482
1154
  name: "South Sudan",
1483
- deburr: "south sudan",
1484
1155
  cca2: "SS",
1485
1156
  cca3: "SSD",
1486
1157
  idd: "211",
1487
- uid: "SS-211",
1488
1158
  flag: "🇸🇸",
1489
1159
  },
1490
1160
  {
1491
1161
  name: "śrī laṃkāva",
1492
- deburr: "sri laṃkava",
1493
1162
  cca2: "LK",
1494
1163
  cca3: "LKA",
1495
1164
  idd: "94",
1496
- uid: "LK-94",
1497
1165
  flag: "🇱🇰",
1498
1166
  },
1499
1167
  {
1500
1168
  name: "Suomi",
1501
- deburr: "suomi",
1502
1169
  cca2: "FI",
1503
1170
  cca3: "FIN",
1504
1171
  idd: "358",
1505
- uid: "FI-358",
1506
1172
  flag: "🇫🇮",
1507
1173
  },
1508
1174
  {
1509
1175
  name: "Suriname",
1510
- deburr: "suriname",
1511
1176
  cca2: "SR",
1512
1177
  cca3: "SUR",
1513
1178
  idd: "597",
1514
- uid: "SR-597",
1515
1179
  flag: "🇸🇷",
1516
1180
  },
1517
1181
  {
1518
1182
  name: "Sverige",
1519
- deburr: "sverige",
1520
1183
  cca2: "SE",
1521
1184
  cca3: "SWE",
1522
1185
  idd: "46",
1523
- uid: "SE-46",
1524
1186
  flag: "🇸🇪",
1525
1187
  },
1526
1188
  {
1527
1189
  name: "Swaziland",
1528
- deburr: "swaziland",
1529
1190
  cca2: "SZ",
1530
1191
  cca3: "SWZ",
1531
1192
  idd: "268",
1532
- uid: "SZ-268",
1533
1193
  flag: "🇸🇿",
1534
1194
  },
1535
1195
  {
1536
1196
  name: "Tanzania",
1537
- deburr: "tanzania",
1538
1197
  cca2: "TZ",
1539
1198
  cca3: "TZA",
1540
1199
  idd: "255",
1541
- uid: "TZ-255",
1542
1200
  flag: "🇹🇿",
1543
1201
  },
1544
1202
  {
1545
1203
  name: "Tchad",
1546
- deburr: "tchad",
1547
1204
  cca2: "TD",
1548
1205
  cca3: "TCD",
1549
1206
  idd: "235",
1550
- uid: "TD-235",
1551
1207
  flag: "🇹🇩",
1552
1208
  },
1553
1209
  {
1554
1210
  name: "Terres antarctiques françaises",
1555
- deburr: "terres antarctiques francaises",
1556
1211
  cca2: "TF",
1557
1212
  cca3: "ATF",
1558
1213
  idd: "262",
1559
- uid: "TF-262",
1560
1214
  flag: "🇹🇫",
1561
1215
  },
1562
1216
  {
1563
1217
  name: "Timor-Leste",
1564
- deburr: "timor-leste",
1565
1218
  cca2: "TL",
1566
1219
  cca3: "TLS",
1567
1220
  idd: "670",
1568
- uid: "TL-670",
1569
1221
  flag: "🇹🇱",
1570
1222
  },
1571
1223
  {
1572
1224
  name: "Togo",
1573
- deburr: "togo",
1574
1225
  cca2: "TG",
1575
1226
  cca3: "TGO",
1576
1227
  idd: "228",
1577
- uid: "TG-228",
1578
1228
  flag: "🇹🇬",
1579
1229
  },
1580
1230
  {
1581
1231
  name: "Tonga",
1582
- deburr: "tonga",
1583
1232
  cca2: "TO",
1584
1233
  cca3: "TON",
1585
1234
  idd: "676",
1586
- uid: "TO-676",
1587
1235
  flag: "🇹🇴",
1588
1236
  },
1589
1237
  {
1590
1238
  name: "Trinidad and Tobago",
1591
- deburr: "trinidad and tobago",
1592
1239
  cca2: "TT",
1593
1240
  cca3: "TTO",
1594
1241
  idd: "1868",
1595
- uid: "TT-1868",
1596
1242
  flag: "🇹🇹",
1597
1243
  },
1598
1244
  {
1599
1245
  name: "Türkiye",
1600
- deburr: "turkiye",
1601
1246
  cca2: "TR",
1602
1247
  cca3: "TUR",
1603
1248
  idd: "90",
1604
- uid: "TR-90",
1605
1249
  flag: "🇹🇷",
1606
1250
  },
1607
1251
  {
1608
1252
  name: "Türkmenistan",
1609
- deburr: "turkmenistan",
1610
1253
  cca2: "TM",
1611
1254
  cca3: "TKM",
1612
1255
  idd: "993",
1613
- uid: "TM-993",
1614
1256
  flag: "🇹🇲",
1615
1257
  },
1616
1258
  {
1617
1259
  name: "Turks and Caicos Islands",
1618
- deburr: "turks and caicos islands",
1619
1260
  cca2: "TC",
1620
1261
  cca3: "TCA",
1621
1262
  idd: "1649",
1622
- uid: "TC-1649",
1623
1263
  flag: "🇹🇨",
1624
1264
  },
1625
1265
  {
1626
1266
  name: "Tuvalu",
1627
- deburr: "tuvalu",
1628
1267
  cca2: "TV",
1629
1268
  cca3: "TUV",
1630
1269
  idd: "688",
1631
- uid: "TV-688",
1632
1270
  flag: "🇹🇻",
1633
1271
  },
1634
1272
  {
1635
1273
  name: "Uganda",
1636
- deburr: "uganda",
1637
1274
  cca2: "UG",
1638
1275
  cca3: "UGA",
1639
1276
  idd: "256",
1640
- uid: "UG-256",
1641
1277
  flag: "🇺🇬",
1642
1278
  },
1643
1279
  {
1644
1280
  name: "United Kingdom",
1645
- deburr: "united kingdom",
1646
1281
  cca2: "GB",
1647
1282
  cca3: "GBR",
1648
1283
  idd: "44",
1649
- uid: "GB-44",
1650
1284
  flag: "🇬🇧",
1651
1285
  },
1652
1286
  {
1653
1287
  name: "United States",
1654
- deburr: "united states",
1655
1288
  cca2: "US",
1656
1289
  cca3: "USA",
1657
1290
  idd: "1",
1658
- uid: "US-1",
1659
1291
  flag: "🇺🇸",
1660
1292
  },
1661
1293
  {
1662
1294
  name: "United States Minor Outlying Islands",
1663
- deburr: "united states minor outlying islands",
1664
1295
  cca2: "UM",
1665
1296
  cca3: "UMI",
1666
1297
  idd: "1",
1667
- uid: "UM-1",
1668
1298
  flag: "🇺🇲",
1669
1299
  },
1670
1300
  {
1671
1301
  name: "United States Virgin Islands",
1672
- deburr: "united states virgin islands",
1673
1302
  cca2: "VI",
1674
1303
  cca3: "VIR",
1675
1304
  idd: "1340",
1676
- uid: "VI-1340",
1677
1305
  flag: "🇻🇮",
1678
1306
  },
1679
1307
  {
1680
1308
  name: "Uruguay",
1681
- deburr: "uruguay",
1682
1309
  cca2: "UY",
1683
1310
  cca3: "URY",
1684
1311
  idd: "598",
1685
- uid: "UY-598",
1686
1312
  flag: "🇺🇾",
1687
1313
  },
1688
1314
  {
1689
1315
  name: "Vanuatu",
1690
- deburr: "vanuatu",
1691
1316
  cca2: "VU",
1692
1317
  cca3: "VUT",
1693
1318
  idd: "678",
1694
- uid: "VU-678",
1695
1319
  flag: "🇻🇺",
1696
1320
  },
1697
1321
  {
1698
1322
  name: "Vaticano",
1699
- deburr: "vaticano",
1700
1323
  cca2: "VA",
1701
1324
  cca3: "VAT",
1702
1325
  idd: "379",
1703
- uid: "VA-379",
1704
1326
  flag: "🇻🇦",
1705
1327
  },
1706
1328
  {
1707
1329
  name: "Venezuela",
1708
- deburr: "venezuela",
1709
1330
  cca2: "VE",
1710
1331
  cca3: "VEN",
1711
1332
  idd: "58",
1712
- uid: "VE-58",
1713
1333
  flag: "🇻🇪",
1714
1334
  },
1715
1335
  {
1716
1336
  name: "Việt Nam",
1717
- deburr: "viet nam",
1718
1337
  cca2: "VN",
1719
1338
  cca3: "VNM",
1720
1339
  idd: "84",
1721
- uid: "VN-84",
1722
1340
  flag: "🇻🇳",
1723
1341
  },
1724
1342
  {
1725
1343
  name: "Wallis et Futuna",
1726
- deburr: "wallis et futuna",
1727
1344
  cca2: "WF",
1728
1345
  cca3: "WLF",
1729
1346
  idd: "681",
1730
- uid: "WF-681",
1731
1347
  flag: "🇼🇫",
1732
1348
  },
1733
1349
  {
1734
1350
  name: "Zambia",
1735
- deburr: "zambia",
1736
1351
  cca2: "ZM",
1737
1352
  cca3: "ZMB",
1738
1353
  idd: "260",
1739
- uid: "ZM-260",
1740
1354
  flag: "🇿🇲",
1741
1355
  },
1742
1356
  {
1743
1357
  name: "Zimbabwe",
1744
- deburr: "zimbabwe",
1745
1358
  cca2: "ZW",
1746
1359
  cca3: "ZWE",
1747
1360
  idd: "263",
1748
- uid: "ZW-263",
1749
1361
  flag: "🇿🇼",
1750
1362
  },
1751
1363
  {
1752
1364
  name: "ʼbrug-yul",
1753
- deburr: "ʼbrug-yul",
1754
1365
  cca2: "BT",
1755
1366
  cca3: "BTN",
1756
1367
  idd: "975",
1757
- uid: "BT-975",
1758
1368
  flag: "🇧🇹",
1759
1369
  },
1760
1370
  {
1761
1371
  name: "Ελλάδα",
1762
- deburr: "ελλάδα",
1763
1372
  cca2: "GR",
1764
1373
  cca3: "GRC",
1765
1374
  idd: "30",
1766
- uid: "GR-30",
1767
1375
  flag: "🇬🇷",
1768
1376
  },
1769
1377
  {
1770
1378
  name: "Κύπρος",
1771
- deburr: "κύπρος",
1772
1379
  cca2: "CY",
1773
1380
  cca3: "CYP",
1774
1381
  idd: "357",
1775
- uid: "CY-357",
1776
1382
  flag: "🇨🇾",
1777
1383
  },
1778
1384
  {
1779
1385
  name: "Белару́сь",
1780
- deburr: "беларусь",
1781
1386
  cca2: "BY",
1782
1387
  cca3: "BLR",
1783
1388
  idd: "375",
1784
- uid: "BY-375",
1785
1389
  flag: "🇧🇾",
1786
1390
  },
1787
1391
  {
1788
1392
  name: "България",
1789
- deburr: "българия",
1790
1393
  cca2: "BG",
1791
1394
  cca3: "BGR",
1792
1395
  idd: "359",
1793
- uid: "BG-359",
1794
1396
  flag: "🇧🇬",
1795
1397
  },
1796
1398
  {
1797
1399
  name: "Кыргызстан",
1798
- deburr: "кыргызстан",
1799
1400
  cca2: "KG",
1800
1401
  cca3: "KGZ",
1801
1402
  idd: "996",
1802
- uid: "KG-996",
1803
1403
  flag: "🇰🇬",
1804
1404
  },
1805
1405
  {
1806
1406
  name: "Македонија",
1807
- deburr: "македонија",
1808
1407
  cca2: "MK",
1809
1408
  cca3: "MKD",
1810
1409
  idd: "389",
1811
- uid: "MK-389",
1812
1410
  flag: "🇲🇰",
1813
1411
  },
1814
1412
  {
1815
1413
  name: "Монгол улс",
1816
- deburr: "монгол улс",
1817
1414
  cca2: "MN",
1818
1415
  cca3: "MNG",
1819
1416
  idd: "976",
1820
- uid: "MN-976",
1821
1417
  flag: "🇲🇳",
1822
1418
  },
1823
1419
  {
1824
1420
  name: "Россия",
1825
- deburr: "россия",
1826
1421
  cca2: "RU",
1827
1422
  cca3: "RUS",
1828
1423
  idd: "7",
1829
- uid: "RU-7",
1830
1424
  flag: "🇷🇺",
1831
1425
  },
1832
1426
  {
1833
1427
  name: "Србија",
1834
- deburr: "србија",
1835
1428
  cca2: "RS",
1836
1429
  cca3: "SRB",
1837
1430
  idd: "381",
1838
- uid: "RS-381",
1839
1431
  flag: "🇷🇸",
1840
1432
  },
1841
1433
  {
1842
1434
  name: "Тоҷикистон",
1843
- deburr: "тоҷикистон",
1844
1435
  cca2: "TJ",
1845
1436
  cca3: "TJK",
1846
1437
  idd: "992",
1847
- uid: "TJ-992",
1848
1438
  flag: "🇹🇯",
1849
1439
  },
1850
1440
  {
1851
1441
  name: "Україна",
1852
- deburr: "україна",
1853
1442
  cca2: "UA",
1854
1443
  cca3: "UKR",
1855
1444
  idd: "380",
1856
- uid: "UA-380",
1857
1445
  flag: "🇺🇦",
1858
1446
  },
1859
1447
  {
1860
1448
  name: "Црна Гора",
1861
- deburr: "црна гора",
1862
1449
  cca2: "ME",
1863
1450
  cca3: "MNE",
1864
1451
  idd: "382",
1865
- uid: "ME-382",
1866
1452
  flag: "🇲🇪",
1867
1453
  },
1868
1454
  {
1869
1455
  name: "Հայաստան",
1870
- deburr: "հայաստան",
1871
1456
  cca2: "AM",
1872
1457
  cca3: "ARM",
1873
1458
  idd: "374",
1874
- uid: "AM-374",
1875
1459
  flag: "🇦🇲",
1876
1460
  },
1877
1461
  {
1878
1462
  name: "יִשְׂרָאֵל",
1879
- deburr: "יִשְׂרָאֵל",
1880
1463
  cca2: "IL",
1881
1464
  cca3: "ISR",
1882
1465
  idd: "972",
1883
- uid: "IL-972",
1884
1466
  flag: "🇮🇱",
1885
1467
  },
1886
1468
  {
1887
1469
  name: "افغانستان",
1888
- deburr: "افغانستان",
1889
1470
  cca2: "AF",
1890
1471
  cca3: "AFG",
1891
1472
  idd: "93",
1892
- uid: "AF-93",
1893
1473
  flag: "🇦🇫",
1894
1474
  },
1895
1475
  {
1896
1476
  name: "الأردن",
1897
- deburr: "الأردن",
1898
1477
  cca2: "JO",
1899
1478
  cca3: "JOR",
1900
1479
  idd: "962",
1901
- uid: "JO-962",
1902
1480
  flag: "🇯🇴",
1903
1481
  },
1904
1482
  {
1905
1483
  name: "الجزائر",
1906
- deburr: "الجزائر",
1907
1484
  cca2: "DZ",
1908
1485
  cca3: "DZA",
1909
1486
  idd: "213",
1910
- uid: "DZ-213",
1911
1487
  flag: "🇩🇿",
1912
1488
  },
1913
1489
  {
1914
1490
  name: "السودان",
1915
- deburr: "السودان",
1916
1491
  cca2: "SD",
1917
1492
  cca3: "SDN",
1918
1493
  idd: "249",
1919
- uid: "SD-249",
1920
1494
  flag: "🇸🇩",
1921
1495
  },
1922
1496
  {
1923
1497
  name: "الصحراء الغربية",
1924
- deburr: "الصحراء الغربية",
1925
1498
  cca2: "EH",
1926
1499
  cca3: "ESH",
1927
1500
  idd: "212",
1928
- uid: "EH-212",
1929
1501
  flag: "🇪🇭",
1930
1502
  },
1931
1503
  {
1932
1504
  name: "العراق",
1933
- deburr: "العراق",
1934
1505
  cca2: "IQ",
1935
1506
  cca3: "IRQ",
1936
1507
  idd: "964",
1937
- uid: "IQ-964",
1938
1508
  flag: "🇮🇶",
1939
1509
  },
1940
1510
  {
1941
1511
  name: "العربية السعودية",
1942
- deburr: "العربية السعودية",
1943
1512
  cca2: "SA",
1944
1513
  cca3: "SAU",
1945
1514
  idd: "966",
1946
- uid: "SA-966",
1947
1515
  flag: "🇸🇦",
1948
1516
  },
1949
1517
  {
1950
1518
  name: "الكويت",
1951
- deburr: "الكويت",
1952
1519
  cca2: "KW",
1953
1520
  cca3: "KWT",
1954
1521
  idd: "965",
1955
- uid: "KW-965",
1956
1522
  flag: "🇰🇼",
1957
1523
  },
1958
1524
  {
1959
1525
  name: "المغرب",
1960
- deburr: "المغرب",
1961
1526
  cca2: "MA",
1962
1527
  cca3: "MAR",
1963
1528
  idd: "212",
1964
- uid: "MA-212",
1965
1529
  flag: "🇲🇦",
1966
1530
  },
1967
1531
  {
1968
1532
  name: "اليَمَن",
1969
- deburr: "اليَمَن",
1970
1533
  cca2: "YE",
1971
1534
  cca3: "YEM",
1972
1535
  idd: "967",
1973
- uid: "YE-967",
1974
1536
  flag: "🇾🇪",
1975
1537
  },
1976
1538
  {
1977
1539
  name: "ایران",
1978
- deburr: "ایران",
1979
1540
  cca2: "IR",
1980
1541
  cca3: "IRN",
1981
1542
  idd: "98",
1982
- uid: "IR-98",
1983
1543
  flag: "🇮🇷",
1984
1544
  },
1985
1545
  {
1986
1546
  name: "تونس",
1987
- deburr: "تونس",
1988
1547
  cca2: "TN",
1989
1548
  cca3: "TUN",
1990
1549
  idd: "216",
1991
- uid: "TN-216",
1992
1550
  flag: "🇹🇳",
1993
1551
  },
1994
1552
  {
1995
1553
  name: "دولة الإمارات العربية المتحدة",
1996
- deburr: "دولة الإمارات العربية المتحدة",
1997
1554
  cca2: "AE",
1998
1555
  cca3: "ARE",
1999
1556
  idd: "971",
2000
- uid: "AE-971",
2001
1557
  flag: "🇦🇪",
2002
1558
  },
2003
1559
  {
2004
1560
  name: "سوريا",
2005
- deburr: "سوريا",
2006
1561
  cca2: "SY",
2007
1562
  cca3: "SYR",
2008
1563
  idd: "963",
2009
- uid: "SY-963",
2010
1564
  flag: "🇸🇾",
2011
1565
  },
2012
1566
  {
2013
1567
  name: "عمان",
2014
- deburr: "عمان",
2015
1568
  cca2: "OM",
2016
1569
  cca3: "OMN",
2017
1570
  idd: "968",
2018
- uid: "OM-968",
2019
1571
  flag: "🇴🇲",
2020
1572
  },
2021
1573
  {
2022
1574
  name: "فلسطين",
2023
- deburr: "فلسطين",
2024
1575
  cca2: "PS",
2025
1576
  cca3: "PSE",
2026
1577
  idd: "970",
2027
- uid: "PS-970",
2028
1578
  flag: "🇵🇸",
2029
1579
  },
2030
1580
  {
2031
1581
  name: "قطر",
2032
- deburr: "قطر",
2033
1582
  cca2: "QA",
2034
1583
  cca3: "QAT",
2035
1584
  idd: "974",
2036
- uid: "QA-974",
2037
1585
  flag: "🇶🇦",
2038
1586
  },
2039
1587
  {
2040
1588
  name: "لبنان",
2041
- deburr: "لبنان",
2042
1589
  cca2: "LB",
2043
1590
  cca3: "LBN",
2044
1591
  idd: "961",
2045
- uid: "LB-961",
2046
1592
  flag: "🇱🇧",
2047
1593
  },
2048
1594
  {
2049
1595
  name: "مصر‎",
2050
- deburr: "مصر‎",
2051
1596
  cca2: "EG",
2052
1597
  cca3: "EGY",
2053
1598
  idd: "20",
2054
- uid: "EG-20",
2055
1599
  flag: "🇪🇬",
2056
1600
  },
2057
1601
  {
2058
1602
  name: "موريتانيا",
2059
- deburr: "موريتانيا",
2060
1603
  cca2: "MR",
2061
1604
  cca3: "MRT",
2062
1605
  idd: "222",
2063
- uid: "MR-222",
2064
1606
  flag: "🇲🇷",
2065
1607
  },
2066
1608
  {
2067
1609
  name: "नपल",
2068
- deburr: "नपल",
2069
1610
  cca2: "NP",
2070
1611
  cca3: "NPL",
2071
1612
  idd: "977",
2072
- uid: "NP-977",
2073
1613
  flag: "🇳🇵",
2074
1614
  },
2075
1615
  {
2076
1616
  name: "भारत",
2077
- deburr: "भारत",
2078
1617
  cca2: "IN",
2079
1618
  cca3: "IND",
2080
1619
  idd: "91",
2081
- uid: "IN-91",
2082
1620
  flag: "🇮🇳",
2083
1621
  },
2084
1622
  {
2085
1623
  name: "ประเทศไทย",
2086
- deburr: "ประเทศไทย",
2087
1624
  cca2: "TH",
2088
1625
  cca3: "THA",
2089
1626
  idd: "66",
2090
- uid: "TH-66",
2091
1627
  flag: "🇹🇭",
2092
1628
  },
2093
1629
  {
2094
1630
  name: "ສປປລາວ",
2095
- deburr: "ສປປລາວ",
2096
1631
  cca2: "LA",
2097
1632
  cca3: "LAO",
2098
1633
  idd: "856",
2099
- uid: "LA-856",
2100
1634
  flag: "🇱🇦",
2101
1635
  },
2102
1636
  {
2103
1637
  name: "မြန်မာ",
2104
- deburr: "မြန်မာ",
2105
1638
  cca2: "MM",
2106
1639
  cca3: "MMR",
2107
1640
  idd: "95",
2108
- uid: "MM-95",
2109
1641
  flag: "🇲🇲",
2110
1642
  },
2111
1643
  {
2112
1644
  name: "საქართველო",
2113
- deburr: "საქართველო",
2114
1645
  cca2: "GE",
2115
1646
  cca3: "GEO",
2116
1647
  idd: "995",
2117
- uid: "GE-995",
2118
1648
  flag: "🇬🇪",
2119
1649
  },
2120
1650
  {
2121
1651
  name: "ኢትዮጵያ",
2122
- deburr: "ኢትዮጵያ",
2123
1652
  cca2: "ET",
2124
1653
  cca3: "ETH",
2125
1654
  idd: "251",
2126
- uid: "ET-251",
2127
1655
  flag: "🇪🇹",
2128
1656
  },
2129
1657
  {
2130
1658
  name: "ኤርትራ",
2131
- deburr: "ኤርትራ",
2132
1659
  cca2: "ER",
2133
1660
  cca3: "ERI",
2134
1661
  idd: "291",
2135
- uid: "ER-291",
2136
1662
  flag: "🇪🇷",
2137
1663
  },
2138
1664
  {
2139
1665
  name: "‏البحرين",
2140
- deburr: "‏البحرين",
2141
1666
  cca2: "BH",
2142
1667
  cca3: "BHR",
2143
1668
  idd: "973",
2144
- uid: "BH-973",
2145
1669
  flag: "🇧🇭",
2146
1670
  },
2147
1671
  {
2148
1672
  name: "‏ليبيا",
2149
- deburr: "‏ليبيا",
2150
1673
  cca2: "LY",
2151
1674
  cca3: "LBY",
2152
1675
  idd: "218",
2153
- uid: "LY-218",
2154
1676
  flag: "🇱🇾",
2155
1677
  },
2156
1678
  {
2157
1679
  name: "中国",
2158
- deburr: "中国",
2159
1680
  cca2: "CN",
2160
1681
  cca3: "CHN",
2161
1682
  idd: "86",
2162
- uid: "CN-86",
2163
1683
  flag: "🇨🇳",
2164
1684
  },
2165
1685
  {
2166
1686
  name: "日本",
2167
- deburr: "日本",
2168
1687
  cca2: "JP",
2169
1688
  cca3: "JPN",
2170
1689
  idd: "81",
2171
- uid: "JP-81",
2172
1690
  flag: "🇯🇵",
2173
1691
  },
2174
1692
  {
2175
1693
  name: "澳門",
2176
- deburr: "澳門",
2177
1694
  cca2: "MO",
2178
1695
  cca3: "MAC",
2179
1696
  idd: "853",
2180
- uid: "MO-853",
2181
1697
  flag: "🇲🇴",
2182
1698
  },
2183
1699
  {
2184
1700
  name: "臺灣",
2185
- deburr: "臺灣",
2186
1701
  cca2: "TW",
2187
1702
  cca3: "TWN",
2188
1703
  idd: "886",
2189
- uid: "TW-886",
2190
1704
  flag: "🇹🇼",
2191
1705
  },
2192
1706
  {
2193
1707
  name: "香港",
2194
- deburr: "香港",
2195
1708
  cca2: "HK",
2196
1709
  cca3: "HKG",
2197
1710
  idd: "852",
2198
- uid: "HK-852",
2199
1711
  flag: "🇭🇰",
2200
1712
  },
2201
1713
  {
2202
1714
  name: "대한민국",
2203
- deburr: "대한민국",
2204
1715
  cca2: "KR",
2205
1716
  cca3: "KOR",
2206
1717
  idd: "82",
2207
- uid: "KR-82",
2208
1718
  flag: "🇰🇷",
2209
1719
  },
2210
1720
  {
2211
1721
  name: "북한",
2212
- deburr: "북한",
2213
1722
  cca2: "KP",
2214
1723
  cca3: "PRK",
2215
1724
  idd: "850",
2216
- uid: "KP-850",
2217
1725
  flag: "🇰🇵",
2218
1726
  },
2219
1727
  ];
2220
- export const countries = readonlyCountries.concat([]);
1728
+ const countryNameResolver = Result.fromExecution(() => {
1729
+ const DisplayNames = Intl.DisplayNames;
1730
+ // https://github.com/formatjs/formatjs/blob/%40formatjs/intl-localematcher%400.5.3/packages/intl-displaynames/should-polyfill.ts
1731
+ const hasMissingICUBug = new DisplayNames(["en"], {
1732
+ type: "region",
1733
+ }).of("CA") === "CA";
1734
+ if (hasMissingICUBug) {
1735
+ throw new Error("Missing Intl APIs");
1736
+ }
1737
+ const locales = [locale.language];
1738
+ const isLocaleSupported = DisplayNames.supportedLocalesOf(locales).length > 0;
1739
+ if (!isLocaleSupported) {
1740
+ throw new Error("Missing Intl APIs");
1741
+ }
1742
+ return new DisplayNames(locales, { type: "region" });
1743
+ });
1744
+ export const countries = readonlyCountries
1745
+ .map(country => {
1746
+ const name = countryNameResolver.match({
1747
+ Ok: resolver => resolver.of(country.cca2) ?? country.name,
1748
+ Error: () => country.name,
1749
+ });
1750
+ return {
1751
+ ...country,
1752
+ name,
1753
+ deburr: deburr(name.toLowerCase()),
1754
+ uid: `${country.cca2}-${country.idd}`,
1755
+ };
1756
+ })
1757
+ .sort((countryA, countryB) => {
1758
+ return countryA.name.localeCompare(countryB.name);
1759
+ });
2221
1760
  export const getCCA2forCCA3 = (cca3) => countries.find(country => country.cca3 === cca3)?.cca2;
2222
1761
  export const getCCA3forCCA2 = (cca2) => countries.find(country => country.cca2 === cca2)?.cca3;
2223
- const isTranslatedCountry = (value) => Object.keys(names).includes(value);
2224
1762
  export const companyWithUboCountries = ["BEL", "DEU", "FRA", "ITA", "LTU", "LUX", "NLD"];
2225
- const names = {
2226
- AUT: t("country.AUT"),
2227
- BEL: t("country.BEL"),
2228
- BGR: t("country.BGR"),
2229
- CYP: t("country.CYP"),
2230
- CZE: t("country.CZE"),
2231
- DEU: t("country.DEU"),
2232
- DNK: t("country.DNK"),
2233
- ESP: t("country.ESP"),
2234
- EST: t("country.EST"),
2235
- FIN: t("country.FIN"),
2236
- FRA: t("country.FRA"),
2237
- GRC: t("country.GRC"),
2238
- HRV: t("country.HRV"),
2239
- HUN: t("country.HUN"),
2240
- IRL: t("country.IRL"),
2241
- ISL: t("country.ISL"),
2242
- ITA: t("country.ITA"),
2243
- LIE: t("country.LIE"),
2244
- LTU: t("country.LTU"),
2245
- LUX: t("country.LUX"),
2246
- LVA: t("country.LVA"),
2247
- MLT: t("country.MLT"),
2248
- MCO: t("country.MCO"),
2249
- NLD: t("country.NLD"),
2250
- NOR: t("country.NOR"),
2251
- POL: t("country.POL"),
2252
- PRT: t("country.PRT"),
2253
- ROU: t("country.ROU"),
2254
- SVK: t("country.SVK"),
2255
- SVN: t("country.SVN"),
2256
- SWE: t("country.SWE"),
2257
- };
2258
1763
  export const allCountries = countries.map(country => country.cca3);
1764
+ export const france = countries.find(country => country.cca3 === "FRA");
2259
1765
  export const individualCountries = [
2260
1766
  "AUT",
2261
1767
  "BEL",
@@ -2331,40 +1837,14 @@ export const isCountryCCA2 = (value) => countries.some(({ cca2 }) => cca2 === va
2331
1837
  export const isIndividualCountryCCA3 = (value) => individualCountries.includes(value);
2332
1838
  export const isCompanyCountryCCA3 = (value) => companyCountries.includes(value);
2333
1839
  export const isCompanyWithUboCountryCCA3 = (value) => companyWithUboCountries.includes(value);
2334
- const getBestNavigatorCountryIndividual = () => {
2335
- const navigatorCountries = navigator.languages
2336
- .map(lang => lang.split("-")[1])
2337
- .filter(isNotNullish);
2338
- const cca2 = navigatorCountries.find(isCountryCCA2) ?? "FR";
2339
- const country = individualCountries.find(country => getCCA2forCCA3(country) === cca2);
2340
- return country ?? "FRA";
2341
- };
2342
- const getBestNavigatorCountryCompany = () => {
2343
- const navigatorCountries = navigator.languages.map(lang => lang.split("-")[1]);
2344
- const cca2 = navigatorCountries.find(isCountryCCA2) ?? "FR";
2345
- const country = companyCountries.find(country => getCCA2forCCA3(country) === cca2);
2346
- return country ?? "FRA";
2347
- };
2348
- export const individualFallbackCountry = getBestNavigatorCountryIndividual();
2349
- export const companyFallbackCountry = getBestNavigatorCountryCompany();
2350
- const hasIntl = "Intl" in window && "DisplayNames" in window.Intl;
2351
- const countryNameResolver = hasIntl && Intl.DisplayNames.supportedLocalesOf([locale.language]).length
2352
- ? new Intl.DisplayNames([locale.language], { type: "region" })
2353
- : undefined;
2354
- export const getCountryName = (cca3) => {
2355
- const cca2 = getCCA2forCCA3(cca3);
2356
- if (isNullish(cca2)) {
2357
- if (isTranslatedCountry(cca3)) {
2358
- return names[cca3];
2359
- }
2360
- return countries.find(country => country.cca3 === cca3)?.name ?? cca3;
2361
- }
2362
- const resolvedName = countryNameResolver?.of(cca2);
2363
- if (isNotNullish(resolvedName)) {
2364
- return resolvedName;
1840
+ const navigatorCountries = navigator.languages.reduce((acc, lang) => {
1841
+ const countryCode = lang.split("-")[1];
1842
+ if (countryCode != null && isCountryCCA2(countryCode)) {
1843
+ const countryCCA3 = getCCA3forCCA2(countryCode);
1844
+ countryCCA3 != null && acc.push(countryCCA3);
2365
1845
  }
2366
- if (isTranslatedCountry(cca3)) {
2367
- return names[cca3];
2368
- }
2369
- return countries.find(country => country.cca3 === cca3)?.name ?? cca3;
2370
- };
1846
+ return acc;
1847
+ }, []);
1848
+ export const companyFallbackCountry = companyCountries.find(cca3 => navigatorCountries.includes(cca3)) ?? "FRA";
1849
+ export const individualFallbackCountry = individualCountries.find(cca3 => navigatorCountries.includes(cca3)) ?? "FRA";
1850
+ export const getCountryName = (cca3) => countries.find(country => country.cca3 === cca3)?.name ?? cca3;