• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision7afca7dbfcc39b5a556976242bd26ee39cfbb8dd (tree)
Time2020-01-25 00:27:09
AuthorCapsia Tech <cmsuser3754@zoho...>
CommiterCapsia Tech

Log Message

New chamber

Change Summary

Incremental Difference

diff -r 000000000000 -r 7afca7dbfcc3 data.css
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/data.css Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,115 @@
1+@font-face {
2+ font-family: 'GeometricSlab703BT-Light';
3+ src: url('fonts/geoslab703ltbtlight.eot');
4+ src: url('fonts/geoslab703ltbtlightd41d.eot?#iefix') format('embedded-opentype'),
5+ url('fonts/geoslab703ltbtlight.woff') format('woff'),
6+ url('fonts/geoslab703ltbtlight.ttf') format('truetype'),
7+ url('fonts/geoslab703ltbtlight.svg#geoslab703ltbtlight') format('svg');
8+ font-weight: normal;
9+ font-style: normal;
10+}
11+body {
12+ background-image: url("img/background.jpg");
13+ background-position: center center;
14+ background-size: cover;
15+ margin: 0;
16+ overflow: hidden;
17+ font-family: GeometricSlab703BT-Light;
18+}
19+#overlay {
20+ z-index: 2;
21+ position: absolute;
22+ left: 0;
23+ top: 0;
24+ width: 100%;
25+ height: 100%;
26+ pointer-events: none;
27+}
28+#preload {
29+ z-index: 3;
30+ position: absolute;
31+ left: 0;
32+ top: 0;
33+ width: 100%;
34+ height: 100%;
35+ text-align: center;
36+ background-color: #383c4a;
37+ overflow-y: auto;
38+}
39+#text {
40+ position: fixed;
41+ right: 0;
42+ color: white;
43+ overflow-y: auto;
44+}
45+#image {
46+ position: fixed;
47+ top: 10px;
48+}
49+h1, h3 {
50+ text-align: center;
51+}
52+h1{
53+ font-size: 2.5em;
54+ margin-bottom: 10px;
55+}
56+h2{
57+ color: white;
58+}
59+h3 {
60+ font-size: 1.5em;
61+ margin-top: 0;
62+}
63+li {
64+ font-size: 1.5em;
65+}
66+ul {
67+ padding-right: 5%;
68+}
69+li:empty {
70+ display: none;
71+}
72+#loadingPH {
73+ position: absolute;
74+ padding-top: 100px;
75+ margin-top: 10px;
76+ margin-left: 25px;
77+ width: 80%;
78+ top: 0;
79+ left: 0;
80+}
81+#creditsPH {
82+ display: block;
83+ max-height: 50%;
84+ max-width: 90%;
85+ margin: 0 auto;
86+ padding-top: 50px;
87+ display: none;
88+}
89+#perc {
90+ display: inline-block;
91+ position: relative;
92+ margin: 0 auto;
93+}
94+#Container {
95+ display: inline-block;
96+ position: relative;
97+ padding-top: 50px;
98+}
99+button {
100+ transition: all 0.5s;
101+ background-color: #383c4a;
102+ border: 3px solid white;
103+ color: white;
104+ padding: 15px 32px;
105+ margin-top: 30px;
106+ text-align: center;
107+ text-decoration: none;
108+ font-weight: bold;
109+ display: inline-block;
110+ font-size: 16px;
111+}
112+button:hover {
113+ background-color: white;
114+ color: #383c4a;
115+}
diff -r 000000000000 -r 7afca7dbfcc3 fonts/geoslab703ltbtlight.eot
Binary file fonts/geoslab703ltbtlight.eot has changed
diff -r 000000000000 -r 7afca7dbfcc3 fonts/geoslab703ltbtlight.svg
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/geoslab703ltbtlight.svg Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,686 @@
1+<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" > <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
2+<defs >
3+<font id="geoslab703ltbtlight" horiz-adv-x="923" ><font-face
4+ font-family="GeoSlab703 Lt BT"
5+ units-per-em="2048"
6+ panose-1="2 6 4 3 2 2 5 2 4 3"
7+ ascent="1972"
8+ descent="-483"
9+ alphabetic="0" />
10+<missing-glyph horiz-adv-x="1229" d="M102 -362V1444H1126V-362H102ZM217 -248H1012V1329H217V-248Z" />
11+<glyph unicode=" " glyph-name="space" horiz-adv-x="524" />
12+<glyph unicode="!" glyph-name="exclam" horiz-adv-x="524" d="M217 322L197 1475H326L307 322H217ZM262 -25Q216 -25 185 5T154 82Q154 128 185 159T262 190Q309 190 340 160T371 82Q371 36 340 6T262 -25Z" />
13+<glyph unicode="&quot;" glyph-name="quotedbl" horiz-adv-x="551" d="M451 1434V881H365V1434H451ZM186 1434V881H100V1434H186Z" />
14+<glyph unicode="#" glyph-name="numbersign" horiz-adv-x="1575" d="M979 866H709L610 584H879L979 866ZM915 1454L741 956H1012L1188 1454H1298L1124 956H1446L1415 866H1092L991 584H1339L1309 494H958L784 0H672L848 494H578L399 0H289L463 494H129L160 584H496L596
15+866H236L264 956H629L805 1454H915Z" />
16+<glyph unicode="$" glyph-name="dollar" horiz-adv-x="1049" d="M564 86Q701 88 794 170T887 369Q887 485 806 562T563 676L564 86ZM481 -8Q379 9 298 70T156 240L158 0H70V489H156Q198 311 282 209T481 92V696Q290 736 196 826T102 1061Q102 1211 206 1305T481
17+1403V1503H563V1401Q651 1381 719 1336T831 1223L829 1399H918V1018H838Q806 1132 738 1203T563 1305V784Q779 738 885 635T991 369Q991 210 871 103T564 -8L563 -178H481V-8ZM481 803V1313Q356 1309 282 1242T207 1065Q207 963 277 896T481 803Z" />
18+<glyph unicode="%" glyph-name="percent" horiz-adv-x="1671" d="M1266 1464H1366L408 -29H309L1266 1464ZM403 870Q501 870 568 937T635 1104Q635 1204 569 1270T403 1337Q306 1337 239 1270T172 1104Q172 1005 239 938T403 870ZM735 1104Q735 964 639 868T403
19+772Q263 772 168 867T72 1104Q72 1245 167 1340T403 1436Q543 1436 639 1340T735 1104ZM1268 98Q1365 98 1432 165T1499 332Q1499 432 1433 498T1268 565Q1170 565 1103 498T1036 332Q1036 233 1103 166T1268 98ZM1599 332Q1599 192 1503 96T1268 0Q1127 0 1032
20+95T936 332Q936 472 1031 568T1268 664Q1407 664 1503 568T1599 332Z" />
21+<glyph unicode="&amp;" glyph-name="ampersand" horiz-adv-x="1335" d="M823 315L477 711Q317 564 261 481T205 322Q205 219 272 150T438 80Q534 80 632 140T823 315ZM492 848Q600 956 647 1041T694 1210Q694 1300 649 1351T524 1403Q432 1403 383 1351T334 1198Q334
22+1111 373 1024T492 848ZM406 782Q310 890 264 993T217 1200Q217 1341 297 1422T514 1503Q651 1503 730 1423T809 1204Q809 1100 751 1000T561 780L895 412Q961 495 1008 590T1081 791H958V891H1329V791H1194Q1162 663 1106 548T967 324L1174 100H1329V0H1116L897
23+238Q781 105 665 38T434 -29Q283 -29 184 68T84 311Q84 421 157 529T406 782Z" />
24+<glyph unicode="&apos;" glyph-name="quotesingle" horiz-adv-x="285" d="M186 1434V881H100V1434H186Z" />
25+<glyph unicode="(" glyph-name="parenleft" horiz-adv-x="631" d="M539 1438Q395 1240 325 1043T254 641Q254 437 324 240T539 -156L455 -219Q300 -22 221 196T141 641Q141 868 221 1087T455 1503L539 1438Z" />
26+<glyph unicode=")" glyph-name="parenright" horiz-adv-x="631" d="M92 1438L176 1503Q330 1306 409 1087T489 641Q489 414 410 196T176 -219L92 -156Q236 44 306 242T377 641Q377 842 307 1040T92 1438Z" />
27+<glyph unicode="*" glyph-name="asterisk" horiz-adv-x="1024" d="M469 1503H563L557 1270L772 1364L805 1276L575 1194L735 1024L662 961L512 1141L362 961L291 1024L451 1194L217 1276L252 1364L473 1270L469 1503Z" />
28+<glyph unicode="+" glyph-name="plus" horiz-adv-x="1706" d="M893 1221V651H1452V569H893V0H813V569H254V651H813V1221H893Z" />
29+<glyph unicode="," glyph-name="comma" horiz-adv-x="524" d="M78 -217L211 217H326L193 -217H78Z" />
30+<glyph unicode="-" glyph-name="hyphen" horiz-adv-x="635" d="M68 420V522H569V420H68Z" />
31+<glyph unicode="." glyph-name="period" horiz-adv-x="524" d="M262 -25Q216 -25 185 5T154 82Q154 128 185 159T262 190Q309 190 340 160T371 82Q371 36 340 6T262 -25Z" />
32+<glyph unicode="/" glyph-name="slash" horiz-adv-x="578" d="M649 1503L123 -190H31L557 1503H649Z" />
33+<glyph unicode="0" glyph-name="zero" horiz-adv-x="1049" d="M219 518Q219 395 229 333T262 227Q304 152 371 112T524 72Q610 72 677 112T786 227Q810 271 819 333T829 518V918Q829 1042 820 1104T786 1208Q744 1285 677 1325T524 1366Q439 1366 372 1326T262
34+1208Q239 1166 229 1104T219 918V518ZM104 537V901Q104 1049 118 1124T166 1257Q224 1360 314 1412T524 1464Q643 1464 734 1412T883 1257Q915 1201 928 1129T942 901V537Q942 382 929 310T883 180Q824 77 734 24T524 -29Q406 -29 315 24T166 180Q133 239 119 314T104
35+537Z" />
36+<glyph unicode="1" glyph-name="one" horiz-adv-x="1049" d="M309 0V94H489V1341H322V1436H604V94H778V0H309Z" />
37+<glyph unicode="2" glyph-name="two" horiz-adv-x="1049" d="M92 0V96Q177 198 327 375Q803 934 803 1108Q803 1226 726 1297T520 1368Q369 1368 288 1264T207 965V944H103Q101 954 101 964T100 997Q100 1214 214 1339T524 1464Q698 1464 808 1367T918 1118Q918
38+900 310 199L219 94H838V360H948V0H92Z" />
39+<glyph unicode="3" glyph-name="three" horiz-adv-x="1049" d="M131 1036V1040Q131 1235 241 1349T539 1464Q711 1464 822 1357T934 1085Q934 960 859 869T655 750Q786 725 865 626T944 387Q944 214 823 93T528 -29Q333 -29 217 86T100 397V412L205 411Q209 257
40+294 165T518 72Q650 72 739 160T829 381Q829 523 735 610T485 698Q481 698 466 697T442 696V790Q618 792 718 870T819 1085Q819 1212 740 1288T528 1364Q390 1364 314 1280T231 1036H131Z" />
41+<glyph unicode="4" glyph-name="four" horiz-adv-x="1049" d="M647 485V1008Q647 1053 653 1117T674 1276L180 485H647ZM469 0V94H647V393H63V487L670 1436H760V485H938V393H760V94H938V0H469Z" />
42+<glyph unicode="5" glyph-name="five" horiz-adv-x="1049" d="M106 397H211Q216 244 295 156T506 68Q651 68 738 171T825 449Q825 635 732 731T457 827Q389 827 324 816T195 780V1436H797V1341H301V901Q347 912 392 918T479 924Q696 924 818 798T940 449Q940 234
43+820 103T502 -29Q325 -29 216 86T106 387V397Z" />
44+<glyph unicode="6" glyph-name="six" horiz-adv-x="1049" d="M231 434Q231 265 313 169T539 72Q682 72 765 168T848 432Q848 599 764 697T539 795Q395 795 313 699T231 434ZM893 1129L793 1128Q774 1247 712 1304T541 1362Q372 1362 296 1218T219 756V700Q272
45+798 358 848T559 899Q735 899 849 768T963 432Q963 227 845 99T539 -29Q407 -29 310 32T164 207Q135 273 123 366T111 625V846Q111 1150 223 1306T553 1462Q699 1462 790 1372T893 1129Z" />
46+<glyph unicode="7" glyph-name="seven" horiz-adv-x="1049" d="M260 0L854 1341H276V1104H164V1436H977V1341L387 0H260Z" />
47+<glyph unicode="8" glyph-name="eight" horiz-adv-x="1049" d="M373 750Q255 792 191 883T127 1098Q127 1257 240 1361T524 1466Q696 1466 809 1362T922 1098Q922 975 858 884T676 750Q801 713 873 614T946 381Q946 202 828 87T524 -29Q339 -29 221 86T102 381Q102
48+514 175 613T373 750ZM524 797Q647 797 730 879T813 1083Q813 1206 730 1288T524 1370Q401 1370 319 1288T236 1083Q236 961 318 879T524 797ZM524 68Q657 68 746 157T836 381Q836 516 747 606T524 696Q392 696 303 606T213 381Q213 247 302 158T524 68Z" />
49+<glyph unicode="9" glyph-name="nine" horiz-adv-x="1049" d="M145 305H246Q264 188 326 130T494 72Q673 72 752 206T831 649Q831 662 830 690T829 733Q777 636 690 586T487 535Q312 535 198 666T84 1001Q84 1206 202 1334T508 1462Q640 1462 737 1401T883 1227Q911
50+1161 923 1068T936 809V588Q936 281 825 126T494 -29Q341 -29 251 57T145 305ZM815 999Q815 1168 733 1265T508 1362Q365 1362 283 1266T201 1001Q201 834 284 737T508 639Q652 639 733 734T815 999Z" />
51+<glyph unicode=":" glyph-name="colon" horiz-adv-x="524" d="M262 711Q216 711 185 741T154 817Q154 863 185 893T262 924Q310 924 340 894T371 817Q371 771 340 741T262 711ZM262 -25Q216 -25 185 5T154 82Q154 128 185 159T262 190Q309 190 340 160T371 82Q371
52+36 340 6T262 -25Z" />
53+<glyph unicode=";" glyph-name="semicolon" horiz-adv-x="524" d="M78 -217L211 217H326L193 -217H78ZM262 711Q216 711 185 741T154 817Q154 863 185 893T262 924Q310 924 340 894T371 817Q371 771 340 741T262 711Z" />
54+<glyph unicode="&lt;" glyph-name="less" horiz-adv-x="1706" d="M1442 1034L397 610L1442 186V98L264 580V641L1442 1124V1034Z" />
55+<glyph unicode="=" glyph-name="equal" horiz-adv-x="1706" d="M1452 469V387H254V469H1452ZM1452 831V752H254V831H1452Z" />
56+<glyph unicode="&gt;" glyph-name="greater" horiz-adv-x="1706" d="M1442 641V580L264 98V186L1309 610L264 1034V1124L1442 641Z" />
57+<glyph unicode="?" glyph-name="question" horiz-adv-x="1042" d="M467 -25Q420 -25 389 5T358 82Q358 128 389 159T467 190Q514 190 544 160T575 82Q575 36 544 6T467 -25ZM410 322V793Q416 793 428 792T444 791Q603 791 692 878T782 1120Q782 1243 702 1324T500
58+1405Q381 1405 308 1327T229 1118L121 1119Q125 1289 232 1396T504 1503Q681 1503 786 1393T891 1098Q891 931 790 821T520 696V322H410Z" />
59+<glyph unicode="@" glyph-name="at" horiz-adv-x="2048" d="M1303 827L1364 956H1444L1307 403Q1297 367 1292 339T1286 295Q1286 251 1316 227T1403 203Q1451 203 1503 222T1606 279Q1707 353 1768 486T1829 768Q1829 1041 1630 1207T1104 1374Q936 1374 794
60+1326T535 1182Q381 1054 303 885T225 510Q225 183 446 -12T1038 -207Q1199 -207 1362 -157T1661 -14L1690 -59Q1544 -169 1382 -224T1042 -279Q855 -279 699 -233T422 -94Q270 21 196 173T121 522Q121 684 171 829T319 1094Q463 1269 664 1359T1114 1450Q1274 1450
61+1418 1406T1667 1282Q1795 1184 1861 1056T1927 778Q1927 609 1864 470T1683 238Q1616 184 1538 156T1378 127Q1283 127 1235 163T1186 272Q1186 284 1189 306Q1190 309 1190 311Q1141 223 1065 175T899 127Q745 127 666 210T586 453Q586 681 720 839T1047 997Q1142
62+997 1207 954T1303 827ZM1219 467L1282 721Q1260 820 1201 872T1049 924Q897 924 794 786T690 446Q690 331 747 266T907 201Q1018 201 1103 273T1219 467Z" />
63+<glyph unicode="A" glyph-name="A" horiz-adv-x="1356" d="M-37 0V100H106L573 1374H424V1475H932V1374H782L1249 100H1393V0H961V100H1128L997 461H358L227 100H395V0H-37ZM397 559H958L678 1341L397 559Z" />
64+<glyph unicode="B" glyph-name="B" horiz-adv-x="1231" d="M350 731V100H633Q843 100 940 176T1038 416Q1038 577 939 654T633 731H350ZM350 1374V829H543Q771 829 863 891T956 1102Q956 1245 859 1309T543 1374H350ZM61 0V100H231V1374H61V1475H553Q814 1475
65+945 1384T1077 1112Q1077 996 1014 916T823 793Q986 755 1072 657T1159 414Q1159 226 1035 113T702 0H61Z" />
66+<glyph unicode="C" glyph-name="C" horiz-adv-x="1522" d="M1470 465Q1409 227 1243 99T827 -29Q683 -29 557 19T328 160Q203 273 140 419T76 737Q76 909 139 1056T328 1317Q429 1409 555 1456T827 1503Q1000 1503 1135 1435T1352 1239V1475H1454V1016H1362Q1311
67+1198 1170 1300T827 1403Q707 1403 593 1358T395 1233Q295 1136 246 1013T197 737Q197 442 379 257T850 72Q1047 72 1184 176T1366 465H1470Z" />
68+<glyph unicode="D" glyph-name="D" horiz-adv-x="1458" d="M518 100Q858 100 1059 275T1260 743Q1260 926 1180 1065T938 1298Q872 1337 768 1355T518 1374H348V100H518ZM518 0H59V100H229V1374H59V1475H518Q703 1475 815 1456T999 1397Q1188 1289 1285 1122T1382
69+737Q1382 528 1281 357T995 84Q919 41 802 21T518 0Z" />
70+<glyph unicode="E" glyph-name="E" horiz-adv-x="1208" d="M59 0V100H229V1374H59V1475H1139V1112H1020V1374H348V831H864V731H348V100H1020V356H1139V0H59Z" />
71+<glyph unicode="F" glyph-name="F" horiz-adv-x="1143" d="M59 0V100H229V1374H59V1475H1153V1112H1036V1374H348V831H864V731H348V100H539V0H59Z" />
72+<glyph unicode="G" glyph-name="G" horiz-adv-x="1686" d="M1368 0V238Q1289 108 1155 40T844 -29Q728 -29 630 -4T446 72Q271 177 174 351T76 737Q76 909 139 1056T328 1317Q429 1409 555 1456T827 1503Q1002 1503 1136 1435T1352 1239V1475H1454V1016H1362Q1313
73+1196 1171 1299T827 1403Q706 1403 593 1359T395 1233Q295 1136 246 1013T197 737Q197 441 380 257T858 72Q1088 72 1229 200T1380 551H926V649H1630V551H1479V0H1368Z" />
74+<glyph unicode="H" glyph-name="H" horiz-adv-x="1479" d="M59 0V100H229V1374H59V1475H518V1374H348V819H1130V1374H961V1475H1419V1374H1249V100H1419V0H961V100H1130V721H348V100H518V0H59Z" />
75+<glyph unicode="I" glyph-name="I" horiz-adv-x="578" d="M41 0V100H229V1374H41V1475H539V1374H348V100H539V0H41Z" />
76+<glyph unicode="J" glyph-name="J" horiz-adv-x="563" d="M229 100V1374H41V1475H524V1374H348V100Q348 -83 283 -163T70 -244H0V-137H33Q148 -137 188 -94T229 100Z" />
77+<glyph unicode="K" glyph-name="K" horiz-adv-x="1305" d="M59 0V100H229V1374H59V1475H518V1374H348V758L1006 1374H848V1475H1298V1374H1151L473 745L1159 100H1298V0H825V100H983L348 705V100H518V0H59Z" />
78+<glyph unicode="L" glyph-name="L" horiz-adv-x="1083" d="M59 0V100H229V1374H59V1475H518V1374H348V100H950V313H1069V0H59Z" />
79+<glyph unicode="M" glyph-name="M" horiz-adv-x="1792" d="M51 0V100H240V1374H51V1475H365L895 223L1427 1475H1741V1374H1552V100H1741V0H1243V100H1434V1249L928 57H864L358 1249V100H549V0H51Z" />
80+<glyph unicode="N" glyph-name="N" horiz-adv-x="1470" d="M59 0V100H229V1374H59V1475H410L1120 195V1374H965V1475H1409V1374H1239V-29H1120L348 1346V100H506V0H59Z" />
81+<glyph unicode="O" glyph-name="O" horiz-adv-x="1655" d="M197 737Q197 586 246 463T395 244Q477 164 591 119T827 74Q950 74 1064 118T1260 244Q1358 339 1408 463T1458 737Q1458 888 1408 1013T1260 1233Q1176 1314 1063 1358T827 1403Q706 1403 593 1359T395
82+1233Q295 1136 246 1013T197 737ZM76 737Q76 909 139 1056T328 1317Q429 1409 555 1456T827 1503Q974 1503 1099 1457T1327 1317Q1451 1202 1515 1055T1579 737Q1579 567 1515 420T1327 160Q1224 66 1099 19T827 -29Q683 -29 557 19T328 160Q204 273 140 419T76
83+737Z" />
84+<glyph unicode="P" glyph-name="P" horiz-adv-x="1188" d="M41 0V100H229V1374H41V1475H604Q882 1475 1026 1361T1171 1026Q1171 803 1029 691T604 578H348V100H539V0H41ZM348 1374V672H596Q828 672 939 758T1051 1024Q1051 1203 940 1288T596 1374H348Z" />
85+<glyph unicode="Q" glyph-name="Q" horiz-adv-x="1655" d="M1010 100Q1219 160 1338 330T1458 737Q1458 888 1408 1013T1260 1233Q1176 1314 1063 1358T827 1403Q706 1403 593 1359T395 1233Q295 1136 246 1013T197 737Q197 552 270 407T483 174Q562 124 649 99T829
86+74Q862 74 879 75T911 78L831 244L920 287L1010 100ZM1057 6L1110 -100H1329V-201H1049L958 -16Q914 -23 877 -26T809 -29Q676 -29 552 19T328 160Q203 273 140 419T76 737Q76 909 139 1056T328 1317Q429 1409 555 1456T827 1503Q974 1503 1099 1457T1327 1317Q1451
87+1202 1515 1055T1579 737Q1579 477 1440 282T1057 6Z" />
88+<glyph unicode="R" glyph-name="R" horiz-adv-x="1341" d="M41 0V100H229V1374H41V1475H670Q931 1475 1069 1378T1208 1096Q1208 957 1118 867T864 754Q1019 714 1081 634T1143 385V100H1313V0H1024V352Q1024 556 915 636T528 717H348V100H539V0H41ZM348 1374V817H639Q874
89+817 980 883T1087 1096Q1087 1241 981 1307T639 1374H348Z" />
90+<glyph unicode="S" glyph-name="S" horiz-adv-x="1356" d="M193 -4V487H291Q318 293 447 181T770 68Q926 68 1023 149T1120 362Q1120 470 1051 537T825 645L633 696Q416 755 306 860T195 1114Q195 1280 321 1389T641 1499Q773 1499 882 1442T1053 1282L1047 1470H1145V1077H1053Q1013
91+1230 902 1314T631 1399Q491 1399 398 1323T305 1133Q305 1015 391 937T653 813L881 754Q1055 709 1143 614T1231 373Q1231 192 1099 80T752 -33Q609 -33 488 34T285 227L291 -4H193Z" />
92+<glyph unicode="T" glyph-name="T" horiz-adv-x="1157" d="M330 0V100H518V1374H139V1071H35V1475H1120V1071H1018V1374H637V100H827V0H330Z" />
93+<glyph unicode="U" glyph-name="U" horiz-adv-x="1442" d="M500 1475V1374H328V537Q328 382 348 309T416 184Q468 129 542 103T719 76Q822 76 898 103T1026 184Q1074 235 1094 308T1114 537V1374H942V1475H1403V1374H1231V483Q1231 228 1103 100T721 -29Q466 -29
94+338 99T209 483V1374H39V1475H500Z" />
95+<glyph unicode="V" glyph-name="V" horiz-adv-x="1247" d="M569 -25L147 1374H-10V1475H422V1374H262L623 139L987 1374H825V1475H1257V1374H1098L678 -25H569Z" />
96+<glyph unicode="W" glyph-name="W" horiz-adv-x="1892" d="M946 1229L653 -25H535L117 1374H-8V1475H410V1374H238L594 133L883 1374H711V1475H1182V1374H1010L1298 133L1655 1374H1483V1475H1901V1374H1776L1356 -25H1239L946 1229Z" />
97+<glyph unicode="X" glyph-name="X" horiz-adv-x="1319" d="M285 100H457V0H-8V100H164L598 733L172 1374H12V1475H485V1374H305L666 825L1030 1374H831V1475H1307V1374H1147L721 745L1155 100H1325V0H860V100H1022L655 651L285 100Z" />
98+<glyph unicode="Y" glyph-name="Y" horiz-adv-x="1251" d="M565 100V651L139 1374H-8V1475H453V1374H258L623 741L985 1374H799V1475H1260V1374H1114L684 639V100H874V0H377V100H565Z" />
99+<glyph unicode="Z" glyph-name="Z" horiz-adv-x="1327" d="M166 0V100L1020 1374H276V1087H166V1475H1151V1374L297 100H1040V389H1151V0H166Z" />
100+<glyph unicode="[" glyph-name="bracketleft" horiz-adv-x="741" d="M256 -176V1475H651V1376H369V-80H651V-176H256Z" />
101+<glyph unicode="\" glyph-name="backslash" horiz-adv-x="578" d="M508 -190L-20 1503H72L598 -190H508Z" />
102+<glyph unicode="]" glyph-name="bracketright" horiz-adv-x="741" d="M485 -176H90V-80H373V1376H90V1475H485V-176Z" />
103+<glyph unicode="^" glyph-name="asciicircum" horiz-adv-x="2048" d="M1081 1458L1622 901H1497L1024 1370L549 901H424L963 1458H1081Z" />
104+<glyph unicode="_" glyph-name="underscore" horiz-adv-x="1024" d="M1024 -403V-483H0V-403H1024Z" />
105+<glyph unicode="`" glyph-name="grave" horiz-adv-x="1024" d="M545 1059L276 1407H428L637 1059H545Z" />
106+<glyph unicode="a" glyph-name="a" horiz-adv-x="1225" d="M164 465Q164 302 273 189T537 76Q690 76 800 190T911 465Q911 631 801 743T528 856Q368 856 266 747T164 465ZM1018 94H1169V0H913V197Q840 85 744 31T522 -23Q427 -23 342 13T193 117Q127 186 91 276T55
107+463Q55 677 184 812T516 948Q639 948 736 900T913 750V924H1169V829H1018V94Z" />
108+<glyph unicode="b" glyph-name="b" horiz-adv-x="1225" d="M303 465Q303 304 415 189T684 74Q838 74 944 187T1051 465Q1051 641 949 748T678 856Q523 856 413 743T303 465ZM45 0V94H197V1380H45V1475H301V750Q381 851 478 899T698 948Q901 948 1030 813T1159
109+463Q1159 366 1124 276T1022 117Q957 49 873 13T692 -23Q566 -23 471 31T301 197V0H45Z" />
110+<glyph unicode="c" glyph-name="c" horiz-adv-x="1090" d="M958 182Q873 80 770 28T551 -25Q334 -25 201 109T68 463Q68 567 103 656T205 811Q271 876 360 912T543 948Q643 948 723 915T862 815L860 924H954V614H860Q828 729 744 792T543 856Q381 856 278 746T174
111+463Q174 292 281 181T551 70Q645 70 731 114T893 246L958 182Z" />
112+<glyph unicode="d" glyph-name="d" horiz-adv-x="1223" d="M1180 0H926V197Q852 85 757 31T535 -23Q439 -23 354 13T205 117Q139 186 104 276T68 463Q68 677 197 812T528 948Q651 948 748 900T926 750V1380H774V1475H1030V94H1180V0ZM174 465Q174 302 284 189T549
113+76Q702 76 812 190T922 465Q922 631 812 743T539 856Q378 856 276 747T174 465Z" />
114+<glyph unicode="e" glyph-name="e" horiz-adv-x="1143" d="M967 518Q942 678 838 767T571 856Q417 856 309 764T176 518H967ZM177 432Q186 271 297 170T571 68Q687 68 778 120T922 268H1038Q964 123 847 49T571 -25Q354 -25 210 114T66 461Q66 669 210 808T571
115+948Q802 948 938 809T1075 432H177Z" />
116+<glyph unicode="f" glyph-name="f" horiz-adv-x="563" d="M494 0H43V94H209V829H43V924H209V1202Q209 1350 267 1412T461 1475Q480 1475 501 1474T549 1468V1379Q526 1381 506 1382T467 1384Q380 1384 347 1344T313 1196V924H494V829H313V94H494V0Z" />
117+<glyph unicode="g" glyph-name="g" horiz-adv-x="1225" d="M1030 211Q1030 12 1015 -73T963 -221Q907 -316 801 -371T567 -426Q400 -426 291 -367T121 -184H238Q280 -258 359 -296T549 -334Q747 -334 837 -226T928 121Q928 151 928 166T926 196Q852 85 757 31T535
118+-23Q439 -23 354 13T205 117Q139 186 104 276T68 463Q68 677 197 812T528 948Q651 948 748 900T926 750V924H1180V829H1030V211ZM174 465Q174 302 284 189T549 76Q702 76 812 190T922 465Q922 631 812 743T539 856Q378 856 276 747T174 465Z" />
119+<glyph unicode="h" glyph-name="h" horiz-adv-x="1165" d="M55 0V94H207V1380H55V1475H311V750Q399 849 494 898T696 948Q845 948 910 872T975 616V94H1126V0H721V94H870V616Q870 742 825 798T678 854Q584 854 491 796T311 623V94H465V0H55Z" />
120+<glyph unicode="i" glyph-name="i" horiz-adv-x="512" d="M201 1112V1352H311V1112H201ZM33 0V94H207V829H43V924H311V94H467V0H33Z" />
121+<glyph unicode="j" glyph-name="j" horiz-adv-x="469" d="M201 1112V1352H311V1112H201ZM311 27Q311 -191 243 -289T6 -426V-334Q120 -298 163 -226T207 31V829H43V924H311V27Z" />
122+<glyph unicode="k" glyph-name="k" horiz-adv-x="1057" d="M33 0V94H207V1380H43V1475H311V537L674 829H520V924H967V829H817L418 512L872 94H1024V0H600V94H731L311 477V94H461V0H33Z" />
123+<glyph unicode="l" glyph-name="l" horiz-adv-x="512" d="M33 0V94H207V1380H43V1475H311V94H467V0H33Z" />
124+<glyph unicode="m" glyph-name="m" horiz-adv-x="1761" d="M55 94H207V829H55V924H311V750Q406 857 488 902T668 948Q766 948 832 907T928 784Q1009 867 1097 907T1286 948Q1435 948 1500 872T1565 616V94H1716V0H1311V94H1460V616Q1460 742 1414 799T1268 856Q1182
125+856 1098 811T944 680V94H1096V0H690V94H840V616Q840 741 797 798T659 856Q573 856 488 799T311 623V94H465V0H55V94Z" />
126+<glyph unicode="n" glyph-name="n" horiz-adv-x="1171" d="M55 0V94H207V829H55V924H311V750Q399 849 494 898T696 948Q845 948 910 872T975 616V94H1126V0H721V94H870V616Q870 742 825 798T678 854Q584 854 491 796T311 623V94H465V0H55Z" />
127+<glyph unicode="o" glyph-name="o" horiz-adv-x="1143" d="M571 68Q742 68 856 180T971 463Q971 633 858 744T571 856Q399 856 287 745T174 463Q174 292 287 180T571 68ZM571 -25Q354 -25 210 114T66 461Q66 669 210 808T571 948Q788 948 931 809T1075 461Q1075
128+253 932 114T571 -25Z" />
129+<glyph unicode="p" glyph-name="p" horiz-adv-x="1235" d="M313 465Q313 302 425 188T696 74Q850 74 955 187T1061 465Q1061 641 958 748T686 856Q531 856 422 743T313 465ZM309 197V-332H469V-426H55V-332H205V829H55V924H309V750Q389 851 487 899T709 948Q911
130+948 1040 813T1169 463Q1169 366 1134 276T1032 117Q968 50 882 14T700 -23Q574 -23 479 31T309 197Z" />
131+<glyph unicode="q" glyph-name="q" horiz-adv-x="1235" d="M922 465Q922 629 813 742T549 856Q381 856 278 749T174 465Q174 302 284 189T549 76Q702 76 812 190T922 465ZM926 197Q852 85 757 31T535 -23Q439 -23 353 13T203 117Q137 186 102 276T66 463Q66 677
132+195 812T526 948Q650 948 748 900T926 750V924H1180V829H1030V-332H1180V-426H766V-332H926V197Z" />
133+<glyph unicode="r" glyph-name="r" horiz-adv-x="772" d="M55 0V94H207V829H55V924H311V799Q360 874 418 912T543 950Q635 950 683 901T737 752H651Q647 803 618 830T539 858Q423 858 367 749T311 414V94H465V0H55Z" />
134+<glyph unicode="s" glyph-name="s" horiz-adv-x="985" d="M225 0H129V328H225Q253 210 339 144T553 78Q652 78 717 127T782 252Q782 323 732 364T561 430L440 455Q261 492 194 546T127 698Q127 811 217 880T455 950Q555 950 628 918T741 821L739 924H834V655H739Q719
135+754 643 809T451 864Q351 864 291 822T231 709Q231 644 276 610T455 551L584 526Q735 497 811 430T887 258Q887 137 795 63T553 -12Q454 -12 372 22T223 123L225 0Z" />
136+<glyph unicode="t" glyph-name="t" horiz-adv-x="569" d="M289 260V246Q289 131 311 107T401 82Q429 82 451 83T491 88V-2Q460 -5 434 -6T389 -8Q264 -8 225 27T186 225V260V829H29V924H186V1288H289V924H467V829H289V260Z" />
137+<glyph unicode="u" glyph-name="u" horiz-adv-x="1161" d="M958 924V94H1110V0H854V176Q766 75 670 25T469 -25Q321 -25 256 52T190 307V829H39V924H295V307Q295 182 340 126T487 70Q582 70 674 128T854 301V829H700V924H958Z" />
138+<glyph unicode="v" glyph-name="v" horiz-adv-x="944" d="M743 829H582V924H989V829H850L518 -25H438L90 829H-49V924H358V829H197L475 113L743 829Z" />
139+<glyph unicode="w" glyph-name="w" horiz-adv-x="1507" d="M506 -25H428L129 829H-6V924H391V829H227L467 137L674 829H532V924H983V829H829L1032 137L1276 829H1122V924H1522V829H1372L1069 -25H991L750 772L506 -25Z" />
140+<glyph unicode="x" glyph-name="x" horiz-adv-x="1012" d="M410 0H14V94H158L455 473L176 829H41V924H428V829H297L514 549L733 829H598V924H1001V829H850L571 475L850 94H1001V0H598V94H729L512 397L272 94H410V0Z" />
141+<glyph unicode="y" glyph-name="y" horiz-adv-x="981" d="M770 829H625V924H995V829H877L354 -332H510V-426H96V-332H248L432 82L92 829H-23V924H338V829H203L483 186L770 829Z" />
142+<glyph unicode="z" glyph-name="z" horiz-adv-x="973" d="M90 0V94L713 829H203V672H106V924H852V852L211 94H766V266H860V0H90Z" />
143+<glyph unicode="{" glyph-name="braceleft" horiz-adv-x="1024" d="M848 1389H811Q676 1389 629 1338T582 1124V883Q582 708 539 635T387 530Q496 498 539 426T582 178V-63Q582 -225 628 -275T809 -326H848V-414H805Q616 -414 548 -340T479 -39V201Q479 359 421
144+423T221 487Q214 487 200 486T176 485V575Q186 574 196 574T225 573Q364 573 421 637T479 860V1100Q479 1327 547 1402T805 1477H848V1389Z" />
145+<glyph unicode="|" glyph-name="bar" horiz-adv-x="1024" d="M557 1565V-483H467V1565H557Z" />
146+<glyph unicode="}" glyph-name="braceright" horiz-adv-x="1024" d="M545 1100V860Q545 702 603 638T803 573Q810 573 824 574T848 575V485Q839 485 825 486T803 487Q661 487 603 423T545 201V-39Q545 -265 477 -339T219 -414H176V-326H215Q349 -326 395 -276T442
147+-63V178Q442 352 485 425T639 530Q529 562 486 635T442 883V1124Q442 1286 395 1337T213 1389H176V1477H219Q408 1477 476 1402T545 1100Z" />
148+<glyph unicode="~" glyph-name="asciitilde" horiz-adv-x="1706" d="M1530 647Q1424 573 1328 537T1143 500Q1044 500 877 561Q861 567 855 569Q843 573 822 581Q655 641 565 641Q482 641 390 604T178 481V573Q283 647 379 683T565 719Q665 719 836 658Q848 653
149+855 651Q863 648 882 641Q1050 580 1143 580Q1226 580 1318 617T1530 739V647Z" />
150+<glyph unicode="&#x80;" glyph-name="Euro" horiz-adv-x="1049" d="M969 346Q932 163 832 67T575 -29Q367 -29 263 106T135 543H0L25 625H129Q128 644 128 668T127 743Q127 791 127 813T129 854H0L25 936H135Q161 1212 261 1338T555 1464Q647 1464 730 1416T850
151+1290V1436H952V1038H860Q840 1180 752 1273T555 1366Q411 1366 341 1269T250 936H797L772 854H244Q243 836 243 814T242 743Q242 693 242 669T244 625H674L649 543H250Q271 296 347 184T575 72Q693 72 766 141T864 346H969Z" />
152+<hkern g1="hyphen" g2="A" k="36" />
153+<hkern g1="hyphen" g2="C" k="-38" />
154+<hkern g1="hyphen" g2="G" k="-75" />
155+<hkern g1="hyphen" g2="J" k="-114" />
156+<hkern g1="hyphen" g2="O" k="-75" />
157+<hkern g1="hyphen" g2="T" k="188" />
158+<hkern g1="hyphen" g2="V" k="120" />
159+<hkern g1="hyphen" g2="W" k="112" />
160+<hkern g1="hyphen" g2="X" k="73" />
161+<hkern g1="hyphen" g2="Y" k="159" />
162+<hkern g1="hyphen" g2="o" k="-38" />
163+<hkern g1="hyphen" g2="Aring" k="36" />
164+<hkern g1="hyphen" g2="AE" k="-57" />
165+<hkern g1="hyphen" g2="Oslash" k="-75" />
166+<hkern g1="hyphen" g2="oslash" k="-38" />
167+<hkern g1="hyphen" g2="OE" k="-75" />
168+<hkern g1="hyphen" g2="oe" k="-38" />
169+<hkern g1="A" g2="hyphen" k="45" />
170+<hkern g1="A" g2="colon" k="-38" />
171+<hkern g1="A" g2="semicolon" k="-38" />
172+<hkern g1="A" g2="T" k="112" />
173+<hkern g1="A" g2="U" k="73" />
174+<hkern g1="A" g2="V" k="73" />
175+<hkern g1="A" g2="W" k="83" />
176+<hkern g1="A" g2="X" k="36" />
177+<hkern g1="A" g2="Y" k="36" />
178+<hkern g1="A" g2="u" k="45" />
179+<hkern g1="A" g2="v" k="73" />
180+<hkern g1="A" g2="w" k="73" />
181+<hkern g1="A" g2="y" k="73" />
182+<hkern g1="A" g2="quotedblleft" k="264" />
183+<hkern g1="A" g2="quotedblright" k="206" />
184+<hkern g1="A" g2="quoteleft" k="264" />
185+<hkern g1="A" g2="quoteright" k="206" />
186+<hkern g1="A" g2="quotesinglbase" k="-114" />
187+<hkern g1="A" g2="quotedblbase" k="-114" />
188+<hkern g1="B" g2="hyphen" k="-57" />
189+<hkern g1="B" g2="V" k="36" />
190+<hkern g1="B" g2="W" k="36" />
191+<hkern g1="B" g2="Y" k="36" />
192+<hkern g1="B" g2="quotedblleft" k="36" />
193+<hkern g1="B" g2="quotedblright" k="36" />
194+<hkern g1="B" g2="quoteleft" k="36" />
195+<hkern g1="B" g2="quoteright" k="36" />
196+<hkern g1="B" g2="quotesinglbase" k="36" />
197+<hkern g1="B" g2="quotedblbase" k="36" />
198+<hkern g1="C" g2="hyphen" k="-47" />
199+<hkern g1="C" g2="quotedblright" k="-57" />
200+<hkern g1="C" g2="quoteright" k="-57" />
201+<hkern g1="D" g2="hyphen" k="-65" />
202+<hkern g1="D" g2="A" k="36" />
203+<hkern g1="D" g2="V" k="36" />
204+<hkern g1="D" g2="W" k="36" />
205+<hkern g1="D" g2="Aring" k="36" />
206+<hkern g1="D" g2="quotedblleft" k="73" />
207+<hkern g1="D" g2="quoteleft" k="73" />
208+<hkern g1="D" g2="quotesinglbase" k="188" />
209+<hkern g1="D" g2="quotedblbase" k="188" />
210+<hkern g1="F" g2="comma" k="405" />
211+<hkern g1="F" g2="hyphen" k="102" />
212+<hkern g1="F" g2="period" k="405" />
213+<hkern g1="F" g2="colon" k="120" />
214+<hkern g1="F" g2="semicolon" k="120" />
215+<hkern g1="F" g2="A" k="73" />
216+<hkern g1="F" g2="a" k="92" />
217+<hkern g1="F" g2="e" k="92" />
218+<hkern g1="F" g2="i" k="36" />
219+<hkern g1="F" g2="o" k="92" />
220+<hkern g1="F" g2="r" k="131" />
221+<hkern g1="F" g2="u" k="131" />
222+<hkern g1="F" g2="y" k="112" />
223+<hkern g1="F" g2="Aring" k="73" />
224+<hkern g1="F" g2="ae" k="92" />
225+<hkern g1="F" g2="oslash" k="92" />
226+<hkern g1="F" g2="guillemotleft" k="73" />
227+<hkern g1="F" g2="oe" k="92" />
228+<hkern g1="F" g2="quotedblright" k="-75" />
229+<hkern g1="F" g2="quoteright" k="-75" />
230+<hkern g1="F" g2="guilsinglleft" k="73" />
231+<hkern g1="F" g2="quotesinglbase" k="415" />
232+<hkern g1="F" g2="quotedblbase" k="415" />
233+<hkern g1="G" g2="hyphen" k="-47" />
234+<hkern g1="G" g2="A" k="-75" />
235+<hkern g1="G" g2="Aring" k="-75" />
236+<hkern g1="J" g2="quotesinglbase" k="112" />
237+<hkern g1="J" g2="quotedblbase" k="112" />
238+<hkern g1="K" g2="hyphen" k="63" />
239+<hkern g1="K" g2="A" k="73" />
240+<hkern g1="K" g2="C" k="45" />
241+<hkern g1="K" g2="O" k="45" />
242+<hkern g1="K" g2="U" k="73" />
243+<hkern g1="K" g2="Y" k="-38" />
244+<hkern g1="K" g2="a" k="36" />
245+<hkern g1="K" g2="e" k="36" />
246+<hkern g1="K" g2="o" k="36" />
247+<hkern g1="K" g2="u" k="73" />
248+<hkern g1="K" g2="y" k="112" />
249+<hkern g1="K" g2="Aring" k="73" />
250+<hkern g1="K" g2="Oslash" k="45" />
251+<hkern g1="K" g2="ae" k="36" />
252+<hkern g1="K" g2="oslash" k="36" />
253+<hkern g1="K" g2="OE" k="45" />
254+<hkern g1="K" g2="oe" k="36" />
255+<hkern g1="K" g2="quotedblleft" k="-114" />
256+<hkern g1="K" g2="quotedblright" k="-151" />
257+<hkern g1="K" g2="quoteleft" k="-114" />
258+<hkern g1="K" g2="quoteright" k="-151" />
259+<hkern g1="K" g2="quotesinglbase" k="-104" />
260+<hkern g1="K" g2="quotedblbase" k="-104" />
261+<hkern g1="L" g2="O" k="73" />
262+<hkern g1="L" g2="T" k="188" />
263+<hkern g1="L" g2="U" k="149" />
264+<hkern g1="L" g2="V" k="188" />
265+<hkern g1="L" g2="W" k="149" />
266+<hkern g1="L" g2="Y" k="188" />
267+<hkern g1="L" g2="a" k="36" />
268+<hkern g1="L" g2="e" k="36" />
269+<hkern g1="L" g2="o" k="36" />
270+<hkern g1="L" g2="u" k="112" />
271+<hkern g1="L" g2="y" k="112" />
272+<hkern g1="L" g2="Oslash" k="73" />
273+<hkern g1="L" g2="ae" k="36" />
274+<hkern g1="L" g2="oslash" k="36" />
275+<hkern g1="L" g2="OE" k="73" />
276+<hkern g1="L" g2="oe" k="36" />
277+<hkern g1="L" g2="quotedblleft" k="376" />
278+<hkern g1="L" g2="quotedblright" k="264" />
279+<hkern g1="L" g2="quoteleft" k="376" />
280+<hkern g1="L" g2="quoteright" k="264" />
281+<hkern g1="O" g2="comma" k="83" />
282+<hkern g1="O" g2="hyphen" k="-57" />
283+<hkern g1="O" g2="period" k="83" />
284+<hkern g1="O" g2="colon" k="-38" />
285+<hkern g1="O" g2="semicolon" k="-38" />
286+<hkern g1="O" g2="X" k="73" />
287+<hkern g1="O" g2="Y" k="36" />
288+<hkern g1="O" g2="quotedblleft" k="36" />
289+<hkern g1="O" g2="quoteleft" k="36" />
290+<hkern g1="O" g2="quotesinglbase" k="112" />
291+<hkern g1="O" g2="quotedblbase" k="112" />
292+<hkern g1="P" g2="comma" k="491" />
293+<hkern g1="P" g2="hyphen" k="159" />
294+<hkern g1="P" g2="period" k="491" />
295+<hkern g1="P" g2="colon" k="92" />
296+<hkern g1="P" g2="semicolon" k="92" />
297+<hkern g1="P" g2="A" k="112" />
298+<hkern g1="P" g2="a" k="149" />
299+<hkern g1="P" g2="e" k="112" />
300+<hkern g1="P" g2="o" k="112" />
301+<hkern g1="P" g2="r" k="36" />
302+<hkern g1="P" g2="s" k="55" />
303+<hkern g1="P" g2="Aring" k="112" />
304+<hkern g1="P" g2="ae" k="149" />
305+<hkern g1="P" g2="oslash" k="112" />
306+<hkern g1="P" g2="guillemotleft" k="112" />
307+<hkern g1="P" g2="oe" k="112" />
308+<hkern g1="P" g2="quotedblright" k="-86" />
309+<hkern g1="P" g2="quoteright" k="-86" />
310+<hkern g1="P" g2="guilsinglleft" k="112" />
311+<hkern g1="P" g2="quotesinglbase" k="452" />
312+<hkern g1="P" g2="quotedblbase" k="452" />
313+<hkern g1="Q" g2="quotedblleft" k="36" />
314+<hkern g1="Q" g2="quoteleft" k="36" />
315+<hkern g1="Q" g2="quotesinglbase" k="-114" />
316+<hkern g1="Q" g2="quotedblbase" k="-114" />
317+<hkern g1="R" g2="hyphen" k="55" />
318+<hkern g1="R" g2="V" k="36" />
319+<hkern g1="R" g2="W" k="36" />
320+<hkern g1="R" g2="Y" k="36" />
321+<hkern g1="R" g2="a" k="36" />
322+<hkern g1="R" g2="u" k="36" />
323+<hkern g1="R" g2="ae" k="36" />
324+<hkern g1="R" g2="quotedblleft" k="73" />
325+<hkern g1="R" g2="quotedblright" k="-38" />
326+<hkern g1="R" g2="quoteleft" k="73" />
327+<hkern g1="R" g2="quoteright" k="-38" />
328+<hkern g1="R" g2="quotesinglbase" k="-38" />
329+<hkern g1="R" g2="quotedblbase" k="-38" />
330+<hkern g1="T" g2="comma" k="264" />
331+<hkern g1="T" g2="hyphen" k="188" />
332+<hkern g1="T" g2="period" k="264" />
333+<hkern g1="T" g2="colon" k="131" />
334+<hkern g1="T" g2="semicolon" k="131" />
335+<hkern g1="T" g2="A" k="112" />
336+<hkern g1="T" g2="T" k="36" />
337+<hkern g1="T" g2="a" k="215" />
338+<hkern g1="T" g2="c" k="215" />
339+<hkern g1="T" g2="e" k="215" />
340+<hkern g1="T" g2="i" k="73" />
341+<hkern g1="T" g2="o" k="215" />
342+<hkern g1="T" g2="r" k="188" />
343+<hkern g1="T" g2="s" k="215" />
344+<hkern g1="T" g2="u" k="243" />
345+<hkern g1="T" g2="w" k="264" />
346+<hkern g1="T" g2="y" k="188" />
347+<hkern g1="T" g2="Aring" k="112" />
348+<hkern g1="T" g2="ae" k="215" />
349+<hkern g1="T" g2="oslash" k="215" />
350+<hkern g1="T" g2="guillemotleft" k="301" />
351+<hkern g1="T" g2="guillemotright" k="188" />
352+<hkern g1="T" g2="oe" k="215" />
353+<hkern g1="T" g2="quotedblright" k="-38" />
354+<hkern g1="T" g2="quoteright" k="-38" />
355+<hkern g1="T" g2="guilsinglleft" k="301" />
356+<hkern g1="T" g2="guilsinglright" k="188" />
357+<hkern g1="T" g2="quotesinglbase" k="225" />
358+<hkern g1="T" g2="quotedblbase" k="225" />
359+<hkern g1="U" g2="A" k="55" />
360+<hkern g1="U" g2="J" k="112" />
361+<hkern g1="U" g2="Aring" k="55" />
362+<hkern g1="V" g2="comma" k="339" />
363+<hkern g1="V" g2="hyphen" k="167" />
364+<hkern g1="V" g2="period" k="339" />
365+<hkern g1="V" g2="colon" k="139" />
366+<hkern g1="V" g2="semicolon" k="139" />
367+<hkern g1="V" g2="A" k="73" />
368+<hkern g1="V" g2="a" k="149" />
369+<hkern g1="V" g2="e" k="149" />
370+<hkern g1="V" g2="i" k="73" />
371+<hkern g1="V" g2="o" k="149" />
372+<hkern g1="V" g2="u" k="112" />
373+<hkern g1="V" g2="y" k="73" />
374+<hkern g1="V" g2="Aring" k="73" />
375+<hkern g1="V" g2="ae" k="149" />
376+<hkern g1="V" g2="oslash" k="149" />
377+<hkern g1="V" g2="guillemotleft" k="188" />
378+<hkern g1="V" g2="guillemotright" k="112" />
379+<hkern g1="V" g2="oe" k="149" />
380+<hkern g1="V" g2="quotedblleft" k="-114" />
381+<hkern g1="V" g2="quotedblright" k="-57" />
382+<hkern g1="V" g2="quoteleft" k="-114" />
383+<hkern g1="V" g2="quoteright" k="-57" />
384+<hkern g1="V" g2="guilsinglleft" k="188" />
385+<hkern g1="V" g2="guilsinglright" k="112" />
386+<hkern g1="V" g2="quotesinglbase" k="339" />
387+<hkern g1="V" g2="quotedblbase" k="339" />
388+<hkern g1="W" g2="comma" k="253" />
389+<hkern g1="W" g2="hyphen" k="120" />
390+<hkern g1="W" g2="period" k="253" />
391+<hkern g1="W" g2="colon" k="120" />
392+<hkern g1="W" g2="semicolon" k="120" />
393+<hkern g1="W" g2="A" k="73" />
394+<hkern g1="W" g2="a" k="131" />
395+<hkern g1="W" g2="e" k="131" />
396+<hkern g1="W" g2="i" k="73" />
397+<hkern g1="W" g2="o" k="131" />
398+<hkern g1="W" g2="r" k="92" />
399+<hkern g1="W" g2="u" k="112" />
400+<hkern g1="W" g2="y" k="73" />
401+<hkern g1="W" g2="Aring" k="73" />
402+<hkern g1="W" g2="ae" k="131" />
403+<hkern g1="W" g2="oslash" k="131" />
404+<hkern g1="W" g2="guillemotleft" k="149" />
405+<hkern g1="W" g2="guillemotright" k="112" />
406+<hkern g1="W" g2="oe" k="131" />
407+<hkern g1="W" g2="quotedblleft" k="-75" />
408+<hkern g1="W" g2="quotedblright" k="-75" />
409+<hkern g1="W" g2="quoteleft" k="-75" />
410+<hkern g1="W" g2="quoteright" k="-75" />
411+<hkern g1="W" g2="guilsinglleft" k="149" />
412+<hkern g1="W" g2="guilsinglright" k="112" />
413+<hkern g1="W" g2="quotesinglbase" k="301" />
414+<hkern g1="W" g2="quotedblbase" k="301" />
415+<hkern g1="X" g2="hyphen" k="102" />
416+<hkern g1="X" g2="A" k="36" />
417+<hkern g1="X" g2="C" k="36" />
418+<hkern g1="X" g2="O" k="73" />
419+<hkern g1="X" g2="e" k="36" />
420+<hkern g1="X" g2="Aring" k="36" />
421+<hkern g1="X" g2="Oslash" k="73" />
422+<hkern g1="X" g2="guillemotleft" k="36" />
423+<hkern g1="X" g2="OE" k="73" />
424+<hkern g1="X" g2="quotedblleft" k="-38" />
425+<hkern g1="X" g2="quotedblright" k="-75" />
426+<hkern g1="X" g2="quoteleft" k="-38" />
427+<hkern g1="X" g2="quoteright" k="-75" />
428+<hkern g1="X" g2="guilsinglleft" k="36" />
429+<hkern g1="X" g2="quotesinglbase" k="-114" />
430+<hkern g1="X" g2="quotedblbase" k="-114" />
431+<hkern g1="Y" g2="comma" k="235" />
432+<hkern g1="Y" g2="hyphen" k="243" />
433+<hkern g1="Y" g2="period" k="235" />
434+<hkern g1="Y" g2="colon" k="178" />
435+<hkern g1="Y" g2="semicolon" k="178" />
436+<hkern g1="Y" g2="A" k="36" />
437+<hkern g1="Y" g2="C" k="36" />
438+<hkern g1="Y" g2="O" k="36" />
439+<hkern g1="Y" g2="a" k="149" />
440+<hkern g1="Y" g2="e" k="149" />
441+<hkern g1="Y" g2="i" k="36" />
442+<hkern g1="Y" g2="o" k="149" />
443+<hkern g1="Y" g2="u" k="149" />
444+<hkern g1="Y" g2="Aring" k="36" />
445+<hkern g1="Y" g2="Oslash" k="36" />
446+<hkern g1="Y" g2="ae" k="149" />
447+<hkern g1="Y" g2="oslash" k="149" />
448+<hkern g1="Y" g2="guillemotleft" k="149" />
449+<hkern g1="Y" g2="guillemotright" k="149" />
450+<hkern g1="Y" g2="OE" k="36" />
451+<hkern g1="Y" g2="oe" k="149" />
452+<hkern g1="Y" g2="quotedblleft" k="-114" />
453+<hkern g1="Y" g2="quotedblright" k="-75" />
454+<hkern g1="Y" g2="quoteleft" k="-114" />
455+<hkern g1="Y" g2="quoteright" k="-75" />
456+<hkern g1="Y" g2="guilsinglleft" k="149" />
457+<hkern g1="Y" g2="guilsinglright" k="149" />
458+<hkern g1="Y" g2="quotesinglbase" k="188" />
459+<hkern g1="Y" g2="quotedblbase" k="188" />
460+<hkern g1="Z" g2="hyphen" k="36" />
461+<hkern g1="f" g2="comma" k="36" />
462+<hkern g1="f" g2="period" k="36" />
463+<hkern g1="f" g2="t" k="36" />
464+<hkern g1="f" g2="w" k="36" />
465+<hkern g1="f" g2="y" k="-38" />
466+<hkern g1="f" g2="quotedblleft" k="-38" />
467+<hkern g1="f" g2="quotedblright" k="-141" />
468+<hkern g1="f" g2="quoteleft" k="-38" />
469+<hkern g1="f" g2="quoteright" k="-141" />
470+<hkern g1="k" g2="u" k="36" />
471+<hkern g1="n" g2="quotedblleft" k="112" />
472+<hkern g1="n" g2="quotedblright" k="112" />
473+<hkern g1="n" g2="quoteleft" k="112" />
474+<hkern g1="n" g2="quoteright" k="112" />
475+<hkern g1="o" g2="hyphen" k="-38" />
476+<hkern g1="o" g2="quotedblleft" k="73" />
477+<hkern g1="o" g2="quoteleft" k="73" />
478+<hkern g1="r" g2="comma" k="167" />
479+<hkern g1="r" g2="hyphen" k="36" />
480+<hkern g1="r" g2="period" k="167" />
481+<hkern g1="r" g2="g" k="36" />
482+<hkern g1="r" g2="h" k="36" />
483+<hkern g1="r" g2="q" k="36" />
484+<hkern g1="r" g2="v" k="-38" />
485+<hkern g1="r" g2="w" k="-38" />
486+<hkern g1="r" g2="x" k="-38" />
487+<hkern g1="r" g2="y" k="-38" />
488+<hkern g1="r" g2="quotedblright" k="-86" />
489+<hkern g1="r" g2="quoteright" k="-86" />
490+<hkern g1="r" g2="quotesinglbase" k="83" />
491+<hkern g1="r" g2="quotedblbase" k="83" />
492+<hkern g1="v" g2="comma" k="159" />
493+<hkern g1="v" g2="period" k="159" />
494+<hkern g1="v" g2="quotedblright" k="-151" />
495+<hkern g1="v" g2="quoteright" k="-151" />
496+<hkern g1="v" g2="quotesinglbase" k="225" />
497+<hkern g1="v" g2="quotedblbase" k="225" />
498+<hkern g1="w" g2="comma" k="149" />
499+<hkern g1="w" g2="hyphen" k="-38" />
500+<hkern g1="w" g2="period" k="149" />
501+<hkern g1="w" g2="quotedblleft" k="-57" />
502+<hkern g1="w" g2="quotedblright" k="-151" />
503+<hkern g1="w" g2="quoteleft" k="-57" />
504+<hkern g1="w" g2="quoteright" k="-151" />
505+<hkern g1="w" g2="quotesinglbase" k="196" />
506+<hkern g1="w" g2="quotedblbase" k="196" />
507+<hkern g1="y" g2="comma" k="178" />
508+<hkern g1="y" g2="hyphen" k="36" />
509+<hkern g1="y" g2="period" k="178" />
510+<hkern g1="y" g2="quotedblleft" k="-114" />
511+<hkern g1="y" g2="quotedblright" k="-151" />
512+<hkern g1="y" g2="quoteleft" k="-114" />
513+<hkern g1="y" g2="quoteright" k="-151" />
514+<hkern g1="y" g2="quotesinglbase" k="225" />
515+<hkern g1="y" g2="quotedblbase" k="225" />
516+<hkern g1="Aring" g2="hyphen" k="45" />
517+<hkern g1="Aring" g2="colon" k="-38" />
518+<hkern g1="Aring" g2="semicolon" k="-38" />
519+<hkern g1="Aring" g2="T" k="112" />
520+<hkern g1="Aring" g2="U" k="73" />
521+<hkern g1="Aring" g2="V" k="73" />
522+<hkern g1="Aring" g2="W" k="83" />
523+<hkern g1="Aring" g2="X" k="36" />
524+<hkern g1="Aring" g2="Y" k="36" />
525+<hkern g1="Aring" g2="u" k="45" />
526+<hkern g1="Aring" g2="v" k="73" />
527+<hkern g1="Aring" g2="w" k="73" />
528+<hkern g1="Aring" g2="y" k="73" />
529+<hkern g1="Aring" g2="quotedblleft" k="264" />
530+<hkern g1="Aring" g2="quotedblright" k="206" />
531+<hkern g1="Aring" g2="quoteleft" k="264" />
532+<hkern g1="Aring" g2="quoteright" k="206" />
533+<hkern g1="Aring" g2="quotesinglbase" k="-114" />
534+<hkern g1="Aring" g2="quotedblbase" k="-114" />
535+<hkern g1="germandbls" g2="hyphen" k="-75" />
536+<hkern g1="germandbls" g2="quotedblleft" k="73" />
537+<hkern g1="germandbls" g2="quoteleft" k="73" />
538+<hkern g1="germandbls" g2="quotesinglbase" k="36" />
539+<hkern g1="germandbls" g2="quotedblbase" k="36" />
540+<hkern g1="AE" g2="hyphen" k="-38" />
541+<hkern g1="AE" g2="quotedblright" k="-75" />
542+<hkern g1="AE" g2="quoteright" k="-75" />
543+<hkern g1="Oslash" g2="comma" k="83" />
544+<hkern g1="Oslash" g2="hyphen" k="-57" />
545+<hkern g1="Oslash" g2="period" k="83" />
546+<hkern g1="Oslash" g2="colon" k="-38" />
547+<hkern g1="Oslash" g2="semicolon" k="-38" />
548+<hkern g1="Oslash" g2="X" k="73" />
549+<hkern g1="Oslash" g2="Y" k="36" />
550+<hkern g1="Oslash" g2="quotedblleft" k="36" />
551+<hkern g1="Oslash" g2="quoteleft" k="36" />
552+<hkern g1="Oslash" g2="quotesinglbase" k="112" />
553+<hkern g1="Oslash" g2="quotedblbase" k="112" />
554+<hkern g1="oslash" g2="hyphen" k="-38" />
555+<hkern g1="oslash" g2="quotedblleft" k="73" />
556+<hkern g1="oslash" g2="quoteleft" k="73" />
557+<hkern g1="guillemotleft" g2="J" k="-38" />
558+<hkern g1="guillemotleft" g2="T" k="188" />
559+<hkern g1="guillemotleft" g2="V" k="112" />
560+<hkern g1="guillemotleft" g2="W" k="112" />
561+<hkern g1="guillemotleft" g2="Y" k="149" />
562+<hkern g1="guillemotleft" g2="AE" k="-151" />
563+<hkern g1="guillemotright" g2="J" k="-75" />
564+<hkern g1="guillemotright" g2="T" k="301" />
565+<hkern g1="guillemotright" g2="V" k="188" />
566+<hkern g1="guillemotright" g2="W" k="149" />
567+<hkern g1="guillemotright" g2="X" k="36" />
568+<hkern g1="guillemotright" g2="Y" k="149" />
569+<hkern g1="quotedblleft" g2="A" k="196" />
570+<hkern g1="quotedblleft" g2="J" k="149" />
571+<hkern g1="quotedblleft" g2="T" k="-38" />
572+<hkern g1="quotedblleft" g2="V" k="-57" />
573+<hkern g1="quotedblleft" g2="W" k="-47" />
574+<hkern g1="quotedblleft" g2="X" k="-65" />
575+<hkern g1="quotedblleft" g2="Y" k="-65" />
576+<hkern g1="quotedblleft" g2="f" k="-75" />
577+<hkern g1="quotedblleft" g2="n" k="-75" />
578+<hkern g1="quotedblleft" g2="r" k="-75" />
579+<hkern g1="quotedblleft" g2="v" k="-151" />
580+<hkern g1="quotedblleft" g2="w" k="-151" />
581+<hkern g1="quotedblleft" g2="y" k="-151" />
582+<hkern g1="quotedblleft" g2="Aring" k="196" />
583+<hkern g1="quotedblleft" g2="AE" k="395" />
584+<hkern g1="quotedblleft" g2="fi" k="-75" />
585+<hkern g1="quotedblleft" g2="fl" k="-75" />
586+<hkern g1="quoteleft" g2="A" k="196" />
587+<hkern g1="quoteleft" g2="J" k="149" />
588+<hkern g1="quoteleft" g2="T" k="-38" />
589+<hkern g1="quoteleft" g2="V" k="-57" />
590+<hkern g1="quoteleft" g2="W" k="-47" />
591+<hkern g1="quoteleft" g2="X" k="-65" />
592+<hkern g1="quoteleft" g2="Y" k="-65" />
593+<hkern g1="quoteleft" g2="f" k="-75" />
594+<hkern g1="quoteleft" g2="n" k="-75" />
595+<hkern g1="quoteleft" g2="r" k="-75" />
596+<hkern g1="quoteleft" g2="v" k="-151" />
597+<hkern g1="quoteleft" g2="w" k="-151" />
598+<hkern g1="quoteleft" g2="y" k="-151" />
599+<hkern g1="quoteleft" g2="Aring" k="196" />
600+<hkern g1="quoteleft" g2="AE" k="395" />
601+<hkern g1="quoteleft" g2="fi" k="-75" />
602+<hkern g1="quoteleft" g2="fl" k="-75" />
603+<hkern g1="guilsinglleft" g2="J" k="-38" />
604+<hkern g1="guilsinglleft" g2="T" k="188" />
605+<hkern g1="guilsinglleft" g2="V" k="112" />
606+<hkern g1="guilsinglleft" g2="W" k="112" />
607+<hkern g1="guilsinglleft" g2="Y" k="149" />
608+<hkern g1="guilsinglleft" g2="AE" k="-151" />
609+<hkern g1="guilsinglright" g2="J" k="-75" />
610+<hkern g1="guilsinglright" g2="T" k="301" />
611+<hkern g1="guilsinglright" g2="V" k="188" />
612+<hkern g1="guilsinglright" g2="W" k="149" />
613+<hkern g1="guilsinglright" g2="X" k="36" />
614+<hkern g1="guilsinglright" g2="Y" k="149" />
615+<hkern g1="quotesinglbase" g2="A" k="-75" />
616+<hkern g1="quotesinglbase" g2="C" k="112" />
617+<hkern g1="quotesinglbase" g2="G" k="73" />
618+<hkern g1="quotesinglbase" g2="O" k="73" />
619+<hkern g1="quotesinglbase" g2="T" k="206" />
620+<hkern g1="quotesinglbase" g2="V" k="339" />
621+<hkern g1="quotesinglbase" g2="W" k="292" />
622+<hkern g1="quotesinglbase" g2="X" k="-86" />
623+<hkern g1="quotesinglbase" g2="Y" k="225" />
624+<hkern g1="quotesinglbase" g2="f" k="-38" />
625+<hkern g1="quotesinglbase" g2="v" k="149" />
626+<hkern g1="quotesinglbase" g2="w" k="120" />
627+<hkern g1="quotesinglbase" g2="y" k="36" />
628+<hkern g1="quotesinglbase" g2="Aring" k="-75" />
629+<hkern g1="quotesinglbase" g2="germandbls" k="-38" />
630+<hkern g1="quotesinglbase" g2="AE" k="-190" />
631+<hkern g1="quotesinglbase" g2="Oslash" k="73" />
632+<hkern g1="quotesinglbase" g2="OE" k="73" />
633+<hkern g1="quotesinglbase" g2="fi" k="-38" />
634+<hkern g1="quotesinglbase" g2="fl" k="-38" />
635+<hkern g1="quotedblbase" g2="A" k="-75" />
636+<hkern g1="quotedblbase" g2="C" k="112" />
637+<hkern g1="quotedblbase" g2="G" k="73" />
638+<hkern g1="quotedblbase" g2="O" k="73" />
639+<hkern g1="quotedblbase" g2="T" k="206" />
640+<hkern g1="quotedblbase" g2="V" k="339" />
641+<hkern g1="quotedblbase" g2="W" k="292" />
642+<hkern g1="quotedblbase" g2="X" k="-86" />
643+<hkern g1="quotedblbase" g2="Y" k="225" />
644+<hkern g1="quotedblbase" g2="f" k="-38" />
645+<hkern g1="quotedblbase" g2="v" k="149" />
646+<hkern g1="quotedblbase" g2="w" k="120" />
647+<hkern g1="quotedblbase" g2="y" k="36" />
648+<hkern g1="quotedblbase" g2="Aring" k="-75" />
649+<hkern g1="quotedblbase" g2="germandbls" k="-38" />
650+<hkern g1="quotedblbase" g2="AE" k="-190" />
651+<hkern g1="quotedblbase" g2="Oslash" k="73" />
652+<hkern g1="quotedblbase" g2="OE" k="73" />
653+<hkern g1="quotedblbase" g2="fi" k="-38" />
654+<hkern g1="quotedblbase" g2="fl" k="-38" />
655+<hkern g1="Lslash" g2="O" k="73" />
656+<hkern g1="Lslash" g2="T" k="188" />
657+<hkern g1="Lslash" g2="U" k="149" />
658+<hkern g1="Lslash" g2="V" k="188" />
659+<hkern g1="Lslash" g2="W" k="149" />
660+<hkern g1="Lslash" g2="Y" k="188" />
661+<hkern g1="Lslash" g2="a" k="36" />
662+<hkern g1="Lslash" g2="e" k="36" />
663+<hkern g1="Lslash" g2="o" k="36" />
664+<hkern g1="Lslash" g2="u" k="112" />
665+<hkern g1="Lslash" g2="y" k="112" />
666+<hkern g1="Lslash" g2="Oslash" k="73" />
667+<hkern g1="Lslash" g2="ae" k="36" />
668+<hkern g1="Lslash" g2="oslash" k="36" />
669+<hkern g1="Lslash" g2="OE" k="73" />
670+<hkern g1="Lslash" g2="oe" k="36" />
671+<hkern g1="Lslash" g2="quotedblleft" k="376" />
672+<hkern g1="Lslash" g2="quotedblright" k="264" />
673+<hkern g1="Lslash" g2="quoteleft" k="376" />
674+<hkern g1="Lslash" g2="quoteright" k="264" />
675+<hkern g1="Eth" g2="hyphen" k="-65" />
676+<hkern g1="Eth" g2="A" k="36" />
677+<hkern g1="Eth" g2="V" k="36" />
678+<hkern g1="Eth" g2="W" k="36" />
679+<hkern g1="Eth" g2="Aring" k="36" />
680+<hkern g1="Eth" g2="quotedblleft" k="73" />
681+<hkern g1="Eth" g2="quoteleft" k="73" />
682+<hkern g1="Eth" g2="quotesinglbase" k="188" />
683+<hkern g1="Eth" g2="quotedblbase" k="188" />
684+</font>
685+</defs>
686+</svg>
diff -r 000000000000 -r 7afca7dbfcc3 fonts/geoslab703ltbtlight.ttf
Binary file fonts/geoslab703ltbtlight.ttf has changed
diff -r 000000000000 -r 7afca7dbfcc3 fonts/geoslab703ltbtlight.woff
Binary file fonts/geoslab703ltbtlight.woff has changed
diff -r 000000000000 -r 7afca7dbfcc3 fonts/geoslab703ltbtlightd41d.eot
Binary file fonts/geoslab703ltbtlightd41d.eot has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/1.png
Binary file img/1.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/10.png
Binary file img/10.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/11.png
Binary file img/11.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/12.png
Binary file img/12.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/13.png
Binary file img/13.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/15.png
Binary file img/15.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/16.png
Binary file img/16.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/17.png
Binary file img/17.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/18.png
Binary file img/18.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/19.png
Binary file img/19.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/2.png
Binary file img/2.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/20.png
Binary file img/20.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/3.png
Binary file img/3.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/4.png
Binary file img/4.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/5.png
Binary file img/5.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/6.png
Binary file img/6.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/7.png
Binary file img/7.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/8.png
Binary file img/8.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/9.png
Binary file img/9.png has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/background.jpg
Binary file img/background.jpg has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/credits-dark.gif
Binary file img/credits-dark.gif has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/credits.gif
Binary file img/credits.gif has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/load-dark.gif
Binary file img/load-dark.gif has changed
diff -r 000000000000 -r 7afca7dbfcc3 img/load.gif
Binary file img/load.gif has changed
diff -r 000000000000 -r 7afca7dbfcc3 index.html
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/index.html Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,39 @@
1+<!DOCTYPE html>
2+<html lang="en">
3+<head>
4+ <meta charset="UTF-8">
5+ <title>The Tree Portal</title>
6+ <script src="js/snap.svg-min.js"></script>
7+ <script src="js/svg-animator.js"></script>
8+ <script src="js/dataloader.js"></script>
9+ <script src="js/data.js"></script>
10+ <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
11+ <script src="js/radialIndicator.min.js"></script>
12+ <link rel="stylesheet" type="text/css" href="data.css">
13+</head>
14+<body id="body">
15+ <svg width="800" height="600" id="svg"></svg>
16+ <div id="overlay">
17+ <img src="" id="image"></img>
18+ <div id="text">
19+ <h1 id="imeDrevesa">Drevo št. 1</h1>
20+ <h3 id="latinskoIme">(Lat. ime)</h3>
21+ <ul>
22+ <li id="cvet">Čas cvetenja: </li>
23+ <li id="kraj">Kraj: </li>
24+ <li id="znacilnosti">Značilnosti:</li>
25+ <li id="uporaba">Uporaba</li>
26+ <li id="zanimivosti">Zanimivosti</li>
27+ </ul>
28+ </div>
29+ </div>
30+ <div id="preload">
31+ <div id="Container" width="30%">
32+ <div id="perc"></div>
33+ <img src="img/load.gif" id="loadingPH"></img>
34+ </div>
35+ <img src="img/credits.gif" id="creditsPH"></img>
36+ <h2 id="loadTXT">Loading resources...</h2>
37+ </div>
38+</body>
39+</html>
diff -r 000000000000 -r 7afca7dbfcc3 js/data.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/js/data.js Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,145 @@
1+function getData() {
2+ var allData = [
3+ ["Ameriški javor",
4+ "Acer negundo",
5+ "Čas cvetenja: April - Maj",
6+ "Izvor: Severna Amerika",
7+ "Značilnosti: Listopadno srednje-visoko drevo, običajno pokončno. Listi so nasprotno razvršeni in pernato sestavljenji iz 3-7 jajčastih lističev.",
8+ "Uporaba: Okrasna rastlina, sajenje v gozdu",
9+ ""],
10+ ["Ostrolistni javor",
11+ "Acer platanoides",
12+ "Čas cvetenja: Marec - April",
13+ "Kraj: Evropa in Mala Azija",
14+ "Značilnosti: Hitro rastoča rastlina, z višino do 30m in širino do 20m. Zahteva delno senco ali popolno sončno območje. Cvetovi imajo zlato rumeno barvo.",
15+ "Uporaba: Soliterno drevo, drevoredno drevo, naravna vrsta",
16+ "Zanimivosti: Je zelo priljubljena vrsta za drevorede in parke. Zelo dobro prenaša vročino in sušo, ter veter."],
17+ ["Črničevje",
18+ "Quercus Ilex",
19+ "Čas cvetenja: April - Junij",
20+ "Izvor: Sredozemlje",
21+ "Značilnosti: Čriničevje je zimzeleno, širokolistno drevo, ki lahko doseže višino 24m. Listi so dolgi od 3 do 8cm in široki da 3,5cm. Cvetovi so enospolni",
22+ "Uporaba: Les",
23+ "Zanimivosti: Ima lahko obliko grma ali drevesa"],
24+ ["Dob",
25+ "Quercus Robur",
26+ "Čas cvetenja: April - Maj",
27+ "Kraj: Evropa",
28+ "Značilnosti: Listnato drevo, ki pripada družini hrastov. Ta je najrazširnejši hrast po Evropi. Znan je za njegovo višino in počasno rast.",
29+ "Uporaba: Kakovostni les",
30+ "Zanimivosti: Narisan je na 1,2 in 5 centne kovance v Nemčiji"],
31+ ["Himalajska cedra",
32+ "Cedrus Deodara",
33+ "Ne Cveti",
34+ "Kraj: Povsod po svetu",
35+ "Značilnosti: Himalajska cedra je hitro rastoči iglavec, ki lahko doseže višino 20m in širino 10m. Potrebuje delno senco ali popolno svetlobo.",
36+ "Uporaba: Soliterno drevo",
37+ "Zanimivosti: Iglice so sivo zelene barve, 2.5 do 5 cm dolge."],
38+ ["Navadni macesen",
39+ "Larix Decidua",
40+ "Čas cvetenja: April - Maj",
41+ "Izvor: Srednje-evropska gorstva",
42+ "Značilnosti: Macesen je iglavec, ki se razlikuje od drugih, ker je listopaden. Raste v goratih predelih. Doseže lahko do 45m višine. Glede na nadmorsko višino je krošnja bolj ali manj široka.",
43+ "Uporaba: Olja uporabljamo v medicini, pridobimo smolo t.i. Trementina di Venezia",
44+ "Zanimivosti: Macesen ima zelo dolgo življenje, do tisočletja."],
45+ ["Gorski bor",
46+ "Pinus Mugo",
47+ "Čas cvetenja: April - Maj",
48+ "Kraj: Evropa, pretežno v Alpah",
49+ "Značilnosti: Iglavec, ki raste v višino v obliki grmiča",
50+ "Uporaba: Iz njegovih vejic pridobimo neko vrsto olja.",
51+ ""],
52+ ["Dvokrpi ginko",
53+ "Ginkgo Biloba",
54+ "Čas cvetenja: April - Maj",
55+ "Kraj: Povsod po svetu",
56+ "Značilnosti: Ginko je drevo, ki raste v delni senci ali s soncem. Njegova višina doseže 15 do 15m in do 15m širine, čeprav je njegova rast počasna.",
57+ "Uporaba: Soliterna rastlina",
58+ "Zanimivosti: Ima pahljačaste zelene liste, ki se v jeseni pobarvajo rumeno. Na ženskih drevesih v jeseni dozorevajo okroglasti plodovi. Odpadli plodovi smrdijo."],
59+ ["Koprivovec",
60+ "Celtis australis",
61+ "Čas cvetenja: April - Maj",
62+ "Izvor: Sredozemlje in mala Azija",
63+ "Značilnosti: Koprivovec je listopadno, širokolistno drevo. Visok je navadno do 12m, krošnja je gosta in skoraj okrogla. Ima jagode, ki zorijo v jeseni.",
64+ "Uporaba: Je večinoma okrasna rastlina, uporabimo jagode v kuhinji in pridelujemo koprivovno marmelado, uporabimo les za pohištvo.",
65+ "Zanimivosti: Lahko živi do 300 let."],
66+ ["Poljski jesen",
67+ "Fraxinus angustifolia",
68+ "Čas cvetenja: Marec - April",
69+ "Kraj: Sredozemlje",
70+ "Značilnosti: Lahko seže do 20-25m višine. Deblo je sivkaste obdelane barve",
71+ "Uporaba: Iz njega pridobimo mano (sladkor izločan)",
72+ ""],
73+ ["Japonska Sofora",
74+ "Sophora japonica",
75+ "Čas cvetenja: Julij - Avgust",
76+ "Kraj: Povsod po svetu",
77+ "Značilnosti: Sofora je hitro rastoče drevo, ki lahko doseže višino 20m in širino 15m. Zahteva popolno sonce.",
78+ "Uporaba: Soliterno drevo",
79+ "Zanimivosti: Sveža, vendar prenese tudi bolj suha rastišča, ima veliko padajočih listov"],
80+ ["Rdeči dren",
81+ "Cornus sanguinea",
82+ "Čas cvetenja: Maj - Junij",
83+ "Kraj: Južna Evropa",
84+ "Značilnosti: Dren ima obliko grma z gosto krošnjo. Visok je lahko do 4m. Proizvaja jagode, ki niso užitne za človeka ampak samo za nekatere vrste ptic.",
85+ "Uporaba: Uporabimo del veje v medicini (za hipertiroidizem in kot antikoagulant)",
86+ "Zanimivosti: Mlajše veje se obarvajo rdeče barve, predvsem v zimskem času."],
87+ ["Lovor",
88+ "Laurus nobilis",
89+ "Čas jagod: oktober/november",
90+ "Izvor: Sredozemlje",
91+ "Značilnosti: Listnata rastlina, ki lahko seže do 10m višine, pretežno kratke goste veje, ki se spletajo v obliki grmiča. Listi so temno-zelene barve.",
92+ "Uporaba: V kuhinji, kot začimba. Njegove jagode uporabljamo za razna olja.",
93+ ""],
94+ ["Gabrika",
95+ "???",
96+ "???",
97+ "Čas cvetenja: ???",
98+ "Značilnosti: ???",
99+ "Uporaba: ???",
100+ ""],
101+ ["Divja češnja",
102+ "Prunus avium",
103+ "Čas cvetenja: April",
104+ "Kraj: Evropa in severna Afrika",
105+ "Značilnosti: Drevo divjih češenj je listopadno in širokolistno drevo, ki proizvaja sadje, ki imenujemo češnje. Visok je lahko do 32m in ima simetrično krošnjo, ki s časom postaja nepravilne oblike.",
106+ "Uporaba: Uporabimo ga za les in v preteklosti je nadomeščal današnje češnje za prehrano. Uporabljamo ga tudi kot okrasno drevo, za proizvodnjo medu, iz njega pridobimo tudi smolo za arome.",
107+ "Zanimivosti: Iz divjih češenj je nastalo današnje drevo češenj, ki ga uporabljamo za prehrano."],
108+ ["Granatno jabolko",
109+ "Punica granatum",
110+ "Čas cvetenja: Maj",
111+ "Izvor: Azija",
112+ "Značilnosti: Cvet ima rdečo barvo, oklep cveta je trd in vačsih precej debel. Ima okroglo obliko.",
113+ "Uporaba: V kuhinji",
114+ ""],
115+ ["Navadna nešplja",
116+ "Mespilus germanica",
117+ "Čas cvetenja: Konec oktobra",
118+ "Izvor: Jugovzhodna Evropa",
119+ "Značilnosti: Navadna nešplja je rastlina s okrim, drobnim do srednje debelega ploda, kiima srednje bujno do bujne zahteve po svetlobi.",
120+ "",
121+ ""],
122+ ["Česmin",
123+ "Berberis vulgaris",
124+ "Čas cvetenja: Maj",
125+ "Izvor: Azija",
126+ "Značilnosti: Česmin je listopadni, širokolistni grm, ki proizvaja jagode. Ima majhne, rumene cvetove, nato postanejo rdeče jagode. Visok je približno 2m.",
127+ "Uporaba: Uporabljamo jo kot okrasna rastlina. Večinoma kot meja med vrtovi. Tudi za pripravo česminovega čaja in sokov. Njegove jagode so užitne, korenine pa uporabjamo v zdravstvu.",
128+ "Zanimivosti: Raste v gorskih predelih od 100 do 2000m"],
129+ ["Bukev",
130+ "Fagus sylvatica",
131+ "Čas cvetenja: Maj",
132+ "Kraj: Evropa",
133+ "Značilnosti: Bukev je listopadno, širokolistno drevo, ki raste počasno ampak ima dolgo življenjsko obdobje. Doseže lahko višine do 40m. Krošnja je gosta in razvejana.",
134+ "Uporaba: Uporabljamo ga za les, v medicini in v kuhinji lahko pridobimo olje",
135+ ""],
136+ ["Goli brest",
137+ "Ulmus glabra",
138+ "Čas cvetenja: Marec - April",
139+ "Kraj: Povsod po svetu",
140+ "Značilnosti: Goli brest je počasno rastoča rastlina, ki lahko doseže do 35m višine in 20 m širine",
141+ "",
142+ ""],
143+ ];
144+ return allData;
145+}
diff -r 000000000000 -r 7afca7dbfcc3 js/dataloader.fs.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/js/dataloader.fs.js Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,100 @@
1+window.onload = setSizes;
2+function setSizes() {
3+ function sizing() {
4+ var height = window.innerHeight,
5+ width = window.innerWidth,
6+ textwid = width - (height/2);
7+ vw_block = document.getElementById("text");
8+ photo_block = document.getElementById("image");
9+ svg_block = document.getElementById("svg");
10+ if (width/height > 1.05) {
11+ vw_block.style.width = (textwid - 50) + "px";
12+ photo_block.style.width = ((height/2) - 10) + "px";
13+ photo_block.style.height = (height - 20) + "px";
14+ } else {
15+ vw_block.style.width = ((width*2/3) - 50) + "px";
16+ photo_block.style.width = ((width/3) - 10) + "px";
17+ photo_block.style.height = ((width*2/3) - 20) + "px";
18+ }
19+ svg_block.style.width = width + "px";
20+ svg_block.style.height = height + "px";
21+ }
22+ var posArr = [[0.08, 0.5],[0.17, 0.35],[0.65, 0.15],[0.07, 0.1],[0.3, 0.15],[0.74, 0.3],[0.2, 0.19],[0.82, 0.42],[0.85, 0.65],[0.1, 0.85],[0.2, 0.6],[0.27, 0.8],[0.5, 0.09],[0.7, 0.95],[0.45, 0.65],[0.9, 0.19],[0.9, 0.75],[0.9, 0.55],[0.76, 0.1],[0.8, 0.9]];
23+ preloader(posArr.length);
24+ sizing();
25+ res = initSVG(posArr);
26+ document.getElementById("creditsPH").onclick = function() {
27+ var docelem = document.documentElement;
28+ if (docelem.requestFullscreen) {
29+ docelem.requestFullscreen();
30+ }
31+ else if (docelem.mozRequestFullScreen) {
32+ docelem.mozRequestFullScreen();
33+ }
34+ else if (docelem.webkitRequestFullScreen) {
35+ docelem.webkitRequestFullScreen();
36+ }
37+ else if (docelem.msRequestFullscreen) {
38+ docelem.msRequestFullscreen();
39+ }
40+ }
41+ function runRes() {
42+ res(window.innerWidth, window.innerHeight);
43+ sizing();
44+ }
45+ $(window).resize(runRes)
46+}
47+function displayInfo(posArr, location) {
48+ var allData = getData(),
49+ propX = location[1]/window.innerWidth,
50+ propY = location[2]/window.innerHeight,
51+ pos = arrayFinder(posArr, [propX, propY]);
52+ //console.table([propX, propY]);
53+ //console.log(pos); //Debug for arrayFinder
54+ document.getElementById("image").src="img/" + (pos + 1) + ".png";
55+ document.getElementById("imeDrevesa").innerHTML = allData[pos][0];
56+ document.getElementById("latinskoIme").innerHTML = allData[pos][1];
57+ document.getElementById("cvet").innerHTML = allData[pos][2];
58+ document.getElementById("kraj").innerHTML = allData[pos][3];
59+ document.getElementById("znacilnosti").innerHTML = allData[pos][4];
60+ document.getElementById("uporaba").innerHTML = allData[pos][5];
61+ document.getElementById("zanimivosti").innerHTML = allData[pos][6];
62+}
63+function arrayFinder(array, find) {
64+ for (var i = 0; i < array.length; i++) {
65+ if (array[i][0] == find[0] && array[i][1] == find[1]) {
66+ return i;
67+ }
68+ }
69+}
70+function preloader(len) {
71+ var load = [];
72+ $('#perc').radialIndicator({radius: 150, displayNumber: false, initValue : 0, barColor : "#ca64ff", barBgColor: "#383c4a", barWidth: 15, roundCorner: true});
73+ var progressBar = $('#perc').data('radialIndicator');
74+ function preload(len) {
75+ var loaded = 0;
76+ for (i = 1; i <= len; i++) {
77+ load[i] = new Image()
78+ load[i].src = "img/" + i + ".png";
79+ //console.log("Loading" + i);
80+ load[i].onload = function() {
81+ loaded++;
82+ progressBar.animate(5*loaded);
83+ //console.log(loaded);
84+ if (loaded == len) {
85+ //console.log("Loaded")
86+ document.getElementById("preload").style.visibility = "hidden";
87+ }
88+ }
89+ load[i].onerror = function() {
90+ loaded++;
91+ console.log("Error while attempting to load image");
92+ }
93+ }
94+ }
95+ preload(len);
96+}
97+function closeInfo() {
98+ document.getElementById("preload").style.visibility = "hidden";
99+ document.getElementById("creditsPH").style.display = "";
100+}
diff -r 000000000000 -r 7afca7dbfcc3 js/dataloader.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/js/dataloader.js Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,85 @@
1+window.onload = setSizes;
2+function setSizes() {
3+ function sizing() {
4+ var height = window.innerHeight,
5+ width = window.innerWidth,
6+ textwid = width - (height/2);
7+ vw_block = document.getElementById("text");
8+ photo_block = document.getElementById("image");
9+ svg_block = document.getElementById("svg");
10+ if (width/height > 1.05) {
11+ vw_block.style.width = (textwid - 50) + "px";
12+ photo_block.style.width = ((height/2) - 10) + "px";
13+ photo_block.style.height = (height - 20) + "px";
14+ } else {
15+ vw_block.style.width = ((width*2/3) - 50) + "px";
16+ photo_block.style.width = ((width/3) - 10) + "px";
17+ photo_block.style.height = ((width*2/3) - 20) + "px";
18+ }
19+ svg_block.style.width = width + "px";
20+ svg_block.style.height = height + "px";
21+ }
22+ var posArr = [[0.08, 0.5],[0.17, 0.35],[0.65, 0.15],[0.07, 0.1],[0.3, 0.15],[0.74, 0.3],[0.2, 0.19],[0.82, 0.42],[0.85, 0.65],[0.1, 0.85],[0.2, 0.6],[0.27, 0.8],[0.5, 0.09],[0.7, 0.95],[0.45, 0.65],[0.9, 0.19],[0.9, 0.75],[0.9, 0.55],[0.76, 0.1],[0.8, 0.9]];
23+ preloader(posArr.length);
24+ sizing();
25+ res = initSVG(posArr);
26+ function runRes() {
27+ res(window.innerWidth, window.innerHeight);
28+ sizing();
29+ }
30+ $(window).resize(runRes)
31+}
32+function displayInfo(posArr, location) {
33+ var allData = getData(),
34+ propX = Math.round(location[1]/window.innerWidth*100)/100,
35+ propY = Math.round(location[2]/window.innerHeight*100)/100,
36+ pos = arrayFinder(posArr, [propX, propY]);
37+ //console.table([propX, propY, location[1], location[2], window.innerWidth, window.innerHeight]);
38+ //console.log(pos); //Debug for arrayFinder
39+ document.getElementById("image").src="img/" + (pos + 1) + ".png";
40+ document.getElementById("imeDrevesa").innerHTML = allData[pos][0];
41+ document.getElementById("latinskoIme").innerHTML = allData[pos][1];
42+ document.getElementById("cvet").innerHTML = allData[pos][2];
43+ document.getElementById("kraj").innerHTML = allData[pos][3];
44+ document.getElementById("znacilnosti").innerHTML = allData[pos][4];
45+ document.getElementById("uporaba").innerHTML = allData[pos][5];
46+ document.getElementById("zanimivosti").innerHTML = allData[pos][6];
47+}
48+function arrayFinder(array, find) {
49+ for (var i = 0; i < array.length; i++) {
50+ if (array[i][0] == find[0] && array[i][1] == find[1]) {
51+ return i;
52+ }
53+ }
54+}
55+function preloader(len) {
56+ var load = [];
57+ $('#perc').radialIndicator({radius: 150, displayNumber: false, initValue : 0, barColor : "#ca64ff", barBgColor: "#383c4a", barWidth: 15, roundCorner: true});
58+ var progressBar = $('#perc').data('radialIndicator');
59+ function preload(len) {
60+ var loaded = 0;
61+ for (i = 1; i <= len; i++) {
62+ load[i] = new Image()
63+ load[i].src = "img/" + i + ".png";
64+ //console.log("Loading" + i);
65+ load[i].onload = function() {
66+ loaded++;
67+ progressBar.animate(5*loaded);
68+ //console.log(loaded);
69+ if (loaded == len) {
70+ //console.log("Loaded")
71+ document.getElementById("preload").style.visibility = "hidden";
72+ }
73+ }
74+ load[i].onerror = function() {
75+ loaded++;
76+ console.log("Error while attempting to load image");
77+ }
78+ }
79+ }
80+ preload(len);
81+}
82+function closeInfo() {
83+ document.getElementById("preload").style.visibility = "hidden";
84+ document.getElementById("creditsPH").style.display = "";
85+}
diff -r 000000000000 -r 7afca7dbfcc3 js/radialIndicator.min.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/js/radialIndicator.min.js Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,7 @@
1+/*
2+ radialIndicator.js v 1.3.1
3+ Author: Sudhanshu Yadav
4+ Copyright (c) 2015 Sudhanshu Yadav - ignitersworld.com , released under the MIT license.
5+ Demo on: ignitersworld.com/lab/radialIndicator.html
6+*/
7+!function(t){var e=Function("return this")()||(42,eval)("this");"function"==typeof define&&define.amd?define(["jquery"],function(n){return e.radialIndicator=t(n,e)}):"object"==typeof module&&module.exports?module.exports=e.document?t(require("jquery"),e):function(e){if(!e.document)throw new Error("radialIndiactor requires a window with a document");return t(require("jquery")(e),e)}:e.radialIndicator=t(e.jQuery,e)}(function(t,e,n){function r(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,function(t,e,n,r){return e+e+n+n+r+r});var n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:null}function i(t,e,n,r){return Math.round(n+(r-n)*t/e)}function a(t,e,n,a,o){var u=-1!=o.indexOf("#")?r(o):o.match(/\d+/g),l=-1!=a.indexOf("#")?r(a):a.match(/\d+/g),s=n-e,c=t-e;return u&&l?"rgb("+i(c,s,l[0],u[0])+","+i(c,s,l[1],u[1])+","+i(c,s,l[2],u[2])+")":null}function o(){for(var t=arguments,e=t[0],n=1,r=t.length;r>n;n++){var i=t[n];for(var a in i)i.hasOwnProperty(a)&&(e[a]=i[a])}return e}function u(t){return function(e){if(!t)return e.toString();e=e||0;for(var n=e.toString().split("").reverse(),r=t.split("").reverse(),i=0,a=0,o=r.length;o>i&&n.length;i++)"#"==r[i]&&(a=i,r[i]=n.shift());return r.splice(a+1,r.lastIndexOf("#")-a,n.reverse().join("")),r.reverse().join("")}}function l(t,e){function n(t){if(e.interaction){t.preventDefault();var n=-Math.max(-1,Math.min(1,t.wheelDelta||-t.detail)),i=null!=e.precision?e.precision:0,a=Math.pow(10,i),o=e.maxValue-e.minValue,u=r.current_value+Math.round(a*n*o/Math.min(o,100))/a;return r.value(u),!1}}var r=this;e=e||{},e=o({},s.defaults,e),this.indOption=e,"string"==typeof t&&(t=c.querySelector(t)),t.length&&(t=t[0]),this.container=t;var i=c.createElement("canvas");t.appendChild(i),this.canElm=i,this.ctx=i.getContext("2d"),this.current_value=e.initValue||e.minValue||0;var a=function(t){if(e.interaction){var n="touchstart"==t.type?"touchmove":"mousemove",a="touchstart"==t.type?"touchend":"mouseup",o=i.getBoundingClientRect(),u=o.top+i.offsetHeight/2,l=o.left+i.offsetWidth/2,s=function(t){t.preventDefault();var n=t.clientX||t.touches[0].clientX,i=t.clientY||t.touches[0].clientY,a=(h+d+Math.atan2(i-u,n-l))%(h+.0175),o=e.radius-1+e.barWidth/2,s=h*o,c=null!=e.precision?e.precision:0,f=Math.pow(10,c),v=Math.round(f*a*o*(e.maxValue-e.minValue)/s)/f;r.value(v)},f=function(){c.removeEventListener(n,s,!1),c.removeEventListener(a,f,!1)};c.addEventListener(n,s,!1),c.addEventListener(a,f,!1)}};i.addEventListener("touchstart",a,!1),i.addEventListener("mousedown",a,!1),i.addEventListener("mousewheel",n,!1),i.addEventListener("DOMMouseScroll",n,!1)}function s(t,e){var n=new l(t,e);return n._init(),n}var c=e.document,h=2*Math.PI,d=Math.PI/2,f=function(){var t=c.createElement("canvas").getContext("2d"),n=e.devicePixelRatio||1,r=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1,i=n/r;return function(t,e,n){var r=n||c.createElement("canvas");return r.width=t*i,r.height=e*i,r.style.width=t+"px",r.style.height=e+"px",r.getContext("2d").setTransform(i,0,0,i,0,0),r}}();return l.prototype={constructor:s,_init:function(){var t=this.indOption,e=this.canElm,n=(this.ctx,2*(t.radius+t.barWidth));return this.formatter="function"==typeof t.format?t.format:u(t.format),this.maxLength=t.percentage?4:this.formatter(t.maxValue).length,f(n,n,e),this._drawBarBg(),this.value(this.current_value),this},_drawBarBg:function(){var t=this.indOption,e=this.ctx,n=2*(t.radius+t.barWidth),r=n/2;e.strokeStyle=t.barBgColor,e.lineWidth=t.barWidth,"transparent"!=t.barBgColor&&(e.beginPath(),e.arc(r,r,t.radius-1+t.barWidth/2,0,2*Math.PI),e.stroke())},value:function(t){if(t===n||isNaN(t))return this.current_value;t=parseFloat(t);var e=this.ctx,r=this.indOption,i=r.barColor,o=2*(r.radius+r.barWidth),u=r.minValue,l=r.maxValue,s=o/2;t=u>t?u:t>l?l:t;var c=null!=r.precision?r.precision:0,f=Math.pow(10,c),v=Math.round((t-u)*f/(l-u)*100)/f,m=r.percentage?v+"%":this.formatter(t);if(this.current_value=t,e.clearRect(0,0,o,o),this._drawBarBg(),"object"==typeof i)for(var p=Object.keys(i),g=1,x=p.length;x>g;g++){var b=p[g-1],y=p[g],C=i[b],M=i[y],w=t==b?C:t==y?M:t>b&&y>t?r.interpolate?a(t,b,y,C,M):M:!1;if(0!=w){i=w;break}}if(e.strokeStyle=i,r.roundCorner&&(e.lineCap="round"),e.beginPath(),e.arc(s,s,r.radius-1+r.barWidth/2,-d,h*v/100-d,!1),e.stroke(),r.displayNumber){var B=e.font.split(" "),I=r.fontWeight,V=r.fontSize||o/(this.maxLength-(Math.floor(1.4*this.maxLength/4)-1));B=r.fontFamily||B[B.length-1],e.fillStyle=r.fontColor||i,e.font=I+" "+V+"px "+B,e.textAlign="center",e.textBaseline=r.textBaseline,e.fillText(m,s,s)}return r.onChange.call(this.container,t),this},animate:function(t){var e=this.indOption,n=this.current_value||e.minValue,r=this,i=e.minValue,a=e.maxValue,o=e.frameNum||(e.percentage?100:500),u=null!=e.precision?e.precision:Math.ceil(Math.log(a-i/o)),l=Math.pow(10,u),s=Math.round((a-i)*l/o)/l;t=i>t?i:t>a?a:t;var c=n>t;return this.intvFunc&&clearInterval(this.intvFunc),this.intvFunc=setInterval(function(){if(!c&&n>=t||c&&t>=n){if(r.current_value==n)return clearInterval(r.intvFunc),void(e.onAnimationComplete&&e.onAnimationComplete(r.current_value));n=t}r.value(n),n!=t&&(n+=c?-s:s)},e.frameTime),this},option:function(t,e){return e===n?this.option[t]:(-1!=["radius","barWidth","barBgColor","format","maxValue","percentage"].indexOf(t)&&(this.indOption[t]=e,this._init().value(this.current_value)),void(this.indOption[t]=e))}},s.defaults={radius:50,barWidth:5,barBgColor:"#eeeeee",barColor:"#99CC33",format:null,frameTime:10,frameNum:null,fontColor:null,fontFamily:null,fontWeight:"bold",fontSize:null,textBaseline:"middle",interpolate:!0,percentage:!1,precision:null,displayNumber:!0,roundCorner:!1,minValue:0,maxValue:100,initValue:0,interaction:!1,onChange:function(){}},e.radialIndicator=s,t&&(t.fn.radialIndicator=function(e){return this.each(function(){var n=s(this,e);t.data(this,"radialIndicator",n)})}),s});
diff -r 000000000000 -r 7afca7dbfcc3 js/snap.svg-min.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/js/snap.svg-min.js Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,21 @@
1+// Snap.svg 0.5.1
2+//
3+// Copyright (c) 2013 – 2017 Adobe Systems Incorporated. All rights reserved.
4+//
5+// Licensed under the Apache License, Version 2.0 (the "License");
6+// you may not use this file except in compliance with the License.
7+// You may obtain a copy of the License at
8+//
9+// http://www.apache.org/licenses/LICENSE-2.0
10+//
11+// Unless required by applicable law or agreed to in writing, software
12+// distributed under the License is distributed on an "AS IS" BASIS,
13+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+// See the License for the specific language governing permissions and
15+// limitations under the License.
16+//
17+// build: 2017-02-07
18+
19+!function(a){var b,c,d="0.5.0",e="hasOwnProperty",f=/[\.\/]/,g=/\s*,\s*/,h="*",i=function(a,b){return a-b},j={n:{}},k=function(){for(var a=0,b=this.length;b>a;a++)if("undefined"!=typeof this[a])return this[a]},l=function(){for(var a=this.length;--a;)if("undefined"!=typeof this[a])return this[a]},m=Object.prototype.toString,n=String,o=Array.isArray||function(a){return a instanceof Array||"[object Array]"==m.call(a)};eve=function(a,d){var e,f=c,g=Array.prototype.slice.call(arguments,2),h=eve.listeners(a),j=0,m=[],n={},o=[],p=b;o.firstDefined=k,o.lastDefined=l,b=a,c=0;for(var q=0,r=h.length;r>q;q++)"zIndex"in h[q]&&(m.push(h[q].zIndex),h[q].zIndex<0&&(n[h[q].zIndex]=h[q]));for(m.sort(i);m[j]<0;)if(e=n[m[j++]],o.push(e.apply(d,g)),c)return c=f,o;for(q=0;r>q;q++)if(e=h[q],"zIndex"in e)if(e.zIndex==m[j]){if(o.push(e.apply(d,g)),c)break;do if(j++,e=n[m[j]],e&&o.push(e.apply(d,g)),c)break;while(e)}else n[e.zIndex]=e;else if(o.push(e.apply(d,g)),c)break;return c=f,b=p,o},eve._events=j,eve.listeners=function(a){var b,c,d,e,g,i,k,l,m=o(a)?a:a.split(f),n=j,p=[n],q=[];for(e=0,g=m.length;g>e;e++){for(l=[],i=0,k=p.length;k>i;i++)for(n=p[i].n,c=[n[m[e]],n[h]],d=2;d--;)b=c[d],b&&(l.push(b),q=q.concat(b.f||[]));p=l}return q},eve.separator=function(a){a?(a=n(a).replace(/(?=[\.\^\]\[\-])/g,"\\"),a="["+a+"]",f=new RegExp(a)):f=/[\.\/]/},eve.on=function(a,b){if("function"!=typeof b)return function(){};for(var c=o(a)?o(a[0])?a:[a]:n(a).split(g),d=0,e=c.length;e>d;d++)!function(a){for(var c,d=o(a)?a:n(a).split(f),e=j,g=0,h=d.length;h>g;g++)e=e.n,e=e.hasOwnProperty(d[g])&&e[d[g]]||(e[d[g]]={n:{}});for(e.f=e.f||[],g=0,h=e.f.length;h>g;g++)if(e.f[g]==b){c=!0;break}!c&&e.f.push(b)}(c[d]);return function(a){+a==+a&&(b.zIndex=+a)}},eve.f=function(a){var b=[].slice.call(arguments,1);return function(){eve.apply(null,[a,null].concat(b).concat([].slice.call(arguments,0)))}},eve.stop=function(){c=1},eve.nt=function(a){var c=o(b)?b.join("."):b;return a?new RegExp("(?:\\.|\\/|^)"+a+"(?:\\.|\\/|$)").test(c):c},eve.nts=function(){return o(b)?b:b.split(f)},eve.off=eve.unbind=function(a,b){if(!a)return void(eve._events=j={n:{}});var c=o(a)?o(a[0])?a:[a]:n(a).split(g);if(c.length>1)for(var d=0,i=c.length;i>d;d++)eve.off(c[d],b);else{c=o(a)?a:n(a).split(f);var k,l,m,d,i,p,q,r=[j],s=[];for(d=0,i=c.length;i>d;d++)for(p=0;p<r.length;p+=m.length-2){if(m=[p,1],k=r[p].n,c[d]!=h)k[c[d]]&&(m.push(k[c[d]]),s.unshift({n:k,name:c[d]}));else for(l in k)k[e](l)&&(m.push(k[l]),s.unshift({n:k,name:l}));r.splice.apply(r,m)}for(d=0,i=r.length;i>d;d++)for(k=r[d];k.n;){if(b){if(k.f){for(p=0,q=k.f.length;q>p;p++)if(k.f[p]==b){k.f.splice(p,1);break}!k.f.length&&delete k.f}for(l in k.n)if(k.n[e](l)&&k.n[l].f){var t=k.n[l].f;for(p=0,q=t.length;q>p;p++)if(t[p]==b){t.splice(p,1);break}!t.length&&delete k.n[l].f}}else{delete k.f;for(l in k.n)k.n[e](l)&&k.n[l].f&&delete k.n[l].f}k=k.n}a:for(d=0,i=s.length;i>d;d++){k=s[d];for(l in k.n[k.name].f)continue a;for(l in k.n[k.name].n)continue a;delete k.n[k.name]}}},eve.once=function(a,b){var c=function(){return eve.off(a,c),b.apply(this,arguments)};return eve.on(a,c)},eve.version=d,eve.toString=function(){return"You are running Eve "+d},"undefined"!=typeof module&&module.exports?module.exports=eve:"function"==typeof define&&define.amd?define("eve",[],function(){return eve}):a.eve=eve}(this),function(a,b){if("function"==typeof define&&define.amd)define(["eve"],function(c){return b(a,c)});else if("undefined"!=typeof exports){var c=require("eve");module.exports=b(a,c)}else b(a,a.eve)}(window||this,function(a,b){var c=function(b){var c,d={},e=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||function(a){return setTimeout(a,16,(new Date).getTime()),!0},f=Array.isArray||function(a){return a instanceof Array||"[object Array]"==Object.prototype.toString.call(a)},g=0,h="M"+(+new Date).toString(36),i=function(){return h+(g++).toString(36)},j=Date.now||function(){return+new Date},k=function(a){var b=this;if(null==a)return b.s;var c=b.s-a;b.b+=b.dur*c,b.B+=b.dur*c,b.s=a},l=function(a){var b=this;return null==a?b.spd:void(b.spd=a)},m=function(a){var b=this;return null==a?b.dur:(b.s=b.s*a/b.dur,void(b.dur=a))},n=function(){var a=this;delete d[a.id],a.update(),b("mina.stop."+a.id,a)},o=function(){var a=this;a.pdif||(delete d[a.id],a.update(),a.pdif=a.get()-a.b)},p=function(){var a=this;a.pdif&&(a.b=a.get()-a.pdif,delete a.pdif,d[a.id]=a,r())},q=function(){var a,b=this;if(f(b.start)){a=[];for(var c=0,d=b.start.length;d>c;c++)a[c]=+b.start[c]+(b.end[c]-b.start[c])*b.easing(b.s)}else a=+b.start+(b.end-b.start)*b.easing(b.s);b.set(a)},r=function(a){if(!a)return void(c||(c=e(r)));var f=0;for(var g in d)if(d.hasOwnProperty(g)){var h=d[g],i=h.get();f++,h.s=(i-h.b)/(h.dur/h.spd),h.s>=1&&(delete d[g],h.s=1,f--,function(a){setTimeout(function(){b("mina.finish."+a.id,a)})}(h)),h.update()}c=f?e(r):!1},s=function(a,b,c,e,f,g,h){var j={id:i(),start:a,end:b,b:c,s:0,dur:e-c,spd:1,get:f,set:g,easing:h||s.linear,status:k,speed:l,duration:m,stop:n,pause:o,resume:p,update:q};d[j.id]=j;var t,u=0;for(t in d)if(d.hasOwnProperty(t)&&(u++,2==u))break;return 1==u&&r(),j};return s.time=j,s.getById=function(a){return d[a]||null},s.linear=function(a){return a},s.easeout=function(a){return Math.pow(a,1.7)},s.easein=function(a){return Math.pow(a,.48)},s.easeinout=function(a){if(1==a)return 1;if(0==a)return 0;var b=.48-a/1.04,c=Math.sqrt(.1734+b*b),d=c-b,e=Math.pow(Math.abs(d),1/3)*(0>d?-1:1),f=-c-b,g=Math.pow(Math.abs(f),1/3)*(0>f?-1:1),h=e+g+.5;return 3*(1-h)*h*h+h*h*h},s.backin=function(a){if(1==a)return 1;var b=1.70158;return a*a*((b+1)*a-b)},s.backout=function(a){if(0==a)return 0;a-=1;var b=1.70158;return a*a*((b+1)*a+b)+1},s.elastic=function(a){return a==!!a?a:Math.pow(2,-10*a)*Math.sin((a-.075)*(2*Math.PI)/.3)+1},s.bounce=function(a){var b,c=7.5625,d=2.75;return 1/d>a?b=c*a*a:2/d>a?(a-=1.5/d,b=c*a*a+.75):2.5/d>a?(a-=2.25/d,b=c*a*a+.9375):(a-=2.625/d,b=c*a*a+.984375),b},a.mina=s,s}("undefined"==typeof b?function(){}:b),d=function(a){function c(a,b){if(a){if(a.nodeType)return w(a);if(e(a,"array")&&c.set)return c.set.apply(c,a);if(a instanceof s)return a;if(null==b)try{return a=y.doc.querySelector(String(a)),w(a)}catch(d){return null}}return a=null==a?"100%":a,b=null==b?"100%":b,new v(a,b)}function d(a,b){if(b){if("#text"==a&&(a=y.doc.createTextNode(b.text||b["#text"]||"")),"#comment"==a&&(a=y.doc.createComment(b.text||b["#text"]||"")),"string"==typeof a&&(a=d(a)),"string"==typeof b)return 1==a.nodeType?"xlink:"==b.substring(0,6)?a.getAttributeNS(T,b.substring(6)):"xml:"==b.substring(0,4)?a.getAttributeNS(U,b.substring(4)):a.getAttribute(b):"text"==b?a.nodeValue:null;if(1==a.nodeType){for(var c in b)if(b[z](c)){var e=A(b[c]);e?"xlink:"==c.substring(0,6)?a.setAttributeNS(T,c.substring(6),e):"xml:"==c.substring(0,4)?a.setAttributeNS(U,c.substring(4),e):a.setAttribute(c,e):a.removeAttribute(c)}}else"text"in b&&(a.nodeValue=b.text)}else a=y.doc.createElementNS(U,a);return a}function e(a,b){return b=A.prototype.toLowerCase.call(b),"finite"==b?isFinite(a):"array"==b&&(a instanceof Array||Array.isArray&&Array.isArray(a))?!0:"null"==b&&null===a||b==typeof a&&null!==a||"object"==b&&a===Object(a)||J.call(a).slice(8,-1).toLowerCase()==b}function f(a){if("function"==typeof a||Object(a)!==a)return a;var b=new a.constructor;for(var c in a)a[z](c)&&(b[c]=f(a[c]));return b}function h(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return a.push(a.splice(c,1)[0])}function i(a,b,c){function d(){var e=Array.prototype.slice.call(arguments,0),f=e.join("␀"),g=d.cache=d.cache||{},i=d.count=d.count||[];return g[z](f)?(h(i,f),c?c(g[f]):g[f]):(i.length>=1e3&&delete g[i.shift()],i.push(f),g[f]=a.apply(b,e),c?c(g[f]):g[f])}return d}function j(a,b,c,d,e,f){if(null==e){var g=a-c,h=b-d;return g||h?(180+180*D.atan2(-h,-g)/H+360)%360:0}return j(a,b,e,f)-j(c,d,e,f)}function k(a){return a%360*H/180}function l(a){return 180*a/H%360}function m(a){var b=[];return a=a.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(a,c,d){return d=d.split(/\s*,\s*|\s+/),"rotate"==c&&1==d.length&&d.push(0,0),"scale"==c&&(d.length>2?d=d.slice(0,2):2==d.length&&d.push(0,0),1==d.length&&d.push(d[0],0,0)),"skewX"==c?b.push(["m",1,0,D.tan(k(d[0])),1,0,0]):"skewY"==c?b.push(["m",1,D.tan(k(d[0])),0,1,0,0]):b.push([c.charAt(0)].concat(d)),a}),b}function n(a,b){var d=aa(a),e=new c.Matrix;if(d)for(var f=0,g=d.length;g>f;f++){var h,i,j,k,l,m=d[f],n=m.length,o=A(m[0]).toLowerCase(),p=m[0]!=o,q=p?e.invert():0;"t"==o&&2==n?e.translate(m[1],0):"t"==o&&3==n?p?(h=q.x(0,0),i=q.y(0,0),j=q.x(m[1],m[2]),k=q.y(m[1],m[2]),e.translate(j-h,k-i)):e.translate(m[1],m[2]):"r"==o?2==n?(l=l||b,e.rotate(m[1],l.x+l.width/2,l.y+l.height/2)):4==n&&(p?(j=q.x(m[2],m[3]),k=q.y(m[2],m[3]),e.rotate(m[1],j,k)):e.rotate(m[1],m[2],m[3])):"s"==o?2==n||3==n?(l=l||b,e.scale(m[1],m[n-1],l.x+l.width/2,l.y+l.height/2)):4==n?p?(j=q.x(m[2],m[3]),k=q.y(m[2],m[3]),e.scale(m[1],m[1],j,k)):e.scale(m[1],m[1],m[2],m[3]):5==n&&(p?(j=q.x(m[3],m[4]),k=q.y(m[3],m[4]),e.scale(m[1],m[2],j,k)):e.scale(m[1],m[2],m[3],m[4])):"m"==o&&7==n&&e.add(m[1],m[2],m[3],m[4],m[5],m[6])}return e}function o(a){var b=a.node.ownerSVGElement&&w(a.node.ownerSVGElement)||a.node.parentNode&&w(a.node.parentNode)||c.select("svg")||c(0,0),d=b.select("defs"),e=null==d?!1:d.node;return e||(e=u("defs",b.node).node),e}function p(a){return a.node.ownerSVGElement&&w(a.node.ownerSVGElement)||c.select("svg")}function q(a,b,c){function e(a){if(null==a)return I;if(a==+a)return a;d(j,{width:a});try{return j.getBBox().width}catch(b){return 0}}function f(a){if(null==a)return I;if(a==+a)return a;d(j,{height:a});try{return j.getBBox().height}catch(b){return 0}}function g(d,e){null==b?i[d]=e(a.attr(d)||0):d==b&&(i=e(null==c?a.attr(d)||0:c))}var h=p(a).node,i={},j=h.querySelector(".svg---mgr");switch(j||(j=d("rect"),d(j,{x:-9e9,y:-9e9,width:10,height:10,"class":"svg---mgr",fill:"none"}),h.appendChild(j)),a.type){case"rect":g("rx",e),g("ry",f);case"image":g("width",e),g("height",f);case"text":g("x",e),g("y",f);break;case"circle":g("cx",e),g("cy",f),g("r",e);break;case"ellipse":g("cx",e),g("cy",f),g("rx",e),g("ry",f);break;case"line":g("x1",e),g("x2",e),g("y1",f),g("y2",f);break;case"marker":g("refX",e),g("markerWidth",e),g("refY",f),g("markerHeight",f);break;case"radialGradient":g("fx",e),g("fy",f);break;case"tspan":g("dx",e),g("dy",f);break;default:g(b,e)}return h.removeChild(j),i}function r(a){e(a,"array")||(a=Array.prototype.slice.call(arguments,0));for(var b=0,c=0,d=this.node;this[b];)delete this[b++];for(b=0;b<a.length;b++)"set"==a[b].type?a[b].forEach(function(a){d.appendChild(a.node)}):d.appendChild(a[b].node);var f=d.childNodes;for(b=0;b<f.length;b++)this[c++]=w(f[b]);return this}function s(a){if(a.snap in V)return V[a.snap];var b;try{b=a.ownerSVGElement}catch(c){}this.node=a,b&&(this.paper=new v(b)),this.type=a.tagName||a.nodeName;var d=this.id=S(this);if(this.anims={},this._={transform:[]},a.snap=d,V[d]=this,"g"==this.type&&(this.add=r),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var e in v.prototype)v.prototype[z](e)&&(this[e]=v.prototype[e])}function t(a){this.node=a}function u(a,b){var c=d(a);b.appendChild(c);var e=w(c);return e}function v(a,b){var c,e,f,g=v.prototype;if(a&&a.tagName&&"svg"==a.tagName.toLowerCase()){if(a.snap in V)return V[a.snap];var h=a.ownerDocument;c=new s(a),e=a.getElementsByTagName("desc")[0],f=a.getElementsByTagName("defs")[0],e||(e=d("desc"),e.appendChild(h.createTextNode("Created with Snap")),c.node.appendChild(e)),f||(f=d("defs"),c.node.appendChild(f)),c.defs=f;for(var i in g)g[z](i)&&(c[i]=g[i]);c.paper=c.root=c}else c=u("svg",y.doc.body),d(c.node,{height:b,version:1.1,width:a,xmlns:U});return c}function w(a){return a?a instanceof s||a instanceof t?a:a.tagName&&"svg"==a.tagName.toLowerCase()?new v(a):a.tagName&&"object"==a.tagName.toLowerCase()&&"image/svg+xml"==a.type?new v(a.contentDocument.getElementsByTagName("svg")[0]):new s(a):a}function x(a,b){for(var c=0,d=a.length;d>c;c++){var e={type:a[c].type,attr:a[c].attr()},f=a[c].children();b.push(e),f.length&&x(f,e.childNodes=[])}}c.version="0.5.1",c.toString=function(){return"Snap v"+this.version},c._={};var y={win:a.window,doc:a.window.document};c._.glob=y;var z="hasOwnProperty",A=String,B=parseFloat,C=parseInt,D=Math,E=D.max,F=D.min,G=D.abs,H=(D.pow,D.PI),I=(D.round,""),J=Object.prototype.toString,K=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,L=(c._.separator=/[,\s]+/,/[\s]*,[\s]*/),M={hs:1,rg:1},N=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,O=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,P=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\s]*,?[\s]*/gi,Q=0,R="S"+(+new Date).toString(36),S=function(a){return(a&&a.type?a.type:I)+R+(Q++).toString(36)},T="http://www.w3.org/1999/xlink",U="http://www.w3.org/2000/svg",V={};c.url=function(a){return"url('#"+a+"')"};c._.$=d,c._.id=S,c.format=function(){var a=/\{([^\}]+)\}/g,b=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,c=function(a,c,d){var e=d;return c.replace(b,function(a,b,c,d,f){b=b||d,e&&(b in e&&(e=e[b]),"function"==typeof e&&f&&(e=e()))}),e=(null==e||e==d?a:e)+""};return function(b,d){return A(b).replace(a,function(a,b){return c(a,b,d)})}}(),c._.clone=f,c._.cacher=i,c.rad=k,c.deg=l,c.sin=function(a){return D.sin(c.rad(a))},c.tan=function(a){return D.tan(c.rad(a))},c.cos=function(a){return D.cos(c.rad(a))},c.asin=function(a){return c.deg(D.asin(a))},c.acos=function(a){return c.deg(D.acos(a))},c.atan=function(a){return c.deg(D.atan(a))},c.atan2=function(a){return c.deg(D.atan2(a))},c.angle=j,c.len=function(a,b,d,e){return Math.sqrt(c.len2(a,b,d,e))},c.len2=function(a,b,c,d){return(a-c)*(a-c)+(b-d)*(b-d)},c.closestPoint=function(a,b,c){function d(a){var d=a.x-b,e=a.y-c;return d*d+e*e}for(var e,f,g,h,i=a.node,j=i.getTotalLength(),k=j/i.pathSegList.numberOfItems*.125,l=1/0,m=0;j>=m;m+=k)(h=d(g=i.getPointAtLength(m)))<l&&(e=g,f=m,l=h);for(k*=.5;k>.5;){var n,o,p,q,r,s;(p=f-k)>=0&&(r=d(n=i.getPointAtLength(p)))<l?(e=n,f=p,l=r):(q=f+k)<=j&&(s=d(o=i.getPointAtLength(q)))<l?(e=o,f=q,l=s):k*=.5}return e={x:e.x,y:e.y,length:f,distance:Math.sqrt(l)}},c.is=e,c.snapTo=function(a,b,c){if(c=e(c,"finite")?c:10,e(a,"array")){for(var d=a.length;d--;)if(G(a[d]-b)<=c)return a[d]}else{a=+a;var f=b%a;if(c>f)return b-f;if(f>a-c)return b-f+a}return b},c.getRGB=i(function(a){if(!a||(a=A(a)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Z};if("none"==a)return{r:-1,g:-1,b:-1,hex:"none",toString:Z};if(!(M[z](a.toLowerCase().substring(0,2))||"#"==a.charAt())&&(a=W(a)),!a)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Z};var b,d,f,g,h,i,j=a.match(K);return j?(j[2]&&(f=C(j[2].substring(5),16),d=C(j[2].substring(3,5),16),b=C(j[2].substring(1,3),16)),j[3]&&(f=C((h=j[3].charAt(3))+h,16),d=C((h=j[3].charAt(2))+h,16),b=C((h=j[3].charAt(1))+h,16)),j[4]&&(i=j[4].split(L),b=B(i[0]),"%"==i[0].slice(-1)&&(b*=2.55),d=B(i[1]),"%"==i[1].slice(-1)&&(d*=2.55),f=B(i[2]),"%"==i[2].slice(-1)&&(f*=2.55),"rgba"==j[1].toLowerCase().slice(0,4)&&(g=B(i[3])),i[3]&&"%"==i[3].slice(-1)&&(g/=100)),j[5]?(i=j[5].split(L),b=B(i[0]),"%"==i[0].slice(-1)&&(b/=100),d=B(i[1]),"%"==i[1].slice(-1)&&(d/=100),f=B(i[2]),"%"==i[2].slice(-1)&&(f/=100),("deg"==i[0].slice(-3)||"°"==i[0].slice(-1))&&(b/=360),"hsba"==j[1].toLowerCase().slice(0,4)&&(g=B(i[3])),i[3]&&"%"==i[3].slice(-1)&&(g/=100),c.hsb2rgb(b,d,f,g)):j[6]?(i=j[6].split(L),b=B(i[0]),"%"==i[0].slice(-1)&&(b/=100),d=B(i[1]),"%"==i[1].slice(-1)&&(d/=100),f=B(i[2]),"%"==i[2].slice(-1)&&(f/=100),("deg"==i[0].slice(-3)||"°"==i[0].slice(-1))&&(b/=360),"hsla"==j[1].toLowerCase().slice(0,4)&&(g=B(i[3])),i[3]&&"%"==i[3].slice(-1)&&(g/=100),c.hsl2rgb(b,d,f,g)):(b=F(D.round(b),255),d=F(D.round(d),255),f=F(D.round(f),255),g=F(E(g,0),1),j={r:b,g:d,b:f,toString:Z},j.hex="#"+(16777216|f|d<<8|b<<16).toString(16).slice(1),j.opacity=e(g,"finite")?g:1,j)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Z}},c),c.hsb=i(function(a,b,d){return c.hsb2rgb(a,b,d).hex}),c.hsl=i(function(a,b,d){return c.hsl2rgb(a,b,d).hex}),c.rgb=i(function(a,b,c,d){if(e(d,"finite")){var f=D.round;return"rgba("+[f(a),f(b),f(c),+d.toFixed(2)]+")"}return"#"+(16777216|c|b<<8|a<<16).toString(16).slice(1)});var W=function(a){var b=y.doc.getElementsByTagName("head")[0]||y.doc.getElementsByTagName("svg")[0],c="rgb(255, 0, 0)";return(W=i(function(a){if("red"==a.toLowerCase())return c;b.style.color=c,b.style.color=a;var d=y.doc.defaultView.getComputedStyle(b,I).getPropertyValue("color");return d==c?null:d}))(a)},X=function(){return"hsb("+[this.h,this.s,this.b]+")"},Y=function(){return"hsl("+[this.h,this.s,this.l]+")"},Z=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},$=function(a,b,d){if(null==b&&e(a,"object")&&"r"in a&&"g"in a&&"b"in a&&(d=a.b,b=a.g,a=a.r),null==b&&e(a,string)){var f=c.getRGB(a);a=f.r,b=f.g,d=f.b}return(a>1||b>1||d>1)&&(a/=255,b/=255,d/=255),[a,b,d]},_=function(a,b,d,f){a=D.round(255*a),b=D.round(255*b),d=D.round(255*d);var g={r:a,g:b,b:d,opacity:e(f,"finite")?f:1,hex:c.rgb(a,b,d),toString:Z};return e(f,"finite")&&(g.opacity=f),g};c.color=function(a){var b;return e(a,"object")&&"h"in a&&"s"in a&&"b"in a?(b=c.hsb2rgb(a),a.r=b.r,a.g=b.g,a.b=b.b,a.opacity=1,a.hex=b.hex):e(a,"object")&&"h"in a&&"s"in a&&"l"in a?(b=c.hsl2rgb(a),a.r=b.r,a.g=b.g,a.b=b.b,a.opacity=1,a.hex=b.hex):(e(a,"string")&&(a=c.getRGB(a)),e(a,"object")&&"r"in a&&"g"in a&&"b"in a&&!("error"in a)?(b=c.rgb2hsl(a),a.h=b.h,a.s=b.s,a.l=b.l,b=c.rgb2hsb(a),a.v=b.b):(a={hex:"none"},a.r=a.g=a.b=a.h=a.s=a.v=a.l=-1,a.error=1)),a.toString=Z,a},c.hsb2rgb=function(a,b,c,d){e(a,"object")&&"h"in a&&"s"in a&&"b"in a&&(c=a.b,b=a.s,d=a.o,a=a.h),a*=360;var f,g,h,i,j;return a=a%360/60,j=c*b,i=j*(1-G(a%2-1)),f=g=h=c-j,a=~~a,f+=[j,i,0,0,i,j][a],g+=[i,j,j,i,0,0][a],h+=[0,0,i,j,j,i][a],_(f,g,h,d)},c.hsl2rgb=function(a,b,c,d){e(a,"object")&&"h"in a&&"s"in a&&"l"in a&&(c=a.l,b=a.s,a=a.h),(a>1||b>1||c>1)&&(a/=360,b/=100,c/=100),a*=360;var f,g,h,i,j;return a=a%360/60,j=2*b*(.5>c?c:1-c),i=j*(1-G(a%2-1)),f=g=h=c-j/2,a=~~a,f+=[j,i,0,0,i,j][a],g+=[i,j,j,i,0,0][a],h+=[0,0,i,j,j,i][a],_(f,g,h,d)},c.rgb2hsb=function(a,b,c){c=$(a,b,c),a=c[0],b=c[1],c=c[2];var d,e,f,g;return f=E(a,b,c),g=f-F(a,b,c),d=0==g?null:f==a?(b-c)/g:f==b?(c-a)/g+2:(a-b)/g+4,d=(d+360)%6*60/360,e=0==g?0:g/f,{h:d,s:e,b:f,toString:X}},c.rgb2hsl=function(a,b,c){c=$(a,b,c),a=c[0],b=c[1],c=c[2];var d,e,f,g,h,i;return g=E(a,b,c),h=F(a,b,c),i=g-h,d=0==i?null:g==a?(b-c)/i:g==b?(c-a)/i+2:(a-b)/i+4,d=(d+360)%6*60/360,f=(g+h)/2,e=0==i?0:.5>f?i/(2*f):i/(2-2*f),{h:d,s:e,l:f,toString:Y}},c.parsePathString=function(a){if(!a)return null;var b=c.path(a);if(b.arr)return c.path.clone(b.arr);var d={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},f=[];return e(a,"array")&&e(a[0],"array")&&(f=c.path.clone(a)),f.length||A(a).replace(N,function(a,b,c){var e=[],g=b.toLowerCase();if(c.replace(P,function(a,b){b&&e.push(+b)}),"m"==g&&e.length>2&&(f.push([b].concat(e.splice(0,2))),g="l",b="m"==b?"l":"L"),"o"==g&&1==e.length&&f.push([b,e[0]]),"r"==g)f.push([b].concat(e));else for(;e.length>=d[g]&&(f.push([b].concat(e.splice(0,d[g]))),d[g]););}),f.toString=c.path.toString,b.arr=c.path.clone(f),f};var aa=c.parseTransformString=function(a){if(!a)return null;var b=[];return e(a,"array")&&e(a[0],"array")&&(b=c.path.clone(a)),b.length||A(a).replace(O,function(a,c,d){var e=[];c.toLowerCase();d.replace(P,function(a,b){b&&e.push(+b)}),b.push([c].concat(e))}),b.toString=c.path.toString,b};c._.svgTransform2string=m,c._.rgTransform=/^[a-z][\s]*-?\.?\d/i,c._.transform2matrix=n,c._unit2px=q;y.doc.contains||y.doc.compareDocumentPosition?function(a,b){var c=9==a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a==d||!(!d||1!=d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b;)if(b=b.parentNode,b==a)return!0;return!1};c._.getSomeDefs=o,c._.getSomeSVG=p,c.select=function(a){return a=A(a).replace(/([^\\]):/g,"$1\\:"),w(y.doc.querySelector(a))},c.selectAll=function(a){for(var b=y.doc.querySelectorAll(a),d=(c.set||Array)(),e=0;e<b.length;e++)d.push(w(b[e]));return d},setInterval(function(){for(var a in V)if(V[z](a)){var b=V[a],c=b.node;("svg"!=b.type&&!c.ownerSVGElement||"svg"==b.type&&(!c.parentNode||"ownerSVGElement"in c.parentNode&&!c.ownerSVGElement))&&delete V[a]}},1e4),s.prototype.attr=function(a,c){var d=this,f=d.node;if(!a){if(1!=f.nodeType)return{text:f.nodeValue};for(var g=f.attributes,h={},i=0,j=g.length;j>i;i++)h[g[i].nodeName]=g[i].nodeValue;return h}if(e(a,"string")){if(!(arguments.length>1))return b("snap.util.getattr."+a,d).firstDefined();var k={};k[a]=c,a=k}for(var l in a)a[z](l)&&b("snap.util.attr."+l,d,a[l]);return d},c.parse=function(a){var b=y.doc.createDocumentFragment(),c=!0,d=y.doc.createElement("div");if(a=A(a),a.match(/^\s*<\s*svg(?:\s|>)/)||(a="<svg>"+a+"</svg>",c=!1),d.innerHTML=a,a=d.getElementsByTagName("svg")[0])if(c)b=a;else for(;a.firstChild;)b.appendChild(a.firstChild);return new t(b)},c.fragment=function(){for(var a=Array.prototype.slice.call(arguments,0),b=y.doc.createDocumentFragment(),d=0,e=a.length;e>d;d++){var f=a[d];f.node&&f.node.nodeType&&b.appendChild(f.node),f.nodeType&&b.appendChild(f),"string"==typeof f&&b.appendChild(c.parse(f).node)}return new t(b)},c._.make=u,c._.wrap=w,v.prototype.el=function(a,b){var c=u(a,this.node);return b&&c.attr(b),c},s.prototype.children=function(){for(var a=[],b=this.node.childNodes,d=0,e=b.length;e>d;d++)a[d]=c(b[d]);return a},s.prototype.toJSON=function(){var a=[];return x([this],a),a[0]},b.on("snap.util.getattr",function(){var a=b.nt();a=a.substring(a.lastIndexOf(".")+1);var c=a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()});return ba[z](c)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(c):d(this.node,a)});var ba={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};b.on("snap.util.attr",function(a){var c=b.nt(),e={};c=c.substring(c.lastIndexOf(".")+1),e[c]=a;var f=c.replace(/-(\w)/gi,function(a,b){return b.toUpperCase()}),g=c.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()});ba[z](g)?this.node.style[f]=null==a?I:a:d(this.node,e)}),function(a){}(v.prototype),c.ajax=function(a,c,d,f){var g=new XMLHttpRequest,h=S();if(g){if(e(c,"function"))f=d,d=c,c=null;else if(e(c,"object")){var i=[];for(var j in c)c.hasOwnProperty(j)&&i.push(encodeURIComponent(j)+"="+encodeURIComponent(c[j]));c=i.join("&")}return g.open(c?"POST":"GET",a,!0),c&&(g.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.setRequestHeader("Content-type","application/x-www-form-urlencoded")),d&&(b.once("snap.ajax."+h+".0",d),b.once("snap.ajax."+h+".200",d),b.once("snap.ajax."+h+".304",d)),g.onreadystatechange=function(){4==g.readyState&&b("snap.ajax."+h+"."+g.status,f,g)},4==g.readyState?g:(g.send(c),g)}},c.load=function(a,b,d){c.ajax(a,function(a){var e=c.parse(a.responseText);d?b.call(d,e):b(e)})};var ca=function(a){var b=a.getBoundingClientRect(),c=a.ownerDocument,d=c.body,e=c.documentElement,f=e.clientTop||d.clientTop||0,h=e.clientLeft||d.clientLeft||0,i=b.top+(g.win.pageYOffset||e.scrollTop||d.scrollTop)-f,j=b.left+(g.win.pageXOffset||e.scrollLeft||d.scrollLeft)-h;return{y:i,x:j}};return c.getElementByPoint=function(a,b){var c=this,d=(c.canvas,y.doc.elementFromPoint(a,b));if(y.win.opera&&"svg"==d.tagName){var e=ca(d),f=d.createSVGRect();f.x=a-e.x,f.y=b-e.y,f.width=f.height=1;var g=d.getIntersectionList(f,null);g.length&&(d=g[g.length-1])}return d?w(d):null},c.plugin=function(a){a(c,s,v,y,t)},y.win.Snap=c,c}(a||this);return d.plugin(function(c,d,e,f,g){function h(a,b){if(null==b){var d=!0;if(b="linearGradient"==a.type||"radialGradient"==a.type?a.node.getAttribute("gradientTransform"):"pattern"==a.type?a.node.getAttribute("patternTransform"):a.node.getAttribute("transform"),!b)return new c.Matrix;b=c._.svgTransform2string(b)}else b=c._.rgTransform.test(b)?m(b).replace(/\.{3}|\u2026/g,a._.transform||""):c._.svgTransform2string(b),l(b,"array")&&(b=c.path?c.path.toString.call(b):m(b)),a._.transform=b;var e=c._.transform2matrix(b,a.getBBox(1));return d?e:void(a.matrix=e)}function i(a){function b(a,b){var d=o(a.node,b);d=d&&d.match(g),d=d&&d[2],d&&"#"==d.charAt()&&(d=d.substring(1),d&&(i[d]=(i[d]||[]).concat(function(d){var e={};e[b]=c.url(d),o(a.node,e)})))}function d(a){var b=o(a.node,"xlink:href");b&&"#"==b.charAt()&&(b=b.substring(1),b&&(i[b]=(i[b]||[]).concat(function(b){a.attr("xlink:href","#"+b)})))}for(var e,f=a.selectAll("*"),g=/^\s*url\(("|'|)(.*)\1\)\s*$/,h=[],i={},j=0,k=f.length;k>j;j++){e=f[j],b(e,"fill"),b(e,"stroke"),b(e,"filter"),b(e,"mask"),b(e,"clip-path"),d(e);var l=o(e.node,"id");l&&(o(e.node,{id:e.id}),h.push({old:l,id:e.id}))}for(j=0,k=h.length;k>j;j++){var m=i[h[j].old];if(m)for(var n=0,p=m.length;p>n;n++)m[n](h[j].id)}}function j(a){return function(){var b=a?"<"+this.type:"",c=this.node.attributes,d=this.node.childNodes;if(a)for(var e=0,f=c.length;f>e;e++)b+=" "+c[e].name+'="'+c[e].value.replace(/"/g,'\\"')+'"';if(d.length){for(a&&(b+=">"),e=0,f=d.length;f>e;e++)3==d[e].nodeType?b+=d[e].nodeValue:1==d[e].nodeType&&(b+=s(d[e]).toString());a&&(b+="</"+this.type+">")}else a&&(b+="/>");return b}}var k=d.prototype,l=c.is,m=String,n=c._unit2px,o=c._.$,p=c._.make,q=c._.getSomeDefs,r="hasOwnProperty",s=c._.wrap;k.getBBox=function(a){if("tspan"==this.type)return c._.box(this.node.getClientRects().item(0));if(!c.Matrix||!c.path)return this.node.getBBox();var b=this,d=new c.Matrix;if(b.removed)return c._.box();for(;"use"==b.type;)if(a||(d=d.add(b.transform().localMatrix.translate(b.attr("x")||0,b.attr("y")||0))),b.original)b=b.original;else{var e=b.attr("xlink:href");b=b.original=b.node.ownerDocument.getElementById(e.substring(e.indexOf("#")+1))}var f=b._,g=c.path.get[b.type]||c.path.get.deflt;try{return a?(f.bboxwt=g?c.path.getBBox(b.realPath=g(b)):c._.box(b.node.getBBox()),c._.box(f.bboxwt)):(b.realPath=g(b),b.matrix=b.transform().localMatrix,f.bbox=c.path.getBBox(c.path.map(b.realPath,d.add(b.matrix))),c._.box(f.bbox))}catch(h){return c._.box()}};var t=function(){return this.string};k.transform=function(a){var b=this._;if(null==a){for(var d,e=this,f=new c.Matrix(this.node.getCTM()),g=h(this),i=[g],j=new c.Matrix,k=g.toTransformString(),l=m(g)==m(this.matrix)?m(b.transform):k;"svg"!=e.type&&(e=e.parent());)i.push(h(e));for(d=i.length;d--;)j.add(i[d]);return{string:l,globalMatrix:f,totalMatrix:j,localMatrix:g,diffMatrix:f.clone().add(g.invert()),global:f.toTransformString(),total:j.toTransformString(),local:k,toString:t}}return a instanceof c.Matrix?(this.matrix=a,this._.transform=a.toTransformString()):h(this,a),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?o(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?o(this.node,{patternTransform:this.matrix}):o(this.node,{transform:this.matrix})),this},k.parent=function(){return s(this.node.parentNode)},k.append=k.add=function(a){if(a){if("set"==a.type){var b=this;return a.forEach(function(a){b.add(a)}),this}a=s(a),this.node.appendChild(a.node),a.paper=this.paper}return this},k.appendTo=function(a){return a&&(a=s(a),a.append(this)),this},k.prepend=function(a){if(a){if("set"==a.type){var b,c=this;return a.forEach(function(a){b?b.after(a):c.prepend(a),b=a}),this}a=s(a);var d=a.parent();this.node.insertBefore(a.node,this.node.firstChild),this.add&&this.add(),a.paper=this.paper,this.parent()&&this.parent().add(),d&&d.add()}return this},k.prependTo=function(a){return a=s(a),a.prepend(this),this},k.before=function(a){if("set"==a.type){var b=this;return a.forEach(function(a){var c=a.parent();b.node.parentNode.insertBefore(a.node,b.node),c&&c.add()}),this.parent().add(),this}a=s(a);var c=a.parent();return this.node.parentNode.insertBefore(a.node,this.node),this.parent()&&this.parent().add(),c&&c.add(),a.paper=this.paper,this},k.after=function(a){a=s(a);var b=a.parent();return this.node.nextSibling?this.node.parentNode.insertBefore(a.node,this.node.nextSibling):this.node.parentNode.appendChild(a.node),this.parent()&&this.parent().add(),b&&b.add(),a.paper=this.paper,this},k.insertBefore=function(a){a=s(a);var b=this.parent();return a.node.parentNode.insertBefore(this.node,a.node),this.paper=a.paper,b&&b.add(),a.parent()&&a.parent().add(),this},k.insertAfter=function(a){a=s(a);var b=this.parent();return a.node.parentNode.insertBefore(this.node,a.node.nextSibling),this.paper=a.paper,b&&b.add(),a.parent()&&a.parent().add(),this},k.remove=function(){var a=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,a&&a.add(),this},k.select=function(a){return s(this.node.querySelector(a))},k.selectAll=function(a){for(var b=this.node.querySelectorAll(a),d=(c.set||Array)(),e=0;e<b.length;e++)d.push(s(b[e]));return d},k.asPX=function(a,b){return null==b&&(b=this.attr(a)),+n(this,a,b)},k.use=function(){var a,b=this.node.id;return b||(b=this.id,o(this.node,{id:b})),a="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?p(this.type,this.node.parentNode):p("use",this.node.parentNode),o(a.node,{"xlink:href":"#"+b}),a.original=this,a},k.clone=function(){var a=s(this.node.cloneNode(!0));return o(a.node,"id")&&o(a.node,{id:a.id}),i(a),a.insertAfter(this),a},k.toDefs=function(){var a=q(this);return a.appendChild(this.node),this},k.pattern=k.toPattern=function(a,b,c,d){var e=p("pattern",q(this));return null==a&&(a=this.getBBox()),l(a,"object")&&"x"in a&&(b=a.y,c=a.width,d=a.height,a=a.x),o(e.node,{x:a,y:b,width:c,height:d,patternUnits:"userSpaceOnUse",id:e.id,viewBox:[a,b,c,d].join(" ")}),e.node.appendChild(this.node),e},k.marker=function(a,b,c,d,e,f){var g=p("marker",q(this));return null==a&&(a=this.getBBox()),l(a,"object")&&"x"in a&&(b=a.y,c=a.width,d=a.height,e=a.refX||a.cx,f=a.refY||a.cy,a=a.x),o(g.node,{viewBox:[a,b,c,d].join(" "),markerWidth:c,markerHeight:d,orient:"auto",refX:e||0,refY:f||0,id:g.id}),g.node.appendChild(this.node),g};var u={};k.data=function(a,d){var e=u[this.id]=u[this.id]||{};if(0==arguments.length)return b("snap.data.get."+this.id,this,e,null),e;if(1==arguments.length){if(c.is(a,"object")){for(var f in a)a[r](f)&&this.data(f,a[f]);return this}return b("snap.data.get."+this.id,this,e[a],a),e[a]}return e[a]=d,b("snap.data.set."+this.id,this,d,a),this},k.removeData=function(a){return null==a?u[this.id]={}:u[this.id]&&delete u[this.id][a],this},k.outerSVG=k.toString=j(1),k.innerSVG=j(),k.toDataURL=function(){if(a&&a.btoa){var b=this.getBBox(),d=c.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+b.x.toFixed(3),y:+b.y.toFixed(3),width:+b.width.toFixed(3),height:+b.height.toFixed(3),
20+contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(d)))}},g.prototype.select=k.select,g.prototype.selectAll=k.selectAll}),d.plugin(function(a,d,e,f,g){function h(a,b,c){return function(d){var e=d.slice(a,b);return 1==e.length&&(e=e[0]),c?c(e):e}}var i=d.prototype,j=a.is,k=String,l="hasOwnProperty",m=function(a,b,d,e){"function"!=typeof d||d.length||(e=d,d=c.linear),this.attr=a,this.dur=b,d&&(this.easing=d),e&&(this.callback=e)};a._.Animation=m,a.animation=function(a,b,c,d){return new m(a,b,c,d)},i.inAnim=function(){var a=this,b=[];for(var c in a.anims)a.anims[l](c)&&!function(a){b.push({anim:new m(a._attrs,a.dur,a.easing,a._callback),mina:a,curStatus:a.status(),status:function(b){return a.status(b)},stop:function(){a.stop()}})}(a.anims[c]);return b},a.animate=function(a,d,e,f,g,h){"function"!=typeof g||g.length||(h=g,g=c.linear);var i=c.time(),j=c(a,d,i,i+f,c.time,e,g);return h&&b.once("mina.finish."+j.id,h),j},i.stop=function(){for(var a=this.inAnim(),b=0,c=a.length;c>b;b++)a[b].stop();return this},i.animate=function(a,d,e,f){"function"!=typeof e||e.length||(f=e,e=c.linear),a instanceof m&&(f=a.callback,e=a.easing,d=a.dur,a=a.attr);var g,i,n,o,p=[],q=[],r={},s=this;for(var t in a)if(a[l](t)){s.equal?(o=s.equal(t,k(a[t])),g=o.from,i=o.to,n=o.f):(g=+s.attr(t),i=+a[t]);var u=j(g,"array")?g.length:1;r[t]=h(p.length,p.length+u,n),p=p.concat(g),q=q.concat(i)}var v=c.time(),w=c(p,q,v,v+d,c.time,function(a){var b={};for(var c in r)r[l](c)&&(b[c]=r[c](a));s.attr(b)},e);return s.anims[w.id]=w,w._attrs=a,w._callback=f,b("snap.animcreated."+s.id,w),b.once("mina.finish."+w.id,function(){b.off("mina.*."+w.id),delete s.anims[w.id],f&&f.call(s)}),b.once("mina.stop."+w.id,function(){b.off("mina.*."+w.id),delete s.anims[w.id]}),s}}),d.plugin(function(a,b,c,d,e){function f(a,b,c,d,e,f){return null==b&&"[object SVGMatrix]"==g.call(a)?(this.a=a.a,this.b=a.b,this.c=a.c,this.d=a.d,this.e=a.e,void(this.f=a.f)):void(null!=a?(this.a=+a,this.b=+b,this.c=+c,this.d=+d,this.e=+e,this.f=+f):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var g=Object.prototype.toString,h=String,i=Math,j="";!function(b){function c(a){return a[0]*a[0]+a[1]*a[1]}function d(a){var b=i.sqrt(c(a));a[0]&&(a[0]/=b),a[1]&&(a[1]/=b)}b.add=function(a,b,c,d,e,g){if(a&&a instanceof f)return this.add(a.a,a.b,a.c,a.d,a.e,a.f);var h=a*this.a+b*this.c,i=a*this.b+b*this.d;return this.e+=e*this.a+g*this.c,this.f+=e*this.b+g*this.d,this.c=c*this.a+d*this.c,this.d=c*this.b+d*this.d,this.a=h,this.b=i,this},f.prototype.multLeft=function(a,b,c,d,e,g){if(a&&a instanceof f)return this.multLeft(a.a,a.b,a.c,a.d,a.e,a.f);var h=a*this.a+c*this.b,i=a*this.c+c*this.d,j=a*this.e+c*this.f+e;return this.b=b*this.a+d*this.b,this.d=b*this.c+d*this.d,this.f=b*this.e+d*this.f+g,this.a=h,this.c=i,this.e=j,this},b.invert=function(){var a=this,b=a.a*a.d-a.b*a.c;return new f(a.d/b,-a.b/b,-a.c/b,a.a/b,(a.c*a.f-a.d*a.e)/b,(a.b*a.e-a.a*a.f)/b)},b.clone=function(){return new f(this.a,this.b,this.c,this.d,this.e,this.f)},b.translate=function(a,b){return this.e+=a*this.a+b*this.c,this.f+=a*this.b+b*this.d,this},b.scale=function(a,b,c,d){return null==b&&(b=a),(c||d)&&this.translate(c,d),this.a*=a,this.b*=a,this.c*=b,this.d*=b,(c||d)&&this.translate(-c,-d),this},b.rotate=function(b,c,d){b=a.rad(b),c=c||0,d=d||0;var e=+i.cos(b).toFixed(9),f=+i.sin(b).toFixed(9);return this.add(e,f,-f,e,c,d),this.add(1,0,0,1,-c,-d)},b.skewX=function(a){return this.skew(a,0)},b.skewY=function(a){return this.skew(0,a)},b.skew=function(b,c){b=b||0,c=c||0,b=a.rad(b),c=a.rad(c);var d=i.tan(b).toFixed(9),e=i.tan(c).toFixed(9);return this.add(1,e,d,1,0,0)},b.x=function(a,b){return a*this.a+b*this.c+this.e},b.y=function(a,b){return a*this.b+b*this.d+this.f},b.get=function(a){return+this[h.fromCharCode(97+a)].toFixed(4)},b.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},b.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},b.determinant=function(){return this.a*this.d-this.b*this.c},b.split=function(){var b={};b.dx=this.e,b.dy=this.f;var e=[[this.a,this.b],[this.c,this.d]];b.scalex=i.sqrt(c(e[0])),d(e[0]),b.shear=e[0][0]*e[1][0]+e[0][1]*e[1][1],e[1]=[e[1][0]-e[0][0]*b.shear,e[1][1]-e[0][1]*b.shear],b.scaley=i.sqrt(c(e[1])),d(e[1]),b.shear/=b.scaley,this.determinant()<0&&(b.scalex=-b.scalex);var f=e[0][1],g=e[1][1];return 0>g?(b.rotate=a.deg(i.acos(g)),0>f&&(b.rotate=360-b.rotate)):b.rotate=a.deg(i.asin(f)),b.isSimple=!(+b.shear.toFixed(9)||b.scalex.toFixed(9)!=b.scaley.toFixed(9)&&b.rotate),b.isSuperSimple=!+b.shear.toFixed(9)&&b.scalex.toFixed(9)==b.scaley.toFixed(9)&&!b.rotate,b.noRotation=!+b.shear.toFixed(9)&&!b.rotate,b},b.toTransformString=function(a){var b=a||this.split();return+b.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(b.scalex=+b.scalex.toFixed(4),b.scaley=+b.scaley.toFixed(4),b.rotate=+b.rotate.toFixed(4),(b.dx||b.dy?"t"+[+b.dx.toFixed(4),+b.dy.toFixed(4)]:j)+(b.rotate?"r"+[+b.rotate.toFixed(4),0,0]:j)+(1!=b.scalex||1!=b.scaley?"s"+[b.scalex,b.scaley,0,0]:j))}}(f.prototype),a.Matrix=f,a.matrix=function(a,b,c,d,e,g){return new f(a,b,c,d,e,g)}}),d.plugin(function(a,c,d,e,f){function g(d){return function(e){if(b.stop(),e instanceof f&&1==e.node.childNodes.length&&("radialGradient"==e.node.firstChild.tagName||"linearGradient"==e.node.firstChild.tagName||"pattern"==e.node.firstChild.tagName)&&(e=e.node.firstChild,n(this).appendChild(e),e=l(e)),e instanceof c)if("radialGradient"==e.type||"linearGradient"==e.type||"pattern"==e.type){e.node.id||p(e.node,{id:e.id});var g=q(e.node.id)}else g=e.attr(d);else if(g=a.color(e),g.error){var h=a(n(this).ownerSVGElement).gradient(e);h?(h.node.id||p(h.node,{id:h.id}),g=q(h.node.id)):g=e}else g=r(g);var i={};i[d]=g,p(this.node,i),this.node.style[d]=t}}function h(a){b.stop(),a==+a&&(a+="px"),this.node.style.fontSize=a}function i(a){for(var b=[],c=a.childNodes,d=0,e=c.length;e>d;d++){var f=c[d];3==f.nodeType&&b.push(f.nodeValue),"tspan"==f.tagName&&(1==f.childNodes.length&&3==f.firstChild.nodeType?b.push(f.firstChild.nodeValue):b.push(i(f)))}return b}function j(){return b.stop(),this.node.style.fontSize}var k=a._.make,l=a._.wrap,m=a.is,n=a._.getSomeDefs,o=/^url\((['"]?)([^)]+)\1\)$/,p=a._.$,q=a.url,r=String,s=a._.separator,t="";a.deurl=function(a){var b=String(a).match(o);return b?b[2]:a},b.on("snap.util.attr.mask",function(a){if(a instanceof c||a instanceof f){if(b.stop(),a instanceof f&&1==a.node.childNodes.length&&(a=a.node.firstChild,n(this).appendChild(a),a=l(a)),"mask"==a.type)var d=a;else d=k("mask",n(this)),d.node.appendChild(a.node);!d.node.id&&p(d.node,{id:d.id}),p(this.node,{mask:q(d.id)})}}),function(a){b.on("snap.util.attr.clip",a),b.on("snap.util.attr.clip-path",a),b.on("snap.util.attr.clipPath",a)}(function(a){if(a instanceof c||a instanceof f){b.stop();for(var d,e=a.node;e;){if("clipPath"===e.nodeName){d=new c(e);break}if("svg"===e.nodeName){d=void 0;break}e=e.parentNode}d||(d=k("clipPath",n(this)),d.node.appendChild(a.node),!d.node.id&&p(d.node,{id:d.id})),p(this.node,{"clip-path":q(d.node.id||d.id)})}}),b.on("snap.util.attr.fill",g("fill")),b.on("snap.util.attr.stroke",g("stroke"));var u=/^([lr])(?:\(([^)]*)\))?(.*)$/i;b.on("snap.util.grad.parse",function(a){function b(a,b){for(var c=(b-h)/(a-i),d=i;a>d;d++)f[d].offset=+(+h+c*(d-i)).toFixed(2);i=a,h=b}a=r(a);var c=a.match(u);if(!c)return null;var d=c[1],e=c[2],f=c[3];e=e.split(/\s*,\s*/).map(function(a){return+a==a?+a:a}),1==e.length&&0==e[0]&&(e=[]),f=f.split("-"),f=f.map(function(a){a=a.split(":");var b={color:a[0]};return a[1]&&(b.offset=parseFloat(a[1])),b});var g=f.length,h=0,i=0;g--;for(var j=0;g>j;j++)"offset"in f[j]&&b(j,f[j].offset);return f[g].offset=f[g].offset||100,b(g,f[g].offset),{type:d,params:e,stops:f}}),b.on("snap.util.attr.d",function(c){b.stop(),m(c,"array")&&m(c[0],"array")&&(c=a.path.toString.call(c)),c=r(c),c.match(/[ruo]/i)&&(c=a.path.toAbsolute(c)),p(this.node,{d:c})})(-1),b.on("snap.util.attr.#text",function(a){b.stop(),a=r(a);for(var c=e.doc.createTextNode(a);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(c)})(-1),b.on("snap.util.attr.path",function(a){b.stop(),this.attr({d:a})})(-1),b.on("snap.util.attr.class",function(a){b.stop(),this.node.className.baseVal=a})(-1),b.on("snap.util.attr.viewBox",function(a){var c;c=m(a,"object")&&"x"in a?[a.x,a.y,a.width,a.height].join(" "):m(a,"array")?a.join(" "):a,p(this.node,{viewBox:c}),b.stop()})(-1),b.on("snap.util.attr.transform",function(a){this.transform(a),b.stop()})(-1),b.on("snap.util.attr.r",function(a){"rect"==this.type&&(b.stop(),p(this.node,{rx:a,ry:a}))})(-1),b.on("snap.util.attr.textpath",function(a){if(b.stop(),"text"==this.type){var d,e,f;if(!a&&this.textPath){for(e=this.textPath;e.node.firstChild;)this.node.appendChild(e.node.firstChild);return e.remove(),void delete this.textPath}if(m(a,"string")){var g=n(this),h=l(g.parentNode).path(a);g.appendChild(h.node),d=h.id,h.attr({id:d})}else a=l(a),a instanceof c&&(d=a.attr("id"),d||(d=a.id,a.attr({id:d})));if(d)if(e=this.textPath,f=this.node,e)e.attr({"xlink:href":"#"+d});else{for(e=p("textPath",{"xlink:href":"#"+d});f.firstChild;)e.appendChild(f.firstChild);f.appendChild(e),this.textPath=l(e)}}})(-1),b.on("snap.util.attr.text",function(a){if("text"==this.type){for(var c=this.node,d=function(a){var b=p("tspan");if(m(a,"array"))for(var c=0;c<a.length;c++)b.appendChild(d(a[c]));else b.appendChild(e.doc.createTextNode(a));return b.normalize&&b.normalize(),b};c.firstChild;)c.removeChild(c.firstChild);for(var f=d(a);f.firstChild;)c.appendChild(f.firstChild)}b.stop()})(-1),b.on("snap.util.attr.fontSize",h)(-1),b.on("snap.util.attr.font-size",h)(-1),b.on("snap.util.getattr.transform",function(){return b.stop(),this.transform()})(-1),b.on("snap.util.getattr.textpath",function(){return b.stop(),this.textPath})(-1),function(){function c(c){return function(){b.stop();var d=e.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+c);return"none"==d?d:a(e.doc.getElementById(d.match(o)[1]))}}function d(a){return function(c){b.stop();var d="marker"+a.charAt(0).toUpperCase()+a.substring(1);if(""==c||!c)return void(this.node.style[d]="none");if("marker"==c.type){var e=c.node.id;return e||p(c.node,{id:c.id}),void(this.node.style[d]=q(e))}}}b.on("snap.util.getattr.marker-end",c("end"))(-1),b.on("snap.util.getattr.markerEnd",c("end"))(-1),b.on("snap.util.getattr.marker-start",c("start"))(-1),b.on("snap.util.getattr.markerStart",c("start"))(-1),b.on("snap.util.getattr.marker-mid",c("mid"))(-1),b.on("snap.util.getattr.markerMid",c("mid"))(-1),b.on("snap.util.attr.marker-end",d("end"))(-1),b.on("snap.util.attr.markerEnd",d("end"))(-1),b.on("snap.util.attr.marker-start",d("start"))(-1),b.on("snap.util.attr.markerStart",d("start"))(-1),b.on("snap.util.attr.marker-mid",d("mid"))(-1),b.on("snap.util.attr.markerMid",d("mid"))(-1)}(),b.on("snap.util.getattr.r",function(){return"rect"==this.type&&p(this.node,"rx")==p(this.node,"ry")?(b.stop(),p(this.node,"rx")):void 0})(-1),b.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){b.stop();var a=i(this.node);return 1==a.length?a[0]:a}})(-1),b.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1),b.on("snap.util.getattr.fill",function(c){if(!c){b.stop();var d=b("snap.util.getattr.fill",this,!0).firstDefined();return a(a.deurl(d))||d}})(-1),b.on("snap.util.getattr.stroke",function(c){if(!c){b.stop();var d=b("snap.util.getattr.stroke",this,!0).firstDefined();return a(a.deurl(d))||d}})(-1),b.on("snap.util.getattr.viewBox",function(){b.stop();var c=p(this.node,"viewBox");return c?(c=c.split(s),a._.box(+c[0],+c[1],+c[2],+c[3])):void 0})(-1),b.on("snap.util.getattr.points",function(){var a=p(this.node,"points");return b.stop(),a?a.split(s):void 0})(-1),b.on("snap.util.getattr.path",function(){var a=p(this.node,"d");return b.stop(),a})(-1),b.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1),b.on("snap.util.getattr.fontSize",j)(-1),b.on("snap.util.getattr.font-size",j)(-1)}),d.plugin(function(a,b,c,d,e){var f=/\S+/g,g=String,h=b.prototype;h.addClass=function(a){var b,c,d,e,h=g(a||"").match(f)||[],i=this.node,j=i.className.baseVal,k=j.match(f)||[];if(h.length){for(b=0;d=h[b++];)c=k.indexOf(d),~c||k.push(d);e=k.join(" "),j!=e&&(i.className.baseVal=e)}return this},h.removeClass=function(a){var b,c,d,e,h=g(a||"").match(f)||[],i=this.node,j=i.className.baseVal,k=j.match(f)||[];if(k.length){for(b=0;d=h[b++];)c=k.indexOf(d),~c&&k.splice(c,1);e=k.join(" "),j!=e&&(i.className.baseVal=e)}return this},h.hasClass=function(a){var b=this.node,c=b.className.baseVal,d=c.match(f)||[];return!!~d.indexOf(a)},h.toggleClass=function(a,b){if(null!=b)return b?this.addClass(a):this.removeClass(a);var c,d,e,g,h=(a||"").match(f)||[],i=this.node,j=i.className.baseVal,k=j.match(f)||[];for(c=0;e=h[c++];)d=k.indexOf(e),~d?k.splice(d,1):k.push(e);return g=k.join(" "),j!=g&&(i.className.baseVal=g),this}}),d.plugin(function(a,c,d,e,f){function g(a){return a}function h(a){return function(b){return+b.toFixed(3)+a}}var i={"+":function(a,b){return a+b},"-":function(a,b){return a-b},"/":function(a,b){return a/b},"*":function(a,b){return a*b}},j=String,k=/[a-z]+$/i,l=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;b.on("snap.util.attr",function(a){var c=j(a).match(l);if(c){var d=b.nt(),e=d.substring(d.lastIndexOf(".")+1),f=this.attr(e),g={};b.stop();var h=c[3]||"",m=f.match(k),n=i[c[1]];if(m&&m==h?a=n(parseFloat(f),+c[2]):(f=this.asPX(e),a=n(this.asPX(e),this.asPX(e,c[2]+h))),isNaN(f)||isNaN(a))return;g[e]=a,this.attr(g)}})(-10),b.on("snap.util.equal",function(a,c){var d=j(this.attr(a)||""),e=j(c).match(l);if(e){b.stop();var f=e[3]||"",m=d.match(k),n=i[e[1]];return m&&m==f?{from:parseFloat(d),to:n(parseFloat(d),+e[2]),f:h(m)}:(d=this.asPX(a),{from:d,to:n(d,this.asPX(a,e[2]+f)),f:g})}})(-10)}),d.plugin(function(c,d,e,f,g){var h=e.prototype,i=c.is;h.rect=function(a,b,c,d,e,f){var g;return null==f&&(f=e),i(a,"object")&&"[object Object]"==a?g=a:null!=a&&(g={x:a,y:b,width:c,height:d},null!=e&&(g.rx=e,g.ry=f)),this.el("rect",g)},h.circle=function(a,b,c){var d;return i(a,"object")&&"[object Object]"==a?d=a:null!=a&&(d={cx:a,cy:b,r:c}),this.el("circle",d)};var j=function(){function a(){this.parentNode.removeChild(this)}return function(b,c){var d=f.doc.createElement("img"),e=f.doc.body;d.style.cssText="position:absolute;left:-9999em;top:-9999em",d.onload=function(){c.call(d),d.onload=d.onerror=null,e.removeChild(d)},d.onerror=a,e.appendChild(d),d.src=b}}();h.image=function(a,b,d,e,f){var g=this.el("image");if(i(a,"object")&&"src"in a)g.attr(a);else if(null!=a){var h={"xlink:href":a,preserveAspectRatio:"none"};null!=b&&null!=d&&(h.x=b,h.y=d),null!=e&&null!=f?(h.width=e,h.height=f):j(a,function(){c._.$(g.node,{width:this.offsetWidth,height:this.offsetHeight})}),c._.$(g.node,h)}return g},h.ellipse=function(a,b,c,d){var e;return i(a,"object")&&"[object Object]"==a?e=a:null!=a&&(e={cx:a,cy:b,rx:c,ry:d}),this.el("ellipse",e)},h.path=function(a){var b;return i(a,"object")&&!i(a,"array")?b=a:a&&(b={d:a}),this.el("path",b)},h.group=h.g=function(a){var b=this.el("g");return 1==arguments.length&&a&&!a.type?b.attr(a):arguments.length&&b.add(Array.prototype.slice.call(arguments,0)),b},h.svg=function(a,b,c,d,e,f,g,h){var j={};return i(a,"object")&&null==b?j=a:(null!=a&&(j.x=a),null!=b&&(j.y=b),null!=c&&(j.width=c),null!=d&&(j.height=d),null!=e&&null!=f&&null!=g&&null!=h&&(j.viewBox=[e,f,g,h])),this.el("svg",j)},h.mask=function(a){var b=this.el("mask");return 1==arguments.length&&a&&!a.type?b.attr(a):arguments.length&&b.add(Array.prototype.slice.call(arguments,0)),b},h.ptrn=function(a,b,c,d,e,f,g,h){if(i(a,"object"))var j=a;else j={patternUnits:"userSpaceOnUse"},a&&(j.x=a),b&&(j.y=b),null!=c&&(j.width=c),null!=d&&(j.height=d),null!=e&&null!=f&&null!=g&&null!=h?j.viewBox=[e,f,g,h]:j.viewBox=[a||0,b||0,c||0,d||0];return this.el("pattern",j)},h.use=function(a){return null!=a?(a instanceof d&&(a.attr("id")||a.attr({id:c._.id(a)}),a=a.attr("id")),"#"==String(a).charAt()&&(a=a.substring(1)),this.el("use",{"xlink:href":"#"+a})):d.prototype.use.call(this)},h.symbol=function(a,b,c,d){var e={};return null!=a&&null!=b&&null!=c&&null!=d&&(e.viewBox=[a,b,c,d]),this.el("symbol",e)},h.text=function(a,b,c){var d={};return i(a,"object")?d=a:null!=a&&(d={x:a,y:b,text:c||""}),this.el("text",d)},h.line=function(a,b,c,d){var e={};return i(a,"object")?e=a:null!=a&&(e={x1:a,x2:c,y1:b,y2:d}),this.el("line",e)},h.polyline=function(a){arguments.length>1&&(a=Array.prototype.slice.call(arguments,0));var b={};return i(a,"object")&&!i(a,"array")?b=a:null!=a&&(b={points:a}),this.el("polyline",b)},h.polygon=function(a){arguments.length>1&&(a=Array.prototype.slice.call(arguments,0));var b={};return i(a,"object")&&!i(a,"array")?b=a:null!=a&&(b={points:a}),this.el("polygon",b)},function(){function d(){return this.selectAll("stop")}function e(a,b){var d=l("stop"),e={offset:+b+"%"};a=c.color(a),e["stop-color"]=a.hex,a.opacity<1&&(e["stop-opacity"]=a.opacity),l(d,e);for(var f,g=this.stops(),h=0;h<g.length;h++){var i=parseFloat(g[h].attr("offset"));if(i>b){this.node.insertBefore(d,g[h].node),f=!0;break}}return f||this.node.appendChild(d),this}function f(){if("linearGradient"==this.type){var a=l(this.node,"x1")||0,b=l(this.node,"x2")||1,d=l(this.node,"y1")||0,e=l(this.node,"y2")||0;return c._.box(a,d,math.abs(b-a),math.abs(e-d))}var f=this.node.cx||.5,g=this.node.cy||.5,h=this.node.r||0;return c._.box(f-h,g-h,2*h,2*h)}function g(a){var d=a,e=this.stops();if("string"==typeof a&&(d=b("snap.util.grad.parse",null,"l(0,0,0,1)"+a).firstDefined().stops),c.is(d,"array")){for(var f=0;f<e.length;f++)if(d[f]){var g=c.color(d[f].color),h={offset:d[f].offset+"%"};h["stop-color"]=g.hex,g.opacity<1&&(h["stop-opacity"]=g.opacity),e[f].attr(h)}else e[f].remove();for(f=e.length;f<d.length;f++)this.addStop(d[f].color,d[f].offset);return this}}function i(a,c){var d,e=b("snap.util.grad.parse",null,c).firstDefined();if(!e)return null;e.params.unshift(a),d="l"==e.type.toLowerCase()?j.apply(0,e.params):k.apply(0,e.params),e.type!=e.type.toLowerCase()&&l(d.node,{gradientUnits:"userSpaceOnUse"});for(var f=e.stops,g=f.length,h=0;g>h;h++){var i=f[h];d.addStop(i.color,i.offset)}return d}function j(a,b,h,i,j){var k=c._.make("linearGradient",a);return k.stops=d,k.addStop=e,k.getBBox=f,k.setStops=g,null!=b&&l(k.node,{x1:b,y1:h,x2:i,y2:j}),k}function k(a,b,g,h,i,j){var k=c._.make("radialGradient",a);return k.stops=d,k.addStop=e,k.getBBox=f,null!=b&&l(k.node,{cx:b,cy:g,r:h}),null!=i&&null!=j&&l(k.node,{fx:i,fy:j}),k}var l=c._.$;h.gradient=function(a){return i(this.defs,a)},h.gradientLinear=function(a,b,c,d){return j(this.defs,a,b,c,d)},h.gradientRadial=function(a,b,c,d,e){return k(this.defs,a,b,c,d,e)},h.toString=function(){var a,b=this.node.ownerDocument,d=b.createDocumentFragment(),e=b.createElement("div"),f=this.node.cloneNode(!0);return d.appendChild(e),e.appendChild(f),c._.$(f,{xmlns:"http://www.w3.org/2000/svg"}),a=e.innerHTML,d.removeChild(d.firstChild),a},h.toDataURL=function(){return a&&a.btoa?"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this))):void 0},h.clear=function(){for(var a,b=this.node.firstChild;b;)a=b.nextSibling,"defs"!=b.tagName?b.parentNode.removeChild(b):h.clear.call({node:b}),b=a}}()}),d.plugin(function(a,b,c,d){function e(a){var b=e.ps=e.ps||{};return b[a]?b[a].sleep=100:b[a]={sleep:100},setTimeout(function(){for(var c in b)b[M](c)&&c!=a&&(b[c].sleep--,!b[c].sleep&&delete b[c])}),b[a]}function f(a,b,c,d){return null==a&&(a=b=c=d=0),null==b&&(b=a.y,c=a.width,d=a.height,a=a.x),{x:a,y:b,width:c,w:c,height:d,h:d,x2:a+c,y2:b+d,cx:a+c/2,cy:b+d/2,r1:P.min(c,d)/2,r2:P.max(c,d)/2,r0:P.sqrt(c*c+d*d)/2,path:y(a,b,c,d),vb:[a,b,c,d].join(" ")}}function g(){return this.join(",").replace(N,"$1")}function h(a){var b=L(a);return b.toString=g,b}function i(a,b,c,d,e,f,g,h,i){return null==i?p(a,b,c,d,e,f,g,h):k(a,b,c,d,e,f,g,h,q(a,b,c,d,e,f,g,h,i))}function j(c,d){function e(a){return+(+a).toFixed(3)}return a._.cacher(function(a,f,g){a instanceof b&&(a=a.attr("d")),a=G(a);for(var h,j,l,m,n,o="",p={},q=0,r=0,s=a.length;s>r;r++){if(l=a[r],"M"==l[0])h=+l[1],j=+l[2];else{if(m=i(h,j,l[1],l[2],l[3],l[4],l[5],l[6]),q+m>f){if(d&&!p.start){if(n=i(h,j,l[1],l[2],l[3],l[4],l[5],l[6],f-q),o+=["C"+e(n.start.x),e(n.start.y),e(n.m.x),e(n.m.y),e(n.x),e(n.y)],g)return o;p.start=o,o=["M"+e(n.x),e(n.y)+"C"+e(n.n.x),e(n.n.y),e(n.end.x),e(n.end.y),e(l[5]),e(l[6])].join(),q+=m,h=+l[5],j=+l[6];continue}if(!c&&!d)return n=i(h,j,l[1],l[2],l[3],l[4],l[5],l[6],f-q)}q+=m,h=+l[5],j=+l[6]}o+=l.shift()+l}return p.end=o,n=c?q:d?p:k(h,j,l[0],l[1],l[2],l[3],l[4],l[5],1)},null,a._.clone)}function k(a,b,c,d,e,f,g,h,i){var j=1-i,k=T(j,3),l=T(j,2),m=i*i,n=m*i,o=k*a+3*l*i*c+3*j*i*i*e+n*g,p=k*b+3*l*i*d+3*j*i*i*f+n*h,q=a+2*i*(c-a)+m*(e-2*c+a),r=b+2*i*(d-b)+m*(f-2*d+b),s=c+2*i*(e-c)+m*(g-2*e+c),t=d+2*i*(f-d)+m*(h-2*f+d),u=j*a+i*c,v=j*b+i*d,w=j*e+i*g,x=j*f+i*h,y=90-180*P.atan2(q-s,r-t)/Q;return{x:o,y:p,m:{x:q,y:r},n:{x:s,y:t},start:{x:u,y:v},end:{x:w,y:x},alpha:y}}function l(b,c,d,e,g,h,i,j){a.is(b,"array")||(b=[b,c,d,e,g,h,i,j]);var k=F.apply(null,b);return f(k.min.x,k.min.y,k.max.x-k.min.x,k.max.y-k.min.y)}function m(a,b,c){return b>=a.x&&b<=a.x+a.width&&c>=a.y&&c<=a.y+a.height}function n(a,b){return a=f(a),b=f(b),m(b,a.x,a.y)||m(b,a.x2,a.y)||m(b,a.x,a.y2)||m(b,a.x2,a.y2)||m(a,b.x,b.y)||m(a,b.x2,b.y)||m(a,b.x,b.y2)||m(a,b.x2,b.y2)||(a.x<b.x2&&a.x>b.x||b.x<a.x2&&b.x>a.x)&&(a.y<b.y2&&a.y>b.y||b.y<a.y2&&b.y>a.y)}function o(a,b,c,d,e){var f=-3*b+9*c-9*d+3*e,g=a*f+6*b-12*c+6*d;return a*g-3*b+3*c}function p(a,b,c,d,e,f,g,h,i){null==i&&(i=1),i=i>1?1:0>i?0:i;for(var j=i/2,k=12,l=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],m=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],n=0,p=0;k>p;p++){var q=j*l[p]+j,r=o(q,a,c,e,g),s=o(q,b,d,f,h),t=r*r+s*s;n+=m[p]*P.sqrt(t)}return j*n}function q(a,b,c,d,e,f,g,h,i){if(!(0>i||p(a,b,c,d,e,f,g,h)<i)){var j,k=1,l=k/2,m=k-l,n=.01;for(j=p(a,b,c,d,e,f,g,h,m);U(j-i)>n;)l/=2,m+=(i>j?1:-1)*l,j=p(a,b,c,d,e,f,g,h,m);return m}}function r(a,b,c,d,e,f,g,h){if(!(S(a,c)<R(e,g)||R(a,c)>S(e,g)||S(b,d)<R(f,h)||R(b,d)>S(f,h))){var i=(a*d-b*c)*(e-g)-(a-c)*(e*h-f*g),j=(a*d-b*c)*(f-h)-(b-d)*(e*h-f*g),k=(a-c)*(f-h)-(b-d)*(e-g);if(k){var l=i/k,m=j/k,n=+l.toFixed(2),o=+m.toFixed(2);if(!(n<+R(a,c).toFixed(2)||n>+S(a,c).toFixed(2)||n<+R(e,g).toFixed(2)||n>+S(e,g).toFixed(2)||o<+R(b,d).toFixed(2)||o>+S(b,d).toFixed(2)||o<+R(f,h).toFixed(2)||o>+S(f,h).toFixed(2)))return{x:l,y:m}}}}function s(a,b,c){var d=l(a),e=l(b);if(!n(d,e))return c?0:[];for(var f=p.apply(0,a),g=p.apply(0,b),h=~~(f/8),i=~~(g/8),j=[],m=[],o={},q=c?0:[],s=0;h+1>s;s++){var t=k.apply(0,a.concat(s/h));j.push({x:t.x,y:t.y,t:s/h})}for(s=0;i+1>s;s++)t=k.apply(0,b.concat(s/i)),m.push({x:t.x,y:t.y,t:s/i});for(s=0;h>s;s++)for(var u=0;i>u;u++){var v=j[s],w=j[s+1],x=m[u],y=m[u+1],z=U(w.x-v.x)<.001?"y":"x",A=U(y.x-x.x)<.001?"y":"x",B=r(v.x,v.y,w.x,w.y,x.x,x.y,y.x,y.y);if(B){if(o[B.x.toFixed(4)]==B.y.toFixed(4))continue;o[B.x.toFixed(4)]=B.y.toFixed(4);var C=v.t+U((B[z]-v[z])/(w[z]-v[z]))*(w.t-v.t),D=x.t+U((B[A]-x[A])/(y[A]-x[A]))*(y.t-x.t);C>=0&&1>=C&&D>=0&&1>=D&&(c?q++:q.push({x:B.x,y:B.y,t1:C,t2:D}))}}return q}function t(a,b){return v(a,b)}function u(a,b){return v(a,b,1)}function v(a,b,c){a=G(a),b=G(b);for(var d,e,f,g,h,i,j,k,l,m,n=c?0:[],o=0,p=a.length;p>o;o++){var q=a[o];if("M"==q[0])d=h=q[1],e=i=q[2];else{"C"==q[0]?(l=[d,e].concat(q.slice(1)),d=l[6],e=l[7]):(l=[d,e,d,e,h,i,h,i],d=h,e=i);for(var r=0,t=b.length;t>r;r++){var u=b[r];if("M"==u[0])f=j=u[1],g=k=u[2];else{"C"==u[0]?(m=[f,g].concat(u.slice(1)),f=m[6],g=m[7]):(m=[f,g,f,g,j,k,j,k],f=j,g=k);var v=s(l,m,c);if(c)n+=v;else{for(var w=0,x=v.length;x>w;w++)v[w].segment1=o,v[w].segment2=r,v[w].bez1=l,v[w].bez2=m;n=n.concat(v)}}}}}return n}function w(a,b,c){var d=x(a);return m(d,b,c)&&v(a,[["M",b,c],["H",d.x2+10]],1)%2==1}function x(a){var b=e(a);if(b.bbox)return L(b.bbox);if(!a)return f();a=G(a);for(var c,d=0,g=0,h=[],i=[],j=0,k=a.length;k>j;j++)if(c=a[j],"M"==c[0])d=c[1],g=c[2],h.push(d),i.push(g);else{var l=F(d,g,c[1],c[2],c[3],c[4],c[5],c[6]);h=h.concat(l.min.x,l.max.x),i=i.concat(l.min.y,l.max.y),d=c[5],g=c[6]}var m=R.apply(0,h),n=R.apply(0,i),o=S.apply(0,h),p=S.apply(0,i),q=f(m,n,o-m,p-n);return b.bbox=L(q),q}function y(a,b,c,d,e){if(e)return[["M",+a+ +e,b],["l",c-2*e,0],["a",e,e,0,0,1,e,e],["l",0,d-2*e],["a",e,e,0,0,1,-e,e],["l",2*e-c,0],["a",e,e,0,0,1,-e,-e],["l",0,2*e-d],["a",e,e,0,0,1,e,-e],["z"]];var f=[["M",a,b],["l",c,0],["l",0,d],["l",-c,0],["z"]];return f.toString=g,f}function z(a,b,c,d,e){if(null==e&&null==d&&(d=c),a=+a,b=+b,c=+c,d=+d,null!=e)var f=Math.PI/180,h=a+c*Math.cos(-d*f),i=a+c*Math.cos(-e*f),j=b+c*Math.sin(-d*f),k=b+c*Math.sin(-e*f),l=[["M",h,j],["A",c,c,0,+(e-d>180),0,i,k]];else l=[["M",a,b],["m",0,-d],["a",c,d,0,1,1,0,2*d],["a",c,d,0,1,1,0,-2*d],["z"]];return l.toString=g,l}function A(b){var c=e(b),d=String.prototype.toLowerCase;if(c.rel)return h(c.rel);a.is(b,"array")&&a.is(b&&b[0],"array")||(b=a.parsePathString(b));var f=[],i=0,j=0,k=0,l=0,m=0;"M"==b[0][0]&&(i=b[0][1],j=b[0][2],k=i,l=j,m++,f.push(["M",i,j]));for(var n=m,o=b.length;o>n;n++){var p=f[n]=[],q=b[n];if(q[0]!=d.call(q[0]))switch(p[0]=d.call(q[0]),p[0]){case"a":p[1]=q[1],p[2]=q[2],p[3]=q[3],p[4]=q[4],p[5]=q[5],p[6]=+(q[6]-i).toFixed(3),p[7]=+(q[7]-j).toFixed(3);break;case"v":p[1]=+(q[1]-j).toFixed(3);break;case"m":k=q[1],l=q[2];default:for(var r=1,s=q.length;s>r;r++)p[r]=+(q[r]-(r%2?i:j)).toFixed(3)}else{p=f[n]=[],"m"==q[0]&&(k=q[1]+i,l=q[2]+j);for(var t=0,u=q.length;u>t;t++)f[n][t]=q[t]}var v=f[n].length;switch(f[n][0]){case"z":i=k,j=l;break;case"h":i+=+f[n][v-1];break;case"v":j+=+f[n][v-1];break;default:i+=+f[n][v-2],j+=+f[n][v-1]}}return f.toString=g,c.rel=h(f),f}function B(b){var c=e(b);if(c.abs)return h(c.abs);if(K(b,"array")&&K(b&&b[0],"array")||(b=a.parsePathString(b)),!b||!b.length)return[["M",0,0]];var d,f=[],i=0,j=0,k=0,l=0,m=0;"M"==b[0][0]&&(i=+b[0][1],j=+b[0][2],k=i,l=j,m++,f[0]=["M",i,j]);for(var n,o,p=3==b.length&&"M"==b[0][0]&&"R"==b[1][0].toUpperCase()&&"Z"==b[2][0].toUpperCase(),q=m,r=b.length;r>q;q++){if(f.push(n=[]),o=b[q],d=o[0],d!=d.toUpperCase())switch(n[0]=d.toUpperCase(),n[0]){case"A":n[1]=o[1],n[2]=o[2],n[3]=o[3],n[4]=o[4],n[5]=o[5],n[6]=+o[6]+i,n[7]=+o[7]+j;break;case"V":n[1]=+o[1]+j;break;case"H":n[1]=+o[1]+i;break;case"R":for(var s=[i,j].concat(o.slice(1)),t=2,u=s.length;u>t;t++)s[t]=+s[t]+i,s[++t]=+s[t]+j;f.pop(),f=f.concat(I(s,p));break;case"O":f.pop(),s=z(i,j,o[1],o[2]),s.push(s[0]),f=f.concat(s);break;case"U":f.pop(),f=f.concat(z(i,j,o[1],o[2],o[3])),n=["U"].concat(f[f.length-1].slice(-2));break;case"M":k=+o[1]+i,l=+o[2]+j;default:for(t=1,u=o.length;u>t;t++)n[t]=+o[t]+(t%2?i:j)}else if("R"==d)s=[i,j].concat(o.slice(1)),f.pop(),f=f.concat(I(s,p)),n=["R"].concat(o.slice(-2));else if("O"==d)f.pop(),s=z(i,j,o[1],o[2]),s.push(s[0]),f=f.concat(s);else if("U"==d)f.pop(),f=f.concat(z(i,j,o[1],o[2],o[3])),n=["U"].concat(f[f.length-1].slice(-2));else for(var v=0,w=o.length;w>v;v++)n[v]=o[v];if(d=d.toUpperCase(),"O"!=d)switch(n[0]){case"Z":i=+k,j=+l;break;case"H":i=n[1];break;case"V":j=n[1];break;case"M":k=n[n.length-2],l=n[n.length-1];default:i=n[n.length-2],j=n[n.length-1]}}return f.toString=g,c.abs=h(f),f}function C(a,b,c,d){return[a,b,c,d,c,d]}function D(a,b,c,d,e,f){var g=1/3,h=2/3;return[g*a+h*c,g*b+h*d,g*e+h*c,g*f+h*d,e,f]}function E(b,c,d,e,f,g,h,i,j,k){var l,m=120*Q/180,n=Q/180*(+f||0),o=[],p=a._.cacher(function(a,b,c){var d=a*P.cos(c)-b*P.sin(c),e=a*P.sin(c)+b*P.cos(c);return{x:d,y:e}});if(!d||!e)return[b,c,i,j,i,j];if(k)y=k[0],z=k[1],w=k[2],x=k[3];else{l=p(b,c,-n),b=l.x,c=l.y,l=p(i,j,-n),i=l.x,j=l.y;var q=(P.cos(Q/180*f),P.sin(Q/180*f),(b-i)/2),r=(c-j)/2,s=q*q/(d*d)+r*r/(e*e);s>1&&(s=P.sqrt(s),d=s*d,e=s*e);var t=d*d,u=e*e,v=(g==h?-1:1)*P.sqrt(U((t*u-t*r*r-u*q*q)/(t*r*r+u*q*q))),w=v*d*r/e+(b+i)/2,x=v*-e*q/d+(c+j)/2,y=P.asin(((c-x)/e).toFixed(9)),z=P.asin(((j-x)/e).toFixed(9));y=w>b?Q-y:y,z=w>i?Q-z:z,0>y&&(y=2*Q+y),0>z&&(z=2*Q+z),h&&y>z&&(y-=2*Q),!h&&z>y&&(z-=2*Q)}var A=z-y;if(U(A)>m){var B=z,C=i,D=j;z=y+m*(h&&z>y?1:-1),i=w+d*P.cos(z),j=x+e*P.sin(z),o=E(i,j,d,e,f,0,h,C,D,[z,B,w,x])}A=z-y;var F=P.cos(y),G=P.sin(y),H=P.cos(z),I=P.sin(z),J=P.tan(A/4),K=4/3*d*J,L=4/3*e*J,M=[b,c],N=[b+K*G,c-L*F],O=[i+K*I,j-L*H],R=[i,j];if(N[0]=2*M[0]-N[0],N[1]=2*M[1]-N[1],k)return[N,O,R].concat(o);o=[N,O,R].concat(o).join().split(",");for(var S=[],T=0,V=o.length;V>T;T++)S[T]=T%2?p(o[T-1],o[T],n).y:p(o[T],o[T+1],n).x;return S}function F(a,b,c,d,e,f,g,h){for(var i,j,k,l,m,n,o,p,q=[],r=[[],[]],s=0;2>s;++s)if(0==s?(j=6*a-12*c+6*e,i=-3*a+9*c-9*e+3*g,k=3*c-3*a):(j=6*b-12*d+6*f,i=-3*b+9*d-9*f+3*h,k=3*d-3*b),U(i)<1e-12){if(U(j)<1e-12)continue;l=-k/j,l>0&&1>l&&q.push(l)}else o=j*j-4*k*i,p=P.sqrt(o),0>o||(m=(-j+p)/(2*i),m>0&&1>m&&q.push(m),n=(-j-p)/(2*i),n>0&&1>n&&q.push(n));for(var t,u=q.length,v=u;u--;)l=q[u],t=1-l,r[0][u]=t*t*t*a+3*t*t*l*c+3*t*l*l*e+l*l*l*g,r[1][u]=t*t*t*b+3*t*t*l*d+3*t*l*l*f+l*l*l*h;return r[0][v]=a,r[1][v]=b,r[0][v+1]=g,r[1][v+1]=h,r[0].length=r[1].length=v+2,{min:{x:R.apply(0,r[0]),y:R.apply(0,r[1])},max:{x:S.apply(0,r[0]),y:S.apply(0,r[1])}}}function G(a,b){var c=!b&&e(a);if(!b&&c.curve)return h(c.curve);for(var d=B(a),f=b&&B(b),g={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},j=(function(a,b,c){var d,e;if(!a)return["C",b.x,b.y,b.x,b.y,b.x,b.y];switch(!(a[0]in{T:1,Q:1})&&(b.qx=b.qy=null),a[0]){case"M":b.X=a[1],b.Y=a[2];break;case"A":a=["C"].concat(E.apply(0,[b.x,b.y].concat(a.slice(1))));break;case"S":"C"==c||"S"==c?(d=2*b.x-b.bx,e=2*b.y-b.by):(d=b.x,e=b.y),a=["C",d,e].concat(a.slice(1));break;case"T":"Q"==c||"T"==c?(b.qx=2*b.x-b.qx,b.qy=2*b.y-b.qy):(b.qx=b.x,b.qy=b.y),a=["C"].concat(D(b.x,b.y,b.qx,b.qy,a[1],a[2]));break;case"Q":b.qx=a[1],b.qy=a[2],a=["C"].concat(D(b.x,b.y,a[1],a[2],a[3],a[4]));break;case"L":a=["C"].concat(C(b.x,b.y,a[1],a[2]));break;case"H":a=["C"].concat(C(b.x,b.y,a[1],b.y));break;case"V":a=["C"].concat(C(b.x,b.y,b.x,a[1]));break;case"Z":a=["C"].concat(C(b.x,b.y,b.X,b.Y))}return a}),k=function(a,b){if(a[b].length>7){a[b].shift();for(var c=a[b];c.length;)m[b]="A",f&&(n[b]="A"),a.splice(b++,0,["C"].concat(c.splice(0,6)));a.splice(b,1),r=S(d.length,f&&f.length||0)}},l=function(a,b,c,e,g){a&&b&&"M"==a[g][0]&&"M"!=b[g][0]&&(b.splice(g,0,["M",e.x,e.y]),c.bx=0,c.by=0,c.x=a[g][1],c.y=a[g][2],r=S(d.length,f&&f.length||0))},m=[],n=[],o="",p="",q=0,r=S(d.length,f&&f.length||0);r>q;q++){d[q]&&(o=d[q][0]),"C"!=o&&(m[q]=o,q&&(p=m[q-1])),d[q]=j(d[q],g,p),"A"!=m[q]&&"C"==o&&(m[q]="C"),k(d,q),f&&(f[q]&&(o=f[q][0]),"C"!=o&&(n[q]=o,q&&(p=n[q-1])),f[q]=j(f[q],i,p),"A"!=n[q]&&"C"==o&&(n[q]="C"),k(f,q)),l(d,f,g,i,q),l(f,d,i,g,q);var s=d[q],t=f&&f[q],u=s.length,v=f&&t.length;g.x=s[u-2],g.y=s[u-1],g.bx=O(s[u-4])||g.x,g.by=O(s[u-3])||g.y,i.bx=f&&(O(t[v-4])||i.x),i.by=f&&(O(t[v-3])||i.y),i.x=f&&t[v-2],i.y=f&&t[v-1]}return f||(c.curve=h(d)),f?[d,f]:d}function H(a,b){if(!b)return a;var c,d,e,f,g,h,i;for(a=G(a),e=0,g=a.length;g>e;e++)for(i=a[e],f=1,h=i.length;h>f;f+=2)c=b.x(i[f],i[f+1]),d=b.y(i[f],i[f+1]),i[f]=c,i[f+1]=d;return a}function I(a,b){for(var c=[],d=0,e=a.length;e-2*!b>d;d+=2){var f=[{x:+a[d-2],y:+a[d-1]},{x:+a[d],y:+a[d+1]},{x:+a[d+2],y:+a[d+3]},{x:+a[d+4],y:+a[d+5]}];b?d?e-4==d?f[3]={x:+a[0],y:+a[1]}:e-2==d&&(f[2]={x:+a[0],y:+a[1]},f[3]={x:+a[2],y:+a[3]}):f[0]={x:+a[e-2],y:+a[e-1]}:e-4==d?f[3]=f[2]:d||(f[0]={x:+a[d],y:+a[d+1]}),c.push(["C",(-f[0].x+6*f[1].x+f[2].x)/6,(-f[0].y+6*f[1].y+f[2].y)/6,(f[1].x+6*f[2].x-f[3].x)/6,(f[1].y+6*f[2].y-f[3].y)/6,f[2].x,f[2].y])}return c}var J=b.prototype,K=a.is,L=a._.clone,M="hasOwnProperty",N=/,?([a-z]),?/gi,O=parseFloat,P=Math,Q=P.PI,R=P.min,S=P.max,T=P.pow,U=P.abs,V=j(1),W=j(),X=j(0,1),Y=a._unit2px,Z={path:function(a){return a.attr("path")},circle:function(a){var b=Y(a);return z(b.cx,b.cy,b.r)},ellipse:function(a){var b=Y(a);
21+return z(b.cx||0,b.cy||0,b.rx,b.ry)},rect:function(a){var b=Y(a);return y(b.x||0,b.y||0,b.width,b.height,b.rx,b.ry)},image:function(a){var b=Y(a);return y(b.x||0,b.y||0,b.width,b.height)},line:function(a){return"M"+[a.attr("x1")||0,a.attr("y1")||0,a.attr("x2"),a.attr("y2")]},polyline:function(a){return"M"+a.attr("points")},polygon:function(a){return"M"+a.attr("points")+"z"},deflt:function(a){var b=a.node.getBBox();return y(b.x,b.y,b.width,b.height)}};a.path=e,a.path.getTotalLength=V,a.path.getPointAtLength=W,a.path.getSubpath=function(a,b,c){if(this.getTotalLength(a)-c<1e-6)return X(a,b).end;var d=X(a,c,1);return b?X(d,b).end:d},J.getTotalLength=function(){return this.node.getTotalLength?this.node.getTotalLength():void 0},J.getPointAtLength=function(a){return W(this.attr("d"),a)},J.getSubpath=function(b,c){return a.path.getSubpath(this.attr("d"),b,c)},a._.box=f,a.path.findDotsAtSegment=k,a.path.bezierBBox=l,a.path.isPointInsideBBox=m,a.closest=function(b,c,d,e){for(var g=100,h=f(b-g/2,c-g/2,g,g),i=[],j=d[0].hasOwnProperty("x")?function(a){return{x:d[a].x,y:d[a].y}}:function(a){return{x:d[a],y:e[a]}},k=0;1e6>=g&&!k;){for(var l=0,n=d.length;n>l;l++){var o=j(l);if(m(h,o.x,o.y)){k++,i.push(o);break}}k||(g*=2,h=f(b-g/2,c-g/2,g,g))}if(1e6!=g){var p,q=1/0;for(l=0,n=i.length;n>l;l++){var r=a.len(b,c,i[l].x,i[l].y);q>r&&(q=r,i[l].len=r,p=i[l])}return p}},a.path.isBBoxIntersect=n,a.path.intersection=t,a.path.intersectionNumber=u,a.path.isPointInside=w,a.path.getBBox=x,a.path.get=Z,a.path.toRelative=A,a.path.toAbsolute=B,a.path.toCubic=G,a.path.map=H,a.path.toString=g,a.path.clone=h}),d.plugin(function(a,d,e,f){var g=Math.max,h=Math.min,i=function(a){if(this.items=[],this.bindings={},this.length=0,this.type="set",a)for(var b=0,c=a.length;c>b;b++)a[b]&&(this[this.items.length]=this.items[this.items.length]=a[b],this.length++)},j=i.prototype;j.push=function(){for(var a,b,c=0,d=arguments.length;d>c;c++)a=arguments[c],a&&(b=this.items.length,this[b]=this.items[b]=a,this.length++);return this},j.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},j.forEach=function(a,b){for(var c=0,d=this.items.length;d>c;c++)if(a.call(b,this.items[c],c)===!1)return this;return this},j.animate=function(d,e,f,g){"function"!=typeof f||f.length||(g=f,f=c.linear),d instanceof a._.Animation&&(g=d.callback,f=d.easing,e=f.dur,d=d.attr);var h=arguments;if(a.is(d,"array")&&a.is(h[h.length-1],"array"))var i=!0;var j,k=function(){j?this.b=j:j=this.b},l=0,m=this,n=g&&function(){++l==m.length&&g.call(this)};return this.forEach(function(a,c){b.once("snap.animcreated."+a.id,k),i?h[c]&&a.animate.apply(a,h[c]):a.animate(d,e,f,n)})},j.remove=function(){for(;this.length;)this.pop().remove();return this},j.bind=function(a,b,c){var d={};if("function"==typeof b)this.bindings[a]=b;else{var e=c||a;this.bindings[a]=function(a){d[e]=a,b.attr(d)}}return this},j.attr=function(a){var b={};for(var c in a)this.bindings[c]?this.bindings[c](a[c]):b[c]=a[c];for(var d=0,e=this.items.length;e>d;d++)this.items[d].attr(b);return this},j.clear=function(){for(;this.length;)this.pop()},j.splice=function(a,b,c){a=0>a?g(this.length+a,0):a,b=g(0,h(this.length-a,b));var d,e=[],f=[],j=[];for(d=2;d<arguments.length;d++)j.push(arguments[d]);for(d=0;b>d;d++)f.push(this[a+d]);for(;d<this.length-a;d++)e.push(this[a+d]);var k=j.length;for(d=0;d<k+e.length;d++)this.items[a+d]=this[a+d]=k>d?j[d]:e[d-k];for(d=this.items.length=this.length-=b-k;this[d];)delete this[d++];return new i(f)},j.exclude=function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]==a)return this.splice(b,1),!0;return!1},j.insertAfter=function(a){for(var b=this.items.length;b--;)this.items[b].insertAfter(a);return this},j.getBBox=function(){for(var a=[],b=[],c=[],d=[],e=this.items.length;e--;)if(!this.items[e].removed){var f=this.items[e].getBBox();a.push(f.x),b.push(f.y),c.push(f.x+f.width),d.push(f.y+f.height)}return a=h.apply(0,a),b=h.apply(0,b),c=g.apply(0,c),d=g.apply(0,d),{x:a,y:b,x2:c,y2:d,width:c-a,height:d-b,cx:a+(c-a)/2,cy:b+(d-b)/2}},j.clone=function(a){a=new i;for(var b=0,c=this.items.length;c>b;b++)a.push(this.items[b].clone());return a},j.toString=function(){return"Snap‘s set"},j.type="set",a.Set=i,a.set=function(){var a=new i;return arguments.length&&a.push.apply(a,Array.prototype.slice.call(arguments,0)),a}}),d.plugin(function(a,c,d,e){function f(a){var b=a[0];switch(b.toLowerCase()){case"t":return[b,0,0];case"m":return[b,1,0,0,1,0,0];case"r":return 4==a.length?[b,0,a[2],a[3]]:[b,0];case"s":return 5==a.length?[b,1,1,a[3],a[4]]:3==a.length?[b,1,1]:[b,1]}}function g(b,c,d){b=b||new a.Matrix,c=c||new a.Matrix,b=a.parseTransformString(b.toTransformString())||[],c=a.parseTransformString(c.toTransformString())||[];for(var e,g,h,i,j=Math.max(b.length,c.length),k=[],n=[],o=0;j>o;o++){if(h=b[o]||f(c[o]),i=c[o]||f(h),h[0]!=i[0]||"r"==h[0].toLowerCase()&&(h[2]!=i[2]||h[3]!=i[3])||"s"==h[0].toLowerCase()&&(h[3]!=i[3]||h[4]!=i[4])){b=a._.transform2matrix(b,d()),c=a._.transform2matrix(c,d()),k=[["m",b.a,b.b,b.c,b.d,b.e,b.f]],n=[["m",c.a,c.b,c.c,c.d,c.e,c.f]];break}for(k[o]=[],n[o]=[],e=0,g=Math.max(h.length,i.length);g>e;e++)e in h&&(k[o][e]=h[e]),e in i&&(n[o][e]=i[e])}return{from:m(k),to:m(n),f:l(k)}}function h(a){return a}function i(a){return function(b){return+b.toFixed(3)+a}}function j(a){return a.join(" ")}function k(b){return a.rgb(b[0],b[1],b[2],b[3])}function l(a){var b,c,d,e,f,g,h=0,i=[];for(b=0,c=a.length;c>b;b++){for(f="[",g=['"'+a[b][0]+'"'],d=1,e=a[b].length;e>d;d++)g[d]="val["+h++ +"]";f+=g+"]",i[b]=f}return Function("val","return Snap.path.toString.call(["+i+"])")}function m(a){for(var b=[],c=0,d=a.length;d>c;c++)for(var e=1,f=a[c].length;f>e;e++)b.push(a[c][e]);return b}function n(a){return isFinite(a)}function o(b,c){return a.is(b,"array")&&a.is(c,"array")?b.toString()==c.toString():!1}var p={},q=/[%a-z]+$/i,r=String;p.stroke=p.fill="colour",c.prototype.equal=function(a,c){return b("snap.util.equal",this,a,c).firstDefined()},b.on("snap.util.equal",function(b,c){var d,e,f=r(this.attr(b)||""),s=this;if("colour"==p[b])return d=a.color(f),e=a.color(c),{from:[d.r,d.g,d.b,d.opacity],to:[e.r,e.g,e.b,e.opacity],f:k};if("viewBox"==b)return d=this.attr(b).vb.split(" ").map(Number),e=c.split(" ").map(Number),{from:d,to:e,f:j};if("transform"==b||"gradientTransform"==b||"patternTransform"==b)return"string"==typeof c&&(c=r(c).replace(/\.{3}|\u2026/g,f)),f=this.matrix,c=a._.rgTransform.test(c)?a._.transform2matrix(c,this.getBBox()):a._.transform2matrix(a._.svgTransform2string(c),this.getBBox()),g(f,c,function(){return s.getBBox(1)});if("d"==b||"path"==b)return d=a.path.toCubic(f,c),{from:m(d[0]),to:m(d[1]),f:l(d[0])};if("points"==b)return d=r(f).split(a._.separator),e=r(c).split(a._.separator),{from:d,to:e,f:function(a){return a}};if(n(f)&&n(c))return{from:parseFloat(f),to:parseFloat(c),f:h};var t=f.match(q),u=r(c).match(q);return t&&o(t,u)?{from:parseFloat(f),to:parseFloat(c),f:i(t)}:{from:this.asPX(b),to:this.asPX(b,c),f:h}})}),d.plugin(function(a,c,d,e){for(var f=c.prototype,g="hasOwnProperty",h=("createTouch"in e.doc),i=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],j={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},k=(function(a,b){var c="y"==a?"scrollTop":"scrollLeft",d=b&&b.node?b.node.ownerDocument:e.doc;return d[c in d.documentElement?"documentElement":"body"][c]}),l=function(){return this.originalEvent.preventDefault()},m=function(){return this.originalEvent.stopPropagation()},n=function(a,b,c,d){var e=h&&j[b]?j[b]:b,f=function(e){var f=k("y",d),i=k("x",d);if(h&&j[g](b))for(var n=0,o=e.targetTouches&&e.targetTouches.length;o>n;n++)if(e.targetTouches[n].target==a||a.contains(e.targetTouches[n].target)){var p=e;e=e.targetTouches[n],e.originalEvent=p,e.preventDefault=l,e.stopPropagation=m;break}var q=e.clientX+i,r=e.clientY+f;return c.call(d,e,q,r)};return b!==e&&a.addEventListener(b,f,!1),a.addEventListener(e,f,!1),function(){return b!==e&&a.removeEventListener(b,f,!1),a.removeEventListener(e,f,!1),!0}},o=[],p=function(a){for(var c,d=a.clientX,e=a.clientY,f=k("y"),g=k("x"),i=o.length;i--;){if(c=o[i],h){for(var j,l=a.touches&&a.touches.length;l--;)if(j=a.touches[l],j.identifier==c.el._drag.id||c.el.node.contains(j.target)){d=j.clientX,e=j.clientY,(a.originalEvent?a.originalEvent:a).preventDefault();break}}else a.preventDefault();var m=c.el.node;m.nextSibling,m.parentNode,m.style.display;d+=g,e+=f,b("snap.drag.move."+c.el.id,c.move_scope||c.el,d-c.el._drag.x,e-c.el._drag.y,d,e,a)}},q=function(c){a.unmousemove(p).unmouseup(q);for(var d,e=o.length;e--;)d=o[e],d.el._drag={},b("snap.drag.end."+d.el.id,d.end_scope||d.start_scope||d.move_scope||d.el,c),b.off("snap.drag.*."+d.el.id);o=[]},r=i.length;r--;)!function(b){a[b]=f[b]=function(c,d){if(a.is(c,"function"))this.events=this.events||[],this.events.push({name:b,f:c,unbind:n(this.node||document,b,c,d||this)});else for(var e=0,f=this.events.length;f>e;e++)if(this.events[e].name==b)try{this.events[e].f.call(this)}catch(g){}return this},a["un"+b]=f["un"+b]=function(a){for(var c=this.events||[],d=c.length;d--;)if(c[d].name==b&&(c[d].f==a||!a))return c[d].unbind(),c.splice(d,1),!c.length&&delete this.events,this;return this}}(i[r]);f.hover=function(a,b,c,d){return this.mouseover(a,c).mouseout(b,d||c)},f.unhover=function(a,b){return this.unmouseover(a).unmouseout(b)};var s=[];f.drag=function(c,d,e,f,g,h){function i(i,j,l){(i.originalEvent||i).preventDefault(),k._drag.x=j,k._drag.y=l,k._drag.id=i.identifier,!o.length&&a.mousemove(p).mouseup(q),o.push({el:k,move_scope:f,start_scope:g,end_scope:h}),d&&b.on("snap.drag.start."+k.id,d),c&&b.on("snap.drag.move."+k.id,c),e&&b.on("snap.drag.end."+k.id,e),b("snap.drag.start."+k.id,g||f||k,j,l,i)}function j(a,c,d){b("snap.draginit."+k.id,k,a,c,d)}var k=this;if(!arguments.length){var l;return k.drag(function(a,b){this.attr({transform:l+(l?"T":"t")+[a,b]})},function(){l=this.transform().local})}return b.on("snap.draginit."+k.id,i),k._drag={},s.push({el:k,start:i,init:j}),k.mousedown(j),k},f.undrag=function(){for(var c=s.length;c--;)s[c].el==this&&(this.unmousedown(s[c].init),s.splice(c,1),b.unbind("snap.drag.*."+this.id),b.unbind("snap.draginit."+this.id));return!s.length&&a.unmousemove(p).unmouseup(q),this}}),d.plugin(function(a,c,d,e){var f=(c.prototype,d.prototype),g=/^\s*url\((.+)\)/,h=String,i=a._.$;a.filter={},f.filter=function(b){var d=this;"svg"!=d.type&&(d=d.paper);var e=a.parse(h(b)),f=a._.id(),g=(d.node.offsetWidth,d.node.offsetHeight,i("filter"));return i(g,{id:f,filterUnits:"userSpaceOnUse"}),g.appendChild(e.node),d.defs.appendChild(g),new c(g)},b.on("snap.util.getattr.filter",function(){b.stop();var c=i(this.node,"filter");if(c){var d=h(c).match(g);return d&&a.select(d[1])}}),b.on("snap.util.attr.filter",function(d){if(d instanceof c&&"filter"==d.type){b.stop();var e=d.node.id;e||(i(d.node,{id:d.id}),e=d.id),i(this.node,{filter:a.url(e)})}d&&"none"!=d||(b.stop(),this.node.removeAttribute("filter"))}),a.filter.blur=function(b,c){null==b&&(b=2);var d=null==c?b:[b,c];return a.format('<feGaussianBlur stdDeviation="{def}"/>',{def:d})},a.filter.blur.toString=function(){return this()},a.filter.shadow=function(b,c,d,e,f){return null==f&&(null==e?(f=d,d=4,e="#000"):(f=e,e=d,d=4)),null==d&&(d=4),null==f&&(f=1),null==b&&(b=0,c=2),null==c&&(c=b),e=a.color(e),a.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:e,dx:b,dy:c,blur:d,opacity:f})},a.filter.shadow.toString=function(){return this()},a.filter.grayscale=function(b){return null==b&&(b=1),a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-b),b:.7152-.7152*(1-b),c:.0722-.0722*(1-b),d:.2126-.2126*(1-b),e:.7152+.2848*(1-b),f:.0722-.0722*(1-b),g:.2126-.2126*(1-b),h:.0722+.9278*(1-b)})},a.filter.grayscale.toString=function(){return this()},a.filter.sepia=function(b){return null==b&&(b=1),a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-b),b:.769-.769*(1-b),c:.189-.189*(1-b),d:.349-.349*(1-b),e:.686+.314*(1-b),f:.168-.168*(1-b),g:.272-.272*(1-b),h:.534-.534*(1-b),i:.131+.869*(1-b)})},a.filter.sepia.toString=function(){return this()},a.filter.saturate=function(b){return null==b&&(b=1),a.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-b})},a.filter.saturate.toString=function(){return this()},a.filter.hueRotate=function(b){return b=b||0,a.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:b})},a.filter.hueRotate.toString=function(){return this()},a.filter.invert=function(b){return null==b&&(b=1),a.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:b,amount2:1-b})},a.filter.invert.toString=function(){return this()},a.filter.brightness=function(b){return null==b&&(b=1),a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:b})},a.filter.brightness.toString=function(){return this()},a.filter.contrast=function(b){return null==b&&(b=1),a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:b,amount2:.5-b/2})},a.filter.contrast.toString=function(){return this()}}),d.plugin(function(a,b,c,d,e){var f=a._.box,g=a.is,h=/^[^a-z]*([tbmlrc])/i,i=function(){return"T"+this.dx+","+this.dy};b.prototype.getAlign=function(a,b){null==b&&g(a,"string")&&(b=a,a=null),a=a||this.paper;var c=a.getBBox?a.getBBox():f(a),d=this.getBBox(),e={};switch(b=b&&b.match(h),b=b?b[1].toLowerCase():"c"){case"t":e.dx=0,e.dy=c.y-d.y;break;case"b":e.dx=0,e.dy=c.y2-d.y2;break;case"m":e.dx=0,e.dy=c.cy-d.cy;break;case"l":e.dx=c.x-d.x,e.dy=0;break;case"r":e.dx=c.x2-d.x2,e.dy=0;break;default:e.dx=c.cx-d.cx,e.dy=0}return e.toString=i,e},b.prototype.align=function(a,b){return this.transform("..."+this.getAlign(a,b))}}),d.plugin(function(b,c,d,e){function f(a){a=a.split(/(?=#)/);var b=new String(a[5]);return b[50]=a[0],b[100]=a[1],b[200]=a[2],b[300]=a[3],b[400]=a[4],b[500]=a[5],b[600]=a[6],b[700]=a[7],b[800]=a[8],b[900]=a[9],a[10]&&(b.A100=a[10],b.A200=a[11],b.A400=a[12],b.A700=a[13]),b}var g="#ffebee#ffcdd2#ef9a9a#e57373#ef5350#f44336#e53935#d32f2f#c62828#b71c1c#ff8a80#ff5252#ff1744#d50000",h="#FCE4EC#F8BBD0#F48FB1#F06292#EC407A#E91E63#D81B60#C2185B#AD1457#880E4F#FF80AB#FF4081#F50057#C51162",i="#F3E5F5#E1BEE7#CE93D8#BA68C8#AB47BC#9C27B0#8E24AA#7B1FA2#6A1B9A#4A148C#EA80FC#E040FB#D500F9#AA00FF",j="#EDE7F6#D1C4E9#B39DDB#9575CD#7E57C2#673AB7#5E35B1#512DA8#4527A0#311B92#B388FF#7C4DFF#651FFF#6200EA",k="#E8EAF6#C5CAE9#9FA8DA#7986CB#5C6BC0#3F51B5#3949AB#303F9F#283593#1A237E#8C9EFF#536DFE#3D5AFE#304FFE",l="#E3F2FD#BBDEFB#90CAF9#64B5F6#64B5F6#2196F3#1E88E5#1976D2#1565C0#0D47A1#82B1FF#448AFF#2979FF#2962FF",m="#E1F5FE#B3E5FC#81D4FA#4FC3F7#29B6F6#03A9F4#039BE5#0288D1#0277BD#01579B#80D8FF#40C4FF#00B0FF#0091EA",n="#E0F7FA#B2EBF2#80DEEA#4DD0E1#26C6DA#00BCD4#00ACC1#0097A7#00838F#006064#84FFFF#18FFFF#00E5FF#00B8D4",o="#E0F2F1#B2DFDB#80CBC4#4DB6AC#26A69A#009688#00897B#00796B#00695C#004D40#A7FFEB#64FFDA#1DE9B6#00BFA5",p="#E8F5E9#C8E6C9#A5D6A7#81C784#66BB6A#4CAF50#43A047#388E3C#2E7D32#1B5E20#B9F6CA#69F0AE#00E676#00C853",q="#F1F8E9#DCEDC8#C5E1A5#AED581#9CCC65#8BC34A#7CB342#689F38#558B2F#33691E#CCFF90#B2FF59#76FF03#64DD17",r="#F9FBE7#F0F4C3#E6EE9C#DCE775#D4E157#CDDC39#C0CA33#AFB42B#9E9D24#827717#F4FF81#EEFF41#C6FF00#AEEA00",s="#FFFDE7#FFF9C4#FFF59D#FFF176#FFEE58#FFEB3B#FDD835#FBC02D#F9A825#F57F17#FFFF8D#FFFF00#FFEA00#FFD600",t="#FFF8E1#FFECB3#FFE082#FFD54F#FFCA28#FFC107#FFB300#FFA000#FF8F00#FF6F00#FFE57F#FFD740#FFC400#FFAB00",u="#FFF3E0#FFE0B2#FFCC80#FFB74D#FFA726#FF9800#FB8C00#F57C00#EF6C00#E65100#FFD180#FFAB40#FF9100#FF6D00",v="#FBE9E7#FFCCBC#FFAB91#FF8A65#FF7043#FF5722#F4511E#E64A19#D84315#BF360C#FF9E80#FF6E40#FF3D00#DD2C00",w="#EFEBE9#D7CCC8#BCAAA4#A1887F#8D6E63#795548#6D4C41#5D4037#4E342E#3E2723",x="#FAFAFA#F5F5F5#EEEEEE#E0E0E0#BDBDBD#9E9E9E#757575#616161#424242#212121",y="#ECEFF1#CFD8DC#B0BEC5#90A4AE#78909C#607D8B#546E7A#455A64#37474F#263238";b.mui={},b.flat={},b.mui.red=f(g),b.mui.pink=f(h),b.mui.purple=f(i),b.mui.deeppurple=f(j),b.mui.indigo=f(k),b.mui.blue=f(l),b.mui.lightblue=f(m),b.mui.cyan=f(n),b.mui.teal=f(o),b.mui.green=f(p),b.mui.lightgreen=f(q),b.mui.lime=f(r),b.mui.yellow=f(s),b.mui.amber=f(t),b.mui.orange=f(u),b.mui.deeporange=f(v),b.mui.brown=f(w),b.mui.grey=f(x),b.mui.bluegrey=f(y),b.flat.turquoise="#1abc9c",b.flat.greensea="#16a085",b.flat.sunflower="#f1c40f",b.flat.orange="#f39c12",b.flat.emerland="#2ecc71",b.flat.nephritis="#27ae60",b.flat.carrot="#e67e22",b.flat.pumpkin="#d35400",b.flat.peterriver="#3498db",b.flat.belizehole="#2980b9",b.flat.alizarin="#e74c3c",b.flat.pomegranate="#c0392b",b.flat.amethyst="#9b59b6",b.flat.wisteria="#8e44ad",b.flat.clouds="#ecf0f1",b.flat.silver="#bdc3c7",b.flat.wetasphalt="#34495e",b.flat.midnightblue="#2c3e50",b.flat.concrete="#95a5a6",b.flat.asbestos="#7f8c8d",b.importMUIColors=function(){for(var c in b.mui)b.mui.hasOwnProperty(c)&&(a[c]=b.mui[c])}}),d});
\ No newline at end of file
diff -r 000000000000 -r 7afca7dbfcc3 js/svg-animator.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/js/svg-animator.js Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,139 @@
1+// Welcome to SVG Virtual Map Animator by Capsia Tech
2+
3+function initSVG(posArr) { // Snap.SVG.JS needs to be started on load
4+// Starting Snap SVG, basic objects and variables. To change discs positions use posArr.
5+// Global setup
6+ document.getElementById("overlay").style.visibility = "hidden";
7+ var height = window.innerHeight,
8+ width = window.innerWidth,
9+ s = Snap("#svg"),
10+// Start drawing
11+ discs = s.group(),
12+ info = s.circle(width-30, height-30, 20),
13+ nums = s.group(),
14+ creditTXT = s.text(width-37, height-25, "??"),
15+ rectI = s.rect(0,0,width,height),
16+ rect = s.group(rectI);
17+ if (width/height > 1.05) {
18+ var bigCircle = s.circle(0, height/2, height/2);
19+ } else {
20+ var bigCircle = s.circle(0, width/3, width/3);
21+ }
22+ function SVGsizes(width, height) {
23+ if (width/height > 1.05) {
24+ bigCircle.attr({
25+ r: height/2,
26+ cy: height/2
27+ });
28+ } else {
29+ bigCircle.attr({
30+ r: width/3,
31+ cy: width/3
32+ });
33+ }
34+ rectI.attr({
35+ width: width,
36+ height: height
37+ });
38+ info.attr({
39+ cx: width-30,
40+ cy: height-30
41+ });
42+ creditTXT.attr({
43+ x: width-37,
44+ y: height-25
45+ });
46+ for (i = 0; i < posArr.length; i++) {
47+ discs.select("circle:nth-child(" + (i+1) + ")").attr({
48+ cx: width*posArr[i][0],
49+ cy: height*posArr[i][1]
50+ });
51+ nums.select("text:nth-child(" + (i+1) + ")").attr({
52+ x: (width*posArr[i][0])-7,
53+ y: (height*posArr[i][1])+5
54+ });
55+ }
56+ }
57+ function WHforDiscs(width, height) {
58+ if (width/height > 1.05) {
59+ return height/2;
60+ } else {
61+ return width/3;
62+ }
63+ }
64+ //console.log(initSVG.SVGsizes);
65+// Setting default styles for rectangle and discs
66+ rect.attr({
67+ fill: " #383c4a",
68+ visibility: "hidden",
69+ opacity: 0
70+ });
71+ bigCircle.attr({
72+ fill: "#4e9a06",
73+ stroke: "#ca64ff",
74+ strokeWidth: 20,
75+ visibility: "hidden"
76+ });
77+ discs.attr({
78+ fill: "#4e9a06",
79+ stroke: "#ca64ff",
80+ strokeWidth: 5
81+ });
82+ info.attr({
83+ fill: "#4e9a06",
84+ stroke: "#ca64ff",
85+ strokeWidth: 5
86+ });
87+ nums.attr({
88+ pointerEvents: "none"
89+ });
90+ creditTXT.attr({
91+ pointerEvents: "none"
92+ });
93+ info.click (function() {
94+ document.getElementById("loadingPH").src="img/credits.gif";
95+ document.getElementById("creditsPH").style.display = "inherit";
96+ document.getElementById("Container").style.display = "none";
97+ document.getElementById("preload").style.visibility = "";
98+ document.getElementById("loadTXT").innerHTML = "Design & raziskovanje: Desirée&nbsp;Schembri</br>Raziskovanje: Niccolò&nbsp;Celoro</br> Kodiranje & raziskovanje: Riccardo&nbsp;Riccio</br>Načrtovanje in raziskovanje: Simon&nbsp;Tomsič</br><button onclick=\"closeInfo()\">Nazaj</button>";
99+ });
100+// Initialize circles
101+ for (i = 0; i < posArr.length; i++) {
102+ discs.add(s.circle(width*posArr[i][0], height*posArr[i][1], 20)); // Create and add circles to discs.
103+ nums.add(s.text((width*posArr[i][0])-7, (height*posArr[i][1])+5, addZyro(i)));
104+ discs.select("circle:nth-child(" + (i+1) + ")").click( function() {
105+ console.log(this); //Enable this for debug
106+ var save = [this.node.attributes.r.nodeValue, this.node.attributes.cx.nodeValue, this.node.attributes.cy.nodeValue],
107+ reback = this; // Save elements for later
108+ displayInfo(posArr, save);
109+ nums.attr({visibility: "hidden"});
110+ this.animate({r: WHforDiscs(window.innerWidth ,window.innerHeight), cy: WHforDiscs(window.innerWidth ,window.innerHeight), cx: 0, strokeWidth: 20}, 1000); //Move circle
111+ setTimeout(function(){ // Wait 1s function
112+ discs.attr({visibility: "hidden"}); // Hide discs to prevent ovelay viewing
113+ bigCircle.attr({visibility: ""}); // Show big circle
114+ rect.attr({visibility: ""}); //Show rectangle
115+ rect.animate({opacity: 0.8}, 500); // Animate opacity
116+ reback.animate({r: save[0], cy: save[2], cx: save[1], strokeWidth: 5}, 1000); //Return circle to original position
117+ document.getElementById("overlay").style.visibility = "";
118+ }, 1000);
119+ });
120+ }
121+// Return function on bigCircle (click to return)
122+ bigCircle.click(bConClick);
123+ rect.click(bConClick);
124+ function bConClick() {
125+ nums.attr({visibility: ""});
126+ discs.attr({visibility: ""}); // Unhide circles
127+ bigCircle.attr({visibility: "hidden"}); // Hide big side circle
128+ rect.attr({visibility: "hidden", opacity: "0"}); // Hide rectangle and set animation
129+ document.getElementById("overlay").style.visibility = "hidden";
130+ }
131+ function addZyro(num) {
132+ if (num < 9) {
133+ return "0" + (num+1);
134+ } else {
135+ return (num+1);
136+ }
137+ }
138+ return SVGsizes;
139+}
diff -r 000000000000 -r 7afca7dbfcc3 timeline/data.css~
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/timeline/data.css~ Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,81 @@
1+@font-face {
2+ font-family: 'GeometricSlab703BT-Light';
3+ src: url('fonts/geoslab703ltbtlight.eot');
4+ src: url('fonts/geoslab703ltbtlightd41d.eot?#iefix') format('embedded-opentype'),
5+ url('fonts/geoslab703ltbtlight.woff') format('woff'),
6+ url('fonts/geoslab703ltbtlight.ttf') format('truetype'),
7+ url('fonts/geoslab703ltbtlight.svg#geoslab703ltbtlight') format('svg');
8+ font-weight: normal;
9+ font-style: normal;
10+}
11+body {
12+ background-image: url("img/background.jpg");
13+ background-position: center center;
14+ background-size: cover;
15+ margin: 0;
16+ overflow: hidden;
17+ font-family: GeometricSlab703BT-Light;
18+}
19+#text {
20+ position: fixed;
21+ right: 0;
22+ color: white;
23+ overflow-y: auto;
24+}
25+#image {
26+ position: fixed;
27+ top: 10px;
28+}
29+h1, h3 {
30+ text-align: center;
31+}
32+h1{
33+ font-size: 2.5em;
34+ margin-bottom: 10px;
35+}
36+h2{
37+ color: white;
38+}
39+h3 {
40+ font-size: 1.5em;
41+ margin-top: 0;
42+}
43+li {
44+ font-size: 1.5em;
45+}
46+ul {
47+ padding-right: 5%;
48+}
49+li:empty {
50+ display: none;
51+}
52+#loadingPH {
53+ position: absolute;
54+ padding-top: 100px;
55+ margin-top: 10px;
56+ margin-left: 25px;
57+ width: 80%;
58+ top: 0;
59+ left: 0;
60+}
61+#creditsPH {
62+ display: block;
63+ max-height: 50%;
64+ max-width: 90%;
65+ margin: 0 auto;
66+ padding-top: 50px;
67+ display: none;
68+}
69+#perc {
70+ display: inline-block;
71+ position: relative;
72+ margin: 0 auto;
73+}
74+#Container {
75+ display: inline-block;
76+ position: relative;
77+ padding-top: 50px;
78+}
79+.text {
80+ font-size: 1.6em;
81+}
diff -r 000000000000 -r 7afca7dbfcc3 timeline/dataloader.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/timeline/dataloader.js Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,19 @@
1+window.onload = setSizes;
2+function setSizes() {
3+ document.getElementById("svg").style.display = "none";
4+ function sizing() {
5+ var height = window.innerHeight,
6+ width = window.innerWidth,
7+ textwid = width - (height/2);
8+ svg_block = document.getElementById("svg");
9+ svg_block.style.width = width + "px";
10+ svg_block.style.height = height + "px";
11+ }
12+ sizing();
13+ resizeSVG = initSVG();
14+ function runRes() {
15+ sizing();
16+ resizeSVG(window.innerWidth, window.innerHeight);
17+ }
18+ $(window).resize(runRes)
19+}
diff -r 000000000000 -r 7afca7dbfcc3 timeline/dataloader.js~
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/timeline/dataloader.js~ Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,20 @@
1+window.onload = setSizes;
2+function setSizes() {
3+ document.getElementById("svg").style.display = "none";
4+ function sizing() {
5+ var height = window.innerHeight,
6+ width = window.innerWidth,
7+ textwid = width - (height/2);
8+ svg_block = document.getElementById("svg");
9+ svg_block.style.width = width + "px";
10+ svg_block.style.height = height + "px";
11+ }
12+ var dates = [2012, 2015, 2016, 2018, 2019];
13+ sizing();
14+ resizeSVG = initSVG();
15+ function runRes() {
16+ sizing();
17+ resizeSVG(window.innerWidth, window.innerHeight);
18+ }
19+ $(window).resize(runRes)
20+}
diff -r 000000000000 -r 7afca7dbfcc3 timeline/index.html~
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/timeline/index.html~ Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,15 @@
1+<!DOCTYPE html>
2+<html lang="en">
3+<head>
4+ <meta charset="UTF-8">
5+ <title>The Tree Portal</title>
6+ <script src="js/snap.svg-min.js"></script>
7+ <script src="js/svg-animator.js"></script>
8+ <script src="js/dataloader.js"></script>
9+ <script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
10+ <link rel="stylesheet" type="text/css" href="data.css">
11+</head>
12+<body id="body">
13+ <svg width="800" height="600" id="svg"></svg>
14+</body>
15+</html>
diff -r 000000000000 -r 7afca7dbfcc3 timeline/snap.svg-min.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/timeline/snap.svg-min.js Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,21 @@
1+// Snap.svg 0.5.1
2+//
3+// Copyright (c) 2013 – 2017 Adobe Systems Incorporated. All rights reserved.
4+//
5+// Licensed under the Apache License, Version 2.0 (the "License");
6+// you may not use this file except in compliance with the License.
7+// You may obtain a copy of the License at
8+//
9+// http://www.apache.org/licenses/LICENSE-2.0
10+//
11+// Unless required by applicable law or agreed to in writing, software
12+// distributed under the License is distributed on an "AS IS" BASIS,
13+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+// See the License for the specific language governing permissions and
15+// limitations under the License.
16+//
17+// build: 2017-02-07
18+
19+!function(a){var b,c,d="0.5.0",e="hasOwnProperty",f=/[\.\/]/,g=/\s*,\s*/,h="*",i=function(a,b){return a-b},j={n:{}},k=function(){for(var a=0,b=this.length;b>a;a++)if("undefined"!=typeof this[a])return this[a]},l=function(){for(var a=this.length;--a;)if("undefined"!=typeof this[a])return this[a]},m=Object.prototype.toString,n=String,o=Array.isArray||function(a){return a instanceof Array||"[object Array]"==m.call(a)};eve=function(a,d){var e,f=c,g=Array.prototype.slice.call(arguments,2),h=eve.listeners(a),j=0,m=[],n={},o=[],p=b;o.firstDefined=k,o.lastDefined=l,b=a,c=0;for(var q=0,r=h.length;r>q;q++)"zIndex"in h[q]&&(m.push(h[q].zIndex),h[q].zIndex<0&&(n[h[q].zIndex]=h[q]));for(m.sort(i);m[j]<0;)if(e=n[m[j++]],o.push(e.apply(d,g)),c)return c=f,o;for(q=0;r>q;q++)if(e=h[q],"zIndex"in e)if(e.zIndex==m[j]){if(o.push(e.apply(d,g)),c)break;do if(j++,e=n[m[j]],e&&o.push(e.apply(d,g)),c)break;while(e)}else n[e.zIndex]=e;else if(o.push(e.apply(d,g)),c)break;return c=f,b=p,o},eve._events=j,eve.listeners=function(a){var b,c,d,e,g,i,k,l,m=o(a)?a:a.split(f),n=j,p=[n],q=[];for(e=0,g=m.length;g>e;e++){for(l=[],i=0,k=p.length;k>i;i++)for(n=p[i].n,c=[n[m[e]],n[h]],d=2;d--;)b=c[d],b&&(l.push(b),q=q.concat(b.f||[]));p=l}return q},eve.separator=function(a){a?(a=n(a).replace(/(?=[\.\^\]\[\-])/g,"\\"),a="["+a+"]",f=new RegExp(a)):f=/[\.\/]/},eve.on=function(a,b){if("function"!=typeof b)return function(){};for(var c=o(a)?o(a[0])?a:[a]:n(a).split(g),d=0,e=c.length;e>d;d++)!function(a){for(var c,d=o(a)?a:n(a).split(f),e=j,g=0,h=d.length;h>g;g++)e=e.n,e=e.hasOwnProperty(d[g])&&e[d[g]]||(e[d[g]]={n:{}});for(e.f=e.f||[],g=0,h=e.f.length;h>g;g++)if(e.f[g]==b){c=!0;break}!c&&e.f.push(b)}(c[d]);return function(a){+a==+a&&(b.zIndex=+a)}},eve.f=function(a){var b=[].slice.call(arguments,1);return function(){eve.apply(null,[a,null].concat(b).concat([].slice.call(arguments,0)))}},eve.stop=function(){c=1},eve.nt=function(a){var c=o(b)?b.join("."):b;return a?new RegExp("(?:\\.|\\/|^)"+a+"(?:\\.|\\/|$)").test(c):c},eve.nts=function(){return o(b)?b:b.split(f)},eve.off=eve.unbind=function(a,b){if(!a)return void(eve._events=j={n:{}});var c=o(a)?o(a[0])?a:[a]:n(a).split(g);if(c.length>1)for(var d=0,i=c.length;i>d;d++)eve.off(c[d],b);else{c=o(a)?a:n(a).split(f);var k,l,m,d,i,p,q,r=[j],s=[];for(d=0,i=c.length;i>d;d++)for(p=0;p<r.length;p+=m.length-2){if(m=[p,1],k=r[p].n,c[d]!=h)k[c[d]]&&(m.push(k[c[d]]),s.unshift({n:k,name:c[d]}));else for(l in k)k[e](l)&&(m.push(k[l]),s.unshift({n:k,name:l}));r.splice.apply(r,m)}for(d=0,i=r.length;i>d;d++)for(k=r[d];k.n;){if(b){if(k.f){for(p=0,q=k.f.length;q>p;p++)if(k.f[p]==b){k.f.splice(p,1);break}!k.f.length&&delete k.f}for(l in k.n)if(k.n[e](l)&&k.n[l].f){var t=k.n[l].f;for(p=0,q=t.length;q>p;p++)if(t[p]==b){t.splice(p,1);break}!t.length&&delete k.n[l].f}}else{delete k.f;for(l in k.n)k.n[e](l)&&k.n[l].f&&delete k.n[l].f}k=k.n}a:for(d=0,i=s.length;i>d;d++){k=s[d];for(l in k.n[k.name].f)continue a;for(l in k.n[k.name].n)continue a;delete k.n[k.name]}}},eve.once=function(a,b){var c=function(){return eve.off(a,c),b.apply(this,arguments)};return eve.on(a,c)},eve.version=d,eve.toString=function(){return"You are running Eve "+d},"undefined"!=typeof module&&module.exports?module.exports=eve:"function"==typeof define&&define.amd?define("eve",[],function(){return eve}):a.eve=eve}(this),function(a,b){if("function"==typeof define&&define.amd)define(["eve"],function(c){return b(a,c)});else if("undefined"!=typeof exports){var c=require("eve");module.exports=b(a,c)}else b(a,a.eve)}(window||this,function(a,b){var c=function(b){var c,d={},e=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||function(a){return setTimeout(a,16,(new Date).getTime()),!0},f=Array.isArray||function(a){return a instanceof Array||"[object Array]"==Object.prototype.toString.call(a)},g=0,h="M"+(+new Date).toString(36),i=function(){return h+(g++).toString(36)},j=Date.now||function(){return+new Date},k=function(a){var b=this;if(null==a)return b.s;var c=b.s-a;b.b+=b.dur*c,b.B+=b.dur*c,b.s=a},l=function(a){var b=this;return null==a?b.spd:void(b.spd=a)},m=function(a){var b=this;return null==a?b.dur:(b.s=b.s*a/b.dur,void(b.dur=a))},n=function(){var a=this;delete d[a.id],a.update(),b("mina.stop."+a.id,a)},o=function(){var a=this;a.pdif||(delete d[a.id],a.update(),a.pdif=a.get()-a.b)},p=function(){var a=this;a.pdif&&(a.b=a.get()-a.pdif,delete a.pdif,d[a.id]=a,r())},q=function(){var a,b=this;if(f(b.start)){a=[];for(var c=0,d=b.start.length;d>c;c++)a[c]=+b.start[c]+(b.end[c]-b.start[c])*b.easing(b.s)}else a=+b.start+(b.end-b.start)*b.easing(b.s);b.set(a)},r=function(a){if(!a)return void(c||(c=e(r)));var f=0;for(var g in d)if(d.hasOwnProperty(g)){var h=d[g],i=h.get();f++,h.s=(i-h.b)/(h.dur/h.spd),h.s>=1&&(delete d[g],h.s=1,f--,function(a){setTimeout(function(){b("mina.finish."+a.id,a)})}(h)),h.update()}c=f?e(r):!1},s=function(a,b,c,e,f,g,h){var j={id:i(),start:a,end:b,b:c,s:0,dur:e-c,spd:1,get:f,set:g,easing:h||s.linear,status:k,speed:l,duration:m,stop:n,pause:o,resume:p,update:q};d[j.id]=j;var t,u=0;for(t in d)if(d.hasOwnProperty(t)&&(u++,2==u))break;return 1==u&&r(),j};return s.time=j,s.getById=function(a){return d[a]||null},s.linear=function(a){return a},s.easeout=function(a){return Math.pow(a,1.7)},s.easein=function(a){return Math.pow(a,.48)},s.easeinout=function(a){if(1==a)return 1;if(0==a)return 0;var b=.48-a/1.04,c=Math.sqrt(.1734+b*b),d=c-b,e=Math.pow(Math.abs(d),1/3)*(0>d?-1:1),f=-c-b,g=Math.pow(Math.abs(f),1/3)*(0>f?-1:1),h=e+g+.5;return 3*(1-h)*h*h+h*h*h},s.backin=function(a){if(1==a)return 1;var b=1.70158;return a*a*((b+1)*a-b)},s.backout=function(a){if(0==a)return 0;a-=1;var b=1.70158;return a*a*((b+1)*a+b)+1},s.elastic=function(a){return a==!!a?a:Math.pow(2,-10*a)*Math.sin((a-.075)*(2*Math.PI)/.3)+1},s.bounce=function(a){var b,c=7.5625,d=2.75;return 1/d>a?b=c*a*a:2/d>a?(a-=1.5/d,b=c*a*a+.75):2.5/d>a?(a-=2.25/d,b=c*a*a+.9375):(a-=2.625/d,b=c*a*a+.984375),b},a.mina=s,s}("undefined"==typeof b?function(){}:b),d=function(a){function c(a,b){if(a){if(a.nodeType)return w(a);if(e(a,"array")&&c.set)return c.set.apply(c,a);if(a instanceof s)return a;if(null==b)try{return a=y.doc.querySelector(String(a)),w(a)}catch(d){return null}}return a=null==a?"100%":a,b=null==b?"100%":b,new v(a,b)}function d(a,b){if(b){if("#text"==a&&(a=y.doc.createTextNode(b.text||b["#text"]||"")),"#comment"==a&&(a=y.doc.createComment(b.text||b["#text"]||"")),"string"==typeof a&&(a=d(a)),"string"==typeof b)return 1==a.nodeType?"xlink:"==b.substring(0,6)?a.getAttributeNS(T,b.substring(6)):"xml:"==b.substring(0,4)?a.getAttributeNS(U,b.substring(4)):a.getAttribute(b):"text"==b?a.nodeValue:null;if(1==a.nodeType){for(var c in b)if(b[z](c)){var e=A(b[c]);e?"xlink:"==c.substring(0,6)?a.setAttributeNS(T,c.substring(6),e):"xml:"==c.substring(0,4)?a.setAttributeNS(U,c.substring(4),e):a.setAttribute(c,e):a.removeAttribute(c)}}else"text"in b&&(a.nodeValue=b.text)}else a=y.doc.createElementNS(U,a);return a}function e(a,b){return b=A.prototype.toLowerCase.call(b),"finite"==b?isFinite(a):"array"==b&&(a instanceof Array||Array.isArray&&Array.isArray(a))?!0:"null"==b&&null===a||b==typeof a&&null!==a||"object"==b&&a===Object(a)||J.call(a).slice(8,-1).toLowerCase()==b}function f(a){if("function"==typeof a||Object(a)!==a)return a;var b=new a.constructor;for(var c in a)a[z](c)&&(b[c]=f(a[c]));return b}function h(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return a.push(a.splice(c,1)[0])}function i(a,b,c){function d(){var e=Array.prototype.slice.call(arguments,0),f=e.join("␀"),g=d.cache=d.cache||{},i=d.count=d.count||[];return g[z](f)?(h(i,f),c?c(g[f]):g[f]):(i.length>=1e3&&delete g[i.shift()],i.push(f),g[f]=a.apply(b,e),c?c(g[f]):g[f])}return d}function j(a,b,c,d,e,f){if(null==e){var g=a-c,h=b-d;return g||h?(180+180*D.atan2(-h,-g)/H+360)%360:0}return j(a,b,e,f)-j(c,d,e,f)}function k(a){return a%360*H/180}function l(a){return 180*a/H%360}function m(a){var b=[];return a=a.replace(/(?:^|\s)(\w+)\(([^)]+)\)/g,function(a,c,d){return d=d.split(/\s*,\s*|\s+/),"rotate"==c&&1==d.length&&d.push(0,0),"scale"==c&&(d.length>2?d=d.slice(0,2):2==d.length&&d.push(0,0),1==d.length&&d.push(d[0],0,0)),"skewX"==c?b.push(["m",1,0,D.tan(k(d[0])),1,0,0]):"skewY"==c?b.push(["m",1,D.tan(k(d[0])),0,1,0,0]):b.push([c.charAt(0)].concat(d)),a}),b}function n(a,b){var d=aa(a),e=new c.Matrix;if(d)for(var f=0,g=d.length;g>f;f++){var h,i,j,k,l,m=d[f],n=m.length,o=A(m[0]).toLowerCase(),p=m[0]!=o,q=p?e.invert():0;"t"==o&&2==n?e.translate(m[1],0):"t"==o&&3==n?p?(h=q.x(0,0),i=q.y(0,0),j=q.x(m[1],m[2]),k=q.y(m[1],m[2]),e.translate(j-h,k-i)):e.translate(m[1],m[2]):"r"==o?2==n?(l=l||b,e.rotate(m[1],l.x+l.width/2,l.y+l.height/2)):4==n&&(p?(j=q.x(m[2],m[3]),k=q.y(m[2],m[3]),e.rotate(m[1],j,k)):e.rotate(m[1],m[2],m[3])):"s"==o?2==n||3==n?(l=l||b,e.scale(m[1],m[n-1],l.x+l.width/2,l.y+l.height/2)):4==n?p?(j=q.x(m[2],m[3]),k=q.y(m[2],m[3]),e.scale(m[1],m[1],j,k)):e.scale(m[1],m[1],m[2],m[3]):5==n&&(p?(j=q.x(m[3],m[4]),k=q.y(m[3],m[4]),e.scale(m[1],m[2],j,k)):e.scale(m[1],m[2],m[3],m[4])):"m"==o&&7==n&&e.add(m[1],m[2],m[3],m[4],m[5],m[6])}return e}function o(a){var b=a.node.ownerSVGElement&&w(a.node.ownerSVGElement)||a.node.parentNode&&w(a.node.parentNode)||c.select("svg")||c(0,0),d=b.select("defs"),e=null==d?!1:d.node;return e||(e=u("defs",b.node).node),e}function p(a){return a.node.ownerSVGElement&&w(a.node.ownerSVGElement)||c.select("svg")}function q(a,b,c){function e(a){if(null==a)return I;if(a==+a)return a;d(j,{width:a});try{return j.getBBox().width}catch(b){return 0}}function f(a){if(null==a)return I;if(a==+a)return a;d(j,{height:a});try{return j.getBBox().height}catch(b){return 0}}function g(d,e){null==b?i[d]=e(a.attr(d)||0):d==b&&(i=e(null==c?a.attr(d)||0:c))}var h=p(a).node,i={},j=h.querySelector(".svg---mgr");switch(j||(j=d("rect"),d(j,{x:-9e9,y:-9e9,width:10,height:10,"class":"svg---mgr",fill:"none"}),h.appendChild(j)),a.type){case"rect":g("rx",e),g("ry",f);case"image":g("width",e),g("height",f);case"text":g("x",e),g("y",f);break;case"circle":g("cx",e),g("cy",f),g("r",e);break;case"ellipse":g("cx",e),g("cy",f),g("rx",e),g("ry",f);break;case"line":g("x1",e),g("x2",e),g("y1",f),g("y2",f);break;case"marker":g("refX",e),g("markerWidth",e),g("refY",f),g("markerHeight",f);break;case"radialGradient":g("fx",e),g("fy",f);break;case"tspan":g("dx",e),g("dy",f);break;default:g(b,e)}return h.removeChild(j),i}function r(a){e(a,"array")||(a=Array.prototype.slice.call(arguments,0));for(var b=0,c=0,d=this.node;this[b];)delete this[b++];for(b=0;b<a.length;b++)"set"==a[b].type?a[b].forEach(function(a){d.appendChild(a.node)}):d.appendChild(a[b].node);var f=d.childNodes;for(b=0;b<f.length;b++)this[c++]=w(f[b]);return this}function s(a){if(a.snap in V)return V[a.snap];var b;try{b=a.ownerSVGElement}catch(c){}this.node=a,b&&(this.paper=new v(b)),this.type=a.tagName||a.nodeName;var d=this.id=S(this);if(this.anims={},this._={transform:[]},a.snap=d,V[d]=this,"g"==this.type&&(this.add=r),this.type in{g:1,mask:1,pattern:1,symbol:1})for(var e in v.prototype)v.prototype[z](e)&&(this[e]=v.prototype[e])}function t(a){this.node=a}function u(a,b){var c=d(a);b.appendChild(c);var e=w(c);return e}function v(a,b){var c,e,f,g=v.prototype;if(a&&a.tagName&&"svg"==a.tagName.toLowerCase()){if(a.snap in V)return V[a.snap];var h=a.ownerDocument;c=new s(a),e=a.getElementsByTagName("desc")[0],f=a.getElementsByTagName("defs")[0],e||(e=d("desc"),e.appendChild(h.createTextNode("Created with Snap")),c.node.appendChild(e)),f||(f=d("defs"),c.node.appendChild(f)),c.defs=f;for(var i in g)g[z](i)&&(c[i]=g[i]);c.paper=c.root=c}else c=u("svg",y.doc.body),d(c.node,{height:b,version:1.1,width:a,xmlns:U});return c}function w(a){return a?a instanceof s||a instanceof t?a:a.tagName&&"svg"==a.tagName.toLowerCase()?new v(a):a.tagName&&"object"==a.tagName.toLowerCase()&&"image/svg+xml"==a.type?new v(a.contentDocument.getElementsByTagName("svg")[0]):new s(a):a}function x(a,b){for(var c=0,d=a.length;d>c;c++){var e={type:a[c].type,attr:a[c].attr()},f=a[c].children();b.push(e),f.length&&x(f,e.childNodes=[])}}c.version="0.5.1",c.toString=function(){return"Snap v"+this.version},c._={};var y={win:a.window,doc:a.window.document};c._.glob=y;var z="hasOwnProperty",A=String,B=parseFloat,C=parseInt,D=Math,E=D.max,F=D.min,G=D.abs,H=(D.pow,D.PI),I=(D.round,""),J=Object.prototype.toString,K=/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?%?)\s*\))\s*$/i,L=(c._.separator=/[,\s]+/,/[\s]*,[\s]*/),M={hs:1,rg:1},N=/([a-z])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,O=/([rstm])[\s,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\s]*,?[\s]*)+)/gi,P=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\s]*,?[\s]*/gi,Q=0,R="S"+(+new Date).toString(36),S=function(a){return(a&&a.type?a.type:I)+R+(Q++).toString(36)},T="http://www.w3.org/1999/xlink",U="http://www.w3.org/2000/svg",V={};c.url=function(a){return"url('#"+a+"')"};c._.$=d,c._.id=S,c.format=function(){var a=/\{([^\}]+)\}/g,b=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,c=function(a,c,d){var e=d;return c.replace(b,function(a,b,c,d,f){b=b||d,e&&(b in e&&(e=e[b]),"function"==typeof e&&f&&(e=e()))}),e=(null==e||e==d?a:e)+""};return function(b,d){return A(b).replace(a,function(a,b){return c(a,b,d)})}}(),c._.clone=f,c._.cacher=i,c.rad=k,c.deg=l,c.sin=function(a){return D.sin(c.rad(a))},c.tan=function(a){return D.tan(c.rad(a))},c.cos=function(a){return D.cos(c.rad(a))},c.asin=function(a){return c.deg(D.asin(a))},c.acos=function(a){return c.deg(D.acos(a))},c.atan=function(a){return c.deg(D.atan(a))},c.atan2=function(a){return c.deg(D.atan2(a))},c.angle=j,c.len=function(a,b,d,e){return Math.sqrt(c.len2(a,b,d,e))},c.len2=function(a,b,c,d){return(a-c)*(a-c)+(b-d)*(b-d)},c.closestPoint=function(a,b,c){function d(a){var d=a.x-b,e=a.y-c;return d*d+e*e}for(var e,f,g,h,i=a.node,j=i.getTotalLength(),k=j/i.pathSegList.numberOfItems*.125,l=1/0,m=0;j>=m;m+=k)(h=d(g=i.getPointAtLength(m)))<l&&(e=g,f=m,l=h);for(k*=.5;k>.5;){var n,o,p,q,r,s;(p=f-k)>=0&&(r=d(n=i.getPointAtLength(p)))<l?(e=n,f=p,l=r):(q=f+k)<=j&&(s=d(o=i.getPointAtLength(q)))<l?(e=o,f=q,l=s):k*=.5}return e={x:e.x,y:e.y,length:f,distance:Math.sqrt(l)}},c.is=e,c.snapTo=function(a,b,c){if(c=e(c,"finite")?c:10,e(a,"array")){for(var d=a.length;d--;)if(G(a[d]-b)<=c)return a[d]}else{a=+a;var f=b%a;if(c>f)return b-f;if(f>a-c)return b-f+a}return b},c.getRGB=i(function(a){if(!a||(a=A(a)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Z};if("none"==a)return{r:-1,g:-1,b:-1,hex:"none",toString:Z};if(!(M[z](a.toLowerCase().substring(0,2))||"#"==a.charAt())&&(a=W(a)),!a)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Z};var b,d,f,g,h,i,j=a.match(K);return j?(j[2]&&(f=C(j[2].substring(5),16),d=C(j[2].substring(3,5),16),b=C(j[2].substring(1,3),16)),j[3]&&(f=C((h=j[3].charAt(3))+h,16),d=C((h=j[3].charAt(2))+h,16),b=C((h=j[3].charAt(1))+h,16)),j[4]&&(i=j[4].split(L),b=B(i[0]),"%"==i[0].slice(-1)&&(b*=2.55),d=B(i[1]),"%"==i[1].slice(-1)&&(d*=2.55),f=B(i[2]),"%"==i[2].slice(-1)&&(f*=2.55),"rgba"==j[1].toLowerCase().slice(0,4)&&(g=B(i[3])),i[3]&&"%"==i[3].slice(-1)&&(g/=100)),j[5]?(i=j[5].split(L),b=B(i[0]),"%"==i[0].slice(-1)&&(b/=100),d=B(i[1]),"%"==i[1].slice(-1)&&(d/=100),f=B(i[2]),"%"==i[2].slice(-1)&&(f/=100),("deg"==i[0].slice(-3)||"°"==i[0].slice(-1))&&(b/=360),"hsba"==j[1].toLowerCase().slice(0,4)&&(g=B(i[3])),i[3]&&"%"==i[3].slice(-1)&&(g/=100),c.hsb2rgb(b,d,f,g)):j[6]?(i=j[6].split(L),b=B(i[0]),"%"==i[0].slice(-1)&&(b/=100),d=B(i[1]),"%"==i[1].slice(-1)&&(d/=100),f=B(i[2]),"%"==i[2].slice(-1)&&(f/=100),("deg"==i[0].slice(-3)||"°"==i[0].slice(-1))&&(b/=360),"hsla"==j[1].toLowerCase().slice(0,4)&&(g=B(i[3])),i[3]&&"%"==i[3].slice(-1)&&(g/=100),c.hsl2rgb(b,d,f,g)):(b=F(D.round(b),255),d=F(D.round(d),255),f=F(D.round(f),255),g=F(E(g,0),1),j={r:b,g:d,b:f,toString:Z},j.hex="#"+(16777216|f|d<<8|b<<16).toString(16).slice(1),j.opacity=e(g,"finite")?g:1,j)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:Z}},c),c.hsb=i(function(a,b,d){return c.hsb2rgb(a,b,d).hex}),c.hsl=i(function(a,b,d){return c.hsl2rgb(a,b,d).hex}),c.rgb=i(function(a,b,c,d){if(e(d,"finite")){var f=D.round;return"rgba("+[f(a),f(b),f(c),+d.toFixed(2)]+")"}return"#"+(16777216|c|b<<8|a<<16).toString(16).slice(1)});var W=function(a){var b=y.doc.getElementsByTagName("head")[0]||y.doc.getElementsByTagName("svg")[0],c="rgb(255, 0, 0)";return(W=i(function(a){if("red"==a.toLowerCase())return c;b.style.color=c,b.style.color=a;var d=y.doc.defaultView.getComputedStyle(b,I).getPropertyValue("color");return d==c?null:d}))(a)},X=function(){return"hsb("+[this.h,this.s,this.b]+")"},Y=function(){return"hsl("+[this.h,this.s,this.l]+")"},Z=function(){return 1==this.opacity||null==this.opacity?this.hex:"rgba("+[this.r,this.g,this.b,this.opacity]+")"},$=function(a,b,d){if(null==b&&e(a,"object")&&"r"in a&&"g"in a&&"b"in a&&(d=a.b,b=a.g,a=a.r),null==b&&e(a,string)){var f=c.getRGB(a);a=f.r,b=f.g,d=f.b}return(a>1||b>1||d>1)&&(a/=255,b/=255,d/=255),[a,b,d]},_=function(a,b,d,f){a=D.round(255*a),b=D.round(255*b),d=D.round(255*d);var g={r:a,g:b,b:d,opacity:e(f,"finite")?f:1,hex:c.rgb(a,b,d),toString:Z};return e(f,"finite")&&(g.opacity=f),g};c.color=function(a){var b;return e(a,"object")&&"h"in a&&"s"in a&&"b"in a?(b=c.hsb2rgb(a),a.r=b.r,a.g=b.g,a.b=b.b,a.opacity=1,a.hex=b.hex):e(a,"object")&&"h"in a&&"s"in a&&"l"in a?(b=c.hsl2rgb(a),a.r=b.r,a.g=b.g,a.b=b.b,a.opacity=1,a.hex=b.hex):(e(a,"string")&&(a=c.getRGB(a)),e(a,"object")&&"r"in a&&"g"in a&&"b"in a&&!("error"in a)?(b=c.rgb2hsl(a),a.h=b.h,a.s=b.s,a.l=b.l,b=c.rgb2hsb(a),a.v=b.b):(a={hex:"none"},a.r=a.g=a.b=a.h=a.s=a.v=a.l=-1,a.error=1)),a.toString=Z,a},c.hsb2rgb=function(a,b,c,d){e(a,"object")&&"h"in a&&"s"in a&&"b"in a&&(c=a.b,b=a.s,d=a.o,a=a.h),a*=360;var f,g,h,i,j;return a=a%360/60,j=c*b,i=j*(1-G(a%2-1)),f=g=h=c-j,a=~~a,f+=[j,i,0,0,i,j][a],g+=[i,j,j,i,0,0][a],h+=[0,0,i,j,j,i][a],_(f,g,h,d)},c.hsl2rgb=function(a,b,c,d){e(a,"object")&&"h"in a&&"s"in a&&"l"in a&&(c=a.l,b=a.s,a=a.h),(a>1||b>1||c>1)&&(a/=360,b/=100,c/=100),a*=360;var f,g,h,i,j;return a=a%360/60,j=2*b*(.5>c?c:1-c),i=j*(1-G(a%2-1)),f=g=h=c-j/2,a=~~a,f+=[j,i,0,0,i,j][a],g+=[i,j,j,i,0,0][a],h+=[0,0,i,j,j,i][a],_(f,g,h,d)},c.rgb2hsb=function(a,b,c){c=$(a,b,c),a=c[0],b=c[1],c=c[2];var d,e,f,g;return f=E(a,b,c),g=f-F(a,b,c),d=0==g?null:f==a?(b-c)/g:f==b?(c-a)/g+2:(a-b)/g+4,d=(d+360)%6*60/360,e=0==g?0:g/f,{h:d,s:e,b:f,toString:X}},c.rgb2hsl=function(a,b,c){c=$(a,b,c),a=c[0],b=c[1],c=c[2];var d,e,f,g,h,i;return g=E(a,b,c),h=F(a,b,c),i=g-h,d=0==i?null:g==a?(b-c)/i:g==b?(c-a)/i+2:(a-b)/i+4,d=(d+360)%6*60/360,f=(g+h)/2,e=0==i?0:.5>f?i/(2*f):i/(2-2*f),{h:d,s:e,l:f,toString:Y}},c.parsePathString=function(a){if(!a)return null;var b=c.path(a);if(b.arr)return c.path.clone(b.arr);var d={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},f=[];return e(a,"array")&&e(a[0],"array")&&(f=c.path.clone(a)),f.length||A(a).replace(N,function(a,b,c){var e=[],g=b.toLowerCase();if(c.replace(P,function(a,b){b&&e.push(+b)}),"m"==g&&e.length>2&&(f.push([b].concat(e.splice(0,2))),g="l",b="m"==b?"l":"L"),"o"==g&&1==e.length&&f.push([b,e[0]]),"r"==g)f.push([b].concat(e));else for(;e.length>=d[g]&&(f.push([b].concat(e.splice(0,d[g]))),d[g]););}),f.toString=c.path.toString,b.arr=c.path.clone(f),f};var aa=c.parseTransformString=function(a){if(!a)return null;var b=[];return e(a,"array")&&e(a[0],"array")&&(b=c.path.clone(a)),b.length||A(a).replace(O,function(a,c,d){var e=[];c.toLowerCase();d.replace(P,function(a,b){b&&e.push(+b)}),b.push([c].concat(e))}),b.toString=c.path.toString,b};c._.svgTransform2string=m,c._.rgTransform=/^[a-z][\s]*-?\.?\d/i,c._.transform2matrix=n,c._unit2px=q;y.doc.contains||y.doc.compareDocumentPosition?function(a,b){var c=9==a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a==d||!(!d||1!=d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)for(;b;)if(b=b.parentNode,b==a)return!0;return!1};c._.getSomeDefs=o,c._.getSomeSVG=p,c.select=function(a){return a=A(a).replace(/([^\\]):/g,"$1\\:"),w(y.doc.querySelector(a))},c.selectAll=function(a){for(var b=y.doc.querySelectorAll(a),d=(c.set||Array)(),e=0;e<b.length;e++)d.push(w(b[e]));return d},setInterval(function(){for(var a in V)if(V[z](a)){var b=V[a],c=b.node;("svg"!=b.type&&!c.ownerSVGElement||"svg"==b.type&&(!c.parentNode||"ownerSVGElement"in c.parentNode&&!c.ownerSVGElement))&&delete V[a]}},1e4),s.prototype.attr=function(a,c){var d=this,f=d.node;if(!a){if(1!=f.nodeType)return{text:f.nodeValue};for(var g=f.attributes,h={},i=0,j=g.length;j>i;i++)h[g[i].nodeName]=g[i].nodeValue;return h}if(e(a,"string")){if(!(arguments.length>1))return b("snap.util.getattr."+a,d).firstDefined();var k={};k[a]=c,a=k}for(var l in a)a[z](l)&&b("snap.util.attr."+l,d,a[l]);return d},c.parse=function(a){var b=y.doc.createDocumentFragment(),c=!0,d=y.doc.createElement("div");if(a=A(a),a.match(/^\s*<\s*svg(?:\s|>)/)||(a="<svg>"+a+"</svg>",c=!1),d.innerHTML=a,a=d.getElementsByTagName("svg")[0])if(c)b=a;else for(;a.firstChild;)b.appendChild(a.firstChild);return new t(b)},c.fragment=function(){for(var a=Array.prototype.slice.call(arguments,0),b=y.doc.createDocumentFragment(),d=0,e=a.length;e>d;d++){var f=a[d];f.node&&f.node.nodeType&&b.appendChild(f.node),f.nodeType&&b.appendChild(f),"string"==typeof f&&b.appendChild(c.parse(f).node)}return new t(b)},c._.make=u,c._.wrap=w,v.prototype.el=function(a,b){var c=u(a,this.node);return b&&c.attr(b),c},s.prototype.children=function(){for(var a=[],b=this.node.childNodes,d=0,e=b.length;e>d;d++)a[d]=c(b[d]);return a},s.prototype.toJSON=function(){var a=[];return x([this],a),a[0]},b.on("snap.util.getattr",function(){var a=b.nt();a=a.substring(a.lastIndexOf(".")+1);var c=a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()});return ba[z](c)?this.node.ownerDocument.defaultView.getComputedStyle(this.node,null).getPropertyValue(c):d(this.node,a)});var ba={"alignment-baseline":0,"baseline-shift":0,clip:0,"clip-path":0,"clip-rule":0,color:0,"color-interpolation":0,"color-interpolation-filters":0,"color-profile":0,"color-rendering":0,cursor:0,direction:0,display:0,"dominant-baseline":0,"enable-background":0,fill:0,"fill-opacity":0,"fill-rule":0,filter:0,"flood-color":0,"flood-opacity":0,font:0,"font-family":0,"font-size":0,"font-size-adjust":0,"font-stretch":0,"font-style":0,"font-variant":0,"font-weight":0,"glyph-orientation-horizontal":0,"glyph-orientation-vertical":0,"image-rendering":0,kerning:0,"letter-spacing":0,"lighting-color":0,marker:0,"marker-end":0,"marker-mid":0,"marker-start":0,mask:0,opacity:0,overflow:0,"pointer-events":0,"shape-rendering":0,"stop-color":0,"stop-opacity":0,stroke:0,"stroke-dasharray":0,"stroke-dashoffset":0,"stroke-linecap":0,"stroke-linejoin":0,"stroke-miterlimit":0,"stroke-opacity":0,"stroke-width":0,"text-anchor":0,"text-decoration":0,"text-rendering":0,"unicode-bidi":0,visibility:0,"word-spacing":0,"writing-mode":0};b.on("snap.util.attr",function(a){var c=b.nt(),e={};c=c.substring(c.lastIndexOf(".")+1),e[c]=a;var f=c.replace(/-(\w)/gi,function(a,b){return b.toUpperCase()}),g=c.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()});ba[z](g)?this.node.style[f]=null==a?I:a:d(this.node,e)}),function(a){}(v.prototype),c.ajax=function(a,c,d,f){var g=new XMLHttpRequest,h=S();if(g){if(e(c,"function"))f=d,d=c,c=null;else if(e(c,"object")){var i=[];for(var j in c)c.hasOwnProperty(j)&&i.push(encodeURIComponent(j)+"="+encodeURIComponent(c[j]));c=i.join("&")}return g.open(c?"POST":"GET",a,!0),c&&(g.setRequestHeader("X-Requested-With","XMLHttpRequest"),g.setRequestHeader("Content-type","application/x-www-form-urlencoded")),d&&(b.once("snap.ajax."+h+".0",d),b.once("snap.ajax."+h+".200",d),b.once("snap.ajax."+h+".304",d)),g.onreadystatechange=function(){4==g.readyState&&b("snap.ajax."+h+"."+g.status,f,g)},4==g.readyState?g:(g.send(c),g)}},c.load=function(a,b,d){c.ajax(a,function(a){var e=c.parse(a.responseText);d?b.call(d,e):b(e)})};var ca=function(a){var b=a.getBoundingClientRect(),c=a.ownerDocument,d=c.body,e=c.documentElement,f=e.clientTop||d.clientTop||0,h=e.clientLeft||d.clientLeft||0,i=b.top+(g.win.pageYOffset||e.scrollTop||d.scrollTop)-f,j=b.left+(g.win.pageXOffset||e.scrollLeft||d.scrollLeft)-h;return{y:i,x:j}};return c.getElementByPoint=function(a,b){var c=this,d=(c.canvas,y.doc.elementFromPoint(a,b));if(y.win.opera&&"svg"==d.tagName){var e=ca(d),f=d.createSVGRect();f.x=a-e.x,f.y=b-e.y,f.width=f.height=1;var g=d.getIntersectionList(f,null);g.length&&(d=g[g.length-1])}return d?w(d):null},c.plugin=function(a){a(c,s,v,y,t)},y.win.Snap=c,c}(a||this);return d.plugin(function(c,d,e,f,g){function h(a,b){if(null==b){var d=!0;if(b="linearGradient"==a.type||"radialGradient"==a.type?a.node.getAttribute("gradientTransform"):"pattern"==a.type?a.node.getAttribute("patternTransform"):a.node.getAttribute("transform"),!b)return new c.Matrix;b=c._.svgTransform2string(b)}else b=c._.rgTransform.test(b)?m(b).replace(/\.{3}|\u2026/g,a._.transform||""):c._.svgTransform2string(b),l(b,"array")&&(b=c.path?c.path.toString.call(b):m(b)),a._.transform=b;var e=c._.transform2matrix(b,a.getBBox(1));return d?e:void(a.matrix=e)}function i(a){function b(a,b){var d=o(a.node,b);d=d&&d.match(g),d=d&&d[2],d&&"#"==d.charAt()&&(d=d.substring(1),d&&(i[d]=(i[d]||[]).concat(function(d){var e={};e[b]=c.url(d),o(a.node,e)})))}function d(a){var b=o(a.node,"xlink:href");b&&"#"==b.charAt()&&(b=b.substring(1),b&&(i[b]=(i[b]||[]).concat(function(b){a.attr("xlink:href","#"+b)})))}for(var e,f=a.selectAll("*"),g=/^\s*url\(("|'|)(.*)\1\)\s*$/,h=[],i={},j=0,k=f.length;k>j;j++){e=f[j],b(e,"fill"),b(e,"stroke"),b(e,"filter"),b(e,"mask"),b(e,"clip-path"),d(e);var l=o(e.node,"id");l&&(o(e.node,{id:e.id}),h.push({old:l,id:e.id}))}for(j=0,k=h.length;k>j;j++){var m=i[h[j].old];if(m)for(var n=0,p=m.length;p>n;n++)m[n](h[j].id)}}function j(a){return function(){var b=a?"<"+this.type:"",c=this.node.attributes,d=this.node.childNodes;if(a)for(var e=0,f=c.length;f>e;e++)b+=" "+c[e].name+'="'+c[e].value.replace(/"/g,'\\"')+'"';if(d.length){for(a&&(b+=">"),e=0,f=d.length;f>e;e++)3==d[e].nodeType?b+=d[e].nodeValue:1==d[e].nodeType&&(b+=s(d[e]).toString());a&&(b+="</"+this.type+">")}else a&&(b+="/>");return b}}var k=d.prototype,l=c.is,m=String,n=c._unit2px,o=c._.$,p=c._.make,q=c._.getSomeDefs,r="hasOwnProperty",s=c._.wrap;k.getBBox=function(a){if("tspan"==this.type)return c._.box(this.node.getClientRects().item(0));if(!c.Matrix||!c.path)return this.node.getBBox();var b=this,d=new c.Matrix;if(b.removed)return c._.box();for(;"use"==b.type;)if(a||(d=d.add(b.transform().localMatrix.translate(b.attr("x")||0,b.attr("y")||0))),b.original)b=b.original;else{var e=b.attr("xlink:href");b=b.original=b.node.ownerDocument.getElementById(e.substring(e.indexOf("#")+1))}var f=b._,g=c.path.get[b.type]||c.path.get.deflt;try{return a?(f.bboxwt=g?c.path.getBBox(b.realPath=g(b)):c._.box(b.node.getBBox()),c._.box(f.bboxwt)):(b.realPath=g(b),b.matrix=b.transform().localMatrix,f.bbox=c.path.getBBox(c.path.map(b.realPath,d.add(b.matrix))),c._.box(f.bbox))}catch(h){return c._.box()}};var t=function(){return this.string};k.transform=function(a){var b=this._;if(null==a){for(var d,e=this,f=new c.Matrix(this.node.getCTM()),g=h(this),i=[g],j=new c.Matrix,k=g.toTransformString(),l=m(g)==m(this.matrix)?m(b.transform):k;"svg"!=e.type&&(e=e.parent());)i.push(h(e));for(d=i.length;d--;)j.add(i[d]);return{string:l,globalMatrix:f,totalMatrix:j,localMatrix:g,diffMatrix:f.clone().add(g.invert()),global:f.toTransformString(),total:j.toTransformString(),local:k,toString:t}}return a instanceof c.Matrix?(this.matrix=a,this._.transform=a.toTransformString()):h(this,a),this.node&&("linearGradient"==this.type||"radialGradient"==this.type?o(this.node,{gradientTransform:this.matrix}):"pattern"==this.type?o(this.node,{patternTransform:this.matrix}):o(this.node,{transform:this.matrix})),this},k.parent=function(){return s(this.node.parentNode)},k.append=k.add=function(a){if(a){if("set"==a.type){var b=this;return a.forEach(function(a){b.add(a)}),this}a=s(a),this.node.appendChild(a.node),a.paper=this.paper}return this},k.appendTo=function(a){return a&&(a=s(a),a.append(this)),this},k.prepend=function(a){if(a){if("set"==a.type){var b,c=this;return a.forEach(function(a){b?b.after(a):c.prepend(a),b=a}),this}a=s(a);var d=a.parent();this.node.insertBefore(a.node,this.node.firstChild),this.add&&this.add(),a.paper=this.paper,this.parent()&&this.parent().add(),d&&d.add()}return this},k.prependTo=function(a){return a=s(a),a.prepend(this),this},k.before=function(a){if("set"==a.type){var b=this;return a.forEach(function(a){var c=a.parent();b.node.parentNode.insertBefore(a.node,b.node),c&&c.add()}),this.parent().add(),this}a=s(a);var c=a.parent();return this.node.parentNode.insertBefore(a.node,this.node),this.parent()&&this.parent().add(),c&&c.add(),a.paper=this.paper,this},k.after=function(a){a=s(a);var b=a.parent();return this.node.nextSibling?this.node.parentNode.insertBefore(a.node,this.node.nextSibling):this.node.parentNode.appendChild(a.node),this.parent()&&this.parent().add(),b&&b.add(),a.paper=this.paper,this},k.insertBefore=function(a){a=s(a);var b=this.parent();return a.node.parentNode.insertBefore(this.node,a.node),this.paper=a.paper,b&&b.add(),a.parent()&&a.parent().add(),this},k.insertAfter=function(a){a=s(a);var b=this.parent();return a.node.parentNode.insertBefore(this.node,a.node.nextSibling),this.paper=a.paper,b&&b.add(),a.parent()&&a.parent().add(),this},k.remove=function(){var a=this.parent();return this.node.parentNode&&this.node.parentNode.removeChild(this.node),delete this.paper,this.removed=!0,a&&a.add(),this},k.select=function(a){return s(this.node.querySelector(a))},k.selectAll=function(a){for(var b=this.node.querySelectorAll(a),d=(c.set||Array)(),e=0;e<b.length;e++)d.push(s(b[e]));return d},k.asPX=function(a,b){return null==b&&(b=this.attr(a)),+n(this,a,b)},k.use=function(){var a,b=this.node.id;return b||(b=this.id,o(this.node,{id:b})),a="linearGradient"==this.type||"radialGradient"==this.type||"pattern"==this.type?p(this.type,this.node.parentNode):p("use",this.node.parentNode),o(a.node,{"xlink:href":"#"+b}),a.original=this,a},k.clone=function(){var a=s(this.node.cloneNode(!0));return o(a.node,"id")&&o(a.node,{id:a.id}),i(a),a.insertAfter(this),a},k.toDefs=function(){var a=q(this);return a.appendChild(this.node),this},k.pattern=k.toPattern=function(a,b,c,d){var e=p("pattern",q(this));return null==a&&(a=this.getBBox()),l(a,"object")&&"x"in a&&(b=a.y,c=a.width,d=a.height,a=a.x),o(e.node,{x:a,y:b,width:c,height:d,patternUnits:"userSpaceOnUse",id:e.id,viewBox:[a,b,c,d].join(" ")}),e.node.appendChild(this.node),e},k.marker=function(a,b,c,d,e,f){var g=p("marker",q(this));return null==a&&(a=this.getBBox()),l(a,"object")&&"x"in a&&(b=a.y,c=a.width,d=a.height,e=a.refX||a.cx,f=a.refY||a.cy,a=a.x),o(g.node,{viewBox:[a,b,c,d].join(" "),markerWidth:c,markerHeight:d,orient:"auto",refX:e||0,refY:f||0,id:g.id}),g.node.appendChild(this.node),g};var u={};k.data=function(a,d){var e=u[this.id]=u[this.id]||{};if(0==arguments.length)return b("snap.data.get."+this.id,this,e,null),e;if(1==arguments.length){if(c.is(a,"object")){for(var f in a)a[r](f)&&this.data(f,a[f]);return this}return b("snap.data.get."+this.id,this,e[a],a),e[a]}return e[a]=d,b("snap.data.set."+this.id,this,d,a),this},k.removeData=function(a){return null==a?u[this.id]={}:u[this.id]&&delete u[this.id][a],this},k.outerSVG=k.toString=j(1),k.innerSVG=j(),k.toDataURL=function(){if(a&&a.btoa){var b=this.getBBox(),d=c.format('<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="{width}" height="{height}" viewBox="{x} {y} {width} {height}">{contents}</svg>',{x:+b.x.toFixed(3),y:+b.y.toFixed(3),width:+b.width.toFixed(3),height:+b.height.toFixed(3),
20+contents:this.outerSVG()});return"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(d)))}},g.prototype.select=k.select,g.prototype.selectAll=k.selectAll}),d.plugin(function(a,d,e,f,g){function h(a,b,c){return function(d){var e=d.slice(a,b);return 1==e.length&&(e=e[0]),c?c(e):e}}var i=d.prototype,j=a.is,k=String,l="hasOwnProperty",m=function(a,b,d,e){"function"!=typeof d||d.length||(e=d,d=c.linear),this.attr=a,this.dur=b,d&&(this.easing=d),e&&(this.callback=e)};a._.Animation=m,a.animation=function(a,b,c,d){return new m(a,b,c,d)},i.inAnim=function(){var a=this,b=[];for(var c in a.anims)a.anims[l](c)&&!function(a){b.push({anim:new m(a._attrs,a.dur,a.easing,a._callback),mina:a,curStatus:a.status(),status:function(b){return a.status(b)},stop:function(){a.stop()}})}(a.anims[c]);return b},a.animate=function(a,d,e,f,g,h){"function"!=typeof g||g.length||(h=g,g=c.linear);var i=c.time(),j=c(a,d,i,i+f,c.time,e,g);return h&&b.once("mina.finish."+j.id,h),j},i.stop=function(){for(var a=this.inAnim(),b=0,c=a.length;c>b;b++)a[b].stop();return this},i.animate=function(a,d,e,f){"function"!=typeof e||e.length||(f=e,e=c.linear),a instanceof m&&(f=a.callback,e=a.easing,d=a.dur,a=a.attr);var g,i,n,o,p=[],q=[],r={},s=this;for(var t in a)if(a[l](t)){s.equal?(o=s.equal(t,k(a[t])),g=o.from,i=o.to,n=o.f):(g=+s.attr(t),i=+a[t]);var u=j(g,"array")?g.length:1;r[t]=h(p.length,p.length+u,n),p=p.concat(g),q=q.concat(i)}var v=c.time(),w=c(p,q,v,v+d,c.time,function(a){var b={};for(var c in r)r[l](c)&&(b[c]=r[c](a));s.attr(b)},e);return s.anims[w.id]=w,w._attrs=a,w._callback=f,b("snap.animcreated."+s.id,w),b.once("mina.finish."+w.id,function(){b.off("mina.*."+w.id),delete s.anims[w.id],f&&f.call(s)}),b.once("mina.stop."+w.id,function(){b.off("mina.*."+w.id),delete s.anims[w.id]}),s}}),d.plugin(function(a,b,c,d,e){function f(a,b,c,d,e,f){return null==b&&"[object SVGMatrix]"==g.call(a)?(this.a=a.a,this.b=a.b,this.c=a.c,this.d=a.d,this.e=a.e,void(this.f=a.f)):void(null!=a?(this.a=+a,this.b=+b,this.c=+c,this.d=+d,this.e=+e,this.f=+f):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0))}var g=Object.prototype.toString,h=String,i=Math,j="";!function(b){function c(a){return a[0]*a[0]+a[1]*a[1]}function d(a){var b=i.sqrt(c(a));a[0]&&(a[0]/=b),a[1]&&(a[1]/=b)}b.add=function(a,b,c,d,e,g){if(a&&a instanceof f)return this.add(a.a,a.b,a.c,a.d,a.e,a.f);var h=a*this.a+b*this.c,i=a*this.b+b*this.d;return this.e+=e*this.a+g*this.c,this.f+=e*this.b+g*this.d,this.c=c*this.a+d*this.c,this.d=c*this.b+d*this.d,this.a=h,this.b=i,this},f.prototype.multLeft=function(a,b,c,d,e,g){if(a&&a instanceof f)return this.multLeft(a.a,a.b,a.c,a.d,a.e,a.f);var h=a*this.a+c*this.b,i=a*this.c+c*this.d,j=a*this.e+c*this.f+e;return this.b=b*this.a+d*this.b,this.d=b*this.c+d*this.d,this.f=b*this.e+d*this.f+g,this.a=h,this.c=i,this.e=j,this},b.invert=function(){var a=this,b=a.a*a.d-a.b*a.c;return new f(a.d/b,-a.b/b,-a.c/b,a.a/b,(a.c*a.f-a.d*a.e)/b,(a.b*a.e-a.a*a.f)/b)},b.clone=function(){return new f(this.a,this.b,this.c,this.d,this.e,this.f)},b.translate=function(a,b){return this.e+=a*this.a+b*this.c,this.f+=a*this.b+b*this.d,this},b.scale=function(a,b,c,d){return null==b&&(b=a),(c||d)&&this.translate(c,d),this.a*=a,this.b*=a,this.c*=b,this.d*=b,(c||d)&&this.translate(-c,-d),this},b.rotate=function(b,c,d){b=a.rad(b),c=c||0,d=d||0;var e=+i.cos(b).toFixed(9),f=+i.sin(b).toFixed(9);return this.add(e,f,-f,e,c,d),this.add(1,0,0,1,-c,-d)},b.skewX=function(a){return this.skew(a,0)},b.skewY=function(a){return this.skew(0,a)},b.skew=function(b,c){b=b||0,c=c||0,b=a.rad(b),c=a.rad(c);var d=i.tan(b).toFixed(9),e=i.tan(c).toFixed(9);return this.add(1,e,d,1,0,0)},b.x=function(a,b){return a*this.a+b*this.c+this.e},b.y=function(a,b){return a*this.b+b*this.d+this.f},b.get=function(a){return+this[h.fromCharCode(97+a)].toFixed(4)},b.toString=function(){return"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")"},b.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},b.determinant=function(){return this.a*this.d-this.b*this.c},b.split=function(){var b={};b.dx=this.e,b.dy=this.f;var e=[[this.a,this.b],[this.c,this.d]];b.scalex=i.sqrt(c(e[0])),d(e[0]),b.shear=e[0][0]*e[1][0]+e[0][1]*e[1][1],e[1]=[e[1][0]-e[0][0]*b.shear,e[1][1]-e[0][1]*b.shear],b.scaley=i.sqrt(c(e[1])),d(e[1]),b.shear/=b.scaley,this.determinant()<0&&(b.scalex=-b.scalex);var f=e[0][1],g=e[1][1];return 0>g?(b.rotate=a.deg(i.acos(g)),0>f&&(b.rotate=360-b.rotate)):b.rotate=a.deg(i.asin(f)),b.isSimple=!(+b.shear.toFixed(9)||b.scalex.toFixed(9)!=b.scaley.toFixed(9)&&b.rotate),b.isSuperSimple=!+b.shear.toFixed(9)&&b.scalex.toFixed(9)==b.scaley.toFixed(9)&&!b.rotate,b.noRotation=!+b.shear.toFixed(9)&&!b.rotate,b},b.toTransformString=function(a){var b=a||this.split();return+b.shear.toFixed(9)?"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]:(b.scalex=+b.scalex.toFixed(4),b.scaley=+b.scaley.toFixed(4),b.rotate=+b.rotate.toFixed(4),(b.dx||b.dy?"t"+[+b.dx.toFixed(4),+b.dy.toFixed(4)]:j)+(b.rotate?"r"+[+b.rotate.toFixed(4),0,0]:j)+(1!=b.scalex||1!=b.scaley?"s"+[b.scalex,b.scaley,0,0]:j))}}(f.prototype),a.Matrix=f,a.matrix=function(a,b,c,d,e,g){return new f(a,b,c,d,e,g)}}),d.plugin(function(a,c,d,e,f){function g(d){return function(e){if(b.stop(),e instanceof f&&1==e.node.childNodes.length&&("radialGradient"==e.node.firstChild.tagName||"linearGradient"==e.node.firstChild.tagName||"pattern"==e.node.firstChild.tagName)&&(e=e.node.firstChild,n(this).appendChild(e),e=l(e)),e instanceof c)if("radialGradient"==e.type||"linearGradient"==e.type||"pattern"==e.type){e.node.id||p(e.node,{id:e.id});var g=q(e.node.id)}else g=e.attr(d);else if(g=a.color(e),g.error){var h=a(n(this).ownerSVGElement).gradient(e);h?(h.node.id||p(h.node,{id:h.id}),g=q(h.node.id)):g=e}else g=r(g);var i={};i[d]=g,p(this.node,i),this.node.style[d]=t}}function h(a){b.stop(),a==+a&&(a+="px"),this.node.style.fontSize=a}function i(a){for(var b=[],c=a.childNodes,d=0,e=c.length;e>d;d++){var f=c[d];3==f.nodeType&&b.push(f.nodeValue),"tspan"==f.tagName&&(1==f.childNodes.length&&3==f.firstChild.nodeType?b.push(f.firstChild.nodeValue):b.push(i(f)))}return b}function j(){return b.stop(),this.node.style.fontSize}var k=a._.make,l=a._.wrap,m=a.is,n=a._.getSomeDefs,o=/^url\((['"]?)([^)]+)\1\)$/,p=a._.$,q=a.url,r=String,s=a._.separator,t="";a.deurl=function(a){var b=String(a).match(o);return b?b[2]:a},b.on("snap.util.attr.mask",function(a){if(a instanceof c||a instanceof f){if(b.stop(),a instanceof f&&1==a.node.childNodes.length&&(a=a.node.firstChild,n(this).appendChild(a),a=l(a)),"mask"==a.type)var d=a;else d=k("mask",n(this)),d.node.appendChild(a.node);!d.node.id&&p(d.node,{id:d.id}),p(this.node,{mask:q(d.id)})}}),function(a){b.on("snap.util.attr.clip",a),b.on("snap.util.attr.clip-path",a),b.on("snap.util.attr.clipPath",a)}(function(a){if(a instanceof c||a instanceof f){b.stop();for(var d,e=a.node;e;){if("clipPath"===e.nodeName){d=new c(e);break}if("svg"===e.nodeName){d=void 0;break}e=e.parentNode}d||(d=k("clipPath",n(this)),d.node.appendChild(a.node),!d.node.id&&p(d.node,{id:d.id})),p(this.node,{"clip-path":q(d.node.id||d.id)})}}),b.on("snap.util.attr.fill",g("fill")),b.on("snap.util.attr.stroke",g("stroke"));var u=/^([lr])(?:\(([^)]*)\))?(.*)$/i;b.on("snap.util.grad.parse",function(a){function b(a,b){for(var c=(b-h)/(a-i),d=i;a>d;d++)f[d].offset=+(+h+c*(d-i)).toFixed(2);i=a,h=b}a=r(a);var c=a.match(u);if(!c)return null;var d=c[1],e=c[2],f=c[3];e=e.split(/\s*,\s*/).map(function(a){return+a==a?+a:a}),1==e.length&&0==e[0]&&(e=[]),f=f.split("-"),f=f.map(function(a){a=a.split(":");var b={color:a[0]};return a[1]&&(b.offset=parseFloat(a[1])),b});var g=f.length,h=0,i=0;g--;for(var j=0;g>j;j++)"offset"in f[j]&&b(j,f[j].offset);return f[g].offset=f[g].offset||100,b(g,f[g].offset),{type:d,params:e,stops:f}}),b.on("snap.util.attr.d",function(c){b.stop(),m(c,"array")&&m(c[0],"array")&&(c=a.path.toString.call(c)),c=r(c),c.match(/[ruo]/i)&&(c=a.path.toAbsolute(c)),p(this.node,{d:c})})(-1),b.on("snap.util.attr.#text",function(a){b.stop(),a=r(a);for(var c=e.doc.createTextNode(a);this.node.firstChild;)this.node.removeChild(this.node.firstChild);this.node.appendChild(c)})(-1),b.on("snap.util.attr.path",function(a){b.stop(),this.attr({d:a})})(-1),b.on("snap.util.attr.class",function(a){b.stop(),this.node.className.baseVal=a})(-1),b.on("snap.util.attr.viewBox",function(a){var c;c=m(a,"object")&&"x"in a?[a.x,a.y,a.width,a.height].join(" "):m(a,"array")?a.join(" "):a,p(this.node,{viewBox:c}),b.stop()})(-1),b.on("snap.util.attr.transform",function(a){this.transform(a),b.stop()})(-1),b.on("snap.util.attr.r",function(a){"rect"==this.type&&(b.stop(),p(this.node,{rx:a,ry:a}))})(-1),b.on("snap.util.attr.textpath",function(a){if(b.stop(),"text"==this.type){var d,e,f;if(!a&&this.textPath){for(e=this.textPath;e.node.firstChild;)this.node.appendChild(e.node.firstChild);return e.remove(),void delete this.textPath}if(m(a,"string")){var g=n(this),h=l(g.parentNode).path(a);g.appendChild(h.node),d=h.id,h.attr({id:d})}else a=l(a),a instanceof c&&(d=a.attr("id"),d||(d=a.id,a.attr({id:d})));if(d)if(e=this.textPath,f=this.node,e)e.attr({"xlink:href":"#"+d});else{for(e=p("textPath",{"xlink:href":"#"+d});f.firstChild;)e.appendChild(f.firstChild);f.appendChild(e),this.textPath=l(e)}}})(-1),b.on("snap.util.attr.text",function(a){if("text"==this.type){for(var c=this.node,d=function(a){var b=p("tspan");if(m(a,"array"))for(var c=0;c<a.length;c++)b.appendChild(d(a[c]));else b.appendChild(e.doc.createTextNode(a));return b.normalize&&b.normalize(),b};c.firstChild;)c.removeChild(c.firstChild);for(var f=d(a);f.firstChild;)c.appendChild(f.firstChild)}b.stop()})(-1),b.on("snap.util.attr.fontSize",h)(-1),b.on("snap.util.attr.font-size",h)(-1),b.on("snap.util.getattr.transform",function(){return b.stop(),this.transform()})(-1),b.on("snap.util.getattr.textpath",function(){return b.stop(),this.textPath})(-1),function(){function c(c){return function(){b.stop();var d=e.doc.defaultView.getComputedStyle(this.node,null).getPropertyValue("marker-"+c);return"none"==d?d:a(e.doc.getElementById(d.match(o)[1]))}}function d(a){return function(c){b.stop();var d="marker"+a.charAt(0).toUpperCase()+a.substring(1);if(""==c||!c)return void(this.node.style[d]="none");if("marker"==c.type){var e=c.node.id;return e||p(c.node,{id:c.id}),void(this.node.style[d]=q(e))}}}b.on("snap.util.getattr.marker-end",c("end"))(-1),b.on("snap.util.getattr.markerEnd",c("end"))(-1),b.on("snap.util.getattr.marker-start",c("start"))(-1),b.on("snap.util.getattr.markerStart",c("start"))(-1),b.on("snap.util.getattr.marker-mid",c("mid"))(-1),b.on("snap.util.getattr.markerMid",c("mid"))(-1),b.on("snap.util.attr.marker-end",d("end"))(-1),b.on("snap.util.attr.markerEnd",d("end"))(-1),b.on("snap.util.attr.marker-start",d("start"))(-1),b.on("snap.util.attr.markerStart",d("start"))(-1),b.on("snap.util.attr.marker-mid",d("mid"))(-1),b.on("snap.util.attr.markerMid",d("mid"))(-1)}(),b.on("snap.util.getattr.r",function(){return"rect"==this.type&&p(this.node,"rx")==p(this.node,"ry")?(b.stop(),p(this.node,"rx")):void 0})(-1),b.on("snap.util.getattr.text",function(){if("text"==this.type||"tspan"==this.type){b.stop();var a=i(this.node);return 1==a.length?a[0]:a}})(-1),b.on("snap.util.getattr.#text",function(){return this.node.textContent})(-1),b.on("snap.util.getattr.fill",function(c){if(!c){b.stop();var d=b("snap.util.getattr.fill",this,!0).firstDefined();return a(a.deurl(d))||d}})(-1),b.on("snap.util.getattr.stroke",function(c){if(!c){b.stop();var d=b("snap.util.getattr.stroke",this,!0).firstDefined();return a(a.deurl(d))||d}})(-1),b.on("snap.util.getattr.viewBox",function(){b.stop();var c=p(this.node,"viewBox");return c?(c=c.split(s),a._.box(+c[0],+c[1],+c[2],+c[3])):void 0})(-1),b.on("snap.util.getattr.points",function(){var a=p(this.node,"points");return b.stop(),a?a.split(s):void 0})(-1),b.on("snap.util.getattr.path",function(){var a=p(this.node,"d");return b.stop(),a})(-1),b.on("snap.util.getattr.class",function(){return this.node.className.baseVal})(-1),b.on("snap.util.getattr.fontSize",j)(-1),b.on("snap.util.getattr.font-size",j)(-1)}),d.plugin(function(a,b,c,d,e){var f=/\S+/g,g=String,h=b.prototype;h.addClass=function(a){var b,c,d,e,h=g(a||"").match(f)||[],i=this.node,j=i.className.baseVal,k=j.match(f)||[];if(h.length){for(b=0;d=h[b++];)c=k.indexOf(d),~c||k.push(d);e=k.join(" "),j!=e&&(i.className.baseVal=e)}return this},h.removeClass=function(a){var b,c,d,e,h=g(a||"").match(f)||[],i=this.node,j=i.className.baseVal,k=j.match(f)||[];if(k.length){for(b=0;d=h[b++];)c=k.indexOf(d),~c&&k.splice(c,1);e=k.join(" "),j!=e&&(i.className.baseVal=e)}return this},h.hasClass=function(a){var b=this.node,c=b.className.baseVal,d=c.match(f)||[];return!!~d.indexOf(a)},h.toggleClass=function(a,b){if(null!=b)return b?this.addClass(a):this.removeClass(a);var c,d,e,g,h=(a||"").match(f)||[],i=this.node,j=i.className.baseVal,k=j.match(f)||[];for(c=0;e=h[c++];)d=k.indexOf(e),~d?k.splice(d,1):k.push(e);return g=k.join(" "),j!=g&&(i.className.baseVal=g),this}}),d.plugin(function(a,c,d,e,f){function g(a){return a}function h(a){return function(b){return+b.toFixed(3)+a}}var i={"+":function(a,b){return a+b},"-":function(a,b){return a-b},"/":function(a,b){return a/b},"*":function(a,b){return a*b}},j=String,k=/[a-z]+$/i,l=/^\s*([+\-\/*])\s*=\s*([\d.eE+\-]+)\s*([^\d\s]+)?\s*$/;b.on("snap.util.attr",function(a){var c=j(a).match(l);if(c){var d=b.nt(),e=d.substring(d.lastIndexOf(".")+1),f=this.attr(e),g={};b.stop();var h=c[3]||"",m=f.match(k),n=i[c[1]];if(m&&m==h?a=n(parseFloat(f),+c[2]):(f=this.asPX(e),a=n(this.asPX(e),this.asPX(e,c[2]+h))),isNaN(f)||isNaN(a))return;g[e]=a,this.attr(g)}})(-10),b.on("snap.util.equal",function(a,c){var d=j(this.attr(a)||""),e=j(c).match(l);if(e){b.stop();var f=e[3]||"",m=d.match(k),n=i[e[1]];return m&&m==f?{from:parseFloat(d),to:n(parseFloat(d),+e[2]),f:h(m)}:(d=this.asPX(a),{from:d,to:n(d,this.asPX(a,e[2]+f)),f:g})}})(-10)}),d.plugin(function(c,d,e,f,g){var h=e.prototype,i=c.is;h.rect=function(a,b,c,d,e,f){var g;return null==f&&(f=e),i(a,"object")&&"[object Object]"==a?g=a:null!=a&&(g={x:a,y:b,width:c,height:d},null!=e&&(g.rx=e,g.ry=f)),this.el("rect",g)},h.circle=function(a,b,c){var d;return i(a,"object")&&"[object Object]"==a?d=a:null!=a&&(d={cx:a,cy:b,r:c}),this.el("circle",d)};var j=function(){function a(){this.parentNode.removeChild(this)}return function(b,c){var d=f.doc.createElement("img"),e=f.doc.body;d.style.cssText="position:absolute;left:-9999em;top:-9999em",d.onload=function(){c.call(d),d.onload=d.onerror=null,e.removeChild(d)},d.onerror=a,e.appendChild(d),d.src=b}}();h.image=function(a,b,d,e,f){var g=this.el("image");if(i(a,"object")&&"src"in a)g.attr(a);else if(null!=a){var h={"xlink:href":a,preserveAspectRatio:"none"};null!=b&&null!=d&&(h.x=b,h.y=d),null!=e&&null!=f?(h.width=e,h.height=f):j(a,function(){c._.$(g.node,{width:this.offsetWidth,height:this.offsetHeight})}),c._.$(g.node,h)}return g},h.ellipse=function(a,b,c,d){var e;return i(a,"object")&&"[object Object]"==a?e=a:null!=a&&(e={cx:a,cy:b,rx:c,ry:d}),this.el("ellipse",e)},h.path=function(a){var b;return i(a,"object")&&!i(a,"array")?b=a:a&&(b={d:a}),this.el("path",b)},h.group=h.g=function(a){var b=this.el("g");return 1==arguments.length&&a&&!a.type?b.attr(a):arguments.length&&b.add(Array.prototype.slice.call(arguments,0)),b},h.svg=function(a,b,c,d,e,f,g,h){var j={};return i(a,"object")&&null==b?j=a:(null!=a&&(j.x=a),null!=b&&(j.y=b),null!=c&&(j.width=c),null!=d&&(j.height=d),null!=e&&null!=f&&null!=g&&null!=h&&(j.viewBox=[e,f,g,h])),this.el("svg",j)},h.mask=function(a){var b=this.el("mask");return 1==arguments.length&&a&&!a.type?b.attr(a):arguments.length&&b.add(Array.prototype.slice.call(arguments,0)),b},h.ptrn=function(a,b,c,d,e,f,g,h){if(i(a,"object"))var j=a;else j={patternUnits:"userSpaceOnUse"},a&&(j.x=a),b&&(j.y=b),null!=c&&(j.width=c),null!=d&&(j.height=d),null!=e&&null!=f&&null!=g&&null!=h?j.viewBox=[e,f,g,h]:j.viewBox=[a||0,b||0,c||0,d||0];return this.el("pattern",j)},h.use=function(a){return null!=a?(a instanceof d&&(a.attr("id")||a.attr({id:c._.id(a)}),a=a.attr("id")),"#"==String(a).charAt()&&(a=a.substring(1)),this.el("use",{"xlink:href":"#"+a})):d.prototype.use.call(this)},h.symbol=function(a,b,c,d){var e={};return null!=a&&null!=b&&null!=c&&null!=d&&(e.viewBox=[a,b,c,d]),this.el("symbol",e)},h.text=function(a,b,c){var d={};return i(a,"object")?d=a:null!=a&&(d={x:a,y:b,text:c||""}),this.el("text",d)},h.line=function(a,b,c,d){var e={};return i(a,"object")?e=a:null!=a&&(e={x1:a,x2:c,y1:b,y2:d}),this.el("line",e)},h.polyline=function(a){arguments.length>1&&(a=Array.prototype.slice.call(arguments,0));var b={};return i(a,"object")&&!i(a,"array")?b=a:null!=a&&(b={points:a}),this.el("polyline",b)},h.polygon=function(a){arguments.length>1&&(a=Array.prototype.slice.call(arguments,0));var b={};return i(a,"object")&&!i(a,"array")?b=a:null!=a&&(b={points:a}),this.el("polygon",b)},function(){function d(){return this.selectAll("stop")}function e(a,b){var d=l("stop"),e={offset:+b+"%"};a=c.color(a),e["stop-color"]=a.hex,a.opacity<1&&(e["stop-opacity"]=a.opacity),l(d,e);for(var f,g=this.stops(),h=0;h<g.length;h++){var i=parseFloat(g[h].attr("offset"));if(i>b){this.node.insertBefore(d,g[h].node),f=!0;break}}return f||this.node.appendChild(d),this}function f(){if("linearGradient"==this.type){var a=l(this.node,"x1")||0,b=l(this.node,"x2")||1,d=l(this.node,"y1")||0,e=l(this.node,"y2")||0;return c._.box(a,d,math.abs(b-a),math.abs(e-d))}var f=this.node.cx||.5,g=this.node.cy||.5,h=this.node.r||0;return c._.box(f-h,g-h,2*h,2*h)}function g(a){var d=a,e=this.stops();if("string"==typeof a&&(d=b("snap.util.grad.parse",null,"l(0,0,0,1)"+a).firstDefined().stops),c.is(d,"array")){for(var f=0;f<e.length;f++)if(d[f]){var g=c.color(d[f].color),h={offset:d[f].offset+"%"};h["stop-color"]=g.hex,g.opacity<1&&(h["stop-opacity"]=g.opacity),e[f].attr(h)}else e[f].remove();for(f=e.length;f<d.length;f++)this.addStop(d[f].color,d[f].offset);return this}}function i(a,c){var d,e=b("snap.util.grad.parse",null,c).firstDefined();if(!e)return null;e.params.unshift(a),d="l"==e.type.toLowerCase()?j.apply(0,e.params):k.apply(0,e.params),e.type!=e.type.toLowerCase()&&l(d.node,{gradientUnits:"userSpaceOnUse"});for(var f=e.stops,g=f.length,h=0;g>h;h++){var i=f[h];d.addStop(i.color,i.offset)}return d}function j(a,b,h,i,j){var k=c._.make("linearGradient",a);return k.stops=d,k.addStop=e,k.getBBox=f,k.setStops=g,null!=b&&l(k.node,{x1:b,y1:h,x2:i,y2:j}),k}function k(a,b,g,h,i,j){var k=c._.make("radialGradient",a);return k.stops=d,k.addStop=e,k.getBBox=f,null!=b&&l(k.node,{cx:b,cy:g,r:h}),null!=i&&null!=j&&l(k.node,{fx:i,fy:j}),k}var l=c._.$;h.gradient=function(a){return i(this.defs,a)},h.gradientLinear=function(a,b,c,d){return j(this.defs,a,b,c,d)},h.gradientRadial=function(a,b,c,d,e){return k(this.defs,a,b,c,d,e)},h.toString=function(){var a,b=this.node.ownerDocument,d=b.createDocumentFragment(),e=b.createElement("div"),f=this.node.cloneNode(!0);return d.appendChild(e),e.appendChild(f),c._.$(f,{xmlns:"http://www.w3.org/2000/svg"}),a=e.innerHTML,d.removeChild(d.firstChild),a},h.toDataURL=function(){return a&&a.btoa?"data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(this))):void 0},h.clear=function(){for(var a,b=this.node.firstChild;b;)a=b.nextSibling,"defs"!=b.tagName?b.parentNode.removeChild(b):h.clear.call({node:b}),b=a}}()}),d.plugin(function(a,b,c,d){function e(a){var b=e.ps=e.ps||{};return b[a]?b[a].sleep=100:b[a]={sleep:100},setTimeout(function(){for(var c in b)b[M](c)&&c!=a&&(b[c].sleep--,!b[c].sleep&&delete b[c])}),b[a]}function f(a,b,c,d){return null==a&&(a=b=c=d=0),null==b&&(b=a.y,c=a.width,d=a.height,a=a.x),{x:a,y:b,width:c,w:c,height:d,h:d,x2:a+c,y2:b+d,cx:a+c/2,cy:b+d/2,r1:P.min(c,d)/2,r2:P.max(c,d)/2,r0:P.sqrt(c*c+d*d)/2,path:y(a,b,c,d),vb:[a,b,c,d].join(" ")}}function g(){return this.join(",").replace(N,"$1")}function h(a){var b=L(a);return b.toString=g,b}function i(a,b,c,d,e,f,g,h,i){return null==i?p(a,b,c,d,e,f,g,h):k(a,b,c,d,e,f,g,h,q(a,b,c,d,e,f,g,h,i))}function j(c,d){function e(a){return+(+a).toFixed(3)}return a._.cacher(function(a,f,g){a instanceof b&&(a=a.attr("d")),a=G(a);for(var h,j,l,m,n,o="",p={},q=0,r=0,s=a.length;s>r;r++){if(l=a[r],"M"==l[0])h=+l[1],j=+l[2];else{if(m=i(h,j,l[1],l[2],l[3],l[4],l[5],l[6]),q+m>f){if(d&&!p.start){if(n=i(h,j,l[1],l[2],l[3],l[4],l[5],l[6],f-q),o+=["C"+e(n.start.x),e(n.start.y),e(n.m.x),e(n.m.y),e(n.x),e(n.y)],g)return o;p.start=o,o=["M"+e(n.x),e(n.y)+"C"+e(n.n.x),e(n.n.y),e(n.end.x),e(n.end.y),e(l[5]),e(l[6])].join(),q+=m,h=+l[5],j=+l[6];continue}if(!c&&!d)return n=i(h,j,l[1],l[2],l[3],l[4],l[5],l[6],f-q)}q+=m,h=+l[5],j=+l[6]}o+=l.shift()+l}return p.end=o,n=c?q:d?p:k(h,j,l[0],l[1],l[2],l[3],l[4],l[5],1)},null,a._.clone)}function k(a,b,c,d,e,f,g,h,i){var j=1-i,k=T(j,3),l=T(j,2),m=i*i,n=m*i,o=k*a+3*l*i*c+3*j*i*i*e+n*g,p=k*b+3*l*i*d+3*j*i*i*f+n*h,q=a+2*i*(c-a)+m*(e-2*c+a),r=b+2*i*(d-b)+m*(f-2*d+b),s=c+2*i*(e-c)+m*(g-2*e+c),t=d+2*i*(f-d)+m*(h-2*f+d),u=j*a+i*c,v=j*b+i*d,w=j*e+i*g,x=j*f+i*h,y=90-180*P.atan2(q-s,r-t)/Q;return{x:o,y:p,m:{x:q,y:r},n:{x:s,y:t},start:{x:u,y:v},end:{x:w,y:x},alpha:y}}function l(b,c,d,e,g,h,i,j){a.is(b,"array")||(b=[b,c,d,e,g,h,i,j]);var k=F.apply(null,b);return f(k.min.x,k.min.y,k.max.x-k.min.x,k.max.y-k.min.y)}function m(a,b,c){return b>=a.x&&b<=a.x+a.width&&c>=a.y&&c<=a.y+a.height}function n(a,b){return a=f(a),b=f(b),m(b,a.x,a.y)||m(b,a.x2,a.y)||m(b,a.x,a.y2)||m(b,a.x2,a.y2)||m(a,b.x,b.y)||m(a,b.x2,b.y)||m(a,b.x,b.y2)||m(a,b.x2,b.y2)||(a.x<b.x2&&a.x>b.x||b.x<a.x2&&b.x>a.x)&&(a.y<b.y2&&a.y>b.y||b.y<a.y2&&b.y>a.y)}function o(a,b,c,d,e){var f=-3*b+9*c-9*d+3*e,g=a*f+6*b-12*c+6*d;return a*g-3*b+3*c}function p(a,b,c,d,e,f,g,h,i){null==i&&(i=1),i=i>1?1:0>i?0:i;for(var j=i/2,k=12,l=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],m=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],n=0,p=0;k>p;p++){var q=j*l[p]+j,r=o(q,a,c,e,g),s=o(q,b,d,f,h),t=r*r+s*s;n+=m[p]*P.sqrt(t)}return j*n}function q(a,b,c,d,e,f,g,h,i){if(!(0>i||p(a,b,c,d,e,f,g,h)<i)){var j,k=1,l=k/2,m=k-l,n=.01;for(j=p(a,b,c,d,e,f,g,h,m);U(j-i)>n;)l/=2,m+=(i>j?1:-1)*l,j=p(a,b,c,d,e,f,g,h,m);return m}}function r(a,b,c,d,e,f,g,h){if(!(S(a,c)<R(e,g)||R(a,c)>S(e,g)||S(b,d)<R(f,h)||R(b,d)>S(f,h))){var i=(a*d-b*c)*(e-g)-(a-c)*(e*h-f*g),j=(a*d-b*c)*(f-h)-(b-d)*(e*h-f*g),k=(a-c)*(f-h)-(b-d)*(e-g);if(k){var l=i/k,m=j/k,n=+l.toFixed(2),o=+m.toFixed(2);if(!(n<+R(a,c).toFixed(2)||n>+S(a,c).toFixed(2)||n<+R(e,g).toFixed(2)||n>+S(e,g).toFixed(2)||o<+R(b,d).toFixed(2)||o>+S(b,d).toFixed(2)||o<+R(f,h).toFixed(2)||o>+S(f,h).toFixed(2)))return{x:l,y:m}}}}function s(a,b,c){var d=l(a),e=l(b);if(!n(d,e))return c?0:[];for(var f=p.apply(0,a),g=p.apply(0,b),h=~~(f/8),i=~~(g/8),j=[],m=[],o={},q=c?0:[],s=0;h+1>s;s++){var t=k.apply(0,a.concat(s/h));j.push({x:t.x,y:t.y,t:s/h})}for(s=0;i+1>s;s++)t=k.apply(0,b.concat(s/i)),m.push({x:t.x,y:t.y,t:s/i});for(s=0;h>s;s++)for(var u=0;i>u;u++){var v=j[s],w=j[s+1],x=m[u],y=m[u+1],z=U(w.x-v.x)<.001?"y":"x",A=U(y.x-x.x)<.001?"y":"x",B=r(v.x,v.y,w.x,w.y,x.x,x.y,y.x,y.y);if(B){if(o[B.x.toFixed(4)]==B.y.toFixed(4))continue;o[B.x.toFixed(4)]=B.y.toFixed(4);var C=v.t+U((B[z]-v[z])/(w[z]-v[z]))*(w.t-v.t),D=x.t+U((B[A]-x[A])/(y[A]-x[A]))*(y.t-x.t);C>=0&&1>=C&&D>=0&&1>=D&&(c?q++:q.push({x:B.x,y:B.y,t1:C,t2:D}))}}return q}function t(a,b){return v(a,b)}function u(a,b){return v(a,b,1)}function v(a,b,c){a=G(a),b=G(b);for(var d,e,f,g,h,i,j,k,l,m,n=c?0:[],o=0,p=a.length;p>o;o++){var q=a[o];if("M"==q[0])d=h=q[1],e=i=q[2];else{"C"==q[0]?(l=[d,e].concat(q.slice(1)),d=l[6],e=l[7]):(l=[d,e,d,e,h,i,h,i],d=h,e=i);for(var r=0,t=b.length;t>r;r++){var u=b[r];if("M"==u[0])f=j=u[1],g=k=u[2];else{"C"==u[0]?(m=[f,g].concat(u.slice(1)),f=m[6],g=m[7]):(m=[f,g,f,g,j,k,j,k],f=j,g=k);var v=s(l,m,c);if(c)n+=v;else{for(var w=0,x=v.length;x>w;w++)v[w].segment1=o,v[w].segment2=r,v[w].bez1=l,v[w].bez2=m;n=n.concat(v)}}}}}return n}function w(a,b,c){var d=x(a);return m(d,b,c)&&v(a,[["M",b,c],["H",d.x2+10]],1)%2==1}function x(a){var b=e(a);if(b.bbox)return L(b.bbox);if(!a)return f();a=G(a);for(var c,d=0,g=0,h=[],i=[],j=0,k=a.length;k>j;j++)if(c=a[j],"M"==c[0])d=c[1],g=c[2],h.push(d),i.push(g);else{var l=F(d,g,c[1],c[2],c[3],c[4],c[5],c[6]);h=h.concat(l.min.x,l.max.x),i=i.concat(l.min.y,l.max.y),d=c[5],g=c[6]}var m=R.apply(0,h),n=R.apply(0,i),o=S.apply(0,h),p=S.apply(0,i),q=f(m,n,o-m,p-n);return b.bbox=L(q),q}function y(a,b,c,d,e){if(e)return[["M",+a+ +e,b],["l",c-2*e,0],["a",e,e,0,0,1,e,e],["l",0,d-2*e],["a",e,e,0,0,1,-e,e],["l",2*e-c,0],["a",e,e,0,0,1,-e,-e],["l",0,2*e-d],["a",e,e,0,0,1,e,-e],["z"]];var f=[["M",a,b],["l",c,0],["l",0,d],["l",-c,0],["z"]];return f.toString=g,f}function z(a,b,c,d,e){if(null==e&&null==d&&(d=c),a=+a,b=+b,c=+c,d=+d,null!=e)var f=Math.PI/180,h=a+c*Math.cos(-d*f),i=a+c*Math.cos(-e*f),j=b+c*Math.sin(-d*f),k=b+c*Math.sin(-e*f),l=[["M",h,j],["A",c,c,0,+(e-d>180),0,i,k]];else l=[["M",a,b],["m",0,-d],["a",c,d,0,1,1,0,2*d],["a",c,d,0,1,1,0,-2*d],["z"]];return l.toString=g,l}function A(b){var c=e(b),d=String.prototype.toLowerCase;if(c.rel)return h(c.rel);a.is(b,"array")&&a.is(b&&b[0],"array")||(b=a.parsePathString(b));var f=[],i=0,j=0,k=0,l=0,m=0;"M"==b[0][0]&&(i=b[0][1],j=b[0][2],k=i,l=j,m++,f.push(["M",i,j]));for(var n=m,o=b.length;o>n;n++){var p=f[n]=[],q=b[n];if(q[0]!=d.call(q[0]))switch(p[0]=d.call(q[0]),p[0]){case"a":p[1]=q[1],p[2]=q[2],p[3]=q[3],p[4]=q[4],p[5]=q[5],p[6]=+(q[6]-i).toFixed(3),p[7]=+(q[7]-j).toFixed(3);break;case"v":p[1]=+(q[1]-j).toFixed(3);break;case"m":k=q[1],l=q[2];default:for(var r=1,s=q.length;s>r;r++)p[r]=+(q[r]-(r%2?i:j)).toFixed(3)}else{p=f[n]=[],"m"==q[0]&&(k=q[1]+i,l=q[2]+j);for(var t=0,u=q.length;u>t;t++)f[n][t]=q[t]}var v=f[n].length;switch(f[n][0]){case"z":i=k,j=l;break;case"h":i+=+f[n][v-1];break;case"v":j+=+f[n][v-1];break;default:i+=+f[n][v-2],j+=+f[n][v-1]}}return f.toString=g,c.rel=h(f),f}function B(b){var c=e(b);if(c.abs)return h(c.abs);if(K(b,"array")&&K(b&&b[0],"array")||(b=a.parsePathString(b)),!b||!b.length)return[["M",0,0]];var d,f=[],i=0,j=0,k=0,l=0,m=0;"M"==b[0][0]&&(i=+b[0][1],j=+b[0][2],k=i,l=j,m++,f[0]=["M",i,j]);for(var n,o,p=3==b.length&&"M"==b[0][0]&&"R"==b[1][0].toUpperCase()&&"Z"==b[2][0].toUpperCase(),q=m,r=b.length;r>q;q++){if(f.push(n=[]),o=b[q],d=o[0],d!=d.toUpperCase())switch(n[0]=d.toUpperCase(),n[0]){case"A":n[1]=o[1],n[2]=o[2],n[3]=o[3],n[4]=o[4],n[5]=o[5],n[6]=+o[6]+i,n[7]=+o[7]+j;break;case"V":n[1]=+o[1]+j;break;case"H":n[1]=+o[1]+i;break;case"R":for(var s=[i,j].concat(o.slice(1)),t=2,u=s.length;u>t;t++)s[t]=+s[t]+i,s[++t]=+s[t]+j;f.pop(),f=f.concat(I(s,p));break;case"O":f.pop(),s=z(i,j,o[1],o[2]),s.push(s[0]),f=f.concat(s);break;case"U":f.pop(),f=f.concat(z(i,j,o[1],o[2],o[3])),n=["U"].concat(f[f.length-1].slice(-2));break;case"M":k=+o[1]+i,l=+o[2]+j;default:for(t=1,u=o.length;u>t;t++)n[t]=+o[t]+(t%2?i:j)}else if("R"==d)s=[i,j].concat(o.slice(1)),f.pop(),f=f.concat(I(s,p)),n=["R"].concat(o.slice(-2));else if("O"==d)f.pop(),s=z(i,j,o[1],o[2]),s.push(s[0]),f=f.concat(s);else if("U"==d)f.pop(),f=f.concat(z(i,j,o[1],o[2],o[3])),n=["U"].concat(f[f.length-1].slice(-2));else for(var v=0,w=o.length;w>v;v++)n[v]=o[v];if(d=d.toUpperCase(),"O"!=d)switch(n[0]){case"Z":i=+k,j=+l;break;case"H":i=n[1];break;case"V":j=n[1];break;case"M":k=n[n.length-2],l=n[n.length-1];default:i=n[n.length-2],j=n[n.length-1]}}return f.toString=g,c.abs=h(f),f}function C(a,b,c,d){return[a,b,c,d,c,d]}function D(a,b,c,d,e,f){var g=1/3,h=2/3;return[g*a+h*c,g*b+h*d,g*e+h*c,g*f+h*d,e,f]}function E(b,c,d,e,f,g,h,i,j,k){var l,m=120*Q/180,n=Q/180*(+f||0),o=[],p=a._.cacher(function(a,b,c){var d=a*P.cos(c)-b*P.sin(c),e=a*P.sin(c)+b*P.cos(c);return{x:d,y:e}});if(!d||!e)return[b,c,i,j,i,j];if(k)y=k[0],z=k[1],w=k[2],x=k[3];else{l=p(b,c,-n),b=l.x,c=l.y,l=p(i,j,-n),i=l.x,j=l.y;var q=(P.cos(Q/180*f),P.sin(Q/180*f),(b-i)/2),r=(c-j)/2,s=q*q/(d*d)+r*r/(e*e);s>1&&(s=P.sqrt(s),d=s*d,e=s*e);var t=d*d,u=e*e,v=(g==h?-1:1)*P.sqrt(U((t*u-t*r*r-u*q*q)/(t*r*r+u*q*q))),w=v*d*r/e+(b+i)/2,x=v*-e*q/d+(c+j)/2,y=P.asin(((c-x)/e).toFixed(9)),z=P.asin(((j-x)/e).toFixed(9));y=w>b?Q-y:y,z=w>i?Q-z:z,0>y&&(y=2*Q+y),0>z&&(z=2*Q+z),h&&y>z&&(y-=2*Q),!h&&z>y&&(z-=2*Q)}var A=z-y;if(U(A)>m){var B=z,C=i,D=j;z=y+m*(h&&z>y?1:-1),i=w+d*P.cos(z),j=x+e*P.sin(z),o=E(i,j,d,e,f,0,h,C,D,[z,B,w,x])}A=z-y;var F=P.cos(y),G=P.sin(y),H=P.cos(z),I=P.sin(z),J=P.tan(A/4),K=4/3*d*J,L=4/3*e*J,M=[b,c],N=[b+K*G,c-L*F],O=[i+K*I,j-L*H],R=[i,j];if(N[0]=2*M[0]-N[0],N[1]=2*M[1]-N[1],k)return[N,O,R].concat(o);o=[N,O,R].concat(o).join().split(",");for(var S=[],T=0,V=o.length;V>T;T++)S[T]=T%2?p(o[T-1],o[T],n).y:p(o[T],o[T+1],n).x;return S}function F(a,b,c,d,e,f,g,h){for(var i,j,k,l,m,n,o,p,q=[],r=[[],[]],s=0;2>s;++s)if(0==s?(j=6*a-12*c+6*e,i=-3*a+9*c-9*e+3*g,k=3*c-3*a):(j=6*b-12*d+6*f,i=-3*b+9*d-9*f+3*h,k=3*d-3*b),U(i)<1e-12){if(U(j)<1e-12)continue;l=-k/j,l>0&&1>l&&q.push(l)}else o=j*j-4*k*i,p=P.sqrt(o),0>o||(m=(-j+p)/(2*i),m>0&&1>m&&q.push(m),n=(-j-p)/(2*i),n>0&&1>n&&q.push(n));for(var t,u=q.length,v=u;u--;)l=q[u],t=1-l,r[0][u]=t*t*t*a+3*t*t*l*c+3*t*l*l*e+l*l*l*g,r[1][u]=t*t*t*b+3*t*t*l*d+3*t*l*l*f+l*l*l*h;return r[0][v]=a,r[1][v]=b,r[0][v+1]=g,r[1][v+1]=h,r[0].length=r[1].length=v+2,{min:{x:R.apply(0,r[0]),y:R.apply(0,r[1])},max:{x:S.apply(0,r[0]),y:S.apply(0,r[1])}}}function G(a,b){var c=!b&&e(a);if(!b&&c.curve)return h(c.curve);for(var d=B(a),f=b&&B(b),g={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},j=(function(a,b,c){var d,e;if(!a)return["C",b.x,b.y,b.x,b.y,b.x,b.y];switch(!(a[0]in{T:1,Q:1})&&(b.qx=b.qy=null),a[0]){case"M":b.X=a[1],b.Y=a[2];break;case"A":a=["C"].concat(E.apply(0,[b.x,b.y].concat(a.slice(1))));break;case"S":"C"==c||"S"==c?(d=2*b.x-b.bx,e=2*b.y-b.by):(d=b.x,e=b.y),a=["C",d,e].concat(a.slice(1));break;case"T":"Q"==c||"T"==c?(b.qx=2*b.x-b.qx,b.qy=2*b.y-b.qy):(b.qx=b.x,b.qy=b.y),a=["C"].concat(D(b.x,b.y,b.qx,b.qy,a[1],a[2]));break;case"Q":b.qx=a[1],b.qy=a[2],a=["C"].concat(D(b.x,b.y,a[1],a[2],a[3],a[4]));break;case"L":a=["C"].concat(C(b.x,b.y,a[1],a[2]));break;case"H":a=["C"].concat(C(b.x,b.y,a[1],b.y));break;case"V":a=["C"].concat(C(b.x,b.y,b.x,a[1]));break;case"Z":a=["C"].concat(C(b.x,b.y,b.X,b.Y))}return a}),k=function(a,b){if(a[b].length>7){a[b].shift();for(var c=a[b];c.length;)m[b]="A",f&&(n[b]="A"),a.splice(b++,0,["C"].concat(c.splice(0,6)));a.splice(b,1),r=S(d.length,f&&f.length||0)}},l=function(a,b,c,e,g){a&&b&&"M"==a[g][0]&&"M"!=b[g][0]&&(b.splice(g,0,["M",e.x,e.y]),c.bx=0,c.by=0,c.x=a[g][1],c.y=a[g][2],r=S(d.length,f&&f.length||0))},m=[],n=[],o="",p="",q=0,r=S(d.length,f&&f.length||0);r>q;q++){d[q]&&(o=d[q][0]),"C"!=o&&(m[q]=o,q&&(p=m[q-1])),d[q]=j(d[q],g,p),"A"!=m[q]&&"C"==o&&(m[q]="C"),k(d,q),f&&(f[q]&&(o=f[q][0]),"C"!=o&&(n[q]=o,q&&(p=n[q-1])),f[q]=j(f[q],i,p),"A"!=n[q]&&"C"==o&&(n[q]="C"),k(f,q)),l(d,f,g,i,q),l(f,d,i,g,q);var s=d[q],t=f&&f[q],u=s.length,v=f&&t.length;g.x=s[u-2],g.y=s[u-1],g.bx=O(s[u-4])||g.x,g.by=O(s[u-3])||g.y,i.bx=f&&(O(t[v-4])||i.x),i.by=f&&(O(t[v-3])||i.y),i.x=f&&t[v-2],i.y=f&&t[v-1]}return f||(c.curve=h(d)),f?[d,f]:d}function H(a,b){if(!b)return a;var c,d,e,f,g,h,i;for(a=G(a),e=0,g=a.length;g>e;e++)for(i=a[e],f=1,h=i.length;h>f;f+=2)c=b.x(i[f],i[f+1]),d=b.y(i[f],i[f+1]),i[f]=c,i[f+1]=d;return a}function I(a,b){for(var c=[],d=0,e=a.length;e-2*!b>d;d+=2){var f=[{x:+a[d-2],y:+a[d-1]},{x:+a[d],y:+a[d+1]},{x:+a[d+2],y:+a[d+3]},{x:+a[d+4],y:+a[d+5]}];b?d?e-4==d?f[3]={x:+a[0],y:+a[1]}:e-2==d&&(f[2]={x:+a[0],y:+a[1]},f[3]={x:+a[2],y:+a[3]}):f[0]={x:+a[e-2],y:+a[e-1]}:e-4==d?f[3]=f[2]:d||(f[0]={x:+a[d],y:+a[d+1]}),c.push(["C",(-f[0].x+6*f[1].x+f[2].x)/6,(-f[0].y+6*f[1].y+f[2].y)/6,(f[1].x+6*f[2].x-f[3].x)/6,(f[1].y+6*f[2].y-f[3].y)/6,f[2].x,f[2].y])}return c}var J=b.prototype,K=a.is,L=a._.clone,M="hasOwnProperty",N=/,?([a-z]),?/gi,O=parseFloat,P=Math,Q=P.PI,R=P.min,S=P.max,T=P.pow,U=P.abs,V=j(1),W=j(),X=j(0,1),Y=a._unit2px,Z={path:function(a){return a.attr("path")},circle:function(a){var b=Y(a);return z(b.cx,b.cy,b.r)},ellipse:function(a){var b=Y(a);
21+return z(b.cx||0,b.cy||0,b.rx,b.ry)},rect:function(a){var b=Y(a);return y(b.x||0,b.y||0,b.width,b.height,b.rx,b.ry)},image:function(a){var b=Y(a);return y(b.x||0,b.y||0,b.width,b.height)},line:function(a){return"M"+[a.attr("x1")||0,a.attr("y1")||0,a.attr("x2"),a.attr("y2")]},polyline:function(a){return"M"+a.attr("points")},polygon:function(a){return"M"+a.attr("points")+"z"},deflt:function(a){var b=a.node.getBBox();return y(b.x,b.y,b.width,b.height)}};a.path=e,a.path.getTotalLength=V,a.path.getPointAtLength=W,a.path.getSubpath=function(a,b,c){if(this.getTotalLength(a)-c<1e-6)return X(a,b).end;var d=X(a,c,1);return b?X(d,b).end:d},J.getTotalLength=function(){return this.node.getTotalLength?this.node.getTotalLength():void 0},J.getPointAtLength=function(a){return W(this.attr("d"),a)},J.getSubpath=function(b,c){return a.path.getSubpath(this.attr("d"),b,c)},a._.box=f,a.path.findDotsAtSegment=k,a.path.bezierBBox=l,a.path.isPointInsideBBox=m,a.closest=function(b,c,d,e){for(var g=100,h=f(b-g/2,c-g/2,g,g),i=[],j=d[0].hasOwnProperty("x")?function(a){return{x:d[a].x,y:d[a].y}}:function(a){return{x:d[a],y:e[a]}},k=0;1e6>=g&&!k;){for(var l=0,n=d.length;n>l;l++){var o=j(l);if(m(h,o.x,o.y)){k++,i.push(o);break}}k||(g*=2,h=f(b-g/2,c-g/2,g,g))}if(1e6!=g){var p,q=1/0;for(l=0,n=i.length;n>l;l++){var r=a.len(b,c,i[l].x,i[l].y);q>r&&(q=r,i[l].len=r,p=i[l])}return p}},a.path.isBBoxIntersect=n,a.path.intersection=t,a.path.intersectionNumber=u,a.path.isPointInside=w,a.path.getBBox=x,a.path.get=Z,a.path.toRelative=A,a.path.toAbsolute=B,a.path.toCubic=G,a.path.map=H,a.path.toString=g,a.path.clone=h}),d.plugin(function(a,d,e,f){var g=Math.max,h=Math.min,i=function(a){if(this.items=[],this.bindings={},this.length=0,this.type="set",a)for(var b=0,c=a.length;c>b;b++)a[b]&&(this[this.items.length]=this.items[this.items.length]=a[b],this.length++)},j=i.prototype;j.push=function(){for(var a,b,c=0,d=arguments.length;d>c;c++)a=arguments[c],a&&(b=this.items.length,this[b]=this.items[b]=a,this.length++);return this},j.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},j.forEach=function(a,b){for(var c=0,d=this.items.length;d>c;c++)if(a.call(b,this.items[c],c)===!1)return this;return this},j.animate=function(d,e,f,g){"function"!=typeof f||f.length||(g=f,f=c.linear),d instanceof a._.Animation&&(g=d.callback,f=d.easing,e=f.dur,d=d.attr);var h=arguments;if(a.is(d,"array")&&a.is(h[h.length-1],"array"))var i=!0;var j,k=function(){j?this.b=j:j=this.b},l=0,m=this,n=g&&function(){++l==m.length&&g.call(this)};return this.forEach(function(a,c){b.once("snap.animcreated."+a.id,k),i?h[c]&&a.animate.apply(a,h[c]):a.animate(d,e,f,n)})},j.remove=function(){for(;this.length;)this.pop().remove();return this},j.bind=function(a,b,c){var d={};if("function"==typeof b)this.bindings[a]=b;else{var e=c||a;this.bindings[a]=function(a){d[e]=a,b.attr(d)}}return this},j.attr=function(a){var b={};for(var c in a)this.bindings[c]?this.bindings[c](a[c]):b[c]=a[c];for(var d=0,e=this.items.length;e>d;d++)this.items[d].attr(b);return this},j.clear=function(){for(;this.length;)this.pop()},j.splice=function(a,b,c){a=0>a?g(this.length+a,0):a,b=g(0,h(this.length-a,b));var d,e=[],f=[],j=[];for(d=2;d<arguments.length;d++)j.push(arguments[d]);for(d=0;b>d;d++)f.push(this[a+d]);for(;d<this.length-a;d++)e.push(this[a+d]);var k=j.length;for(d=0;d<k+e.length;d++)this.items[a+d]=this[a+d]=k>d?j[d]:e[d-k];for(d=this.items.length=this.length-=b-k;this[d];)delete this[d++];return new i(f)},j.exclude=function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]==a)return this.splice(b,1),!0;return!1},j.insertAfter=function(a){for(var b=this.items.length;b--;)this.items[b].insertAfter(a);return this},j.getBBox=function(){for(var a=[],b=[],c=[],d=[],e=this.items.length;e--;)if(!this.items[e].removed){var f=this.items[e].getBBox();a.push(f.x),b.push(f.y),c.push(f.x+f.width),d.push(f.y+f.height)}return a=h.apply(0,a),b=h.apply(0,b),c=g.apply(0,c),d=g.apply(0,d),{x:a,y:b,x2:c,y2:d,width:c-a,height:d-b,cx:a+(c-a)/2,cy:b+(d-b)/2}},j.clone=function(a){a=new i;for(var b=0,c=this.items.length;c>b;b++)a.push(this.items[b].clone());return a},j.toString=function(){return"Snap‘s set"},j.type="set",a.Set=i,a.set=function(){var a=new i;return arguments.length&&a.push.apply(a,Array.prototype.slice.call(arguments,0)),a}}),d.plugin(function(a,c,d,e){function f(a){var b=a[0];switch(b.toLowerCase()){case"t":return[b,0,0];case"m":return[b,1,0,0,1,0,0];case"r":return 4==a.length?[b,0,a[2],a[3]]:[b,0];case"s":return 5==a.length?[b,1,1,a[3],a[4]]:3==a.length?[b,1,1]:[b,1]}}function g(b,c,d){b=b||new a.Matrix,c=c||new a.Matrix,b=a.parseTransformString(b.toTransformString())||[],c=a.parseTransformString(c.toTransformString())||[];for(var e,g,h,i,j=Math.max(b.length,c.length),k=[],n=[],o=0;j>o;o++){if(h=b[o]||f(c[o]),i=c[o]||f(h),h[0]!=i[0]||"r"==h[0].toLowerCase()&&(h[2]!=i[2]||h[3]!=i[3])||"s"==h[0].toLowerCase()&&(h[3]!=i[3]||h[4]!=i[4])){b=a._.transform2matrix(b,d()),c=a._.transform2matrix(c,d()),k=[["m",b.a,b.b,b.c,b.d,b.e,b.f]],n=[["m",c.a,c.b,c.c,c.d,c.e,c.f]];break}for(k[o]=[],n[o]=[],e=0,g=Math.max(h.length,i.length);g>e;e++)e in h&&(k[o][e]=h[e]),e in i&&(n[o][e]=i[e])}return{from:m(k),to:m(n),f:l(k)}}function h(a){return a}function i(a){return function(b){return+b.toFixed(3)+a}}function j(a){return a.join(" ")}function k(b){return a.rgb(b[0],b[1],b[2],b[3])}function l(a){var b,c,d,e,f,g,h=0,i=[];for(b=0,c=a.length;c>b;b++){for(f="[",g=['"'+a[b][0]+'"'],d=1,e=a[b].length;e>d;d++)g[d]="val["+h++ +"]";f+=g+"]",i[b]=f}return Function("val","return Snap.path.toString.call(["+i+"])")}function m(a){for(var b=[],c=0,d=a.length;d>c;c++)for(var e=1,f=a[c].length;f>e;e++)b.push(a[c][e]);return b}function n(a){return isFinite(a)}function o(b,c){return a.is(b,"array")&&a.is(c,"array")?b.toString()==c.toString():!1}var p={},q=/[%a-z]+$/i,r=String;p.stroke=p.fill="colour",c.prototype.equal=function(a,c){return b("snap.util.equal",this,a,c).firstDefined()},b.on("snap.util.equal",function(b,c){var d,e,f=r(this.attr(b)||""),s=this;if("colour"==p[b])return d=a.color(f),e=a.color(c),{from:[d.r,d.g,d.b,d.opacity],to:[e.r,e.g,e.b,e.opacity],f:k};if("viewBox"==b)return d=this.attr(b).vb.split(" ").map(Number),e=c.split(" ").map(Number),{from:d,to:e,f:j};if("transform"==b||"gradientTransform"==b||"patternTransform"==b)return"string"==typeof c&&(c=r(c).replace(/\.{3}|\u2026/g,f)),f=this.matrix,c=a._.rgTransform.test(c)?a._.transform2matrix(c,this.getBBox()):a._.transform2matrix(a._.svgTransform2string(c),this.getBBox()),g(f,c,function(){return s.getBBox(1)});if("d"==b||"path"==b)return d=a.path.toCubic(f,c),{from:m(d[0]),to:m(d[1]),f:l(d[0])};if("points"==b)return d=r(f).split(a._.separator),e=r(c).split(a._.separator),{from:d,to:e,f:function(a){return a}};if(n(f)&&n(c))return{from:parseFloat(f),to:parseFloat(c),f:h};var t=f.match(q),u=r(c).match(q);return t&&o(t,u)?{from:parseFloat(f),to:parseFloat(c),f:i(t)}:{from:this.asPX(b),to:this.asPX(b,c),f:h}})}),d.plugin(function(a,c,d,e){for(var f=c.prototype,g="hasOwnProperty",h=("createTouch"in e.doc),i=["click","dblclick","mousedown","mousemove","mouseout","mouseover","mouseup","touchstart","touchmove","touchend","touchcancel"],j={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},k=(function(a,b){var c="y"==a?"scrollTop":"scrollLeft",d=b&&b.node?b.node.ownerDocument:e.doc;return d[c in d.documentElement?"documentElement":"body"][c]}),l=function(){return this.originalEvent.preventDefault()},m=function(){return this.originalEvent.stopPropagation()},n=function(a,b,c,d){var e=h&&j[b]?j[b]:b,f=function(e){var f=k("y",d),i=k("x",d);if(h&&j[g](b))for(var n=0,o=e.targetTouches&&e.targetTouches.length;o>n;n++)if(e.targetTouches[n].target==a||a.contains(e.targetTouches[n].target)){var p=e;e=e.targetTouches[n],e.originalEvent=p,e.preventDefault=l,e.stopPropagation=m;break}var q=e.clientX+i,r=e.clientY+f;return c.call(d,e,q,r)};return b!==e&&a.addEventListener(b,f,!1),a.addEventListener(e,f,!1),function(){return b!==e&&a.removeEventListener(b,f,!1),a.removeEventListener(e,f,!1),!0}},o=[],p=function(a){for(var c,d=a.clientX,e=a.clientY,f=k("y"),g=k("x"),i=o.length;i--;){if(c=o[i],h){for(var j,l=a.touches&&a.touches.length;l--;)if(j=a.touches[l],j.identifier==c.el._drag.id||c.el.node.contains(j.target)){d=j.clientX,e=j.clientY,(a.originalEvent?a.originalEvent:a).preventDefault();break}}else a.preventDefault();var m=c.el.node;m.nextSibling,m.parentNode,m.style.display;d+=g,e+=f,b("snap.drag.move."+c.el.id,c.move_scope||c.el,d-c.el._drag.x,e-c.el._drag.y,d,e,a)}},q=function(c){a.unmousemove(p).unmouseup(q);for(var d,e=o.length;e--;)d=o[e],d.el._drag={},b("snap.drag.end."+d.el.id,d.end_scope||d.start_scope||d.move_scope||d.el,c),b.off("snap.drag.*."+d.el.id);o=[]},r=i.length;r--;)!function(b){a[b]=f[b]=function(c,d){if(a.is(c,"function"))this.events=this.events||[],this.events.push({name:b,f:c,unbind:n(this.node||document,b,c,d||this)});else for(var e=0,f=this.events.length;f>e;e++)if(this.events[e].name==b)try{this.events[e].f.call(this)}catch(g){}return this},a["un"+b]=f["un"+b]=function(a){for(var c=this.events||[],d=c.length;d--;)if(c[d].name==b&&(c[d].f==a||!a))return c[d].unbind(),c.splice(d,1),!c.length&&delete this.events,this;return this}}(i[r]);f.hover=function(a,b,c,d){return this.mouseover(a,c).mouseout(b,d||c)},f.unhover=function(a,b){return this.unmouseover(a).unmouseout(b)};var s=[];f.drag=function(c,d,e,f,g,h){function i(i,j,l){(i.originalEvent||i).preventDefault(),k._drag.x=j,k._drag.y=l,k._drag.id=i.identifier,!o.length&&a.mousemove(p).mouseup(q),o.push({el:k,move_scope:f,start_scope:g,end_scope:h}),d&&b.on("snap.drag.start."+k.id,d),c&&b.on("snap.drag.move."+k.id,c),e&&b.on("snap.drag.end."+k.id,e),b("snap.drag.start."+k.id,g||f||k,j,l,i)}function j(a,c,d){b("snap.draginit."+k.id,k,a,c,d)}var k=this;if(!arguments.length){var l;return k.drag(function(a,b){this.attr({transform:l+(l?"T":"t")+[a,b]})},function(){l=this.transform().local})}return b.on("snap.draginit."+k.id,i),k._drag={},s.push({el:k,start:i,init:j}),k.mousedown(j),k},f.undrag=function(){for(var c=s.length;c--;)s[c].el==this&&(this.unmousedown(s[c].init),s.splice(c,1),b.unbind("snap.drag.*."+this.id),b.unbind("snap.draginit."+this.id));return!s.length&&a.unmousemove(p).unmouseup(q),this}}),d.plugin(function(a,c,d,e){var f=(c.prototype,d.prototype),g=/^\s*url\((.+)\)/,h=String,i=a._.$;a.filter={},f.filter=function(b){var d=this;"svg"!=d.type&&(d=d.paper);var e=a.parse(h(b)),f=a._.id(),g=(d.node.offsetWidth,d.node.offsetHeight,i("filter"));return i(g,{id:f,filterUnits:"userSpaceOnUse"}),g.appendChild(e.node),d.defs.appendChild(g),new c(g)},b.on("snap.util.getattr.filter",function(){b.stop();var c=i(this.node,"filter");if(c){var d=h(c).match(g);return d&&a.select(d[1])}}),b.on("snap.util.attr.filter",function(d){if(d instanceof c&&"filter"==d.type){b.stop();var e=d.node.id;e||(i(d.node,{id:d.id}),e=d.id),i(this.node,{filter:a.url(e)})}d&&"none"!=d||(b.stop(),this.node.removeAttribute("filter"))}),a.filter.blur=function(b,c){null==b&&(b=2);var d=null==c?b:[b,c];return a.format('<feGaussianBlur stdDeviation="{def}"/>',{def:d})},a.filter.blur.toString=function(){return this()},a.filter.shadow=function(b,c,d,e,f){return null==f&&(null==e?(f=d,d=4,e="#000"):(f=e,e=d,d=4)),null==d&&(d=4),null==f&&(f=1),null==b&&(b=0,c=2),null==c&&(c=b),e=a.color(e),a.format('<feGaussianBlur in="SourceAlpha" stdDeviation="{blur}"/><feOffset dx="{dx}" dy="{dy}" result="offsetblur"/><feFlood flood-color="{color}"/><feComposite in2="offsetblur" operator="in"/><feComponentTransfer><feFuncA type="linear" slope="{opacity}"/></feComponentTransfer><feMerge><feMergeNode/><feMergeNode in="SourceGraphic"/></feMerge>',{color:e,dx:b,dy:c,blur:d,opacity:f})},a.filter.shadow.toString=function(){return this()},a.filter.grayscale=function(b){return null==b&&(b=1),a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {b} {h} 0 0 0 0 0 1 0"/>',{a:.2126+.7874*(1-b),b:.7152-.7152*(1-b),c:.0722-.0722*(1-b),d:.2126-.2126*(1-b),e:.7152+.2848*(1-b),f:.0722-.0722*(1-b),g:.2126-.2126*(1-b),h:.0722+.9278*(1-b)})},a.filter.grayscale.toString=function(){return this()},a.filter.sepia=function(b){return null==b&&(b=1),a.format('<feColorMatrix type="matrix" values="{a} {b} {c} 0 0 {d} {e} {f} 0 0 {g} {h} {i} 0 0 0 0 0 1 0"/>',{a:.393+.607*(1-b),b:.769-.769*(1-b),c:.189-.189*(1-b),d:.349-.349*(1-b),e:.686+.314*(1-b),f:.168-.168*(1-b),g:.272-.272*(1-b),h:.534-.534*(1-b),i:.131+.869*(1-b)})},a.filter.sepia.toString=function(){return this()},a.filter.saturate=function(b){return null==b&&(b=1),a.format('<feColorMatrix type="saturate" values="{amount}"/>',{amount:1-b})},a.filter.saturate.toString=function(){return this()},a.filter.hueRotate=function(b){return b=b||0,a.format('<feColorMatrix type="hueRotate" values="{angle}"/>',{angle:b})},a.filter.hueRotate.toString=function(){return this()},a.filter.invert=function(b){return null==b&&(b=1),a.format('<feComponentTransfer><feFuncR type="table" tableValues="{amount} {amount2}"/><feFuncG type="table" tableValues="{amount} {amount2}"/><feFuncB type="table" tableValues="{amount} {amount2}"/></feComponentTransfer>',{amount:b,amount2:1-b})},a.filter.invert.toString=function(){return this()},a.filter.brightness=function(b){return null==b&&(b=1),a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}"/><feFuncG type="linear" slope="{amount}"/><feFuncB type="linear" slope="{amount}"/></feComponentTransfer>',{amount:b})},a.filter.brightness.toString=function(){return this()},a.filter.contrast=function(b){return null==b&&(b=1),a.format('<feComponentTransfer><feFuncR type="linear" slope="{amount}" intercept="{amount2}"/><feFuncG type="linear" slope="{amount}" intercept="{amount2}"/><feFuncB type="linear" slope="{amount}" intercept="{amount2}"/></feComponentTransfer>',{amount:b,amount2:.5-b/2})},a.filter.contrast.toString=function(){return this()}}),d.plugin(function(a,b,c,d,e){var f=a._.box,g=a.is,h=/^[^a-z]*([tbmlrc])/i,i=function(){return"T"+this.dx+","+this.dy};b.prototype.getAlign=function(a,b){null==b&&g(a,"string")&&(b=a,a=null),a=a||this.paper;var c=a.getBBox?a.getBBox():f(a),d=this.getBBox(),e={};switch(b=b&&b.match(h),b=b?b[1].toLowerCase():"c"){case"t":e.dx=0,e.dy=c.y-d.y;break;case"b":e.dx=0,e.dy=c.y2-d.y2;break;case"m":e.dx=0,e.dy=c.cy-d.cy;break;case"l":e.dx=c.x-d.x,e.dy=0;break;case"r":e.dx=c.x2-d.x2,e.dy=0;break;default:e.dx=c.cx-d.cx,e.dy=0}return e.toString=i,e},b.prototype.align=function(a,b){return this.transform("..."+this.getAlign(a,b))}}),d.plugin(function(b,c,d,e){function f(a){a=a.split(/(?=#)/);var b=new String(a[5]);return b[50]=a[0],b[100]=a[1],b[200]=a[2],b[300]=a[3],b[400]=a[4],b[500]=a[5],b[600]=a[6],b[700]=a[7],b[800]=a[8],b[900]=a[9],a[10]&&(b.A100=a[10],b.A200=a[11],b.A400=a[12],b.A700=a[13]),b}var g="#ffebee#ffcdd2#ef9a9a#e57373#ef5350#f44336#e53935#d32f2f#c62828#b71c1c#ff8a80#ff5252#ff1744#d50000",h="#FCE4EC#F8BBD0#F48FB1#F06292#EC407A#E91E63#D81B60#C2185B#AD1457#880E4F#FF80AB#FF4081#F50057#C51162",i="#F3E5F5#E1BEE7#CE93D8#BA68C8#AB47BC#9C27B0#8E24AA#7B1FA2#6A1B9A#4A148C#EA80FC#E040FB#D500F9#AA00FF",j="#EDE7F6#D1C4E9#B39DDB#9575CD#7E57C2#673AB7#5E35B1#512DA8#4527A0#311B92#B388FF#7C4DFF#651FFF#6200EA",k="#E8EAF6#C5CAE9#9FA8DA#7986CB#5C6BC0#3F51B5#3949AB#303F9F#283593#1A237E#8C9EFF#536DFE#3D5AFE#304FFE",l="#E3F2FD#BBDEFB#90CAF9#64B5F6#64B5F6#2196F3#1E88E5#1976D2#1565C0#0D47A1#82B1FF#448AFF#2979FF#2962FF",m="#E1F5FE#B3E5FC#81D4FA#4FC3F7#29B6F6#03A9F4#039BE5#0288D1#0277BD#01579B#80D8FF#40C4FF#00B0FF#0091EA",n="#E0F7FA#B2EBF2#80DEEA#4DD0E1#26C6DA#00BCD4#00ACC1#0097A7#00838F#006064#84FFFF#18FFFF#00E5FF#00B8D4",o="#E0F2F1#B2DFDB#80CBC4#4DB6AC#26A69A#009688#00897B#00796B#00695C#004D40#A7FFEB#64FFDA#1DE9B6#00BFA5",p="#E8F5E9#C8E6C9#A5D6A7#81C784#66BB6A#4CAF50#43A047#388E3C#2E7D32#1B5E20#B9F6CA#69F0AE#00E676#00C853",q="#F1F8E9#DCEDC8#C5E1A5#AED581#9CCC65#8BC34A#7CB342#689F38#558B2F#33691E#CCFF90#B2FF59#76FF03#64DD17",r="#F9FBE7#F0F4C3#E6EE9C#DCE775#D4E157#CDDC39#C0CA33#AFB42B#9E9D24#827717#F4FF81#EEFF41#C6FF00#AEEA00",s="#FFFDE7#FFF9C4#FFF59D#FFF176#FFEE58#FFEB3B#FDD835#FBC02D#F9A825#F57F17#FFFF8D#FFFF00#FFEA00#FFD600",t="#FFF8E1#FFECB3#FFE082#FFD54F#FFCA28#FFC107#FFB300#FFA000#FF8F00#FF6F00#FFE57F#FFD740#FFC400#FFAB00",u="#FFF3E0#FFE0B2#FFCC80#FFB74D#FFA726#FF9800#FB8C00#F57C00#EF6C00#E65100#FFD180#FFAB40#FF9100#FF6D00",v="#FBE9E7#FFCCBC#FFAB91#FF8A65#FF7043#FF5722#F4511E#E64A19#D84315#BF360C#FF9E80#FF6E40#FF3D00#DD2C00",w="#EFEBE9#D7CCC8#BCAAA4#A1887F#8D6E63#795548#6D4C41#5D4037#4E342E#3E2723",x="#FAFAFA#F5F5F5#EEEEEE#E0E0E0#BDBDBD#9E9E9E#757575#616161#424242#212121",y="#ECEFF1#CFD8DC#B0BEC5#90A4AE#78909C#607D8B#546E7A#455A64#37474F#263238";b.mui={},b.flat={},b.mui.red=f(g),b.mui.pink=f(h),b.mui.purple=f(i),b.mui.deeppurple=f(j),b.mui.indigo=f(k),b.mui.blue=f(l),b.mui.lightblue=f(m),b.mui.cyan=f(n),b.mui.teal=f(o),b.mui.green=f(p),b.mui.lightgreen=f(q),b.mui.lime=f(r),b.mui.yellow=f(s),b.mui.amber=f(t),b.mui.orange=f(u),b.mui.deeporange=f(v),b.mui.brown=f(w),b.mui.grey=f(x),b.mui.bluegrey=f(y),b.flat.turquoise="#1abc9c",b.flat.greensea="#16a085",b.flat.sunflower="#f1c40f",b.flat.orange="#f39c12",b.flat.emerland="#2ecc71",b.flat.nephritis="#27ae60",b.flat.carrot="#e67e22",b.flat.pumpkin="#d35400",b.flat.peterriver="#3498db",b.flat.belizehole="#2980b9",b.flat.alizarin="#e74c3c",b.flat.pomegranate="#c0392b",b.flat.amethyst="#9b59b6",b.flat.wisteria="#8e44ad",b.flat.clouds="#ecf0f1",b.flat.silver="#bdc3c7",b.flat.wetasphalt="#34495e",b.flat.midnightblue="#2c3e50",b.flat.concrete="#95a5a6",b.flat.asbestos="#7f8c8d",b.importMUIColors=function(){for(var c in b.mui)b.mui.hasOwnProperty(c)&&(a[c]=b.mui[c])}}),d});
\ No newline at end of file
diff -r 000000000000 -r 7afca7dbfcc3 timeline/svg-animator.js
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/timeline/svg-animator.js Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,60 @@
1+// Welcome to SVG Virtual Map Animator by Capsia Tech
2+
3+function initSVG() { // Snap.SVG.JS needs to be started on load
4+ var height = window.innerHeight,
5+ width = window.innerWidth,
6+ s = Snap("#svg"),
7+// Start drawing
8+ fontSize = parseFloat(getComputedStyle(document.body).fontSize)*0.6,
9+ dates = [2012, 2015, 2016, 2018, 2019],
10+ dateLine = s.line(width*0.05, 0, width*0.05, height),
11+ circleGroup = s.group(),
12+ textGroup = s.group(),
13+ posArr = [];
14+ for (i = 0; i < dates.length; i++) {
15+ posArr.push(0.5+(0.42*i));
16+ circleGroup.add(s.circle(width*0.05, height*posArr[i], 30));
17+ textGroup.add(s.text(width*0.05+50, height*posArr[i]+fontSize, dates[i]));
18+ }
19+ function SVGsizes(width, height) {
20+ var fontSize = parseFloat(getComputedStyle(document.body).fontSize)*0.6;
21+ dateLine.attr({
22+ x1: width*0.05,
23+ x2: width*0.05,
24+ y2: height
25+ });
26+ for (i = 0; i < dates.length; i++) {
27+ circleGroup.select("circle:nth-child(" + (i+1) + ")").attr({
28+ cx: width*0.05,
29+ cy: height*posArr[i]
30+ });
31+ console.log(width*0.05);
32+ textGroup.select("text:nth-child(" + (i+1) + ")").attr({
33+ x: width*0.05+50,
34+ y: height*posArr[i]+fontSize
35+ });
36+ }
37+ }
38+ window.nextDate = function(width, height) {
39+ var fontSize = parseFloat(getComputedStyle(document.body).fontSize)*0.6;
40+ for (i = 0; i < dates.length; i++) {
41+ posArr[i] = posArr[i]-0.42;
42+ circleGroup.select("circle:nth-child(" + (i+1) + ")").animate({cy: height*posArr[i]}, 500);
43+ textGroup.select("text:nth-child(" + (i+1) + ")").animate({y: height*posArr[i]+fontSize}, 500);
44+ }
45+ };
46+ circleGroup.attr({
47+ fill: "#fff",
48+ stroke: "#333",
49+ strokeWidth: 8
50+ });
51+ dateLine.attr({
52+ stroke: "#333",
53+ strokeWidth: 15
54+ });
55+ textGroup.attr({
56+ fontSize: "1.8em",
57+ fill: "#fff"
58+ });
59+ return SVGsizes;
60+}
diff -r 000000000000 -r 7afca7dbfcc3 timeline/svg-animator.js~
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/timeline/svg-animator.js~ Fri Jan 24 16:27:09 2020 +0100
@@ -0,0 +1,61 @@
1+// Welcome to SVG Virtual Map Animator by Capsia Tech
2+
3+function initSVG() { // Snap.SVG.JS needs to be started on load
4+ var height = window.innerHeight,
5+ width = window.innerWidth,
6+ s = Snap("#svg"),
7+// Start drawing
8+ fontSize = parseFloat(getComputedStyle(document.body).fontSize)*0.6,
9+ dates = [2012, 2015, 2016, 2018, 2019],
10+ dateLine = s.line(width*0.05, 0, width*0.05, height),
11+ circleGroup = s.group(),
12+ textGroup = s.group(),
13+ posArr = [];
14+ for (i = 0; i < dates.length; i++) {
15+ posArr.push(0.5+(0.42*i));
16+ circleGroup.add(s.circle(width*0.05, height*posArr[i], 30));
17+ textGroup.add(s.text(width*0.05+50, height*posArr[i]+fontSize, dates[i]));
18+ }
19+ function SVGsizes(width, height) {
20+ var fontSize = parseFloat(getComputedStyle(document.body).fontSize)*0.6;
21+ dateLine.attr({
22+ x1: width*0.05,
23+ x2: width*0.05,
24+ y2: height
25+ });
26+ for (i = 0; i < dates.length; i++) {
27+ circleGroup.select("circle:nth-child(" + (i+1) + ")").attr({
28+ cx: width*0.05,
29+ cy: height*posArr[i]
30+ });
31+ console.log(width*0.05);
32+ textGroup.select("text:nth-child(" + (i+1) + ")").attr({
33+ x: width*0.05+50,
34+ y: height*posArr[i]+fontSize
35+ });
36+ }
37+ }
38+ window.nextDate = function(width, height) {
39+ console.log("Function run");
40+ var fontSize = parseFloat(getComputedStyle(document.body).fontSize)*0.6;
41+ for (i = 0; i < dates.length; i++) {
42+ posArr[i] = posArr[i]-0.42;
43+ circleGroup.select("circle:nth-child(" + (i+1) + ")").animate({cy: height*posArr[i]}, 500);
44+ textGroup.select("text:nth-child(" + (i+1) + ")").animate({y: height*posArr[i]+fontSize}, 500);
45+ }
46+ };
47+ circleGroup.attr({
48+ fill: "#fff",
49+ stroke: "#333",
50+ strokeWidth: 8
51+ });
52+ dateLine.attr({
53+ stroke: "#333",
54+ strokeWidth: 15
55+ });
56+ textGroup.attr({
57+ fontSize: "1.8em",
58+ fill: "#fff"
59+ });
60+ return SVGsizes;
61+}