-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathipath.js
673 lines (492 loc) · 102 KB
/
ipath.js
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
var pathobject = {
"ARG": [[420,582],[418,579],[417,577],[416,574],[414,571],[413,568],[412,566],[410,563],[409,560],[408,557],[407,555],[405,552],[404,549],[403,547],[402,544],[401,541],[400,539],[398,536],[397,533],[396,531],[395,528],[394,525],[393,523],[392,520],[391,517],[390,515],[389,512],[388,510],[387,507],[386,504],[385,502],[384,499],[383,497],[382,494],[381,491],[380,489],[379,486],[378,484],[377,481],[376,479],[375,476],[374,473],[373,471],[372,468],[371,466],[370,463],[369,461],[368,458],[367,455],[366,453],[365,450],[364,448],[363,445],[362,443],[361,440],[360,437],[359,435],[358,432],[357,430],[356,427],[355,425],[354,422],[353,419],[352,417],[351,414],[350,412],[349,409],[348,406],[347,404],[346,401],[345,398],[344,396],[343,393],[342,391],[340,388],[339,385],[338,383],[337,380],[336,377],[335,375],[334,372],[332,369],[331,367],[330,364],[329,361],[328,358],[326,356],[325,353],[324,350],[322,347],[321,345],[320,342],[318,339],[317,336],[316,334],[314,331],[313,328],[311,325],[310,322],[308,319]],
"AUS": [[1107,555],[1112,553],[1117,550],[1122,548],[1126,545],[1131,543],[1135,540],[1140,537],[1144,535],[1149,532],[1153,529],[1157,527],[1162,524],[1166,521],[1170,518],[1174,515],[1178,512],[1182,510],[1187,507],[1191,504],[1195,501],[1199,498],[1203,495],[1206,492],[1210,489],[1214,486],[1218,483],[1222,480],[1226,477],[1230,474],[1234,471],[1237,468],[1241,465],[1245,462],[1249,459],[1253,456],[1257,453],[1260,450],[1264,447],[1268,444],[15,441],[19,438],[23,435],[27,432],[31,429],[35,427],[39,424],[43,421],[47,418],[51,415],[55,412],[59,409],[63,406],[67,403],[71,400],[75,398],[80,395],[84,392],[88,389],[92,386],[97,384],[101,381],[106,378],[110,376],[115,373],[119,371],[124,368],[129,365],[134,363],[138,361],[143,358],[148,356],[153,354],[158,351],[163,349],[169,347],[174,345],[179,343],[185,341],[190,339],[195,337],[201,336],[207,334],[212,332],[218,331],[224,329],[229,328],[235,327],[241,326],[247,325],[253,324],[259,323],[265,322],[271,321],[277,321],[283,320],[290,320],[296,320],[302,320],[308,319]],
"AUT": [[690,280],[687,278],[684,276],[681,274],[677,272],[674,270],[671,268],[668,266],[664,264],[661,262],[657,260],[654,258],[650,257],[646,255],[642,253],[638,251],[635,250],[631,248],[627,247],[622,245],[618,244],[614,242],[610,241],[605,240],[601,238],[597,237],[592,236],[587,235],[583,234],[578,233],[573,232],[569,231],[564,231],[559,230],[554,230],[549,229],[544,229],[539,228],[534,228],[529,228],[524,228],[520,228],[515,228],[510,228],[505,228],[500,229],[495,229],[490,229],[485,230],[480,231],[475,231],[471,232],[466,233],[461,234],[457,235],[452,236],[447,237],[443,238],[439,239],[434,241],[430,242],[426,244],[422,245],[417,246],[413,248],[409,250],[405,251],[402,253],[398,255],[394,256],[390,258],[387,260],[383,262],[380,264],[376,266],[373,268],[370,270],[367,272],[363,274],[360,276],[357,278],[354,280],[351,282],[348,284],[345,286],[343,288],[340,291],[337,293],[335,295],[332,297],[329,299],[327,302],[324,304],[322,306],[320,308],[317,310],[315,313],[313,315],[310,317],[308,319]],
"BEL": [[657,264],[654,263],[651,261],[647,259],[644,258],[641,256],[637,255],[634,253],[630,252],[627,250],[623,249],[619,248],[616,246],[612,245],[608,244],[604,243],[600,242],[596,241],[592,239],[588,238],[584,238],[580,237],[576,236],[572,235],[567,234],[563,234],[559,233],[555,233],[550,232],[546,232],[541,231],[537,231],[533,231],[528,231],[524,231],[519,231],[515,231],[510,231],[506,231],[502,231],[497,231],[493,232],[488,232],[484,233],[480,233],[475,234],[471,234],[467,235],[463,236],[459,237],[454,238],[450,239],[446,240],[442,241],[438,242],[434,243],[431,244],[427,245],[423,246],[419,248],[416,249],[412,250],[408,252],[405,253],[401,255],[398,256],[395,258],[391,260],[388,261],[385,263],[382,264],[378,266],[375,268],[372,270],[369,271],[366,273],[364,275],[361,277],[358,279],[355,280],[352,282],[350,284],[347,286],[345,288],[342,290],[339,292],[337,294],[335,296],[332,298],[330,300],[328,301],[325,303],[323,305],[321,307],[319,309],[316,311],[314,313],[312,315],[310,317],[308,319]],
"BGR": [[730,299],[728,296],[725,294],[722,291],[719,288],[716,286],[713,283],[710,281],[707,278],[704,276],[700,273],[697,271],[693,269],[690,266],[686,264],[682,261],[679,259],[675,257],[671,255],[667,252],[663,250],[658,248],[654,246],[650,244],[645,242],[641,240],[636,238],[631,236],[626,235],[621,233],[616,231],[611,230],[606,228],[601,227],[595,226],[590,225],[584,224],[579,223],[573,222],[567,221],[562,220],[556,220],[550,219],[544,219],[538,219],[532,219],[527,219],[521,219],[515,219],[509,219],[503,220],[497,220],[492,221],[486,222],[480,223],[475,224],[469,225],[464,226],[458,227],[453,228],[448,230],[443,231],[438,233],[433,234],[428,236],[423,238],[418,240],[414,242],[409,244],[405,246],[400,248],[396,250],[392,252],[388,254],[384,257],[380,259],[376,261],[373,263],[369,266],[365,268],[362,271],[359,273],[355,276],[352,278],[349,281],[346,283],[343,286],[340,288],[337,291],[334,293],[331,296],[328,299],[326,301],[323,304],[320,306],[318,309],[315,312],[313,314],[310,317],[308,319]],
"BLZ": [[333,398],[333,397],[333,397],[333,396],[333,395],[332,394],[332,393],[332,393],[332,392],[331,391],[331,390],[331,390],[331,389],[331,388],[330,387],[330,387],[330,386],[330,385],[329,384],[329,384],[329,383],[329,382],[329,381],[328,380],[328,380],[328,379],[328,378],[327,377],[327,377],[327,376],[327,375],[326,374],[326,373],[326,373],[326,372],[325,371],[325,370],[325,370],[325,369],[325,368],[324,367],[324,366],[324,366],[324,365],[323,364],[323,363],[323,363],[323,362],[322,361],[322,360],[322,359],[322,359],[321,358],[321,357],[321,356],[321,355],[320,355],[320,354],[320,353],[320,352],[319,351],[319,351],[319,350],[318,349],[318,348],[318,347],[318,347],[317,346],[317,345],[317,344],[317,343],[316,343],[316,342],[316,341],[315,340],[315,339],[315,338],[315,338],[314,337],[314,336],[314,335],[314,334],[313,334],[313,333],[313,332],[312,331],[312,330],[312,329],[311,329],[311,328],[311,327],[311,326],[310,325],[310,324],[310,324],[309,323],[309,322],[309,321],[308,320],[308,319]],
"BOL": [[416,519],[415,517],[414,515],[413,513],[412,511],[411,509],[410,507],[409,505],[408,503],[407,501],[406,499],[405,497],[404,495],[403,493],[402,491],[401,489],[400,487],[399,485],[398,483],[397,481],[396,479],[395,477],[394,475],[393,473],[392,471],[391,469],[390,467],[389,465],[388,463],[387,461],[387,459],[386,457],[385,455],[384,453],[383,451],[382,449],[381,447],[380,445],[379,443],[378,441],[377,440],[376,438],[375,436],[374,434],[373,432],[372,430],[371,428],[370,426],[369,424],[368,422],[367,420],[366,418],[365,416],[364,414],[363,412],[362,410],[361,408],[360,406],[359,404],[358,402],[357,400],[356,398],[355,396],[354,394],[353,392],[351,390],[350,388],[349,386],[348,384],[347,382],[346,380],[345,378],[344,376],[343,373],[341,371],[340,369],[339,367],[338,365],[337,363],[335,361],[334,359],[333,357],[332,355],[330,353],[329,351],[328,349],[327,347],[325,345],[324,343],[323,340],[321,338],[320,336],[318,334],[317,332],[316,330],[314,328],[313,326],[311,324],[310,322],[308,319]],
"BRA": [[451,494],[450,492],[449,490],[447,489],[446,487],[445,485],[443,483],[442,481],[441,480],[440,478],[438,476],[437,474],[436,473],[435,471],[433,469],[432,467],[431,466],[430,464],[428,462],[427,460],[426,459],[425,457],[423,455],[422,453],[421,451],[420,450],[418,448],[417,446],[416,444],[415,443],[413,441],[412,439],[411,437],[409,436],[408,434],[407,432],[406,430],[404,429],[403,427],[402,425],[400,423],[399,421],[398,420],[397,418],[395,416],[394,414],[393,413],[391,411],[390,409],[389,407],[387,406],[386,404],[385,402],[383,400],[382,398],[380,397],[379,395],[378,393],[376,391],[375,390],[373,388],[372,386],[371,384],[369,383],[368,381],[366,379],[365,377],[363,375],[362,374],[360,372],[359,370],[357,368],[356,367],[354,365],[353,363],[351,361],[349,360],[348,358],[346,356],[344,354],[343,352],[341,351],[339,349],[338,347],[336,345],[334,344],[333,342],[331,340],[329,338],[327,337],[325,335],[324,333],[322,331],[320,330],[318,328],[316,326],[314,325],[312,323],[310,321],[308,319]],
"CAN": [[224,235],[226,236],[227,236],[228,237],[229,238],[230,239],[231,240],[233,240],[234,241],[235,242],[236,243],[237,244],[238,245],[239,245],[240,246],[242,247],[243,248],[244,249],[245,250],[246,250],[247,251],[248,252],[249,253],[250,254],[251,255],[252,256],[253,256],[254,257],[255,258],[256,259],[257,260],[258,261],[259,261],[260,262],[261,263],[261,264],[262,265],[263,266],[264,267],[265,268],[266,268],[267,269],[268,270],[269,271],[269,272],[270,273],[271,274],[272,274],[273,275],[274,276],[274,277],[275,278],[276,279],[277,280],[278,281],[278,281],[279,282],[280,283],[281,284],[281,285],[282,286],[283,287],[284,287],[284,288],[285,289],[286,290],[287,291],[287,292],[288,293],[289,294],[289,294],[290,295],[291,296],[292,297],[292,298],[293,299],[294,300],[294,301],[295,301],[296,302],[296,303],[297,304],[298,305],[298,306],[299,307],[300,307],[300,308],[301,309],[301,310],[302,311],[303,312],[303,313],[304,313],[305,314],[305,315],[306,316],[306,317],[307,318],[307,319],[308,319]],
"CHE": [[671,282],[668,280],[665,278],[662,276],[659,274],[656,272],[652,271],[649,269],[646,267],[642,266],[639,264],[635,262],[632,261],[628,259],[625,258],[621,256],[617,255],[613,254],[609,252],[605,251],[601,250],[597,248],[593,247],[589,246],[585,245],[581,244],[577,243],[572,242],[568,242],[564,241],[559,240],[555,239],[550,239],[546,238],[541,238],[537,238],[532,237],[528,237],[523,237],[519,237],[514,237],[510,237],[505,237],[500,237],[496,237],[491,238],[487,238],[482,238],[478,239],[473,239],[469,240],[465,241],[460,242],[456,242],[452,243],[447,244],[443,245],[439,246],[435,247],[431,248],[427,250],[423,251],[419,252],[415,253],[411,255],[407,256],[404,258],[400,259],[396,261],[393,262],[389,264],[386,266],[382,267],[379,269],[376,271],[373,272],[369,274],[366,276],[363,278],[360,280],[357,281],[354,283],[351,285],[348,287],[346,289],[343,291],[340,293],[337,295],[335,297],[332,299],[330,301],[327,303],[325,305],[322,307],[320,309],[317,311],[315,313],[313,315],[310,317],[308,319]],
"CHL": [[395,567],[394,564],[393,562],[392,559],[391,556],[390,554],[389,551],[388,549],[388,546],[387,544],[386,541],[385,539],[384,536],[383,534],[382,531],[381,529],[380,526],[380,524],[379,521],[378,519],[377,516],[376,514],[375,511],[375,509],[374,506],[373,504],[372,501],[371,499],[370,497],[370,494],[369,492],[368,489],[367,487],[367,484],[366,482],[365,480],[364,477],[363,475],[363,472],[362,470],[361,467],[360,465],[360,463],[359,460],[358,458],[357,455],[357,453],[356,451],[355,448],[354,446],[353,443],[353,441],[352,438],[351,436],[350,434],[350,431],[349,429],[348,426],[347,424],[346,421],[346,419],[345,417],[344,414],[343,412],[342,409],[342,407],[341,404],[340,402],[339,399],[338,397],[337,394],[336,392],[336,389],[335,387],[334,384],[333,382],[332,379],[331,377],[330,374],[329,372],[328,369],[327,367],[327,364],[326,362],[325,359],[324,356],[323,354],[322,351],[321,349],[319,346],[318,343],[317,341],[316,338],[315,336],[314,333],[313,330],[312,328],[311,325],[309,322],[308,319]],
"CHN": [[1010,331],[1011,327],[1012,323],[1014,319],[1015,315],[1017,311],[1018,307],[1020,303],[1021,299],[1023,294],[1025,290],[1027,286],[1028,282],[1030,277],[1032,273],[1034,268],[1037,264],[1039,259],[1041,255],[1044,250],[1046,246],[1049,241],[1052,236],[1055,231],[1058,227],[1061,222],[1065,217],[1069,212],[1073,207],[1077,202],[1081,197],[1086,193],[1091,188],[1097,183],[1102,178],[1109,173],[1115,168],[1122,163],[1130,159],[1138,154],[1147,150],[1157,145],[1167,141],[1178,137],[1190,134],[1202,131],[1216,128],[1229,126],[1244,124],[1259,122],[17,122],[33,121],[48,122],[63,122],[78,124],[93,126],[107,128],[120,131],[132,134],[144,138],[155,141],[165,145],[175,150],[184,154],[192,159],[200,163],[207,168],[213,173],[220,178],[225,183],[231,188],[236,193],[241,198],[245,202],[249,207],[253,212],[257,217],[261,222],[264,227],[267,232],[270,236],[273,241],[276,246],[278,250],[281,255],[283,259],[285,264],[287,268],[289,273],[291,277],[293,282],[295,286],[297,290],[299,295],[300,299],[302,303],[304,307],[305,311],[307,315],[308,319]],
"COL": [[392,445],[391,444],[390,442],[390,441],[389,440],[388,439],[388,437],[387,436],[386,435],[385,434],[385,432],[384,431],[383,430],[383,429],[382,427],[381,426],[380,425],[380,424],[379,422],[378,421],[378,420],[377,419],[376,417],[375,416],[375,415],[374,414],[373,412],[372,411],[372,410],[371,409],[370,407],[369,406],[369,405],[368,404],[367,402],[366,401],[366,400],[365,399],[364,397],[363,396],[363,395],[362,394],[361,392],[360,391],[359,390],[359,389],[358,387],[357,386],[356,385],[355,384],[355,382],[354,381],[353,380],[352,378],[351,377],[350,376],[350,375],[349,373],[348,372],[347,371],[346,370],[345,368],[344,367],[344,366],[343,364],[342,363],[341,362],[340,361],[339,359],[338,358],[337,357],[336,356],[336,354],[335,353],[334,352],[333,350],[332,349],[331,348],[330,347],[329,345],[328,344],[327,343],[326,341],[325,340],[324,339],[323,338],[322,336],[321,335],[320,334],[319,332],[318,331],[317,330],[316,329],[315,327],[314,326],[313,325],[311,323],[310,322],[309,321],[308,319]],
"CRI": [[350,424],[350,423],[349,422],[349,421],[349,420],[348,419],[348,418],[347,417],[347,416],[347,415],[346,414],[346,413],[346,412],[345,411],[345,410],[345,409],[344,408],[344,407],[344,406],[343,405],[343,404],[342,402],[342,401],[342,400],[341,399],[341,398],[341,397],[340,396],[340,395],[339,394],[339,393],[339,392],[338,391],[338,390],[338,389],[337,388],[337,387],[336,386],[336,385],[336,384],[335,383],[335,382],[334,381],[334,380],[334,379],[333,378],[333,377],[332,376],[332,375],[332,374],[331,372],[331,371],[330,370],[330,369],[329,368],[329,367],[329,366],[328,365],[328,364],[327,363],[327,362],[327,361],[326,360],[326,359],[325,358],[325,357],[324,356],[324,354],[323,353],[323,352],[323,351],[322,350],[322,349],[321,348],[321,347],[320,346],[320,345],[319,344],[319,343],[318,342],[318,340],[317,339],[317,338],[316,337],[316,336],[315,335],[315,334],[314,333],[314,332],[313,331],[313,329],[312,328],[312,327],[311,326],[311,325],[310,324],[310,323],[309,322],[309,321],[308,319]],
"CUB": [[364,383],[363,382],[363,381],[362,381],[362,380],[362,379],[361,379],[361,378],[360,378],[360,377],[359,376],[359,376],[358,375],[358,374],[357,374],[357,373],[356,372],[356,372],[355,371],[355,370],[354,370],[354,369],[353,369],[352,368],[352,367],[351,367],[351,366],[350,365],[350,365],[349,364],[349,363],[348,363],[348,362],[347,362],[347,361],[346,360],[346,360],[345,359],[345,358],[344,358],[344,357],[343,356],[342,356],[342,355],[341,354],[341,354],[340,353],[340,353],[339,352],[339,351],[338,351],[337,350],[337,349],[336,349],[336,348],[335,347],[335,347],[334,346],[334,346],[333,345],[332,344],[332,344],[331,343],[331,342],[330,342],[329,341],[329,340],[328,340],[328,339],[327,338],[326,338],[326,337],[325,337],[325,336],[324,335],[323,335],[323,334],[322,333],[322,333],[321,332],[320,331],[320,331],[319,330],[319,330],[318,329],[317,328],[317,328],[316,327],[315,326],[315,326],[314,325],[313,325],[313,324],[312,323],[311,323],[311,322],[310,321],[309,321],[309,320],[308,319]],
"CZE": [[697,269],[694,267],[691,265],[688,263],[685,261],[681,259],[678,257],[674,255],[671,253],[667,251],[663,249],[660,247],[656,245],[652,243],[648,241],[644,240],[640,238],[635,236],[631,235],[627,233],[622,232],[618,230],[613,229],[609,228],[604,226],[599,225],[594,224],[589,223],[585,222],[580,221],[574,221],[569,220],[564,219],[559,219],[554,218],[549,218],[544,218],[538,217],[533,217],[528,217],[523,217],[517,218],[512,218],[507,218],[502,219],[497,219],[491,220],[486,221],[481,221],[476,222],[471,223],[466,224],[462,225],[457,226],[452,228],[448,229],[443,230],[438,232],[434,233],[430,235],[425,236],[421,238],[417,239],[413,241],[409,243],[405,245],[401,247],[397,249],[394,250],[390,252],[386,254],[383,256],[380,258],[376,261],[373,263],[370,265],[367,267],[363,269],[360,271],[357,273],[354,276],[352,278],[349,280],[346,282],[343,285],[341,287],[338,289],[335,292],[333,294],[331,296],[328,298],[326,301],[323,303],[321,305],[319,308],[317,310],[314,312],[312,315],[310,317],[308,319]],
"DEU": [[675,264],[671,262],[668,260],[665,258],[661,256],[658,254],[655,253],[651,251],[647,249],[644,248],[640,246],[636,244],[632,243],[629,241],[625,240],[621,239],[616,237],[612,236],[608,235],[604,234],[600,233],[595,231],[591,230],[586,229],[582,229],[577,228],[573,227],[568,226],[563,226],[559,225],[554,225],[549,224],[545,224],[540,224],[535,224],[530,223],[525,223],[521,223],[516,224],[511,224],[506,224],[502,224],[497,225],[492,225],[487,226],[483,226],[478,227],[474,228],[469,229],[465,230],[460,230],[456,231],[451,233],[447,234],[443,235],[439,236],[435,237],[430,239],[426,240],[422,242],[419,243],[415,245],[411,246],[407,248],[404,249],[400,251],[396,253],[393,254],[389,256],[386,258],[383,260],[380,262],[376,264],[373,265],[370,267],[367,269],[364,271],[361,273],[358,275],[356,277],[353,279],[350,281],[347,283],[345,285],[342,288],[340,290],[337,292],[335,294],[332,296],[330,298],[328,300],[325,302],[323,304],[321,307],[319,309],[316,311],[314,313],[312,315],[310,317],[308,319]],
"DNK": [[678,240],[675,238],[671,236],[667,234],[664,232],[660,231],[656,229],[652,227],[648,226],[644,224],[640,223],[635,221],[631,220],[627,218],[622,217],[618,216],[613,215],[609,213],[604,212],[599,211],[594,210],[589,210],[585,209],[580,208],[575,208],[570,207],[564,207],[559,206],[554,206],[549,206],[544,206],[539,205],[534,206],[529,206],[523,206],[518,206],[513,207],[508,207],[503,208],[498,208],[493,209],[488,210],[483,210],[479,211],[474,212],[469,213],[464,215],[460,216],[455,217],[451,218],[447,220],[442,221],[438,223],[434,224],[430,226],[426,227],[422,229],[418,231],[414,232],[410,234],[407,236],[403,238],[400,240],[396,242],[393,244],[390,246],[386,248],[383,250],[380,252],[377,254],[374,256],[371,258],[368,260],[365,262],[363,264],[360,266],[357,269],[355,271],[352,273],[350,275],[347,277],[345,279],[342,282],[340,284],[338,286],[336,288],[333,290],[331,293],[329,295],[327,297],[325,299],[323,302],[321,304],[319,306],[317,308],[315,311],[313,313],[312,315],[310,317],[308,319]],
"DOM": [[397,392],[396,391],[395,390],[394,389],[393,389],[393,388],[392,387],[391,386],[390,386],[390,385],[389,384],[388,383],[387,383],[387,382],[386,381],[385,380],[384,380],[383,379],[383,378],[382,377],[381,376],[380,376],[379,375],[379,374],[378,373],[377,373],[376,372],[375,371],[375,370],[374,370],[373,369],[372,368],[371,367],[370,367],[370,366],[369,365],[368,364],[367,364],[366,363],[365,362],[365,361],[364,361],[363,360],[362,359],[361,358],[360,358],[359,357],[359,356],[358,355],[357,355],[356,354],[355,353],[354,353],[353,352],[352,351],[351,350],[351,350],[350,349],[349,348],[348,347],[347,347],[346,346],[345,345],[344,345],[343,344],[342,343],[341,342],[340,342],[339,341],[339,340],[338,339],[337,339],[336,338],[335,337],[334,337],[333,336],[332,335],[331,335],[330,334],[329,333],[328,332],[327,332],[326,331],[325,330],[324,330],[323,329],[322,328],[321,328],[320,327],[319,326],[318,326],[317,325],[316,324],[314,323],[313,323],[312,322],[311,321],[310,321],[309,320],[308,319]],
"ECU": [[373,466],[372,464],[372,463],[371,462],[370,460],[370,459],[369,457],[369,456],[368,454],[368,453],[367,452],[367,450],[366,449],[365,447],[365,446],[364,444],[364,443],[363,442],[363,440],[362,439],[361,437],[361,436],[360,434],[360,433],[359,431],[359,430],[358,429],[358,427],[357,426],[356,424],[356,423],[355,421],[355,420],[354,419],[353,417],[353,416],[352,414],[352,413],[351,411],[351,410],[350,408],[349,407],[349,405],[348,404],[348,403],[347,401],[346,400],[346,398],[345,397],[345,395],[344,394],[343,392],[343,391],[342,389],[341,388],[341,386],[340,385],[340,384],[339,382],[338,381],[338,379],[337,378],[336,376],[336,375],[335,373],[334,372],[334,370],[333,369],[332,367],[332,366],[331,364],[330,363],[329,361],[329,360],[328,358],[327,357],[327,355],[326,354],[325,352],[324,351],[324,349],[323,347],[322,346],[321,344],[321,343],[320,341],[319,340],[318,338],[317,337],[317,335],[316,334],[315,332],[314,330],[313,329],[312,327],[312,326],[311,324],[310,323],[309,321],[308,319]],
"EGY": [[748,362],[745,359],[743,357],[740,354],[738,351],[735,348],[732,345],[730,342],[727,340],[724,337],[721,334],[718,331],[715,328],[712,326],[709,323],[706,320],[703,317],[700,315],[696,312],[693,309],[689,307],[686,304],[682,301],[679,299],[675,296],[671,294],[667,291],[663,289],[659,286],[655,284],[651,281],[647,279],[642,277],[638,275],[633,272],[629,270],[624,268],[619,266],[614,264],[609,262],[604,261],[599,259],[594,257],[588,256],[583,254],[577,253],[572,252],[566,250],[561,249],[555,248],[549,247],[543,247],[537,246],[531,245],[525,245],[519,245],[513,245],[507,244],[501,244],[495,245],[489,245],[483,245],[478,246],[472,246],[466,247],[460,248],[454,249],[448,250],[443,251],[437,252],[432,254],[426,255],[421,257],[416,258],[411,260],[405,262],[400,264],[395,266],[391,268],[386,270],[381,272],[377,274],[372,276],[368,278],[363,281],[359,283],[355,286],[351,288],[347,290],[343,293],[339,296],[336,298],[332,301],[328,303],[325,306],[321,309],[318,311],[315,314],[311,317],[308,319]],
"ESP": [[629,311],[627,310],[624,308],[621,307],[618,305],[616,304],[613,303],[610,301],[607,300],[604,299],[601,297],[598,296],[595,295],[592,293],[589,292],[586,291],[583,290],[580,289],[577,288],[573,287],[570,286],[567,285],[564,284],[560,283],[557,282],[554,281],[550,280],[547,279],[543,278],[540,278],[536,277],[533,276],[529,275],[526,275],[522,274],[519,274],[515,273],[512,273],[508,272],[504,272],[501,272],[497,272],[493,271],[490,271],[486,271],[482,271],[479,271],[475,271],[471,271],[468,271],[464,271],[460,271],[457,271],[453,272],[449,272],[446,272],[442,273],[438,273],[435,273],[431,274],[428,275],[424,275],[420,276],[417,276],[413,277],[410,278],[407,279],[403,279],[400,280],[396,281],[393,282],[390,283],[386,284],[383,285],[380,286],[377,287],[373,288],[370,289],[367,290],[364,291],[361,293],[358,294],[355,295],[352,296],[349,298],[346,299],[343,300],[340,302],[337,303],[335,305],[332,306],[329,307],[326,309],[324,310],[321,312],[318,313],[316,315],[313,316],[311,318],[308,319]],
"ETH": [[776,431],[773,428],[770,424],[768,421],[765,418],[762,415],[760,412],[757,408],[754,405],[751,402],[748,399],[746,396],[743,392],[740,389],[737,386],[734,383],[731,380],[728,377],[725,373],[721,370],[718,367],[715,364],[712,361],[708,358],[705,355],[702,351],[698,348],[695,345],[691,342],[687,339],[684,336],[680,333],[676,330],[672,327],[668,324],[664,321],[660,318],[655,316],[651,313],[647,310],[642,307],[637,305],[633,302],[628,299],[623,297],[618,294],[613,292],[608,290],[602,288],[597,285],[592,283],[586,281],[580,279],[575,277],[569,276],[563,274],[557,273],[551,271],[545,270],[538,269],[532,268],[526,267],[519,266],[513,265],[506,265],[500,264],[493,264],[487,264],[480,264],[474,264],[467,265],[461,265],[454,266],[448,266],[441,267],[435,268],[429,269],[422,270],[416,272],[410,273],[404,275],[398,276],[393,278],[387,280],[381,282],[376,284],[370,286],[365,288],[360,291],[354,293],[349,295],[344,298],[340,300],[335,303],[330,306],[326,308],[321,311],[317,314],[312,317],[308,319]],
"FIN": [[734,198],[730,195],[726,193],[721,190],[717,187],[712,185],[708,183],[703,180],[698,178],[692,175],[687,173],[681,171],[675,169],[669,167],[663,165],[657,163],[651,162],[644,160],[637,159],[630,157],[623,156],[616,155],[609,154],[601,154],[594,153],[586,153],[578,152],[571,152],[563,152],[556,153],[548,153],[540,153],[533,154],[526,155],[518,156],[511,157],[504,158],[497,160],[491,161],[484,163],[478,165],[472,167],[466,168],[460,171],[454,173],[449,175],[443,177],[438,179],[433,182],[428,184],[424,187],[419,189],[415,192],[411,195],[407,197],[403,200],[399,203],[395,205],[392,208],[388,211],[385,214],[382,216],[379,219],[376,222],[373,225],[370,227],[367,230],[365,233],[362,236],[359,239],[357,241],[355,244],[352,247],[350,250],[348,253],[346,255],[344,258],[342,261],[340,264],[338,266],[336,269],[334,272],[333,275],[331,277],[329,280],[328,283],[326,285],[325,288],[323,291],[322,293],[320,296],[319,299],[317,301],[316,304],[314,307],[313,309],[312,312],[311,314],[309,317],[308,319]],
"FRA": [[650,286],[647,284],[644,283],[641,281],[638,280],[635,278],[632,276],[629,275],[626,274],[622,272],[619,271],[616,269],[612,268],[609,267],[605,265],[602,264],[598,263],[595,262],[591,261],[587,260],[584,258],[580,257],[576,257],[572,256],[568,255],[565,254],[561,253],[557,252],[553,252],[549,251],[545,251],[541,250],[537,250],[533,249],[528,249],[524,248],[520,248],[516,248],[512,248],[508,248],[504,248],[500,248],[495,248],[491,248],[487,248],[483,248],[479,249],[475,249],[471,249],[467,250],[463,250],[459,251],[455,252],[451,252],[447,253],[443,254],[439,255],[435,255],[431,256],[427,257],[424,258],[420,259],[416,260],[413,262],[409,263],[406,264],[402,265],[399,266],[395,268],[392,269],[388,270],[385,272],[382,273],[378,275],[375,276],[372,278],[369,279],[366,281],[363,282],[360,284],[357,286],[354,287],[351,289],[348,291],[346,292],[343,294],[340,296],[338,298],[335,299],[332,301],[330,303],[327,305],[325,306],[322,308],[320,310],[317,312],[315,314],[313,316],[310,318],[308,319]],
"GBR": [[636,249],[633,248],[629,247],[626,245],[623,244],[619,243],[615,242],[612,241],[608,239],[605,238],[601,237],[597,236],[593,235],[589,234],[585,234],[582,233],[578,232],[574,231],[570,231],[565,230],[561,230],[557,229],[553,229],[549,228],[545,228],[541,228],[537,227],[532,227],[528,227],[524,227],[520,227],[516,227],[511,227],[507,227],[503,228],[499,228],[495,228],[491,229],[486,229],[482,230],[478,230],[474,231],[470,232],[466,232],[462,233],[458,234],[454,235],[451,236],[447,237],[443,238],[439,239],[436,240],[432,241],[428,242],[425,243],[421,245],[418,246],[414,247],[411,248],[408,250],[404,251],[401,253],[398,254],[395,256],[392,257],[389,259],[386,260],[383,262],[380,263],[377,265],[374,267],[371,268],[369,270],[366,272],[363,273],[361,275],[358,277],[356,279],[353,280],[351,282],[348,284],[346,286],[343,288],[341,289],[339,291],[337,293],[334,295],[332,297],[330,299],[328,301],[326,302],[324,304],[322,306],[320,308],[318,310],[316,312],[314,314],[312,316],[310,318],[308,319]],
"GRC": [[720,315],[717,313],[715,310],[712,308],[709,306],[706,303],[703,301],[700,298],[697,296],[694,293],[691,291],[687,289],[684,286],[681,284],[677,282],[674,280],[670,277],[667,275],[663,273],[659,271],[655,269],[651,267],[647,265],[643,263],[639,261],[635,259],[631,257],[626,255],[622,254],[617,252],[613,250],[608,249],[603,247],[599,246],[594,244],[589,243],[584,242],[579,241],[573,240],[568,239],[563,238],[558,237],[552,237],[547,236],[542,235],[536,235],[531,235],[525,234],[520,234],[514,234],[509,234],[504,235],[498,235],[493,235],[487,236],[482,236],[477,237],[471,238],[466,239],[461,239],[456,240],[451,242],[446,243],[441,244],[436,245],[431,247],[426,248],[421,250],[417,251],[412,253],[408,255],[403,256],[399,258],[395,260],[391,262],[386,264],[382,266],[378,268],[375,270],[371,272],[367,274],[363,277],[360,279],[356,281],[353,283],[349,286],[346,288],[343,290],[340,293],[337,295],[333,297],[330,300],[327,302],[325,305],[322,307],[319,310],[316,312],[313,315],[311,317],[308,319]],
"GTM": [[328,404],[328,403],[328,403],[328,402],[327,401],[327,400],[327,399],[327,399],[327,398],[327,397],[326,396],[326,395],[326,394],[326,394],[326,393],[326,392],[325,391],[325,390],[325,390],[325,389],[325,388],[324,387],[324,386],[324,385],[324,385],[324,384],[324,383],[323,382],[323,381],[323,380],[323,380],[323,379],[322,378],[322,377],[322,376],[322,375],[322,375],[322,374],[321,373],[321,372],[321,371],[321,370],[321,369],[320,369],[320,368],[320,367],[320,366],[320,365],[319,364],[319,364],[319,363],[319,362],[319,361],[318,360],[318,359],[318,358],[318,358],[318,357],[317,356],[317,355],[317,354],[317,353],[317,352],[316,351],[316,351],[316,350],[316,349],[316,348],[315,347],[315,346],[315,345],[315,345],[314,344],[314,343],[314,342],[314,341],[314,340],[313,339],[313,338],[313,337],[313,337],[312,336],[312,335],[312,334],[312,333],[311,332],[311,331],[311,330],[311,329],[311,329],[310,328],[310,327],[310,326],[310,325],[309,324],[309,323],[309,322],[309,321],[308,320],[308,319]],
"GUY": [[437,441],[436,440],[435,439],[434,438],[433,436],[432,435],[431,434],[430,432],[429,431],[427,430],[426,429],[425,427],[424,426],[423,425],[422,424],[421,422],[420,421],[419,420],[418,419],[416,417],[415,416],[414,415],[413,413],[412,412],[411,411],[410,410],[409,408],[407,407],[406,406],[405,405],[404,403],[403,402],[402,401],[400,400],[399,398],[398,397],[397,396],[396,395],[395,393],[393,392],[392,391],[391,389],[390,388],[389,387],[387,386],[386,384],[385,383],[384,382],[382,381],[381,379],[380,378],[379,377],[377,376],[376,374],[375,373],[373,372],[372,371],[371,369],[370,368],[368,367],[367,366],[366,365],[364,363],[363,362],[362,361],[360,360],[359,358],[357,357],[356,356],[355,355],[353,353],[352,352],[350,351],[349,350],[348,349],[346,347],[345,346],[343,345],[342,344],[340,343],[339,341],[337,340],[336,339],[334,338],[333,337],[331,335],[329,334],[328,333],[326,332],[325,331],[323,330],[321,329],[320,327],[318,326],[317,325],[315,324],[313,323],[312,322],[310,321],[308,319]],
"HHH": [[1041,381],[1043,377],[1045,373],[1047,369],[1049,366],[1051,362],[1053,358],[1055,354],[1057,350],[1059,346],[1061,342],[1064,338],[1066,334],[1068,330],[1071,326],[1073,322],[1076,318],[1078,314],[1081,310],[1084,306],[1087,302],[1090,298],[1093,294],[1096,290],[1099,286],[1103,282],[1106,278],[1110,274],[1114,269],[1117,265],[1121,261],[1126,257],[1130,253],[1135,249],[1139,245],[1144,241],[1149,237],[1155,233],[1160,229],[1166,226],[1172,222],[1179,218],[1185,215],[1192,211],[1199,208],[1207,205],[1215,202],[1223,199],[1231,196],[1240,194],[1249,192],[1258,190],[1267,188],[20,187],[30,185],[40,185],[50,184],[60,184],[70,184],[80,184],[90,185],[100,186],[109,187],[119,189],[128,190],[137,192],[146,195],[154,197],[163,200],[171,203],[178,206],[186,209],[193,212],[200,216],[206,219],[213,223],[219,227],[224,230],[230,234],[235,238],[240,242],[245,246],[250,250],[254,254],[259,258],[263,262],[267,266],[271,271],[274,275],[278,279],[282,283],[285,287],[288,291],[291,295],[294,299],[297,303],[300,307],[303,311],[305,315],[308,319]],
"HND": [[341,406],[341,405],[341,404],[340,404],[340,403],[340,402],[340,401],[339,400],[339,399],[339,399],[338,398],[338,397],[338,396],[338,395],[337,394],[337,393],[337,393],[336,392],[336,391],[336,390],[335,389],[335,388],[335,388],[335,387],[334,386],[334,385],[334,384],[333,383],[333,382],[333,382],[332,381],[332,380],[332,379],[332,378],[331,377],[331,376],[331,376],[330,375],[330,374],[330,373],[329,372],[329,371],[329,370],[328,369],[328,369],[328,368],[327,367],[327,366],[327,365],[327,364],[326,363],[326,363],[326,362],[325,361],[325,360],[325,359],[324,358],[324,357],[324,356],[323,356],[323,355],[322,354],[322,353],[322,352],[321,351],[321,350],[321,349],[320,348],[320,348],[320,347],[319,346],[319,345],[319,344],[318,343],[318,342],[318,341],[317,340],[317,340],[316,339],[316,338],[316,337],[315,336],[315,335],[315,334],[314,333],[314,332],[313,331],[313,330],[313,330],[312,329],[312,328],[311,327],[311,326],[311,325],[310,324],[310,323],[309,322],[309,321],[309,320],[308,319]],
"HTI": [[390,392],[390,391],[389,390],[388,389],[388,389],[387,388],[386,387],[385,386],[385,386],[384,385],[383,384],[383,383],[382,383],[381,382],[380,381],[380,380],[379,380],[378,379],[377,378],[377,377],[376,377],[375,376],[375,375],[374,374],[373,374],[372,373],[372,372],[371,371],[370,371],[369,370],[368,369],[368,368],[367,368],[366,367],[365,366],[365,365],[364,365],[363,364],[362,363],[361,362],[361,362],[360,361],[359,360],[358,359],[357,359],[357,358],[356,357],[355,357],[354,356],[353,355],[353,354],[352,354],[351,353],[350,352],[349,351],[348,351],[348,350],[347,349],[346,348],[345,348],[344,347],[343,346],[343,346],[342,345],[341,344],[340,343],[339,343],[338,342],[337,341],[336,340],[336,340],[335,339],[334,338],[333,338],[332,337],[331,336],[330,335],[329,335],[328,334],[327,333],[326,333],[326,332],[325,331],[324,331],[323,330],[322,329],[321,328],[320,328],[319,327],[318,326],[317,326],[316,325],[315,324],[314,324],[313,323],[312,322],[311,322],[310,321],[309,320],[308,319]],
"HUN": [[713,282],[710,279],[707,277],[704,274],[701,272],[698,270],[694,268],[691,265],[688,263],[684,261],[681,259],[677,256],[673,254],[670,252],[666,250],[662,248],[658,246],[654,244],[650,242],[645,240],[641,239],[637,237],[632,235],[628,234],[623,232],[618,231],[613,229],[608,228],[603,227],[598,225],[593,224],[588,223],[583,222],[578,221],[572,220],[567,220],[562,219],[556,219],[551,218],[545,218],[540,218],[534,218],[529,218],[523,218],[518,218],[512,218],[507,218],[501,219],[496,220],[490,220],[485,221],[480,222],[474,223],[469,224],[464,225],[459,226],[454,227],[449,229],[444,230],[439,231],[435,233],[430,235],[426,236],[421,238],[417,240],[413,242],[408,243],[404,245],[400,247],[396,249],[392,251],[388,253],[385,256],[381,258],[378,260],[374,262],[371,264],[367,267],[364,269],[361,271],[358,273],[354,276],[351,278],[349,280],[346,283],[343,285],[340,288],[337,290],[335,292],[332,295],[329,297],[327,300],[324,302],[322,305],[319,307],[317,310],[315,312],[313,315],[310,317],[308,319]],
"IND": [[912,388],[911,384],[911,379],[910,375],[910,370],[909,366],[909,361],[908,356],[908,352],[907,347],[906,342],[906,338],[905,333],[904,328],[904,323],[903,318],[902,313],[901,308],[901,303],[900,298],[899,293],[898,288],[897,282],[896,277],[895,272],[894,266],[893,261],[891,255],[890,249],[889,243],[887,237],[886,231],[884,225],[882,219],[881,213],[879,206],[876,200],[874,193],[871,186],[868,179],[865,172],[862,165],[858,158],[853,150],[848,143],[842,135],[836,127],[828,119],[819,111],[809,103],[796,96],[780,88],[762,80],[739,74],[711,68],[678,63],[641,60],[601,59],[561,61],[525,64],[493,69],[466,75],[445,82],[427,90],[412,97],[400,105],[390,113],[381,121],[374,129],[367,137],[362,145],[357,152],[353,160],[349,167],[345,174],[342,181],[339,188],[337,195],[334,201],[332,208],[330,214],[328,220],[327,227],[325,233],[323,239],[322,245],[321,250],[319,256],[318,262],[317,267],[316,273],[315,278],[314,284],[313,289],[312,294],[311,299],[310,304],[310,310],[309,315],[308,319]],
"IRL": [[615,254],[612,253],[609,252],[606,251],[602,250],[599,249],[596,248],[592,247],[589,246],[585,245],[582,244],[578,244],[575,243],[571,242],[567,241],[564,241],[560,240],[556,240],[553,239],[549,239],[545,238],[542,238],[538,238],[534,237],[530,237],[526,237],[523,237],[519,237],[515,237],[511,237],[507,237],[504,237],[500,237],[496,237],[492,237],[488,238],[485,238],[481,238],[477,239],[473,239],[470,240],[466,240],[462,241],[459,242],[455,242],[452,243],[448,244],[445,245],[441,246],[438,246],[434,247],[431,248],[427,249],[424,250],[421,251],[418,253],[414,254],[411,255],[408,256],[405,257],[402,258],[399,260],[396,261],[393,262],[390,264],[387,265],[384,266],[381,268],[379,269],[376,271],[373,272],[370,273],[368,275],[365,276],[363,278],[360,280],[358,281],[355,283],[353,284],[350,286],[348,287],[346,289],[343,291],[341,292],[339,294],[336,296],[334,297],[332,299],[330,301],[328,302],[326,304],[324,306],[322,307],[320,309],[318,311],[316,313],[314,314],[312,316],[310,318],[308,319]],
"IRN": [[828,343],[826,340],[824,336],[823,332],[821,328],[819,325],[817,321],[814,317],[812,313],[810,309],[808,305],[805,302],[803,298],[800,294],[798,290],[795,286],[792,282],[790,278],[787,274],[784,270],[780,266],[777,262],[774,258],[770,254],[767,250],[763,246],[759,242],[754,238],[750,234],[746,230],[741,226],[736,222],[731,218],[725,214],[720,211],[714,207],[707,203],[701,200],[694,196],[687,193],[680,190],[672,187],[664,184],[656,181],[647,179],[638,176],[629,174],[619,172],[609,171],[599,170],[589,169],[579,168],[569,168],[558,168],[548,168],[538,168],[528,169],[518,170],[508,172],[498,174],[489,176],[480,178],[471,180],[463,183],[455,186],[447,189],[439,192],[432,195],[425,199],[419,202],[412,206],[406,209],[400,213],[395,217],[390,221],[385,225],[380,229],[375,233],[371,237],[367,241],[363,245],[359,249],[355,253],[351,257],[348,261],[345,265],[341,269],[338,273],[335,277],[332,281],[330,285],[327,289],[324,292],[322,296],[319,300],[317,304],[315,308],[312,312],[310,316],[308,319]],
"ISR": [[764,345],[762,342],[760,339],[757,336],[755,333],[752,330],[749,327],[747,324],[744,321],[741,318],[738,315],[735,312],[732,309],[729,306],[726,303],[723,300],[720,297],[716,294],[713,291],[709,288],[706,286],[702,283],[698,280],[694,277],[690,274],[686,272],[682,269],[678,266],[674,264],[669,261],[665,258],[660,256],[655,253],[650,251],[645,249],[640,247],[635,244],[629,242],[624,240],[618,238],[612,237],[607,235],[601,233],[595,232],[589,230],[582,229],[576,228],[570,227],[563,226],[557,225],[550,225],[544,224],[537,224],[530,224],[524,224],[517,224],[510,224],[504,225],[497,225],[491,226],[484,227],[478,227],[471,229],[465,230],[459,231],[453,232],[447,234],[441,236],[435,237],[430,239],[424,241],[419,243],[413,245],[408,248],[403,250],[398,252],[393,255],[388,257],[384,260],[379,262],[375,265],[370,267],[366,270],[362,273],[358,276],[354,278],[350,281],[347,284],[343,287],[339,290],[336,293],[333,296],[329,299],[326,302],[323,305],[320,308],[317,310],[314,313],[311,316],[308,319]],
"ITA": [[688,300],[685,297],[682,295],[679,293],[676,291],[673,289],[670,287],[667,285],[664,283],[661,281],[657,279],[654,278],[651,276],[647,274],[644,272],[640,270],[636,269],[633,267],[629,265],[625,264],[621,262],[617,260],[613,259],[609,257],[605,256],[601,255],[597,253],[593,252],[588,251],[584,250],[580,249],[575,248],[571,247],[566,246],[562,245],[557,244],[552,244],[548,243],[543,243],[538,242],[533,242],[529,241],[524,241],[519,241],[514,241],[510,241],[505,241],[500,241],[495,241],[490,241],[486,242],[481,242],[476,243],[471,243],[467,244],[462,245],[458,245],[453,246],[448,247],[444,248],[440,249],[435,250],[431,251],[427,253],[422,254],[418,255],[414,256],[410,258],[406,259],[402,261],[398,262],[394,264],[390,266],[387,267],[383,269],[379,271],[376,273],[372,274],[369,276],[366,278],[362,280],[359,282],[356,284],[353,286],[349,288],[346,290],[343,292],[340,294],[337,296],[335,298],[332,300],[329,302],[326,304],[323,306],[321,309],[318,311],[316,313],[313,315],[311,317],[308,319]],
"JAM": [[373,394],[372,394],[372,393],[371,392],[370,391],[370,391],[369,390],[369,389],[368,388],[368,388],[367,387],[367,386],[366,385],[365,385],[365,384],[364,383],[364,382],[363,382],[363,381],[362,380],[361,379],[361,379],[360,378],[360,377],[359,376],[358,375],[358,375],[357,374],[357,373],[356,372],[355,372],[355,371],[354,370],[354,369],[353,369],[352,368],[352,367],[351,366],[351,366],[350,365],[349,364],[349,363],[348,363],[348,362],[347,361],[346,360],[346,360],[345,359],[344,358],[344,357],[343,356],[342,356],[342,355],[341,354],[340,353],[340,353],[339,352],[339,351],[338,350],[337,350],[337,349],[336,348],[335,347],[335,347],[334,346],[333,345],[332,344],[332,344],[331,343],[330,342],[330,341],[329,341],[328,340],[328,339],[327,338],[326,338],[325,337],[325,336],[324,335],[323,334],[323,334],[322,333],[321,332],[320,331],[320,331],[319,330],[318,329],[317,328],[317,328],[316,327],[315,326],[314,325],[314,325],[313,324],[312,323],[311,322],[310,322],[310,321],[309,320],[308,319]],
"JOR": [[769,347],[766,344],[764,341],[762,338],[759,335],[756,332],[754,329],[751,326],[748,323],[746,319],[743,316],[740,313],[737,310],[734,307],[731,304],[728,301],[724,298],[721,295],[718,292],[714,289],[711,286],[707,283],[703,280],[699,278],[695,275],[691,272],[687,269],[683,266],[679,264],[674,261],[670,258],[665,256],[660,253],[655,251],[650,248],[645,246],[640,244],[634,242],[629,239],[623,237],[617,236],[611,234],[605,232],[599,230],[593,229],[587,228],[580,226],[574,225],[567,224],[561,224],[554,223],[547,222],[540,222],[534,222],[527,222],[520,222],[513,222],[506,222],[500,223],[493,224],[486,224],[480,225],[473,226],[467,228],[461,229],[454,230],[448,232],[442,234],[436,236],[431,237],[425,239],[419,242],[414,244],[409,246],[404,248],[399,251],[394,253],[389,256],[384,258],[379,261],[375,264],[371,266],[366,269],[362,272],[358,275],[354,278],[350,280],[347,283],[343,286],[340,289],[336,292],[333,295],[329,298],[326,301],[323,304],[320,307],[317,310],[314,313],[311,316],[308,319]],
"JPN": [[1125,328],[1127,325],[1130,322],[1133,319],[1135,316],[1138,313],[1141,311],[1144,308],[1147,305],[1150,302],[1153,300],[1156,297],[1159,294],[1162,291],[1165,289],[1169,286],[1172,283],[1176,281],[1179,278],[1183,275],[1187,273],[1191,270],[1195,268],[1199,265],[1203,263],[1207,261],[1212,258],[1216,256],[1220,254],[1225,251],[1230,249],[1235,247],[1240,245],[1245,243],[1250,241],[1255,240],[1260,238],[1266,236],[1271,235],[20,233],[26,232],[32,231],[37,230],[43,229],[49,228],[55,227],[61,226],[68,226],[74,225],[80,225],[86,225],[92,225],[99,225],[105,225],[111,225],[117,226],[123,226],[129,227],[135,228],[141,229],[147,230],[153,231],[159,232],[164,234],[170,235],[175,237],[181,238],[186,240],[191,242],[196,244],[201,246],[206,248],[211,250],[216,252],[221,254],[225,256],[229,259],[234,261],[238,263],[242,266],[246,268],[250,271],[254,273],[258,276],[261,278],[265,281],[269,284],[272,286],[275,289],[279,292],[282,295],[285,297],[288,300],[291,303],[294,306],[297,308],[300,311],[303,314],[305,317],[308,319]],
"KOR": [[1090,324],[1092,320],[1095,317],[1097,314],[1100,311],[1102,307],[1105,304],[1107,301],[1110,298],[1113,294],[1116,291],[1119,288],[1122,285],[1125,282],[1128,278],[1131,275],[1135,272],[1138,269],[1142,265],[1145,262],[1149,259],[1153,256],[1157,253],[1161,250],[1166,247],[1170,244],[1175,241],[1179,238],[1184,235],[1189,232],[1194,230],[1200,227],[1205,224],[1211,222],[1216,219],[1222,217],[1229,215],[1235,213],[1241,211],[1248,209],[1255,207],[1261,205],[1268,204],[19,203],[26,201],[34,200],[41,200],[48,199],[56,198],[64,198],[71,198],[79,198],[86,198],[94,199],[101,199],[109,200],[116,201],[124,202],[131,204],[138,205],[145,207],[151,208],[158,210],[165,212],[171,214],[177,216],[183,219],[189,221],[194,224],[200,226],[205,229],[211,232],[216,234],[220,237],[225,240],[230,243],[234,246],[239,249],[243,252],[247,255],[251,258],[255,262],[258,265],[262,268],[265,271],[269,274],[272,277],[275,281],[278,284],[282,287],[284,290],[287,294],[290,297],[293,300],[296,303],[298,307],[301,310],[303,313],[306,316],[308,319]],
"LBR": [[610,436],[608,434],[605,433],[603,431],[601,429],[598,427],[596,425],[594,424],[591,422],[589,420],[586,418],[584,416],[581,415],[579,413],[577,411],[574,409],[572,408],[569,406],[567,404],[564,402],[562,401],[559,399],[557,397],[554,396],[552,394],[549,392],[546,391],[544,389],[541,387],[539,386],[536,384],[533,382],[531,381],[528,379],[525,377],[522,376],[520,374],[517,373],[514,371],[511,369],[509,368],[506,366],[503,365],[500,363],[497,362],[494,360],[491,359],[488,358],[485,356],[482,355],[479,353],[476,352],[473,351],[470,349],[467,348],[464,347],[461,345],[457,344],[454,343],[451,342],[448,341],[444,339],[441,338],[438,337],[434,336],[431,335],[428,334],[424,333],[421,332],[417,331],[414,330],[411,329],[407,329],[404,328],[400,327],[396,326],[393,326],[389,325],[386,324],[382,324],[378,323],[375,323],[371,322],[368,322],[364,321],[360,321],[356,320],[353,320],[349,320],[345,320],[342,319],[338,319],[334,319],[330,319],[327,319],[323,319],[319,319],[316,319],[312,319],[308,319]],
"MAR": [[626,343],[623,342],[621,340],[618,339],[616,337],[613,336],[610,334],[608,333],[605,331],[603,330],[600,328],[597,327],[594,325],[592,324],[589,323],[586,321],[583,320],[580,319],[577,317],[575,316],[572,315],[569,314],[566,312],[563,311],[560,310],[556,309],[553,308],[550,307],[547,306],[544,305],[541,304],[538,303],[534,302],[531,301],[528,300],[524,299],[521,298],[518,297],[514,297],[511,296],[508,295],[504,295],[501,294],[497,293],[494,293],[490,292],[487,292],[483,291],[480,291],[476,291],[473,290],[469,290],[465,290],[462,290],[458,289],[455,289],[451,289],[448,289],[444,289],[440,289],[437,289],[433,289],[430,290],[426,290],[422,290],[419,290],[415,291],[412,291],[408,291],[405,292],[401,292],[398,293],[394,293],[391,294],[387,294],[384,295],[380,296],[377,296],[374,297],[370,298],[367,299],[364,300],[360,300],[357,301],[354,302],[351,303],[347,304],[344,305],[341,306],[338,307],[335,308],[332,310],[329,311],[326,312],[323,313],[320,314],[317,316],[314,317],[311,318],[308,319]],
"MEX": [[287,377],[287,377],[288,376],[288,375],[288,375],[288,374],[288,374],[288,373],[289,373],[289,372],[289,371],[289,371],[289,370],[290,370],[290,369],[290,369],[290,368],[290,368],[291,367],[291,366],[291,366],[291,365],[291,365],[291,364],[292,364],[292,363],[292,362],[292,362],[292,361],[293,361],[293,360],[293,360],[293,359],[293,358],[294,358],[294,357],[294,357],[294,356],[294,356],[295,355],[295,354],[295,354],[295,353],[295,353],[296,352],[296,351],[296,351],[296,350],[296,350],[297,349],[297,349],[297,348],[297,347],[298,347],[298,346],[298,346],[298,345],[298,344],[299,344],[299,343],[299,343],[299,342],[299,342],[300,341],[300,340],[300,340],[300,339],[301,339],[301,338],[301,337],[301,337],[301,336],[302,336],[302,335],[302,334],[302,334],[303,333],[303,333],[303,332],[303,332],[304,331],[304,330],[304,330],[304,329],[304,329],[305,328],[305,327],[305,327],[305,326],[306,326],[306,325],[306,324],[306,324],[307,323],[307,323],[307,322],[307,321],[308,321],[308,320],[308,319]],
"NIC": [[346,413],[346,412],[346,411],[346,410],[345,410],[345,409],[345,408],[344,407],[344,406],[344,405],[343,404],[343,403],[343,402],[342,401],[342,400],[342,400],[341,399],[341,398],[341,397],[340,396],[340,395],[340,394],[339,393],[339,392],[338,391],[338,390],[338,389],[337,388],[337,388],[337,387],[336,386],[336,385],[336,384],[335,383],[335,382],[335,381],[334,380],[334,379],[334,378],[333,377],[333,376],[332,375],[332,375],[332,374],[331,373],[331,372],[331,371],[330,370],[330,369],[330,368],[329,367],[329,366],[328,365],[328,364],[328,363],[327,362],[327,361],[326,360],[326,359],[326,358],[325,358],[325,357],[324,356],[324,355],[324,354],[323,353],[323,352],[322,351],[322,350],[322,349],[321,348],[321,347],[320,346],[320,345],[320,344],[319,343],[319,342],[318,341],[318,340],[317,339],[317,338],[316,337],[316,336],[316,335],[315,334],[315,333],[314,332],[314,331],[313,330],[313,329],[312,328],[312,327],[311,326],[311,325],[311,324],[310,323],[310,322],[309,321],[309,320],[308,319]],
"NLD": [[663,257],[660,255],[657,253],[653,251],[650,250],[646,248],[643,247],[639,245],[635,244],[632,242],[628,241],[624,239],[620,238],[616,237],[612,236],[608,234],[604,233],[600,232],[596,231],[591,230],[587,229],[583,228],[578,228],[574,227],[570,226],[565,225],[561,225],[556,224],[551,224],[547,224],[542,223],[538,223],[533,223],[528,223],[524,223],[519,223],[515,223],[510,223],[505,224],[501,224],[496,224],[492,225],[487,225],[483,226],[478,227],[474,227],[469,228],[465,229],[461,230],[456,231],[452,232],[448,233],[444,234],[440,235],[436,237],[432,238],[428,239],[424,241],[420,242],[417,243],[413,245],[409,246],[406,248],[402,250],[399,251],[395,253],[392,255],[389,256],[386,258],[382,260],[379,262],[376,263],[373,265],[370,267],[367,269],[364,271],[362,273],[359,275],[356,277],[353,279],[351,281],[348,283],[346,285],[343,287],[341,289],[338,291],[336,293],[334,295],[331,297],[329,299],[327,301],[325,303],[322,305],[320,307],[318,309],[316,311],[314,313],[312,315],[310,317],[308,319]],
"NOR": [[678,209],[674,207],[670,205],[666,203],[661,202],[657,200],[652,199],[648,197],[643,196],[638,194],[633,193],[628,192],[623,190],[618,189],[613,188],[607,187],[602,186],[596,186],[591,185],[585,184],[580,184],[574,183],[569,183],[563,183],[557,183],[552,183],[546,183],[540,183],[535,183],[529,184],[523,184],[518,185],[512,185],[507,186],[502,187],[496,188],[491,189],[486,190],[481,191],[476,192],[471,194],[466,195],[461,196],[456,198],[452,200],[447,201],[443,203],[439,205],[434,206],[430,208],[426,210],[422,212],[418,214],[415,216],[411,218],[407,220],[404,222],[400,224],[397,226],[394,228],[391,231],[388,233],[385,235],[382,237],[379,239],[376,242],[373,244],[370,246],[368,248],[365,251],[363,253],[360,255],[358,258],[355,260],[353,262],[351,264],[349,267],[346,269],[344,271],[342,274],[340,276],[338,278],[336,281],[334,283],[333,285],[331,288],[329,290],[327,292],[325,294],[324,297],[322,299],[320,301],[319,304],[317,306],[316,308],[314,310],[312,313],[311,315],[310,317],[308,319]],
"NZL": [[1251,610],[1255,608],[1260,606],[1264,603],[1268,600],[16,598],[20,595],[24,592],[28,590],[32,587],[36,584],[40,581],[43,579],[47,576],[51,573],[54,570],[58,567],[61,564],[65,561],[68,558],[71,555],[75,552],[78,550],[81,547],[84,544],[87,541],[90,538],[93,535],[96,532],[99,529],[102,526],[105,523],[108,519],[111,516],[114,513],[116,510],[119,507],[122,504],[125,501],[127,498],[130,495],[133,492],[136,489],[138,486],[141,483],[144,480],[146,477],[149,474],[151,471],[154,468],[157,465],[159,462],[162,459],[164,456],[167,453],[170,449],[172,446],[175,443],[178,440],[180,437],[183,434],[185,431],[188,428],[191,425],[194,422],[196,419],[199,416],[202,413],[204,410],[207,407],[210,404],[213,401],[216,398],[219,395],[221,392],[224,389],[227,386],[230,383],[233,380],[236,377],[240,374],[243,371],[246,368],[249,365],[252,362],[256,359],[259,356],[263,353],[266,350],[269,347],[273,344],[277,341],[280,339],[284,336],[288,333],[292,330],[296,328],[300,325],[304,322],[308,319]],
"OOA": [[727,455],[724,453],[721,450],[718,447],[715,445],[712,442],[709,439],[706,437],[703,434],[700,431],[697,429],[694,426],[691,423],[688,421],[685,418],[682,415],[679,413],[676,410],[673,408],[670,405],[667,402],[663,400],[660,397],[657,395],[654,392],[650,389],[647,387],[644,384],[640,382],[637,379],[634,377],[630,374],[627,372],[623,369],[619,367],[616,365],[612,362],[608,360],[605,357],[601,355],[597,353],[593,351],[589,348],[585,346],[581,344],[577,342],[573,340],[569,337],[564,335],[560,333],[556,331],[551,330],[547,328],[542,326],[538,324],[533,322],[529,321],[524,319],[519,318],[514,316],[510,315],[505,313],[500,312],[495,311],[490,310],[485,308],[479,307],[474,306],[469,306],[464,305],[459,304],[453,303],[448,303],[443,302],[437,302],[432,302],[427,302],[421,301],[416,301],[411,301],[405,302],[400,302],[394,302],[389,303],[384,303],[379,304],[373,304],[368,305],[363,306],[358,307],[352,308],[347,309],[342,310],[337,311],[332,312],[327,314],[322,315],[318,316],[313,318],[308,319]],
"OOB": [[741,259],[738,256],[735,253],[732,251],[728,248],[725,245],[722,243],[718,240],[714,238],[711,235],[707,232],[703,230],[699,227],[695,225],[690,223],[686,220],[681,218],[677,216],[672,213],[667,211],[662,209],[657,207],[652,205],[646,203],[641,202],[635,200],[629,198],[623,197],[617,196],[611,194],[605,193],[599,192],[592,191],[586,190],[579,190],[573,189],[566,189],[560,189],[553,188],[546,188],[540,189],[533,189],[527,189],[520,190],[513,190],[507,191],[501,192],[494,193],[488,194],[482,196],[476,197],[470,199],[465,200],[459,202],[453,204],[448,205],[443,207],[438,209],[433,212],[428,214],[423,216],[418,218],[414,220],[409,223],[405,225],[401,228],[397,230],[393,233],[389,235],[385,238],[382,240],[378,243],[375,246],[371,248],[368,251],[365,254],[362,256],[359,259],[356,262],[353,265],[350,267],[348,270],[345,273],[342,276],[340,278],[337,281],[335,284],[333,287],[330,289],[328,292],[326,295],[324,298],[322,300],[320,303],[318,306],[316,309],[314,311],[312,314],[310,317],[308,319]],
"OOE": [[989,392],[990,387],[991,383],[992,379],[993,374],[994,370],[996,366],[997,361],[998,357],[999,352],[1001,348],[1002,343],[1003,338],[1005,334],[1006,329],[1008,324],[1009,320],[1011,315],[1012,310],[1014,305],[1016,300],[1018,295],[1019,291],[1021,285],[1023,280],[1026,275],[1028,270],[1030,265],[1033,260],[1035,254],[1038,249],[1041,243],[1044,238],[1047,232],[1051,227],[1054,221],[1058,215],[1062,210],[1067,204],[1072,198],[1077,192],[1083,186],[1089,180],[1095,174],[1103,169],[1110,163],[1119,157],[1128,152],[1139,146],[1150,141],[1162,136],[1176,131],[1190,127],[1206,124],[1222,121],[1240,118],[1258,117],[20,116],[39,116],[58,116],[76,118],[94,120],[111,123],[126,127],[141,131],[154,136],[167,141],[178,146],[188,151],[198,157],[206,162],[214,168],[222,174],[228,180],[234,186],[240,192],[245,198],[250,203],[255,209],[259,215],[263,221],[266,226],[270,232],[273,238],[276,243],[279,249],[282,254],[284,259],[287,265],[289,270],[292,275],[294,280],[296,285],[298,290],[300,295],[301,300],[303,305],[305,310],[307,315],[308,319]],
"OOO": [[1222,535],[1225,533],[1228,530],[1232,528],[1235,526],[1238,523],[1242,521],[1245,519],[1248,516],[1251,514],[1255,512],[1258,509],[1261,507],[1264,504],[1267,502],[1270,500],[17,497],[20,495],[23,492],[26,490],[29,488],[32,485],[35,483],[38,480],[41,478],[44,475],[47,473],[50,470],[53,468],[56,465],[59,463],[62,460],[65,458],[68,456],[71,453],[74,451],[77,448],[80,446],[82,443],[85,441],[88,438],[91,436],[94,433],[97,431],[101,429],[104,426],[107,424],[110,421],[113,419],[116,416],[119,414],[122,412],[125,409],[128,407],[132,404],[135,402],[138,400],[141,397],[145,395],[148,393],[151,390],[154,388],[158,386],[161,383],[165,381],[168,379],[172,377],[175,374],[179,372],[182,370],[186,368],[190,366],[193,364],[197,361],[201,359],[205,357],[208,355],[212,353],[216,351],[220,349],[224,348],[228,346],[232,344],[236,342],[241,340],[245,339],[249,337],[253,335],[258,334],[262,332],[267,331],[271,329],[276,328],[280,326],[285,325],[289,324],[294,323],[299,322],[303,320],[308,319]],
"PAN": [[364,427],[363,426],[363,425],[363,424],[362,423],[362,422],[361,421],[361,420],[360,419],[360,418],[359,417],[359,416],[358,415],[358,414],[357,413],[357,411],[356,410],[356,409],[355,408],[355,407],[354,406],[354,405],[353,404],[353,403],[352,402],[352,401],[351,400],[351,399],[350,398],[350,397],[349,396],[349,394],[348,393],[348,392],[347,391],[347,390],[346,389],[346,388],[345,387],[345,386],[344,385],[344,384],[343,383],[343,382],[342,380],[342,379],[341,378],[341,377],[340,376],[339,375],[339,374],[338,373],[338,372],[337,371],[337,370],[336,369],[336,367],[335,366],[334,365],[334,364],[333,363],[333,362],[332,361],[332,360],[331,359],[330,358],[330,356],[329,355],[329,354],[328,353],[327,352],[327,351],[326,350],[326,349],[325,348],[324,347],[324,345],[323,344],[322,343],[322,342],[321,341],[321,340],[320,339],[319,338],[319,336],[318,335],[317,334],[317,333],[316,332],[315,331],[314,330],[314,329],[313,327],[312,326],[312,325],[311,324],[310,323],[310,322],[309,321],[308,319]],
"PER": [[378,494],[377,492],[377,490],[376,489],[375,487],[375,485],[374,484],[373,482],[373,480],[372,478],[372,477],[371,475],[370,473],[370,472],[369,470],[369,468],[368,466],[367,465],[367,463],[366,461],[365,460],[365,458],[364,456],[364,454],[363,453],[362,451],[362,449],[361,448],[361,446],[360,444],[359,442],[359,441],[358,439],[357,437],[357,436],[356,434],[356,432],[355,430],[354,429],[354,427],[353,425],[352,424],[352,422],[351,420],[350,418],[350,417],[349,415],[349,413],[348,412],[347,410],[347,408],[346,406],[345,405],[345,403],[344,401],[343,399],[343,398],[342,396],[341,394],[341,392],[340,391],[339,389],[338,387],[338,385],[337,384],[336,382],[336,380],[335,378],[334,376],[333,375],[333,373],[332,371],[331,369],[330,367],[330,366],[329,364],[328,362],[327,360],[327,358],[326,357],[325,355],[324,353],[323,351],[323,349],[322,348],[321,346],[320,344],[319,342],[318,340],[317,338],[317,336],[316,335],[315,333],[314,331],[313,329],[312,327],[311,325],[310,323],[309,321],[308,319]],
"PHL": [[1069,413],[1071,410],[1074,406],[1076,403],[1079,399],[1081,396],[1083,392],[1086,388],[1088,385],[1091,381],[1094,378],[1096,374],[1099,371],[1102,367],[1104,363],[1107,360],[1110,356],[1113,353],[1116,349],[1119,346],[1122,342],[1125,338],[1128,335],[1132,331],[1135,328],[1138,324],[1142,321],[1146,317],[1149,314],[1153,310],[1157,307],[1161,303],[1165,300],[1169,296],[1173,293],[1178,289],[1182,286],[1187,283],[1192,280],[1197,276],[1202,273],[1207,270],[1212,267],[1218,264],[1223,261],[1229,258],[1235,256],[1241,253],[1248,251],[1254,248],[1261,246],[1267,244],[18,242],[25,240],[32,238],[39,237],[46,236],[54,234],[61,233],[69,233],[77,232],[84,232],[92,231],[100,231],[108,231],[115,232],[123,232],[131,233],[138,234],[146,235],[153,236],[161,238],[168,240],[175,241],[182,243],[188,245],[195,248],[202,250],[208,252],[214,255],[220,258],[226,260],[232,263],[237,266],[243,269],[248,272],[253,275],[258,279],[263,282],[267,285],[272,288],[276,292],[281,295],[285,299],[289,302],[293,305],[297,309],[301,312],[304,316],[308,319]],
"POL": [[713,259],[710,257],[707,254],[703,252],[700,250],[696,247],[693,245],[689,243],[686,241],[682,238],[678,236],[674,234],[670,232],[666,230],[661,228],[657,226],[653,225],[648,223],[644,221],[639,219],[634,218],[629,216],[624,215],[619,213],[614,212],[609,211],[603,210],[598,208],[593,208],[587,207],[582,206],[576,205],[570,205],[565,204],[559,204],[553,203],[547,203],[542,203],[536,203],[530,203],[524,204],[519,204],[513,204],[507,205],[502,206],[496,206],[491,207],[485,208],[480,209],[474,210],[469,211],[464,213],[459,214],[454,216],[449,217],[444,219],[439,220],[435,222],[430,224],[426,226],[421,228],[417,229],[413,231],[409,233],[405,236],[401,238],[397,240],[393,242],[390,244],[386,246],[383,249],[379,251],[376,253],[372,256],[369,258],[366,260],[363,263],[360,265],[357,268],[354,270],[352,272],[349,275],[346,277],[344,280],[341,282],[339,285],[336,287],[334,290],[331,292],[329,295],[327,297],[324,300],[322,302],[320,305],[318,307],[316,310],[314,312],[312,315],[310,317],[308,319]],
"PRT": [[615,313],[613,312],[610,311],[607,309],[605,308],[602,307],[599,305],[596,304],[594,303],[591,302],[588,301],[585,299],[582,298],[579,297],[576,296],[574,295],[571,294],[568,293],[564,292],[561,291],[558,290],[555,289],[552,288],[549,287],[546,286],[543,286],[539,285],[536,284],[533,283],[530,283],[526,282],[523,281],[520,281],[516,280],[513,280],[510,279],[506,279],[503,278],[499,278],[496,278],[493,277],[489,277],[486,277],[482,277],[479,277],[475,277],[472,276],[468,276],[465,276],[461,276],[458,277],[454,277],[451,277],[448,277],[444,277],[441,278],[437,278],[434,278],[430,279],[427,279],[424,279],[420,280],[417,280],[414,281],[410,282],[407,282],[404,283],[400,284],[397,284],[394,285],[391,286],[387,287],[384,288],[381,288],[378,289],[375,290],[372,291],[369,292],[366,293],[363,294],[360,295],[357,296],[354,298],[351,299],[348,300],[345,301],[342,302],[340,303],[337,305],[334,306],[331,307],[329,309],[326,310],[323,311],[321,313],[318,314],[316,315],[313,317],[311,318],[308,319]],
"PRY": [[441,541],[439,538],[438,536],[437,534],[435,532],[434,529],[433,527],[431,525],[430,523],[429,520],[427,518],[426,516],[425,514],[424,511],[422,509],[421,507],[420,505],[419,503],[417,500],[416,498],[415,496],[414,494],[412,492],[411,489],[410,487],[409,485],[408,483],[406,481],[405,478],[404,476],[403,474],[402,472],[400,470],[399,467],[398,465],[397,463],[396,461],[395,459],[393,456],[392,454],[391,452],[390,450],[389,448],[387,445],[386,443],[385,441],[384,439],[383,437],[382,434],[380,432],[379,430],[378,428],[377,426],[376,423],[374,421],[373,419],[372,417],[371,415],[369,412],[368,410],[367,408],[366,406],[364,403],[363,401],[362,399],[360,397],[359,395],[358,392],[357,390],[355,388],[354,386],[353,383],[351,381],[350,379],[348,377],[347,374],[346,372],[344,370],[343,368],[341,365],[340,363],[338,361],[337,359],[335,356],[334,354],[332,352],[331,349],[329,347],[327,345],[326,343],[324,340],[322,338],[321,336],[319,333],[317,331],[315,329],[314,326],[312,324],[310,322],[308,319]],
"ROU": [[730,286],[728,283],[725,281],[722,278],[719,276],[716,273],[712,271],[709,268],[706,266],[703,263],[699,261],[695,258],[692,256],[688,253],[684,251],[680,249],[676,247],[672,244],[668,242],[664,240],[660,238],[655,236],[651,234],[646,232],[641,230],[636,228],[631,227],[626,225],[621,223],[616,222],[611,220],[605,219],[600,218],[594,217],[589,216],[583,215],[577,214],[571,213],[565,212],[560,212],[554,211],[548,211],[542,211],[536,211],[530,211],[524,211],[518,211],[512,212],[506,212],[500,213],[494,214],[488,214],[483,215],[477,216],[472,218],[466,219],[461,220],[455,221],[450,223],[445,225],[440,226],[435,228],[430,230],[425,232],[421,233],[416,235],[411,237],[407,240],[403,242],[399,244],[394,246],[390,248],[387,251],[383,253],[379,255],[375,258],[372,260],[368,263],[365,265],[362,268],[358,270],[355,273],[352,275],[349,278],[346,280],[343,283],[340,285],[337,288],[335,291],[332,293],[329,296],[327,298],[324,301],[322,304],[319,306],[317,309],[315,312],[313,314],[310,317],[308,319]],
"RUS": [[807,219],[805,216],[802,212],[799,209],[796,205],[792,201],[789,198],[786,194],[782,191],[778,187],[774,183],[770,180],[765,176],[760,173],[755,169],[750,166],[744,162],[739,159],[732,155],[726,152],[719,149],[712,146],[704,143],[696,140],[688,137],[679,135],[670,133],[660,131],[651,129],[640,127],[630,126],[619,125],[608,124],[597,123],[586,123],[575,123],[563,123],[552,124],[541,125],[531,126],[520,128],[510,130],[501,132],[491,134],[482,136],[474,139],[465,142],[458,144],[450,147],[443,151],[437,154],[430,157],[424,160],[418,164],[413,167],[408,171],[403,174],[398,178],[394,182],[390,185],[386,189],[382,192],[378,196],[375,200],[372,203],[368,207],[365,210],[363,214],[360,218],[357,221],[355,225],[352,228],[350,232],[348,235],[345,239],[343,242],[341,246],[339,249],[337,252],[336,256],[334,259],[332,263],[330,266],[329,269],[327,272],[326,276],[324,279],[323,282],[321,285],[320,289],[319,292],[317,295],[316,298],[315,301],[314,304],[313,307],[311,310],[310,313],[309,316],[308,319]],
"SLV": [[333,410],[333,409],[332,408],[332,408],[332,407],[332,406],[332,405],[331,404],[331,403],[331,402],[331,401],[330,401],[330,400],[330,399],[330,398],[330,397],[329,396],[329,395],[329,394],[329,394],[329,393],[328,392],[328,391],[328,390],[328,389],[327,388],[327,387],[327,386],[327,386],[327,385],[326,384],[326,383],[326,382],[326,381],[325,380],[325,379],[325,378],[325,377],[324,377],[324,376],[324,375],[324,374],[324,373],[323,372],[323,371],[323,370],[323,369],[322,368],[322,368],[322,367],[322,366],[321,365],[321,364],[321,363],[321,362],[320,361],[320,360],[320,359],[320,358],[319,357],[319,357],[319,356],[319,355],[318,354],[318,353],[318,352],[318,351],[317,350],[317,349],[317,348],[317,347],[316,346],[316,345],[316,344],[315,343],[315,343],[315,342],[315,341],[314,340],[314,339],[314,338],[313,337],[313,336],[313,335],[313,334],[312,333],[312,332],[312,331],[311,330],[311,329],[311,328],[311,327],[310,326],[310,325],[310,324],[309,323],[309,322],[309,321],[308,320],[308,319]],
"SRB": [[716,295],[714,292],[711,290],[708,287],[705,285],[702,283],[699,280],[695,278],[692,276],[689,273],[686,271],[682,269],[679,267],[675,264],[671,262],[668,260],[664,258],[660,256],[656,254],[652,252],[648,250],[643,248],[639,246],[635,244],[630,243],[626,241],[621,239],[617,238],[612,236],[607,235],[602,234],[597,232],[592,231],[587,230],[582,229],[576,228],[571,227],[566,226],[560,226],[555,225],[550,225],[544,224],[539,224],[533,224],[528,224],[522,224],[517,224],[511,224],[506,224],[500,225],[495,225],[489,226],[484,227],[479,227],[473,228],[468,229],[463,230],[458,231],[453,233],[448,234],[443,235],[438,237],[433,238],[429,240],[424,241],[420,243],[415,245],[411,246],[406,248],[402,250],[398,252],[394,254],[390,256],[386,258],[382,260],[379,262],[375,265],[371,267],[368,269],[364,271],[361,274],[358,276],[355,278],[351,280],[348,283],[345,285],[342,288],[339,290],[336,292],[334,295],[331,297],[328,300],[325,302],[323,305],[320,307],[318,310],[315,312],[313,315],[310,317],[308,319]],
"SUR": [[448,445],[447,444],[445,442],[444,441],[443,440],[442,438],[441,437],[440,436],[438,434],[437,433],[436,432],[435,430],[434,429],[432,428],[431,426],[430,425],[429,424],[428,422],[426,421],[425,420],[424,419],[423,417],[422,416],[420,415],[419,413],[418,412],[417,411],[415,409],[414,408],[413,407],[412,405],[410,404],[409,403],[408,402],[407,400],[405,399],[404,398],[403,396],[402,395],[400,394],[399,392],[398,391],[396,390],[395,388],[394,387],[392,386],[391,385],[390,383],[388,382],[387,381],[386,379],[384,378],[383,377],[382,376],[380,374],[379,373],[377,372],[376,370],[375,369],[373,368],[372,367],[370,365],[369,364],[367,363],[366,362],[365,360],[363,359],[362,358],[360,356],[359,355],[357,354],[355,353],[354,351],[352,350],[351,349],[349,348],[348,347],[346,345],[344,344],[343,343],[341,342],[340,340],[338,339],[336,338],[335,337],[333,336],[331,334],[330,333],[328,332],[326,331],[324,330],[323,329],[321,327],[319,326],[317,325],[315,324],[314,323],[312,322],[310,321],[308,319]],
"SWE": [[696,209],[692,207],[687,205],[683,203],[679,201],[674,199],[670,197],[665,195],[660,193],[655,192],[650,190],[645,189],[640,187],[635,186],[629,184],[624,183],[618,182],[613,181],[607,180],[601,179],[595,179],[589,178],[583,177],[577,177],[571,177],[565,176],[559,176],[553,176],[546,177],[540,177],[534,177],[528,178],[522,178],[516,179],[510,180],[505,181],[499,182],[493,183],[488,184],[482,185],[477,186],[472,188],[466,189],[461,191],[456,193],[452,194],[447,196],[442,198],[438,200],[433,202],[429,204],[425,206],[421,208],[417,210],[413,212],[409,214],[405,216],[402,219],[398,221],[395,223],[392,226],[388,228],[385,230],[382,233],[379,235],[376,237],[373,240],[371,242],[368,245],[365,247],[363,249],[360,252],[358,254],[355,257],[353,259],[351,262],[349,264],[346,266],[344,269],[342,271],[340,274],[338,276],[336,279],[334,281],[332,284],[330,286],[329,288],[327,291],[325,293],[323,296],[322,298],[320,300],[319,303],[317,305],[315,308],[314,310],[312,312],[311,315],[310,317],[308,319]],
"SYR": [[776,331],[773,328],[771,325],[769,322],[766,319],[764,316],[761,313],[758,309],[755,306],[753,303],[750,300],[747,297],[744,294],[741,291],[738,288],[734,284],[731,281],[728,278],[724,275],[720,272],[717,269],[713,266],[709,263],[705,260],[701,257],[696,254],[692,251],[688,249],[683,246],[678,243],[673,240],[668,238],[663,235],[658,233],[652,230],[647,228],[641,226],[635,224],[629,222],[623,220],[616,218],[610,216],[603,215],[597,214],[590,212],[583,211],[576,210],[569,209],[562,209],[555,208],[547,208],[540,208],[533,208],[526,208],[519,208],[512,209],[504,210],[497,210],[490,211],[484,212],[477,214],[470,215],[464,217],[457,218],[451,220],[445,222],[439,224],[433,226],[427,229],[421,231],[416,233],[411,236],[406,238],[401,241],[396,244],[391,246],[386,249],[382,252],[377,255],[373,258],[369,261],[365,264],[361,267],[357,270],[354,273],[350,276],[346,279],[343,282],[340,285],[336,288],[333,291],[330,294],[327,297],[324,301],[321,304],[319,307],[316,310],[313,313],[311,316],[308,319]],
"TUR": [[765,315],[763,312],[760,309],[758,306],[755,303],[752,300],[750,297],[747,294],[744,291],[741,288],[738,285],[735,282],[732,279],[728,276],[725,274],[721,271],[718,268],[714,265],[711,262],[707,259],[703,256],[699,253],[695,251],[690,248],[686,245],[681,243],[677,240],[672,238],[667,235],[662,233],[657,230],[651,228],[646,226],[640,224],[635,222],[629,220],[623,218],[617,217],[611,215],[604,213],[598,212],[592,211],[585,210],[578,209],[572,208],[565,207],[558,207],[551,207],[544,206],[537,206],[530,206],[523,207],[516,207],[510,208],[503,208],[496,209],[489,210],[483,211],[476,213],[470,214],[464,215],[458,217],[452,219],[446,221],[440,223],[434,225],[429,227],[423,229],[418,231],[413,234],[408,236],[403,238],[398,241],[394,244],[389,246],[385,249],[381,252],[377,254],[373,257],[369,260],[365,263],[361,266],[358,269],[354,272],[351,275],[347,278],[344,280],[341,283],[338,286],[335,289],[332,292],[329,295],[326,298],[323,301],[321,304],[318,307],[315,310],[313,313],[310,316],[308,319]],
"TWN": [[1066,375],[1068,372],[1070,368],[1072,365],[1074,361],[1077,358],[1079,354],[1081,350],[1084,347],[1086,343],[1089,340],[1091,336],[1094,332],[1096,329],[1099,325],[1102,322],[1105,318],[1108,314],[1111,311],[1114,307],[1117,303],[1120,300],[1124,296],[1127,293],[1130,289],[1134,285],[1138,282],[1142,278],[1146,275],[1150,271],[1154,268],[1159,264],[1163,261],[1168,257],[1173,254],[1178,251],[1183,247],[1188,244],[1194,241],[1199,238],[1205,235],[1211,232],[1218,229],[1224,226],[1231,224],[1238,222],[1245,219],[1252,217],[1259,215],[1267,213],[18,212],[26,210],[34,209],[42,208],[50,207],[58,206],[67,206],[75,206],[83,206],[92,206],[100,207],[108,207],[116,208],[125,209],[132,211],[140,212],[148,214],[155,216],[163,218],[170,220],[177,222],[184,225],[190,228],[197,230],[203,233],[209,236],[215,239],[220,242],[226,245],[231,249],[236,252],[241,255],[246,259],[250,262],[255,266],[259,269],[263,273],[268,276],[271,280],[275,283],[279,287],[283,290],[286,294],[290,298],[293,301],[296,305],[299,309],[302,312],[305,316],[308,319]],
"URY": [[448,578],[446,576],[444,573],[443,570],[441,568],[439,565],[438,562],[436,560],[435,557],[433,554],[432,552],[430,549],[429,546],[427,544],[426,541],[424,538],[423,536],[421,533],[420,530],[419,528],[417,525],[416,523],[415,520],[413,517],[412,515],[411,512],[409,510],[408,507],[407,505],[405,502],[404,499],[403,497],[402,494],[400,492],[399,489],[398,487],[397,484],[395,481],[394,479],[393,476],[392,474],[391,471],[389,469],[388,466],[387,464],[386,461],[384,458],[383,456],[382,453],[381,451],[380,448],[378,446],[377,443],[376,441],[375,438],[373,435],[372,433],[371,430],[370,428],[368,425],[367,423],[366,420],[365,418],[363,415],[362,412],[361,410],[360,407],[358,405],[357,402],[356,399],[354,397],[353,394],[352,392],[350,389],[349,386],[347,384],[346,381],[345,379],[343,376],[342,373],[340,371],[339,368],[337,365],[336,363],[334,360],[333,357],[331,355],[329,352],[328,349],[326,347],[324,344],[323,341],[321,339],[319,336],[317,333],[316,330],[314,328],[312,325],[310,322],[308,319]],
"VEN": [[413,431],[412,430],[411,429],[410,427],[409,426],[408,425],[408,424],[407,423],[406,422],[405,421],[404,419],[403,418],[402,417],[401,416],[400,415],[399,414],[399,413],[398,411],[397,410],[396,409],[395,408],[394,407],[393,406],[392,405],[391,404],[390,402],[389,401],[388,400],[388,399],[387,398],[386,397],[385,396],[384,394],[383,393],[382,392],[381,391],[380,390],[379,389],[378,388],[377,386],[376,385],[375,384],[374,383],[373,382],[372,381],[371,380],[370,378],[369,377],[368,376],[367,375],[366,374],[365,373],[364,372],[363,371],[362,369],[361,368],[360,367],[359,366],[358,365],[357,364],[356,363],[354,361],[353,360],[352,359],[351,358],[350,357],[349,356],[348,355],[347,354],[346,352],[344,351],[343,350],[342,349],[341,348],[340,347],[339,346],[337,345],[336,344],[335,342],[334,341],[333,340],[331,339],[330,338],[329,337],[328,336],[326,335],[325,334],[324,332],[323,331],[321,330],[320,329],[319,328],[318,327],[316,326],[315,325],[314,324],[312,323],[311,322],[309,321],[308,319]],
"VNM": [[1020,402],[1021,398],[1023,394],[1025,390],[1026,386],[1028,381],[1030,377],[1032,373],[1034,369],[1036,365],[1037,360],[1039,356],[1041,352],[1044,348],[1046,343],[1048,339],[1050,335],[1052,330],[1055,326],[1057,322],[1059,317],[1062,313],[1065,308],[1067,304],[1070,299],[1073,295],[1076,290],[1079,286],[1082,281],[1086,276],[1089,272],[1093,267],[1097,263],[1101,258],[1105,253],[1109,249],[1114,244],[1119,239],[1124,235],[1129,230],[1135,226],[1141,221],[1147,217],[1153,212],[1160,208],[1167,204],[1175,200],[1183,196],[1191,192],[1200,188],[1209,185],[1219,182],[1229,179],[1240,177],[1250,174],[1262,172],[16,171],[28,170],[40,169],[52,169],[64,169],[76,169],[87,170],[99,172],[110,173],[121,175],[132,178],[142,180],[152,183],[162,187],[171,190],[179,194],[187,198],[195,202],[203,206],[210,210],[216,214],[223,219],[229,223],[234,228],[240,232],[245,237],[250,242],[255,246],[259,251],[263,256],[268,260],[271,265],[275,270],[279,274],[282,279],[285,283],[289,288],[292,293],[295,297],[298,302],[300,306],[303,311],[306,315],[308,319]],
"ZAF": [[727,563],[722,561],[718,558],[713,556],[709,554],[704,551],[700,549],[696,546],[691,544],[687,541],[683,539],[679,536],[675,533],[670,531],[666,528],[662,525],[658,523],[654,520],[651,517],[647,514],[643,512],[639,509],[635,506],[631,503],[628,500],[624,498],[620,495],[617,492],[613,489],[609,486],[606,483],[602,481],[598,478],[595,475],[591,472],[588,469],[584,466],[581,463],[577,461],[573,458],[570,455],[566,452],[563,449],[559,446],[555,443],[552,440],[548,438],[545,435],[541,432],[537,429],[534,426],[530,423],[526,421],[523,418],[519,415],[515,412],[511,409],[508,407],[504,404],[500,401],[496,398],[492,396],[488,393],[484,390],[480,388],[476,385],[472,382],[468,380],[463,377],[459,375],[455,372],[451,369],[446,367],[442,365],[437,362],[433,360],[428,357],[424,355],[419,353],[414,351],[409,349],[404,346],[400,344],[395,342],[390,340],[385,339],[379,337],[374,335],[369,333],[364,332],[358,330],[353,329],[347,327],[342,326],[336,325],[331,323],[325,322],[320,321],[314,320],[308,319]]
};
var descript = [
[10,10,10,3,10,10,1,10,10,10,10,10,2,128502,"1820 to 1829"],
[10,10,10,10,2,10,1,10,10,10,10,10,3,538381,"1830 to 1839"],
[10,10,10,10,2,10,1,10,10,10,10,10,3,1427337,"1840 to 1849"],
[10,10,10,10,2,10,1,10,10,10,10,10,3,2814554,"1850 to 1859"],
[10,10,10,10,1,10,3,10,10,10,10,10,2,2081261,"1860 to 1869"],
[10,10,10,10,1,10,3,10,10,10,10,10,2,2742137,"1870 to 1879"],
[10,10,10,10,1,10,3,10,10,10,10,10,2,5248568,"1880 to 1889"],
[10,10,10,10,2,10,10,1,10,10,10,3,10,3694294,"1890 to 1899"],
[10,10,10,10,10,3,10,1,10,10,10,2,10,8202388,"1900 to 1909"],
[3,10,10,10,10,10,10,1,10,10,10,2,10,6347380,"1910 to 1919"],
[1,10,10,10,10,10,10,2,3,10,10,10,10,4295510,"1920 to 1929"],
[1,10,10,10,2,10,10,3,10,10,10,10,10,699375,"1930 to 1939"],
[1,10,10,10,3,10,10,10,10,10,10,10,2,856608,"1940 to 1949"],
[2,10,10,10,1,10,10,10,3,10,10,10,10,2499268,"1950 to 1959"],
[2,10,10,10,10,10,10,10,1,10,10,10,3,3213749,"1960 to 1969"],
[10,10,3,10,10,10,10,10,1,10,2,10,10,4248203,"1970 to 1979"],
[10,10,10,10,10,10,10,10,1,3,2,10,10,6244379,"1980 to 1989"],
[10,10,10,10,10,10,10,10,1,2,3,10,10,9775398,"1990 to 1999"],
[10,3,10,10,10,10,10,10,1,2,10,10,10,10299430,"2000 to 2009"],
[10,3,10,10,10,10,10,10,1,2,10,10,10,4126849,"2010 to 2013"]
];
var countryarr = [
["AUT","0,255,0"], ["HUN","138,43,226"], ["BEL","255,255,255"], ["BGR","255,255,255"], ["CZE","255,255,0"], ["DNK","135,206,235"], ["FIN","255,255,0"], ["FRA","127,255,0"], ["DEU","0,0,255"], ["GRC","218,165,32"], ["IRL","255,0,0"], ["ITA","255,192,203"], ["NLD","218,165,32"], ["NOR","135,206,235"], ["SWE","0,255,0"], ["POL","255,0,0"], ["PRT","0,255,0"], ["ROU","255,0,255"], ["RUS","138,43,226"], ["ESP","138,43,226"], ["CHE","255,125,0"], ["GBR","255,125,0"], ["SRB","70,130,180"], ["CHN","255,125,0"], ["HHH","0,0,255"], ["IND","255,0,0"], ["IRN","255,0,255"], ["ISR","218,165,32"], ["JPN","0,255,0"], ["JOR","0,255,0"], ["KOR","138,43,226"], ["PHL","255,255,255"], ["SYR","255,255,0"], ["TWN","255,0,0"], ["TUR","0,255,0"], ["VNM","0,255,0"], ["CAN","255,0,0"], ["MEX","255,125,0"], ["CUB","0,255,0"], ["DOM","255,192,203"], ["HTI","255,0,0"], ["JAM","70,130,180"], ["BLZ","255,192,203"], ["CRI","255,0,0"], ["SLV","255,255,255"], ["GTM","255,255,0"], ["HND","138,43,226"], ["NIC","218,165,32"], ["PAN","255,125,0"], ["ARG","255,0,255"], ["BOL","255,125,0"], ["BRA","255,192,203"], ["CHL","218,165,32"], ["COL","0,0,255"], ["ECU","135,206,235"], ["GUY","255,255,255"], ["PRY","255,0,0"], ["PER","127,255,0"], ["SUR","255,255,0"], ["URY","70,130,180"], ["VEN","0,255,0"], ["EGY","255,0,0"], ["ETH","255,0,255"], ["LBR","218,165,32"], ["MAR","218,165,32"], ["ZAF","255,0,0"], ["AUS","255,192,203"], ["NZL","0,255,0"],
["OOO","255,0,0"],
["OOA","255,125,0"],
["OOE","0,255,255"],
["OOB","138,43,226"]
];
var ctydist = [
[0, 0, 0.0028, 0, 0, 0.0173, 0, 0.7694, 0.5753, 0.0017, 5.1617, 0.043, 0.1105, 0, 0, 0.0019, 0.0252, 0, 0.0086, 0.2866, 0.3148, 2.6336, 0, 0.0003, 0, 0.0009, 0, 0, 0, 0, 0, 0, 0, 0, 0.0019, 0, 0.2297, 0.3835, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0001, 0, 0, 0.0002, 0, 0, 0.0018, 0.0003, 0.0003],
[0, 0, 0.002, 0, 0, 0.0927, 0, 3.933, 12.4726, 0.0049, 17.0672, 0.2225, 0.1377, 0, 0, 0.0366, 0.0896, 0, 0.028, 0.2016, 0.443, 7.435, 0, 0.0008, 0, 0.0038, 0, 0, 0, 0, 0, 0, 0, 0, 0.0008, 0, 1.1875, 0.7187, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0008, 0.0004, 0, 0.0001, 0, 0, 0.0054, 0.004, 0.0001],
[0, 0, 0.3996, 0, 0, 0.0671, 0, 7.53, 38.5434, 0.0017, 65.6145, 0.1476, 0.7624, 0, 0, 0.0105, 0.0359, 0, 0.052, 0.1917, 0.4819, 21.8572, 0, 0.0032, 0, 0.0033, 0.0007, 0, 0, 0, 0, 0, 0, 0, 0.0045, 0, 3.4285, 0.3069, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0005, 0.0001, 0, 0.0002, 0, 0.0001, 0.0061, 0.0079, 0.0004],
[0, 0, 0.5765, 0, 0, 0.3227, 0, 8.1778, 97.6072, 0.0032, 102.9486, 0.8643, 1.1122, 0, 0, 0.1087, 0.4218, 0, 0.0423, 0.8803, 2.4423, 44.5322, 0, 3.5933, 0, 0.0042, 0, 0, 0, 0, 0, 0, 0, 0, 0.0094, 0, 6.4171, 0.3446, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0005, 0, 0.0007, 0, 0, 0.0104, 0.0002, 0.0004, 0.0092, 0.0014, 0.0011],
[0.27, 0.0483, 0.5785, 0, 0, 1.3553, 0.0003, 3.5938, 72.3734, 0.0051, 42.7419, 0.9853, 0.8387, 0, 0, 0.1886, 0.4741, 0, 0.1667, 0.697, 2.1124, 53.2956, 0, 5.4028, 0, 0.005, 0.0004, 0, 0.0138, 0, 0, 0, 0.0002, 0, 0.0129, 0, 11.7975, 0.1957, 0.342, 0, 0.0078, 0.0061, 0.0009, 0.0002, 0, 0.0001, 0, 0, 0, 0.0007, 0, 0.0032, 0.0025, 0.0002, 0, 0.0041, 0, 0.0035, 0, 0, 0.0036, 0.0008, 0, 0.0043, 0, 0.0079, 0.0096, 0.0006, 0.0005, 0.0328, 0.001, 0.0057],
[5.4529, 0.5598, 0.6991, 0, 0, 2.9278, 0.0286, 7.1901, 75.1769, 0.0209, 42.2264, 4.6296, 1.4267, 8.8644, 9.0179, 1.1016, 1.399, 0, 3.4977, 0.5571, 2.5212, 57.8447, 0, 13.3139, 0, 0.0166, 0.0017, 0, 0.0193, 0, 0, 0.0004, 0.0007, 0, 0.0382, 0, 32.3974, 0.5133, 0.8705, 0, 0.0149, 0.0257, 0.0026, 0.0004, 0.0003, 0.001, 0.0011, 0.0001, 0, 0.0058, 0.0005, 0.0219, 0.0092, 0.0196, 0.0007, 0.0095, 0.0002, 0.0127, 0, 0.0022, 0.019, 0.0029, 0, 0.0052, 0.0015, 0.0048, 0.8933, 0.0039, 0.0122, 0.0297, 0.0626, 0.0163],
[20.4805, 10.9982, 1.8738, 0, 0, 8.5342, 0.9617, 4.8193, 144.5181, 0.1807, 67.4061, 26.766, 5.2715, 18.5111, 40.133, 4.291, 1.5189, 0.5842, 17.3081, 0.3999, 8.1151, 81.09, 0, 6.5797, 0, 0.0247, 0.0018, 0, 0.1583, 0, 0, 0.0001, 0.014, 0, 0.2478, 0, 49.2508, 0.2405, 2.0134, 0, 0.0124, 0.0355, 0.008, 0.0001, 0, 0.0003, 0.0004, 0.0001, 0, 0.0064, 0, 0.0199, 0.0044, 0.121, 0.0014, 0.0068, 0, 0.0025, 0, 0.0004, 0.0248, 0.0145, 0, 0.0021, 0.0012, 0.0023, 0.725, 0.0021, 0.007, 0.0567, 0.107, 0.0888],
[26.8218, 20.335, 1.9642, 0.0052, 0, 5.6671, 3.6719, 3.5616, 57.9072, 1.2732, 40.571, 60.3761, 2.9349, 9.681, 23.7248, 10.7793, 2.5874, 0.6808, 41.3382, 0.9189, 3.702, 32.8759, 0, 1.5268, 0, 0.0102, 0.0026, 0, 1.3998, 0, 0, 0.0019, 0, 0, 2.751, 0, 0.2668, 0.0734, 2.3669, 0, 0.0101, 0.0223, 0.0025, 0.0004, 0.0007, 0.0009, 0.0004, 0.0003, 0, 0.0036, 0, 0.0092, 0.0066, 0.0607, 0.0033, 0.0027, 0, 0.0079, 0, 0.0144, 0, 0.0051, 0, 0.0009, 0.0009, 0.0009, 0.3098, 0.0012, 0.0169, 0.0354, 0.0145, 0.4381],
[53.2416, 68.5567, 3.7429, 3.4651, 0, 6.1227, 0, 6.7735, 32.8722, 14.5402, 34.494, 193.0475, 4.2463, 18.2542, 24.4439, 0, 6.5154, 5.7322, 150.1301, 2.4818, 3.2541, 46.9518, 0, 1.9884, 0, 0.3026, 0, 0, 13.9712, 0, 0, 0.0605, 0, 0, 12.7999, 0, 12.3067, 3.1188, 0, 0, 0, 0, 0.0583, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.1191, 0, 0.0486, 0.6326, 0.0514, 0.9215],
[58.9174, 56.5553, 3.2574, 2.718, 0, 4.583, 0, 6.0335, 17.4227, 19.8108, 16.6445, 122.9916, 4.6065, 7.9488, 11.2957, 0, 8.2489, 1.3566, 110.6998, 5.3262, 2.2839, 37.1878, 0, 2.0916, 0, 0.3478, 0, 0, 7.7125, 0, 0, 0, 0, 0, 16.0717, 0, 70.8715, 18.5334, 0, 0, 0, 0, 0.004, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.128, 0, 0.1059, 0.8867, 0.6527, 0.75],
[3.1392, 2.9499, 2.1511, 0.2824, 10.1182, 3.4406, 1.6922, 5.4842, 38.6634, 6.0774, 20.1644, 52.8133, 2.9397, 7.0327, 10.0002, 22.442, 4.4829, 6.781, 6.1604, 4.7109, 3.1772, 34.2762, 4.9215, 3.0648, 0, 0.2076, 0.0208, 0, 4.2057, 0, 0, 0, 0.5307, 0, 4.0374, 0, 94.9286, 49.8945, 1.2769, 0, 0, 0, 0.0285, 0, 0, 0, 0, 0, 0, 0, 0, 0.4627, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.1063, 0, 0, 0, 0, 0.8404, 0.0935, 0.0521, 0.5299, 2.133, 0.607],
[0.6678, 0.7224, 0.4013, 0.1062, 1.7757, 0.347, 0.2438, 1.3761, 11.7736, 1.0599, 2.8195, 8.5053, 0.7791, 0.6901, 0.6551, 2.646, 0.3518, 0.5264, 0.2473, 0.3669, 0.599, 6.1813, 0.692, 0.5874, 0, 0.0554, 0.0198, 0, 0.2683, 0, 0, 0.0457, 0.2188, 0, 0.1314, 0, 16.2703, 3.2709, 1.0641, 0.1165, 0.0207, 0, 0.0193, 0.058, 0.0712, 0.0632, 0.0809, 0.0564, 0.1774, 0.1397, 0.0077, 0.1468, 0.0568, 0.1278, 0.032, 0.0193, 0.0036, 0.046, 0.0033, 0.0153, 0.136, 0.0781, 0.001, 0.0035, 0.011, 0.0312, 0.226, 0.079, 0.019, 0.0872, 0.9068, 0.6024],
[0.8496, 0.5181, 1.2473, 0.0449, 0.8475, 0.4549, 0.223, 3.6954, 11.9403, 0.8605, 1.5701, 5.0509, 1.3877, 0.8326, 0.9, 0.7774, 0.6765, 0.1254, 0.0605, 0.2774, 0.9904, 13.1794, 0.2039, 1.6072, 0, 0.1692, 0.1144, 0.0098, 0.1557, 0.0003, 0.0083, 0.4099, 0.1179, 0, 0.0754, 0, 16.0911, 5.6158, 2.5976, 0.4802, 0.0823, 0, 0.0433, 0.1965, 0.4885, 0.1303, 0.1874, 0.4393, 0.5282, 0.3108, 0.0893, 0.3653, 0.132, 0.3454, 0.2207, 0.0596, 0.0085, 0.1273, 0.013, 0.0754, 0.2182, 0.1613, 0.0028, 0.0037, 0.1463, 0.1022, 1.1201, 0.2351, 0.071, 0.2557, 0.5387, 0.7851],
[8.1354, 3.1661, 1.8885, 0.0097, 0.1624, 1.0918, 0.4923, 5.0113, 57.6905, 4.5153, 4.7189, 18.9061, 4.6703, 2.2813, 2.1418, 0.6498, 1.3928, 0.0914, 0.0453, 0.688, 1.7577, 19.5709, 0.6966, 0.8836, 1.3781, 0.1922, 0.3195, 2.1376, 4.1968, 0.4919, 0.4845, 1.7245, 0.1091, 0.0721, 0.298, 0.029, 35.3169, 27.3847, 7.3221, 1.0219, 0.3787, 0.7397, 0.1133, 0.4044, 0.5094, 0.4197, 0.532, 0.7812, 1.2601, 1.6346, 0.2759, 1.1547, 0.4669, 1.5567, 0.8574, 0.1131, 0.0576, 0.598, 0.0299, 0.1026, 0.9927, 0.1996, 0.0302, 0.0289, 0.3293, 0.2278, 0.8275, 0.1799, 0.1245, 0.4858, 0.7231, 1.2675],
[1.7571, 1.0019, 0.9647, 0.0598, 0.2758, 0.9797, 0.431, 4.6975, 20.9616, 7.4173, 3.7788, 20.0111, 3.7918, 1.7371, 1.8779, 5.5773, 7.0568, 0.2339, 0.2329, 4.0793, 1.9193, 22.0213, 1.799, 1.406, 6.7047, 1.8638, 0.9059, 3.0911, 4.0956, 0.923, 2.7048, 7.066, 0.2432, 1.5657, 0.9464, 0.2949, 43.3128, 44.1824, 20.203, 8.3552, 2.8992, 6.2218, 0.4185, 1.7975, 1.4405, 1.4357, 1.5087, 1.0383, 2.2177, 4.9384, 0.6205, 2.9238, 1.2384, 6.8371, 3.4107, 0.4546, 0.1249, 1.9783, 0.0612, 0.4089, 2.0758, 0.5581, 0.0804, 0.0841, 0.288, 0.436, 1.4986, 0.3775, 0.4898, 0.9314, 0.6814, 4.0452],
[1.4239, 0.6148, 0.5413, 0.1011, 0.5654, 0.4405, 0.2829, 2.7018, 7.7142, 10.237, 1.1461, 15.0031, 1.0373, 0.3927, 0.6371, 3.3699, 10.4754, 1.0774, 2.8132, 4.1718, 0.8536, 13.3218, 3.1862, 1.7627, 11.735, 14.8018, 3.3763, 3.6306, 5.2812, 2.5541, 24.1192, 33.7726, 0.8086, 8.3155, 1.2209, 12.1716, 17.9267, 62.1218, 25.6497, 13.9249, 5.5166, 13.0226, 0.6747, 1.2405, 2.9428, 2.3837, 1.5653, 1.0911, 2.1395, 3.0303, 0.5635, 1.86, 1.5032, 7.1265, 4.7464, 3.8278, 0.1486, 2.5311, 0.0714, 0.8416, 1.1007, 2.3543, 0.2588, 0.2391, 0.1967, 1.0002, 1.8708, 0.5018, 1.6257, 3.0914, 0.5242, 17.1025],
[1.5374, 0.5063, 0.7028, 0.1124, 0.5678, 0.4847, 0.2569, 3.2894, 8.5752, 3.7729, 2.221, 5.5562, 1.1234, 0.3835, 1.0106, 6.3483, 4.2685, 2.4753, 3.3311, 2.2783, 0.8316, 15.3644, 1.6267, 17.0897, 11.2132, 23.1649, 9.8141, 4.3669, 4.415, 2.8928, 32.2708, 50.2056, 1.4534, 11.9051, 1.9208, 20.0632, 15.6313, 100.9586, 13.2552, 22.1552, 12.1406, 19.3874, 1.4964, 2.5017, 13.7418, 5.8847, 3.9071, 3.1102, 3.2957, 2.3442, 0.9798, 2.2944, 1.9749, 10.5494, 4.8015, 8.5886, 0.3518, 4.9958, 0.1357, 0.7235, 2.2405, 2.6744, 1.2927, 0.642, 0.3471, 1.5505, 1.6901, 0.6129, 1.8402, 7.692, 0.3447, 48.3601],
[1.8234, 0.9295, 0.7077, 1.6948, 0.897, 0.6189, 0.397, 3.6552, 9.2207, 2.5403, 6.5384, 7.5992, 1.3345, 0.5211, 1.2614, 17.2249, 2.5497, 4.8136, 43.3427, 1.8443, 1.1768, 15.6182, 5.7039, 34.2058, 11.6894, 35.2528, 7.6899, 4.134, 6.6582, 4.2755, 17.977, 53.4338, 2.2906, 13.2647, 3.8687, 27.5379, 19.4788, 275.7418, 15.9037, 35.9818, 17.7446, 17.7143, 1.26, 1.7054, 27.3017, 12.6043, 7.288, 8.0446, 2.8149, 3.0065, 1.8111, 5.0744, 1.82, 13.7985, 8.1358, 7.4407, 0.6082, 11.0117, 0.2285, 0.6062, 3.518, 4.4604, 4.0097, 1.3587, 1.5768, 2.1964, 2.4288, 0.86, 2.3912, 21.039, 2.9087, 63.7116],
[2.1151, 1.2778, 0.8157, 4.0003, 1.8691, 0.6049, 0.397, 4.5637, 12.2373, 1.6841, 1.5642, 2.8329, 1.7351, 0.4599, 1.4783, 11.7921, 1.1479, 5.2154, 16.7152, 1.7695, 1.2173, 17.1979, 13.1831, 59.1711, 5.7583, 59.0464, 7.6755, 5.4081, 8.4552, 5.355, 20.9758, 54.5463, 3.0807, 9.2657, 4.8394, 28.9616, 23.6349, 170.4166, 27.1742, 29.1492, 20.3827, 17.2523, 0.9682, 2.1571, 25.1237, 15.6992, 6.3513, 7.0015, 1.812, 4.7955, 2.1921, 11.5404, 1.9792, 23.657, 10.7977, 7.0373, 0.4623, 13.7614, 0.2363, 0.9827, 8.2087, 8.1564, 8.7207, 2.3316, 4.0844, 3.2221, 3.2728, 1.2495, 2.057, 49.4582, 29.0871, 74.5444],
[0.3319, 0.1006, 0.0732, 0.2465, 0.151, 0.0545, 0.0414, 0.4339, 0.7929, 0.0966, 0.161, 0.2956, 0.152, 0.0363, 0.1299, 0.7391, 0.0759, 0.3735, 0.7502, 0.204, 0.0868, 1.4781, 0.4772, 6.7634, 0.3263, 6.6185, 0.9078, 0.5172, 0.71, 0.9327, 2.2022, 5.6399, 0.7424, 0.6785, 0.7435, 3.0065, 1.9491, 13.8717, 3.3372, 5.389, 2.2336, 1.9439, 0.0997, 0.2306, 1.8547, 1.0263, 0.6381, 0.3476, 0.1627, 0.4312, 0.2211, 1.2057, 0.194, 2.1861, 1.1463, 0.6441, 0.0449, 1.4063, 0.0202, 0.1286, 0.9497, 0.9822, 1.3853, 0.2924, 0.4847, 0.2705, 0.3077, 0.1046, 0.1823, 6.4095, 2.2608, 11.232],
[0.3654, 0.1049, 0.07, 0.2549, 0.1374, 0.0473, 0.0398, 0.3967, 0.7072, 0.1196, 0.1533, 0.267, 0.1258, 0.0405, 0.1125, 0.6634, 0.0878, 0.3679, 0.8548, 0.2319, 0.0861, 1.3443, 0.4611, 8.3603, 0.3149, 6.6331, 0.9015, 0.4389, 0.6751, 0.8211, 2.2748, 5.5251, 0.7983, 0.6206, 0.904, 3.3486, 1.9506, 14.2823, 3.6261, 4.6036, 2.1802, 1.9298, 0.0933, 0.223, 1.8477, 1.0795, 0.6053, 0.3314, 0.1447, 0.4335, 0.2113, 1.1643, 0.1854, 2.213, 1.1068, 0.6288, 0.0501, 1.3836, 0.0167, 0.1521, 0.9229, 0.9096, 1.3985, 0.3117, 0.4249, 0.2754, 0.3062, 0.1006, 0.1757, 6.4228, 2.0316, 12.2417],
[0.2199, 0.1009, 0.0698, 0.2322, 0.1316, 0.0492, 0.0373, 0.4201, 0.6732, 0.1264, 0.1694, 0.2946, 0.1294, 0.0314, 0.1127, 0.6024, 0.0837, 0.3477, 1.0114, 0.2316, 0.0916, 1.3938, 0.4488, 7.8184, 0.2642, 6.332, 0.8955, 0.464, 0.6581, 0.7014, 2.0802, 5.5441, 0.6674, 0.5295, 0.7362, 2.7578, 2.0138, 14.5326, 3.2551, 4.1535, 2.2446, 2.03, 0.0875, 0.2152, 1.5874, 0.9857, 0.6773, 0.2943, 0.1363, 0.4218, 0.192, 1.1248, 0.1628, 2.0272, 0.9284, 0.5282, 0.0454, 1.2414, 0.0216, 0.1348, 0.9464, 1.0172, 1.54, 0.3451, 0.3534, 0.296, 0.3146, 0.098, 0.1447, 6.8168, 1.6865, 12.2],
[0.1053, 0.1008, 0.0803, 0.272, 0.1258, 0.0546, 0.036, 0.4668, 0.688, 0.1526, 0.1765, 0.3233, 0.1376, 0.0389, 0.1276, 0.6073, 0.0917, 0.3475, 1.0154, 0.297, 0.104, 1.5321, 0.4445, 6.841, 0.2614, 6.5506, 0.9658, 0.4555, 0.6383, 0.5949, 2.2937, 5.2955, 0.3999, 0.5336, 0.7189, 2.6578, 2.0489, 13.4198, 3.1343, 4.1487, 2.0083, 1.9052, 0.0969, 0.2232, 1.8015, 0.9829, 0.8795, 0.294, 0.1276, 0.4227, 0.2005, 1.0772, 0.1751, 2.0611, 1.0553, 0.5564, 0.0437, 1.237, 0.017, 0.1314, 0.9512, 1.0719, 1.3484, 0.3036, 0.3202, 0.2693, 0.3529, 0.1027, 0.1505, 6.1455, 1.7839, 10.7232]
];
var ctytotal = [10.5714, 44.0888, 139.4579, 270.4326, 197.5914, 273.4942, 523.5436, 360.7466, 726.2458, 617.0442, 416.9214, 68.9088, 81.6498, 240.5394, 314.0484, 411.9751, 581.8929, 961.8763, 997.3706, 102.6454, 104.6206, 101.2583, 97.104];
var yr = 1820;
var dotstotal = ctytotal[Math.floor(yr/10)-182]/10;
var dotsactual = ctytotal[Math.floor(yr/10)-182]/10;
var countrydist = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0];
var testarr = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0];
countrydist = sumarrays(countrydist,ctydist[Math.floor(yr/10)-182], yr);
var speedmult = 2;
var speedadjust = 0;
var opacityscale = d3.scale.sqrt().domain([0,2,30,100,300]).range([0,0,0.7,0.9,0.99]);
var width = 1500,
height = 820;
var projection = d3.geo.miller()
.scale(200) //140
.translate([width / 2, height / 2])
.center([30.6, 13.9])
.precision(.1);
var path = d3.geo.path()
.projection(projection);
var usacoords = [[-96, 38]].map(projection);
var usasize = 0;
var usasizeold = 0;
var usasizeold2 = 0;
var usasizeold3 = 0;
var usasizeold4 = 0;
var usasizeold5 = 0;
var svg = d3.select("svg").append("svg")
.attr("id","svg");
var yearlabel = svg.append("text").attr("x", 452).attr("y", 658).text("1820").style("fill","white").style("font-size","26px").style("fill","rgb(200,200,200)").attr("text-anchor","start");
var ystart = 520;
var yoffset = 24;
var yoffset2 = 36;
var xstart = 40;
var xoffset = 10;
var font1 = "15px";
var font2 = "20px";
var rankoffset = 24;
var decadelabel = svg.append("text").attr("x", xstart).attr("y", ystart).text("1990-1999").style("fill","rgb(200,200,200)").style("font-size",font2);
svg.append("text").attr("x", xstart).attr("y", ystart + yoffset2).text("Total Migration").style("fill","grey").style("font-size",font1);
var migrationlabel = svg.append("text").attr("x", xstart + xoffset).attr("y", ystart + yoffset2 + yoffset).text("24,434,322").style("fill","rgb(200,200,200)").style("font-size",font2);
svg.append("text").attr("x", xstart).attr("y", ystart + yoffset2*2 + yoffset).text("Top Countries").style("fill","grey").style("font-size",font1);
var ranklabels = svg.selectAll(".countrylabels")
.data([["Canada",0], ["China",1], ["Cuba",2], ["France",3], ["Germany",4], ["Hungary",5], ["Ireland",6], ["Italy",7], ["Mexico",8], ["Other Asia",9], ["Philippines",10], ["Russia",11], ["United Kingdom",12]])
.enter().append("text")
.attr("x", xstart + xoffset + 30).attr("y",800)
.text(function(d) { return d[0];} )
.style("fill","rgb(200,200,200)").style("font-size",font2);
var labelindex = 0;
var labelindexold = 9999;
svg.append("text").attr("x", xstart + xoffset).attr("y", ystart + yoffset2*2 + yoffset + rankoffset).text("1.").style("fill","rgb(200,200,200)").style("font-size",font2);
svg.append("text").attr("x", xstart + xoffset).attr("y", ystart + yoffset2*2 + yoffset + rankoffset*2).text("2.").style("fill","rgb(200,200,200)").style("font-size",font2);
svg.append("text").attr("x", xstart + xoffset).attr("y", ystart + yoffset2*2 + yoffset + rankoffset*3).text("3.").style("fill","rgb(200,200,200)").style("font-size",font2);
d3.json("worldc11.json", function(error, world) {
if (error) throw error;
var colors = {1: "blue", 2: "red", 3: "orange", 4: "green", 5: "purple", 6: "yellow", 7: "pink", 8: "white", 9: "brown", 10: "steelblue", 11: "chartreuse", 12: "DeepSkyBlue", 13: "Magenta"};
function roundarray(my_array) {
var x = 0;
var len = my_array.length
while(x < len){
my_array[x][0] = Math.round(my_array[x][0]);
my_array[x][1] = Math.round(my_array[x][1]);
x++
}
return my_array
}
var g = svg.append("g");
var worldmap =
g.selectAll("path")
.data(topojson.feature(world, world.objects.worldc11).features)
.enter().append("path")
.attr("class","world")
.attr("d", path)
.style("stroke","rgb(255,255,255)")
.style("stroke-width",0.5)
.style("fill", function(d) {
if (d.properties.adm0_a3 == "USA") {return "black";}
if (d.properties.adm0_a3 == "RUS") {return "rgb(138,43,226)";}
return colors[d.properties.mapcolor13];
})
.attr("class",function(d){
if (d.properties.adm0_a3 == "USA") {return "usa";}
else { return "other"; }
})
.style("stroke-opacity", 0.6)
.style("fill-opacity", 0)
.attr("class",function(d){ if (d.properties.num > 36) {return "group1";} else { return "group2";} });
g.append("path")
.datum(topojson.mesh(world, world.objects.worldc11, function(a, b) { return a == b; }))
.attr("d", path)
.style("stroke","white")
.style("stroke-opacity",0.6)
.style("stroke-width",0.5)
.style("fill","transparent")
.style("pointer-events","none");
d3.select("#yearslider").on("input", function() {
yr = this.value;
yearlabel.text(yr).attr("x", 452 + 3.74*(yr-1820));
labelindex = Math.floor(yr/10)-182;
if (yr > 2009) { labelindex = 19;}
dotstotal = ctytotal[labelindex]/10;
if (yr > 2009) { dotstotal = ctytotal[labelindex];}
var countrydist = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0];
countrydist = sumarrays(countrydist,ctydist[labelindex], yr);
speedadjust = 0;
decadelabel.text(descript[labelindex][14]);
migrationlabel.text(d3.format("n")(descript[labelindex][13]));
ranklabels.transition().attr("y",function(d){
return ystart + yoffset2*2 + yoffset + descript[labelindex][d[1]]*rankoffset;
});
labelindexold = labelindex;
var annualtotal = ctytotal[Math.floor(yr/10)-182]/10;
if (yr > 2009) { annualtotal = ctytotal[yr-1991]; }
if (yr%2 == 0){
d3.selectAll(".group1").style("fill-opacity",function(d){
var numdecade;
if (yr > 2009) { numdecade = ctydist[yr-1991][d.properties.num]*10; }
else {numdecade = ctydist[Math.floor(yr/10)-182][d.properties.num]; }
if (d.properties.num > 67) { numdecade = numdecade / 7; }
return opacityscale(numdecade);
});
} else {
d3.selectAll(".group2").style("fill-opacity",function(d){
var numdecade;
if (yr > 2009) { numdecade = ctydist[yr-1991][d.properties.num]*10; }
else {numdecade = ctydist[Math.floor(yr/10)-182][d.properties.num]; }
if (d.properties.num > 67) { numdecade = numdecade / 7; }
return opacityscale(numdecade);
});
}
});
d3.select("#yearslider").on("change", function() {
yr = this.value;
yearlabel.text(yr).attr("x", 452 + 3.74*(yr-1820));
labelindex = Math.floor(yr/10)-182;
if (yr > 2009) { labelindex = 19;}
dotstotal = ctytotal[labelindex]/10;
if (yr > 2009) { dotstotal = ctytotal[labelindex];}
var countrydist = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,0,0,0,0];
countrydist = sumarrays(countrydist,ctydist[labelindex], yr);
speedadjust = 0;
decadelabel.text(descript[labelindex][14]);
migrationlabel.text(d3.format("n")(descript[labelindex][13]));
ranklabels.transition().attr("y",function(d){
return ystart + yoffset2*2 + yoffset + descript[labelindex][d[1]]*rankoffset;
});
labelindexold = labelindex;
var annualtotal = ctytotal[Math.floor(yr/10)-182]/10;
if (yr > 2009) { annualtotal = ctytotal[yr-1991]; }
if (yr%2 == 0){
d3.selectAll(".group1").style("fill-opacity",function(d){
var numdecade;
if (yr > 2009) { numdecade = ctydist[yr-1991][d.properties.num]*10; }
else {numdecade = ctydist[Math.floor(yr/10)-182][d.properties.num]; }
if (d.properties.num > 67) { numdecade = numdecade / 7; }
return opacityscale(numdecade);
});
} else {
d3.selectAll(".group2").style("fill-opacity",function(d){
var numdecade;
if (yr > 2009) { numdecade = ctydist[yr-1991][d.properties.num]*10; }
else {numdecade = ctydist[Math.floor(yr/10)-182][d.properties.num]; }
if (d.properties.num > 67) { numdecade = numdecade / 7; }
return opacityscale(numdecade);
});
}
});
d3.select("#playbutton").on("click", function() {
if (this.value == "play"){
d3.select("#playbutton").property("value","stop").property("src","stop.png");
starttimer();
} else{
d3.select("#playbutton").property("value","play").property("src","play.png");
stoptimer();
countrydist = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
dotstotal = 0;
speedadjust = 0;
}
});
d3.select("#playbutton").on("mouseover", function() {
d3.select("#playbutton").transition().style("opacity",1);
}).on("mouseout", function() {
d3.select("#playbutton").transition().style("opacity",0.6);
});
var context = document.getElementById('canvas').getContext("2d");
globalCompositeOperation = 'source-over'; //'source-over';lighter
context.globalAlpha = 1;
canvas.className = "canvastop";
// Set up object to contain particles and set some default values
var particles = {},
particleIndex = 0,
settings = {
density: 20,
particleSize: 2
};
// Set up a function to create multiple particles
function Particle(n) {
// Add new particle to the index
// Object used as it's simpler to manage than an array
particleIndex ++;
particles[particleIndex] = this;
this.id = particleIndex;
this.life = 0;
this.maxLife = 100;
this.sizeadj = 0.4 + Math.random()*4;
this.cty = countryarr[n];
this.arcpath = pathobject[this.cty[0]]; //.map(projection);
this.x = this.arcpath[0][0];
this.y = this.arcpath[0][1];
}
Particle.prototype.draw = function() {
this.x = this.arcpath[this.life][0];
this.y = this.arcpath[this.life][1];
// Age the particle
this.life++;
if (this.life >= (this.maxLife - 12)) {
usasize = usasize + 3/4;
}
if (this.life >= this.maxLife) {
delete particles[this.id];
}
context.beginPath();
context.fillStyle = "rgb(" + this.cty[1] + ")";
context.arc(this.x, this.y, settings.particleSize, 0, Math.PI*2, true);
context.closePath();
context.fill();
}
var lastCalledTime = 0;
var totaltime = 0;
var totaldots = 0;
var d3timer = d3.timer(function(){ timerfunction(); }, 40);
function starttimer(){
d3timer.restart();
}
function stoptimer(){
d3timer.stop();
}
//starttimer();
function timerfunction() {
context.clearRect(0, 0, canvas.width, canvas.height);
// Draw the particles
for (var i = 0; i < settings.density; i++) {
var bound = 1-speedmult*(0.2*ctytotal[Math.floor(yr/10)-182]/1000 + speedadjust);
if (Math.random() > bound && dotstotal > 0) {
var n = selectfromdist(); //Math.random()*dotstotal);
// Introducing a random chance of creating a particle
// corresponding to an chance of 1 per second,
// per "density" value
if (n > 0) {
totaldots++;
new Particle(n);
}
}
}
var usascale = (usasize + usasizeold4) / 2;
context.arc(usacoords[0][0], usacoords[0][1], 60, 0, Math.PI*2, true);
context.closePath();
var gradient = gradient = context.createRadialGradient(usacoords[0][0], usacoords[0][1], 0, usacoords[0][0], usacoords[0][1], 60*opacityscale(usascale));
gradient.addColorStop(0, 'rgba('+ '255,255,255' + ',' + opacityscale(usascale)*0.5 +')');
gradient.addColorStop(0.4, 'rgba('+ '255,255,255' + ',' + opacityscale(usascale)*0.3 +')');
gradient.addColorStop(0.8, 'rgba('+ '255,255,255' + ',' + opacityscale(usascale)*0.1 +')');
gradient.addColorStop(1.0, 'rgba('+ '255,255,255' + ',0)');
context.fillStyle = gradient;
context.fill();
for (var i in particles) {
particles[i].draw();
}
if(!lastCalledTime) {
lastCalledTime = Date.now();
fps = 0;
return;
}
var delta = (Date.now() - lastCalledTime)/1000;
lastCalledTime = Date.now();
var fps = 1/delta;
//console.log(fps);
if (d3.select("#playbutton").property("value") == "stop"){
//********* NEW YEAR *****************
if (Math.floor(totaltime) !== Math.floor(totaltime + delta*speedmult)){
speedadjust = 0.2*dotstotal/100;
yr++;
if (yr == 2025) { yr = 1820;}
//console.log("time: " + totaltime + " / dotstotal: " + dotstotal + " / speedadj: " + speedadjust + " / countryarray: " + JSON.stringify(countrydist) + " / " + JSON.stringify(testarr));
if (yr < 2014) {
yearlabel.text(yr).attr("x", 452 + 3.74*(yr-1820));
d3.select("#yearslider")
.property("value", yr);
labelindex = Math.floor(yr/10)-182;
if (yr > 2009) { labelindex = 19;}
if(labelindex !== labelindexold) {
decadelabel.transition().text(descript[labelindex][14]);
migrationlabel.transition().text(d3.format("n")(descript[labelindex][13]));
ranklabels.transition().duration(1000).attr("y",function(d){
return ystart + yoffset2*2 + yoffset + descript[labelindex][d[1]]*rankoffset;
});
}
labelindexold = labelindex;
countrydist = sumarrays(countrydist, ctydist[Math.floor(yr/10)-182],yr);
if (yr < 2010) {dotstotal = dotstotal + ctytotal[Math.floor(yr/10)-182]/10;}
else {dotstotal = dotstotal + ctytotal[yr-1991];}
if (yr%2 == 0){
d3.selectAll(".group1").transition().duration(1000).style("fill-opacity",function(d){
var numdecade;
if (yr > 2009) { numdecade = ctydist[yr-1991][d.properties.num]*10; }
else {numdecade = ctydist[Math.floor(yr/10)-182][d.properties.num]; }
if (d.properties.num > 67) { numdecade = numdecade / 7; }
return opacityscale(numdecade);
});
} else {
d3.selectAll(".group2").transition().duration(1000).style("fill-opacity",function(d){
var numdecade;
if (yr > 2009) { numdecade = ctydist[yr-1991][d.properties.num]*10; }
else {numdecade = ctydist[Math.floor(yr/10)-182][d.properties.num]; }
if (d.properties.num > 67) { numdecade = numdecade / 7; }
return opacityscale(numdecade);
});
}
} else if (yr == 2015) {
worldmap.transition().duration(2000/speedmult).style("fill-opacity",0);
} else {
countrydist = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
dotstotal = 0;
}
} //if not new year
} else {
countrydist = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
dotstotal = 0;
speedadjust = 0;
}
totaltime = totaltime + delta*speedmult;
usasizeold4 = usasizeold3;
usasizeold3 = usasizeold2;
usasizeold2 = usasizeold;
usasizeold = usasize;
usasize = 0;
}
//end of timer function
function selectfromdist(n) {
var tottemp = 0;
var floorsum = 0;
for (var j = 0; j < 72; j++){
floorsum = floorsum + Math.max(countrydist[j],0);
}
var nn = Math.random()*floorsum;
for (var j = 0; j < 72; j++){
tottemp = tottemp + Math.max(countrydist[j],0);
if (nn <= tottemp) {
dotstotal = dotstotal - 1;
countrydist[j]--;
testarr[j]++;
return j;
}
}
return -99;
}
});
function sumarrays(ar1, ar2, y) {
var denom = 10;
if (y > 2009) { denom = 1; }
var ar3 = [];
for (var j = 0; j < 72; j++){
ar3[j] = ar1[j] + ar2[j]/denom;
}
return ar3;
}