jekyll-theme-consulting 0.8.2 → 0.8.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,41 +1 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg
3
- xmlns:dc="http://purl.org/dc/elements/1.1/"
4
- xmlns:cc="http://creativecommons.org/ns#"
5
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
- xmlns:svg="http://www.w3.org/2000/svg"
7
- xmlns="http://www.w3.org/2000/svg"
8
- width="2800"
9
- height="2800"
10
- viewBox="0 0 740.83332 740.83335"
11
- version="1.1"
12
- id="svg4580">
13
- <defs
14
- id="defs4574" />
15
- <metadata
16
- id="metadata4577">
17
- <rdf:RDF>
18
- <cc:Work
19
- rdf:about="">
20
- <dc:format>image/svg+xml</dc:format>
21
- <dc:type
22
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
23
- <dc:title></dc:title>
24
- </cc:Work>
25
- </rdf:RDF>
26
- </metadata>
27
- <g
28
- style="fill:#860071;fill-opacity:1"
29
- id="layer1"
30
- transform="matrix(1.2993798,0,0,1.2993798,-108.93407,574.45112)">
31
- <g
32
- style="fill:#860071;fill-opacity:1"
33
- id="g4546"
34
- transform="matrix(0.26458333,0,0,0.26458333,18.718904,-480.12521)">
35
- <path
36
- d="m 791.54,1720.2284 c -1.21367,-1.3411 -2.20666,-3.6107 -2.20666,-5.0436 0,-1.9467 27.66543,-21.8059 109.44254,-78.5618 60.19339,-41.776 110.74342,-76.6864 112.33332,-77.5785 7.2774,-4.0839 463.4822,-319.86 466.8538,-323.1473 1.4474,-1.4113 1.913,-2.5639 1.0356,-2.5639 -1.4454,0 -506.38113,241.7408 -540.99859,259.0062 C 877.54856,1522.4893 723.71808,1596 721.07705,1596 c -1.29189,0 -3.38271,-1.5778 -4.64624,-3.5062 -2.23329,-3.4085 -2.20567,-3.585 0.99077,-6.3333 2.75123,-2.3656 137.19784,-96.095 143.67132,-100.1605 20.44224,-12.8381 527.1605,-363.3972 532.2102,-368.1951 1.8167,-1.726 2.5453,-3.1382 1.6193,-3.1382 -1.812,0 -569.79812,272.0968 -576.25572,276.0584 -7.93046,4.865 -168.40039,81.2749 -170.68739,81.2749 -1.98416,0 -5.31262,-4.9713 -5.31262,-7.9348 0,-0.8907 113.05866,-80.3647 122.43533,-86.0652 1.20622,-0.7333 8.97966,-5.9833 17.2743,-11.6667 8.29466,-5.6833 15.30406,-10.3333 15.57647,-10.3333 1.25536,0 509.77543,-352.7316 512.71393,-355.6407 l 3.3333,-3.29988 -3.1396,0.93777 c -3.5695,1.0662 -521.67908,249.48651 -561.52706,269.23791 -34.95044,17.3239 -169.54147,81.8517 -171.78565,82.3602 -0.98212,0.2226 -3.02859,-1.2176 -4.54771,-3.2004 -2.28575,-2.9834 -2.46847,-3.9588 -1.05959,-5.6564 1.59236,-1.9186 141.7409,-99.5865 151.25127,-105.4052 13.41858,-8.2098 523.79924,-361.86616 527.47504,-365.50147 2.866,-2.83443 2.9594,-3.16652 0.6666,-2.36857 -4.142,1.44156 -448.57477,214.50224 -491.33329,235.54484 -76.71731,37.7545 -253.89403,122.3252 -256.27284,122.3252 -3.0741,0 -6.09043,-6.1144 -4.3217,-8.7606 0.96323,-1.441 220.04742,-154.0428 243.26121,-169.4421 18.1982,-12.0721 81.83053,-55.95156 272.08582,-187.6243 l 217.4498,-150.49369 254.0028,-121.82826 c 139.7015,-67.00554 264.606,-127.02825 277.5655,-133.38377 38.2185,-18.74289 267.0981,-128.58988 272.7208,-130.88781 4.8638,-1.98787 5.2629,-1.96444 7,0.41109 1.013,1.38554 1.842,3.56947 1.842,4.8532 0,1.58604 -31.6304,24.25835 -98.6975,70.74516 -54.2837,37.62611 -99.6964,69.01111 -100.9173,69.74444 -6.1932,3.72001 -476.1527,329.36585 -478.7134,331.71156 -1.647,1.50886 -2.7362,3.00176 -2.4205,3.31752 0.4871,0.48709 490.3844,-233.9022 571.4153,-273.39123 89.8792,-43.80106 176.8204,-84.94166 178.3027,-84.37285 2.4732,0.94902 5.092,7.22628 3.5945,8.61582 -1.4725,1.36633 -115.5854,80.36769 -129.8972,89.9289 -16.2498,10.85599 -525.3266,363.38857 -533.2665,369.28388 -3.9967,2.96744 -6.6103,5.61414 -5.8079,5.88158 1.2236,0.4079 557.8158,-265.73453 606.4078,-289.96246 32.2277,-16.06873 128.1128,-61.67939 129.6656,-61.67939 0.8796,0 2.5244,1.78915 3.6552,3.97587 2.476,4.78795 9.9804,-1.07076 -63.7866,49.79833 -213.8221,147.44995 -611.4672,423.12161 -614.2009,425.80131 l -3.3333,3.2674 6.6666,-2.5895 c 6.3642,-2.4719 558.7171,-267.34388 592,-283.88402 8.8,-4.37321 46.5236,-22.56993 83.8303,-40.43715 l 67.8303,-32.48585 2.503,3.09119 c 1.3767,1.70014 2.5031,3.84468 2.5031,4.76561 0,1.3936 -150.0972,106.7407 -163.1589,114.51458 -4.0596,2.41614 -496.5368,343.28814 -517.1744,357.96644 -9.8627,7.0147 -13.0332,10.4342 -8,8.6282 3.2086,-1.1513 489.2209,-234.12994 501.6666,-240.48282 19.6799,-10.04552 252.2727,-121.20611 254.3612,-121.56414 1.1963,-0.20506 3.0479,1.27795 4.2187,3.37907 1.998,3.58505 1.9408,3.86896 -1.3421,6.66667 -1.886,1.60718 -68.786,48.10798 -148.6667,103.3351 -79.8808,55.22714 -243.4559,168.38142 -363.5004,251.45402 l -218.2625,151.041 -201.0708,96.4284 C 1205.154,1524.946 1181.0297,1536.5738 1110,1571.2866 c -45.5444,22.2579 -314.73111,151.38 -315.58874,151.38 -0.36554,0 -1.65761,-1.0972 -2.87126,-2.4382 z m 427.5594,-213.0628 c 196.662,-94.3256 362.6673,-174.0214 368.9006,-177.102 7.291,-3.6031 127.6134,-86.1227 337.3334,-231.35 179.3,-124.16194 329.1958,-228.12014 333.102,-231.01818 3.9061,-2.89806 6.7992,-5.57202 6.429,-5.94214 -0.3701,-0.37013 -166.166,78.68156 -368.4353,175.67042 l -367.7624,176.3434 -331.304,229.4418 c -182.2172,126.1931 -332.81724,230.7765 -334.6667,232.4077 -1.84946,1.6312 -2.86794,2.9847 -2.26328,3.0079 0.60466,0.023 162.00468,-77.1333 358.66668,-171.4589 z m -62.1178,-131.2924 367.1947,-176.1269 328.2452,-227.37559 c 372.6379,-258.12637 340.2004,-235.49674 338.4155,-236.09174 -0.752,-0.25064 -166.2479,78.5871 -367.7687,175.19502 L 1456.6667,1087.1247 1430,1105.3952 c -37.4444,25.6548 -635.29716,439.9553 -640.07907,443.5625 -2.189,1.6513 -3.08456,2.9764 -2.02748,3 1.04139,0.023 167.13104,-79.2148 369.08815,-176.0845 z m -71.6483,-124.6561 366.0001,-175.5515 331.304,-229.4916 c 182.2172,-126.22037 332.8172,-230.84782 334.6666,-232.50545 2.8094,-2.51792 2.9239,-2.86638 0.696,-2.1176 -1.4666,0.49295 -167.9666,80.17559 -370,177.07252 l -367.3333,176.17625 -326,225.79638 c -179.30002,124.188 -329.60002,228.4803 -334.00002,231.7606 -5.54066,4.1308 -6.97527,5.7257 -4.66667,5.1881 1.83333,-0.4269 168.03333,-79.7744 369.33329,-176.3277 z M 1011.8354,1129.7967 1378,954.25999 1605.3334,796.89596 c 419.9593,-290.70301 443.0476,-306.76899 441.565,-307.26318 -0.8128,-0.27091 -166.9473,78.86981 -369.188,175.86827 L 1310,841.86187 978.00001,1071.7568 c -182.6,126.4422 -332.87858,230.7233 -333.95239,231.7357 -1.5456,1.4573 -1.57991,1.8408 -0.16463,1.8408 0.98326,0 166.56183,-78.9915 367.95241,-175.5366 z m -70.50205,-125.29 365.99995,-175.57742 332.0001,-229.92247 c 182.6,-126.45738 333.2,-231.09715 334.6666,-232.53284 l 2.6667,-2.61036 -2.6667,0.94899 c -1.4666,0.52193 -167.9666,80.21812 -370,177.10262 L 1236.6667,718.06886 904.00001,948.4963 c -182.96667,126.7351 -333.26667,231.047 -334,231.8044 -0.91087,0.9406 -0.27716,1.1245 2,0.5802 1.83333,-0.4382 168.03333,-79.8066 369.33334,-176.3742 z m 0,0 365.99995,-175.57742 332.0001,-229.92247 c 182.6,-126.45738 333.2,-231.09715 334.6666,-232.53284 l 2.6667,-2.61036 -2.6667,0.94899 c -1.4666,0.52193 -167.9666,80.21812 -370,177.10262 L 1236.6667,718.06886 904.00001,948.4963 c -182.96667,126.7351 -333.26667,231.047 -334,231.8044 -0.91087,0.9406 -0.27716,1.1245 2,0.5802 1.83333,-0.4382 168.03333,-79.8066 369.33334,-176.3742 z m -201.30005,219.4197 17.30004,-12.0735 v -21.6949 c 0,-24.8856 1.5638,-42.9893 6.00196,-69.4831 1.71908,-10.2622 2.87542,-18.9086 2.56964,-19.2144 -0.70954,-0.7096 -19.76416,7.827 -31.84082,14.2649 -10.97458,5.8503 -10.45312,4.537 -13.47148,33.9313 -1.54588,15.0545 -2.04147,30.0945 -1.71638,52.088 0.40643,27.4951 1.04499,34.2553 3.23574,34.2553 0.3417,0 8.40629,-5.4331 17.9213,-12.0736 z M 1011.8354,1129.7967 1378,954.25999 1605.3334,796.89596 c 419.9593,-290.70301 443.0476,-306.76899 441.565,-307.26318 -0.8128,-0.27091 -166.9473,78.86981 -369.188,175.86827 L 1310,841.86187 978.00001,1071.7568 c -182.6,126.4422 -332.87858,230.7233 -333.95239,231.7357 -1.5456,1.4573 -1.57991,1.8408 -0.16463,1.8408 0.98326,0 166.56183,-78.9915 367.95241,-175.5366 z m -230.44308,237.4365 c 8.03424,-5.5551 14.60769,-10.5673 14.60769,-11.1384 0,-0.5709 -3.25509,-7.8861 -7.23353,-16.2559 -8.62214,-18.1391 -17.94015,-44.7634 -22.10914,-63.1722 -1.66076,-7.3334 -3.42902,-13.7944 -3.92949,-14.3578 -0.50045,-0.5634 -8.51896,2.6155 -17.81888,7.0641 -20.10257,9.6162 -19.31339,7.3559 -11.67091,33.4257 8.1723,27.8771 28.30796,74.5346 32.16642,74.5346 0.75909,0 7.95361,-4.545 15.98784,-10.1001 z m 303.94098,-116.0161 366.0001,-175.5515 331.304,-229.4916 c 182.2172,-126.22037 332.8172,-230.84782 334.6666,-232.50545 2.8094,-2.51792 2.9239,-2.86638 0.696,-2.1176 -1.4666,0.49295 -167.9666,80.17559 -370,177.07252 l -367.3333,176.17625 -326,225.79638 c -179.30002,124.188 -329.60002,228.4803 -334.00002,231.7606 -5.54066,4.1308 -6.97527,5.7257 -4.66667,5.1881 1.83333,-0.4269 168.03333,-79.7744 369.33329,-176.3277 z m -208.57113,224.5293 c 7.64748,-5.2728 13.90451,-10.2307 13.90451,-11.0175 0,-0.7868 -4.6386,-5.0226 -10.308,-9.413 -13.38935,-10.3688 -42.84555,-39.8071 -53.01483,-52.9826 C 822.95728,1396.65 818.69861,1392 817.88013,1392 c -3.58161,0 -32.54679,14.7855 -32.54679,16.6137 0,3.0042 20.40459,27.7126 35.33334,42.7862 15.36958,15.5185 37.1559,33.9334 40.14609,33.9334 1.12469,0 8.30191,-4.3141 15.9494,-9.5869 z m 280.21943,-99.8732 367.1947,-176.1269 328.2452,-227.37559 c 372.6379,-258.12637 340.2004,-235.49674 338.4155,-236.09174 -0.752,-0.25064 -166.2479,78.5871 -367.7687,175.19502 L 1456.6667,1087.1247 1430,1105.3952 c -37.4444,25.6548 -635.29716,439.9553 -640.07907,443.5625 -2.189,1.6513 -3.08456,2.9764 -2.02748,3 1.04139,0.023 167.13104,-79.2148 369.08815,-176.0845 z m -128.1313,171.2533 c 9.1121,-6.3471 16.3651,-12.1469 16.1179,-12.8885 -0.2472,-0.7418 -5.8162,-2.7614 -12.3755,-4.4882 -26.3768,-6.9437 -60.80546,-19.7935 -83.19582,-31.0511 -5.86905,-2.951 -11.19347,-5.3654 -11.83203,-5.3654 -0.63856,0 -9.47913,3.9715 -19.64572,8.8254 l -18.48469,8.8254 3.28278,2.6627 c 4.69351,3.8069 37.69602,20.1472 55.13478,27.2985 16.85711,6.9128 48.2499,17.5881 51.9561,17.668 1.3612,0.029 9.9301,-5.1397 19.0422,-11.4868 z m 190.2491,-39.9609 c 196.662,-94.3256 362.6673,-174.0214 368.9006,-177.102 7.291,-3.6031 127.6134,-86.1227 337.3334,-231.35 179.3,-124.16194 329.1958,-228.12014 333.102,-231.01818 3.9061,-2.89806 6.7992,-5.57202 6.429,-5.94214 -0.3701,-0.37013 -166.166,78.68156 -368.4353,175.67042 l -367.7624,176.3434 -331.304,229.4418 c -182.2172,126.1931 -332.81724,230.7765 -334.6667,232.4077 -1.84946,1.6312 -2.86794,2.9847 -2.26328,3.0079 0.60466,0.023 162.00468,-77.1333 358.66668,-171.4589 z M 698.39924,1900.3068 C 487.41882,1778.7713 314.24404,1678.7333 313.56642,1678 c -0.7455,-0.8068 -1.53344,-176.518 -1.99524,-444.9396 -0.7156,-415.94457 -0.6221,-443.76752 1.49948,-446.19364 2.27626,-2.603 760.70354,-442.22056 766.92934,-444.54574 2.9516,-1.10232 16.0849,6.10212 114.6667,62.90183 61.2333,35.28069 111.4833,64.58865 111.6667,65.12878 0.1834,0.54015 -13.2943,7.58199 -29.9505,15.64855 -189.6052,91.82581 -344.16278,222.59653 -446.12665,377.46648 -9.1252,13.86 -20.92237,32.7 -26.21593,41.86666 -12.4278,21.5208 -35.22346,68.03114 -43.78407,89.33334 -7.67664,19.10254 -17.58957,47.39094 -17.58957,50.19514 0,2.6109 1.14649,1.926 28.1926,-16.8423 l 23.0089,-15.9668 8.16479,-18.3597 c 32.86408,-73.89956 76.52184,-140.33192 135.62772,-206.37961 20.07328,-22.43083 62.17112,-64.04442 84.68391,-83.70984 112.6466,-98.3991 251.742,-176.06546 392.9888,-219.4322 114.3126,-35.09719 231.5248,-47.41061 332,-34.87738 l 20,2.49479 136.326,-65.3732 c 75.5837,-36.24514 137.2026,-65.03676 138.2936,-64.61814 2.3973,0.91998 4.1817,7.26791 2.5122,8.93743 -0.6634,0.66345 -45.2508,31.70337 -99.083,68.9776 -53.8322,37.27424 -98.0886,68.4066 -98.3474,69.18304 -0.2588,0.77644 5.8082,3.58057 13.482,6.23141 28.2578,9.76127 61.371,25.43067 82.5248,39.05135 4.9728,3.20196 10.1167,5.82174 11.4307,5.82174 1.314,0 37.3908,-16.8 80.1707,-37.33333 42.7798,-20.53333 78.252,-37.33333 78.827,-37.33333 1.3472,0 5.1967,5.47813 5.1967,7.39536 0,0.80779 -29.3984,21.82428 -65.3297,46.70333 -35.9315,24.87905 -65.3315,45.64349 -65.3334,46.1432 0,0.49971 6.665,7.39971 14.8154,15.33333 16.9288,16.47842 32.5138,35.27287 44.855,54.09144 4.689,7.15 9.0387,13 9.6662,13 0.6274,0 28.6326,-13.22001 62.2337,-29.3778 33.6011,-16.1578 62.3993,-29.71194 63.9964,-30.12033 2.2636,-0.57889 3.3675,0.15476 5.0089,3.32907 l 2.1056,4.0716 -7.009,5.1273 c -3.855,2.82002 -30.2591,21.19394 -58.6758,40.83094 -30.1616,20.84282 -51.6666,36.55794 -51.6666,37.75612 0,1.12886 2.061,7.22686 4.5802,13.55113 9.5622,24.00583 17.4346,55.556 21.4168,85.83197 0.5131,3.90068 1.5024,6.33333 2.5759,6.33333 0.9587,0 36.3955,-16.62462 78.7484,-36.94362 l 77.0056,-36.94361 2.5032,3.09133 c 1.3768,1.70023 2.5032,3.84483 2.5032,4.76576 0,0.92092 -35.5952,26.31671 -79.1004,56.43505 -43.5053,30.11836 -79.7304,55.5484 -80.5003,56.5112 -0.7698,0.96281 -1.803,7.45056 -2.296,14.41723 -2.1237,30.01328 -6.7018,57.55284 -14.8374,89.25465 -5.0511,19.68233 -5.1188,20.07868 -3.4291,20.07868 0.6436,0 56.1923,-26.38489 123.4416,-58.63309 67.2495,-32.24822 123.2339,-58.79822 124.4099,-59 1.2037,-0.20656 3.0502,1.26954 4.2249,3.37761 1.9979,3.58503 1.9408,3.86899 -1.3419,6.66667 -1.8857,1.60718 -67.9564,47.59626 -146.8237,102.19798 l -143.3951,99.27584 -7.8429,14.6879 c -54.0144,101.1554 -132.1344,192.9355 -233.8429,274.7329 -117.7276,94.6803 -262.487,167.5641 -403.5146,203.1621 -74.9888,18.9286 -136.4675,26.8234 -209.1036,26.8522 l -33.2849,0.013 -27.0485,12.9486 c -14.8766,7.1214 -27.0485,13.3737 -27.0485,13.8938 0,5.1514 116.107,8.1471 158,4.0766 119.2313,-11.5851 230.1253,-41.6188 342.0001,-92.6248 84.2284,-38.4015 171.927,-91.3407 239.0738,-144.3167 6.0094,-4.741 11.5775,-8.6256 12.3735,-8.6322 1.8927,-0.016 3.7609,336.4847 1.8875,339.9851 -1.4423,2.6951 -765.5192,445.5487 -769.8402,446.194 -1.8317,0.2736 -137.96855,-77.4254 -386.42876,-220.551 z"
37
- style="fill:#860071;stroke-width:1.33333337;fill-opacity:1"
38
- id="path4548" />
39
- </g>
40
- </g>
41
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="2800" height="2800" viewBox="0 0 740.833 740.833"><path fill="#860071" d="M187.516 541.99c-.417-.46-.759-1.24-.759-1.733 0-.67 9.511-7.497 37.626-27.01 20.694-14.362 38.073-26.364 38.62-26.67 2.501-1.404 159.342-109.966 160.501-111.097.498-.485.658-.881.356-.881-.497 0-174.09 83.11-185.992 89.045-20.783 10.365-73.669 35.638-74.577 35.638-.444 0-1.163-.543-1.597-1.206-.768-1.172-.759-1.232.34-2.177.946-.813 47.168-33.037 49.394-34.435 7.028-4.413 181.234-124.934 182.97-126.583.625-.593.876-1.079.557-1.079-.623 0-195.893 93.545-198.113 94.907-2.727 1.673-57.895 27.942-58.682 27.942-.682 0-1.826-1.709-1.826-2.728 0-.306 38.869-27.629 42.093-29.588.414-.253 3.087-2.057 5.938-4.011 2.852-1.954 5.262-3.553 5.355-3.553.432 0 175.258-121.267 176.269-122.267l1.146-1.135-1.08.323c-1.227.366-179.35 85.772-193.05 92.562-12.015 5.956-58.287 28.14-59.059 28.315-.337.077-1.04-.418-1.563-1.1-.786-1.026-.849-1.361-.364-1.945.547-.66 48.73-34.237 51.999-36.237 4.613-2.823 180.08-124.408 181.343-125.658.985-.974 1.017-1.088.23-.814-1.425.496-154.218 73.745-168.918 80.979-26.375 12.98-87.288 42.055-88.106 42.055-1.056 0-2.093-2.102-1.485-3.012.33-.496 75.65-52.96 83.631-58.253 6.257-4.15 28.133-19.236 93.542-64.505l74.758-51.738 87.325-41.884c48.028-23.036 90.97-43.672 95.425-45.857 13.14-6.444 91.827-44.208 93.76-44.998 1.672-.684 1.81-.676 2.406.141.349.476.634 1.227.634 1.669 0 .545-10.875 8.34-33.932 24.321-18.662 12.936-34.275 23.726-34.695 23.978-2.129 1.279-163.698 113.234-164.579 114.04-.566.52-.94 1.033-.832 1.141.168.168 168.592-80.414 196.45-93.99 30.9-15.059 60.79-29.203 61.299-29.007.85.326 1.75 2.484 1.236 2.962-.506.47-39.738 27.63-44.658 30.917-5.587 3.732-180.604 124.93-183.334 126.958-1.374 1.02-2.273 1.93-1.997 2.022.42.14 191.774-91.358 208.48-99.688 11.08-5.524 44.044-21.205 44.578-21.205.302 0 .868.615 1.257 1.367.85 1.646 3.43-.368-21.93 17.12-73.51 50.693-210.219 145.467-211.159 146.389l-1.146 1.123 2.292-.89c2.188-.85 192.084-91.912 203.527-97.598 3.025-1.504 15.994-7.76 28.82-13.902l23.32-11.169.86 1.063c.473.585.86 1.322.86 1.639 0 .479-51.602 36.696-56.092 39.369-1.396.83-170.707 118.02-177.802 123.067-3.39 2.411-4.48 3.587-2.75 2.966 1.103-.396 168.191-80.492 172.47-82.677 6.766-3.453 86.73-41.67 87.448-41.793.41-.07 1.047.44 1.45 1.162.687 1.233.667 1.33-.461 2.292-.649.553-23.649 16.54-51.111 35.526a436540.742 436540.742 0 00-124.97 86.449l-75.037 51.927-69.127 33.151c-67.584 32.412-75.878 36.41-100.298 48.343-15.657 7.653-108.202 52.044-108.497 52.044-.126 0-.57-.377-.987-.838zm146.992-73.249c67.612-32.429 124.683-59.828 126.826-60.887 2.507-1.238 43.873-29.608 115.973-79.536 61.643-42.687 113.176-78.427 114.519-79.423 1.343-.997 2.337-1.916 2.21-2.043-.127-.127-57.127 27.05-126.666 60.394l-126.434 60.626-113.9 78.881c-62.646 43.384-114.421 79.34-115.057 79.9-.636.561-.986 1.027-.778 1.035.208.007 55.696-26.518 123.307-58.947zm-21.356-45.138l126.24-60.551 112.849-78.17c128.11-88.743 116.959-80.963 116.345-81.167-.259-.087-57.155 27.017-126.437 60.23l-125.966 60.388-9.168 6.282c-12.874 8.82-218.412 151.254-220.056 152.494-.752.568-1.06 1.023-.697 1.031.358.008 57.459-27.233 126.89-60.537zm-24.632-42.856l125.829-60.353 113.9-78.898c62.646-43.394 114.421-79.364 115.057-79.934.966-.866 1.005-.986.24-.728-.505.17-57.747 27.564-127.205 60.876L390.054 282.28l-112.077 77.627c-61.642 42.695-113.314 78.55-114.827 79.678-1.905 1.42-2.398 1.969-1.604 1.784.63-.147 57.768-27.426 126.974-60.62zm-25.268-41.743l125.885-60.349 78.156-54.1c144.38-99.943 152.317-105.466 151.808-105.636-.28-.093-57.396 27.115-126.925 60.463L365.76 240.013 251.62 319.05c-62.776 43.47-114.441 79.321-114.81 79.67-.532.5-.543.632-.057.632.338 0 57.263-27.157 126.5-60.348zm-24.238-43.074l125.829-60.363 114.14-79.046c62.776-43.475 114.552-79.45 115.056-79.943l.917-.898-.917.327c-.504.179-57.746 27.578-127.204 60.886l-126.287 60.561-114.37 79.22c-62.902 43.57-114.574 79.432-114.826 79.693-.314.323-.096.386.687.2.63-.151 57.77-27.438 126.975-60.637zm0 0l125.829-60.363 114.14-79.046c62.776-43.475 114.552-79.45 115.056-79.943l.917-.898-.917.327c-.504.179-57.746 27.578-127.204 60.886l-126.287 60.561-114.37 79.22c-62.902 43.57-114.574 79.432-114.826 79.693-.314.323-.096.386.687.2.63-.151 57.77-27.438 126.975-60.637zm-69.206 75.435l5.948-4.15v-7.46c0-8.555.537-14.779 2.063-23.887.591-3.528.989-6.501.884-6.606-.244-.244-6.795 2.69-10.947 4.904-3.773 2.011-3.594 1.56-4.632 11.665-.531 5.176-.701 10.347-.59 17.908.14 9.453.36 11.777 1.113 11.777.117 0 2.89-1.868 6.161-4.151zm93.444-32.361l125.885-60.349 78.156-54.1c144.38-99.943 152.317-105.466 151.808-105.636-.28-.093-57.396 27.115-126.925 60.463L365.76 240.013 251.62 319.05c-62.776 43.47-114.441 79.321-114.81 79.67-.532.5-.543.632-.057.632.338 0 57.263-27.157 126.5-60.348zm-79.225 81.629c2.762-1.91 5.022-3.633 5.022-3.83 0-.196-1.119-2.71-2.487-5.588-2.964-6.236-6.167-15.39-7.6-21.718-.572-2.521-1.18-4.743-1.352-4.936-.172-.194-2.928.899-6.126 2.428-6.91 3.306-6.64 2.53-4.012 11.492 2.81 9.584 9.732 25.624 11.059 25.624.26 0 2.734-1.562 5.496-3.472zm104.493-39.886l125.829-60.353 113.9-78.898c62.646-43.394 114.421-79.364 115.057-79.934.966-.866 1.005-.986.24-.728-.505.17-57.747 27.564-127.205 60.876L390.054 282.28l-112.077 77.627c-61.642 42.695-113.314 78.55-114.827 79.678-1.905 1.42-2.398 1.969-1.604 1.784.63-.147 57.768-27.426 126.974-60.62zm-71.705 77.192c2.629-1.813 4.78-3.517 4.78-3.788 0-.27-1.595-1.726-3.544-3.236-4.603-3.564-14.73-13.685-18.226-18.215-1.508-1.954-2.972-3.552-3.254-3.552-1.231 0-11.189 5.083-11.189 5.711 0 1.033 7.015 9.528 12.147 14.71 5.284 5.335 12.774 11.666 13.802 11.666.387 0 2.855-1.483 5.484-3.296zm96.337-34.336l126.24-60.551 112.849-78.17c128.11-88.743 116.959-80.963 116.345-81.167-.259-.087-57.155 27.017-126.437 60.23l-125.966 60.388-9.168 6.282c-12.874 8.82-218.412 151.254-220.056 152.494-.752.568-1.06 1.023-.697 1.031.358.008 57.459-27.233 126.89-60.537zm-44.05 58.876c3.132-2.182 5.626-4.176 5.54-4.43-.084-.256-1.999-.95-4.254-1.544-9.068-2.387-20.904-6.805-28.602-10.675-2.018-1.014-3.848-1.845-4.068-1.845-.22 0-3.259 1.366-6.754 3.035l-6.355 3.034 1.129.915c1.613 1.309 12.96 6.927 18.955 9.385 5.795 2.377 16.588 6.047 17.862 6.074.468.01 3.414-1.767 6.547-3.949zm65.406-13.738c67.612-32.429 124.683-59.828 126.826-60.887 2.507-1.238 43.873-29.608 115.973-79.536 61.643-42.687 113.176-78.427 114.519-79.423 1.343-.997 2.337-1.916 2.21-2.043-.127-.127-57.127 27.05-126.666 60.394l-126.434 60.626-113.9 78.881c-62.646 43.384-114.421 79.34-115.057 79.9-.636.561-.986 1.027-.778 1.035.208.007 55.696-26.518 123.307-58.947zm-179.013 135.16C82.96 562.117 23.425 527.725 23.19 527.473c-.256-.278-.527-60.686-.686-152.968-.246-143-.214-152.565.516-153.399.782-.895 261.525-152.033 263.666-152.832 1.014-.379 5.53 2.098 39.421 21.625 21.052 12.13 38.328 22.206 38.39 22.391.064.186-4.57 2.607-10.296 5.38-65.185 31.57-118.321 76.528-153.376 129.771-3.137 4.765-7.193 11.242-9.013 14.393-4.272 7.4-12.11 23.39-15.052 30.713-2.64 6.567-6.048 16.293-6.048 17.257 0 .897.395.662 9.693-5.79l7.91-5.49 2.807-6.312c11.299-25.406 26.308-48.245 46.628-70.952 6.901-7.712 21.374-22.018 29.114-28.779 38.727-33.83 86.548-60.53 135.107-75.44 39.3-12.066 79.597-16.3 114.14-11.99l6.876.857 46.868-22.474c25.985-12.461 47.17-22.36 47.545-22.216.824.317 1.437 2.499.863 3.073-.228.228-15.557 10.9-34.064 23.714-18.507 12.815-33.722 23.518-33.811 23.785-.09.267 1.997 1.23 4.635 2.142 9.715 3.356 21.099 8.743 28.371 13.426 1.71 1.1 3.478 2.001 3.93 2.001.452 0 12.855-5.776 27.562-12.835 14.708-7.06 26.903-12.835 27.1-12.835.464 0 1.787 1.884 1.787 2.543 0 .277-10.107 7.503-22.46 16.056-12.353 8.553-22.46 15.692-22.46 15.864 0 .172 2.29 2.544 5.093 5.271 5.82 5.665 11.178 12.127 15.42 18.597 1.612 2.458 3.108 4.469 3.324 4.469.215 0 9.843-4.545 21.395-10.1s21.453-10.215 22.002-10.355c.778-.2 1.158.053 1.722 1.144l.724 1.4-2.41 1.763c-1.325.97-10.403 7.286-20.172 14.037-10.37 7.166-17.763 12.569-17.763 12.98 0 .389.709 2.485 1.575 4.66 3.287 8.252 5.994 19.1 7.363 29.508.176 1.341.516 2.177.885 2.177.33 0 12.513-5.715 27.073-12.7L691.56 188.3l.861 1.063c.473.585.86 1.322.86 1.639 0 .316-12.237 9.047-27.194 19.402-14.956 10.354-27.41 19.097-27.675 19.428-.265.33-.62 2.561-.79 4.956-.73 10.319-2.304 19.787-5.1 30.686-1.737 6.766-1.76 6.903-1.18 6.903.222 0 19.32-9.071 42.44-20.158 23.12-11.087 42.366-20.215 42.77-20.284.414-.071 1.05.436 1.453 1.161.687 1.233.667 1.33-.461 2.292-.649.553-23.363 16.363-50.477 35.135l-49.299 34.13-2.696 5.05c-18.57 34.777-45.427 66.33-80.394 94.452-40.474 32.55-90.242 57.607-138.726 69.846-25.78 6.507-46.917 9.222-71.889 9.231l-11.443.005-9.299 4.452c-5.114 2.448-9.3 4.597-9.3 4.776 0 1.771 39.918 2.801 54.32 1.402 40.991-3.983 79.116-14.309 117.578-31.844 28.957-13.202 59.108-31.403 82.192-49.615 2.066-1.63 3.98-2.966 4.254-2.968.65-.006 1.293 115.681.65 116.885-.497.926-263.182 153.177-264.667 153.399-.63.094-47.433-26.619-132.852-75.824z"/></svg>
@@ -1,68 +1 @@
1
-
2
- <svg
3
- xmlns:dc="http://purl.org/dc/elements/1.1/"
4
- xmlns:cc="http://creativecommons.org/ns#"
5
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
- xmlns:svg="http://www.w3.org/2000/svg"
7
- xmlns="http://www.w3.org/2000/svg"
8
- viewBox="0 0 2800.0001 2800"
9
- height="2800"
10
- width="2800"
11
- id="svg5053"
12
- version="1.1">
13
- <metadata
14
- id="metadata5059">
15
- <rdf:RDF>
16
- <cc:Work
17
- rdf:about="">
18
- <dc:format>image/svg+xml</dc:format>
19
- <dc:type
20
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
21
- <dc:title></dc:title>
22
- </cc:Work>
23
- </rdf:RDF>
24
- </metadata>
25
- <defs
26
- id="defs5057" />
27
- <g
28
- transform="translate(0,2689.6)"
29
- style="display:inline"
30
- id="layer1">
31
- <g
32
- transform="matrix(19.230768,0,0,19.230768,-6.55384e-6,-2351.1384)"
33
- id="g5063">
34
- <path
35
- id="path5079"
36
- d="M 0,55.2 V 0 h 72.800005 72.800005 v 55.2 55.2 H 72.800005 0 Z"
37
- style="fill:#fcfefe;stroke-width:0.32000002" />
38
- <path
39
- id="path5077"
40
- d="M 0.32000002,55.04 V 0.32 H 42.510662 84.701321 l 3.36777,2.2242347 c 3.968352,2.6208872 7.612061,6.1496882 9.301181,9.0078643 1.460781,2.471794 2.549188,5.862225 2.410996,7.510336 l -0.101261,1.207668 -2.24,0.444205 c -3.799041,0.753371 -7.212257,2.632523 -10.23826,5.636689 -3.133248,3.110639 -4.701687,5.983726 -5.512061,10.09708 -1.165172,5.914253 0.80614,12.447744 5.03032,16.671923 6.962912,6.962912 18.724644,6.704419 26.177494,-0.575312 C 118.31967,47.248477 120.45262,41.927949 120.42812,33.76 120.39312,22.089824 116.63394,12.487017 108.494,3.2743107 L 105.8837,0.32 h 19.69816 19.69815 v 54.72 54.72 H 72.800005 0.32000002 Z"
41
- style="fill:#9ca888;stroke-width:0.32000002" />
42
- <path
43
- id="path5075"
44
- d="M 0.32000002,55.04 V 0.32 H 42.510662 84.701321 l 3.36777,2.2242347 c 3.968352,2.6208872 7.612061,6.1496882 9.301181,9.0078643 1.460781,2.471794 2.549188,5.862225 2.410996,7.510336 l -0.101261,1.207668 -2.24,0.444205 c -3.799041,0.753371 -7.212257,2.632523 -10.23826,5.636689 -3.133248,3.110639 -4.701687,5.983726 -5.512061,10.09708 -1.165172,5.914253 0.80614,12.447744 5.03032,16.671923 6.962912,6.962912 18.724644,6.704419 26.177494,-0.575312 C 118.31967,47.248477 120.45262,41.927949 120.42812,33.76 120.39312,22.089824 116.63394,12.487017 108.494,3.2743107 L 105.8837,0.32 h 19.69816 19.69815 v 54.72 54.72 H 72.800005 0.32000002 Z M 66.113473,85.747277 c 1.472423,-2.721002 2.679249,-5.114883 2.681834,-5.319735 0.0026,-0.204854 -0.967302,-0.911996 -2.155302,-1.57143 C 57.433831,73.745968 52.305136,68.368605 50.71289,62.156768 50.247344,60.340531 50.243373,60.336096 50.357667,61.76 c 0.218458,2.7216 2.879831,7.267437 5.991457,10.233888 2.201952,2.099219 5.837683,4.732406 8.708864,6.307418 1.442109,0.791081 2.797578,1.605616 3.012151,1.810076 0.304288,0.289943 0.07556,0.96994 -1.039434,3.090183 -0.786262,1.495139 -1.897824,3.636461 -2.470134,4.758496 -1.134861,2.224928 -1.597939,2.585414 -2.554116,1.988269 -0.345827,-0.215972 -0.699481,-0.321965 -0.785904,-0.235546 -0.200025,0.200026 1.565607,1.166774 1.937623,1.060922 0.152992,-0.04353 1.482877,-2.305428 2.955299,-5.026429 z m -5.313469,3.723136 c 0,-0.07127 -1.116,-0.797443 -2.48,-1.613709 -3.463111,-2.072451 -3.502839,-2.09785 -5.664125,-3.620998 -1.06473,-0.750362 -2.500276,-1.739572 -3.1901,-2.198244 C 47.347654,80.629091 40.201769,73.266813 38.320713,70.554906 34.789359,65.46376 32.408188,60.064784 30.913473,53.76 c -0.41308,-1.74239 -0.471238,-1.846272 -0.358309,-0.64 0.410204,4.381693 3.895866,12.55359 7.572803,17.75393 4.395367,6.216412 11.772772,12.580265 20.112037,17.348915 2.500615,1.429929 2.56,1.45887 2.56,1.247568 z M 50.140589,58.64 c -0.08049,-0.308 -0.146346,-0.056 -0.146346,0.56 0,0.616 0.06586,0.868 0.146346,0.56 0.08049,-0.308 0.08049,-0.812 0,-1.12 z m 2.499415,-0.72 c 0.86231,-0.219421 0.878592,-0.244886 0.16,-0.250243 -0.44,-0.0033 -1.16,0.109331 -1.6,0.250243 -0.626877,0.200762 -0.661505,0.254915 -0.16,0.250243 0.352,-0.0033 1.072,-0.115891 1.6,-0.250243 z m 5.581219,-2.037222 C 60.765086,54.645197 65.065745,50.528602 66.456465,48 c 1.831184,-3.329456 2.185316,-4.873315 2.165364,-9.44 -0.01638,-3.749549 -0.104458,-4.380192 -0.892644,-6.391686 -1.20256,-3.069007 -2.463078,-4.928591 -4.861961,-7.172628 -2.163812,-2.024139 -5.218426,-3.694709 -7.34722,-4.018198 -1.133639,-0.172266 -1.078752,-0.126427 0.48,0.400886 4.915155,1.662756 8.459933,4.744444 10.561364,9.181626 4.535242,9.576179 0.611616,20.472048 -9.121364,25.329939 -1.584,0.790602 -2.52,1.338042 -2.08,1.216538 0.44,-0.121504 1.727549,-0.67217 2.861219,-1.223699 z M 30.269539,45.52 c -0.01723,-4.9776 0.08024,-6.327168 0.571992,-7.92 2.540887,-8.230217 7.888376,-13.993911 15.023941,-16.193283 1.478144,-0.455603 1.652746,-0.561193 0.694531,-0.420012 -2.956099,0.435544 -6.873719,2.687491 -9.7844,5.624319 -4.694532,4.7367 -7.015601,10.628554 -7.015601,17.808544 0,2.730314 0.289725,7.100432 0.470736,7.100432 0.03276,0 0.05022,-2.7 0.0388,-6 z M 52.73073,20.565226 c -0.830099,-0.06568 -2.270099,-0.06636 -3.2,-0.0015 -0.929901,0.06485 -0.250727,0.118582 1.509274,0.119415 1.76,8.32e-4 2.520825,-0.05222 1.690726,-0.117901 z"
45
- style="fill:#c0a366;stroke-width:0.32000002" />
46
- <path
47
- id="path5073"
48
- d="M 0.32000002,55.04 V 0.32 H 42.510662 84.701321 l 3.36777,2.2242347 c 3.968352,2.6208872 7.612061,6.1496882 9.301181,9.0078643 1.460781,2.471794 2.549188,5.862225 2.410996,7.510336 l -0.101261,1.207668 -2.24,0.444205 c -3.799041,0.753371 -7.212257,2.632523 -10.23826,5.636689 -3.133248,3.110639 -4.701687,5.983726 -5.512061,10.09708 -1.165172,5.914253 0.80614,12.447744 5.03032,16.671923 6.962912,6.962912 18.724644,6.704419 26.177494,-0.575312 C 118.31967,47.248477 120.45262,41.927949 120.42812,33.76 120.39312,22.089824 116.63394,12.487017 108.494,3.2743107 L 105.8837,0.32 h 19.69816 19.69815 v 54.72 54.72 H 72.800005 0.32000002 Z M 66.113473,85.747277 c 1.472423,-2.721002 2.679249,-5.114883 2.681834,-5.319735 0.0026,-0.204854 -0.967302,-0.911996 -2.155302,-1.57143 C 57.433831,73.745968 52.305136,68.368605 50.71289,62.156768 50.247344,60.340531 50.243373,60.336096 50.357667,61.76 c 0.201984,2.516368 2.719191,6.991782 5.48953,9.76 0.528407,0.528 1.750954,1.598845 2.716772,2.379651 2.456554,1.985981 2.408928,1.940349 2.025088,1.940349 -0.186422,0 -0.971223,-0.550614 -1.744,-1.22359 -1.289229,-1.122724 -1.947331,-1.526224 -2.61648,-1.60424 -0.390938,-0.04558 -1.209303,-0.947991 -1.120004,-1.235028 0.044,-0.141427 -0.20543,-0.593267 -0.554284,-1.004089 -0.348858,-0.410823 -0.886285,-1.044855 -1.194285,-1.408963 -0.308,-0.364109 -0.56,-0.773696 -0.56,-0.910196 0,-0.136499 -0.189223,-0.438467 -0.420493,-0.671036 -0.231271,-0.232573 -0.895907,-1.430455 -1.47697,-2.661959 -0.956173,-2.026515 -1.042938,-2.451859 -0.913859,-4.48 0.07844,-1.232496 0.08595,-1.844899 0.0167,-1.360899 -0.159255,1.112931 -0.601507,1.137658 -0.810323,0.04531 -0.14041,-0.734509 0.0087,-0.909139 1.242694,-1.454976 0.773056,-0.341958 1.402256,-0.839472 1.402256,-1.108774 0,-0.298551 0.217744,-0.440871 0.56,-0.36602 0.308,0.06736 0.524,0.293914 0.48,0.503463 -0.044,0.209549 0.05222,0.380995 0.213827,0.380995 0.161607,0 0.545229,0.09647 0.852497,0.214381 0.382435,0.146755 0.485235,0.09557 0.325888,-0.162259 -0.133341,-0.215751 -0.0112,-0.461664 0.285897,-0.575677 0.285271,-0.109466 0.444787,-0.391571 0.354487,-0.626899 -0.12281,-0.320036 0.06988,-0.38105 0.764614,-0.242103 0.646013,0.1292 1.274983,-0.02819 2.065799,-0.516941 0.625344,-0.386486 1.136992,-0.773833 1.136992,-0.860771 0,-0.08694 -0.673815,-0.116633 -1.497364,-0.06599 -0.960435,0.05906 -1.543728,-0.04702 -1.626665,-0.295831 -0.16842,-0.505254 2.850099,-0.53384 3.352195,-0.03174 0.261555,0.261556 0.509958,0.176551 0.935117,-0.32 C 60.361719,53.424275 60.798916,53.12 61.014846,53.12 c 0.215929,0 0.777017,-0.504 1.246864,-1.12 0.469846,-0.616 1.035174,-1.12 1.256285,-1.12 0.22111,0 0.488419,-0.432 0.594019,-0.96 0.1056,-0.528 0.38896,-0.96 0.62969,-0.96 0.483056,0 1.432928,-1.773306 2.401997,-4.484272 0.730134,-2.042538 0.779363,-2.445914 0.731734,-5.995728 -0.02842,-2.11759 -0.130403,-2.64 -0.515421,-2.64 -0.264,0 -0.48,-0.216 -0.48,-0.48 0,-0.264 0.144,-0.48 0.32,-0.48 0.629415,0 0.282954,-1.480246 -0.924048,-3.947961 -1.007264,-2.059355 -1.259907,-2.38092 -1.412413,-1.797734 -0.146246,0.559251 -0.3428,0.668159 -0.924633,0.512331 -0.406397,-0.108844 -0.990906,-0.199863 -1.298906,-0.202266 -0.350381,-0.0027 -0.56,-0.250706 -0.56,-0.662462 0,-0.645931 0.01798,-0.647465 0.973533,-0.08301 0.850883,0.502629 1.011526,0.514987 1.275101,0.09809 0.448947,-0.7101 0.388419,-0.891747 -0.488634,-1.466414 -0.44,-0.288299 -0.8,-0.679739 -0.8,-0.869867 0,-0.190128 -0.386941,-0.749567 -0.859869,-1.243197 -0.472928,-0.493631 -0.724928,-0.89743 -0.56,-0.897332 0.708435,4.16e-4 4.090861,4.311044 5.086218,6.481964 4.337952,9.461301 0.336506,20.294853 -9.266349,25.087797 -1.584001,0.790602 -2.520001,1.338042 -2.080001,1.216538 0.44,-0.121504 1.727549,-0.67217 2.86122,-1.223699 2.543862,-1.237581 6.844522,-5.354176 8.235242,-7.882778 1.831184,-3.329456 2.185315,-4.873315 2.165363,-9.44 -0.01638,-3.749549 -0.104457,-4.380192 -0.892643,-6.391686 -1.20256,-3.069007 -2.463079,-4.928591 -4.861962,-7.172628 -2.164573,-2.024843 -5.219866,-3.695453 -7.347229,-4.017402 -1.054227,-0.159544 -0.941341,-0.07932 0.64,0.454847 2.336461,0.789234 5.140538,2.295449 5.064,2.720135 -0.03078,0.170904 -0.230845,0.369015 -0.444544,0.440248 -0.222912,0.0743 -0.293296,-0.02459 -0.165113,-0.232 C 60.757438,24.12999 60.552737,24 60.04506,24 c -1.122563,0 -1.805056,-0.315425 -1.805056,-0.834236 0,-0.24517 -0.216,-0.445764 -0.48,-0.445764 -0.264,0 -0.48,-0.13845 -0.48,-0.307666 0,-0.529446 -2.28921,-0.89935 -5.12,-0.82732 -1.496001,0.03807 -2.892378,-0.0623 -3.103063,-0.223026 -0.498384,-0.380216 -4.576938,0.977675 -4.576938,1.523821 0,0.228951 -0.375597,0.387933 -0.88,0.372484 -0.484,-0.01482 -1.312,0.07345 -1.84,0.196157 -1.570765,0.365057 1.942995,-1.377196 4.16,-2.062682 1.483885,-0.458811 1.629258,-0.550817 0.64,-0.405063 -2.956099,0.435544 -6.873719,2.687491 -9.7844,5.624319 -3.371985,3.402273 -5.54417,7.464906 -6.509923,12.175485 -0.537161,2.620073 -0.638041,8.517821 -0.193171,11.293491 0.161627,1.008438 0.202368,-0.115526 0.110191,-3.04 -0.08044,-2.552 -0.01001,-5.504 0.156506,-6.56 0.298915,-1.895661 0.30331,-1.877408 0.346675,1.44 0.02893,2.213107 0.1456,3.199219 0.341807,2.88897 0.255181,-0.403508 0.328199,-0.392039 0.509336,0.08 0.116298,0.303065 0.116298,0.798995 0,1.10206 -0.181137,0.472039 -0.254155,0.483508 -0.509336,0.08 -0.55005,-0.869766 -0.332213,4.019949 0.331346,7.437623 0.351467,1.81024 0.639467,3.335846 0.64,3.390233 5.44e-4,0.05439 0.144968,0.0099 0.320968,-0.09889 0.190051,-0.117459 0.32,0.25705 0.32,0.92223 0,0.616 0.125402,1.197501 0.278669,1.292224 0.153267,0.09473 0.365667,0.60722 0.471997,1.138877 0.106333,0.531661 0.484931,1.606755 0.841331,2.389104 0.356403,0.782349 0.648003,1.55672 0.648003,1.720826 0,0.164105 0.216,0.477638 0.48,0.696739 0.264,0.219101 0.48,0.602563 0.48,0.852141 0,0.485126 0.891386,1.852557 2.320001,3.558995 0.484,0.578122 0.88,1.20041 0.88,1.382854 0,0.182448 0.18,0.536996 0.4,0.787885 0.22,0.25089 0.904,1.095853 1.52,1.877696 1.088675,1.381779 2.089107,1.953463 1.715722,0.980429 -0.101466,-0.264413 -0.0095,-0.48 0.204732,-0.48 0.247754,0 0.320845,0.271261 0.201364,0.747312 C 42.875091,75.490986 43.839133,76.8 44.65247,76.8 c 0.257143,0 0.467533,0.280845 0.467533,0.624099 0,0.343255 0.196327,0.739255 0.436285,0.88 0.51671,0.303075 2.57448,1.941443 3.436263,2.735901 0.334099,0.308 0.725484,0.56 0.869744,0.56 0.144262,0 0.575308,0.36 0.957884,0.8 0.714884,0.822189 1.339825,1.046077 1.339825,0.48 0,-0.176 0.262032,-0.32 0.582291,-0.32 0.726509,0 2.253312,1.668131 1.69664,1.85369 -0.487622,0.16254 0.152912,1.02631 0.761069,1.02631 0.220899,0 0.572288,0.205626 0.780867,0.456947 0.409965,0.493978 3.539133,2.214675 3.539133,1.946131 0,-0.08969 0.3,0.136922 0.666666,0.503588 1.168281,1.168281 0.494624,0.954886 -2.121837,-0.672135 -1.399655,-0.870361 -2.760829,-1.686211 -3.024829,-1.812998 -0.8524,-0.409367 -2.738176,-1.801754 -2.17025,-1.602429 0.71295,0.250221 1.054999,-0.287411 0.353997,-0.55641 -0.292919,-0.112403 -0.620275,-0.06247 -0.727459,0.110954 C 52.141981,84.386931 47.025987,80.225536 43.086937,76.16 36.842447,69.714992 33.035138,62.709286 30.913473,53.76 c -0.41308,-1.74239 -0.471238,-1.846272 -0.358309,-0.64 0.410204,4.381693 3.895866,12.55359 7.572803,17.75393 4.42273,6.255113 12.448856,13.137929 20.432037,17.521516 1.706675,0.937143 2.22256,1.087223 2.874279,0.83618 0.533145,-0.205367 0.831228,-0.195108 0.906665,0.0312 0.284324,0.852969 1.627952,-0.219543 1.64888,-1.31617 0.0056,-0.293331 0.124954,-0.581331 0.265239,-0.64 0.140285,-0.05867 0.587117,-0.754666 0.992963,-1.546666 2.513418,-4.904873 2.622288,-5.177897 2.245674,-5.631689 C 67.274469,79.864147 67.253083,79.68 67.44164,79.68 c 0.176,0 0.474425,0.18607 0.663165,0.413488 0.254902,0.307139 -0.02294,1.109619 -1.08025,3.12 -0.78288,1.488582 -1.891674,3.624538 -2.463984,4.746573 -1.134861,2.224928 -1.597939,2.585414 -2.554116,1.988269 -0.345827,-0.215972 -0.699481,-0.321965 -0.785904,-0.235546 -0.200025,0.200026 1.565607,1.166774 1.937623,1.060922 0.152992,-0.04353 1.482877,-2.305428 2.955299,-5.026429 z m -5.373469,1.394128 c 0.230999,-0.09244 0.506999,-0.08107 0.613335,0.02525 0.106332,0.106333 -0.08267,0.181965 -0.42,0.16807 -0.372784,-0.01536 -0.448608,-0.09118 -0.193335,-0.193331 z M 58.560004,83.2 c 0,-0.176 0.144,-0.32 0.32,-0.32 0.176,0 0.32,0.144 0.32,0.32 0,0.176 -0.144,0.32 -0.32,0.32 -0.176,0 -0.32,-0.144 -0.32,-0.32 z m 5.912461,-1.25625 c 0.128493,-0.404841 -0.0013,-0.730838 -0.378435,-0.950268 -0.315715,-0.183712 -0.422826,-0.3384 -0.238026,-0.343751 0.517463,-0.01498 1.104,0.693888 1.104,1.334269 0,0.3168 -0.153702,0.576 -0.341564,0.576 -0.191552,0 -0.255661,-0.270653 -0.145975,-0.61625 z M 61.600004,81.6 c 0.108775,-0.176 0.55777,-0.32 0.99777,-0.32 0.45185,0 0.713933,0.139261 0.60223,0.32 -0.108774,0.176 -0.557769,0.32 -0.997769,0.32 -0.45185,0 -0.713933,-0.139261 -0.602231,-0.32 z m 4.640001,-1.12 C 65.913742,80.086877 65.935608,80 66.360824,80 c 0.285549,0 0.519181,0.216 0.519181,0.48 0,0.264 -0.05437,0.48 -0.12082,0.48 -0.06645,0 -0.30008,-0.216 -0.51918,-0.48 z m -5.919838,-0.479734 c -0.10927,-0.176807 0.179364,-0.465194 0.641415,-0.640864 1.051814,-0.399901 1.206057,-0.40008 0.959485,-0.0013 -0.356048,0.576102 -1.386282,0.989241 -1.6009,0.641987 z m 3.439837,-0.390823 c -1.026486,-0.495056 -0.889952,-0.885318 0.32,-0.914681 l 1.04,-0.02525 -1.44,-0.69593 c -1.870214,-0.903843 -3.052822,-1.747437 -2.801712,-1.99855 0.109824,-0.109821 0.677136,0.154969 1.260695,0.588425 0.583558,0.433456 1.963587,1.261431 3.066726,1.839943 1.103136,0.578512 1.952564,1.104985 1.88761,1.169939 -0.06495,0.06495 -0.525197,-0.09311 -1.022765,-0.351251 -1.028806,-0.533751 -1.646758,-0.348186 -1.086909,0.32639 0.462765,0.557597 -0.132393,0.587242 -1.223645,0.06095 z M 47.371261,78.741037 c -0.416074,-0.777443 -0.432279,-1.721242 -0.02522,-1.469674 0.168313,0.104023 0.225373,0.399309 0.126797,0.656189 -0.100208,0.261139 0.04703,0.553875 0.333977,0.663987 0.557367,0.213882 0.704919,0.768461 0.204458,0.768461 -0.169808,0 -0.457808,-0.278534 -0.64,-0.618963 z M 60.640004,77.76 c 0.108775,-0.176 0.34177,-0.32 0.51777,-0.32 0.176,0 0.231005,0.144 0.12223,0.32 -0.108774,0.176 -0.341769,0.32 -0.517769,0.32 -0.176,0 -0.231005,-0.144 -0.122231,-0.32 z m -3.36,-1.28 c 0,-0.176 0.144,-0.32 0.32,-0.32 0.176,0 0.32,0.144 0.32,0.32 0,0.176 -0.144,0.32 -0.32,0.32 -0.176,0 -0.32,-0.144 -0.32,-0.32 z m -2.24,-1.28 c 0,-0.176 0.144,-0.32 0.32,-0.32 0.176,0 0.32,0.144 0.32,0.32 0,0.176 -0.144,0.32 -0.32,0.32 -0.176,0 -0.32,-0.144 -0.32,-0.32 z m -0.96,-0.96 c 0,-0.176 0.144,-0.32 0.32,-0.32 0.176,0 0.32,0.144 0.32,0.32 0,0.176 -0.144,0.32 -0.32,0.32 -0.176,0 -0.32,-0.144 -0.32,-0.32 z m 2.08,0 c 0.108774,-0.176 0.261273,-0.32 0.338886,-0.32 0.07761,0 0.141114,0.144 0.141114,0.32 0,0.176 -0.152499,0.32 -0.338887,0.32 -0.186387,0 -0.249888,-0.144 -0.141113,-0.32 z M 41.449993,72.866198 c -0.30599,-0.704972 -0.248317,-0.766051 0.950666,-1.006838 0.874646,-0.175654 0.897133,-0.160112 0.25471,0.176032 -0.387548,0.202784 -0.761264,0.601776 -0.830477,0.886653 -0.11032,0.454057 -0.156569,0.447168 -0.374899,-0.05585 z M 50.080003,70.4 c -0.108774,-0.176 0.02672,-0.32 0.301114,-0.32 0.274387,0 0.498886,0.144 0.498886,0.32 0,0.176 -0.1355,0.32 -0.301113,0.32 -0.165613,0 -0.390112,-0.144 -0.498887,-0.32 z m -1.12,-1.298886 c 0,-0.362388 0.144,-0.569888 0.32,-0.461114 0.176,0.108774 0.32,0.405274 0.32,0.658886 0,0.253613 -0.144,0.461114 -0.32,0.461114 -0.176,0 -0.32,-0.296499 -0.32,-0.658886 z m 1.937984,-0.587511 c -0.24096,-0.450237 -0.202656,-0.707552 0.14874,-0.999184 0.400515,-0.332397 0.473277,-0.239171 0.473277,0.6064 0,1.148615 -0.162567,1.251271 -0.622017,0.392784 z m -12.6453,-1.424758 c -0.814144,-0.595315 -0.142646,-0.943248 0.98962,-0.512762 0.716806,0.272528 0.802176,0.40001 0.426854,0.637389 -0.618979,0.391485 -0.72319,0.382314 -1.416474,-0.124627 z M 49.120003,66.88 c -0.108774,-0.176 -0.04527,-0.32 0.141114,-0.32 0.186387,0 0.338886,0.144 0.338886,0.32 0,0.176 -0.0635,0.32 -0.141113,0.32 -0.07761,0 -0.230112,-0.144 -0.338887,-0.32 z M 36.160002,64.8 c 0,-0.264 0.144,-0.48 0.320001,-0.48 0.176,0 0.32,0.216 0.32,0.48 0,0.264 -0.144,0.48 -0.32,0.48 -0.176001,0 -0.320001,-0.216 -0.320001,-0.48 z m 0,-2.88 c 0,-0.264 0.216,-0.48 0.480001,-0.48 0.264,0 0.48,0.216 0.48,0.48 0,0.264 -0.216,0.48 -0.48,0.48 -0.264001,0 -0.480001,-0.216 -0.480001,-0.48 z m 12.960001,-0.48 c -0.108774,-0.176 -0.04527,-0.32 0.141114,-0.32 0.186387,0 0.338886,0.144 0.338886,0.32 0,0.176 -0.0635,0.32 -0.141113,0.32 -0.07761,0 -0.230112,-0.144 -0.338887,-0.32 z M 32.480002,56 c 0.108775,-0.176 0.261274,-0.32 0.338887,-0.32 0.07761,0 0.141113,0.144 0.141113,0.32 0,0.176 -0.152499,0.32 -0.338886,0.32 -0.186387,0 -0.249888,-0.144 -0.141114,-0.32 z m 0.02653,-2.517053 c -0.137846,-0.22304 -0.164211,-0.491945 -0.05859,-0.597571 0.286391,-0.286387 0.598647,0.134816 0.443965,0.598864 -0.10839,0.325174 -0.183766,0.324922 -0.385376,-0.0013 z M 57.83999,52.237635 c -0.308,-0.06851 -0.56,-0.258003 -0.56,-0.421097 0,-0.374858 0.346989,-0.370858 0.950733,0.01098 0.574835,0.363536 0.369369,0.579203 -0.390733,0.410134 z M 59.200004,52.16 c 0,-0.176 0.144,-0.32 0.32,-0.32 0.176,0 0.32,0.144 0.32,0.32 0,0.176 -0.144,0.32 -0.32,0.32 -0.176,0 -0.32,-0.144 -0.32,-0.32 z m 5.44,-5.76 c 0,-0.176 0.216,-0.32 0.48,-0.32 0.264,0 0.480001,0.144 0.480001,0.32 0,0.176 -0.216001,0.32 -0.480001,0.32 -0.264,0 -0.48,-0.144 -0.48,-0.32 z M 32.320002,41.901114 c 0,-0.571104 0.133306,-0.8965 0.32,-0.781114 0.176,0.108774 0.32,0.549274 0.32,0.978886 0,0.429613 -0.144,0.781114 -0.32,0.781114 -0.176,0 -0.32,-0.440499 -0.32,-0.978886 z M 65.775291,38.96 c -0.134067,-0.308 -0.134067,-0.812 0,-1.12 0.23215,-0.533334 0.250138,-0.533334 0.377699,0 0.07367,0.308 0.07367,0.812 0,1.12 -0.127561,0.533334 -0.145549,0.533334 -0.377699,0 z M 30.897522,37.6 c 0.392778,-1.692339 2.068621,-5.499482 3.121383,-7.091084 2.009523,-3.038073 6.941098,-7.667441 6.941098,-6.515749 0,0.249963 0.189872,0.247734 0.667408,-0.0078 0.906656,-0.485229 1.162902,-0.130217 0.463686,0.642409 -0.389065,0.429914 -0.737645,0.548177 -1.091373,0.370274 -0.793056,-0.398862 -2.466784,0.891438 -2.337465,1.801984 0.106208,0.747817 -0.430388,1.015609 -0.659255,0.329006 -0.08742,-0.262271 -0.453165,-0.130583 -1.110937,0.4 -1.137466,0.917523 -1.986628,2.227183 -1.792033,2.76384 0.07436,0.205064 -0.134377,0.458405 -0.463859,0.562978 -0.329481,0.104573 -0.796285,0.692793 -1.037341,1.307156 -0.241056,0.614361 -0.547104,1.11702 -0.680105,1.11702 -0.133002,0 -0.56642,1.044 -0.963154,2.32 -0.739313,2.377824 -1.463419,3.746576 -1.058053,2 z m 5.959018,-8.693483 c 0.155696,-0.802806 0.903463,-0.913038 0.903463,-0.133184 0,0.393068 -0.206621,0.666667 -0.503463,0.666667 -0.297997,0 -0.461241,-0.217718 -0.4,-0.533483 z M 60.320004,26.56 c -0.267853,-0.433395 0.09358,-0.96 0.658887,-0.96 0.518998,0 0.540214,0.06152 0.266876,0.773828 -0.220822,0.575455 -0.63384,0.658513 -0.925763,0.186172 z M 46.656003,25.216 c 0.298666,-0.298667 0.469335,-0.298667 0.768,0 0.298666,0.298667 0.213335,0.384 -0.384,0.384 -0.597334,0 -0.682665,-0.08533 -0.384,-0.384 z m 12.704001,0.064 c 0.108774,-0.176 0.261274,-0.32 0.338887,-0.32 0.07761,0 0.141113,0.144 0.141113,0.32 0,0.176 -0.152499,0.32 -0.338886,0.32 -0.186388,0 -0.249888,-0.144 -0.141114,-0.32 z M 46.166093,23.778243 c 0.31135,-0.08113 0.74335,-0.0758 0.96,0.01186 0.216649,0.08765 -0.03809,0.154038 -0.56609,0.147516 -0.528,-0.0065 -0.705261,-0.07824 -0.39391,-0.159373 z m 1.59391,-0.631576 C 47.061571,22.867294 47.328595,22.4 48.186669,22.4 c 0.495907,0 0.775987,0.152043 0.7,0.38 -0.150061,0.450183 -0.573424,0.587964 -1.126666,0.366667 z m 6.533335,-0.32 c -0.492813,-0.492812 -0.145693,-0.718029 0.826666,-0.536351 1.525478,0.285023 1.846125,0.749684 0.517334,0.749684 -0.621869,0 -1.226669,-0.096 -1.344,-0.213333 z M 52.640004,57.92 c 0.86231,-0.219421 0.878592,-0.244886 0.16,-0.250243 -0.44,-0.0033 -1.16,0.109331 -1.6,0.250243 -0.626877,0.200762 -0.661505,0.254915 -0.16,0.250243 0.352,-0.0033 1.072,-0.115891 1.6,-0.250243 z m 0.09073,-37.354774 c -0.830099,-0.06568 -2.270099,-0.06636 -3.2,-0.0015 -0.929901,0.06485 -0.250727,0.118582 1.509274,0.119415 1.76,8.32e-4 2.520825,-0.05222 1.690726,-0.117901 z"
49
- style="fill:#baa46a;stroke-width:0.32000002" />
50
- <path
51
- id="path5071"
52
- d="M 0.32000002,55.04 V 0.32 H 42.510662 84.701321 l 3.36777,2.2242347 c 3.968352,2.6208872 7.612061,6.1496882 9.301181,9.0078643 1.460781,2.471794 2.549188,5.862225 2.410996,7.510336 l -0.101261,1.207668 -2.24,0.444205 c -3.799041,0.753371 -7.212257,2.632523 -10.23826,5.636689 -3.133248,3.110639 -4.701687,5.983726 -5.512061,10.09708 -1.165172,5.914253 0.80614,12.447744 5.03032,16.671923 6.962912,6.962912 18.724644,6.704419 26.177494,-0.575312 C 118.31967,47.248477 120.45262,41.927949 120.42812,33.76 120.39312,22.089824 116.63394,12.487017 108.494,3.2743107 L 105.8837,0.32 h 19.69816 19.69815 v 54.72 54.72 H 72.800005 0.32000002 Z M 66.113473,85.747277 c 1.472423,-2.721002 2.679249,-5.114883 2.681834,-5.319735 0.0026,-0.204854 -0.967302,-0.911996 -2.155302,-1.57143 -8.411086,-4.66881 -13.640443,-9.847146 -15.496667,-15.345475 -0.313863,-0.929693 -0.663104,-2.476928 -0.776096,-3.438298 l -0.205437,-1.747945 1.539491,-0.230861 c 1.941565,-0.291155 5.352606,-1.513767 7.380186,-2.645264 2.111373,-1.178256 6.181383,-5.290413 7.371934,-7.448269 1.832656,-3.321667 2.188378,-4.870282 2.168413,-9.44 -0.01638,-3.749549 -0.104458,-4.380192 -0.892644,-6.391686 -1.20256,-3.069007 -2.463078,-4.928591 -4.861961,-7.172628 -3.343194,-3.127394 -7.024955,-4.520357 -11.922971,-4.510956 -5.676173,0.0109 -10.608132,2.249699 -14.712715,6.678658 -4.405393,4.753545 -6.477839,10.37665 -6.465674,17.543121 0.0121,7.130166 1.40669,13.222953 4.452734,19.453491 4.038675,8.260915 10.111767,14.941907 19.061406,20.969408 3.192569,2.150166 9.505396,5.759846 9.87817,5.648349 0.152992,-0.04576 1.482877,-2.309479 2.955299,-5.03048 z"
53
- style="fill:#71a4ad;stroke-width:0.32000002" />
54
- <path
55
- id="path5069"
56
- d="M 0.64000004,55.04 V 0.32 H 42.494717 84.349436 l 2.305325,1.4213279 C 93.887533,6.2006288 98.512695,11.772988 99.522,17.243677 c 0.52489,2.845011 0.5881,2.745152 -2.108013,3.33023 -7.881606,1.710374 -14.361373,8.072852 -15.831396,15.544842 -0.536006,2.724467 -0.237545,7.364195 0.640781,9.961251 1.919898,5.676797 6.726858,10.205395 12.401655,11.683491 2.357472,0.614042 6.795173,0.610051 9.227753,-0.0083 3.73194,-0.948646 6.46122,-2.577737 9.59969,-5.730009 2.40926,-2.419847 3.14446,-3.41304 4.40089,-5.945181 1.94157,-3.912954 2.4804,-6.029466 2.69533,-10.5872 0.56915,-12.069133 -3.86945,-23.685287 -12.5775,-32.9162749 L 105.84248,0.32 h 19.71877 19.71876 v 54.72 54.72 H 72.960005 0.64000004 Z M 66.264216,85.448803 69.082885,80.206118 66.421048,78.713962 C 61.81547,76.132195 59.12227,74.184563 56.480004,71.524931 52.740192,67.760541 50.855923,64.230259 50.367242,60.072339 l -0.205437,-1.747945 1.539491,-0.230861 c 1.941565,-0.291155 5.352606,-1.513767 7.380186,-2.645264 2.111373,-1.178256 6.181383,-5.290413 7.371934,-7.448269 1.832656,-3.321667 2.188378,-4.870282 2.168413,-9.44 -0.01638,-3.749549 -0.104458,-4.380192 -0.892644,-6.391686 -1.20256,-3.069007 -2.463078,-4.928591 -4.861961,-7.172628 -3.343194,-3.127394 -7.024955,-4.520357 -11.922971,-4.510956 -5.676173,0.0109 -10.608132,2.249699 -14.712715,6.678658 -4.405393,4.753545 -6.477839,10.37665 -6.465674,17.543121 0.0121,7.130166 1.40669,13.222953 4.452734,19.453491 4.038675,8.260915 10.111767,14.941907 19.061406,20.969408 3.211363,2.162822 9.506308,5.759626 9.882772,5.646816 0.155523,-0.0466 1.551171,-2.443946 3.10144,-5.327421 z"
57
- style="fill:#6a8a77;stroke-width:0.32000002" />
58
- <path
59
- id="path5067"
60
- d="M 0.64000004,55.040698 V 0.32 H 42.494717 84.349436 l 2.305325,1.4213279 C 93.887533,6.2006288 98.512695,11.772988 99.522,17.243677 c 0.52489,2.845011 0.5881,2.745152 -2.108013,3.33023 -4.882464,1.059535 -9.672704,4.151776 -12.440784,8.030892 -2.648532,3.711588 -3.696909,6.932196 -3.688468,11.330951 0.01,5.206682 1.724743,9.453527 5.274369,13.06282 3.544422,3.603996 7.459565,5.24143 12.532384,5.24143 3.537302,0 5.509302,-0.449693 8.741902,-1.993494 2.24883,-1.073978 3.20973,-1.794967 5.61246,-4.211172 2.4123,-2.425814 3.15263,-3.425785 4.40905,-5.955334 2.30861,-4.647882 2.62915,-6.224826 2.60188,-12.8 -0.0202,-4.859384 -0.13399,-6.075052 -0.86067,-9.191995 -1.90469,-8.16981 -5.7479,-15.2815157 -11.62492,-21.5114669 L 105.84248,0.32 h 19.71969 19.71967 l -0.0809,54.64 -0.0809,54.64 -72.240005,0.0807 -72.24000496,0.0807 z M 66.320005,85.627027 c 1.54,-2.886077 2.8,-5.330752 2.8,-5.432614 0,-0.101859 -0.828,-0.604487 -1.84,-1.116944 C 59.976014,75.378848 53.754919,69.580317 51.596247,64.459014 50.838291,62.660819 50.122083,58.84616 50.486442,58.54799 c 0.128457,-0.105123 1.169562,-0.374134 2.313562,-0.597801 5.738413,-1.121933 11.431719,-5.39913 14.069789,-10.57017 2.348554,-4.603549 2.688029,-10.05375 0.951447,-15.275245 -1.761056,-5.295089 -6.968074,-10.023931 -12.461236,-11.316889 -2.441693,-0.574716 -7.208289,-0.48966 -9.489822,0.169337 -5.817946,1.680452 -11.274663,6.581542 -14.099463,12.663796 -4.158641,8.954224 -2.099936,24.453696 4.647933,34.99312 3.888996,6.074179 10.669146,12.6735 17.661352,17.190316 3.530326,2.280516 8.499123,5.036576 9.12,5.058624 0.176,0.0062 1.58,-2.349974 3.120001,-5.236051 z"
61
- style="fill:#397282;stroke-width:0.32000002" />
62
- <path
63
- id="path5065"
64
- d="M 0.64000004,54.88 V 0.32 H 42.510662 84.381321 l 3.489344,2.3008388 C 94.934394,7.2785939 98.893559,12.597075 99.67648,18.48 c 0.201124,1.511231 0.163028,1.68 -0.379212,1.68 -1.335655,0 -4.567089,1.039726 -7.12643,2.292955 -4.891962,2.395438 -9.057479,7.44279 -10.401748,12.603781 -0.626598,2.40568 -0.62767,7.145971 -0.0022,9.596032 1.674353,6.558346 7.033834,11.902432 13.316037,13.277779 2.893299,0.633421 8.281813,0.260887 10.926673,-0.755417 6.98974,-2.68586 12.56014,-9.511092 14.19367,-17.391056 C 120.89276,36.458227 120.64066,28.280669 119.72657,24.32 117.8763,16.302971 114.14018,9.2092294 108.60312,3.2 l -2.50628,-2.72 19.3224,-0.0825181 c 10.62732,-0.0453849 19.37277,-0.0321527 19.43433,0.029405 0.0768,0.0767908 0.17641,99.1065181 0.10927,108.6131131 -0.002,0.31881 -14.64967,0.4 -72.162835,0.4 H 0.64000004 Z M 66.387413,85.63321 c 1.502924,-2.87352 2.731939,-5.352522 2.731145,-5.508896 -6.4e-4,-0.156372 -1.209021,-0.901053 -2.684944,-1.654842 -9.246906,-4.722624 -15.873611,-12.52151 -15.873611,-18.681456 0,-1.066845 0.107828,-1.239162 0.880001,-1.406288 2.07638,-0.449408 5.448461,-1.53512 6.636128,-2.136646 C 62.54651,53.980947 66.771537,49.03887 68.245688,44.349603 69.223093,41.24047 69.216411,36.321382 68.230424,33.12 65.685982,24.858457 58.17379,19.669385 49.659741,20.292236 c -5.227469,0.382418 -8.781386,2.130429 -13.066785,6.426959 -2.49591,2.502394 -3.139805,3.378451 -4.37153,5.947727 -2.437771,5.084992 -3.147685,9.71102 -2.488361,16.214972 1.534132,15.133572 9.410579,27.113248 24.316731,36.984519 3.282864,2.174003 9.035543,5.343337 9.3481,5.150166 0.141305,-0.08733 1.486588,-2.509846 2.989513,-5.383369 z"
65
- style="fill:#00506f;stroke-width:0.32000002" />
66
- </g>
67
- </g>
68
- </svg>
1
+
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="141.76" height="51.84"><path d="M118.08 51.307c-2.96-.466-5.722-1.34-8.61-2.728-2.921-1.403-3.693-1.96-6.273-4.53-4.413-4.392-6.487-8.676-7.187-14.841-1.036-9.11 2.727-18.083 9.814-23.408C110.372 2.383 115.06.734 121.12.42c5.718-.298 9.563.41 16.4 3.017l2.96 1.129v8.198l-3.636-1.75c-5.056-2.43-8.904-3.382-13.804-3.414-3.37-.022-4.147.08-6.345.834-3.153 1.081-5.327 2.478-7.597 4.88-3.188 3.374-4.692 6.781-4.999 11.328-.647 9.584 5.026 17.341 14.171 19.376 3.191.71 8.535.495 12.127-.487 1.406-.384 2.742-.853 2.968-1.04.308-.257.39-1.478.324-4.856l-.089-4.514-1.2-.1-1.2-.099V25.92h10.24v21.704l-2.482.948c-2.918 1.114-7.019 2.17-10.158 2.617-2.146.305-9.048.381-10.72.118zM.32 25.61V0h8.324l-.082 25.52-.082 25.52-4.08.09-4.08.09zM19.84 25.6V0h24.342l-.091 3.44L44 6.88l-8.08.086-8.08.085V22.4h14.08v7.04H27.84V51.2h-8z"/><path fill="#bd1717" d="M69.8.584C69.642.412 53.425 29.753 43.737 47.74l-1.861 3.46h27.729c15.25 0 27.681-.119 27.623-.264C97.002 50.378 69.992.789 69.8.584zm-.136 14.965c.31.036 15.425 27.646 15.443 28.21.01.315-3.298.401-15.507.401-9.638 0-15.52-.115-15.52-.305 0-.521 15.314-28.337 15.584-28.306z"/></svg>
@@ -1,59 +1 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <svg
3
- xmlns:dc="http://purl.org/dc/elements/1.1/"
4
- xmlns:cc="http://creativecommons.org/ns#"
5
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
- xmlns:svg="http://www.w3.org/2000/svg"
7
- xmlns="http://www.w3.org/2000/svg"
8
- viewBox="0 0 2800 2800"
9
- height="2800"
10
- width="2800"
11
- id="svg4818"
12
- version="1.1">
13
- <metadata
14
- id="metadata4824">
15
- <rdf:RDF>
16
- <cc:Work
17
- rdf:about="">
18
- <dc:format>image/svg+xml</dc:format>
19
- <dc:type
20
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
21
- <dc:title></dc:title>
22
- </cc:Work>
23
- </rdf:RDF>
24
- </metadata>
25
- <defs
26
- id="defs4822" />
27
- <g
28
- transform="matrix(41.362908,0,0,41.362908,186.21928,-113016.15)"
29
- id="g4844">
30
- <path
31
- id="path4858"
32
- d="m 0,2770.6386 v -29.3615 H 9.0486054 18.09721 l 0.0085,27.8694 0.0085,27.8694 11.288049,-6.5164 11.288048,-6.5163 0.01005,-21.3446 0.01005,-21.3446 8.989429,-0.01 8.989429,-0.01 v 29.3616 29.3616 H 29.344609 0 Z m 21.589829,-4.5176 0.0085,-24.7832 7.746301,-4.447 c 4.260465,-2.4458 7.803382,-4.4767 7.87315,-4.513 l 0.126849,-0.066 v 24.8051 24.8052 l -7.835549,4.464 c -4.309552,2.4553 -7.856285,4.4763 -7.881629,4.4912 -0.03888,0.023 -0.04476,-3.848 -0.0376,-24.7561 z"
33
- style="fill:#c1cadc;stroke-width:0.03382664" />
34
- <path
35
- id="path4856"
36
- d="m 0,2770.6555 v -29.3446 H 9.0486054 18.09721 l 0.0085,27.8556 0.0085,27.8556 11.298097,-6.5259 11.298097,-6.5258 0.0085,-21.3298 0.0085,-21.3297 h 8.980946 8.980945 v 29.3446 29.3446 H 29.344609 0 Z m 21.581395,-4.5315 v -24.7705 l 7.77167,-4.4593 c 4.274419,-2.4527 7.821142,-4.4883 7.881607,-4.5236 l 0.109936,-0.064 -6.76e-4,24.8067 -6.43e-4,24.8068 -3.001454,1.7078 c -1.650798,0.9394 -5.197223,2.9587 -7.880944,4.4874 l -4.879496,2.7794 z"
37
- style="fill:#a2afc9;stroke-width:0.03382664" />
38
- <path
39
- id="path4854"
40
- d="m 0,2770.6555 v -29.3446 H 9.0486054 18.09721 l 0.0085,27.8567 0.0085,27.8568 11.298097,-6.5258 11.298097,-6.5258 0.0085,-21.331 0.0085,-21.3309 h 8.980966 8.980962 l -0.0085,29.3361 -0.0085,29.3362 -29.336152,0.01 L 0,2800.0001 Z m 21.581395,-4.5443 v -24.7556 l 7.802338,-4.479 c 4.291285,-2.4635 7.838007,-4.4985 7.881606,-4.5224 l 0.07927,-0.043 -0.0011,24.8045 -0.0011,24.8045 -7.858778,4.4735 c -4.322328,2.4605 -7.868559,4.4736 -7.880514,4.4736 -0.01196,0 -0.02174,-11.14 -0.02174,-24.7557 z"
41
- style="fill:#8495b9;stroke-width:0.03382664" />
42
- <path
43
- id="path4852"
44
- d="m 0,2770.6386 v -29.3277 h 9.0486257 9.0486253 v 27.8562 c 0,15.321 0.0061,27.8563 0.01355,27.8563 0.0074,0 5.095398,-2.9354 11.306553,-6.523 l 11.293009,-6.5229 0.0085,-21.3333 0.0085,-21.3333 h 8.980946 8.980945 v 29.3277 29.3277 H 29.344609 0 Z m 21.581395,-4.5248 v -24.7532 l 7.83714,-4.4984 c 4.310426,-2.4742 7.857158,-4.5034 7.881629,-4.5094 0.03674,-0.01 0.04301,4.3047 0.03601,24.7772 l -0.0085,24.7881 -7.84778,4.4725 c -4.316279,2.4599 -7.859196,4.4734 -7.87315,4.4744 -0.01395,0 -0.02537,-11.137 -0.02537,-24.7512 z"
45
- style="fill:#7487b0;stroke-width:0.03382664" />
46
- <path
47
- id="path4850"
48
- d="m 0,2770.6386 v -29.3277 h 9.0486257 9.0486253 v 27.8598 c 0,22.2746 0.0085,27.8564 0.04228,27.8427 0.02326,-0.01 5.111205,-2.9456 11.306553,-6.5248 l 11.264271,-6.5075 0.0085,-21.3351 0.0085,-21.3351 h 8.980946 8.980945 v 29.3277 29.3277 H 29.344609 0 Z m 21.5819,-4.5243 5.05e-4,-24.7527 7.824313,-4.4892 c 4.303372,-2.4691 7.849877,-4.499 7.881126,-4.511 0.05317,-0.02 0.05627,1.5667 0.04833,24.7655 l -0.0085,24.7873 -7.858553,4.4763 c -4.322204,2.462 -7.865121,4.4764 -7.87315,4.4764 -0.008,0 -0.01437,-11.1387 -0.01409,-24.7526 z"
49
- style="fill:#466196;stroke-width:0.03382664" />
50
- <path
51
- id="path4848"
52
- d="m 0,2770.6386 v -29.3277 h 9.0486257 9.0486253 v 27.859 c 0,20.4482 0.01002,27.8558 0.03766,27.8465 0.02071,-0.01 5.111942,-2.9422 11.313842,-6.5229 l 11.276181,-6.5103 0.0012,-21.3362 0.0012,-21.3361 h 8.964059 8.964059 v 29.3277 29.3277 H 29.327695 0 Z m 21.582722,-4.5237 0.0013,-24.7533 7.685777,-4.4076 c 4.227177,-2.4242 7.765691,-4.4538 7.863366,-4.5102 l 0.17759,-0.1026 v 24.7893 24.7893 l -7.717396,4.3974 c -4.244797,2.4186 -7.783857,4.432 -7.864808,4.4743 l -0.147183,0.077 0.0013,-24.7533 z"
53
- style="fill:#2a4886;stroke-width:0.03382664" />
54
- <path
55
- id="path4846"
56
- d="m 0,2770.6386 v -29.3277 H 9.0486054 18.09721 l 0.0085,27.8658 0.0085,27.8659 11.306199,-6.5297 11.306201,-6.5297 3.38e-4,-21.3362 3.69e-4,-21.3361 h 8.964059 8.964059 v 29.3277 29.3277 H 29.327695 0 Z m 21.589829,-4.5218 0.0085,-24.7523 7.79704,-4.4766 c 4.288372,-2.4621 7.823679,-4.4916 7.856237,-4.51 0.05636,-0.032 0.05915,1.1566 0.05825,24.7542 l -9.47e-4,24.7877 -7.782283,4.4313 c -4.280254,2.4372 -7.818952,4.4508 -7.863772,4.4746 l -0.08149,0.043 0.0085,-24.7523 z"
57
- style="fill:#082b73;stroke-width:0.03382664" />
58
- </g>
59
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="2800" height="2800"><path fill="#c1cadc" d="M186.22 1585.52V371.042h748.553l.351 1152.76.352 1152.76 466.906-269.538 466.907-269.533.415-882.875.416-882.874 371.829-.414 371.829-.414V2799.877H186.219zm893.017-186.862l.352-1025.105 320.41-183.94c176.225-101.166 322.77-185.17 325.656-186.671l5.247-2.73v2052.026L1406.8 2236.882c-178.256 101.558-324.96 185.153-326.007 185.769-1.609.951-1.852-159.164-1.556-1023.984z"/><path fill="#a2afc9" d="M186.22 1586.219V372.44h748.553l.351 1152.188.352 1152.189 467.322-269.93 467.322-269.926.352-882.263.351-882.258h742.956v2427.556H186.22zm892.669-187.436V374.203l321.458-184.45c176.803-101.45 323.506-185.65 326.007-187.11l4.547-2.646-.028 1026.077-.027 1026.081-124.149 70.64c-68.281 38.856-214.972 122.38-325.978 185.612l-201.83 114.964z"/><path fill="#8495b9" d="M186.22 1586.219V372.44h748.553l.351 1152.234.352 1152.238 467.322-269.926 467.322-269.926.352-882.312.351-882.308h742.958l-.352 1213.426-.351 1213.43-1213.429.414-1213.43.286zm892.669-187.966V374.29l322.727-185.264c177.5-101.898 324.203-186.071 326.006-187.06l3.279-1.778-.046 1025.986-.045 1025.986-325.062 185.037c-178.784 101.774-325.466 185.041-325.961 185.041-.495 0-.9-460.782-.9-1023.967z"/><path fill="#7487b0" d="M186.22 1585.52V372.44h748.554v1152.214c0 633.721.253 1152.218.56 1152.218.307 0 210.761-121.417 467.673-269.81l467.111-269.807.352-882.407.351-882.407h742.956v2426.157H186.22zm892.669-187.16V374.497l324.166-186.067C1581.347 86.09 1728.05 2.156 1729.063 1.907c1.52-.413 1.779 178.055 1.489 1024.858l-.352 1025.307-324.607 184.996c-178.533 101.749-325.079 185.033-325.656 185.074-.577 0-1.05-460.658-1.05-1023.781z"/><path fill="#466196" d="M186.22 1585.52V372.44h748.554v1152.363c0 921.342.352 1152.222 1.749 1151.655.962-.414 211.414-121.839 467.672-269.885l465.923-269.169.352-882.482.351-882.481h742.956v2426.157H186.22zm892.69-187.139l.02-1023.843 323.637-185.687c178-102.129 324.693-186.091 325.986-186.588 2.2-.827 2.327 64.803 1.999 1024.373l-.352 1025.275-325.052 185.153c-178.78 101.835-325.324 185.157-325.657 185.157-.33 0-.594-460.73-.582-1023.84z"/><path fill="#2a4886" d="M186.22 1585.52V372.44h748.554v1152.33c0 845.797.415 1152.197 1.558 1151.812.857-.414 211.445-121.698 467.973-269.806l466.416-269.285.05-882.527.05-882.523h741.559v2426.157H186.218zm892.723-187.114l.054-1023.868 317.906-182.311C1571.752 91.955 1718.115 8.004 1722.155 5.672l7.346-4.244v2050.715l-319.214 181.889c-175.577 100.04-321.963 183.32-325.312 185.07l-6.088 3.185.054-1023.868z"/><path fill="#082b73" d="M186.22 1585.52V372.44h748.553l.351 1152.611.352 1152.615 467.657-270.088 467.657-270.087.014-882.527.016-882.523h741.559v2426.157H186.219zm893.017-187.035l.352-1023.827 322.508-185.166c177.38-101.84 323.61-185.785 324.957-186.546 2.331-1.324 2.447 47.84 2.41 1023.905l-.04 1025.292-321.898 183.291c-177.043 100.81-323.414 184.098-325.268 185.083l-3.37 1.778.35-1023.827z"/></svg>
@@ -1,63 +1 @@
1
-
2
- <svg
3
- xmlns:dc="http://purl.org/dc/elements/1.1/"
4
- xmlns:cc="http://creativecommons.org/ns#"
5
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
- xmlns:svg="http://www.w3.org/2000/svg"
7
- xmlns="http://www.w3.org/2000/svg"
8
- viewBox="0 0 2800 2800"
9
- height="2800"
10
- width="2800"
11
- id="svg4683"
12
- version="1.1">
13
- <metadata
14
- id="metadata4689">
15
- <rdf:RDF>
16
- <cc:Work
17
- rdf:about="">
18
- <dc:format>image/svg+xml</dc:format>
19
- <dc:type
20
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
21
- <dc:title></dc:title>
22
- </cc:Work>
23
- </rdf:RDF>
24
- </metadata>
25
- <defs
26
- id="defs4687" />
27
- <g
28
- style="display:inline"
29
- id="layer1">
30
- <g
31
- transform="matrix(10.789718,0,0,10.789718,6.8581151,-27221.722)"
32
- id="g4716">
33
- <path
34
- id="path4730"
35
- d="m 41.333332,2780.0914 c -3.622669,-1.9076 -24.744287,-8.9941 -38.2935999,-12.8479 -2.30268148,-0.6549 -3.6956523,-7.246 -2.06759675,-9.7832 1.11312395,-1.7348 3.85406295,-2.0995 14.86300565,-1.9781 10.211221,0.1127 13.498192,-0.27 13.498192,-1.5714 0,-4.2038 4.259119,-6.1414 12.504359,-5.6886 7.225941,0.3969 8.143233,0.1591 8.572845,-2.2222 0.725606,-4.0221 4.0541,-5.9738 8.627761,-5.0591 6.962704,1.3926 2.967252,-1.7443 -6.461454,-5.0729 -9.840565,-3.474 -11.882344,-5.7764 -9.416882,-10.6191 1.394462,-2.7391 2.479471,-3.1884 6.913705,-2.8632 17.965025,1.3174 45.994461,15.9312 60.278263,31.4272 6.35152,6.8906 6.87701,9.8838 2.87266,16.363 -3.22677,5.221 -5.83978,5.6302 -10.14225,1.5883 l -3.089535,-2.9025 -4.766967,5.5691 c -5.301115,6.1932 -7.656395,6.7375 -12.559173,2.9025 -4.265576,-3.3366 -6.274467,-3.3362 -7.333783,0 -1.639063,5.1643 -5.347429,5.7073 -12.886225,1.8871 l -6.933608,-3.5135 -2.534401,3.4792 c -2.968904,4.0757 -5.281236,4.2552 -11.645316,0.904 z m 86.185528,-121.7243 c -0.58226,-77.9982 -1.4,-123.4483 -2.23615,-124.2844 -0.86872,-0.8687 -4.83566,2.0811 -11.63379,8.651 -15.504063,14.9834 -22.03755,20.7726 -21.482262,19.0349 0.879961,-2.7538 33.398742,-39.2473 34.603822,-38.8334 1.74899,0.6006 63.89618,71.8632 63.89618,73.268 0,0.6703 -1.4853,4.1499 -3.30066,7.7323 -11.30628,22.3119 -35.22504,95.9453 -54.05196,166.3978 -1.61673,6.05 -3.3755,11 -3.90837,11 -0.53287,0 -1.38193,-55.3348 -1.88681,-122.9662 z m 57.71474,118.4299 c -3.23936,-5.4903 -4.41374,-5.7595 -9.75754,-2.2366 -2.12149,1.3986 -4.69368,2.222 -5.71597,1.8297 -2.52887,-0.9704 -6.12233,-8.1896 -5.23175,-10.5105 1.17931,-3.0732 -1.45625,-2.1541 -6.48554,2.2616 -5.53311,4.8582 -7.84999,4.4183 -10.9482,-2.0788 -2.96466,-6.2169 -1.17891,-9.5901 9.941,-18.7782 14.92406,-12.3313 55.61075,-30.7014 62.30713,-28.1318 4.47234,1.7162 4.08832,10.6687 -0.52039,12.1315 -1.43144,0.4543 -2.85371,2.5395 -3.31901,4.866 -0.44782,2.2391 -1.9894,5.0714 -3.42575,6.2939 -1.90736,1.6235 -2.40321,3.2353 -1.83895,5.9776 0.74226,3.6073 0.98828,3.714 6.26698,2.7166 3.0219,-0.5709 7.88049,-1.0606 10.79684,-1.0881 4.54364,-0.043 5.5668,0.4978 7.14977,3.7774 1.73775,3.6004 2.2056,3.7783 7.8868,2.9996 3.32171,-0.4553 8.39452,-0.1937 11.27292,0.5814 5.01079,1.3493 5.19405,1.5904 4.30755,5.6671 -2.19147,10.0778 -1.81031,9.8286 -16.15018,10.5575 -9.25234,0.4703 -16.14742,1.6996 -23.46405,4.1832 -12.43533,4.2212 -13.19807,4.263 -15.33569,0.8401 -1.59614,-2.5558 -1.89764,-2.5805 -6.65407,-0.5456 -2.7402,1.1723 -5.71778,2.4357 -6.61688,2.8075 -0.90064,0.3724 -2.90565,-1.4781 -4.46502,-4.1211 z"
36
- style="fill:#989899;stroke-width:1.33333325" />
37
- <path
38
- id="path4728"
39
- d="m 34.98486,2776.4396 c -6.058325,-2.5112 -16.13411,-5.8873 -22.390633,-7.5027 -9.438404,-2.4368 -11.5037476,-3.4473 -12.12865651,-5.934 -1.70681479,-6.7918 -0.25242767,-7.4431 14.89496651,-6.67 l 13.965153,0.7127 1.721303,-3.5228 c 1.632281,-3.3407 2.186245,-3.5076 10.711478,-3.2278 8.988988,0.295 8.990281,0.2945 9.782518,-3.6667 0.87401,-4.37 0.94817,-4.399 10.459009,-4.0874 5.94727,0.1949 6.411847,0.015 4.305239,-1.6621 -1.298785,-1.0343 -6.835913,-3.5889 -12.304729,-5.6769 -10.508053,-4.012 -12.20894,-5.7421 -9.895185,-10.0654 1.21017,-2.2612 2.281774,-2.5388 6.995218,-1.8116 19.106133,2.9474 46.051658,17.2963 58.634099,31.2236 5.60431,6.2033 6.16972,10.185 2.16858,15.2716 -3.43665,4.369 -4.49457,4.3746 -9.63346,0.05 l -4.115189,-3.4626 -1.157376,3.1286 c -1.578321,4.2666 -6.338973,9.1365 -8.896283,9.1004 -1.155502,-0.016 -3.600914,-1.2029 -5.434247,-2.6369 -4.446582,-3.4782 -5.227944,-3.3571 -9.236232,1.4317 l -3.430435,4.0984 -7.333333,-3.4358 -7.333333,-3.4358 -2.716753,3.3374 c -3.364483,4.1331 -4.051779,4.0724 -17.631719,-1.5563 z m 168.72788,1.9631 c -1.91616,-2.8859 -2.03629,-2.8961 -7.87388,-0.6667 -7.92252,3.0257 -8.57877,2.9156 -10.51738,-1.7647 -2.32468,-5.6122 -3.20191,-5.8366 -9.23999,-2.3632 -4.98215,2.8659 -5.45831,2.9173 -7.56108,0.8157 -1.23425,-1.2335 -2.60627,-4.4286 -3.04892,-7.1002 l -0.80483,-4.8574 -5.65512,4.1002 c -3.11032,2.2551 -6.16732,4.1002 -6.79334,4.1002 -1.68787,0 -5.10822,-4.2466 -6.13436,-7.6163 -1.12486,-3.6938 7.0757,-13.0231 17.91438,-20.3803 16.17467,-10.9791 43.752,-22.67 53.47556,-22.67 3.52649,0 3.85955,0.4051 3.85955,4.6952 0,3.7144 -0.69636,5.0125 -3.33334,6.214 -2.40206,1.0945 -3.33333,2.5634 -3.33333,5.2579 0,2.3744 -0.97323,4.2599 -2.66667,5.1662 -1.67954,0.8989 -2.66666,2.7918 -2.66666,5.1136 0,5.275 2.09061,6.8654 7.1261,5.4213 2.3043,-0.6609 6.99359,-1.2016 10.42064,-1.2016 5.54463,0 6.3599,0.3866 7.40084,3.5095 1.12907,3.3872 1.54711,3.5149 12.00098,3.6666 5.95714,0.087 11.24793,0.5745 11.7573,1.0844 0.50938,0.5099 0.10894,3.5099 -0.88986,6.6666 l -1.816,5.7396 -11.33334,0.8707 c -12.00924,0.9227 -26.13582,4.0968 -32.208,7.2369 -4.87928,2.5231 -5.79253,2.4058 -8.07925,-1.0382 z m -72.8927,-51.7361 c -0.0858,-23.8333 -0.55387,-77.1033 -1.04018,-118.3777 -0.92172,-78.2273 -1.22403,-81.9566 -6.30225,-77.742 -1.17935,0.9788 -2.14428,1.1991 -2.14428,0.4896 0,-1.5016 5.11505,-6.3947 5.83732,-5.5839 18.02425,20.2325 59.92941,68.792 60.38128,69.9696 0.34639,0.9026 -0.89641,4.6529 -2.76175,8.334 -9.63596,19.0157 -24.09602,61.6814 -41.43024,122.2438 -6.08696,21.2666 -11.36347,39.8666 -11.72557,41.3333 -0.36211,1.4667 -0.72855,-16.8333 -0.81433,-40.6667 z"
40
- style="fill:#e15e5e;stroke-width:1.33333325" />
41
- <path
42
- id="path4726"
43
- d="m 34.98486,2776.4396 c -6.058325,-2.5112 -16.13411,-5.8873 -22.390633,-7.5027 -9.438404,-2.4368 -11.5037476,-3.4473 -12.12865651,-5.934 -1.70681479,-6.7918 -0.25242767,-7.4431 14.89496651,-6.67 l 13.965153,0.7127 1.721303,-3.5228 c 1.632281,-3.3407 2.186245,-3.5076 10.711478,-3.2278 8.988988,0.295 8.990281,0.2945 9.782518,-3.6667 0.87401,-4.37 0.94817,-4.399 10.459009,-4.0874 5.94727,0.1949 6.411847,0.015 4.305239,-1.6621 -1.298785,-1.0343 -6.835913,-3.5889 -12.304729,-5.6769 -10.508053,-4.012 -12.20894,-5.7421 -9.895185,-10.0654 1.21017,-2.2612 2.281774,-2.5388 6.995218,-1.8116 19.106133,2.9474 46.051658,17.2963 58.634099,31.2236 5.60431,6.2033 6.16972,10.185 2.16858,15.2716 -3.43665,4.369 -4.49457,4.3746 -9.63346,0.05 l -4.115189,-3.4626 -1.157376,3.1286 c -1.578321,4.2666 -6.338973,9.1365 -8.896283,9.1004 -1.155502,-0.016 -3.600914,-1.2029 -5.434247,-2.6369 -4.446582,-3.4782 -5.227944,-3.3571 -9.236232,1.4317 l -3.430435,4.0984 -7.333333,-3.4358 -7.333333,-3.4358 -2.716753,3.3374 c -3.364483,4.1331 -4.051779,4.0724 -17.631719,-1.5563 z M 186.48512,2774 c -1.9798,-5.4751 -4.74806,-5.9578 -11.22182,-1.9568 l -4.3848,2.71 -2.10592,-3.0066 c -2.71693,-3.879 -2.66893,-4.4264 0.79938,-9.1176 1.5979,-2.1613 2.55366,-4.2812 2.1239,-4.711 -1.06102,-1.061 -7.25493,2.2731 -13.56984,7.3045 -4.90628,3.909 -5.34946,4.0202 -7.66666,1.9232 -3.86664,-3.4993 -2.96032,-7.6644 2.9549,-13.5796 6.7626,-6.7626 16.16384,-13.0179 29.91907,-19.9071 11.9098,-5.9649 32.18926,-12.7942 34.90164,-11.7534 3.06038,1.1744 2.02881,6.0601 -1.56831,7.4277 -2.43503,0.9258 -3.33333,2.2509 -3.33333,4.9169 0,2.3075 -1.24634,4.6487 -3.38908,6.3663 -3.05123,2.446 -3.27607,3.2485 -2.25544,8.0501 1.26133,5.9342 0.82334,5.8219 15.64452,4.011 l 8,-0.9774 1.51164,4.046 1.51162,4.046 11.48838,-0.4007 c 11.3748,-0.3968 11.48836,-0.3688 11.48836,2.8263 0,6.1223 -3.58888,8.0159 -16.73204,8.8284 -7.76178,0.4798 -15.91831,2.0193 -22.86723,4.3159 l -10.80185,3.5701 -2.76628,-2.7663 -2.76627,-2.7663 -6.14371,2.6335 c -3.37903,1.4484 -6.35513,2.6335 -6.61353,2.6335 -0.2584,0 -1.22918,-2.1 -2.1573,-4.6666 z m -55.66508,-47.3334 c -0.0858,-23.8333 -0.55387,-77.1033 -1.04018,-118.3777 -0.92172,-78.2273 -1.22403,-81.9566 -6.30225,-77.742 -1.17935,0.9788 -2.14428,1.1991 -2.14428,0.4896 0,-1.5016 5.11505,-6.3947 5.83732,-5.5839 18.02425,20.2325 59.92941,68.792 60.38128,69.9696 0.34639,0.9026 -0.89641,4.6529 -2.76175,8.334 -9.63596,19.0157 -24.09602,61.6814 -41.43024,122.2438 -6.08696,21.2666 -11.36347,39.8666 -11.72557,41.3333 -0.36211,1.4667 -0.72855,-16.8333 -0.81433,-40.6667 z"
44
- style="fill:#7f7f7f;stroke-width:1.33333325" />
45
- <path
46
- id="path4724"
47
- d="m 34.98486,2776.4396 c -6.058325,-2.5112 -16.13411,-5.8873 -22.390633,-7.5027 -9.438404,-2.4368 -11.5037476,-3.4473 -12.12865651,-5.934 -1.70681479,-6.7918 -0.25242767,-7.4431 14.89496651,-6.67 l 13.965153,0.7127 1.721303,-3.5228 c 1.632281,-3.3407 2.186245,-3.5076 10.711478,-3.2278 8.988988,0.295 8.990281,0.2945 9.782518,-3.6667 0.87401,-4.37 0.94817,-4.399 10.459009,-4.0874 5.94727,0.1949 6.411847,0.015 4.305239,-1.6621 -1.298785,-1.0343 -6.835913,-3.5889 -12.304729,-5.6769 -10.508053,-4.012 -12.20894,-5.7421 -9.895185,-10.0654 1.21017,-2.2612 2.281774,-2.5388 6.995218,-1.8116 19.106133,2.9474 46.051658,17.2963 58.634099,31.2236 5.60431,6.2033 6.16972,10.185 2.16858,15.2716 -3.43665,4.369 -4.49457,4.3746 -9.63346,0.05 l -4.115189,-3.4626 -1.157376,3.1286 c -1.578321,4.2666 -6.338973,9.1365 -8.896283,9.1004 -1.155502,-0.016 -3.600914,-1.2029 -5.434247,-2.6369 -4.446582,-3.4782 -5.227944,-3.3571 -9.236232,1.4317 l -3.430435,4.0984 -7.333333,-3.4358 -7.333333,-3.4358 -2.716753,3.3374 c -3.364483,4.1331 -4.051779,4.0724 -17.631719,-1.5563 z M 186.48512,2774 c -1.9798,-5.4751 -4.74806,-5.9578 -11.22182,-1.9568 l -4.3848,2.71 -2.10592,-3.0066 c -2.71693,-3.879 -2.66893,-4.4264 0.79938,-9.1176 1.5979,-2.1613 2.55366,-4.2812 2.1239,-4.711 -1.06102,-1.061 -7.25493,2.2731 -13.56984,7.3045 -4.90628,3.909 -5.34946,4.0202 -7.66666,1.9232 -3.86664,-3.4993 -2.96032,-7.6644 2.9549,-13.5796 6.7626,-6.7626 16.16384,-13.0179 29.91907,-19.9071 11.9098,-5.9649 32.18926,-12.7942 34.90164,-11.7534 3.06038,1.1744 2.02881,6.0601 -1.56831,7.4277 -2.43503,0.9258 -3.33333,2.2509 -3.33333,4.9169 0,2.3075 -1.24634,4.6487 -3.38908,6.3663 -3.05123,2.446 -3.27607,3.2485 -2.25544,8.0501 1.26133,5.9342 0.82334,5.8219 15.64452,4.011 l 8,-0.9774 1.51164,4.046 1.51162,4.046 11.48838,-0.4007 c 11.3748,-0.3968 11.48836,-0.3688 11.48836,2.8263 0,6.1223 -3.58888,8.0159 -16.73204,8.8284 -7.76178,0.4798 -15.91831,2.0193 -22.86723,4.3159 l -10.80185,3.5701 -2.76628,-2.7663 -2.76627,-2.7663 -6.14371,2.6335 c -3.37903,1.4484 -6.35513,2.6335 -6.61353,2.6335 -0.2584,0 -1.22918,-2.1 -2.1573,-4.6666 z"
48
- style="fill:#5e5eab;stroke-width:1.33333325" />
49
- <path
50
- id="path4722"
51
- d="m 37.254226,2775.9318 c -10.701131,-4.6449 -31.8851285,-10.8975 -34.0746011,-10.0574 -1.7747728,0.6811 -3.5654594,-4.6508 -2.49706182,-7.4352 0.53419932,-1.3921 3.61025002,-1.5931 14.33214292,-0.9364 7.508579,0.4599 14.138969,0.5516 14.734204,0.2038 0.595235,-0.3478 1.662531,-2.1586 2.371769,-4.0241 1.256993,-3.3061 1.521341,-3.3701 10.478597,-2.5376 l 9.189073,0.854 0.875074,-3.9842 c 1.136104,-5.1726 1.531012,-5.3411 9.172734,-3.9135 13.144829,2.4557 9.962785,-3.2469 -4.991241,-8.9449 -11.12812,-4.2402 -13.266858,-5.8387 -12.051041,-9.007 0.728061,-1.8973 1.900236,-2.1688 6.382325,-1.4783 18.274578,2.8154 41.113932,14.5558 55.73812,28.6516 6.91386,6.6641 7.98015,10.5218 4.34341,15.714 -2.68148,3.8284 -4.72982,3.7401 -8.59107,-0.37 -3.777519,-4.021 -8.578365,-4.5894 -7.399824,-0.8761 0.955411,3.0102 -3.881146,9.5549 -7.030278,9.5131 -1.230108,-0.016 -3.73656,-1.2029 -5.569893,-2.637 -4.49571,-3.5166 -5.443291,-3.3679 -9.427762,1.4791 -3.401782,4.1382 -3.459821,4.1532 -7.657617,1.9825 -9.406857,-4.8645 -10.750358,-5.0041 -13.849927,-1.4393 -3.47771,3.9997 -3.523842,3.9973 -14.477133,-0.7571 z M 186.48512,2774 c -1.9798,-5.4751 -4.74806,-5.9578 -11.22182,-1.9568 l -4.3848,2.71 -2.10592,-3.0066 c -2.71693,-3.879 -2.66893,-4.4264 0.79938,-9.1176 1.5979,-2.1613 2.55366,-4.2812 2.1239,-4.711 -1.06102,-1.061 -7.25493,2.2731 -13.56984,7.3045 -4.90628,3.909 -5.34946,4.0202 -7.66666,1.9232 -3.86664,-3.4993 -2.96032,-7.6644 2.9549,-13.5796 6.7626,-6.7626 16.16384,-13.0179 29.91907,-19.9071 11.9098,-5.9649 32.18926,-12.7942 34.90164,-11.7534 3.06038,1.1744 2.02881,6.0601 -1.56831,7.4277 -2.43503,0.9258 -3.33333,2.2509 -3.33333,4.9169 0,2.3075 -1.24634,4.6487 -3.38908,6.3663 -3.05123,2.446 -3.27607,3.2485 -2.25544,8.0501 1.26133,5.9342 0.82334,5.8219 15.64452,4.011 l 8,-0.9774 1.51164,4.046 1.51162,4.046 11.48838,-0.4007 c 11.3748,-0.3968 11.48836,-0.3688 11.48836,2.8263 0,6.1223 -3.58888,8.0159 -16.73204,8.8284 -7.76178,0.4798 -15.91831,2.0193 -22.86723,4.3159 l -10.80185,3.5701 -2.76628,-2.7663 -2.76627,-2.7663 -6.14371,2.6335 c -3.37903,1.4484 -6.35513,2.6335 -6.61353,2.6335 -0.2584,0 -1.22918,-2.1 -2.1573,-4.6666 z"
52
- style="fill:#d30606;stroke-width:1.33333325" />
53
- <path
54
- id="path4720"
55
- d="m 37.254226,2775.9318 c -10.701131,-4.6449 -31.8851285,-10.8975 -34.0746011,-10.0574 -1.7747728,0.6811 -3.5654594,-4.6508 -2.49706182,-7.4352 0.53419932,-1.3921 3.61025002,-1.5931 14.33214292,-0.9364 7.508579,0.4599 14.138969,0.5516 14.734204,0.2038 0.595235,-0.3478 1.662531,-2.1586 2.371769,-4.0241 1.256993,-3.3061 1.521341,-3.3701 10.478597,-2.5376 l 9.189073,0.854 0.875074,-3.9842 c 1.136104,-5.1726 1.531012,-5.3411 9.172734,-3.9135 13.144829,2.4557 9.962785,-3.2469 -4.991241,-8.9449 -11.12812,-4.2402 -13.266858,-5.8387 -12.051041,-9.007 0.728061,-1.8973 1.900236,-2.1688 6.382325,-1.4783 18.274578,2.8154 41.113932,14.5558 55.73812,28.6516 6.91386,6.6641 7.98015,10.5218 4.34341,15.714 -2.68148,3.8284 -4.72982,3.7401 -8.59107,-0.37 -3.777519,-4.021 -8.578365,-4.5894 -7.399824,-0.8761 0.955411,3.0102 -3.881146,9.5549 -7.030278,9.5131 -1.230108,-0.016 -3.73656,-1.2029 -5.569893,-2.637 -4.49571,-3.5166 -5.443291,-3.3679 -9.427762,1.4791 -3.401782,4.1382 -3.459821,4.1532 -7.657617,1.9825 -9.406857,-4.8645 -10.750358,-5.0041 -13.849927,-1.4393 -3.47771,3.9997 -3.523842,3.9973 -14.477133,-0.7571 z"
56
- style="fill:#191989;stroke-width:1.33333325" />
57
- <path
58
- id="path4718"
59
- d="m 37.161316,2774.5599 c -13.832973,-6.0017 -33.2543269,-11.2335 -34.4598661,-9.2829 -0.6754266,1.0929 -1.2440205,0.6748 -1.75860384,-1.2929 -1.49914127,-5.7328 -0.44579678,-6.096 14.67311494,-5.0607 15.070296,1.0321 17.717371,0.3483 17.717371,-4.5767 0,-2.5028 0.586486,-2.6051 9.919654,-1.7305 l 9.919653,0.9296 0.875756,-4.6682 c 0.849708,-4.5293 1.020644,-4.6435 5.747013,-3.8383 9.086005,1.5481 11.537923,1.1855 11.537923,-1.706 0,-2.6084 -7.567471,-7.155 -21.08274,-12.6667 -3.590379,-1.4642 -4.594214,-2.4834 -3.746934,-3.8044 0.958296,-1.4941 2.990264,-1.3409 11.814876,0.8906 17.066777,4.3159 33.108566,13.2656 46.681467,26.0438 7.24903,6.8246 8.42431,10.2125 5.07541,14.6304 -1.74819,2.3062 -2.1211,2.2233 -7.49098,-1.6667 -7.339338,-5.3166 -9.737456,-5.3452 -8.968684,-0.1073 0.428656,2.9206 -0.222599,4.7452 -2.43593,6.8245 l -3.021008,2.8381 -4.570117,-2.8245 c -6.162725,-3.8088 -8.473141,-3.5601 -10.922026,1.1755 -1.137664,2.2 -2.240375,4 -2.450468,4 -0.210093,0 -2.744684,-1.1259 -5.632427,-2.502 -9.517359,-4.5353 -10.885705,-4.6275 -13.329602,-0.8976 -2.699499,4.1199 -3.002173,4.1048 -14.092852,-0.7071 z"
60
- style="fill:#00007e;stroke-width:1.33333325" />
61
- </g>
62
- </g>
63
- </svg>
1
+
@@ -1,59 +1 @@
1
-
2
- <svg
3
- xmlns:dc="http://purl.org/dc/elements/1.1/"
4
- xmlns:cc="http://creativecommons.org/ns#"
5
- xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
- xmlns:svg="http://www.w3.org/2000/svg"
7
- xmlns="http://www.w3.org/2000/svg"
8
- viewBox="0 0 2800 2800"
9
- height="2800"
10
- width="2800"
11
- id="svg4552"
12
- version="1.1">
13
- <metadata
14
- id="metadata4558">
15
- <rdf:RDF>
16
- <cc:Work
17
- rdf:about="">
18
- <dc:format>image/svg+xml</dc:format>
19
- <dc:type
20
- rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
21
- <dc:title></dc:title>
22
- </cc:Work>
23
- </rdf:RDF>
24
- </metadata>
25
- <defs
26
- id="defs4556" />
27
- <g
28
- transform="matrix(2.7396496,0,0,2.7396496,1.43932e-5,546.55825)"
29
- id="g4574">
30
- <path
31
- id="path4588"
32
- d="M 4.6069888,621.41821 C 4.273145,620.54823 4,606.42833 4,590.04066 c 0,-23.71523 0.2740369,-30.0232 1.3428309,-30.91022 0.9458616,-0.785 18.8364501,-1.19072 60.5186271,-1.37245 L 125.03725,557.5 117.02533,552.20114 C 96.409384,538.56636 81.578335,516.60716 74.434126,489.1396 69.191819,468.98435 69,464.49847 69,362.05719 v -94.84037 l -2.478254,-0.62201 C 62.609015,265.61278 26.441047,261.17616 16.5,260.45879 11.55,260.10159 5.8125,259.38489 3.75,258.86612 L 0,257.92291 v -49.39407 c 0,-46.17946 0.11389125,-49.42752 1.75,-49.90813 5.0334022,-1.47859 31.549047,-3.79445 70.75,-6.17927 28.41998,-1.72895 127.90079,-2.9723 140,-1.74977 l 8,0.80833 0.52012,136 c 0.5508,144.02186 0.38524,139.39239 5.24034,146.52568 4.27378,6.27921 6.92635,7.47432 16.5894,7.47432 7.77604,0 9.38176,-0.33958 15.17324,-3.20881 19.43967,-9.63088 34.85563,-31.3674 43.23474,-60.96102 2.21134,-7.81009 2.21834,-8.10585 2.72959,-115.33017 0.28192,-59.125 0.87663,-108.0625 1.32159,-108.75 0.63536,-0.98168 16.89535,-1.25 75.75,-1.25 41.21754,0 75.04974,0.1125 75.18268,0.25 0.13293,0.1375 0.47043,66.4 0.75,147.25 l 0.5083,147 7.37892,1.22109 c 8.07722,1.33665 37.07945,4.73611 49.37108,5.78697 l 7.75,0.66258 V 229.6205 5.0703675 l 2.11637,-1.1326468 C 528.65101,1.5108534 747.48867,-1.0958812 781.91552,0.86688743 852.83273,4.9100714 904.89659,30.675679 930.83211,74.563433 c 18.83012,31.864087 23.18417,79.196307 10.54842,114.670237 -3.92427,11.01709 -12.78452,27.47286 -19.88908,36.93914 -7.66087,10.20753 -21.42655,23.52128 -31.28063,30.2537 -3.96595,2.70958 -7.20889,5.18458 -7.20653,5.5 0.002,0.31542 3.26486,2.25834 7.25,4.31761 30.92673,15.98096 55.54645,50.34569 63.78419,89.03135 4.17597,19.61093 3.55448,45.24292 -1.66633,68.72453 -11.16798,50.2302 -44.04566,90.33868 -93.87215,114.51747 -15.25508,7.40268 -27.96091,12.23133 -42.5,16.15145 L 805.5,557.5 913.75,557.75446 1022,558.00893 V 590.50446 623 H 513.60699 C 50.941545,623 5.1593818,622.85773 4.6069888,621.41821 Z M 95.729673,606.44147 C 99.259842,604.12841 100,601.00741 100,588.4349 100,579.22942 99.723451,577 98.581557,577 c -1.130492,0 -1.485752,2.51691 -1.75,12.39821 -0.273605,10.23115 -0.646372,12.74552 -2.132673,14.38523 -3.795299,4.18701 -12.395885,3.37175 -14.561048,-1.38027 C 79.498985,601.00105 79,594.88333 79,588.45295 79,578.93922 78.74602,577 77.5,577 c -1.253752,0 -1.5,2.06286 -1.5,12.56574 0,7.07627 0.471258,13.4463 1.078737,14.58138 2.515648,4.70053 13.008633,5.99133 18.650936,2.29435 z m 229.134567,-0.18366 c 6.29242,-4.68419 4.97383,-11.1359 -3.05607,-14.95292 -9.93632,-4.72324 -9.70335,-12.06448 0.40636,-12.80465 5.61203,-0.41088 5.5739,-0.39326 3.48303,-1.60969 -2.44012,-1.41961 -9.0475,-0.18973 -12.16812,2.26495 -1.9073,1.50029 -2.52944,2.91752 -2.52944,5.76209 0,4.37489 1.61468,6.16383 7.77917,8.61878 9.45747,3.76633 8.10778,12.46363 -1.93416,12.46363 -4.58929,0 -5.78625,0.70998 -4.09501,2.42897 1.29967,1.321 9.36487,-0.12448 12.11424,-2.17116 z m 316.07397,-0.0974 c 6.55127,-4.79339 8.77123,-13.39577 5.59991,-21.69975 -2.05638,-5.38457 -5.95273,-7.81232 -12.53812,-7.81232 -9.9818,0 -15.52648,6.74255 -14.80912,18.00849 0.47144,7.40375 2.77539,11.2175 7.90278,13.08153 4.20215,1.52766 10.59603,0.7989 13.84455,-1.57795 z m -13.05016,-1.66004 c -4.10651,-2.23185 -6.34632,-9.55343 -4.89481,-16.00036 1.98039,-8.79602 10.88647,-12.25979 17.14478,-6.66799 2.6833,2.39753 3.24162,3.70083 3.63919,8.49495 0.27884,3.36246 -0.0417,6.89747 -0.78916,8.70189 -2.60279,6.28369 -9.2043,8.67576 -15.1,5.47151 z m 55.31646,3.45962 C 689.9151,606.09623 691,603.50836 691,589.36514 691,579.04057 690.75246,577 689.5,577 c -1.24961,0 -1.5,1.9938 -1.5,11.94424 0,11.16759 -0.15613,12.12574 -2.40108,14.73566 -3.335,3.87717 -9.91075,3.82147 -13.2947,-0.11261 C 670.17672,601.09392 670,599.97241 670,588.94424 670,578.9938 669.74961,577 668.5,577 c -1.24955,0 -1.5,1.99277 -1.5,11.9349 0,13.85804 0.78337,16.6331 5.24239,18.57103 3.94031,1.71249 6.10775,1.80227 10.96212,0.45405 z M 776.25,607.34105 c 0.4125,-0.25249 0.75,-3.62003 0.75,-7.4834 0,-5.17225 -0.32958,-6.91582 -1.25,-6.61281 -0.71086,0.23401 -1.38542,2.5234 -1.56396,5.30794 -0.43007,6.70712 -1.53136,7.76458 -7.49014,7.19202 -9.26459,-0.89021 -14.17018,-9.88724 -10.36135,-19.00307 2.26584,-5.42292 6.82224,-7.892 13.90089,-7.53278 6.3042,0.31991 7.78621,-1.18446 2.51924,-2.55727 -2.01357,-0.52483 -5.23201,-0.40766 -8.44004,0.30725 -10.21206,2.27578 -15.66379,12.60138 -11.88185,22.50426 1.93292,5.06127 3.14244,6.248 8.30773,8.15115 3.42765,1.26292 13.28353,1.08925 15.50948,-0.27329 z m 40.44133,-0.28785 C 822.00081,604.64267 825,599.21169 825,592.00772 c 0,-10.29784 -4.38326,-15.23205 -13.65023,-15.366 -5.72973,-0.0828 -8.97024,1.62688 -12.78798,6.747 -3.09502,4.15083 -2.95301,15.86179 0.24675,20.34786 3.69233,5.17667 10.8584,6.50571 17.88279,3.31662 z m -11.34238,-2.22954 c -3.83709,-1.85693 -5.66685,-6.75193 -5.15727,-13.7968 0.40275,-5.56805 0.83899,-6.66507 3.64866,-9.17551 7.02622,-6.27793 16.59607,-1.75012 17.22276,8.14865 0.45485,7.18429 -0.11284,9.24974 -3.4631,12.6 -3.60431,3.60431 -7.81779,4.36909 -12.25105,2.22366 z m 61.78642,2.59268 C 867.61092,607.12243 868,603.72102 868,599.85765 c 0,-5.17225 -0.32958,-6.91582 -1.25,-6.61281 -0.71086,0.23401 -1.38542,2.5234 -1.56396,5.30794 -0.42898,6.69017 -1.53743,7.764 -7.42987,7.19781 -7.93207,-0.76217 -12.78533,-7.45118 -11.26935,-15.532 1.48264,-7.90315 7.07873,-11.72118 16.20496,-11.0561 6.05147,0.441 6.98246,-1.69759 1.10154,-2.53038 -12.14373,-1.71964 -21.07903,5.44944 -21.07903,16.91238 0,10.54839 6.58719,15.94818 18.17108,14.89557 2.96195,-0.26914 5.77445,-0.72982 6.25,-1.02372 z M 125.21725,596.75 c 0.21649,-8.61386 0.59774,-11.25 1.62702,-11.25 0.73935,0 4.19084,4.95 7.66998,11 5.69507,9.90336 6.63278,11.03124 9.40573,11.31336 L 147,608.12672 V 592.56336 C 147,579.55033 146.75957,577 145.53275,577 c -1.18596,0 -1.52145,2.15675 -1.75,11.25 -0.20375,8.10686 -0.62774,11.25 -1.51756,11.25 -0.67914,0 -4.09892,-4.95 -7.59949,-11 -5.78034,-9.99008 -6.65394,-11.02877 -9.51519,-11.31336 L 122,576.87328 v 15.56336 C 122,605.44967 122.24043,608 123.46725,608 c 1.18596,0 1.52145,-2.15675 1.75,-11.25 z M 173,592.42668 c 0,-14.29298 -0.14388,-15.54573 -1.75,-15.23758 -1.55053,0.29747 -1.78186,1.92457 -2.02953,14.27517 C 168.91934,606.48063 169.1259,608 171.46862,608 172.77824,608 173,605.74482 173,592.42668 Z m 38.89086,0.99939 C 217.46845,577.51587 217.5892,577 215.73565,577 c -0.72226,0 -3.06117,5.25224 -5.45515,12.25 -5.56909,16.27887 -6.39647,16.29628 -11.8851,0.25 -2.78756,-8.14958 -4.63255,-12.10374 -5.75,-12.32332 -0.90497,-0.17783 -1.6454,-0.0581 -1.6454,0.26597 0,0.32412 2.32629,7.33212 5.16954,15.57333 C 201.1289,607.39081 201.44971,608 204.0604,608 c 2.60357,0 2.9424,-0.63062 7.83046,-14.57393 z M 251,607 c 0,-0.55 -2.16,-1 -4.8,-1 -5.8669,0 -7.2,-1.20349 -7.2,-6.5 0,-5.20034 1.33965,-6.5 6.7,-6.5 2.365,0 4.3,-0.45 4.3,-1 0,-0.55 -1.7632,-1 -3.91821,-1 C 239.74622,591 239,590.36777 239,585 c 0,-5.44155 0.70568,-6 7.58179,-6 2.43001,0 4.41821,-0.45 4.41821,-1 0,-0.57778 -3.16667,-1 -7.5,-1 H 236 v 15.5 15.5 h 7.5 c 4.33333,0 7.5,-0.42222 7.5,-1 z m 23,-3.91821 c 0,-10.16782 2.32038,-10.61891 8.24356,-1.6026 2.52072,3.83706 4.97007,6.48768 6.00644,6.5 2.4184,0.0288 2.30852,-0.28383 -2.5,-7.11179 l -4.25,-6.03488 2.5,-1.86471 c 5.13426,-3.82955 5.99976,-5.01801 5.98469,-8.21781 -0.0279,-5.91051 -2.97554,-7.75 -12.41895,-7.75 L 271,577 v 15.5 c 0,13.11111 0.23118,15.5 1.5,15.5 1.13001,0 1.5,-1.21313 1.5,-4.91821 z m 0.60699,-12.66358 c -0.9392,-2.44752 -0.71823,-7.34185 0.42819,-9.48395 1.05754,-1.97602 6.28745,-2.68979 8.56512,-1.16895 3.46603,2.31434 3.72194,6.84118 0.59271,10.48469 -1.959,2.28096 -8.72969,2.39977 -9.58602,0.16821 z M 351,592.5 c 0,-13.11111 -0.23118,-15.5 -1.5,-15.5 -1.26882,0 -1.5,2.38889 -1.5,15.5 0,13.11111 0.23118,15.5 1.5,15.5 1.26882,0 1.5,-2.38889 1.5,-15.5 z m 31,2.2 c 0,-14.6534 0.37997,-15.7 5.7,-15.7 1.815,0 3.3,-0.45 3.3,-1 0,-0.60317 -4.16667,-1 -10.5,-1 -6.33333,0 -10.5,0.39683 -10.5,1 0,0.55 1.485,1 3.3,1 5.32003,0 5.7,1.0466 5.7,15.7 0,11.15556 0.24185,13.3 1.5,13.3 1.25815,0 1.5,-2.14444 1.5,-13.3 z m 42,12.3 c 0,-0.55 -2.16,-1 -4.8,-1 -5.8669,0 -7.2,-1.20349 -7.2,-6.5 0,-5.29651 1.3331,-6.5 7.2,-6.5 2.64,0 4.8,-0.45 4.8,-1 0,-0.55 -2.16,-1 -4.8,-1 -5.7416,0 -7.2,-1.21533 -7.2,-6 0,-4.78467 1.4584,-6 7.2,-6 2.64,0 4.8,-0.45 4.8,-1 0,-0.57778 -3.16667,-1 -7.5,-1 H 409 v 15.5 15.5 h 7.5 c 4.33333,0 7.5,-0.42222 7.5,-1 z m 65.78984,-0.90483 c 5.14323,-2.64058 7.65731,-7.28501 7.62987,-14.09517 -0.0446,-11.0672 -4.7345,-15 -17.88759,-15 H 472 v 15.5 15.5 h 7.03984 c 4.95741,0 8.13732,-0.56346 10.75,-1.90483 z m -13.76705,-2.53523 c -1.30045,-3.42044 -1.33329,-18.61307 -0.0475,-21.99484 0.82662,-2.17418 1.59618,-2.5651 5.04966,-2.5651 2.24093,0 5.43751,0.70489 7.10353,1.56642 5.22504,2.70197 7.34284,11.0217 4.50958,17.7157 -2.05826,4.86293 -5.01628,6.95172 -10.6051,7.48874 -4.68426,0.4501 -5.0495,0.31574 -6.01013,-2.21092 z M 532,607 c 0,-0.55 -2.16,-1 -4.8,-1 -5.8669,0 -7.2,-1.20349 -7.2,-6.5 0,-5.20034 1.33965,-6.5 6.7,-6.5 2.365,0 4.3,-0.45 4.3,-1 0,-0.55 -1.7632,-1 -3.91821,-1 C 520.74622,591 520,590.36777 520,585 c 0,-5.44155 0.70568,-6 7.58179,-6 2.43001,0 4.41821,-0.45 4.41821,-1 0,-0.57778 -3.16667,-1 -7.5,-1 H 517 v 15.5 15.5 h 7.5 c 4.33333,0 7.5,-0.42222 7.5,-1 z m 63.94124,-0.46962 c 4.86411,-2.51532 5.78991,-10.42245 1.50132,-12.82247 -2.01255,-1.12627 -1.79819,-3.40981 0.55744,-5.93828 1.1,-1.18072 2,-3.1869 2,-4.45819 C 600,578.68494 596.79641,577 588,577 h -8 v 15.5 15.5 h 6.54966 c 3.80588,0 7.7402,-0.61565 9.39158,-1.46962 z M 584.2,604.8 c -0.66,-0.66 -1.2,-3.045 -1.2,-5.3 0,-2.255 0.54,-4.64 1.2,-5.3 2.09982,-2.09982 7.66609,-1.42482 10.34545,1.25455 2.99471,2.9947 3.06724,4.49683 0.38197,7.91059 -1.57676,2.00453 -2.96428,2.63486 -5.8,2.63486 -2.05008,0 -4.26742,-0.54 -4.92742,-1.2 z m -0.59301,-15.38179 C 583.27314,588.54823 583,586.56003 583,585 c 0,-5.05967 0.86754,-6 5.53556,-6 2.59538,0 4.94927,0.62769 5.89301,1.57143 2.33247,2.33247 1.98823,7.02322 -0.65108,8.87187 -2.96413,2.07616 -9.37024,2.06036 -10.1705,-0.0251 z m 133.59529,12.34183 c 0.41363,-8.66936 2.2713,-8.74231 7.76837,-0.30509 2.83316,4.34851 4.91586,6.54505 6.20583,6.54505 2.20082,0 2.06926,-0.33098 -2.83551,-7.13398 -4.10189,-5.68939 -4.14537,-6.90109 -0.32561,-9.0747 3.45678,-1.96706 5.26139,-5.84046 4.37201,-9.38405 C 731.3931,578.44579 728.28886,577 720.77749,577 H 714 v 15.5 c 0,12.88476 0.24504,15.5 1.45228,15.5 1.08275,0 1.52804,-1.58778 1.75,-6.23996 z m 0.20652,-11.1371 c -0.29063,-0.75738 -0.38901,-3.56988 -0.21861,-6.25 0.30959,-4.86941 0.3126,-4.87317 4.1579,-5.18915 4.70172,-0.38636 7.65191,1.91583 7.65191,5.9712 0,3.94136 -3.19481,6.84501 -7.53138,6.84501 -2.0764,0 -3.74911,-0.56737 -4.05982,-1.37706 z M 892.21725,596.75 c 0.22656,-9.01448 0.56999,-11.25 1.72827,-11.25 0.7982,0 4.29311,5.03783 7.80448,11.25 5.84903,10.34785 6.59516,11.25 9.30448,11.25 H 914 v -15.5 c 0,-13.32553 -0.21719,-15.5 -1.54819,-15.5 -1.30903,0 -1.52251,1.60723 -1.38198,10.40454 0.16207,10.14628 -0.33299,13.01542 -2.13928,12.39825 -0.48739,-0.16654 -3.71802,-5.25279 -7.17917,-11.30279 -5.78517,-10.11233 -6.55358,-11.02529 -9.52219,-11.31336 L 889,576.87328 v 15.56336 C 889,605.44967 889.24043,608 890.46725,608 c 1.18596,0 1.52145,-2.15675 1.75,-11.25 z M 953,607 c 0,-0.55 -2.16,-1 -4.8,-1 -5.8669,0 -7.2,-1.20349 -7.2,-6.5 0,-5.30705 1.33225,-6.5 7.25902,-6.5 2.9847,0 4.62061,-0.38574 4.24098,-1 -0.33992,-0.55 -2.52648,-1 -4.85902,-1 -5.1822,0 -6.64098,-1.31798 -6.64098,-6 0,-4.78467 1.4584,-6 7.2,-6 2.64,0 4.8,-0.45 4.8,-1 0,-0.57778 -3.16667,-1 -7.5,-1 H 938 v 15.5 15.5 h 7.5 c 4.33333,0 7.5,-0.42222 7.5,-1 z M 418.45295,568.83948 c 1.40088,-0.63828 2.54705,-1.53828 2.54705,-2 0,-1.32856 -1.30011,-0.95137 -4,1.16052 -2.83922,2.22087 -2.28352,2.54193 1.45295,0.83948 z M 317.34488,539.25 c 0.36182,-10.3125 0.93163,-20.775 1.26624,-23.25 l 0.60838,-4.5 -3.25318,4 c -6.31146,7.76037 -21.6631,22.06574 -29.51131,27.5 -4.36873,3.025 -11.99582,7.6233 -16.94908,10.21843 l -9.00593,4.71844 28.09351,0.0316 28.09352,0.0316 0.65785,-18.75 z m 417.97762,16.76035 c 55.70521,-2.50708 98.72762,-13.71356 133.66935,-34.8182 43.13678,-26.05441 69.3306,-65.51459 76.06508,-114.58969 1.61508,-11.76929 1.3757,-35.52274 -0.46048,-45.69268 -7.49148,-41.49264 -34.14781,-76.09971 -69.74174,-90.54349 -7.13999,-2.89737 -7.81775,-3.58566 -7.8394,-7.9613 -0.0172,-3.47965 1.27115,-4.82626 8.48469,-8.86829 19.4091,-10.87567 38.05828,-30.45637 48.78107,-51.21768 9.45504,-18.30669 13.72289,-36.10881 13.71303,-57.20001 C 937.97705,108.61389 926.87541,79.782931 904.04569,56.954969 880.09613,33.007259 844.13407,18.095251 794,11.323487 781.91324,9.690891 772.701,9.5060089 706,9.5574003 640.01986,9.6082363 574.17194,10.94041 543,12.855065 L 532.5,13.5 l -0.25182,270.62298 -0.25182,270.62299 88.25182,0.94367 c 48.5385,0.51902 89.60182,1.01436 91.25182,1.10076 1.65,0.0864 12.37012,-0.26462 23.8225,-0.78005 z M 694.6439,441.92269 c -10.80673,-0.5168 -18.40639,-1.31061 -19.25,-2.01074 C 674.23396,438.94928 674,429.81634 674,385.5 c 0,-48.31772 0.15332,-53.38235 1.65369,-54.62756 1.32396,-1.09878 7.65477,-1.36252 31.75,-1.32269 29.32313,0.0485 30.3465,0.11756 39.83501,2.68953 23.2734,6.30852 38.38335,19.6943 43.22839,38.29568 1.92068,7.374 1.96144,22.26582 0.0803,29.33362 -3.96137,14.88345 -13.50012,26.04901 -28.67416,33.56444 -16.07069,7.95953 -33.16776,10.11854 -67.2293,8.48967 z m 49.49963,-12.72052 c 25.98069,-7.02204 39.55786,-24.36802 37.57608,-48.00663 C 780.1059,361.94723 767.12302,348.06926 745.5,342.47882 735.9084,339.99899 713.28614,338.64145 698,339.62839 L 684.5,340.5 v 45 45 l 5.5,0.64149 c 3.025,0.35282 14.725,0.52563 26,0.38403 17.02248,-0.21379 21.79661,-0.60791 28.14353,-2.32335 z M 677.5,226.12186 l -3,-0.6415 V 174.49018 123.5 l 5.5,-0.78954 c 3.025,-0.43425 17.65,-0.87225 32.5,-0.97333 25.18524,-0.17144 27.53771,-0.034 35,2.04538 11.41435,3.18057 19.75203,7.57456 26.06136,13.73444 22.64194,22.1056 15.07915,64.48997 -14.21891,79.68747 -15.08343,7.82408 -26.88153,9.83689 -56.72344,9.67727 -12.16546,-0.0651 -23.46901,-0.407 -25.11901,-0.75983 z m 50,-10.22582 c 23.70236,-2.89255 39.86097,-12.96774 45.88515,-28.61022 1.15126,-2.98939 2.02587,-8.53948 2.33001,-14.78582 0.42263,-8.67988 0.19021,-10.7854 -1.76059,-15.94942 C 769.54158,144.8688 759.24883,137.2046 743,133.50115 c -5.83887,-1.3308 -12.04042,-1.69271 -28,-1.63404 -11.275,0.0415 -22.8625,0.36517 -25.75,0.71936 l -5.25,0.64398 v 41.30144 c 0,32.10548 0.27832,41.41375 1.25,41.80583 2.40426,0.97014 33.33039,0.64684 42.25,-0.44168 z"
33
- style="fill:#fce5d8" />
34
- <path
35
- id="path4586"
36
- d="M 5.4889304,620.75 C 5.186885,619.5125 5.0658115,605.225 5.2198784,589 L 5.5,559.5 66.25,559.24225 c 33.4125,-0.14176 60.73662,-0.59176 60.72026,-1 -0.0164,-0.40824 -2.60386,-2.2208 -5.75,-4.02791 C 97.135493,540.38029 79.847165,513.88985 73.112419,480.5 69.455051,462.36732 69.020946,449.21856 69.010317,356.25 69.004643,306.6125 68.739627,266 68.421394,266 c -0.318233,0 -8.755733,-1.09269 -18.75,-2.42821 C 39.677127,262.23628 25.425,260.62918 18,260.00047 10.575,259.37176 3.4875,258.65588 2.25,258.40963 L 0,257.9619 v -49.00239 -49.00239 l 2.25,-0.93776 c 2.4489972,-1.02071 26.832455,-3.14036 63.75,-5.54178 45.2591,-2.94402 151.09046,-3.73223 153.66967,-1.14451 0.45668,0.45819 1.05533,62.33319 1.33033,137.5 0.49815,136.16037 0.50778,136.68373 2.5978,141.19996 5.71356,12.34619 19.2608,15.13529 35.5644,7.322 5.49965,-2.63564 9.25991,-5.51479 15.87399,-12.1544 12.71889,-12.76799 20.95032,-27.85567 26.80228,-49.12686 l 2.63386,-9.57377 0.29849,-106.4393 c 0.20979,-74.80623 0.62179,-106.82883 1.38629,-107.75 0.87886,-1.05897 15.06893,-1.3107 73.88355,-1.3107 40.03767,0 73.50757,0.27314 74.37755,0.60699 1.43242,0.54967 1.58179,14.4331 1.58179,147.02144 v 146.41445 l 2.25,0.93328 c 3.27975,1.36041 45.54119,6.59379 58.25,7.2133 l 5,0.24373 0.5,-224.16664 C 522.3389,78.326325 522.83216,5.7677722 523.53091,5.0690524 526.94644,1.6536612 741.48975,-1.6978761 782,1.0313186 c 52.00449,3.5035669 93.24564,17.9997164 122.74592,43.1448534 37.29498,31.789108 52.49934,87.926218 37.74299,139.353648 -3.42192,11.92577 -13.01302,30.95271 -20.93762,41.53631 -7.74438,10.34292 -22.48134,24.63656 -32.33301,31.36038 -3.97006,2.70958 -7.21662,5.18458 -7.21458,5.5 0.002,0.31542 3.01768,2.13209 6.70143,4.03705 31.90505,16.49887 56.44239,50.5988 65.03281,90.37714 2.77503,12.84988 2.47028,46.37871 -0.55891,61.49309 -10.89209,54.34693 -43.91909,95.72635 -96.67903,121.12887 -11.94649,5.75192 -31.57136,12.92079 -44,16.07299 -4.95,1.25544 -9.4275,2.661 -9.95,3.12348 C 802.0275,558.62161 851.19,559 911.8,559 H 1022 v 32 32 H 514.01905 6.0381041 Z M 95.699175,607.04187 c 4.25579,-2.59491 5.445475,-7.33852 5.085945,-20.27917 C 100.52116,577.26171 100.35156,576.5 98.5,576.5 c -1.870215,0 -2.032446,0.83333 -2.5,12.84179 -0.466743,11.98763 -0.657023,12.9687 -2.860784,14.75 -2.681253,2.16724 -5.903555,2.42834 -9.537151,0.77276 -3.50647,-1.59765 -3.82996,-2.83174 -4.368211,-16.66431 -0.41527,-10.67205 -0.694001,-12.25786 -2.10623,-11.98322 C 75.717898,576.49119 75.5,578.38396 75.5,590.35544 v 13.82189 l 2.805764,2.41133 c 3.676954,3.16006 12.57384,3.39188 17.393411,0.45321 z M 125.5,597.81379 c 0,-5.85402 0.2921,-10.93655 0.64912,-11.29452 0.97365,-0.97624 2.40798,0.9878 8.97519,12.28982 5.78346,9.9532 6.10047,10.29841 9.18297,10 L 147.5,608.5 v -15.9863 c 0,-14.43 -0.17037,-16.01912 -1.75,-16.32333 C 144.16784,575.88568 144,576.92242 144,587 c 0,9.91543 -0.18619,11.11079 -1.68563,10.82203 -0.9271,-0.17855 -4.423,-5.04904 -7.76867,-10.82333 C 128.66109,576.84246 128.34911,576.5 124.98133,576.5 H 121.5 l -0.27791,14.95607 c -0.15286,8.22583 -0.0417,15.57159 0.24697,16.3239 0.28869,0.75232 1.31375,1.21251 2.27792,1.02267 1.53927,-0.30309 1.75302,-1.64296 1.75302,-10.98885 z M 173,592.5 c 0,-15.83333 -0.0808,-16.5 -2,-16.5 -1.91919,0 -2,0.66667 -2,16.5 0,15.83333 0.0808,16.5 2,16.5 1.91919,0 2,-0.66667 2,-16.5 z m 39.61493,1 c 2.90374,-8.25 5.30327,-15.5625 5.3323,-16.25 0.029,-0.6875 -0.78589,-1.25 -1.81091,-1.25 -1.46604,0 -2.62141,2.18697 -5.41507,10.25 -1.95326,5.6375 -3.85305,11.28809 -4.22176,12.55687 -1.41599,4.8727 -3.74092,1.83747 -7.89489,-10.30687 -3.48358,-10.1844 -4.44502,-12.04835 -6.3546,-12.31955 -2.84365,-0.40386 -2.8301,-0.18735 0.58656,9.37815 1.56011,4.36777 4.08967,11.45334 5.62126,15.74571 2.70782,7.58884 2.86882,7.79592 5.83114,7.5 2.97341,-0.29702 3.173,-0.66388 8.32597,-15.30431 z M 251.5,607 c 0,-1.09091 -1.5,-1.63636 -5.5,-2 l -5.5,-0.5 v -5 -5 l 5,-0.5 c 3.55556,-0.35556 5,-0.93333 5,-2 0,-1.06667 -1.44444,-1.64444 -5,-2 l -5,-0.5 V 585 580.5 L 246,580 c 4,-0.36364 5.5,-0.90909 5.5,-2 0,-1.20833 -1.55556,-1.5 -8,-1.5 h -8 l -0.27791,14.95607 c -0.15286,8.22583 -0.0472,15.55739 0.23486,16.29233 C 236.23828,609.78452 251.5,609.07256 251.5,607 Z m 23.5,-4.50879 c 0.34063,-4.08152 0.92572,-5.99121 1.8356,-5.99121 0.73458,0 3.22632,2.7 5.5372,6 2.61335,3.73194 5.03806,6.12079 6.4144,6.31955 3.15808,0.45606 2.76367,-1.15926 -1.7872,-7.31955 -2.2,-2.97803 -4,-5.85837 -4,-6.40076 0,-0.54239 1.31165,-1.76098 2.91479,-2.70798 5.37983,-3.17794 6.49547,-8.63936 2.67304,-13.0855 -2.26151,-2.63052 -2.90168,-2.80576 -10.25,-2.80576 H 270.5 l -0.27791,14.95607 c -0.15286,8.22583 -0.0417,15.57159 0.24697,16.3239 0.28869,0.75232 1.31375,1.21813 2.27792,1.03515 1.36761,-0.25955 1.86295,-1.64988 2.25302,-6.32391 z M 276.2,590.8 c -1.71583,-1.71583 -1.51423,-9.29432 0.28701,-10.78922 1.75042,-1.45272 5.70616,-0.67475 7.94306,1.56215 2.37645,2.37645 1.91303,6.01202 -1.06493,8.35449 -2.97653,2.34134 -5.40111,2.63661 -7.16514,0.87258 z m 50.43473,14.83826 c 2.90446,-3.37663 3.22494,-9.56539 0.61527,-11.88127 -0.9625,-0.85414 -3.89188,-2.5505 -6.50974,-3.76969 C 312.30067,586.05681 313.82318,579 323.11078,579 326.02943,579 327,578.59567 327,577.37981 c 0,-1.36621 -0.96423,-1.55045 -6.15086,-1.17528 -5.16186,0.37338 -6.52857,0.88404 -8.5,3.17596 -4.69685,5.46042 -2.79427,10.35642 5.68851,14.63852 5.19403,2.62194 5.96235,3.37873 5.96235,5.87294 0,3.96774 -2.43625,5.62123 -8.15524,5.53501 -4.15286,-0.0626 -4.84476,0.20395 -4.84476,1.86649 0,1.76695 0.5904,1.90195 6.63473,1.51707 5.72423,-0.36449 6.95932,-0.79982 9,-3.17226 z m 25.14077,-12.92252 c 0.24111,-13.79126 0.0724,-15.83687 -1.35092,-16.38306 -0.90745,-0.34822 -2.01711,-0.007 -2.51019,0.7716 -1.04225,1.64601 -1.23719,30.23958 -0.21315,31.26362 0.38568,0.38568 1.39818,0.56748 2.25,0.404 1.30605,-0.25065 1.59193,-2.76681 1.82426,-16.05616 z M 383,594.4884 383.5,580.5 l 4,-0.5 c 2.66667,-0.33333 4,-1 4,-2 0,-1.24242 -1.88889,-1.5 -11,-1.5 -9.11111,0 -11,0.25758 -11,1.5 0,1 1.33333,1.66667 4,2 l 4,0.5 0.26181,13 c 0.29461,14.62847 0.51991,15.78413 2.98517,15.31231 1.54189,-0.2951 1.81324,-2.02026 2.25302,-14.32391 z m 41.81466,12.7616 c -0.25345,-1.33598 -1.63117,-1.86829 -5.82333,-2.25 L 413.5,604.5 v -5 -5 l 5.31284,-0.30444 c 4.36446,-0.25009 5.25545,-0.60711 4.99132,-2 -0.23485,-1.23847 -1.66709,-1.83035 -5.31284,-2.19556 L 413.5,589.5 v -4.5 -4.5 l 5.49133,-0.5 c 4.24623,-0.38663 5.56843,-0.90626 5.83137,-2.29176 0.30828,-1.62444 -0.43795,-1.76451 -7.99133,-1.5 L 408.5,576.5 l -0.27791,14.95607 c -0.15286,8.22583 -0.0545,15.53833 0.21861,16.25 0.3497,0.9113 2.8932,1.29393 8.60124,1.29393 7.17858,0 8.06677,-0.19997 7.77272,-1.75 z m 66.07625,-0.8228 C 495.27941,603.86388 498,598.34566 498,592.00772 c 0,-11.44859 -5.27385,-15.94494 -18.75,-15.98576 L 472,576 v 16.62849 16.62848 l 7.79574,-0.45129 c 5.22068,-0.30222 8.88559,-1.08787 11.09517,-2.37848 z m -14.22424,-2.09387 C 476.3,603.96667 476,598.5825 476,592.36852 c 0,-12.71028 0.69696,-13.94695 7.16814,-12.71904 7.56522,1.43551 10.31585,5.50073 9.59592,14.18208 -0.38327,4.62176 -0.96472,5.95854 -3.62604,8.33643 -2.44282,2.18265 -4.15955,2.83201 -7.48713,2.83201 -2.37466,0 -4.61756,-0.3 -4.98422,-0.66667 z M 532.5,607 c 0,-1.09091 -1.5,-1.63636 -5.5,-2 l -5.5,-0.5 v -5 -5 l 5,-0.5 c 3.55556,-0.35556 5,-0.93333 5,-2 0,-1.06667 -1.44444,-1.64444 -5,-2 l -5,-0.5 V 585 580.5 L 527,580 c 4,-0.36364 5.5,-0.90909 5.5,-2 0,-1.20833 -1.55556,-1.5 -8,-1.5 h -8 l -0.27791,14.95607 c -0.15286,8.22583 -0.0472,15.55739 0.23486,16.29233 C 517.23828,609.78452 532.5,609.07256 532.5,607 Z m 60.36079,1.37784 C 600.03844,606.94231 603.67214,598.72823 599,594.5 c -2.37458,-2.14896 -2.5767,-4.7765 -0.5,-6.5 1.95044,-1.61872 1.93055,-7.42659 -0.0322,-9.38929 -1.98362,-1.98363 -6.59768,-2.81386 -13.46785,-2.42334 l -5.5,0.31263 -0.27791,14.95607 c -0.15286,8.22583 -0.0545,15.53833 0.21861,16.25 0.53371,1.39082 7.96492,1.76281 13.42009,0.67177 z M 585.75,604.94408 c -1.24258,-0.7409 -1.75,-2.31674 -1.75,-5.43475 0,-4.90096 1.05765,-6.00655 5.42755,-5.67357 5.79108,0.44126 8.63233,5.99793 4.82245,9.43134 -2.38682,2.15097 -6.38285,2.93935 -8.5,1.67698 z m -0.65518,-15.32983 c -1.65368,-1.99257 -0.97953,-8.67089 1.0004,-9.91023 2.90265,-1.81691 8.20364,0.41149 9.29315,3.9066 1.37222,4.40203 -7.38423,9.50915 -10.29355,6.00363 z m 55.95323,17.13235 c 5.18703,-3.49554 7.46081,-8.20549 7.38034,-15.2878 C 648.3128,581.28593 643.37921,576 634,576 c -9.65398,0 -15.45814,6.18388 -15.4846,16.49763 -0.029,11.29079 4.4115,16.49154 14.08672,16.49863 3.64197,0.003 6.05906,-0.64115 8.44593,-2.24966 z m -14.08798,-3.78653 c -3.85587,-3.85587 -5.21455,-11.65582 -2.83511,-16.27581 2.50257,-4.85905 5.08585,-6.68426 9.46046,-6.68426 3.48907,0 4.68667,0.53465 6.7859,3.02944 1.402,1.66619 2.82864,4.51953 3.17031,6.34077 0.87842,4.6824 -1.1248,11.15676 -4.20059,13.57617 -3.48137,2.73845 -9.64939,2.74527 -12.38097,0.0137 z M 686,607.72135 c 4.54437,-2.27068 5.99672,-6.9927 5.99845,-19.50273 10e-4,-9.42244 -0.26225,-11.38262 -1.59937,-11.89572 -2.69812,-1.03537 -3.36784,1.70672 -3.38377,13.85452 -0.015,11.41607 -0.0743,11.72381 -2.65017,13.75 -3.34763,2.63324 -7.37156,2.64197 -10.70077,0.0232 -2.53183,-1.99153 -2.61324,-2.40779 -2.88486,-14.75 C 670.51672,577.25984 670.38035,576.5 668.5,576.5 c -1.87009,0 -2.01828,0.76045 -2.28136,11.70705 -0.31261,13.00703 0.98344,18.13863 4.98693,19.74535 3.3544,1.34623 11.90503,1.21268 14.79443,-0.23105 z m 31.79772,-5.48139 C 717.96146,598.80798 718.53488,596 719.07199,596 c 0.5371,0 3.09785,2.925 5.69055,6.5 3.40464,4.69457 5.34221,6.5 6.97573,6.5 1.24395,0 2.26173,-0.26597 2.26173,-0.59105 0,-0.32508 -1.8,-3.15713 -4,-6.29345 -2.2,-3.13631 -3.98267,-6.35784 -3.96148,-7.15894 0.0212,-0.80111 1.48369,-2.36264 3.25,-3.47007 2.16744,-1.35893 3.31814,-2.94242 3.53956,-4.87083 0.8854,-7.71112 -3.11977,-10.89004 -13.11866,-10.41232 L 713.5,576.5 l -0.27791,14.95607 c -0.15286,8.22583 -0.0417,15.57159 0.24697,16.3239 0.28869,0.75232 1.31375,1.21757 2.27792,1.03389 1.40747,-0.26812 1.81171,-1.56396 2.05074,-6.5739 z M 719.25,591.35851 c -0.77876,-0.32719 -1.25,-2.5418 -1.25,-5.87446 0,-6.01107 1.56287,-7.36114 6.39476,-5.52406 4.09414,1.55659 5.39354,7.31097 2.24158,9.92686 -1.53038,1.2701 -5.82804,2.12638 -7.38634,1.47166 z m 56.1849,16.66624 c 2.42077,-0.92038 2.5651,-1.37442 2.5651,-8.06955 0,-6.78507 -0.0981,-7.08037 -2.25,-6.77475 -1.94768,0.27661 -2.31718,1.05855 -2.75,5.81955 l -0.5,5.5 -4.79343,0.30657 c -4.3247,0.27658 -5.13145,-0.0314 -8.25,-3.15 C 756.50568,598.70568 756,597.51977 756,593.55034 756,583.94517 760.16221,580 770.29583,580 c 5.98926,0 6.80746,-0.22008 6.50606,-1.75 -0.29241,-1.4843 -1.50741,-1.75 -8.00238,-1.75 -6.20417,0 -8.19306,0.39706 -10.47857,2.09195 C 753.2242,582.37158 751,586.72266 751,592.91348 751,603.57083 756.45711,609 767.1693,609 c 3.13527,0 6.8548,-0.43886 8.2656,-0.97525 z m 42.14821,-0.63121 c 5.29671,-2.51346 7.92338,-7.64255 7.88319,-15.39354 -0.0569,-10.97538 -4.44286,-16 -13.9663,-16 -7.89324,0 -13.4632,4.26852 -15.47945,11.86262 -2.04155,7.68936 0.63097,16.79876 5.74202,19.57199 3.63844,1.9742 11.61733,1.95348 15.82054,-0.0411 z m -13.35505,-4.3957 c -2.9082,-2.7094 -4.64861,-8.94258 -3.78391,-13.55184 1.62403,-8.6568 11.66498,-12.66834 17.08113,-6.82422 7.15053,7.71555 2.39376,22.37822 -7.2598,22.37822 -2.50751,0 -4.65154,-0.71102 -6.03742,-2.00216 z m 62.83768,4.96698 c 1.62811,-0.87134 1.93426,-2.13755 1.93426,-8 C 869,593.66667 868.80856,593 867,593 c -1.67206,0 -2,0.66667 -2,4.06574 0,6.33063 -1.31767,7.93426 -6.51941,7.93426 -6.50552,0 -10.56794,-3.85365 -11.22038,-10.64379 C 846.33711,584.74942 851.17748,580 861.89132,580 c 3.29486,0 6.23725,-0.39901 6.53865,-0.88669 2.33129,-3.7721 -14.12981,-4.22113 -19.08621,-0.52064 -5.0319,3.75685 -6.72735,7.02013 -7.10134,13.6681 -0.40744,7.24246 1.58754,11.44557 6.99844,14.74463 3.63033,2.21344 14.39871,2.79305 17.82488,0.95942 z m 25.5513,-10.26462 c 0.0644,-5.92219 0.35647,-11.00705 0.64912,-11.29969 0.85598,-0.85598 2.52416,1.47031 8.89678,12.40655 5.78115,9.92119 6.1245,10.29556 9.17153,10 L 914.5,608.5 v -15.9863 c 0,-14.43 -0.17037,-16.01912 -1.75,-16.32333 C 911.16784,575.88568 911,576.92242 911,587 c 0,9.886 -0.18936,11.11008 -1.67432,10.82332 C 908.4048,597.6455 905.45542,593.675 902.7715,589 895.08723,575.61511 895.28441,575.843 891.68844,576.19123 L 888.5,576.5 l -0.27791,14.95607 c -0.15286,8.22583 -0.0417,15.57159 0.24697,16.3239 0.28869,0.75232 1.31375,1.21484 2.27792,1.02784 1.53216,-0.29716 1.76777,-1.69657 1.87006,-11.10761 z M 953.5,607 c 0,-1.09091 -1.5,-1.63636 -5.5,-2 l -5.5,-0.5 v -5 -5 l 5,-0.5 c 3.55556,-0.35556 5,-0.93333 5,-2 0,-1.06667 -1.44444,-1.64444 -5,-2 l -5,-0.5 V 585 580.5 L 948,580 c 4,-0.36364 5.5,-0.90909 5.5,-2 0,-1.20833 -1.55556,-1.5 -8,-1.5 h -8 l -0.27791,14.95607 c -0.15286,8.22583 -0.0472,15.55739 0.23486,16.29233 C 938.23828,609.78452 953.5,609.07256 953.5,607 Z M 418.91264,569.25 c 3.45075,-1.96403 3.96905,-3.25 1.30987,-3.25 -2.08726,0 -6.22251,2.69594 -6.22251,4.0567 0,1.39559 1.46631,1.15481 4.91264,-0.8067 z m -101.50486,-23 c 0.33505,-7.0125 1.00026,-17.7 1.47825,-23.75 0.47799,-6.05 0.68674,-11.19994 0.46388,-11.44431 -0.22286,-0.24437 -1.80678,1.33063 -3.51984,3.5 -11.30921,14.32173 -31.90833,30.93622 -49.02678,39.54321 C 262.51148,556.25678 259,558.2423 259,558.51116 259,558.78002 272.00469,559 287.89931,559 h 28.8993 z m 448.18207,8.3894 c 37.6557,-4.91958 65.9143,-13.17366 93.41015,-27.28425 17.03226,-8.74079 29.34899,-17.71257 43.04526,-31.35515 29.68454,-29.56816 44.96619,-67.63527 44.95072,-111.97377 -0.0179,-51.42729 -28.26232,-96.17325 -72.29513,-114.53308 l -6.79914,-2.83496 0.29914,-3.96715 c 0.2912,-3.86177 0.5636,-4.12951 10.25426,-10.0791 12.64906,-7.76589 31.88585,-26.31436 39.52624,-38.11194 9.26457,-14.30547 15.09818,-28.27146 18.67289,-44.70393 2.69715,-12.39844 2.43859,-39.69097 -0.50712,-53.52974 C 930.89212,91.578675 921.32046,73.345027 905.00805,56.947613 889.9419,41.80295 869.99123,30.169445 845,21.956115 813.24184,11.518843 784.73089,8.0184613 731.5,8.0213542 677.47414,8.0242903 551.88311,10.964276 537.24818,12.568635 l -5.25181,0.575732 0.25181,271.177813 L 532.5,555.5 593,556.06053 c 98.78282,0.91523 158.46854,0.42377 172.58985,-1.42113 z M 688.31783,440.95387 c -6.15019,-0.41359 -11.66269,-1.04897 -12.25,-1.41195 C 675.33227,439.08732 675,422.24558 675,385.41623 V 331.9505 l 2.75,-1.0542 c 1.79553,-0.68831 12.98888,-0.91161 32.25,-0.64336 26.41458,0.36788 30.33066,0.63847 37.44198,2.58714 18.6371,5.10702 31.67553,14.64897 38.41448,28.11297 13.18733,26.34748 3.62216,57.39796 -21.85646,70.95051 -16.91799,8.99899 -38.34448,11.56123 -75.68217,9.05031 z M 731,432.00591 c 30.12376,-3.46487 47.53304,-16.92193 51.02256,-39.43955 3.04275,-19.63468 -5.66266,-36.75742 -23.13379,-45.50199 C 745.75924,340.49283 739.34254,339.5 710,339.5 h -25.5 v 46 46 l 10.5,0.55425 c 18.33938,0.96807 27.26753,0.95608 36,-0.0483 z M 686,226.37576 c -3.575,-0.21303 -7.5125,-0.61829 -8.75,-0.90059 L 675,224.9619 v -50.43564 -50.43563 l 3.75,-0.73691 c 2.0625,-0.4053 16.8,-0.76319 32.75,-0.79531 32.29997,-0.0651 35.3789,0.36813 49.28033,6.93348 8.16393,3.85564 16.71311,11.63468 20.11502,18.30298 5.01519,9.83058 6.34647,22.68242 3.6617,35.34911 -4.5387,21.41347 -20.63335,35.43249 -47.05705,40.9884 -9.04819,1.90249 -36.87692,3.11473 -51.5,2.24338 z m 54.82863,-12.25716 c 14.98844,-4.43642 26.185,-12.34451 31.08973,-21.95857 5.23139,-10.25438 6.309,-25.62809 2.55173,-36.40423 -3.504,-10.04973 -14.26813,-18.35076 -28.97009,-22.34102 -7.44805,-2.02148 -29.6228,-2.91722 -47.93613,-1.93637 L 684,132.20489 v 42.49873 42.49873 l 24.75,-0.45728 c 21.62386,-0.39951 25.67567,-0.73126 32.07863,-2.62647 z"
37
- style="fill:#fbdac7" />
38
- <path
39
- id="path4584"
40
- d="M 5.6069888,621.41821 C 5.273145,620.54823 5,606.68823 5,590.61821 5,569.22627 5.321427,561.07857 6.2,560.2 7.1067993,559.2932 22.133333,559 67.7,559 c 33.165,0 60.3,-0.33827 60.3,-0.75172 0,-0.41344 -2.07678,-1.85344 -4.61507,-3.2 -16.0856,-8.5334 -32.189914,-26.28313 -40.352008,-44.4749 C 78.919707,501.4058 74.516051,487.1196 72.375832,476 70.694289,467.26347 70.522759,458.48064 70.241443,366.713 l -0.3059,-99.78701 -2.27659,-0.86556 C 63.942994,264.64763 8.8353309,258 0.839386,258 -0.25261462,258 -0.26095979,160.27932 0.8309832,159.60446 2.6331414,158.49066 44.470598,155.03313 83,152.81385 c 23.0485,-1.32759 132.29569,-1.80838 135.25,-0.59523 1.65418,0.67926 1.75,7.9375 1.75,132.56634 0,90.64968 0.33961,133.68482 1.08685,137.72705 1.60141,8.66281 4.57594,14.23687 9.24429,17.32318 3.58299,2.36875 4.9888,2.66481 12.65374,2.66481 8.01406,0 9.18401,-0.27693 16.56903,-3.92187 18.6472,-9.20352 34.28566,-31.70018 42.78436,-61.54733 2.12392,-7.45912 2.14671,-8.53974 2.39457,-113.5308 0.13762,-58.3 0.48833,-107.01536 0.77934,-108.25636 l 0.52912,-2.25636 74.72935,0.25636 L 455.5,153.5 l 0.5,147 0.5,147 11.5,1.6806 c 16.9916,2.48315 52.03723,6.01909 53.62351,5.41038 C 522.78651,454.14469 523,419.24076 523,229.55044 V 5.0381041 l 2.25,-0.4555167 C 530.07673,3.6054065 550.97343,2.867013 613,1.4819052 698.4265,-0.42574358 760.96662,-0.42168827 785.32848,1.4930796 873.70935,8.4395452 931.29719,48.813946 944.37586,113 c 3.98003,19.53275 4.32698,39.71302 0.98659,57.38395 -6.46684,34.21008 -28.24687,66.89424 -57.57058,86.39319 -3.73553,2.48396 -6.79187,4.83193 -6.79187,5.2177 0,0.38578 1.9125,1.55725 4.25,2.60329 7.62265,3.41113 21.44085,13.11393 29.27733,20.55782 24.26264,23.04714 39.4256,56.87513 41.16791,91.84405 0.99645,19.99911 -2.33268,43.75229 -8.89986,63.5 -11.20797,33.70277 -35.28316,64.24901 -66.79538,84.74898 -18.4428,11.99779 -39.75033,21.56215 -61.5,27.60564 -6.05,1.68109 -13.025,3.63902 -15.5,4.35096 -3.77332,1.08539 13.50556,1.37516 107,1.79442 l 111.5,0.5 0.264,31.75 0.2641,31.75 H 514.12104 C 51.898718,623 6.1593808,622.85772 5.6069888,621.41821 Z M 95.864236,607.26356 c 4.412174,-3.27487 5.105174,-5.8479 5.121024,-19.01356 L 101,576 H 98.5 96 v 11.4349 c 0,6.2892 -0.417866,12.53397 -0.928592,13.87728 -1.650888,4.34217 -10.242591,5.58896 -13.290869,1.92873 C 80.957494,602.25263 80.321367,597.20115 80,589.10165 79.518612,576.96908 79.416246,576.48811 77.25,576.18045 75.014644,575.86298 75,575.94639 75,588.99619 c 0,15.67987 0.808433,17.85784 7.5,20.20548 3.356686,1.17764 10.577238,0.1305 13.364236,-1.93811 z m 227.711964,0.84118 c 5.90899,-2.68375 7.94005,-8.78406 4.61662,-13.86607 -0.45368,-0.69374 -3.27015,-2.49386 -6.25884,-4.00027 -4.21612,-2.12509 -5.50134,-3.31836 -5.73454,-5.32427 -0.40108,-3.45002 2.12181,-5.36618 6.81874,-5.17888 4.3136,0.17201 6.11747,-2.0571 3.01032,-3.72 -2.37995,-1.27371 -3.58635,-1.26572 -8.34343,0.0553 -5.39296,1.49755 -7.68507,4.1343 -7.68507,8.8406 0,3.11647 0.60842,4.42305 2.9946,6.4309 1.64704,1.38588 4.00954,2.82911 5.25,3.20717 C 327.12859,597.25677 325.41259,605 315.92857,605 311.7381,605 311,605.28704 311,606.91667 c 0,3.49268 6.21025,4.07937 12.5762,1.18807 z M 640.03811,607.75 c 10.22947,-5.15842 12.30585,-22.61468 3.51269,-29.53138 -4.39295,-3.4555 -10.66801,-3.87303 -16.23704,-1.0804 -6.02437,3.02097 -8.47216,6.45483 -9.07523,12.73111 -1.20138,12.50309 4.08366,19.65971 14.79958,20.04048 1.39596,0.0496 4.54596,-0.92231 7,-2.15981 z m -12.57623,-5.02913 c -4.99005,-4.29226 -5.00868,-16.13345 -0.0321,-20.41411 2.84991,-2.45139 7.40786,-2.99922 10.62563,-1.27712 4.7018,2.51633 6.58079,13.39194 3.27934,18.98086 -3.10599,5.25802 -9.46637,6.50066 -13.87285,2.71037 z m 57.5563,5.65518 C 691.08374,605.94909 692,603.33804 692,588.48011 c 0,-12.51461 -0.0186,-12.61656 -2.25,-12.29966 -2.16625,0.30766 -2.26861,0.78863 -2.75,12.9212 -0.32137,8.0995 -0.95749,13.15098 -1.78054,14.13926 -3.04828,3.66023 -11.63998,2.41344 -13.29087,-1.92873 C 671.41787,599.96887 671,593.7241 671,587.4349 V 576 h -2.5 -2.5 v 13.27749 c 0,14.73582 0.68528,16.80785 6.3783,19.28559 4.17989,1.81919 7.75818,1.76624 12.63988,-0.18703 z m 91.4366,0.003 c 1.34078,-0.51451 1.57426,-1.95745 1.33508,-8.25127 -0.26085,-6.86442 -0.49,-7.62771 -2.28986,-7.62771 -1.6899,0 -2.04868,0.77132 -2.31396,4.97461 -0.38128,6.04107 -1.47902,7.52653 -5.55848,7.52165 -10.59883,-0.0127 -15.48347,-13.97087 -7.54875,-21.5711 2.78545,-2.66803 3.68536,-2.9286 10.23754,-2.9643 6.39852,-0.0349 7.18365,-0.24855 7.18365,-1.95523 0,-2.75913 -6.46312,-3.97904 -13.25634,-2.50213 -9.7104,2.11112 -15.29153,10.52315 -13.75959,20.73885 1.26948,8.46546 9.21782,13.75784 19.18085,12.7715 2.8407,-0.28123 5.89614,-0.79192 6.78986,-1.13487 z m 40.14415,-0.28441 c 6.10534,-2.77272 8.79384,-7.18477 9.1843,-15.07219 0.36755,-7.42479 -1.44257,-12.03039 -6.05873,-15.41558 -3.74369,-2.74538 -12.02844,-2.76921 -16.76521,-0.0482 -6.73984,3.87165 -10.01497,15.64881 -6.59731,23.72353 3.29522,7.78542 11.79448,10.64656 20.23695,6.81245 z m -12.19684,-5.42513 c -2.19644,-1.8893 -2.79838,-3.40305 -3.17918,-7.99495 -0.57057,-6.88033 1.03433,-11.23903 4.86828,-13.22165 4.34142,-2.24503 7.72303,-1.79246 10.98573,1.47024 2.52598,2.52597 2.92308,3.67432 2.92308,8.45294 0,6.7427 -1.508,10.31819 -5.14503,12.19898 -3.96964,2.05278 -7.35452,1.75954 -10.45288,-0.90556 z m 63.01283,5.72484 C 868.66232,607.9156 869,606.2236 869,600.45203 c 0,-7.50144 -0.61639,-8.9202 -3.40976,-7.84829 C 864.41411,593.05507 864,594.59049 864,598.5 c 0,5.67475 -0.74388,6.50339 -5.83179,6.49626 -10.32063,-0.0145 -14.65581,-14.49369 -6.60376,-22.05615 2.24446,-2.10798 3.57383,-2.44544 9.76682,-2.47925 6.38382,-0.0349 7.16873,-0.24893 7.16873,-1.95523 0,-2.76728 -6.46452,-3.97881 -13.29945,-2.49249 -11.58092,2.5184 -17.16048,15.02748 -11.62367,26.05969 1.67281,3.33311 3.5464,4.83736 8.16364,6.55434 3.58738,1.33401 11.91349,1.2103 15.6744,-0.23289 z M 126,597.91667 c 0,-6.92391 0.37421,-10.95824 0.99714,-10.75 0.54843,0.18333 3.81093,5.05833 7.25,10.83333 6.01945,10.10805 6.39284,10.51159 10.00286,10.81037 l 3.75,0.31036 V 592.49081 575.8609 l -2.25,0.31955 c -2.1532,0.3058 -2.26221,0.78202 -2.53383,11.06955 -0.15611,5.9125 -0.66208,10.75 -1.12438,10.75 -0.4623,0 -3.67382,-4.95 -7.13672,-11 -6.28982,-10.98892 -6.30002,-11 -10.12562,-11 L 121,576 v 16.5 16.5 h 2.5 2.5 z M 173.5,592.5 v -16 h -2.5 -2.5 l -0.27791,14.95607 c -0.15286,8.22583 -0.0424,15.5699 0.24553,16.32013 0.28789,0.75024 1.53795,1.22001 2.77791,1.04394 C 173.47755,608.50319 173.5,608.34066 173.5,592.5 Z m 35.12436,12.8566 c 0.83727,-2.00387 3.47115,-9.23456 5.85307,-16.06819 3.4548,-9.91172 4.04675,-12.53377 2.92666,-12.96359 -2.83181,-1.08667 -3.98282,0.65333 -7.80529,11.79948 -2.14566,6.25663 -4.21224,11.73227 -4.59238,12.16808 -1.25725,1.44134 -2.76766,-1.66695 -6.21621,-12.79238 -3.15781,-10.18748 -3.60838,-11.02337 -6.09994,-11.31642 -1.71826,-0.2021 -2.6902,0.15921 -2.69007,1 2.1e-4,1.30908 9.59041,29.34499 10.59281,30.96691 0.28876,0.46723 1.87143,0.84951 3.51703,0.84951 2.49666,0 3.24405,-0.6032 4.51432,-3.6434 z M 252,607.0499 c 0,-1.67259 -0.81824,-1.99277 -5.75,-2.25 L 240.5,604.5 v -5 -5 l 5.25,-0.30226 c 4.38053,-0.2522 5.25,-0.61618 5.25,-2.19774 0,-1.58156 -0.86947,-1.94554 -5.25,-2.19774 L 240.5,589.5 v -4.5 -4.5 l 5.75,-0.2999 c 4.93176,-0.25723 5.75,-0.57741 5.75,-2.25 C 252,576.16958 251.26083,576 243.5,576 H 235 v 16.5 16.5 h 8.5 c 7.76083,0 8.5,-0.16958 8.5,-1.9501 z m 23.2001,-3.7209 c 0.16975,-3.2099 0.80962,-5.83902 1.47442,-6.05817 0.64598,-0.21295 3.09707,2.339 5.44686,5.671 3.49366,4.954 4.78324,6.05817 7.07548,6.05817 1.54173,0 2.80314,-0.25959 2.80314,-0.57686 0,-0.31727 -1.8,-3.09052 -4,-6.16279 -2.2,-3.07226 -4,-5.9929 -4,-6.49029 0,-0.4974 1.575,-2.38978 3.5,-4.20529 4.42829,-4.17642 4.83825,-9.31743 1.04545,-13.11022 C 286.34617,576.25526 285.25421,576 278.04545,576 H 270 v 16.5 16.5 h 2.4501 c 2.27684,0 2.4713,-0.40101 2.75,-5.671 z m 0.40689,-13.91079 C 275.27314,588.54823 275,586.78503 275,585.5 c 0,-4.24957 1.04216,-5.5 4.58394,-5.5 4.32325,0 6.95638,3.44865 5.51923,7.22864 -1.4616,3.84431 -8.2597,5.41178 -9.49618,2.18957 z M 352,592.43045 V 575.8609 l -2.25,0.31955 c -2.21476,0.31454 -2.2543,0.57408 -2.52477,16.56955 L 346.95046,609 H 349.47523 352 Z M 383,595.7 c 0,-14.6534 0.37997,-15.7 5.7,-15.7 2.63333,0 3.3,-0.40404 3.3,-2 0,-1.88406 -0.66667,-2 -11.5,-2 -10.83333,0 -11.5,0.11594 -11.5,2 0,1.59596 0.66667,2 3.3,2 5.32003,0 5.7,1.0466 5.7,15.7 V 609 h 2.5 2.5 z m 42,11.3 c 0,-1.72222 -0.66667,-2 -4.8,-2 -5.61998,0 -7.2,-1.22398 -7.2,-5.57756 0,-4.04854 1.4519,-5.20757 7.01962,-5.60369 C 423.19384,593.59293 424.5,593.06271 424.5,592 c 0,-1.06271 -1.30616,-1.59293 -4.48038,-1.81875 C 414.61769,589.79693 413,588.62077 413,585.07756 413,581.23226 414.74735,580 420.2,580 c 4.13333,0 4.8,-0.27778 4.8,-2 0,-1.84314 -0.66667,-2 -8.5,-2 H 408 v 16.5 16.5 h 8.5 c 7.83333,0 8.5,-0.15686 8.5,-2 z m 66.67742,-0.60453 c 4.7737,-3.55929 6.82821,-8.13998 6.74955,-15.04864 -0.0795,-6.9867 -1.76983,-10.35436 -6.7313,-13.41123 -2.63799,-1.62531 -4.67902,-1.92238 -11.69567,-1.70226 l -8.5,0.26666 -0.27791,14.95607 c -0.15286,8.22583 -0.0368,15.58437 0.25787,16.35229 0.90418,2.35628 16.61642,1.25715 20.19746,-1.41289 z m -14.24452,-2.70974 c -0.27738,-0.72284 -0.37576,-6.23534 -0.21862,-12.25 L 477.5,580.5 l 4.1129,-0.3008 c 3.24004,-0.23696 4.76704,0.24961 7.19514,2.29273 5.87838,4.94633 5.21566,16.69339 -1.16113,20.58173 -3.61016,2.20134 -9.46942,2.55246 -10.21401,0.61207 z M 533,607.0499 c 0,-1.67259 -0.81824,-1.99277 -5.75,-2.25 L 521.5,604.5 v -5 -5 l 5.25,-0.30226 c 4.38053,-0.2522 5.25,-0.61618 5.25,-2.19774 0,-1.58156 -0.86947,-1.94554 -5.25,-2.19774 L 521.5,589.5 v -4.5 -4.5 l 5.75,-0.2999 c 4.93176,-0.25723 5.75,-0.57741 5.75,-2.25 C 533,576.16958 532.26083,576 524.5,576 H 516 v 16.5 16.5 h 8.5 c 7.76083,0 8.5,-0.16958 8.5,-1.9501 z m 65.57287,-1.16786 c 3.48918,-3.48966 3.71108,-8.88644 0.50568,-12.29843 l -2.31644,-2.46573 2.11895,-2.6938 c 2.79371,-3.55162 2.67915,-6.95478 -0.33561,-9.96953 -2.22308,-2.22309 -3.26038,-2.45455 -11,-2.45455 L 579,576 v 16.60262 16.60261 l 8.47764,-0.35261 c 7.56622,-0.31471 8.75905,-0.63407 11.09523,-2.97058 z m -13.96588,-2.46383 C 584.27314,602.54823 584,600.78503 584,599.5 c 0,-4.25756 1.04071,-5.5 4.60699,-5.5 3.58175,0 7.39301,2.83537 7.39301,5.5 0,4.38017 -9.90814,7.78772 -11.39301,3.91821 z M 584.41064,587.5 c -0.3451,-1.375 -0.3451,-3.625 0,-5 0.53089,-2.11522 1.20939,-2.5 4.40841,-2.5 4.2708,0 6.18095,1.40458 6.18095,4.54501 0,2.99315 -3.07322,5.45499 -6.80969,5.45499 -2.52836,0 -3.27638,-0.49477 -3.77967,-2.5 z M 718,602.92668 c 0,-7.62669 1.39436,-7.61151 6.73596,0.0733 2.80685,4.03814 4.54606,5.5841 6.5435,5.81642 3.73663,0.4346 3.46381,-1.15022 -1.27946,-7.43264 -2.2,-2.91388 -4,-5.75572 -4,-6.31519 0,-0.55948 1.26239,-1.67004 2.80531,-2.46791 C 731.75186,591.07694 734,587.30111 734,583.876 c 0,-1.11642 -1.31538,-3.34525 -2.92308,-4.95294 C 728.36054,576.20669 727.61808,576 720.57692,576 H 713 v 16.5 16.5 h 2.5 c 2.39224,0 2.5,-0.26178 2.5,-6.07332 z m 0.40198,-13.32152 c -0.29439,-0.76716 -0.39276,-3.12966 -0.21861,-5.25 0.28791,-3.50551 0.60001,-3.88273 3.4412,-4.15916 5.59166,-0.54404 8.59019,5.4897 4.54669,9.14901 -2.22722,2.01561 -7.03389,2.17656 -7.76928,0.26015 z M 893,598 c 0,-6.32827 0.40597,-11 0.95589,-11 0.52574,0 2.82708,3.2625 5.11408,7.25 8.15656,14.22134 8.60258,14.75 12.44422,14.75 H 915 V 592.43045 575.8609 l -2.25,0.31955 c -2.1393,0.30383 -2.2746,0.85394 -2.75,11.18079 -0.58677,12.74612 -0.47841,12.77162 -8.97055,-2.11124 -5.23107,-9.16767 -5.31254,-9.25 -9.15375,-9.25 H 888 v 16.5 16.5 h 2.5 2.5 z m 61,9 c 0,-1.72222 -0.66667,-2 -4.8,-2 -5.61998,0 -7.2,-1.22398 -7.2,-5.57756 0,-4.04854 1.4519,-5.20757 7.01962,-5.60369 C 952.19384,593.59293 953.5,593.06271 953.5,592 c 0,-1.0905 -1.35972,-1.58578 -4.98067,-1.81421 -5.35017,-0.33752 -6.48007,-1.2471 -6.50402,-5.23579 -0.0223,-3.71171 1.77504,-4.95 7.18469,-4.95 4.13333,0 4.8,-0.27778 4.8,-2 0,-1.84314 -0.66667,-2 -8.5,-2 H 937 v 16.5 16.5 h 8.5 c 7.83333,0 8.5,-0.15686 8.5,-2 z M 419.04966,569.47432 c 3.04139,-1.57276 3.69244,-2.89764 1.95239,-3.97305 C 419.66884,564.6773 414,568.08922 414,569.71561 c 0,1.69077 1.4472,1.62161 5.04966,-0.24129 z M 318.11118,542 c 0.33615,-9.075 0.95152,-19.9875 1.36749,-24.25 0.4189,-4.2926 0.36931,-7.74695 -0.11118,-7.74317 -0.47712,0.004 -1.91965,1.55198 -3.20562,3.4405 -3.87799,5.69502 -18.95589,20.26462 -27.98272,27.03937 -4.66542,3.50145 -13.3643,8.90268 -19.33086,12.00274 C 262.88173,555.5895 258,558.32927 258,558.57783 c 0,0.24856 13.3875,0.33273 29.75,0.18705 L 317.5,558.5 Z M 736.582,557.0305 c 57.93795,-2.71832 104.78693,-15.94871 139.89521,-39.50711 19.88509,-13.34333 33.09612,-26.41801 45.20554,-44.73898 15.04847,-22.76762 23.16058,-47.48908 25.26234,-76.98637 2.80251,-39.3321 -8.89639,-73.93228 -33.84966,-100.1124 C 902.84977,284.93625 894.52673,278.81048 882,272.79933 c -5.775,-2.77123 -11.175,-5.36764 -12,-5.76981 -1.63589,-0.79746 -2.48117,-5.88754 -1.26052,-7.5906 0.41829,-0.5836 3.68552,-2.79884 7.26052,-4.92277 32.57296,-19.35179 55.14366,-51.72651 61.50867,-88.2262 3.40116,-19.50373 1.04263,-47.97034 -5.5339,-66.792081 C 913.33352,46.147458 862.10235,15.905327 778.5,8.9005995 754.14759,6.8602024 595.98631,8.8220677 543.5,11.815588 L 531.5,12.5 V 284 555.5 l 87.5,1.07012 c 48.125,0.58857 89.975,1.13437 93,1.21289 3.025,0.0785 14.0869,-0.26011 24.582,-0.75251 z M 696.19477,440.91527 c -11.69819,-0.487 -18.82671,-1.19484 -19.75,-1.96111 C 675.21845,437.93641 675,429.76897 675,384.93657 c 0,-40.16906 0.28903,-52.99717 1.20685,-53.56441 0.66377,-0.41024 12.25127,-0.92847 25.75,-1.15163 27.23622,-0.45028 39.4469,0.76415 52.16928,5.18856 18.50797,6.43643 30.97218,19.00659 35.42123,35.72233 1.92856,7.24585 1.85511,22.13537 -0.14274,28.93708 -6.2327,21.21936 -24.8538,35.75057 -50.92824,39.74249 -10.69359,1.63716 -22.23862,1.93869 -42.28161,1.10428 z m 48.06215,-10.7421 C 769.72258,423.29574 783,407.66858 783,384.57361 c 0,-6.13942 -2.18763,-15.0609 -5.08632,-20.74281 -4.96489,-9.73198 -17.70405,-18.50628 -32.41368,-22.32544 -9.48244,-2.46198 -30.2517,-3.70248 -47,-2.80719 l -15,0.80183 -0.27764,44 c -0.15271,24.2 -0.0372,44.99013 0.25657,46.20029 0.67795,2.79228 4.43781,3.11589 32.52107,2.79905 17.17641,-0.19379 21.7576,-0.57092 28.25692,-2.32617 z M 678,225.1536 l -2.5,-0.74377 v -49.94256 -49.94256 l 5,-0.81285 c 2.75,-0.44707 17.15,-0.88496 32,-0.97308 24.84011,-0.14742 27.61145,0.0112 34.64353,1.98235 30.45448,8.53681 43.76179,30.41828 36.65884,60.27887 -3.17109,13.3312 -13.78373,26.02999 -27.11084,32.44007 -13.81071,6.64269 -20.92695,7.79778 -50.19153,8.14702 -14.3,0.17065 -27.125,-0.0244 -28.5,-0.43349 z m 49.02623,-8.17565 c 17.84696,-2.15259 30.78299,-7.76421 39.43099,-17.10508 7.95901,-8.59669 9.93131,-14.39384 9.9932,-29.37287 0.0447,-10.81294 -0.19536,-12.49461 -2.42656,-17 C 768.87247,143.09794 758.35263,135.98307 743,132.51765 c -5.95178,-1.34345 -12.04146,-1.6626 -29.5,-1.54608 -12.1,0.0808 -23.8,0.46524 -26,0.8544 l -4,0.70757 -0.26312,41.48323 c -0.24173,38.11091 -0.12458,41.58485 1.44113,42.73323 2.13368,1.56497 30.0186,1.71507 42.34822,0.22795 z"
41
- style="fill:#f9c9ac" />
42
- <path
43
- id="path4582"
44
- d="M 6,591.5 V 560 l 60.75,-0.0153 c 33.71308,-0.009 61.37522,-0.41114 62.15482,-0.9047 1.05338,-0.6669 0.17779,-1.51194 -3.5,-3.3779 C 112.87009,549.34249 100.32916,537.81258 91.478465,524.5108 82.352646,510.79553 76.68623,495.95084 72.775041,475.51217 70.738531,464.87 70.654723,461.16821 70.280674,365.33658 69.94919,280.40999 69.687818,266.09418 68.460147,265.62308 65.96679,264.66629 39.158346,261.17091 21.5,259.50025 12.15,258.61564 3.4875,257.68263 2.25,257.42689 L 0,256.9619 V 208.5 160.0381 l 2.25,-0.46963 c 6.2028811,-1.2947 54.195652,-4.88558 89.75,-6.7152 34.42246,-1.77137 124.19533,-1.76598 126.33236,0.008 1.49325,1.23929 1.65563,12.94592 1.90021,136.99711 L 220.5,425.5 l 2.37628,5.25728 c 6.05402,13.39393 19.89438,16.52096 36.62372,8.27459 20.21459,-9.96436 36.3278,-33.95558 44.20612,-65.8192 1.47442,-5.96326 1.72303,-18.60242 2.2268,-113.21267 L 306.5,153.5 h 74 74 l 0.5,146.66676 c 0.275,80.66672 0.74872,146.91544 1.05271,147.21938 1.3302,1.32997 52.44635,7.61386 61.93478,7.61386 H 523 V 230.55902 C 523,89.289751 523.35338,5.8996326 523.95361,5.5286724 529.882,1.864722 759.06851,-1.3416383 789,1.8206258 853.8956,8.6768504 900.55741,31.638619 925.51872,69 c 14.05418,21.035902 20.17128,41.44811 21.12735,70.5 0.66155,20.10274 -0.79797,31.22374 -6.22719,47.44873 -9.27389,27.71461 -28.96025,53.72041 -52.40405,69.22606 -4.40816,2.91554 -8.0095,5.53143 -8.00298,5.8131 0.007,0.28166 3.74349,2.45401 8.30437,4.82745 33.43675,17.4001 58.27186,53.05895 65.13807,93.52677 2.11201,12.44768 2.14473,35.86852 0.0696,49.83777 -8.64111,58.17063 -43.89796,103.55722 -100.74758,129.69366 -11.6069,5.33623 -31.61886,12.18297 -45.73079,15.64598 -8.26614,2.02848 -10.91043,3.02368 -9.5,3.57539 1.07495,0.42049 52.01695,0.79615 113.20445,0.8348 L 1022,560 V 591.5 623 H 514 6 Z m 89.686178,16.54977 c 5.003572,-3.05089 5.676862,-5.26777 5.748712,-18.92821 0.0553,-10.50572 -0.18696,-12.53934 -1.601067,-13.44201 -1.217933,-0.77744 -2.092267,-0.70995 -3.25,0.25088 C 95.295548,576.99961 95,579.54401 95,589.56574 c 0,11.5984 -0.13032,12.41213 -2.222506,13.87756 -3.181681,2.22853 -8.092534,1.97044 -10.372506,-0.54515 -1.6079,-1.77405 -1.955876,-3.99638 -2.23129,-14.25 -0.179465,-6.68148 -0.696667,-12.53035 -1.149336,-12.99749 -0.45267,-0.46713 -1.768334,-0.54931 -2.923699,-0.18261 -1.982896,0.62935 -2.100576,1.3497 -2.099109,12.84934 0.0022,17.61245 2.511696,21.63995 13.498446,21.66413 3.207127,0.007 6.142483,-0.68562 8.186178,-1.93175 z m 30.102922,-8.55045 c 0.159,-5.48763 0.67578,-10.3642 1.14841,-10.83683 0.47909,-0.47909 2.72465,2.39218 5.07499,6.4891 C 139.87204,608.85171 140.78471,610 143.81419,610 148.64966,610 149,608.81252 149,592.42244 c 0,-12.21344 -0.29046,-15.41861 -1.48727,-16.41187 -0.81799,-0.67888 -2.16799,-0.9731 -3,-0.65383 C 143.30236,575.82121 143,577.93045 143,585.9096 c 0,5.4848 -0.39747,10.21802 -0.88328,10.51826 -0.4858,0.30024 -3.25498,-3.6107 -6.15374,-8.69098 C 129.40662,576.24639 128.33823,575 125.04501,575 120.3685,575 120,576.27825 120,592.5 c 0,15.43249 0.57296,17.91885 3.97919,17.2676 1.21622,-0.23253 1.57871,-2.28905 1.80991,-10.26828 z m 47.98651,-6.42371 c 0.15338,-9.14049 -0.13459,-16.83459 -0.64934,-17.34934 -0.50872,-0.50872 -1.87024,-0.62492 -3.02561,-0.25822 -2.02079,0.64138 -2.10066,1.28516 -2.10066,16.93267 0,8.94627 0.31898,16.58493 0.70885,16.9748 0.38987,0.38986 1.62737,0.57736 2.75,0.41666 1.94711,-0.27872 2.05385,-1.04889 2.31676,-16.71657 z m 33.9344,15.67439 c 0.5252,-0.6875 3.33766,-8.14513 6.24993,-16.57252 5.41255,-15.6626 5.59021,-18.12164 1.2088,-16.73103 -1.54178,0.48934 -2.95455,3.41099 -5.85067,12.09933 C 207.21813,593.8456 205.05,599.1125 204.5,599.25 c -0.55,0.1375 -2.68858,-4.6552 -4.75241,-10.65044 -2.06382,-5.99524 -4.25642,-11.50774 -4.87244,-12.25 -1.27584,-1.53729 -4.47821,-1.80084 -5.32057,-0.43787 -0.76082,1.23103 10.18784,32.30551 11.72696,33.28347 1.87206,1.18952 5.36446,0.94767 6.42847,-0.44516 z M 252,608.5 c 2.11056,-2.54307 -0.52263,-4.5 -6.05506,-4.5 -3.98775,0 -4.92261,-0.35429 -5.46785,-2.07217 -0.36172,-1.1397 -0.38347,-3.1647 -0.0483,-4.5 C 240.94356,595.37668 241.64306,595 244.93726,595 250.12666,595 252,594.17589 252,591.89301 252,590.34606 251.25674,590 247.93426,590 242.63535,590 240,588.51737 240,585.53624 240,581.89112 242.56616,580 247.51241,580 c 4.75663,0 6.3437,-1.26353 4.45124,-3.5438 C 251.1225,575.44268 248.68922,575 243.95934,575 233.32531,575 234,573.81288 234,592.52366 c 0,12.11207 0.32171,16.43949 1.25,16.81406 0.6875,0.27741 4.4574,0.53991 8.37756,0.58333 5.19038,0.0575 7.46589,-0.32873 8.37244,-1.42105 z m 22.41821,0.89301 c 1.17182,-0.44967 1.58179,-2.00477 1.58179,-6 0,-6.75936 1.48836,-6.99068 5.37695,-0.8357 1.58232,2.50455 3.52696,5.20375 4.32143,5.99821 1.57432,1.57432 5.86738,1.95612 6.70765,0.59653 0.28823,-0.46638 -1.48521,-3.60928 -3.94098,-6.98424 C 286.00927,598.79285 284,595.58599 284,595.04144 c 0,-0.54454 1.30121,-1.66296 2.89158,-2.48538 5.84348,-3.02178 6.10915,-12.61025 0.43364,-15.65124 C 285.77911,576.0764 281.78955,575.5 277.60168,575.5 H 270.5 l -0.27646,15.95986 c -0.15205,8.77792 -0.0537,16.54042 0.21862,17.25 0.5458,1.42234 1.58462,1.60083 3.97605,0.68315 z m 2.24846,-19.05968 C 276.3,589.96667 276,587.70254 276,585.30195 c 0,-5.10665 1.87823,-6.4382 5.90682,-4.18757 3.50075,1.95573 3.97103,6.15734 0.92777,8.28893 -2.38115,1.66782 -5.03063,2.06732 -6.16792,0.93002 z m 47.32229,18.17238 c 4.0007,-2.06884 6.01104,-5.29263 6.01104,-9.63932 0,-2.89126 -0.66508,-4.24823 -3.07673,-6.2775 C 325.23108,591.165 323.26676,590 322.55813,590 320.38293,590 316,585.96509 316,583.9626 316,581.45318 318.93518,580 324.00381,580 c 3.71647,0 4.10293,-0.22788 3.81574,-2.25 -0.27628,-1.94535 -1.00138,-2.28992 -5.35515,-2.54482 -3.93335,-0.23029 -5.78688,0.21146 -8.46777,2.01811 -7.17779,4.83711 -6.09879,12.4273 2.3859,16.78349 2.68539,1.37873 5.53087,3.48324 6.3233,4.6767 1.30043,1.95855 1.22743,2.38326 -0.74941,4.3601 -1.79998,1.79998 -2.98447,2.10065 -6.64856,1.68765 -4.65026,-0.52415 -6.15393,0.62157 -4.94623,3.76877 0.77126,2.00988 9.74443,2.01364 13.62733,0.006 z M 351.8,608.8 c 1.91441,-1.91441 1.65806,-31.17495 -0.28727,-32.78943 -0.81799,-0.67888 -2.16799,-0.9731 -3,-0.65383 C 347.2477,575.84218 347,578.61679 347,592.30195 c 0,9.00059 0.3,16.66472 0.66667,17.03138 1.02424,1.02425 2.8056,0.7944 4.13333,-0.53333 z m 31,0 c 0.81303,-0.81303 1.2,-5.48889 1.2,-14.5 V 581 h 3.37756 c 4.14649,0 6.47545,-2.26726 4.62244,-4.5 -0.95848,-1.15489 -3.6043,-1.5 -11.5,-1.5 -7.8957,0 -10.54152,0.34511 -11.5,1.5 -1.85301,2.23274 0.47595,4.5 4.62244,4.5 H 377 v 13.3 c 0,13.05781 0.58902,15.7 3.5,15.7 0.605,0 1.64,-0.54 2.3,-1.2 z m 41.61821,0.59301 C 425.2882,609.05917 426,607.98231 426,607 c 0,-2.23249 -1.9397,-3 -7.58179,-3 H 414 v -4.5 -4.5 h 3.91821 C 423.12653,595 425,594.17805 425,591.89301 425,590.35775 424.25952,590 421.08179,590 415.02947,590 414,589.27315 414,585 c 0,-4.34134 0.99876,-5 7.58179,-5 3.66831,0 4.41821,-0.3213 4.41821,-1.89301 0,-1.04116 -0.7118,-2.16616 -1.58179,-2.5 -2.85542,-1.09573 -14.97253,-0.65267 -16.21821,0.59301 -1.67751,1.67751 -1.67751,30.92249 0,32.6 1.24568,1.24568 13.36279,1.68874 16.21821,0.59301 z M 490.5,607.42845 c 10.60347,-5.41926 11.54537,-24.07901 1.50815,-29.87773 -2.74587,-1.58635 -5.30946,-2.02088 -12,-2.03402 L 471.5,575.5 l -0.27646,15.95986 c -0.15205,8.77792 -0.0349,16.58937 0.26036,17.35878 0.8278,2.15722 13.95249,1.19773 19.0161,-1.39019 z M 478.2,603.8 c -0.78492,-0.78492 -1.2,-4.9291 -1.2,-11.98095 0,-10.60329 0.0403,-10.79107 2.44689,-11.39508 3.82747,-0.96063 9.38712,1.35436 11.0705,4.60966 1.98716,3.84275 1.90665,11.91595 -0.14808,14.8495 C 488.7818,602.14961 483.41333,605 480.73212,605 479.99945,605 478.86,604.46 478.2,603.8 Z m 54.8,4.7 c 2.11056,-2.54307 -0.52263,-4.5 -6.05506,-4.5 -3.98775,0 -4.92261,-0.35429 -5.46785,-2.07217 -0.36172,-1.1397 -0.38347,-3.1647 -0.0483,-4.5 C 521.94356,595.37668 522.64306,595 525.93726,595 531.12666,595 533,594.17589 533,591.89301 533,590.34606 532.25674,590 528.93426,590 523.63535,590 521,588.51737 521,585.53624 521,581.89112 523.56616,580 528.51241,580 c 4.75663,0 6.3437,-1.26353 4.45124,-3.5438 -1.52832,-1.84151 -14.97287,-2.04698 -16.76365,-0.2562 -1.73436,1.73436 -1.68803,32.43641 0.05,33.13772 0.6875,0.27741 4.4574,0.53991 8.37756,0.58333 5.19038,0.0575 7.46589,-0.32873 8.37244,-1.42105 z m 63.56329,-0.77417 c 5.42896,-2.80742 7.04882,-9.61831 3.25585,-13.68958 -2.09512,-2.24885 -2.11477,-2.45602 -0.5,-5.2696 3.56333,-6.20875 1.14634,-12.02768 -5.51336,-13.2735 C 591.9876,575.15302 588.025,575.01542 585,575.18737 l -5.5,0.31263 -0.27646,15.95986 c -0.15205,8.77792 -0.0307,16.60025 0.26964,17.38296 0.72602,1.89198 12.77621,1.10348 17.07011,-1.11699 z m -11.16131,-4.12067 c -0.29439,-0.76716 -0.39276,-3.12966 -0.21861,-5.25 0.3007,-3.66117 0.48155,-3.84759 3.59421,-3.70471 4.06813,0.18673 6.22242,1.88848 6.22242,4.91529 0,4.12304 -8.23585,7.58918 -9.59802,4.03942 z m -0.004,-15.00996 c -0.29649,-0.77265 -0.39487,-2.91015 -0.21862,-4.75 0.27905,-2.91292 0.71473,-3.38378 3.37156,-3.64372 6.20485,-0.6071 8.50887,6.68463 2.79823,8.8558 -3.47029,1.31941 -5.32275,1.17557 -5.95117,-0.46208 z m 55.61201,19.1548 c 6.92455,-4.71281 9.8196,-12.08522 7.97605,-20.31151 -1.33899,-5.9748 -3.35292,-8.91008 -7.44591,-10.85234 -7.89948,-3.74855 -18.06205,-0.54689 -21.94564,6.91385 -2.6129,5.01963 -2.71861,14.49341 -0.2153,19.29422 3.71467,7.12393 14.73527,9.64883 21.6308,4.95578 z m -11.17179,-3.89282 c -6.24331,-2.26341 -7.82712,-15.32298 -2.50389,-20.64622 5.5869,-5.58689 13.96053,-2.09491 15.22692,6.34995 1.46571,9.77411 -5.03821,17.08226 -12.72303,14.29627 z m 57.26374,3.85819 c 4.56903,-3.07207 5.77411,-7.16564 5.84144,-19.84293 0.0437,-8.23776 -0.278,-10.90511 -1.43083,-11.86187 -3.48001,-2.88816 -4.33347,-0.64054 -4.67983,12.32445 C 686.4491,602.70169 685.39281,605 679.17375,605 672.77763,605 672,603.31628 672,589.46746 c 0,-9.93205 -0.29681,-12.4689 -1.58382,-13.53703 -1.15272,-0.95667 -2.03735,-1.02701 -3.25,-0.25843 -1.40222,0.88873 -1.66618,2.93902 -1.66618,12.94201 0,6.5373 0.34958,13.13745 0.77684,14.66701 1.80146,6.44912 13.97389,9.04101 20.82528,4.43435 z m 30.66442,-2.22369 c 0.1466,-2.19542 0.50264,-5.04389 0.7912,-6.32993 0.66977,-2.98496 2.13432,-1.8751 6.49702,4.92359 3.19917,4.98547 7.0925,7.1674 9.13845,5.12145 0.72903,-0.72903 -0.20382,-2.82962 -3.07322,-6.92023 C 728.854,599.05617 727,596.06494 727,595.6394 c 0,-0.42554 1.575,-2.25912 3.5,-4.07463 3.71985,-3.50827 4.58077,-7.67682 2.41951,-11.71517 C 731.42303,577.05341 726.00091,575 720.11391,575 711.59999,575 712,574.13609 712,592.52366 c 0,16.70818 0.2155,17.63217 4,17.15058 0.9979,-0.12698 1.58922,-1.52702 1.76654,-4.18256 z M 719.2,589.8 c -0.66,-0.66 -1.2,-2.595 -1.2,-4.3 0,-3.49231 1.53315,-5.5 4.2,-5.5 2.18392,0 5.8,3.42904 5.8,5.5 0,2.07096 -3.61608,5.5 -5.8,5.5 -0.99,0 -2.34,-0.54 -3,-1.2 z m 58.218,18.26805 c 1.32279,-1.09781 1.60381,-2.83272 1.37266,-8.47424 -0.28325,-6.91286 -0.36081,-7.10188 -3.04066,-7.41023 -2.6752,-0.30782 -2.75,-0.18056 -2.75,4.67857 0,6.44671 -1.89098,8.54936 -6.90386,7.67662 -2.13596,-0.37187 -4.71275,-1.83288 -6.34614,-3.5982 -2.28688,-2.47159 -2.75,-3.873 -2.75,-8.32149 0,-9.14432 5.44784,-13.18242 16.08489,-11.92262 4.74173,0.56159 4.91511,0.49313 4.91511,-1.94054 0,-2.9235 -1.9791,-3.72141 -9.28212,-3.74227 C 757.43481,574.98144 750,582.45563 750,593.8307 c 0,10.53832 7.22428,16.56501 19.12734,15.95656 3.68498,-0.18837 7.36581,-0.95165 8.29066,-1.71921 z m 40.99359,-0.3345 c 5.41549,-3.09229 8.09368,-8.55296 8.01127,-16.33447 -0.0777,-7.33231 -2.37826,-11.847 -7.40726,-14.53598 -9.78866,-5.23397 -21.53485,0.60039 -24.08824,11.96468 -1.0509,4.67721 0.21902,12.19392 2.70352,16.00223 3.45538,5.2965 14.00782,6.77091 20.78071,2.90354 z M 807.5,604.07618 c -3.82232,-1.60561 -5.82517,-4.93313 -6.22468,-10.34168 -1.16212,-15.73268 16.97319,-18.61077 18.47965,-2.93274 0.47012,4.89258 -1.07015,9.55507 -3.94463,11.94068 -1.96708,1.63253 -6.04209,2.28654 -8.31034,1.33374 z m 60.918,3.99187 c 1.32279,-1.09781 1.60381,-2.83272 1.37266,-8.47424 C 869.51111,592.77125 869.4044,592.5 867,592.5 c -2.31036,0 -2.52291,0.39769 -2.802,5.24265 -0.37609,6.52861 -2.43258,8.10286 -8.29182,6.34739 C 850.7145,602.53457 848,598.83524 848,593.31548 c 0,-9.17714 4.42034,-12.96716 14.65905,-12.56872 6.08097,0.23664 6.34095,0.14917 6.34095,-2.13337 0,-6.16254 -17.42809,-4.31939 -23.68339,2.50469 -7.22751,7.88469 -5.09747,22.24284 3.98417,26.85642 3.32104,1.68712 5.5852,2.06431 10.82656,1.80362 3.69879,-0.18397 7.36235,-0.93963 8.29066,-1.71007 z M 893,598.98934 c 0.275,-5.76914 0.87036,-10.48934 1.32303,-10.48934 0.45266,0 3.6171,4.72162 7.03207,10.49248 6.26067,10.57971 7.59909,11.7378 12.22399,10.57702 L 916,608.9619 v -16.41356 c 0,-15.51072 -0.10952,-16.44833 -1.99105,-17.0455 C 910.54109,574.40218 910,575.81899 910,586 c 0,5.43508 -0.40131,10.12999 -0.89181,10.43313 -0.49049,0.30315 -3.24219,-3.6078 -6.11488,-8.69098 C 896.57217,576.38005 895.3864,575 892.04501,575 887.3685,575 887,576.27825 887,592.5 c 0,15.43231 0.57272,17.91775 3.97919,17.26853 1.20677,-0.23 1.62406,-2.45588 2.02081,-10.77919 z m 61,10.02381 c 1.15869,-0.73864 1.24903,-1.36089 0.39701,-2.73468 -0.77615,-1.25147 -2.62818,-1.86804 -6.25,-2.08073 L 943,603.89548 V 599.44774 595 h 3.91821 C 952.12653,595 954,594.17805 954,591.89301 954,590.35775 953.25952,590 950.08179,590 944.02947,590 943,589.27315 943,585 c 0,-4.27769 1.02758,-5 7.11317,-5 4.19796,0 6.42905,-2.40985 3.78255,-4.08561 -2.11325,-1.3381 -15.29755,-1.11256 -16.69572,0.28561 -0.82737,0.82737 -1.2,5.88889 -1.2,16.3 0,10.41111 0.37263,15.47263 1.2,16.3 1.43895,1.43895 14.61489,1.60612 16.8,0.21315 z M 419.00707,569.99639 c 3.98004,-2.03046 4.65631,-5.00207 1.13594,-4.99142 -2.44187,0.007 -7.5925,4.45873 -6.7453,5.82952 0.93876,1.51894 1.01007,1.50829 5.60936,-0.8381 z m -102.43142,-10.7617 c 0.6462,-0.44136 1.5603,-9.51824 2.28954,-22.73469 0.66764,-12.1 1.47355,-23.2375 1.79093,-24.75 0.9271,-4.41832 -1.02012,-3.25002 -7.22611,4.33555 -12.23603,14.95607 -31.16287,29.71761 -49.18493,38.3606 -5.32502,2.55376 -7.79026,4.22438 -6.98672,4.73469 1.56812,0.99588 57.86324,1.04698 59.31729,0.0539 z M 763.5,555.66287 c 50.15184,-6.23022 87.34505,-19.20824 119,-41.5233 11.86577,-8.36473 30.74594,-27.69857 38.72123,-39.65166 14.67006,-21.98698 22.75382,-44.96272 25.89874,-73.60959 C 948.48047,388.48558 947.7422,368.43163 945.54144,358 937.33466,319.09981 913.54733,286.99856 882,272.25017 c -5.225,-2.44269 -10.175,-4.78133 -11,-5.19699 -0.825,-0.41565 -1.63751,-2.36145 -1.80557,-4.32399 -0.29323,-3.4242 -0.051,-3.71654 6,-7.24162 C 917.49812,230.84309 942.39744,185.19599 939.55362,137.5 937.52623,103.49693 926.44763,77.301788 905.06357,55.948921 876.22354,27.150956 831.67855,11.497407 768.23049,7.8644252 739.33748,6.2100357 581.31739,8.7706282 540.25,11.558672 L 531,12.186649 V 284.09332 c 0,149.54868 0.1125,271.97515 0.25,272.05884 0.1375,0.0837 30.175,0.46894 66.75,0.85611 93.08481,0.98538 150.49466,0.51867 165.5,-1.3454 z m -76.83387,-115.6434 c -6.82993,-0.46732 -10.10905,-1.10763 -10.73469,-2.09616 -1.22338,-1.93297 -1.18002,-102.98051 0.045,-104.92331 0.768,-1.21798 4.66646,-1.60574 20.73469,-2.06238 42.86796,-1.21828 62.38178,2.92848 77.97639,16.57026 16.44919,14.38936 20.94205,40.21492 10.71038,61.56481 -7.69509,16.05696 -24.31941,26.62812 -47.89792,30.45756 -9.36361,1.52076 -32.50306,1.74346 -50.83387,0.48922 z m 42.52649,-7.03512 c 17.56284,-1.66547 31.73446,-7.09446 40.90106,-15.66875 9.73109,-9.10229 13.33281,-18.92208 12.74679,-34.75306 -0.33388,-9.01962 -0.74283,-10.92189 -3.59225,-16.70989 C 773.13288,353.43062 760.55795,344.61597 743,340.44374 c -5.71755,-1.35864 -13.14838,-1.88558 -31.26661,-2.21721 -13.07164,-0.23925 -24.88414,-0.15453 -26.25,0.18828 L 683,339.0381 v 46.48095 c 0,25.56452 0.1125,46.53411 0.25,46.59908 0.23969,0.11327 22.94204,1.35524 31.25,1.70959 2.2,0.0938 8.81168,-0.28568 14.69262,-0.84337 z M 682.5,225.34354 c -3.06162,-0.26355 -5.48459,-1.06919 -6.25,-2.07811 -1.93663,-2.55277 -1.79906,-95.13229 0.14532,-97.79138 1.32147,-1.80722 3.08104,-1.90995 33.25,-1.94113 27.88014,-0.0288 32.66569,0.1951 38.35468,1.79457 24.35512,6.8475 36.98211,22.10388 36.97335,44.67251 -0.011,28.4221 -16.91054,47.12277 -48.47335,53.63968 -6.97285,1.43971 -43.63173,2.59641 -54,1.70386 z m 57.65411,-10.12841 c 25.04529,-6.81998 36.96136,-21.14953 37.18392,-44.71513 0.0848,-8.97578 -0.19703,-10.63853 -2.75132,-16.23431 -3.12653,-6.84942 -9.72698,-13.76612 -16.37147,-17.15588 -2.23786,-1.14167 -7.58927,-3.09593 -11.89204,-4.34279 -7.23204,-2.09571 -9.71232,-2.26274 -32.8232,-2.21038 -13.75,0.0312 -26.2375,0.37723 -27.75,0.76905 L 683,132.0381 v 42.31429 c 0,23.27285 0.3375,42.65651 0.75,43.07481 0.4125,0.41829 11.55,0.56065 24.75,0.31636 20.2692,-0.37512 25.18983,-0.76816 31.65411,-2.52843 z"
45
- style="fill:#f8b58e" />
46
- <path
47
- id="path4580"
48
- d="M 6.2357534,591.75 6.5,560.5 68.75,560.24243 c 39.46587,-0.1633 62.25,-0.61337 62.25,-1.22968 0,-0.53465 -1.9125,-1.94459 -4.25,-3.13318 C 104.09002,544.35722 86.749027,522.45633 78.118064,494.45961 71.455394,472.84756 71.714242,477.5403 71.078283,366.83276 70.760227,311.46578 70.223902,265.88968 69.886448,265.55254 68.734341,264.40151 29.990755,259.3721 7.75,257.48644 L 0,256.82936 v -48.29818 -48.29819 l 6.25,-0.64054 c 49.543025,-5.07749 89.9087,-6.93162 152.75,-7.01631 31.075,-0.0419 57.2875,0.24724 58.25,0.64248 1.65405,0.67921 1.75095,7.94372 1.76736,132.5 0.019,144.11068 -0.0863,141.36433 5.74041,149.78138 1.52294,2.2 4.78796,5.04466 7.25561,6.32147 6.78501,3.51072 17.14484,2.75014 27.12995,-1.99177 20.9419,-9.94527 39.46911,-38.10658 45.30303,-68.8605 1.3412,-7.07025 1.55573,-22.29296 1.56895,-111.32967 0.008,-56.72674 0.3743,-103.70497 0.81306,-104.39607 0.63101,-0.99391 16.14675,-1.20292 74.23469,-1 L 454.5,154.5 l 0.25332,146.68367 c 0.23935,138.59956 0.34958,146.71256 2,147.20805 5.41799,1.62658 47.62436,6.52838 59.24668,6.88084 L 523.5,455.5 524,230.5 524.5,5.5 536,4.8207085 C 573.26637,2.6194275 649.00124,0.79669896 709,0.65707744 780.24433,0.49128666 783.27022,0.63581556 811.80327,5.5673817 885.06219,18.229232 931.70581,56.388167 943.40799,113.23261 c 8.41757,40.88916 0.11836,80.38507 -23.46868,111.68744 -7.54956,10.01903 -23.61984,25.2696 -32.75049,31.07995 -3.88932,2.475 -7.0962,5.175 -7.12641,6 -0.0314,0.85883 1.83799,2.27838 4.37345,3.32098 8.08339,3.32395 22.87103,13.93148 31.52473,22.61345 28.63234,28.72587 42.45486,69.56988 38.10254,112.58869 -5.93045,58.61711 -36.06598,103.51615 -89.06313,132.69549 -15.09879,8.31314 -41.64564,18.02752 -62.25,22.77936 -5.3625,1.23672 -9.75,2.6412 -9.75,3.12107 0,0.49008 50.0756,0.98392 114.25,1.12672 l 114.25,0.25424 0.2642,31.25 0.2643,31.25 H 514 5.9715067 Z m 88.5518856,17.26008 c 6.258221,-2.84037 7.341091,-6.1389 6.992811,-21.30084 L 101.5,575.5 h -3 -3 L 95,588 c -0.275,6.875 -0.881213,13.09026 -1.347139,13.81168 -2.499001,3.86938 -11.189862,3.03936 -12.162944,-1.16161 C 81.216002,599.46753 80.881214,593.325 80.745945,587 L 80.5,575.5 77.25,575.18664 74,574.87328 v 14.4285 c 0,13.06098 0.195521,14.67707 2.062913,17.05107 3.667504,4.66248 11.772372,5.81264 18.724726,2.65723 z m 227.286621,0.98586 c 4.63004,-1.28619 7.85574,-4.78972 8.59304,-9.33318 0.80301,-4.94834 -1.46154,-8.09313 -8.21176,-11.40375 C 318.1883,587.16616 317,586.07881 317,584.26693 c 0,-2.68248 3.25405,-4.32335 7.11143,-3.58596 4.74823,0.90768 6.29561,-4.78223 1.69743,-6.24164 -1.10351,-0.35024 -4.0601,-0.32882 -6.5702,0.0476 C 313.0188,575.41965 309,579.42863 309,584.70057 c 0,5.08884 1.76253,7.37796 7.89078,10.24827 8.6991,4.07444 7.86706,9.05116 -1.51322,9.05116 -5.27846,0 -5.37756,0.0539 -5.37756,2.92668 0,3.03085 1.06741,3.73387 6,3.95174 1.375,0.0607 4.10842,-0.33638 6.07426,-0.88248 z m 316.67126,-0.53408 c 2.02471,-0.84597 4.54881,-2.30847 5.60911,-3.25 4.78021,-4.24469 7.08658,-15.26717 4.58175,-21.89676 -3.85062,-10.19153 -17.30011,-13.3247 -25.66621,-5.97916 -4.54369,3.98941 -6.27017,8.16693 -6.27017,15.17178 0,7.73462 2.85019,13.06731 8.30867,15.54548 5.11224,2.32097 8.60575,2.42722 13.43685,0.40866 z m -11.29097,-7.91641 C 625.38304,599.47395 625,598.1355 625,592.96853 c 0,-5.4335 0.3289,-6.45127 2.92308,-9.04545 6.67388,-6.67388 14.07692,-1.89446 14.07692,9.0881 0,4.35067 -0.45017,5.59284 -2.92308,8.06574 -3.72963,3.72963 -8.1818,3.90911 -11.62237,0.46853 z m 57.51082,8.14811 c 1.98002,-0.68197 4.44463,-2.64999 5.75,-4.59144 C 692.81249,601.98311 693,600.60316 693,588.28876 v -13.41548 l -3.25,0.31336 -3.25,0.31336 -0.27892,12.62118 c -0.31129,14.08618 -1.26615,16.21215 -7.2816,16.21215 -5.52828,0 -6.38409,-1.98736 -6.93948,-16.11479 L 671.5,575.5 h -3 -3 l -0.26163,13.5 c -0.23192,11.9668 -0.0375,13.86474 1.71191,16.71154 2.94097,4.78582 10.70115,6.50112 18.01509,3.98202 z m 92.13979,-0.74984 c 1.61299,-0.86325 1.89484,-2.1829 1.89484,-8.87191 0,-8.30605 -0.92875,-9.86398 -5.09253,-8.54244 -1.41711,0.44977 -1.87563,1.81345 -2.10912,6.27267 -0.28497,5.4425 -0.42646,5.71261 -3.15584,6.02476 -6.38259,0.72993 -11.64798,-4.46269 -11.63877,-11.47793 0.005,-3.88671 3.41029,-9.17037 6.74672,-10.46853 1.52841,-0.59469 5.27636,-0.8153 8.43903,-0.49674 5.10377,0.51409 5.75569,0.36448 6.33261,-1.45324 0.9026,-2.84383 -0.90198,-4.57558 -5.54098,-5.31739 -5.43692,-0.8694 -11.4588,0.23436 -15.26209,2.79739 -12.54184,8.45195 -10.67658,28.60741 3.00161,32.43453 4.20028,1.17522 13.45595,0.66615 16.38452,-0.90117 z m 37.9392,1.06048 c 4.0208,-1.11701 9.31585,-6.13258 10.89431,-10.3193 1.70345,-4.51827 1.26966,-12.6231 -0.91743,-17.14102 -4.4701,-9.234 -16.53328,-11.03257 -25.18262,-3.75464 -8.9915,7.56585 -7.55269,25.1733 2.46216,30.13059 4.66013,2.30674 7.47983,2.54667 12.74358,1.08437 z m -9.13102,-7.286 C 803.2049,600.63872 802,597.3352 802,591.98882 c 0,-4.35067 0.45017,-5.59284 2.92308,-8.06574 3.82576,-3.82577 8.23837,-3.93093 11.62467,-0.27706 2.02993,2.19033 2.45225,3.66744 2.45225,8.57693 0,5.22187 -0.34945,6.28034 -2.92308,8.85397 -3.12668,3.12669 -7.34223,3.80744 -10.16358,1.64128 z m 58.55988,7.31291 C 869.64218,608.8327 871,606.79644 871,600.24313 871,594.04442 869.71126,591 867.08726,591 c -2.77577,0 -3.92621,2.02595 -4.2733,7.52539 -0.31083,4.92508 -0.34992,4.97762 -3.92532,5.27671 -7.67872,0.64235 -12.86884,-8.12706 -9.53387,-16.10876 2.1327,-5.10428 6.48597,-7.09942 13.81827,-6.33304 5.61522,0.5869 5.81775,0.52457 6.44749,-1.98451 0.77787,-3.09927 -0.44616,-4.06417 -6.27389,-4.94566 -8.22679,-1.24438 -17.73804,3.29637 -21.09283,10.06987 -3.24794,6.55777 -1.95605,16.49497 2.72782,20.9824 4.96613,4.75786 11.75554,6.34229 19.49159,4.54871 z M 126.78621,599.75 c 0.15742,-5.3625 0.60742,-9.74082 1,-9.72961 0.39259,0.0112 3.30675,4.51122 6.47593,10 L 140.02427,610 H 144.51214 149 v -17.56336 -17.56336 l -3.25,0.31336 -3.25,0.31336 -0.5,10 -0.5,10 -2.5,-3.97076 c -1.375,-2.18392 -4.087,-6.68392 -6.02667,-10 -3.47927,-5.94819 -3.58681,-6.02924 -8,-6.02924 H 120.5 l -0.27646,15.95986 c -0.15205,8.77792 -0.0421,16.57056 0.24432,17.31697 0.31057,0.80934 1.63305,1.22917 3.27645,1.04014 L 126.5,609.5 Z M 174.5,592.5 v -17 l -2.89149,-0.33008 c -1.64233,-0.18747 -3.25577,0.24454 -3.73469,1 -0.97205,1.53334 -1.18783,29.8482 -0.24617,32.30213 0.43548,1.13486 1.58359,1.5426 3.75,1.33179 L 174.5,609.5 Z m 39.71225,0.59455 c 3.1425,-9.023 5.47876,-16.7855 5.19168,-17.25 C 219.11685,575.38005 217.59574,575 216.02369,575 c -3.11457,0 -3.37047,0.47283 -8.35688,15.44091 -1.27175,3.8175 -2.74469,7.08505 -3.27321,7.26122 -0.52852,0.17618 -2.46341,-4.29723 -4.29977,-9.94091 -1.83635,-5.64367 -3.7888,-10.82372 -4.33877,-11.51122 -0.54997,-0.6875 -2.29485,-1.25 -3.8775,-1.25 -3.89796,0 -3.77967,1.19429 1.64714,16.63011 7.06209,20.08715 6.12339,18.51756 10.86686,18.17044 L 208.49861,609.5 Z M 252.5,607 c 0,-2.30303 -0.43333,-2.53939 -5.5,-3 l -5.5,-0.5 v -4 -4 l 5.16189,-0.2992 c 8.65705,-0.5018 8.24737,-5.83504 -0.49156,-6.39926 C 241.55691,588.50367 241.5,588.45735 241.5,585 v -3.5 L 247,581 c 5.06667,-0.46061 5.5,-0.69697 5.5,-3 0,-2.46576 -0.12667,-2.50394 -9.25,-2.78753 L 234,574.92495 V 592.5 610.07505 l 9.25,-0.28752 c 9.12333,-0.28359 9.25,-0.32177 9.25,-2.78753 z m 23.5,-2.5 c 0,-7.0126 1.39768,-7.06228 6.01593,-0.21382 3.05863,4.53569 4.0016,5.25419 7.25,5.52419 4.81891,0.40053 4.78094,-0.73107 -0.26593,-7.92587 -2.2,-3.13632 -4,-5.92337 -4,-6.19345 0,-0.27008 1.575,-2.06605 3.5,-3.99105 4.65389,-4.65389 4.84228,-9.51156 0.5359,-13.81795 -2.86992,-2.86992 -3.22737,-2.95485 -11.25,-2.67307 L 269.5,575.5 l -0.27646,15.95986 c -0.15205,8.77792 -0.0537,16.54042 0.21862,17.25 0.27229,0.70958 1.85919,1.29014 3.52646,1.29014 3.00773,0 3.03138,-0.0429 3.03138,-5.5 z m 0.66667,-15.16667 c -1.31993,-1.31993 -0.68381,-7.38952 0.83557,-7.97256 2.46397,-0.94552 6.22238,0.47816 6.76773,2.5636 1.01602,3.88526 -4.91073,8.10154 -7.6033,5.40896 z M 353,592.43664 v -17.56336 l -3.25,0.31336 -3.25,0.31336 -0.27646,15.95986 c -0.15205,8.77792 -0.0537,16.54042 0.21862,17.25 0.27229,0.70958 1.85919,1.29014 3.52646,1.29014 H 353 Z m 31,3.06336 0.5,-14 4,-0.5 c 3.46667,-0.43333 4,-0.83333 4,-3 v -2.5 h -12 -12 v 2.5 c 0,2.16667 0.53333,2.56667 4,3 l 4,0.5 0.26181,13 c 0.144,7.15 0.47894,13.59264 0.74432,14.31697 0.28287,0.7721 1.6226,1.18583 3.23818,1 L 383.5,609.5 Z m 42.25391,13.25 c 1.13823,-3.38294 -0.43012,-4.65471 -6.10831,-4.95321 L 414.5,603.5 v -4 -4 L 420,595 c 5.06667,-0.46061 5.5,-0.69697 5.5,-3 0,-2.30303 -0.43333,-2.53939 -5.5,-3 l -5.5,-0.5 v -3.5 -3.5 l 5.24265,-0.302 c 3.75708,-0.21643 5.50832,-0.79842 6.18022,-2.05389 1.83832,-3.43492 -0.1126,-4.24247 -9.50744,-3.93546 L 407.5,575.5 l -0.27646,15.95986 c -0.15205,8.77792 -0.0537,16.54042 0.21862,17.25 0.68836,1.79383 18.20912,1.83122 18.81175,0.0401 z m 63.02821,-0.12684 c 9.72203,-4.15978 13.46752,-17.60394 7.59638,-27.2667 -3.00674,-4.94851 -7.40259,-6.48241 -17.61218,-6.14563 L 470.5,575.5 l -0.27646,15.95986 c -0.15205,8.77792 -0.0537,16.54042 0.21862,17.25 0.68315,1.78026 14.62656,1.71609 18.83996,-0.0867 z M 478,592.5 V 581 h 3.77749 c 4.95964,0 7.89895,2.18801 9.3226,6.93972 C 493.5636,596.1622 488.84109,604 481.42327,604 H 478 Z m 55.5,14.5 c 0,-2.30303 -0.43333,-2.53939 -5.5,-3 l -5.5,-0.5 v -4 -4 l 5.16189,-0.2992 c 5.23965,-0.30372 6.87622,-1.63492 5.71862,-4.6516 -0.36373,-0.94786 -2.34613,-1.55451 -5.71862,-1.75 L 522.5,588.5 V 585 581.5 L 528,581 c 5.06667,-0.46061 5.5,-0.69697 5.5,-3 0,-2.46576 -0.12667,-2.50394 -9.25,-2.78753 L 515,574.92495 V 592.5 610.07505 l 9.25,-0.28752 c 9.12333,-0.28359 9.25,-0.32177 9.25,-2.78753 z m 63.0216,1.42273 c 3.87206,-1.83742 6.93269,-7.36609 5.92265,-10.69858 -0.37077,-1.22328 -1.50695,-3.13671 -2.52486,-4.25206 -1.80234,-1.97488 -1.7995,-2.10565 0.10835,-5 2.73645,-4.15142 2.45681,-7.14138 -0.9903,-10.58849 -2.89075,-2.89075 -3.17553,-2.95554 -11.75,-2.67308 L 578.5,575.5 l -0.27646,15.95986 c -0.15205,8.77792 -0.0537,16.54042 0.21862,17.25 0.73326,1.91085 13.88778,1.70194 18.07944,-0.28713 z m -11.12756,-5.83826 c -0.29875,-0.77854 -0.39713,-2.69104 -0.21861,-4.25 0.26046,-2.27461 0.88521,-2.89865 3.163,-3.15943 C 591.24825,594.84192 595,597.2777 595,599.5 c 0,3.53218 -8.39922,6.22917 -9.60596,3.08447 z m -0.005,-15.01174 c -0.30123,-0.785 -0.39961,-2.4725 -0.21861,-3.75 0.63084,-4.45261 8.82908,-3.27843 8.82908,1.26453 0,3.34778 -7.45391,5.4994 -8.61047,2.48547 z M 718.80226,604.25 c 0.16624,-2.8875 0.72415,-5.25 1.23979,-5.25 0.51563,0 2.58083,2.475 4.58932,5.5 3.37651,5.0854 3.94265,5.5 7.51021,5.5 2.12213,0 3.85842,-0.45709 3.85842,-1.01576 0,-0.55867 -2.03517,-3.81269 -4.52261,-7.23115 l -4.5226,-6.21539 3.48812,-3.01885 c 4.10172,-3.54989 5.26979,-7.38402 3.52952,-11.58542 C 732.1633,576.56582 728.35716,575 719.54966,575 H 712 v 17.56336 17.56336 l 3.25,-0.31336 c 3.16933,-0.30558 3.2575,-0.44367 3.55226,-5.56336 z m 0.39024,-18.5 c 0.258,-3.56582 0.67857,-4.3026 2.61254,-4.57676 2.92484,-0.41463 5.19496,1.44221 5.19496,4.2492 0,2.97129 -1.84486,4.57756 -5.2575,4.57756 -2.74333,0 -2.84521,-0.1698 -2.55,-4.25 z m 174.59371,14 c 0.15742,-5.3625 0.62351,-9.75 1.03577,-9.75 0.41226,0 3.26208,4.3875 6.33294,9.75 l 5.58338,9.75 4.63085,0.30479 4.63085,0.30479 v -17.61815 -17.61815 l -3.25,0.31336 -3.25,0.31336 -0.5,10 c -0.56398,11.27969 0.16198,11.46457 -7.85343,-2 l -4.76238,-8 H 891.9421 887.5 l -0.27646,15.95986 c -0.15205,8.77792 -0.0421,16.57056 0.24432,17.31697 0.31057,0.80934 1.63305,1.22917 3.27645,1.04014 L 893.5,609.5 Z M 955,607.0499 c 0,-2.88998 -0.11717,-2.9562 -5.75,-3.25 L 943.5,603.5 v -4 -4 L 949,595 c 5.06667,-0.46061 5.5,-0.69697 5.5,-3 0,-2.30303 -0.43333,-2.53939 -5.5,-3 l -5.5,-0.5 V 585 581.5 L 949,581 c 5.13267,-0.46661 5.52138,-0.68623 5.82013,-3.28845 l 0.32014,-2.78846 -9.32014,0.28846 L 936.5,575.5 l -0.27646,15.95986 c -0.15205,8.77792 -0.0537,16.54042 0.21862,17.25 0.3537,0.92174 3.07397,1.29014 9.52646,1.29014 H 955 Z M 420.09571,570.28439 c 3.09988,-1.83114 3.86121,-4.97996 1.42967,-5.91302 -2.15941,-0.82865 -8.52538,3.43519 -8.52538,5.71019 0,2.4442 3.149,2.53421 7.09571,0.20283 z M 319.20355,540.5 c 0.38696,-10.45 1.0979,-21.79731 1.57988,-25.21625 0.48198,-3.41894 0.57381,-6.70573 0.20407,-7.30398 -0.39165,-0.6337 -3.07897,1.85399 -6.43804,5.95978 -13.35935,16.32909 -32.18173,31.19305 -50.79946,40.11611 -4.8125,2.30652 -8.75,4.5939 -8.75,5.08306 0,0.50604 13.68478,0.77557 31.75,0.62533 L 318.5,559.5 Z M 738,557.9977 c 105.78732,-5.28999 176.4502,-46.98775 201.4084,-118.84994 9.79858,-28.21307 11.75353,-61.4845 5.1437,-87.54123 -9.62208,-37.93135 -35.18122,-69.16909 -67.5521,-82.56046 -3.025,-1.2514 -6.0625,-2.7288 -6.75,-3.28311 -2.21332,-1.78455 -1.44205,-5.59813 1.5,-7.41686 32.50321,-20.09297 51.20237,-41.93751 61.58225,-71.94098 5.46593,-15.79947 7.04651,-27.57826 6.3468,-47.29745 C 938.89001,116.87075 935.30718,101.64037 926.95065,85 904.57301,40.439391 855.98335,14.894023 780.5,8.0055163 749.4644,5.1732507 535.42546,8.7913449 531.25,12.218815 530.25559,13.035085 530,68.740584 530,284.65383 c 0,216.24243 0.25407,271.49204 1.25,271.81779 0.6875,0.22487 39.05,0.80491 85.25,1.28898 46.2,0.48406 88.05,0.95484 93,1.04617 4.95,0.0913 17.775,-0.27275 28.5,-0.80907 z m -55.5,-118.87359 -6,-0.62411 -0.25902,-52.44098 c -0.16685,-33.78107 0.0948,-52.7948 0.73534,-53.43534 1.55464,-1.55464 43.98119,-2.06938 56.10146,-0.68065 11.29882,1.29461 25.68624,5.57763 32.92222,9.80068 10.6662,6.22499 19.44041,17.72144 22.60987,29.62468 0.75152,2.82239 1.37173,8.97457 1.37826,13.67151 0.0215,15.44762 -4.35804,26.55976 -14.3674,36.45442 -7.20294,7.1204 -14.80632,11.3566 -27.14762,15.1252 -8.67955,2.65043 -9.80737,2.74643 -34.47311,2.93439 -14.025,0.10687 -28.2,-0.0865 -31.5,-0.4298 z m 54.73853,-6.57365 c 28.67999,-5.11358 44.70875,-20.02461 46.49014,-43.2482 C 785.78118,362.54388 769.47276,344.56629 738,338.8933 c -10.72358,-1.93294 -53.8292,-1.77369 -55.08098,0.20349 -0.48862,0.77177 -0.89529,21.71061 -0.90371,46.53077 -0.012,35.37623 0.26028,45.35627 1.26008,46.18603 2.77209,2.30063 42.17495,2.83868 53.96314,0.73687 z M 679,224.15941 l -2.5,-0.74958 v -48.94256 -48.94256 l 5,-0.81064 c 2.75,-0.44585 16.925,-0.88284 31.5,-0.9711 24.32115,-0.14727 27.12846,0.0155 34.14353,1.98014 30.77122,8.61763 43.57499,31.206 34.80161,61.39693 -5.04584,17.36374 -19.22542,29.4021 -41.2653,35.03392 -7.01414,1.79231 -11.8138,2.13756 -33.67984,2.42261 -14.025,0.18284 -26.625,-0.005 -28,-0.41716 z m 58,-7.63883 c 8.71615,-1.89241 20.47362,-7.14361 26.2655,-11.73086 5.48107,-4.34109 11.12825,-13.37052 13.23897,-21.16817 2.6204,-9.68053 1.81296,-23.40852 -1.81267,-30.81905 C 768.16745,139.46722 754.245,132.05703 732,130.07993 c -13.30543,-1.18257 -47.97709,0.276 -49.11136,2.06602 -0.47191,0.74473 -0.86491,20.15605 -0.87333,43.13627 L 682,217.06445 l 2.25,0.97108 c 3.62553,1.56475 43.8917,0.40833 52.75,-1.51495 z"
49
- style="fill:#f59359" />
50
- <path
51
- id="path4578"
52
- d="M 6.3930112,621.41821 C 6.726855,620.54823 7,606.60161 7,590.42573 v -29.4107 l 62.666761,-0.25752 c 47.644069,-0.19578 62.762589,-0.54505 63.066489,-1.45697 0.21985,-0.65971 -1.99269,-2.4095 -4.91676,-3.88844 C 103.1967,542.95991 85.873523,520.32982 77.537167,489.72984 72.151029,469.95913 72.038142,467.37591 72.01832,363.44113 72.00394,288.06796 71.730146,267.01321 70.74687,265.6685 c -0.96785,-1.32361 -5.350185,-2.26662 -19.25,-4.1423 C 29.584111,258.56923 3.0909584,256.02787 1.3084961,256.71186 0.24153686,257.12129 0,248.22181 0,208.5 c 0,-39.14128 0.25125346,-48.61756 1.2785896,-48.22334 0.7032243,0.26986 5.3157243,0.119 10.2500004,-0.33522 51.411574,-4.73272 78.824023,-6.03151 140.10457,-6.63806 31.42324,-0.31103 59.1983,-0.25582 61.72235,0.12268 l 4.58919,0.68819 0.27765,134.69288 c 0.27032,131.13723 0.32967,134.83707 2.24824,140.15553 2.60813,7.23 8.62478,13.46362 14.52941,15.05336 28.28033,7.61413 63.50582,-30.2734 70.98384,-76.3482 0.62141,-3.82871 1.00392,-45.32483 1.00861,-109.41782 L 307,155 H 380.5 454 V 301.52475 448.0495 l 2.25,0.85105 c 3.00566,1.13687 29.35113,4.67646 49.55301,6.65758 12.72737,1.24813 16.62036,1.33539 17.75,0.39788 C 524.80779,454.91463 525,424.97046 525,230.5279 V 6.3006849 L 535.75,5.6765725 C 541.6625,5.3333106 560,4.5828741 576.5,4.0089356 593,3.4349972 611.675,2.7744793 618,2.5411182 624.325,2.3077571 656.97574,1.63994 690.5572,1.0570802 761.65797,-0.17698736 775.98891,0.42900836 809.5,6.0866769 873.92844,16.964114 917.04635,45.719807 935.33235,90.005318 c 7.262,17.587312 10.09156,33.151122 10.08914,55.494682 -0.003,23.62339 -3.9856,40.12953 -14.63446,60.6468 -9.77734,18.8381 -26.61916,37.62612 -44.23634,49.34818 -4.70288,3.12919 -8.55069,6.09147 -8.55069,6.58283 0,0.49137 2.8125,2.29923 6.25,4.01747 34.40233,17.19608 59.44507,51.08387 67.26343,91.02077 3.55955,18.18253 2.97243,43.41378 -1.50449,64.65437 -9.60745,45.58222 -38.07346,83.6093 -80.9653,108.15968 -19.32943,11.06375 -42.77826,19.86336 -68.47834,25.69778 -12.16349,2.76134 -13.38245,3.23964 -11.42206,4.48181 0.74622,0.47283 53.21926,0.86658 116.60676,0.875 L 1021,561 v 29.41821 c 0,16.18002 0.2731,30.13002 0.607,31 C 1022.16,622.85932 977.01384,623 514,623 50.986164,623 5.8400075,622.85932 6.3930112,621.41821 Z M 96.494902,609.165 c 5.446548,-3.14102 6.565788,-7.00921 6.268658,-21.665 L 102.5,574.5 h -4 -4 L 94,587.83372 c -0.439039,11.70805 -0.736666,13.5064 -2.44113,14.75 -2.508941,1.83056 -4.578954,1.79094 -7.336364,-0.14042 C 82.13032,600.97787 82,600.16414 82,588.56574 c 0,-13.5325 -0.570405,-14.97497 -5.689528,-14.388 L 73.5,574.5 v 15.22951 c 0,15.1026 0.02186,15.25136 2.623066,17.85034 4.603175,4.59924 13.892086,5.32202 20.371836,1.58515 z m 228.373018,0.53995 c 3.84914,-1.89136 6.58663,-6.32509 6.58663,-10.66797 0,-4.6693 -2.32422,-7.5976 -8.07244,-10.17052 -8.30473,-3.71721 -8.09591,-7.36646 0.42152,-7.36646 4.68184,0 4.69637,-0.0106 4.69637,-3.42805 0,-2.93977 -0.41415,-3.53882 -2.90756,-4.20566 -1.59915,-0.42768 -5.07613,-0.31252 -7.72661,0.2559 -6.16178,1.32147 -9.86583,5.38363 -9.86583,10.81968 0,4.91896 2.51523,8.02083 8.94645,11.03305 4.02892,1.88705 5.07865,2.85424 4.84797,4.46682 -0.25016,1.74885 -1.19639,2.13342 -6.29442,2.55826 l -6,0.5 v 3.45492 c 0,2.82159 0.45827,3.59031 2.5,4.19357 3.06976,0.90701 9.56776,0.17806 12.86792,-1.44354 z m 312.40941,1.23492 c 8.85241,-2.45833 14.4677,-11.43231 13.4321,-21.46629 -1.04436,-10.11886 -6.85734,-15.63149 -16.63876,-15.77905 -5.74847,-0.0867 -11.66858,3.04539 -15.0308,7.95223 -4.63002,6.75708 -3.57753,20.84173 1.92987,25.82586 1.97781,1.78989 8.43586,4.41164 11.03026,4.47791 0.825,0.0211 3.1998,-0.43372 5.27733,-1.01066 z m -8.4977,-9.00339 c -2.25085,-1.31188 -4.08068,-8.25717 -3.23274,-12.27016 1.57495,-7.45368 9.21531,-10.32668 13.38053,-5.03146 3.1237,3.97114 2.91625,12.61238 -0.38197,15.91059 -2.5752,2.57521 -6.72093,3.16572 -9.76582,1.39103 z m 58.08829,7.76847 c 1.34871,-0.66272 3.39268,-2.47396 4.54215,-4.02497 1.88907,-2.54898 2.08993,-4.18283 2.08993,-17 V 574.5 l -3.08517,-0.30107 c -1.7268,-0.1685 -3.58383,0.29978 -4.21773,1.06358 -0.67095,0.80844 -1.2476,6.41858 -1.41482,13.76465 -0.28152,12.36673 -0.28966,12.40413 -3.03228,13.93642 -2.47289,1.3816 -3.02711,1.38169 -5.5,8.7e-4 -2.74392,-1.53215 -2.75111,-1.56532 -3.25,-15 L 672.5,574.5 h -4 -4 l -0.29888,12 c -0.33988,13.64622 0.14274,17.4735 2.58081,20.46621 3.75247,4.60612 13.56323,5.94383 20.08599,2.73874 z m 90.92173,-0.3689 c 2.12751,-1.33256 2.26914,-2.01487 2,-9.63508 L 779.5,591.5 h -4 -4 l -0.2999,5.75 -0.29991,5.75 h -3.52702 c -2.59738,0 -4.32984,-0.80282 -6.57291,-3.0459 -2.7913,-2.7913 -3.00457,-3.47597 -2.5515,-8.19115 0.39028,-4.06175 1.09096,-5.65841 3.32727,-7.582 2.58616,-2.22453 3.42865,-2.3868 9.67385,-1.86322 6.56798,0.55064 6.87794,0.47628 7.76749,-1.86342 1.23057,-3.23664 0.2939,-5.36221 -2.62767,-5.96294 -1.31434,-0.27025 -3.48607,-0.71776 -4.82609,-0.99446 -4.30989,-0.88994 -12.50814,1.51549 -16.19353,4.75131 -4.79966,4.21415 -6.67537,8.30618 -6.76196,14.75178 -0.12691,9.44685 4.79485,15.91337 13.73212,18.04213 4.21166,1.00317 12.60348,0.0765 15.44941,-1.70608 z m 36.70344,1.56137 c 5.336,-1.34362 11.10667,-6.79702 12.49997,-11.81273 2.58299,-9.29842 -0.2317,-19.21496 -6.56492,-23.1291 -4.17719,-2.58165 -12.66657,-2.92185 -16.97694,-0.68033 -13.94459,7.2516 -13.91269,30.27361 0.0488,35.21985 4.93798,1.74941 5.55379,1.77195 10.99309,0.40231 z m -9.42051,-10.53228 C 803.57583,598.46233 803,596.27714 803,592.5 c 0,-8.63881 5.50377,-12.97668 12.03178,-9.48299 4.3513,2.32875 4.57315,13.44709 0.36118,18.10127 -2.57999,2.85086 -7.78421,2.47108 -10.32038,-0.75314 z m 63.7165,9.5205 c 2.17824,-0.82393 2.27508,-1.29001 2,-9.62575 L 870.5,591.5 l -3.39514,-0.32418 c -4.17089,-0.39826 -5.06948,0.85073 -5.08955,7.07418 -0.0153,4.74429 -0.0195,4.75 -3.45955,4.75 -7.26172,0 -11.38332,-7.69028 -8.20212,-15.30395 1.92238,-4.6009 5.14918,-5.95981 13.1151,-5.5232 5.73355,0.31426 6.00719,0.21859 6.94485,-2.428 1.2482,-3.52313 0.0745,-4.73895 -5.58316,-5.78348 -6.04317,-1.11571 -13.63279,0.53648 -17.82084,3.87944 -4.93175,3.93658 -7.00618,8.53151 -7.00804,15.52304 -0.002,9.43679 4.61678,15.53413 13.42909,17.72611 3.34321,0.83159 11.71065,0.17546 15.35844,-1.20432 z m -741.9552,-0.18548 c 0.59332,-0.71491 1.21092,-5.0058 1.37244,-9.53531 l 0.29368,-8.23547 5.5,9.28531 5.5,9.28531 h 5 5 v -18 -18 l -2.81047,-0.32226 c -4.78912,-0.54913 -5.68703,1.13188 -5.71258,10.6947 l -0.023,8.62756 -4.79258,-8.17537 c -6.73529,-11.48934 -6.71542,-11.47104 -12.07374,-11.12279 L 119.5,574.5 l -0.27515,16.96328 c -0.15133,9.3298 -0.053,17.5423 0.21862,18.25 0.64256,1.67448 5.99772,1.66498 7.39041,-0.0131 z m 48.13094,-0.63442 C 175.54531,607.98108 176,600.59797 176,592.25687 c 0,-16.66483 -0.61033,-18.65471 -5.54931,-18.09266 L 167.5,574.5 l -0.27515,16.96328 c -0.15133,9.3298 -0.053,17.5423 0.21862,18.25 0.78881,2.0556 6.32998,1.57854 7.52135,-0.64754 z m 33.76947,0.68426 c 1.75267,-2.23741 12.10278,-33.01102 11.56978,-34.4 -0.29615,-0.77173 -1.99329,-1.35 -3.96209,-1.35 -3.8251,0 -3.54755,-0.45025 -8.78414,14.25 -1.51841,4.2625 -3.0694,7.75 -3.44664,7.75 -0.37725,0 -2.19233,-4.6125 -4.03353,-10.25 -1.84119,-5.6375 -3.84939,-10.58061 -4.46265,-10.98469 -2.06491,-1.36057 -6.65771,-0.81762 -7.30275,0.8633 -0.5751,1.49871 5.62463,21.1298 9.8285,31.12139 1.67089,3.97129 2.04477,4.25 5.70125,4.25 2.1522,0 4.35372,-0.5625 4.89227,-1.25 z m 45.09247,-1.55504 C 254.34564,604.53476 252.29261,603 246.87756,603 H 242 v -3.44774 -3.44774 l 5.25,-0.30226 5.25,-0.30226 v -3.5 -3.5 l -5.25,-0.30226 c -5.07762,-0.29233 -5.25,-0.39904 -5.25,-3.25 0,-2.86075 0.14393,-2.94774 4.87756,-2.94774 5.41505,0 7.46808,-1.53476 6.9492,-5.19496 C 253.51046,574.57377 253.17995,574.5 243.5,574.5 h -10 l -0.27515,16.96328 c -0.15133,9.3298 -0.0467,17.55869 0.2326,18.28642 0.384,1.0007 2.888,1.25334 10.27514,1.03672 9.33894,-0.27386 9.78174,-0.38754 10.09417,-2.59146 z M 277,605 l 0.5,-5.5 3.434,5 c 4.23517,6.16653 4.66496,6.4657 9.316,6.48469 4.99799,0.0204 4.94102,-2.02716 -0.25,-8.98469 -2.2,-2.94867 -4,-5.71957 -4,-6.15755 0,-0.43799 1.05564,-1.48803 2.34587,-2.33342 5.31976,-3.48564 6.13414,-10.82106 1.74653,-15.73164 -2.7561,-3.08462 -3.3302,-3.27336 -11.01892,-3.62252 -5.43977,-0.24704 -8.59913,0.0365 -9.5924,0.86083 -1.19642,0.99294 -1.48108,4.33849 -1.48108,17.40674 0,17.69877 0.35259,18.87763 5.49508,18.37264 C 276.36421,610.51333 276.52259,610.25147 277,605 Z m 0,-19.56642 c 0,-3.27069 0.21967,-3.54019 2.64914,-3.25 C 285.1948,582.84597 284.94961,589 279.37756,589 277.31858,589 277,588.52212 277,585.43358 Z M 353.5,592.5 v -18 l -2.81047,-0.32226 C 345.36028,573.56667 345,574.722 345,592.42244 c 0,17.69877 0.35259,18.87763 5.49508,18.37264 L 353.5,610.5 Z m 31.27711,3.80617 0.27712,-14.19382 4.22288,-0.30618 C 393.37828,581.50882 393.5,581.39912 393.5,578 v -3.5 h -13 -13 v 3.5 c 0,3.40275 0.11809,3.50854 4.25,3.8075 l 4.25,0.3075 v 13.77583 c 0,7.57671 0.32142,14.09725 0.71426,14.4901 0.39284,0.39284 2.30534,0.58034 4.25,0.41666 L 384.5,610.5 Z M 426.5,607 v -3.5 l -5.75,-0.2999 -5.75,-0.29991 v -3.39783 c 0,-3.38453 0.0202,-3.39902 5.14701,-3.7001 9.56406,-0.56165 9.56406,-7.04287 0,-7.60452 C 415.20464,587.9075 415,587.78027 415,584.99764 c 0,-2.82636 0.14182,-2.90523 5.75,-3.19774 L 426.5,581.5 V 578 c 0,-3.46599 -0.0462,-3.50296 -4.75,-3.80479 -2.6125,-0.16764 -4.75,-0.64679 -4.75,-1.06479 0,-0.418 1.60536,-1.52554 3.56746,-2.4612 2.68849,-1.28205 3.48924,-2.22646 3.25,-3.83308 -0.59654,-4.00608 -3.23066,-4.49024 -7.83869,-1.44079 -3.68374,2.43778 -4.12503,3.12335 -3.62377,5.62964 0.52462,2.62311 0.31102,2.87894 -2.64212,3.16442 L 406.5,574.5 l -0.27515,16.96328 c -0.15133,9.3298 -0.0467,17.55869 0.2326,18.28642 0.384,1.0007 2.888,1.25334 10.27514,1.03672 L 426.5,610.5 Z m 64.19841,1.90395 c 6.07401,-2.94038 9.63492,-9.18411 9.63492,-16.89396 0,-12.42569 -6.46341,-18.00999 -20.84522,-18.00999 -4.95742,0 -8.5526,0.46449 -9.28811,1.2 -1.68216,1.68216 -1.68216,32.91784 0,34.6 2.09962,2.09962 15.52223,1.51288 20.49841,-0.89605 z m -12.27122,-7.23309 c -0.28052,-0.73103 -0.3789,-5.34353 -0.21861,-10.25 0.27788,-8.50627 0.40071,-8.93633 2.64313,-9.25374 6.76866,-0.95809 10.75285,3.77685 9.85804,11.7156 -0.37044,3.28652 -1.25056,5.18571 -3.16714,6.83428 -2.91067,2.50366 -8.30413,3.06804 -9.11542,0.95386 z M 534.5,607 v -3.5 l -5.75,-0.2999 -5.75,-0.29991 v -3.39783 c 0,-3.39393 0.006,-3.39819 5.25,-3.7001 L 533.5,595.5 v -3.5 -3.5 l -5.25,-0.30226 c -5.07762,-0.29233 -5.25,-0.39904 -5.25,-3.25 0,-2.84779 0.16107,-2.94826 4.75,-2.96305 6.03488,-0.0195 7.49412,-0.96614 7.08008,-4.5932 L 534.5,574.5 h -10 -10 l -0.27515,16.96328 c -0.15133,9.3298 -0.0467,17.55869 0.2326,18.28642 0.384,1.0007 2.888,1.25334 10.27514,1.03672 L 534.5,610.5 Z m 60.97321,3.01019 c 1.43187,-0.5444 3.71117,-2.18511 5.0651,-3.64603 2.9522,-3.18548 3.31579,-9.131 0.79378,-12.98008 -1.55722,-2.37662 -1.55722,-2.73295 0,-5.36911 2.81339,-4.7627 1.54617,-9.47424 -3.32159,-12.3497 -3.4217,-2.02125 -17.91415,-2.36162 -19.8105,-0.46527 -1.26532,1.26532 -1.78267,31.118 -0.59301,34.21821 0.47708,1.24326 2.17529,1.58179 7.9349,1.58179 4.03035,0 8.49944,-0.44542 9.93132,-0.98981 z M 586,599.43664 c 0,-3.39646 0.1475,-3.54868 3.14915,-3.25 C 595.4355,596.81217 595.18884,603 588.87756,603 586.24584,603 586,602.69557 586,599.43664 Z M 586,585 c 0,-2.92519 0.20947,-3.10652 3.25,-2.81336 2.71644,0.26191 3.25,0.72379 3.25,2.81336 0,2.08957 -0.53356,2.55145 -3.25,2.81336 C 586.20947,588.10652 586,587.92519 586,585 Z m 132.8,24.8 c 0.66,-0.66 1.2,-2.91 1.2,-5 0,-2.09 0.3375,-3.79191 0.75,-3.78203 0.4125,0.01 2.21596,2.25988 4.00769,5 3.01497,4.61084 3.55747,4.98203 7.28138,4.98203 2.54544,0 4.22305,-0.51951 4.56632,-1.41405 0.29845,-0.77773 -1.5208,-4.24981 -4.04276,-7.71572 l -4.58539,-6.30167 2.93907,-2.30017 c 4.16993,-3.26345 5.59527,-8.10824 3.71172,-12.61622 -2.15721,-5.16293 -6.06373,-6.79658 -15.40865,-6.44368 L 711.5,574.5 l -0.27515,16.96328 c -0.15133,9.3298 -0.0529,17.5423 0.21862,18.25 0.62273,1.6228 5.75989,1.68336 7.35653,0.0867 z m 1.2,-24.3 c 0,-3.37315 0.19659,-3.61022 2.75,-3.31642 2.31857,0.26678 2.75,0.78707 2.75,3.31642 0,2.52935 -0.43143,3.04964 -2.75,3.31642 -2.55341,0.2938 -2.75,0.0567 -2.75,-3.31642 z m 173.83388,24.20016 c 0.59332,-0.71491 1.21092,-5.07082 1.37244,-9.67981 l 0.29368,-8.37997 5.51837,9.42981 5.51837,9.42981 h 4.98163 4.98163 v -18 -18 l -2.87182,-0.32818 c -1.5795,-0.1805 -3.3795,0.17763 -4,0.79585 -0.6205,0.61821 -1.35318,4.81589 -1.62818,9.32817 l -0.5,8.20416 -4.78241,-8.15445 c -2.63032,-4.48495 -5.40957,-8.67495 -6.17609,-9.31111 -0.76653,-0.63616 -3.33945,-1.01666 -5.7176,-0.84555 L 886.5,574.5 l -0.27515,16.96328 c -0.15133,9.3298 -0.0529,17.5423 0.21862,18.25 0.64256,1.67448 5.99772,1.66498 7.39041,-0.0131 z M 955.5,607 v -3.5 l -5.75,-0.2999 -5.75,-0.29991 v -3.39783 c 0,-3.38453 0.0202,-3.39902 5.14701,-3.7001 5.81559,-0.34152 8.18967,-2.45229 6.24488,-5.55226 -0.76383,-1.21754 -2.66393,-1.84197 -6.24488,-2.05226 C 944.20464,587.9075 944,587.78027 944,584.99764 c 0,-2.82636 0.14182,-2.90523 5.75,-3.19774 L 955.5,581.5 v -3.5 -3.5 h -10 -10 l -0.27515,16.96328 c -0.15133,9.3298 -0.0467,17.55869 0.2326,18.28642 0.384,1.0007 2.888,1.25334 10.27514,1.03672 L 955.5,610.5 Z M 318.82971,559.25 c 0.49504,-0.9625 1.20389,-10.525 1.57522,-21.25 0.37133,-10.725 1.02554,-21.85544 1.45381,-24.73432 1.2054,-8.1028 -0.1678,-8.66083 -5.57546,-2.26568 -15.55157,18.39145 -33.44275,32.81568 -51.42391,41.45897 -12.04717,5.79091 -13.05767,6.41115 -12.33916,7.57374 0.36518,0.59086 13.20893,0.96729 33.00362,0.96729 29.85312,0 32.4767,-0.13785 33.30588,-1.75 z m 449.09878,-2.57918 c 24.1686,-3.4189 44.78097,-8.15013 62.26763,-14.29249 63.20078,-22.1999 103.12602,-64.96341 115.85436,-124.09041 3.01226,-13.99283 3.80128,-43.15876 1.52274,-56.28792 -3.33718,-19.22922 -9.73855,-35.55584 -19.94603,-50.87214 C 914.88798,292.01269 900.8372,279.64201 881.25,270.29612 871.50173,265.64481 870,264.60573 870,262.51204 c 0,-1.90773 1.31532,-3.18473 6.25,-6.0679 15.41098,-9.00414 33.8478,-26.16446 42.91544,-39.94414 16.17862,-24.58591 22.49532,-47.20732 21.50113,-77 C 939.47396,103.76147 928.36758,76.931607 905.41771,54.348737 880.85937,30.183115 844.72977,15.312229 793.5,8.2835806 771.46897,5.2609567 630.95304,6.0399449 547.16657,9.6491966 c -11.18532,0.4818274 -15.71665,1.0437364 -16.75,2.0770874 -2.06745,2.067458 -2.14262,543.426266 -0.0757,545.141666 1.52062,1.26201 59.09544,1.81809 162.65911,1.57103 52.49691,-0.12524 65.48029,-0.43162 74.92849,-1.76816 z M 695.5,438.94467 c -7.15,-0.39416 -14.2375,-0.76796 -15.75,-0.83067 L 677,438 v -52.41468 -52.41468 l 7.50269,-0.70306 c 4.12648,-0.38668 17.73898,-0.47408 30.25,-0.19423 18.79484,0.42043 24.22001,0.88201 31.22299,2.65652 28.23835,7.1554 43.04551,24.14268 43.11469,49.46264 0.0139,5.09436 -0.51805,11.4776 -1.18215,14.18498 -5.61557,22.89333 -26.19618,37.36399 -57.46389,40.40405 -10.81674,1.05168 -15.28404,1.04697 -34.94433,-0.0369 z m 41.22965,-5.44962 c 27.35512,-4.4366 43.67579,-18.3276 47.45984,-40.39449 3.41678,-19.92515 -6.08568,-38.96179 -23.94983,-47.97958 -13.14188,-6.634 -17.83559,-7.3881 -48.97936,-7.86915 l -28.23971,-0.43619 -1.03965,2.73449 c -1.25099,3.29036 -0.91901,91.84532 0.34908,93.1173 2.35336,2.36057 41.29489,2.95301 54.39963,0.82762 z M 678.25,223.38607 C 677.27485,222.95487 677,212.2008 677,174.47794 v -48.35539 l 4.75,-0.73911 c 2.6125,-0.40651 16.675,-0.7631 31.25,-0.79242 24.23846,-0.0488 27.15231,0.13129 34.14353,2.10969 27.24451,7.70978 39.50437,25.11314 36.04226,51.16347 -2.92103,21.97901 -16.93796,36.51449 -41.74381,43.28813 -7.05776,1.92723 -10.94801,2.20307 -34.94198,2.47759 -14.85,0.16989 -27.5625,0.0602 -28.25,-0.24383 z m 47.25,-4.41739 c 16.98619,-1.91549 30.29669,-6.80652 39.12966,-14.37843 C 773.54089,196.95124 779,183.983 779,170.45314 c 0,-12.21643 -3.79252,-21.41921 -11.81318,-28.66539 -5.07496,-4.58492 -9.57995,-6.91655 -19.19892,-9.93671 -7.11979,-2.23546 -8.87427,-2.35104 -35.68852,-2.35104 -21.79584,0 -28.49573,0.29505 -29.5,1.29913 -1.67956,1.67924 -2.46388,83.09073 -0.82991,86.14383 0.59932,1.11983 2.39741,2.09985 4.28186,2.33374 6.84155,0.84917 30.64342,0.66237 39.24867,-0.30802 z"
53
- style="fill:#f37429" />
54
- <path
55
- id="path4576"
56
- d="m 6,622 c 0,-0.55 0.45,-1 1,-1 0.6440678,0 1,-10.5 1,-29.5 V 562 h 63.031385 c 57.568625,0 63.086075,-0.14253 63.662475,-1.64461 0.73313,-1.9105 0.28712,-2.25369 -10.85872,-8.35539 -5.15119,-2.81997 -11.3306,-7.44255 -16.55174,-12.38171 C 89.594318,522.88455 79.608698,501.86392 74.316497,470.21997 72.915708,461.84416 72.63156,446.92352 72.261745,362.32487 71.894644,278.34708 71.625569,264.0703 70.401082,263.60042 67.990034,262.67521 42.402741,259.23442 25.5,257.56246 16.7,256.69199 7.8125,255.80216 5.75,255.58505 3.6875,255.36795 2,255.59749 2,256.09516 2,256.59282 1.55,257 1,257 0.34707904,257 0,240.16667 0,208.5 c 0,-42.69019 0.43796513,-52.3099 2.1666667,-47.58987 0.1984008,0.54171 3.7741122,0.5618 8.8333333,0.0496 45.12774,-4.5685 78.020813,-6.09346 143.72214,-6.66313 l 62.22214,-0.5395 0.27786,134.37144 L 217.5,422.5 l 2.21754,6.5 c 3.58787,10.51666 9.68699,15.67021 19.77792,16.71169 26.32665,2.71715 54.47805,-26.87122 65.77663,-69.13415 2.13115,-7.97164 2.16646,-9.47383 2.69368,-114.57754 L 308.5,155.5 380.75,155.24342 453,154.98685 v 146.38413 c 0,123.72332 0.21509,146.56264 1.38946,147.53728 1.71176,1.42063 13.66452,3.36632 36.61054,5.9595 31.27763,3.53476 32.68586,3.58774 33.92302,1.27609 C 525.68311,454.7236 526,388.39027 526,230.70275 V 7.2740161 l 9.25,-0.6285514 C 551.74587,5.5245459 602.53061,3.8612223 644,3.0836382 680.0325,2.4080003 682.18352,2.2832258 663.5,1.9524995 650.20225,1.7171093 661.75561,1.3825695 695,1.040384 c 47.02026,-0.48398083 92.14826,0.056186 76.5,0.9156789 -4.94136,0.271408 -3.97094,0.4737172 5.5,1.1466153 95.27704,6.7693141 153.25998,47.0000378 165.65327,114.9364218 2.44279,13.3907 2.45111,40.46655 0.0159,51.9609 -3.97264,18.75156 -9.8997,32.73842 -20.74218,48.94811 -9.79513,14.64388 -21.97489,26.22651 -42.67704,40.58474 -1.2375,0.85829 -2.25,2.14095 -2.25,2.85036 0,0.70941 3.79615,3.1709 8.43589,5.46998 25.94321,12.85537 47.95136,38.14665 59.30048,68.14681 11.98115,31.67087 10.63283,75.92219 -3.39735,111.5 -8.03406,20.3728 -17.95254,35.12993 -35.32466,52.55749 -14.45022,14.49635 -26.22178,23.24176 -44.01436,32.69948 -17.83799,9.48186 -44.23696,18.66825 -65.5,22.79288 -10.07671,1.95469 -12.1459,2.96696 -10.38989,5.08283 C 787.05797,561.77477 806.41468,562 903.62244,562 H 1020 v 29.5 c 0,19 0.3559,29.5 1,29.5 0.55,0 1,0.45 1,1 0,0.66535 -170,1 -508,1 C 176,623 6,622.66535 6,622 Z m 90.39547,-11.84707 c 6.19054,-3.53398 7.07052,-5.98421 7.45333,-20.75311 C 104.23659,574.43873 103.77416,573 98.577555,573 93.417311,573 93,574.13886 93,588.22144 c 0,12.70578 -0.02255,12.83171 -2.5,13.96051 -1.870159,0.85211 -3.129841,0.85211 -5,0 C 83.034046,601.05839 83,600.87827 83,588.9557 83,575.35138 82.270021,573 78.046604,573 71.97986,573 72,572.94935 72,588.20586 c 0,15.06327 0.95894,19.03173 5.249708,21.72534 5.25769,3.30062 13.583513,3.39704 19.145762,0.22173 z m 229.48139,0.0543 c 3.19819,-1.47324 7.04261,-7.45879 7.10118,-11.05614 0.0633,-3.88755 -3.38958,-8.20538 -8.60034,-10.75477 -2.97904,-1.45751 -5.69037,-3.09325 -6.02518,-3.63499 -1.01592,-1.6438 1.93766,-2.86129 5.64748,-2.32795 4.91101,0.70603 6.19812,-0.40768 5.8192,-5.03521 L 329.5,573.5 323.2516,573.20232 C 312.99168,572.71354 307,577.16247 307,585.26943 c 0,4.50445 2.95399,8.16682 9.09865,11.28056 6.90117,3.49709 6.47587,5.27957 -1.34865,5.65229 l -6.25,0.29772 -0.30588,4.21692 c -0.28338,3.90674 -0.0995,4.26257 2.5,4.83747 1.54323,0.34131 3.25588,0.76965 3.80588,0.95187 1.71254,0.5674 7.84417,-0.67165 11.37686,-2.29899 z m 316.61057,-0.58591 c 5.98906,-3.22403 9.01165,-9.30174 9.01216,-18.12136 7.1e-4,-12.10548 -4.98862,-17.70667 -16.28156,-18.27827 -8.12467,-0.41123 -12.30144,1.48726 -16.59521,7.54312 -4.12276,5.81468 -4.77443,15.81154 -1.44562,22.17661 5.02592,9.61014 14.98453,12.23843 25.31023,6.6799 z m -14.04673,-9.68688 c -1.33711,-1.47749 -1.86927,-3.59401 -1.86927,-7.43448 0,-6.57546 2.16319,-9.5 7.02685,-9.5 4.4498,0 6.40172,2.96445 6.40172,9.72251 0,3.94416 -0.50529,5.78278 -2,7.27749 -2.59731,2.59731 -7.17788,2.56592 -9.5593,-0.0655 z m 59.43616,10.27279 c 5.53538,-2.54988 7.07514,-7.37594 7.10118,-22.25727 0.0148,-8.45447 -0.36964,-12.9416 -1.17804,-13.75 -1.95411,-1.95411 -7.5782,-1.48296 -8.76482,0.73426 C 684.46583,575.9981 684,582.30775 684,588.9557 c 0,11.92257 -0.034,12.10269 -2.5,13.22625 -1.87016,0.85211 -3.12984,0.85211 -5,0 -2.47745,-1.1288 -2.5,-1.25473 -2.5,-13.96051 C 674,574.1763 673.57496,573 668.5,573 c -5.07553,0 -5.5,1.17556 -5.5,15.23212 0,17.29619 1.93213,21.62538 10.55012,23.63896 4.63685,1.08338 9.61907,0.50479 14.32674,-1.66381 z m 86.29137,1.32778 c 2.56753,-0.34819 5.1732,-1.24152 5.79038,-1.98517 0.69661,-0.83937 1.01203,-4.70774 0.83177,-10.20099 L 780.5,590.5 l -4.40089,-0.31487 c -5.26142,-0.37644 -6.06281,0.55418 -6.0838,7.06487 -0.0149,4.62351 -0.0964,4.75 -3.06076,4.75 -6.62746,0 -10.07778,-7.99344 -6.46552,-14.97879 1.87198,-3.62001 4.0299,-4.29975 12.27606,-3.86693 l 6.58657,0.34572 0.91009,-3.47122 c 0.7928,-3.02389 0.61214,-3.71248 -1.40188,-5.34333 -1.92925,-1.56221 -3.65255,-1.81528 -10.41039,-1.52878 -6.82404,0.2893 -8.75239,0.77625 -12.2542,3.09445 -5.49715,3.6391 -8.51624,9.58958 -8.49786,16.74888 0.018,7.01043 2.1637,12.02955 6.58408,15.40114 3.34469,2.55112 10.55248,4.68545 13.7185,4.06224 0.825,-0.16239 3.6007,-0.58014 6.16823,-0.92833 z M 819,610.05957 c 5.7927,-2.87597 9.17808,-8.71174 9.69998,-16.72096 C 829.52085,580.74122 823.0931,573 811.81228,573 c -13.03024,0 -20.90179,9.15476 -19.50533,22.68509 1.46657,14.20976 13.72678,20.812 26.69305,14.37448 z m -13.4599,-10.01526 c -2.38307,-2.63326 -2.50166,-10.92784 -0.20632,-14.43097 2.16705,-3.30734 7.45194,-3.61259 10.18872,-0.58848 2.46697,2.72597 2.58036,10.63831 0.20445,14.26711 -2.20153,3.36245 -7.47244,3.75173 -10.18685,0.75234 z M 869,610.62028 c 2.41036,-1.10609 2.5,-1.48739 2.5,-10.63375 V 590.5 l -4.62042,-0.2995 c -5.16204,-0.33461 -5.83878,0.59405 -5.86593,8.0495 -0.0126,3.4649 -0.23331,3.75 -2.90287,3.75 -4.45238,0 -7.22935,-2.87237 -7.81695,-8.0855 -0.43778,-3.88402 -0.12048,-4.96706 2.29687,-7.83992 l 2.80482,-3.33334 7.3548,0.55624 c 7.24179,0.54769 7.37021,0.51571 8.3577,-2.08159 2.51775,-6.62218 -1.18551,-8.826 -13.51216,-8.0411 -11.85299,0.75475 -18.61328,8.17417 -18.57941,20.39093 0.0355,12.81741 8.84857,19.95966 22.98355,18.62629 2.475,-0.23347 5.625,-0.94075 7,-1.57173 z M 127.8,610.8 c 0.72082,-0.72082 1.2,-4.20646 1.2,-8.72909 v -7.52909 l 4.6504,7.97909 c 2.55772,4.3885 5.14522,8.3097 5.75,8.71378 1.76726,1.18078 9.09022,0.87469 10.3996,-0.43469 1.68626,-1.68626 1.68626,-34.91374 0,-36.6 -1.57807,-1.57807 -7.45969,-1.54343 -8.49098,0.05 -0.44496,0.6875 -1.03402,4.4 -1.30902,8.25 l -0.5,7 -3.77041,-6.69898 c -2.07373,-3.68444 -4.46837,-7.39694 -5.32143,-8.25 -1.85167,-1.85168 -9.46895,-2.09023 -11.20816,-0.35102 -1.68626,1.68626 -1.68626,34.91374 0,36.6 0.66,0.66 2.595,1.2 4.3,1.2 1.705,0 3.64,-0.54 4.3,-1.2 z m 47.7,-18.3 v -19 h -4.5 -4.5 l -0.27396,17.96638 c -0.15067,9.88151 -0.0423,18.57009 0.24086,19.30795 0.34699,0.90425 1.90315,1.24118 4.77395,1.03361 L 175.5,611.5 Z m 33.23142,18.68716 c 0.67727,-0.43022 3.94869,-8.57898 7.26981,-18.10836 C 222.59419,574.16142 222.6173,573 216.40061,573 c -4.12845,0 -5.21164,1.56292 -8.89779,12.83843 -1.49928,4.58613 -3.06988,7.96113 -3.49021,7.5 -0.42034,-0.46114 -2.00521,-4.66343 -3.52193,-9.33843 -1.51672,-4.675 -3.22119,-9.08478 -3.78771,-9.79951 -0.62588,-0.78961 -2.63345,-1.18199 -5.1165,-1 -3.31708,0.24312 -4.14465,0.70801 -4.39549,2.46916 -0.32993,2.31643 9.06629,30.31095 11.43889,34.08035 1.05977,1.68367 2.35432,2.24615 5.14318,2.23469 2.04982,-0.008 4.28109,-0.36731 4.95837,-0.79753 z M 253.8,610.8 c 0.66,-0.66 1.2,-2.37 1.2,-3.8 0,-3.76668 -1.77598,-5 -7.2,-5 -4.45333,0 -4.8,-0.18056 -4.8,-2.5 0,-2.2413 0.40545,-2.5 3.91821,-2.5 6.05232,0 7.08179,-0.72685 7.08179,-5 0,-4.27315 -1.02947,-5 -7.08179,-5 C 243.66667,587 243,586.65971 243,585 c 0,-1.72222 0.66667,-2 4.8,-2 5.42402,0 7.2,-1.23332 7.2,-5 0,-4.28232 -1.65066,-5 -11.5,-5 -5.74444,0 -9.54249,0.44249 -10.3,1.2 -0.83977,0.83977 -1.2,6.33333 -1.2,18.3 0,11.96667 0.36023,17.46023 1.2,18.3 0.75751,0.75751 4.55556,1.2 10.3,1.2 5.74444,0 9.54249,-0.44249 10.3,-1.2 z m 22.99585,-0.054 c 0.57241,-0.68971 1.19001,-2.82721 1.37245,-4.75 l 0.3317,-3.496 3.33339,4.80139 c 3.25663,4.69081 3.44066,4.79444 7.99101,4.5 6.28024,-0.40639 6.52075,-2.45225 1.17879,-10.02715 -4.17064,-5.91397 -4.18352,-5.95963 -2.09411,-7.42311 7.15895,-5.01433 6.31345,-16.6889 -1.44338,-19.92991 C 285.55238,573.62178 280.78433,573 276.5673,573 c -6.38854,0 -7.64998,0.28597 -8.53212,1.93426 C 267.44825,576.03096 267,583.63717 267,592.5 c 0,8.86283 0.44825,16.46904 1.03518,17.56574 1.2004,2.24296 7.08455,2.69985 8.76067,0.68025 z M 278,585.5 c 0,-2.16486 0.40432,-2.58168 2.25,-2.31955 1.47682,0.20974 2.25,1.00682 2.25,2.31955 0,1.31273 -0.77318,2.10981 -2.25,2.31955 C 278.40432,588.08168 278,587.66486 278,585.5 Z m 75.8,25.3 c 0.83977,-0.83977 1.2,-6.33333 1.2,-18.3 0,-11.96667 -0.36023,-17.46023 -1.2,-18.3 -1.95411,-1.95411 -7.5782,-1.48296 -8.76482,0.73426 -1.51272,2.82654 -1.36793,34.33299 0.16482,35.86574 0.66,0.66 2.595,1.2 4.3,1.2 1.705,0 3.64,-0.54 4.3,-1.2 z m 31,0 c 0.81303,-0.81303 1.2,-5.48889 1.2,-14.5 V 583 h 3.3 c 3.97458,0 5.7,-1.51353 5.7,-5 0,-4.48792 -1.48505,-5 -14.5,-5 -13.01495,0 -14.5,0.51208 -14.5,5 0,3.48647 1.72542,5 5.7,5 h 3.3 v 13.3 c 0,14.55698 0.40042,15.7 5.5,15.7 1.705,0 3.64,-0.54 4.3,-1.2 z m 41.61821,0.59301 c 2.18077,-0.83684 2.18077,-7.94918 0,-8.78602 C 425.54823,602.27314 422.84823,602 420.41821,602 416.37212,602 416,601.78944 416,599.5 c 0,-2.33097 0.33568,-2.5 4.96482,-2.5 3.88511,0 5.18993,-0.42065 6,-1.93426 C 429.53343,590.26625 426.88655,587 420.42857,587 416.66667,587 416,586.69892 416,585 c 0,-1.69822 0.66667,-2 4.41821,-2 6.58303,0 7.58179,-0.65866 7.58179,-5 0,-4.13589 -1.02651,-4.95686 -6.33179,-5.06395 l -3.16821,-0.064 3.25,-1.61747 c 3.51048,-1.74711 4.17893,-4.44712 1.85795,-7.50462 -1.7848,-2.35118 -3.14155,-2.21337 -8.36891,0.85006 -3.90223,2.28687 -4.3854,2.94939 -4.01105,5.5 C 411.58381,572.52438 411.3048,573 409.52681,573 405.35646,573 405,574.53553 405,592.5 c 0,11.96667 0.36023,17.46023 1.2,18.3 1.25465,1.25465 17.26991,1.72438 20.21821,0.59301 z m 62.89799,-0.84182 c 8.39088,-2.99257 12.06074,-9.41555 11.51821,-20.15916 -0.43592,-8.63266 -2.27697,-11.7809 -8.85484,-15.14203 -3.5747,-1.82658 -6.05053,-2.25 -13.15628,-2.25 -7.6303,0 -8.88569,0.24808 -9.78811,1.93426 C 468.44825,576.03096 468,583.63717 468,592.5 c 0,8.86283 0.44825,16.46904 1.03518,17.56574 0.88965,1.66233 2.11979,1.92809 8.75,1.89037 4.24315,-0.0241 9.43211,-0.65636 11.53102,-1.40492 z M 479,592.5 V 583 l 3.25,0.0153 c 1.7875,0.008 3.74513,0.34592 4.3503,0.75 2.02924,1.35496 3.3997,5.0694 3.3997,9.2144 0,5.1429 -3.41929,9.0203 -7.95455,9.0203 H 479 Z m 55.8,18.3 c 0.66,-0.66 1.2,-2.37 1.2,-3.8 0,-3.76668 -1.77598,-5 -7.2,-5 -4.45333,0 -4.8,-0.18056 -4.8,-2.5 0,-2.2413 0.40545,-2.5 3.91821,-2.5 6.05232,0 7.08179,-0.72685 7.08179,-5 0,-4.27315 -1.02947,-5 -7.08179,-5 C 524.66667,587 524,586.65971 524,585 c 0,-1.72222 0.66667,-2 4.8,-2 5.42402,0 7.2,-1.23332 7.2,-5 0,-4.28232 -1.65066,-5 -11.5,-5 -5.74444,0 -9.54249,0.44249 -10.3,1.2 -0.83977,0.83977 -1.2,6.33333 -1.2,18.3 0,11.96667 0.36023,17.46023 1.2,18.3 0.75751,0.75751 4.55556,1.2 10.3,1.2 5.74444,0 9.54249,-0.44249 10.3,-1.2 z m 60.38572,0.16517 c 7.42049,-2.06098 11.45832,-11.74526 7.34545,-17.61721 -1.29569,-1.84986 -1.28571,-2.56325 0.0847,-6.05194 1.40321,-3.57221 1.40368,-4.31352 0.005,-7.66144 -1.08032,-2.58557 -2.60839,-4.14933 -5.05257,-5.17057 -4.31686,-1.8037 -18.64273,-1.98939 -20.36811,-0.26401 -0.83977,0.83977 -1.2,6.33333 -1.2,18.3 0,11.96667 0.36023,17.46023 1.2,18.3 1.47472,1.47472 12.89317,1.57958 17.98572,0.16517 z M 587,599.5 c 0,-2.28224 0.36621,-2.59071 2.75,-2.31642 1.97786,0.22758 2.75,0.87798 2.75,2.31642 0,1.43844 -0.77214,2.08884 -2.75,2.31642 -2.38379,0.27429 -2.75,-0.0342 -2.75,-2.31642 z m 0,-15 c 0,-2.57125 0.67566,-2.94543 3.41821,-1.89301 C 593.08107,583.62882 592.37644,587 589.5,587 c -2,0 -2.5,-0.5 -2.5,-2.5 z m 132.8,26.3 c 0.66,-0.66 1.2,-2.71998 1.2,-4.57774 v -3.37774 l 3.30088,4.32774 c 3.10673,4.0732 3.59116,4.32774 8.2363,4.32774 6.54186,0 6.79349,-1.71083 1.38055,-9.38637 l -4.21224,-5.97296 3.0213,-3.02131 c 5.44758,-5.44757 4.70742,-13.57171 -1.62467,-17.8328 -2.80389,-1.88684 -4.73558,-2.28656 -11.05,-2.28656 -4.61832,0 -8.12788,0.47576 -8.85212,1.2 -0.83977,0.83977 -1.2,6.33333 -1.2,18.3 0,18.62852 0.2458,19.5 5.5,19.5 1.705,0 3.64,-0.54 4.3,-1.2 z M 721,585.90638 C 721,583.66667 721.45876,583 723,583 c 1.44057,0 2,0.66667 2,2.38337 0,1.54236 -0.70573,2.56792 -2,2.90638 -1.66121,0.43441 -2,0.0307 -2,-2.38337 z M 894.8,610.8 c 0.71771,-0.71771 1.20726,-4.23443 1.21806,-8.75 l 0.0181,-7.55 4.63838,8 c 2.55111,4.4 5.13048,8.33061 5.73193,8.73469 1.75787,1.18099 9.08429,0.87458 10.39356,-0.43469 0.83977,-0.83977 1.2,-6.33333 1.2,-18.3 0,-18.75214 -0.21956,-19.5 -5.72475,-19.5 -4.13318,0 -5.57598,3.04178 -5.09968,10.75136 0.17844,2.88825 0.0672,5.25075 -0.24723,5.25 -0.31441,-7.5e-4 -2.48168,-3.33964 -4.81614,-7.41975 -2.33446,-4.08012 -4.92652,-7.68012 -5.76013,-8 -2.63572,-1.01142 -8.90408,-0.6296 -10.15207,0.61839 -0.83977,0.83977 -1.2,6.33333 -1.2,18.3 0,18.62852 0.2458,19.5 5.5,19.5 1.705,0 3.64,-0.54 4.3,-1.2 z m 60.61821,0.59301 c 1.8924,-0.72618 2.15759,-6.41721 0.38179,-8.19301 -0.66,-0.66 -3.36,-1.2 -6,-1.2 -4.45333,0 -4.8,-0.18056 -4.8,-2.5 0,-2.29032 0.37143,-2.5 4.42857,-2.5 4.75948,0 7.57143,-1.85695 7.57143,-5 0,-3.14305 -2.81195,-5 -7.57143,-5 -3.7619,0 -4.42857,-0.30108 -4.42857,-2 0,-1.72222 0.66667,-2 4.8,-2 2.64,0 5.34,-0.54 6,-1.2 1.7758,-1.7758 1.51061,-7.46683 -0.38179,-8.19301 -2.9483,-1.13137 -18.96356,-0.66164 -20.21821,0.59301 -0.83977,0.83977 -1.2,6.33333 -1.2,18.3 0,11.96667 0.36023,17.46023 1.2,18.3 1.25465,1.25465 17.26991,1.72438 20.21821,0.59301 z M 319.8822,559.75 c 0.45798,-1.2375 1.13818,-11.25 1.51155,-22.25 0.37338,-11 1.023,-22.29356 1.44362,-25.0968 0.42062,-2.80324 0.59178,-5.61574 0.38036,-6.25 -0.89179,-2.67538 -4.22103,-0.82795 -8.28386,4.5968 -6.42218,8.57499 -20.41126,21.92331 -30.50333,29.10613 -4.9118,3.49587 -14.3652,9.00554 -21.00757,12.2437 -6.64237,3.23816 -12.37596,6.1865 -12.74132,6.55186 -0.36537,0.36536 -0.1631,1.2682 0.44947,2.0063 0.89106,1.07367 7.7928,1.34201 34.51608,1.34201 h 33.4023 z M 753,558.97116 c 51.80549,-4.60395 92.67292,-17.54191 126.58612,-40.07507 14.62134,-9.71495 34.40792,-29.38187 43.70361,-43.43931 11.52305,-17.4258 19.18591,-35.95336 23.90251,-57.79242 1.87153,-8.66568 2.2035,-13.40814 2.25148,-32.16436 0.0529,-20.68319 -0.10443,-22.63209 -2.62873,-32.56037 -10.08516,-39.66577 -33.72102,-69.39665 -67.133,-84.44469 C 872.43471,265.23092 871,264.20594 871,262.29238 871,261.03157 871.38061,260 871.84581,260 c 0.46519,0 5.75269,-3.24066 11.75,-7.20147 C 920.06007,228.71641 942,188.29708 942,145.20212 942,107.24418 929.02762,75.219252 904.19219,51.865913 876.31098,25.648564 834.24736,10.506235 776.5,5.8984651 744.71105,3.3619651 532.41461,7.2521538 529.23725,10.429388 528.10679,11.559808 527.84622,555.21896 528.97529,557 c 0.8187,1.29144 8.29038,1.57195 53.73781,2.0175 101.23601,0.99247 158.774,0.97681 170.2869,-0.0463 z m -59,-121.0125 c -6.325,-0.38254 -12.5125,-0.75474 -13.75,-0.8271 L 678,437 v -51.36916 -51.36916 l 3.75,-0.61983 c 7.69835,-1.27246 47.53259,-0.66907 56.97965,0.8631 29.23529,4.74153 46.21659,19.86612 49.26046,43.87441 3.42197,26.99051 -12.12364,48.94626 -40.03518,56.54346 -14.11374,3.8416 -27.85203,4.6146 -53.95493,3.03584 z m 49.61362,-4.82775 c 24.67396,-6.19008 38.29309,-19.49541 41.57712,-40.61911 2.23658,-14.38625 -2.5405,-29.76633 -12.26637,-39.49219 C 766.2669,346.36214 754.18699,340.48745 742,337.98049 c -7.87543,-1.62003 -13.63294,-1.95646 -33.66821,-1.96735 -13.29252,-0.007 -24.88002,0.26 -25.75,0.59385 C 681.16957,337.14891 681,342.3997 681,385.58794 v 48.37396 l 2.25,0.51472 c 4.04517,0.92538 15.9269,1.26327 34.25,0.97398 14.06213,-0.22201 19.77502,-0.72949 26.11362,-2.31969 z M 678,175.11252 V 127.0381 l 2.72142,-0.68303 c 1.49679,-0.37567 15.33429,-0.72174 30.75,-0.76905 31.14763,-0.0956 34.52609,0.38197 48.02858,6.78915 18.73453,8.88987 26.83315,27.23144 22.03072,49.89464 -3.99344,18.84549 -17.68809,31.75275 -40.2348,37.92147 -6.8466,1.8732 -11.17509,2.18546 -35.54592,2.5643 L 678,223.18693 Z m 46.44433,44.86902 c 30.55968,-2.97122 48.95252,-15.59358 54.01439,-37.06817 6.81462,-28.91051 -7.70399,-48.56283 -39.90198,-54.01111 -7.37309,-1.24761 -52.4933,-0.76412 -55.81696,0.59812 -1.64878,0.67577 -1.74374,3.54745 -1.5,45.36053 L 681.5,219.5 l 5.5,0.587 c 9.10593,0.97186 26.87874,0.9218 37.44433,-0.10546 z"
57
- style="fill:#f36816" />
58
- </g>
59
- </svg>
1
+
@@ -0,0 +1 @@
1
+ .mapboxgl-map{font:12px/20px helvetica neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:#0000;text-align:left}.mapboxgl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group>button.mapboxgl-ctrl-compass{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group>button.mapboxgl-ctrl-compass:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right,.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left{top:0;left:0}.mapboxgl-ctrl-top-right{top:0;right:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{right:0;bottom:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0,0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-group{border-radius:4px;background:#fff}.mapboxgl-ctrl-group:not(:empty){-moz-box-shadow:0 0 2px #0000001a;-webkit-box-shadow:0 0 2px #0000001a;box-shadow:0 0 0 2px #0000001a}.mapboxgl-ctrl-group>button{width:30px;height:30px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:#0000;cursor:pointer}.mapboxgl-ctrl-group>button+button{border-top:1px solid #ddd}.mapboxgl-ctrl>button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl-group>button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl>button:not(:disabled):hover{background-color:#0000000d}.mapboxgl-ctrl-group>button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group>button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl-group>button:focus:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group>button:focus:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group>button:focus:only-child{border-radius:inherit}.mapboxgl-ctrl-icon,.mapboxgl-ctrl-icon>.mapboxgl-ctrl-compass-arrow{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mapboxgl-ctrl-icon{padding:5px}.mapboxgl-ctrl-icon.mapboxgl-ctrl-icon-disabled{opacity:.25;border-color:#373737}.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-out{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3R5bGU9ImZpbGw6IzMzMyIgZD0ibTcgOWMtLjU1NC4wLTEgLjQ0Ni0xIDEgMCAuNTU0LjQ0NiAxIDEgMWg2Yy41NTQuMCAxLS40NDYgMS0xIDAtLjU1NC0uNDQ2LTEtMS0xeiIvPjwvc3ZnPg==)}.mapboxgl-ctrl-icon.mapboxgl-ctrl-zoom-in{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3R5bGU9ImZpbGw6IzMzMyIgZD0iTTEwIDZDOS40NDYgNiA5IDYuNDQ1OTkwNCA5IDdWOUg3QzYuNDQ2IDkgNiA5LjQ0NiA2IDEwIDYgMTAuNTU0IDYuNDQ2IDExIDcgMTFIOXYyQzkgMTMuNTU0MDEgOS40NDYgMTQgMTAgMTQgMTAuNTU0IDE0IDExIDEzLjU1NDAxIDExIDEzVjExaDJDMTMuNTU0IDExIDE0IDEwLjU1NCAxNCAxMCAxNCA5LjQ0NiAxMy41NTQgOSAxMyA5SDExVjdDMTEgNi40NDU5OTA0IDEwLjU1NCA2IDEwIDZ6Ii8+PC9zdmc+)}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate::before{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iIzMzMyI+PHBhdGggZD0iTTEwIDRDOSA0IDkgNSA5IDVWNS4xQTUgNSAwIDAgMCA1LjEgOUg1YzAgMC0xIDAtMSAxIDAgMSAxIDEgMSAxSDUuMUE1IDUgMCAwIDAgOSAxNC45VjE1YzAgMCAwIDEgMSAxIDEgMCAxLTEgMS0xVjE0LjlBNSA1IDAgMCAwIDE0LjkgMTFIMTVjMCAwIDEgMCAxLTEgMC0xLTEtMS0xLTFIMTQuOUE1IDUgMCAwIDAgMTEgNS4xVjVjMCAwIDAtMS0xLTF6bTAgMi41QTMuNSAzLjUuMCAwIDEgMTMuNSAxMCAzLjUgMy41LjAgMCAxIDEwIDEzLjUgMy41IDMuNS4wIDAgMSA2LjUgMTAgMy41IDMuNS4wIDAgMSAxMCA2LjV6TTEwIDguM0ExLjggMS44LjAgMCAwIDguMyAxMCAxLjggMS44LjAgMCAwIDEwIDExLjggMS44IDEuOC4wIDAgMCAxMS44IDEwIDEuOCAxLjguMCAwIDAgMTAgOC4zeiIvPjwvc3ZnPg==);content:"";display:block;width:100%;height:100%}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate:disabled::before{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iI2FhYSI+PHBhdGggZD0iTTE0LjQzNCA3LjY4OGMuMjEzLjQwNy4zNzEuODQ4LjQ2NiAxLjMxMmguMWMwIDAgMSAwIDEgMSAwIDEtMSAxLTEgMWgtLjFjLS40IDEuOTYtMS45NCAzLjUtMy45IDMuOXYuMWMwIDAgMCAxLTEgMS0xIDAtMS0xLTEtMXYtLjFjLS40NzctLjA5Ny0uOTMtLjI2Mi0xLjM0Ny0uNDg0LjM4My0uMzc3Ljc2Ny0uNzUzIDEuMTUxLTEuMTI5LjM3NC4xMzguNzc3LjIxMyAxLjE5Ni4yMTMgMS45Mi4wIDMuNS0xLjU4IDMuNS0zLjUuMC0uNDAzLS4wNy0uNzkxLS4xOTctMS4xNTMuMzc5LS4zODQuNzU2LS43NyAxLjEzMS0xLjE1OXpNNS4xIDljLjQtMS45NjEgMS45NC0zLjUgMy45LTMuOVY1YzAgMCAwLTEgMS0xIDEgMCAxIDEgMSAxdi4xYy40NzcuMDk3LjkzLjI2MiAxLjM0Ny40ODQtLjM4My4zNzctLjc2Ny43NTMtMS4xNTEgMS4xMjktLjM3NC0uMTM4LS43NzctLjIxMy0xLjE5Ni0uMjEzLTEuOTIuMC0zLjUgMS41OC0zLjUgMy41LjAuNDAzLjA3Ljc5MS4xOTcgMS4xNTMtLjM3OS4zODQtLjc1Ni43Ny0xLjEzMSAxLjE1OS0uMjEzLS40MDctLjM3MS0uODQ4LS40NjYtMS4zMTJINWMtLjAwNS4wLTEtLjAwMy0xLTEgMC0uOTk3Ljk5NS0xIDEtMWguMXoiLz48cGF0aCBkPSJNMTQgNWwxIDEtOSA5LTEtMSA5LTl6Ii8+PC9zdmc+)}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active::before{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iIzMzYjVlNSI+PHBhdGggZD0iTTEwIDRDOSA0IDkgNSA5IDVWNS4xQTUgNSAwIDAgMCA1LjEgOUg1YzAgMC0xIDAtMSAxIDAgMSAxIDEgMSAxSDUuMUE1IDUgMCAwIDAgOSAxNC45VjE1YzAgMCAwIDEgMSAxIDEgMCAxLTEgMS0xVjE0LjlBNSA1IDAgMCAwIDE0LjkgMTFIMTVjMCAwIDEgMCAxLTEgMC0xLTEtMS0xLTFIMTQuOUE1IDUgMCAwIDAgMTEgNS4xVjVjMCAwIDAtMS0xLTF6bTAgMi41QTMuNSAzLjUuMCAwIDEgMTMuNSAxMCAzLjUgMy41LjAgMCAxIDEwIDEzLjUgMy41IDMuNS4wIDAgMSA2LjUgMTAgMy41IDMuNS4wIDAgMSAxMCA2LjV6TTEwIDguM0ExLjggMS44LjAgMCAwIDguMyAxMCAxLjggMS44LjAgMCAwIDEwIDExLjggMS44IDEuOC4wIDAgMCAxMS44IDEwIDEuOCAxLjguMCAwIDAgMTAgOC4zeiIvPjwvc3ZnPg==)}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error::before{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iI2U1ODk3OCI+PHBhdGggZD0iTTEwIDRDOSA0IDkgNSA5IDVWNS4xQTUgNSAwIDAgMCA1LjEgOUg1YzAgMC0xIDAtMSAxIDAgMSAxIDEgMSAxSDUuMUE1IDUgMCAwIDAgOSAxNC45VjE1YzAgMCAwIDEgMSAxIDEgMCAxLTEgMS0xVjE0LjlBNSA1IDAgMCAwIDE0LjkgMTFIMTVjMCAwIDEgMCAxLTEgMC0xLTEtMS0xLTFIMTQuOUE1IDUgMCAwIDAgMTEgNS4xVjVjMCAwIDAtMS0xLTF6bTAgMi41QTMuNSAzLjUuMCAwIDEgMTMuNSAxMCAzLjUgMy41LjAgMCAxIDEwIDEzLjUgMy41IDMuNS4wIDAgMSA2LjUgMTAgMy41IDMuNS4wIDAgMSAxMCA2LjV6TTEwIDguM0ExLjggMS44LjAgMCAwIDguMyAxMCAxLjggMS44LjAgMCAwIDEwIDExLjggMS44IDEuOC4wIDAgMCAxMS44IDEwIDEuOCAxLjguMCAwIDAgMTAgOC4zeiIvPjwvc3ZnPg==)}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background::before{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iIzMzYjVlNSI+PHBhdGggZD0iTTEwIDRDOSA0IDkgNSA5IDVWNS4xQzcuMDM1NzExMyA1LjUwMDYwNDggNS41MDA2MDQ4IDcuMDM1NzExMyA1LjEgOUg1YzAgMC0xIDAtMSAxIDAgMSAxIDEgMSAxaC4xYy40MDA2MDQ4IDEuOTY0Mjg5IDEuOTM1NzExMyAzLjQ5OTM5NSAzLjkgMy45VjE1YzAgMCAwIDEgMSAxIDEgMCAxLTEgMS0xdi0uMWMxLjk2NDI4OS0uNDAwNjA1IDMuNDk5Mzk1LTEuOTM1NzExIDMuOS0zLjloLjFjMCAwIDEgMCAxLTEgMC0xLTEtMS0xLTFIMTQuOUMxNC40OTkzOTUgNy4wMzU3MTEzIDEyLjk2NDI4OSA1LjUwMDYwNDggMTEgNS4xVjVjMCAwIDAtMS0xLTF6bTAgMi41YzEuOTMyOTk3LjAgMy41IDEuNTY3MDAzNCAzLjUgMy41LjAgMS45MzI5OTctMS41NjcwMDMgMy41LTMuNSAzLjVDOC4wNjcwMDM0IDEzLjUgNi41IDExLjkzMjk5NyA2LjUgMTAgNi41IDguMDY3MDAzNCA4LjA2NzAwMzQgNi41IDEwIDYuNXoiLz48L3N2Zz4=)}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error::before{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgZmlsbD0iI2U1NGUzMyI+PHBhdGggZD0iTTEwIDRDOSA0IDkgNSA5IDVWNS4xQzcuMDM1NzExMyA1LjUwMDYwNDggNS41MDA2MDQ4IDcuMDM1NzExMyA1LjEgOUg1YzAgMC0xIDAtMSAxIDAgMSAxIDEgMSAxaC4xYy40MDA2MDQ4IDEuOTY0Mjg5IDEuOTM1NzExMyAzLjQ5OTM5NSAzLjkgMy45VjE1YzAgMCAwIDEgMSAxIDEgMCAxLTEgMS0xdi0uMWMxLjk2NDI4OS0uNDAwNjA1IDMuNDk5Mzk1LTEuOTM1NzExIDMuOS0zLjloLjFjMCAwIDEgMCAxLTEgMC0xLTEtMS0xLTFIMTQuOUMxNC40OTkzOTUgNy4wMzU3MTEzIDEyLjk2NDI4OSA1LjUwMDYwNDggMTEgNS4xVjVjMCAwIDAtMS0xLTF6bTAgMi41YzEuOTMyOTk3LjAgMy41IDEuNTY3MDAzNCAzLjUgMy41LjAgMS45MzI5OTctMS41NjcwMDMgMy41LTMuNSAzLjVDOC4wNjcwMDM0IDEzLjUgNi41IDExLjkzMjk5NyA2LjUgMTAgNi41IDguMDY3MDAzNCA4LjA2NzAwMzQgNi41IDEwIDYuNXoiLz48L3N2Zz4=)}.mapboxgl-ctrl-icon.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting::before{-webkit-animation:mapboxgl-spin 2s infinite linear;-moz-animation:mapboxgl-spin 2s infinite linear;-o-animation:mapboxgl-spin 2s infinite linear;-ms-animation:mapboxgl-spin 2s infinite linear;animation:mapboxgl-spin 2s infinite linear}@-webkit-keyframes mapboxgl-spin{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg)}}@-moz-keyframes mapboxgl-spin{0%{-moz-transform:rotate(0deg)}100%{-moz-transform:rotate(360deg)}}@-o-keyframes mapboxgl-spin{0%{-o-transform:rotate(0deg)}100%{-o-transform:rotate(360deg)}}@-ms-keyframes mapboxgl-spin{0%{-ms-transform:rotate(0deg)}100%{-ms-transform:rotate(360deg)}}@keyframes mapboxgl-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.mapboxgl-ctrl-icon.mapboxgl-ctrl-fullscreen{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTUgNGMtLjUuMC0xIC41LTEgMVY2IDloLjVMNS43NzczNDM4IDcuMjk2ODc1QzYuNzc3MTMxOSA4LjA2MDIxMzEgNy44MzU3NjUgOC45NTY1NzI4IDguODkwNjI1IDEwIDcuODI1NzEyMSAxMS4wNjMzIDYuNzc2MTc5MSAxMS45NTE2NzUgNS43ODEyNSAxMi43MDcwMzFMNC41IDExSDR2NGMwIC41LjUgMSAxIDFIOXYtLjVMNy4yNzM0Mzc1IDE0LjIwNTA3OEM4LjA0Mjg5MzEgMTMuMTg3ODg2IDguOTM5NTQ0MSAxMi4xMzM0ODEgOS45NjA5Mzc1IDExLjA2ODM1OSAxMS4wNDIzNzEgMTIuMTQ2OTkgMTEuOTQyMDkzIDEzLjIxMTIgMTIuNzA3MDMxIDE0LjIxODc1TDExIDE1LjVWMTZoMyAxYy41LjAgMS0uNSAxLTFWMTQgMTFoLS41TDE0LjIwNTA3OCAxMi43MjY1NjJDMTMuMTc3OTg1IDExLjk0OTYxNyAxMi4xMTI3MTggMTEuMDQzNTc3IDExLjAzNzEwOSAxMC4wMDk3NjYgMTIuMTUxODU2IDguOTgxMDYxIDEzLjIyNDM0NSA4LjA3OTg2MjQgMTQuMjI4NTE2IDcuMzA0Njg3NUwxNS41IDlIMTZWNWMwLS41LS41LTEtMS0xSDExdi41TDEyLjcwMzEyNSA1Ljc3NzM0MzhDMTEuOTMyNjQ3IDYuNzg2NDgzNCAxMS4wMjY2OTMgNy44NTU0NzEyIDkuOTcwNzAzMSA4LjkxOTkyMTkgOC45NTg0NzM5IDcuODIwNDk0MyA4LjA2OTg3NjcgNi43NjI3MTg4IDcuMzA0Njg3NSA1Ljc3MTQ4NDRMOSA0LjVWNEg2IDV6Ii8+PC9zdmc+)}.mapboxgl-ctrl-icon.mapboxgl-ctrl-shrink{background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3R5bGU9ImZpbGw6IzAwMCIgZD0iTTQuMjQyMTg3NSAzLjQ5MjE4NzVBLjc1MDA3NS43NTAwNzUuMCAwIDAgMy43MTg3NSA0Ljc4MTI1TDUuOTY0ODQzOCA3LjAyNzM0MzggNCA4LjVWOUg4QzguNTAwMDAxIDguOTk5OTk4OCA5IDguNDk5OTk5MiA5IDhWNEg4LjVMNy4wMTc1NzgxIDUuOTU1MDc4MSA0Ljc4MTI1IDMuNzE4NzVhLjc1MDA3NS43NTAwNzUuMCAwIDAtLjUzOTA2MjUtLjIyNjU2MjV6bTExLjQ5MjE4NzUuMGEuNzUwMDc1Ljc1MDA3NS4wIDAgMC0uNTE1NjI1LjIyNjU2MjVMMTIuOTg0Mzc1IDUuOTUzMTI1IDExLjUgNEgxMVY4QzExIDguNDk5OTk5MiAxMS40OTk5OTkgOC45OTk5OTg4IDEyIDloNFY4LjVMMTQuMDM1MTU2IDcuMDI3MzQzOCAxNi4yODEyNSA0Ljc4MTI1YS43NTAwNzUuNzUwMDc1LjAgMCAwLS41NDY4NzUtMS4yODkwNjI1ek00IDExdi41TDUuOTY0ODQzOCAxMi45NzI2NTYgMy43MTg3NSAxNS4yMTg3NWEuNzUxMzAwOTYuNzUxMzAwOTYuMCAxIDAgMS4wNjI1IDEuMDYyNUw3LjAyNzM0MzggMTQuMDM1MTU2IDguNSAxNkg5VjEyQzkgMTEuNTAwMDAxIDguNTAwMDAxIDExLjAwMDAwMSA4IDExSDR6bTggMEMxMS40OTk5OTkgMTEuMDAwMDAxIDExIDExLjUwMDAwMSAxMSAxMnY0aC41TDEyLjk3MjY1NiAxNC4wMzUxNTYgMTUuMjE4NzUgMTYuMjgxMjVhLjc1MTMwMDk2Ljc1MTMwMDk2LjAgMSAwIDEuMDYyNS0xLjA2MjVMMTQuMDM1MTU2IDEyLjk3MjY1NiAxNiAxMS41VjExSDEyeiIvPjwvc3ZnPg==)}.mapboxgl-ctrl-icon.mapboxgl-ctrl-compass>.mapboxgl-ctrl-compass-arrow{width:20px;height:20px;margin:5px;background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iIzMzMyIgZD0iTTYgOWw0LTggNCA4eiIvPjxwYXRoIGZpbGw9IiNjY2MiIGQ9Ik02IDExbDQgOCA0LTh6Ii8+PC9zdmc+);background-repeat:no-repeat;display:inline-block}a.mapboxgl-ctrl-logo{width:85px;height:21px;margin:0 0 -3px -3px;display:block;background-repeat:no-repeat;cursor:pointer;background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDg0LjQ5IDIxIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA4NC40OSAyMSI+PGc+PHBhdGggY2xhc3M9InN0MCIgc3R5bGU9Im9wYWNpdHk6Ljk7ZmlsbDojZmZmO2VuYWJsZS1iYWNrZ3JvdW5kOm5ldyIgZD0iTTgzLjI1IDE0LjI2YzAgLjEyLS4wOS4yMS0uMjEuMjFoLTEuNjFjLS4xMy4wLS4yNC0uMDYtLjMtLjE3bC0xLjQ0LTIuMzktMS40NCAyLjM5Yy0uMDYuMTEtLjE4LjE3LS4zLjE3aC0xLjYxYy0uMDQuMC0uMDgtLjAxLS4xMi0uMDMtLjA5LS4wNi0uMTMtLjE5LS4wNi0uMjh2MGwyLjQzLTMuNjhMNzYuMiA2Ljg0Yy0uMDItLjAzLS4wMy0uMDctLjAzLS4xMi4wLS4xMi4wOS0uMjEuMjEtLjIxaDEuNjFjLjEzLjAuMjQuMDYuMy4xN2wxLjQxIDIuMzYgMS40LTIuMzVjLjA2LS4xMS4xOC0uMTcuMy0uMTdIODNjLjA0LjAuMDguMDEuMTIuMDMuMDkuMDYuMTMuMTkuMDYuMjh2MGwtMi4zNyAzLjYzIDIuNDMgMy42N0M4My4yNCAxNC4xOCA4My4yNSAxNC4yMiA4My4yNSAxNC4yNnoiLz48cGF0aCBjbGFzcz0ic3QwIiBzdHlsZT0ib3BhY2l0eTouOTtmaWxsOiNmZmY7ZW5hYmxlLWJhY2tncm91bmQ6bmV3IiBkPSJNNjYuMjQgOS41OWMtLjM5LTEuODgtMS45Ni0zLjI4LTMuODQtMy4yOC0xLjAzLjAtMi4wMy40Mi0yLjczIDEuMThWMy41MWMwLS4xMy0uMS0uMjMtLjIzLS4yM2gtMS40Yy0uMTMuMC0uMjMuMTEtLjIzLjIzdjEwLjcyYzAgLjEzLjEuMjMuMjMuMjNoMS40Yy4xMy4wLjIzLS4xMS4yMy0uMjNWMTMuNWMuNzEuNzUgMS43IDEuMTggMi43MyAxLjE4IDEuODguMCAzLjQ1LTEuNDEgMy44NC0zLjI5QzY2LjM3IDEwLjc5IDY2LjM3IDEwLjE4IDY2LjI0IDkuNTl2MHpNNjIuMDggMTNjLTEuMzIuMC0yLjM5LTEuMTEtMi40MS0yLjQ4di0uMDZjLjAyLTEuMzggMS4wOS0yLjQ4IDIuNDEtMi40OHMyLjQyIDEuMTIgMi40MiAyLjUxUzYzLjQxIDEzIDYyLjA4IDEzeiIvPjxwYXRoIGNsYXNzPSJzdDAiIHN0eWxlPSJvcGFjaXR5Oi45O2ZpbGw6I2ZmZjtlbmFibGUtYmFja2dyb3VuZDpuZXciIGQ9Ik03MS42NyA2LjMyYy0xLjk4LS4wMS0zLjcyIDEuMzUtNC4xNiAzLjI5LS4xMy41OS0uMTMgMS4xOS4wIDEuNzcuNDQgMS45NCAyLjE3IDMuMzIgNC4xNyAzLjMgMi4zNS4wIDQuMjYtMS44NyA0LjI2LTQuMTlTNzQuMDQgNi4zMiA3MS42NyA2LjMyek03MS42NSAxMy4wMWMtMS4zMy4wLTIuNDItMS4xMi0yLjQyLTIuNTFzMS4wOC0yLjUyIDIuNDItMi41MmMxLjMzLjAgMi40MiAxLjEyIDIuNDIgMi41MVM3Mi45OSAxMyA3MS42NSAxMy4wMXYweiIvPjxwYXRoIGNsYXNzPSJzdDEiIHN0eWxlPSJvcGFjaXR5Oi4zNTtlbmFibGUtYmFja2dyb3VuZDpuZXciIGQ9Ik02Mi4wOCA3Ljk4Yy0xLjMyLjAtMi4zOSAxLjExLTIuNDEgMi40OHYuMDZDNTkuNjggMTEuOSA2MC43NSAxMyA2Mi4wOCAxM3MyLjQyLTEuMTIgMi40Mi0yLjUxUzYzLjQxIDcuOTggNjIuMDggNy45OHpNNjIuMDggMTEuNzZjLS42My4wLTEuMTQtLjU2LTEuMTctMS4yNXYtLjA0Yy4wMS0uNjkuNTQtMS4yNSAxLjE3LTEuMjUuNjMuMCAxLjE3LjU3IDEuMTcgMS4yN0M2My4yNCAxMS4yIDYyLjczIDExLjc2IDYyLjA4IDExLjc2eiIvPjxwYXRoIGNsYXNzPSJzdDEiIHN0eWxlPSJvcGFjaXR5Oi4zNTtlbmFibGUtYmFja2dyb3VuZDpuZXciIGQ9Ik03MS42NSA3Ljk4Yy0xLjMzLjAtMi40MiAxLjEyLTIuNDIgMi41MVM3MC4zMiAxMyA3MS42NSAxM3MyLjQyLTEuMTIgMi40Mi0yLjUxUzcyLjk5IDcuOTggNzEuNjUgNy45OHpNNzEuNjUgMTEuNzZjLS42NC4wLTEuMTctLjU3LTEuMTctMS4yNy4wLS43LjUzLTEuMjYgMS4xNy0xLjI2czEuMTcuNTcgMS4xNyAxLjI3QzcyLjgyIDExLjIxIDcyLjI5IDExLjc2IDcxLjY1IDExLjc2eiIvPjxwYXRoIGNsYXNzPSJzdDAiIHN0eWxlPSJvcGFjaXR5Oi45O2ZpbGw6I2ZmZjtlbmFibGUtYmFja2dyb3VuZDpuZXciIGQ9Ik00NS43NCA2LjUzaC0xLjRjLS4xMy4wLS4yMy4xMS0uMjMuMjN2LjczYy0uNzEtLjc1LTEuNy0xLjE4LTIuNzMtMS4xOC0yLjE3LjAtMy45NCAxLjg3LTMuOTQgNC4xOXMxLjc3IDQuMTkgMy45NCA0LjE5YzEuMDQuMCAyLjAzLS40MyAyLjczLTEuMTl2LjczYzAgLjEzLjEuMjMuMjMuMjNoMS40Yy4xMy4wLjIzLS4xMS4yMy0uMjNWNi43NGMwLS4xMi0uMDktLjIyLS4yMi0uMjJDNDUuNzUgNi41MyA0NS43NSA2LjUzIDQ1Ljc0IDYuNTN6TTQ0LjEyIDEwLjUzQzQ0LjExIDExLjkgNDMuMDMgMTMgNDEuNzEgMTNzLTIuNDItMS4xMi0yLjQyLTIuNTEgMS4wOC0yLjUyIDIuNC0yLjUyYzEuMzMuMCAyLjM5IDEuMTEgMi40MSAyLjQ4TDQ0LjEyIDEwLjUzeiIvPjxwYXRoIGNsYXNzPSJzdDEiIHN0eWxlPSJvcGFjaXR5Oi4zNTtlbmFibGUtYmFja2dyb3VuZDpuZXciIGQ9Ik00MS43MSA3Ljk4Yy0xLjMzLjAtMi40MiAxLjEyLTIuNDIgMi41MVM0MC4zNyAxMyA0MS43MSAxM3MyLjM5LTEuMTEgMi40MS0yLjQ4di0uMDZDNDQuMSA5LjA5IDQzLjAzIDcuOTggNDEuNzEgNy45OHpNNDAuNTUgMTAuNDljMC0uNy41Mi0xLjI3IDEuMTctMS4yNy42NC4wIDEuMTQuNTYgMS4xNyAxLjI1di4wNGMtLjAxLjY4LS41MyAxLjI0LTEuMTcgMS4yNEM0MS4wOCAxMS43NSA0MC41NSAxMS4xOSA0MC41NSAxMC40OXoiLz48cGF0aCBjbGFzcz0ic3QwIiBzdHlsZT0ib3BhY2l0eTouOTtmaWxsOiNmZmY7ZW5hYmxlLWJhY2tncm91bmQ6bmV3IiBkPSJNNTIuNDEgNi4zMmMtMS4wMy4wLTIuMDMuNDItMi43MyAxLjE4VjYuNzVjMC0uMTMtLjEtLjIzLS4yMy0uMjNoLTEuNGMtLjEzLjAtLjIzLjExLS4yMy4yM3YxMC43MmMwIC4xMy4xLjIzLjIzLjIzaDEuNGMuMTMuMC4yMy0uMS4yMy0uMjNWMTMuNWMuNzEuNzUgMS43IDEuMTggMi43NCAxLjE4IDIuMTcuMCAzLjk0LTEuODcgMy45NC00LjE5UzU0LjU4IDYuMzIgNTIuNDEgNi4zMnpNNTIuMDggMTMuMDFjLTEuMzIuMC0yLjM5LTEuMTEtMi40Mi0yLjQ4di0uMDdjLjAyLTEuMzggMS4wOS0yLjQ5IDIuNC0yLjQ5IDEuMzIuMCAyLjQxIDEuMTIgMi40MSAyLjUxUzUzLjQgMTMgNTIuMDggMTMuMDF2MHoiLz48cGF0aCBjbGFzcz0ic3QxIiBzdHlsZT0ib3BhY2l0eTouMzU7ZW5hYmxlLWJhY2tncm91bmQ6bmV3IiBkPSJNNTIuMDggNy45OGMtMS4zMi4wLTIuMzkgMS4xMS0yLjQyIDIuNDh2LjA2Yy4wMyAxLjM4IDEuMSAyLjQ4IDIuNDIgMi40OHMyLjQxLTEuMTIgMi40MS0yLjUxUzUzLjQgNy45OCA1Mi4wOCA3Ljk4ek01Mi4wOCAxMS43NmMtLjYzLjAtMS4xNC0uNTYtMS4xNy0xLjI1di0uMDRjLjAxLS42OS41NC0xLjI1IDEuMTctMS4yNS42My4wIDEuMTcuNTggMS4xNyAxLjI3UzUyLjcyIDExLjc2IDUyLjA4IDExLjc2eiIvPjxwYXRoIGNsYXNzPSJzdDAiIHN0eWxlPSJvcGFjaXR5Oi45O2ZpbGw6I2ZmZjtlbmFibGUtYmFja2dyb3VuZDpuZXciIGQ9Ik0zNi4wOCAxNC4yNGMwIC4xMy0uMS4yMy0uMjMuMjNoLTEuNDFjLS4xMy4wLS4yMy0uMTEtLjIzLS4yM1Y5LjY4YzAtLjk4LS43NC0xLjcxLTEuNjItMS43MS0uOC4wLTEuNDYuNy0xLjU5IDEuNjJsLjAxIDQuNjZjMCAuMTMtLjExLjIzLS4yMy4yM2gtMS40MWMtLjEzLjAtLjIzLS4xMS0uMjMtLjIzVjkuNjhjMC0uOTgtLjc0LTEuNzEtMS42Mi0xLjcxLS44NS4wLTEuNTQuNzktMS42IDEuOHY0LjQ4YzAgLjEzLS4xLjIzLS4yMy4yM2gtMS40Yy0uMTMuMC0uMjMtLjExLS4yMy0uMjNWNi43NGMuMDEtLjEzLjEtLjIyLjIzLS4yMmgxLjRjLjEzLjAuMjIuMTEuMjMuMjJWNy40Yy41LS42OCAxLjMtMS4wOSAyLjE2LTEuMWguMDNjMS4wOS4wIDIuMDkuNiAyLjYgMS41NS40NS0uOTUgMS40LTEuNTUgMi40NC0xLjU2IDEuNjIuMCAyLjkzIDEuMjUgMi45IDIuNzhMMzYuMDggMTQuMjR6Ii8+PHBhdGggY2xhc3M9InN0MSIgc3R5bGU9Im9wYWNpdHk6LjM1O2VuYWJsZS1iYWNrZ3JvdW5kOm5ldyIgZD0iTTg0LjM0IDEzLjU5bC0uMDctLjEzLTEuOTYtMi45OSAxLjk0LTIuOTVjLjQ0LS42Ny4yNi0xLjU2LS40MS0yLjAyLS4wMi4wLS4wMy4wLS4wNC0uMDEtLjIzLS4xNS0uNS0uMjItLjc4LS4yMmgtMS42MWMtLjU2LjAtMS4wOC4yOS0xLjM3Ljc4TDc5LjcyIDYuNmwtLjM0LS41NkM3OS4wOSA1LjU2IDc4LjU3IDUuMjcgNzggNS4yN2gtMS42Yy0uNi4wLTEuMTMuMzctMS4zNS45Mi0yLjE5LTEuNjYtNS4yOC0xLjQ3LTcuMjYuNDUtLjM1LjM0LS42NS43Mi0uODkgMS4xNC0uOS0xLjYyLTIuNTgtMi43Mi00LjUtMi43Mi0uNS4wLTEuMDEuMDctMS40OC4yM1YzLjUxYzAtLjgyLS42Ni0xLjQ4LTEuNDctMS40OGgtMS40Yy0uODEuMC0xLjQ3LjY2LTEuNDcgMS40N3YzLjc1Yy0uOTUtMS4zNi0yLjUtMi4xOC00LjE3LTIuMTktLjc0LjAtMS40Ni4xNi0yLjEyLjQ3LS4yNC0uMTctLjU0LS4yNi0uODQtLjI2aC0xLjRjLS40NS4wLS44Ny4yMS0xLjE1LjU2LS4wMi0uMDMtLjA0LS4wNS0uMDctLjA4LS4yOC0uMy0uNjgtLjQ3LTEuMDktLjQ3aC0xLjM5Yy0uMy4wLS42LjA5LS44NC4yNi0uNjctLjMtMS4zOS0uNDYtMi4xMi0uNDYtMS44My4wLTMuNDMgMS00LjM3IDIuNS0uMi0uNDYtLjQ4LS44OS0uODMtMS4yNS0uOC0uODEtMS44OS0xLjI1LTMuMDItMS4yNWgtLjAxYy0uODkuMDEtMS43NS4zMy0yLjQ2Ljg4LS43NC0uNTctMS42NC0uODgtMi41Ny0uODhIMjguMWMtLjI5LjAtLjU4LjAzLS44Ni4xMS0uMjguMDYtLjU2LjE2LS44Mi4yOC0uMjEtLjEyLS40NS0uMTgtLjctLjE4aC0xLjRjLS44Mi4wLTEuNDcuNjYtMS40NyAxLjQ3djcuNWMwIC44Mi42NiAxLjQ3IDEuNDcgMS40N2gxLjRjLjgyLjAgMS40OC0uNjYgMS40OC0xLjQ4djBWOS43OWMuMDMtLjM2LjIzLS41OS4zNi0uNTkuMTguMC4zOC4xOC4zOC40N3Y0LjU3YzAgLjgyLjY2IDEuNDcgMS40NyAxLjQ3aDEuNDFjLjgyLjAgMS40Ny0uNjYgMS40Ny0xLjQ3bC0uMDEtNC41N2MuMDYtLjMyLjI1LS40Ny4zNS0uNDcuMTguMC4zOC4xOC4zOC40N3Y0LjU3YzAgLjgyLjY2IDEuNDcgMS40NyAxLjQ3aDEuNDFjLjgyLjAgMS40Ny0uNjYgMS40Ny0xLjQ3di0uMzhjLjk2IDEuMjkgMi40NiAyLjA2IDQuMDYgMi4wNi43NC4wIDEuNDYtLjE2IDIuMTItLjQ3LjI0LjE3LjU0LjI2Ljg0LjI2aDEuMzljLjMuMC42LS4wOS44NC0uMjZ2Mi4wMWMwIC44Mi42NiAxLjQ3IDEuNDcgMS40N2gxLjRjLjgyLjAgMS40Ny0uNjYgMS40Ny0xLjQ3di0xLjc3Yy40OC4xNS45OS4yMyAxLjQ5LjIyIDEuNy4wIDMuMjItLjg3IDQuMTctMi4ydi41MmMwIC44Mi42NiAxLjQ3IDEuNDcgMS40N2gxLjRjLjMuMC42LS4wOS44NC0uMjYuNjYuMzEgMS4zOS40NyAyLjEyLjQ3IDEuOTIuMCAzLjYtMS4xIDQuNDktMi43MyAxLjU0IDIuNjUgNC45NSAzLjUzIDcuNTggMS45OC4xOC0uMTEuMzYtLjIyLjUzLS4zNi4yMi41NS43Ni45MSAxLjM1LjlINzhjLjU2LjAgMS4wOC0uMjkgMS4zNy0uNzhsLjM3LS42MS4zNy42MWMuMjkuNDguODEuNzggMS4zOC43OGgxLjZjLjgxLjAgMS40Ni0uNjYgMS40NS0xLjQ2Qzg0LjQ5IDE0LjAyIDg0LjQ0IDEzLjggODQuMzQgMTMuNTl2MHpNMzUuODYgMTQuNDdoLTEuNDFjLS4xMy4wLS4yMy0uMTEtLjIzLS4yM1Y5LjY4YzAtLjk4LS43NC0xLjcxLTEuNjItMS43MS0uOC4wLTEuNDYuNy0xLjU5IDEuNjJsLjAxIDQuNjZjMCAuMTMtLjEuMjMtLjIzLjIzaC0xLjQxYy0uMTMuMC0uMjMtLjExLS4yMy0uMjNWOS42OGMwLS45OC0uNzQtMS43MS0xLjYyLTEuNzEtLjg1LjAtMS41NC43OS0xLjYgMS44djQuNDhjMCAuMTMtLjEuMjMtLjIzLjIzaC0xLjRjLS4xMy4wLS4yMy0uMTEtLjIzLS4yM1Y2Ljc0Yy4wMS0uMTMuMTEtLjIyLjIzLS4yMmgxLjRjLjEzLjAuMjIuMTEuMjMuMjJWNy40Yy41LS42OCAxLjMtMS4wOSAyLjE2LTEuMWguMDNjMS4wOS4wIDIuMDkuNiAyLjYgMS41NS40NS0uOTUgMS40LTEuNTUgMi40NC0xLjU2IDEuNjIuMCAyLjkzIDEuMjUgMi45IDIuNzhsLjAxIDUuMTZDMzYuMDkgMTQuMzYgMzUuOTggMTQuNDYgMzUuODYgMTQuNDd2MHpNNDUuOTcgMTQuMjRjMCAuMTMtLjEuMjMtLjIzLjIzaC0xLjRjLS4xMy4wLS4yMy0uMTEtLjIzLS4yM1YxMy41Yy0uNy43Ni0xLjY5IDEuMTgtMi43MiAxLjE4LTIuMTcuMC0zLjk0LTEuODctMy45NC00LjE5czEuNzctNC4xOSAzLjk0LTQuMTljMS4wMy4wIDIuMDIuNDMgMi43MyAxLjE4VjYuNzRjMC0uMTMuMS0uMjMuMjMtLjIzaDEuNGMuMTItLjAxLjIyLjA4LjIzLjIxLjAuMDEuMC4wMS4wLjAydjcuNTFoLS4wMVYxNC4yNHpNNTIuNDEgMTQuNjdjLTEuMDMuMC0yLjAyLS40My0yLjczLTEuMTh2My45N2MwIC4xMy0uMS4yMy0uMjMuMjNoLTEuNGMtLjEzLjAtLjIzLS4xLS4yMy0uMjNWNi43NWMwLS4xMy4xLS4yMi4yMy0uMjJoMS40Yy4xMy4wLjIzLjExLjIzLjIzdi43M2MuNzEtLjc2IDEuNy0xLjE4IDIuNzMtMS4xOCAyLjE3LjAgMy45NCAxLjg2IDMuOTQgNC4xOFM1NC41OCAxNC42NyA1Mi40MSAxNC42N3pNNjYuMjQgMTEuMzljLS4zOSAxLjg3LTEuOTYgMy4yOS0zLjg0IDMuMjktMS4wMy4wLTIuMDItLjQzLTIuNzMtMS4xOHYuNzNjMCAuMTMtLjEuMjMtLjIzLjIzaC0xLjRjLS4xMy4wLS4yMy0uMTEtLjIzLS4yM1YzLjUxYzAtLjEzLjEtLjIzLjIzLS4yM2gxLjRjLjEzLjAuMjMuMTEuMjMuMjN2My45N2MuNzEtLjc1IDEuNy0xLjE4IDIuNzMtMS4xNyAxLjg4LjAgMy40NSAxLjQgMy44NCAzLjI4QzY2LjM3IDEwLjE5IDY2LjM3IDEwLjggNjYuMjQgMTEuMzl2MCAwek03MS42NyAxNC42OGMtMiAuMDEtMy43My0xLjM1LTQuMTctMy4zLS4xMy0uNTktLjEzLTEuMTkuMC0xLjc3LjQ0LTEuOTQgMi4xNy0zLjMxIDQuMTctMy4zIDIuMzYuMCA0LjI2IDEuODcgNC4yNiA0LjE5Uzc0LjAzIDE0LjY4IDcxLjY3IDE0LjY4djB6TTgzLjA0IDE0LjQ3aC0xLjYxYy0uMTMuMC0uMjQtLjA2LS4zLS4xN2wtMS40NC0yLjM5LTEuNDQgMi4zOWMtLjA2LjExLS4xOC4xNy0uMy4xN2gtMS42MWMtLjA0LjAtLjA4LS4wMS0uMTItLjAzLS4wOS0uMDYtLjEzLS4xOS0uMDYtLjI4djBsMi40My0zLjY4TDc2LjIgNi44NGMtLjAyLS4wMy0uMDMtLjA3LS4wMy0uMTIuMC0uMTIuMDktLjIxLjIxLS4yMWgxLjYxYy4xMy4wLjI0LjA2LjMuMTdsMS40MSAyLjM2IDEuNDEtMi4zNmMuMDYtLjExLjE4LS4xNy4zLS4xN2gxLjYxYy4wNC4wLjA4LjAxLjEyLjAzLjA5LjA2LjEzLjE5LjA2LjI4djBsLTIuMzggMy42NCAyLjQzIDMuNjdjLjAyLjAzLjAzLjA3LjAzLjEyQzgzLjI1IDE0LjM4IDgzLjE2IDE0LjQ3IDgzLjA0IDE0LjQ3djAgMHoiLz48cGF0aCBjbGFzcz0ic3QwIiBzdHlsZT0ib3BhY2l0eTouOTtmaWxsOiNmZmY7ZW5hYmxlLWJhY2tncm91bmQ6bmV3IiBkPSJNMTAuNSAxLjI0Yy01LjExLjAtOS4yNSA0LjE1LTkuMjUgOS4yNXM0LjE1IDkuMjUgOS4yNSA5LjI1IDkuMjUtNC4xNSA5LjI1LTkuMjVDMTkuNzUgNS4zOCAxNS42MSAxLjI0IDEwLjUgMS4yNHpNMTQuODkgMTIuNzdjLTEuOTMgMS45My00Ljc4IDIuMzEtNi43IDIuMzEtLjcuMC0xLjQxLS4wNS0yLjEtLjE2LjAuMC0xLjAyLTUuNjQgMi4xNC04LjgxLjgzLS44MyAxLjk1LTEuMjggMy4xMy0xLjI4IDEuMjcuMCAyLjQ5LjUxIDMuMzkgMS40MkMxNi41OSA4LjA5IDE2LjY0IDExIDE0Ljg5IDEyLjc3eiIvPjxwYXRoIGNsYXNzPSJzdDEiIHN0eWxlPSJvcGFjaXR5Oi4zNTtlbmFibGUtYmFja2dyb3VuZDpuZXciIGQ9Ik0xMC41LS4wMUM0LjctLjAxLjAgNC43LjAgMTAuNDlzNC43IDEwLjUgMTAuNSAxMC41UzIxIDE2LjI5IDIxIDEwLjQ5QzIwLjk5IDQuNyAxNi4zLS4wMSAxMC41LS4wMXptMCAxOS43NWMtNS4xMS4wLTkuMjUtNC4xNS05LjI1LTkuMjVzNC4xNC05LjI2IDkuMjUtOS4yNiA5LjI1IDQuMTUgOS4yNSA5LjI1QzE5Ljc1IDE1LjYxIDE1LjYxIDE5Ljc0IDEwLjUgMTkuNzR6Ii8+PHBhdGggY2xhc3M9InN0MSIgc3R5bGU9Im9wYWNpdHk6LjM1O2VuYWJsZS1iYWNrZ3JvdW5kOm5ldyIgZD0iTTE0Ljc0IDYuMjVDMTIuOSA0LjQxIDkuOTggNC4zNSA4LjIzIDYuMWMtMy4xNiAzLjE3LTIuMTQgOC44MS0yLjE0IDguODFzNS42NCAxLjAyIDguODEtMi4xNEMxNi42NCAxMSAxNi41OSA4LjA5IDE0Ljc0IDYuMjV6TTEyLjQ3IDEwLjM0bC0uOTEgMS44Ny0uOS0xLjg3TDguOCA5LjQzbDEuODYtLjkuOS0xLjg3LjkxIDEuODcgMS44Ni45TDEyLjQ3IDEwLjM0eiIvPjxwYXRoIGNsYXNzPSJzdDAiIHN0eWxlPSJvcGFjaXR5Oi45O2ZpbGw6I2ZmZjtlbmFibGUtYmFja2dyb3VuZDpuZXciIGQ9Ik0xNC4zMyA5LjQzIDEyLjQ3IDEwLjM0IDExLjU2IDEyLjIxIDEwLjY2IDEwLjM0IDguOCA5LjQzIDEwLjY2IDguNTMgMTEuNTYgNi42NiAxMi40NyA4LjUzeiIvPjwvZz48L3N2Zz4=)}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:21px;height:21px;background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmlld0JveD0iMCAwIDIxIDIxIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyMSAyMSI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwwLjAxKSI+PHBhdGggZD0ibTEwLjUgMS4yNGMtNS4xMS4wLTkuMjUgNC4xNS05LjI1IDkuMjUuMCA1LjEgNC4xNSA5LjI1IDkuMjUgOS4yNSA1LjEuMCA5LjI1LTQuMTUgOS4yNS05LjI1LjAtNS4xMS00LjE0LTkuMjUtOS4yNS05LjI1em00LjM5IDExLjUzYy0xLjkzIDEuOTMtNC43OCAyLjMxLTYuNyAyLjMxLS43LjAtMS40MS0uMDUtMi4xLS4xNi4wLjAtMS4wMi01LjY0IDIuMTQtOC44MS44My0uODMgMS45NS0xLjI4IDMuMTMtMS4yOCAxLjI3LjAgMi40OS41MSAzLjM5IDEuNDIgMS44NCAxLjg0IDEuODkgNC43NS4xNCA2LjUyeiIgc3R5bGU9Im9wYWNpdHk6Ljk7ZmlsbDojZmZmO2VuYWJsZS1iYWNrZ3JvdW5kOm5ldyIgY2xhc3M9InN0MCIvPjxwYXRoIGQ9Ik0xMC41LS4wMUM0LjctLjAxLjAgNC43LjAgMTAuNDljMCA1Ljc5IDQuNyAxMC41IDEwLjUgMTAuNSA1LjguMCAxMC41LTQuNyAxMC41LTEwLjVDMjAuOTkgNC43IDE2LjMtLjAxIDEwLjUtLjAxem0wIDE5Ljc1Yy01LjExLjAtOS4yNS00LjE1LTkuMjUtOS4yNS4wLTUuMSA0LjE0LTkuMjYgOS4yNS05LjI2IDUuMTEuMCA5LjI1IDQuMTUgOS4yNSA5LjI1LjAgNS4xMy00LjE0IDkuMjYtOS4yNSA5LjI2eiIgc3R5bGU9Im9wYWNpdHk6LjM1O2VuYWJsZS1iYWNrZ3JvdW5kOm5ldyIgY2xhc3M9InN0MSIvPjxwYXRoIGQ9Ik0xNC43NCA2LjI1QzEyLjkgNC40MSA5Ljk4IDQuMzUgOC4yMyA2LjEgNS4wNyA5LjI3IDYuMDkgMTQuOTEgNi4wOSAxNC45MWMwIDAgNS42NCAxLjAyIDguODEtMi4xNEMxNi42NCAxMSAxNi41OSA4LjA5IDE0Ljc0IDYuMjV6bS0yLjI3IDQuMDktLjkxIDEuODctLjktMS44Ny0xLjg2LS45MSAxLjg2LS45LjktMS44Ny45MSAxLjg3IDEuODYuOXoiIHN0eWxlPSJvcGFjaXR5Oi4zNTtlbmFibGUtYmFja2dyb3VuZDpuZXciIGNsYXNzPSJzdDEiLz48cGF0aCBkPSJNMTEuNTYgMTIuMjEgMTAuNjYgMTAuMzQgOC44IDkuNDMgMTAuNjYgOC41MyAxMS41NiA2LjY2IDEyLjQ3IDguNTMgMTQuMzMgOS40MyAxMi40NyAxMC4zNHoiIHN0eWxlPSJvcGFjaXR5Oi45O2ZpbGw6I2ZmZjtlbmFibGUtYmFja2dyb3VuZDpuZXciIGNsYXNzPSJzdDAiLz48L2c+PC9zdmc+)}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{padding:0 5px;background-color:#ffffff80;margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{min-height:20px;padding:0;margin:10px;position:relative;background-color:#fff;border-radius:3px 12px 12px 3px}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 24px 2px 4px;visibility:visible;margin-top:6px}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover,.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:hover{padding:2px 4px 2px 24px;border-radius:12px 3px 3px 12px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib.mapboxgl-compact:hover .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact::after{content:'';cursor:pointer;position:absolute;background-image:url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbD0iIzMzMyIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNCAxMGE2IDYgMCAxIDAgMTIgMCA2IDYgMCAxIDAtMTIgME05IDdhMSAxIDAgMSAwIDIgMCAxIDEgMCAxIDAtMiAwbTAgM2ExIDEgMCAxIDEgMiAwdjNhMSAxIDAgMSAxLTIgMCIvPjwvc3ZnPg==);background-color:#ffffff80;width:24px;height:24px;box-sizing:border-box;border-radius:12px}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact::after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact::after{top:0;right:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact::after{top:0;left:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact::after{bottom:0;left:0}}.mapboxgl-ctrl-attrib a{color:#000000bf;text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:#ffffffbf;font-size:10px;border-width:medium 2px 2px;border-style:none solid solid;border-color:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup{position:absolute;top:0;left:0;display:-webkit-flex;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{-webkit-flex-direction:column;flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.mapboxgl-popup-anchor-left{-webkit-flex-direction:row;flex-direction:row}.mapboxgl-popup-anchor-right{-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.mapboxgl-popup-tip{width:0;height:0;border:10px solid #0000;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{-webkit-align-self:center;align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{-webkit-align-self:flex-start;align-self:flex-start;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{-webkit-align-self:flex-end;align-self:flex-end;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{-webkit-align-self:center;align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{-webkit-align-self:flex-start;align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{-webkit-align-self:flex-end;align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{-webkit-align-self:center;align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{-webkit-align-self:center;align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-close-button{position:absolute;right:0;top:0;border:0;border-radius:0 3px 0 0;cursor:pointer;background-color:#0000}.mapboxgl-popup-close-button:hover{background-color:#0000000d}.mapboxgl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{position:absolute;top:0;left:0;will-change:transform}.mapboxgl-user-location-dot{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot::before{background-color:#1da1f2;content:'';width:15px;height:15px;border-radius:50%;position:absolute;-webkit-animation:mapboxgl-user-location-dot-pulse 2s infinite;-moz-animation:mapboxgl-user-location-dot-pulse 2s infinite;-ms-animation:mapboxgl-user-location-dot-pulse 2s infinite;animation:mapboxgl-user-location-dot-pulse 2s infinite}.mapboxgl-user-location-dot::after{border-radius:50%;border:2px solid #fff;content:'';height:19px;left:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box;box-shadow:0 0 3px #00000059}@-webkit-keyframes mapboxgl-user-location-dot-pulse{0%{-webkit-transform:scale(1);opacity:1}70%{-webkit-transform:scale(3);opacity:0}100%{-webkit-transform:scale(1);opacity:0}}@-ms-keyframes mapboxgl-user-location-dot-pulse{0%{-ms-transform:scale(1);opacity:1}70%{-ms-transform:scale(3);opacity:0}100%{-ms-transform:scale(1);opacity:0}}@keyframes mapboxgl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}100%{transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale::after{display:none}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{position:absolute;top:0;left:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}}
@@ -0,0 +1 @@
1
+ document.addEventListener("DOMContentLoaded",function(){var lazyImages=[].slice.call(document.querySelectorAll("img.lazy-loading"));if("IntersectionObserver"in window){let lazyImageObserver=new IntersectionObserver(function(entries,observer){entries.forEach(function(entry){if(entry.isIntersecting){let lazyImage=entry.target;lazyImage.src=lazyImage.dataset.src;lazyImage.classList.remove("lazy-loading");lazyImageObserver.unobserve(lazyImage);}});});lazyImages.forEach(function(lazyImage){lazyImageObserver.observe(lazyImage);});}else{}});
@@ -0,0 +1,6 @@
1
+ (function($){var $window=$(window),$head=$('head'),$body=$('body');breakpoints({xlarge:['1281px','1680px'],large:['981px','1280px'],medium:['737px','980px'],small:['481px','736px'],xsmall:['361px','480px'],xxsmall:[null,'360px'],'xlarge-to-max':'(min-width: 1681px)','small-to-xlarge':'(min-width: 481px) and (max-width: 1680px)'});$window.on('load',function(){window.setTimeout(function(){$body.removeClass('is-preload');},100);});var resizeTimeout;$window.on('resize',function(){$body.addClass('is-resizing');clearTimeout(resizeTimeout);resizeTimeout=setTimeout(function(){$body.removeClass('is-resizing');},100);});if(!browser.canUse('object-fit')||browser.name=='safari')
2
+ $('.image.object').each(function(){var $this=$(this),$img=$this.children('img');$img.css('opacity','0');$this.css('background-image','url("'+$img.attr('src')+'")').css('background-size',$img.css('object-fit')?$img.css('object-fit'):'cover').css('background-position',$img.css('object-position')?$img.css('object-position'):'center');});var $sidebar=$('#sidebar'),$sidebar_inner=$sidebar.children('.inner');$sidebar.addClass('inactive');if(browser.os=='android'&&browser.name=='chrome')
3
+ $('<style>#sidebar .inner::-webkit-scrollbar { display: none; }</style>').appendTo($head);$('#sidebar-toggle-button').on('click',function(event){event.preventDefault();event.stopPropagation();$sidebar.toggleClass('inactive');});$('#sidebar-search-button').on('click',function(event){event.preventDefault();event.stopPropagation();$sidebar.toggleClass('inactive');});$('.scrolly-middle').scrolly({speed:1000,anchor:'middle'});$('.scrolly').scrolly({speed:3000,offset:function(){return(breakpoints.active('<=mobile')?70:190);}});$sidebar.on('click','a',function(event){var $a=$(this),href=$a.attr('href'),target=$a.attr('target');event.preventDefault();event.stopPropagation();if(!href||href=='#'||href=='')
4
+ return;$sidebar.addClass('inactive');setTimeout(function(){if(target=='_blank')
5
+ window.open(href);else
6
+ window.location.href=href;},500);});$sidebar.on('click touchend touchstart touchmove',function(event){event.stopPropagation();});$body.on('click touchend',function(event){$sidebar.addClass('inactive');});$sidebar_inner.data('locked',0).css('position','').css('top','');var $menu=$('#menu'),$menu_openers=$menu.children('ul').find('.opener');$menu_openers.each(function(){var $this=$(this);$this.on('click',function(event){event.preventDefault();$menu_openers.not($this).removeClass('active');$this.toggleClass('active');$window.triggerHandler('resize.sidebar-lock');});});})(jQuery);
@@ -0,0 +1,3 @@
1
+ (function(global,factory){typeof exports==='object'&&typeof module!=='undefined'?module.exports=factory():typeof define==='function'&&define.amd?define(factory):(global=global||self,global.mapboxgl=factory());}(this,function(){'use strict';var shared,worker,mapboxgl;function define(_,chunk){if(!shared){shared=chunk;}else if(!worker){worker=chunk;}else{var workerBundleString='var sharedChunk = {}; ('+shared+')(sharedChunk); ('+worker+')(sharedChunk);'
2
+ var sharedChunk={};shared(sharedChunk);mapboxgl=chunk(sharedChunk);mapboxgl.workerUrl=window.URL.createObjectURL(new Blob([workerBundleString],{type:'text/javascript'}));}}
3
+ define(["exports"],(function(t){"use strict";function e(t,e){return t(e={exports:{}},e.exports),e.exports}var r=n;function n(t,e,r,n){this.cx=3*t,this.bx=3*(r-t)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(n-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=t,this.p1y=n,this.p2x=r,this.p2y=n;}n.prototype.sampleCurveX=function(t){return((this.ax*t+this.bx)*t+this.cx)*t},n.prototype.sampleCurveY=function(t){return((this.ay*t+this.by)*t+this.cy)*t},n.prototype.sampleCurveDerivativeX=function(t){return(3*this.ax*t+2*this.bx)*t+this.cx},n.prototype.solveCurveX=function(t,e){var r,n,i,a,o;for(void 0===e&&(e=1e-6),i=t,o=0;o<8;o++){if(a=this.sampleCurveX(i)-t,Math.abs(a)<e)return i;var s=this.sampleCurveDerivativeX(i);if(Math.abs(s)<1e-6)break;i-=a/s;}if((i=t)<(r=0))return r;if(i>(n=1))return n;for(;r<n;){if(a=this.sampleCurveX(i),Math.abs(a-t)<e)return i;t>a?r=i:n=i,i=.5*(n-r)+r;}return i},n.prototype.solve=function(t,e){return this.sampleCurveY(this.solveCurveX(t,e))};var i=a;function a(t,e){this.x=t,this.y=e;}function o(t,e){if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!o(t[r],e[r]))return!1;return!0}if("object"==typeof t&&null!==t&&null!==e){if("object"!=typeof e)return!1;if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(!o(t[n],e[n]))return!1;return!0}return t===e}function s(t,e,n,i){var a=new r(t,e,n,i);return function(t){return a.solve(t)}}a.prototype={clone:function(){return new a(this.x,this.y)},add:function(t){return this.clone()._add(t)},sub:function(t){return this.clone()._sub(t)},multByPoint:function(t){return this.clone()._multByPoint(t)},divByPoint:function(t){return this.clone()._divByPoint(t)},mult:function(t){return this.clone()._mult(t)},div:function(t){return this.clone()._div(t)},rotate:function(t){return this.clone()._rotate(t)},rotateAround:function(t,e){return this.clone()._rotateAround(t,e)},matMult:function(t){return this.clone()._matMult(t)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(t){return this.x===t.x&&this.y===t.y},dist:function(t){return Math.sqrt(this.distSqr(t))},distSqr:function(t){var e=t.x-this.x,r=t.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(t){return Math.atan2(this.y-t.y,this.x-t.x)},angleWith:function(t){return this.angleWithSep(t.x,t.y)},angleWithSep:function(t,e){return Math.atan2(this.x*e-this.y*t,this.x*t+this.y*e)},_matMult:function(t){var e=t[0]*this.x+t[1]*this.y,r=t[2]*this.x+t[3]*this.y;return this.x=e,this.y=r,this},_add:function(t){return this.x+=t.x,this.y+=t.y,this},_sub:function(t){return this.x-=t.x,this.y-=t.y,this},_mult:function(t){return this.x*=t,this.y*=t,this},_div:function(t){return this.x/=t,this.y/=t,this},_multByPoint:function(t){return this.x*=t.x,this.y*=t.y,this},_divByPoint:function(t){return this.x/=t.x,this.y/=t.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var t=this.y;return this.y=this.x,this.x=-t,this},_rotate:function(t){var e=Math.cos(t),r=Math.sin(t),n=e*this.x-r*this.y,i=r*this.x+e*this.y;return this.x=n,this.y=i,this},_rotateAround:function(t,e){var r=Math.cos(t),n=Math.sin(t),i=e.x+r*(this.x-e.x)-n*(this.y-e.y),a=e.y+n*(this.x-e.x)+r*(this.y-e.y);return this.x=i,this.y=a,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},a.convert=function(t){return t instanceof a?t:Array.isArray(t)?new a(t[0],t[1]):t};var u=s(.25,.1,.25,1);function l(t,e,r){return Math.min(r,Math.max(e,t))}function p(t,e,r){var n=r-e,i=((t-e)%n+n)%n+e;return i===e?r:i}function c(t){for(var e=[],r=arguments.length-1;r-->0;)e[r]=arguments[r+1];for(var n=0,i=e;n<i.length;n+=1){var a=i[n];for(var o in a)t[o]=a[o];}return t}var h=1;function f(){return h++}function y(){return function t(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,t)}()}function d(t){return!!t&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(t)}function m(t,e){t.forEach((function(t){e[t]&&(e[t]=e[t].bind(e));}));}function v(t,e){return-1!==t.indexOf(e,t.length-e.length)}function g(t,e,r){var n={};for(var i in t)n[i]=e.call(r||this,t[i],i,t);return n}function x(t,e,r){var n={};for(var i in t)e.call(r||this,t[i],i,t)&&(n[i]=t[i]);return n}function b(t){return Array.isArray(t)?t.map(b):"object"==typeof t&&t?g(t,b):t}var _={};function w(t){_[t]||("undefined"!=typeof console&&console.warn(t),_[t]=!0);}function A(t,e,r){return(r.y-t.y)*(e.x-t.x)>(e.y-t.y)*(r.x-t.x)}function k(t){for(var e=0,r=0,n=t.length,i=n-1,a=void 0,o=void 0;r<n;i=r++)a=t[r],e+=((o=t[i]).x-a.x)*(a.y+o.y);return e}function S(t){var e={};if(t.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(function(t,r,n,i){var a=n||i;return e[r]=!a||a.toLowerCase(),""})),e["max-age"]){var r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r;}return e}function I(t){try{var e=self[t];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch(t){return!1}}var z,C,B,P,E=self.performance&&self.performance.now?self.performance.now.bind(self.performance):Date.now.bind(Date),M=self.requestAnimationFrame||self.mozRequestAnimationFrame||self.webkitRequestAnimationFrame||self.msRequestAnimationFrame,T=self.cancelAnimationFrame||self.mozCancelAnimationFrame||self.webkitCancelAnimationFrame||self.msCancelAnimationFrame,V={now:E,frame:function(t){var e=M(t);return{cancel:function(){return T(e)}}},getImageData:function(t,e){void 0===e&&(e=0);var r=self.document.createElement("canvas"),n=r.getContext("2d");if(!n)throw new Error("failed to create canvas 2d context");return r.width=t.width,r.height=t.height,n.drawImage(t,0,0,t.width,t.height),n.getImageData(-e,-e,t.width+2*e,t.height+2*e)},resolveURL:function(t){return z||(z=self.document.createElement("a")),z.href=t,z.href},hardwareConcurrency:self.navigator.hardwareConcurrency||4,get devicePixelRatio(){return self.devicePixelRatio},get prefersReducedMotion(){return!!self.matchMedia&&(null==C&&(C=self.matchMedia("(prefers-reduced-motion: reduce)")),C.matches)}},F={API_URL:"https://api.mapbox.com",get EVENTS_URL(){return this.API_URL?0===this.API_URL.indexOf("https://api.mapbox.cn")?"https://events.mapbox.cn/events/v2":0===this.API_URL.indexOf("https://api.mapbox.com")?"https://events.mapbox.com/events/v2":null:null},FEEDBACK_URL:"https://apps.mapbox.com/feedback",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,MAX_PARALLEL_IMAGE_REQUESTS:16},O={supported:!1,testSupport:function(t){if(L||!P)return;D?U(t):B=t;}},L=!1,D=!1;function U(t){var e=t.createTexture();t.bindTexture(t.TEXTURE_2D,e);try{if(t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,P),t.isContextLost())return;O.supported=!0;}catch(t){}t.deleteTexture(e),L=!0;}self.document&&((P=self.document.createElement("img")).onload=function(){B&&U(B),B=null,D=!0;},P.onerror=function(){L=!0,B=null;},P.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");var R="01";var j=function(t,e){this._transformRequestFn=t,this._customAccessToken=e,this._createSkuToken();};function q(t){return 0===t.indexOf("mapbox:")}j.prototype._createSkuToken=function(){var t=function(){for(var t="",e=0;e<10;e++)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(62*Math.random())];return{token:["1",R,t].join(""),tokenExpiresAt:Date.now()+432e5}}();this._skuToken=t.token,this._skuTokenExpiresAt=t.tokenExpiresAt;},j.prototype._isSkuTokenExpired=function(){return Date.now()>this._skuTokenExpiresAt},j.prototype.transformRequest=function(t,e){return this._transformRequestFn&&this._transformRequestFn(t,e)||{url:t}},j.prototype.normalizeStyleURL=function(t,e){if(!q(t))return t;var r=X(t);return r.path="/styles/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},j.prototype.normalizeGlyphsURL=function(t,e){if(!q(t))return t;var r=X(t);return r.path="/fonts/v1"+r.path,this._makeAPIURL(r,this._customAccessToken||e)},j.prototype.normalizeSourceURL=function(t,e){if(!q(t))return t;var r=X(t);return r.path="/v4/"+r.authority+".json",r.params.push("secure"),this._makeAPIURL(r,this._customAccessToken||e)},j.prototype.normalizeSpriteURL=function(t,e,r,n){var i=X(t);return q(t)?(i.path="/styles/v1"+i.path+"/sprite"+e+r,this._makeAPIURL(i,this._customAccessToken||n)):(i.path+=""+e+r,G(i))},j.prototype.normalizeTileURL=function(t,e,r){if(this._isSkuTokenExpired()&&this._createSkuToken(),!e||!q(e))return t;var n=X(t),i=V.devicePixelRatio>=2||512===r?"@2x":"",a=O.supported?".webp":"$1";return n.path=n.path.replace(/(\.(png|jpg)\d*)(?=$)/,""+i+a),n.path=n.path.replace(/^.+\/v4\//,"/"),n.path="/v4"+n.path,F.REQUIRE_ACCESS_TOKEN&&(F.ACCESS_TOKEN||this._customAccessToken)&&this._skuToken&&n.params.push("sku="+this._skuToken),this._makeAPIURL(n,this._customAccessToken)},j.prototype.canonicalizeTileURL=function(t){var e=X(t);if(!e.path.match(/(^\/v4\/)/)||!e.path.match(/\.[\w]+$/))return t;var r="mapbox://tiles/";r+=e.path.replace("/v4/","");var n=e.params.filter((function(t){return!t.match(/^access_token=/)}));return n.length&&(r+="?"+n.join("&")),r},j.prototype.canonicalizeTileset=function(t,e){if(!q(e))return t.tiles||[];for(var r=[],n=0,i=t.tiles;n<i.length;n+=1){var a=i[n],o=this.canonicalizeTileURL(a);r.push(o);}return r},j.prototype._makeAPIURL=function(t,e){var r="See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes",n=X(F.API_URL);if(t.protocol=n.protocol,t.authority=n.authority,"/"!==n.path&&(t.path=""+n.path+t.path),!F.REQUIRE_ACCESS_TOKEN)return G(t);if(!(e=e||F.ACCESS_TOKEN))throw new Error("An API access token is required to use Mapbox GL. "+r);if("s"===e[0])throw new Error("Use a public access token (pk.*) with Mapbox GL, not a secret access token (sk.*). "+r);return t.params=t.params.filter((function(t){return-1===t.indexOf("access_token")})),t.params.push("access_token="+e),G(t)};var N=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;function K(t){return N.test(t)}var Z=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function X(t){var e=t.match(Z);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function G(t){var e=t.params.length?"?"+t.params.join("&"):"";return t.protocol+"://"+t.authority+t.path+e}function J(t){if(!t)return null;var e,r=t.split(".");if(!r||3!==r.length)return null;try{return JSON.parse((e=r[1],decodeURIComponent(self.atob(e).split("").map((function(t){return "%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)})).join(""))))}catch(t){return null}}var H=function(t){this.type=t,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null;};H.prototype.getStorageKey=function(t){var e,r=J(F.ACCESS_TOKEN),n="";return r&&r.u?(e=r.u,n=self.btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(t,e){return String.fromCharCode(Number("0x"+e))})))):n=F.ACCESS_TOKEN||"",t?"mapbox.eventData."+t+":"+n:"mapbox.eventData:"+n},H.prototype.fetchEventData=function(){var t=I("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{var n=self.localStorage.getItem(e);n&&(this.eventData=JSON.parse(n));var i=self.localStorage.getItem(r);i&&(this.anonId=i);}catch(t){w("Unable to read from LocalStorage");}},H.prototype.saveEventData=function(){var t=I("localStorage"),e=this.getStorageKey(),r=this.getStorageKey("uuid");if(t)try{self.localStorage.setItem(r,this.anonId),Object.keys(this.eventData).length>=1&&self.localStorage.setItem(e,JSON.stringify(this.eventData));}catch(t){w("Unable to write to LocalStorage");}},H.prototype.processRequests=function(t){},H.prototype.postEvent=function(t,e,r,n){var i=this;if(F.EVENTS_URL){var a=X(F.EVENTS_URL);a.params.push("access_token="+(n||F.ACCESS_TOKEN||""));var o={event:this.type,created:new Date(t).toISOString(),sdkIdentifier:"mapbox-gl-js",sdkVersion:"1.5.0",skuId:R,userId:this.anonId},s=e?c(o,e):o,u={url:G(a),headers:{"Content-Type":"text/plain"},body:JSON.stringify([s])};this.pendingRequest=vt(u,(function(t){i.pendingRequest=null,r(t),i.saveEventData(),i.processRequests(n);}));}},H.prototype.queueRequest=function(t,e){this.queue.push(t),this.processRequests(e);};var Y,$=function(t){function e(){t.call(this,"map.load"),this.success={},this.skuToken="";}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postMapLoadEvent=function(t,e,r,n){this.skuToken=r,(F.EVENTS_URL&&n||F.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return q(t)||K(t)})))&&this.queueRequest({id:e,timestamp:Date.now()},n);},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){var r=this.queue.shift(),n=r.id,i=r.timestamp;n&&this.success[n]||(this.anonId||this.fetchEventData(),d(this.anonId)||(this.anonId=y()),this.postEvent(i,{skuToken:this.skuToken},(function(t){t||n&&(e.success[n]=!0);}),t));}},e}(H),W=new(function(t){function e(e){t.call(this,"appUserTurnstile"),this._customAccessToken=e;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.postTurnstileEvent=function(t,e){F.EVENTS_URL&&F.ACCESS_TOKEN&&Array.isArray(t)&&t.some((function(t){return q(t)||K(t)}))&&this.queueRequest(Date.now(),e);},e.prototype.processRequests=function(t){var e=this;if(!this.pendingRequest&&0!==this.queue.length){this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();var r=J(F.ACCESS_TOKEN),n=r?r.u:F.ACCESS_TOKEN,i=n!==this.eventData.tokenU;d(this.anonId)||(this.anonId=y(),i=!0);var a=this.queue.shift();if(this.eventData.lastSuccess){var o=new Date(this.eventData.lastSuccess),s=new Date(a),u=(a-this.eventData.lastSuccess)/864e5;i=i||u>=1||u<-1||o.getDate()!==s.getDate();}else i=!0;if(!i)return this.processRequests();this.postEvent(a,{"enabled.telemetry":!1},(function(t){t||(e.eventData.lastSuccess=a,e.eventData.tokenU=n);}),t);}},e}(H)),Q=W.postTurnstileEvent.bind(W),tt=new $,et=tt.postMapLoadEvent.bind(tt),rt="mapbox-tiles",nt=500,it=50,at=42e4;function ot(t,e,r){if(self.caches){var n={status:e.status,statusText:e.statusText,headers:new self.Headers};e.headers.forEach((function(t,e){return n.headers.set(e,t)}));var i=S(e.headers.get("Cache-Control")||"");if(!i["no-store"])i["max-age"]&&n.headers.set("Expires",new Date(r+1e3*i["max-age"]).toUTCString()),new Date(n.headers.get("Expires")).getTime()-r<at||function(t,e){if(void 0===Y)try{new Response(new ReadableStream),Y=!0;}catch(t){Y=!1;}Y?e(t.body):t.blob().then(e);}(e,(function(e){var r=new self.Response(e,n);self.caches.open(rt).then((function(e){return e.put(st(t.url),r)})).catch((function(t){return w(t.message)}));}));}}function st(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}function ut(t,e){if(!self.caches)return e(null);var r=st(t.url);self.caches.open(rt).then((function(t){t.match(r).then((function(n){var i=function(t){if(!t)return!1;var e=new Date(t.headers.get("Expires")),r=S(t.headers.get("Cache-Control")||"");return e>Date.now()&&!r["no-cache"]}(n);t.delete(r),i&&t.put(r,n.clone()),e(null,n,i);})).catch(e);})).catch(e);}var lt=1/0;var pt={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image"};"function"==typeof Object.freeze&&Object.freeze(pt);var ct=function(t){function e(e,r,n){401===r&&K(n)&&(e+=": you may have provided an invalid Mapbox access token. See https://www.mapbox.com/api-documentation/#access-tokens-and-token-scopes"),t.call(this,e),this.status=r,this.url=n,this.name=this.constructor.name,this.message=e;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.toString=function(){return this.name+": "+this.message+" ("+this.status+"): "+this.url},e}(Error);function ht(){return "undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof self&&self instanceof WorkerGlobalScope}var ft=ht()?function(){return self.worker&&self.worker.referrer}:function(){return("blob:"===self.location.protocol?self.parent:self).location.href};function yt(t,e){var r,n=new self.AbortController,i=new self.Request(t.url,{method:t.method||"GET",body:t.body,credentials:t.credentials,headers:t.headers,referrer:ft(),signal:n.signal}),a=!1,o=!1,s=(r=i.url).indexOf("sku=")>0&&K(r);"json"===t.type&&i.headers.set("Accept","application/json");var u=function(r,n,a){if(!o){if(r&&"SecurityError"!==r.message&&w(r),n&&a)return l(n);var u=Date.now();self.fetch(i).then((function(r){if(r.ok){var n=s?r.clone():null;return l(r,n,u)}return e(new ct(r.statusText,r.status,t.url))})).catch((function(t){20!==t.code&&e(new Error(t.message));}));}},l=function(r,n,s){("arrayBuffer"===t.type?r.arrayBuffer():"json"===t.type?r.json():r.text()).then((function(t){o||(n&&s&&ot(i,n,s),a=!0,e(null,t,r.headers.get("Cache-Control"),r.headers.get("Expires")));})).catch((function(t){return e(new Error(t.message))}));};return s?ut(i,u):u(null,null),{cancel:function(){o=!0,a||n.abort();}}}var dt=function(t,e){if(r=t.url,!(/^file:/.test(r)||/^file:/.test(ft())&&!/^\w+:/.test(r))){if(self.fetch&&self.Request&&self.AbortController&&self.Request.prototype.hasOwnProperty("signal"))return yt(t,e);if(ht()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",t,e)}var r;return function(t,e){var r=new self.XMLHttpRequest;for(var n in r.open(t.method||"GET",t.url,!0),"arrayBuffer"===t.type&&(r.responseType="arraybuffer"),t.headers)r.setRequestHeader(n,t.headers[n]);return "json"===t.type&&(r.responseType="text",r.setRequestHeader("Accept","application/json")),r.withCredentials="include"===t.credentials,r.onerror=function(){e(new Error(r.statusText));},r.onload=function(){if((r.status>=200&&r.status<300||0===r.status)&&null!==r.response){var n=r.response;if("json"===t.type)try{n=JSON.parse(r.response);}catch(t){return e(t)}e(null,n,r.getResponseHeader("Cache-Control"),r.getResponseHeader("Expires"));}else e(new ct(r.statusText,r.status,t.url));},r.send(t.body),{cancel:function(){return r.abort()}}}(t,e)},mt=function(t,e){return dt(c(t,{type:"arrayBuffer"}),e)},vt=function(t,e){return dt(c(t,{method:"POST"}),e)};var gt,xt;gt=[],xt=0;var bt=function(t,e){if(xt>=F.MAX_PARALLEL_IMAGE_REQUESTS){var r={requestParameters:t,callback:e,cancelled:!1,cancel:function(){this.cancelled=!0;}};return gt.push(r),r}xt++;var n=!1,i=function(){if(!n)for(n=!0,xt--;gt.length&&xt<F.MAX_PARALLEL_IMAGE_REQUESTS;){var t=gt.shift(),e=t.requestParameters,r=t.callback;t.cancelled||(t.cancel=bt(e,r).cancel);}},a=mt(t,(function(t,r,n,a){if(i(),t)e(t);else if(r){var o=new self.Image,s=self.URL||self.webkitURL;o.onload=function(){e(null,o),s.revokeObjectURL(o.src);},o.onerror=function(){return e(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."))};var u=new self.Blob([new Uint8Array(r)],{type:"image/png"});o.cacheControl=n,o.expires=a,o.src=r.byteLength?s.createObjectURL(u):"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";}}));return{cancel:function(){a.cancel(),i();}}};function _t(t,e,r){r[t]&&-1!==r[t].indexOf(e)||(r[t]=r[t]||[],r[t].push(e));}function wt(t,e,r){if(r&&r[t]){var n=r[t].indexOf(e);-1!==n&&r[t].splice(n,1);}}var At=function(t,e){void 0===e&&(e={}),c(this,e),this.type=t;},kt=function(t){function e(e,r){void 0===r&&(r={}),t.call(this,"error",c({error:e},r));}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(At),St=function(){};St.prototype.on=function(t,e){return this._listeners=this._listeners||{},_t(t,e,this._listeners),this},St.prototype.off=function(t,e){return wt(t,e,this._listeners),wt(t,e,this._oneTimeListeners),this},St.prototype.once=function(t,e){return this._oneTimeListeners=this._oneTimeListeners||{},_t(t,e,this._oneTimeListeners),this},St.prototype.fire=function(t,e){"string"==typeof t&&(t=new At(t,e||{}));var r=t.type;if(this.listens(r)){t.target=this;for(var n=0,i=this._listeners&&this._listeners[r]?this._listeners[r].slice():[];n<i.length;n+=1){i[n].call(this,t);}for(var a=0,o=this._oneTimeListeners&&this._oneTimeListeners[r]?this._oneTimeListeners[r].slice():[];a<o.length;a+=1){var s=o[a];wt(r,s,this._oneTimeListeners),s.call(this,t);}var u=this._eventedParent;u&&(c(t,"function"==typeof this._eventedParentData?this._eventedParentData():this._eventedParentData),u.fire(t));}else t instanceof kt&&console.error(t.error);return this},St.prototype.listens=function(t){return this._listeners&&this._listeners[t]&&this._listeners[t].length>0||this._oneTimeListeners&&this._oneTimeListeners[t]&&this._oneTimeListeners[t].length>0||this._eventedParent&&this._eventedParent.listens(t)},St.prototype.setEventedParent=function(t,e){return this._eventedParent=t,this._eventedParentData=e,this};var It={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:22,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Zoom"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!0,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"line-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"cross-faded-data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-dasharray"},{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"cross-faded"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"cross-faded":{type:"property-type"},"cross-faded-data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}}},zt=function(t,e,r,n){this.message=(t?t+": ":"")+r,n&&(this.identifier=n),null!=e&&e.__line__&&(this.line=e.__line__);};function Ct(t){var e=t.key,r=t.value;return r?[new zt(e,r,"constants have been deprecated as of v8")]:[]}function Bt(t){for(var e=[],r=arguments.length-1;r-->0;)e[r]=arguments[r+1];for(var n=0,i=e;n<i.length;n+=1){var a=i[n];for(var o in a)t[o]=a[o];}return t}function Pt(t){return t instanceof Number||t instanceof String||t instanceof Boolean}function Et(t){return Pt(t)?t.valueOf():t}function Mt(t){if(Array.isArray(t))return t.map(Mt);if(t instanceof Object&&!Pt(t)){var e={};for(var r in t)e[r]=Mt(t[r]);return e}return Et(t)}var Tt=function(t){function e(e,r){t.call(this,r),this.message=r,this.key=e;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(Error),Vt=function(t,e){void 0===e&&(e=[]),this.parent=t,this.bindings={};for(var r=0,n=e;r<n.length;r+=1){var i=n[r],a=i[0],o=i[1];this.bindings[a]=o;}};Vt.prototype.concat=function(t){return new Vt(this,t)},Vt.prototype.get=function(t){if(this.bindings[t])return this.bindings[t];if(this.parent)return this.parent.get(t);throw new Error(t+" not found in scope.")},Vt.prototype.has=function(t){return!!this.bindings[t]||!!this.parent&&this.parent.has(t)};var Ft={kind:"null"},Ot={kind:"number"},Lt={kind:"string"},Dt={kind:"boolean"},Ut={kind:"color"},Rt={kind:"object"},jt={kind:"value"},qt={kind:"collator"},Nt={kind:"formatted"},Kt={kind:"resolvedImage"};function Zt(t,e){return{kind:"array",itemType:t,N:e}}function Xt(t){if("array"===t.kind){var e=Xt(t.itemType);return "number"==typeof t.N?"array<"+e+", "+t.N+">":"value"===t.itemType.kind?"array":"array<"+e+">"}return t.kind}var Gt=[Ft,Ot,Lt,Dt,Ut,Nt,Rt,Zt(jt),Kt];function Jt(t,e){if("error"===e.kind)return null;if("array"===t.kind){if("array"===e.kind&&(0===e.N&&"value"===e.itemType.kind||!Jt(t.itemType,e.itemType))&&("number"!=typeof t.N||t.N===e.N))return null}else{if(t.kind===e.kind)return null;if("value"===t.kind)for(var r=0,n=Gt;r<n.length;r+=1){if(!Jt(n[r],e))return null}}return "Expected "+Xt(t)+" but found "+Xt(e)+" instead."}var Ht=e((function(t,e){var r={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function n(t){return(t=Math.round(t))<0?0:t>255?255:t}function i(t){return t<0?0:t>1?1:t}function a(t){return "%"===t[t.length-1]?n(parseFloat(t)/100*255):n(parseInt(t))}function o(t){return "%"===t[t.length-1]?i(parseFloat(t)/100):i(parseFloat(t))}function s(t,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?t+(e-t)*r*6:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}try{e.parseCSSColor=function(t){var e,i=t.replace(/ /g,"").toLowerCase();if(i in r)return r[i].slice();if("#"===i[0])return 4===i.length?(e=parseInt(i.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:7===i.length&&(e=parseInt(i.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var u=i.indexOf("("),l=i.indexOf(")");if(-1!==u&&l+1===i.length){var p=i.substr(0,u),c=i.substr(u+1,l-(u+1)).split(","),h=1;switch(p){case"rgba":if(4!==c.length)return null;h=o(c.pop());case"rgb":return 3!==c.length?null:[a(c[0]),a(c[1]),a(c[2]),h];case"hsla":if(4!==c.length)return null;h=o(c.pop());case"hsl":if(3!==c.length)return null;var f=(parseFloat(c[0])%360+360)%360/360,y=o(c[1]),d=o(c[2]),m=d<=.5?d*(y+1):d+y-d*y,v=2*d-m;return[n(255*s(v,m,f+1/3)),n(255*s(v,m,f)),n(255*s(v,m,f-1/3)),h];default:return null}}return null};}catch(t){}})).parseCSSColor,Yt=function(t,e,r,n){void 0===n&&(n=1),this.r=t,this.g=e,this.b=r,this.a=n;};Yt.parse=function(t){if(t){if(t instanceof Yt)return t;if("string"==typeof t){var e=Ht(t);if(e)return new Yt(e[0]/255*e[3],e[1]/255*e[3],e[2]/255*e[3],e[3])}}},Yt.prototype.toString=function(){var t=this.toArray(),e=t[0],r=t[1],n=t[2],i=t[3];return "rgba("+Math.round(e)+","+Math.round(r)+","+Math.round(n)+","+i+")"},Yt.prototype.toArray=function(){var t=this.r,e=this.g,r=this.b,n=this.a;return 0===n?[0,0,0,0]:[255*t/n,255*e/n,255*r/n,n]},Yt.black=new Yt(0,0,0,1),Yt.white=new Yt(1,1,1,1),Yt.transparent=new Yt(0,0,0,0),Yt.red=new Yt(1,0,0,1);var $t=function(t,e,r){this.sensitivity=t?e?"variant":"case":e?"accent":"base",this.locale=r,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"});};$t.prototype.compare=function(t,e){return this.collator.compare(t,e)},$t.prototype.resolvedLocale=function(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale};var Wt=function(t,e,r,n){this.text=t,this.scale=e,this.fontStack=r,this.textColor=n;},Qt=function(t){this.sections=t;};Qt.fromString=function(t){return new Qt([new Wt(t,null,null,null)])},Qt.prototype.toString=function(){return this.sections.map((function(t){return t.text})).join("")},Qt.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var n=r[e];t.push(n.text);var i={};n.fontStack&&(i["text-font"]=["literal",n.fontStack.split(",")]),n.scale&&(i["font-scale"]=n.scale),n.textColor&&(i["text-color"]=["rgba"].concat(n.textColor.toArray())),t.push(i);}return t};var te=function(t){this.name=t.name,this.available=t.available;};function ee(t,e,r,n){return "number"==typeof t&&t>=0&&t<=255&&"number"==typeof e&&e>=0&&e<=255&&"number"==typeof r&&r>=0&&r<=255?void 0===n||"number"==typeof n&&n>=0&&n<=1?null:"Invalid rgba value ["+[t,e,r,n].join(", ")+"]: 'a' must be between 0 and 1.":"Invalid rgba value ["+("number"==typeof n?[t,e,r,n]:[t,e,r]).join(", ")+"]: 'r', 'g', and 'b' must be between 0 and 255."}function re(t){if(null===t)return Ft;if("string"==typeof t)return Lt;if("boolean"==typeof t)return Dt;if("number"==typeof t)return Ot;if(t instanceof Yt)return Ut;if(t instanceof $t)return qt;if(t instanceof Qt)return Nt;if(t instanceof te)return Kt;if(Array.isArray(t)){for(var e,r=t.length,n=0,i=t;n<i.length;n+=1){var a=re(i[n]);if(e){if(e===a)continue;e=jt;break}e=a;}return Zt(e||jt,r)}return Rt}function ne(t){var e=typeof t;return null===t?"":"string"===e||"number"===e||"boolean"===e?String(t):t instanceof Yt||t instanceof Qt||t instanceof te?t.toString():JSON.stringify(t)}te.prototype.toString=function(){return this.name},te.fromString=function(t){return new te({name:t,available:!1})},te.prototype.serialize=function(){return["image",this.name]};var ie=function(t,e){this.type=t,this.value=e;};ie.parse=function(t,e){if(2!==t.length)return e.error("'literal' expression requires exactly one argument, but found "+(t.length-1)+" instead.");if(!function t(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof Yt)return!0;if(e instanceof $t)return!0;if(e instanceof Qt)return!0;if(e instanceof te)return!0;if(Array.isArray(e)){for(var r=0,n=e;r<n.length;r+=1){if(!t(n[r]))return!1}return!0}if("object"==typeof e){for(var i in e)if(!t(e[i]))return!1;return!0}return!1}(t[1]))return e.error("invalid value");var r=t[1],n=re(r),i=e.expectedType;return "array"!==n.kind||0!==n.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(n=i),new ie(n,r)},ie.prototype.evaluate=function(){return this.value},ie.prototype.eachChild=function(){},ie.prototype.possibleOutputs=function(){return[this.value]},ie.prototype.serialize=function(){return "array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Yt?["rgba"].concat(this.value.toArray()):this.value instanceof Qt?this.value.serialize():this.value};var ae=function(t){this.name="ExpressionEvaluationError",this.message=t;};ae.prototype.toJSON=function(){return this.message};var oe={string:Lt,number:Ot,boolean:Dt,object:Rt},se=function(t,e){this.type=t,this.args=e;};se.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r,n=1,i=t[0];if("array"===i){var a,o;if(t.length>2){var s=t[1];if("string"!=typeof s||!(s in oe)||"object"===s)return e.error('The item type argument of "array" must be one of string, number, boolean',1);a=oe[s],n++;}else a=jt;if(t.length>3){if(null!==t[2]&&("number"!=typeof t[2]||t[2]<0||t[2]!==Math.floor(t[2])))return e.error('The length argument to "array" must be a positive integer literal',2);o=t[2],n++;}r=Zt(a,o);}else r=oe[i];for(var u=[];n<t.length;n++){var l=e.parse(t[n],n,jt);if(!l)return null;u.push(l);}return new se(r,u)},se.prototype.evaluate=function(t){for(var e=0;e<this.args.length;e++){var r=this.args[e].evaluate(t);if(!Jt(this.type,re(r)))return r;if(e===this.args.length-1)throw new ae("Expected value to be of type "+Xt(this.type)+", but found "+Xt(re(r))+" instead.")}return null},se.prototype.eachChild=function(t){this.args.forEach(t);},se.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},se.prototype.serialize=function(){var t=this.type,e=[t.kind];if("array"===t.kind){var r=t.itemType;if("string"===r.kind||"number"===r.kind||"boolean"===r.kind){e.push(r.kind);var n=t.N;("number"==typeof n||this.args.length>1)&&e.push(n);}}return e.concat(this.args.map((function(t){return t.serialize()})))};var ue=function(t){this.type=Nt,this.sections=t;};ue.parse=function(t,e){if(t.length<3)return e.error("Expected at least two arguments.");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");for(var r=[],n=1;n<t.length-1;n+=2){var i=e.parse(t[n],1,jt);if(!i)return null;var a=i.type.kind;if("string"!==a&&"value"!==a&&"null"!==a)return e.error("Formatted text type must be 'string', 'value', or 'null'.");var o=t[n+1];if("object"!=typeof o||Array.isArray(o))return e.error("Format options argument must be an object.");var s=null;if(o["font-scale"]&&!(s=e.parse(o["font-scale"],1,Ot)))return null;var u=null;if(o["text-font"]&&!(u=e.parse(o["text-font"],1,Zt(Lt))))return null;var l=null;if(o["text-color"]&&!(l=e.parse(o["text-color"],1,Ut)))return null;r.push({text:i,scale:s,font:u,textColor:l});}return new ue(r)},ue.prototype.evaluate=function(t){return new Qt(this.sections.map((function(e){return new Wt(ne(e.text.evaluate(t)),e.scale?e.scale.evaluate(t):null,e.font?e.font.evaluate(t).join(","):null,e.textColor?e.textColor.evaluate(t):null)})))},ue.prototype.eachChild=function(t){for(var e=0,r=this.sections;e<r.length;e+=1){var n=r[e];t(n.text),n.scale&&t(n.scale),n.font&&t(n.font),n.textColor&&t(n.textColor);}},ue.prototype.possibleOutputs=function(){return[void 0]},ue.prototype.serialize=function(){for(var t=["format"],e=0,r=this.sections;e<r.length;e+=1){var n=r[e];t.push(n.text.serialize());var i={};n.scale&&(i["font-scale"]=n.scale.serialize()),n.font&&(i["text-font"]=n.font.serialize()),n.textColor&&(i["text-color"]=n.textColor.serialize()),t.push(i);}return t};var le=function(t){this.type=Kt,this.input=t;};le.parse=function(t,e){if(2!==t.length)return e.error("Expected two arguments.");var r=e.parse(t[1],1,Lt);return r?new le(r):e.error("No image name provided.")},le.prototype.evaluate=function(t){var e=this.input.evaluate(t),r=!1;return t.availableImages&&t.availableImages.indexOf(e)>-1&&(r=!0),new te({name:e,available:r})},le.prototype.eachChild=function(t){t(this.input);},le.prototype.possibleOutputs=function(){return[void 0]},le.prototype.serialize=function(){return["image",this.input.serialize()]};var pe={"to-boolean":Dt,"to-color":Ut,"to-number":Ot,"to-string":Lt},ce=function(t,e){this.type=t,this.args=e;};ce.parse=function(t,e){if(t.length<2)return e.error("Expected at least one argument.");var r=t[0];if(("to-boolean"===r||"to-string"===r)&&2!==t.length)return e.error("Expected one argument.");for(var n=pe[r],i=[],a=1;a<t.length;a++){var o=e.parse(t[a],a,jt);if(!o)return null;i.push(o);}return new ce(n,i)},ce.prototype.evaluate=function(t){if("boolean"===this.type.kind)return Boolean(this.args[0].evaluate(t));if("color"===this.type.kind){for(var e,r,n=0,i=this.args;n<i.length;n+=1){if(r=null,(e=i[n].evaluate(t))instanceof Yt)return e;if("string"==typeof e){var a=t.parseColor(e);if(a)return a}else if(Array.isArray(e)&&!(r=e.length<3||e.length>4?"Invalid rbga value "+JSON.stringify(e)+": expected an array containing either three or four numeric values.":ee(e[0],e[1],e[2],e[3])))return new Yt(e[0]/255,e[1]/255,e[2]/255,e[3])}throw new ae(r||"Could not parse color from value '"+("string"==typeof e?e:String(JSON.stringify(e)))+"'")}if("number"===this.type.kind){for(var o=null,s=0,u=this.args;s<u.length;s+=1){if(null===(o=u[s].evaluate(t)))return 0;var l=Number(o);if(!isNaN(l))return l}throw new ae("Could not convert "+JSON.stringify(o)+" to number.")}return "formatted"===this.type.kind?Qt.fromString(ne(this.args[0].evaluate(t))):"resolvedImage"===this.type.kind?te.fromString(ne(this.args[0].evaluate(t))):ne(this.args[0].evaluate(t))},ce.prototype.eachChild=function(t){this.args.forEach(t);},ce.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},ce.prototype.serialize=function(){if("formatted"===this.type.kind)return new ue([{text:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new le(this.args[0]).serialize();var t=["to-"+this.type.kind];return this.eachChild((function(e){t.push(e.serialize());})),t};var he=["Unknown","Point","LineString","Polygon"],fe=function(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null;};fe.prototype.id=function(){return this.feature&&"id"in this.feature?this.feature.id:null},fe.prototype.geometryType=function(){return this.feature?"number"==typeof this.feature.type?he[this.feature.type]:this.feature.type:null},fe.prototype.properties=function(){return this.feature&&this.feature.properties||{}},fe.prototype.parseColor=function(t){var e=this._parseColorCache[t];return e||(e=this._parseColorCache[t]=Yt.parse(t)),e};var ye=function(t,e,r,n){this.name=t,this.type=e,this._evaluate=r,this.args=n;};ye.prototype.evaluate=function(t){return this._evaluate(t,this.args)},ye.prototype.eachChild=function(t){this.args.forEach(t);},ye.prototype.possibleOutputs=function(){return[void 0]},ye.prototype.serialize=function(){return[this.name].concat(this.args.map((function(t){return t.serialize()})))},ye.parse=function(t,e){var r,n=t[0],i=ye.definitions[n];if(!i)return e.error('Unknown expression "'+n+'". If you wanted a literal array, use ["literal", [...]].',0);for(var a=Array.isArray(i)?i[0]:i.type,o=Array.isArray(i)?[[i[1],i[2]]]:i.overloads,s=o.filter((function(e){var r=e[0];return!Array.isArray(r)||r.length===t.length-1})),u=null,l=0,p=s;l<p.length;l+=1){var c=p[l],h=c[0],f=c[1];u=new be(e.registry,e.path,null,e.scope);for(var y=[],d=!1,m=1;m<t.length;m++){var v=t[m],g=Array.isArray(h)?h[m-1]:h.type,x=u.parse(v,1+y.length,g);if(!x){d=!0;break}y.push(x);}if(!d)if(Array.isArray(h)&&h.length!==y.length)u.error("Expected "+h.length+" arguments, but found "+y.length+" instead.");else{for(var b=0;b<y.length;b++){var _=Array.isArray(h)?h[b]:h.type,w=y[b];u.concat(b+1).checkSubtype(_,w.type);}if(0===u.errors.length)return new ye(n,a,f,y)}}if(1===s.length)(r=e.errors).push.apply(r,u.errors);else{for(var A=(s.length?s:o).map((function(t){var e,r=t[0];return e=r,Array.isArray(e)?"("+e.map(Xt).join(", ")+")":"("+Xt(e.type)+"...)"})).join(" | "),k=[],S=1;S<t.length;S++){var I=e.parse(t[S],1+k.length);if(!I)return null;k.push(Xt(I.type));}e.error("Expected arguments of type "+A+", but found ("+k.join(", ")+") instead.");}return null},ye.register=function(t,e){for(var r in ye.definitions=e,e)t[r]=ye;};var de=function(t,e,r){this.type=qt,this.locale=r,this.caseSensitive=t,this.diacriticSensitive=e;};function me(t){if(t instanceof ye){if("get"===t.name&&1===t.args.length)return!1;if("feature-state"===t.name)return!1;if("has"===t.name&&1===t.args.length)return!1;if("properties"===t.name||"geometry-type"===t.name||"id"===t.name)return!1;if(/^filter-/.test(t.name))return!1}var e=!0;return t.eachChild((function(t){e&&!me(t)&&(e=!1);})),e}function ve(t){if(t instanceof ye&&"feature-state"===t.name)return!1;var e=!0;return t.eachChild((function(t){e&&!ve(t)&&(e=!1);})),e}function ge(t,e){if(t instanceof ye&&e.indexOf(t.name)>=0)return!1;var r=!0;return t.eachChild((function(t){r&&!ge(t,e)&&(r=!1);})),r}de.parse=function(t,e){if(2!==t.length)return e.error("Expected one argument.");var r=t[1];if("object"!=typeof r||Array.isArray(r))return e.error("Collator options argument must be an object.");var n=e.parse(void 0!==r["case-sensitive"]&&r["case-sensitive"],1,Dt);if(!n)return null;var i=e.parse(void 0!==r["diacritic-sensitive"]&&r["diacritic-sensitive"],1,Dt);if(!i)return null;var a=null;return r.locale&&!(a=e.parse(r.locale,1,Lt))?null:new de(n,i,a)},de.prototype.evaluate=function(t){return new $t(this.caseSensitive.evaluate(t),this.diacriticSensitive.evaluate(t),this.locale?this.locale.evaluate(t):null)},de.prototype.eachChild=function(t){t(this.caseSensitive),t(this.diacriticSensitive),this.locale&&t(this.locale);},de.prototype.possibleOutputs=function(){return[void 0]},de.prototype.serialize=function(){var t={};return t["case-sensitive"]=this.caseSensitive.serialize(),t["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(t.locale=this.locale.serialize()),["collator",t]};var xe=function(t,e){this.type=e.type,this.name=t,this.boundExpression=e;};xe.parse=function(t,e){if(2!==t.length||"string"!=typeof t[1])return e.error("'var' expression requires exactly one string literal argument.");var r=t[1];return e.scope.has(r)?new xe(r,e.scope.get(r)):e.error('Unknown variable "'+r+'". Make sure "'+r+'" has been bound in an enclosing "let" expression before using it.',1)},xe.prototype.evaluate=function(t){return this.boundExpression.evaluate(t)},xe.prototype.eachChild=function(){},xe.prototype.possibleOutputs=function(){return[void 0]},xe.prototype.serialize=function(){return["var",this.name]};var be=function(t,e,r,n,i){void 0===e&&(e=[]),void 0===n&&(n=new Vt),void 0===i&&(i=[]),this.registry=t,this.path=e,this.key=e.map((function(t){return "["+t+"]"})).join(""),this.scope=n,this.errors=i,this.expectedType=r;};function _e(t,e){for(var r,n,i=t.length-1,a=0,o=i,s=0;a<=o;)if(r=t[s=Math.floor((a+o)/2)],n=t[s+1],r<=e){if(s===i||e<n)return s;a=s+1;}else{if(!(r>e))throw new ae("Input is not a number.");o=s-1;}return 0}be.prototype.parse=function(t,e,r,n,i){return void 0===i&&(i={}),e?this.concat(e,r,n)._parse(t,i):this._parse(t,i)},be.prototype._parse=function(t,e){function r(t,e,r){return "assert"===r?new se(e,[t]):"coerce"===r?new ce(e,[t]):t}if(null!==t&&"string"!=typeof t&&"boolean"!=typeof t&&"number"!=typeof t||(t=["literal",t]),Array.isArray(t)){if(0===t.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');var n=t[0];if("string"!=typeof n)return this.error("Expression name must be a string, but found "+typeof n+' instead. If you wanted a literal array, use ["literal", [...]].',0),null;var i=this.registry[n];if(i){var a=i.parse(t,this);if(!a)return null;if(this.expectedType){var o=this.expectedType,s=a.type;if("string"!==o.kind&&"number"!==o.kind&&"boolean"!==o.kind&&"object"!==o.kind&&"array"!==o.kind||"value"!==s.kind)if("color"!==o.kind&&"formatted"!==o.kind&&"resolvedImage"!==o.kind||"value"!==s.kind&&"string"!==s.kind){if(this.checkSubtype(o,s))return null}else a=r(a,o,e.typeAnnotation||"coerce");else a=r(a,o,e.typeAnnotation||"assert");}if(!(a instanceof ie)&&"resolvedImage"!==a.type.kind&&function t(e){if(e instanceof xe)return t(e.boundExpression);if(e instanceof ye&&"error"===e.name)return!1;if(e instanceof de)return!1;var r=e instanceof ce||e instanceof se;var n=!0;e.eachChild((function(e){n=r?n&&t(e):n&&e instanceof ie;}));if(!n)return!1;return me(e)&&ge(e,["zoom","heatmap-density","line-progress","accumulated","is-supported-script"])}(a)){var u=new fe;try{a=new ie(a.type,a.evaluate(u));}catch(t){return this.error(t.message),null}}return a}return this.error('Unknown expression "'+n+'". If you wanted a literal array, use ["literal", [...]].',0)}return void 0===t?this.error("'undefined' value invalid. Use null instead."):"object"==typeof t?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error("Expected an array, but found "+typeof t+" instead.")},be.prototype.concat=function(t,e,r){var n="number"==typeof t?this.path.concat(t):this.path,i=r?this.scope.concat(r):this.scope;return new be(this.registry,n,e||null,i,this.errors)},be.prototype.error=function(t){for(var e=[],r=arguments.length-1;r-->0;)e[r]=arguments[r+1];var n=""+this.key+e.map((function(t){return "["+t+"]"})).join("");this.errors.push(new Tt(n,t));},be.prototype.checkSubtype=function(t,e){var r=Jt(t,e);return r&&this.error(r),r};var we=function(t,e,r){this.type=t,this.input=e,this.labels=[],this.outputs=[];for(var n=0,i=r;n<i.length;n+=1){var a=i[n],o=a[0],s=a[1];this.labels.push(o),this.outputs.push(s);}};function Ae(t,e,r){return t*(1-r)+e*r}we.parse=function(t,e){if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");var r=e.parse(t[1],1,Ot);if(!r)return null;var n=[],i=null;e.expectedType&&"value"!==e.expectedType.kind&&(i=e.expectedType);for(var a=1;a<t.length;a+=2){var o=1===a?-1/0:t[a],s=t[a+1],u=a,l=a+1;if("number"!=typeof o)return e.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',u);if(n.length&&n[n.length-1][0]>=o)return e.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',u);var p=e.parse(s,l,i);if(!p)return null;i=i||p.type,n.push([o,p]);}return new we(i,r,n)},we.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var n=this.input.evaluate(t);if(n<=e[0])return r[0].evaluate(t);var i=e.length;return n>=e[i-1]?r[i-1].evaluate(t):r[_e(e,n)].evaluate(t)},we.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1){t(r[e]);}},we.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()})))},we.prototype.serialize=function(){for(var t=["step",this.input.serialize()],e=0;e<this.labels.length;e++)e>0&&t.push(this.labels[e]),t.push(this.outputs[e].serialize());return t};var ke=Object.freeze({__proto__:null,number:Ae,color:function(t,e,r){return new Yt(Ae(t.r,e.r,r),Ae(t.g,e.g,r),Ae(t.b,e.b,r),Ae(t.a,e.a,r))},array:function(t,e,r){return t.map((function(t,n){return Ae(t,e[n],r)}))}}),Se=.95047,Ie=1,ze=1.08883,Ce=4/29,Be=6/29,Pe=3*Be*Be,Ee=Be*Be*Be,Me=Math.PI/180,Te=180/Math.PI;function Ve(t){return t>Ee?Math.pow(t,1/3):t/Pe+Ce}function Fe(t){return t>Be?t*t*t:Pe*(t-Ce)}function Oe(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function Le(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function De(t){var e=Le(t.r),r=Le(t.g),n=Le(t.b),i=Ve((.4124564*e+.3575761*r+.1804375*n)/Se),a=Ve((.2126729*e+.7151522*r+.072175*n)/Ie);return{l:116*a-16,a:500*(i-a),b:200*(a-Ve((.0193339*e+.119192*r+.9503041*n)/ze)),alpha:t.a}}function Ue(t){var e=(t.l+16)/116,r=isNaN(t.a)?e:e+t.a/500,n=isNaN(t.b)?e:e-t.b/200;return e=Ie*Fe(e),r=Se*Fe(r),n=ze*Fe(n),new Yt(Oe(3.2404542*r-1.5371385*e-.4985314*n),Oe(-.969266*r+1.8760108*e+.041556*n),Oe(.0556434*r-.2040259*e+1.0572252*n),t.alpha)}function Re(t,e,r){var n=e-t;return t+r*(n>180||n<-180?n-360*Math.round(n/360):n)}var je={forward:De,reverse:Ue,interpolate:function(t,e,r){return{l:Ae(t.l,e.l,r),a:Ae(t.a,e.a,r),b:Ae(t.b,e.b,r),alpha:Ae(t.alpha,e.alpha,r)}}},qe={forward:function(t){var e=De(t),r=e.l,n=e.a,i=e.b,a=Math.atan2(i,n)*Te;return{h:a<0?a+360:a,c:Math.sqrt(n*n+i*i),l:r,alpha:t.a}},reverse:function(t){var e=t.h*Me,r=t.c;return Ue({l:t.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:t.alpha})},interpolate:function(t,e,r){return{h:Re(t.h,e.h,r),c:Ae(t.c,e.c,r),l:Ae(t.l,e.l,r),alpha:Ae(t.alpha,e.alpha,r)}}},Ne=Object.freeze({__proto__:null,lab:je,hcl:qe}),Ke=function(t,e,r,n,i){this.type=t,this.operator=e,this.interpolation=r,this.input=n,this.labels=[],this.outputs=[];for(var a=0,o=i;a<o.length;a+=1){var s=o[a],u=s[0],l=s[1];this.labels.push(u),this.outputs.push(l);}};function Ze(t,e,r,n){var i=n-r,a=t-r;return 0===i?0:1===e?a/i:(Math.pow(e,a)-1)/(Math.pow(e,i)-1)}Ke.interpolationFactor=function(t,e,n,i){var a=0;if("exponential"===t.name)a=Ze(e,t.base,n,i);else if("linear"===t.name)a=Ze(e,1,n,i);else if("cubic-bezier"===t.name){var o=t.controlPoints;a=new r(o[0],o[1],o[2],o[3]).solve(Ze(e,1,n,i));}return a},Ke.parse=function(t,e){var r=t[0],n=t[1],i=t[2],a=t.slice(3);if(!Array.isArray(n)||0===n.length)return e.error("Expected an interpolation type expression.",1);if("linear"===n[0])n={name:"linear"};else if("exponential"===n[0]){var o=n[1];if("number"!=typeof o)return e.error("Exponential interpolation requires a numeric base.",1,1);n={name:"exponential",base:o};}else{if("cubic-bezier"!==n[0])return e.error("Unknown interpolation type "+String(n[0]),1,0);var s=n.slice(1);if(4!==s.length||s.some((function(t){return "number"!=typeof t||t<0||t>1})))return e.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);n={name:"cubic-bezier",controlPoints:s};}if(t.length-1<4)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if((t.length-1)%2!=0)return e.error("Expected an even number of arguments.");if(!(i=e.parse(i,2,Ot)))return null;var u=[],l=null;"interpolate-hcl"===r||"interpolate-lab"===r?l=Ut:e.expectedType&&"value"!==e.expectedType.kind&&(l=e.expectedType);for(var p=0;p<a.length;p+=2){var c=a[p],h=a[p+1],f=p+3,y=p+4;if("number"!=typeof c)return e.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',f);if(u.length&&u[u.length-1][0]>=c)return e.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',f);var d=e.parse(h,y,l);if(!d)return null;l=l||d.type,u.push([c,d]);}return "number"===l.kind||"color"===l.kind||"array"===l.kind&&"number"===l.itemType.kind&&"number"==typeof l.N?new Ke(l,r,n,i,u):e.error("Type "+Xt(l)+" is not interpolatable.")},Ke.prototype.evaluate=function(t){var e=this.labels,r=this.outputs;if(1===e.length)return r[0].evaluate(t);var n=this.input.evaluate(t);if(n<=e[0])return r[0].evaluate(t);var i=e.length;if(n>=e[i-1])return r[i-1].evaluate(t);var a=_e(e,n),o=e[a],s=e[a+1],u=Ke.interpolationFactor(this.interpolation,n,o,s),l=r[a].evaluate(t),p=r[a+1].evaluate(t);return "interpolate"===this.operator?ke[this.type.kind.toLowerCase()](l,p,u):"interpolate-hcl"===this.operator?qe.reverse(qe.interpolate(qe.forward(l),qe.forward(p),u)):je.reverse(je.interpolate(je.forward(l),je.forward(p),u))},Ke.prototype.eachChild=function(t){t(this.input);for(var e=0,r=this.outputs;e<r.length;e+=1){t(r[e]);}},Ke.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()})))},Ke.prototype.serialize=function(){var t;t="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);for(var e=[this.operator,t,this.input.serialize()],r=0;r<this.labels.length;r++)e.push(this.labels[r],this.outputs[r].serialize());return e};var Xe=function(t,e){this.type=t,this.args=e;};Xe.parse=function(t,e){if(t.length<2)return e.error("Expectected at least one argument.");var r=null,n=e.expectedType;n&&"value"!==n.kind&&(r=n);for(var i=[],a=0,o=t.slice(1);a<o.length;a+=1){var s=o[a],u=e.parse(s,1+i.length,r,void 0,{typeAnnotation:"omit"});if(!u)return null;r=r||u.type,i.push(u);}var l=n&&i.some((function(t){return Jt(n,t.type)}));return new Xe(l?jt:r,i)},Xe.prototype.evaluate=function(t){for(var e,r=null,n=0,i=0,a=this.args;i<a.length;i+=1){var o=a[i];if(n++,r=o.evaluate(t),"resolvedImage"!==o.type.kind||r.available||(e||(e=o.evaluate(t).name),r=null,n===this.args.length&&(r=e)),null!==r)break}return r},Xe.prototype.eachChild=function(t){this.args.forEach(t);},Xe.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.args.map((function(t){return t.possibleOutputs()})))},Xe.prototype.serialize=function(){var t=["coalesce"];return this.eachChild((function(e){t.push(e.serialize());})),t};var Ge=function(t,e){this.type=e.type,this.bindings=[].concat(t),this.result=e;};Ge.prototype.evaluate=function(t){return this.result.evaluate(t)},Ge.prototype.eachChild=function(t){for(var e=0,r=this.bindings;e<r.length;e+=1){t(r[e][1]);}t(this.result);},Ge.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found "+(t.length-1)+" instead.");for(var r=[],n=1;n<t.length-1;n+=2){var i=t[n];if("string"!=typeof i)return e.error("Expected string, but found "+typeof i+" instead.",n);if(/[^a-zA-Z0-9_]/.test(i))return e.error("Variable names must contain only alphanumeric characters or '_'.",n);var a=e.parse(t[n+1],n+1);if(!a)return null;r.push([i,a]);}var o=e.parse(t[t.length-1],t.length-1,e.expectedType,r);return o?new Ge(r,o):null},Ge.prototype.possibleOutputs=function(){return this.result.possibleOutputs()},Ge.prototype.serialize=function(){for(var t=["let"],e=0,r=this.bindings;e<r.length;e+=1){var n=r[e],i=n[0],a=n[1];t.push(i,a.serialize());}return t.push(this.result.serialize()),t};var Je=function(t,e,r){this.type=t,this.index=e,this.input=r;};Je.parse=function(t,e){if(3!==t.length)return e.error("Expected 2 arguments, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1,Ot),n=e.parse(t[2],2,Zt(e.expectedType||jt));if(!r||!n)return null;var i=n.type;return new Je(i.itemType,r,n)},Je.prototype.evaluate=function(t){var e=this.index.evaluate(t),r=this.input.evaluate(t);if(e<0)throw new ae("Array index out of bounds: "+e+" < 0.");if(e>=r.length)throw new ae("Array index out of bounds: "+e+" > "+(r.length-1)+".");if(e!==Math.floor(e))throw new ae("Array index must be an integer, but found "+e+" instead.");return r[e]},Je.prototype.eachChild=function(t){t(this.index),t(this.input);},Je.prototype.possibleOutputs=function(){return[void 0]},Je.prototype.serialize=function(){return["at",this.index.serialize(),this.input.serialize()]};var He=function(t,e,r,n,i,a){this.inputType=t,this.type=e,this.input=r,this.cases=n,this.outputs=i,this.otherwise=a;};He.parse=function(t,e){if(t.length<5)return e.error("Expected at least 4 arguments, but found only "+(t.length-1)+".");if(t.length%2!=1)return e.error("Expected an even number of arguments.");var r,n;e.expectedType&&"value"!==e.expectedType.kind&&(n=e.expectedType);for(var i={},a=[],o=2;o<t.length-1;o+=2){var s=t[o],u=t[o+1];Array.isArray(s)||(s=[s]);var l=e.concat(o);if(0===s.length)return l.error("Expected at least one branch label.");for(var p=0,c=s;p<c.length;p+=1){var h=c[p];if("number"!=typeof h&&"string"!=typeof h)return l.error("Branch labels must be numbers or strings.");if("number"==typeof h&&Math.abs(h)>Number.MAX_SAFE_INTEGER)return l.error("Branch labels must be integers no larger than "+Number.MAX_SAFE_INTEGER+".");if("number"==typeof h&&Math.floor(h)!==h)return l.error("Numeric branch labels must be integer values.");if(r){if(l.checkSubtype(r,re(h)))return null}else r=re(h);if(void 0!==i[String(h)])return l.error("Branch labels must be unique.");i[String(h)]=a.length;}var f=e.parse(u,o,n);if(!f)return null;n=n||f.type,a.push(f);}var y=e.parse(t[1],1,jt);if(!y)return null;var d=e.parse(t[t.length-1],t.length-1,n);return d?"value"!==y.type.kind&&e.concat(1).checkSubtype(r,y.type)?null:new He(r,n,y,i,a,d):null},He.prototype.evaluate=function(t){var e=this.input.evaluate(t);return(re(e)===this.inputType&&this.outputs[this.cases[e]]||this.otherwise).evaluate(t)},He.prototype.eachChild=function(t){t(this.input),this.outputs.forEach(t),t(this.otherwise);},He.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.outputs.map((function(t){return t.possibleOutputs()}))).concat(this.otherwise.possibleOutputs())},He.prototype.serialize=function(){for(var t=this,e=["match",this.input.serialize()],r=[],n={},i=0,a=Object.keys(this.cases).sort();i<a.length;i+=1){var o=a[i];void 0===(c=n[this.cases[o]])?(n[this.cases[o]]=r.length,r.push([this.cases[o],[o]])):r[c][1].push(o);}for(var s=function(e){return "number"===t.inputType.kind?Number(e):e},u=0,l=r;u<l.length;u+=1){var p=l[u],c=p[0],h=p[1];1===h.length?e.push(s(h[0])):e.push(h.map(s)),e.push(this.outputs[outputIndex$1].serialize());}return e.push(this.otherwise.serialize()),e};var Ye=function(t,e,r){this.type=t,this.branches=e,this.otherwise=r;};function $e(t,e){return "=="===t||"!="===t?"boolean"===e.kind||"string"===e.kind||"number"===e.kind||"null"===e.kind||"value"===e.kind:"string"===e.kind||"number"===e.kind||"value"===e.kind}function We(t,e,r,n){return 0===n.compare(e,r)}function Qe(t,e,r){var n="=="!==t&&"!="!==t;return function(){function i(t,e,r){this.type=Dt,this.lhs=t,this.rhs=e,this.collator=r,this.hasUntypedArgument="value"===t.type.kind||"value"===e.type.kind;}return i.parse=function(t,e){if(3!==t.length&&4!==t.length)return e.error("Expected two or three arguments.");var r=t[0],a=e.parse(t[1],1,jt);if(!a)return null;if(!$e(r,a.type))return e.concat(1).error('"'+r+"\" comparisons are not supported for type '"+Xt(a.type)+"'.");var o=e.parse(t[2],2,jt);if(!o)return null;if(!$e(r,o.type))return e.concat(2).error('"'+r+"\" comparisons are not supported for type '"+Xt(o.type)+"'.");if(a.type.kind!==o.type.kind&&"value"!==a.type.kind&&"value"!==o.type.kind)return e.error("Cannot compare types '"+Xt(a.type)+"' and '"+Xt(o.type)+"'.");n&&("value"===a.type.kind&&"value"!==o.type.kind?a=new se(o.type,[a]):"value"!==a.type.kind&&"value"===o.type.kind&&(o=new se(a.type,[o])));var s=null;if(4===t.length){if("string"!==a.type.kind&&"string"!==o.type.kind&&"value"!==a.type.kind&&"value"!==o.type.kind)return e.error("Cannot use collator to compare non-string types.");if(!(s=e.parse(t[3],3,qt)))return null}return new i(a,o,s)},i.prototype.evaluate=function(i){var a=this.lhs.evaluate(i),o=this.rhs.evaluate(i);if(n&&this.hasUntypedArgument){var s=re(a),u=re(o);if(s.kind!==u.kind||"string"!==s.kind&&"number"!==s.kind)throw new ae('Expected arguments for "'+t+'" to be (string, string) or (number, number), but found ('+s.kind+", "+u.kind+") instead.")}if(this.collator&&!n&&this.hasUntypedArgument){var l=re(a),p=re(o);if("string"!==l.kind||"string"!==p.kind)return e(i,a,o)}return this.collator?r(i,a,o,this.collator.evaluate(i)):e(i,a,o)},i.prototype.eachChild=function(t){t(this.lhs),t(this.rhs),this.collator&&t(this.collator);},i.prototype.possibleOutputs=function(){return[!0,!1]},i.prototype.serialize=function(){var e=[t];return this.eachChild((function(t){e.push(t.serialize());})),e},i}()}Ye.parse=function(t,e){if(t.length<4)return e.error("Expected at least 3 arguments, but found only "+(t.length-1)+".");if(t.length%2!=0)return e.error("Expected an odd number of arguments.");var r;e.expectedType&&"value"!==e.expectedType.kind&&(r=e.expectedType);for(var n=[],i=1;i<t.length-1;i+=2){var a=e.parse(t[i],i,Dt);if(!a)return null;var o=e.parse(t[i+1],i+1,r);if(!o)return null;n.push([a,o]),r=r||o.type;}var s=e.parse(t[t.length-1],t.length-1,r);return s?new Ye(r,n,s):null},Ye.prototype.evaluate=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var n=r[e],i=n[0],a=n[1];if(i.evaluate(t))return a.evaluate(t)}return this.otherwise.evaluate(t)},Ye.prototype.eachChild=function(t){for(var e=0,r=this.branches;e<r.length;e+=1){var n=r[e],i=n[0],a=n[1];t(i),t(a);}t(this.otherwise);},Ye.prototype.possibleOutputs=function(){var t;return(t=[]).concat.apply(t,this.branches.map((function(t){t[0];return t[1].possibleOutputs()}))).concat(this.otherwise.possibleOutputs())},Ye.prototype.serialize=function(){var t=["case"];return this.eachChild((function(e){t.push(e.serialize());})),t};var tr=Qe("==",(function(t,e,r){return e===r}),We),er=Qe("!=",(function(t,e,r){return e!==r}),(function(t,e,r,n){return!We(0,e,r,n)})),rr=Qe("<",(function(t,e,r){return e<r}),(function(t,e,r,n){return n.compare(e,r)<0})),nr=Qe(">",(function(t,e,r){return e>r}),(function(t,e,r,n){return n.compare(e,r)>0})),ir=Qe("<=",(function(t,e,r){return e<=r}),(function(t,e,r,n){return n.compare(e,r)<=0})),ar=Qe(">=",(function(t,e,r){return e>=r}),(function(t,e,r,n){return n.compare(e,r)>=0})),or=function(t,e,r,n,i){this.type=Lt,this.number=t,this.locale=e,this.currency=r,this.minFractionDigits=n,this.maxFractionDigits=i;};or.parse=function(t,e){if(3!==t.length)return e.error("Expected two arguments.");var r=e.parse(t[1],1,Ot);if(!r)return null;var n=t[2];if("object"!=typeof n||Array.isArray(n))return e.error("NumberFormat options argument must be an object.");var i=null;if(n.locale&&!(i=e.parse(n.locale,1,Lt)))return null;var a=null;if(n.currency&&!(a=e.parse(n.currency,1,Lt)))return null;var o=null;if(n["min-fraction-digits"]&&!(o=e.parse(n["min-fraction-digits"],1,Ot)))return null;var s=null;return n["max-fraction-digits"]&&!(s=e.parse(n["max-fraction-digits"],1,Ot))?null:new or(r,i,a,o,s)},or.prototype.evaluate=function(t){return new Intl.NumberFormat(this.locale?this.locale.evaluate(t):[],{style:this.currency?"currency":"decimal",currency:this.currency?this.currency.evaluate(t):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(t):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(t):void 0}).format(this.number.evaluate(t))},or.prototype.eachChild=function(t){t(this.number),this.locale&&t(this.locale),this.currency&&t(this.currency),this.minFractionDigits&&t(this.minFractionDigits),this.maxFractionDigits&&t(this.maxFractionDigits);},or.prototype.possibleOutputs=function(){return[void 0]},or.prototype.serialize=function(){var t={};return this.locale&&(t.locale=this.locale.serialize()),this.currency&&(t.currency=this.currency.serialize()),this.minFractionDigits&&(t["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(t["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),t]};var sr=function(t){this.type=Ot,this.input=t;};sr.parse=function(t,e){if(2!==t.length)return e.error("Expected 1 argument, but found "+(t.length-1)+" instead.");var r=e.parse(t[1],1);return r?"array"!==r.type.kind&&"string"!==r.type.kind&&"value"!==r.type.kind?e.error("Expected argument of type string or array, but found "+Xt(r.type)+" instead."):new sr(r):null},sr.prototype.evaluate=function(t){var e=this.input.evaluate(t);if("string"==typeof e)return e.length;if(Array.isArray(e))return e.length;throw new ae("Expected value to be of type string or array, but found "+Xt(re(e))+" instead.")},sr.prototype.eachChild=function(t){t(this.input);},sr.prototype.possibleOutputs=function(){return[void 0]},sr.prototype.serialize=function(){var t=["length"];return this.eachChild((function(e){t.push(e.serialize());})),t};var ur={"==":tr,"!=":er,">":nr,"<":rr,">=":ar,"<=":ir,array:se,at:Je,boolean:se,case:Ye,coalesce:Xe,collator:de,format:ue,image:le,interpolate:Ke,"interpolate-hcl":Ke,"interpolate-lab":Ke,length:sr,let:Ge,literal:ie,match:He,number:se,"number-format":or,object:se,step:we,string:se,"to-boolean":ce,"to-color":ce,"to-number":ce,"to-string":ce,var:xe};function lr(t,e){var r=e[0],n=e[1],i=e[2],a=e[3];r=r.evaluate(t),n=n.evaluate(t),i=i.evaluate(t);var o=a?a.evaluate(t):1,s=ee(r,n,i,o);if(s)throw new ae(s);return new Yt(r/255*o,n/255*o,i/255*o,o)}function pr(t,e){return t in e}function cr(t,e){var r=e[t];return void 0===r?null:r}function hr(t){return{type:t}}function fr(t){return{result:"success",value:t}}function yr(t){return{result:"error",value:t}}function dr(t){return "data-driven"===t["property-type"]||"cross-faded-data-driven"===t["property-type"]}function mr(t){return!!t.expression&&t.expression.parameters.indexOf("zoom")>-1}function vr(t){return!!t.expression&&t.expression.interpolated}function gr(t){return t instanceof Number?"number":t instanceof String?"string":t instanceof Boolean?"boolean":Array.isArray(t)?"array":null===t?"null":typeof t}function xr(t){return "object"==typeof t&&null!==t&&!Array.isArray(t)}function br(t){return t}function _r(t,e,r){return void 0!==t?t:void 0!==e?e:void 0!==r?r:void 0}function wr(t,e,r,n,i){return _r(typeof r===i?n[r]:void 0,t.default,e.default)}function Ar(t,e,r){if("number"!==gr(r))return _r(t.default,e.default);var n=t.stops.length;if(1===n)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[n-1][0])return t.stops[n-1][1];var i=_e(t.stops.map((function(t){return t[0]})),r);return t.stops[i][1]}function kr(t,e,r){var n=void 0!==t.base?t.base:1;if("number"!==gr(r))return _r(t.default,e.default);var i=t.stops.length;if(1===i)return t.stops[0][1];if(r<=t.stops[0][0])return t.stops[0][1];if(r>=t.stops[i-1][0])return t.stops[i-1][1];var a=_e(t.stops.map((function(t){return t[0]})),r),o=function(t,e,r,n){var i=n-r,a=t-r;return 0===i?0:1===e?a/i:(Math.pow(e,a)-1)/(Math.pow(e,i)-1)}(r,n,t.stops[a][0],t.stops[a+1][0]),s=t.stops[a][1],u=t.stops[a+1][1],l=ke[e.type]||br;if(t.colorSpace&&"rgb"!==t.colorSpace){var p=Ne[t.colorSpace];l=function(t,e){return p.reverse(p.interpolate(p.forward(t),p.forward(e),o))};}return "function"==typeof s.evaluate?{evaluate:function(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var r=s.evaluate.apply(void 0,t),n=u.evaluate.apply(void 0,t);if(void 0!==r&&void 0!==n)return l(r,n,o)}}:l(s,u,o)}function Sr(t,e,r){return "color"===e.type?r=Yt.parse(r):"formatted"===e.type?r=Qt.fromString(r.toString()):"resolvedImage"===e.type?r=te.fromString(r.toString()):gr(r)===e.type||"enum"===e.type&&e.values[r]||(r=void 0),_r(r,t.default,e.default)}ye.register(ur,{error:[{kind:"error"},[Lt],function(t,e){var r=e[0];throw new ae(r.evaluate(t))}],typeof:[Lt,[jt],function(t,e){return Xt(re(e[0].evaluate(t)))}],"to-rgba":[Zt(Ot,4),[Ut],function(t,e){return e[0].evaluate(t).toArray()}],rgb:[Ut,[Ot,Ot,Ot],lr],rgba:[Ut,[Ot,Ot,Ot,Ot],lr],has:{type:Dt,overloads:[[[Lt],function(t,e){return pr(e[0].evaluate(t),t.properties())}],[[Lt,Rt],function(t,e){var r=e[0],n=e[1];return pr(r.evaluate(t),n.evaluate(t))}]]},get:{type:jt,overloads:[[[Lt],function(t,e){return cr(e[0].evaluate(t),t.properties())}],[[Lt,Rt],function(t,e){var r=e[0],n=e[1];return cr(r.evaluate(t),n.evaluate(t))}]]},"feature-state":[jt,[Lt],function(t,e){return cr(e[0].evaluate(t),t.featureState||{})}],properties:[Rt,[],function(t){return t.properties()}],"geometry-type":[Lt,[],function(t){return t.geometryType()}],id:[jt,[],function(t){return t.id()}],zoom:[Ot,[],function(t){return t.globals.zoom}],"heatmap-density":[Ot,[],function(t){return t.globals.heatmapDensity||0}],"line-progress":[Ot,[],function(t){return t.globals.lineProgress||0}],accumulated:[jt,[],function(t){return void 0===t.globals.accumulated?null:t.globals.accumulated}],"+":[Ot,hr(Ot),function(t,e){for(var r=0,n=0,i=e;n<i.length;n+=1){r+=i[n].evaluate(t);}return r}],"*":[Ot,hr(Ot),function(t,e){for(var r=1,n=0,i=e;n<i.length;n+=1){r*=i[n].evaluate(t);}return r}],"-":{type:Ot,overloads:[[[Ot,Ot],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)-n.evaluate(t)}],[[Ot],function(t,e){return-e[0].evaluate(t)}]]},"/":[Ot,[Ot,Ot],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)/n.evaluate(t)}],"%":[Ot,[Ot,Ot],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)%n.evaluate(t)}],ln2:[Ot,[],function(){return Math.LN2}],pi:[Ot,[],function(){return Math.PI}],e:[Ot,[],function(){return Math.E}],"^":[Ot,[Ot,Ot],function(t,e){var r=e[0],n=e[1];return Math.pow(r.evaluate(t),n.evaluate(t))}],sqrt:[Ot,[Ot],function(t,e){var r=e[0];return Math.sqrt(r.evaluate(t))}],log10:[Ot,[Ot],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN10}],ln:[Ot,[Ot],function(t,e){var r=e[0];return Math.log(r.evaluate(t))}],log2:[Ot,[Ot],function(t,e){var r=e[0];return Math.log(r.evaluate(t))/Math.LN2}],sin:[Ot,[Ot],function(t,e){var r=e[0];return Math.sin(r.evaluate(t))}],cos:[Ot,[Ot],function(t,e){var r=e[0];return Math.cos(r.evaluate(t))}],tan:[Ot,[Ot],function(t,e){var r=e[0];return Math.tan(r.evaluate(t))}],asin:[Ot,[Ot],function(t,e){var r=e[0];return Math.asin(r.evaluate(t))}],acos:[Ot,[Ot],function(t,e){var r=e[0];return Math.acos(r.evaluate(t))}],atan:[Ot,[Ot],function(t,e){var r=e[0];return Math.atan(r.evaluate(t))}],min:[Ot,hr(Ot),function(t,e){return Math.min.apply(Math,e.map((function(e){return e.evaluate(t)})))}],max:[Ot,hr(Ot),function(t,e){return Math.max.apply(Math,e.map((function(e){return e.evaluate(t)})))}],abs:[Ot,[Ot],function(t,e){var r=e[0];return Math.abs(r.evaluate(t))}],round:[Ot,[Ot],function(t,e){var r=e[0].evaluate(t);return r<0?-Math.round(-r):Math.round(r)}],floor:[Ot,[Ot],function(t,e){var r=e[0];return Math.floor(r.evaluate(t))}],ceil:[Ot,[Ot],function(t,e){var r=e[0];return Math.ceil(r.evaluate(t))}],"filter-==":[Dt,[Lt,jt],function(t,e){var r=e[0],n=e[1];return t.properties()[r.value]===n.value}],"filter-id-==":[Dt,[jt],function(t,e){var r=e[0];return t.id()===r.value}],"filter-type-==":[Dt,[Lt],function(t,e){var r=e[0];return t.geometryType()===r.value}],"filter-<":[Dt,[Lt,jt],function(t,e){var r=e[0],n=e[1],i=t.properties()[r.value],a=n.value;return typeof i==typeof a&&i<a}],"filter-id-<":[Dt,[jt],function(t,e){var r=e[0],n=t.id(),i=r.value;return typeof n==typeof i&&n<i}],"filter->":[Dt,[Lt,jt],function(t,e){var r=e[0],n=e[1],i=t.properties()[r.value],a=n.value;return typeof i==typeof a&&i>a}],"filter-id->":[Dt,[jt],function(t,e){var r=e[0],n=t.id(),i=r.value;return typeof n==typeof i&&n>i}],"filter-<=":[Dt,[Lt,jt],function(t,e){var r=e[0],n=e[1],i=t.properties()[r.value],a=n.value;return typeof i==typeof a&&i<=a}],"filter-id-<=":[Dt,[jt],function(t,e){var r=e[0],n=t.id(),i=r.value;return typeof n==typeof i&&n<=i}],"filter->=":[Dt,[Lt,jt],function(t,e){var r=e[0],n=e[1],i=t.properties()[r.value],a=n.value;return typeof i==typeof a&&i>=a}],"filter-id->=":[Dt,[jt],function(t,e){var r=e[0],n=t.id(),i=r.value;return typeof n==typeof i&&n>=i}],"filter-has":[Dt,[jt],function(t,e){return e[0].value in t.properties()}],"filter-has-id":[Dt,[],function(t){return null!==t.id()}],"filter-type-in":[Dt,[Zt(Lt)],function(t,e){return e[0].value.indexOf(t.geometryType())>=0}],"filter-id-in":[Dt,[Zt(jt)],function(t,e){return e[0].value.indexOf(t.id())>=0}],"filter-in-small":[Dt,[Lt,Zt(jt)],function(t,e){var r=e[0];return e[1].value.indexOf(t.properties()[r.value])>=0}],"filter-in-large":[Dt,[Lt,Zt(jt)],function(t,e){var r=e[0],n=e[1];return function(t,e,r,n){for(;r<=n;){var i=r+n>>1;if(e[i]===t)return!0;e[i]>t?n=i-1:r=i+1;}return!1}(t.properties()[r.value],n.value,0,n.value.length-1)}],all:{type:Dt,overloads:[[[Dt,Dt],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)&&n.evaluate(t)}],[hr(Dt),function(t,e){for(var r=0,n=e;r<n.length;r+=1){if(!n[r].evaluate(t))return!1}return!0}]]},any:{type:Dt,overloads:[[[Dt,Dt],function(t,e){var r=e[0],n=e[1];return r.evaluate(t)||n.evaluate(t)}],[hr(Dt),function(t,e){for(var r=0,n=e;r<n.length;r+=1){if(n[r].evaluate(t))return!0}return!1}]]},"!":[Dt,[Dt],function(t,e){return!e[0].evaluate(t)}],"is-supported-script":[Dt,[Lt],function(t,e){var r=e[0],n=t.globals&&t.globals.isSupportedScript;return!n||n(r.evaluate(t))}],upcase:[Lt,[Lt],function(t,e){return e[0].evaluate(t).toUpperCase()}],downcase:[Lt,[Lt],function(t,e){return e[0].evaluate(t).toLowerCase()}],concat:[Lt,hr(jt),function(t,e){return e.map((function(e){return ne(e.evaluate(t))})).join("")}],"resolved-locale":[Lt,[qt],function(t,e){return e[0].evaluate(t).resolvedLocale()}]});var Ir=function(t,e){this.expression=t,this._warningHistory={},this._evaluator=new fe,this._defaultValue=e?function(t){return "color"===t.type&&xr(t.default)?new Yt(0,0,0,0):"color"===t.type?Yt.parse(t.default)||null:void 0===t.default?null:t.default}(e):null,this._enumValues=e&&"enum"===e.type?e.values:null;};function zr(t){return Array.isArray(t)&&t.length>0&&"string"==typeof t[0]&&t[0]in ur}function Cr(t,e){var r=new be(ur,[],e?function(t){var e={color:Ut,string:Lt,number:Ot,enum:Lt,boolean:Dt,formatted:Nt,resolvedImage:Kt};if("array"===t.type)return Zt(e[t.value]||jt,t.length);return e[t.type]}(e):void 0),n=r.parse(t,void 0,void 0,void 0,e&&"string"===e.type?{typeAnnotation:"coerce"}:void 0);return n?fr(new Ir(n,e)):yr(r.errors)}Ir.prototype.evaluateWithoutErrorHandling=function(t,e,r,n,i){return this._evaluator.globals=t,this._evaluator.feature=e,this._evaluator.featureState=r,this._evaluator.availableImages=n||null,this._evaluator.formattedSection=i,this.expression.evaluate(this._evaluator)},Ir.prototype.evaluate=function(t,e,r,n,i){this._evaluator.globals=t,this._evaluator.feature=e||null,this._evaluator.featureState=r||null,this._evaluator.availableImages=n||null,this._evaluator.formattedSection=i||null;try{var a=this.expression.evaluate(this._evaluator);if(null==a)return this._defaultValue;if(this._enumValues&&!(a in this._enumValues))throw new ae("Expected value to be one of "+Object.keys(this._enumValues).map((function(t){return JSON.stringify(t)})).join(", ")+", but found "+JSON.stringify(a)+" instead.");return a}catch(t){return this._warningHistory[t.message]||(this._warningHistory[t.message]=!0,"undefined"!=typeof console&&console.warn(t.message)),this._defaultValue}};var Br=function(t,e){this.kind=t,this._styleExpression=e,this.isStateDependent="constant"!==t&&!ve(e.expression);};Br.prototype.evaluateWithoutErrorHandling=function(t,e,r,n,i){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,n,i)},Br.prototype.evaluate=function(t,e,r,n,i){return this._styleExpression.evaluate(t,e,r,n,i)};var Pr=function(t,e,r,n){this.kind=t,this.zoomStops=r,this._styleExpression=e,this.isStateDependent="camera"!==t&&!ve(e.expression),this.interpolationType=n;};function Er(t,e){if("error"===(t=Cr(t,e)).result)return t;var r=t.value.expression,n=me(r);if(!n&&!dr(e))return yr([new Tt("","data expressions not supported")]);var i=ge(r,["zoom"]);if(!i&&!mr(e))return yr([new Tt("","zoom expressions not supported")]);var a=function t(e){var r=null;if(e instanceof Ge)r=t(e.result);else if(e instanceof Xe)for(var n=0,i=e.args;n<i.length;n+=1){var a=i[n];if(r=t(a))break}else(e instanceof we||e instanceof Ke)&&e.input instanceof ye&&"zoom"===e.input.name&&(r=e);if(r instanceof Tt)return r;e.eachChild((function(e){var n=t(e);n instanceof Tt?r=n:!r&&n?r=new Tt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):r&&n&&r!==n&&(r=new Tt("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'));}));return r}(r);if(!a&&!i)return yr([new Tt("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(a instanceof Tt)return yr([a]);if(a instanceof Ke&&!vr(e))return yr([new Tt("",'"interpolate" expressions cannot be used with this property')]);if(!a)return fr(new Br(n?"constant":"source",t.value));var o=a instanceof Ke?a.interpolation:void 0;return fr(new Pr(n?"camera":"composite",t.value,a.labels,o))}Pr.prototype.evaluateWithoutErrorHandling=function(t,e,r,n,i){return this._styleExpression.evaluateWithoutErrorHandling(t,e,r,n,i)},Pr.prototype.evaluate=function(t,e,r,n,i){return this._styleExpression.evaluate(t,e,r,n,i)},Pr.prototype.interpolationFactor=function(t,e,r){return this.interpolationType?Ke.interpolationFactor(this.interpolationType,t,e,r):0};var Mr=function(t,e){this._parameters=t,this._specification=e,Bt(this,function t(e,r){var n,i,a,o="color"===r.type,s=e.stops&&"object"==typeof e.stops[0][0],u=s||void 0!==e.property,l=s||!u,p=e.type||(vr(r)?"exponential":"interval");if(o&&((e=Bt({},e)).stops&&(e.stops=e.stops.map((function(t){return[t[0],Yt.parse(t[1])]}))),e.default?e.default=Yt.parse(e.default):e.default=Yt.parse(r.default)),e.colorSpace&&"rgb"!==e.colorSpace&&!Ne[e.colorSpace])throw new Error("Unknown color space: "+e.colorSpace);if("exponential"===p)n=kr;else if("interval"===p)n=Ar;else if("categorical"===p){n=wr,i=Object.create(null);for(var c=0,h=e.stops;c<h.length;c+=1){var f=h[c];i[f[0]]=f[1];}a=typeof e.stops[0][0];}else{if("identity"!==p)throw new Error('Unknown function type "'+p+'"');n=Sr;}if(s){for(var y={},d=[],m=0;m<e.stops.length;m++){var v=e.stops[m],g=v[0].zoom;void 0===y[g]&&(y[g]={zoom:g,type:e.type,property:e.property,default:e.default,stops:[]},d.push(g)),y[g].stops.push([v[0].value,v[1]]);}for(var x=[],b=0,_=d;b<_.length;b+=1){var w=_[b];x.push([y[w].zoom,t(y[w],r)]);}var A={name:"linear"};return{kind:"composite",interpolationType:A,interpolationFactor:Ke.interpolationFactor.bind(void 0,A),zoomStops:x.map((function(t){return t[0]})),evaluate:function(t,n){var i=t.zoom;return kr({stops:x,base:e.base},r,i).evaluate(i,n)}}}if(l){var k="exponential"===p?{name:"exponential",base:void 0!==e.base?e.base:1}:null;return{kind:"camera",interpolationType:k,interpolationFactor:Ke.interpolationFactor.bind(void 0,k),zoomStops:e.stops.map((function(t){return t[0]})),evaluate:function(t){var o=t.zoom;return n(e,r,o,i,a)}}}return{kind:"source",evaluate:function(t,o){var s=o&&o.properties?o.properties[e.property]:void 0;return void 0===s?_r(e.default,r.default):n(e,r,s,i,a)}}}(this._parameters,this._specification));};function Tr(t){var e=t.key,r=t.value,n=t.valueSpec||{},i=t.objectElementValidators||{},a=t.style,o=t.styleSpec,s=[],u=gr(r);if("object"!==u)return[new zt(e,r,"object expected, "+u+" found")];for(var l in r){var p=l.split(".")[0],c=n[p]||n["*"],h=void 0;if(i[p])h=i[p];else if(n[p])h=nn;else if(i["*"])h=i["*"];else{if(!n["*"]){s.push(new zt(e,r[l],'unknown property "'+l+'"'));continue}h=nn;}s=s.concat(h({key:(e?e+".":e)+l,value:r[l],valueSpec:c,style:a,styleSpec:o,object:r,objectKey:l},r));}for(var f in n)i[f]||n[f].required&&void 0===n[f].default&&void 0===r[f]&&s.push(new zt(e,r,'missing required property "'+f+'"'));return s}function Vr(t){var e=t.value,r=t.valueSpec,n=t.style,i=t.styleSpec,a=t.key,o=t.arrayElementValidator||nn;if("array"!==gr(e))return[new zt(a,e,"array expected, "+gr(e)+" found")];if(r.length&&e.length!==r.length)return[new zt(a,e,"array length "+r.length+" expected, length "+e.length+" found")];if(r["min-length"]&&e.length<r["min-length"])return[new zt(a,e,"array length at least "+r["min-length"]+" expected, length "+e.length+" found")];var s={type:r.value,values:r.values};i.$version<7&&(s.function=r.function),"object"===gr(r.value)&&(s=r.value);for(var u=[],l=0;l<e.length;l++)u=u.concat(o({array:e,arrayIndex:l,value:e[l],valueSpec:s,style:n,styleSpec:i,key:a+"["+l+"]"}));return u}function Fr(t){var e=t.key,r=t.value,n=t.valueSpec,i=gr(r);return "number"!==i?[new zt(e,r,"number expected, "+i+" found")]:"minimum"in n&&r<n.minimum?[new zt(e,r,r+" is less than the minimum value "+n.minimum)]:"maximum"in n&&r>n.maximum?[new zt(e,r,r+" is greater than the maximum value "+n.maximum)]:[]}function Or(t){var e,r,n,i=t.valueSpec,a=Et(t.value.type),o={},s="categorical"!==a&&void 0===t.value.property,u=!s,l="array"===gr(t.value.stops)&&"array"===gr(t.value.stops[0])&&"object"===gr(t.value.stops[0][0]),p=Tr({key:t.key,value:t.value,valueSpec:t.styleSpec.function,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{stops:function(t){if("identity"===a)return[new zt(t.key,t.value,'identity function may not have a "stops" property')];var e=[],r=t.value;e=e.concat(Vr({key:t.key,value:r,valueSpec:t.valueSpec,style:t.style,styleSpec:t.styleSpec,arrayElementValidator:c})),"array"===gr(r)&&0===r.length&&e.push(new zt(t.key,r,"array must have at least one stop"));return e},default:function(t){return nn({key:t.key,value:t.value,valueSpec:i,style:t.style,styleSpec:t.styleSpec})}}});return "identity"===a&&s&&p.push(new zt(t.key,t.value,'missing required property "property"')),"identity"===a||t.value.stops||p.push(new zt(t.key,t.value,'missing required property "stops"')),"exponential"===a&&t.valueSpec.expression&&!vr(t.valueSpec)&&p.push(new zt(t.key,t.value,"exponential functions not supported")),t.styleSpec.$version>=8&&(u&&!dr(t.valueSpec)?p.push(new zt(t.key,t.value,"property functions not supported")):s&&!mr(t.valueSpec)&&p.push(new zt(t.key,t.value,"zoom functions not supported"))),"categorical"!==a&&!l||void 0!==t.value.property||p.push(new zt(t.key,t.value,'"property" property is required')),p;function c(t){var e=[],a=t.value,s=t.key;if("array"!==gr(a))return[new zt(s,a,"array expected, "+gr(a)+" found")];if(2!==a.length)return[new zt(s,a,"array length 2 expected, length "+a.length+" found")];if(l){if("object"!==gr(a[0]))return[new zt(s,a,"object expected, "+gr(a[0])+" found")];if(void 0===a[0].zoom)return[new zt(s,a,"object stop key must have zoom")];if(void 0===a[0].value)return[new zt(s,a,"object stop key must have value")];if(n&&n>Et(a[0].zoom))return[new zt(s,a[0].zoom,"stop zoom values must appear in ascending order")];Et(a[0].zoom)!==n&&(n=Et(a[0].zoom),r=void 0,o={}),e=e.concat(Tr({key:s+"[0]",value:a[0],valueSpec:{zoom:{}},style:t.style,styleSpec:t.styleSpec,objectElementValidators:{zoom:Fr,value:h}}));}else e=e.concat(h({key:s+"[0]",value:a[0],valueSpec:{},style:t.style,styleSpec:t.styleSpec},a));return zr(Mt(a[1]))?e.concat([new zt(s+"[1]",a[1],"expressions are not allowed in function stops.")]):e.concat(nn({key:s+"[1]",value:a[1],valueSpec:i,style:t.style,styleSpec:t.styleSpec}))}function h(t,n){var s=gr(t.value),u=Et(t.value),l=null!==t.value?t.value:n;if(e){if(s!==e)return[new zt(t.key,l,s+" stop domain type must match previous stop domain type "+e)]}else e=s;if("number"!==s&&"string"!==s&&"boolean"!==s)return[new zt(t.key,l,"stop domain value must be a number, string, or boolean")];if("number"!==s&&"categorical"!==a){var p="number expected, "+s+" found";return dr(i)&&void 0===a&&(p+='\nIf you intended to use a categorical function, specify `"type": "categorical"`.'),[new zt(t.key,l,p)]}return "categorical"!==a||"number"!==s||isFinite(u)&&Math.floor(u)===u?"categorical"!==a&&"number"===s&&void 0!==r&&u<r?[new zt(t.key,l,"stop domain values must appear in ascending order")]:(r=u,"categorical"===a&&u in o?[new zt(t.key,l,"stop domain values must be unique")]:(o[u]=!0,[])):[new zt(t.key,l,"integer expected, found "+u)]}}function Lr(t){var e=("property"===t.expressionContext?Er:Cr)(Mt(t.value),t.valueSpec);if("error"===e.result)return e.value.map((function(e){return new zt(""+t.key+e.key,t.value,e.message)}));var r=e.value.expression||e.value._styleExpression.expression;if("property"===t.expressionContext&&"text-font"===t.propertyKey&&-1!==r.possibleOutputs().indexOf(void 0))return[new zt(t.key,t.value,'Invalid data expression for "'+t.propertyKey+'". Output values must be contained as literals within the expression.')];if("property"===t.expressionContext&&"layout"===t.propertyType&&!ve(r))return[new zt(t.key,t.value,'"feature-state" data expressions are not supported with layout properties.')];if("filter"===t.expressionContext&&!ve(r))return[new zt(t.key,t.value,'"feature-state" data expressions are not supported with filters.')];if(t.expressionContext&&0===t.expressionContext.indexOf("cluster")){if(!ge(r,["zoom","feature-state"]))return[new zt(t.key,t.value,'"zoom" and "feature-state" expressions are not supported with cluster properties.')];if("cluster-initial"===t.expressionContext&&!me(r))return[new zt(t.key,t.value,"Feature data expressions are not supported with initial expression part of cluster properties.")]}return[]}function Dr(t){var e=t.key,r=t.value,n=t.valueSpec,i=[];return Array.isArray(n.values)?-1===n.values.indexOf(Et(r))&&i.push(new zt(e,r,"expected one of ["+n.values.join(", ")+"], "+JSON.stringify(r)+" found")):-1===Object.keys(n.values).indexOf(Et(r))&&i.push(new zt(e,r,"expected one of ["+Object.keys(n.values).join(", ")+"], "+JSON.stringify(r)+" found")),i}function Ur(t){if(!0===t||!1===t)return!0;if(!Array.isArray(t)||0===t.length)return!1;switch(t[0]){case"has":return t.length>=2&&"$id"!==t[1]&&"$type"!==t[1];case"in":case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==t.length||Array.isArray(t[1])||Array.isArray(t[2]);case"any":case"all":for(var e=0,r=t.slice(1);e<r.length;e+=1){var n=r[e];if(!Ur(n)&&"boolean"!=typeof n)return!1}return!0;default:return!0}}Mr.deserialize=function(t){return new Mr(t._parameters,t._specification)},Mr.serialize=function(t){return{_parameters:t._parameters,_specification:t._specification}};var Rr={type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}};function jr(t){if(null==t)return function(){return!0};Ur(t)||(t=Nr(t));var e=Cr(t,Rr);if("error"===e.result)throw new Error(e.value.map((function(t){return t.key+": "+t.message})).join(", "));return function(t,r){return e.value.evaluate(t,r)}}function qr(t,e){return t<e?-1:t>e?1:0}function Nr(t){if(!t)return!0;var e,r=t[0];return t.length<=1?"any"!==r:"=="===r?Kr(t[1],t[2],"=="):"!="===r?Gr(Kr(t[1],t[2],"==")):"<"===r||">"===r||"<="===r||">="===r?Kr(t[1],t[2],r):"any"===r?(e=t.slice(1),["any"].concat(e.map(Nr))):"all"===r?["all"].concat(t.slice(1).map(Nr)):"none"===r?["all"].concat(t.slice(1).map(Nr).map(Gr)):"in"===r?Zr(t[1],t.slice(2)):"!in"===r?Gr(Zr(t[1],t.slice(2))):"has"===r?Xr(t[1]):"!has"!==r||Gr(Xr(t[1]))}function Kr(t,e,r){switch(t){case"$type":return["filter-type-"+r,e];case"$id":return["filter-id-"+r,e];default:return["filter-"+r,t,e]}}function Zr(t,e){if(0===e.length)return!1;switch(t){case"$type":return["filter-type-in",["literal",e]];case"$id":return["filter-id-in",["literal",e]];default:return e.length>200&&!e.some((function(t){return typeof t!=typeof e[0]}))?["filter-in-large",t,["literal",e.sort(qr)]]:["filter-in-small",t,["literal",e]]}}function Xr(t){switch(t){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",t]}}function Gr(t){return["!",t]}function Jr(t){return Ur(Mt(t.value))?Lr(Bt({},t,{expressionContext:"filter",valueSpec:{value:"boolean"}})):function t(e){var r=e.value;var n=e.key;if("array"!==gr(r))return[new zt(n,r,"array expected, "+gr(r)+" found")];var i=e.styleSpec;var a;var o=[];if(r.length<1)return[new zt(n,r,"filter array must have at least 1 element")];o=o.concat(Dr({key:n+"[0]",value:r[0],valueSpec:i.filter_operator,style:e.style,styleSpec:e.styleSpec}));switch(Et(r[0])){case"<":case"<=":case">":case">=":r.length>=2&&"$type"===Et(r[1])&&o.push(new zt(n,r,'"$type" cannot be use with operator "'+r[0]+'"'));case"==":case"!=":3!==r.length&&o.push(new zt(n,r,'filter array for operator "'+r[0]+'" must have 3 elements'));case"in":case"!in":r.length>=2&&"string"!==(a=gr(r[1]))&&o.push(new zt(n+"[1]",r[1],"string expected, "+a+" found"));for(var s=2;s<r.length;s++)a=gr(r[s]),"$type"===Et(r[1])?o=o.concat(Dr({key:n+"["+s+"]",value:r[s],valueSpec:i.geometry_type,style:e.style,styleSpec:e.styleSpec})):"string"!==a&&"number"!==a&&"boolean"!==a&&o.push(new zt(n+"["+s+"]",r[s],"string, number, or boolean expected, "+a+" found"));break;case"any":case"all":case"none":for(var u=1;u<r.length;u++)o=o.concat(t({key:n+"["+u+"]",value:r[u],style:e.style,styleSpec:e.styleSpec}));break;case"has":case"!has":a=gr(r[1]),2!==r.length?o.push(new zt(n,r,'filter array for "'+r[0]+'" operator must have 2 elements')):"string"!==a&&o.push(new zt(n+"[1]",r[1],"string expected, "+a+" found"));}return o}(t)}function Hr(t,e){var r=t.key,n=t.style,i=t.styleSpec,a=t.value,o=t.objectKey,s=i[e+"_"+t.layerType];if(!s)return[];var u=o.match(/^(.*)-transition$/);if("paint"===e&&u&&s[u[1]]&&s[u[1]].transition)return nn({key:r,value:a,valueSpec:i.transition,style:n,styleSpec:i});var l,p=t.valueSpec||s[o];if(!p)return[new zt(r,a,'unknown property "'+o+'"')];if("string"===gr(a)&&dr(p)&&!p.tokens&&(l=/^{([^}]+)}$/.exec(a)))return[new zt(r,a,'"'+o+'" does not support interpolation syntax\nUse an identity property function instead: `{ "type": "identity", "property": '+JSON.stringify(l[1])+" }`.")];var c=[];return "symbol"===t.layerType&&("text-field"===o&&n&&!n.glyphs&&c.push(new zt(r,a,'use of "text-field" requires a style "glyphs" property')),"text-font"===o&&xr(Mt(a))&&"identity"===Et(a.type)&&c.push(new zt(r,a,'"text-font" does not support identity functions'))),c.concat(nn({key:t.key,value:a,valueSpec:p,style:n,styleSpec:i,expressionContext:"property",propertyType:e,propertyKey:o}))}function Yr(t){return Hr(t,"paint")}function $r(t){return Hr(t,"layout")}function Wr(t){var e=[],r=t.value,n=t.key,i=t.style,a=t.styleSpec;r.type||r.ref||e.push(new zt(n,r,'either "type" or "ref" is required'));var o,s=Et(r.type),u=Et(r.ref);if(r.id)for(var l=Et(r.id),p=0;p<t.arrayIndex;p++){var c=i.layers[p];Et(c.id)===l&&e.push(new zt(n,r.id,'duplicate layer id "'+r.id+'", previously used at line '+c.id.__line__));}if("ref"in r)["type","source","source-layer","filter","layout"].forEach((function(t){t in r&&e.push(new zt(n,r[t],'"'+t+'" is prohibited for ref layers'));})),i.layers.forEach((function(t){Et(t.id)===u&&(o=t);})),o?o.ref?e.push(new zt(n,r.ref,"ref cannot reference another ref layer")):s=Et(o.type):e.push(new zt(n,r.ref,'ref layer "'+u+'" not found'));else if("background"!==s)if(r.source){var h=i.sources&&i.sources[r.source],f=h&&Et(h.type);h?"vector"===f&&"raster"===s?e.push(new zt(n,r.source,'layer "'+r.id+'" requires a raster source')):"raster"===f&&"raster"!==s?e.push(new zt(n,r.source,'layer "'+r.id+'" requires a vector source')):"vector"!==f||r["source-layer"]?"raster-dem"===f&&"hillshade"!==s?e.push(new zt(n,r.source,"raster-dem source can only be used with layer type 'hillshade'.")):"line"!==s||!r.paint||!r.paint["line-gradient"]||"geojson"===f&&h.lineMetrics||e.push(new zt(n,r,'layer "'+r.id+'" specifies a line-gradient, which requires a GeoJSON source with `lineMetrics` enabled.')):e.push(new zt(n,r,'layer "'+r.id+'" must specify a "source-layer"')):e.push(new zt(n,r.source,'source "'+r.source+'" not found'));}else e.push(new zt(n,r,'missing required property "source"'));return e=e.concat(Tr({key:n,value:r,valueSpec:a.layer,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(){return[]},type:function(){return nn({key:n+".type",value:r.type,valueSpec:a.layer.type,style:t.style,styleSpec:t.styleSpec,object:r,objectKey:"type"})},filter:Jr,layout:function(t){return Tr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return $r(Bt({layerType:s},t))}}})},paint:function(t){return Tr({layer:r,key:t.key,value:t.value,style:t.style,styleSpec:t.styleSpec,objectElementValidators:{"*":function(t){return Yr(Bt({layerType:s},t))}}})}}}))}function Qr(t){var e=t.value,r=t.key,n=t.styleSpec,i=t.style;if(!e.type)return[new zt(r,e,'"type" is required')];var a,o=Et(e.type);switch(o){case"vector":case"raster":case"raster-dem":return a=Tr({key:r,value:e,valueSpec:n["source_"+o.replace("-","_")],style:t.style,styleSpec:n});case"geojson":if(a=Tr({key:r,value:e,valueSpec:n.source_geojson,style:i,styleSpec:n}),e.cluster)for(var s in e.clusterProperties){var u=e.clusterProperties[s],l=u[0],p=u[1],c="string"==typeof l?[l,["accumulated"],["get",s]]:l;a.push.apply(a,Lr({key:r+"."+s+".map",value:p,expressionContext:"cluster-map"})),a.push.apply(a,Lr({key:r+"."+s+".reduce",value:c,expressionContext:"cluster-reduce"}));}return a;case"video":return Tr({key:r,value:e,valueSpec:n.source_video,style:i,styleSpec:n});case"image":return Tr({key:r,value:e,valueSpec:n.source_image,style:i,styleSpec:n});case"canvas":return[new zt(r,null,"Please use runtime APIs to add canvas sources, rather than including them in stylesheets.","source.canvas")];default:return Dr({key:r+".type",value:e.type,valueSpec:{values:["vector","raster","raster-dem","geojson","video","image"]},style:i,styleSpec:n})}}function tn(t){var e=t.value,r=t.styleSpec,n=r.light,i=t.style,a=[],o=gr(e);if(void 0===e)return a;if("object"!==o)return a=a.concat([new zt("light",e,"object expected, "+o+" found")]);for(var s in e){var u=s.match(/^(.*)-transition$/);a=u&&n[u[1]]&&n[u[1]].transition?a.concat(nn({key:s,value:e[s],valueSpec:r.transition,style:i,styleSpec:r})):n[s]?a.concat(nn({key:s,value:e[s],valueSpec:n[s],style:i,styleSpec:r})):a.concat([new zt(s,e[s],'unknown property "'+s+'"')]);}return a}function en(t){var e=t.value,r=t.key,n=gr(e);return "string"!==n?[new zt(r,e,"string expected, "+n+" found")]:[]}var rn={"*":function(){return[]},array:Vr,boolean:function(t){var e=t.value,r=t.key,n=gr(e);return "boolean"!==n?[new zt(r,e,"boolean expected, "+n+" found")]:[]},number:Fr,color:function(t){var e=t.key,r=t.value,n=gr(r);return "string"!==n?[new zt(e,r,"color expected, "+n+" found")]:null===Ht(r)?[new zt(e,r,'color expected, "'+r+'" found')]:[]},constants:Ct,enum:Dr,filter:Jr,function:Or,layer:Wr,object:Tr,source:Qr,light:tn,string:en,formatted:function(t){return 0===en(t).length?[]:Lr(t)},resolvedImage:function(t){return 0===en(t).length?[]:Lr(t)}};function nn(t){var e=t.value,r=t.valueSpec,n=t.styleSpec;return r.expression&&xr(Et(e))?Or(t):r.expression&&zr(Mt(e))?Lr(t):r.type&&rn[r.type]?rn[r.type](t):Tr(Bt({},t,{valueSpec:r.type?n[r.type]:r}))}function an(t){var e=t.value,r=t.key,n=en(t);return n.length?n:(-1===e.indexOf("{fontstack}")&&n.push(new zt(r,e,'"glyphs" url must include a "{fontstack}" token')),-1===e.indexOf("{range}")&&n.push(new zt(r,e,'"glyphs" url must include a "{range}" token')),n)}function on(t,e){void 0===e&&(e=It);var r=[];return r=r.concat(nn({key:"",value:t,valueSpec:e.$root,styleSpec:e,style:t,objectElementValidators:{glyphs:an,"*":function(){return[]}}})),t.constants&&(r=r.concat(Ct({key:"constants",value:t.constants,style:t,styleSpec:e}))),sn(r)}function sn(t){return[].concat(t).sort((function(t,e){return t.line-e.line}))}function un(t){return function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];return sn(t.apply(this,e))}}on.source=un(Qr),on.light=un(tn),on.layer=un(Wr),on.filter=un(Jr),on.paintProperty=un(Yr),on.layoutProperty=un($r);var ln=on,pn=ln.light,cn=ln.paintProperty,hn=ln.layoutProperty;function fn(t,e){var r=!1;if(e&&e.length)for(var n=0,i=e;n<i.length;n+=1){var a=i[n];t.fire(new kt(new Error(a.message))),r=!0;}return r}var yn=mn,dn=3;function mn(t,e,r){var n=this.cells=[];if(t instanceof ArrayBuffer){this.arrayBuffer=t;var i=new Int32Array(this.arrayBuffer);t=i[0],e=i[1],r=i[2],this.d=e+2*r;for(var a=0;a<this.d*this.d;a++){var o=i[dn+a],s=i[dn+a+1];n.push(o===s?null:i.subarray(o,s));}var u=i[dn+n.length],l=i[dn+n.length+1];this.keys=i.subarray(u,l),this.bboxes=i.subarray(l),this.insert=this._insertReadonly;}else{this.d=e+2*r;for(var p=0;p<this.d*this.d;p++)n.push([]);this.keys=[],this.bboxes=[];}this.n=e,this.extent=t,this.padding=r,this.scale=e/t,this.uid=0;var c=r/e*t;this.min=-c,this.max=t+c;}mn.prototype.insert=function(t,e,r,n,i){this._forEachCell(e,r,n,i,this._insertCell,this.uid++),this.keys.push(t),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(n),this.bboxes.push(i);},mn.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},mn.prototype._insertCell=function(t,e,r,n,i,a){this.cells[i].push(a);},mn.prototype.query=function(t,e,r,n,i){var a=this.min,o=this.max;if(t<=a&&e<=a&&o<=r&&o<=n&&!i)return Array.prototype.slice.call(this.keys);var s=[];return this._forEachCell(t,e,r,n,this._queryCell,s,{},i),s},mn.prototype._queryCell=function(t,e,r,n,i,a,o,s){var u=this.cells[i];if(null!==u)for(var l=this.keys,p=this.bboxes,c=0;c<u.length;c++){var h=u[c];if(void 0===o[h]){var f=4*h;(s?s(p[f+0],p[f+1],p[f+2],p[f+3]):t<=p[f+2]&&e<=p[f+3]&&r>=p[f+0]&&n>=p[f+1])?(o[h]=!0,a.push(l[h])):o[h]=!1;}}},mn.prototype._forEachCell=function(t,e,r,n,i,a,o,s){for(var u=this._convertToCellCoord(t),l=this._convertToCellCoord(e),p=this._convertToCellCoord(r),c=this._convertToCellCoord(n),h=u;h<=p;h++)for(var f=l;f<=c;f++){var y=this.d*f+h;if((!s||s(this._convertFromCellCoord(h),this._convertFromCellCoord(f),this._convertFromCellCoord(h+1),this._convertFromCellCoord(f+1)))&&i.call(this,t,e,r,n,y,a,o,s))return}},mn.prototype._convertFromCellCoord=function(t){return(t-this.padding)/this.scale},mn.prototype._convertToCellCoord=function(t){return Math.max(0,Math.min(this.d-1,Math.floor(t*this.scale)+this.padding))},mn.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var t=this.cells,e=dn+this.cells.length+1+1,r=0,n=0;n<this.cells.length;n++)r+=this.cells[n].length;var i=new Int32Array(e+r+this.keys.length+this.bboxes.length);i[0]=this.extent,i[1]=this.n,i[2]=this.padding;for(var a=e,o=0;o<t.length;o++){var s=t[o];i[dn+o]=a,i.set(s,a),a+=s.length;}return i[dn+t.length]=a,i.set(this.keys,a),a+=this.keys.length,i[dn+t.length+1]=a,i.set(this.bboxes,a),a+=this.bboxes.length,i.buffer};var vn=self.ImageData,gn={};function xn(t,e,r){void 0===r&&(r={}),Object.defineProperty(e,"_classRegistryKey",{value:t,writeable:!1}),gn[t]={klass:e,omit:r.omit||[],shallow:r.shallow||[]};}for(var bn in xn("Object",Object),yn.serialize=function(t,e){var r=t.toArrayBuffer();return e&&e.push(r),{buffer:r}},yn.deserialize=function(t){return new yn(t.buffer)},xn("Grid",yn),xn("Color",Yt),xn("Error",Error),xn("ResolvedImage",te),xn("StylePropertyFunction",Mr),xn("StyleExpression",Ir,{omit:["_evaluator"]}),xn("ZoomDependentExpression",Pr),xn("ZoomConstantExpression",Br),xn("CompoundExpression",ye,{omit:["_evaluate"]}),ur)ur[bn]._classRegistryKey||xn("Expression_"+bn,ur[bn]);function _n(t){return t&&"undefined"!=typeof ArrayBuffer&&(t instanceof ArrayBuffer||t.constructor&&"ArrayBuffer"===t.constructor.name)}function wn(t,e){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp)return t;if(_n(t))return e&&e.push(t),t;if(ArrayBuffer.isView(t)){var r=t;return e&&e.push(r.buffer),r}if(t instanceof vn)return e&&e.push(t.data.buffer),t;if(Array.isArray(t)){for(var n=[],i=0,a=t;i<a.length;i+=1){var o=a[i];n.push(wn(o,e));}return n}if("object"==typeof t){var s=t.constructor,u=s._classRegistryKey;if(!u)throw new Error("can't serialize object of unregistered class");var l=s.serialize?s.serialize(t,e):{};if(!s.serialize){for(var p in t)if(t.hasOwnProperty(p)&&!(gn[u].omit.indexOf(p)>=0)){var c=t[p];l[p]=gn[u].shallow.indexOf(p)>=0?c:wn(c,e);}t instanceof Error&&(l.message=t.message);}if(l.$name)throw new Error("$name property is reserved for worker serialization logic.");return "Object"!==u&&(l.$name=u),l}throw new Error("can't serialize object of type "+typeof t)}function An(t){if(null==t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||t instanceof Boolean||t instanceof Number||t instanceof String||t instanceof Date||t instanceof RegExp||_n(t)||ArrayBuffer.isView(t)||t instanceof vn)return t;if(Array.isArray(t))return t.map(An);if("object"==typeof t){var e=t.$name||"Object",r=gn[e].klass;if(!r)throw new Error("can't deserialize unregistered class "+e);if(r.deserialize)return r.deserialize(t);for(var n=Object.create(r.prototype),i=0,a=Object.keys(t);i<a.length;i+=1){var o=a[i];if("$name"!==o){var s=t[o];n[o]=gn[e].shallow.indexOf(o)>=0?s:An(s);}}return n}throw new Error("can't deserialize object of type "+typeof t)}var kn=function(){this.first=!0;};kn.prototype.update=function(t,e){var r=Math.floor(t);return this.first?(this.first=!1,this.lastIntegerZoom=r,this.lastIntegerZoomTime=0,this.lastZoom=t,this.lastFloorZoom=r,!0):(this.lastFloorZoom>r?(this.lastIntegerZoom=r+1,this.lastIntegerZoomTime=e):this.lastFloorZoom<r&&(this.lastIntegerZoom=r,this.lastIntegerZoomTime=e),t!==this.lastZoom&&(this.lastZoom=t,this.lastFloorZoom=r,!0))};var Sn={"Latin-1 Supplement":function(t){return t>=128&&t<=255},Arabic:function(t){return t>=1536&&t<=1791},"Arabic Supplement":function(t){return t>=1872&&t<=1919},"Arabic Extended-A":function(t){return t>=2208&&t<=2303},"Hangul Jamo":function(t){return t>=4352&&t<=4607},"Unified Canadian Aboriginal Syllabics":function(t){return t>=5120&&t<=5759},Khmer:function(t){return t>=6016&&t<=6143},"Unified Canadian Aboriginal Syllabics Extended":function(t){return t>=6320&&t<=6399},"General Punctuation":function(t){return t>=8192&&t<=8303},"Letterlike Symbols":function(t){return t>=8448&&t<=8527},"Number Forms":function(t){return t>=8528&&t<=8591},"Miscellaneous Technical":function(t){return t>=8960&&t<=9215},"Control Pictures":function(t){return t>=9216&&t<=9279},"Optical Character Recognition":function(t){return t>=9280&&t<=9311},"Enclosed Alphanumerics":function(t){return t>=9312&&t<=9471},"Geometric Shapes":function(t){return t>=9632&&t<=9727},"Miscellaneous Symbols":function(t){return t>=9728&&t<=9983},"Miscellaneous Symbols and Arrows":function(t){return t>=11008&&t<=11263},"CJK Radicals Supplement":function(t){return t>=11904&&t<=12031},"Kangxi Radicals":function(t){return t>=12032&&t<=12255},"Ideographic Description Characters":function(t){return t>=12272&&t<=12287},"CJK Symbols and Punctuation":function(t){return t>=12288&&t<=12351},Hiragana:function(t){return t>=12352&&t<=12447},Katakana:function(t){return t>=12448&&t<=12543},Bopomofo:function(t){return t>=12544&&t<=12591},"Hangul Compatibility Jamo":function(t){return t>=12592&&t<=12687},Kanbun:function(t){return t>=12688&&t<=12703},"Bopomofo Extended":function(t){return t>=12704&&t<=12735},"CJK Strokes":function(t){return t>=12736&&t<=12783},"Katakana Phonetic Extensions":function(t){return t>=12784&&t<=12799},"Enclosed CJK Letters and Months":function(t){return t>=12800&&t<=13055},"CJK Compatibility":function(t){return t>=13056&&t<=13311},"CJK Unified Ideographs Extension A":function(t){return t>=13312&&t<=19903},"Yijing Hexagram Symbols":function(t){return t>=19904&&t<=19967},"CJK Unified Ideographs":function(t){return t>=19968&&t<=40959},"Yi Syllables":function(t){return t>=40960&&t<=42127},"Yi Radicals":function(t){return t>=42128&&t<=42191},"Hangul Jamo Extended-A":function(t){return t>=43360&&t<=43391},"Hangul Syllables":function(t){return t>=44032&&t<=55215},"Hangul Jamo Extended-B":function(t){return t>=55216&&t<=55295},"Private Use Area":function(t){return t>=57344&&t<=63743},"CJK Compatibility Ideographs":function(t){return t>=63744&&t<=64255},"Arabic Presentation Forms-A":function(t){return t>=64336&&t<=65023},"Vertical Forms":function(t){return t>=65040&&t<=65055},"CJK Compatibility Forms":function(t){return t>=65072&&t<=65103},"Small Form Variants":function(t){return t>=65104&&t<=65135},"Arabic Presentation Forms-B":function(t){return t>=65136&&t<=65279},"Halfwidth and Fullwidth Forms":function(t){return t>=65280&&t<=65519}};function In(t){for(var e=0,r=t;e<r.length;e+=1){if(Cn(r[e].charCodeAt(0)))return!0}return!1}function zn(t){return!Sn.Arabic(t)&&(!Sn["Arabic Supplement"](t)&&(!Sn["Arabic Extended-A"](t)&&(!Sn["Arabic Presentation Forms-A"](t)&&!Sn["Arabic Presentation Forms-B"](t))))}function Cn(t){return 746===t||747===t||!(t<4352)&&(!!Sn["Bopomofo Extended"](t)||(!!Sn.Bopomofo(t)||(!(!Sn["CJK Compatibility Forms"](t)||t>=65097&&t<=65103)||(!!Sn["CJK Compatibility Ideographs"](t)||(!!Sn["CJK Compatibility"](t)||(!!Sn["CJK Radicals Supplement"](t)||(!!Sn["CJK Strokes"](t)||(!(!Sn["CJK Symbols and Punctuation"](t)||t>=12296&&t<=12305||t>=12308&&t<=12319||12336===t)||(!!Sn["CJK Unified Ideographs Extension A"](t)||(!!Sn["CJK Unified Ideographs"](t)||(!!Sn["Enclosed CJK Letters and Months"](t)||(!!Sn["Hangul Compatibility Jamo"](t)||(!!Sn["Hangul Jamo Extended-A"](t)||(!!Sn["Hangul Jamo Extended-B"](t)||(!!Sn["Hangul Jamo"](t)||(!!Sn["Hangul Syllables"](t)||(!!Sn.Hiragana(t)||(!!Sn["Ideographic Description Characters"](t)||(!!Sn.Kanbun(t)||(!!Sn["Kangxi Radicals"](t)||(!!Sn["Katakana Phonetic Extensions"](t)||(!(!Sn.Katakana(t)||12540===t)||(!(!Sn["Halfwidth and Fullwidth Forms"](t)||65288===t||65289===t||65293===t||t>=65306&&t<=65310||65339===t||65341===t||65343===t||t>=65371&&t<=65503||65507===t||t>=65512&&t<=65519)||(!(!Sn["Small Form Variants"](t)||t>=65112&&t<=65118||t>=65123&&t<=65126)||(!!Sn["Unified Canadian Aboriginal Syllabics"](t)||(!!Sn["Unified Canadian Aboriginal Syllabics Extended"](t)||(!!Sn["Vertical Forms"](t)||(!!Sn["Yijing Hexagram Symbols"](t)||(!!Sn["Yi Syllables"](t)||!!Sn["Yi Radicals"](t))))))))))))))))))))))))))))))}function Bn(t){return!(Cn(t)||function(t){return!(!Sn["Latin-1 Supplement"](t)||167!==t&&169!==t&&174!==t&&177!==t&&188!==t&&189!==t&&190!==t&&215!==t&&247!==t)||(!(!Sn["General Punctuation"](t)||8214!==t&&8224!==t&&8225!==t&&8240!==t&&8241!==t&&8251!==t&&8252!==t&&8258!==t&&8263!==t&&8264!==t&&8265!==t&&8273!==t)||(!!Sn["Letterlike Symbols"](t)||(!!Sn["Number Forms"](t)||(!(!Sn["Miscellaneous Technical"](t)||!(t>=8960&&t<=8967||t>=8972&&t<=8991||t>=8996&&t<=9e3||9003===t||t>=9085&&t<=9114||t>=9150&&t<=9165||9167===t||t>=9169&&t<=9179||t>=9186&&t<=9215))||(!(!Sn["Control Pictures"](t)||9251===t)||(!!Sn["Optical Character Recognition"](t)||(!!Sn["Enclosed Alphanumerics"](t)||(!!Sn["Geometric Shapes"](t)||(!(!Sn["Miscellaneous Symbols"](t)||t>=9754&&t<=9759)||(!(!Sn["Miscellaneous Symbols and Arrows"](t)||!(t>=11026&&t<=11055||t>=11088&&t<=11097||t>=11192&&t<=11243))||(!!Sn["CJK Symbols and Punctuation"](t)||(!!Sn.Katakana(t)||(!!Sn["Private Use Area"](t)||(!!Sn["CJK Compatibility Forms"](t)||(!!Sn["Small Form Variants"](t)||(!!Sn["Halfwidth and Fullwidth Forms"](t)||(8734===t||8756===t||8757===t||t>=9984&&t<=10087||t>=10102&&t<=10131||65532===t||65533===t)))))))))))))))))}(t))}function Pn(t,e){return!(!e&&(t>=1424&&t<=2303||Sn["Arabic Presentation Forms-A"](t)||Sn["Arabic Presentation Forms-B"](t)))&&!(t>=2304&&t<=3583||t>=3840&&t<=4255||Sn.Khmer(t))}var En,Mn="unavailable",Tn="loading",Vn="loaded",Fn="error",On=Mn,Ln=null,Dn=new St,Un={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:function(){return On===Vn||null!=Un.applyArabicShaping}},Rn=function(t,e){this.zoom=t,e?(this.now=e.now,this.fadeDuration=e.fadeDuration,this.zoomHistory=e.zoomHistory,this.transition=e.transition):(this.now=0,this.fadeDuration=0,this.zoomHistory=new kn,this.transition={});};Rn.prototype.isSupportedScript=function(t){return function(t,e){for(var r=0,n=t;r<n.length;r+=1){if(!Pn(n[r].charCodeAt(0),e))return!1}return!0}(t,Un.isLoaded())},Rn.prototype.crossFadingFactor=function(){return 0===this.fadeDuration?1:Math.min((this.now-this.zoomHistory.lastIntegerZoomTime)/this.fadeDuration,1)},Rn.prototype.getCrossfadeParameters=function(){var t=this.zoom,e=t-Math.floor(t),r=this.crossFadingFactor();return t>this.zoomHistory.lastIntegerZoom?{fromScale:2,toScale:1,t:e+(1-e)*r}:{fromScale:.5,toScale:1,t:1-(1-r)*e}};var jn=function(t,e){this.property=t,this.value=e,this.expression=function(t,e){if(xr(t))return new Mr(t,e);if(zr(t)){var r=Er(t,e);if("error"===r.result)throw new Error(r.value.map((function(t){return t.key+": "+t.message})).join(", "));return r.value}var n=t;return "string"==typeof t&&"color"===e.type&&(n=Yt.parse(t)),{kind:"constant",evaluate:function(){return n}}}(void 0===e?t.specification.default:e,t.specification);};jn.prototype.isDataDriven=function(){return "source"===this.expression.kind||"composite"===this.expression.kind},jn.prototype.possiblyEvaluate=function(t,e){return this.property.possiblyEvaluate(this,t,e)};var qn=function(t){this.property=t,this.value=new jn(t,void 0);};qn.prototype.transitioned=function(t,e){return new Kn(this.property,this.value,e,c({},t.transition,this.transition),t.now)},qn.prototype.untransitioned=function(){return new Kn(this.property,this.value,null,{},0)};var Nn=function(t){this._properties=t,this._values=Object.create(t.defaultTransitionablePropertyValues);};Nn.prototype.getValue=function(t){return b(this._values[t].value.value)},Nn.prototype.setValue=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new qn(this._values[t].property)),this._values[t].value=new jn(this._values[t].property,null===e?void 0:b(e));},Nn.prototype.getTransition=function(t){return b(this._values[t].transition)},Nn.prototype.setTransition=function(t,e){this._values.hasOwnProperty(t)||(this._values[t]=new qn(this._values[t].property)),this._values[t].transition=b(e)||void 0;},Nn.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var n=r[e],i=this.getValue(n);void 0!==i&&(t[n]=i);var a=this.getTransition(n);void 0!==a&&(t[n+"-transition"]=a);}return t},Nn.prototype.transitioned=function(t,e){for(var r=new Zn(this._properties),n=0,i=Object.keys(this._values);n<i.length;n+=1){var a=i[n];r._values[a]=this._values[a].transitioned(t,e._values[a]);}return r},Nn.prototype.untransitioned=function(){for(var t=new Zn(this._properties),e=0,r=Object.keys(this._values);e<r.length;e+=1){var n=r[e];t._values[n]=this._values[n].untransitioned();}return t};var Kn=function(t,e,r,n,i){this.property=t,this.value=e,this.begin=i+n.delay||0,this.end=this.begin+n.duration||0,t.specification.transition&&(n.delay||n.duration)&&(this.prior=r);};Kn.prototype.possiblyEvaluate=function(t,e){var r=t.now||0,n=this.value.possiblyEvaluate(t,e),i=this.prior;if(i){if(r>this.end)return this.prior=null,n;if(this.value.isDataDriven())return this.prior=null,n;if(r<this.begin)return i.possiblyEvaluate(t,e);var a=(r-this.begin)/(this.end-this.begin);return this.property.interpolate(i.possiblyEvaluate(t,e),n,function(t){if(t<=0)return 0;if(t>=1)return 1;var e=t*t,r=e*t;return 4*(t<.5?r:3*(t-e)+r-.75)}(a))}return n};var Zn=function(t){this._properties=t,this._values=Object.create(t.defaultTransitioningPropertyValues);};Zn.prototype.possiblyEvaluate=function(t,e){for(var r=new Jn(this._properties),n=0,i=Object.keys(this._values);n<i.length;n+=1){var a=i[n];r._values[a]=this._values[a].possiblyEvaluate(t,e);}return r},Zn.prototype.hasTransition=function(){for(var t=0,e=Object.keys(this._values);t<e.length;t+=1){var r=e[t];if(this._values[r].prior)return!0}return!1};var Xn=function(t){this._properties=t,this._values=Object.create(t.defaultPropertyValues);};Xn.prototype.getValue=function(t){return b(this._values[t].value)},Xn.prototype.setValue=function(t,e){this._values[t]=new jn(this._values[t].property,null===e?void 0:b(e));},Xn.prototype.serialize=function(){for(var t={},e=0,r=Object.keys(this._values);e<r.length;e+=1){var n=r[e],i=this.getValue(n);void 0!==i&&(t[n]=i);}return t},Xn.prototype.possiblyEvaluate=function(t,e){for(var r=new Jn(this._properties),n=0,i=Object.keys(this._values);n<i.length;n+=1){var a=i[n];r._values[a]=this._values[a].possiblyEvaluate(t,e);}return r};var Gn=function(t,e,r){this.property=t,this.value=e,this.parameters=r;};Gn.prototype.isConstant=function(){return "constant"===this.value.kind},Gn.prototype.constantOr=function(t){return "constant"===this.value.kind?this.value.value:t},Gn.prototype.evaluate=function(t,e,r){return this.property.evaluate(this.value,this.parameters,t,e,r)};var Jn=function(t){this._properties=t,this._values=Object.create(t.defaultPossiblyEvaluatedValues);};Jn.prototype.get=function(t){return this._values[t]};var Hn=function(t){this.specification=t;};Hn.prototype.possiblyEvaluate=function(t,e){return t.expression.evaluate(e)},Hn.prototype.interpolate=function(t,e,r){var n=ke[this.specification.type];return n?n(t,e,r):t};var Yn=function(t,e){this.specification=t,this.overrides=e;};Yn.prototype.possiblyEvaluate=function(t,e,r){return "constant"===t.expression.kind||"camera"===t.expression.kind?new Gn(this,{kind:"constant",value:t.expression.evaluate(e,null,{},r)},e):new Gn(this,t.expression,e)},Yn.prototype.interpolate=function(t,e,r){if("constant"!==t.value.kind||"constant"!==e.value.kind)return t;if(void 0===t.value.value||void 0===e.value.value)return new Gn(this,{kind:"constant",value:void 0},t.parameters);var n=ke[this.specification.type];return n?new Gn(this,{kind:"constant",value:n(t.value.value,e.value.value,r)},t.parameters):t},Yn.prototype.evaluate=function(t,e,r,n,i){return "constant"===t.kind?t.value:t.evaluate(e,r,n,i)};var $n=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(t,e,r){if(void 0===t.value)return new Gn(this,{kind:"constant",value:void 0},e);if("constant"===t.expression.kind){var n=t.expression.evaluate(e,null,{},r),i="resolvedImage"===t.property.specification.type&&"string"!=typeof n?n.name:n,a=this._calculate(i,i,i,e);return new Gn(this,{kind:"constant",value:a},e)}if("camera"===t.expression.kind){var o=this._calculate(t.expression.evaluate({zoom:e.zoom-1}),t.expression.evaluate({zoom:e.zoom}),t.expression.evaluate({zoom:e.zoom+1}),e);return new Gn(this,{kind:"constant",value:o},e)}return new Gn(this,t.expression,e)},e.prototype.evaluate=function(t,e,r,n,i){if("source"===t.kind){var a=t.evaluate(e,r,n,i);return this._calculate(a,a,a,e)}return "composite"===t.kind?this._calculate(t.evaluate({zoom:Math.floor(e.zoom)-1},r,n),t.evaluate({zoom:Math.floor(e.zoom)},r,n),t.evaluate({zoom:Math.floor(e.zoom)+1},r,n),e):t.value},e.prototype._calculate=function(t,e,r,n){return n.zoom>n.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},e.prototype.interpolate=function(t){return t},e}(Yn),Wn=function(t){this.specification=t;};Wn.prototype.possiblyEvaluate=function(t,e,r){if(void 0!==t.value){if("constant"===t.expression.kind){var n=t.expression.evaluate(e,null,{},r);return this._calculate(n,n,n,e)}return this._calculate(t.expression.evaluate(new Rn(Math.floor(e.zoom-1),e)),t.expression.evaluate(new Rn(Math.floor(e.zoom),e)),t.expression.evaluate(new Rn(Math.floor(e.zoom+1),e)),e)}},Wn.prototype._calculate=function(t,e,r,n){return n.zoom>n.zoomHistory.lastIntegerZoom?{from:t,to:e}:{from:r,to:e}},Wn.prototype.interpolate=function(t){return t};var Qn=function(t){this.specification=t;};Qn.prototype.possiblyEvaluate=function(t,e,r){return!!t.expression.evaluate(e,null,{},r)},Qn.prototype.interpolate=function(){return!1};var ti=function(t){for(var e in this.properties=t,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[],t){var r=t[e];r.specification.overridable&&this.overridableProperties.push(e);var n=this.defaultPropertyValues[e]=new jn(r,void 0),i=this.defaultTransitionablePropertyValues[e]=new qn(r);this.defaultTransitioningPropertyValues[e]=i.untransitioned(),this.defaultPossiblyEvaluatedValues[e]=n.possiblyEvaluate({});}};xn("DataDrivenProperty",Yn),xn("DataConstantProperty",Hn),xn("CrossFadedDataDrivenProperty",$n),xn("CrossFadedProperty",Wn),xn("ColorRampProperty",Qn);var ei=function(t){function e(e,r){if(t.call(this),this.id=e.id,this.type=e.type,this._featureFilter=function(){return!0},"custom"!==e.type&&(e=e,this.metadata=e.metadata,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,"background"!==e.type&&(this.source=e.source,this.sourceLayer=e["source-layer"],this.filter=e.filter),r.layout&&(this._unevaluatedLayout=new Xn(r.layout)),r.paint)){for(var n in this._transitionablePaint=new Nn(r.paint),e.paint)this.setPaintProperty(n,e.paint[n],{validate:!1});for(var i in e.layout)this.setLayoutProperty(i,e.layout[i],{validate:!1});this._transitioningPaint=this._transitionablePaint.untransitioned();}}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getCrossfadeParameters=function(){return this._crossfadeParameters},e.prototype.getLayoutProperty=function(t){return "visibility"===t?this.visibility:this._unevaluatedLayout.getValue(t)},e.prototype.setLayoutProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var n="layers."+this.id+".layout."+t;if(this._validate(hn,n,t,e,r))return}"visibility"!==t?this._unevaluatedLayout.setValue(t,e):this.visibility=e;},e.prototype.getPaintProperty=function(t){return v(t,"-transition")?this._transitionablePaint.getTransition(t.slice(0,-"-transition".length)):this._transitionablePaint.getValue(t)},e.prototype.setPaintProperty=function(t,e,r){if(void 0===r&&(r={}),null!=e){var n="layers."+this.id+".paint."+t;if(this._validate(cn,n,t,e,r))return!1}if(v(t,"-transition"))return this._transitionablePaint.setTransition(t.slice(0,-"-transition".length),e||void 0),!1;var i=this._transitionablePaint._values[t],a="cross-faded-data-driven"===i.property.specification["property-type"],o=i.value.isDataDriven(),s=i.value;this._transitionablePaint.setValue(t,e),this._handleSpecialPaintPropertyUpdate(t);var u=this._transitionablePaint._values[t].value;return u.isDataDriven()||o||a||this._handleOverridablePaintPropertyUpdate(t,s,u)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){},e.prototype._handleOverridablePaintPropertyUpdate=function(t,e,r){return!1},e.prototype.isHidden=function(t){return!!(this.minzoom&&t<this.minzoom)||(!!(this.maxzoom&&t>=this.maxzoom)||"none"===this.visibility)},e.prototype.updateTransitions=function(t){this._transitioningPaint=this._transitionablePaint.transitioned(t,this._transitioningPaint);},e.prototype.hasTransition=function(){return this._transitioningPaint.hasTransition()},e.prototype.recalculate=function(t,e){t.getCrossfadeParameters&&(this._crossfadeParameters=t.getCrossfadeParameters()),this._unevaluatedLayout&&(this.layout=this._unevaluatedLayout.possiblyEvaluate(t,e)),this.paint=this._transitioningPaint.possiblyEvaluate(t,e);},e.prototype.serialize=function(){var t={id:this.id,type:this.type,source:this.source,"source-layer":this.sourceLayer,metadata:this.metadata,minzoom:this.minzoom,maxzoom:this.maxzoom,filter:this.filter,layout:this._unevaluatedLayout&&this._unevaluatedLayout.serialize(),paint:this._transitionablePaint&&this._transitionablePaint.serialize()};return this.visibility&&(t.layout=t.layout||{},t.layout.visibility=this.visibility),x(t,(function(t,e){return!(void 0===t||"layout"===e&&!Object.keys(t).length||"paint"===e&&!Object.keys(t).length)}))},e.prototype._validate=function(t,e,r,n,i){return void 0===i&&(i={}),(!i||!1!==i.validate)&&fn(this,t.call(ln,{key:e,layerType:this.type,objectKey:r,value:n,styleSpec:It,style:{glyphs:!0,sprite:!0}}))},e.prototype.is3D=function(){return!1},e.prototype.isTileClipped=function(){return!1},e.prototype.hasOffscreenPass=function(){return!1},e.prototype.resize=function(){},e.prototype.isStateDependent=function(){for(var t in this.paint._values){var e=this.paint.get(t);if(e instanceof Gn&&dr(e.property.specification)&&(("source"===e.value.kind||"composite"===e.value.kind)&&e.value.isStateDependent))return!0}return!1},e}(St),ri={Int8:Int8Array,Uint8:Uint8Array,Int16:Int16Array,Uint16:Uint16Array,Int32:Int32Array,Uint32:Uint32Array,Float32:Float32Array},ni=function(t,e){this._structArray=t,this._pos1=e*this.size,this._pos2=this._pos1/2,this._pos4=this._pos1/4,this._pos8=this._pos1/8;},ii=function(){this.isTransferred=!1,this.capacity=-1,this.resize(0);};function ai(t,e){void 0===e&&(e=1);var r=0,n=0;return{members:t.map((function(t){var i,a=(i=t.type,ri[i].BYTES_PER_ELEMENT),o=r=oi(r,Math.max(e,a)),s=t.components||1;return n=Math.max(n,a),r+=a*s,{name:t.name,type:t.type,components:s,offset:o}})),size:oi(r,Math.max(n,e)),alignment:e}}function oi(t,e){return Math.ceil(t/e)*e}ii.serialize=function(t,e){return t._trim(),e&&(t.isTransferred=!0,e.push(t.arrayBuffer)),{length:t.length,arrayBuffer:t.arrayBuffer}},ii.deserialize=function(t){var e=Object.create(this.prototype);return e.arrayBuffer=t.arrayBuffer,e.length=t.length,e.capacity=t.arrayBuffer.byteLength/e.bytesPerElement,e._refreshViews(),e},ii.prototype._trim=function(){this.length!==this.capacity&&(this.capacity=this.length,this.arrayBuffer=this.arrayBuffer.slice(0,this.length*this.bytesPerElement),this._refreshViews());},ii.prototype.clear=function(){this.length=0;},ii.prototype.resize=function(t){this.reserve(t),this.length=t;},ii.prototype.reserve=function(t){if(t>this.capacity){this.capacity=Math.max(t,Math.floor(5*this.capacity),128),this.arrayBuffer=new ArrayBuffer(this.capacity*this.bytesPerElement);var e=this.uint8;this._refreshViews(),e&&this.uint8.set(e);}},ii.prototype._refreshViews=function(){throw new Error("_refreshViews() must be implemented by each concrete StructArray layout")};var si=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var n=2*t;return this.int16[n+0]=e,this.int16[n+1]=r,t},e}(ii);si.prototype.bytesPerElement=4,xn("StructArrayLayout2i4",si);var ui=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r,n)},e.prototype.emplace=function(t,e,r,n,i){var a=4*t;return this.int16[a+0]=e,this.int16[a+1]=r,this.int16[a+2]=n,this.int16[a+3]=i,t},e}(ii);ui.prototype.bytesPerElement=8,xn("StructArrayLayout4i8",ui);var li=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n,i,a){var o=this.length;return this.resize(o+1),this.emplace(o,t,e,r,n,i,a)},e.prototype.emplace=function(t,e,r,n,i,a,o){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=n,this.int16[s+3]=i,this.int16[s+4]=a,this.int16[s+5]=o,t},e}(ii);li.prototype.bytesPerElement=12,xn("StructArrayLayout2i4i12",li);var pi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n,i,a){var o=this.length;return this.resize(o+1),this.emplace(o,t,e,r,n,i,a)},e.prototype.emplace=function(t,e,r,n,i,a,o){var s=4*t,u=8*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.uint8[u+4]=n,this.uint8[u+5]=i,this.uint8[u+6]=a,this.uint8[u+7]=o,t},e}(ii);pi.prototype.bytesPerElement=8,xn("StructArrayLayout2i4ub8",pi);var ci=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,n,i,a,o,s)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,u){var l=8*t;return this.uint16[l+0]=e,this.uint16[l+1]=r,this.uint16[l+2]=n,this.uint16[l+3]=i,this.uint16[l+4]=a,this.uint16[l+5]=o,this.uint16[l+6]=s,this.uint16[l+7]=u,t},e}(ii);ci.prototype.bytesPerElement=16,xn("StructArrayLayout8ui16",ci);var hi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s){var u=this.length;return this.resize(u+1),this.emplace(u,t,e,r,n,i,a,o,s)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,u){var l=8*t;return this.int16[l+0]=e,this.int16[l+1]=r,this.int16[l+2]=n,this.int16[l+3]=i,this.uint16[l+4]=a,this.uint16[l+5]=o,this.uint16[l+6]=s,this.uint16[l+7]=u,t},e}(ii);hi.prototype.bytesPerElement=16,xn("StructArrayLayout4i4ui16",hi);var fi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)},e.prototype.emplace=function(t,e,r,n){var i=3*t;return this.float32[i+0]=e,this.float32[i+1]=r,this.float32[i+2]=n,t},e}(ii);fi.prototype.bytesPerElement=12,xn("StructArrayLayout3f12",fi);var yi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint32[r+0]=e,t},e}(ii);yi.prototype.bytesPerElement=4,xn("StructArrayLayout1ul4",yi);var di=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s,u,l,p){var c=this.length;return this.resize(c+1),this.emplace(c,t,e,r,n,i,a,o,s,u,l,p)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,u,l,p,c){var h=12*t,f=6*t;return this.int16[h+0]=e,this.int16[h+1]=r,this.int16[h+2]=n,this.int16[h+3]=i,this.int16[h+4]=a,this.int16[h+5]=o,this.uint32[f+3]=s,this.uint16[h+8]=u,this.uint16[h+9]=l,this.int16[h+10]=p,this.int16[h+11]=c,t},e}(ii);di.prototype.bytesPerElement=24,xn("StructArrayLayout6i1ul2ui2i24",di);var mi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n,i,a){var o=this.length;return this.resize(o+1),this.emplace(o,t,e,r,n,i,a)},e.prototype.emplace=function(t,e,r,n,i,a,o){var s=6*t;return this.int16[s+0]=e,this.int16[s+1]=r,this.int16[s+2]=n,this.int16[s+3]=i,this.int16[s+4]=a,this.int16[s+5]=o,t},e}(ii);mi.prototype.bytesPerElement=12,xn("StructArrayLayout2i2i2i12",mi);var vi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r,n)},e.prototype.emplace=function(t,e,r,n,i){var a=12*t,o=3*t;return this.uint8[a+0]=e,this.uint8[a+1]=r,this.float32[o+1]=n,this.float32[o+2]=i,t},e}(ii);vi.prototype.bytesPerElement=12,xn("StructArrayLayout2ub2f12",vi);var gi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s,u,l,p,c,h,f,y,d,m){var v=this.length;return this.resize(v+1),this.emplace(v,t,e,r,n,i,a,o,s,u,l,p,c,h,f,y,d,m)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,u,l,p,c,h,f,y,d,m,v){var g=24*t,x=12*t,b=48*t;return this.int16[g+0]=e,this.int16[g+1]=r,this.uint16[g+2]=n,this.uint16[g+3]=i,this.uint32[x+2]=a,this.uint32[x+3]=o,this.uint32[x+4]=s,this.uint16[g+10]=u,this.uint16[g+11]=l,this.uint16[g+12]=p,this.float32[x+7]=c,this.float32[x+8]=h,this.uint8[b+36]=f,this.uint8[b+37]=y,this.uint8[b+38]=d,this.uint32[x+10]=m,this.int16[g+22]=v,t},e}(ii);gi.prototype.bytesPerElement=48,xn("StructArrayLayout2i2ui3ul3ui2f3ub1ul1i48",gi);var xi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n,i,a,o,s,u,l,p,c,h,f,y,d,m,v,g,x,b,_,w,A,k,S){var I=this.length;return this.resize(I+1),this.emplace(I,t,e,r,n,i,a,o,s,u,l,p,c,h,f,y,d,m,v,g,x,b,_,w,A,k,S)},e.prototype.emplace=function(t,e,r,n,i,a,o,s,u,l,p,c,h,f,y,d,m,v,g,x,b,_,w,A,k,S,I){var z=30*t,C=15*t;return this.int16[z+0]=e,this.int16[z+1]=r,this.int16[z+2]=n,this.int16[z+3]=i,this.int16[z+4]=a,this.int16[z+5]=o,this.int16[z+6]=s,this.int16[z+7]=u,this.uint16[z+8]=l,this.uint16[z+9]=p,this.uint16[z+10]=c,this.uint16[z+11]=h,this.uint16[z+12]=f,this.uint16[z+13]=y,this.uint16[z+14]=d,this.uint16[z+15]=m,this.uint16[z+16]=v,this.uint16[z+17]=g,this.uint16[z+18]=x,this.uint16[z+19]=b,this.uint16[z+20]=_,this.uint16[z+21]=w,this.uint32[C+11]=A,this.float32[C+12]=k,this.float32[C+13]=S,this.float32[C+14]=I,t},e}(ii);xi.prototype.bytesPerElement=60,xn("StructArrayLayout8i14ui1ul3f60",xi);var bi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.float32[r+0]=e,t},e}(ii);bi.prototype.bytesPerElement=4,xn("StructArrayLayout1f4",bi);var _i=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.int16=new Int16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)},e.prototype.emplace=function(t,e,r,n){var i=3*t;return this.int16[i+0]=e,this.int16[i+1]=r,this.int16[i+2]=n,t},e}(ii);_i.prototype.bytesPerElement=6,xn("StructArrayLayout3i6",_i);var wi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint32=new Uint32Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)},e.prototype.emplace=function(t,e,r,n){var i=2*t,a=4*t;return this.uint32[i+0]=e,this.uint16[a+2]=r,this.uint16[a+3]=n,t},e}(ii);wi.prototype.bytesPerElement=8,xn("StructArrayLayout1ul2ui8",wi);var Ai=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r){var n=this.length;return this.resize(n+1),this.emplace(n,t,e,r)},e.prototype.emplace=function(t,e,r,n){var i=3*t;return this.uint16[i+0]=e,this.uint16[i+1]=r,this.uint16[i+2]=n,t},e}(ii);Ai.prototype.bytesPerElement=6,xn("StructArrayLayout3ui6",Ai);var ki=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var n=2*t;return this.uint16[n+0]=e,this.uint16[n+1]=r,t},e}(ii);ki.prototype.bytesPerElement=4,xn("StructArrayLayout2ui4",ki);var Si=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.uint16=new Uint16Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t){var e=this.length;return this.resize(e+1),this.emplace(e,t)},e.prototype.emplace=function(t,e){var r=1*t;return this.uint16[r+0]=e,t},e}(ii);Si.prototype.bytesPerElement=2,xn("StructArrayLayout1ui2",Si);var Ii=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e){var r=this.length;return this.resize(r+1),this.emplace(r,t,e)},e.prototype.emplace=function(t,e,r){var n=2*t;return this.float32[n+0]=e,this.float32[n+1]=r,t},e}(ii);Ii.prototype.bytesPerElement=8,xn("StructArrayLayout2f8",Ii);var zi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._refreshViews=function(){this.uint8=new Uint8Array(this.arrayBuffer),this.float32=new Float32Array(this.arrayBuffer);},e.prototype.emplaceBack=function(t,e,r,n){var i=this.length;return this.resize(i+1),this.emplace(i,t,e,r,n)},e.prototype.emplace=function(t,e,r,n,i){var a=4*t;return this.float32[a+0]=e,this.float32[a+1]=r,this.float32[a+2]=n,this.float32[a+3]=i,t},e}(ii);zi.prototype.bytesPerElement=16,xn("StructArrayLayout4f16",zi);var Ci=function(t){function e(){t.apply(this,arguments);}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorPointX:{configurable:!0},anchorPointY:{configurable:!0},x1:{configurable:!0},y1:{configurable:!0},x2:{configurable:!0},y2:{configurable:!0},featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0},radius:{configurable:!0},signedDistanceFromAnchor:{configurable:!0},anchorPoint:{configurable:!0}};return r.anchorPointX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorPointX.set=function(t){this._structArray.int16[this._pos2+0]=t;},r.anchorPointY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorPointY.set=function(t){this._structArray.int16[this._pos2+1]=t;},r.x1.get=function(){return this._structArray.int16[this._pos2+2]},r.x1.set=function(t){this._structArray.int16[this._pos2+2]=t;},r.y1.get=function(){return this._structArray.int16[this._pos2+3]},r.y1.set=function(t){this._structArray.int16[this._pos2+3]=t;},r.x2.get=function(){return this._structArray.int16[this._pos2+4]},r.x2.set=function(t){this._structArray.int16[this._pos2+4]=t;},r.y2.get=function(){return this._structArray.int16[this._pos2+5]},r.y2.set=function(t){this._structArray.int16[this._pos2+5]=t;},r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t;},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+8]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+8]=t;},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t;},r.radius.get=function(){return this._structArray.int16[this._pos2+10]},r.radius.set=function(t){this._structArray.int16[this._pos2+10]=t;},r.signedDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+11]},r.signedDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+11]=t;},r.anchorPoint.get=function(){return new i(this.anchorPointX,this.anchorPointY)},Object.defineProperties(e.prototype,r),e}(ni);Ci.prototype.size=24;var Bi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new Ci(this,t)},e}(di);xn("CollisionBoxArray",Bi);var Pi=function(t){function e(){t.apply(this,arguments);}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},glyphStartIndex:{configurable:!0},numGlyphs:{configurable:!0},vertexStartIndex:{configurable:!0},lineStartIndex:{configurable:!0},lineLength:{configurable:!0},segment:{configurable:!0},lowerSize:{configurable:!0},upperSize:{configurable:!0},lineOffsetX:{configurable:!0},lineOffsetY:{configurable:!0},writingMode:{configurable:!0},placedOrientation:{configurable:!0},hidden:{configurable:!0},crossTileID:{configurable:!0},associatedIconIndex:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t;},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t;},r.glyphStartIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.glyphStartIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t;},r.numGlyphs.get=function(){return this._structArray.uint16[this._pos2+3]},r.numGlyphs.set=function(t){this._structArray.uint16[this._pos2+3]=t;},r.vertexStartIndex.get=function(){return this._structArray.uint32[this._pos4+2]},r.vertexStartIndex.set=function(t){this._structArray.uint32[this._pos4+2]=t;},r.lineStartIndex.get=function(){return this._structArray.uint32[this._pos4+3]},r.lineStartIndex.set=function(t){this._structArray.uint32[this._pos4+3]=t;},r.lineLength.get=function(){return this._structArray.uint32[this._pos4+4]},r.lineLength.set=function(t){this._structArray.uint32[this._pos4+4]=t;},r.segment.get=function(){return this._structArray.uint16[this._pos2+10]},r.segment.set=function(t){this._structArray.uint16[this._pos2+10]=t;},r.lowerSize.get=function(){return this._structArray.uint16[this._pos2+11]},r.lowerSize.set=function(t){this._structArray.uint16[this._pos2+11]=t;},r.upperSize.get=function(){return this._structArray.uint16[this._pos2+12]},r.upperSize.set=function(t){this._structArray.uint16[this._pos2+12]=t;},r.lineOffsetX.get=function(){return this._structArray.float32[this._pos4+7]},r.lineOffsetX.set=function(t){this._structArray.float32[this._pos4+7]=t;},r.lineOffsetY.get=function(){return this._structArray.float32[this._pos4+8]},r.lineOffsetY.set=function(t){this._structArray.float32[this._pos4+8]=t;},r.writingMode.get=function(){return this._structArray.uint8[this._pos1+36]},r.writingMode.set=function(t){this._structArray.uint8[this._pos1+36]=t;},r.placedOrientation.get=function(){return this._structArray.uint8[this._pos1+37]},r.placedOrientation.set=function(t){this._structArray.uint8[this._pos1+37]=t;},r.hidden.get=function(){return this._structArray.uint8[this._pos1+38]},r.hidden.set=function(t){this._structArray.uint8[this._pos1+38]=t;},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+10]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+10]=t;},r.associatedIconIndex.get=function(){return this._structArray.int16[this._pos2+22]},r.associatedIconIndex.set=function(t){this._structArray.int16[this._pos2+22]=t;},Object.defineProperties(e.prototype,r),e}(ni);Pi.prototype.size=48;var Ei=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new Pi(this,t)},e}(gi);xn("PlacedSymbolArray",Ei);var Mi=function(t){function e(){t.apply(this,arguments);}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={anchorX:{configurable:!0},anchorY:{configurable:!0},rightJustifiedTextSymbolIndex:{configurable:!0},centerJustifiedTextSymbolIndex:{configurable:!0},leftJustifiedTextSymbolIndex:{configurable:!0},verticalPlacedTextSymbolIndex:{configurable:!0},placedIconSymbolIndex:{configurable:!0},verticalPlacedIconSymbolIndex:{configurable:!0},key:{configurable:!0},textBoxStartIndex:{configurable:!0},textBoxEndIndex:{configurable:!0},verticalTextBoxStartIndex:{configurable:!0},verticalTextBoxEndIndex:{configurable:!0},iconBoxStartIndex:{configurable:!0},iconBoxEndIndex:{configurable:!0},verticalIconBoxStartIndex:{configurable:!0},verticalIconBoxEndIndex:{configurable:!0},featureIndex:{configurable:!0},numHorizontalGlyphVertices:{configurable:!0},numVerticalGlyphVertices:{configurable:!0},numIconVertices:{configurable:!0},numVerticalIconVertices:{configurable:!0},crossTileID:{configurable:!0},textBoxScale:{configurable:!0},textOffset0:{configurable:!0},textOffset1:{configurable:!0}};return r.anchorX.get=function(){return this._structArray.int16[this._pos2+0]},r.anchorX.set=function(t){this._structArray.int16[this._pos2+0]=t;},r.anchorY.get=function(){return this._structArray.int16[this._pos2+1]},r.anchorY.set=function(t){this._structArray.int16[this._pos2+1]=t;},r.rightJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+2]},r.rightJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+2]=t;},r.centerJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+3]},r.centerJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+3]=t;},r.leftJustifiedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+4]},r.leftJustifiedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+4]=t;},r.verticalPlacedTextSymbolIndex.get=function(){return this._structArray.int16[this._pos2+5]},r.verticalPlacedTextSymbolIndex.set=function(t){this._structArray.int16[this._pos2+5]=t;},r.placedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+6]},r.placedIconSymbolIndex.set=function(t){this._structArray.int16[this._pos2+6]=t;},r.verticalPlacedIconSymbolIndex.get=function(){return this._structArray.int16[this._pos2+7]},r.verticalPlacedIconSymbolIndex.set=function(t){this._structArray.int16[this._pos2+7]=t;},r.key.get=function(){return this._structArray.uint16[this._pos2+8]},r.key.set=function(t){this._structArray.uint16[this._pos2+8]=t;},r.textBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+9]},r.textBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+9]=t;},r.textBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+10]},r.textBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+10]=t;},r.verticalTextBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+11]},r.verticalTextBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+11]=t;},r.verticalTextBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+12]},r.verticalTextBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+12]=t;},r.iconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+13]},r.iconBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+13]=t;},r.iconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+14]},r.iconBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+14]=t;},r.verticalIconBoxStartIndex.get=function(){return this._structArray.uint16[this._pos2+15]},r.verticalIconBoxStartIndex.set=function(t){this._structArray.uint16[this._pos2+15]=t;},r.verticalIconBoxEndIndex.get=function(){return this._structArray.uint16[this._pos2+16]},r.verticalIconBoxEndIndex.set=function(t){this._structArray.uint16[this._pos2+16]=t;},r.featureIndex.get=function(){return this._structArray.uint16[this._pos2+17]},r.featureIndex.set=function(t){this._structArray.uint16[this._pos2+17]=t;},r.numHorizontalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+18]},r.numHorizontalGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+18]=t;},r.numVerticalGlyphVertices.get=function(){return this._structArray.uint16[this._pos2+19]},r.numVerticalGlyphVertices.set=function(t){this._structArray.uint16[this._pos2+19]=t;},r.numIconVertices.get=function(){return this._structArray.uint16[this._pos2+20]},r.numIconVertices.set=function(t){this._structArray.uint16[this._pos2+20]=t;},r.numVerticalIconVertices.get=function(){return this._structArray.uint16[this._pos2+21]},r.numVerticalIconVertices.set=function(t){this._structArray.uint16[this._pos2+21]=t;},r.crossTileID.get=function(){return this._structArray.uint32[this._pos4+11]},r.crossTileID.set=function(t){this._structArray.uint32[this._pos4+11]=t;},r.textBoxScale.get=function(){return this._structArray.float32[this._pos4+12]},r.textBoxScale.set=function(t){this._structArray.float32[this._pos4+12]=t;},r.textOffset0.get=function(){return this._structArray.float32[this._pos4+13]},r.textOffset0.set=function(t){this._structArray.float32[this._pos4+13]=t;},r.textOffset1.get=function(){return this._structArray.float32[this._pos4+14]},r.textOffset1.set=function(t){this._structArray.float32[this._pos4+14]=t;},Object.defineProperties(e.prototype,r),e}(ni);Mi.prototype.size=60;var Ti=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new Mi(this,t)},e}(xi);xn("SymbolInstanceArray",Ti);var Vi=function(t){function e(){t.apply(this,arguments);}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={offsetX:{configurable:!0}};return r.offsetX.get=function(){return this._structArray.float32[this._pos4+0]},r.offsetX.set=function(t){this._structArray.float32[this._pos4+0]=t;},Object.defineProperties(e.prototype,r),e}(ni);Vi.prototype.size=4;var Fi=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getoffsetX=function(t){return this.float32[1*t+0]},e.prototype.get=function(t){return new Vi(this,t)},e}(bi);xn("GlyphOffsetArray",Fi);var Oi=function(t){function e(){t.apply(this,arguments);}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={x:{configurable:!0},y:{configurable:!0},tileUnitDistanceFromAnchor:{configurable:!0}};return r.x.get=function(){return this._structArray.int16[this._pos2+0]},r.x.set=function(t){this._structArray.int16[this._pos2+0]=t;},r.y.get=function(){return this._structArray.int16[this._pos2+1]},r.y.set=function(t){this._structArray.int16[this._pos2+1]=t;},r.tileUnitDistanceFromAnchor.get=function(){return this._structArray.int16[this._pos2+2]},r.tileUnitDistanceFromAnchor.set=function(t){this._structArray.int16[this._pos2+2]=t;},Object.defineProperties(e.prototype,r),e}(ni);Oi.prototype.size=6;var Li=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getx=function(t){return this.int16[3*t+0]},e.prototype.gety=function(t){return this.int16[3*t+1]},e.prototype.gettileUnitDistanceFromAnchor=function(t){return this.int16[3*t+2]},e.prototype.get=function(t){return new Oi(this,t)},e}(_i);xn("SymbolLineVertexArray",Li);var Di=function(t){function e(){t.apply(this,arguments);}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={featureIndex:{configurable:!0},sourceLayerIndex:{configurable:!0},bucketIndex:{configurable:!0}};return r.featureIndex.get=function(){return this._structArray.uint32[this._pos4+0]},r.featureIndex.set=function(t){this._structArray.uint32[this._pos4+0]=t;},r.sourceLayerIndex.get=function(){return this._structArray.uint16[this._pos2+2]},r.sourceLayerIndex.set=function(t){this._structArray.uint16[this._pos2+2]=t;},r.bucketIndex.get=function(){return this._structArray.uint16[this._pos2+3]},r.bucketIndex.set=function(t){this._structArray.uint16[this._pos2+3]=t;},Object.defineProperties(e.prototype,r),e}(ni);Di.prototype.size=8;var Ui=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.get=function(t){return new Di(this,t)},e}(wi);xn("FeatureIndexArray",Ui);var Ri=ai([{name:"a_pos",components:2,type:"Int16"}],4).members,ji=function(t){void 0===t&&(t=[]),this.segments=t;};function qi(t,e){return 256*(t=l(Math.floor(t),0,255))+(e=l(Math.floor(e),0,255))}ji.prototype.prepareSegment=function(t,e,r,n){var i=this.segments[this.segments.length-1];return t>ji.MAX_VERTEX_ARRAY_LENGTH&&w("Max vertices per segment is "+ji.MAX_VERTEX_ARRAY_LENGTH+": bucket requested "+t),(!i||i.vertexLength+t>ji.MAX_VERTEX_ARRAY_LENGTH||i.sortKey!==n)&&(i={vertexOffset:e.length,primitiveOffset:r.length,vertexLength:0,primitiveLength:0},void 0!==n&&(i.sortKey=n),this.segments.push(i)),i},ji.prototype.get=function(){return this.segments},ji.prototype.destroy=function(){for(var t=0,e=this.segments;t<e.length;t+=1){var r=e[t];for(var n in r.vaos)r.vaos[n].destroy();}},ji.simpleSegment=function(t,e,r,n){return new ji([{vertexOffset:t,primitiveOffset:e,vertexLength:r,primitiveLength:n,vaos:{},sortKey:0}])},ji.MAX_VERTEX_ARRAY_LENGTH=Math.pow(2,16)-1,xn("SegmentVector",ji);var Ni=function(){this.ids=[],this.positions=[],this.indexed=!1;};function Ki(t,e,r){var n=t[e];t[e]=t[r],t[r]=n;}Ni.prototype.add=function(t,e,r,n){this.ids.push(t),this.positions.push(e,r,n);},Ni.prototype.getPositions=function(t){for(var e=0,r=this.ids.length-1;e<r;){var n=e+r>>1;this.ids[n]>=t?r=n:e=n+1;}for(var i=[];this.ids[e]===t;){var a=this.positions[3*e],o=this.positions[3*e+1],s=this.positions[3*e+2];i.push({index:a,start:o,end:s}),e++;}return i},Ni.serialize=function(t,e){var r=new Float64Array(t.ids),n=new Uint32Array(t.positions);return function t(e,r,n,i){if(n>=i)return;var a=e[n+i>>1];var o=n-1;var s=i+1;for(;;){do{o++;}while(e[o]<a);do{s--;}while(e[s]>a);if(o>=s)break;Ki(e,o,s),Ki(r,3*o,3*s),Ki(r,3*o+1,3*s+1),Ki(r,3*o+2,3*s+2);}t(e,r,n,s);t(e,r,s+1,i);}(r,n,0,r.length-1),e.push(r.buffer,n.buffer),{ids:r,positions:n}},Ni.deserialize=function(t){var e=new Ni;return e.ids=t.ids,e.positions=t.positions,e.indexed=!0,e},xn("FeaturePositionMap",Ni);var Zi=function(t,e){this.gl=t.gl,this.location=e;},Xi=function(t){function e(e,r){t.call(this,e,r),this.current=0;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1i(this.location,t));},e}(Zi),Gi=function(t){function e(e,r){t.call(this,e,r),this.current=0;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){this.current!==t&&(this.current=t,this.gl.uniform1f(this.location,t));},e}(Zi),Ji=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0];}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]||(this.current=t,this.gl.uniform2f(this.location,t[0],t[1]));},e}(Zi),Hi=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0];}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]||(this.current=t,this.gl.uniform3f(this.location,t[0],t[1],t[2]));},e}(Zi),Yi=function(t){function e(e,r){t.call(this,e,r),this.current=[0,0,0,0];}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t[0]===this.current[0]&&t[1]===this.current[1]&&t[2]===this.current[2]&&t[3]===this.current[3]||(this.current=t,this.gl.uniform4f(this.location,t[0],t[1],t[2],t[3]));},e}(Zi),$i=function(t){function e(e,r){t.call(this,e,r),this.current=Yt.transparent;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){t.r===this.current.r&&t.g===this.current.g&&t.b===this.current.b&&t.a===this.current.a||(this.current=t,this.gl.uniform4f(this.location,t.r,t.g,t.b,t.a));},e}(Zi),Wi=new Float32Array(16),Qi=function(t){function e(e,r){t.call(this,e,r),this.current=Wi;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t[12]!==this.current[12]||t[0]!==this.current[0])return this.current=t,void this.gl.uniformMatrix4fv(this.location,!1,t);for(var e=1;e<16;e++)if(t[e]!==this.current[e]){this.current=t,this.gl.uniformMatrix4fv(this.location,!1,t);break}},e}(Zi);function ta(t){return[qi(255*t.r,255*t.g),qi(255*t.b,255*t.a)]}var ea=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map((function(t){return "u_"+t})),this.type=r,this.maxValue=-1/0;};ea.prototype.defines=function(){return this.names.map((function(t){return "#define HAS_UNIFORM_u_"+t}))},ea.prototype.setConstantPatternPositions=function(){},ea.prototype.populatePaintArray=function(){},ea.prototype.updatePaintArray=function(){},ea.prototype.upload=function(){},ea.prototype.destroy=function(){},ea.prototype.setUniforms=function(t,e,r,n){e.set(n.constantOr(this.value));},ea.prototype.getBinding=function(t,e){return "color"===this.type?new $i(t,e):new Gi(t,e)},ea.serialize=function(t){var e=t.value,r=t.names,n=t.type;return{value:wn(e),names:r,type:n}},ea.deserialize=function(t){var e=t.value,r=t.names,n=t.type;return new ea(An(e),r,n)};var ra=function(t,e,r){this.value=t,this.names=e,this.uniformNames=this.names.map((function(t){return "u_"+t})),this.type=r,this.maxValue=-1/0,this.patternPositions={patternTo:null,patternFrom:null};};ra.prototype.defines=function(){return this.names.map((function(t){return "#define HAS_UNIFORM_u_"+t}))},ra.prototype.populatePaintArray=function(){},ra.prototype.updatePaintArray=function(){},ra.prototype.upload=function(){},ra.prototype.destroy=function(){},ra.prototype.setConstantPatternPositions=function(t,e){this.patternPositions.patternTo=t.tlbr,this.patternPositions.patternFrom=e.tlbr;},ra.prototype.setUniforms=function(t,e,r,n,i){var a=this.patternPositions;"u_pattern_to"===i&&a.patternTo&&e.set(a.patternTo),"u_pattern_from"===i&&a.patternFrom&&e.set(a.patternFrom);},ra.prototype.getBinding=function(t,e){return new Yi(t,e)};var na=function(t,e,r,n){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map((function(t){return "a_"+t})),this.maxValue=-1/0,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?2:1,offset:0}})),this.paintVertexArray=new n;};na.prototype.defines=function(){return[]},na.prototype.setConstantPatternPositions=function(){},na.prototype.populatePaintArray=function(t,e,r,n){var i=this.paintVertexArray,a=i.length;i.reserve(t);var o=this.expression.evaluate(new Rn(0),e,{},[],n);if("color"===this.type)for(var s=ta(o),u=a;u<t;u++)i.emplaceBack(s[0],s[1]);else{for(var l=a;l<t;l++)i.emplaceBack(o);this.maxValue=Math.max(this.maxValue,o);}},na.prototype.updatePaintArray=function(t,e,r,n){var i=this.paintVertexArray,a=this.expression.evaluate({zoom:0},r,n);if("color"===this.type)for(var o=ta(a),s=t;s<e;s++)i.emplace(s,o[0],o[1]);else{for(var u=t;u<e;u++)i.emplace(u,a);this.maxValue=Math.max(this.maxValue,a);}},na.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent));},na.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy();},na.prototype.setUniforms=function(t,e){e.set(0);},na.prototype.getBinding=function(t,e){return new Gi(t,e)};var ia=function(t,e,r,n,i,a){this.expression=t,this.names=e,this.uniformNames=this.names.map((function(t){return "u_"+t+"_t"})),this.type=r,this.useIntegerZoom=n,this.zoom=i,this.maxValue=-1/0;var o=a;this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Float32",components:"color"===r?4:2,offset:0}})),this.paintVertexArray=new o;};ia.prototype.defines=function(){return[]},ia.prototype.setConstantPatternPositions=function(){},ia.prototype.populatePaintArray=function(t,e,r,n){var i=this.paintVertexArray,a=i.length;i.reserve(t);var o=this.expression.evaluate(new Rn(this.zoom),e,{},[],n),s=this.expression.evaluate(new Rn(this.zoom+1),e,{},[],n);if("color"===this.type)for(var u=ta(o),l=ta(s),p=a;p<t;p++)i.emplaceBack(u[0],u[1],l[0],l[1]);else{for(var c=a;c<t;c++)i.emplaceBack(o,s);this.maxValue=Math.max(this.maxValue,o,s);}},ia.prototype.updatePaintArray=function(t,e,r,n){var i=this.paintVertexArray,a=this.expression.evaluate({zoom:this.zoom},r,n),o=this.expression.evaluate({zoom:this.zoom+1},r,n);if("color"===this.type)for(var s=ta(a),u=ta(o),l=t;l<e;l++)i.emplace(l,s[0],s[1],u[0],u[1]);else{for(var p=t;p<e;p++)i.emplace(p,a,o);this.maxValue=Math.max(this.maxValue,a,o);}},ia.prototype.upload=function(t){this.paintVertexArray&&this.paintVertexArray.arrayBuffer&&(this.paintVertexBuffer&&this.paintVertexBuffer.buffer?this.paintVertexBuffer.updateData(this.paintVertexArray):this.paintVertexBuffer=t.createVertexBuffer(this.paintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent));},ia.prototype.destroy=function(){this.paintVertexBuffer&&this.paintVertexBuffer.destroy();},ia.prototype.interpolationFactor=function(t){return this.useIntegerZoom&&(t=Math.floor(t)),l(this.expression.interpolationFactor(t,this.zoom,this.zoom+1),0,1)},ia.prototype.setUniforms=function(t,e,r){e.set(this.interpolationFactor(r.zoom));},ia.prototype.getBinding=function(t,e){return new Gi(t,e)};var aa=function(t,e,r,n,i,a,o){this.expression=t,this.names=e,this.type=r,this.uniformNames=this.names.map((function(t){return "u_"+t+"_t"})),this.useIntegerZoom=n,this.zoom=i,this.maxValue=-1/0,this.layerId=o,this.paintVertexAttributes=e.map((function(t){return{name:"a_"+t,type:"Uint16",components:4,offset:0}})),this.zoomInPaintVertexArray=new a,this.zoomOutPaintVertexArray=new a;};aa.prototype.defines=function(){return[]},aa.prototype.setConstantPatternPositions=function(){},aa.prototype.populatePaintArray=function(t,e,r){var n=this.zoomInPaintVertexArray,i=this.zoomOutPaintVertexArray,a=this.layerId,o=n.length;if(n.reserve(t),i.reserve(t),r&&e.patterns&&e.patterns[a]){var s=e.patterns[a],u=s.min,l=s.mid,p=s.max,c=r[u],h=r[l],f=r[p];if(!c||!h||!f)return;for(var y=o;y<t;y++)n.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],c.tl[0],c.tl[1],c.br[0],c.br[1]),i.emplaceBack(h.tl[0],h.tl[1],h.br[0],h.br[1],f.tl[0],f.tl[1],f.br[0],f.br[1]);}},aa.prototype.updatePaintArray=function(t,e,r,n,i){var a=this.zoomInPaintVertexArray,o=this.zoomOutPaintVertexArray,s=this.layerId;if(i&&r.patterns&&r.patterns[s]){var u=r.patterns[s],l=u.min,p=u.mid,c=u.max,h=i[l],f=i[p],y=i[c];if(!h||!f||!y)return;for(var d=t;d<e;d++)a.emplace(d,f.tl[0],f.tl[1],f.br[0],f.br[1],h.tl[0],h.tl[1],h.br[0],h.br[1]),o.emplace(d,f.tl[0],f.tl[1],f.br[0],f.br[1],y.tl[0],y.tl[1],y.br[0],y.br[1]);}},aa.prototype.upload=function(t){this.zoomInPaintVertexArray&&this.zoomInPaintVertexArray.arrayBuffer&&this.zoomOutPaintVertexArray&&this.zoomOutPaintVertexArray.arrayBuffer&&(this.zoomInPaintVertexBuffer=t.createVertexBuffer(this.zoomInPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent),this.zoomOutPaintVertexBuffer=t.createVertexBuffer(this.zoomOutPaintVertexArray,this.paintVertexAttributes,this.expression.isStateDependent));},aa.prototype.destroy=function(){this.zoomOutPaintVertexBuffer&&this.zoomOutPaintVertexBuffer.destroy(),this.zoomInPaintVertexBuffer&&this.zoomInPaintVertexBuffer.destroy();},aa.prototype.setUniforms=function(t,e){e.set(0);},aa.prototype.getBinding=function(t,e){return new Gi(t,e)};var oa=function(){this.binders={},this.cacheKey="",this._buffers=[],this._featureMap=new Ni,this._bufferOffset=0;};oa.createDynamic=function(t,e,r){var n=new oa,i=[];for(var a in t.paint._values)if(r(a)){var o=t.paint.get(a);if(o instanceof Gn&&dr(o.property.specification)){var s=ua(a,t.type),u=o.property.specification.type,l=o.property.useIntegerZoom;if("cross-faded"===o.property.specification["property-type"]||"cross-faded-data-driven"===o.property.specification["property-type"])if("constant"===o.value.kind)n.binders[a]=new ra(o.value.value,s,u),i.push("/u_"+a);else{var p=la(a,u,"source");n.binders[a]=new aa(o.value,s,u,l,e,p,t.id),i.push("/a_"+a);}else if("constant"===o.value.kind)n.binders[a]=new ea(o.value.value,s,u),i.push("/u_"+a);else if("source"===o.value.kind){var c=la(a,u,"source");n.binders[a]=new na(o.value,s,u,c),i.push("/a_"+a);}else{var h=la(a,u,"composite");n.binders[a]=new ia(o.value,s,u,l,e,h),i.push("/z_"+a);}}}return n.cacheKey=i.sort().join(""),n},oa.prototype.populatePaintArrays=function(t,e,r,n,i){for(var a in this.binders){this.binders[a].populatePaintArray(t,e,n,i);}void 0!==e.id&&this._featureMap.add(+e.id,r,this._bufferOffset,t),this._bufferOffset=t;},oa.prototype.setConstantPatternPositions=function(t,e){for(var r in this.binders){this.binders[r].setConstantPatternPositions(t,e);}},oa.prototype.updatePaintArrays=function(t,e,r,n){var i=!1;for(var a in t)for(var o=0,s=this._featureMap.getPositions(+a);o<s.length;o+=1){var u=s[o],l=e.feature(u.index);for(var p in this.binders){var c=this.binders[p];if(!(c instanceof ea||c instanceof ra)&&!0===c.expression.isStateDependent){var h=r.paint.get(p);c.expression=h.value,c.updatePaintArray(u.start,u.end,l,t[a],n),i=!0;}}}return i},oa.prototype.defines=function(){var t=[];for(var e in this.binders)t.push.apply(t,this.binders[e].defines());return t},oa.prototype.getPaintVertexBuffers=function(){return this._buffers},oa.prototype.getUniforms=function(t,e){var r=[];for(var n in this.binders)for(var i=this.binders[n],a=0,o=i.uniformNames;a<o.length;a+=1){var s=o[a];if(e[s]){var u=i.getBinding(t,e[s]);r.push({name:s,property:n,binding:u});}}return r},oa.prototype.setUniforms=function(t,e,r,n){for(var i=0,a=e;i<a.length;i+=1){var o=a[i],s=o.name,u=o.property,l=o.binding;this.binders[u].setUniforms(t,l,n,r.get(u),s);}},oa.prototype.updatePatternPaintBuffers=function(t){var e=[];for(var r in this.binders){var n=this.binders[r];if(n instanceof aa){var i=2===t.fromScale?n.zoomInPaintVertexBuffer:n.zoomOutPaintVertexBuffer;i&&e.push(i);}else(n instanceof na||n instanceof ia)&&n.paintVertexBuffer&&e.push(n.paintVertexBuffer);}this._buffers=e;},oa.prototype.upload=function(t){for(var e in this.binders)this.binders[e].upload(t);var r=[];for(var n in this.binders){var i=this.binders[n];(i instanceof na||i instanceof ia)&&i.paintVertexBuffer&&r.push(i.paintVertexBuffer);}this._buffers=r;},oa.prototype.destroy=function(){for(var t in this.binders)this.binders[t].destroy();};var sa=function(t,e,r,n){void 0===n&&(n=function(){return!0}),this.programConfigurations={};for(var i=0,a=e;i<a.length;i+=1){var o=a[i];this.programConfigurations[o.id]=oa.createDynamic(o,r,n),this.programConfigurations[o.id].layoutAttributes=t;}this.needsUpload=!1;};function ua(t,e){return{"text-opacity":["opacity"],"icon-opacity":["opacity"],"text-color":["fill_color"],"icon-color":["fill_color"],"text-halo-color":["halo_color"],"icon-halo-color":["halo_color"],"text-halo-blur":["halo_blur"],"icon-halo-blur":["halo_blur"],"text-halo-width":["halo_width"],"icon-halo-width":["halo_width"],"line-gap-width":["gapwidth"],"line-pattern":["pattern_to","pattern_from"],"fill-pattern":["pattern_to","pattern_from"],"fill-extrusion-pattern":["pattern_to","pattern_from"]}[t]||[t.replace(e+"-","").replace(/-/g,"_")]}function la(t,e,r){var n={color:{source:Ii,composite:zi},number:{source:bi,composite:Ii}},i=function(t){return{"line-pattern":{source:ci,composite:ci},"fill-pattern":{source:ci,composite:ci},"fill-extrusion-pattern":{source:ci,composite:ci}}[t]}(t);return i&&i[r]||n[e][r]}sa.prototype.populatePaintArrays=function(t,e,r,n,i){for(var a in this.programConfigurations)this.programConfigurations[a].populatePaintArrays(t,e,r,n,i);this.needsUpload=!0;},sa.prototype.updatePaintArrays=function(t,e,r,n){for(var i=0,a=r;i<a.length;i+=1){var o=a[i];this.needsUpload=this.programConfigurations[o.id].updatePaintArrays(t,e,o,n)||this.needsUpload;}},sa.prototype.get=function(t){return this.programConfigurations[t]},sa.prototype.upload=function(t){if(this.needsUpload){for(var e in this.programConfigurations)this.programConfigurations[e].upload(t);this.needsUpload=!1;}},sa.prototype.destroy=function(){for(var t in this.programConfigurations)this.programConfigurations[t].destroy();},xn("ConstantBinder",ea),xn("CrossFadedConstantBinder",ra),xn("SourceExpressionBinder",na),xn("CrossFadedCompositeBinder",aa),xn("CompositeExpressionBinder",ia),xn("ProgramConfiguration",oa,{omit:["_buffers"]}),xn("ProgramConfigurationSet",sa);var pa=8192;var ca,ha=(ca=15,{min:-1*Math.pow(2,ca-1),max:Math.pow(2,ca-1)-1});function fa(t){for(var e=pa/t.extent,r=t.loadGeometry(),n=0;n<r.length;n++)for(var i=r[n],a=0;a<i.length;a++){var o=i[a];o.x=Math.round(o.x*e),o.y=Math.round(o.y*e),(o.x<ha.min||o.x>ha.max||o.y<ha.min||o.y>ha.max)&&(w("Geometry exceeds allowed extent, reduce your vector tile buffer size"),o.x=l(o.x,ha.min,ha.max),o.y=l(o.y,ha.min,ha.max));}return r}function ya(t,e,r,n,i){t.emplaceBack(2*e+(n+1)/2,2*r+(i+1)/2);}var da=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new si,this.indexArray=new Ai,this.segments=new ji,this.programConfigurations=new sa(Ri,t.layers,t.zoom),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}));};function ma(t,e){for(var r=0;r<t.length;r++)if(Sa(e,t[r]))return!0;for(var n=0;n<e.length;n++)if(Sa(t,e[n]))return!0;return!!ba(t,e)}function va(t,e,r){return!!Sa(t,e)||!!wa(e,t,r)}function ga(t,e){if(1===t.length)return ka(e,t[0]);for(var r=0;r<e.length;r++)for(var n=e[r],i=0;i<n.length;i++)if(Sa(t,n[i]))return!0;for(var a=0;a<t.length;a++)if(ka(e,t[a]))return!0;for(var o=0;o<e.length;o++)if(ba(t,e[o]))return!0;return!1}function xa(t,e,r){if(t.length>1){if(ba(t,e))return!0;for(var n=0;n<e.length;n++)if(wa(e[n],t,r))return!0}for(var i=0;i<t.length;i++)if(wa(t[i],e,r))return!0;return!1}function ba(t,e){if(0===t.length||0===e.length)return!1;for(var r=0;r<t.length-1;r++)for(var n=t[r],i=t[r+1],a=0;a<e.length-1;a++){if(_a(n,i,e[a],e[a+1]))return!0}return!1}function _a(t,e,r,n){return A(t,r,n)!==A(e,r,n)&&A(t,e,r)!==A(t,e,n)}function wa(t,e,r){var n=r*r;if(1===e.length)return t.distSqr(e[0])<n;for(var i=1;i<e.length;i++){if(Aa(t,e[i-1],e[i])<n)return!0}return!1}function Aa(t,e,r){var n=e.distSqr(r);if(0===n)return t.distSqr(e);var i=((t.x-e.x)*(r.x-e.x)+(t.y-e.y)*(r.y-e.y))/n;return i<0?t.distSqr(e):i>1?t.distSqr(r):t.distSqr(r.sub(e)._mult(i)._add(e))}function ka(t,e){for(var r,n,i,a=!1,o=0;o<t.length;o++)for(var s=0,u=(r=t[o]).length-1;s<r.length;u=s++)n=r[s],i=r[u],n.y>e.y!=i.y>e.y&&e.x<(i.x-n.x)*(e.y-n.y)/(i.y-n.y)+n.x&&(a=!a);return a}function Sa(t,e){for(var r=!1,n=0,i=t.length-1;n<t.length;i=n++){var a=t[n],o=t[i];a.y>e.y!=o.y>e.y&&e.x<(o.x-a.x)*(e.y-a.y)/(o.y-a.y)+a.x&&(r=!r);}return r}function Ia(t,e,r){var n=r[0],i=r[2];if(t.x<n.x&&e.x<n.x||t.x>i.x&&e.x>i.x||t.y<n.y&&e.y<n.y||t.y>i.y&&e.y>i.y)return!1;var a=A(t,e,r[0]);return a!==A(t,e,r[1])||a!==A(t,e,r[2])||a!==A(t,e,r[3])}function za(t,e,r){var n=e.paint.get(t).value;return "constant"===n.kind?n.value:r.programConfigurations.get(e.id).binders[t].maxValue}function Ca(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Ba(t,e,r,n,a){if(!e[0]&&!e[1])return t;var o=i.convert(e)._mult(a);"viewport"===r&&o._rotate(-n);for(var s=[],u=0;u<t.length;u++){var l=t[u];s.push(l.sub(o));}return s}da.prototype.populate=function(t,e){var r=this.layers[0],n=[],i=null;"circle"===r.type&&(i=r.layout.get("circle-sort-key"));for(var a=0,o=t;a<o.length;a+=1){var s=o[a],u=s.feature,l=s.index,p=s.sourceLayerIndex;if(this.layers[0]._featureFilter(new Rn(this.zoom),u)){var c=fa(u),h=i?i.evaluate(u,{}):void 0,f={id:u.id,properties:u.properties,type:u.type,sourceLayerIndex:p,index:l,geometry:c,patterns:{},sortKey:h};n.push(f);}}i&&n.sort((function(t,e){return t.sortKey-e.sortKey}));for(var y=0,d=n;y<d.length;y+=1){var m=d[y],v=m,g=v.geometry,x=v.index,b=v.sourceLayerIndex,_=t[x].feature;this.addFeature(m,g,x),e.featureIndex.insert(_,g,x,b,this.index);}},da.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r);},da.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},da.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},da.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Ri),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;},da.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy());},da.prototype.addFeature=function(t,e,r){for(var n=0,i=e;n<i.length;n+=1)for(var a=0,o=i[n];a<o.length;a+=1){var s=o[a],u=s.x,l=s.y;if(!(u<0||u>=pa||l<0||l>=pa)){var p=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray,t.sortKey),c=p.vertexLength;ya(this.layoutVertexArray,u,l,-1,-1),ya(this.layoutVertexArray,u,l,1,-1),ya(this.layoutVertexArray,u,l,1,1),ya(this.layoutVertexArray,u,l,-1,1),this.indexArray.emplaceBack(c,c+1,c+2),this.indexArray.emplaceBack(c,c+3,c+2),p.vertexLength+=4,p.primitiveLength+=2;}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,{});},xn("CircleBucket",da,{omit:["layers"]});var Pa=new ti({"circle-sort-key":new Yn(It.layout_circle["circle-sort-key"])}),Ea={paint:new ti({"circle-radius":new Yn(It.paint_circle["circle-radius"]),"circle-color":new Yn(It.paint_circle["circle-color"]),"circle-blur":new Yn(It.paint_circle["circle-blur"]),"circle-opacity":new Yn(It.paint_circle["circle-opacity"]),"circle-translate":new Hn(It.paint_circle["circle-translate"]),"circle-translate-anchor":new Hn(It.paint_circle["circle-translate-anchor"]),"circle-pitch-scale":new Hn(It.paint_circle["circle-pitch-scale"]),"circle-pitch-alignment":new Hn(It.paint_circle["circle-pitch-alignment"]),"circle-stroke-width":new Yn(It.paint_circle["circle-stroke-width"]),"circle-stroke-color":new Yn(It.paint_circle["circle-stroke-color"]),"circle-stroke-opacity":new Yn(It.paint_circle["circle-stroke-opacity"])}),layout:Pa},Ma="undefined"!=typeof Float32Array?Float32Array:Array;Math.hypot||(Math.hypot=function(){for(var t=arguments,e=0,r=arguments.length;r--;)e+=t[r]*t[r];return Math.sqrt(e)});var Ta,Va;Ta=new Ma(3),Ma!=Float32Array&&(Ta[0]=0,Ta[1]=0,Ta[2]=0),Va=Ta;function Fa(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3];return t[0]=r[0]*n+r[4]*i+r[8]*a+r[12]*o,t[1]=r[1]*n+r[5]*i+r[9]*a+r[13]*o,t[2]=r[2]*n+r[6]*i+r[10]*a+r[14]*o,t[3]=r[3]*n+r[7]*i+r[11]*a+r[15]*o,t}!function(){var t=function(){var t=new Ma(4);return Ma!=Float32Array&&(t[0]=0,t[1]=0,t[2]=0,t[3]=0),t}();}();var Oa=function(t){function e(e){t.call(this,e,Ea);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new da(t)},e.prototype.queryRadius=function(t){var e=t;return za("circle-radius",this,e)+za("circle-stroke-width",this,e)+Ca(this.paint.get("circle-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,n,i,a,o,s){for(var u=Ba(t,this.paint.get("circle-translate"),this.paint.get("circle-translate-anchor"),a.angle,o),l=this.paint.get("circle-radius").evaluate(e,r)+this.paint.get("circle-stroke-width").evaluate(e,r),p="map"===this.paint.get("circle-pitch-alignment"),c=p?u:function(t,e){return t.map((function(t){return La(t,e)}))}(u,s),h=p?l*o:l,f=0,y=n;f<y.length;f+=1)for(var d=0,m=y[f];d<m.length;d+=1){var v=m[d],g=p?v:La(v,s),x=h,b=Fa([],[v.x,v.y,0,1],s);if("viewport"===this.paint.get("circle-pitch-scale")&&"map"===this.paint.get("circle-pitch-alignment")?x*=b[3]/a.cameraToCenterDistance:"map"===this.paint.get("circle-pitch-scale")&&"viewport"===this.paint.get("circle-pitch-alignment")&&(x*=a.cameraToCenterDistance/b[3]),va(c,g,x))return!0}return!1},e}(ei);function La(t,e){var r=Fa([],[t.x,t.y,0,1],e);return new i(r[0]/r[3],r[1]/r[3])}var Da=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(da);function Ua(t,e,r,n){var i=e.width,a=e.height;if(n){if(n instanceof Uint8ClampedArray)n=new Uint8Array(n.buffer);else if(n.length!==i*a*r)throw new RangeError("mismatched image size")}else n=new Uint8Array(i*a*r);return t.width=i,t.height=a,t.data=n,t}function Ra(t,e,r){var n=e.width,i=e.height;if(n!==t.width||i!==t.height){var a=Ua({},{width:n,height:i},r);ja(t,a,{x:0,y:0},{x:0,y:0},{width:Math.min(t.width,n),height:Math.min(t.height,i)},r),t.width=n,t.height=i,t.data=a.data;}}function ja(t,e,r,n,i,a){if(0===i.width||0===i.height)return e;if(i.width>t.width||i.height>t.height||r.x>t.width-i.width||r.y>t.height-i.height)throw new RangeError("out of range source coordinates for image copy");if(i.width>e.width||i.height>e.height||n.x>e.width-i.width||n.y>e.height-i.height)throw new RangeError("out of range destination coordinates for image copy");for(var o=t.data,s=e.data,u=0;u<i.height;u++)for(var l=((r.y+u)*t.width+r.x)*a,p=((n.y+u)*e.width+n.x)*a,c=0;c<i.width*a;c++)s[p+c]=o[l+c];return e}xn("HeatmapBucket",Da,{omit:["layers"]});var qa=function(t,e){Ua(this,t,1,e);};qa.prototype.resize=function(t){Ra(this,t,1);},qa.prototype.clone=function(){return new qa({width:this.width,height:this.height},new Uint8Array(this.data))},qa.copy=function(t,e,r,n,i){ja(t,e,r,n,i,1);};var Na=function(t,e){Ua(this,t,4,e);};Na.prototype.resize=function(t){Ra(this,t,4);},Na.prototype.replace=function(t,e){e?this.data.set(t):t instanceof Uint8ClampedArray?this.data=new Uint8Array(t.buffer):this.data=t;},Na.prototype.clone=function(){return new Na({width:this.width,height:this.height},new Uint8Array(this.data))},Na.copy=function(t,e,r,n,i){ja(t,e,r,n,i,4);},xn("AlphaImage",qa),xn("RGBAImage",Na);var Ka={paint:new ti({"heatmap-radius":new Yn(It.paint_heatmap["heatmap-radius"]),"heatmap-weight":new Yn(It.paint_heatmap["heatmap-weight"]),"heatmap-intensity":new Hn(It.paint_heatmap["heatmap-intensity"]),"heatmap-color":new Qn(It.paint_heatmap["heatmap-color"]),"heatmap-opacity":new Hn(It.paint_heatmap["heatmap-opacity"])})};function Za(t,e){for(var r=new Uint8Array(1024),n={},i=0,a=0;i<256;i++,a+=4){n[e]=i/255;var o=t.evaluate(n);r[a+0]=Math.floor(255*o.r/o.a),r[a+1]=Math.floor(255*o.g/o.a),r[a+2]=Math.floor(255*o.b/o.a),r[a+3]=Math.floor(255*o.a);}return new Na({width:256,height:1},r)}var Xa=function(t){function e(e){t.call(this,e,Ka),this._updateColorRamp();}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Da(t)},e.prototype._handleSpecialPaintPropertyUpdate=function(t){"heatmap-color"===t&&this._updateColorRamp();},e.prototype._updateColorRamp=function(){var t=this._transitionablePaint._values["heatmap-color"].value.expression;this.colorRamp=Za(t,"heatmapDensity"),this.colorRampTexture=null;},e.prototype.resize=function(){this.heatmapFbo&&(this.heatmapFbo.destroy(),this.heatmapFbo=null);},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("heatmap-opacity")&&"none"!==this.visibility},e}(ei),Ga={paint:new ti({"hillshade-illumination-direction":new Hn(It.paint_hillshade["hillshade-illumination-direction"]),"hillshade-illumination-anchor":new Hn(It.paint_hillshade["hillshade-illumination-anchor"]),"hillshade-exaggeration":new Hn(It.paint_hillshade["hillshade-exaggeration"]),"hillshade-shadow-color":new Hn(It.paint_hillshade["hillshade-shadow-color"]),"hillshade-highlight-color":new Hn(It.paint_hillshade["hillshade-highlight-color"]),"hillshade-accent-color":new Hn(It.paint_hillshade["hillshade-accent-color"])})},Ja=function(t){function e(e){t.call(this,e,Ga);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.hasOffscreenPass=function(){return 0!==this.paint.get("hillshade-exaggeration")&&"none"!==this.visibility},e}(ei),Ha=ai([{name:"a_pos",components:2,type:"Int16"}],4).members,Ya=Wa,$a=Wa;function Wa(t,e,r){r=r||2;var n,i,a,o,s,u,l,p=e&&e.length,c=p?e[0]*r:t.length,h=Qa(t,0,c,r,!0),f=[];if(!h||h.next===h.prev)return f;if(p&&(h=function(t,e,r,n){var i,a,o,s,u,l=[];for(i=0,a=e.length;i<a;i++)o=e[i]*n,s=i<a-1?e[i+1]*n:t.length,(u=Qa(t,o,s,n,!1))===u.next&&(u.steiner=!0),l.push(po(u));for(l.sort(oo),i=0;i<l.length;i++)so(l[i],r),r=to(r,r.next);return r}(t,e,h,r)),t.length>80*r){n=a=t[0],i=o=t[1];for(var y=r;y<c;y+=r)(s=t[y])<n&&(n=s),(u=t[y+1])<i&&(i=u),s>a&&(a=s),u>o&&(o=u);l=0!==(l=Math.max(a-n,o-i))?1/l:0;}return eo(h,f,r,n,i,l),f}function Qa(t,e,r,n,i){var a,o;if(i===ko(t,e,r,n)>0)for(a=e;a<r;a+=n)o=_o(a,t[a],t[a+1],o);else for(a=r-n;a>=e;a-=n)o=_o(a,t[a],t[a+1],o);return o&&yo(o,o.next)&&(wo(o),o=o.next),o}function to(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||!yo(n,n.next)&&0!==fo(n.prev,n,n.next))n=n.next;else{if(wo(n),(n=e=n.prev)===n.next)break;r=!0;}}while(r||n!==e);return e}function eo(t,e,r,n,i,a,o){if(t){!o&&a&&function(t,e,r,n){var i=t;do{null===i.z&&(i.z=lo(i.x,i.y,e,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next;}while(i!==t);i.prevZ.nextZ=null,i.prevZ=null,function(t){var e,r,n,i,a,o,s,u,l=1;do{for(r=t,t=null,a=null,o=0;r;){for(o++,n=r,s=0,e=0;e<l&&(s++,n=n.nextZ);e++);for(u=l;s>0||u>0&&n;)0!==s&&(0===u||!n||r.z<=n.z)?(i=r,r=r.nextZ,s--):(i=n,n=n.nextZ,u--),a?a.nextZ=i:t=i,i.prevZ=a,a=i;r=n;}a.nextZ=null,l*=2;}while(o>1)}(i);}(t,n,i,a);for(var s,u,l=t;t.prev!==t.next;)if(s=t.prev,u=t.next,a?no(t,n,i,a):ro(t))e.push(s.i/r),e.push(t.i/r),e.push(u.i/r),wo(t),t=u.next,l=u.next;else if((t=u)===l){o?1===o?eo(t=io(to(t),e,r),e,r,n,i,a,2):2===o&&ao(t,e,r,n,i,a):eo(to(t),e,r,n,i,a,1);break}}}function ro(t){var e=t.prev,r=t,n=t.next;if(fo(e,r,n)>=0)return!1;for(var i=t.next.next;i!==t.prev;){if(co(e.x,e.y,r.x,r.y,n.x,n.y,i.x,i.y)&&fo(i.prev,i,i.next)>=0)return!1;i=i.next;}return!0}function no(t,e,r,n){var i=t.prev,a=t,o=t.next;if(fo(i,a,o)>=0)return!1;for(var s=i.x<a.x?i.x<o.x?i.x:o.x:a.x<o.x?a.x:o.x,u=i.y<a.y?i.y<o.y?i.y:o.y:a.y<o.y?a.y:o.y,l=i.x>a.x?i.x>o.x?i.x:o.x:a.x>o.x?a.x:o.x,p=i.y>a.y?i.y>o.y?i.y:o.y:a.y>o.y?a.y:o.y,c=lo(s,u,e,r,n),h=lo(l,p,e,r,n),f=t.prevZ,y=t.nextZ;f&&f.z>=c&&y&&y.z<=h;){if(f!==t.prev&&f!==t.next&&co(i.x,i.y,a.x,a.y,o.x,o.y,f.x,f.y)&&fo(f.prev,f,f.next)>=0)return!1;if(f=f.prevZ,y!==t.prev&&y!==t.next&&co(i.x,i.y,a.x,a.y,o.x,o.y,y.x,y.y)&&fo(y.prev,y,y.next)>=0)return!1;y=y.nextZ;}for(;f&&f.z>=c;){if(f!==t.prev&&f!==t.next&&co(i.x,i.y,a.x,a.y,o.x,o.y,f.x,f.y)&&fo(f.prev,f,f.next)>=0)return!1;f=f.prevZ;}for(;y&&y.z<=h;){if(y!==t.prev&&y!==t.next&&co(i.x,i.y,a.x,a.y,o.x,o.y,y.x,y.y)&&fo(y.prev,y,y.next)>=0)return!1;y=y.nextZ;}return!0}function io(t,e,r){var n=t;do{var i=n.prev,a=n.next.next;!yo(i,a)&&mo(i,n,n.next,a)&&xo(i,a)&&xo(a,i)&&(e.push(i.i/r),e.push(n.i/r),e.push(a.i/r),wo(n),wo(n.next),n=t=a),n=n.next;}while(n!==t);return to(n)}function ao(t,e,r,n,i,a){var o=t;do{for(var s=o.next.next;s!==o.prev;){if(o.i!==s.i&&ho(o,s)){var u=bo(o,s);return o=to(o,o.next),u=to(u,u.next),eo(o,e,r,n,i,a),void eo(u,e,r,n,i,a)}s=s.next;}o=o.next;}while(o!==t)}function oo(t,e){return t.x-e.x}function so(t,e){if(e=function(t,e){var r,n=e,i=t.x,a=t.y,o=-1/0;do{if(a<=n.y&&a>=n.next.y&&n.next.y!==n.y){var s=n.x+(a-n.y)*(n.next.x-n.x)/(n.next.y-n.y);if(s<=i&&s>o){if(o=s,s===i){if(a===n.y)return n;if(a===n.next.y)return n.next}r=n.x<n.next.x?n:n.next;}}n=n.next;}while(n!==e);if(!r)return null;if(i===o)return r;var u,l=r,p=r.x,c=r.y,h=1/0;n=r;do{i>=n.x&&n.x>=p&&i!==n.x&&co(a<c?i:o,a,p,c,a<c?o:i,a,n.x,n.y)&&(u=Math.abs(a-n.y)/(i-n.x),xo(n,t)&&(u<h||u===h&&(n.x>r.x||n.x===r.x&&uo(r,n)))&&(r=n,h=u)),n=n.next;}while(n!==l);return r}(t,e)){var r=bo(e,t);to(r,r.next);}}function uo(t,e){return fo(t.prev,t,e.prev)<0&&fo(e.next,t,t.next)<0}function lo(t,e,r,n,i){return(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=32767*(t-r)*i)|t<<8))|t<<4))|t<<2))|t<<1))|(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=32767*(e-n)*i)|e<<8))|e<<4))|e<<2))|e<<1))<<1}function po(t){var e=t,r=t;do{(e.x<r.x||e.x===r.x&&e.y<r.y)&&(r=e),e=e.next;}while(e!==t);return r}function co(t,e,r,n,i,a,o,s){return(i-o)*(e-s)-(t-o)*(a-s)>=0&&(t-o)*(n-s)-(r-o)*(e-s)>=0&&(r-o)*(a-s)-(i-o)*(n-s)>=0}function ho(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!function(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.next.i!==e.i&&mo(r,r.next,t,e))return!0;r=r.next;}while(r!==t);return!1}(t,e)&&(xo(t,e)&&xo(e,t)&&function(t,e){var r=t,n=!1,i=(t.x+e.x)/2,a=(t.y+e.y)/2;do{r.y>a!=r.next.y>a&&r.next.y!==r.y&&i<(r.next.x-r.x)*(a-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next;}while(r!==t);return n}(t,e)&&(fo(t.prev,t,e.prev)||fo(t,e.prev,e))||yo(t,e)&&fo(t.prev,t,t.next)>0&&fo(e.prev,e,e.next)>0)}function fo(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}function yo(t,e){return t.x===e.x&&t.y===e.y}function mo(t,e,r,n){var i=go(fo(t,e,r)),a=go(fo(t,e,n)),o=go(fo(r,n,t)),s=go(fo(r,n,e));return i!==a&&o!==s||(!(0!==i||!vo(t,r,e))||(!(0!==a||!vo(t,n,e))||(!(0!==o||!vo(r,t,n))||!(0!==s||!vo(r,e,n)))))}function vo(t,e,r){return e.x<=Math.max(t.x,r.x)&&e.x>=Math.min(t.x,r.x)&&e.y<=Math.max(t.y,r.y)&&e.y>=Math.min(t.y,r.y)}function go(t){return t>0?1:t<0?-1:0}function xo(t,e){return fo(t.prev,t,t.next)<0?fo(t,e,t.next)>=0&&fo(t,t.prev,e)>=0:fo(t,e,t.prev)<0||fo(t,t.next,e)<0}function bo(t,e){var r=new Ao(t.i,t.x,t.y),n=new Ao(e.i,e.x,e.y),i=t.next,a=e.prev;return t.next=e,e.prev=t,r.next=i,i.prev=r,n.next=r,r.prev=n,a.next=n,n.prev=a,n}function _o(t,e,r,n){var i=new Ao(t,e,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function wo(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.nextZ=t.nextZ),t.nextZ&&(t.nextZ.prevZ=t.prevZ);}function Ao(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=null,this.z=null,this.prevZ=null,this.nextZ=null,this.steiner=!1;}function ko(t,e,r,n){for(var i=0,a=e,o=r-n;a<r;a+=n)i+=(t[o]-t[a])*(t[a+1]+t[o+1]),o=a;return i}function So(t,e,r,n,i){!function t(e,r,n,i,a){for(;i>n;){if(i-n>600){var o=i-n+1,s=r-n+1,u=Math.log(o),l=.5*Math.exp(2*u/3),p=.5*Math.sqrt(u*l*(o-l)/o)*(s-o/2<0?-1:1),c=Math.max(n,Math.floor(r-s*l/o+p)),h=Math.min(i,Math.floor(r+(o-s)*l/o+p));t(e,r,c,h,a);}var f=e[r],y=n,d=i;for(Io(e,n,r),a(e[i],f)>0&&Io(e,n,i);y<d;){for(Io(e,y,d),y++,d--;a(e[y],f)<0;)y++;for(;a(e[d],f)>0;)d--;}0===a(e[n],f)?Io(e,n,d):Io(e,++d,i),d<=r&&(n=d+1),r<=d&&(i=d-1);}}(t,e,r||0,n||t.length-1,i||zo);}function Io(t,e,r){var n=t[e];t[e]=t[r],t[r]=n;}function zo(t,e){return t<e?-1:t>e?1:0}function Co(t,e){var r=t.length;if(r<=1)return[t];for(var n,i,a=[],o=0;o<r;o++){var s=k(t[o]);0!==s&&(t[o].area=Math.abs(s),void 0===i&&(i=s<0),i===s<0?(n&&a.push(n),n=[t[o]]):n.push(t[o]));}if(n&&a.push(n),e>1)for(var u=0;u<a.length;u++)a[u].length<=e||(So(a[u],e,1,a[u].length-1,Bo),a[u]=a[u].slice(0,e));return a}function Bo(t,e){return e.area-t.area}function Po(t,e,r){for(var n=r.patternDependencies,i=!1,a=0,o=e;a<o.length;a+=1){var s=o[a].paint.get(t+"-pattern");s.isConstant()||(i=!0);var u=s.constantOr(null);u&&(i=!0,n[u.to]=!0,n[u.from]=!0);}return i}function Eo(t,e,r,n,i){for(var a=i.patternDependencies,o=0,s=e;o<s.length;o+=1){var u=s[o],l=u.paint.get(t+"-pattern").value;if("constant"!==l.kind){var p=l.evaluate({zoom:n-1},r,{},i.availableImages),c=l.evaluate({zoom:n},r,{},i.availableImages),h=l.evaluate({zoom:n+1},r,{},i.availableImages);p=p&&p.name?p.name:p,c=c&&c.name?c.name:c,h=h&&h.name?h.name:h,a[p]=!0,a[c]=!0,a[h]=!0,r.patterns[u.id]={min:p,mid:c,max:h};}}return r}Wa.deviation=function(t,e,r,n){var i=e&&e.length,a=i?e[0]*r:t.length,o=Math.abs(ko(t,0,a,r));if(i)for(var s=0,u=e.length;s<u;s++){var l=e[s]*r,p=s<u-1?e[s+1]*r:t.length;o-=Math.abs(ko(t,l,p,r));}var c=0;for(s=0;s<n.length;s+=3){var h=n[s]*r,f=n[s+1]*r,y=n[s+2]*r;c+=Math.abs((t[h]-t[y])*(t[f+1]-t[h+1])-(t[h]-t[f])*(t[y+1]-t[h+1]));}return 0===o&&0===c?0:Math.abs((c-o)/o)},Wa.flatten=function(t){for(var e=t[0][0].length,r={vertices:[],holes:[],dimensions:e},n=0,i=0;i<t.length;i++){for(var a=0;a<t[i].length;a++)for(var o=0;o<e;o++)r.vertices.push(t[i][a][o]);i>0&&(n+=t[i-1].length,r.holes.push(n));}return r},Ya.default=$a;var Mo=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new si,this.indexArray=new Ai,this.indexArray2=new ki,this.programConfigurations=new sa(Ha,t.layers,t.zoom),this.segments=new ji,this.segments2=new ji,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}));};Mo.prototype.populate=function(t,e){this.hasPattern=Po("fill",this.layers,e);for(var r=this.layers[0].layout.get("fill-sort-key"),n=[],i=0,a=t;i<a.length;i+=1){var o=a[i],s=o.feature,u=o.index,l=o.sourceLayerIndex;if(this.layers[0]._featureFilter(new Rn(this.zoom),s)){var p=fa(s),c=r?r.evaluate(s,{},e.availableImages):void 0,h={id:s.id,properties:s.properties,type:s.type,sourceLayerIndex:l,index:u,geometry:p,patterns:{},sortKey:c};n.push(h);}}r&&n.sort((function(t,e){return t.sortKey-e.sortKey}));for(var f=0,y=n;f<y.length;f+=1){var d=y[f],m=d,v=m.geometry,g=m.index,x=m.sourceLayerIndex;if(this.hasPattern){var b=Eo("fill",this.layers,d,this.zoom,e);this.patternFeatures.push(b);}else this.addFeature(d,v,g,{});var _=t[g].feature;e.featureIndex.insert(_,v,g,x,this.index);}},Mo.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r);},Mo.prototype.addFeatures=function(t,e){for(var r=0,n=this.patternFeatures;r<n.length;r+=1){var i=n[r];this.addFeature(i,i.geometry,i.index,e);}},Mo.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Mo.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Mo.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Ha),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.indexBuffer2=t.createIndexBuffer(this.indexArray2)),this.programConfigurations.upload(t),this.uploaded=!0;},Mo.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.indexBuffer2.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.segments2.destroy());},Mo.prototype.addFeature=function(t,e,r,n){for(var i=0,a=Co(e,500);i<a.length;i+=1){for(var o=a[i],s=0,u=0,l=o;u<l.length;u+=1){s+=l[u].length;}for(var p=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray),c=p.vertexLength,h=[],f=[],y=0,d=o;y<d.length;y+=1){var m=d[y];if(0!==m.length){m!==o[0]&&f.push(h.length/2);var v=this.segments2.prepareSegment(m.length,this.layoutVertexArray,this.indexArray2),g=v.vertexLength;this.layoutVertexArray.emplaceBack(m[0].x,m[0].y),this.indexArray2.emplaceBack(g+m.length-1,g),h.push(m[0].x),h.push(m[0].y);for(var x=1;x<m.length;x++)this.layoutVertexArray.emplaceBack(m[x].x,m[x].y),this.indexArray2.emplaceBack(g+x-1,g+x),h.push(m[x].x),h.push(m[x].y);v.vertexLength+=m.length,v.primitiveLength+=m.length;}}for(var b=Ya(h,f),_=0;_<b.length;_+=3)this.indexArray.emplaceBack(c+b[_],c+b[_+1],c+b[_+2]);p.vertexLength+=s,p.primitiveLength+=b.length/3;}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,n);},xn("FillBucket",Mo,{omit:["layers","patternFeatures"]});var To=new ti({"fill-sort-key":new Yn(It.layout_fill["fill-sort-key"])}),Vo={paint:new ti({"fill-antialias":new Hn(It.paint_fill["fill-antialias"]),"fill-opacity":new Yn(It.paint_fill["fill-opacity"]),"fill-color":new Yn(It.paint_fill["fill-color"]),"fill-outline-color":new Yn(It.paint_fill["fill-outline-color"]),"fill-translate":new Hn(It.paint_fill["fill-translate"]),"fill-translate-anchor":new Hn(It.paint_fill["fill-translate-anchor"]),"fill-pattern":new $n(It.paint_fill["fill-pattern"])}),layout:To},Fo=function(t){function e(e){t.call(this,e,Vo);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e,r){t.prototype.recalculate.call(this,e,r);var n=this.paint._values["fill-outline-color"];"constant"===n.value.kind&&void 0===n.value.value&&(this.paint._values["fill-outline-color"]=this.paint._values["fill-color"]);},e.prototype.createBucket=function(t){return new Mo(t)},e.prototype.queryRadius=function(){return Ca(this.paint.get("fill-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,n,i,a,o){return ga(Ba(t,this.paint.get("fill-translate"),this.paint.get("fill-translate-anchor"),a.angle,o),n)},e.prototype.isTileClipped=function(){return!0},e}(ei),Oo=ai([{name:"a_pos",components:2,type:"Int16"},{name:"a_normal_ed",components:4,type:"Int16"}],4).members,Lo=Do;function Do(t,e,r,n,i){this.properties={},this.extent=r,this.type=0,this._pbf=t,this._geometry=-1,this._keys=n,this._values=i,t.readFields(Uo,this,e);}function Uo(t,e,r){1==t?e.id=r.readVarint():2==t?function(t,e){var r=t.readVarint()+t.pos;for(;t.pos<r;){var n=e._keys[t.readVarint()],i=e._values[t.readVarint()];e.properties[n]=i;}}(r,e):3==t?e.type=r.readVarint():4==t&&(e._geometry=r.pos);}function Ro(t){for(var e,r,n=0,i=0,a=t.length,o=a-1;i<a;o=i++)e=t[i],n+=((r=t[o]).x-e.x)*(e.y+r.y);return n}Do.types=["Unknown","Point","LineString","Polygon"],Do.prototype.loadGeometry=function(){var t=this._pbf;t.pos=this._geometry;for(var e,r=t.readVarint()+t.pos,n=1,a=0,o=0,s=0,u=[];t.pos<r;){if(a<=0){var l=t.readVarint();n=7&l,a=l>>3;}if(a--,1===n||2===n)o+=t.readSVarint(),s+=t.readSVarint(),1===n&&(e&&u.push(e),e=[]),e.push(new i(o,s));else{if(7!==n)throw new Error("unknown command "+n);e&&e.push(e[0].clone());}}return e&&u.push(e),u},Do.prototype.bbox=function(){var t=this._pbf;t.pos=this._geometry;for(var e=t.readVarint()+t.pos,r=1,n=0,i=0,a=0,o=1/0,s=-1/0,u=1/0,l=-1/0;t.pos<e;){if(n<=0){var p=t.readVarint();r=7&p,n=p>>3;}if(n--,1===r||2===r)(i+=t.readSVarint())<o&&(o=i),i>s&&(s=i),(a+=t.readSVarint())<u&&(u=a),a>l&&(l=a);else if(7!==r)throw new Error("unknown command "+r)}return[o,u,s,l]},Do.prototype.toGeoJSON=function(t,e,r){var n,i,a=this.extent*Math.pow(2,r),o=this.extent*t,s=this.extent*e,u=this.loadGeometry(),l=Do.types[this.type];function p(t){for(var e=0;e<t.length;e++){var r=t[e],n=180-360*(r.y+s)/a;t[e]=[360*(r.x+o)/a-180,360/Math.PI*Math.atan(Math.exp(n*Math.PI/180))-90];}}switch(this.type){case 1:var c=[];for(n=0;n<u.length;n++)c[n]=u[n][0];p(u=c);break;case 2:for(n=0;n<u.length;n++)p(u[n]);break;case 3:for(u=function(t){var e=t.length;if(e<=1)return[t];for(var r,n,i=[],a=0;a<e;a++){var o=Ro(t[a]);0!==o&&(void 0===n&&(n=o<0),n===o<0?(r&&i.push(r),r=[t[a]]):r.push(t[a]));}r&&i.push(r);return i}(u),n=0;n<u.length;n++)for(i=0;i<u[n].length;i++)p(u[n][i]);}1===u.length?u=u[0]:l="Multi"+l;var h={type:"Feature",geometry:{type:l,coordinates:u},properties:this.properties};return "id"in this&&(h.id=this.id),h};var jo=qo;function qo(t,e){this.version=1,this.name=null,this.extent=4096,this.length=0,this._pbf=t,this._keys=[],this._values=[],this._features=[],t.readFields(No,this,e),this.length=this._features.length;}function No(t,e,r){15===t?e.version=r.readVarint():1===t?e.name=r.readString():5===t?e.extent=r.readVarint():2===t?e._features.push(r.pos):3===t?e._keys.push(r.readString()):4===t&&e._values.push(function(t){var e=null,r=t.readVarint()+t.pos;for(;t.pos<r;){var n=t.readVarint()>>3;e=1===n?t.readString():2===n?t.readFloat():3===n?t.readDouble():4===n?t.readVarint64():5===n?t.readVarint():6===n?t.readSVarint():7===n?t.readBoolean():null;}return e}(r));}function Ko(t,e,r){if(3===t){var n=new jo(r,r.readVarint()+r.pos);n.length&&(e[n.name]=n);}}qo.prototype.feature=function(t){if(t<0||t>=this._features.length)throw new Error("feature index out of bounds");this._pbf.pos=this._features[t];var e=this._pbf.readVarint()+this._pbf.pos;return new Lo(this._pbf,e,this.extent,this._keys,this._values)};var Zo={VectorTile:function(t,e){this.layers=t.readFields(Ko,{},e);},VectorTileFeature:Lo,VectorTileLayer:jo},Xo=Zo.VectorTileFeature.types,Go=Math.pow(2,13);function Jo(t,e,r,n,i,a,o,s){t.emplaceBack(e,r,2*Math.floor(n*Go)+o,i*Go*2,a*Go*2,Math.round(s));}var Ho=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.layoutVertexArray=new li,this.indexArray=new Ai,this.programConfigurations=new sa(Oo,t.layers,t.zoom),this.segments=new ji,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}));};function Yo(t,e){return t.x===e.x&&(t.x<0||t.x>pa)||t.y===e.y&&(t.y<0||t.y>pa)}function $o(t){return t.every((function(t){return t.x<0}))||t.every((function(t){return t.x>pa}))||t.every((function(t){return t.y<0}))||t.every((function(t){return t.y>pa}))}Ho.prototype.populate=function(t,e){this.features=[],this.hasPattern=Po("fill-extrusion",this.layers,e);for(var r=0,n=t;r<n.length;r+=1){var i=n[r],a=i.feature,o=i.index,s=i.sourceLayerIndex;if(this.layers[0]._featureFilter(new Rn(this.zoom),a)){var u=fa(a),l={sourceLayerIndex:s,index:o,geometry:u,properties:a.properties,type:a.type,patterns:{}};void 0!==a.id&&(l.id=a.id),this.hasPattern?this.features.push(Eo("fill-extrusion",this.layers,l,this.zoom,e)):this.addFeature(l,u,o,{}),e.featureIndex.insert(a,u,o,s,this.index,!0);}}},Ho.prototype.addFeatures=function(t,e){for(var r=0,n=this.features;r<n.length;r+=1){var i=n[r],a=i.geometry;this.addFeature(i,a,i.index,e);}},Ho.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r);},Ho.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},Ho.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},Ho.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,Oo),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;},Ho.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy());},Ho.prototype.addFeature=function(t,e,r,n){for(var i=0,a=Co(e,500);i<a.length;i+=1){for(var o=a[i],s=0,u=0,l=o;u<l.length;u+=1){s+=l[u].length;}for(var p=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray),c=0,h=o;c<h.length;c+=1){var f=h[c];if(0!==f.length&&!$o(f))for(var y=0,d=0;d<f.length;d++){var m=f[d];if(d>=1){var v=f[d-1];if(!Yo(m,v)){p.vertexLength+4>ji.MAX_VERTEX_ARRAY_LENGTH&&(p=this.segments.prepareSegment(4,this.layoutVertexArray,this.indexArray));var g=m.sub(v)._perp()._unit(),x=v.dist(m);y+x>32768&&(y=0),Jo(this.layoutVertexArray,m.x,m.y,g.x,g.y,0,0,y),Jo(this.layoutVertexArray,m.x,m.y,g.x,g.y,0,1,y),y+=x,Jo(this.layoutVertexArray,v.x,v.y,g.x,g.y,0,0,y),Jo(this.layoutVertexArray,v.x,v.y,g.x,g.y,0,1,y);var b=p.vertexLength;this.indexArray.emplaceBack(b,b+2,b+1),this.indexArray.emplaceBack(b+1,b+2,b+3),p.vertexLength+=4,p.primitiveLength+=2;}}}}if(p.vertexLength+s>ji.MAX_VERTEX_ARRAY_LENGTH&&(p=this.segments.prepareSegment(s,this.layoutVertexArray,this.indexArray)),"Polygon"===Xo[t.type]){for(var _=[],w=[],A=p.vertexLength,k=0,S=o;k<S.length;k+=1){var I=S[k];if(0!==I.length){I!==o[0]&&w.push(_.length/2);for(var z=0;z<I.length;z++){var C=I[z];Jo(this.layoutVertexArray,C.x,C.y,0,0,1,1,0),_.push(C.x),_.push(C.y);}}}for(var B=Ya(_,w),P=0;P<B.length;P+=3)this.indexArray.emplaceBack(A+B[P],A+B[P+2],A+B[P+1]);p.primitiveLength+=B.length/3,p.vertexLength+=s;}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,t,r,n);},xn("FillExtrusionBucket",Ho,{omit:["layers","features"]});var Wo={paint:new ti({"fill-extrusion-opacity":new Hn(It["paint_fill-extrusion"]["fill-extrusion-opacity"]),"fill-extrusion-color":new Yn(It["paint_fill-extrusion"]["fill-extrusion-color"]),"fill-extrusion-translate":new Hn(It["paint_fill-extrusion"]["fill-extrusion-translate"]),"fill-extrusion-translate-anchor":new Hn(It["paint_fill-extrusion"]["fill-extrusion-translate-anchor"]),"fill-extrusion-pattern":new $n(It["paint_fill-extrusion"]["fill-extrusion-pattern"]),"fill-extrusion-height":new Yn(It["paint_fill-extrusion"]["fill-extrusion-height"]),"fill-extrusion-base":new Yn(It["paint_fill-extrusion"]["fill-extrusion-base"]),"fill-extrusion-vertical-gradient":new Hn(It["paint_fill-extrusion"]["fill-extrusion-vertical-gradient"])})},Qo=function(t){function e(e){t.call(this,e,Wo);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.createBucket=function(t){return new Ho(t)},e.prototype.queryRadius=function(){return Ca(this.paint.get("fill-extrusion-translate"))},e.prototype.is3D=function(){return!0},e.prototype.queryIntersectsFeature=function(t,e,r,n,a,o,s,u){var l=Ba(t,this.paint.get("fill-extrusion-translate"),this.paint.get("fill-extrusion-translate-anchor"),o.angle,s),p=this.paint.get("fill-extrusion-height").evaluate(e,r),c=this.paint.get("fill-extrusion-base").evaluate(e,r),h=function(t,e,r,n){for(var a=[],o=0,s=t;o<s.length;o+=1){var u=s[o],l=[u.x,u.y,n,1];Fa(l,l,e),a.push(new i(l[0]/l[3],l[1]/l[3]));}return a}(l,u,0,0),f=function(t,e,r,n){for(var a=[],o=[],s=n[8]*e,u=n[9]*e,l=n[10]*e,p=n[11]*e,c=n[8]*r,h=n[9]*r,f=n[10]*r,y=n[11]*r,d=0,m=t;d<m.length;d+=1){for(var v=m[d],g=[],x=[],b=0,_=v;b<_.length;b+=1){var w=_[b],A=w.x,k=w.y,S=n[0]*A+n[4]*k+n[12],I=n[1]*A+n[5]*k+n[13],z=n[2]*A+n[6]*k+n[14],C=n[3]*A+n[7]*k+n[15],B=z+l,P=C+p,E=S+c,M=I+h,T=z+f,V=C+y,F=new i((S+s)/P,(I+u)/P);F.z=B/P,g.push(F);var O=new i(E/V,M/V);O.z=T/V,x.push(O);}a.push(g),o.push(x);}return[a,o]}(n,c,p,u);return function(t,e,r){var n=1/0;ga(r,e)&&(n=es(r,e[0]));for(var i=0;i<e.length;i++)for(var a=e[i],o=t[i],s=0;s<a.length-1;s++){var u=a[s],l=a[s+1],p=o[s],c=o[s+1],h=[u,l,c,p,u];ma(r,h)&&(n=Math.min(n,es(r,h)));}return n!==1/0&&n}(f[0],f[1],h)},e}(ei);function ts(t,e){return t.x*e.x+t.y*e.y}function es(t,e){if(1===t.length){var r=e[0],n=e[1],i=e[3],a=t[0],o=n.sub(r),s=i.sub(r),u=a.sub(r),l=ts(o,o),p=ts(o,s),c=ts(s,s),h=ts(u,o),f=ts(u,s),y=l*c-p*p,d=(c*h-p*f)/y,m=(l*f-p*h)/y,v=1-d-m;return r.z*v+n.z*d+i.z*m}for(var g=1/0,x=0,b=e;x<b.length;x+=1){var _=b[x];g=Math.min(g,_.z);}return g}var rs=ai([{name:"a_pos_normal",components:2,type:"Int16"},{name:"a_data",components:4,type:"Uint8"}],4).members,ns=Zo.VectorTileFeature.types,is=Math.cos(Math.PI/180*37.5),as=Math.pow(2,14)/.5,os=function(t){this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.hasPattern=!1,this.patternFeatures=[],this.layoutVertexArray=new pi,this.indexArray=new Ai,this.programConfigurations=new sa(rs,t.layers,t.zoom),this.segments=new ji,this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id}));};os.prototype.populate=function(t,e){this.hasPattern=Po("line",this.layers,e);for(var r=this.layers[0].layout.get("line-sort-key"),n=[],i=0,a=t;i<a.length;i+=1){var o=a[i],s=o.feature,u=o.index,l=o.sourceLayerIndex;if(this.layers[0]._featureFilter(new Rn(this.zoom),s)){var p=fa(s),c=r?r.evaluate(s,{}):void 0,h={id:s.id,properties:s.properties,type:s.type,sourceLayerIndex:l,index:u,geometry:p,patterns:{},sortKey:c};n.push(h);}}r&&n.sort((function(t,e){return t.sortKey-e.sortKey}));for(var f=0,y=n;f<y.length;f+=1){var d=y[f],m=d,v=m.geometry,g=m.index,x=m.sourceLayerIndex;if(this.hasPattern){var b=Eo("line",this.layers,d,this.zoom,e);this.patternFeatures.push(b);}else this.addFeature(d,v,g,{});var _=t[g].feature;e.featureIndex.insert(_,v,g,x,this.index);}},os.prototype.update=function(t,e,r){this.stateDependentLayers.length&&this.programConfigurations.updatePaintArrays(t,e,this.stateDependentLayers,r);},os.prototype.addFeatures=function(t,e){for(var r=0,n=this.patternFeatures;r<n.length;r+=1){var i=n[r];this.addFeature(i,i.geometry,i.index,e);}},os.prototype.isEmpty=function(){return 0===this.layoutVertexArray.length},os.prototype.uploadPending=function(){return!this.uploaded||this.programConfigurations.needsUpload},os.prototype.upload=function(t){this.uploaded||(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,rs),this.indexBuffer=t.createIndexBuffer(this.indexArray)),this.programConfigurations.upload(t),this.uploaded=!0;},os.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy());},os.prototype.addFeature=function(t,e,r,n){for(var i=this.layers[0].layout,a=i.get("line-join").evaluate(t,{}),o=i.get("line-cap"),s=i.get("line-miter-limit"),u=i.get("line-round-limit"),l=0,p=e;l<p.length;l+=1){var c=p[l];this.addLine(c,t,a,o,s,u,r,n);}},os.prototype.addLine=function(t,e,r,n,i,a,o,s){if(this.distance=0,this.scaledDistance=0,this.totalDistance=0,e.properties&&e.properties.hasOwnProperty("mapbox_clip_start")&&e.properties.hasOwnProperty("mapbox_clip_end")){this.clipStart=+e.properties.mapbox_clip_start,this.clipEnd=+e.properties.mapbox_clip_end;for(var u=0;u<t.length-1;u++)this.totalDistance+=t[u].dist(t[u+1]);}for(var l="Polygon"===ns[e.type],p=t.length;p>=2&&t[p-1].equals(t[p-2]);)p--;for(var c=0;c<p-1&&t[c].equals(t[c+1]);)c++;if(!(p<(l?3:2))){"bevel"===r&&(i=1.05);var h,f=pa/(512*this.overscaling)*15,y=this.segments.prepareSegment(10*p,this.layoutVertexArray,this.indexArray),d=void 0,m=void 0,v=void 0,g=void 0;this.e1=this.e2=-1,l&&(h=t[p-2],g=t[c].sub(h)._unit()._perp());for(var x=c;x<p;x++)if(!(m=l&&x===p-1?t[c+1]:t[x+1])||!t[x].equals(m)){g&&(v=g),h&&(d=h),h=t[x],g=m?m.sub(h)._unit()._perp():v;var b=(v=v||g).add(g);0===b.x&&0===b.y||b._unit();var _=v.x*g.x+v.y*g.y,w=b.x*g.x+b.y*g.y,A=0!==w?1/w:1/0,k=2*Math.sqrt(2-2*w),S=w<is&&d&&m,I=v.x*g.y-v.y*g.x>0;if(S&&x>c){var z=h.dist(d);if(z>2*f){var C=h.sub(h.sub(d)._mult(f/z)._round());this.updateDistance(d,C),this.addCurrentVertex(C,v,0,0,y),d=C;}}var B=d&&m,P=B?r:l?"butt":n;if(B&&"round"===P&&(A<a?P="miter":A<=2&&(P="fakeround")),"miter"===P&&A>i&&(P="bevel"),"bevel"===P&&(A>2&&(P="flipbevel"),A<i&&(P="miter")),d&&this.updateDistance(d,h),"miter"===P)b._mult(A),this.addCurrentVertex(h,b,0,0,y);else if("flipbevel"===P){if(A>100)b=g.mult(-1);else{var E=A*v.add(g).mag()/v.sub(g).mag();b._perp()._mult(E*(I?-1:1));}this.addCurrentVertex(h,b,0,0,y),this.addCurrentVertex(h,b.mult(-1),0,0,y);}else if("bevel"===P||"fakeround"===P){var M=-Math.sqrt(A*A-1),T=I?M:0,V=I?0:M;if(d&&this.addCurrentVertex(h,v,T,V,y),"fakeround"===P)for(var F=Math.round(180*k/Math.PI/20),O=1;O<F;O++){var L=O/F;if(.5!==L){var D=L-.5;L+=L*D*(L-1)*((1.0904+_*(_*(3.55645-1.43519*_)-3.2452))*D*D+(.848013+_*(.215638*_-1.06021)));}var U=g.sub(v)._mult(L)._add(v)._unit()._mult(I?-1:1);this.addHalfVertex(h,U.x,U.y,!1,I,0,y);}m&&this.addCurrentVertex(h,g,-T,-V,y);}else if("butt"===P)this.addCurrentVertex(h,b,0,0,y);else if("square"===P){var R=d?1:-1;this.addCurrentVertex(h,b,R,R,y);}else"round"===P&&(d&&(this.addCurrentVertex(h,v,0,0,y),this.addCurrentVertex(h,v,1,1,y,!0)),m&&(this.addCurrentVertex(h,g,-1,-1,y,!0),this.addCurrentVertex(h,g,0,0,y)));if(S&&x<p-1){var j=h.dist(m);if(j>2*f){var q=h.add(m.sub(h)._mult(f/j)._round());this.updateDistance(h,q),this.addCurrentVertex(q,g,0,0,y),h=q;}}}this.programConfigurations.populatePaintArrays(this.layoutVertexArray.length,e,o,s);}},os.prototype.addCurrentVertex=function(t,e,r,n,i,a){void 0===a&&(a=!1);var o=e.x+e.y*r,s=e.y-e.x*r,u=-e.x+e.y*n,l=-e.y-e.x*n;this.addHalfVertex(t,o,s,a,!1,r,i),this.addHalfVertex(t,u,l,a,!0,-n,i),this.distance>as/2&&0===this.totalDistance&&(this.distance=0,this.addCurrentVertex(t,e,r,n,i,a));},os.prototype.addHalfVertex=function(t,e,r,n,i,a,o){var s=t.x,u=t.y,l=.5*this.scaledDistance;this.layoutVertexArray.emplaceBack((s<<1)+(n?1:0),(u<<1)+(i?1:0),Math.round(63*e)+128,Math.round(63*r)+128,1+(0===a?0:a<0?-1:1)|(63&l)<<2,l>>6);var p=o.vertexLength++;this.e1>=0&&this.e2>=0&&(this.indexArray.emplaceBack(this.e1,this.e2,p),o.primitiveLength++),i?this.e2=p:this.e1=p;},os.prototype.updateDistance=function(t,e){this.distance+=t.dist(e),this.scaledDistance=this.totalDistance>0?(this.clipStart+(this.clipEnd-this.clipStart)*this.distance/this.totalDistance)*(as-1):this.distance;},xn("LineBucket",os,{omit:["layers","patternFeatures"]});var ss=new ti({"line-cap":new Hn(It.layout_line["line-cap"]),"line-join":new Yn(It.layout_line["line-join"]),"line-miter-limit":new Hn(It.layout_line["line-miter-limit"]),"line-round-limit":new Hn(It.layout_line["line-round-limit"]),"line-sort-key":new Yn(It.layout_line["line-sort-key"])}),us={paint:new ti({"line-opacity":new Yn(It.paint_line["line-opacity"]),"line-color":new Yn(It.paint_line["line-color"]),"line-translate":new Hn(It.paint_line["line-translate"]),"line-translate-anchor":new Hn(It.paint_line["line-translate-anchor"]),"line-width":new Yn(It.paint_line["line-width"]),"line-gap-width":new Yn(It.paint_line["line-gap-width"]),"line-offset":new Yn(It.paint_line["line-offset"]),"line-blur":new Yn(It.paint_line["line-blur"]),"line-dasharray":new Wn(It.paint_line["line-dasharray"]),"line-pattern":new $n(It.paint_line["line-pattern"]),"line-gradient":new Qn(It.paint_line["line-gradient"])}),layout:ss},ls=new(function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.possiblyEvaluate=function(e,r){return r=new Rn(Math.floor(r.zoom),{now:r.now,fadeDuration:r.fadeDuration,zoomHistory:r.zoomHistory,transition:r.transition}),t.prototype.possiblyEvaluate.call(this,e,r)},e.prototype.evaluate=function(e,r,n,i){return r=c({},r,{zoom:Math.floor(r.zoom)}),t.prototype.evaluate.call(this,e,r,n,i)},e}(Yn))(us.paint.properties["line-width"].specification);ls.useIntegerZoom=!0;var ps=function(t){function e(e){t.call(this,e,us);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype._handleSpecialPaintPropertyUpdate=function(t){"line-gradient"===t&&this._updateGradient();},e.prototype._updateGradient=function(){var t=this._transitionablePaint._values["line-gradient"].value.expression;this.gradient=Za(t,"lineProgress"),this.gradientTexture=null;},e.prototype.recalculate=function(e,r){t.prototype.recalculate.call(this,e,r),this.paint._values["line-floorwidth"]=ls.possiblyEvaluate(this._transitioningPaint._values["line-width"].value,e);},e.prototype.createBucket=function(t){return new os(t)},e.prototype.queryRadius=function(t){var e=t,r=cs(za("line-width",this,e),za("line-gap-width",this,e)),n=za("line-offset",this,e);return r/2+Math.abs(n)+Ca(this.paint.get("line-translate"))},e.prototype.queryIntersectsFeature=function(t,e,r,n,a,o,s){var u=Ba(t,this.paint.get("line-translate"),this.paint.get("line-translate-anchor"),o.angle,s),l=s/2*cs(this.paint.get("line-width").evaluate(e,r),this.paint.get("line-gap-width").evaluate(e,r)),p=this.paint.get("line-offset").evaluate(e,r);return p&&(n=function(t,e){for(var r=[],n=new i(0,0),a=0;a<t.length;a++){for(var o=t[a],s=[],u=0;u<o.length;u++){var l=o[u-1],p=o[u],c=o[u+1],h=0===u?n:p.sub(l)._unit()._perp(),f=u===o.length-1?n:c.sub(p)._unit()._perp(),y=h._add(f)._unit(),d=y.x*f.x+y.y*f.y;y._mult(1/d),s.push(y._mult(e)._add(p));}r.push(s);}return r}(n,p*s)),function(t,e,r){for(var n=0;n<e.length;n++){var i=e[n];if(t.length>=3)for(var a=0;a<i.length;a++)if(Sa(t,i[a]))return!0;if(xa(t,i,r))return!0}return!1}(u,n,l)},e.prototype.isTileClipped=function(){return!0},e}(ei);function cs(t,e){return e>0?e+2*t:t}var hs=ai([{name:"a_pos_offset",components:4,type:"Int16"},{name:"a_data",components:4,type:"Uint16"}]),fs=ai([{name:"a_projected_pos",components:3,type:"Float32"}],4),ys=(ai([{name:"a_fade_opacity",components:1,type:"Uint32"}],4),ai([{name:"a_placed",components:2,type:"Uint8"},{name:"a_shift",components:2,type:"Float32"}])),ds=(ai([{type:"Int16",name:"anchorPointX"},{type:"Int16",name:"anchorPointY"},{type:"Int16",name:"x1"},{type:"Int16",name:"y1"},{type:"Int16",name:"x2"},{type:"Int16",name:"y2"},{type:"Uint32",name:"featureIndex"},{type:"Uint16",name:"sourceLayerIndex"},{type:"Uint16",name:"bucketIndex"},{type:"Int16",name:"radius"},{type:"Int16",name:"signedDistanceFromAnchor"}]),ai([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4)),ms=ai([{name:"a_pos",components:2,type:"Int16"},{name:"a_anchor_pos",components:2,type:"Int16"},{name:"a_extrude",components:2,type:"Int16"}],4);ai([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Uint16",name:"glyphStartIndex"},{type:"Uint16",name:"numGlyphs"},{type:"Uint32",name:"vertexStartIndex"},{type:"Uint32",name:"lineStartIndex"},{type:"Uint32",name:"lineLength"},{type:"Uint16",name:"segment"},{type:"Uint16",name:"lowerSize"},{type:"Uint16",name:"upperSize"},{type:"Float32",name:"lineOffsetX"},{type:"Float32",name:"lineOffsetY"},{type:"Uint8",name:"writingMode"},{type:"Uint8",name:"placedOrientation"},{type:"Uint8",name:"hidden"},{type:"Uint32",name:"crossTileID"},{type:"Int16",name:"associatedIconIndex"}]),ai([{type:"Int16",name:"anchorX"},{type:"Int16",name:"anchorY"},{type:"Int16",name:"rightJustifiedTextSymbolIndex"},{type:"Int16",name:"centerJustifiedTextSymbolIndex"},{type:"Int16",name:"leftJustifiedTextSymbolIndex"},{type:"Int16",name:"verticalPlacedTextSymbolIndex"},{type:"Int16",name:"placedIconSymbolIndex"},{type:"Int16",name:"verticalPlacedIconSymbolIndex"},{type:"Uint16",name:"key"},{type:"Uint16",name:"textBoxStartIndex"},{type:"Uint16",name:"textBoxEndIndex"},{type:"Uint16",name:"verticalTextBoxStartIndex"},{type:"Uint16",name:"verticalTextBoxEndIndex"},{type:"Uint16",name:"iconBoxStartIndex"},{type:"Uint16",name:"iconBoxEndIndex"},{type:"Uint16",name:"verticalIconBoxStartIndex"},{type:"Uint16",name:"verticalIconBoxEndIndex"},{type:"Uint16",name:"featureIndex"},{type:"Uint16",name:"numHorizontalGlyphVertices"},{type:"Uint16",name:"numVerticalGlyphVertices"},{type:"Uint16",name:"numIconVertices"},{type:"Uint16",name:"numVerticalIconVertices"},{type:"Uint32",name:"crossTileID"},{type:"Float32",name:"textBoxScale"},{type:"Float32",components:2,name:"textOffset"}]),ai([{type:"Float32",name:"offsetX"}]),ai([{type:"Int16",name:"x"},{type:"Int16",name:"y"},{type:"Int16",name:"tileUnitDistanceFromAnchor"}]);function vs(t,e,r){return t.sections.forEach((function(t){t.text=function(t,e,r){var n=e.layout.get("text-transform").evaluate(r,{});return "uppercase"===n?t=t.toLocaleUpperCase():"lowercase"===n&&(t=t.toLocaleLowerCase()),Un.applyArabicShaping&&(t=Un.applyArabicShaping(t)),t}(t.text,e,r);})),t}var gs={"!":"︕","#":"#",$:"$","%":"%","&":"&","(":"︵",")":"︶","*":"*","+":"+",",":"︐","-":"︲",".":"・","/":"/",":":"︓",";":"︔","<":"︿","=":"=",">":"﹀","?":"︖","@":"@","[":"﹇","\\":"\","]":"﹈","^":"^",_:"︳","`":"`","{":"︷","|":"―","}":"︸","~":"~","¢":"¢","£":"£","¥":"¥","¦":"¦","¬":"¬","¯":" ̄","–":"︲","—":"︱","‘":"﹃","’":"﹄","“":"﹁","”":"﹂","…":"︙","‧":"・","₩":"₩","、":"︑","。":"︒","〈":"︿","〉":"﹀","《":"︽","》":"︾","「":"﹁","」":"﹂","『":"﹃","』":"﹄","【":"︻","】":"︼","〔":"︹","〕":"︺","〖":"︗","〗":"︘","!":"︕","(":"︵",")":"︶",",":"︐","-":"︲",".":"・",":":"︓",";":"︔","<":"︿",">":"﹀","?":"︖","[":"﹇","]":"﹈","_":"︳","{":"︷","|":"―","}":"︸","⦅":"︵","⦆":"︶","。":"︒","「":"﹁","」":"﹂"};var xs=24,bs={horizontal:1,vertical:2,horizontalOnly:3},_s=function(){this.text="",this.sectionIndex=[],this.sections=[];};function ws(t,e,r,n,i,a,o,s,u,l,p,c){var h,f=_s.fromFeature(t,r);l===bs.vertical&&f.verticalizePunctuation();var y=Un.processBidirectionalText,d=Un.processStyledBidirectionalText;if(y&&1===f.sections.length){h=[];for(var m=0,v=y(f.toString(),Cs(f,s,n,e,c));m<v.length;m+=1){var g=v[m],x=new _s;x.text=g,x.sections=f.sections;for(var b=0;b<g.length;b++)x.sectionIndex.push(0);h.push(x);}}else if(d){h=[];for(var _=0,w=d(f.text,f.sectionIndex,Cs(f,s,n,e,c));_<w.length;_+=1){var A=w[_],k=new _s;k.text=A[0],k.sectionIndex=A[1],k.sections=f.sections,h.push(k);}}else h=function(t,e){for(var r=[],n=t.text,i=0,a=0,o=e;a<o.length;a+=1){var s=o[a];r.push(t.substring(i,s)),i=s;}return i<n.length&&r.push(t.substring(i,n.length)),r}(f,Cs(f,s,n,e,c));var S=[],I={positionedGlyphs:S,text:f.toString(),top:u[1],bottom:u[1],left:u[0],right:u[0],writingMode:l,lineCount:h.length,yOffset:-17};return function(t,e,r,n,i,a,o,s,u){for(var l=0,p=t.yOffset,c=0,h=t.positionedGlyphs,f="right"===a?1:"left"===a?0:.5,y=0,d=r;y<d.length;y+=1){var m=d[y];m.trim();var v=m.getMaxScale();if(m.length()){for(var g=h.length,x=0;x<m.length();x++){var b=m.getSection(x),_=m.getSectionIndex(x),w=m.getCharCode(x),A=24*(v-b.scale),k=e[b.fontStack],S=k&&k[w];S&&(o===bs.horizontal||!u&&!Cn(w)||u&&(As[w]||(z=w,Sn.Arabic(z)||Sn["Arabic Supplement"](z)||Sn["Arabic Extended-A"](z)||Sn["Arabic Presentation Forms-A"](z)||Sn["Arabic Presentation Forms-B"](z)))?(h.push({glyph:w,x:l,y:p+A,vertical:!1,scale:b.scale,fontStack:b.fontStack,sectionIndex:_}),l+=S.metrics.advance*b.scale+s):(h.push({glyph:w,x:l,y:p+A,vertical:!0,scale:b.scale,fontStack:b.fontStack,sectionIndex:_}),l+=xs*b.scale+s));}if(h.length!==g){var I=l-s;c=Math.max(I,c),Ps(h,e,g,h.length-1,f);}l=0,p+=n*v;}else p+=n;}var z;var C=Bs(i),B=C.horizontalAlign,P=C.verticalAlign;!function(t,e,r,n,i,a,o){for(var s=(e-r)*i,u=(-n*o+.5)*a,l=0;l<t.length;l++)t[l].x+=s,t[l].y+=u;}(h,f,B,P,c,n,r.length);var E=p-t.yOffset;t.top+=-P*E,t.bottom=t.top+E,t.left+=-B*c,t.right=t.left+c;}(I,e,h,i,a,o,l,s,p),!!S.length&&I}_s.fromFeature=function(t,e){for(var r=new _s,n=0;n<t.sections.length;n++){var i=t.sections[n];r.sections.push({scale:i.scale||1,fontStack:i.fontStack||e}),r.text+=i.text;for(var a=0;a<i.text.length;a++)r.sectionIndex.push(n);}return r},_s.prototype.length=function(){return this.text.length},_s.prototype.getSection=function(t){return this.sections[this.sectionIndex[t]]},_s.prototype.getSectionIndex=function(t){return this.sectionIndex[t]},_s.prototype.getCharCode=function(t){return this.text.charCodeAt(t)},_s.prototype.verticalizePunctuation=function(){this.text=function(t){for(var e="",r=0;r<t.length;r++){var n=t.charCodeAt(r+1)||null,i=t.charCodeAt(r-1)||null;(!n||!Bn(n)||gs[t[r+1]])&&(!i||!Bn(i)||gs[t[r-1]])&&gs[t[r]]?e+=gs[t[r]]:e+=t[r];}return e}(this.text);},_s.prototype.trim=function(){for(var t=0,e=0;e<this.text.length&&As[this.text.charCodeAt(e)];e++)t++;for(var r=this.text.length,n=this.text.length-1;n>=0&&n>=t&&As[this.text.charCodeAt(n)];n--)r--;this.text=this.text.substring(t,r),this.sectionIndex=this.sectionIndex.slice(t,r);},_s.prototype.substring=function(t,e){var r=new _s;return r.text=this.text.substring(t,e),r.sectionIndex=this.sectionIndex.slice(t,e),r.sections=this.sections,r},_s.prototype.toString=function(){return this.text},_s.prototype.getMaxScale=function(){var t=this;return this.sectionIndex.reduce((function(e,r){return Math.max(e,t.sections[r].scale)}),0)};var As={9:!0,10:!0,11:!0,12:!0,13:!0,32:!0},ks={};function Ss(t,e,r,n){var i=Math.pow(t-e,2);return n?t<e?i/2:2*i:i+Math.abs(r)*r}function Is(t,e,r){var n=0;return 10===t&&(n-=1e4),r&&(n+=150),40!==t&&65288!==t||(n+=50),41!==e&&65289!==e||(n+=50),n}function zs(t,e,r,n,i,a){for(var o=null,s=Ss(e,r,i,a),u=0,l=n;u<l.length;u+=1){var p=l[u],c=Ss(e-p.x,r,i,a)+p.badness;c<=s&&(o=p,s=c);}return{index:t,x:e,priorBreak:o,badness:s}}function Cs(t,e,r,n,i){if("point"!==i)return[];if(!t)return[];for(var a,o=[],s=function(t,e,r,n){for(var i=0,a=0;a<t.length();a++){var o=t.getSection(a),s=n[o.fontStack],u=s&&s[t.getCharCode(a)];u&&(i+=u.metrics.advance*o.scale+e);}return i/Math.max(1,Math.ceil(i/r))}(t,e,r,n),u=t.text.indexOf("​")>=0,l=0,p=0;p<t.length();p++){var c=t.getSection(p),h=t.getCharCode(p),f=n[c.fontStack],y=f&&f[h];if(y&&!As[h]&&(l+=y.metrics.advance*c.scale+e),p<t.length()-1){var d=!!(!((a=h)<11904)&&(Sn["Bopomofo Extended"](a)||Sn.Bopomofo(a)||Sn["CJK Compatibility Forms"](a)||Sn["CJK Compatibility Ideographs"](a)||Sn["CJK Compatibility"](a)||Sn["CJK Radicals Supplement"](a)||Sn["CJK Strokes"](a)||Sn["CJK Symbols and Punctuation"](a)||Sn["CJK Unified Ideographs Extension A"](a)||Sn["CJK Unified Ideographs"](a)||Sn["Enclosed CJK Letters and Months"](a)||Sn["Halfwidth and Fullwidth Forms"](a)||Sn.Hiragana(a)||Sn["Ideographic Description Characters"](a)||Sn["Kangxi Radicals"](a)||Sn["Katakana Phonetic Extensions"](a)||Sn.Katakana(a)||Sn["Vertical Forms"](a)||Sn["Yi Radicals"](a)||Sn["Yi Syllables"](a)));(ks[h]||d)&&o.push(zs(p+1,l,s,o,Is(h,t.getCharCode(p+1),d&&u),!1));}}return function t(e){return e?t(e.priorBreak).concat(e.index):[]}(zs(t.length(),l,s,o,0,!0))}function Bs(t){var e=.5,r=.5;switch(t){case"right":case"top-right":case"bottom-right":e=1;break;case"left":case"top-left":case"bottom-left":e=0;}switch(t){case"bottom":case"bottom-right":case"bottom-left":r=1;break;case"top":case"top-right":case"top-left":r=0;}return{horizontalAlign:e,verticalAlign:r}}function Ps(t,e,r,n,i){if(i){var a=t[n],o=e[a.fontStack],s=o&&o[a.glyph];if(s)for(var u=s.metrics.advance*a.scale,l=(t[n].x+u)*i,p=r;p<=n;p++)t[p].x-=l;}}function Es(t,e,r,n,i,a){var o,s,u,l,p=t.image,c=e.left*a,h=e.right*a;"width"===r||"both"===r?(l=i[0]+c-n[3],s=i[0]+h+n[1]):s=(l=i[0]+(c+h-p.displaySize[0])/2)+p.displaySize[0];var f=e.top*a,y=e.bottom*a;return "height"===r||"both"===r?(o=i[1]+f-n[0],u=i[1]+y+n[2]):u=(o=i[1]+(f+y-p.displaySize[1])/2)+p.displaySize[1],{image:p,top:o,right:s,bottom:u,left:l}}ks[10]=!0,ks[32]=!0,ks[38]=!0,ks[40]=!0,ks[41]=!0,ks[43]=!0,ks[45]=!0,ks[47]=!0,ks[173]=!0,ks[183]=!0,ks[8203]=!0,ks[8208]=!0,ks[8211]=!0,ks[8231]=!0;var Ms=function(t){function e(e,r,n,i){t.call(this,e,r),this.angle=n,void 0!==i&&(this.segment=i);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.clone=function(){return new e(this.x,this.y,this.angle,this.segment)},e}(i);xn("Anchor",Ms);var Ts=256;function Vs(t,e){var r=e.expression;if("constant"===r.kind)return{kind:"constant",layoutSize:r.evaluate(new Rn(t+1))};if("source"===r.kind)return{kind:"source"};for(var n=r.zoomStops,i=r.interpolationType,a=0;a<n.length&&n[a]<=t;)a++;for(var o=a=Math.max(0,a-1);o<n.length&&n[o]<t+1;)o++;o=Math.min(n.length-1,o);var s=n[a],u=n[o];return "composite"===r.kind?{kind:"composite",minZoom:s,maxZoom:u,interpolationType:i}:{kind:"camera",minZoom:s,maxZoom:u,minSize:r.evaluate(new Rn(s)),maxSize:r.evaluate(new Rn(u)),interpolationType:i}}function Fs(t,e,r){var n=e.uSize,i=e.uSizeT,a=r.lowerSize,o=r.upperSize;return "source"===t.kind?a/Ts:"composite"===t.kind?Ae(a/Ts,o/Ts,i):n}function Os(t,e){var r=0,n=0;if("constant"===t.kind)n=t.layoutSize;else if("source"!==t.kind){var i=t.interpolationType,a=t.minZoom,o=t.maxZoom,s=i?l(Ke.interpolationFactor(i,e,a,o),0,1):0;"camera"===t.kind?n=Ae(t.minSize,t.maxSize,s):r=s;}return{uSizeT:r,uSize:n}}var Ls=Object.freeze({__proto__:null,getSizeData:Vs,evaluateSizeForFeature:Fs,evaluateSizeForZoom:Os,SIZE_PACK_FACTOR:Ts}),Ds=Zo.VectorTileFeature.types,Us=[{name:"a_fade_opacity",components:1,type:"Uint8",offset:0}];function Rs(t,e,r,n,i,a,o,s){t.emplaceBack(e,r,Math.round(32*n),Math.round(32*i),a,o,s?s[0]:0,s?s[1]:0);}function js(t,e,r){t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r),t.emplaceBack(e.x,e.y,r);}var qs=function(t){this.layoutVertexArray=new hi,this.indexArray=new Ai,this.programConfigurations=t,this.segments=new ji,this.dynamicLayoutVertexArray=new fi,this.opacityVertexArray=new yi,this.placedSymbolArray=new Ei;};qs.prototype.upload=function(t,e,r,n){r&&(this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,hs.members),this.indexBuffer=t.createIndexBuffer(this.indexArray,e),this.dynamicLayoutVertexBuffer=t.createVertexBuffer(this.dynamicLayoutVertexArray,fs.members,!0),this.opacityVertexBuffer=t.createVertexBuffer(this.opacityVertexArray,Us,!0),this.opacityVertexBuffer.itemSize=1),(r||n)&&this.programConfigurations.upload(t);},qs.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.programConfigurations.destroy(),this.segments.destroy(),this.dynamicLayoutVertexBuffer.destroy(),this.opacityVertexBuffer.destroy());},xn("SymbolBuffers",qs);var Ns=function(t,e,r){this.layoutVertexArray=new t,this.layoutAttributes=e,this.indexArray=new r,this.segments=new ji,this.collisionVertexArray=new vi;};Ns.prototype.upload=function(t){this.layoutVertexBuffer=t.createVertexBuffer(this.layoutVertexArray,this.layoutAttributes),this.indexBuffer=t.createIndexBuffer(this.indexArray),this.collisionVertexBuffer=t.createVertexBuffer(this.collisionVertexArray,ys.members,!0);},Ns.prototype.destroy=function(){this.layoutVertexBuffer&&(this.layoutVertexBuffer.destroy(),this.indexBuffer.destroy(),this.segments.destroy(),this.collisionVertexBuffer.destroy());},xn("CollisionBuffers",Ns);var Ks=function(t){this.collisionBoxArray=t.collisionBoxArray,this.zoom=t.zoom,this.overscaling=t.overscaling,this.layers=t.layers,this.layerIds=this.layers.map((function(t){return t.id})),this.index=t.index,this.pixelRatio=t.pixelRatio,this.sourceLayerIndex=t.sourceLayerIndex,this.hasPattern=!1,this.hasPaintOverrides=!1;var e=this.layers[0]._unevaluatedLayout._values;this.textSizeData=Vs(this.zoom,e["text-size"]),this.iconSizeData=Vs(this.zoom,e["icon-size"]);var r=this.layers[0].layout,n=r.get("symbol-sort-key"),i=r.get("symbol-z-order");this.sortFeaturesByKey="viewport-y"!==i&&void 0!==n.constantOr(1);var a="viewport-y"===i||"auto"===i&&!this.sortFeaturesByKey;this.sortFeaturesByY=a&&(r.get("text-allow-overlap")||r.get("icon-allow-overlap")||r.get("text-ignore-placement")||r.get("icon-ignore-placement")),"point"===r.get("symbol-placement")&&(this.writingModes=r.get("text-writing-mode").map((function(t){return bs[t]}))),this.stateDependentLayerIds=this.layers.filter((function(t){return t.isStateDependent()})).map((function(t){return t.id})),this.sourceID=t.sourceID;};Ks.prototype.createArrays=function(){var t=this.layers[0].layout;this.hasPaintOverrides=Js.hasPaintOverrides(t),this.text=new qs(new sa(hs.members,this.layers,this.zoom,(function(t){return /^text/.test(t)}))),this.icon=new qs(new sa(hs.members,this.layers,this.zoom,(function(t){return /^icon/.test(t)}))),this.textCollisionBox=new Ns(mi,ds.members,ki),this.iconCollisionBox=new Ns(mi,ds.members,ki),this.textCollisionCircle=new Ns(mi,ms.members,Ai),this.iconCollisionCircle=new Ns(mi,ms.members,Ai),this.glyphOffsetArray=new Fi,this.lineVertexArray=new Li,this.symbolInstances=new Ti;},Ks.prototype.calculateGlyphDependencies=function(t,e,r,n,i){for(var a=0;a<t.length;a++)if(e[t.charCodeAt(a)]=!0,(r||n)&&i){var o=gs[t.charAt(a)];o&&(e[o.charCodeAt(0)]=!0);}},Ks.prototype.populate=function(t,e){var r=this.layers[0],n=r.layout,i=n.get("text-font"),a=n.get("text-field"),o=n.get("icon-image"),s=("constant"!==a.value.kind||a.value.value.toString().length>0)&&("constant"!==i.value.kind||i.value.value.length>0),u=("constant"!==o.value.kind||!!o.value.value)&&Object.keys(o.parameters).length>0,l=n.get("symbol-sort-key");if(this.features=[],s||u){for(var p=e.iconDependencies,c=e.glyphDependencies,h=e.availableImages,f=new Rn(this.zoom),y=0,d=t;y<d.length;y+=1){var m=d[y],v=m.feature,g=m.index,x=m.sourceLayerIndex;if(r._featureFilter(f,v)){var b=void 0;if(s){var _=r.getValueAndResolveTokens("text-field",v,h);b=vs(_ instanceof Qt?_:Qt.fromString(_),r,v);}var w=void 0;if(u){var A=r.getValueAndResolveTokens("icon-image",v,h);w=A instanceof te?A:te.fromString(A);}if(b||w){var k=this.sortFeaturesByKey?l.evaluate(v,{}):void 0,S={text:b,icon:w,index:g,sourceLayerIndex:x,geometry:fa(v),properties:v.properties,type:Ds[v.type],sortKey:k};if(void 0!==v.id&&(S.id=v.id),this.features.push(S),w&&(p[w.name]=!0),b){var I=i.evaluate(v,{}).join(","),z="map"===n.get("text-rotation-alignment")&&"point"!==n.get("symbol-placement");this.allowVerticalPlacement=this.writingModes&&this.writingModes.indexOf(bs.vertical)>=0;for(var C=0,B=b.sections;C<B.length;C+=1){var P=B[C],E=In(b.toString()),M=P.fontStack||I,T=c[M]=c[M]||{};this.calculateGlyphDependencies(P.text,T,z,this.allowVerticalPlacement,E);}}}}}"line"===n.get("symbol-placement")&&(this.features=function(t){var e={},r={},n=[],i=0;function a(e){n.push(t[e]),i++;}function o(t,e,i){var a=r[t];return delete r[t],r[e]=a,n[a].geometry[0].pop(),n[a].geometry[0]=n[a].geometry[0].concat(i[0]),a}function s(t,r,i){var a=e[r];return delete e[r],e[t]=a,n[a].geometry[0].shift(),n[a].geometry[0]=i[0].concat(n[a].geometry[0]),a}function u(t,e,r){var n=r?e[0][e[0].length-1]:e[0][0];return t+":"+n.x+":"+n.y}for(var l=0;l<t.length;l++){var p=t[l],c=p.geometry,h=p.text?p.text.toString():null;if(h){var f=u(h,c),y=u(h,c,!0);if(f in r&&y in e&&r[f]!==e[y]){var d=s(f,y,c),m=o(f,y,n[d].geometry);delete e[f],delete r[y],r[u(h,n[m].geometry,!0)]=m,n[d].geometry=null;}else f in r?o(f,y,c):y in e?s(f,y,c):(a(l),e[f]=i-1,r[y]=i-1);}else a(l);}return n.filter((function(t){return t.geometry}))}(this.features)),this.sortFeaturesByKey&&this.features.sort((function(t,e){return t.sortKey-e.sortKey}));}},Ks.prototype.update=function(t,e,r){this.stateDependentLayers.length&&(this.text.programConfigurations.updatePaintArrays(t,e,this.layers,r),this.icon.programConfigurations.updatePaintArrays(t,e,this.layers,r));},Ks.prototype.isEmpty=function(){return 0===this.symbolInstances.length},Ks.prototype.uploadPending=function(){return!this.uploaded||this.text.programConfigurations.needsUpload||this.icon.programConfigurations.needsUpload},Ks.prototype.upload=function(t){this.uploaded||(this.textCollisionBox.upload(t),this.iconCollisionBox.upload(t),this.textCollisionCircle.upload(t),this.iconCollisionCircle.upload(t)),this.text.upload(t,this.sortFeaturesByY,!this.uploaded,this.text.programConfigurations.needsUpload),this.icon.upload(t,this.sortFeaturesByY,!this.uploaded,this.icon.programConfigurations.needsUpload),this.uploaded=!0;},Ks.prototype.destroy=function(){this.text.destroy(),this.icon.destroy(),this.textCollisionBox.destroy(),this.iconCollisionBox.destroy(),this.textCollisionCircle.destroy(),this.iconCollisionCircle.destroy();},Ks.prototype.addToLineVertexArray=function(t,e){var r=this.lineVertexArray.length;if(void 0!==t.segment){for(var n=t.dist(e[t.segment+1]),i=t.dist(e[t.segment]),a={},o=t.segment+1;o<e.length;o++)a[o]={x:e[o].x,y:e[o].y,tileUnitDistanceFromAnchor:n},o<e.length-1&&(n+=e[o+1].dist(e[o]));for(var s=t.segment||0;s>=0;s--)a[s]={x:e[s].x,y:e[s].y,tileUnitDistanceFromAnchor:i},s>0&&(i+=e[s-1].dist(e[s]));for(var u=0;u<e.length;u++){var l=a[u];this.lineVertexArray.emplaceBack(l.x,l.y,l.tileUnitDistanceFromAnchor);}}return{lineStartIndex:r,lineLength:this.lineVertexArray.length-r}},Ks.prototype.addSymbols=function(t,e,r,n,i,a,o,s,u,l,p){var c=this,h=t.indexArray,f=t.layoutVertexArray,y=t.dynamicLayoutVertexArray,d=t.segments.prepareSegment(4*e.length,t.layoutVertexArray,t.indexArray,a.sortKey),m=this.glyphOffsetArray.length,v=d.vertexLength,g=this.allowVerticalPlacement&&o===bs.vertical?Math.PI/2:0,x=function(t){var e=t.tl,n=t.tr,i=t.bl,a=t.br,o=t.tex,u=d.vertexLength,l=t.glyphOffset[1];Rs(f,s.x,s.y,e.x,l+e.y,o.x,o.y,r),Rs(f,s.x,s.y,n.x,l+n.y,o.x+o.w,o.y,r),Rs(f,s.x,s.y,i.x,l+i.y,o.x,o.y+o.h,r),Rs(f,s.x,s.y,a.x,l+a.y,o.x+o.w,o.y+o.h,r),js(y,s,g),h.emplaceBack(u,u+1,u+2),h.emplaceBack(u+1,u+2,u+3),d.vertexLength+=4,d.primitiveLength+=2,c.glyphOffsetArray.emplaceBack(t.glyphOffset[0]);};if(a.text&&a.text.sections){var b=a.text.sections;if(this.hasPaintOverrides){for(var _,w=function(e,r){void 0===_||_===e&&!r||t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,a,a.index,{},b[_]),_=e;},A=0,k=e;A<k.length;A+=1){var S=k[A];w(S.sectionIndex,!1),x(S);}w(_,!0);}else{for(var I=0,z=e;I<z.length;I+=1){x(z[I]);}t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,a,a.index,{},b[0]);}}else{for(var C=0,B=e;C<B.length;C+=1){x(B[C]);}t.programConfigurations.populatePaintArrays(t.layoutVertexArray.length,a,a.index,{});}t.placedSymbolArray.emplaceBack(s.x,s.y,m,this.glyphOffsetArray.length-m,v,u,l,s.segment,r?r[0]:0,r?r[1]:0,n[0],n[1],o,0,!1,0,p);},Ks.prototype._addCollisionDebugVertex=function(t,e,r,n,i,a){return e.emplaceBack(0,0),t.emplaceBack(r.x,r.y,n,i,Math.round(a.x),Math.round(a.y))},Ks.prototype.addCollisionDebugVertices=function(t,e,r,n,a,o,s,u){var l=a.segments.prepareSegment(4,a.layoutVertexArray,a.indexArray),p=l.vertexLength,c=a.layoutVertexArray,h=a.collisionVertexArray,f=s.anchorX,y=s.anchorY;if(this._addCollisionDebugVertex(c,h,o,f,y,new i(t,e)),this._addCollisionDebugVertex(c,h,o,f,y,new i(r,e)),this._addCollisionDebugVertex(c,h,o,f,y,new i(r,n)),this._addCollisionDebugVertex(c,h,o,f,y,new i(t,n)),l.vertexLength+=4,u){var d=a.indexArray;d.emplaceBack(p,p+1,p+2),d.emplaceBack(p,p+2,p+3),l.primitiveLength+=2;}else{var m=a.indexArray;m.emplaceBack(p,p+1),m.emplaceBack(p+1,p+2),m.emplaceBack(p+2,p+3),m.emplaceBack(p+3,p),l.primitiveLength+=4;}},Ks.prototype.addDebugCollisionBoxes=function(t,e,r,n){for(var i=t;i<e;i++){var a=this.collisionBoxArray.get(i),o=a.x1,s=a.y1,u=a.x2,l=a.y2,p=a.radius>0;this.addCollisionDebugVertices(o,s,u,l,p?n?this.textCollisionCircle:this.iconCollisionCircle:n?this.textCollisionBox:this.iconCollisionBox,a.anchorPoint,r,p);}},Ks.prototype.generateCollisionDebugBuffers=function(){for(var t=0;t<this.symbolInstances.length;t++){var e=this.symbolInstances.get(t);this.addDebugCollisionBoxes(e.textBoxStartIndex,e.textBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.verticalTextBoxStartIndex,e.verticalTextBoxEndIndex,e,!0),this.addDebugCollisionBoxes(e.iconBoxStartIndex,e.iconBoxEndIndex,e,!1),this.addDebugCollisionBoxes(e.verticalIconBoxStartIndex,e.verticalIconBoxEndIndex,e,!1);}},Ks.prototype._deserializeCollisionBoxesForSymbol=function(t,e,r,n,i,a,o,s,u){for(var l={},p=e;p<r;p++){var c=t.get(p);if(0===c.radius){l.textBox={x1:c.x1,y1:c.y1,x2:c.x2,y2:c.y2,anchorPointX:c.anchorPointX,anchorPointY:c.anchorPointY},l.textFeatureIndex=c.featureIndex;break}l.textCircles||(l.textCircles=[],l.textFeatureIndex=c.featureIndex);l.textCircles.push(c.anchorPointX,c.anchorPointY,c.radius,c.signedDistanceFromAnchor,1);}for(var h=n;h<i;h++){var f=t.get(h);if(0===f.radius){l.verticalTextBox={x1:f.x1,y1:f.y1,x2:f.x2,y2:f.y2,anchorPointX:f.anchorPointX,anchorPointY:f.anchorPointY},l.verticalTextFeatureIndex=f.featureIndex;break}}for(var y=a;y<o;y++){var d=t.get(y);if(0===d.radius){l.iconBox={x1:d.x1,y1:d.y1,x2:d.x2,y2:d.y2,anchorPointX:d.anchorPointX,anchorPointY:d.anchorPointY},l.iconFeatureIndex=d.featureIndex;break}}for(var m=s;m<u;m++){var v=t.get(m);if(0===v.radius){l.verticalIconBox={x1:v.x1,y1:v.y1,x2:v.x2,y2:v.y2,anchorPointX:v.anchorPointX,anchorPointY:v.anchorPointY},l.verticalIconFeatureIndex=v.featureIndex;break}}return l},Ks.prototype.deserializeCollisionBoxes=function(t){this.collisionArrays=[];for(var e=0;e<this.symbolInstances.length;e++){var r=this.symbolInstances.get(e);this.collisionArrays.push(this._deserializeCollisionBoxesForSymbol(t,r.textBoxStartIndex,r.textBoxEndIndex,r.verticalTextBoxStartIndex,r.verticalTextBoxEndIndex,r.iconBoxStartIndex,r.iconBoxEndIndex,r.verticalIconBoxStartIndex,r.verticalIconBoxEndIndex));}},Ks.prototype.hasTextData=function(){return this.text.segments.get().length>0},Ks.prototype.hasIconData=function(){return this.icon.segments.get().length>0},Ks.prototype.hasTextCollisionBoxData=function(){return this.textCollisionBox.segments.get().length>0},Ks.prototype.hasIconCollisionBoxData=function(){return this.iconCollisionBox.segments.get().length>0},Ks.prototype.hasTextCollisionCircleData=function(){return this.textCollisionCircle.segments.get().length>0},Ks.prototype.hasIconCollisionCircleData=function(){return this.iconCollisionCircle.segments.get().length>0},Ks.prototype.addIndicesForPlacedTextSymbol=function(t){for(var e=this.text.placedSymbolArray.get(t),r=e.vertexStartIndex+4*e.numGlyphs,n=e.vertexStartIndex;n<r;n+=4)this.text.indexArray.emplaceBack(n,n+1,n+2),this.text.indexArray.emplaceBack(n+1,n+2,n+3);},Ks.prototype.addIndicesForPlacedIconSymbol=function(t){var e=this.icon.placedSymbolArray.get(t);if(e.numGlyphs){var r=e.vertexStartIndex;this.icon.indexArray.emplaceBack(r,r+1,r+2),this.icon.indexArray.emplaceBack(r+1,r+2,r+3);}},Ks.prototype.getSortedSymbolIndexes=function(t){if(this.sortedAngle===t&&void 0!==this.symbolInstanceIndexes)return this.symbolInstanceIndexes;for(var e=Math.sin(t),r=Math.cos(t),n=[],i=[],a=[],o=0;o<this.symbolInstances.length;++o){a.push(o);var s=this.symbolInstances.get(o);n.push(0|Math.round(e*s.anchorX+r*s.anchorY)),i.push(s.featureIndex);}return a.sort((function(t,e){return n[t]-n[e]||i[e]-i[t]})),a},Ks.prototype.sortFeatures=function(t){var e=this;if(this.sortFeaturesByY&&this.sortedAngle!==t&&!(this.text.segments.get().length>1||this.icon.segments.get().length>1)){this.symbolInstanceIndexes=this.getSortedSymbolIndexes(t),this.sortedAngle=t,this.text.indexArray.clear(),this.icon.indexArray.clear(),this.featureSortOrder=[];for(var r=0,n=this.symbolInstanceIndexes;r<n.length;r+=1){var i=n[r],a=this.symbolInstances.get(i);this.featureSortOrder.push(a.featureIndex),[a.rightJustifiedTextSymbolIndex,a.centerJustifiedTextSymbolIndex,a.leftJustifiedTextSymbolIndex].forEach((function(t,r,n){t>=0&&n.indexOf(t)===r&&e.addIndicesForPlacedTextSymbol(t);})),a.verticalPlacedTextSymbolIndex>=0&&this.addIndicesForPlacedTextSymbol(a.verticalPlacedTextSymbolIndex),a.placedIconSymbolIndex>=0&&this.addIndicesForPlacedIconSymbol(a.placedIconSymbolIndex),a.verticalPlacedIconSymbolIndex>=0&&this.addIndicesForPlacedIconSymbol(a.verticalPlacedIconSymbolIndex);}this.text.indexBuffer&&this.text.indexBuffer.updateData(this.text.indexArray),this.icon.indexBuffer&&this.icon.indexBuffer.updateData(this.icon.indexArray);}},xn("SymbolBucket",Ks,{omit:["layers","collisionBoxArray","features","compareText"]}),Ks.MAX_GLYPHS=65535,Ks.addDynamicAttributes=js;var Zs=new ti({"symbol-placement":new Hn(It.layout_symbol["symbol-placement"]),"symbol-spacing":new Hn(It.layout_symbol["symbol-spacing"]),"symbol-avoid-edges":new Hn(It.layout_symbol["symbol-avoid-edges"]),"symbol-sort-key":new Yn(It.layout_symbol["symbol-sort-key"]),"symbol-z-order":new Hn(It.layout_symbol["symbol-z-order"]),"icon-allow-overlap":new Hn(It.layout_symbol["icon-allow-overlap"]),"icon-ignore-placement":new Hn(It.layout_symbol["icon-ignore-placement"]),"icon-optional":new Hn(It.layout_symbol["icon-optional"]),"icon-rotation-alignment":new Hn(It.layout_symbol["icon-rotation-alignment"]),"icon-size":new Yn(It.layout_symbol["icon-size"]),"icon-text-fit":new Hn(It.layout_symbol["icon-text-fit"]),"icon-text-fit-padding":new Hn(It.layout_symbol["icon-text-fit-padding"]),"icon-image":new Yn(It.layout_symbol["icon-image"]),"icon-rotate":new Yn(It.layout_symbol["icon-rotate"]),"icon-padding":new Hn(It.layout_symbol["icon-padding"]),"icon-keep-upright":new Hn(It.layout_symbol["icon-keep-upright"]),"icon-offset":new Yn(It.layout_symbol["icon-offset"]),"icon-anchor":new Yn(It.layout_symbol["icon-anchor"]),"icon-pitch-alignment":new Hn(It.layout_symbol["icon-pitch-alignment"]),"text-pitch-alignment":new Hn(It.layout_symbol["text-pitch-alignment"]),"text-rotation-alignment":new Hn(It.layout_symbol["text-rotation-alignment"]),"text-field":new Yn(It.layout_symbol["text-field"]),"text-font":new Yn(It.layout_symbol["text-font"]),"text-size":new Yn(It.layout_symbol["text-size"]),"text-max-width":new Yn(It.layout_symbol["text-max-width"]),"text-line-height":new Hn(It.layout_symbol["text-line-height"]),"text-letter-spacing":new Yn(It.layout_symbol["text-letter-spacing"]),"text-justify":new Yn(It.layout_symbol["text-justify"]),"text-radial-offset":new Yn(It.layout_symbol["text-radial-offset"]),"text-variable-anchor":new Hn(It.layout_symbol["text-variable-anchor"]),"text-anchor":new Yn(It.layout_symbol["text-anchor"]),"text-max-angle":new Hn(It.layout_symbol["text-max-angle"]),"text-writing-mode":new Hn(It.layout_symbol["text-writing-mode"]),"text-rotate":new Yn(It.layout_symbol["text-rotate"]),"text-padding":new Hn(It.layout_symbol["text-padding"]),"text-keep-upright":new Hn(It.layout_symbol["text-keep-upright"]),"text-transform":new Yn(It.layout_symbol["text-transform"]),"text-offset":new Yn(It.layout_symbol["text-offset"]),"text-allow-overlap":new Hn(It.layout_symbol["text-allow-overlap"]),"text-ignore-placement":new Hn(It.layout_symbol["text-ignore-placement"]),"text-optional":new Hn(It.layout_symbol["text-optional"])}),Xs={paint:new ti({"icon-opacity":new Yn(It.paint_symbol["icon-opacity"]),"icon-color":new Yn(It.paint_symbol["icon-color"]),"icon-halo-color":new Yn(It.paint_symbol["icon-halo-color"]),"icon-halo-width":new Yn(It.paint_symbol["icon-halo-width"]),"icon-halo-blur":new Yn(It.paint_symbol["icon-halo-blur"]),"icon-translate":new Hn(It.paint_symbol["icon-translate"]),"icon-translate-anchor":new Hn(It.paint_symbol["icon-translate-anchor"]),"text-opacity":new Yn(It.paint_symbol["text-opacity"]),"text-color":new Yn(It.paint_symbol["text-color"],{runtimeType:Ut,getOverride:function(t){return t.textColor},hasOverride:function(t){return!!t.textColor}}),"text-halo-color":new Yn(It.paint_symbol["text-halo-color"]),"text-halo-width":new Yn(It.paint_symbol["text-halo-width"]),"text-halo-blur":new Yn(It.paint_symbol["text-halo-blur"]),"text-translate":new Hn(It.paint_symbol["text-translate"]),"text-translate-anchor":new Hn(It.paint_symbol["text-translate-anchor"])}),layout:Zs},Gs=function(t){this.type=t.property.overrides?t.property.overrides.runtimeType:Ft,this.defaultValue=t;};Gs.prototype.evaluate=function(t){if(t.formattedSection){var e=this.defaultValue.property.overrides;if(e&&e.hasOverride(t.formattedSection))return e.getOverride(t.formattedSection)}return t.feature&&t.featureState?this.defaultValue.evaluate(t.feature,t.featureState):this.defaultValue.property.specification.default},Gs.prototype.eachChild=function(t){this.defaultValue.isConstant()||t(this.defaultValue.value._styleExpression.expression);},Gs.prototype.possibleOutputs=function(){return[void 0]},Gs.prototype.serialize=function(){return null},xn("FormatSectionOverride",Gs,{omit:["defaultValue"]});var Js=function(t){function e(e){t.call(this,e,Xs);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.recalculate=function(e,r){if(t.prototype.recalculate.call(this,e,r),"auto"===this.layout.get("icon-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["icon-rotation-alignment"]="map":this.layout._values["icon-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-rotation-alignment")&&("point"!==this.layout.get("symbol-placement")?this.layout._values["text-rotation-alignment"]="map":this.layout._values["text-rotation-alignment"]="viewport"),"auto"===this.layout.get("text-pitch-alignment")&&(this.layout._values["text-pitch-alignment"]=this.layout.get("text-rotation-alignment")),"auto"===this.layout.get("icon-pitch-alignment")&&(this.layout._values["icon-pitch-alignment"]=this.layout.get("icon-rotation-alignment")),"point"===this.layout.get("symbol-placement")){var n=this.layout.get("text-writing-mode");if(n){for(var i=[],a=0,o=n;a<o.length;a+=1){var s=o[a];i.indexOf(s)<0&&i.push(s);}this.layout._values["text-writing-mode"]=i;}else this.layout._values["text-writing-mode"]=["horizontal"];}this._setPaintOverrides();},e.prototype.getValueAndResolveTokens=function(t,e,r){var n=this.layout.get(t).evaluate(e,{},r),i=this._unevaluatedLayout._values[t];return i.isDataDriven()||zr(i.value)||!n?n:function(t,e){return e.replace(/{([^{}]+)}/g,(function(e,r){return r in t?String(t[r]):""}))}(e.properties,n)},e.prototype.createBucket=function(t){return new Ks(t)},e.prototype.queryRadius=function(){return 0},e.prototype.queryIntersectsFeature=function(){return!1},e.prototype._setPaintOverrides=function(){for(var t=0,r=Xs.paint.overridableProperties;t<r.length;t+=1){var n=r[t];if(e.hasPaintOverride(this.layout,n)){var i=this.paint.get(n),a=new Gs(i),o=new Ir(a,i.property.specification),s=null;s="constant"===i.value.kind||"source"===i.value.kind?new Br("source",o):new Pr("composite",o,i.value.zoomStops,i.value._interpolationType),this.paint._values[n]=new Gn(i.property,s,i.parameters);}}},e.prototype._handleOverridablePaintPropertyUpdate=function(t,r,n){return!(!this.layout||r.isDataDriven()||n.isDataDriven())&&e.hasPaintOverride(this.layout,t)},e.hasPaintOverride=function(t,e){var r=t.get("text-field"),n=Xs.paint.properties[e],i=!1,a=function(t){for(var e=0,r=t;e<r.length;e+=1){var a=r[e];if(n.overrides&&n.overrides.hasOverride(a))return void(i=!0)}};if("constant"===r.value.kind&&r.value.value instanceof Qt)a(r.value.value.sections);else if("source"===r.value.kind){var o=function(t){if(!i)if(t instanceof ie&&re(t.value)===Nt){var e=t.value;a(e.sections);}else t instanceof ue?a(t.sections):t.eachChild(o);},s=r.value;s._styleExpression&&o(s._styleExpression.expression);}return i},e.hasPaintOverrides=function(t){for(var r=0,n=Xs.paint.overridableProperties;r<n.length;r+=1){var i=n[r];if(e.hasPaintOverride(t,i))return!0}return!1},e}(ei),Hs={paint:new ti({"background-color":new Hn(It.paint_background["background-color"]),"background-pattern":new Wn(It.paint_background["background-pattern"]),"background-opacity":new Hn(It.paint_background["background-opacity"])})},Ys=function(t){function e(e){t.call(this,e,Hs);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(ei),$s={paint:new ti({"raster-opacity":new Hn(It.paint_raster["raster-opacity"]),"raster-hue-rotate":new Hn(It.paint_raster["raster-hue-rotate"]),"raster-brightness-min":new Hn(It.paint_raster["raster-brightness-min"]),"raster-brightness-max":new Hn(It.paint_raster["raster-brightness-max"]),"raster-saturation":new Hn(It.paint_raster["raster-saturation"]),"raster-contrast":new Hn(It.paint_raster["raster-contrast"]),"raster-resampling":new Hn(It.paint_raster["raster-resampling"]),"raster-fade-duration":new Hn(It.paint_raster["raster-fade-duration"])})},Ws=function(t){function e(e){t.call(this,e,$s);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e}(ei);var Qs=function(t){function e(e){t.call(this,e,{}),this.implementation=e;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.is3D=function(){return "3d"===this.implementation.renderingMode},e.prototype.hasOffscreenPass=function(){return void 0!==this.implementation.prerender},e.prototype.recalculate=function(){},e.prototype.updateTransitions=function(){},e.prototype.hasTransition=function(){},e.prototype.serialize=function(){},e.prototype.onAdd=function(t){this.implementation.onAdd&&this.implementation.onAdd(t,t.painter.context.gl);},e.prototype.onRemove=function(t){this.implementation.onRemove&&this.implementation.onRemove(t,t.painter.context.gl);},e}(ei),tu={circle:Oa,heatmap:Xa,hillshade:Ja,fill:Fo,"fill-extrusion":Qo,line:ps,symbol:Js,background:Ys,raster:Ws};function eu(t){for(var e=0,r=0,n=0,i=t;n<i.length;n+=1){var a=i[n];e+=a.w*a.h,r=Math.max(r,a.w);}t.sort((function(t,e){return e.h-t.h}));for(var o=[{x:0,y:0,w:Math.max(Math.ceil(Math.sqrt(e/.95)),r),h:1/0}],s=0,u=0,l=0,p=t;l<p.length;l+=1)for(var c=p[l],h=o.length-1;h>=0;h--){var f=o[h];if(!(c.w>f.w||c.h>f.h)){if(c.x=f.x,c.y=f.y,u=Math.max(u,c.y+c.h),s=Math.max(s,c.x+c.w),c.w===f.w&&c.h===f.h){var y=o.pop();h<o.length&&(o[h]=y);}else c.h===f.h?(f.x+=c.w,f.w-=c.w):c.w===f.w?(f.y+=c.h,f.h-=c.h):(o.push({x:f.x+c.w,y:f.y,w:f.w-c.w,h:c.h}),f.y+=c.h,f.h-=c.h);break}}return{w:s,h:u,fill:e/(s*u)||0}}var ru=function(t,e){var r=e.pixelRatio,n=e.version;this.paddedRect=t,this.pixelRatio=r,this.version=n;},nu={tl:{configurable:!0},br:{configurable:!0},tlbr:{configurable:!0},displaySize:{configurable:!0}};nu.tl.get=function(){return[this.paddedRect.x+1,this.paddedRect.y+1]},nu.br.get=function(){return[this.paddedRect.x+this.paddedRect.w-1,this.paddedRect.y+this.paddedRect.h-1]},nu.tlbr.get=function(){return this.tl.concat(this.br)},nu.displaySize.get=function(){return[(this.paddedRect.w-2)/this.pixelRatio,(this.paddedRect.h-2)/this.pixelRatio]},Object.defineProperties(ru.prototype,nu);var iu=function(t,e){var r={},n={};this.haveRenderCallbacks=[];var i=[];this.addImages(t,r,i),this.addImages(e,n,i);var a=eu(i),o=a.w,s=a.h,u=new Na({width:o||1,height:s||1});for(var l in t){var p=t[l],c=r[l].paddedRect;Na.copy(p.data,u,{x:0,y:0},{x:c.x+1,y:c.y+1},p.data);}for(var h in e){var f=e[h],y=n[h].paddedRect,d=y.x+1,m=y.y+1,v=f.data.width,g=f.data.height;Na.copy(f.data,u,{x:0,y:0},{x:d,y:m},f.data),Na.copy(f.data,u,{x:0,y:g-1},{x:d,y:m-1},{width:v,height:1}),Na.copy(f.data,u,{x:0,y:0},{x:d,y:m+g},{width:v,height:1}),Na.copy(f.data,u,{x:v-1,y:0},{x:d-1,y:m},{width:1,height:g}),Na.copy(f.data,u,{x:0,y:0},{x:d+v,y:m},{width:1,height:g});}this.image=u,this.iconPositions=r,this.patternPositions=n;};iu.prototype.addImages=function(t,e,r){for(var n in t){var i=t[n],a={x:0,y:0,w:i.data.width+2,h:i.data.height+2};r.push(a),e[n]=new ru(a,i),i.hasRenderCallback&&this.haveRenderCallbacks.push(n);}},iu.prototype.patchUpdatedImages=function(t,e){for(var r in t.dispatchRenderCallbacks(this.haveRenderCallbacks),t.updatedImages)this.patchUpdatedImage(this.iconPositions[r],t.getImage(r),e),this.patchUpdatedImage(this.patternPositions[r],t.getImage(r),e);},iu.prototype.patchUpdatedImage=function(t,e,r){if(t&&e&&t.version!==e.version){t.version=e.version;var n=t.tl,i=n[0],a=n[1];r.update(e.data,void 0,{x:i,y:a});}},xn("ImagePosition",ru),xn("ImageAtlas",iu);var au=self.HTMLImageElement,ou=self.HTMLCanvasElement,su=self.HTMLVideoElement,uu=self.ImageData,lu=function(t,e,r,n){this.context=t,this.format=r,this.texture=t.gl.createTexture(),this.update(e,n);};lu.prototype.update=function(t,e,r){var n=t.width,i=t.height,a=!(this.size&&this.size[0]===n&&this.size[1]===i||r),o=this.context,s=o.gl;if(this.useMipmap=Boolean(e&&e.useMipmap),s.bindTexture(s.TEXTURE_2D,this.texture),o.pixelStoreUnpackFlipY.set(!1),o.pixelStoreUnpack.set(1),o.pixelStoreUnpackPremultiplyAlpha.set(this.format===s.RGBA&&(!e||!1!==e.premultiply)),a)this.size=[n,i],t instanceof au||t instanceof ou||t instanceof su||t instanceof uu?s.texImage2D(s.TEXTURE_2D,0,this.format,this.format,s.UNSIGNED_BYTE,t):s.texImage2D(s.TEXTURE_2D,0,this.format,n,i,0,this.format,s.UNSIGNED_BYTE,t.data);else{var u=r||{x:0,y:0},l=u.x,p=u.y;t instanceof au||t instanceof ou||t instanceof su||t instanceof uu?s.texSubImage2D(s.TEXTURE_2D,0,l,p,s.RGBA,s.UNSIGNED_BYTE,t):s.texSubImage2D(s.TEXTURE_2D,0,l,p,n,i,s.RGBA,s.UNSIGNED_BYTE,t.data);}this.useMipmap&&this.isSizePowerOfTwo()&&s.generateMipmap(s.TEXTURE_2D);},lu.prototype.bind=function(t,e,r){var n=this.context.gl;n.bindTexture(n.TEXTURE_2D,this.texture),r!==n.LINEAR_MIPMAP_NEAREST||this.isSizePowerOfTwo()||(r=n.LINEAR),t!==this.filter&&(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,t),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,r||t),this.filter=t),e!==this.wrap&&(n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,e),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,e),this.wrap=e);},lu.prototype.isSizePowerOfTwo=function(){return this.size[0]===this.size[1]&&Math.log(this.size[0])/Math.LN2%1==0},lu.prototype.destroy=function(){this.context.gl.deleteTexture(this.texture),this.texture=null;};var pu={read:function(t,e,r,n,i){var a,o,s=8*i-n-1,u=(1<<s)-1,l=u>>1,p=-7,c=r?i-1:0,h=r?-1:1,f=t[e+c];for(c+=h,a=f&(1<<-p)-1,f>>=-p,p+=s;p>0;a=256*a+t[e+c],c+=h,p-=8);for(o=a&(1<<-p)-1,a>>=-p,p+=n;p>0;o=256*o+t[e+c],c+=h,p-=8);if(0===a)a=1-l;else{if(a===u)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,n),a-=l;}return(f?-1:1)*o*Math.pow(2,a-n)},write:function(t,e,r,n,i,a){var o,s,u,l=8*a-i-1,p=(1<<l)-1,c=p>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:a-1,y=n?1:-1,d=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,o=p):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),(e+=o+c>=1?h/u:h*Math.pow(2,1-c))*u>=2&&(o++,u/=2),o+c>=p?(s=0,o=p):o+c>=1?(s=(e*u-1)*Math.pow(2,i),o+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[r+f]=255&s,f+=y,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;t[r+f]=255&o,f+=y,o/=256,l-=8);t[r+f-y]|=128*d;}},cu=hu;function hu(t){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(t)?t:new Uint8Array(t||0),this.pos=0,this.type=0,this.length=this.buf.length;}hu.Varint=0,hu.Fixed64=1,hu.Bytes=2,hu.Fixed32=5;var fu="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function yu(t){return t.type===hu.Bytes?t.readVarint()+t.pos:t.pos+1}function du(t,e,r){return r?4294967296*e+(t>>>0):4294967296*(e>>>0)+(t>>>0)}function mu(t,e,r){var n=e<=16383?1:e<=2097151?2:e<=268435455?3:Math.floor(Math.log(e)/(7*Math.LN2));r.realloc(n);for(var i=r.pos-1;i>=t;i--)r.buf[i+n]=r.buf[i];}function vu(t,e){for(var r=0;r<t.length;r++)e.writeVarint(t[r]);}function gu(t,e){for(var r=0;r<t.length;r++)e.writeSVarint(t[r]);}function xu(t,e){for(var r=0;r<t.length;r++)e.writeFloat(t[r]);}function bu(t,e){for(var r=0;r<t.length;r++)e.writeDouble(t[r]);}function _u(t,e){for(var r=0;r<t.length;r++)e.writeBoolean(t[r]);}function wu(t,e){for(var r=0;r<t.length;r++)e.writeFixed32(t[r]);}function Au(t,e){for(var r=0;r<t.length;r++)e.writeSFixed32(t[r]);}function ku(t,e){for(var r=0;r<t.length;r++)e.writeFixed64(t[r]);}function Su(t,e){for(var r=0;r<t.length;r++)e.writeSFixed64(t[r]);}function Iu(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+16777216*t[e+3]}function zu(t,e,r){t[r]=e,t[r+1]=e>>>8,t[r+2]=e>>>16,t[r+3]=e>>>24;}function Cu(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16)+(t[e+3]<<24)}hu.prototype={destroy:function(){this.buf=null;},readFields:function(t,e,r){for(r=r||this.length;this.pos<r;){var n=this.readVarint(),i=n>>3,a=this.pos;this.type=7&n,t(i,e,this),this.pos===a&&this.skip(n);}return e},readMessage:function(t,e){return this.readFields(t,e,this.readVarint()+this.pos)},readFixed32:function(){var t=Iu(this.buf,this.pos);return this.pos+=4,t},readSFixed32:function(){var t=Cu(this.buf,this.pos);return this.pos+=4,t},readFixed64:function(){var t=Iu(this.buf,this.pos)+4294967296*Iu(this.buf,this.pos+4);return this.pos+=8,t},readSFixed64:function(){var t=Iu(this.buf,this.pos)+4294967296*Cu(this.buf,this.pos+4);return this.pos+=8,t},readFloat:function(){var t=pu.read(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=pu.read(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(t){var e,r,n=this.buf;return e=127&(r=n[this.pos++]),r<128?e:(e|=(127&(r=n[this.pos++]))<<7,r<128?e:(e|=(127&(r=n[this.pos++]))<<14,r<128?e:(e|=(127&(r=n[this.pos++]))<<21,r<128?e:function(t,e,r){var n,i,a=r.buf;if(i=a[r.pos++],n=(112&i)>>4,i<128)return du(t,n,e);if(i=a[r.pos++],n|=(127&i)<<3,i<128)return du(t,n,e);if(i=a[r.pos++],n|=(127&i)<<10,i<128)return du(t,n,e);if(i=a[r.pos++],n|=(127&i)<<17,i<128)return du(t,n,e);if(i=a[r.pos++],n|=(127&i)<<24,i<128)return du(t,n,e);if(i=a[r.pos++],n|=(1&i)<<31,i<128)return du(t,n,e);throw new Error("Expected varint not more than 10 bytes")}(e|=(15&(r=n[this.pos]))<<28,t,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var t=this.readVarint();return t%2==1?(t+1)/-2:t/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var t=this.readVarint()+this.pos,e=this.pos;return this.pos=t,t-e>=12&&fu?function(t,e,r){return fu.decode(t.subarray(e,r))}(this.buf,e,t):function(t,e,r){var n="",i=e;for(;i<r;){var a,o,s,u=t[i],l=null,p=u>239?4:u>223?3:u>191?2:1;if(i+p>r)break;1===p?u<128&&(l=u):2===p?128==(192&(a=t[i+1]))&&(l=(31&u)<<6|63&a)<=127&&(l=null):3===p?(a=t[i+1],o=t[i+2],128==(192&a)&&128==(192&o)&&((l=(15&u)<<12|(63&a)<<6|63&o)<=2047||l>=55296&&l<=57343)&&(l=null)):4===p&&(a=t[i+1],o=t[i+2],s=t[i+3],128==(192&a)&&128==(192&o)&&128==(192&s)&&((l=(15&u)<<18|(63&a)<<12|(63&o)<<6|63&s)<=65535||l>=1114112)&&(l=null)),null===l?(l=65533,p=1):l>65535&&(l-=65536,n+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),n+=String.fromCharCode(l),i+=p;}return n}(this.buf,e,t)},readBytes:function(){var t=this.readVarint()+this.pos,e=this.buf.subarray(this.pos,t);return this.pos=t,e},readPackedVarint:function(t,e){if(this.type!==hu.Bytes)return t.push(this.readVarint(e));var r=yu(this);for(t=t||[];this.pos<r;)t.push(this.readVarint(e));return t},readPackedSVarint:function(t){if(this.type!==hu.Bytes)return t.push(this.readSVarint());var e=yu(this);for(t=t||[];this.pos<e;)t.push(this.readSVarint());return t},readPackedBoolean:function(t){if(this.type!==hu.Bytes)return t.push(this.readBoolean());var e=yu(this);for(t=t||[];this.pos<e;)t.push(this.readBoolean());return t},readPackedFloat:function(t){if(this.type!==hu.Bytes)return t.push(this.readFloat());var e=yu(this);for(t=t||[];this.pos<e;)t.push(this.readFloat());return t},readPackedDouble:function(t){if(this.type!==hu.Bytes)return t.push(this.readDouble());var e=yu(this);for(t=t||[];this.pos<e;)t.push(this.readDouble());return t},readPackedFixed32:function(t){if(this.type!==hu.Bytes)return t.push(this.readFixed32());var e=yu(this);for(t=t||[];this.pos<e;)t.push(this.readFixed32());return t},readPackedSFixed32:function(t){if(this.type!==hu.Bytes)return t.push(this.readSFixed32());var e=yu(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed32());return t},readPackedFixed64:function(t){if(this.type!==hu.Bytes)return t.push(this.readFixed64());var e=yu(this);for(t=t||[];this.pos<e;)t.push(this.readFixed64());return t},readPackedSFixed64:function(t){if(this.type!==hu.Bytes)return t.push(this.readSFixed64());var e=yu(this);for(t=t||[];this.pos<e;)t.push(this.readSFixed64());return t},skip:function(t){var e=7&t;if(e===hu.Varint)for(;this.buf[this.pos++]>127;);else if(e===hu.Bytes)this.pos=this.readVarint()+this.pos;else if(e===hu.Fixed32)this.pos+=4;else{if(e!==hu.Fixed64)throw new Error("Unimplemented type: "+e);this.pos+=8;}},writeTag:function(t,e){this.writeVarint(t<<3|e);},realloc:function(t){for(var e=this.length||16;e<this.pos+t;)e*=2;if(e!==this.length){var r=new Uint8Array(e);r.set(this.buf),this.buf=r,this.length=e;}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(t){this.realloc(4),zu(this.buf,t,this.pos),this.pos+=4;},writeSFixed32:function(t){this.realloc(4),zu(this.buf,t,this.pos),this.pos+=4;},writeFixed64:function(t){this.realloc(8),zu(this.buf,-1&t,this.pos),zu(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8;},writeSFixed64:function(t){this.realloc(8),zu(this.buf,-1&t,this.pos),zu(this.buf,Math.floor(t*(1/4294967296)),this.pos+4),this.pos+=8;},writeVarint:function(t){(t=+t||0)>268435455||t<0?function(t,e){var r,n;t>=0?(r=t%4294967296|0,n=t/4294967296|0):(n=~(-t/4294967296),4294967295^(r=~(-t%4294967296))?r=r+1|0:(r=0,n=n+1|0));if(t>=0x10000000000000000||t<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");e.realloc(10),function(t,e,r){r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos++]=127&t|128,t>>>=7,r.buf[r.pos]=127&t;}(r,0,e),function(t,e){var r=(7&t)<<4;if(e.buf[e.pos++]|=r|((t>>>=3)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;if(e.buf[e.pos++]=127&t|((t>>>=7)?128:0),!t)return;e.buf[e.pos++]=127&t;}(n,e);}(t,this):(this.realloc(4),this.buf[this.pos++]=127&t|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=127&(t>>>=7)|(t>127?128:0),t<=127||(this.buf[this.pos++]=t>>>7&127))));},writeSVarint:function(t){this.writeVarint(t<0?2*-t-1:2*t);},writeBoolean:function(t){this.writeVarint(Boolean(t));},writeString:function(t){t=String(t),this.realloc(4*t.length),this.pos++;var e=this.pos;this.pos=function(t,e,r){for(var n,i,a=0;a<e.length;a++){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){n>56319||a+1===e.length?(t[r++]=239,t[r++]=191,t[r++]=189):i=n;continue}if(n<56320){t[r++]=239,t[r++]=191,t[r++]=189,i=n;continue}n=i-55296<<10|n-56320|65536,i=null;}else i&&(t[r++]=239,t[r++]=191,t[r++]=189,i=null);n<128?t[r++]=n:(n<2048?t[r++]=n>>6|192:(n<65536?t[r++]=n>>12|224:(t[r++]=n>>18|240,t[r++]=n>>12&63|128),t[r++]=n>>6&63|128),t[r++]=63&n|128);}return r}(this.buf,t,this.pos);var r=this.pos-e;r>=128&&mu(e,r,this),this.pos=e-1,this.writeVarint(r),this.pos+=r;},writeFloat:function(t){this.realloc(4),pu.write(this.buf,t,this.pos,!0,23,4),this.pos+=4;},writeDouble:function(t){this.realloc(8),pu.write(this.buf,t,this.pos,!0,52,8),this.pos+=8;},writeBytes:function(t){var e=t.length;this.writeVarint(e),this.realloc(e);for(var r=0;r<e;r++)this.buf[this.pos++]=t[r];},writeRawMessage:function(t,e){this.pos++;var r=this.pos;t(e,this);var n=this.pos-r;n>=128&&mu(r,n,this),this.pos=r-1,this.writeVarint(n),this.pos+=n;},writeMessage:function(t,e,r){this.writeTag(t,hu.Bytes),this.writeRawMessage(e,r);},writePackedVarint:function(t,e){e.length&&this.writeMessage(t,vu,e);},writePackedSVarint:function(t,e){e.length&&this.writeMessage(t,gu,e);},writePackedBoolean:function(t,e){e.length&&this.writeMessage(t,_u,e);},writePackedFloat:function(t,e){e.length&&this.writeMessage(t,xu,e);},writePackedDouble:function(t,e){e.length&&this.writeMessage(t,bu,e);},writePackedFixed32:function(t,e){e.length&&this.writeMessage(t,wu,e);},writePackedSFixed32:function(t,e){e.length&&this.writeMessage(t,Au,e);},writePackedFixed64:function(t,e){e.length&&this.writeMessage(t,ku,e);},writePackedSFixed64:function(t,e){e.length&&this.writeMessage(t,Su,e);},writeBytesField:function(t,e){this.writeTag(t,hu.Bytes),this.writeBytes(e);},writeFixed32Field:function(t,e){this.writeTag(t,hu.Fixed32),this.writeFixed32(e);},writeSFixed32Field:function(t,e){this.writeTag(t,hu.Fixed32),this.writeSFixed32(e);},writeFixed64Field:function(t,e){this.writeTag(t,hu.Fixed64),this.writeFixed64(e);},writeSFixed64Field:function(t,e){this.writeTag(t,hu.Fixed64),this.writeSFixed64(e);},writeVarintField:function(t,e){this.writeTag(t,hu.Varint),this.writeVarint(e);},writeSVarintField:function(t,e){this.writeTag(t,hu.Varint),this.writeSVarint(e);},writeStringField:function(t,e){this.writeTag(t,hu.Bytes),this.writeString(e);},writeFloatField:function(t,e){this.writeTag(t,hu.Fixed32),this.writeFloat(e);},writeDoubleField:function(t,e){this.writeTag(t,hu.Fixed64),this.writeDouble(e);},writeBooleanField:function(t,e){this.writeVarintField(t,Boolean(e));}};var Bu=3;function Pu(t,e,r){1===t&&r.readMessage(Eu,e);}function Eu(t,e,r){if(3===t){var n=r.readMessage(Mu,{}),i=n.id,a=n.bitmap,o=n.width,s=n.height,u=n.left,l=n.top,p=n.advance;e.push({id:i,bitmap:new qa({width:o+2*Bu,height:s+2*Bu},a),metrics:{width:o,height:s,left:u,top:l,advance:p}});}}function Mu(t,e,r){1===t?e.id=r.readVarint():2===t?e.bitmap=r.readBytes():3===t?e.width=r.readVarint():4===t?e.height=r.readVarint():5===t?e.left=r.readSVarint():6===t?e.top=r.readSVarint():7===t&&(e.advance=r.readVarint());}var Tu=Bu,Vu=function(t){var e=this;this._callback=t,this._triggered=!1,"undefined"!=typeof MessageChannel&&(this._channel=new MessageChannel,this._channel.port2.onmessage=function(){e._triggered=!1,e._callback();});};Vu.prototype.trigger=function(){var t=this;this._triggered||(this._triggered=!0,this._channel?this._channel.port1.postMessage(!0):setTimeout((function(){t._triggered=!1,t._callback();}),0));},Vu.prototype.remove=function(){delete this._channel,this._callback=function(){};};var Fu=function(t,e,r){this.target=t,this.parent=e,this.mapId=r,this.callbacks={},this.tasks={},this.taskQueue=[],this.cancelCallbacks={},m(["receive","process"],this),this.invoker=new Vu(this.process),this.target.addEventListener("message",this.receive,!1);};function Ou(t,e,r){var n=2*Math.PI*6378137/256/Math.pow(2,r);return[t*n-2*Math.PI*6378137/2,e*n-2*Math.PI*6378137/2]}Fu.prototype.send=function(t,e,r,n){var i=this,a=Math.round(1e18*Math.random()).toString(36).substring(0,10);r&&(this.callbacks[a]=r);var o=[];return this.target.postMessage({id:a,type:t,hasCallback:!!r,targetMapId:n,sourceMapId:this.mapId,data:wn(e,o)},o),{cancel:function(){r&&delete i.callbacks[a],i.target.postMessage({id:a,type:"<cancel>",targetMapId:n,sourceMapId:i.mapId});}}},Fu.prototype.receive=function(t){var e=t.data,r=e.id;if(r&&(!e.targetMapId||this.mapId===e.targetMapId))if("<cancel>"===e.type){delete this.tasks[r];var n=this.cancelCallbacks[r];delete this.cancelCallbacks[r],n&&n();}else this.tasks[r]=e,this.taskQueue.push(r),this.invoker.trigger();},Fu.prototype.process=function(){var t=this;if(this.taskQueue.length){var e=this.taskQueue.shift(),r=this.tasks[e];if(delete this.tasks[e],this.taskQueue.length&&this.invoker.trigger(),r)if("<response>"===r.type){var n=this.callbacks[e];delete this.callbacks[e],n&&(r.error?n(An(r.error)):n(null,An(r.data)));}else{var i=!1,a=r.hasCallback?function(r,n){i=!0,delete t.cancelCallbacks[e];var a=[];t.target.postMessage({id:e,type:"<response>",sourceMapId:t.mapId,error:r?wn(r):null,data:wn(n,a)},a);}:function(t){i=!0;},o=null,s=An(r.data);if(this.parent[r.type])o=this.parent[r.type](r.sourceMapId,s,a);else if(this.parent.getWorkerSource){var u=r.type.split(".");o=this.parent.getWorkerSource(r.sourceMapId,u[0],s.source)[u[1]](s,a);}else a(new Error("Could not find function "+r.type));!i&&o&&o.cancel&&(this.cancelCallbacks[e]=o.cancel);}}},Fu.prototype.remove=function(){this.invoker.remove(),this.target.removeEventListener("message",this.receive,!1);};var Lu=function(t,e){t&&(e?this.setSouthWest(t).setNorthEast(e):4===t.length?this.setSouthWest([t[0],t[1]]).setNorthEast([t[2],t[3]]):this.setSouthWest(t[0]).setNorthEast(t[1]));};Lu.prototype.setNorthEast=function(t){return this._ne=t instanceof Du?new Du(t.lng,t.lat):Du.convert(t),this},Lu.prototype.setSouthWest=function(t){return this._sw=t instanceof Du?new Du(t.lng,t.lat):Du.convert(t),this},Lu.prototype.extend=function(t){var e,r,n=this._sw,i=this._ne;if(t instanceof Du)e=t,r=t;else{if(!(t instanceof Lu))return Array.isArray(t)?t.every(Array.isArray)?this.extend(Lu.convert(t)):this.extend(Du.convert(t)):this;if(e=t._sw,r=t._ne,!e||!r)return this}return n||i?(n.lng=Math.min(e.lng,n.lng),n.lat=Math.min(e.lat,n.lat),i.lng=Math.max(r.lng,i.lng),i.lat=Math.max(r.lat,i.lat)):(this._sw=new Du(e.lng,e.lat),this._ne=new Du(r.lng,r.lat)),this},Lu.prototype.getCenter=function(){return new Du((this._sw.lng+this._ne.lng)/2,(this._sw.lat+this._ne.lat)/2)},Lu.prototype.getSouthWest=function(){return this._sw},Lu.prototype.getNorthEast=function(){return this._ne},Lu.prototype.getNorthWest=function(){return new Du(this.getWest(),this.getNorth())},Lu.prototype.getSouthEast=function(){return new Du(this.getEast(),this.getSouth())},Lu.prototype.getWest=function(){return this._sw.lng},Lu.prototype.getSouth=function(){return this._sw.lat},Lu.prototype.getEast=function(){return this._ne.lng},Lu.prototype.getNorth=function(){return this._ne.lat},Lu.prototype.toArray=function(){return[this._sw.toArray(),this._ne.toArray()]},Lu.prototype.toString=function(){return "LngLatBounds("+this._sw.toString()+", "+this._ne.toString()+")"},Lu.prototype.isEmpty=function(){return!(this._sw&&this._ne)},Lu.convert=function(t){return!t||t instanceof Lu?t:new Lu(t)};var Du=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid LngLat object: ("+t+", "+e+")");if(this.lng=+t,this.lat=+e,this.lat>90||this.lat<-90)throw new Error("Invalid LngLat latitude value: must be between -90 and 90")};Du.prototype.wrap=function(){return new Du(p(this.lng,-180,180),this.lat)},Du.prototype.toArray=function(){return[this.lng,this.lat]},Du.prototype.toString=function(){return "LngLat("+this.lng+", "+this.lat+")"},Du.prototype.toBounds=function(t){void 0===t&&(t=0);var e=360*t/40075017,r=e/Math.cos(Math.PI/180*this.lat);return new Lu(new Du(this.lng-r,this.lat-e),new Du(this.lng+r,this.lat+e))},Du.convert=function(t){if(t instanceof Du)return t;if(Array.isArray(t)&&(2===t.length||3===t.length))return new Du(Number(t[0]),Number(t[1]));if(!Array.isArray(t)&&"object"==typeof t&&null!==t)return new Du(Number("lng"in t?t.lng:t.lon),Number(t.lat));throw new Error("`LngLatLike` argument must be specified as a LngLat instance, an object {lng: <lng>, lat: <lat>}, an object {lon: <lng>, lat: <lat>}, or an array of [<lng>, <lat>]")};var Uu=2*Math.PI*6378137;function Ru(t){return Uu*Math.cos(t*Math.PI/180)}function ju(t){return(180+t)/360}function qu(t){return(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+t*Math.PI/360)))/360}function Nu(t,e){return t/Ru(e)}function Ku(t){var e=180-360*t;return 360/Math.PI*Math.atan(Math.exp(e*Math.PI/180))-90}var Zu=function(t,e,r){void 0===r&&(r=0),this.x=+t,this.y=+e,this.z=+r;};Zu.fromLngLat=function(t,e){void 0===e&&(e=0);var r=Du.convert(t);return new Zu(ju(r.lng),qu(r.lat),Nu(e,r.lat))},Zu.prototype.toLngLat=function(){return new Du(360*this.x-180,Ku(this.y))},Zu.prototype.toAltitude=function(){return t=this.z,e=this.y,t*Ru(Ku(e));var t,e;},Zu.prototype.meterInMercatorCoordinateUnits=function(){return 1/Uu*(t=Ku(this.y),1/Math.cos(t*Math.PI/180));var t;};var Xu=function(t,e,r){this.z=t,this.x=e,this.y=r,this.key=Hu(0,t,e,r);};Xu.prototype.equals=function(t){return this.z===t.z&&this.x===t.x&&this.y===t.y},Xu.prototype.url=function(t,e){var r,n,i,a,o,s=(r=this.x,n=this.y,i=this.z,a=Ou(256*r,256*(n=Math.pow(2,i)-n-1),i),o=Ou(256*(r+1),256*(n+1),i),a[0]+","+a[1]+","+o[0]+","+o[1]),u=function(t,e,r){for(var n,i="",a=t;a>0;a--)i+=(e&(n=1<<a-1)?1:0)+(r&n?2:0);return i}(this.z,this.x,this.y);return t[(this.x+this.y)%t.length].replace("{prefix}",(this.x%16).toString(16)+(this.y%16).toString(16)).replace("{z}",String(this.z)).replace("{x}",String(this.x)).replace("{y}",String("tms"===e?Math.pow(2,this.z)-this.y-1:this.y)).replace("{quadkey}",u).replace("{bbox-epsg-3857}",s)},Xu.prototype.getTilePoint=function(t){var e=Math.pow(2,this.z);return new i((t.x*e-this.x)*pa,(t.y*e-this.y)*pa)};var Gu=function(t,e){this.wrap=t,this.canonical=e,this.key=Hu(t,e.z,e.x,e.y);},Ju=function(t,e,r,n,i){this.overscaledZ=t,this.wrap=e,this.canonical=new Xu(r,+n,+i),this.key=Hu(e,t,n,i);};function Hu(t,e,r,n){(t*=2)<0&&(t=-1*t-1);var i=1<<e;return 32*(i*i*t+i*n+r)+e}Ju.prototype.equals=function(t){return this.overscaledZ===t.overscaledZ&&this.wrap===t.wrap&&this.canonical.equals(t.canonical)},Ju.prototype.scaledTo=function(t){var e=this.canonical.z-t;return t>this.canonical.z?new Ju(t,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y):new Ju(t,this.wrap,t,this.canonical.x>>e,this.canonical.y>>e)},Ju.prototype.isChildOf=function(t){if(t.wrap!==this.wrap)return!1;var e=this.canonical.z-t.canonical.z;return 0===t.overscaledZ||t.overscaledZ<this.overscaledZ&&t.canonical.x===this.canonical.x>>e&&t.canonical.y===this.canonical.y>>e},Ju.prototype.children=function(t){if(this.overscaledZ>=t)return[new Ju(this.overscaledZ+1,this.wrap,this.canonical.z,this.canonical.x,this.canonical.y)];var e=this.canonical.z+1,r=2*this.canonical.x,n=2*this.canonical.y;return[new Ju(e,this.wrap,e,r,n),new Ju(e,this.wrap,e,r+1,n),new Ju(e,this.wrap,e,r,n+1),new Ju(e,this.wrap,e,r+1,n+1)]},Ju.prototype.isLessThan=function(t){return this.wrap<t.wrap||!(this.wrap>t.wrap)&&(this.overscaledZ<t.overscaledZ||!(this.overscaledZ>t.overscaledZ)&&(this.canonical.x<t.canonical.x||!(this.canonical.x>t.canonical.x)&&this.canonical.y<t.canonical.y))},Ju.prototype.wrapped=function(){return new Ju(this.overscaledZ,0,this.canonical.z,this.canonical.x,this.canonical.y)},Ju.prototype.unwrapTo=function(t){return new Ju(this.overscaledZ,t,this.canonical.z,this.canonical.x,this.canonical.y)},Ju.prototype.overscaleFactor=function(){return Math.pow(2,this.overscaledZ-this.canonical.z)},Ju.prototype.toUnwrapped=function(){return new Gu(this.wrap,this.canonical)},Ju.prototype.toString=function(){return this.overscaledZ+"/"+this.canonical.x+"/"+this.canonical.y},Ju.prototype.getTilePoint=function(t){return this.canonical.getTilePoint(new Zu(t.x-this.wrap,t.y))},xn("CanonicalTileID",Xu),xn("OverscaledTileID",Ju,{omit:["posMatrix"]});var Yu=function(t,e,r){if(this.uid=t,e.height!==e.width)throw new RangeError("DEM tiles must be square");if(r&&"mapbox"!==r&&"terrarium"!==r)return w('"'+r+'" is not a valid encoding type. Valid types include "mapbox" and "terrarium".');this.stride=e.height;var n=this.dim=e.height-2;this.data=new Uint32Array(e.data.buffer),this.encoding=r||"mapbox";for(var i=0;i<n;i++)this.data[this._idx(-1,i)]=this.data[this._idx(0,i)],this.data[this._idx(n,i)]=this.data[this._idx(n-1,i)],this.data[this._idx(i,-1)]=this.data[this._idx(i,0)],this.data[this._idx(i,n)]=this.data[this._idx(i,n-1)];this.data[this._idx(-1,-1)]=this.data[this._idx(0,0)],this.data[this._idx(n,-1)]=this.data[this._idx(n-1,0)],this.data[this._idx(-1,n)]=this.data[this._idx(0,n-1)],this.data[this._idx(n,n)]=this.data[this._idx(n-1,n-1)];};Yu.prototype.get=function(t,e){var r=new Uint8Array(this.data.buffer),n=4*this._idx(t,e);return("terrarium"===this.encoding?this._unpackTerrarium:this._unpackMapbox)(r[n],r[n+1],r[n+2])},Yu.prototype.getUnpackVector=function(){return "terrarium"===this.encoding?[256,1,1/256,32768]:[6553.6,25.6,.1,1e4]},Yu.prototype._idx=function(t,e){if(t<-1||t>=this.dim+1||e<-1||e>=this.dim+1)throw new RangeError("out of range source coordinates for DEM data");return(e+1)*this.stride+(t+1)},Yu.prototype._unpackMapbox=function(t,e,r){return(256*t*256+256*e+r)/10-1e4},Yu.prototype._unpackTerrarium=function(t,e,r){return 256*t+e+r/256-32768},Yu.prototype.getPixels=function(){return new Na({width:this.stride,height:this.stride},new Uint8Array(this.data.buffer))},Yu.prototype.backfillBorder=function(t,e,r){if(this.dim!==t.dim)throw new Error("dem dimension mismatch");var n=e*this.dim,i=e*this.dim+this.dim,a=r*this.dim,o=r*this.dim+this.dim;switch(e){case-1:n=i-1;break;case 1:i=n+1;}switch(r){case-1:a=o-1;break;case 1:o=a+1;}for(var s=-e*this.dim,u=-r*this.dim,l=a;l<o;l++)for(var p=n;p<i;p++)this.data[this._idx(p,l)]=t.data[this._idx(p+s,l+u)];},xn("DEMData",Yu);var $u=ai([{name:"a_pos",type:"Int16",components:2},{name:"a_texture_pos",type:"Int16",components:2}]);var Wu=function(t){this._stringToNumber={},this._numberToString=[];for(var e=0;e<t.length;e++){var r=t[e];this._stringToNumber[r]=e,this._numberToString[e]=r;}};Wu.prototype.encode=function(t){return this._stringToNumber[t]},Wu.prototype.decode=function(t){return this._numberToString[t]};var Qu=function(t,e,r,n){this.type="Feature",this._vectorTileFeature=t,t._z=e,t._x=r,t._y=n,this.properties=t.properties,null!=t.id&&(this.id=t.id);},tl={geometry:{configurable:!0}};tl.geometry.get=function(){return void 0===this._geometry&&(this._geometry=this._vectorTileFeature.toGeoJSON(this._vectorTileFeature._x,this._vectorTileFeature._y,this._vectorTileFeature._z).geometry),this._geometry},tl.geometry.set=function(t){this._geometry=t;},Qu.prototype.toJSON=function(){var t={geometry:this.geometry};for(var e in this)"_geometry"!==e&&"_vectorTileFeature"!==e&&(t[e]=this[e]);return t},Object.defineProperties(Qu.prototype,tl);var el=function(){this.state={},this.stateChanges={},this.deletedStates={};};el.prototype.updateState=function(t,e,r){var n=String(e);if(this.stateChanges[t]=this.stateChanges[t]||{},this.stateChanges[t][n]=this.stateChanges[t][n]||{},c(this.stateChanges[t][n],r),null===this.deletedStates[t])for(var i in this.deletedStates[t]={},this.state[t])i!==n&&(this.deletedStates[t][i]=null);else if(this.deletedStates[t]&&null===this.deletedStates[t][n])for(var a in this.deletedStates[t][n]={},this.state[t][n])r[a]||(this.deletedStates[t][n][a]=null);else for(var o in r){this.deletedStates[t]&&this.deletedStates[t][n]&&null===this.deletedStates[t][n][o]&&delete this.deletedStates[t][n][o];}},el.prototype.removeFeatureState=function(t,e,r){if(!(null===this.deletedStates[t])){var n=String(e);if(this.deletedStates[t]=this.deletedStates[t]||{},r&&void 0!==e&&e>=0)null!==this.deletedStates[t][n]&&(this.deletedStates[t][n]=this.deletedStates[t][n]||{},this.deletedStates[t][n][r]=null);else if(void 0!==e&&e>=0){if(this.stateChanges[t]&&this.stateChanges[t][n])for(r in this.deletedStates[t][n]={},this.stateChanges[t][n])this.deletedStates[t][n][r]=null;else this.deletedStates[t][n]=null;}else this.deletedStates[t]=null;}},el.prototype.getState=function(t,e){var r=String(e),n=this.state[t]||{},i=this.stateChanges[t]||{},a=c({},n[r],i[r]);if(null===this.deletedStates[t])return{};if(this.deletedStates[t]){var o=this.deletedStates[t][e];if(null===o)return{};for(var s in o)delete a[s];}return a},el.prototype.initializeTileState=function(t,e){t.setFeatureState(this.state,e);},el.prototype.coalesceChanges=function(t,e){var r={};for(var n in this.stateChanges){this.state[n]=this.state[n]||{};var i={};for(var a in this.stateChanges[n])this.state[n][a]||(this.state[n][a]={}),c(this.state[n][a],this.stateChanges[n][a]),i[a]=this.state[n][a];r[n]=i;}for(var o in this.deletedStates){this.state[o]=this.state[o]||{};var s={};if(null===this.deletedStates[o])for(var u in this.state[o])s[u]={},this.state[o][u]={};else for(var l in this.deletedStates[o]){if(null===this.deletedStates[o][l])this.state[o][l]={};else for(var p=0,h=Object.keys(this.deletedStates[o][l]);p<h.length;p+=1){var f=h[p];delete this.state[o][l][f];}s[l]=this.state[o][l];}r[o]=r[o]||{},c(r[o],s);}if(this.stateChanges={},this.deletedStates={},0!==Object.keys(r).length)for(var y in t){t[y].setFeatureState(r,e);}};var rl=function(t,e,r){this.tileID=t,this.x=t.canonical.x,this.y=t.canonical.y,this.z=t.canonical.z,this.grid=e||new yn(pa,16,0),this.grid3D=new yn(pa,16,0),this.featureIndexArray=r||new Ui;};function nl(t){for(var e=1/0,r=1/0,n=-1/0,i=-1/0,a=0,o=t;a<o.length;a+=1){var s=o[a];e=Math.min(e,s.x),r=Math.min(r,s.y),n=Math.max(n,s.x),i=Math.max(i,s.y);}return{minX:e,minY:r,maxX:n,maxY:i}}function il(t,e){return e-t}rl.prototype.insert=function(t,e,r,n,i,a){var o=this.featureIndexArray.length;this.featureIndexArray.emplaceBack(r,n,i);for(var s=a?this.grid3D:this.grid,u=0;u<e.length;u++){for(var l=e[u],p=[1/0,1/0,-1/0,-1/0],c=0;c<l.length;c++){var h=l[c];p[0]=Math.min(p[0],h.x),p[1]=Math.min(p[1],h.y),p[2]=Math.max(p[2],h.x),p[3]=Math.max(p[3],h.y);}p[0]<pa&&p[1]<pa&&p[2]>=0&&p[3]>=0&&s.insert(o,p[0],p[1],p[2],p[3]);}},rl.prototype.loadVTLayers=function(){return this.vtLayers||(this.vtLayers=new Zo.VectorTile(new cu(this.rawTileData)).layers,this.sourceLayerCoder=new Wu(this.vtLayers?Object.keys(this.vtLayers).sort():["_geojsonTileLayer"])),this.vtLayers},rl.prototype.query=function(t,e,r){var n=this;this.loadVTLayers();for(var a=t.params||{},o=pa/t.tileSize/t.scale,s=jr(a.filter),u=t.queryGeometry,l=t.queryPadding*o,p=nl(u),c=this.grid.query(p.minX-l,p.minY-l,p.maxX+l,p.maxY+l),h=nl(t.cameraQueryGeometry),f=this.grid3D.query(h.minX-l,h.minY-l,h.maxX+l,h.maxY+l,(function(e,r,n,a){return function(t,e,r,n,a){for(var o=0,s=t;o<s.length;o+=1){var u=s[o];if(e<=u.x&&r<=u.y&&n>=u.x&&a>=u.y)return!0}var l=[new i(e,r),new i(e,a),new i(n,a),new i(n,r)];if(t.length>2)for(var p=0,c=l;p<c.length;p+=1){if(Sa(t,c[p]))return!0}for(var h=0;h<t.length-1;h++){if(Ia(t[h],t[h+1],l))return!0}return!1}(t.cameraQueryGeometry,e-l,r-l,n+l,a+l)})),y=0,d=f;y<d.length;y+=1){var m=d[y];c.push(m);}c.sort(il);for(var v,g={},x=function(i){var l=c[i];if(l!==v){v=l;var p=n.featureIndexArray.get(l),h=null;n.loadMatchingFeature(g,p.bucketIndex,p.sourceLayerIndex,p.featureIndex,s,a.layers,e,(function(e,i){h||(h=fa(e));var a={};return e.id&&(a=r.getState(i.sourceLayer||"_geojsonTileLayer",e.id)),i.queryIntersectsFeature(u,e,a,h,n.z,t.transform,o,t.pixelPosMatrix)}));}},b=0;b<c.length;b++)x(b);return g},rl.prototype.loadMatchingFeature=function(t,e,r,n,i,a,o,s){var u=this.bucketLayerIDs[e];if(!a||function(t,e){for(var r=0;r<t.length;r++)if(e.indexOf(t[r])>=0)return!0;return!1}(a,u)){var l=this.sourceLayerCoder.decode(r),p=this.vtLayers[l].feature(n);if(i(new Rn(this.tileID.overscaledZ),p))for(var c=0;c<u.length;c++){var h=u[c];if(!(a&&a.indexOf(h)<0)){var f=o[h];if(f){var y=!s||s(p,f);if(y){var d=new Qu(p,this.z,this.x,this.y);d.layer=f.serialize();var m=t[h];void 0===m&&(m=t[h]=[]),m.push({featureIndex:n,feature:d,intersectionZ:y});}}}}}},rl.prototype.lookupSymbolFeatures=function(t,e,r,n,i,a){var o={};this.loadVTLayers();for(var s=jr(n),u=0,l=t;u<l.length;u+=1){var p=l[u];this.loadMatchingFeature(o,e,r,p,s,i,a);}return o},rl.prototype.hasLayer=function(t){for(var e=0,r=this.bucketLayerIDs;e<r.length;e+=1)for(var n=0,i=r[e];n<i.length;n+=1){if(t===i[n])return!0}return!1},xn("FeatureIndex",rl,{omit:["rawTileData","sourceLayerCoder"]});var al=function(t,e){this.tileID=t,this.uid=f(),this.uses=0,this.tileSize=e,this.buckets={},this.expirationTime=null,this.queryPadding=0,this.hasSymbolBuckets=!1,this.expiredRequestCount=0,this.state="loading";};al.prototype.registerFadeDuration=function(t){var e=t+this.timeAdded;e<V.now()||this.fadeEndTime&&e<this.fadeEndTime||(this.fadeEndTime=e);},al.prototype.wasRequested=function(){return "errored"===this.state||"loaded"===this.state||"reloading"===this.state},al.prototype.loadVectorData=function(t,e,r){if(this.hasData()&&this.unloadVectorData(),this.state="loaded",t){for(var n in t.featureIndex&&(this.latestFeatureIndex=t.featureIndex,t.rawTileData?(this.latestRawTileData=t.rawTileData,this.latestFeatureIndex.rawTileData=t.rawTileData):this.latestRawTileData&&(this.latestFeatureIndex.rawTileData=this.latestRawTileData)),this.collisionBoxArray=t.collisionBoxArray,this.buckets=function(t,e){var r={};if(!e)return r;for(var n=function(){var t=a[i],n=t.layerIds.map((function(t){return e.getLayer(t)})).filter(Boolean);if(0!==n.length){t.layers=n,t.stateDependentLayerIds&&(t.stateDependentLayers=t.stateDependentLayerIds.map((function(t){return n.filter((function(e){return e.id===t}))[0]})));for(var o=0,s=n;o<s.length;o+=1){var u=s[o];r[u.id]=t;}}},i=0,a=t;i<a.length;i+=1)n();return r}(t.buckets,e.style),this.hasSymbolBuckets=!1,this.buckets){var i=this.buckets[n];if(i instanceof Ks){if(this.hasSymbolBuckets=!0,!r)break;i.justReloaded=!0;}}for(var a in this.queryPadding=0,this.buckets){var o=this.buckets[a];this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(a).queryRadius(o));}t.imageAtlas&&(this.imageAtlas=t.imageAtlas),t.glyphAtlasImage&&(this.glyphAtlasImage=t.glyphAtlasImage);}else this.collisionBoxArray=new Bi;},al.prototype.unloadVectorData=function(){for(var t in this.buckets)this.buckets[t].destroy();this.buckets={},this.imageAtlasTexture&&this.imageAtlasTexture.destroy(),this.imageAtlas&&(this.imageAtlas=null),this.glyphAtlasTexture&&this.glyphAtlasTexture.destroy(),this.latestFeatureIndex=null,this.state="unloaded";},al.prototype.getBucket=function(t){return this.buckets[t.id]},al.prototype.upload=function(t){for(var e in this.buckets){var r=this.buckets[e];r.uploadPending()&&r.upload(t);}var n=t.gl;this.imageAtlas&&!this.imageAtlas.uploaded&&(this.imageAtlasTexture=new lu(t,this.imageAtlas.image,n.RGBA),this.imageAtlas.uploaded=!0),this.glyphAtlasImage&&(this.glyphAtlasTexture=new lu(t,this.glyphAtlasImage,n.ALPHA),this.glyphAtlasImage=null);},al.prototype.prepare=function(t){this.imageAtlas&&this.imageAtlas.patchUpdatedImages(t,this.imageAtlasTexture);},al.prototype.queryRenderedFeatures=function(t,e,r,n,i,a,o,s,u){return this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData?this.latestFeatureIndex.query({queryGeometry:r,cameraQueryGeometry:n,scale:i,tileSize:this.tileSize,pixelPosMatrix:u,transform:o,params:a,queryPadding:this.queryPadding*s},t,e):{}},al.prototype.querySourceFeatures=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData){var r=this.latestFeatureIndex.loadVTLayers(),n=e?e.sourceLayer:"",i=r._geojsonTileLayer||r[n];if(i)for(var a=jr(e&&e.filter),o=this.tileID.canonical,s=o.z,u=o.x,l=o.y,p={z:s,x:u,y:l},c=0;c<i.length;c++){var h=i.feature(c);if(a(new Rn(this.tileID.overscaledZ),h)){var f=new Qu(h,s,u,l);f.tile=p,t.push(f);}}}},al.prototype.clearMask=function(){this.segments&&(this.segments.destroy(),delete this.segments),this.maskedBoundsBuffer&&(this.maskedBoundsBuffer.destroy(),delete this.maskedBoundsBuffer),this.maskedIndexBuffer&&(this.maskedIndexBuffer.destroy(),delete this.maskedIndexBuffer),delete this.mask;},al.prototype.setMask=function(t,e){if(!o(this.mask,t)&&(this.clearMask(),this.mask=t,!o(t,{0:!0}))){var r=new ui,n=new Ai;this.segments=new ji,this.segments.prepareSegment(0,r,n);for(var a=Object.keys(t),s=0;s<a.length;s++){var u=t[+a[s]],l=pa>>u.z,p=new i(u.x*l,u.y*l),c=new i(p.x+l,p.y+l),h=this.segments.prepareSegment(4,r,n);r.emplaceBack(p.x,p.y,p.x,p.y),r.emplaceBack(c.x,p.y,c.x,p.y),r.emplaceBack(p.x,c.y,p.x,c.y),r.emplaceBack(c.x,c.y,c.x,c.y);var f=h.vertexLength;n.emplaceBack(f,f+1,f+2),n.emplaceBack(f+1,f+2,f+3),h.vertexLength+=4,h.primitiveLength+=2;}this.maskedBoundsBuffer=e.createVertexBuffer(r,$u.members),this.maskedIndexBuffer=e.createIndexBuffer(n);}},al.prototype.hasData=function(){return "loaded"===this.state||"reloading"===this.state||"expired"===this.state},al.prototype.patternsLoaded=function(){return this.imageAtlas&&!!Object.keys(this.imageAtlas.patternPositions).length},al.prototype.setExpiryData=function(t){var e=this.expirationTime;if(t.cacheControl){var r=S(t.cacheControl);r["max-age"]&&(this.expirationTime=Date.now()+1e3*r["max-age"]);}else t.expires&&(this.expirationTime=new Date(t.expires).getTime());if(this.expirationTime){var n=Date.now(),i=!1;if(this.expirationTime>n)i=!1;else if(e)if(this.expirationTime<e)i=!0;else{var a=this.expirationTime-e;a?this.expirationTime=n+Math.max(a,3e4):i=!0;}else i=!0;i?(this.expiredRequestCount++,this.state="expired"):this.expiredRequestCount=0;}},al.prototype.getExpiryTimeout=function(){if(this.expirationTime)return this.expiredRequestCount?1e3*(1<<Math.min(this.expiredRequestCount-1,31)):Math.min(this.expirationTime-(new Date).getTime(),Math.pow(2,31)-1)},al.prototype.setFeatureState=function(t,e){if(this.latestFeatureIndex&&this.latestFeatureIndex.rawTileData&&0!==Object.keys(t).length){var r=this.latestFeatureIndex.loadVTLayers();for(var n in this.buckets){var i=this.buckets[n],a=i.layers[0].sourceLayer||"_geojsonTileLayer",o=r[a],s=t[a];o&&s&&0!==Object.keys(s).length&&(i.update(s,o,this.imageAtlas&&this.imageAtlas.patternPositions||{}),e&&e.style&&(this.queryPadding=Math.max(this.queryPadding,e.style.getLayer(n).queryRadius(i))));}}},al.prototype.holdingForFade=function(){return void 0!==this.symbolFadeHoldUntil},al.prototype.symbolFadeFinished=function(){return!this.symbolFadeHoldUntil||this.symbolFadeHoldUntil<V.now()},al.prototype.clearFadeHold=function(){this.symbolFadeHoldUntil=void 0;},al.prototype.setHoldDuration=function(t){this.symbolFadeHoldUntil=V.now()+t;};function ol(t,e,r,n,i){if(void 0===e.segment)return!0;for(var a=e,o=e.segment+1,s=0;s>-r/2;){if(--o<0)return!1;s-=t[o].dist(a),a=t[o];}s+=t[o].dist(t[o+1]),o++;for(var u=[],l=0;s<r/2;){var p=t[o-1],c=t[o],h=t[o+1];if(!h)return!1;var f=p.angleTo(c)-c.angleTo(h);for(f=Math.abs((f+3*Math.PI)%(2*Math.PI)-Math.PI),u.push({distance:s,angleDelta:f}),l+=f;s-u[0].distance>n;)l-=u.shift().angleDelta;if(l>i)return!1;o++,s+=c.dist(h);}return!0}function sl(t){for(var e=0,r=0;r<t.length-1;r++)e+=t[r].dist(t[r+1]);return e}function ul(t,e,r){return t?.6*e*r:0}function ll(t,e){return Math.max(t?t.right-t.left:0,e?e.right-e.left:0)}function pl(t,e,r,n,i,a){for(var o=ul(r,i,a),s=ll(r,n)*a,u=0,l=sl(t)/2,p=0;p<t.length-1;p++){var c=t[p],h=t[p+1],f=c.dist(h);if(u+f>l){var y=(l-u)/f,d=Ae(c.x,h.x,y),m=Ae(c.y,h.y,y),v=new Ms(d,m,h.angleTo(c),p);return v._round(),!o||ol(t,v,s,o,e)?v:void 0}u+=f;}}function cl(t,e,r,n,i,a,o,s,u){var l=ul(n,a,o),p=ll(n,i),c=p*o,h=0===t[0].x||t[0].x===u||0===t[0].y||t[0].y===u;return e-c<e/4&&(e=c+e/4),function t(e,r,n,i,a,o,s,u,l){var p=o/2;var c=sl(e);var h=0,f=r-n;var y=[];for(var d=0;d<e.length-1;d++){for(var m=e[d],v=e[d+1],g=m.dist(v),x=v.angleTo(m);f+n<h+g;){var b=((f+=n)-h)/g,_=Ae(m.x,v.x,b),w=Ae(m.y,v.y,b);if(_>=0&&_<l&&w>=0&&w<l&&f-p>=0&&f+p<=c){var A=new Ms(_,w,x,d);A._round(),i&&!ol(e,A,o,i,a)||y.push(A);}}h+=g;}u||y.length||s||(y=t(e,h/2,n,i,a,o,s,!0,l));return y}(t,h?e/2*s%e:(p/2+2*a)*o*s%e,e,l,r,c,h,!1,u)}function hl(t,e){var r=t.image,n=t.right-t.left,a=(n*r.paddedRect.w/(r.paddedRect.w-2)-n)/2,o=t.left-a,s=t.right+a,u=t.bottom-t.top,l=(u*r.paddedRect.h/(r.paddedRect.h-2)-u)/2,p=t.top-l,c=t.bottom+l,h=new i(o,p),f=new i(s,p),y=new i(s,c),d=new i(o,c),m=e*Math.PI/180;if(m){var v=Math.sin(m),g=Math.cos(m),x=[g,-v,v,g];h._matMult(x),f._matMult(x),d._matMult(x),y._matMult(x);}return[{tl:h,tr:f,bl:d,br:y,tex:r.paddedRect,writingMode:void 0,glyphOffset:[0,0],sectionIndex:0}]}var fl=function(t,e,r,n,a,o,s,u,l,p,c,h){var f=s.top*u-l,y=s.bottom*u+l,d=s.left*u-l,m=s.right*u+l;if(this.boxStartIndex=t.length,p){var v=y-f,g=m-d;v>0&&(v=Math.max(10*u,v),this._addLineCollisionCircles(t,e,r,r.segment,g,v,n,a,o,c));}else{if(h){var x=new i(d,f),b=new i(m,f),_=new i(d,y),w=new i(m,y),A=h*Math.PI/180;x._rotate(A),b._rotate(A),_._rotate(A),w._rotate(A),d=Math.min(x.x,b.x,_.x,w.x),m=Math.max(x.x,b.x,_.x,w.x),f=Math.min(x.y,b.y,_.y,w.y),y=Math.max(x.y,b.y,_.y,w.y);}t.emplaceBack(r.x,r.y,d,f,m,y,n,a,o,0,0);}this.boxEndIndex=t.length;};fl.prototype._addLineCollisionCircles=function(t,e,r,n,i,a,o,s,u,l){var p=a/2,c=Math.floor(i/p)||1,h=1+.4*Math.log(l)/Math.LN2,f=Math.floor(c*h/2),y=-a/2,d=r,m=n+1,v=y,g=-i/2,x=g-i/4;do{if(--m<0){if(v>g)return;m=0;break}v-=e[m].dist(d),d=e[m];}while(v>x);for(var b=e[m].dist(e[m+1]),_=-f;_<c+f;_++){var w=_*p,A=g+w;if(w<0&&(A+=w),w>i&&(A+=w-i),!(A<v)){for(;v+b<A;){if(v+=b,++m+1>=e.length)return;b=e[m].dist(e[m+1]);}var k=A-v,S=e[m],I=e[m+1].sub(S)._unit()._mult(k)._add(S)._round(),z=Math.abs(A-y)<p?0:.8*(A-y);t.emplaceBack(I.x,I.y,-a/2,-a/2,a/2,a/2,o,s,u,a/2,z);}}};var yl=function(t,e){if(void 0===t&&(t=[]),void 0===e&&(e=dl),this.data=t,this.length=this.data.length,this.compare=e,this.length>0)for(var r=(this.length>>1)-1;r>=0;r--)this._down(r);};function dl(t,e){return t<e?-1:t>e?1:0}function ml(t,e,r){void 0===e&&(e=1),void 0===r&&(r=!1);for(var n=1/0,a=1/0,o=-1/0,s=-1/0,u=t[0],l=0;l<u.length;l++){var p=u[l];(!l||p.x<n)&&(n=p.x),(!l||p.y<a)&&(a=p.y),(!l||p.x>o)&&(o=p.x),(!l||p.y>s)&&(s=p.y);}var c=o-n,h=s-a,f=Math.min(c,h),y=f/2,d=new yl([],vl);if(0===f)return new i(n,a);for(var m=n;m<o;m+=f)for(var v=a;v<s;v+=f)d.push(new gl(m+y,v+y,y,t));for(var g=function(t){for(var e=0,r=0,n=0,i=t[0],a=0,o=i.length,s=o-1;a<o;s=a++){var u=i[a],l=i[s],p=u.x*l.y-l.x*u.y;r+=(u.x+l.x)*p,n+=(u.y+l.y)*p,e+=3*p;}return new gl(r/e,n/e,0,t)}(t),x=d.length;d.length;){var b=d.pop();(b.d>g.d||!g.d)&&(g=b,r&&console.log("found best %d after %d probes",Math.round(1e4*b.d)/1e4,x)),b.max-g.d<=e||(y=b.h/2,d.push(new gl(b.p.x-y,b.p.y-y,y,t)),d.push(new gl(b.p.x+y,b.p.y-y,y,t)),d.push(new gl(b.p.x-y,b.p.y+y,y,t)),d.push(new gl(b.p.x+y,b.p.y+y,y,t)),x+=4);}return r&&(console.log("num probes: "+x),console.log("best distance: "+g.d)),g.p}function vl(t,e){return e.max-t.max}function gl(t,e,r,n){this.p=new i(t,e),this.h=r,this.d=function(t,e){for(var r=!1,n=1/0,i=0;i<e.length;i++)for(var a=e[i],o=0,s=a.length,u=s-1;o<s;u=o++){var l=a[o],p=a[u];l.y>t.y!=p.y>t.y&&t.x<(p.x-l.x)*(t.y-l.y)/(p.y-l.y)+l.x&&(r=!r),n=Math.min(n,Aa(t,l,p));}return(r?1:-1)*Math.sqrt(n)}(this.p,n),this.max=this.d+this.h*Math.SQRT2;}yl.prototype.push=function(t){this.data.push(t),this.length++,this._up(this.length-1);},yl.prototype.pop=function(){if(0!==this.length){var t=this.data[0],e=this.data.pop();return this.length--,this.length>0&&(this.data[0]=e,this._down(0)),t}},yl.prototype.peek=function(){return this.data[0]},yl.prototype._up=function(t){for(var e=this.data,r=this.compare,n=e[t];t>0;){var i=t-1>>1,a=e[i];if(r(n,a)>=0)break;e[t]=a,t=i;}e[t]=n;},yl.prototype._down=function(t){for(var e=this.data,r=this.compare,n=this.length>>1,i=e[t];t<n;){var a=1+(t<<1),o=e[a],s=a+1;if(s<this.length&&r(e[s],o)<0&&(a=s,o=e[s]),r(o,i)>=0)break;e[t]=o,t=a;}e[t]=i;};var xl=e((function(t){t.exports=function(t,e){var r,n,i,a,o,s,u,l;for(r=3&t.length,n=t.length-r,i=e,o=3432918353,s=461845907,l=0;l<n;)u=255&t.charCodeAt(l)|(255&t.charCodeAt(++l))<<8|(255&t.charCodeAt(++l))<<16|(255&t.charCodeAt(++l))<<24,++l,i=27492+(65535&(a=5*(65535&(i=(i^=u=(65535&(u=(u=(65535&u)*o+(((u>>>16)*o&65535)<<16)&4294967295)<<15|u>>>17))*s+(((u>>>16)*s&65535)<<16)&4294967295)<<13|i>>>19))+((5*(i>>>16)&65535)<<16)&4294967295))+((58964+(a>>>16)&65535)<<16);switch(u=0,r){case 3:u^=(255&t.charCodeAt(l+2))<<16;case 2:u^=(255&t.charCodeAt(l+1))<<8;case 1:i^=u=(65535&(u=(u=(65535&(u^=255&t.charCodeAt(l)))*o+(((u>>>16)*o&65535)<<16)&4294967295)<<15|u>>>17))*s+(((u>>>16)*s&65535)<<16)&4294967295;}return i^=t.length,i=2246822507*(65535&(i^=i>>>16))+((2246822507*(i>>>16)&65535)<<16)&4294967295,i=3266489909*(65535&(i^=i>>>13))+((3266489909*(i>>>16)&65535)<<16)&4294967295,(i^=i>>>16)>>>0};})),bl=e((function(t){t.exports=function(t,e){for(var r,n=t.length,i=e^n,a=0;n>=4;)r=1540483477*(65535&(r=255&t.charCodeAt(a)|(255&t.charCodeAt(++a))<<8|(255&t.charCodeAt(++a))<<16|(255&t.charCodeAt(++a))<<24))+((1540483477*(r>>>16)&65535)<<16),i=1540483477*(65535&i)+((1540483477*(i>>>16)&65535)<<16)^(r=1540483477*(65535&(r^=r>>>24))+((1540483477*(r>>>16)&65535)<<16)),n-=4,++a;switch(n){case 3:i^=(255&t.charCodeAt(a+2))<<16;case 2:i^=(255&t.charCodeAt(a+1))<<8;case 1:i=1540483477*(65535&(i^=255&t.charCodeAt(a)))+((1540483477*(i>>>16)&65535)<<16);}return i=1540483477*(65535&(i^=i>>>13))+((1540483477*(i>>>16)&65535)<<16),(i^=i>>>15)>>>0};})),_l=xl,wl=xl,Al=bl;_l.murmur3=wl,_l.murmur2=Al;var kl=7,Sl=Number.POSITIVE_INFINITY;function Il(t,e){return e[1]!==Sl?function(t,e,r){var n=0,i=0;switch(e=Math.abs(e),r=Math.abs(r),t){case"top-right":case"top-left":case"top":i=r-kl;break;case"bottom-right":case"bottom-left":case"bottom":i=-r+kl;}switch(t){case"top-right":case"bottom-right":case"right":n=-e;break;case"top-left":case"bottom-left":case"left":n=e;}return[n,i]}(t,e[0],e[1]):function(t,e){var r=0,n=0;e<0&&(e=0);var i=e/Math.sqrt(2);switch(t){case"top-right":case"top-left":n=i-kl;break;case"bottom-right":case"bottom-left":n=-i+kl;break;case"bottom":n=-e+kl;break;case"top":n=e-kl;}switch(t){case"top-right":case"bottom-right":r=-i;break;case"top-left":case"bottom-left":r=i;break;case"left":r=e;break;case"right":r=-e;}return[r,n]}(t,e[0])}function zl(t){switch(t){case"right":case"top-right":case"bottom-right":return "right";case"left":case"top-left":case"bottom-left":return "left"}return "center"}var Cl=65535;function Bl(t,e,r,n,a,o,s,u,l,p,c,h,f,y){var d=function(t,e,r,n,a,o,s,u){for(var l=n.layout.get("text-rotate").evaluate(o,{})*Math.PI/180,p=e.positionedGlyphs,c=[],h=0;h<p.length;h++){var f=p[h],y=s[f.fontStack],d=y&&y[f.glyph];if(d){var m=d.rect;if(m){var v=Tu+1,g=d.metrics.advance*f.scale/2,x=a?[f.x+g,f.y]:[0,0],b=a?[0,0]:[f.x+g+r[0],f.y+r[1]],_=(a||u)&&f.vertical,w=[0,0];_&&(w=b,b=[0,0]);var A=(d.metrics.left-v)*f.scale-g+b[0],k=(-d.metrics.top-v)*f.scale+b[1],S=A+m.w*f.scale,I=k+m.h*f.scale,z=new i(A,k),C=new i(S,k),B=new i(A,I),P=new i(S,I);if(_){var E=new i(-g,g-e.yOffset),M=-Math.PI/2,T=xs/2-g,V=new i(5-e.yOffset-T,0),F=new(Function.prototype.bind.apply(i,[null].concat(w)));z._rotateAround(M,E)._add(V)._add(F),C._rotateAround(M,E)._add(V)._add(F),B._rotateAround(M,E)._add(V)._add(F),P._rotateAround(M,E)._add(V)._add(F);}if(l){var O=Math.sin(l),L=Math.cos(l),D=[L,-O,O,L];z._matMult(D),C._matMult(D),B._matMult(D),P._matMult(D);}c.push({tl:z,tr:C,bl:B,br:P,tex:m,writingMode:e.writingMode,glyphOffset:x,sectionIndex:f.sectionIndex});}}}return c}(0,r,s,n,a,o,h,t.allowVerticalPlacement),m=t.textSizeData,v=null;"source"===m.kind?(v=[Ts*n.layout.get("text-size").evaluate(o,{})])[0]>Cl&&w(t.layerIds[0]+': Value for "text-size" is >= 256. Reduce your "text-size".'):"composite"===m.kind&&((v=[Ts*y.compositeTextSizes[0].evaluate(o,{}),Ts*y.compositeTextSizes[1].evaluate(o,{})])[0]>Cl||v[1]>Cl)&&w(t.layerIds[0]+': Value for "text-size" is >= 256. Reduce your "text-size".'),t.addSymbols(t.text,d,v,s,a,o,l,e,u.lineStartIndex,u.lineLength,f);for(var g=0,x=p;g<x.length;g+=1){c[x[g]]=t.text.placedSymbolArray.length-1;}return 4*d.length}function Pl(t,e,r,n){var i=t.compareText;if(e in i){for(var a=i[e],o=a.length-1;o>=0;o--)if(n.dist(a[o])<r)return!0}else i[e]=[];return i[e].push(n),!1}t.Actor=Fu,t.AlphaImage=qa,t.CanonicalTileID=Xu,t.CollisionBoxArray=Bi,t.Color=Yt,t.DEMData=Yu,t.DataConstantProperty=Hn,t.DictionaryCoder=Wu,t.EXTENT=pa,t.ErrorEvent=kt,t.EvaluationParameters=Rn,t.Event=At,t.Evented=St,t.FeatureIndex=rl,t.FillBucket=Mo,t.FillExtrusionBucket=Ho,t.ImageAtlas=iu,t.ImagePosition=ru,t.LineBucket=os,t.LngLat=Du,t.LngLatBounds=Lu,t.MercatorCoordinate=Zu,t.ONE_EM=xs,t.OverscaledTileID=Ju,t.Point=i,t.Point$1=i,t.ProgramConfiguration=oa,t.Properties=ti,t.Protobuf=cu,t.RGBAImage=Na,t.RequestManager=j,t.ResourceType=pt,t.SegmentVector=ji,t.SourceFeatureState=el,t.StructArrayLayout1ui2=Si,t.StructArrayLayout2i4=si,t.StructArrayLayout2ui4=ki,t.StructArrayLayout3ui6=Ai,t.StructArrayLayout4i8=ui,t.SymbolBucket=Ks,t.Texture=lu,t.Tile=al,t.Transitionable=Nn,t.Uniform1f=Gi,t.Uniform1i=Xi,t.Uniform2f=Ji,t.Uniform3f=Hi,t.Uniform4f=Yi,t.UniformColor=$i,t.UniformMatrix4f=Qi,t.UnwrappedTileID=Gu,t.ValidationError=zt,t.WritingMode=bs,t.ZoomHistory=kn,t.addDynamicAttributes=js,t.asyncAll=function(t,e,r){if(!t.length)return r(null,[]);var n=t.length,i=new Array(t.length),a=null;t.forEach((function(t,o){e(t,(function(t,e){t&&(a=t),i[o]=e,0==--n&&r(a,i);}));}));},t.bezier=s,t.bindAll=m,t.browser=V,t.cacheEntryPossiblyAdded=function(t){++lt>it&&(t.getActor().send("enforceCacheSizeLimit",nt),lt=0);},t.clamp=l,t.clearTileCache=function(t){var e=self.caches.delete(rt);t&&e.catch(t).then((function(){return t()}));},t.clone=function(t){var e=new Ma(16);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e[9]=t[9],e[10]=t[10],e[11]=t[11],e[12]=t[12],e[13]=t[13],e[14]=t[14],e[15]=t[15],e},t.clone$1=b,t.config=F,t.create=function(){var t=new Ma(16);return Ma!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0),t[0]=1,t[5]=1,t[10]=1,t[15]=1,t},t.create$1=function(){var t=new Ma(9);return Ma!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t},t.create$2=function(){var t=new Ma(4);return Ma!=Float32Array&&(t[1]=0,t[2]=0),t[0]=1,t[3]=1,t},t.createCommonjsModule=e,t.createExpression=Cr,t.createLayout=ai,t.createStyleLayer=function(t){return "custom"===t.type?new Qs(t):new tu[t.type](t)},t.deepEqual=o,t.ease=u,t.emitValidationErrors=fn,t.endsWith=v,t.enforceCacheSizeLimit=function(t){self.caches&&self.caches.open(rt).then((function(e){e.keys().then((function(r){for(var n=0;n<r.length-t;n++)e.delete(r[n]);}));}));},t.evaluateSizeForFeature=Fs,t.evaluateSizeForZoom=Os,t.evaluateVariableOffset=Il,t.evented=Dn,t.extend=c,t.featureFilter=jr,t.filterObject=x,t.fromRotation=function(t,e){var r=Math.sin(e),n=Math.cos(e);return t[0]=n,t[1]=r,t[2]=0,t[3]=-r,t[4]=n,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},t.getAnchorAlignment=Bs,t.getAnchorJustification=zl,t.getArrayBuffer=mt,t.getImage=bt,t.getJSON=function(t,e){return dt(c(t,{type:"json"}),e)},t.getRTLTextPluginStatus=function(){return On},t.getReferrer=ft,t.getVideo=function(t,e){var r,n,i=self.document.createElement("video");i.muted=!0,i.onloadstart=function(){e(null,i);};for(var a=0;a<t.length;a++){var o=self.document.createElement("source");r=t[a],n=void 0,(n=self.document.createElement("a")).href=r,(n.protocol!==self.document.location.protocol||n.host!==self.document.location.host)&&(i.crossOrigin="Anonymous"),o.src=t[a],i.appendChild(o);}return{cancel:function(){}}},t.identity=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,t},t.ieee754=pu,t.invert=function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],o=e[4],s=e[5],u=e[6],l=e[7],p=e[8],c=e[9],h=e[10],f=e[11],y=e[12],d=e[13],m=e[14],v=e[15],g=r*s-n*o,x=r*u-i*o,b=r*l-a*o,_=n*u-i*s,w=n*l-a*s,A=i*l-a*u,k=p*d-c*y,S=p*m-h*y,I=p*v-f*y,z=c*m-h*d,C=c*v-f*d,B=h*v-f*m,P=g*B-x*C+b*z+_*I-w*S+A*k;return P?(P=1/P,t[0]=(s*B-u*C+l*z)*P,t[1]=(i*C-n*B-a*z)*P,t[2]=(d*A-m*w+v*_)*P,t[3]=(h*w-c*A-f*_)*P,t[4]=(u*I-o*B-l*S)*P,t[5]=(r*B-i*I+a*S)*P,t[6]=(m*b-y*A-v*x)*P,t[7]=(p*A-h*b+f*x)*P,t[8]=(o*C-s*I+l*k)*P,t[9]=(n*I-r*C-a*k)*P,t[10]=(y*w-d*b+v*g)*P,t[11]=(c*b-p*w-f*g)*P,t[12]=(s*S-o*z-u*k)*P,t[13]=(r*z-n*S+i*k)*P,t[14]=(d*x-y*_-m*g)*P,t[15]=(p*_-c*x+h*g)*P,t):null},t.isChar=Sn,t.isMapboxURL=q,t.keysDifference=function(t,e){var r=[];for(var n in t)n in e||r.push(n);return r},t.makeRequest=dt,t.mapObject=g,t.mercatorXfromLng=ju,t.mercatorYfromLat=qu,t.mercatorZfromAltitude=Nu,t.multiply=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],u=e[5],l=e[6],p=e[7],c=e[8],h=e[9],f=e[10],y=e[11],d=e[12],m=e[13],v=e[14],g=e[15],x=r[0],b=r[1],_=r[2],w=r[3];return t[0]=x*n+b*s+_*c+w*d,t[1]=x*i+b*u+_*h+w*m,t[2]=x*a+b*l+_*f+w*v,t[3]=x*o+b*p+_*y+w*g,x=r[4],b=r[5],_=r[6],w=r[7],t[4]=x*n+b*s+_*c+w*d,t[5]=x*i+b*u+_*h+w*m,t[6]=x*a+b*l+_*f+w*v,t[7]=x*o+b*p+_*y+w*g,x=r[8],b=r[9],_=r[10],w=r[11],t[8]=x*n+b*s+_*c+w*d,t[9]=x*i+b*u+_*h+w*m,t[10]=x*a+b*l+_*f+w*v,t[11]=x*o+b*p+_*y+w*g,x=r[12],b=r[13],_=r[14],w=r[15],t[12]=x*n+b*s+_*c+w*d,t[13]=x*i+b*u+_*h+w*m,t[14]=x*a+b*l+_*f+w*v,t[15]=x*o+b*p+_*y+w*g,t},t.mvt=Zo,t.number=Ae,t.ortho=function(t,e,r,n,i,a,o){var s=1/(e-r),u=1/(n-i),l=1/(a-o);return t[0]=-2*s,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=-2*u,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=2*l,t[11]=0,t[12]=(e+r)*s,t[13]=(i+n)*u,t[14]=(o+a)*l,t[15]=1,t},t.parseGlyphPBF=function(t){return new cu(t).readFields(Pu,[])},t.performSymbolLayout=function(t,e,r,n,a,o){t.createArrays();var s=512*t.overscaling;t.tilePixelRatio=pa/s,t.compareText={},t.iconsNeedLinear=!1;var u=t.layers[0].layout,l=t.layers[0]._unevaluatedLayout._values,p={};if("composite"===t.textSizeData.kind){var c=t.textSizeData,h=c.minZoom,f=c.maxZoom;p.compositeTextSizes=[l["text-size"].possiblyEvaluate(new Rn(h)),l["text-size"].possiblyEvaluate(new Rn(f))];}if("composite"===t.iconSizeData.kind){var y=t.iconSizeData,d=y.minZoom,m=y.maxZoom;p.compositeIconSizes=[l["icon-size"].possiblyEvaluate(new Rn(d)),l["icon-size"].possiblyEvaluate(new Rn(m))];}p.layoutTextSize=l["text-size"].possiblyEvaluate(new Rn(t.zoom+1)),p.layoutIconSize=l["icon-size"].possiblyEvaluate(new Rn(t.zoom+1)),p.textMaxSize=l["text-size"].possiblyEvaluate(new Rn(18));for(var v=u.get("text-line-height")*xs,g="map"===u.get("text-rotation-alignment")&&"point"!==u.get("symbol-placement"),x=u.get("text-keep-upright"),b=function(){var o=A[_],s=u.get("text-font").evaluate(o,{}).join(","),l=r,c={horizontal:{},vertical:void 0},h=o.text,f=[0,0];if(h){var y=h.toString(),d=u.get("text-letter-spacing").evaluate(o,{})*xs,m=function(t){for(var e=0,r=t;e<r.length;e+=1){if(!zn(r[e].charCodeAt(0)))return!1}return!0}(y)?d:0,b=u.get("text-anchor").evaluate(o,{}),k=u.get("text-variable-anchor");if(!k){var S=u.get("text-radial-offset").evaluate(o,{});f=S?Il(b,[S*xs,Sl]):u.get("text-offset").evaluate(o,{}).map((function(t){return t*xs}));}var I=g?"center":u.get("text-justify").evaluate(o,{}),z=u.get("symbol-placement"),C="point"===z?u.get("text-max-width").evaluate(o,{})*xs:0,B=function(){t.allowVerticalPlacement&&In(y)&&(c.vertical=ws(h,e,s,C,v,b,"left",m,f,bs.vertical,!0,z));};if(!g&&k){for(var P="auto"===I?k.map((function(t){return zl(t)})):[I],E=!1,M=0;M<P.length;M++){var T=P[M];if(!c.horizontal[T])if(E)c.horizontal[T]=c.horizontal[0];else{var V=ws(h,e,s,C,v,"center",T,m,f,bs.horizontal,!1,z);V&&(c.horizontal[T]=V,E=1===V.lineCount);}}B();}else{"auto"===I&&(I=zl(b));var F=ws(h,e,s,C,v,b,I,m,f,bs.horizontal,!1,z);F&&(c.horizontal[I]=F),B(),In(y)&&g&&x&&(c.vertical=ws(h,e,s,C,v,b,I,m,f,bs.vertical,!1,z));}}var O=void 0;if(o.icon&&o.icon.name){var L=n[o.icon.name];L&&(O=function(t,e,r){var n=Bs(r),i=n.horizontalAlign,a=n.verticalAlign,o=e[0],s=e[1],u=o-t.displaySize[0]*i,l=u+t.displaySize[0],p=s-t.displaySize[1]*a;return{image:t,top:p,bottom:p+t.displaySize[1],left:u,right:l}}(a[o.icon.name],u.get("icon-offset").evaluate(o,{}),u.get("icon-anchor").evaluate(o,{})),void 0===t.sdfIcons?t.sdfIcons=L.sdf:t.sdfIcons!==L.sdf&&w("Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer"),L.pixelRatio!==t.pixelRatio?t.iconsNeedLinear=!0:0!==u.get("icon-rotate").constantOr(1)&&(t.iconsNeedLinear=!0));}(Object.keys(c.horizontal).length||O)&&function(t,e,r,n,a,o,s){var u=o.layoutTextSize.evaluate(e,{}),l=o.layoutIconSize.evaluate(e,{}),p=o.textMaxSize.evaluate(e,{});void 0===p&&(p=u);var c,h=t.layers[0].layout,f=h.get("icon-offset").evaluate(e,{}),y=function(t){for(var e in t)return t[e];return null}(r.horizontal),d=u/24,m=t.tilePixelRatio*d,v=t.tilePixelRatio*p/24,g=t.tilePixelRatio*l,x=t.tilePixelRatio*h.get("symbol-spacing"),b=h.get("text-padding")*t.tilePixelRatio,_=h.get("icon-padding")*t.tilePixelRatio,A=h.get("text-max-angle")/180*Math.PI,k="map"===h.get("text-rotation-alignment")&&"point"!==h.get("symbol-placement"),S="map"===h.get("icon-rotation-alignment")&&"point"!==h.get("symbol-placement"),I=h.get("symbol-placement"),z=x/2,C=h.get("icon-text-fit");n&&"none"!==C&&(t.allowVerticalPlacement&&r.vertical&&(c=Es(n,r.vertical,C,h.get("icon-text-fit-padding"),f,d)),y&&(n=Es(n,y,C,h.get("icon-text-fit-padding"),f,d)));var B=function(i,u){u.x<0||u.x>=pa||u.y<0||u.y>=pa||function(t,e,r,n,i,a,o,s,u,l,p,c,h,f,y,d,m,v,g,x,b,_){var A,k,S,I,z,C=t.addToLineVertexArray(e,r),B=0,P=0,E=0,M=0,T=-1,V=-1,F={},O=_l(""),L=0,D=0;void 0===o._unevaluatedLayout.getValue("text-radial-offset")?(A=o.layout.get("text-offset").evaluate(x,{}).map((function(t){return t*xs})),L=A[0],D=A[1]):(L=o.layout.get("text-radial-offset").evaluate(x,{})*xs,D=Sl);if(t.allowVerticalPlacement&&n.vertical){var U=o.layout.get("text-rotate").evaluate(x,{})+90,R=n.vertical;I=new fl(s,r,e,u,l,p,R,c,h,f,t.overscaling,U),a&&(z=new fl(s,r,e,u,l,p,a,d,m,f,t.overscaling,U));}if(i){var j=o.layout.get("icon-rotate").evaluate(x,{}),q=hl(i,j),N=a?hl(a,j):void 0;S=new fl(s,r,e,u,l,p,i,d,m,!1,t.overscaling,j),B=4*q.length;var K=t.iconSizeData,Z=null;"source"===K.kind?(Z=[Ts*o.layout.get("icon-size").evaluate(x,{})])[0]>Cl&&w(t.layerIds[0]+': Value for "icon-size" is >= 256. Reduce your "icon-size".'):"composite"===K.kind&&((Z=[Ts*_.compositeIconSizes[0].evaluate(x,{}),Ts*_.compositeIconSizes[1].evaluate(x,{})])[0]>Cl||Z[1]>Cl)&&w(t.layerIds[0]+': Value for "icon-size" is >= 256. Reduce your "icon-size".'),t.addSymbols(t.icon,q,Z,g,v,x,!1,e,C.lineStartIndex,C.lineLength,-1),T=t.icon.placedSymbolArray.length-1,N&&(P=4*N.length,t.addSymbols(t.icon,N,Z,g,v,x,bs.vertical,e,C.lineStartIndex,C.lineLength,-1),V=t.icon.placedSymbolArray.length-1);}for(var X in n.horizontal){var G=n.horizontal[X];if(!k){O=_l(G.text);var J=o.layout.get("text-rotate").evaluate(x,{});k=new fl(s,r,e,u,l,p,G,c,h,f,t.overscaling,J);}var H=1===G.lineCount;if(E+=Bl(t,e,G,o,f,x,y,C,n.vertical?bs.horizontal:bs.horizontalOnly,H?Object.keys(n.horizontal):[X],F,b,T,_),H)break}n.vertical&&(M+=Bl(t,e,n.vertical,o,f,x,y,C,bs.vertical,["vertical"],F,b,V,_));var Y=k?k.boxStartIndex:t.collisionBoxArray.length,$=k?k.boxEndIndex:t.collisionBoxArray.length,W=I?I.boxStartIndex:t.collisionBoxArray.length,Q=I?I.boxEndIndex:t.collisionBoxArray.length,tt=S?S.boxStartIndex:t.collisionBoxArray.length,et=S?S.boxEndIndex:t.collisionBoxArray.length,rt=z?z.boxStartIndex:t.collisionBoxArray.length,nt=z?z.boxEndIndex:t.collisionBoxArray.length;t.glyphOffsetArray.length>=Ks.MAX_GLYPHS&&w("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907");t.symbolInstances.emplaceBack(e.x,e.y,F.right>=0?F.right:-1,F.center>=0?F.center:-1,F.left>=0?F.left:-1,F.vertical||-1,T,V,O,Y,$,W,Q,tt,et,rt,nt,u,E,M,B,P,0,c,L,D);}(t,u,i,r,n,c,t.layers[0],t.collisionBoxArray,e.index,e.sourceLayerIndex,t.index,m,b,k,s,g,_,S,f,e,a,o);};if("line"===I)for(var P=0,E=function(t,e,r,n,a){for(var o=[],s=0;s<t.length;s++)for(var u=t[s],l=void 0,p=0;p<u.length-1;p++){var c=u[p],h=u[p+1];c.x<e&&h.x<e||(c.x<e?c=new i(e,c.y+(h.y-c.y)*((e-c.x)/(h.x-c.x)))._round():h.x<e&&(h=new i(e,c.y+(h.y-c.y)*((e-c.x)/(h.x-c.x)))._round()),c.y<r&&h.y<r||(c.y<r?c=new i(c.x+(h.x-c.x)*((r-c.y)/(h.y-c.y)),r)._round():h.y<r&&(h=new i(c.x+(h.x-c.x)*((r-c.y)/(h.y-c.y)),r)._round()),c.x>=n&&h.x>=n||(c.x>=n?c=new i(n,c.y+(h.y-c.y)*((n-c.x)/(h.x-c.x)))._round():h.x>=n&&(h=new i(n,c.y+(h.y-c.y)*((n-c.x)/(h.x-c.x)))._round()),c.y>=a&&h.y>=a||(c.y>=a?c=new i(c.x+(h.x-c.x)*((a-c.y)/(h.y-c.y)),a)._round():h.y>=a&&(h=new i(c.x+(h.x-c.x)*((a-c.y)/(h.y-c.y)),a)._round()),l&&c.equals(l[l.length-1])||(l=[c],o.push(l)),l.push(h)))));}return o}(e.geometry,0,0,pa,pa);P<E.length;P+=1)for(var M=E[P],T=cl(M,x,A,r.vertical||y,n,24,v,t.overscaling,pa),V=0,F=T;V<F.length;V+=1){var O=F[V],L=y;L&&Pl(t,L.text,z,O)||B(M,O);}else if("line-center"===I)for(var D=0,U=e.geometry;D<U.length;D+=1){var R=U[D];if(R.length>1){var j=pl(R,A,r.vertical||y,n,24,v);j&&B(R,j);}}else if("Polygon"===e.type)for(var q=0,N=Co(e.geometry,0);q<N.length;q+=1){var K=N[q],Z=ml(K,16);B(K[0],new Ms(Z.x,Z.y,0));}else if("LineString"===e.type)for(var X=0,G=e.geometry;X<G.length;X+=1){var J=G[X];B(J,new Ms(J[0].x,J[0].y,0));}else if("Point"===e.type)for(var H=0,Y=e.geometry;H<Y.length;H+=1)for(var $=Y[H],W=0,Q=$;W<Q.length;W+=1){var tt=Q[W];B([tt],new Ms(tt.x,tt.y,0));}}(t,o,c,O,l,p,f);},_=0,A=t.features;_<A.length;_+=1)b();o&&t.generateCollisionDebugBuffers();},t.perspective=function(t,e,r,n,i){var a,o=1/Math.tan(e/2);return t[0]=o/r,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=o,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[11]=-1,t[12]=0,t[13]=0,t[15]=0,null!=i&&i!==1/0?(a=1/(n-i),t[10]=(i+n)*a,t[14]=2*i*n*a):(t[10]=-1,t[14]=-2*n),t},t.pick=function(t,e){for(var r={},n=0;n<e.length;n++){var i=e[n];i in t&&(r[i]=t[i]);}return r},t.plugin=Un,t.polygonIntersectsPolygon=ma,t.postMapLoadEvent=et,t.postTurnstileEvent=Q,t.potpack=eu,t.rasterBoundsAttributes=$u,t.refProperties=["type","source","source-layer","minzoom","maxzoom","filter","layout"],t.register=xn,t.registerForPluginAvailability=function(t){return Ln?t({pluginURL:Ln,completionCallback:En}):Dn.once("pluginAvailable",t),t},t.rotate=function(t,e,r){var n=e[0],i=e[1],a=e[2],o=e[3],s=Math.sin(r),u=Math.cos(r);return t[0]=n*u+a*s,t[1]=i*u+o*s,t[2]=n*-s+a*u,t[3]=i*-s+o*u,t},t.rotateX=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[4],o=e[5],s=e[6],u=e[7],l=e[8],p=e[9],c=e[10],h=e[11];return e!==t&&(t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[4]=a*i+l*n,t[5]=o*i+p*n,t[6]=s*i+c*n,t[7]=u*i+h*n,t[8]=l*i-a*n,t[9]=p*i-o*n,t[10]=c*i-s*n,t[11]=h*i-u*n,t},t.rotateZ=function(t,e,r){var n=Math.sin(r),i=Math.cos(r),a=e[0],o=e[1],s=e[2],u=e[3],l=e[4],p=e[5],c=e[6],h=e[7];return e!==t&&(t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]),t[0]=a*i+l*n,t[1]=o*i+p*n,t[2]=s*i+c*n,t[3]=u*i+h*n,t[4]=l*i-a*n,t[5]=p*i-o*n,t[6]=c*i-s*n,t[7]=h*i-u*n,t},t.scale=function(t,e,r){var n=r[0],i=r[1],a=r[2];return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*i,t[5]=e[5]*i,t[6]=e[6]*i,t[7]=e[7]*i,t[8]=e[8]*a,t[9]=e[9]*a,t[10]=e[10]*a,t[11]=e[11]*a,t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15],t},t.setCacheLimits=function(t,e){nt=t,it=e;},t.setRTLTextPlugin=function(t,e){if(On===Tn||On===Vn)throw new Error("setRTLTextPlugin cannot be called multiple times.");On=Tn,Ln=V.resolveURL(t),En=function(t){t?(On=Mn,Ln=null,On=Fn,e&&e(t)):On=Vn;},Dn.fire(new At("pluginAvailable",{pluginURL:Ln,completionCallback:En}));},t.sphericalToCartesian=function(t){var e=t[0],r=t[1],n=t[2];return r+=90,r*=Math.PI/180,n*=Math.PI/180,{x:e*Math.cos(r)*Math.sin(n),y:e*Math.sin(r)*Math.sin(n),z:e*Math.cos(n)}},t.styleSpec=It,t.symbolSize=Ls,t.transformMat3=function(t,e,r){var n=e[0],i=e[1],a=e[2];return t[0]=n*r[0]+i*r[3]+a*r[6],t[1]=n*r[1]+i*r[4]+a*r[7],t[2]=n*r[2]+i*r[5]+a*r[8],t},t.transformMat4=Fa,t.translate=function(t,e,r){var n,i,a,o,s,u,l,p,c,h,f,y,d=r[0],m=r[1],v=r[2];return e===t?(t[12]=e[0]*d+e[4]*m+e[8]*v+e[12],t[13]=e[1]*d+e[5]*m+e[9]*v+e[13],t[14]=e[2]*d+e[6]*m+e[10]*v+e[14],t[15]=e[3]*d+e[7]*m+e[11]*v+e[15]):(n=e[0],i=e[1],a=e[2],o=e[3],s=e[4],u=e[5],l=e[6],p=e[7],c=e[8],h=e[9],f=e[10],y=e[11],t[0]=n,t[1]=i,t[2]=a,t[3]=o,t[4]=s,t[5]=u,t[6]=l,t[7]=p,t[8]=c,t[9]=h,t[10]=f,t[11]=y,t[12]=n*d+s*m+c*v+e[12],t[13]=i*d+u*m+h*v+e[13],t[14]=a*d+l*m+f*v+e[14],t[15]=o*d+p*m+y*v+e[15]),t},t.uniqueId=f,t.validateCustomStyleLayer=function(t){var e=[],r=t.id;return void 0===r&&e.push({message:"layers."+r+': missing required property "id"'}),void 0===t.render&&e.push({message:"layers."+r+': missing required method "render"'}),t.renderingMode&&"2d"!==t.renderingMode&&"3d"!==t.renderingMode&&e.push({message:"layers."+r+': property "renderingMode" must be either "2d" or "3d"'}),e},t.validateLight=pn,t.validateStyle=ln,t.values=function(t){var e=[];for(var r in t)e.push(t[r]);return e},t.vectorTile=Zo,t.version="1.5.0",t.warnOnce=w,t.webpSupported=O,t.window=self,t.wrap=p;}));define(["./shared"],(function(e){"use strict";function t(e){var r=typeof e;if("number"===r||"boolean"===r||"string"===r||null==e)return JSON.stringify(e);if(Array.isArray(e)){for(var i="[",n=0,o=e;n<o.length;n+=1){i+=t(o[n])+",";}return i+"]"}for(var s=Object.keys(e).sort(),a="{",u=0;u<s.length;u++)a+=JSON.stringify(s[u])+":"+t(e[s[u]])+",";return a+"}"}function r(r){for(var i="",n=0,o=e.refProperties;n<o.length;n+=1){i+="/"+t(r[o[n]]);}return i}var i=function(e){this.keyCache={},e&&this.replace(e);};i.prototype.replace=function(e){this._layerConfigs={},this._layers={},this.update(e,[]);},i.prototype.update=function(t,i){for(var n=this,o=0,s=t;o<s.length;o+=1){var a=s[o];this._layerConfigs[a.id]=a;var u=this._layers[a.id]=e.createStyleLayer(a);u._featureFilter=e.featureFilter(u.filter),this.keyCache[a.id]&&delete this.keyCache[a.id];}for(var l=0,h=i;l<h.length;l+=1){var c=h[l];delete this.keyCache[c],delete this._layerConfigs[c],delete this._layers[c];}this.familiesBySource={};for(var f=0,p=function(e,t){for(var i={},n=0;n<e.length;n++){var o=t&&t[e[n].id]||r(e[n]);t&&(t[e[n].id]=o);var s=i[o];s||(s=i[o]=[]),s.push(e[n]);}var a=[];for(var u in i)a.push(i[u]);return a}(e.values(this._layerConfigs),this.keyCache);f<p.length;f+=1){var d=p[f].map((function(e){return n._layers[e.id]})),g=d[0];if("none"!==g.visibility){var m=g.source||"",v=this.familiesBySource[m];v||(v=this.familiesBySource[m]={});var y=g.sourceLayer||"_geojsonTileLayer",w=v[y];w||(w=v[y]=[]),w.push(d);}}};var n=function(t){var r={},i=[];for(var n in t){var o=t[n],s=r[n]={};for(var a in o){var u=o[+a];if(u&&0!==u.bitmap.width&&0!==u.bitmap.height){var l={x:0,y:0,w:u.bitmap.width+2,h:u.bitmap.height+2};i.push(l),s[a]={rect:l,metrics:u.metrics};}}}var h=e.potpack(i),c=h.w,f=h.h,p=new e.AlphaImage({width:c||1,height:f||1});for(var d in t){var g=t[d];for(var m in g){var v=g[+m];if(v&&0!==v.bitmap.width&&0!==v.bitmap.height){var y=r[d][m].rect;e.AlphaImage.copy(v.bitmap,p,{x:0,y:0},{x:y.x+1,y:y.y+1},v.bitmap);}}}this.image=p,this.positions=r;};e.register("GlyphAtlas",n);var o=function(t){this.tileID=new e.OverscaledTileID(t.tileID.overscaledZ,t.tileID.wrap,t.tileID.canonical.z,t.tileID.canonical.x,t.tileID.canonical.y),this.uid=t.uid,this.zoom=t.zoom,this.pixelRatio=t.pixelRatio,this.tileSize=t.tileSize,this.source=t.source,this.overscaling=this.tileID.overscaleFactor(),this.showCollisionBoxes=t.showCollisionBoxes,this.collectResourceTiming=!!t.collectResourceTiming,this.returnDependencies=!!t.returnDependencies;};function s(t,r,i){for(var n=new e.EvaluationParameters(r),o=0,s=t;o<s.length;o+=1){s[o].recalculate(n,i);}}o.prototype.parse=function(t,r,i,o,a){var u=this;this.status="parsing",this.data=t,this.collisionBoxArray=new e.CollisionBoxArray;var l=new e.DictionaryCoder(Object.keys(t.layers).sort()),h=new e.FeatureIndex(this.tileID);h.bucketLayerIDs=[];var c,f,p,d,g={},m={featureIndex:h,iconDependencies:{},patternDependencies:{},glyphDependencies:{},availableImages:i},v=r.familiesBySource[this.source];for(var y in v){var w=t.layers[y];if(w){1===w.version&&e.warnOnce('Vector tile source "'+this.source+'" layer "'+y+'" does not use vector tile spec v2 and therefore may have some rendering errors.');for(var x=l.encode(y),b=[],S=0;S<w.length;S++){var M=w.feature(S);b.push({feature:M,index:S,sourceLayerIndex:x});}for(var k=0,F=v[y];k<F.length;k+=1){var P=F[k],I=P[0];if(!(I.minzoom&&this.zoom<Math.floor(I.minzoom)))if(!(I.maxzoom&&this.zoom>=I.maxzoom))if("none"!==I.visibility)s(P,this.zoom,i),(g[I.id]=I.createBucket({index:h.bucketLayerIDs.length,layers:P,zoom:this.zoom,pixelRatio:this.pixelRatio,overscaling:this.overscaling,collisionBoxArray:this.collisionBoxArray,sourceLayerIndex:x,sourceID:this.source})).populate(b,m),h.bucketLayerIDs.push(P.map((function(e){return e.id})));}}}var T=e.mapObject(m.glyphDependencies,(function(e){return Object.keys(e).map(Number)}));Object.keys(T).length?o.send("getGlyphs",{uid:this.uid,stacks:T},(function(e,t){c||(c=e,f=t,L.call(u));})):f={};var _=Object.keys(m.iconDependencies);_.length?o.send("getImages",{icons:_},(function(e,t){c||(c=e,p=t,L.call(u));})):p={};var D=Object.keys(m.patternDependencies);function L(){if(c)return a(c);if(f&&p&&d){var t=new n(f),r=new e.ImageAtlas(p,d);for(var o in g){var u=g[o];u instanceof e.SymbolBucket?(s(u.layers,this.zoom,i),e.performSymbolLayout(u,f,t.positions,p,r.iconPositions,this.showCollisionBoxes)):u.hasPattern&&(u instanceof e.LineBucket||u instanceof e.FillBucket||u instanceof e.FillExtrusionBucket)&&(s(u.layers,this.zoom,i),u.addFeatures(m,r.patternPositions));}this.status="done",a(null,{buckets:e.values(g).filter((function(e){return!e.isEmpty()})),featureIndex:h,collisionBoxArray:this.collisionBoxArray,glyphAtlasImage:t.image,imageAtlas:r,glyphMap:this.returnDependencies?f:null,iconMap:this.returnDependencies?p:null,glyphPositions:this.returnDependencies?t.positions:null});}}D.length?o.send("getImages",{icons:D},(function(e,t){c||(c=e,d=t,L.call(u));})):d={},L.call(this);};var a="undefined"!=typeof performance,u={getEntriesByName:function(e){return!!(a&&performance&&performance.getEntriesByName)&&performance.getEntriesByName(e)},mark:function(e){return!!(a&&performance&&performance.mark)&&performance.mark(e)},measure:function(e,t,r){return!!(a&&performance&&performance.measure)&&performance.measure(e,t,r)},clearMarks:function(e){return!!(a&&performance&&performance.clearMarks)&&performance.clearMarks(e)},clearMeasures:function(e){return!!(a&&performance&&performance.clearMeasures)&&performance.clearMeasures(e)}},l=function(e){this._marks={start:[e.url,"start"].join("#"),end:[e.url,"end"].join("#"),measure:e.url.toString()},u.mark(this._marks.start);};function h(t,r){var i=e.getArrayBuffer(t.request,(function(t,i,n,o){t?r(t):i&&r(null,{vectorTile:new e.vectorTile.VectorTile(new e.Protobuf(i)),rawData:i,cacheControl:n,expires:o});}));return function(){i.cancel(),r();}}l.prototype.finish=function(){u.mark(this._marks.end);var e=u.getEntriesByName(this._marks.measure);return 0===e.length&&(u.measure(this._marks.measure,this._marks.start,this._marks.end),e=u.getEntriesByName(this._marks.measure),u.clearMarks(this._marks.start),u.clearMarks(this._marks.end),u.clearMeasures(this._marks.measure)),e},u.Performance=l;var c=function(e,t,r,i){this.actor=e,this.layerIndex=t,this.availableImages=r,this.loadVectorData=i||h,this.loading={},this.loaded={};};c.prototype.loadTile=function(t,r){var i=this,n=t.uid;this.loading||(this.loading={});var s=!!(t&&t.request&&t.request.collectResourceTiming)&&new u.Performance(t.request),a=this.loading[n]=new o(t);a.abort=this.loadVectorData(t,(function(t,o){if(delete i.loading[n],t||!o)return a.status="done",i.loaded[n]=a,r(t);var u=o.rawData,l={};o.expires&&(l.expires=o.expires),o.cacheControl&&(l.cacheControl=o.cacheControl);var h={};if(s){var c=s.finish();c&&(h.resourceTiming=JSON.parse(JSON.stringify(c)));}a.vectorTile=o.vectorTile,a.parse(o.vectorTile,i.layerIndex,i.availableImages,i.actor,(function(t,i){if(t||!i)return r(t);r(null,e.extend({rawTileData:u.slice(0)},i,l,h));})),i.loaded=i.loaded||{},i.loaded[n]=a;}));},c.prototype.reloadTile=function(e,t){var r=this,i=this.loaded,n=e.uid,o=this;if(i&&i[n]){var s=i[n];s.showCollisionBoxes=e.showCollisionBoxes;var a=function(e,i){var n=s.reloadCallback;n&&(delete s.reloadCallback,s.parse(s.vectorTile,o.layerIndex,r.availableImages,o.actor,n)),t(e,i);};"parsing"===s.status?s.reloadCallback=a:"done"===s.status&&(s.vectorTile?s.parse(s.vectorTile,this.layerIndex,this.availableImages,this.actor,a):a());}},c.prototype.abortTile=function(e,t){var r=this.loading,i=e.uid;r&&r[i]&&r[i].abort&&(r[i].abort(),delete r[i]),t();},c.prototype.removeTile=function(e,t){var r=this.loaded,i=e.uid;r&&r[i]&&delete r[i],t();};var f=function(){this.loaded={};};f.prototype.loadTile=function(t,r){var i=t.uid,n=t.encoding,o=t.rawImageData,s=new e.DEMData(i,o,n);this.loaded=this.loaded||{},this.loaded[i]=s,r(null,s);},f.prototype.removeTile=function(e){var t=this.loaded,r=e.uid;t&&t[r]&&delete t[r];};var p={RADIUS:6378137,FLATTENING:1/298.257223563,POLAR_RADIUS:6356752.3142};function d(e){var t=0;if(e&&e.length>0){t+=Math.abs(g(e[0]));for(var r=1;r<e.length;r++)t-=Math.abs(g(e[r]));}return t}function g(e){var t,r,i,n,o,s,a=0,u=e.length;if(u>2){for(s=0;s<u;s++)s===u-2?(i=u-2,n=u-1,o=0):s===u-1?(i=u-1,n=0,o=1):(i=s,n=s+1,o=s+2),t=e[i],r=e[n],a+=(m(e[o][0])-m(t[0]))*Math.sin(m(r[1]));a=a*p.RADIUS*p.RADIUS/2;}return a}function m(e){return e*Math.PI/180}var v={geometry:function e(t){var r,i=0;switch(t.type){case"Polygon":return d(t.coordinates);case"MultiPolygon":for(r=0;r<t.coordinates.length;r++)i+=d(t.coordinates[r]);return i;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return 0;case"GeometryCollection":for(r=0;r<t.geometries.length;r++)i+=e(t.geometries[r]);return i}},ring:g},y=function e(t,r){switch(t&&t.type||null){case"FeatureCollection":return t.features=t.features.map(w(e,r)),t;case"GeometryCollection":return t.geometries=t.geometries.map(w(e,r)),t;case"Feature":return t.geometry=e(t.geometry,r),t;case"Polygon":case"MultiPolygon":return function(e,t){"Polygon"===e.type?e.coordinates=x(e.coordinates,t):"MultiPolygon"===e.type&&(e.coordinates=e.coordinates.map(w(x,t)));return e}(t,r);default:return t}};function w(e,t){return function(r){return e(r,t)}}function x(e,t){t=!!t,e[0]=b(e[0],t);for(var r=1;r<e.length;r++)e[r]=b(e[r],!t);return e}function b(e,t){return function(e){return v.ring(e)>=0}(e)===t?e:e.reverse()}var S=e.vectorTile.VectorTileFeature.prototype.toGeoJSON,M=function(t){this._feature=t,this.extent=e.EXTENT,this.type=t.type,this.properties=t.tags,"id"in t&&!isNaN(t.id)&&(this.id=parseInt(t.id,10));};M.prototype.loadGeometry=function(){if(1===this._feature.type){for(var t=[],r=0,i=this._feature.geometry;r<i.length;r+=1){var n=i[r];t.push([new e.Point$1(n[0],n[1])]);}return t}for(var o=[],s=0,a=this._feature.geometry;s<a.length;s+=1){for(var u=[],l=0,h=a[s];l<h.length;l+=1){var c=h[l];u.push(new e.Point$1(c[0],c[1]));}o.push(u);}return o},M.prototype.toGeoJSON=function(e,t,r){return S.call(this,e,t,r)};var k=function(t){this.layers={_geojsonTileLayer:this},this.name="_geojsonTileLayer",this.extent=e.EXTENT,this.length=t.length,this._features=t;};k.prototype.feature=function(e){return new M(this._features[e])};var F=P;function P(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length;}P.Varint=0,P.Fixed64=1,P.Bytes=2,P.Fixed32=5;function I(e){return e.type===P.Bytes?e.readVarint()+e.pos:e.pos+1}function T(e,t,r){return r?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function _(e,t,r){var i=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(7*Math.LN2));r.realloc(i);for(var n=r.pos-1;n>=e;n--)r.buf[n+i]=r.buf[n];}function D(e,t){for(var r=0;r<e.length;r++)t.writeVarint(e[r]);}function L(e,t){for(var r=0;r<e.length;r++)t.writeSVarint(e[r]);}function B(e,t){for(var r=0;r<e.length;r++)t.writeFloat(e[r]);}function V(e,t){for(var r=0;r<e.length;r++)t.writeDouble(e[r]);}function C(e,t){for(var r=0;r<e.length;r++)t.writeBoolean(e[r]);}function z(e,t){for(var r=0;r<e.length;r++)t.writeFixed32(e[r]);}function E(e,t){for(var r=0;r<e.length;r++)t.writeSFixed32(e[r]);}function O(e,t){for(var r=0;r<e.length;r++)t.writeFixed64(e[r]);}function N(e,t){for(var r=0;r<e.length;r++)t.writeSFixed64(e[r]);}function A(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+16777216*e[t+3]}function J(e,t,r){e[r]=t,e[r+1]=t>>>8,e[r+2]=t>>>16,e[r+3]=t>>>24;}function G(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}P.prototype={destroy:function(){this.buf=null;},readFields:function(e,t,r){for(r=r||this.length;this.pos<r;){var i=this.readVarint(),n=i>>3,o=this.pos;this.type=7&i,e(n,t,this),this.pos===o&&this.skip(i);}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=A(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=G(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=A(this.buf,this.pos)+4294967296*A(this.buf,this.pos+4);return this.pos+=8,e},readSFixed64:function(){var e=A(this.buf,this.pos)+4294967296*G(this.buf,this.pos+4);return this.pos+=8,e},readFloat:function(){var t=e.ieee754.read(this.buf,this.pos,!0,23,4);return this.pos+=4,t},readDouble:function(){var t=e.ieee754.read(this.buf,this.pos,!0,52,8);return this.pos+=8,t},readVarint:function(e){var t,r,i=this.buf;return t=127&(r=i[this.pos++]),r<128?t:(t|=(127&(r=i[this.pos++]))<<7,r<128?t:(t|=(127&(r=i[this.pos++]))<<14,r<128?t:(t|=(127&(r=i[this.pos++]))<<21,r<128?t:function(e,t,r){var i,n,o=r.buf;if(n=o[r.pos++],i=(112&n)>>4,n<128)return T(e,i,t);if(n=o[r.pos++],i|=(127&n)<<3,n<128)return T(e,i,t);if(n=o[r.pos++],i|=(127&n)<<10,n<128)return T(e,i,t);if(n=o[r.pos++],i|=(127&n)<<17,n<128)return T(e,i,t);if(n=o[r.pos++],i|=(127&n)<<24,n<128)return T(e,i,t);if(n=o[r.pos++],i|=(1&n)<<31,n<128)return T(e,i,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(r=i[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=function(e,t,r){var i="",n=t;for(;n<r;){var o,s,a,u=e[n],l=null,h=u>239?4:u>223?3:u>191?2:1;if(n+h>r)break;1===h?u<128&&(l=u):2===h?128==(192&(o=e[n+1]))&&(l=(31&u)<<6|63&o)<=127&&(l=null):3===h?(o=e[n+1],s=e[n+2],128==(192&o)&&128==(192&s)&&((l=(15&u)<<12|(63&o)<<6|63&s)<=2047||l>=55296&&l<=57343)&&(l=null)):4===h&&(o=e[n+1],s=e[n+2],a=e[n+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&((l=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)<=65535||l>=1114112)&&(l=null)),null===l?(l=65533,h=1):l>65535&&(l-=65536,i+=String.fromCharCode(l>>>10&1023|55296),l=56320|1023&l),i+=String.fromCharCode(l),n+=h;}return i}(this.buf,this.pos,e);return this.pos=e,t},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==P.Bytes)return e.push(this.readVarint(t));var r=I(this);for(e=e||[];this.pos<r;)e.push(this.readVarint(t));return e},readPackedSVarint:function(e){if(this.type!==P.Bytes)return e.push(this.readSVarint());var t=I(this);for(e=e||[];this.pos<t;)e.push(this.readSVarint());return e},readPackedBoolean:function(e){if(this.type!==P.Bytes)return e.push(this.readBoolean());var t=I(this);for(e=e||[];this.pos<t;)e.push(this.readBoolean());return e},readPackedFloat:function(e){if(this.type!==P.Bytes)return e.push(this.readFloat());var t=I(this);for(e=e||[];this.pos<t;)e.push(this.readFloat());return e},readPackedDouble:function(e){if(this.type!==P.Bytes)return e.push(this.readDouble());var t=I(this);for(e=e||[];this.pos<t;)e.push(this.readDouble());return e},readPackedFixed32:function(e){if(this.type!==P.Bytes)return e.push(this.readFixed32());var t=I(this);for(e=e||[];this.pos<t;)e.push(this.readFixed32());return e},readPackedSFixed32:function(e){if(this.type!==P.Bytes)return e.push(this.readSFixed32());var t=I(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed32());return e},readPackedFixed64:function(e){if(this.type!==P.Bytes)return e.push(this.readFixed64());var t=I(this);for(e=e||[];this.pos<t;)e.push(this.readFixed64());return e},readPackedSFixed64:function(e){if(this.type!==P.Bytes)return e.push(this.readSFixed64());var t=I(this);for(e=e||[];this.pos<t;)e.push(this.readSFixed64());return e},skip:function(e){var t=7&e;if(t===P.Varint)for(;this.buf[this.pos++]>127;);else if(t===P.Bytes)this.pos=this.readVarint()+this.pos;else if(t===P.Fixed32)this.pos+=4;else{if(t!==P.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8;}},writeTag:function(e,t){this.writeVarint(e<<3|t);},realloc:function(e){for(var t=this.length||16;t<this.pos+e;)t*=2;if(t!==this.length){var r=new Uint8Array(t);r.set(this.buf),this.buf=r,this.length=t;}},finish:function(){return this.length=this.pos,this.pos=0,this.buf.subarray(0,this.length)},writeFixed32:function(e){this.realloc(4),J(this.buf,e,this.pos),this.pos+=4;},writeSFixed32:function(e){this.realloc(4),J(this.buf,e,this.pos),this.pos+=4;},writeFixed64:function(e){this.realloc(8),J(this.buf,-1&e,this.pos),J(this.buf,Math.floor(e*(1/4294967296)),this.pos+4),this.pos+=8;},writeSFixed64:function(e){this.realloc(8),J(this.buf,-1&e,this.pos),J(this.buf,Math.floor(e*(1/4294967296)),this.pos+4),this.pos+=8;},writeVarint:function(e){(e=+e||0)>268435455||e<0?function(e,t){var r,i;e>=0?(r=e%4294967296|0,i=e/4294967296|0):(i=~(-e/4294967296),4294967295^(r=~(-e%4294967296))?r=r+1|0:(r=0,i=i+1|0));if(e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,r){r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos++]=127&e|128,e>>>=7,r.buf[r.pos]=127&e;}(r,0,t),function(e,t){var r=(7&e)<<4;if(t.buf[t.pos++]|=r|((e>>>=3)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;t.buf[t.pos++]=127&e;}(i,t);}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))));},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e);},writeBoolean:function(e){this.writeVarint(Boolean(e));},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,r){for(var i,n,o=0;o<t.length;o++){if((i=t.charCodeAt(o))>55295&&i<57344){if(!n){i>56319||o+1===t.length?(e[r++]=239,e[r++]=191,e[r++]=189):n=i;continue}if(i<56320){e[r++]=239,e[r++]=191,e[r++]=189,n=i;continue}i=n-55296<<10|i-56320|65536,n=null;}else n&&(e[r++]=239,e[r++]=191,e[r++]=189,n=null);i<128?e[r++]=i:(i<2048?e[r++]=i>>6|192:(i<65536?e[r++]=i>>12|224:(e[r++]=i>>18|240,e[r++]=i>>12&63|128),e[r++]=i>>6&63|128),e[r++]=63&i|128);}return r}(this.buf,e,this.pos);var r=this.pos-t;r>=128&&_(t,r,this),this.pos=t-1,this.writeVarint(r),this.pos+=r;},writeFloat:function(t){this.realloc(4),e.ieee754.write(this.buf,t,this.pos,!0,23,4),this.pos+=4;},writeDouble:function(t){this.realloc(8),e.ieee754.write(this.buf,t,this.pos,!0,52,8),this.pos+=8;},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var r=0;r<t;r++)this.buf[this.pos++]=e[r];},writeRawMessage:function(e,t){this.pos++;var r=this.pos;e(t,this);var i=this.pos-r;i>=128&&_(r,i,this),this.pos=r-1,this.writeVarint(i),this.pos+=i;},writeMessage:function(e,t,r){this.writeTag(e,P.Bytes),this.writeRawMessage(t,r);},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,D,t);},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,L,t);},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,C,t);},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,B,t);},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,V,t);},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,z,t);},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,E,t);},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,O,t);},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,N,t);},writeBytesField:function(e,t){this.writeTag(e,P.Bytes),this.writeBytes(t);},writeFixed32Field:function(e,t){this.writeTag(e,P.Fixed32),this.writeFixed32(t);},writeSFixed32Field:function(e,t){this.writeTag(e,P.Fixed32),this.writeSFixed32(t);},writeFixed64Field:function(e,t){this.writeTag(e,P.Fixed64),this.writeFixed64(t);},writeSFixed64Field:function(e,t){this.writeTag(e,P.Fixed64),this.writeSFixed64(t);},writeVarintField:function(e,t){this.writeTag(e,P.Varint),this.writeVarint(t);},writeSVarintField:function(e,t){this.writeTag(e,P.Varint),this.writeSVarint(t);},writeStringField:function(e,t){this.writeTag(e,P.Bytes),this.writeString(t);},writeFloatField:function(e,t){this.writeTag(e,P.Fixed32),this.writeFloat(t);},writeDoubleField:function(e,t){this.writeTag(e,P.Fixed64),this.writeDouble(t);},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t));}};var Z=e.vectorTile.VectorTileFeature,j=Y;function Y(e,t){this.options=t||{},this.features=e,this.length=e.length;}function X(e,t){this.id="number"==typeof e.id?e.id:void 0,this.type=e.type,this.rawGeometry=1===e.type?[e.geometry]:e.geometry,this.properties=e.tags,this.extent=t||4096;}Y.prototype.feature=function(e){return new X(this.features[e],this.options.extent)},X.prototype.loadGeometry=function(){var t=this.rawGeometry;this.geometry=[];for(var r=0;r<t.length;r++){for(var i=t[r],n=[],o=0;o<i.length;o++)n.push(new e.Point$1(i[o][0],i[o][1]));this.geometry.push(n);}return this.geometry},X.prototype.bbox=function(){this.geometry||this.loadGeometry();for(var e=this.geometry,t=1/0,r=-1/0,i=1/0,n=-1/0,o=0;o<e.length;o++)for(var s=e[o],a=0;a<s.length;a++){var u=s[a];t=Math.min(t,u.x),r=Math.max(r,u.x),i=Math.min(i,u.y),n=Math.max(n,u.y);}return[t,i,r,n]},X.prototype.toGeoJSON=Z.prototype.toGeoJSON;var R=$,W=$,q=function(e,t){t=t||{};var r={};for(var i in e)r[i]=new j(e[i].features,t),r[i].name=i,r[i].version=t.version,r[i].extent=t.extent;return $({layers:r})},U=j;function $(e){var t=new F;return function(e,t){for(var r in e.layers)t.writeMessage(3,H,e.layers[r]);}(e,t),t.finish()}function H(e,t){var r;t.writeVarintField(15,e.version||1),t.writeStringField(1,e.name||""),t.writeVarintField(5,e.extent||4096);var i={keys:[],values:[],keycache:{},valuecache:{}};for(r=0;r<e.length;r++)i.feature=e.feature(r),t.writeMessage(2,K,i);var n=i.keys;for(r=0;r<n.length;r++)t.writeStringField(3,n[r]);var o=i.values;for(r=0;r<o.length;r++)t.writeMessage(4,ie,o[r]);}function K(e,t){var r=e.feature;void 0!==r.id&&t.writeVarintField(1,r.id),t.writeMessage(2,Q,e),t.writeVarintField(3,r.type),t.writeMessage(4,re,r);}function Q(e,t){var r=e.feature,i=e.keys,n=e.values,o=e.keycache,s=e.valuecache;for(var a in r.properties){var u=o[a];void 0===u&&(i.push(a),u=i.length-1,o[a]=u),t.writeVarint(u);var l=r.properties[a],h=typeof l;"string"!==h&&"boolean"!==h&&"number"!==h&&(l=JSON.stringify(l));var c=h+":"+l,f=s[c];void 0===f&&(n.push(l),f=n.length-1,s[c]=f),t.writeVarint(f);}}function ee(e,t){return(t<<3)+(7&e)}function te(e){return e<<1^e>>31}function re(e,t){for(var r=e.loadGeometry(),i=e.type,n=0,o=0,s=r.length,a=0;a<s;a++){var u=r[a],l=1;1===i&&(l=u.length),t.writeVarint(ee(1,l));for(var h=3===i?u.length-1:u.length,c=0;c<h;c++){1===c&&1!==i&&t.writeVarint(ee(2,h-1));var f=u[c].x-n,p=u[c].y-o;t.writeVarint(te(f)),t.writeVarint(te(p)),n+=f,o+=p;}3===i&&t.writeVarint(ee(7,1));}}function ie(e,t){var r=typeof e;"string"===r?t.writeStringField(1,e):"boolean"===r?t.writeBooleanField(7,e):"number"===r&&(e%1!=0?t.writeDoubleField(3,e):e<0?t.writeSVarintField(6,e):t.writeVarintField(5,e));}function ne(e,t,r,i,n,o){if(!(n-i<=r)){var s=i+n>>1;!function e(t,r,i,n,o,s){for(;o>n;){if(o-n>600){var a=o-n+1,u=i-n+1,l=Math.log(a),h=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*h*(a-h)/a)*(u-a/2<0?-1:1),f=Math.max(n,Math.floor(i-u*h/a+c)),p=Math.min(o,Math.floor(i+(a-u)*h/a+c));e(t,r,i,f,p,s);}var d=r[2*i+s],g=n,m=o;for(oe(t,r,n,i),r[2*o+s]>d&&oe(t,r,n,o);g<m;){for(oe(t,r,g,m),g++,m--;r[2*g+s]<d;)g++;for(;r[2*m+s]>d;)m--;}r[2*n+s]===d?oe(t,r,n,m):oe(t,r,++m,o),m<=i&&(n=m+1),i<=m&&(o=m-1);}}(e,t,s,i,n,o%2),ne(e,t,r,i,s-1,o+1),ne(e,t,r,s+1,n,o+1);}}function oe(e,t,r,i){se(e,r,i),se(t,2*r,2*i),se(t,2*r+1,2*i+1);}function se(e,t,r){var i=e[t];e[t]=e[r],e[r]=i;}function ae(e,t,r,i){var n=e-r,o=t-i;return n*n+o*o}R.fromVectorTileJs=W,R.fromGeojsonVt=q,R.GeoJSONWrapper=U;var ue=function(e){return e[0]},le=function(e){return e[1]},he=function(e,t,r,i,n){void 0===t&&(t=ue),void 0===r&&(r=le),void 0===i&&(i=64),void 0===n&&(n=Float64Array),this.nodeSize=i,this.points=e;for(var o=e.length<65536?Uint16Array:Uint32Array,s=this.ids=new o(e.length),a=this.coords=new n(2*e.length),u=0;u<e.length;u++)s[u]=u,a[2*u]=t(e[u]),a[2*u+1]=r(e[u]);ne(s,a,i,0,s.length-1,0);};he.prototype.range=function(e,t,r,i){return function(e,t,r,i,n,o,s){for(var a,u,l=[0,e.length-1,0],h=[];l.length;){var c=l.pop(),f=l.pop(),p=l.pop();if(f-p<=s)for(var d=p;d<=f;d++)a=t[2*d],u=t[2*d+1],a>=r&&a<=n&&u>=i&&u<=o&&h.push(e[d]);else{var g=Math.floor((p+f)/2);a=t[2*g],u=t[2*g+1],a>=r&&a<=n&&u>=i&&u<=o&&h.push(e[g]);var m=(c+1)%2;(0===c?r<=a:i<=u)&&(l.push(p),l.push(g-1),l.push(m)),(0===c?n>=a:o>=u)&&(l.push(g+1),l.push(f),l.push(m));}}return h}(this.ids,this.coords,e,t,r,i,this.nodeSize)},he.prototype.within=function(e,t,r){return function(e,t,r,i,n,o){for(var s=[0,e.length-1,0],a=[],u=n*n;s.length;){var l=s.pop(),h=s.pop(),c=s.pop();if(h-c<=o)for(var f=c;f<=h;f++)ae(t[2*f],t[2*f+1],r,i)<=u&&a.push(e[f]);else{var p=Math.floor((c+h)/2),d=t[2*p],g=t[2*p+1];ae(d,g,r,i)<=u&&a.push(e[p]);var m=(l+1)%2;(0===l?r-n<=d:i-n<=g)&&(s.push(c),s.push(p-1),s.push(m)),(0===l?r+n>=d:i+n>=g)&&(s.push(p+1),s.push(h),s.push(m));}}return a}(this.ids,this.coords,e,t,r,this.nodeSize)};var ce={minZoom:0,maxZoom:16,radius:40,extent:512,nodeSize:64,log:!1,reduce:null,map:function(e){return e}},fe=function(e){this.options=we(Object.create(ce),e),this.trees=new Array(this.options.maxZoom+1);};function pe(e,t,r,i,n){return{x:e,y:t,zoom:1/0,id:r,parentId:-1,numPoints:i,properties:n}}function de(e,t){var r=e.geometry.coordinates,i=r[0],n=r[1];return{x:ve(i),y:ye(n),zoom:1/0,index:t,parentId:-1}}function ge(e){return{type:"Feature",id:e.id,properties:me(e),geometry:{type:"Point",coordinates:[(i=e.x,360*(i-.5)),(t=e.y,r=(180-360*t)*Math.PI/180,360*Math.atan(Math.exp(r))/Math.PI-90)]}};var t,r,i;}function me(e){var t=e.numPoints,r=t>=1e4?Math.round(t/1e3)+"k":t>=1e3?Math.round(t/100)/10+"k":t;return we(we({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:r})}function ve(e){return e/360+.5}function ye(e){var t=Math.sin(e*Math.PI/180),r=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return r<0?0:r>1?1:r}function we(e,t){for(var r in t)e[r]=t[r];return e}function xe(e){return e.x}function be(e){return e.y}function Se(e,t,r,i,n,o){var s=n-r,a=o-i;if(0!==s||0!==a){var u=((e-r)*s+(t-i)*a)/(s*s+a*a);u>1?(r=n,i=o):u>0&&(r+=s*u,i+=a*u);}return(s=e-r)*s+(a=t-i)*a}function Me(e,t,r,i){var n={id:void 0===e?null:e,type:t,geometry:r,tags:i,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0};return function(e){var t=e.geometry,r=e.type;if("Point"===r||"MultiPoint"===r||"LineString"===r)ke(e,t);else if("Polygon"===r||"MultiLineString"===r)for(var i=0;i<t.length;i++)ke(e,t[i]);else if("MultiPolygon"===r)for(i=0;i<t.length;i++)for(var n=0;n<t[i].length;n++)ke(e,t[i][n]);}(n),n}function ke(e,t){for(var r=0;r<t.length;r+=3)e.minX=Math.min(e.minX,t[r]),e.minY=Math.min(e.minY,t[r+1]),e.maxX=Math.max(e.maxX,t[r]),e.maxY=Math.max(e.maxY,t[r+1]);}function Fe(e,t,r,i){if(t.geometry){var n=t.geometry.coordinates,o=t.geometry.type,s=Math.pow(r.tolerance/((1<<r.maxZoom)*r.extent),2),a=[],u=t.id;if(r.promoteId?u=t.properties[r.promoteId]:r.generateId&&(u=i||0),"Point"===o)Pe(n,a);else if("MultiPoint"===o)for(var l=0;l<n.length;l++)Pe(n[l],a);else if("LineString"===o)Ie(n,a,s,!1);else if("MultiLineString"===o){if(r.lineMetrics){for(l=0;l<n.length;l++)a=[],Ie(n[l],a,s,!1),e.push(Me(u,"LineString",a,t.properties));return}Te(n,a,s,!1);}else if("Polygon"===o)Te(n,a,s,!0);else{if("MultiPolygon"!==o){if("GeometryCollection"===o){for(l=0;l<t.geometry.geometries.length;l++)Fe(e,{id:u,geometry:t.geometry.geometries[l],properties:t.properties},r,i);return}throw new Error("Input data is not a valid GeoJSON object.")}for(l=0;l<n.length;l++){var h=[];Te(n[l],h,s,!0),a.push(h);}}e.push(Me(u,o,a,t.properties));}}function Pe(e,t){t.push(_e(e[0])),t.push(De(e[1])),t.push(0);}function Ie(e,t,r,i){for(var n,o,s=0,a=0;a<e.length;a++){var u=_e(e[a][0]),l=De(e[a][1]);t.push(u),t.push(l),t.push(0),a>0&&(s+=i?(n*l-u*o)/2:Math.sqrt(Math.pow(u-n,2)+Math.pow(l-o,2))),n=u,o=l;}var h=t.length-3;t[2]=1,function e(t,r,i,n){for(var o,s=n,a=i-r>>1,u=i-r,l=t[r],h=t[r+1],c=t[i],f=t[i+1],p=r+3;p<i;p+=3){var d=Se(t[p],t[p+1],l,h,c,f);if(d>s)o=p,s=d;else if(d===s){var g=Math.abs(p-a);g<u&&(o=p,u=g);}}s>n&&(o-r>3&&e(t,r,o,n),t[o+2]=s,i-o>3&&e(t,o,i,n));}(t,0,h,r),t[h+2]=1,t.size=Math.abs(s),t.start=0,t.end=t.size;}function Te(e,t,r,i){for(var n=0;n<e.length;n++){var o=[];Ie(e[n],o,r,i),t.push(o);}}function _e(e){return e/360+.5}function De(e){var t=Math.sin(e*Math.PI/180),r=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return r<0?0:r>1?1:r}function Le(e,t,r,i,n,o,s,a){if(i/=t,o>=(r/=t)&&s<i)return e;if(s<r||o>=i)return null;for(var u=[],l=0;l<e.length;l++){var h=e[l],c=h.geometry,f=h.type,p=0===n?h.minX:h.minY,d=0===n?h.maxX:h.maxY;if(p>=r&&d<i)u.push(h);else if(!(d<r||p>=i)){var g=[];if("Point"===f||"MultiPoint"===f)Be(c,g,r,i,n);else if("LineString"===f)Ve(c,g,r,i,n,!1,a.lineMetrics);else if("MultiLineString"===f)ze(c,g,r,i,n,!1);else if("Polygon"===f)ze(c,g,r,i,n,!0);else if("MultiPolygon"===f)for(var m=0;m<c.length;m++){var v=[];ze(c[m],v,r,i,n,!0),v.length&&g.push(v);}if(g.length){if(a.lineMetrics&&"LineString"===f){for(m=0;m<g.length;m++)u.push(Me(h.id,f,g[m],h.tags));continue}"LineString"!==f&&"MultiLineString"!==f||(1===g.length?(f="LineString",g=g[0]):f="MultiLineString"),"Point"!==f&&"MultiPoint"!==f||(f=3===g.length?"Point":"MultiPoint"),u.push(Me(h.id,f,g,h.tags));}}}return u.length?u:null}function Be(e,t,r,i,n){for(var o=0;o<e.length;o+=3){var s=e[o+n];s>=r&&s<=i&&(t.push(e[o]),t.push(e[o+1]),t.push(e[o+2]));}}function Ve(e,t,r,i,n,o,s){for(var a,u,l=Ce(e),h=0===n?Oe:Ne,c=e.start,f=0;f<e.length-3;f+=3){var p=e[f],d=e[f+1],g=e[f+2],m=e[f+3],v=e[f+4],y=0===n?p:d,w=0===n?m:v,x=!1;s&&(a=Math.sqrt(Math.pow(p-m,2)+Math.pow(d-v,2))),y<r?w>r&&(u=h(l,p,d,m,v,r),s&&(l.start=c+a*u)):y>i?w<i&&(u=h(l,p,d,m,v,i),s&&(l.start=c+a*u)):Ee(l,p,d,g),w<r&&y>=r&&(u=h(l,p,d,m,v,r),x=!0),w>i&&y<=i&&(u=h(l,p,d,m,v,i),x=!0),!o&&x&&(s&&(l.end=c+a*u),t.push(l),l=Ce(e)),s&&(c+=a);}var b=e.length-3;p=e[b],d=e[b+1],g=e[b+2],(y=0===n?p:d)>=r&&y<=i&&Ee(l,p,d,g),b=l.length-3,o&&b>=3&&(l[b]!==l[0]||l[b+1]!==l[1])&&Ee(l,l[0],l[1],l[2]),l.length&&t.push(l);}function Ce(e){var t=[];return t.size=e.size,t.start=e.start,t.end=e.end,t}function ze(e,t,r,i,n,o){for(var s=0;s<e.length;s++)Ve(e[s],t,r,i,n,o,!1);}function Ee(e,t,r,i){e.push(t),e.push(r),e.push(i);}function Oe(e,t,r,i,n,o){var s=(o-t)/(i-t);return e.push(o),e.push(r+(n-r)*s),e.push(1),s}function Ne(e,t,r,i,n,o){var s=(o-r)/(n-r);return e.push(t+(i-t)*s),e.push(o),e.push(1),s}function Ae(e,t){for(var r=[],i=0;i<e.length;i++){var n,o=e[i],s=o.type;if("Point"===s||"MultiPoint"===s||"LineString"===s)n=Je(o.geometry,t);else if("MultiLineString"===s||"Polygon"===s){n=[];for(var a=0;a<o.geometry.length;a++)n.push(Je(o.geometry[a],t));}else if("MultiPolygon"===s)for(n=[],a=0;a<o.geometry.length;a++){for(var u=[],l=0;l<o.geometry[a].length;l++)u.push(Je(o.geometry[a][l],t));n.push(u);}r.push(Me(o.id,s,n,o.tags));}return r}function Je(e,t){var r=[];r.size=e.size,void 0!==e.start&&(r.start=e.start,r.end=e.end);for(var i=0;i<e.length;i+=3)r.push(e[i]+t,e[i+1],e[i+2]);return r}function Ge(e,t){if(e.transformed)return e;var r,i,n,o=1<<e.z,s=e.x,a=e.y;for(r=0;r<e.features.length;r++){var u=e.features[r],l=u.geometry,h=u.type;if(u.geometry=[],1===h)for(i=0;i<l.length;i+=2)u.geometry.push(Ze(l[i],l[i+1],t,o,s,a));else for(i=0;i<l.length;i++){var c=[];for(n=0;n<l[i].length;n+=2)c.push(Ze(l[i][n],l[i][n+1],t,o,s,a));u.geometry.push(c);}}return e.transformed=!0,e}function Ze(e,t,r,i,n,o){return[Math.round(r*(e*i-n)),Math.round(r*(t*i-o))]}function je(e,t,r,i,n){for(var o=t===n.maxZoom?0:n.tolerance/((1<<t)*n.extent),s={features:[],numPoints:0,numSimplified:0,numFeatures:0,source:null,x:r,y:i,z:t,transformed:!1,minX:2,minY:1,maxX:-1,maxY:0},a=0;a<e.length;a++){s.numFeatures++,Ye(s,e[a],o,n);var u=e[a].minX,l=e[a].minY,h=e[a].maxX,c=e[a].maxY;u<s.minX&&(s.minX=u),l<s.minY&&(s.minY=l),h>s.maxX&&(s.maxX=h),c>s.maxY&&(s.maxY=c);}return s}function Ye(e,t,r,i){var n=t.geometry,o=t.type,s=[];if("Point"===o||"MultiPoint"===o)for(var a=0;a<n.length;a+=3)s.push(n[a]),s.push(n[a+1]),e.numPoints++,e.numSimplified++;else if("LineString"===o)Xe(s,n,e,r,!1,!1);else if("MultiLineString"===o||"Polygon"===o)for(a=0;a<n.length;a++)Xe(s,n[a],e,r,"Polygon"===o,0===a);else if("MultiPolygon"===o)for(var u=0;u<n.length;u++){var l=n[u];for(a=0;a<l.length;a++)Xe(s,l[a],e,r,!0,0===a);}if(s.length){var h=t.tags||null;if("LineString"===o&&i.lineMetrics){for(var c in h={},t.tags)h[c]=t.tags[c];h.mapbox_clip_start=n.start/n.size,h.mapbox_clip_end=n.end/n.size;}var f={geometry:s,type:"Polygon"===o||"MultiPolygon"===o?3:"LineString"===o||"MultiLineString"===o?2:1,tags:h};null!==t.id&&(f.id=t.id),e.features.push(f);}}function Xe(e,t,r,i,n,o){var s=i*i;if(i>0&&t.size<(n?s:i))r.numPoints+=t.length/3;else{for(var a=[],u=0;u<t.length;u+=3)(0===i||t[u+2]>s)&&(r.numSimplified++,a.push(t[u]),a.push(t[u+1])),r.numPoints++;n&&function(e,t){for(var r=0,i=0,n=e.length,o=n-2;i<n;o=i,i+=2)r+=(e[i]-e[o])*(e[i+1]+e[o+1]);if(r>0===t)for(i=0,n=e.length;i<n/2;i+=2){var s=e[i],a=e[i+1];e[i]=e[n-2-i],e[i+1]=e[n-1-i],e[n-2-i]=s,e[n-1-i]=a;}}(a,o),e.push(a);}}function Re(e,t){var r=(t=this.options=function(e,t){for(var r in t)e[r]=t[r];return e}(Object.create(this.options),t)).debug;if(r&&console.time("preprocess data"),t.maxZoom<0||t.maxZoom>24)throw new Error("maxZoom should be in the 0-24 range");if(t.promoteId&&t.generateId)throw new Error("promoteId and generateId cannot be used together.");var i=function(e,t){var r=[];if("FeatureCollection"===e.type)for(var i=0;i<e.features.length;i++)Fe(r,e.features[i],t,i);else"Feature"===e.type?Fe(r,e,t):Fe(r,{geometry:e},t);return r}(e,t);this.tiles={},this.tileCoords=[],r&&(console.timeEnd("preprocess data"),console.log("index: maxZoom: %d, maxPoints: %d",t.indexMaxZoom,t.indexMaxPoints),console.time("generate tiles"),this.stats={},this.total=0),(i=function(e,t){var r=t.buffer/t.extent,i=e,n=Le(e,1,-1-r,r,0,-1,2,t),o=Le(e,1,1-r,2+r,0,-1,2,t);return(n||o)&&(i=Le(e,1,-r,1+r,0,-1,2,t)||[],n&&(i=Ae(n,1).concat(i)),o&&(i=i.concat(Ae(o,-1)))),i}(i,t)).length&&this.splitTile(i,0,0,0),r&&(i.length&&console.log("features: %d, points: %d",this.tiles[0].numFeatures,this.tiles[0].numPoints),console.timeEnd("generate tiles"),console.log("tiles generated:",this.total,JSON.stringify(this.stats)));}function We(e,t,r){return 32*((1<<e)*r+t)+e}function qe(e,t){var r=e.tileID.canonical;if(!this._geoJSONIndex)return t(null,null);var i=this._geoJSONIndex.getTile(r.z,r.x,r.y);if(!i)return t(null,null);var n=new k(i.features),o=R(n);0===o.byteOffset&&o.byteLength===o.buffer.byteLength||(o=new Uint8Array(o)),t(null,{vectorTile:n,rawData:o.buffer});}fe.prototype.load=function(e){var t=this.options,r=t.log,i=t.minZoom,n=t.maxZoom,o=t.nodeSize;r&&console.time("total time");var s="prepare "+e.length+" points";r&&console.time(s),this.points=e;for(var a=[],u=0;u<e.length;u++)e[u].geometry&&a.push(de(e[u],u));this.trees[n+1]=new he(a,xe,be,o,Float32Array),r&&console.timeEnd(s);for(var l=n;l>=i;l--){var h=+Date.now();a=this._cluster(a,l),this.trees[l]=new he(a,xe,be,o,Float32Array),r&&console.log("z%d: %d clusters in %dms",l,a.length,+Date.now()-h);}return r&&console.timeEnd("total time"),this},fe.prototype.getClusters=function(e,t){var r=((e[0]+180)%360+360)%360-180,i=Math.max(-90,Math.min(90,e[1])),n=180===e[2]?180:((e[2]+180)%360+360)%360-180,o=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)r=-180,n=180;else if(r>n){var s=this.getClusters([r,i,180,o],t),a=this.getClusters([-180,i,n,o],t);return s.concat(a)}for(var u=this.trees[this._limitZoom(t)],l=[],h=0,c=u.range(ve(r),ye(o),ve(n),ye(i));h<c.length;h+=1){var f=c[h],p=u.points[f];l.push(p.numPoints?ge(p):this.points[p.index]);}return l},fe.prototype.getChildren=function(e){var t=e>>5,r=e%32,i="No cluster with the specified id.",n=this.trees[r];if(!n)throw new Error(i);var o=n.points[t];if(!o)throw new Error(i);for(var s=this.options.radius/(this.options.extent*Math.pow(2,r-1)),a=[],u=0,l=n.within(o.x,o.y,s);u<l.length;u+=1){var h=l[u],c=n.points[h];c.parentId===e&&a.push(c.numPoints?ge(c):this.points[c.index]);}if(0===a.length)throw new Error(i);return a},fe.prototype.getLeaves=function(e,t,r){t=t||10,r=r||0;var i=[];return this._appendLeaves(i,e,t,r,0),i},fe.prototype.getTile=function(e,t,r){var i=this.trees[this._limitZoom(e)],n=Math.pow(2,e),o=this.options,s=o.extent,a=o.radius/s,u=(r-a)/n,l=(r+1+a)/n,h={features:[]};return this._addTileFeatures(i.range((t-a)/n,u,(t+1+a)/n,l),i.points,t,r,n,h),0===t&&this._addTileFeatures(i.range(1-a/n,u,1,l),i.points,n,r,n,h),t===n-1&&this._addTileFeatures(i.range(0,u,a/n,l),i.points,-1,r,n,h),h.features.length?h:null},fe.prototype.getClusterExpansionZoom=function(e){for(var t=e%32-1;t<=this.options.maxZoom;){var r=this.getChildren(e);if(t++,1!==r.length)break;e=r[0].properties.cluster_id;}return t},fe.prototype._appendLeaves=function(e,t,r,i,n){for(var o=0,s=this.getChildren(t);o<s.length;o+=1){var a=s[o],u=a.properties;if(u&&u.cluster?n+u.point_count<=i?n+=u.point_count:n=this._appendLeaves(e,u.cluster_id,r,i,n):n<i?n++:e.push(a),e.length===r)break}return n},fe.prototype._addTileFeatures=function(e,t,r,i,n,o){for(var s=0,a=e;s<a.length;s+=1){var u=t[a[s]],l={type:1,geometry:[[Math.round(this.options.extent*(u.x*n-r)),Math.round(this.options.extent*(u.y*n-i))]],tags:u.numPoints?me(u):this.points[u.index].properties},h=u.numPoints?u.id:this.points[u.index].id;void 0!==h&&(l.id=h),o.features.push(l);}},fe.prototype._limitZoom=function(e){return Math.max(this.options.minZoom,Math.min(e,this.options.maxZoom+1))},fe.prototype._cluster=function(e,t){for(var r=[],i=this.options,n=i.radius,o=i.extent,s=i.reduce,a=n/(o*Math.pow(2,t)),u=0;u<e.length;u++){var l=e[u];if(!(l.zoom<=t)){l.zoom=t;for(var h=this.trees[t+1],c=h.within(l.x,l.y,a),f=l.numPoints||1,p=l.x*f,d=l.y*f,g=s&&f>1?this._map(l,!0):null,m=(u<<5)+(t+1),v=0,y=c;v<y.length;v+=1){var w=y[v],x=h.points[w];if(!(x.zoom<=t)){x.zoom=t;var b=x.numPoints||1;p+=x.x*b,d+=x.y*b,f+=b,x.parentId=m,s&&(g||(g=this._map(l,!0)),s(g,this._map(x)));}}1===f?r.push(l):(l.parentId=m,r.push(pe(p/f,d/f,m,f,g)));}}return r},fe.prototype._map=function(e,t){if(e.numPoints)return t?we({},e.properties):e.properties;var r=this.points[e.index].properties,i=this.options.map(r);return t&&i===r?we({},i):i},Re.prototype.options={maxZoom:14,indexMaxZoom:5,indexMaxPoints:1e5,tolerance:3,extent:4096,buffer:64,lineMetrics:!1,promoteId:null,generateId:!1,debug:0},Re.prototype.splitTile=function(e,t,r,i,n,o,s){for(var a=[e,t,r,i],u=this.options,l=u.debug;a.length;){i=a.pop(),r=a.pop(),t=a.pop(),e=a.pop();var h=1<<t,c=We(t,r,i),f=this.tiles[c];if(!f&&(l>1&&console.time("creation"),f=this.tiles[c]=je(e,t,r,i,u),this.tileCoords.push({z:t,x:r,y:i}),l)){l>1&&(console.log("tile z%d-%d-%d (features: %d, points: %d, simplified: %d)",t,r,i,f.numFeatures,f.numPoints,f.numSimplified),console.timeEnd("creation"));var p="z"+t;this.stats[p]=(this.stats[p]||0)+1,this.total++;}if(f.source=e,n){if(t===u.maxZoom||t===n)continue;var d=1<<n-t;if(r!==Math.floor(o/d)||i!==Math.floor(s/d))continue}else if(t===u.indexMaxZoom||f.numPoints<=u.indexMaxPoints)continue;if(f.source=null,0!==e.length){l>1&&console.time("clipping");var g,m,v,y,w,x,b=.5*u.buffer/u.extent,S=.5-b,M=.5+b,k=1+b;g=m=v=y=null,w=Le(e,h,r-b,r+M,0,f.minX,f.maxX,u),x=Le(e,h,r+S,r+k,0,f.minX,f.maxX,u),e=null,w&&(g=Le(w,h,i-b,i+M,1,f.minY,f.maxY,u),m=Le(w,h,i+S,i+k,1,f.minY,f.maxY,u),w=null),x&&(v=Le(x,h,i-b,i+M,1,f.minY,f.maxY,u),y=Le(x,h,i+S,i+k,1,f.minY,f.maxY,u),x=null),l>1&&console.timeEnd("clipping"),a.push(g||[],t+1,2*r,2*i),a.push(m||[],t+1,2*r,2*i+1),a.push(v||[],t+1,2*r+1,2*i),a.push(y||[],t+1,2*r+1,2*i+1);}}},Re.prototype.getTile=function(e,t,r){var i=this.options,n=i.extent,o=i.debug;if(e<0||e>24)return null;var s=1<<e,a=We(e,t=(t%s+s)%s,r);if(this.tiles[a])return Ge(this.tiles[a],n);o>1&&console.log("drilling down to z%d-%d-%d",e,t,r);for(var u,l=e,h=t,c=r;!u&&l>0;)l--,h=Math.floor(h/2),c=Math.floor(c/2),u=this.tiles[We(l,h,c)];return u&&u.source?(o>1&&console.log("found parent tile z%d-%d-%d",l,h,c),o>1&&console.time("drilling down"),this.splitTile(u.source,l,h,c,e,t,r),o>1&&console.timeEnd("drilling down"),this.tiles[a]?Ge(this.tiles[a],n):null):null};var Ue=function(t){function r(e,r,i,n){t.call(this,e,r,i,qe),n&&(this.loadGeoJSON=n);}return t&&(r.__proto__=t),r.prototype=Object.create(t&&t.prototype),r.prototype.constructor=r,r.prototype.loadData=function(e,t){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),this._pendingCallback=t,this._pendingLoadDataParams=e,this._state&&"Idle"!==this._state?this._state="NeedsLoadData":(this._state="Coalescing",this._loadData());},r.prototype._loadData=function(){var t=this;if(this._pendingCallback&&this._pendingLoadDataParams){var r=this._pendingCallback,i=this._pendingLoadDataParams;delete this._pendingCallback,delete this._pendingLoadDataParams;var n=!!(i&&i.request&&i.request.collectResourceTiming)&&new u.Performance(i.request);this.loadGeoJSON(i,(function(o,s){if(o||!s)return r(o);if("object"!=typeof s)return r(new Error("Input data given to '"+i.source+"' is not a valid GeoJSON object."));y(s,!0);try{t._geoJSONIndex=i.cluster?new fe(function(t){var r=t.superclusterOptions,i=t.clusterProperties;if(!i||!r)return r;for(var n={},o={},s={accumulated:null,zoom:0},a={properties:null},u=Object.keys(i),l=0,h=u;l<h.length;l+=1){var c=h[l],f=i[c],p=f[0],d=f[1],g=e.createExpression(d),m=e.createExpression("string"==typeof p?[p,["accumulated"],["get",c]]:p);n[c]=g.value,o[c]=m.value;}return r.map=function(e){a.properties=e;for(var t={},r=0,i=u;r<i.length;r+=1){var o=i[r];t[o]=n[o].evaluate(s,a);}return t},r.reduce=function(e,t){a.properties=t;for(var r=0,i=u;r<i.length;r+=1){var n=i[r];s.accumulated=e[n],e[n]=o[n].evaluate(s,a);}},r}(i)).load(s.features):function(e,t){return new Re(e,t)}(s,i.geojsonVtOptions);}catch(o){return r(o)}t.loaded={};var a={};if(n){var u=n.finish();u&&(a.resourceTiming={},a.resourceTiming[i.source]=JSON.parse(JSON.stringify(u)));}r(null,a);}));}},r.prototype.coalesce=function(){"Coalescing"===this._state?this._state="Idle":"NeedsLoadData"===this._state&&(this._state="Coalescing",this._loadData());},r.prototype.reloadTile=function(e,r){var i=this.loaded,n=e.uid;return i&&i[n]?t.prototype.reloadTile.call(this,e,r):this.loadTile(e,r)},r.prototype.loadGeoJSON=function(t,r){if(t.request)e.getJSON(t.request,r);else{if("string"!=typeof t.data)return r(new Error("Input data given to '"+t.source+"' is not a valid GeoJSON object."));try{return r(null,JSON.parse(t.data))}catch(e){return r(new Error("Input data given to '"+t.source+"' is not a valid GeoJSON object."))}}},r.prototype.removeSource=function(e,t){this._pendingCallback&&this._pendingCallback(null,{abandoned:!0}),t();},r.prototype.getClusterExpansionZoom=function(e,t){t(null,this._geoJSONIndex.getClusterExpansionZoom(e.clusterId));},r.prototype.getClusterChildren=function(e,t){t(null,this._geoJSONIndex.getChildren(e.clusterId));},r.prototype.getClusterLeaves=function(e,t){t(null,this._geoJSONIndex.getLeaves(e.clusterId,e.limit,e.offset));},r}(c);var $e=function(t){var r=this;this.self=t,this.actor=new e.Actor(t,this),this.layerIndexes={},this.availableImages={},this.workerSourceTypes={vector:c,geojson:Ue},this.workerSources={},this.demWorkerSources={},this.self.registerWorkerSource=function(e,t){if(r.workerSourceTypes[e])throw new Error('Worker source with name "'+e+'" already registered.');r.workerSourceTypes[e]=t;},this.self.registerRTLTextPlugin=function(t){if(e.plugin.isLoaded())throw new Error("RTL text plugin already registered.");e.plugin.applyArabicShaping=t.applyArabicShaping,e.plugin.processBidirectionalText=t.processBidirectionalText,e.plugin.processStyledBidirectionalText=t.processStyledBidirectionalText;};};return $e.prototype.setReferrer=function(e,t){this.referrer=t;},$e.prototype.setImages=function(e,t,r){this.availableImages[e]=t,r();},$e.prototype.setLayers=function(e,t,r){this.getLayerIndex(e).replace(t),r();},$e.prototype.updateLayers=function(e,t,r){this.getLayerIndex(e).update(t.layers,t.removedIds),r();},$e.prototype.loadTile=function(e,t,r){this.getWorkerSource(e,t.type,t.source).loadTile(t,r);},$e.prototype.loadDEMTile=function(e,t,r){this.getDEMWorkerSource(e,t.source).loadTile(t,r);},$e.prototype.reloadTile=function(e,t,r){this.getWorkerSource(e,t.type,t.source).reloadTile(t,r);},$e.prototype.abortTile=function(e,t,r){this.getWorkerSource(e,t.type,t.source).abortTile(t,r);},$e.prototype.removeTile=function(e,t,r){this.getWorkerSource(e,t.type,t.source).removeTile(t,r);},$e.prototype.removeDEMTile=function(e,t){this.getDEMWorkerSource(e,t.source).removeTile(t);},$e.prototype.removeSource=function(e,t,r){if(this.workerSources[e]&&this.workerSources[e][t.type]&&this.workerSources[e][t.type][t.source]){var i=this.workerSources[e][t.type][t.source];delete this.workerSources[e][t.type][t.source],void 0!==i.removeSource?i.removeSource(t,r):r();}},$e.prototype.loadWorkerSource=function(e,t,r){try{this.self.importScripts(t.url),r();}catch(e){r(e.toString());}},$e.prototype.loadRTLTextPlugin=function(t,r,i){try{e.plugin.isLoaded()||(this.self.importScripts(r),i(e.plugin.isLoaded()?null:new Error("RTL Text Plugin failed to import scripts from "+r)));}catch(e){i(e.toString());}},$e.prototype.getAvailableImages=function(e){var t=this.availableImages[e];return t||(t=[]),t},$e.prototype.getLayerIndex=function(e){var t=this.layerIndexes[e];return t||(t=this.layerIndexes[e]=new i),t},$e.prototype.getWorkerSource=function(e,t,r){var i=this;if(this.workerSources[e]||(this.workerSources[e]={}),this.workerSources[e][t]||(this.workerSources[e][t]={}),!this.workerSources[e][t][r]){var n={send:function(t,r,n){i.actor.send(t,r,n,e);}};this.workerSources[e][t][r]=new this.workerSourceTypes[t](n,this.getLayerIndex(e),this.getAvailableImages(e));}return this.workerSources[e][t][r]},$e.prototype.getDEMWorkerSource=function(e,t){return this.demWorkerSources[e]||(this.demWorkerSources[e]={}),this.demWorkerSources[e][t]||(this.demWorkerSources[e][t]=new f),this.demWorkerSources[e][t]},$e.prototype.enforceCacheSizeLimit=function(t,r){e.enforceCacheSizeLimit(r);},"undefined"!=typeof WorkerGlobalScope&&void 0!==e.window&&e.window instanceof WorkerGlobalScope&&(e.window.worker=new $e(e.window)),$e}));define(["./shared"],(function(t){"use strict";var e=t.createCommonjsModule((function(t){function e(t){return!!("undefined"!=typeof window&&"undefined"!=typeof document&&Array.prototype&&Array.prototype.every&&Array.prototype.filter&&Array.prototype.forEach&&Array.prototype.indexOf&&Array.prototype.lastIndexOf&&Array.prototype.map&&Array.prototype.some&&Array.prototype.reduce&&Array.prototype.reduceRight&&Array.isArray&&Function.prototype&&Function.prototype.bind&&Object.keys&&Object.create&&Object.getPrototypeOf&&Object.getOwnPropertyNames&&Object.isSealed&&Object.isFrozen&&Object.isExtensible&&Object.getOwnPropertyDescriptor&&Object.defineProperty&&Object.defineProperties&&Object.seal&&Object.freeze&&Object.preventExtensions&&"JSON"in window&&"parse"in JSON&&"stringify"in JSON&&function(){if(!("Worker"in window&&"Blob"in window&&"URL"in window))return!1;var t,e,i=new Blob([""],{type:"text/javascript"}),o=URL.createObjectURL(i);try{e=new Worker(o),t=!0;}catch(e){t=!1;}e&&e.terminate();return URL.revokeObjectURL(o),t}()&&"Uint8ClampedArray"in window&&ArrayBuffer.isView&&function(t){void 0===i[t]&&(i[t]=function(t){var i=document.createElement("canvas"),o=Object.create(e.webGLContextAttributes);return o.failIfMajorPerformanceCaveat=t,i.probablySupportsContext?i.probablySupportsContext("webgl",o)||i.probablySupportsContext("experimental-webgl",o):i.supportsContext?i.supportsContext("webgl",o)||i.supportsContext("experimental-webgl",o):i.getContext("webgl",o)||i.getContext("experimental-webgl",o)}(t));return i[t]}(t&&t.failIfMajorPerformanceCaveat))}t.exports?t.exports=e:window&&(window.mapboxgl=window.mapboxgl||{},window.mapboxgl.supported=e);var i={};e.webGLContextAttributes={antialias:!1,alpha:!0,stencil:!0,depth:!0};})),i={create:function(e,i,o){var r=t.window.document.createElement(e);return void 0!==i&&(r.className=i),o&&o.appendChild(r),r},createNS:function(e,i){return t.window.document.createElementNS(e,i)}},o=t.window.document.documentElement.style;function r(t){if(!o)return t[0];for(var e=0;e<t.length;e++)if(t[e]in o)return t[e];return t[0]}var a,n=r(["userSelect","MozUserSelect","WebkitUserSelect","msUserSelect"]);i.disableDrag=function(){o&&n&&(a=o[n],o[n]="none");},i.enableDrag=function(){o&&n&&(o[n]=a);};var s=r(["transform","WebkitTransform"]);i.setTransform=function(t,e){t.style[s]=e;};var l=!1;try{var c=Object.defineProperty({},"passive",{get:function(){l=!0;}});t.window.addEventListener("test",c,c),t.window.removeEventListener("test",c,c);}catch(t){l=!1;}i.addEventListener=function(t,e,i,o){void 0===o&&(o={}),"passive"in o&&l?t.addEventListener(e,i,o):t.addEventListener(e,i,o.capture);},i.removeEventListener=function(t,e,i,o){void 0===o&&(o={}),"passive"in o&&l?t.removeEventListener(e,i,o):t.removeEventListener(e,i,o.capture);};var u=function(e){e.preventDefault(),e.stopPropagation(),t.window.removeEventListener("click",u,!0);};function h(t){var e=t.userImage;if(e&&e.render&&e.render())return t.data.replace(new Uint8Array(e.data.buffer)),!0;return!1}i.suppressClick=function(){t.window.addEventListener("click",u,!0),t.window.setTimeout((function(){t.window.removeEventListener("click",u,!0);}),0);},i.mousePos=function(e,i){var o=e.getBoundingClientRect(),r=t.window.TouchEvent&&i instanceof t.window.TouchEvent?i.touches[0]:i;return new t.Point(r.clientX-o.left-e.clientLeft,r.clientY-o.top-e.clientTop)},i.touchPos=function(e,i){for(var o=e.getBoundingClientRect(),r=[],a="touchend"===i.type?i.changedTouches:i.touches,n=0;n<a.length;n++)r.push(new t.Point(a[n].clientX-o.left-e.clientLeft,a[n].clientY-o.top-e.clientTop));return r},i.mouseButton=function(e){return void 0!==t.window.InstallTrigger&&2===e.button&&e.ctrlKey&&t.window.navigator.platform.toUpperCase().indexOf("MAC")>=0?0:e.button},i.remove=function(t){t.parentNode&&t.parentNode.removeChild(t);};var p=function(e){function i(){e.call(this),this.images={},this.updatedImages={},this.callbackDispatchedThisFrame={},this.loaded=!1,this.requestors=[],this.patterns={},this.atlasImage=new t.RGBAImage({width:1,height:1}),this.dirty=!0;}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.isLoaded=function(){return this.loaded},i.prototype.setLoaded=function(t){if(this.loaded!==t&&(this.loaded=t,t)){for(var e=0,i=this.requestors;e<i.length;e+=1){var o=i[e],r=o.ids,a=o.callback;this._notify(r,a);}this.requestors=[];}},i.prototype.getImage=function(t){return this.images[t]},i.prototype.addImage=function(t,e){this.images[t]=e;},i.prototype.updateImage=function(t,e){var i=this.images[t];e.version=i.version+1,this.images[t]=e,this.updatedImages[t]=!0;},i.prototype.removeImage=function(t){var e=this.images[t];delete this.images[t],delete this.patterns[t],e.userImage&&e.userImage.onRemove&&e.userImage.onRemove();},i.prototype.listImages=function(){return Object.keys(this.images)},i.prototype.getImages=function(t,e){var i=!0;if(!this.isLoaded())for(var o=0,r=t;o<r.length;o+=1){var a=r[o];this.images[a]||(i=!1);}this.isLoaded()||i?this._notify(t,e):this.requestors.push({ids:t,callback:e});},i.prototype._notify=function(e,i){for(var o={},r=0,a=e;r<a.length;r+=1){var n=a[r];this.images[n]||this.fire(new t.Event("styleimagemissing",{id:n}));var s=this.images[n];s?o[n]={data:s.data.clone(),pixelRatio:s.pixelRatio,sdf:s.sdf,version:s.version,hasRenderCallback:Boolean(s.userImage&&s.userImage.render)}:t.warnOnce('Image "'+n+'" could not be loaded. Please make sure you have added the image with map.addImage() or a "sprite" property in your style. You can provide missing images by listening for the "styleimagemissing" map event.');}i(null,o);},i.prototype.getPixelSize=function(){var t=this.atlasImage;return{width:t.width,height:t.height}},i.prototype.getPattern=function(e){var i=this.patterns[e],o=this.getImage(e);if(!o)return null;if(i&&i.position.version===o.version)return i.position;if(i)i.position.version=o.version;else{var r={w:o.data.width+2,h:o.data.height+2,x:0,y:0},a=new t.ImagePosition(r,o);this.patterns[e]={bin:r,position:a};}return this._updatePatternAtlas(),this.patterns[e].position},i.prototype.bind=function(e){var i=e.gl;this.atlasTexture?this.dirty&&(this.atlasTexture.update(this.atlasImage),this.dirty=!1):this.atlasTexture=new t.Texture(e,this.atlasImage,i.RGBA),this.atlasTexture.bind(i.LINEAR,i.CLAMP_TO_EDGE);},i.prototype._updatePatternAtlas=function(){var e=[];for(var i in this.patterns)e.push(this.patterns[i].bin);var o=t.potpack(e),r=o.w,a=o.h,n=this.atlasImage;for(var s in n.resize({width:r||1,height:a||1}),this.patterns){var l=this.patterns[s].bin,c=l.x+1,u=l.y+1,h=this.images[s].data,p=h.width,d=h.height;t.RGBAImage.copy(h,n,{x:0,y:0},{x:c,y:u},{width:p,height:d}),t.RGBAImage.copy(h,n,{x:0,y:d-1},{x:c,y:u-1},{width:p,height:1}),t.RGBAImage.copy(h,n,{x:0,y:0},{x:c,y:u+d},{width:p,height:1}),t.RGBAImage.copy(h,n,{x:p-1,y:0},{x:c-1,y:u},{width:1,height:d}),t.RGBAImage.copy(h,n,{x:0,y:0},{x:c+p,y:u},{width:1,height:d});}this.dirty=!0;},i.prototype.beginFrame=function(){this.callbackDispatchedThisFrame={};},i.prototype.dispatchRenderCallbacks=function(t){for(var e=0,i=t;e<i.length;e+=1){var o=i[e];if(!this.callbackDispatchedThisFrame[o]){this.callbackDispatchedThisFrame[o]=!0;var r=this.images[o];h(r)&&this.updateImage(o,r);}}},i}(t.Evented);var d=m,_=m,f=1e20;function m(t,e,i,o,r,a){this.fontSize=t||24,this.buffer=void 0===e?3:e,this.cutoff=o||.25,this.fontFamily=r||"sans-serif",this.fontWeight=a||"normal",this.radius=i||8;var n=this.size=this.fontSize+2*this.buffer;this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=n,this.ctx=this.canvas.getContext("2d"),this.ctx.font=this.fontWeight+" "+this.fontSize+"px "+this.fontFamily,this.ctx.textBaseline="middle",this.ctx.fillStyle="black",this.gridOuter=new Float64Array(n*n),this.gridInner=new Float64Array(n*n),this.f=new Float64Array(n),this.d=new Float64Array(n),this.z=new Float64Array(n+1),this.v=new Int16Array(n),this.middle=Math.round(n/2*(navigator.userAgent.indexOf("Gecko/")>=0?1.2:1));}function g(t,e,i,o,r,a,n){for(var s=0;s<e;s++){for(var l=0;l<i;l++)o[l]=t[l*e+s];for(v(o,r,a,n,i),l=0;l<i;l++)t[l*e+s]=r[l];}for(l=0;l<i;l++){for(s=0;s<e;s++)o[s]=t[l*e+s];for(v(o,r,a,n,e),s=0;s<e;s++)t[l*e+s]=Math.sqrt(r[s]);}}function v(t,e,i,o,r){i[0]=0,o[0]=-f,o[1]=+f;for(var a=1,n=0;a<r;a++){for(var s=(t[a]+a*a-(t[i[n]]+i[n]*i[n]))/(2*a-2*i[n]);s<=o[n];)n--,s=(t[a]+a*a-(t[i[n]]+i[n]*i[n]))/(2*a-2*i[n]);i[++n]=a,o[n]=s,o[n+1]=+f;}for(a=0,n=0;a<r;a++){for(;o[n+1]<a;)n++;e[a]=(a-i[n])*(a-i[n])+t[i[n]];}}m.prototype.draw=function(t){this.ctx.clearRect(0,0,this.size,this.size),this.ctx.fillText(t,this.buffer,this.middle);for(var e=this.ctx.getImageData(0,0,this.size,this.size),i=new Uint8ClampedArray(this.size*this.size),o=0;o<this.size*this.size;o++){var r=e.data[4*o+3]/255;this.gridOuter[o]=1===r?0:0===r?f:Math.pow(Math.max(0,.5-r),2),this.gridInner[o]=1===r?f:0===r?0:Math.pow(Math.max(0,r-.5),2);}for(g(this.gridOuter,this.size,this.size,this.f,this.d,this.v,this.z),g(this.gridInner,this.size,this.size,this.f,this.d,this.v,this.z),o=0;o<this.size*this.size;o++){var a=this.gridOuter[o]-this.gridInner[o];i[o]=Math.max(0,Math.min(255,Math.round(255-255*(a/this.radius+this.cutoff))));}return i},d.default=_;var y=function(t,e){this.requestManager=t,this.localIdeographFontFamily=e,this.entries={};};y.prototype.setURL=function(t){this.url=t;},y.prototype.getGlyphs=function(e,i){var o=this,r=[];for(var a in e)for(var n=0,s=e[a];n<s.length;n+=1){var l=s[n];r.push({stack:a,id:l});}t.asyncAll(r,(function(t,e){var i=t.stack,r=t.id,a=o.entries[i];a||(a=o.entries[i]={glyphs:{},requests:{}});var n=a.glyphs[r];if(void 0===n){if(n=o._tinySDF(a,i,r))return a.glyphs[r]=n,void e(null,{stack:i,id:r,glyph:n});var s=Math.floor(r/256);if(256*s>65535)e(new Error("glyphs > 65535 not supported"));else{var l=a.requests[s];l||(l=a.requests[s]=[],y.loadGlyphRange(i,s,o.url,o.requestManager,(function(t,e){if(e)for(var i in e)o._doesCharSupportLocalGlyph(+i)||(a.glyphs[+i]=e[+i]);for(var r=0,n=l;r<n.length;r+=1){(0,n[r])(t,e);}delete a.requests[s];}))),l.push((function(t,o){t?e(t):o&&e(null,{stack:i,id:r,glyph:o[r]||null});}));}}else e(null,{stack:i,id:r,glyph:n});}),(function(t,e){if(t)i(t);else if(e){for(var o={},r=0,a=e;r<a.length;r+=1){var n=a[r],s=n.stack,l=n.id,c=n.glyph;(o[s]||(o[s]={}))[l]=c&&{id:c.id,bitmap:c.bitmap.clone(),metrics:c.metrics};}i(null,o);}}));},y.prototype._doesCharSupportLocalGlyph=function(e){return!!this.localIdeographFontFamily&&(t.isChar["CJK Unified Ideographs"](e)||t.isChar["Hangul Syllables"](e)||t.isChar.Hiragana(e)||t.isChar.Katakana(e))},y.prototype._tinySDF=function(e,i,o){var r=this.localIdeographFontFamily;if(r&&this._doesCharSupportLocalGlyph(o)){var a=e.tinySDF;if(!a){var n="400";/bold/i.test(i)?n="900":/medium/i.test(i)?n="500":/light/i.test(i)&&(n="200"),a=e.tinySDF=new y.TinySDF(24,3,8,.25,r,n);}return{id:o,bitmap:new t.AlphaImage({width:30,height:30},a.draw(String.fromCharCode(o))),metrics:{width:24,height:24,left:0,top:-8,advance:24}}}},y.loadGlyphRange=function(e,i,o,r,a){var n=256*i,s=n+255,l=r.transformRequest(r.normalizeGlyphsURL(o).replace("{fontstack}",e).replace("{range}",n+"-"+s),t.ResourceType.Glyphs);t.getArrayBuffer(l,(function(e,i){if(e)a(e);else if(i){for(var o={},r=0,n=t.parseGlyphPBF(i);r<n.length;r+=1){var s=n[r];o[s.id]=s;}a(null,o);}}));},y.TinySDF=d;var x=function(){this.specification=t.styleSpec.light.position;};x.prototype.possiblyEvaluate=function(e,i){return t.sphericalToCartesian(e.expression.evaluate(i))},x.prototype.interpolate=function(e,i,o){return{x:t.number(e.x,i.x,o),y:t.number(e.y,i.y,o),z:t.number(e.z,i.z,o)}};var b=new t.Properties({anchor:new t.DataConstantProperty(t.styleSpec.light.anchor),position:new x,color:new t.DataConstantProperty(t.styleSpec.light.color),intensity:new t.DataConstantProperty(t.styleSpec.light.intensity)}),w=function(e){function i(i){e.call(this),this._transitionable=new t.Transitionable(b),this.setLight(i),this._transitioning=this._transitionable.untransitioned();}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.getLight=function(){return this._transitionable.serialize()},i.prototype.setLight=function(e,i){if(void 0===i&&(i={}),!this._validate(t.validateLight,e,i))for(var o in e){var r=e[o];t.endsWith(o,"-transition")?this._transitionable.setTransition(o.slice(0,-"-transition".length),r):this._transitionable.setValue(o,r);}},i.prototype.updateTransitions=function(t){this._transitioning=this._transitionable.transitioned(t,this._transitioning);},i.prototype.hasTransition=function(){return this._transitioning.hasTransition()},i.prototype.recalculate=function(t){this.properties=this._transitioning.possiblyEvaluate(t);},i.prototype._validate=function(e,i,o){return(!o||!1!==o.validate)&&t.emitValidationErrors(this,e.call(t.validateStyle,t.extend({value:i,style:{glyphs:!0,sprite:!0},styleSpec:t.styleSpec})))},i}(t.Evented),E=function(t,e){this.width=t,this.height=e,this.nextRow=0,this.bytes=4,this.data=new Uint8Array(this.width*this.height*this.bytes),this.positions={};};E.prototype.getDash=function(t,e){var i=t.join(",")+String(e);return this.positions[i]||(this.positions[i]=this.addDash(t,e)),this.positions[i]},E.prototype.addDash=function(e,i){var o=i?7:0,r=2*o+1;if(this.nextRow+r>this.height)return t.warnOnce("LineAtlas out of space"),null;for(var a=0,n=0;n<e.length;n++)a+=e[n];for(var s=this.width/a,l=s/2,c=e.length%2==1,u=-o;u<=o;u++)for(var h=this.nextRow+o+u,p=this.width*h,d=c?-e[e.length-1]:0,_=e[0],f=1,m=0;m<this.width;m++){for(;_<m/s;)d=_,_+=e[f],c&&f===e.length-1&&(_+=e[0]),f++;var g=Math.abs(m-d*s),v=Math.abs(m-_*s),y=Math.min(g,v),x=f%2==1,b=void 0;if(i){var w=o?u/o*(l+1):0;if(x){var E=l-Math.abs(w);b=Math.sqrt(y*y+E*E);}else b=l-Math.sqrt(y*y+w*w);}else b=(x?1:-1)*y;this.data[3+4*(p+m)]=Math.max(0,Math.min(255,b+128));}var T={y:(this.nextRow+o+.5)/this.height,height:2*o/this.height,width:a};return this.nextRow+=r,this.dirty=!0,T},E.prototype.bind=function(t){var e=t.gl;this.texture?(e.bindTexture(e.TEXTURE_2D,this.texture),this.dirty&&(this.dirty=!1,e.texSubImage2D(e.TEXTURE_2D,0,0,0,this.width,this.height,e.RGBA,e.UNSIGNED_BYTE,this.data))):(this.texture=e.createTexture(),e.bindTexture(e.TEXTURE_2D,this.texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.REPEAT),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,this.width,this.height,0,e.RGBA,e.UNSIGNED_BYTE,this.data));};var T=function e(i,o){this.workerPool=i,this.actors=[],this.currentActor=0,this.id=t.uniqueId();for(var r=this.workerPool.acquire(this.id),a=0;a<r.length;a++){var n=r[a],s=new e.Actor(n,o,this.id);s.name="Worker "+a,this.actors.push(s);}};function I(e,i,o){var r=function(r,a){if(r)return o(r);if(a){var n=t.pick(t.extend(a,e),["tiles","minzoom","maxzoom","attribution","mapbox_logo","bounds","scheme","tileSize","encoding"]);a.vector_layers&&(n.vectorLayers=a.vector_layers,n.vectorLayerIds=n.vectorLayers.map((function(t){return t.id}))),e.url&&(n.tiles=i.canonicalizeTileset(n,e.url)),o(null,n);}};return e.url?t.getJSON(i.transformRequest(i.normalizeSourceURL(e.url),t.ResourceType.Source),r):t.browser.frame((function(){return r(null,e)}))}T.prototype.broadcast=function(e,i,o){o=o||function(){},t.asyncAll(this.actors,(function(t,o){t.send(e,i,o);}),o);},T.prototype.getActor=function(){return this.currentActor=(this.currentActor+1)%this.actors.length,this.actors[this.currentActor]},T.prototype.remove=function(){this.actors.forEach((function(t){t.remove();})),this.actors=[],this.workerPool.release(this.id);},T.Actor=t.Actor;var C=function(e,i,o){this.bounds=t.LngLatBounds.convert(this.validateBounds(e)),this.minzoom=i||0,this.maxzoom=o||24;};C.prototype.validateBounds=function(t){return Array.isArray(t)&&4===t.length?[Math.max(-180,t[0]),Math.max(-90,t[1]),Math.min(180,t[2]),Math.min(90,t[3])]:[-180,-90,180,90]},C.prototype.contains=function(e){var i=Math.pow(2,e.z),o=Math.floor(t.mercatorXfromLng(this.bounds.getWest())*i),r=Math.floor(t.mercatorYfromLat(this.bounds.getNorth())*i),a=Math.ceil(t.mercatorXfromLng(this.bounds.getEast())*i),n=Math.ceil(t.mercatorYfromLat(this.bounds.getSouth())*i);return e.x>=o&&e.x<a&&e.y>=r&&e.y<n};var S=function(e){function i(i,o,r,a){if(e.call(this),this.id=i,this.dispatcher=r,this.type="vector",this.minzoom=0,this.maxzoom=22,this.scheme="xyz",this.tileSize=512,this.reparseOverscaled=!0,this.isTileClipped=!0,this._loaded=!1,t.extend(this,t.pick(o,["url","scheme","tileSize"])),this._options=t.extend({type:"vector"},o),this._collectResourceTiming=o.collectResourceTiming,512!==this.tileSize)throw new Error("vector tile sources must have a tileSize of 512");this.setEventedParent(a);}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=I(this._options,this.map._requestManager,(function(i,o){e._tileJSONRequest=null,e._loaded=!0,i?e.fire(new t.ErrorEvent(i)):o&&(t.extend(e,o),o.bounds&&(e.tileBounds=new C(o.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(o.tiles,e.map._requestManager._customAccessToken),t.postMapLoadEvent(o.tiles,e.map._getMapId(),e.map._requestManager._skuToken,e.map._requestManager._customAccessToken),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})));}));},i.prototype.loaded=function(){return this._loaded},i.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},i.prototype.onAdd=function(t){this.map=t,this.load();},i.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null);},i.prototype.serialize=function(){return t.extend({},this._options)},i.prototype.loadTile=function(e,i){var o=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,null),r={request:this.map._requestManager.transformRequest(o,t.ResourceType.Tile),uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,tileSize:this.tileSize*e.tileID.overscaleFactor(),type:this.type,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes};function a(o,r){return delete e.request,e.aborted?i(null):o&&404!==o.status?i(o):(r&&r.resourceTiming&&(e.resourceTiming=r.resourceTiming),this.map._refreshExpiredTiles&&r&&e.setExpiryData(r),e.loadVectorData(r,this.map.painter),t.cacheEntryPossiblyAdded(this.dispatcher),i(null),void(e.reloadCallback&&(this.loadTile(e,e.reloadCallback),e.reloadCallback=null)))}r.request.collectResourceTiming=this._collectResourceTiming,e.actor&&"expired"!==e.state?"loading"===e.state?e.reloadCallback=i:e.request=e.actor.send("reloadTile",r,a.bind(this)):(e.actor=this.dispatcher.getActor(),e.request=e.actor.send("loadTile",r,a.bind(this)));},i.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.actor&&t.actor.send("abortTile",{uid:t.uid,type:this.type,source:this.id},void 0);},i.prototype.unloadTile=function(t){t.unloadVectorData(),t.clearMask(),t.actor&&t.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id},void 0);},i.prototype.hasTransition=function(){return!1},i}(t.Evented),P=function(e){function i(i,o,r,a){e.call(this),this.id=i,this.dispatcher=r,this.setEventedParent(a),this.type="raster",this.minzoom=0,this.maxzoom=22,this.roundZoom=!0,this.scheme="xyz",this.tileSize=512,this._loaded=!1,this._options=t.extend({type:"raster"},o),t.extend(this,t.pick(o,["url","scheme","tileSize"]));}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.load=function(){var e=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this._tileJSONRequest=I(this._options,this.map._requestManager,(function(i,o){e._tileJSONRequest=null,e._loaded=!0,i?e.fire(new t.ErrorEvent(i)):o&&(t.extend(e,o),o.bounds&&(e.tileBounds=new C(o.bounds,e.minzoom,e.maxzoom)),t.postTurnstileEvent(o.tiles),t.postMapLoadEvent(o.tiles,e.map._getMapId(),e.map._requestManager._skuToken),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})),e.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})));}));},i.prototype.loaded=function(){return this._loaded},i.prototype.onAdd=function(t){this.map=t,this.load();},i.prototype.onRemove=function(){this._tileJSONRequest&&(this._tileJSONRequest.cancel(),this._tileJSONRequest=null);},i.prototype.serialize=function(){return t.extend({},this._options)},i.prototype.hasTile=function(t){return!this.tileBounds||this.tileBounds.contains(t.canonical)},i.prototype.loadTile=function(e,i){var o=this,r=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,this.tileSize);e.request=t.getImage(this.map._requestManager.transformRequest(r,t.ResourceType.Tile),(function(r,a){if(delete e.request,e.aborted)e.state="unloaded",i(null);else if(r)e.state="errored",i(r);else if(a){o.map._refreshExpiredTiles&&e.setExpiryData(a),delete a.cacheControl,delete a.expires;var n=o.map.painter.context,s=n.gl;e.texture=o.map.painter.getTileTexture(a.width),e.texture?e.texture.update(a,{useMipmap:!0}):(e.texture=new t.Texture(n,a,s.RGBA,{useMipmap:!0}),e.texture.bind(s.LINEAR,s.CLAMP_TO_EDGE,s.LINEAR_MIPMAP_NEAREST),n.extTextureFilterAnisotropic&&s.texParameterf(s.TEXTURE_2D,n.extTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT,n.extTextureFilterAnisotropicMax)),e.state="loaded",t.cacheEntryPossiblyAdded(o.dispatcher),i(null);}}));},i.prototype.abortTile=function(t,e){t.request&&(t.request.cancel(),delete t.request),e();},i.prototype.unloadTile=function(t,e){t.texture&&this.map.painter.saveTileTexture(t.texture),t.clearMask(),e();},i.prototype.hasTransition=function(){return!1},i}(t.Evented),z=function(e){function i(i,o,r,a){e.call(this,i,o,r,a),this.type="raster-dem",this.maxzoom=22,this._options=t.extend({type:"raster-dem"},o),this.encoding=o.encoding||"mapbox";}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.serialize=function(){return{type:"raster-dem",url:this.url,tileSize:this.tileSize,tiles:this.tiles,bounds:this.bounds,encoding:this.encoding}},i.prototype.loadTile=function(e,i){var o=this.map._requestManager.normalizeTileURL(e.tileID.canonical.url(this.tiles,this.scheme),this.url,this.tileSize);function r(t,o){t&&(e.state="errored",i(t)),o&&(e.dem=o,e.needsHillshadePrepare=!0,e.state="loaded",i(null));}e.request=t.getImage(this.map._requestManager.transformRequest(o,t.ResourceType.Tile),function(o,a){if(delete e.request,e.aborted)e.state="unloaded",i(null);else if(o)e.state="errored",i(o);else if(a){this.map._refreshExpiredTiles&&e.setExpiryData(a),delete a.cacheControl,delete a.expires;var n=t.browser.getImageData(a,1),s={uid:e.uid,coord:e.tileID,source:this.id,rawImageData:n,encoding:this.encoding};e.actor&&"expired"!==e.state||(e.actor=this.dispatcher.getActor(),e.actor.send("loadDEMTile",s,r.bind(this)));}}.bind(this)),e.neighboringTiles=this._getNeighboringTiles(e.tileID);},i.prototype._getNeighboringTiles=function(e){var i=e.canonical,o=Math.pow(2,i.z),r=(i.x-1+o)%o,a=0===i.x?e.wrap-1:e.wrap,n=(i.x+1+o)%o,s=i.x+1===o?e.wrap+1:e.wrap,l={};return l[new t.OverscaledTileID(e.overscaledZ,a,i.z,r,i.y).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,i.z,n,i.y).key]={backfilled:!1},i.y>0&&(l[new t.OverscaledTileID(e.overscaledZ,a,i.z,r,i.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,i.z,i.x,i.y-1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,i.z,n,i.y-1).key]={backfilled:!1}),i.y+1<o&&(l[new t.OverscaledTileID(e.overscaledZ,a,i.z,r,i.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,e.wrap,i.z,i.x,i.y+1).key]={backfilled:!1},l[new t.OverscaledTileID(e.overscaledZ,s,i.z,n,i.y+1).key]={backfilled:!1}),l},i.prototype.unloadTile=function(t){t.demTexture&&this.map.painter.saveTileTexture(t.demTexture),t.fbo&&(t.fbo.destroy(),delete t.fbo),t.dem&&delete t.dem,delete t.neighboringTiles,t.clearMask(),t.state="unloaded",t.actor&&t.actor.send("removeDEMTile",{uid:t.uid,source:this.id});},i}(P),L=function(e){function i(i,o,r,a){e.call(this),this.id=i,this.type="geojson",this.minzoom=0,this.maxzoom=18,this.tileSize=512,this.isTileClipped=!0,this.reparseOverscaled=!0,this._removed=!1,this._loaded=!1,this.actor=r.getActor(),this.setEventedParent(a),this._data=o.data,this._options=t.extend({},o),this._collectResourceTiming=o.collectResourceTiming,this._resourceTiming=[],void 0!==o.maxzoom&&(this.maxzoom=o.maxzoom),o.type&&(this.type=o.type),o.attribution&&(this.attribution=o.attribution);var n=t.EXTENT/this.tileSize;this.workerOptions=t.extend({source:this.id,cluster:o.cluster||!1,geojsonVtOptions:{buffer:(void 0!==o.buffer?o.buffer:128)*n,tolerance:(void 0!==o.tolerance?o.tolerance:.375)*n,extent:t.EXTENT,maxZoom:this.maxzoom,lineMetrics:o.lineMetrics||!1,generateId:o.generateId||!1},superclusterOptions:{maxZoom:void 0!==o.clusterMaxZoom?Math.min(o.clusterMaxZoom,this.maxzoom-1):this.maxzoom-1,extent:t.EXTENT,radius:(o.clusterRadius||50)*n,log:!1},clusterProperties:o.clusterProperties},o.workerOptions);}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.load=function(){var e=this;this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(i){if(i)e.fire(new t.ErrorEvent(i));else{var o={dataType:"source",sourceDataType:"metadata"};e._collectResourceTiming&&e._resourceTiming&&e._resourceTiming.length>0&&(o.resourceTiming=e._resourceTiming,e._resourceTiming=[]),e.fire(new t.Event("data",o));}}));},i.prototype.onAdd=function(t){this.map=t,this.load();},i.prototype.setData=function(e){var i=this;return this._data=e,this.fire(new t.Event("dataloading",{dataType:"source"})),this._updateWorkerData((function(e){if(e)i.fire(new t.ErrorEvent(e));else{var o={dataType:"source",sourceDataType:"content"};i._collectResourceTiming&&i._resourceTiming&&i._resourceTiming.length>0&&(o.resourceTiming=i._resourceTiming,i._resourceTiming=[]),i.fire(new t.Event("data",o));}})),this},i.prototype.getClusterExpansionZoom=function(t,e){return this.actor.send("geojson.getClusterExpansionZoom",{clusterId:t,source:this.id},e),this},i.prototype.getClusterChildren=function(t,e){return this.actor.send("geojson.getClusterChildren",{clusterId:t,source:this.id},e),this},i.prototype.getClusterLeaves=function(t,e,i,o){return this.actor.send("geojson.getClusterLeaves",{source:this.id,clusterId:t,limit:e,offset:i},o),this},i.prototype._updateWorkerData=function(e){var i=this;this._loaded=!1;var o=t.extend({},this.workerOptions),r=this._data;"string"==typeof r?(o.request=this.map._requestManager.transformRequest(t.browser.resolveURL(r),t.ResourceType.Source),o.request.collectResourceTiming=this._collectResourceTiming):o.data=JSON.stringify(r),this.actor.send(this.type+".loadData",o,(function(t,r){i._removed||r&&r.abandoned||(i._loaded=!0,r&&r.resourceTiming&&r.resourceTiming[i.id]&&(i._resourceTiming=r.resourceTiming[i.id].slice(0)),i.actor.send(i.type+".coalesce",{source:o.source},null),e(t));}));},i.prototype.loaded=function(){return this._loaded},i.prototype.loadTile=function(e,i){var o=this,r=e.actor?"reloadTile":"loadTile";e.actor=this.actor;var a={type:this.type,uid:e.uid,tileID:e.tileID,zoom:e.tileID.overscaledZ,maxZoom:this.maxzoom,tileSize:this.tileSize,source:this.id,pixelRatio:t.browser.devicePixelRatio,showCollisionBoxes:this.map.showCollisionBoxes};e.request=this.actor.send(r,a,(function(t,a){return delete e.request,e.unloadVectorData(),e.aborted?i(null):t?i(t):(e.loadVectorData(a,o.map.painter,"reloadTile"===r),i(null))}));},i.prototype.abortTile=function(t){t.request&&(t.request.cancel(),delete t.request),t.aborted=!0;},i.prototype.unloadTile=function(t){t.unloadVectorData(),t.clearMask(),this.actor.send("removeTile",{uid:t.uid,type:this.type,source:this.id});},i.prototype.onRemove=function(){this._removed=!0,this.actor.send("removeSource",{type:this.type,source:this.id});},i.prototype.serialize=function(){return t.extend({},this._options,{type:this.type,data:this._data})},i.prototype.hasTransition=function(){return!1},i}(t.Evented),M=function(e){function i(t,i,o,r){e.call(this),this.id=t,this.dispatcher=o,this.coordinates=i.coordinates,this.type="image",this.minzoom=0,this.maxzoom=22,this.tileSize=512,this.tiles={},this._loaded=!1,this.setEventedParent(r),this.options=i;}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.load=function(e,i){var o=this;this._loaded=!1,this.fire(new t.Event("dataloading",{dataType:"source"})),this.url=this.options.url,t.getImage(this.map._requestManager.transformRequest(this.url,t.ResourceType.Image),(function(r,a){o._loaded=!0,r?o.fire(new t.ErrorEvent(r)):a&&(o.image=a,e&&(o.coordinates=e),i&&i(),o._finishLoading());}));},i.prototype.loaded=function(){return this._loaded},i.prototype.updateImage=function(t){var e=this;return this.image&&t.url?(this.options.url=t.url,this.load(t.coordinates,(function(){e.texture=null;})),this):this},i.prototype._finishLoading=function(){this.map&&(this.setCoordinates(this.coordinates),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"metadata"})));},i.prototype.onAdd=function(t){this.map=t,this.load();},i.prototype.setCoordinates=function(e){var i=this;this.coordinates=e;var o=e.map(t.MercatorCoordinate.fromLngLat);this.tileID=function(e){for(var i=1/0,o=1/0,r=-1/0,a=-1/0,n=0,s=e;n<s.length;n+=1){var l=s[n];i=Math.min(i,l.x),o=Math.min(o,l.y),r=Math.max(r,l.x),a=Math.max(a,l.y);}var c=r-i,u=a-o,h=Math.max(c,u),p=Math.max(0,Math.floor(-Math.log(h)/Math.LN2)),d=Math.pow(2,p);return new t.CanonicalTileID(p,Math.floor((i+r)/2*d),Math.floor((o+a)/2*d))}(o),this.minzoom=this.maxzoom=this.tileID.z;var r=o.map((function(t){return i.tileID.getTilePoint(t)._round()}));return this._boundsArray=new t.StructArrayLayout4i8,this._boundsArray.emplaceBack(r[0].x,r[0].y,0,0),this._boundsArray.emplaceBack(r[1].x,r[1].y,t.EXTENT,0),this._boundsArray.emplaceBack(r[3].x,r[3].y,0,t.EXTENT),this._boundsArray.emplaceBack(r[2].x,r[2].y,t.EXTENT,t.EXTENT),this.boundsBuffer&&(this.boundsBuffer.destroy(),delete this.boundsBuffer),this.fire(new t.Event("data",{dataType:"source",sourceDataType:"content"})),this},i.prototype.prepare=function(){if(0!==Object.keys(this.tiles).length&&this.image){var e=this.map.painter.context,i=e.gl;for(var o in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture||(this.texture=new t.Texture(e,this.image,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE)),this.tiles){var r=this.tiles[o];"loaded"!==r.state&&(r.state="loaded",r.texture=this.texture);}}},i.prototype.loadTile=function(t,e){this.tileID&&this.tileID.equals(t.tileID.canonical)?(this.tiles[String(t.tileID.wrap)]=t,t.buckets={},e(null)):(t.state="errored",e(null));},i.prototype.serialize=function(){return{type:"image",url:this.options.url,coordinates:this.coordinates}},i.prototype.hasTransition=function(){return!1},i}(t.Evented);var D=function(e){function i(t,i,o,r){e.call(this,t,i,o,r),this.roundZoom=!0,this.type="video",this.options=i;}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.load=function(){var e=this;this._loaded=!1;var i=this.options;this.urls=[];for(var o=0,r=i.urls;o<r.length;o+=1){var a=r[o];this.urls.push(this.map._requestManager.transformRequest(a,t.ResourceType.Source).url);}t.getVideo(this.urls,(function(i,o){e._loaded=!0,i?e.fire(new t.ErrorEvent(i)):o&&(e.video=o,e.video.loop=!0,e.video.addEventListener("playing",(function(){e.map.triggerRepaint();})),e.map&&e.video.play(),e._finishLoading());}));},i.prototype.pause=function(){this.video&&this.video.pause();},i.prototype.play=function(){this.video&&this.video.play();},i.prototype.seek=function(e){if(this.video){var i=this.video.seekable;e<i.start(0)||e>i.end(0)?this.fire(new t.ErrorEvent(new t.ValidationError("Playback for this video can be set only between the "+i.start(0)+" and "+i.end(0)+"-second mark."))):this.video.currentTime=e;}},i.prototype.getVideo=function(){return this.video},i.prototype.onAdd=function(t){this.map||(this.map=t,this.load(),this.video&&(this.video.play(),this.setCoordinates(this.coordinates)));},i.prototype.prepare=function(){if(!(0===Object.keys(this.tiles).length||this.video.readyState<2)){var e=this.map.painter.context,i=e.gl;for(var o in this.boundsBuffer||(this.boundsBuffer=e.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?this.video.paused||(this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE),i.texSubImage2D(i.TEXTURE_2D,0,0,0,i.RGBA,i.UNSIGNED_BYTE,this.video)):(this.texture=new t.Texture(e,this.video,i.RGBA),this.texture.bind(i.LINEAR,i.CLAMP_TO_EDGE)),this.tiles){var r=this.tiles[o];"loaded"!==r.state&&(r.state="loaded",r.texture=this.texture);}}},i.prototype.serialize=function(){return{type:"video",urls:this.urls,coordinates:this.coordinates}},i.prototype.hasTransition=function(){return this.video&&!this.video.paused},i}(M),R=function(e){function i(i,o,r,a){e.call(this,i,o,r,a),o.coordinates?Array.isArray(o.coordinates)&&4===o.coordinates.length&&!o.coordinates.some((function(t){return!Array.isArray(t)||2!==t.length||t.some((function(t){return "number"!=typeof t}))}))||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+i,null,'"coordinates" property must be an array of 4 longitude/latitude array pairs'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+i,null,'missing required property "coordinates"'))),o.animate&&"boolean"!=typeof o.animate&&this.fire(new t.ErrorEvent(new t.ValidationError("sources."+i,null,'optional "animate" property must be a boolean value'))),o.canvas?"string"==typeof o.canvas||o.canvas instanceof t.window.HTMLCanvasElement||this.fire(new t.ErrorEvent(new t.ValidationError("sources."+i,null,'"canvas" must be either a string representing the ID of the canvas element from which to read, or an HTMLCanvasElement instance'))):this.fire(new t.ErrorEvent(new t.ValidationError("sources."+i,null,'missing required property "canvas"'))),this.options=o,this.animate=void 0===o.animate||o.animate;}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.load=function(){this._loaded=!0,this.canvas||(this.canvas=this.options.canvas instanceof t.window.HTMLCanvasElement?this.options.canvas:t.window.document.getElementById(this.options.canvas)),this.width=this.canvas.width,this.height=this.canvas.height,this._hasInvalidDimensions()?this.fire(new t.ErrorEvent(new Error("Canvas dimensions cannot be less than or equal to zero."))):(this.play=function(){this._playing=!0,this.map.triggerRepaint();},this.pause=function(){this._playing&&(this.prepare(),this._playing=!1);},this._finishLoading());},i.prototype.getCanvas=function(){return this.canvas},i.prototype.onAdd=function(t){this.map=t,this.load(),this.canvas&&this.animate&&this.play();},i.prototype.onRemove=function(){this.pause();},i.prototype.prepare=function(){var e=!1;if(this.canvas.width!==this.width&&(this.width=this.canvas.width,e=!0),this.canvas.height!==this.height&&(this.height=this.canvas.height,e=!0),!this._hasInvalidDimensions()&&0!==Object.keys(this.tiles).length){var i=this.map.painter.context,o=i.gl;for(var r in this.boundsBuffer||(this.boundsBuffer=i.createVertexBuffer(this._boundsArray,t.rasterBoundsAttributes.members)),this.boundsSegments||(this.boundsSegments=t.SegmentVector.simpleSegment(0,0,4,2)),this.texture?(e||this._playing)&&this.texture.update(this.canvas,{premultiply:!0}):this.texture=new t.Texture(i,this.canvas,o.RGBA,{premultiply:!0}),this.tiles){var a=this.tiles[r];"loaded"!==a.state&&(a.state="loaded",a.texture=this.texture);}}},i.prototype.serialize=function(){return{type:"canvas",coordinates:this.coordinates}},i.prototype.hasTransition=function(){return this._playing},i.prototype._hasInvalidDimensions=function(){for(var t=0,e=[this.canvas.width,this.canvas.height];t<e.length;t+=1){var i=e[t];if(isNaN(i)||i<=0)return!0}return!1},i}(M),A={vector:S,raster:P,"raster-dem":z,geojson:L,video:D,image:M,canvas:R},k=function(e,i,o,r){var a=new A[i.type](e,i,o,r);if(a.id!==e)throw new Error("Expected Source id to be "+e+" instead of "+a.id);return t.bindAll(["load","abort","unload","serialize","prepare"],a),a};function B(e,i){var o=t.identity([]);return t.translate(o,o,[1,1,0]),t.scale(o,o,[.5*e.width,.5*e.height,1]),t.multiply(o,o,e.calculatePosMatrix(i.toUnwrapped()))}function O(t,e,i,o,r){var a=function(t,e,i){if(t)for(var o=0,r=t;o<r.length;o+=1){var a=e[r[o]];if(a&&a.source===i&&"fill-extrusion"===a.type)return!0}else for(var n in e){var s=e[n];if(s.source===i&&"fill-extrusion"===s.type)return!0}return!1}(o&&o.layers,e,t.id),n=r.maxPitchScaleFactor(),s=t.tilesIn(i,n,a);s.sort(F);for(var l=[],c=0,u=s;c<u.length;c+=1){var h=u[c];l.push({wrappedTileID:h.tileID.wrapped().key,queryResults:h.tile.queryRenderedFeatures(e,t._state,h.queryGeometry,h.cameraQueryGeometry,h.scale,o,r,n,B(t.transform,h.tileID))});}var p=function(t){for(var e={},i={},o=0,r=t;o<r.length;o+=1){var a=r[o],n=a.queryResults,s=a.wrappedTileID,l=i[s]=i[s]||{};for(var c in n)for(var u=n[c],h=l[c]=l[c]||{},p=e[c]=e[c]||[],d=0,_=u;d<_.length;d+=1){var f=_[d];h[f.featureIndex]||(h[f.featureIndex]=!0,p.push(f));}}return e}(l);for(var d in p)p[d].forEach((function(e){var i=e.feature,o=t.getFeatureState(i.layer["source-layer"],i.id);i.source=i.layer.source,i.layer["source-layer"]&&(i.sourceLayer=i.layer["source-layer"]),i.state=o;}));return p}function F(t,e){var i=t.tileID,o=e.tileID;return i.overscaledZ-o.overscaledZ||i.canonical.y-o.canonical.y||i.wrap-o.wrap||i.canonical.x-o.canonical.x}var U=function(t,e){this.max=t,this.onRemove=e,this.reset();};U.prototype.reset=function(){for(var t in this.data)for(var e=0,i=this.data[t];e<i.length;e+=1){var o=i[e];o.timeout&&clearTimeout(o.timeout),this.onRemove(o.value);}return this.data={},this.order=[],this},U.prototype.add=function(t,e,i){var o=this,r=t.wrapped().key;void 0===this.data[r]&&(this.data[r]=[]);var a={value:e,timeout:void 0};if(void 0!==i&&(a.timeout=setTimeout((function(){o.remove(t,a);}),i)),this.data[r].push(a),this.order.push(r),this.order.length>this.max){var n=this._getAndRemoveByKey(this.order[0]);n&&this.onRemove(n);}return this},U.prototype.has=function(t){return t.wrapped().key in this.data},U.prototype.getAndRemove=function(t){return this.has(t)?this._getAndRemoveByKey(t.wrapped().key):null},U.prototype._getAndRemoveByKey=function(t){var e=this.data[t].shift();return e.timeout&&clearTimeout(e.timeout),0===this.data[t].length&&delete this.data[t],this.order.splice(this.order.indexOf(t),1),e.value},U.prototype.get=function(t){return this.has(t)?this.data[t.wrapped().key][0].value:null},U.prototype.remove=function(t,e){if(!this.has(t))return this;var i=t.wrapped().key,o=void 0===e?0:this.data[i].indexOf(e),r=this.data[i][o];return this.data[i].splice(o,1),r.timeout&&clearTimeout(r.timeout),0===this.data[i].length&&delete this.data[i],this.onRemove(r.value),this.order.splice(this.order.indexOf(i),1),this},U.prototype.setMaxSize=function(t){for(this.max=t;this.order.length>this.max;){var e=this._getAndRemoveByKey(this.order[0]);e&&this.onRemove(e);}return this};var N=function(t,e,i){this.context=t;var o=t.gl;this.buffer=o.createBuffer(),this.dynamicDraw=Boolean(i),this.context.unbindVAO(),t.bindElementBuffer.set(this.buffer),o.bufferData(o.ELEMENT_ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?o.DYNAMIC_DRAW:o.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer;};N.prototype.bind=function(){this.context.bindElementBuffer.set(this.buffer);},N.prototype.updateData=function(t){var e=this.context.gl;this.context.unbindVAO(),this.bind(),e.bufferSubData(e.ELEMENT_ARRAY_BUFFER,0,t.arrayBuffer);},N.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer);};var Z={Int8:"BYTE",Uint8:"UNSIGNED_BYTE",Int16:"SHORT",Uint16:"UNSIGNED_SHORT",Int32:"INT",Uint32:"UNSIGNED_INT",Float32:"FLOAT"},q=function(t,e,i,o){this.length=e.length,this.attributes=i,this.itemSize=e.bytesPerElement,this.dynamicDraw=o,this.context=t;var r=t.gl;this.buffer=r.createBuffer(),t.bindVertexBuffer.set(this.buffer),r.bufferData(r.ARRAY_BUFFER,e.arrayBuffer,this.dynamicDraw?r.DYNAMIC_DRAW:r.STATIC_DRAW),this.dynamicDraw||delete e.arrayBuffer;};q.prototype.bind=function(){this.context.bindVertexBuffer.set(this.buffer);},q.prototype.updateData=function(t){var e=this.context.gl;this.bind(),e.bufferSubData(e.ARRAY_BUFFER,0,t.arrayBuffer);},q.prototype.enableAttributes=function(t,e){for(var i=0;i<this.attributes.length;i++){var o=this.attributes[i],r=e.attributes[o.name];void 0!==r&&t.enableVertexAttribArray(r);}},q.prototype.setVertexAttribPointers=function(t,e,i){for(var o=0;o<this.attributes.length;o++){var r=this.attributes[o],a=e.attributes[r.name];void 0!==a&&t.vertexAttribPointer(a,r.components,t[Z[r.type]],!1,this.itemSize,r.offset+this.itemSize*(i||0));}},q.prototype.destroy=function(){var t=this.context.gl;this.buffer&&(t.deleteBuffer(this.buffer),delete this.buffer);};var V=function(t){this.gl=t.gl,this.default=this.getDefault(),this.current=this.default,this.dirty=!1;};V.prototype.get=function(){return this.current},V.prototype.set=function(t){},V.prototype.getDefault=function(){return this.default},V.prototype.setDefault=function(){this.set(this.default);};var j=function(e){function i(){e.apply(this,arguments);}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.getDefault=function(){return t.Color.transparent},i.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.clearColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1);},i}(V),G=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 1},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearDepth(t),this.current=t,this.dirty=!1);},e}(V),W=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.clearStencil(t),this.current=t,this.dirty=!1);},e}(V),X=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[!0,!0,!0,!0]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.colorMask(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1);},e}(V),H=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthMask(t),this.current=t,this.dirty=!1);},e}(V),K=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 255},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.stencilMask(t),this.current=t,this.dirty=!1);},e}(V),J=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return{func:this.gl.ALWAYS,ref:0,mask:255}},e.prototype.set=function(t){var e=this.current;(t.func!==e.func||t.ref!==e.ref||t.mask!==e.mask||this.dirty)&&(this.gl.stencilFunc(t.func,t.ref,t.mask),this.current=t,this.dirty=!1);},e}(V),Y=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.KEEP,t.KEEP,t.KEEP]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||this.dirty)&&(this.gl.stencilOp(t[0],t[1],t[2]),this.current=t,this.dirty=!1);},e}(V),Q=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.STENCIL_TEST):e.disable(e.STENCIL_TEST),this.current=t,this.dirty=!1;}},e}(V),$=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return[0,1]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.depthRange(t[0],t[1]),this.current=t,this.dirty=!1);},e}(V),tt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.DEPTH_TEST):e.disable(e.DEPTH_TEST),this.current=t,this.dirty=!1;}},e}(V),et=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.LESS},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.depthFunc(t),this.current=t,this.dirty=!1);},e}(V),it=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.BLEND):e.disable(e.BLEND),this.current=t,this.dirty=!1;}},e}(V),ot=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[t.ONE,t.ZERO]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||this.dirty)&&(this.gl.blendFunc(t[0],t[1]),this.current=t,this.dirty=!1);},e}(V),rt=function(e){function i(){e.apply(this,arguments);}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.getDefault=function(){return t.Color.transparent},i.prototype.set=function(t){var e=this.current;(t.r!==e.r||t.g!==e.g||t.b!==e.b||t.a!==e.a||this.dirty)&&(this.gl.blendColor(t.r,t.g,t.b,t.a),this.current=t,this.dirty=!1);},i}(V),at=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.FUNC_ADD},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.blendEquation(t),this.current=t,this.dirty=!1);},e}(V),nt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;t?e.enable(e.CULL_FACE):e.disable(e.CULL_FACE),this.current=t,this.dirty=!1;}},e}(V),st=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.BACK},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.cullFace(t),this.current=t,this.dirty=!1);},e}(V),lt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.CCW},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.frontFace(t),this.current=t,this.dirty=!1);},e}(V),ct=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.useProgram(t),this.current=t,this.dirty=!1);},e}(V),ut=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return this.gl.TEXTURE0},e.prototype.set=function(t){(t!==this.current||this.dirty)&&(this.gl.activeTexture(t),this.current=t,this.dirty=!1);},e}(V),ht=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){var t=this.gl;return[0,0,t.drawingBufferWidth,t.drawingBufferHeight]},e.prototype.set=function(t){var e=this.current;(t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||this.dirty)&&(this.gl.viewport(t[0],t[1],t[2],t[3]),this.current=t,this.dirty=!1);},e}(V),pt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindFramebuffer(e.FRAMEBUFFER,t),this.current=t,this.dirty=!1;}},e}(V),dt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindRenderbuffer(e.RENDERBUFFER,t),this.current=t,this.dirty=!1;}},e}(V),_t=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindTexture(e.TEXTURE_2D,t),this.current=t,this.dirty=!1;}},e}(V),ft=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.bindBuffer(e.ARRAY_BUFFER,t),this.current=t,this.dirty=!1;}},e}(V),mt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){var e=this.gl;e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t),this.current=t,this.dirty=!1;},e}(V),gt=function(t){function e(e){t.call(this,e),this.vao=e.extVertexArrayObject;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e.prototype.set=function(t){this.vao&&(t!==this.current||this.dirty)&&(this.vao.bindVertexArrayOES(t),this.current=t,this.dirty=!1);},e}(V),vt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return 4},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_ALIGNMENT,t),this.current=t,this.dirty=!1;}},e}(V),yt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t),this.current=t,this.dirty=!1;}},e}(V),xt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return!1},e.prototype.set=function(t){if(t!==this.current||this.dirty){var e=this.gl;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,t),this.current=t,this.dirty=!1;}},e}(V),bt=function(t){function e(e,i){t.call(this,e),this.context=e,this.parent=i;}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.getDefault=function(){return null},e}(V),wt=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setDirty=function(){this.dirty=!0;},e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferTexture2D(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0),this.current=t,this.dirty=!1;}},e}(bt),Et=function(t){function e(){t.apply(this,arguments);}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.set=function(t){if(t!==this.current||this.dirty){this.context.bindFramebuffer.set(this.parent);var e=this.gl;e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,t),this.current=t,this.dirty=!1;}},e}(bt),Tt=function(t,e,i){this.context=t,this.width=e,this.height=i;var o=t.gl,r=this.framebuffer=o.createFramebuffer();this.colorAttachment=new wt(t,r),this.depthAttachment=new Et(t,r);};Tt.prototype.destroy=function(){var t=this.context.gl,e=this.colorAttachment.get();e&&t.deleteTexture(e);var i=this.depthAttachment.get();i&&t.deleteRenderbuffer(i),t.deleteFramebuffer(this.framebuffer);};var It=function(t,e,i){this.func=t,this.mask=e,this.range=i;};It.ReadOnly=!1,It.ReadWrite=!0,It.disabled=new It(519,It.ReadOnly,[0,1]);var Ct=function(t,e,i,o,r,a){this.test=t,this.ref=e,this.mask=i,this.fail=o,this.depthFail=r,this.pass=a;};Ct.disabled=new Ct({func:519,mask:0},0,0,7680,7680,7680);var St=function(t,e,i){this.blendFunction=t,this.blendColor=e,this.mask=i;};St.Replace=[1,0],St.disabled=new St(St.Replace,t.Color.transparent,[!1,!1,!1,!1]),St.unblended=new St(St.Replace,t.Color.transparent,[!0,!0,!0,!0]),St.alphaBlended=new St([1,771],t.Color.transparent,[!0,!0,!0,!0]);var Pt=function(t,e,i){this.enable=t,this.mode=e,this.frontFace=i;};Pt.disabled=new Pt(!1,1029,2305),Pt.backCCW=new Pt(!0,1029,2305);var zt=function(t){this.gl=t,this.extVertexArrayObject=this.gl.getExtension("OES_vertex_array_object"),this.clearColor=new j(this),this.clearDepth=new G(this),this.clearStencil=new W(this),this.colorMask=new X(this),this.depthMask=new H(this),this.stencilMask=new K(this),this.stencilFunc=new J(this),this.stencilOp=new Y(this),this.stencilTest=new Q(this),this.depthRange=new $(this),this.depthTest=new tt(this),this.depthFunc=new et(this),this.blend=new it(this),this.blendFunc=new ot(this),this.blendColor=new rt(this),this.blendEquation=new at(this),this.cullFace=new nt(this),this.cullFaceSide=new st(this),this.frontFace=new lt(this),this.program=new ct(this),this.activeTexture=new ut(this),this.viewport=new ht(this),this.bindFramebuffer=new pt(this),this.bindRenderbuffer=new dt(this),this.bindTexture=new _t(this),this.bindVertexBuffer=new ft(this),this.bindElementBuffer=new mt(this),this.bindVertexArrayOES=this.extVertexArrayObject&&new gt(this),this.pixelStoreUnpack=new vt(this),this.pixelStoreUnpackPremultiplyAlpha=new yt(this),this.pixelStoreUnpackFlipY=new xt(this),this.extTextureFilterAnisotropic=t.getExtension("EXT_texture_filter_anisotropic")||t.getExtension("MOZ_EXT_texture_filter_anisotropic")||t.getExtension("WEBKIT_EXT_texture_filter_anisotropic"),this.extTextureFilterAnisotropic&&(this.extTextureFilterAnisotropicMax=t.getParameter(this.extTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT)),this.extTextureHalfFloat=t.getExtension("OES_texture_half_float"),this.extTextureHalfFloat&&t.getExtension("OES_texture_half_float_linear");};zt.prototype.setDefault=function(){this.unbindVAO(),this.clearColor.setDefault(),this.clearDepth.setDefault(),this.clearStencil.setDefault(),this.colorMask.setDefault(),this.depthMask.setDefault(),this.stencilMask.setDefault(),this.stencilFunc.setDefault(),this.stencilOp.setDefault(),this.stencilTest.setDefault(),this.depthRange.setDefault(),this.depthTest.setDefault(),this.depthFunc.setDefault(),this.blend.setDefault(),this.blendFunc.setDefault(),this.blendColor.setDefault(),this.blendEquation.setDefault(),this.cullFace.setDefault(),this.cullFaceSide.setDefault(),this.frontFace.setDefault(),this.program.setDefault(),this.activeTexture.setDefault(),this.bindFramebuffer.setDefault(),this.pixelStoreUnpack.setDefault(),this.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.pixelStoreUnpackFlipY.setDefault();},zt.prototype.setDirty=function(){this.clearColor.dirty=!0,this.clearDepth.dirty=!0,this.clearStencil.dirty=!0,this.colorMask.dirty=!0,this.depthMask.dirty=!0,this.stencilMask.dirty=!0,this.stencilFunc.dirty=!0,this.stencilOp.dirty=!0,this.stencilTest.dirty=!0,this.depthRange.dirty=!0,this.depthTest.dirty=!0,this.depthFunc.dirty=!0,this.blend.dirty=!0,this.blendFunc.dirty=!0,this.blendColor.dirty=!0,this.blendEquation.dirty=!0,this.cullFace.dirty=!0,this.cullFaceSide.dirty=!0,this.frontFace.dirty=!0,this.program.dirty=!0,this.activeTexture.dirty=!0,this.viewport.dirty=!0,this.bindFramebuffer.dirty=!0,this.bindRenderbuffer.dirty=!0,this.bindTexture.dirty=!0,this.bindVertexBuffer.dirty=!0,this.bindElementBuffer.dirty=!0,this.extVertexArrayObject&&(this.bindVertexArrayOES.dirty=!0),this.pixelStoreUnpack.dirty=!0,this.pixelStoreUnpackPremultiplyAlpha.dirty=!0,this.pixelStoreUnpackFlipY.dirty=!0;},zt.prototype.createIndexBuffer=function(t,e){return new N(this,t,e)},zt.prototype.createVertexBuffer=function(t,e,i){return new q(this,t,e,i)},zt.prototype.createRenderbuffer=function(t,e,i){var o=this.gl,r=o.createRenderbuffer();return this.bindRenderbuffer.set(r),o.renderbufferStorage(o.RENDERBUFFER,t,e,i),this.bindRenderbuffer.set(null),r},zt.prototype.createFramebuffer=function(t,e){return new Tt(this,t,e)},zt.prototype.clear=function(t){var e=t.color,i=t.depth,o=this.gl,r=0;e&&(r|=o.COLOR_BUFFER_BIT,this.clearColor.set(e),this.colorMask.set([!0,!0,!0,!0])),void 0!==i&&(r|=o.DEPTH_BUFFER_BIT,this.depthRange.set([0,1]),this.clearDepth.set(i),this.depthMask.set(!0)),o.clear(r);},zt.prototype.setCullFace=function(t){!1===t.enable?this.cullFace.set(!1):(this.cullFace.set(!0),this.cullFaceSide.set(t.mode),this.frontFace.set(t.frontFace));},zt.prototype.setDepthMode=function(t){t.func!==this.gl.ALWAYS||t.mask?(this.depthTest.set(!0),this.depthFunc.set(t.func),this.depthMask.set(t.mask),this.depthRange.set(t.range)):this.depthTest.set(!1);},zt.prototype.setStencilMode=function(t){t.test.func!==this.gl.ALWAYS||t.mask?(this.stencilTest.set(!0),this.stencilMask.set(t.mask),this.stencilOp.set([t.fail,t.depthFail,t.pass]),this.stencilFunc.set({func:t.test.func,ref:t.ref,mask:t.test.mask})):this.stencilTest.set(!1);},zt.prototype.setColorMode=function(e){t.deepEqual(e.blendFunction,St.Replace)?this.blend.set(!1):(this.blend.set(!0),this.blendFunc.set(e.blendFunction),this.blendColor.set(e.blendColor)),this.colorMask.set(e.mask);},zt.prototype.unbindVAO=function(){this.extVertexArrayObject&&this.bindVertexArrayOES.set(null);};var Lt=function(e){function i(i,o,r){var a=this;e.call(this),this.id=i,this.dispatcher=r,this.on("data",(function(t){"source"===t.dataType&&"metadata"===t.sourceDataType&&(a._sourceLoaded=!0),a._sourceLoaded&&!a._paused&&"source"===t.dataType&&"content"===t.sourceDataType&&(a.reload(),a.transform&&a.update(a.transform));})),this.on("error",(function(){a._sourceErrored=!0;})),this._source=k(i,o,r,this),this._tiles={},this._cache=new U(0,this._unloadTile.bind(this)),this._timers={},this._cacheTimers={},this._maxTileCacheSize=null,this._coveredTiles={},this._state=new t.SourceFeatureState;}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.onAdd=function(t){this.map=t,this._maxTileCacheSize=t?t._maxTileCacheSize:null,this._source&&this._source.onAdd&&this._source.onAdd(t);},i.prototype.onRemove=function(t){this._source&&this._source.onRemove&&this._source.onRemove(t);},i.prototype.loaded=function(){if(this._sourceErrored)return!0;if(!this._sourceLoaded)return!1;if(!this._source.loaded())return!1;for(var t in this._tiles){var e=this._tiles[t];if("loaded"!==e.state&&"errored"!==e.state)return!1}return!0},i.prototype.getSource=function(){return this._source},i.prototype.pause=function(){this._paused=!0;},i.prototype.resume=function(){if(this._paused){var t=this._shouldReloadOnResume;this._paused=!1,this._shouldReloadOnResume=!1,t&&this.reload(),this.transform&&this.update(this.transform);}},i.prototype._loadTile=function(t,e){return this._source.loadTile(t,e)},i.prototype._unloadTile=function(t){if(this._source.unloadTile)return this._source.unloadTile(t,(function(){}))},i.prototype._abortTile=function(t){if(this._source.abortTile)return this._source.abortTile(t,(function(){}))},i.prototype.serialize=function(){return this._source.serialize()},i.prototype.prepare=function(t){for(var e in this._source.prepare&&this._source.prepare(),this._state.coalesceChanges(this._tiles,this.map?this.map.painter:null),this._tiles){var i=this._tiles[e];i.upload(t),i.prepare(this.map.style.imageManager);}},i.prototype.getIds=function(){return Object.keys(this._tiles).map(Number).sort(Mt)},i.prototype.getRenderableIds=function(e){var i=this,o=[];for(var r in this._tiles)this._isIdRenderable(+r,e)&&o.push(+r);return e?o.sort((function(e,o){var r=i._tiles[e].tileID,a=i._tiles[o].tileID,n=new t.Point(r.canonical.x,r.canonical.y)._rotate(i.transform.angle),s=new t.Point(a.canonical.x,a.canonical.y)._rotate(i.transform.angle);return r.overscaledZ-a.overscaledZ||s.y-n.y||s.x-n.x})):o.sort(Mt)},i.prototype.hasRenderableParent=function(t){var e=this.findLoadedParent(t,0);return!!e&&this._isIdRenderable(e.tileID.key)},i.prototype._isIdRenderable=function(t,e){return this._tiles[t]&&this._tiles[t].hasData()&&!this._coveredTiles[t]&&(e||!this._tiles[t].holdingForFade())},i.prototype.reload=function(){if(this._paused)this._shouldReloadOnResume=!0;else for(var t in this._cache.reset(),this._tiles)"errored"!==this._tiles[t].state&&this._reloadTile(t,"reloading");},i.prototype._reloadTile=function(t,e){var i=this._tiles[t];i&&("loading"!==i.state&&(i.state=e),this._loadTile(i,this._tileLoaded.bind(this,i,t,e)));},i.prototype._tileLoaded=function(e,i,o,r){if(r)return e.state="errored",void(404!==r.status?this._source.fire(new t.ErrorEvent(r,{tile:e})):this.update(this.transform));e.timeAdded=t.browser.now(),"expired"===o&&(e.refreshedUponExpiration=!0),this._setTileReloadTimer(i,e),"raster-dem"===this.getSource().type&&e.dem&&this._backfillDEM(e),this._state.initializeTileState(e,this.map?this.map.painter:null),this._source.fire(new t.Event("data",{dataType:"source",tile:e,coord:e.tileID}));},i.prototype._backfillDEM=function(t){for(var e=this.getRenderableIds(),i=0;i<e.length;i++){var o=e[i];if(t.neighboringTiles&&t.neighboringTiles[o]){var r=this.getTileByID(o);a(t,r),a(r,t);}}function a(t,e){t.needsHillshadePrepare=!0;var i=e.tileID.canonical.x-t.tileID.canonical.x,o=e.tileID.canonical.y-t.tileID.canonical.y,r=Math.pow(2,t.tileID.canonical.z),a=e.tileID.key;0===i&&0===o||Math.abs(o)>1||(Math.abs(i)>1&&(1===Math.abs(i+r)?i+=r:1===Math.abs(i-r)&&(i-=r)),e.dem&&t.dem&&(t.dem.backfillBorder(e.dem,i,o),t.neighboringTiles&&t.neighboringTiles[a]&&(t.neighboringTiles[a].backfilled=!0)));}},i.prototype.getTile=function(t){return this.getTileByID(t.key)},i.prototype.getTileByID=function(t){return this._tiles[t]},i.prototype.getZoom=function(t){return t.zoom+t.scaleZoom(t.tileSize/this._source.tileSize)},i.prototype._retainLoadedChildren=function(t,e,i,o){for(var r in this._tiles){var a=this._tiles[r];if(!(o[r]||!a.hasData()||a.tileID.overscaledZ<=e||a.tileID.overscaledZ>i)){for(var n=a.tileID;a&&a.tileID.overscaledZ>e+1;){var s=a.tileID.scaledTo(a.tileID.overscaledZ-1);(a=this._tiles[s.key])&&a.hasData()&&(n=s);}for(var l=n;l.overscaledZ>e;)if(t[(l=l.scaledTo(l.overscaledZ-1)).key]){o[n.key]=n;break}}}},i.prototype.findLoadedParent=function(t,e){for(var i=t.overscaledZ-1;i>=e;i--){var o=t.scaledTo(i);if(!o)return;var r=String(o.key),a=this._tiles[r];if(a&&a.hasData())return a;if(this._cache.has(o))return this._cache.get(o)}},i.prototype.updateCacheSize=function(t){var e=(Math.ceil(t.width/this._source.tileSize)+1)*(Math.ceil(t.height/this._source.tileSize)+1),i=Math.floor(5*e),o="number"==typeof this._maxTileCacheSize?Math.min(this._maxTileCacheSize,i):i;this._cache.setMaxSize(o);},i.prototype.handleWrapJump=function(t){var e=(t-(void 0===this._prevLng?t:this._prevLng))/360,i=Math.round(e);if(this._prevLng=t,i){var o={};for(var r in this._tiles){var a=this._tiles[r];a.tileID=a.tileID.unwrapTo(a.tileID.wrap+i),o[a.tileID.key]=a;}for(var n in this._tiles=o,this._timers)clearTimeout(this._timers[n]),delete this._timers[n];for(var s in this._tiles){var l=this._tiles[s];this._setTileReloadTimer(s,l);}}},i.prototype.update=function(e){var o=this;if(this.transform=e,this._sourceLoaded&&!this._paused){var r;this.updateCacheSize(e),this.handleWrapJump(this.transform.center.lng),this._coveredTiles={},this.used?this._source.tileID?r=e.getVisibleUnwrappedCoordinates(this._source.tileID).map((function(e){return new t.OverscaledTileID(e.canonical.z,e.wrap,e.canonical.z,e.canonical.x,e.canonical.y)})):(r=e.coveringTiles({tileSize:this._source.tileSize,minzoom:this._source.minzoom,maxzoom:this._source.maxzoom,roundZoom:this._source.roundZoom,reparseOverscaled:this._source.reparseOverscaled}),this._source.hasTile&&(r=r.filter((function(t){return o._source.hasTile(t)})))):r=[];var a=(this._source.roundZoom?Math.round:Math.floor)(this.getZoom(e)),n=Math.max(a-i.maxOverzooming,this._source.minzoom),s=Math.max(a+i.maxUnderzooming,this._source.minzoom),l=this._updateRetainedTiles(r,a);if(Dt(this._source.type)){for(var c={},u={},h=0,p=Object.keys(l);h<p.length;h+=1){var d=p[h],_=l[d],f=this._tiles[d];if(f&&!(f.fadeEndTime&&f.fadeEndTime<=t.browser.now())){var m=this.findLoadedParent(_,n);m&&(this._addTile(m.tileID),c[m.tileID.key]=m.tileID),u[d]=_;}}for(var g in this._retainLoadedChildren(u,a,s,l),c)l[g]||(this._coveredTiles[g]=!0,l[g]=c[g]);}for(var v in l)this._tiles[v].clearFadeHold();for(var y=0,x=t.keysDifference(this._tiles,l);y<x.length;y+=1){var b=x[y],w=this._tiles[b];w.hasSymbolBuckets&&!w.holdingForFade()?w.setHoldDuration(this.map._fadeDuration):w.hasSymbolBuckets&&!w.symbolFadeFinished()||this._removeTile(b);}}},i.prototype.releaseSymbolFadeTiles=function(){for(var t in this._tiles)this._tiles[t].holdingForFade()&&this._removeTile(t);},i.prototype._updateRetainedTiles=function(t,e){for(var o={},r={},a=Math.max(e-i.maxOverzooming,this._source.minzoom),n=Math.max(e+i.maxUnderzooming,this._source.minzoom),s={},l=0,c=t;l<c.length;l+=1){var u=c[l],h=this._addTile(u);o[u.key]=u,h.hasData()||e<this._source.maxzoom&&(s[u.key]=u);}this._retainLoadedChildren(s,e,n,o);for(var p=0,d=t;p<d.length;p+=1){var _=d[p],f=this._tiles[_.key];if(!f.hasData()){if(e+1>this._source.maxzoom){var m=_.children(this._source.maxzoom)[0],g=this.getTile(m);if(g&&g.hasData()){o[m.key]=m;continue}}else{var v=_.children(this._source.maxzoom);if(o[v[0].key]&&o[v[1].key]&&o[v[2].key]&&o[v[3].key])continue}for(var y=f.wasRequested(),x=_.overscaledZ-1;x>=a;--x){var b=_.scaledTo(x);if(r[b.key])break;if(r[b.key]=!0,!(f=this.getTile(b))&&y&&(f=this._addTile(b)),f&&(o[b.key]=b,y=f.wasRequested(),f.hasData()))break}}}return o},i.prototype._addTile=function(e){var i=this._tiles[e.key];if(i)return i;(i=this._cache.getAndRemove(e))&&(this._setTileReloadTimer(e.key,i),i.tileID=e,this._state.initializeTileState(i,this.map?this.map.painter:null),this._cacheTimers[e.key]&&(clearTimeout(this._cacheTimers[e.key]),delete this._cacheTimers[e.key],this._setTileReloadTimer(e.key,i)));var o=Boolean(i);return o||(i=new t.Tile(e,this._source.tileSize*e.overscaleFactor()),this._loadTile(i,this._tileLoaded.bind(this,i,e.key,i.state))),i?(i.uses++,this._tiles[e.key]=i,o||this._source.fire(new t.Event("dataloading",{tile:i,coord:i.tileID,dataType:"source"})),i):null},i.prototype._setTileReloadTimer=function(t,e){var i=this;t in this._timers&&(clearTimeout(this._timers[t]),delete this._timers[t]);var o=e.getExpiryTimeout();o&&(this._timers[t]=setTimeout((function(){i._reloadTile(t,"expired"),delete i._timers[t];}),o));},i.prototype._removeTile=function(t){var e=this._tiles[t];e&&(e.uses--,delete this._tiles[t],this._timers[t]&&(clearTimeout(this._timers[t]),delete this._timers[t]),e.uses>0||(e.hasData()&&"reloading"!==e.state?this._cache.add(e.tileID,e,e.getExpiryTimeout()):(e.aborted=!0,this._abortTile(e),this._unloadTile(e))));},i.prototype.clearTiles=function(){for(var t in this._shouldReloadOnResume=!1,this._paused=!1,this._tiles)this._removeTile(t);this._cache.reset();},i.prototype.tilesIn=function(e,i,o){var r=this,a=[],n=this.transform;if(!n)return a;for(var s=o?n.getCameraQueryGeometry(e):e,l=e.map((function(t){return n.pointCoordinate(t)})),c=s.map((function(t){return n.pointCoordinate(t)})),u=this.getIds(),h=1/0,p=1/0,d=-1/0,_=-1/0,f=0,m=c;f<m.length;f+=1){var g=m[f];h=Math.min(h,g.x),p=Math.min(p,g.y),d=Math.max(d,g.x),_=Math.max(_,g.y);}for(var v=function(e){var o=r._tiles[u[e]];if(!o.holdingForFade()){var s=o.tileID,f=Math.pow(2,n.zoom-o.tileID.overscaledZ),m=i*o.queryPadding*t.EXTENT/o.tileSize/f,g=[s.getTilePoint(new t.MercatorCoordinate(h,p)),s.getTilePoint(new t.MercatorCoordinate(d,_))];if(g[0].x-m<t.EXTENT&&g[0].y-m<t.EXTENT&&g[1].x+m>=0&&g[1].y+m>=0){var v=l.map((function(t){return s.getTilePoint(t)})),y=c.map((function(t){return s.getTilePoint(t)}));a.push({tile:o,tileID:s,queryGeometry:v,cameraQueryGeometry:y,scale:f});}}},y=0;y<u.length;y++)v(y);return a},i.prototype.getVisibleCoordinates=function(t){for(var e=this,i=this.getRenderableIds(t).map((function(t){return e._tiles[t].tileID})),o=0,r=i;o<r.length;o+=1){var a=r[o];a.posMatrix=this.transform.calculatePosMatrix(a.toUnwrapped());}return i},i.prototype.hasTransition=function(){if(this._source.hasTransition())return!0;if(Dt(this._source.type))for(var e in this._tiles){var i=this._tiles[e];if(void 0!==i.fadeEndTime&&i.fadeEndTime>=t.browser.now())return!0}return!1},i.prototype.setFeatureState=function(t,e,i){t=t||"_geojsonTileLayer",this._state.updateState(t,e,i);},i.prototype.removeFeatureState=function(t,e,i){t=t||"_geojsonTileLayer",this._state.removeFeatureState(t,e,i);},i.prototype.getFeatureState=function(t,e){return t=t||"_geojsonTileLayer",this._state.getState(t,e)},i}(t.Evented);function Mt(t,e){return t%32-e%32||e-t}function Dt(t){return "raster"===t||"image"===t||"video"===t}function Rt(){return new t.window.Worker(or.workerUrl)}Lt.maxOverzooming=10,Lt.maxUnderzooming=3;var At=function(){this.active={};};At.prototype.acquire=function(t){if(!this.workers)for(this.workers=[];this.workers.length<At.workerCount;)this.workers.push(new Rt);return this.active[t]=!0,this.workers.slice()},At.prototype.release=function(t){delete this.active[t],0===Object.keys(this.active).length&&(this.workers.forEach((function(t){t.terminate();})),this.workers=null);};var kt,Bt=Math.floor(t.browser.hardwareConcurrency/2);function Ot(e,i){var o={};for(var r in e)"ref"!==r&&(o[r]=e[r]);return t.refProperties.forEach((function(t){t in i&&(o[t]=i[t]);})),o}function Ft(t){t=t.slice();for(var e=Object.create(null),i=0;i<t.length;i++)e[t[i].id]=t[i];for(var o=0;o<t.length;o++)"ref"in t[o]&&(t[o]=Ot(t[o],e[t[o].ref]));return t}At.workerCount=Math.max(Math.min(Bt,6),1);var Ut={setStyle:"setStyle",addLayer:"addLayer",removeLayer:"removeLayer",setPaintProperty:"setPaintProperty",setLayoutProperty:"setLayoutProperty",setFilter:"setFilter",addSource:"addSource",removeSource:"removeSource",setGeoJSONSourceData:"setGeoJSONSourceData",setLayerZoomRange:"setLayerZoomRange",setLayerProperty:"setLayerProperty",setCenter:"setCenter",setZoom:"setZoom",setBearing:"setBearing",setPitch:"setPitch",setSprite:"setSprite",setGlyphs:"setGlyphs",setTransition:"setTransition",setLight:"setLight"};function Nt(t,e,i){i.push({command:Ut.addSource,args:[t,e[t]]});}function Zt(t,e,i){e.push({command:Ut.removeSource,args:[t]}),i[t]=!0;}function qt(t,e,i,o){Zt(t,i,o),Nt(t,e,i);}function Vt(e,i,o){var r;for(r in e[o])if(e[o].hasOwnProperty(r)&&"data"!==r&&!t.deepEqual(e[o][r],i[o][r]))return!1;for(r in i[o])if(i[o].hasOwnProperty(r)&&"data"!==r&&!t.deepEqual(e[o][r],i[o][r]))return!1;return!0}function jt(e,i,o,r,a,n){var s;for(s in i=i||{},e=e||{})e.hasOwnProperty(s)&&(t.deepEqual(e[s],i[s])||o.push({command:n,args:[r,s,i[s],a]}));for(s in i)i.hasOwnProperty(s)&&!e.hasOwnProperty(s)&&(t.deepEqual(e[s],i[s])||o.push({command:n,args:[r,s,i[s],a]}));}function Gt(t){return t.id}function Wt(t,e){return t[e.id]=e,t}function Xt(e,i){if(!e)return[{command:Ut.setStyle,args:[i]}];var o=[];try{if(!t.deepEqual(e.version,i.version))return[{command:Ut.setStyle,args:[i]}];t.deepEqual(e.center,i.center)||o.push({command:Ut.setCenter,args:[i.center]}),t.deepEqual(e.zoom,i.zoom)||o.push({command:Ut.setZoom,args:[i.zoom]}),t.deepEqual(e.bearing,i.bearing)||o.push({command:Ut.setBearing,args:[i.bearing]}),t.deepEqual(e.pitch,i.pitch)||o.push({command:Ut.setPitch,args:[i.pitch]}),t.deepEqual(e.sprite,i.sprite)||o.push({command:Ut.setSprite,args:[i.sprite]}),t.deepEqual(e.glyphs,i.glyphs)||o.push({command:Ut.setGlyphs,args:[i.glyphs]}),t.deepEqual(e.transition,i.transition)||o.push({command:Ut.setTransition,args:[i.transition]}),t.deepEqual(e.light,i.light)||o.push({command:Ut.setLight,args:[i.light]});var r={},a=[];!function(e,i,o,r){var a;for(a in i=i||{},e=e||{})e.hasOwnProperty(a)&&(i.hasOwnProperty(a)||Zt(a,o,r));for(a in i)i.hasOwnProperty(a)&&(e.hasOwnProperty(a)?t.deepEqual(e[a],i[a])||("geojson"===e[a].type&&"geojson"===i[a].type&&Vt(e,i,a)?o.push({command:Ut.setGeoJSONSourceData,args:[a,i[a].data]}):qt(a,i,o,r)):Nt(a,i,o));}(e.sources,i.sources,a,r);var n=[];e.layers&&e.layers.forEach((function(t){r[t.source]?o.push({command:Ut.removeLayer,args:[t.id]}):n.push(t);})),o=o.concat(a),function(e,i,o){i=i||[];var r,a,n,s,l,c,u,h=(e=e||[]).map(Gt),p=i.map(Gt),d=e.reduce(Wt,{}),_=i.reduce(Wt,{}),f=h.slice(),m=Object.create(null);for(r=0,a=0;r<h.length;r++)n=h[r],_.hasOwnProperty(n)?a++:(o.push({command:Ut.removeLayer,args:[n]}),f.splice(f.indexOf(n,a),1));for(r=0,a=0;r<p.length;r++)n=p[p.length-1-r],f[f.length-1-r]!==n&&(d.hasOwnProperty(n)?(o.push({command:Ut.removeLayer,args:[n]}),f.splice(f.lastIndexOf(n,f.length-a),1)):a++,c=f[f.length-r],o.push({command:Ut.addLayer,args:[_[n],c]}),f.splice(f.length-r,0,n),m[n]=!0);for(r=0;r<p.length;r++)if(s=d[n=p[r]],l=_[n],!m[n]&&!t.deepEqual(s,l))if(t.deepEqual(s.source,l.source)&&t.deepEqual(s["source-layer"],l["source-layer"])&&t.deepEqual(s.type,l.type)){for(u in jt(s.layout,l.layout,o,n,null,Ut.setLayoutProperty),jt(s.paint,l.paint,o,n,null,Ut.setPaintProperty),t.deepEqual(s.filter,l.filter)||o.push({command:Ut.setFilter,args:[n,l.filter]}),t.deepEqual(s.minzoom,l.minzoom)&&t.deepEqual(s.maxzoom,l.maxzoom)||o.push({command:Ut.setLayerZoomRange,args:[n,l.minzoom,l.maxzoom]}),s)s.hasOwnProperty(u)&&"layout"!==u&&"paint"!==u&&"filter"!==u&&"metadata"!==u&&"minzoom"!==u&&"maxzoom"!==u&&(0===u.indexOf("paint.")?jt(s[u],l[u],o,n,u.slice(6),Ut.setPaintProperty):t.deepEqual(s[u],l[u])||o.push({command:Ut.setLayerProperty,args:[n,u,l[u]]}));for(u in l)l.hasOwnProperty(u)&&!s.hasOwnProperty(u)&&"layout"!==u&&"paint"!==u&&"filter"!==u&&"metadata"!==u&&"minzoom"!==u&&"maxzoom"!==u&&(0===u.indexOf("paint.")?jt(s[u],l[u],o,n,u.slice(6),Ut.setPaintProperty):t.deepEqual(s[u],l[u])||o.push({command:Ut.setLayerProperty,args:[n,u,l[u]]}));}else o.push({command:Ut.removeLayer,args:[n]}),c=f[f.lastIndexOf(n)+1],o.push({command:Ut.addLayer,args:[l,c]});}(n,i.layers,o);}catch(t){console.warn("Unable to compute style diff:",t),o=[{command:Ut.setStyle,args:[i]}];}return o}var Ht=function(t,e,i){var o=this.boxCells=[],r=this.circleCells=[];this.xCellCount=Math.ceil(t/i),this.yCellCount=Math.ceil(e/i);for(var a=0;a<this.xCellCount*this.yCellCount;a++)o.push([]),r.push([]);this.circleKeys=[],this.boxKeys=[],this.bboxes=[],this.circles=[],this.width=t,this.height=e,this.xScale=this.xCellCount/t,this.yScale=this.yCellCount/e,this.boxUid=0,this.circleUid=0;};function Kt(e,i,o,r,a){var n=t.create();return i?(t.scale(n,n,[1/a,1/a,1]),o||t.rotateZ(n,n,r.angle)):t.multiply(n,r.labelPlaneMatrix,e),n}function Jt(e,i,o,r,a){if(i){var n=t.clone(e);return t.scale(n,n,[a,a,1]),o||t.rotateZ(n,n,-r.angle),n}return r.glCoordMatrix}function Yt(e,i){var o=[e.x,e.y,0,1];se(o,o,i);var r=o[3];return{point:new t.Point(o[0]/r,o[1]/r),signedDistanceFromCamera:r}}function Qt(t,e){var i=t[0]/t[3],o=t[1]/t[3];return i>=-e[0]&&i<=e[0]&&o>=-e[1]&&o<=e[1]}function $t(e,i,o,r,a,n,s,l){var c=r?e.textSizeData:e.iconSizeData,u=t.evaluateSizeForZoom(c,o.transform.zoom),h=[256/o.width*2+1,256/o.height*2+1],p=r?e.text.dynamicLayoutVertexArray:e.icon.dynamicLayoutVertexArray;p.clear();for(var d=e.lineVertexArray,_=r?e.text.placedSymbolArray:e.icon.placedSymbolArray,f=o.transform.width/o.transform.height,m=!1,g=0;g<_.length;g++){var v=_.get(g);if(v.hidden||v.writingMode===t.WritingMode.vertical&&!m)ne(v.numGlyphs,p);else{m=!1;var y=[v.anchorX,v.anchorY,0,1];if(t.transformMat4(y,y,i),Qt(y,h)){var x=.5+y[3]/o.transform.cameraToCenterDistance*.5,b=t.evaluateSizeForFeature(c,u,v),w=s?b*x:b/x,E=new t.Point(v.anchorX,v.anchorY),T=Yt(E,a).point,I={},C=ie(v,w,!1,l,i,a,n,e.glyphOffsetArray,d,p,T,E,I,f);m=C.useVertical,(C.notEnoughRoom||m||C.needsFlipping&&ie(v,w,!0,l,i,a,n,e.glyphOffsetArray,d,p,T,E,I,f).notEnoughRoom)&&ne(v.numGlyphs,p);}else ne(v.numGlyphs,p);}}r?e.text.dynamicLayoutVertexBuffer.updateData(p):e.icon.dynamicLayoutVertexBuffer.updateData(p);}function te(t,e,i,o,r,a,n,s,l,c,u,h){var p=s.glyphStartIndex+s.numGlyphs,d=s.lineStartIndex,_=s.lineStartIndex+s.lineLength,f=e.getoffsetX(s.glyphStartIndex),m=e.getoffsetX(p-1),g=re(t*f,i,o,r,a,n,s.segment,d,_,l,c,u,h);if(!g)return null;var v=re(t*m,i,o,r,a,n,s.segment,d,_,l,c,u,h);return v?{first:g,last:v}:null}function ee(e,i,o,r){if(e===t.WritingMode.horizontal&&Math.abs(o.y-i.y)>Math.abs(o.x-i.x)*r)return{useVertical:!0};return(e===t.WritingMode.vertical?i.y<o.y:i.x>o.x)?{needsFlipping:!0}:null}function ie(e,i,o,r,a,n,s,l,c,u,h,p,d,_){var f,m=i/24,g=e.lineOffsetX*m,v=e.lineOffsetY*m;if(e.numGlyphs>1){var y=e.glyphStartIndex+e.numGlyphs,x=e.lineStartIndex,b=e.lineStartIndex+e.lineLength,w=te(m,l,g,v,o,h,p,e,c,n,d,!1);if(!w)return{notEnoughRoom:!0};var E=Yt(w.first.point,s).point,T=Yt(w.last.point,s).point;if(r&&!o){var I=ee(e.writingMode,E,T,_);if(I)return I}f=[w.first];for(var C=e.glyphStartIndex+1;C<y-1;C++)f.push(re(m*l.getoffsetX(C),g,v,o,h,p,e.segment,x,b,c,n,d,!1));f.push(w.last);}else{if(r&&!o){var S=Yt(p,a).point,P=e.lineStartIndex+e.segment+1,z=new t.Point(c.getx(P),c.gety(P)),L=Yt(z,a),M=L.signedDistanceFromCamera>0?L.point:oe(p,z,S,1,a),D=ee(e.writingMode,S,M,_);if(D)return D}var R=re(m*l.getoffsetX(e.glyphStartIndex),g,v,o,h,p,e.segment,e.lineStartIndex,e.lineStartIndex+e.lineLength,c,n,d,!1);if(!R)return{notEnoughRoom:!0};f=[R];}for(var A=0,k=f;A<k.length;A+=1){var B=k[A];t.addDynamicAttributes(u,B.point,B.angle);}return{}}function oe(t,e,i,o,r){var a=Yt(t.add(t.sub(e)._unit()),r).point,n=i.sub(a);return i.add(n._mult(o/n.mag()))}function re(e,i,o,r,a,n,s,l,c,u,h,p,d){var _=r?e-i:e+i,f=_>0?1:-1,m=0;r&&(f*=-1,m=Math.PI),f<0&&(m+=Math.PI);for(var g=f>0?l+s:l+s+1,v=g,y=a,x=a,b=0,w=0,E=Math.abs(_);b+w<=E;){if((g+=f)<l||g>=c)return null;if(x=y,void 0===(y=p[g])){var T=new t.Point(u.getx(g),u.gety(g)),I=Yt(T,h);if(I.signedDistanceFromCamera>0)y=p[g]=I.point;else{var C=g-f;y=oe(0===b?n:new t.Point(u.getx(C),u.gety(C)),T,x,E-b+1,h);}}b+=w,w=x.dist(y);}var S=(E-b)/w,P=y.sub(x),z=P.mult(S)._add(x);return z._add(P._unit()._perp()._mult(o*f)),{point:z,angle:m+Math.atan2(y.y-x.y,y.x-x.x),tileDistance:d?{prevTileDistance:g-f===v?0:u.gettileUnitDistanceFromAnchor(g-f),lastSegmentViewportDistance:E-b}:null}}Ht.prototype.keysLength=function(){return this.boxKeys.length+this.circleKeys.length},Ht.prototype.insert=function(t,e,i,o,r){this._forEachCell(e,i,o,r,this._insertBoxCell,this.boxUid++),this.boxKeys.push(t),this.bboxes.push(e),this.bboxes.push(i),this.bboxes.push(o),this.bboxes.push(r);},Ht.prototype.insertCircle=function(t,e,i,o){this._forEachCell(e-o,i-o,e+o,i+o,this._insertCircleCell,this.circleUid++),this.circleKeys.push(t),this.circles.push(e),this.circles.push(i),this.circles.push(o);},Ht.prototype._insertBoxCell=function(t,e,i,o,r,a){this.boxCells[r].push(a);},Ht.prototype._insertCircleCell=function(t,e,i,o,r,a){this.circleCells[r].push(a);},Ht.prototype._query=function(t,e,i,o,r,a){if(i<0||t>this.width||o<0||e>this.height)return!r&&[];var n=[];if(t<=0&&e<=0&&this.width<=i&&this.height<=o){if(r)return!0;for(var s=0;s<this.boxKeys.length;s++)n.push({key:this.boxKeys[s],x1:this.bboxes[4*s],y1:this.bboxes[4*s+1],x2:this.bboxes[4*s+2],y2:this.bboxes[4*s+3]});for(var l=0;l<this.circleKeys.length;l++){var c=this.circles[3*l],u=this.circles[3*l+1],h=this.circles[3*l+2];n.push({key:this.circleKeys[l],x1:c-h,y1:u-h,x2:c+h,y2:u+h});}return a?n.filter(a):n}var p={hitTest:r,seenUids:{box:{},circle:{}}};return this._forEachCell(t,e,i,o,this._queryCell,n,p,a),r?n.length>0:n},Ht.prototype._queryCircle=function(t,e,i,o,r){var a=t-i,n=t+i,s=e-i,l=e+i;if(n<0||a>this.width||l<0||s>this.height)return!o&&[];var c=[],u={hitTest:o,circle:{x:t,y:e,radius:i},seenUids:{box:{},circle:{}}};return this._forEachCell(a,s,n,l,this._queryCellCircle,c,u,r),o?c.length>0:c},Ht.prototype.query=function(t,e,i,o,r){return this._query(t,e,i,o,!1,r)},Ht.prototype.hitTest=function(t,e,i,o,r){return this._query(t,e,i,o,!0,r)},Ht.prototype.hitTestCircle=function(t,e,i,o){return this._queryCircle(t,e,i,!0,o)},Ht.prototype._queryCell=function(t,e,i,o,r,a,n,s){var l=n.seenUids,c=this.boxCells[r];if(null!==c)for(var u=this.bboxes,h=0,p=c;h<p.length;h+=1){var d=p[h];if(!l.box[d]){l.box[d]=!0;var _=4*d;if(t<=u[_+2]&&e<=u[_+3]&&i>=u[_+0]&&o>=u[_+1]&&(!s||s(this.boxKeys[d]))){if(n.hitTest)return a.push(!0),!0;a.push({key:this.boxKeys[d],x1:u[_],y1:u[_+1],x2:u[_+2],y2:u[_+3]});}}}var f=this.circleCells[r];if(null!==f)for(var m=this.circles,g=0,v=f;g<v.length;g+=1){var y=v[g];if(!l.circle[y]){l.circle[y]=!0;var x=3*y;if(this._circleAndRectCollide(m[x],m[x+1],m[x+2],t,e,i,o)&&(!s||s(this.circleKeys[y]))){if(n.hitTest)return a.push(!0),!0;var b=m[x],w=m[x+1],E=m[x+2];a.push({key:this.circleKeys[y],x1:b-E,y1:w-E,x2:b+E,y2:w+E});}}}},Ht.prototype._queryCellCircle=function(t,e,i,o,r,a,n,s){var l=n.circle,c=n.seenUids,u=this.boxCells[r];if(null!==u)for(var h=this.bboxes,p=0,d=u;p<d.length;p+=1){var _=d[p];if(!c.box[_]){c.box[_]=!0;var f=4*_;if(this._circleAndRectCollide(l.x,l.y,l.radius,h[f+0],h[f+1],h[f+2],h[f+3])&&(!s||s(this.boxKeys[_])))return a.push(!0),!0}}var m=this.circleCells[r];if(null!==m)for(var g=this.circles,v=0,y=m;v<y.length;v+=1){var x=y[v];if(!c.circle[x]){c.circle[x]=!0;var b=3*x;if(this._circlesCollide(g[b],g[b+1],g[b+2],l.x,l.y,l.radius)&&(!s||s(this.circleKeys[x])))return a.push(!0),!0}}},Ht.prototype._forEachCell=function(t,e,i,o,r,a,n,s){for(var l=this._convertToXCellCoord(t),c=this._convertToYCellCoord(e),u=this._convertToXCellCoord(i),h=this._convertToYCellCoord(o),p=l;p<=u;p++)for(var d=c;d<=h;d++){var _=this.xCellCount*d+p;if(r.call(this,t,e,i,o,_,a,n,s))return}},Ht.prototype._convertToXCellCoord=function(t){return Math.max(0,Math.min(this.xCellCount-1,Math.floor(t*this.xScale)))},Ht.prototype._convertToYCellCoord=function(t){return Math.max(0,Math.min(this.yCellCount-1,Math.floor(t*this.yScale)))},Ht.prototype._circlesCollide=function(t,e,i,o,r,a){var n=o-t,s=r-e,l=i+a;return l*l>n*n+s*s},Ht.prototype._circleAndRectCollide=function(t,e,i,o,r,a,n){var s=(a-o)/2,l=Math.abs(t-(o+s));if(l>s+i)return!1;var c=(n-r)/2,u=Math.abs(e-(r+c));if(u>c+i)return!1;if(l<=s||u<=c)return!0;var h=l-s,p=u-c;return h*h+p*p<=i*i};var ae=new Float32Array([-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0,-1/0,-1/0,0]);function ne(t,e){for(var i=0;i<t;i++){var o=e.length;e.resize(o+4),e.float32.set(ae,3*o);}}function se(t,e,i){var o=e[0],r=e[1];return t[0]=i[0]*o+i[4]*r+i[12],t[1]=i[1]*o+i[5]*r+i[13],t[3]=i[3]*o+i[7]*r+i[15],t}var le=function(t,e,i){void 0===e&&(e=new Ht(t.width+200,t.height+200,25)),void 0===i&&(i=new Ht(t.width+200,t.height+200,25)),this.transform=t,this.grid=e,this.ignoredGrid=i,this.pitchfactor=Math.cos(t._pitch)*t.cameraToCenterDistance,this.screenRightBoundary=t.width+100,this.screenBottomBoundary=t.height+100,this.gridRightBoundary=t.width+200,this.gridBottomBoundary=t.height+200;};function ce(t,e,i){t[e+4]=i?1:0;}function ue(e,i,o){return i*(t.EXTENT/(e.tileSize*Math.pow(2,o-e.tileID.overscaledZ)))}le.prototype.placeCollisionBox=function(t,e,i,o,r){var a=this.projectAndGetPerspectiveRatio(o,t.anchorPointX,t.anchorPointY),n=i*a.perspectiveRatio,s=t.x1*n+a.point.x,l=t.y1*n+a.point.y,c=t.x2*n+a.point.x,u=t.y2*n+a.point.y;return!this.isInsideGrid(s,l,c,u)||!e&&this.grid.hitTest(s,l,c,u,r)?{box:[],offscreen:!1}:{box:[s,l,c,u],offscreen:this.isOffscreen(s,l,c,u)}},le.prototype.approximateTileDistance=function(t,e,i,o,r){var a=r?1:o/this.pitchfactor,n=t.lastSegmentViewportDistance*i;return t.prevTileDistance+n+(a-1)*n*Math.abs(Math.sin(e))},le.prototype.placeCollisionCircles=function(e,i,o,r,a,n,s,l,c,u,h,p,d){var _=[],f=this.projectAnchor(c,a.anchorX,a.anchorY),m=l/24,g=a.lineOffsetX*l,v=a.lineOffsetY*l,y=new t.Point(a.anchorX,a.anchorY),x=te(m,s,g,v,!1,Yt(y,u).point,y,a,n,u,{},!0),b=!1,w=!1,E=!0,T=f.perspectiveRatio*r,I=1/(r*o),C=0,S=0;x&&(C=this.approximateTileDistance(x.first.tileDistance,x.first.angle,I,f.cameraDistance,p),S=this.approximateTileDistance(x.last.tileDistance,x.last.angle,I,f.cameraDistance,p));for(var P=0;P<e.length;P+=5){var z=e[P],L=e[P+1],M=e[P+2],D=e[P+3];if(!x||D<-C||D>S)ce(e,P,!1);else{var R=this.projectPoint(c,z,L),A=M*T;if(_.length>0){var k=R.x-_[_.length-4],B=R.y-_[_.length-3];if(A*A*2>k*k+B*B)if(P+8<e.length){var O=e[P+8];if(O>-C&&O<S){ce(e,P,!1);continue}}}var F=P/5;_.push(R.x,R.y,A,F),ce(e,P,!0);var U=R.x-A,N=R.y-A,Z=R.x+A,q=R.y+A;if(E=E&&this.isOffscreen(U,N,Z,q),w=w||this.isInsideGrid(U,N,Z,q),!i&&this.grid.hitTestCircle(R.x,R.y,A,d)){if(!h)return{circles:[],offscreen:!1};b=!0;}}}return{circles:b||!w?[]:_,offscreen:E}},le.prototype.queryRenderedSymbols=function(e){if(0===e.length||0===this.grid.keysLength()&&0===this.ignoredGrid.keysLength())return{};for(var i=[],o=1/0,r=1/0,a=-1/0,n=-1/0,s=0,l=e;s<l.length;s+=1){var c=l[s],u=new t.Point(c.x+100,c.y+100);o=Math.min(o,u.x),r=Math.min(r,u.y),a=Math.max(a,u.x),n=Math.max(n,u.y),i.push(u);}for(var h={},p={},d=0,_=this.grid.query(o,r,a,n).concat(this.ignoredGrid.query(o,r,a,n));d<_.length;d+=1){var f=_[d],m=f.key;if(void 0===h[m.bucketInstanceId]&&(h[m.bucketInstanceId]={}),!h[m.bucketInstanceId][m.featureIndex]){var g=[new t.Point(f.x1,f.y1),new t.Point(f.x2,f.y1),new t.Point(f.x2,f.y2),new t.Point(f.x1,f.y2)];t.polygonIntersectsPolygon(i,g)&&(h[m.bucketInstanceId][m.featureIndex]=!0,void 0===p[m.bucketInstanceId]&&(p[m.bucketInstanceId]=[]),p[m.bucketInstanceId].push(m.featureIndex));}}return p},le.prototype.insertCollisionBox=function(t,e,i,o,r){var a={bucketInstanceId:i,featureIndex:o,collisionGroupID:r};(e?this.ignoredGrid:this.grid).insert(a,t[0],t[1],t[2],t[3]);},le.prototype.insertCollisionCircles=function(t,e,i,o,r){for(var a=e?this.ignoredGrid:this.grid,n={bucketInstanceId:i,featureIndex:o,collisionGroupID:r},s=0;s<t.length;s+=4)a.insertCircle(n,t[s],t[s+1],t[s+2]);},le.prototype.projectAnchor=function(t,e,i){var o=[e,i,0,1];return se(o,o,t),{perspectiveRatio:.5+this.transform.cameraToCenterDistance/o[3]*.5,cameraDistance:o[3]}},le.prototype.projectPoint=function(e,i,o){var r=[i,o,0,1];return se(r,r,e),new t.Point((r[0]/r[3]+1)/2*this.transform.width+100,(-r[1]/r[3]+1)/2*this.transform.height+100)},le.prototype.projectAndGetPerspectiveRatio=function(e,i,o){var r=[i,o,0,1];return se(r,r,e),{point:new t.Point((r[0]/r[3]+1)/2*this.transform.width+100,(-r[1]/r[3]+1)/2*this.transform.height+100),perspectiveRatio:.5+this.transform.cameraToCenterDistance/r[3]*.5}},le.prototype.isOffscreen=function(t,e,i,o){return i<100||t>=this.screenRightBoundary||o<100||e>this.screenBottomBoundary},le.prototype.isInsideGrid=function(t,e,i,o){return i>=0&&t<this.gridRightBoundary&&o>=0&&e<this.gridBottomBoundary};var he=function(t,e,i,o){this.opacity=t?Math.max(0,Math.min(1,t.opacity+(t.placed?e:-e))):o&&i?1:0,this.placed=i;};he.prototype.isHidden=function(){return 0===this.opacity&&!this.placed};var pe=function(t,e,i,o,r){this.text=new he(t?t.text:null,e,i,r),this.icon=new he(t?t.icon:null,e,o,r);};pe.prototype.isHidden=function(){return this.text.isHidden()&&this.icon.isHidden()};var de=function(t,e,i){this.text=t,this.icon=e,this.skipFade=i;},_e=function(t,e,i,o,r){this.bucketInstanceId=t,this.featureIndex=e,this.sourceLayerIndex=i,this.bucketIndex=o,this.tileID=r;},fe=function(t){this.crossSourceCollisions=t,this.maxGroupID=0,this.collisionGroups={};};function me(e,i,o,r,a){var n=t.getAnchorAlignment(e),s=-(n.horizontalAlign-.5)*i,l=-(n.verticalAlign-.5)*o,c=t.evaluateVariableOffset(e,r);return new t.Point(s+c[0]*a,l+c[1]*a)}function ge(e,i,o,r,a,n){var s=e.x1,l=e.x2,c=e.y1,u=e.y2,h=e.anchorPointX,p=e.anchorPointY,d=new t.Point(i,o);return r&&d._rotate(a?n:-n),{x1:s+d.x,y1:c+d.y,x2:l+d.x,y2:u+d.y,anchorPointX:h,anchorPointY:p}}fe.prototype.get=function(t){if(this.crossSourceCollisions)return{ID:0,predicate:null};if(!this.collisionGroups[t]){var e=++this.maxGroupID;this.collisionGroups[t]={ID:e,predicate:function(t){return t.collisionGroupID===e}};}return this.collisionGroups[t]};var ve=function(t,e,i,o){this.transform=t.clone(),this.collisionIndex=new le(this.transform),this.placements={},this.opacities={},this.variableOffsets={},this.stale=!1,this.commitTime=0,this.fadeDuration=e,this.retainedQueryData={},this.collisionGroups=new fe(i),this.prevPlacement=o,o&&(o.prevPlacement=void 0),this.placedOrientations={};};function ye(t,e,i,o,r){t.emplaceBack(e?1:0,i?1:0,o||0,r||0),t.emplaceBack(e?1:0,i?1:0,o||0,r||0),t.emplaceBack(e?1:0,i?1:0,o||0,r||0),t.emplaceBack(e?1:0,i?1:0,o||0,r||0);}ve.prototype.placeLayerTile=function(e,i,o,r){var a=i.getBucket(e),n=i.latestFeatureIndex;if(a&&n&&e.id===a.layerIds[0]){var s=i.collisionBoxArray,l=a.layers[0].layout,c=Math.pow(2,this.transform.zoom-i.tileID.overscaledZ),u=i.tileSize/t.EXTENT,h=this.transform.calculatePosMatrix(i.tileID.toUnwrapped()),p=Kt(h,"map"===l.get("text-pitch-alignment"),"map"===l.get("text-rotation-alignment"),this.transform,ue(i,1,this.transform.zoom)),d=Kt(h,"map"===l.get("icon-pitch-alignment"),"map"===l.get("icon-rotation-alignment"),this.transform,ue(i,1,this.transform.zoom));this.retainedQueryData[a.bucketInstanceId]=new _e(a.bucketInstanceId,n,a.sourceLayerIndex,a.index,i.tileID),this.placeLayerBucket(a,h,p,d,c,u,o,i.holdingForFade(),r,s);}},ve.prototype.attemptAnchorPlacement=function(t,e,i,o,r,a,n,s,l,c,u,h,p,d,_){var f,m=[h.textOffset0,h.textOffset1],g=me(t,i,o,m,r),v=this.collisionIndex.placeCollisionBox(ge(e,g.x,g.y,a,n,this.transform.angle),u,s,l,c.predicate);if(_&&0===this.collisionIndex.placeCollisionBox(ge(_,g.x,g.y,a,n,this.transform.angle),u,s,l,c.predicate).box.length)return;if(v.box.length>0)return this.prevPlacement&&this.prevPlacement.variableOffsets[h.crossTileID]&&this.prevPlacement.placements[h.crossTileID]&&this.prevPlacement.placements[h.crossTileID].text&&(f=this.prevPlacement.variableOffsets[h.crossTileID].anchor),this.variableOffsets[h.crossTileID]={textOffset:m,width:i,height:o,anchor:t,textBoxScale:r,prevAnchor:f},this.markUsedJustification(p,t,h,d),p.allowVerticalPlacement&&(this.markUsedOrientation(p,d,h),this.placedOrientations[h.crossTileID]=d),{shift:g,placedGlyphBoxes:v}},ve.prototype.placeLayerBucket=function(e,i,o,r,a,n,s,l,c,u){var h=this,p=e.layers[0].layout,d=t.evaluateSizeForZoom(e.textSizeData,this.transform.zoom),_=p.get("text-optional"),f=p.get("icon-optional"),m=p.get("text-allow-overlap"),g=p.get("icon-allow-overlap"),v=m&&(g||!e.hasIconData()||f),y=g&&(m||!e.hasTextData()||_),x=this.collisionGroups.get(e.sourceID),b="map"===p.get("text-rotation-alignment"),w="map"===p.get("text-pitch-alignment"),E="none"!==p.get("icon-text-fit"),T="viewport-y"===p.get("symbol-z-order");!e.collisionArrays&&u&&e.deserializeCollisionBoxes(u);var I=function(r,u){if(!c[r.crossTileID])if(l)h.placements[r.crossTileID]=new de(!1,!1,!1);else{var T,I=!1,C=!1,S=!0,P=null,z={box:null,offscreen:null},L={box:null,offscreen:null},M=null,D=null,R=0,A=0,k=0;u.textFeatureIndex&&(R=u.textFeatureIndex),u.verticalTextFeatureIndex&&(A=u.verticalTextFeatureIndex);var B=u.textBox;if(B){var O=function(i){var o=t.WritingMode.horizontal;if(e.allowVerticalPlacement&&!i&&h.prevPlacement){var a=h.prevPlacement.placedOrientations[r.crossTileID];a&&(h.placedOrientations[r.crossTileID]=a,o=a,h.markUsedOrientation(e,o,r));}return o},F=function(i,o){if(e.allowVerticalPlacement&&r.numVerticalGlyphVertices>0&&u.verticalTextBox)for(var a=0,n=e.writingModes;a<n.length;a+=1){if(n[a]===t.WritingMode.vertical?(z=o(),L=z):z=i(),z&&z.box&&z.box.length)break}else z=i();};if(p.get("text-variable-anchor")){var U=p.get("text-variable-anchor");if(h.prevPlacement&&h.prevPlacement.variableOffsets[r.crossTileID]){var N=h.prevPlacement.variableOffsets[r.crossTileID];U.indexOf(N.anchor)>0&&(U=U.filter((function(t){return t!==N.anchor}))).unshift(N.anchor);}var Z=function(t,o,a){for(var s=t.x2-t.x1,l=t.y2-t.y1,c=r.textBoxScale,u=E&&!g?o:null,p={box:[],offscreen:!1},d=m?2*U.length:U.length,_=0;_<d;++_){var f=U[_%U.length],v=_>=U.length,y=h.attemptAnchorPlacement(f,t,s,l,c,b,w,n,i,x,v,r,e,a,u);if(y&&(p=y.placedGlyphBoxes)&&p.box&&p.box.length){I=!0,P=y.shift;break}}return p};F((function(){return Z(B,u.iconBox,t.WritingMode.horizontal)}),(function(){var i=u.verticalTextBox,o=z&&z.box&&z.box.length;return e.allowVerticalPlacement&&!o&&r.numVerticalGlyphVertices>0&&i?Z(i,u.verticalIconBox,t.WritingMode.vertical):{box:null,offscreen:null}})),z&&(I=z.box,S=z.offscreen);var q=O(z&&z.box);if(!I&&h.prevPlacement){var V=h.prevPlacement.variableOffsets[r.crossTileID];V&&(h.variableOffsets[r.crossTileID]=V,h.markUsedJustification(e,V.anchor,r,q));}}else{var j=function(t,o){var a=h.collisionIndex.placeCollisionBox(t,p.get("text-allow-overlap"),n,i,x.predicate);return a&&a.box&&a.box.length&&(h.markUsedOrientation(e,o,r),h.placedOrientations[r.crossTileID]=o),a};F((function(){return j(B,t.WritingMode.horizontal)}),(function(){var i=u.verticalTextBox;return e.allowVerticalPlacement&&r.numVerticalGlyphVertices>0&&i?j(i,t.WritingMode.vertical):{box:null,offscreen:null}})),O(z&&z.box&&z.box.length);}}I=(T=z)&&T.box&&T.box.length>0,S=T&&T.offscreen;var G=u.textCircles;if(G){var W=e.text.placedSymbolArray.get(r.centerJustifiedTextSymbolIndex),X=t.evaluateSizeForFeature(e.textSizeData,d,W);M=h.collisionIndex.placeCollisionCircles(G,p.get("text-allow-overlap"),a,n,W,e.lineVertexArray,e.glyphOffsetArray,X,i,o,s,w,x.predicate),I=p.get("text-allow-overlap")||M.circles.length>0,S=S&&M.offscreen;}if(u.iconFeatureIndex&&(k=u.iconFeatureIndex),u.iconBox){var H=function(t){var e=E&&P?ge(t,P.x,P.y,b,w,h.transform.angle):t;return h.collisionIndex.placeCollisionBox(e,p.get("icon-allow-overlap"),n,i,x.predicate)};C=L&&L.box&&L.box.length&&u.verticalIconBox?(D=H(u.verticalIconBox)).box.length>0:(D=H(u.iconBox)).box.length>0,S=S&&D.offscreen;}var K=_||0===r.numHorizontalGlyphVertices&&0===r.numVerticalGlyphVertices,J=f||0===r.numIconVertices;K||J?J?K||(C=C&&I):I=C&&I:C=I=C&&I,I&&T&&T.box&&(L&&L.box&&A?h.collisionIndex.insertCollisionBox(T.box,p.get("text-ignore-placement"),e.bucketInstanceId,A,x.ID):h.collisionIndex.insertCollisionBox(T.box,p.get("text-ignore-placement"),e.bucketInstanceId,R,x.ID)),C&&D&&h.collisionIndex.insertCollisionBox(D.box,p.get("icon-ignore-placement"),e.bucketInstanceId,k,x.ID),I&&M&&h.collisionIndex.insertCollisionCircles(M.circles,p.get("text-ignore-placement"),e.bucketInstanceId,R,x.ID),h.placements[r.crossTileID]=new de(I||v,C||y,S||e.justReloaded),c[r.crossTileID]=!0;}};if(T)for(var C=e.getSortedSymbolIndexes(this.transform.angle),S=C.length-1;S>=0;--S){var P=C[S];I(e.symbolInstances.get(P),e.collisionArrays[P]);}else for(var z=0;z<e.symbolInstances.length;++z)I(e.symbolInstances.get(z),e.collisionArrays[z]);e.justReloaded=!1;},ve.prototype.markUsedJustification=function(e,i,o,r){var a,n={left:o.leftJustifiedTextSymbolIndex,center:o.centerJustifiedTextSymbolIndex,right:o.rightJustifiedTextSymbolIndex};a=r===t.WritingMode.vertical?o.verticalPlacedTextSymbolIndex:n[t.getAnchorJustification(i)];for(var s=0,l=[o.leftJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.rightJustifiedTextSymbolIndex,o.verticalPlacedTextSymbolIndex];s<l.length;s+=1){var c=l[s];c>=0&&(e.text.placedSymbolArray.get(c).crossTileID=a>=0&&c!==a?0:o.crossTileID);}},ve.prototype.markUsedOrientation=function(e,i,o){for(var r=i===t.WritingMode.horizontal||i===t.WritingMode.horizontalOnly?i:0,a=i===t.WritingMode.vertical?i:0,n=0,s=[o.leftJustifiedTextSymbolIndex,o.centerJustifiedTextSymbolIndex,o.rightJustifiedTextSymbolIndex];n<s.length;n+=1){var l=s[n];e.text.placedSymbolArray.get(l).placedOrientation=r;}o.verticalPlacedTextSymbolIndex&&(e.text.placedSymbolArray.get(o.verticalPlacedTextSymbolIndex).placedOrientation=a);},ve.prototype.commit=function(t){this.commitTime=t,this.zoomAtLastRecencyCheck=this.transform.zoom;var e=this.prevPlacement,i=!1;this.prevZoomAdjustment=e?e.zoomAdjustment(this.transform.zoom):0;var o=e?e.symbolFadeChange(t):1,r=e?e.opacities:{},a=e?e.variableOffsets:{},n=e?e.placedOrientations:{};for(var s in this.placements){var l=this.placements[s],c=r[s];c?(this.opacities[s]=new pe(c,o,l.text,l.icon),i=i||l.text!==c.text.placed||l.icon!==c.icon.placed):(this.opacities[s]=new pe(null,o,l.text,l.icon,l.skipFade),i=i||l.text||l.icon);}for(var u in r){var h=r[u];if(!this.opacities[u]){var p=new pe(h,o,!1,!1);p.isHidden()||(this.opacities[u]=p,i=i||h.text.placed||h.icon.placed);}}for(var d in a)this.variableOffsets[d]||!this.opacities[d]||this.opacities[d].isHidden()||(this.variableOffsets[d]=a[d]);for(var _ in n)this.placedOrientations[_]||!this.opacities[_]||this.opacities[_].isHidden()||(this.placedOrientations[_]=n[_]);i?this.lastPlacementChangeTime=t:"number"!=typeof this.lastPlacementChangeTime&&(this.lastPlacementChangeTime=e?e.lastPlacementChangeTime:t);},ve.prototype.updateLayerOpacities=function(t,e){for(var i={},o=0,r=e;o<r.length;o+=1){var a=r[o],n=a.getBucket(t);n&&a.latestFeatureIndex&&t.id===n.layerIds[0]&&this.updateBucketOpacities(n,i,a.collisionBoxArray);}},ve.prototype.updateBucketOpacities=function(e,i,o){var r=this;e.hasTextData()&&e.text.opacityVertexArray.clear(),e.hasIconData()&&e.icon.opacityVertexArray.clear(),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexArray.clear(),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexArray.clear(),e.hasIconCollisionCircleData()&&e.iconCollisionCircle.collisionVertexArray.clear(),e.hasTextCollisionCircleData()&&e.textCollisionCircle.collisionVertexArray.clear();var a=e.layers[0].layout,n=new pe(null,0,!1,!1,!0),s=a.get("text-allow-overlap"),l=a.get("icon-allow-overlap"),c=a.get("text-variable-anchor"),u="map"===a.get("text-rotation-alignment"),h="map"===a.get("text-pitch-alignment"),p="none"!==a.get("icon-text-fit"),d=new pe(null,0,s&&(l||!e.hasIconData()||a.get("icon-optional")),l&&(s||!e.hasTextData()||a.get("text-optional")),!0);!e.collisionArrays&&o&&(e.hasIconCollisionBoxData()||e.hasIconCollisionCircleData()||e.hasTextCollisionBoxData()||e.hasTextCollisionCircleData())&&e.deserializeCollisionBoxes(o);for(var _=function(t,e,i){for(var o=0;o<e/4;o++)t.opacityVertexArray.emplaceBack(i);},f=function(o){var a=e.symbolInstances.get(o),s=a.numHorizontalGlyphVertices,l=a.numVerticalGlyphVertices,f=a.crossTileID,m=i[f],g=r.opacities[f];m?g=n:g||(g=d,r.opacities[f]=g),i[f]=!0;var v=s>0||l>0,y=a.numIconVertices>0,x=r.placedOrientations[a.crossTileID],b=x===t.WritingMode.vertical,w=x===t.WritingMode.horizontal||x===t.WritingMode.horizontalOnly;if(v){var E=Se(g.text),T=b?Pe:E;_(e.text,s,T);var I=w?Pe:E;_(e.text,l,I);var C=g.text.isHidden();[a.rightJustifiedTextSymbolIndex,a.centerJustifiedTextSymbolIndex,a.leftJustifiedTextSymbolIndex].forEach((function(t){t>=0&&(e.text.placedSymbolArray.get(t).hidden=C||b?1:0);})),a.verticalPlacedTextSymbolIndex>=0&&(e.text.placedSymbolArray.get(a.verticalPlacedTextSymbolIndex).hidden=C||w?1:0);var S=r.variableOffsets[a.crossTileID];S&&r.markUsedJustification(e,S.anchor,a,x);var P=r.placedOrientations[a.crossTileID];P&&(r.markUsedJustification(e,"left",a,P),r.markUsedOrientation(e,P,a));}if(y){var z=Se(g.icon),L=!(p&&a.verticalPlacedIconSymbolIndex&&b);if(a.placedIconSymbolIndex>=0){var M=L?z:Pe;_(e.icon,a.numIconVertices,M),e.icon.placedSymbolArray.get(a.placedIconSymbolIndex).hidden=g.icon.isHidden();}if(a.verticalPlacedIconSymbolIndex>=0){var D=L?Pe:z;_(e.icon,a.numVerticalIconVertices,D),e.icon.placedSymbolArray.get(a.verticalPlacedIconSymbolIndex).hidden=g.icon.isHidden();}}if(e.hasIconCollisionBoxData()||e.hasIconCollisionCircleData()||e.hasTextCollisionBoxData()||e.hasTextCollisionCircleData()){var R=e.collisionArrays[o];if(R){var A=new t.Point(0,0);if(R.textBox||R.verticalTextBox){var k=!0;if(c){var B=r.variableOffsets[f];B?(A=me(B.anchor,B.width,B.height,B.textOffset,B.textBoxScale),u&&A._rotate(h?r.transform.angle:-r.transform.angle)):k=!1;}R.textBox&&ye(e.textCollisionBox.collisionVertexArray,g.text.placed,!k||b,A.x,A.y),R.verticalTextBox&&ye(e.textCollisionBox.collisionVertexArray,g.text.placed,!k||w,A.x,A.y);}var O=Boolean(!w&&R.verticalIconBox);R.iconBox&&ye(e.iconCollisionBox.collisionVertexArray,g.icon.placed,O,p?A.x:0,p?A.y:0),R.verticalIconBox&&ye(e.iconCollisionBox.collisionVertexArray,g.icon.placed,!O,p?A.x:0,p?A.y:0);var F=R.textCircles;if(F&&e.hasTextCollisionCircleData())for(var U=0;U<F.length;U+=5){var N=m||0===F[U+4];ye(e.textCollisionCircle.collisionVertexArray,g.text.placed,N);}}}},m=0;m<e.symbolInstances.length;m++)f(m);e.sortFeatures(this.transform.angle),this.retainedQueryData[e.bucketInstanceId]&&(this.retainedQueryData[e.bucketInstanceId].featureSortOrder=e.featureSortOrder),e.hasTextData()&&e.text.opacityVertexBuffer&&e.text.opacityVertexBuffer.updateData(e.text.opacityVertexArray),e.hasIconData()&&e.icon.opacityVertexBuffer&&e.icon.opacityVertexBuffer.updateData(e.icon.opacityVertexArray),e.hasIconCollisionBoxData()&&e.iconCollisionBox.collisionVertexBuffer&&e.iconCollisionBox.collisionVertexBuffer.updateData(e.iconCollisionBox.collisionVertexArray),e.hasTextCollisionBoxData()&&e.textCollisionBox.collisionVertexBuffer&&e.textCollisionBox.collisionVertexBuffer.updateData(e.textCollisionBox.collisionVertexArray),e.hasIconCollisionCircleData()&&e.iconCollisionCircle.collisionVertexBuffer&&e.iconCollisionCircle.collisionVertexBuffer.updateData(e.iconCollisionCircle.collisionVertexArray),e.hasTextCollisionCircleData()&&e.textCollisionCircle.collisionVertexBuffer&&e.textCollisionCircle.collisionVertexBuffer.updateData(e.textCollisionCircle.collisionVertexArray);},ve.prototype.symbolFadeChange=function(t){return 0===this.fadeDuration?1:(t-this.commitTime)/this.fadeDuration+this.prevZoomAdjustment},ve.prototype.zoomAdjustment=function(t){return Math.max(0,(this.transform.zoom-t)/1.5)},ve.prototype.hasTransitions=function(t){return this.stale||t-this.lastPlacementChangeTime<this.fadeDuration},ve.prototype.stillRecent=function(t,e){var i=this.zoomAtLastRecencyCheck===e?1-this.zoomAdjustment(e):1;return this.zoomAtLastRecencyCheck=e,this.commitTime+this.fadeDuration*i>t},ve.prototype.setStale=function(){this.stale=!0;};var xe=Math.pow(2,25),be=Math.pow(2,24),we=Math.pow(2,17),Ee=Math.pow(2,16),Te=Math.pow(2,9),Ie=Math.pow(2,8),Ce=Math.pow(2,1);function Se(t){if(0===t.opacity&&!t.placed)return 0;if(1===t.opacity&&t.placed)return 4294967295;var e=t.placed?1:0,i=Math.floor(127*t.opacity);return i*xe+e*be+i*we+e*Ee+i*Te+e*Ie+i*Ce+e}var Pe=0,ze=function(){this._currentTileIndex=0,this._seenCrossTileIDs={};};ze.prototype.continuePlacement=function(t,e,i,o,r){for(;this._currentTileIndex<t.length;){var a=t[this._currentTileIndex];if(e.placeLayerTile(o,a,i,this._seenCrossTileIDs),this._currentTileIndex++,r())return!0}};var Le=function(t,e,i,o,r,a,n){this.placement=new ve(t,r,a,n),this._currentPlacementIndex=e.length-1,this._forceFullPlacement=i,this._showCollisionBoxes=o,this._done=!1;};Le.prototype.isDone=function(){return this._done},Le.prototype.continuePlacement=function(e,i,o){for(var r=this,a=t.browser.now(),n=function(){var e=t.browser.now()-a;return!r._forceFullPlacement&&e>2};this._currentPlacementIndex>=0;){var s=i[e[this._currentPlacementIndex]],l=this.placement.collisionIndex.transform.zoom;if("symbol"===s.type&&(!s.minzoom||s.minzoom<=l)&&(!s.maxzoom||s.maxzoom>l)){if(this._inProgressLayer||(this._inProgressLayer=new ze),this._inProgressLayer.continuePlacement(o[s.source],this.placement,this._showCollisionBoxes,s,n))return;delete this._inProgressLayer;}this._currentPlacementIndex--;}this._done=!0;},Le.prototype.commit=function(t){return this.placement.commit(t),this.placement};var Me=512/t.EXTENT/2,De=function(t,e,i){this.tileID=t,this.indexedSymbolInstances={},this.bucketInstanceId=i;for(var o=0;o<e.length;o++){var r=e.get(o),a=r.key;this.indexedSymbolInstances[a]||(this.indexedSymbolInstances[a]=[]),this.indexedSymbolInstances[a].push({crossTileID:r.crossTileID,coord:this.getScaledCoordinates(r,t)});}};De.prototype.getScaledCoordinates=function(e,i){var o=i.canonical.z-this.tileID.canonical.z,r=Me/Math.pow(2,o);return{x:Math.floor((i.canonical.x*t.EXTENT+e.anchorX)*r),y:Math.floor((i.canonical.y*t.EXTENT+e.anchorY)*r)}},De.prototype.findMatches=function(t,e,i){for(var o=this.tileID.canonical.z<e.canonical.z?1:Math.pow(2,this.tileID.canonical.z-e.canonical.z),r=0;r<t.length;r++){var a=t.get(r);if(!a.crossTileID){var n=this.indexedSymbolInstances[a.key];if(n)for(var s=this.getScaledCoordinates(a,e),l=0,c=n;l<c.length;l+=1){var u=c[l];if(Math.abs(u.coord.x-s.x)<=o&&Math.abs(u.coord.y-s.y)<=o&&!i[u.crossTileID]){i[u.crossTileID]=!0,a.crossTileID=u.crossTileID;break}}}}};var Re=function(){this.maxCrossTileID=0;};Re.prototype.generate=function(){return++this.maxCrossTileID};var Ae=function(){this.indexes={},this.usedCrossTileIDs={},this.lng=0;};Ae.prototype.handleWrapJump=function(t){var e=Math.round((t-this.lng)/360);if(0!==e)for(var i in this.indexes){var o=this.indexes[i],r={};for(var a in o){var n=o[a];n.tileID=n.tileID.unwrapTo(n.tileID.wrap+e),r[n.tileID.key]=n;}this.indexes[i]=r;}this.lng=t;},Ae.prototype.addBucket=function(t,e,i){if(this.indexes[t.overscaledZ]&&this.indexes[t.overscaledZ][t.key]){if(this.indexes[t.overscaledZ][t.key].bucketInstanceId===e.bucketInstanceId)return!1;this.removeBucketCrossTileIDs(t.overscaledZ,this.indexes[t.overscaledZ][t.key]);}for(var o=0;o<e.symbolInstances.length;o++){e.symbolInstances.get(o).crossTileID=0;}this.usedCrossTileIDs[t.overscaledZ]||(this.usedCrossTileIDs[t.overscaledZ]={});var r=this.usedCrossTileIDs[t.overscaledZ];for(var a in this.indexes){var n=this.indexes[a];if(Number(a)>t.overscaledZ)for(var s in n){var l=n[s];l.tileID.isChildOf(t)&&l.findMatches(e.symbolInstances,t,r);}else{var c=n[t.scaledTo(Number(a)).key];c&&c.findMatches(e.symbolInstances,t,r);}}for(var u=0;u<e.symbolInstances.length;u++){var h=e.symbolInstances.get(u);h.crossTileID||(h.crossTileID=i.generate(),r[h.crossTileID]=!0);}return void 0===this.indexes[t.overscaledZ]&&(this.indexes[t.overscaledZ]={}),this.indexes[t.overscaledZ][t.key]=new De(t,e.symbolInstances,e.bucketInstanceId),!0},Ae.prototype.removeBucketCrossTileIDs=function(t,e){for(var i in e.indexedSymbolInstances)for(var o=0,r=e.indexedSymbolInstances[i];o<r.length;o+=1){var a=r[o];delete this.usedCrossTileIDs[t][a.crossTileID];}},Ae.prototype.removeStaleBuckets=function(t){var e=!1;for(var i in this.indexes){var o=this.indexes[i];for(var r in o)t[o[r].bucketInstanceId]||(this.removeBucketCrossTileIDs(i,o[r]),delete o[r],e=!0);}return e};var ke=function(){this.layerIndexes={},this.crossTileIDs=new Re,this.maxBucketInstanceId=0,this.bucketsInCurrentPlacement={};};ke.prototype.addLayer=function(t,e,i){var o=this.layerIndexes[t.id];void 0===o&&(o=this.layerIndexes[t.id]=new Ae);var r=!1,a={};o.handleWrapJump(i);for(var n=0,s=e;n<s.length;n+=1){var l=s[n],c=l.getBucket(t);c&&t.id===c.layerIds[0]&&(c.bucketInstanceId||(c.bucketInstanceId=++this.maxBucketInstanceId),o.addBucket(l.tileID,c,this.crossTileIDs)&&(r=!0),a[c.bucketInstanceId]=!0);}return o.removeStaleBuckets(a)&&(r=!0),r},ke.prototype.pruneUnusedLayers=function(t){var e={};for(var i in t.forEach((function(t){e[t]=!0;})),this.layerIndexes)e[i]||delete this.layerIndexes[i];};var Be=function(e,i){return t.emitValidationErrors(e,i&&i.filter((function(t){return "source.canvas"!==t.identifier})))},Oe=t.pick(Ut,["addLayer","removeLayer","setPaintProperty","setLayoutProperty","setFilter","addSource","removeSource","setLayerZoomRange","setLight","setTransition","setGeoJSONSourceData"]),Fe=t.pick(Ut,["setCenter","setZoom","setBearing","setPitch"]),Ue=function(e){function i(o,r){var a=this;void 0===r&&(r={}),e.call(this),this.map=o,this.dispatcher=new T((kt||(kt=new At),kt),this),this.imageManager=new p,this.imageManager.setEventedParent(this),this.glyphManager=new y(o._requestManager,r.localIdeographFontFamily),this.lineAtlas=new E(256,512),this.crossTileSymbolIndex=new ke,this._layers={},this._order=[],this.sourceCaches={},this.zoomHistory=new t.ZoomHistory,this._loaded=!1,this._resetUpdates(),this.dispatcher.broadcast("setReferrer",t.getReferrer());var n=this;this._rtlTextPluginCallback=i.registerForPluginAvailability((function(t){for(var e in n.dispatcher.broadcast("loadRTLTextPlugin",t.pluginURL,t.completionCallback),n.sourceCaches)n.sourceCaches[e].reload();})),this.on("data",(function(t){if("source"===t.dataType&&"metadata"===t.sourceDataType){var e=a.sourceCaches[t.sourceId];if(e){var i=e.getSource();if(i&&i.vectorLayerIds)for(var o in a._layers){var r=a._layers[o];r.source===i.id&&a._validateLayer(r);}}}}));}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.loadURL=function(e,i){var o=this;void 0===i&&(i={}),this.fire(new t.Event("dataloading",{dataType:"style"}));var r="boolean"==typeof i.validate?i.validate:!t.isMapboxURL(e);e=this.map._requestManager.normalizeStyleURL(e,i.accessToken);var a=this.map._requestManager.transformRequest(e,t.ResourceType.Style);this._request=t.getJSON(a,(function(e,i){o._request=null,e?o.fire(new t.ErrorEvent(e)):i&&o._load(i,r);}));},i.prototype.loadJSON=function(e,i){var o=this;void 0===i&&(i={}),this.fire(new t.Event("dataloading",{dataType:"style"})),this._request=t.browser.frame((function(){o._request=null,o._load(e,!1!==i.validate);}));},i.prototype._load=function(e,i){var o=this;if(!i||!Be(this,t.validateStyle(e))){for(var r in this._loaded=!0,this.stylesheet=e,e.sources)this.addSource(r,e.sources[r],{validate:!1});e.sprite?this._spriteRequest=function(e,i,o){var r,a,n,s=t.browser.devicePixelRatio>1?"@2x":"",l=t.getJSON(i.transformRequest(i.normalizeSpriteURL(e,s,".json"),t.ResourceType.SpriteJSON),(function(t,e){l=null,n||(n=t,r=e,u());})),c=t.getImage(i.transformRequest(i.normalizeSpriteURL(e,s,".png"),t.ResourceType.SpriteImage),(function(t,e){c=null,n||(n=t,a=e,u());}));function u(){if(n)o(n);else if(r&&a){var e=t.browser.getImageData(a),i={};for(var s in r){var l=r[s],c=l.width,u=l.height,h=l.x,p=l.y,d=l.sdf,_=l.pixelRatio,f=new t.RGBAImage({width:c,height:u});t.RGBAImage.copy(e,f,{x:h,y:p},{x:0,y:0},{width:c,height:u}),i[s]={data:f,pixelRatio:_,sdf:d};}o(null,i);}}return{cancel:function(){l&&(l.cancel(),l=null),c&&(c.cancel(),c=null);}}}(e.sprite,this.map._requestManager,(function(e,i){if(o._spriteRequest=null,e)o.fire(new t.ErrorEvent(e));else if(i)for(var r in i)o.imageManager.addImage(r,i[r]);o.imageManager.setLoaded(!0),o.dispatcher.broadcast("setImages",o.imageManager.listImages()),o.fire(new t.Event("data",{dataType:"style"}));})):this.imageManager.setLoaded(!0),this.glyphManager.setURL(e.glyphs);var a=Ft(this.stylesheet.layers);this._order=a.map((function(t){return t.id})),this._layers={};for(var n=0,s=a;n<s.length;n+=1){var l=s[n];(l=t.createStyleLayer(l)).setEventedParent(this,{layer:{id:l.id}}),this._layers[l.id]=l;}this.dispatcher.broadcast("setLayers",this._serializeLayers(this._order)),this.light=new w(this.stylesheet.light),this.fire(new t.Event("data",{dataType:"style"})),this.fire(new t.Event("style.load"));}},i.prototype._validateLayer=function(e){var i=this.sourceCaches[e.source];if(i){var o=e.sourceLayer;if(o){var r=i.getSource();("geojson"===r.type||r.vectorLayerIds&&-1===r.vectorLayerIds.indexOf(o))&&this.fire(new t.ErrorEvent(new Error('Source layer "'+o+'" does not exist on source "'+r.id+'" as specified by style layer "'+e.id+'"')));}}},i.prototype.loaded=function(){if(!this._loaded)return!1;if(Object.keys(this._updatedSources).length)return!1;for(var t in this.sourceCaches)if(!this.sourceCaches[t].loaded())return!1;return!!this.imageManager.isLoaded()},i.prototype._serializeLayers=function(t){for(var e=[],i=0,o=t;i<o.length;i+=1){var r=o[i],a=this._layers[r];"custom"!==a.type&&e.push(a.serialize());}return e},i.prototype.hasTransitions=function(){if(this.light&&this.light.hasTransition())return!0;for(var t in this.sourceCaches)if(this.sourceCaches[t].hasTransition())return!0;for(var e in this._layers)if(this._layers[e].hasTransition())return!0;return!1},i.prototype._checkLoaded=function(){if(!this._loaded)throw new Error("Style is not done loading")},i.prototype.update=function(e){if(this._loaded){var i=this._changed;if(this._changed){var o=Object.keys(this._updatedLayers),r=Object.keys(this._removedLayers);for(var a in(o.length||r.length)&&this._updateWorkerLayers(o,r),this._updatedSources){var n=this._updatedSources[a];"reload"===n?this._reloadSource(a):"clear"===n&&this._clearSource(a);}for(var s in this._updatedPaintProps)this._layers[s].updateTransitions(e);this.light.updateTransitions(e),this._resetUpdates();}for(var l in this.sourceCaches)this.sourceCaches[l].used=!1;for(var c=0,u=this._order;c<u.length;c+=1){var h=u[c],p=this._layers[h];p.recalculate(e,this.imageManager.listImages()),!p.isHidden(e.zoom)&&p.source&&(this.sourceCaches[p.source].used=!0);}this.light.recalculate(e),this.z=e.zoom,i&&this.fire(new t.Event("data",{dataType:"style"}));}},i.prototype._updateWorkerLayers=function(t,e){this.dispatcher.broadcast("updateLayers",{layers:this._serializeLayers(t),removedIds:e});},i.prototype._resetUpdates=function(){this._changed=!1,this._updatedLayers={},this._removedLayers={},this._updatedSources={},this._updatedPaintProps={};},i.prototype.setState=function(e){var i=this;if(this._checkLoaded(),Be(this,t.validateStyle(e)))return!1;(e=t.clone$1(e)).layers=Ft(e.layers);var o=Xt(this.serialize(),e).filter((function(t){return!(t.command in Fe)}));if(0===o.length)return!1;var r=o.filter((function(t){return!(t.command in Oe)}));if(r.length>0)throw new Error("Unimplemented: "+r.map((function(t){return t.command})).join(", ")+".");return o.forEach((function(t){"setTransition"!==t.command&&i[t.command].apply(i,t.args);})),this.stylesheet=e,!0},i.prototype.addImage=function(e,i){if(this.getImage(e))return this.fire(new t.ErrorEvent(new Error("An image with this name already exists.")));this.imageManager.addImage(e,i),this.fire(new t.Event("data",{dataType:"style"}));},i.prototype.updateImage=function(t,e){this.imageManager.updateImage(t,e);},i.prototype.getImage=function(t){return this.imageManager.getImage(t)},i.prototype.removeImage=function(e){if(!this.getImage(e))return this.fire(new t.ErrorEvent(new Error("No image with this name exists.")));this.imageManager.removeImage(e),this.fire(new t.Event("data",{dataType:"style"}));},i.prototype.listImages=function(){return this._checkLoaded(),this.imageManager.listImages()},i.prototype.addSource=function(e,i,o){var r=this;if(void 0===o&&(o={}),this._checkLoaded(),void 0!==this.sourceCaches[e])throw new Error("There is already a source with this ID");if(!i.type)throw new Error("The type property must be defined, but the only the following properties were given: "+Object.keys(i).join(", ")+".");if(!(["vector","raster","geojson","video","image"].indexOf(i.type)>=0)||!this._validate(t.validateStyle.source,"sources."+e,i,null,o)){this.map&&this.map._collectResourceTiming&&(i.collectResourceTiming=!0);var a=this.sourceCaches[e]=new Lt(e,i,this.dispatcher);a.style=this,a.setEventedParent(this,(function(){return{isSourceLoaded:r.loaded(),source:a.serialize(),sourceId:e}})),a.onAdd(this.map),this._changed=!0;}},i.prototype.removeSource=function(e){if(this._checkLoaded(),void 0===this.sourceCaches[e])throw new Error("There is no source with this ID");for(var i in this._layers)if(this._layers[i].source===e)return this.fire(new t.ErrorEvent(new Error('Source "'+e+'" cannot be removed while layer "'+i+'" is using it.')));var o=this.sourceCaches[e];delete this.sourceCaches[e],delete this._updatedSources[e],o.fire(new t.Event("data",{sourceDataType:"metadata",dataType:"source",sourceId:e})),o.setEventedParent(null),o.clearTiles(),o.onRemove&&o.onRemove(this.map),this._changed=!0;},i.prototype.setGeoJSONSourceData=function(t,e){this._checkLoaded(),this.sourceCaches[t].getSource().setData(e),this._changed=!0;},i.prototype.getSource=function(t){return this.sourceCaches[t]&&this.sourceCaches[t].getSource()},i.prototype.addLayer=function(e,i,o){void 0===o&&(o={}),this._checkLoaded();var r=e.id;if(this.getLayer(r))this.fire(new t.ErrorEvent(new Error('Layer with id "'+r+'" already exists on this map')));else{var a;if("custom"===e.type){if(Be(this,t.validateCustomStyleLayer(e)))return;a=t.createStyleLayer(e);}else{if("object"==typeof e.source&&(this.addSource(r,e.source),e=t.clone$1(e),e=t.extend(e,{source:r})),this._validate(t.validateStyle.layer,"layers."+r,e,{arrayIndex:-1},o))return;a=t.createStyleLayer(e),this._validateLayer(a),a.setEventedParent(this,{layer:{id:r}});}var n=i?this._order.indexOf(i):this._order.length;if(i&&-1===n)this.fire(new t.ErrorEvent(new Error('Layer with id "'+i+'" does not exist on this map.')));else{if(this._order.splice(n,0,r),this._layerOrderChanged=!0,this._layers[r]=a,this._removedLayers[r]&&a.source&&"custom"!==a.type){var s=this._removedLayers[r];delete this._removedLayers[r],s.type!==a.type?this._updatedSources[a.source]="clear":(this._updatedSources[a.source]="reload",this.sourceCaches[a.source].pause());}this._updateLayer(a),a.onAdd&&a.onAdd(this.map);}}},i.prototype.moveLayer=function(e,i){if(this._checkLoaded(),this._changed=!0,this._layers[e]){if(e!==i){var o=this._order.indexOf(e);this._order.splice(o,1);var r=i?this._order.indexOf(i):this._order.length;i&&-1===r?this.fire(new t.ErrorEvent(new Error('Layer with id "'+i+'" does not exist on this map.'))):(this._order.splice(r,0,e),this._layerOrderChanged=!0);}}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be moved.")));},i.prototype.removeLayer=function(e){this._checkLoaded();var i=this._layers[e];if(i){i.setEventedParent(null);var o=this._order.indexOf(e);this._order.splice(o,1),this._layerOrderChanged=!0,this._changed=!0,this._removedLayers[e]=i,delete this._layers[e],delete this._updatedLayers[e],delete this._updatedPaintProps[e],i.onRemove&&i.onRemove(this.map);}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be removed.")));},i.prototype.getLayer=function(t){return this._layers[t]},i.prototype.setLayerZoomRange=function(e,i,o){this._checkLoaded();var r=this.getLayer(e);r?r.minzoom===i&&r.maxzoom===o||(null!=i&&(r.minzoom=i),null!=o&&(r.maxzoom=o),this._updateLayer(r)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot have zoom extent.")));},i.prototype.setFilter=function(e,i,o){void 0===o&&(o={}),this._checkLoaded();var r=this.getLayer(e);if(r){if(!t.deepEqual(r.filter,i))return null==i?(r.filter=void 0,void this._updateLayer(r)):void(this._validate(t.validateStyle.filter,"layers."+r.id+".filter",i,null,o)||(r.filter=t.clone$1(i),this._updateLayer(r)))}else this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be filtered.")));},i.prototype.getFilter=function(e){return t.clone$1(this.getLayer(e).filter)},i.prototype.setLayoutProperty=function(e,i,o,r){void 0===r&&(r={}),this._checkLoaded();var a=this.getLayer(e);a?t.deepEqual(a.getLayoutProperty(i),o)||(a.setLayoutProperty(i,o,r),this._updateLayer(a)):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")));},i.prototype.getLayoutProperty=function(e,i){var o=this.getLayer(e);if(o)return o.getLayoutProperty(i);this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style.")));},i.prototype.setPaintProperty=function(e,i,o,r){void 0===r&&(r={}),this._checkLoaded();var a=this.getLayer(e);a?t.deepEqual(a.getPaintProperty(i),o)||(a.setPaintProperty(i,o,r)&&this._updateLayer(a),this._changed=!0,this._updatedPaintProps[e]=!0):this.fire(new t.ErrorEvent(new Error("The layer '"+e+"' does not exist in the map's style and cannot be styled.")));},i.prototype.getPaintProperty=function(t,e){return this.getLayer(t).getPaintProperty(e)},i.prototype.setFeatureState=function(e,i){this._checkLoaded();var o=e.source,r=e.sourceLayer,a=this.sourceCaches[o],n=parseInt(e.id,10);if(void 0!==a){var s=a.getSource().type;"geojson"===s&&r?this.fire(new t.ErrorEvent(new Error("GeoJSON sources cannot have a sourceLayer parameter."))):"vector"!==s||r?isNaN(n)||n<0?this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided and non-negative."))):a.setFeatureState(r,n,i):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));}else this.fire(new t.ErrorEvent(new Error("The source '"+o+"' does not exist in the map's style.")));},i.prototype.removeFeatureState=function(e,i){this._checkLoaded();var o=e.source,r=this.sourceCaches[o];if(void 0!==r){var a=r.getSource().type,n="vector"===a?e.sourceLayer:void 0,s=parseInt(e.id,10);"vector"!==a||n?void 0!==e.id&&isNaN(s)||s<0?this.fire(new t.ErrorEvent(new Error("The feature id parameter must be non-negative."))):i&&"string"!=typeof e.id&&"number"!=typeof e.id?this.fire(new t.ErrorEvent(new Error("A feature id is requred to remove its specific state property."))):r.removeFeatureState(n,s,i):this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));}else this.fire(new t.ErrorEvent(new Error("The source '"+o+"' does not exist in the map's style.")));},i.prototype.getFeatureState=function(e){this._checkLoaded();var i=e.source,o=e.sourceLayer,r=this.sourceCaches[i],a=parseInt(e.id,10);if(void 0!==r)if("vector"!==r.getSource().type||o){if(!(isNaN(a)||a<0))return r.getFeatureState(o,a);this.fire(new t.ErrorEvent(new Error("The feature id parameter must be provided and non-negative.")));}else this.fire(new t.ErrorEvent(new Error("The sourceLayer parameter must be provided for vector source types.")));else this.fire(new t.ErrorEvent(new Error("The source '"+i+"' does not exist in the map's style.")));},i.prototype.getTransition=function(){return t.extend({duration:300,delay:0},this.stylesheet&&this.stylesheet.transition)},i.prototype.serialize=function(){return t.filterObject({version:this.stylesheet.version,name:this.stylesheet.name,metadata:this.stylesheet.metadata,light:this.stylesheet.light,center:this.stylesheet.center,zoom:this.stylesheet.zoom,bearing:this.stylesheet.bearing,pitch:this.stylesheet.pitch,sprite:this.stylesheet.sprite,glyphs:this.stylesheet.glyphs,transition:this.stylesheet.transition,sources:t.mapObject(this.sourceCaches,(function(t){return t.serialize()})),layers:this._serializeLayers(this._order)},(function(t){return void 0!==t}))},i.prototype._updateLayer=function(t){this._updatedLayers[t.id]=!0,t.source&&!this._updatedSources[t.source]&&(this._updatedSources[t.source]="reload",this.sourceCaches[t.source].pause()),this._changed=!0;},i.prototype._flattenAndSortRenderedFeatures=function(t){for(var e=this,i=function(t){return "fill-extrusion"===e._layers[t].type},o={},r=[],a=this._order.length-1;a>=0;a--){var n=this._order[a];if(i(n)){o[n]=a;for(var s=0,l=t;s<l.length;s+=1){var c=l[s][n];if(c)for(var u=0,h=c;u<h.length;u+=1){var p=h[u];r.push(p);}}}}r.sort((function(t,e){return e.intersectionZ-t.intersectionZ}));for(var d=[],_=this._order.length-1;_>=0;_--){var f=this._order[_];if(i(f))for(var m=r.length-1;m>=0;m--){var g=r[m].feature;if(o[g.layer.id]<_)break;d.push(g),r.pop();}else for(var v=0,y=t;v<y.length;v+=1){var x=y[v][f];if(x)for(var b=0,w=x;b<w.length;b+=1){var E=w[b];d.push(E.feature);}}}return d},i.prototype.queryRenderedFeatures=function(e,i,o){i&&i.filter&&this._validate(t.validateStyle.filter,"queryRenderedFeatures.filter",i.filter,null,i);var r={};if(i&&i.layers){if(!Array.isArray(i.layers))return this.fire(new t.ErrorEvent(new Error("parameters.layers must be an Array."))),[];for(var a=0,n=i.layers;a<n.length;a+=1){var s=n[a],l=this._layers[s];if(!l)return this.fire(new t.ErrorEvent(new Error("The layer '"+s+"' does not exist in the map's style and cannot be queried for features."))),[];r[l.source]=!0;}}var c=[];for(var u in this.sourceCaches)i.layers&&!r[u]||c.push(O(this.sourceCaches[u],this._layers,e,i,o));return this.placement&&c.push(function(t,e,i,o,r,a){for(var n={},s=r.queryRenderedSymbols(i),l=[],c=0,u=Object.keys(s).map(Number);c<u.length;c+=1){var h=u[c];l.push(a[h]);}l.sort(F);for(var p=function(){var e=_[d],i=e.featureIndex.lookupSymbolFeatures(s[e.bucketInstanceId],e.bucketIndex,e.sourceLayerIndex,o.filter,o.layers,t);for(var r in i){var a=n[r]=n[r]||[],l=i[r];l.sort((function(t,i){var o=e.featureSortOrder;if(o){var r=o.indexOf(t.featureIndex);return o.indexOf(i.featureIndex)-r}return i.featureIndex-t.featureIndex}));for(var c=0,u=l;c<u.length;c+=1){var h=u[c];a.push(h);}}},d=0,_=l;d<_.length;d+=1)p();var f=function(i){n[i].forEach((function(o){var r=o.feature,a=t[i],n=e[a.source].getFeatureState(r.layer["source-layer"],r.id);r.source=r.layer.source,r.layer["source-layer"]&&(r.sourceLayer=r.layer["source-layer"]),r.state=n;}));};for(var m in n)f(m);return n}(this._layers,this.sourceCaches,e,i,this.placement.collisionIndex,this.placement.retainedQueryData)),this._flattenAndSortRenderedFeatures(c)},i.prototype.querySourceFeatures=function(e,i){i&&i.filter&&this._validate(t.validateStyle.filter,"querySourceFeatures.filter",i.filter,null,i);var o=this.sourceCaches[e];return o?function(t,e){for(var i=t.getRenderableIds().map((function(e){return t.getTileByID(e)})),o=[],r={},a=0;a<i.length;a++){var n=i[a],s=n.tileID.canonical.key;r[s]||(r[s]=!0,n.querySourceFeatures(o,e));}return o}(o,i):[]},i.prototype.addSourceType=function(t,e,o){return i.getSourceType(t)?o(new Error('A source type called "'+t+'" already exists.')):(i.setSourceType(t,e),e.workerSourceURL?void this.dispatcher.broadcast("loadWorkerSource",{name:t,url:e.workerSourceURL},o):o(null,null))},i.prototype.getLight=function(){return this.light.getLight()},i.prototype.setLight=function(e,i){void 0===i&&(i={}),this._checkLoaded();var o=this.light.getLight(),r=!1;for(var a in e)if(!t.deepEqual(e[a],o[a])){r=!0;break}if(r){var n={now:t.browser.now(),transition:t.extend({duration:300,delay:0},this.stylesheet.transition)};this.light.setLight(e,i),this.light.updateTransitions(n);}},i.prototype._validate=function(e,i,o,r,a){return void 0===a&&(a={}),(!a||!1!==a.validate)&&Be(this,e.call(t.validateStyle,t.extend({key:i,style:this.serialize(),value:o,styleSpec:t.styleSpec},r)))},i.prototype._remove=function(){for(var e in this._request&&(this._request.cancel(),this._request=null),this._spriteRequest&&(this._spriteRequest.cancel(),this._spriteRequest=null),t.evented.off("pluginAvailable",this._rtlTextPluginCallback),this._layers){this._layers[e].setEventedParent(null);}for(var i in this.sourceCaches)this.sourceCaches[i].clearTiles(),this.sourceCaches[i].setEventedParent(null);this.imageManager.setEventedParent(null),this.setEventedParent(null),this.dispatcher.remove();},i.prototype._clearSource=function(t){this.sourceCaches[t].clearTiles();},i.prototype._reloadSource=function(t){this.sourceCaches[t].resume(),this.sourceCaches[t].reload();},i.prototype._updateSources=function(t){for(var e in this.sourceCaches)this.sourceCaches[e].update(t);},i.prototype._generateCollisionBoxes=function(){for(var t in this.sourceCaches)this._reloadSource(t);},i.prototype._updatePlacement=function(e,i,o,r){for(var a=!1,n=!1,s={},l=0,c=this._order;l<c.length;l+=1){var u=c[l],h=this._layers[u];if("symbol"===h.type){if(!s[h.source]){var p=this.sourceCaches[h.source];s[h.source]=p.getRenderableIds(!0).map((function(t){return p.getTileByID(t)})).sort((function(t,e){return e.tileID.overscaledZ-t.tileID.overscaledZ||(t.tileID.isLessThan(e.tileID)?-1:1)}));}var d=this.crossTileSymbolIndex.addLayer(h,s[h.source],e.center.lng);a=a||d;}}this.crossTileSymbolIndex.pruneUnusedLayers(this._order);var _=this._layerOrderChanged||0===o;if((_||!this.pauseablePlacement||this.pauseablePlacement.isDone()&&!this.placement.stillRecent(t.browser.now(),e.zoom))&&(this.pauseablePlacement=new Le(e,this._order,_,i,o,r,this.placement),this._layerOrderChanged=!1),this.pauseablePlacement.isDone()?this.placement.setStale():(this.pauseablePlacement.continuePlacement(this._order,this._layers,s),this.pauseablePlacement.isDone()&&(this.placement=this.pauseablePlacement.commit(t.browser.now()),n=!0),a&&this.pauseablePlacement.placement.setStale()),n||a)for(var f=0,m=this._order;f<m.length;f+=1){var g=m[f],v=this._layers[g];"symbol"===v.type&&this.placement.updateLayerOpacities(v,s[v.source]);}return!this.pauseablePlacement.isDone()||this.placement.hasTransitions(t.browser.now())},i.prototype._releaseSymbolFadeTiles=function(){for(var t in this.sourceCaches)this.sourceCaches[t].releaseSymbolFadeTiles();},i.prototype.getImages=function(t,e,i){this.imageManager.getImages(e.icons,i);},i.prototype.getGlyphs=function(t,e,i){this.glyphManager.getGlyphs(e.stacks,i);},i.prototype.getResource=function(e,i,o){return t.makeRequest(i,o)},i}(t.Evented);Ue.getSourceType=function(t){return A[t]},Ue.setSourceType=function(t,e){A[t]=e;},Ue.registerForPluginAvailability=t.registerForPluginAvailability;var Ne=t.createLayout([{name:"a_pos",type:"Int16",components:2}]),Ze=pi("#ifdef GL_ES\nprecision mediump float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif","#ifdef GL_ES\nprecision highp float;\n#else\n#if !defined(lowp)\n#define lowp\n#endif\n#if !defined(mediump)\n#define mediump\n#endif\n#if !defined(highp)\n#define highp\n#endif\n#endif\nvec2 unpack_float(const float packedValue) {int packedIntValue=int(packedValue);int v0=packedIntValue/256;return vec2(v0,packedIntValue-v0*256);}vec2 unpack_opacity(const float packedOpacity) {int intOpacity=int(packedOpacity)/2;return vec2(float(intOpacity)/127.0,mod(packedOpacity,2.0));}vec4 decode_color(const vec2 encodedColor) {return vec4(unpack_float(encodedColor[0])/255.0,unpack_float(encodedColor[1])/255.0\n);}float unpack_mix_vec2(const vec2 packedValue,const float t) {return mix(packedValue[0],packedValue[1],t);}vec4 unpack_mix_color(const vec4 packedColors,const float t) {vec4 minColor=decode_color(vec2(packedColors[0],packedColors[1]));vec4 maxColor=decode_color(vec2(packedColors[2],packedColors[3]));return mix(minColor,maxColor,t);}vec2 get_pattern_pos(const vec2 pixel_coord_upper,const vec2 pixel_coord_lower,const vec2 pattern_size,const float tile_units_to_pixels,const vec2 pos) {vec2 offset=mod(mod(mod(pixel_coord_upper,pattern_size)*256.0,pattern_size)*256.0+pixel_coord_lower,pattern_size);return (tile_units_to_pixels*pos+offset)/pattern_size;}"),qe=pi("uniform vec4 u_color;uniform float u_opacity;void main() {gl_FragColor=u_color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Ve=pi("uniform vec2 u_pattern_tl_a;uniform vec2 u_pattern_br_a;uniform vec2 u_pattern_tl_b;uniform vec2 u_pattern_br_b;uniform vec2 u_texsize;uniform float u_mix;uniform float u_opacity;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(u_pattern_tl_a/u_texsize,u_pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(u_pattern_tl_b/u_texsize,u_pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_mix)*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pattern_size_a;uniform vec2 u_pattern_size_b;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_scale_a;uniform float u_scale_b;uniform float u_tile_units_to_pixels;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_a*u_pattern_size_a,u_tile_units_to_pixels,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,u_scale_b*u_pattern_size_b,u_tile_units_to_pixels,a_pos);}"),je=pi("varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=v_data.xy;float extrude_length=length(extrude);lowp float antialiasblur=v_data.z;float antialiased_blur=-max(blur,antialiasblur);float opacity_t=smoothstep(0.0,antialiased_blur,extrude_length-1.0);float color_t=stroke_width < 0.01 ? 0.0 : smoothstep(antialiased_blur,0.0,extrude_length-radius/(radius+stroke_width));gl_FragColor=opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_ratio;uniform highp float u_camera_to_center_distance;attribute vec2 a_pos;varying vec3 v_data;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define mediump float radius\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define highp vec4 stroke_color\n#pragma mapbox: define mediump float stroke_width\n#pragma mapbox: define lowp float stroke_opacity\nvoid main(void) {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize mediump float radius\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize highp vec4 stroke_color\n#pragma mapbox: initialize mediump float stroke_width\n#pragma mapbox: initialize lowp float stroke_opacity\nvec2 extrude=vec2(mod(a_pos,2.0)*2.0-1.0);vec2 circle_center=floor(a_pos*0.5);if (u_pitch_with_map) {vec2 corner_position=circle_center;if (u_scale_with_map) {corner_position+=extrude*(radius+stroke_width)*u_extrude_scale;} else {vec4 projected_center=u_matrix*vec4(circle_center,0,1);corner_position+=extrude*(radius+stroke_width)*u_extrude_scale*(projected_center.w/u_camera_to_center_distance);}gl_Position=u_matrix*vec4(corner_position,0,1);} else {gl_Position=u_matrix*vec4(circle_center,0,1);if (u_scale_with_map) {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*u_camera_to_center_distance;} else {gl_Position.xy+=extrude*(radius+stroke_width)*u_extrude_scale*gl_Position.w;}}lowp float antialiasblur=1.0/u_device_pixel_ratio/(radius+stroke_width);v_data=vec3(extrude.x,extrude.y,antialiasblur);}"),Ge=pi("void main() {gl_FragColor=vec4(1.0);}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),We=pi("uniform highp float u_intensity;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#define GAUSS_COEF 0.3989422804014327\nvoid main() {\n#pragma mapbox: initialize highp float weight\nfloat d=-0.5*3.0*3.0*dot(v_extrude,v_extrude);float val=weight*u_intensity*GAUSS_COEF*exp(d);gl_FragColor=vec4(val,1.0,1.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform float u_extrude_scale;uniform float u_opacity;uniform float u_intensity;attribute vec2 a_pos;varying vec2 v_extrude;\n#pragma mapbox: define highp float weight\n#pragma mapbox: define mediump float radius\nconst highp float ZERO=1.0/255.0/16.0;\n#define GAUSS_COEF 0.3989422804014327\nvoid main(void) {\n#pragma mapbox: initialize highp float weight\n#pragma mapbox: initialize mediump float radius\nvec2 unscaled_extrude=vec2(mod(a_pos,2.0)*2.0-1.0);float S=sqrt(-2.0*log(ZERO/weight/u_intensity/GAUSS_COEF))/3.0;v_extrude=S*unscaled_extrude;vec2 extrude=v_extrude*radius*u_extrude_scale;vec4 pos=vec4(floor(a_pos*0.5)+extrude,0,1);gl_Position=u_matrix*pos;}"),Xe=pi("uniform sampler2D u_image;uniform sampler2D u_color_ramp;uniform float u_opacity;varying vec2 v_pos;void main() {float t=texture2D(u_image,v_pos).r;vec4 color=texture2D(u_color_ramp,vec2(t,0.5));gl_FragColor=color*u_opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(0.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;attribute vec2 a_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos*u_world,0,1);v_pos.x=a_pos.x;v_pos.y=1.0-a_pos.y;}"),He=pi("varying float v_placed;varying float v_notUsed;void main() {float alpha=0.5;gl_FragColor=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {gl_FragColor=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {gl_FragColor*=.1;}}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;attribute vec2 a_shift;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);gl_Position.xy+=(a_extrude+a_shift)*u_extrude_scale*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;}"),Ke=pi("uniform float u_overscale_factor;varying float v_placed;varying float v_notUsed;varying float v_radius;varying vec2 v_extrude;varying vec2 v_extrude_scale;void main() {float alpha=0.5;vec4 color=vec4(1.0,0.0,0.0,1.0)*alpha;if (v_placed > 0.5) {color=vec4(0.0,0.0,1.0,0.5)*alpha;}if (v_notUsed > 0.5) {color*=.2;}float extrude_scale_length=length(v_extrude_scale);float extrude_length=length(v_extrude)*extrude_scale_length;float stroke_width=15.0*extrude_scale_length/u_overscale_factor;float radius=v_radius*extrude_scale_length;float distance_to_edge=abs(extrude_length-radius);float opacity_t=smoothstep(-stroke_width,0.0,-distance_to_edge);gl_FragColor=opacity_t*color;}","attribute vec2 a_pos;attribute vec2 a_anchor_pos;attribute vec2 a_extrude;attribute vec2 a_placed;uniform mat4 u_matrix;uniform vec2 u_extrude_scale;uniform float u_camera_to_center_distance;varying float v_placed;varying float v_notUsed;varying float v_radius;varying vec2 v_extrude;varying vec2 v_extrude_scale;void main() {vec4 projectedPoint=u_matrix*vec4(a_anchor_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float collision_perspective_ratio=clamp(0.5+0.5*(u_camera_to_center_distance/camera_to_anchor_distance),0.0,4.0);gl_Position=u_matrix*vec4(a_pos,0.0,1.0);highp float padding_factor=1.2;gl_Position.xy+=a_extrude*u_extrude_scale*padding_factor*gl_Position.w*collision_perspective_ratio;v_placed=a_placed.x;v_notUsed=a_placed.y;v_radius=abs(a_extrude.y);v_extrude=a_extrude*padding_factor;v_extrude_scale=u_extrude_scale*u_camera_to_center_distance*collision_perspective_ratio;}"),Je=pi("uniform highp vec4 u_color;void main() {gl_FragColor=u_color;}","attribute vec2 a_pos;uniform mat4 u_matrix;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);}"),Ye=pi("#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_FragColor=color*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);}"),Qe=pi("varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=outline_color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","attribute vec2 a_pos;uniform mat4 u_matrix;uniform vec2 u_world;varying vec2 v_pos;\n#pragma mapbox: define highp vec4 outline_color\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 outline_color\n#pragma mapbox: initialize lowp float opacity\ngl_Position=u_matrix*vec4(a_pos,0,1);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),$e=pi("uniform vec2 u_texsize;uniform sampler2D u_image;uniform float u_fade;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);float dist=length(v_pos-gl_FragCoord.xy);float alpha=1.0-smoothstep(0.0,1.0,dist);gl_FragColor=mix(color1,color2,u_fade)*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_world;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec4 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec2 v_pos;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;gl_Position=u_matrix*vec4(a_pos,0,1);vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,a_pos);v_pos=(gl_Position.xy/gl_Position.w+1.0)/2.0*u_world;}"),ti=pi("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);gl_FragColor=mix(color1,color2,u_fade)*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform vec4 u_scale;attribute vec2 a_pos;varying vec2 v_pos_a;varying vec2 v_pos_b;\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileZoomRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);gl_Position=u_matrix*vec4(a_pos,0,1);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileZoomRatio,a_pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileZoomRatio,a_pos);}"),ei=pi("varying vec4 v_color;void main() {gl_FragColor=v_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;uniform float u_vertical_gradient;uniform lowp float u_opacity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec4 v_color;\n#pragma mapbox: define highp float base\n#pragma mapbox: define highp float height\n#pragma mapbox: define highp vec4 color\nvoid main() {\n#pragma mapbox: initialize highp float base\n#pragma mapbox: initialize highp float height\n#pragma mapbox: initialize highp vec4 color\nvec3 normal=a_normal_ed.xyz;base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);gl_Position=u_matrix*vec4(a_pos,t > 0.0 ? height : base,1);float colorvalue=color.r*0.2126+color.g*0.7152+color.b*0.0722;v_color=vec4(0.0,0.0,0.0,1.0);vec4 ambientlight=vec4(0.03,0.03,0.03,1.0);color+=ambientlight;float directional=clamp(dot(normal/16384.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((1.0-colorvalue+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_color.r+=clamp(color.r*directional*u_lightcolor.r,mix(0.0,0.3,1.0-u_lightcolor.r),1.0);v_color.g+=clamp(color.g*directional*u_lightcolor.g,mix(0.0,0.3,1.0-u_lightcolor.g),1.0);v_color.b+=clamp(color.b*directional*u_lightcolor.b,mix(0.0,0.3,1.0-u_lightcolor.b),1.0);v_color*=u_opacity;}"),ii=pi("uniform vec2 u_texsize;uniform float u_fade;uniform sampler2D u_image;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;vec2 imagecoord=mod(v_pos_a,1.0);vec2 pos=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,imagecoord);vec4 color1=texture2D(u_image,pos);vec2 imagecoord_b=mod(v_pos_b,1.0);vec2 pos2=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,imagecoord_b);vec4 color2=texture2D(u_image,pos2);vec4 mixedColor=mix(color1,color2,u_fade);gl_FragColor=mixedColor*v_lighting;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_pixel_coord_upper;uniform vec2 u_pixel_coord_lower;uniform float u_height_factor;uniform vec4 u_scale;uniform float u_vertical_gradient;uniform lowp float u_opacity;uniform vec3 u_lightcolor;uniform lowp vec3 u_lightpos;uniform lowp float u_lightintensity;attribute vec2 a_pos;attribute vec4 a_normal_ed;varying vec2 v_pos_a;varying vec2 v_pos_b;varying vec4 v_lighting;\n#pragma mapbox: define lowp float base\n#pragma mapbox: define lowp float height\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float base\n#pragma mapbox: initialize lowp float height\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec3 normal=a_normal_ed.xyz;float edgedistance=a_normal_ed.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);base=max(0.0,base);height=max(0.0,height);float t=mod(normal.x,2.0);float z=t > 0.0 ? height : base;gl_Position=u_matrix*vec4(a_pos,z,1);vec2 pos=normal.x==1.0 && normal.y==0.0 && normal.z==16384.0\n? a_pos\n: vec2(edgedistance,z*u_height_factor);v_pos_a=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,fromScale*display_size_a,tileRatio,pos);v_pos_b=get_pattern_pos(u_pixel_coord_upper,u_pixel_coord_lower,toScale*display_size_b,tileRatio,pos);v_lighting=vec4(0.0,0.0,0.0,1.0);float directional=clamp(dot(normal/16383.0,u_lightpos),0.0,1.0);directional=mix((1.0-u_lightintensity),max((0.5+u_lightintensity),1.0),directional);if (normal.y !=0.0) {directional*=((1.0-u_vertical_gradient)+(u_vertical_gradient*clamp((t+base)*pow(height/150.0,0.5),mix(0.7,0.98,1.0-u_lightintensity),1.0)));}v_lighting.rgb+=clamp(directional*u_lightcolor,mix(vec3(0.0),vec3(0.3),1.0-u_lightcolor),vec3(1.0));v_lighting*=u_opacity;}"),oi=pi("#ifdef GL_ES\nprecision highp float;\n#endif\nuniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_dimension;uniform float u_zoom;uniform float u_maxzoom;uniform vec4 u_unpack;float getElevation(vec2 coord,float bias) {vec4 data=texture2D(u_image,coord)*255.0;data.a=-1.0;return dot(data,u_unpack)/4.0;}void main() {vec2 epsilon=1.0/u_dimension;float a=getElevation(v_pos+vec2(-epsilon.x,-epsilon.y),0.0);float b=getElevation(v_pos+vec2(0,-epsilon.y),0.0);float c=getElevation(v_pos+vec2(epsilon.x,-epsilon.y),0.0);float d=getElevation(v_pos+vec2(-epsilon.x,0),0.0);float e=getElevation(v_pos,0.0);float f=getElevation(v_pos+vec2(epsilon.x,0),0.0);float g=getElevation(v_pos+vec2(-epsilon.x,epsilon.y),0.0);float h=getElevation(v_pos+vec2(0,epsilon.y),0.0);float i=getElevation(v_pos+vec2(epsilon.x,epsilon.y),0.0);float exaggeration=u_zoom < 2.0 ? 0.4 : u_zoom < 4.5 ? 0.35 : 0.3;vec2 deriv=vec2((c+f+f+i)-(a+d+d+g),(g+h+h+i)-(a+b+b+c))/ pow(2.0,(u_zoom-u_maxzoom)*exaggeration+19.2562-u_zoom);gl_FragColor=clamp(vec4(deriv.x/2.0+0.5,deriv.y/2.0+0.5,1.0,1.0),0.0,1.0);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_dimension;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);highp vec2 epsilon=1.0/u_dimension;float scale=(u_dimension.x-2.0)/u_dimension.x;v_pos=(a_texture_pos/8192.0)*scale+epsilon;}"),ri=pi("uniform sampler2D u_image;varying vec2 v_pos;uniform vec2 u_latrange;uniform vec2 u_light;uniform vec4 u_shadow;uniform vec4 u_highlight;uniform vec4 u_accent;\n#define PI 3.141592653589793\nvoid main() {vec4 pixel=texture2D(u_image,v_pos);vec2 deriv=((pixel.rg*2.0)-1.0);float scaleFactor=cos(radians((u_latrange[0]-u_latrange[1])*(1.0-v_pos.y)+u_latrange[1]));float slope=atan(1.25*length(deriv)/scaleFactor);float aspect=deriv.x !=0.0 ? atan(deriv.y,-deriv.x) : PI/2.0*(deriv.y > 0.0 ? 1.0 :-1.0);float intensity=u_light.x;float azimuth=u_light.y+PI;float base=1.875-intensity*1.75;float maxValue=0.5*PI;float scaledSlope=intensity !=0.5 ? ((pow(base,slope)-1.0)/(pow(base,maxValue)-1.0))*maxValue : slope;float accent=cos(scaledSlope);vec4 accent_color=(1.0-accent)*u_accent*clamp(intensity*2.0,0.0,1.0);float shade=abs(mod((aspect+azimuth)/PI+0.5,2.0)-1.0);vec4 shade_color=mix(u_shadow,u_highlight,shade)*sin(scaledSlope)*clamp(intensity*2.0,0.0,1.0);gl_FragColor=accent_color*(1.0-shade_color.a)+shade_color;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos=a_texture_pos/8192.0;}"),ai=pi("uniform lowp float u_device_pixel_ratio;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform vec2 u_units_to_pixels;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_linesofar;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),ni=pi("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;varying vec2 v_width2;varying vec2 v_normal;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);vec4 color=texture2D(u_image,vec2(v_lineprogress,0.5));gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define MAX_LINE_DISTANCE 32767.0\n#define scale 0.015873016\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying float v_gamma_scale;varying highp float v_lineprogress;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;v_lineprogress=(floor(a_data.z/4.0)+a_data.w*64.0)*2.0/MAX_LINE_DISTANCE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_width2=vec2(outset,inset);}"),si=pi("uniform lowp float u_device_pixel_ratio;uniform vec2 u_texsize;uniform float u_fade;uniform mediump vec4 u_scale;uniform sampler2D u_image;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\nvec2 pattern_tl_a=pattern_from.xy;vec2 pattern_br_a=pattern_from.zw;vec2 pattern_tl_b=pattern_to.xy;vec2 pattern_br_b=pattern_to.zw;float pixelRatio=u_scale.x;float tileZoomRatio=u_scale.y;float fromScale=u_scale.z;float toScale=u_scale.w;vec2 display_size_a=vec2((pattern_br_a.x-pattern_tl_a.x)/pixelRatio,(pattern_br_a.y-pattern_tl_a.y)/pixelRatio);vec2 display_size_b=vec2((pattern_br_b.x-pattern_tl_b.x)/pixelRatio,(pattern_br_b.y-pattern_tl_b.y)/pixelRatio);vec2 pattern_size_a=vec2(display_size_a.x*fromScale/tileZoomRatio,display_size_a.y);vec2 pattern_size_b=vec2(display_size_b.x*toScale/tileZoomRatio,display_size_b.y);float dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float x_a=mod(v_linesofar/pattern_size_a.x,1.0);float x_b=mod(v_linesofar/pattern_size_b.x,1.0);float y_a=0.5+(v_normal.y*clamp(v_width2.s,0.0,(pattern_size_a.y+2.0)/2.0)/pattern_size_a.y);float y_b=0.5+(v_normal.y*clamp(v_width2.s,0.0,(pattern_size_b.y+2.0)/2.0)/pattern_size_b.y);vec2 pos_a=mix(pattern_tl_a/u_texsize,pattern_br_a/u_texsize,vec2(x_a,y_a));vec2 pos_b=mix(pattern_tl_b/u_texsize,pattern_br_b/u_texsize,vec2(x_b,y_b));vec4 color=mix(texture2D(u_image,pos_a),texture2D(u_image,pos_b),u_fade);gl_FragColor=color*alpha*opacity;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform vec2 u_units_to_pixels;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;varying vec2 v_normal;varying vec2 v_width2;varying float v_linesofar;varying float v_gamma_scale;\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp vec4 pattern_from\n#pragma mapbox: define lowp vec4 pattern_to\nvoid main() {\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize mediump vec4 pattern_from\n#pragma mapbox: initialize mediump vec4 pattern_to\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_linesofar=a_linesofar;v_width2=vec2(outset,inset);}"),li=pi("uniform lowp float u_device_pixel_ratio;uniform sampler2D u_image;uniform float u_sdfgamma;uniform float u_mix;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat dist=length(v_normal)*v_width2.s;float blur2=(blur+1.0/u_device_pixel_ratio)*v_gamma_scale;float alpha=clamp(min(dist-(v_width2.t-blur2),v_width2.s-dist)/blur2,0.0,1.0);float sdfdist_a=texture2D(u_image,v_tex_a).a;float sdfdist_b=texture2D(u_image,v_tex_b).a;float sdfdist=mix(sdfdist_a,sdfdist_b,u_mix);alpha*=smoothstep(0.5-u_sdfgamma/floorwidth,0.5+u_sdfgamma/floorwidth,sdfdist);gl_FragColor=color*(alpha*opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","\n#define scale 0.015873016\n#define LINE_DISTANCE_SCALE 2.0\nattribute vec2 a_pos_normal;attribute vec4 a_data;uniform mat4 u_matrix;uniform mediump float u_ratio;uniform lowp float u_device_pixel_ratio;uniform vec2 u_patternscale_a;uniform float u_tex_y_a;uniform vec2 u_patternscale_b;uniform float u_tex_y_b;uniform vec2 u_units_to_pixels;varying vec2 v_normal;varying vec2 v_width2;varying vec2 v_tex_a;varying vec2 v_tex_b;varying float v_gamma_scale;\n#pragma mapbox: define highp vec4 color\n#pragma mapbox: define lowp float blur\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define mediump float gapwidth\n#pragma mapbox: define lowp float offset\n#pragma mapbox: define mediump float width\n#pragma mapbox: define lowp float floorwidth\nvoid main() {\n#pragma mapbox: initialize highp vec4 color\n#pragma mapbox: initialize lowp float blur\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize mediump float gapwidth\n#pragma mapbox: initialize lowp float offset\n#pragma mapbox: initialize mediump float width\n#pragma mapbox: initialize lowp float floorwidth\nfloat ANTIALIASING=1.0/u_device_pixel_ratio/2.0;vec2 a_extrude=a_data.xy-128.0;float a_direction=mod(a_data.z,4.0)-1.0;float a_linesofar=(floor(a_data.z/4.0)+a_data.w*64.0)*LINE_DISTANCE_SCALE;vec2 pos=floor(a_pos_normal*0.5);mediump vec2 normal=a_pos_normal-2.0*pos;normal.y=normal.y*2.0-1.0;v_normal=normal;gapwidth=gapwidth/2.0;float halfwidth=width/2.0;offset=-1.0*offset;float inset=gapwidth+(gapwidth > 0.0 ? ANTIALIASING : 0.0);float outset=gapwidth+halfwidth*(gapwidth > 0.0 ? 2.0 : 1.0)+(halfwidth==0.0 ? 0.0 : ANTIALIASING);mediump vec2 dist=outset*a_extrude*scale;mediump float u=0.5*a_direction;mediump float t=1.0-abs(u);mediump vec2 offset2=offset*a_extrude*scale*normal.y*mat2(t,-u,u,t);vec4 projected_extrude=u_matrix*vec4(dist/u_ratio,0.0,0.0);gl_Position=u_matrix*vec4(pos+offset2/u_ratio,0.0,1.0)+projected_extrude;float extrude_length_without_perspective=length(dist);float extrude_length_with_perspective=length(projected_extrude.xy/gl_Position.w*u_units_to_pixels);v_gamma_scale=extrude_length_without_perspective/extrude_length_with_perspective;v_tex_a=vec2(a_linesofar*u_patternscale_a.x/floorwidth,normal.y*u_patternscale_a.y+u_tex_y_a);v_tex_b=vec2(a_linesofar*u_patternscale_b.x/floorwidth,normal.y*u_patternscale_b.y+u_tex_y_b);v_width2=vec2(outset,inset);}"),ci=pi("uniform float u_fade_t;uniform float u_opacity;uniform sampler2D u_image0;uniform sampler2D u_image1;varying vec2 v_pos0;varying vec2 v_pos1;uniform float u_brightness_low;uniform float u_brightness_high;uniform float u_saturation_factor;uniform float u_contrast_factor;uniform vec3 u_spin_weights;void main() {vec4 color0=texture2D(u_image0,v_pos0);vec4 color1=texture2D(u_image1,v_pos1);if (color0.a > 0.0) {color0.rgb=color0.rgb/color0.a;}if (color1.a > 0.0) {color1.rgb=color1.rgb/color1.a;}vec4 color=mix(color0,color1,u_fade_t);color.a*=u_opacity;vec3 rgb=color.rgb;rgb=vec3(dot(rgb,u_spin_weights.xyz),dot(rgb,u_spin_weights.zxy),dot(rgb,u_spin_weights.yzx));float average=(color.r+color.g+color.b)/3.0;rgb+=(average-rgb)*u_saturation_factor;rgb=(rgb-0.5)*u_contrast_factor+0.5;vec3 u_high_vec=vec3(u_brightness_low,u_brightness_low,u_brightness_low);vec3 u_low_vec=vec3(u_brightness_high,u_brightness_high,u_brightness_high);gl_FragColor=vec4(mix(u_high_vec,u_low_vec,rgb)*color.a,color.a);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform vec2 u_tl_parent;uniform float u_scale_parent;uniform float u_buffer_scale;attribute vec2 a_pos;attribute vec2 a_texture_pos;varying vec2 v_pos0;varying vec2 v_pos1;void main() {gl_Position=u_matrix*vec4(a_pos,0,1);v_pos0=(((a_texture_pos/8192.0)-0.5)/u_buffer_scale )+0.5;v_pos1=(v_pos0*u_scale_parent)+u_tl_parent;}"),ui=pi("uniform sampler2D u_texture;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nlowp float alpha=opacity*v_fade_opacity;gl_FragColor=texture2D(u_texture,v_tex)*alpha;\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform highp float u_camera_to_center_distance;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform float u_fade_change;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform vec2 u_texsize;varying vec2 v_tex;varying float v_fade_opacity;\n#pragma mapbox: define lowp float opacity\nvoid main() {\n#pragma mapbox: initialize lowp float opacity\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size[0],a_size[1],u_size_t)/256.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size[0]/256.0;} else if (!u_is_size_zoom_constant && u_is_size_feature_constant) {size=u_size;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);v_tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;v_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));}"),hi=pi("#define SDF_PX 8.0\nuniform bool u_is_halo;uniform sampler2D u_texture;uniform highp float u_gamma_scale;uniform lowp float u_device_pixel_ratio;uniform bool u_is_text;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nfloat EDGE_GAMMA=0.105/u_device_pixel_ratio;vec2 tex=v_data0.xy;float gamma_scale=v_data1.x;float size=v_data1.y;float fade_opacity=v_data1[2];float fontScale=u_is_text ? size/24.0 : size;lowp vec4 color=fill_color;highp float gamma=EDGE_GAMMA/(fontScale*u_gamma_scale);lowp float buff=(256.0-64.0)/256.0;if (u_is_halo) {color=halo_color;gamma=(halo_blur*1.19/SDF_PX+EDGE_GAMMA)/(fontScale*u_gamma_scale);buff=(6.0-halo_width/fontScale)/SDF_PX;}lowp float dist=texture2D(u_texture,tex).a;highp float gamma_scaled=gamma*gamma_scale;highp float alpha=smoothstep(buff-gamma_scaled,buff+gamma_scaled,dist);gl_FragColor=color*(alpha*opacity*fade_opacity);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","const float PI=3.141592653589793;attribute vec4 a_pos_offset;attribute vec4 a_data;attribute vec3 a_projected_pos;attribute float a_fade_opacity;uniform bool u_is_size_zoom_constant;uniform bool u_is_size_feature_constant;uniform highp float u_size_t;uniform highp float u_size;uniform mat4 u_matrix;uniform mat4 u_label_plane_matrix;uniform mat4 u_coord_matrix;uniform bool u_is_text;uniform bool u_pitch_with_map;uniform highp float u_pitch;uniform bool u_rotate_symbol;uniform highp float u_aspect_ratio;uniform highp float u_camera_to_center_distance;uniform float u_fade_change;uniform vec2 u_texsize;varying vec2 v_data0;varying vec3 v_data1;\n#pragma mapbox: define highp vec4 fill_color\n#pragma mapbox: define highp vec4 halo_color\n#pragma mapbox: define lowp float opacity\n#pragma mapbox: define lowp float halo_width\n#pragma mapbox: define lowp float halo_blur\nvoid main() {\n#pragma mapbox: initialize highp vec4 fill_color\n#pragma mapbox: initialize highp vec4 halo_color\n#pragma mapbox: initialize lowp float opacity\n#pragma mapbox: initialize lowp float halo_width\n#pragma mapbox: initialize lowp float halo_blur\nvec2 a_pos=a_pos_offset.xy;vec2 a_offset=a_pos_offset.zw;vec2 a_tex=a_data.xy;vec2 a_size=a_data.zw;highp float segment_angle=-a_projected_pos[2];float size;if (!u_is_size_zoom_constant && !u_is_size_feature_constant) {size=mix(a_size[0],a_size[1],u_size_t)/256.0;} else if (u_is_size_zoom_constant && !u_is_size_feature_constant) {size=a_size[0]/256.0;} else if (!u_is_size_zoom_constant && u_is_size_feature_constant) {size=u_size;} else {size=u_size;}vec4 projectedPoint=u_matrix*vec4(a_pos,0,1);highp float camera_to_anchor_distance=projectedPoint.w;highp float distance_ratio=u_pitch_with_map ?\ncamera_to_anchor_distance/u_camera_to_center_distance :\nu_camera_to_center_distance/camera_to_anchor_distance;highp float perspective_ratio=clamp(0.5+0.5*distance_ratio,0.0,4.0);size*=perspective_ratio;float fontScale=u_is_text ? size/24.0 : size;highp float symbol_rotation=0.0;if (u_rotate_symbol) {vec4 offsetProjectedPoint=u_matrix*vec4(a_pos+vec2(1,0),0,1);vec2 a=projectedPoint.xy/projectedPoint.w;vec2 b=offsetProjectedPoint.xy/offsetProjectedPoint.w;symbol_rotation=atan((b.y-a.y)/u_aspect_ratio,b.x-a.x);}highp float angle_sin=sin(segment_angle+symbol_rotation);highp float angle_cos=cos(segment_angle+symbol_rotation);mat2 rotation_matrix=mat2(angle_cos,-1.0*angle_sin,angle_sin,angle_cos);vec4 projected_pos=u_label_plane_matrix*vec4(a_projected_pos.xy,0.0,1.0);gl_Position=u_coord_matrix*vec4(projected_pos.xy/projected_pos.w+rotation_matrix*(a_offset/32.0*fontScale),0.0,1.0);float gamma_scale=gl_Position.w;vec2 tex=a_tex/u_texsize;vec2 fade_opacity=unpack_opacity(a_fade_opacity);float fade_change=fade_opacity[1] > 0.5 ? u_fade_change :-u_fade_change;float interpolated_fade_opacity=max(0.0,min(1.0,fade_opacity[0]+fade_change));v_data0=vec2(tex.x,tex.y);v_data1=vec3(gamma_scale,size,interpolated_fade_opacity);}");function pi(t,e){var i=/#pragma mapbox: ([\w]+) ([\w]+) ([\w]+) ([\w]+)/g,o={};return{fragmentSource:t=t.replace(i,(function(t,e,i,r,a){return o[a]=!0,"define"===e?"\n#ifndef HAS_UNIFORM_u_"+a+"\nvarying "+i+" "+r+" "+a+";\n#else\nuniform "+i+" "+r+" u_"+a+";\n#endif\n":"\n#ifdef HAS_UNIFORM_u_"+a+"\n "+i+" "+r+" "+a+" = u_"+a+";\n#endif\n"})),vertexSource:e=e.replace(i,(function(t,e,i,r,a){var n="float"===r?"vec2":"vec4",s=a.match(/color/)?"color":n;return o[a]?"define"===e?"\n#ifndef HAS_UNIFORM_u_"+a+"\nuniform lowp float u_"+a+"_t;\nattribute "+i+" "+n+" a_"+a+";\nvarying "+i+" "+r+" "+a+";\n#else\nuniform "+i+" "+r+" u_"+a+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+a+"\n "+a+" = a_"+a+";\n#else\n "+i+" "+r+" "+a+" = u_"+a+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+a+"\n "+a+" = unpack_mix_"+s+"(a_"+a+", u_"+a+"_t);\n#else\n "+i+" "+r+" "+a+" = u_"+a+";\n#endif\n":"define"===e?"\n#ifndef HAS_UNIFORM_u_"+a+"\nuniform lowp float u_"+a+"_t;\nattribute "+i+" "+n+" a_"+a+";\n#else\nuniform "+i+" "+r+" u_"+a+";\n#endif\n":"vec4"===s?"\n#ifndef HAS_UNIFORM_u_"+a+"\n "+i+" "+r+" "+a+" = a_"+a+";\n#else\n "+i+" "+r+" "+a+" = u_"+a+";\n#endif\n":"\n#ifndef HAS_UNIFORM_u_"+a+"\n "+i+" "+r+" "+a+" = unpack_mix_"+s+"(a_"+a+", u_"+a+"_t);\n#else\n "+i+" "+r+" "+a+" = u_"+a+";\n#endif\n"}))}}var di=Object.freeze({__proto__:null,prelude:Ze,background:qe,backgroundPattern:Ve,circle:je,clippingMask:Ge,heatmap:We,heatmapTexture:Xe,collisionBox:He,collisionCircle:Ke,debug:Je,fill:Ye,fillOutline:Qe,fillOutlinePattern:$e,fillPattern:ti,fillExtrusion:ei,fillExtrusionPattern:ii,hillshadePrepare:oi,hillshade:ri,line:ai,lineGradient:ni,linePattern:si,lineSDF:li,raster:ci,symbolIcon:ui,symbolSDF:hi}),_i=function(){this.boundProgram=null,this.boundLayoutVertexBuffer=null,this.boundPaintVertexBuffers=[],this.boundIndexBuffer=null,this.boundVertexOffset=null,this.boundDynamicVertexBuffer=null,this.vao=null;};_i.prototype.bind=function(t,e,i,o,r,a,n,s){this.context=t;for(var l=this.boundPaintVertexBuffers.length!==o.length,c=0;!l&&c<o.length;c++)this.boundPaintVertexBuffers[c]!==o[c]&&(l=!0);var u=!this.vao||this.boundProgram!==e||this.boundLayoutVertexBuffer!==i||l||this.boundIndexBuffer!==r||this.boundVertexOffset!==a||this.boundDynamicVertexBuffer!==n||this.boundDynamicVertexBuffer2!==s;!t.extVertexArrayObject||u?this.freshBind(e,i,o,r,a,n,s):(t.bindVertexArrayOES.set(this.vao),n&&n.bind(),r&&r.dynamicDraw&&r.bind(),s&&s.bind());},_i.prototype.freshBind=function(t,e,i,o,r,a,n){var s,l=t.numAttributes,c=this.context,u=c.gl;if(c.extVertexArrayObject)this.vao&&this.destroy(),this.vao=c.extVertexArrayObject.createVertexArrayOES(),c.bindVertexArrayOES.set(this.vao),s=0,this.boundProgram=t,this.boundLayoutVertexBuffer=e,this.boundPaintVertexBuffers=i,this.boundIndexBuffer=o,this.boundVertexOffset=r,this.boundDynamicVertexBuffer=a,this.boundDynamicVertexBuffer2=n;else{s=c.currentNumAttributes||0;for(var h=l;h<s;h++)u.disableVertexAttribArray(h);}e.enableAttributes(u,t);for(var p=0,d=i;p<d.length;p+=1){d[p].enableAttributes(u,t);}a&&a.enableAttributes(u,t),n&&n.enableAttributes(u,t),e.bind(),e.setVertexAttribPointers(u,t,r);for(var _=0,f=i;_<f.length;_+=1){var m=f[_];m.bind(),m.setVertexAttribPointers(u,t,r);}a&&(a.bind(),a.setVertexAttribPointers(u,t,r)),o&&o.bind(),n&&(n.bind(),n.setVertexAttribPointers(u,t,r)),c.currentNumAttributes=l;},_i.prototype.destroy=function(){this.vao&&(this.context.extVertexArrayObject.deleteVertexArrayOES(this.vao),this.vao=null);};var fi=function(t,e,i,o,r){var a=t.gl;this.program=a.createProgram();var n=i.defines();r&&n.push("#define OVERDRAW_INSPECTOR;");var s=n.concat(Ze.fragmentSource,e.fragmentSource).join("\n"),l=n.concat(Ze.vertexSource,e.vertexSource).join("\n"),c=a.createShader(a.FRAGMENT_SHADER);a.shaderSource(c,s),a.compileShader(c),a.attachShader(this.program,c);var u=a.createShader(a.VERTEX_SHADER);a.shaderSource(u,l),a.compileShader(u),a.attachShader(this.program,u);for(var h=i.layoutAttributes||[],p=0;p<h.length;p++)a.bindAttribLocation(this.program,p,h[p].name);a.linkProgram(this.program),this.numAttributes=a.getProgramParameter(this.program,a.ACTIVE_ATTRIBUTES),this.attributes={};for(var d={},_=0;_<this.numAttributes;_++){var f=a.getActiveAttrib(this.program,_);f&&(this.attributes[f.name]=a.getAttribLocation(this.program,f.name));}for(var m=a.getProgramParameter(this.program,a.ACTIVE_UNIFORMS),g=0;g<m;g++){var v=a.getActiveUniform(this.program,g);v&&(d[v.name]=a.getUniformLocation(this.program,v.name));}this.fixedUniforms=o(t,d),this.binderUniforms=i.getUniforms(t,d);};function mi(e,i,o){var r=1/ue(o,1,i.transform.tileZoom),a=Math.pow(2,o.tileID.overscaledZ),n=o.tileSize*Math.pow(2,i.transform.tileZoom)/a,s=n*(o.tileID.canonical.x+o.tileID.wrap*a),l=n*o.tileID.canonical.y;return{u_image:0,u_texsize:o.imageAtlasTexture.size,u_scale:[t.browser.devicePixelRatio,r,e.fromScale,e.toScale],u_fade:e.t,u_pixel_coord_upper:[s>>16,l>>16],u_pixel_coord_lower:[65535&s,65535&l]}}fi.prototype.draw=function(t,e,i,o,r,a,n,s,l,c,u,h,p,d,_,f){var m,g=t.gl;for(var v in t.program.set(this.program),t.setDepthMode(i),t.setStencilMode(o),t.setColorMode(r),t.setCullFace(a),this.fixedUniforms)this.fixedUniforms[v].set(n[v]);d&&d.setUniforms(t,this.binderUniforms,h,{zoom:p});for(var y=(m={},m[g.LINES]=2,m[g.TRIANGLES]=3,m[g.LINE_STRIP]=1,m)[e],x=0,b=u.get();x<b.length;x+=1){var w=b[x],E=w.vaos||(w.vaos={});(E[s]||(E[s]=new _i)).bind(t,this,l,d?d.getPaintVertexBuffers():[],c,w.vertexOffset,_,f),g.drawElements(e,w.primitiveLength*y,g.UNSIGNED_SHORT,w.primitiveOffset*y*2);}};var gi=function(e,i,o,r){var a=i.style.light,n=a.properties.get("position"),s=[n.x,n.y,n.z],l=t.create$1();"viewport"===a.properties.get("anchor")&&t.fromRotation(l,-i.transform.angle),t.transformMat3(s,s,l);var c=a.properties.get("color");return{u_matrix:e,u_lightpos:s,u_lightintensity:a.properties.get("intensity"),u_lightcolor:[c.r,c.g,c.b],u_vertical_gradient:+o,u_opacity:r}},vi=function(e,i,o,r,a,n,s){return t.extend(gi(e,i,o,r),mi(n,i,s),{u_height_factor:-Math.pow(2,a.overscaledZ)/s.tileSize/8})},yi=function(t){return{u_matrix:t}},xi=function(e,i,o,r){return t.extend(yi(e),mi(o,i,r))},bi=function(t,e){return{u_matrix:t,u_world:e}},wi=function(e,i,o,r,a){return t.extend(xi(e,i,o,r),{u_world:a})},Ei=function(e,i,o,r){var a,n,s=e.transform;if("map"===r.paint.get("circle-pitch-alignment")){var l=ue(o,1,s.zoom);a=!0,n=[l,l];}else a=!1,n=s.pixelsToGLUnits;return{u_camera_to_center_distance:s.cameraToCenterDistance,u_scale_with_map:+("map"===r.paint.get("circle-pitch-scale")),u_matrix:e.translatePosMatrix(i.posMatrix,o,r.paint.get("circle-translate"),r.paint.get("circle-translate-anchor")),u_pitch_with_map:+a,u_device_pixel_ratio:t.browser.devicePixelRatio,u_extrude_scale:n}},Ti=function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_pixels_to_tile_units:new t.Uniform1f(e,i.u_pixels_to_tile_units),u_extrude_scale:new t.Uniform2f(e,i.u_extrude_scale),u_overscale_factor:new t.Uniform1f(e,i.u_overscale_factor)}},Ii=function(t,e,i){var o=ue(i,1,e.zoom),r=Math.pow(2,e.zoom-i.tileID.overscaledZ),a=i.tileID.overscaleFactor();return{u_matrix:t,u_camera_to_center_distance:e.cameraToCenterDistance,u_pixels_to_tile_units:o,u_extrude_scale:[e.pixelsToGLUnits[0]/(o*r),e.pixelsToGLUnits[1]/(o*r)],u_overscale_factor:a}},Ci=function(t,e){return{u_matrix:t,u_color:e}},Si=function(t){return{u_matrix:t}},Pi=function(t,e,i,o){return{u_matrix:t,u_extrude_scale:ue(e,1,i),u_intensity:o}},zi=function(e,i,o,r){var a=t.create();t.ortho(a,0,e.width,e.height,0,0,1);var n=e.context.gl;return{u_matrix:a,u_world:[n.drawingBufferWidth,n.drawingBufferHeight],u_image:o,u_color_ramp:r,u_opacity:i.paint.get("heatmap-opacity")}},Li=function(t,e,i){var o=i.paint.get("hillshade-shadow-color"),r=i.paint.get("hillshade-highlight-color"),a=i.paint.get("hillshade-accent-color"),n=i.paint.get("hillshade-illumination-direction")*(Math.PI/180);"viewport"===i.paint.get("hillshade-illumination-anchor")&&(n-=t.transform.angle);var s=!t.options.moving;return{u_matrix:t.transform.calculatePosMatrix(e.tileID.toUnwrapped(),s),u_image:0,u_latrange:Di(t,e.tileID),u_light:[i.paint.get("hillshade-exaggeration"),n],u_shadow:o,u_highlight:r,u_accent:a}},Mi=function(e,i,o){var r=i.stride,a=t.create();return t.ortho(a,0,t.EXTENT,-t.EXTENT,0,0,1),t.translate(a,a,[0,-t.EXTENT,0]),{u_matrix:a,u_image:1,u_dimension:[r,r],u_zoom:e.overscaledZ,u_maxzoom:o,u_unpack:i.getUnpackVector()}};function Di(e,i){var o=Math.pow(2,i.canonical.z),r=i.canonical.y;return[new t.MercatorCoordinate(0,r/o).toLngLat().lat,new t.MercatorCoordinate(0,(r+1)/o).toLngLat().lat]}var Ri=function(e,i,o){var r=e.transform;return{u_matrix:Fi(e,i,o),u_ratio:1/ue(i,1,r.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_units_to_pixels:[1/r.pixelsToGLUnits[0],1/r.pixelsToGLUnits[1]]}},Ai=function(e,i,o){return t.extend(Ri(e,i,o),{u_image:0})},ki=function(e,i,o,r){var a=e.transform,n=Oi(i,a);return{u_matrix:Fi(e,i,o),u_texsize:i.imageAtlasTexture.size,u_ratio:1/ue(i,1,a.zoom),u_device_pixel_ratio:t.browser.devicePixelRatio,u_image:0,u_scale:[t.browser.devicePixelRatio,n,r.fromScale,r.toScale],u_fade:r.t,u_units_to_pixels:[1/a.pixelsToGLUnits[0],1/a.pixelsToGLUnits[1]]}},Bi=function(e,i,o,r,a){var n=e.transform,s=e.lineAtlas,l=Oi(i,n),c="round"===o.layout.get("line-cap"),u=s.getDash(r.from,c),h=s.getDash(r.to,c),p=u.width*a.fromScale,d=h.width*a.toScale;return t.extend(Ri(e,i,o),{u_patternscale_a:[l/p,-u.height/2],u_patternscale_b:[l/d,-h.height/2],u_sdfgamma:s.width/(256*Math.min(p,d)*t.browser.devicePixelRatio)/2,u_image:0,u_tex_y_a:u.y,u_tex_y_b:h.y,u_mix:a.t})};function Oi(t,e){return 1/ue(t,1,e.tileZoom)}function Fi(t,e,i){return t.translatePosMatrix(e.tileID.posMatrix,e,i.paint.get("line-translate"),i.paint.get("line-translate-anchor"))}var Ui=function(t,e,i,o,r){return{u_matrix:t,u_tl_parent:e,u_scale_parent:i,u_buffer_scale:1,u_fade_t:o.mix,u_opacity:o.opacity*r.paint.get("raster-opacity"),u_image0:0,u_image1:1,u_brightness_low:r.paint.get("raster-brightness-min"),u_brightness_high:r.paint.get("raster-brightness-max"),u_saturation_factor:(n=r.paint.get("raster-saturation"),n>0?1-1/(1.001-n):-n),u_contrast_factor:(a=r.paint.get("raster-contrast"),a>0?1/(1-a):1+a),u_spin_weights:Ni(r.paint.get("raster-hue-rotate"))};var a,n;};function Ni(t){t*=Math.PI/180;var e=Math.sin(t),i=Math.cos(t);return[(2*i+1)/3,(-Math.sqrt(3)*e-i+1)/3,(Math.sqrt(3)*e-i+1)/3]}var Zi=function(t,e,i,o,r,a,n,s,l,c){var u=r.transform;return{u_is_size_zoom_constant:+("constant"===t||"source"===t),u_is_size_feature_constant:+("constant"===t||"camera"===t),u_size_t:e?e.uSizeT:0,u_size:e?e.uSize:0,u_camera_to_center_distance:u.cameraToCenterDistance,u_pitch:u.pitch/360*2*Math.PI,u_rotate_symbol:+i,u_aspect_ratio:u.width/u.height,u_fade_change:r.options.fadeDuration?r.symbolFadeChange:1,u_matrix:a,u_label_plane_matrix:n,u_coord_matrix:s,u_is_text:+l,u_pitch_with_map:+o,u_texsize:c,u_texture:0}},qi=function(e,i,o,r,a,n,s,l,c,u,h){var p=a.transform;return t.extend(Zi(e,i,o,r,a,n,s,l,c,u),{u_gamma_scale:r?Math.cos(p._pitch)*p.cameraToCenterDistance:1,u_device_pixel_ratio:t.browser.devicePixelRatio,u_is_halo:+h})},Vi=function(t,e,i){return{u_matrix:t,u_opacity:e,u_color:i}},ji=function(e,i,o,r,a,n){return t.extend(function(t,e,i,o){var r=i.imageManager.getPattern(t.from.toString()),a=i.imageManager.getPattern(t.to.toString()),n=i.imageManager.getPixelSize(),s=n.width,l=n.height,c=Math.pow(2,o.tileID.overscaledZ),u=o.tileSize*Math.pow(2,i.transform.tileZoom)/c,h=u*(o.tileID.canonical.x+o.tileID.wrap*c),p=u*o.tileID.canonical.y;return{u_image:0,u_pattern_tl_a:r.tl,u_pattern_br_a:r.br,u_pattern_tl_b:a.tl,u_pattern_br_b:a.br,u_texsize:[s,l],u_mix:e.t,u_pattern_size_a:r.displaySize,u_pattern_size_b:a.displaySize,u_scale_a:e.fromScale,u_scale_b:e.toScale,u_tile_units_to_pixels:1/ue(o,1,i.transform.tileZoom),u_pixel_coord_upper:[h>>16,p>>16],u_pixel_coord_lower:[65535&h,65535&p]}}(r,n,o,a),{u_matrix:e,u_opacity:i})},Gi={fillExtrusion:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_lightpos:new t.Uniform3f(e,i.u_lightpos),u_lightintensity:new t.Uniform1f(e,i.u_lightintensity),u_lightcolor:new t.Uniform3f(e,i.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,i.u_vertical_gradient),u_opacity:new t.Uniform1f(e,i.u_opacity)}},fillExtrusionPattern:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_lightpos:new t.Uniform3f(e,i.u_lightpos),u_lightintensity:new t.Uniform1f(e,i.u_lightintensity),u_lightcolor:new t.Uniform3f(e,i.u_lightcolor),u_vertical_gradient:new t.Uniform1f(e,i.u_vertical_gradient),u_height_factor:new t.Uniform1f(e,i.u_height_factor),u_image:new t.Uniform1i(e,i.u_image),u_texsize:new t.Uniform2f(e,i.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,i.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,i.u_scale),u_fade:new t.Uniform1f(e,i.u_fade),u_opacity:new t.Uniform1f(e,i.u_opacity)}},fill:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}},fillPattern:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_image:new t.Uniform1i(e,i.u_image),u_texsize:new t.Uniform2f(e,i.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,i.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,i.u_scale),u_fade:new t.Uniform1f(e,i.u_fade)}},fillOutline:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_world:new t.Uniform2f(e,i.u_world)}},fillOutlinePattern:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_world:new t.Uniform2f(e,i.u_world),u_image:new t.Uniform1i(e,i.u_image),u_texsize:new t.Uniform2f(e,i.u_texsize),u_pixel_coord_upper:new t.Uniform2f(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,i.u_pixel_coord_lower),u_scale:new t.Uniform4f(e,i.u_scale),u_fade:new t.Uniform1f(e,i.u_fade)}},circle:function(e,i){return{u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_scale_with_map:new t.Uniform1i(e,i.u_scale_with_map),u_pitch_with_map:new t.Uniform1i(e,i.u_pitch_with_map),u_extrude_scale:new t.Uniform2f(e,i.u_extrude_scale),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}},collisionBox:Ti,collisionCircle:Ti,debug:function(e,i){return{u_color:new t.UniformColor(e,i.u_color),u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}},clippingMask:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}},heatmap:function(e,i){return{u_extrude_scale:new t.Uniform1f(e,i.u_extrude_scale),u_intensity:new t.Uniform1f(e,i.u_intensity),u_matrix:new t.UniformMatrix4f(e,i.u_matrix)}},heatmapTexture:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_world:new t.Uniform2f(e,i.u_world),u_image:new t.Uniform1i(e,i.u_image),u_color_ramp:new t.Uniform1i(e,i.u_color_ramp),u_opacity:new t.Uniform1f(e,i.u_opacity)}},hillshade:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_image:new t.Uniform1i(e,i.u_image),u_latrange:new t.Uniform2f(e,i.u_latrange),u_light:new t.Uniform2f(e,i.u_light),u_shadow:new t.UniformColor(e,i.u_shadow),u_highlight:new t.UniformColor(e,i.u_highlight),u_accent:new t.UniformColor(e,i.u_accent)}},hillshadePrepare:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_image:new t.Uniform1i(e,i.u_image),u_dimension:new t.Uniform2f(e,i.u_dimension),u_zoom:new t.Uniform1f(e,i.u_zoom),u_maxzoom:new t.Uniform1f(e,i.u_maxzoom),u_unpack:new t.Uniform4f(e,i.u_unpack)}},line:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_ratio:new t.Uniform1f(e,i.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,i.u_units_to_pixels)}},lineGradient:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_ratio:new t.Uniform1f(e,i.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,i.u_units_to_pixels),u_image:new t.Uniform1i(e,i.u_image)}},linePattern:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_texsize:new t.Uniform2f(e,i.u_texsize),u_ratio:new t.Uniform1f(e,i.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_image:new t.Uniform1i(e,i.u_image),u_units_to_pixels:new t.Uniform2f(e,i.u_units_to_pixels),u_scale:new t.Uniform4f(e,i.u_scale),u_fade:new t.Uniform1f(e,i.u_fade)}},lineSDF:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_ratio:new t.Uniform1f(e,i.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,i.u_units_to_pixels),u_patternscale_a:new t.Uniform2f(e,i.u_patternscale_a),u_patternscale_b:new t.Uniform2f(e,i.u_patternscale_b),u_sdfgamma:new t.Uniform1f(e,i.u_sdfgamma),u_image:new t.Uniform1i(e,i.u_image),u_tex_y_a:new t.Uniform1f(e,i.u_tex_y_a),u_tex_y_b:new t.Uniform1f(e,i.u_tex_y_b),u_mix:new t.Uniform1f(e,i.u_mix)}},raster:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_tl_parent:new t.Uniform2f(e,i.u_tl_parent),u_scale_parent:new t.Uniform1f(e,i.u_scale_parent),u_buffer_scale:new t.Uniform1f(e,i.u_buffer_scale),u_fade_t:new t.Uniform1f(e,i.u_fade_t),u_opacity:new t.Uniform1f(e,i.u_opacity),u_image0:new t.Uniform1i(e,i.u_image0),u_image1:new t.Uniform1i(e,i.u_image1),u_brightness_low:new t.Uniform1f(e,i.u_brightness_low),u_brightness_high:new t.Uniform1f(e,i.u_brightness_high),u_saturation_factor:new t.Uniform1f(e,i.u_saturation_factor),u_contrast_factor:new t.Uniform1f(e,i.u_contrast_factor),u_spin_weights:new t.Uniform3f(e,i.u_spin_weights)}},symbolIcon:function(e,i){return{u_is_size_zoom_constant:new t.Uniform1i(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,i.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,i.u_size_t),u_size:new t.Uniform1f(e,i.u_size),u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,i.u_pitch),u_rotate_symbol:new t.Uniform1i(e,i.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,i.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,i.u_fade_change),u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,i.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,i.u_coord_matrix),u_is_text:new t.Uniform1f(e,i.u_is_text),u_pitch_with_map:new t.Uniform1i(e,i.u_pitch_with_map),u_texsize:new t.Uniform2f(e,i.u_texsize),u_texture:new t.Uniform1i(e,i.u_texture)}},symbolSDF:function(e,i){return{u_is_size_zoom_constant:new t.Uniform1i(e,i.u_is_size_zoom_constant),u_is_size_feature_constant:new t.Uniform1i(e,i.u_is_size_feature_constant),u_size_t:new t.Uniform1f(e,i.u_size_t),u_size:new t.Uniform1f(e,i.u_size),u_camera_to_center_distance:new t.Uniform1f(e,i.u_camera_to_center_distance),u_pitch:new t.Uniform1f(e,i.u_pitch),u_rotate_symbol:new t.Uniform1i(e,i.u_rotate_symbol),u_aspect_ratio:new t.Uniform1f(e,i.u_aspect_ratio),u_fade_change:new t.Uniform1f(e,i.u_fade_change),u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_label_plane_matrix:new t.UniformMatrix4f(e,i.u_label_plane_matrix),u_coord_matrix:new t.UniformMatrix4f(e,i.u_coord_matrix),u_is_text:new t.Uniform1f(e,i.u_is_text),u_pitch_with_map:new t.Uniform1i(e,i.u_pitch_with_map),u_texsize:new t.Uniform2f(e,i.u_texsize),u_texture:new t.Uniform1i(e,i.u_texture),u_gamma_scale:new t.Uniform1f(e,i.u_gamma_scale),u_device_pixel_ratio:new t.Uniform1f(e,i.u_device_pixel_ratio),u_is_halo:new t.Uniform1f(e,i.u_is_halo)}},background:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_opacity:new t.Uniform1f(e,i.u_opacity),u_color:new t.UniformColor(e,i.u_color)}},backgroundPattern:function(e,i){return{u_matrix:new t.UniformMatrix4f(e,i.u_matrix),u_opacity:new t.Uniform1f(e,i.u_opacity),u_image:new t.Uniform1i(e,i.u_image),u_pattern_tl_a:new t.Uniform2f(e,i.u_pattern_tl_a),u_pattern_br_a:new t.Uniform2f(e,i.u_pattern_br_a),u_pattern_tl_b:new t.Uniform2f(e,i.u_pattern_tl_b),u_pattern_br_b:new t.Uniform2f(e,i.u_pattern_br_b),u_texsize:new t.Uniform2f(e,i.u_texsize),u_mix:new t.Uniform1f(e,i.u_mix),u_pattern_size_a:new t.Uniform2f(e,i.u_pattern_size_a),u_pattern_size_b:new t.Uniform2f(e,i.u_pattern_size_b),u_scale_a:new t.Uniform1f(e,i.u_scale_a),u_scale_b:new t.Uniform1f(e,i.u_scale_b),u_pixel_coord_upper:new t.Uniform2f(e,i.u_pixel_coord_upper),u_pixel_coord_lower:new t.Uniform2f(e,i.u_pixel_coord_lower),u_tile_units_to_pixels:new t.Uniform1f(e,i.u_tile_units_to_pixels)}}};function Wi(e,i){for(var o=e.sort((function(t,e){return t.tileID.isLessThan(e.tileID)?-1:e.tileID.isLessThan(t.tileID)?1:0})),r=0;r<o.length;r++){var a={},n=o[r],s=o.slice(r+1);Xi(n.tileID.wrapped(),n.tileID,s,new t.OverscaledTileID(0,n.tileID.wrap+1,0,0,0),a),n.setMask(a,i);}}function Xi(e,i,o,r,a){for(var n=0;n<o.length;n++){var s=o[n];if(r.isLessThan(s.tileID))break;if(i.key===s.tileID.key)return;if(s.tileID.isChildOf(i)){for(var l=i.children(1/0),c=0;c<l.length;c++){Xi(e,l[c],o.slice(n),r,a);}return}}var u=i.overscaledZ-e.overscaledZ,h=new t.CanonicalTileID(u,i.canonical.x-(e.canonical.x<<u),i.canonical.y-(e.canonical.y<<u));a[h.key]=a[h.key]||h;}function Hi(t,e,i,o,r,a,n,s){for(var l=t.context,c=l.gl,u=r?t.useProgram("collisionCircle"):t.useProgram("collisionBox"),h=0;h<o.length;h++){var p=o[h],d=e.getTile(p),_=d.getBucket(i);if(_){var f=r?s?_.textCollisionCircle:_.iconCollisionCircle:s?_.textCollisionBox:_.iconCollisionBox;if(f){var m=p.posMatrix;0===a[0]&&0===a[1]||(m=t.translatePosMatrix(p.posMatrix,d,a,n)),u.draw(l,r?c.TRIANGLES:c.LINES,It.disabled,Ct.disabled,t.colorModeForRenderPass(),Pt.disabled,Ii(m,t.transform,d),i.id,f.layoutVertexBuffer,f.indexBuffer,f.segments,null,t.transform.zoom,null,null,f.collisionVertexBuffer);}}}}function Ki(t,e,i,o,r,a,n){Hi(t,e,i,o,!1,r,a,n),Hi(t,e,i,o,!0,r,a,n);}var Ji=t.identity(new Float32Array(16));function Yi(e,i,o,r,a,n){var s=t.getAnchorAlignment(e),l=-(s.horizontalAlign-.5)*i,c=-(s.verticalAlign-.5)*o,u=t.evaluateVariableOffset(e,r);return new t.Point((l/a+u[0])*n,(c/a+u[1])*n)}function Qi(e,i,o,r,a,n,s,l,c,u,h){var p=e.text.placedSymbolArray,d=e.text.dynamicLayoutVertexArray,_=e.icon.dynamicLayoutVertexArray,f={};d.clear();for(var m=0;m<p.length;m++){var g=p.get(m),v=e.allowVerticalPlacement&&!g.placedOrientation,y=g.hidden||!g.crossTileID||v?null:r[g.crossTileID];if(y){var x=new t.Point(g.anchorX,g.anchorY),b=Yt(x,o?l:s),w=.5+n.cameraToCenterDistance/b.signedDistanceFromCamera*.5,E=a.evaluateSizeForFeature(e.textSizeData,u,g)*w/t.ONE_EM;o&&(E*=e.tilePixelRatio/c);for(var T=y.width,I=y.height,C=Yi(y.anchor,T,I,y.textOffset,y.textBoxScale,E),S=o?Yt(x.add(C),s).point:b.point.add(i?C.rotate(-n.angle):C),P=e.allowVerticalPlacement&&g.placedOrientation===t.WritingMode.vertical?Math.PI/2:0,z=0;z<g.numGlyphs;z++)t.addDynamicAttributes(d,S,P);h&&g.associatedIconIndex>=0&&(f[g.associatedIconIndex]={shiftedAnchor:S,angle:P});}else ne(g.numGlyphs,d);}if(h){_.clear();for(var L=e.icon.placedSymbolArray,M=0;M<L.length;M++){var D=L.get(M);if(D.hidden)ne(D.numGlyphs,_);else{var R=f[M];if(R)for(var A=0;A<D.numGlyphs;A++)t.addDynamicAttributes(_,R.shiftedAnchor,R.angle);else ne(D.numGlyphs,_);}}e.icon.dynamicLayoutVertexBuffer.updateData(_);}e.text.dynamicLayoutVertexBuffer.updateData(d);}function $i(e,i,o,r,a,n,s,l,c,u,h,p){for(var d,_,f=e.context,m=f.gl,g=e.transform,v="map"===l,y="map"===c,x=v&&"point"!==o.layout.get("symbol-placement"),b=v&&!y&&!x,w=void 0!==o.layout.get("symbol-sort-key").constantOr(1),E=e.depthModeForSublayer(0,It.ReadOnly),T=o.layout.get("text-variable-anchor"),I=[],C=0,S=r;C<S.length;C+=1){var P=S[C],z=i.getTile(P),L=z.getBucket(o);if(L){var M=a?L.text:L.icon;if(M&&M.segments.get().length){var D=M.programConfigurations.get(o.id),R=a||L.sdfIcons,A=a?L.textSizeData:L.iconSizeData;d||(d=e.useProgram(R?"symbolSDF":"symbolIcon",D),_=t.evaluateSizeForZoom(A,g.zoom)),f.activeTexture.set(m.TEXTURE0);var k=void 0,B=void 0,O=void 0;if(a)B=z.glyphAtlasTexture,O=m.LINEAR,k=z.glyphAtlasTexture.size;else{var F=1!==o.layout.get("icon-size").constantOr(0)||L.iconsNeedLinear,U=y||0!==g.pitch;B=z.imageAtlasTexture,O=R||e.options.rotating||e.options.zooming||F||U?m.LINEAR:m.NEAREST,k=z.imageAtlasTexture.size;}var N=ue(z,1,e.transform.zoom),Z=Kt(P.posMatrix,y,v,e.transform,N),q=Jt(P.posMatrix,y,v,e.transform,N),V=T&&L.hasTextData(),j="none"!==o.layout.get("icon-text-fit")&&V&&L.hasIconData();x&&$t(L,P.posMatrix,e,a,Z,q,y,u);var G=e.translatePosMatrix(P.posMatrix,z,n,s),W=x||a&&T||j?Ji:Z,X=e.translatePosMatrix(q,z,n,s,!0),H=R&&0!==o.paint.get(a?"text-halo-width":"icon-halo-width").constantOr(1),K={program:d,buffers:M,uniformValues:R?qi(A.kind,_,b,y,e,G,W,X,a,k,!0):Zi(A.kind,_,b,y,e,G,W,X,a,k),atlasTexture:B,atlasInterpolation:O,isSDF:R,hasHalo:H};if(w)for(var J=0,Y=M.segments.get();J<Y.length;J+=1){var Q=Y[J];I.push({segments:new t.SegmentVector([Q]),sortKey:Q.sortKey,state:K});}else I.push({segments:M.segments,sortKey:0,state:K});}}}w&&I.sort((function(t,e){return t.sortKey-e.sortKey}));for(var $=0,tt=I;$<tt.length;$+=1){var et=tt[$],it=et.state;if(it.atlasTexture.bind(it.atlasInterpolation,m.CLAMP_TO_EDGE),it.isSDF){var ot=it.uniformValues;it.hasHalo&&(ot.u_is_halo=1,to(it.buffers,et.segments,o,e,it.program,E,h,p,ot)),ot.u_is_halo=0;}to(it.buffers,et.segments,o,e,it.program,E,h,p,it.uniformValues);}}function to(t,e,i,o,r,a,n,s,l){var c=o.context,u=c.gl;r.draw(c,u.TRIANGLES,a,n,s,Pt.disabled,l,i.id,t.layoutVertexBuffer,t.indexBuffer,e,i.paint,o.transform.zoom,t.programConfigurations.get(i.id),t.dynamicLayoutVertexBuffer,t.opacityVertexBuffer);}function eo(t,e,i,o,r,a,n){var s,l,c,u,h,p=t.context.gl,d=i.paint.get("fill-pattern"),_=d&&d.constantOr(1),f=i.getCrossfadeParameters();n?(l=_&&!i.getPaintProperty("fill-outline-color")?"fillOutlinePattern":"fillOutline",s=p.LINES):(l=_?"fillPattern":"fill",s=p.TRIANGLES);for(var m=0,g=o;m<g.length;m+=1){var v=g[m],y=e.getTile(v);if(!_||y.patternsLoaded()){var x=y.getBucket(i);if(x){var b=x.programConfigurations.get(i.id),w=t.useProgram(l,b);_&&(t.context.activeTexture.set(p.TEXTURE0),y.imageAtlasTexture.bind(p.LINEAR,p.CLAMP_TO_EDGE),b.updatePatternPaintBuffers(f));var E=d.constantOr(null);if(E&&y.imageAtlas){var T=y.imageAtlas,I=T.patternPositions[E.to.toString()],C=T.patternPositions[E.from.toString()];I&&C&&b.setConstantPatternPositions(I,C);}var S=t.translatePosMatrix(v.posMatrix,y,i.paint.get("fill-translate"),i.paint.get("fill-translate-anchor"));if(n){u=x.indexBuffer2,h=x.segments2;var P=[p.drawingBufferWidth,p.drawingBufferHeight];c="fillOutlinePattern"===l&&_?wi(S,t,f,y,P):bi(S,P);}else u=x.indexBuffer,h=x.segments,c=_?xi(S,t,f,y):yi(S);w.draw(t.context,s,r,t.stencilModeForClipping(v),a,Pt.disabled,c,i.id,x.layoutVertexBuffer,u,h,i.paint,t.transform.zoom,b);}}}}function io(t,e,i,o,r,a,n){for(var s=t.context,l=s.gl,c=i.paint.get("fill-extrusion-pattern"),u=c.constantOr(1),h=i.getCrossfadeParameters(),p=i.paint.get("fill-extrusion-opacity"),d=0,_=o;d<_.length;d+=1){var f=_[d],m=e.getTile(f),g=m.getBucket(i);if(g){var v=g.programConfigurations.get(i.id),y=t.useProgram(u?"fillExtrusionPattern":"fillExtrusion",v);u&&(t.context.activeTexture.set(l.TEXTURE0),m.imageAtlasTexture.bind(l.LINEAR,l.CLAMP_TO_EDGE),v.updatePatternPaintBuffers(h));var x=c.constantOr(null);if(x&&m.imageAtlas){var b=m.imageAtlas,w=b.patternPositions[x.to.toString()],E=b.patternPositions[x.from.toString()];w&&E&&v.setConstantPatternPositions(w,E);}var T=t.translatePosMatrix(f.posMatrix,m,i.paint.get("fill-extrusion-translate"),i.paint.get("fill-extrusion-translate-anchor")),I=i.paint.get("fill-extrusion-vertical-gradient"),C=u?vi(T,t,I,p,f,h,m):gi(T,t,I,p);y.draw(s,s.gl.TRIANGLES,r,a,n,Pt.backCCW,C,i.id,g.layoutVertexBuffer,g.indexBuffer,g.segments,i.paint,t.transform.zoom,v);}}}function oo(t,e,i,o,r,a){var n=t.context,s=n.gl,l=e.fbo;if(l){var c=t.useProgram("hillshade");n.activeTexture.set(s.TEXTURE0),s.bindTexture(s.TEXTURE_2D,l.colorAttachment.get());var u=Li(t,e,i);e.maskedBoundsBuffer&&e.maskedIndexBuffer&&e.segments?c.draw(n,s.TRIANGLES,o,r,a,Pt.disabled,u,i.id,e.maskedBoundsBuffer,e.maskedIndexBuffer,e.segments):c.draw(n,s.TRIANGLES,o,r,a,Pt.disabled,u,i.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments);}}function ro(e,i,o,r,a,n,s){var l=e.context,c=l.gl,u=i.dem;if(u&&u.data){var h=u.dim,p=u.stride,d=u.getPixels();if(l.activeTexture.set(c.TEXTURE1),l.pixelStoreUnpackPremultiplyAlpha.set(!1),i.demTexture=i.demTexture||e.getTileTexture(p),i.demTexture){var _=i.demTexture;_.update(d,{premultiply:!1}),_.bind(c.NEAREST,c.CLAMP_TO_EDGE);}else i.demTexture=new t.Texture(l,d,c.RGBA,{premultiply:!1}),i.demTexture.bind(c.NEAREST,c.CLAMP_TO_EDGE);l.activeTexture.set(c.TEXTURE0);var f=i.fbo;if(!f){var m=new t.Texture(l,{width:h,height:h,data:null},c.RGBA);m.bind(c.LINEAR,c.CLAMP_TO_EDGE),(f=i.fbo=l.createFramebuffer(h,h)).colorAttachment.set(m.texture);}l.bindFramebuffer.set(f.framebuffer),l.viewport.set([0,0,h,h]),e.useProgram("hillshadePrepare").draw(l,c.TRIANGLES,a,n,s,Pt.disabled,Mi(i.tileID,u,r),o.id,e.rasterBoundsBuffer,e.quadTriangleIndexBuffer,e.rasterBoundsSegments),i.needsHillshadePrepare=!1;}}function ao(e,i,o,r,a){var n=r.paint.get("raster-fade-duration");if(n>0){var s=t.browser.now(),l=(s-e.timeAdded)/n,c=i?(s-i.timeAdded)/n:-1,u=o.getSource(),h=a.coveringZoomLevel({tileSize:u.tileSize,roundZoom:u.roundZoom}),p=!i||Math.abs(i.tileID.overscaledZ-h)>Math.abs(e.tileID.overscaledZ-h),d=p&&e.refreshedUponExpiration?1:t.clamp(p?l:1-c,0,1);return e.refreshedUponExpiration&&l>=1&&(e.refreshedUponExpiration=!1),i?{opacity:1,mix:1-d}:{opacity:d,mix:0}}return{opacity:1,mix:0}}function no(e,i,o){var r=e.context,a=r.gl,n=o.posMatrix,s=e.useProgram("debug"),l=It.disabled,c=Ct.disabled,u=e.colorModeForRenderPass(),h="$debug";s.draw(r,a.LINE_STRIP,l,c,u,Pt.disabled,Ci(n,t.Color.red),h,e.debugBuffer,e.tileBorderIndexBuffer,e.debugSegments);for(var p=i.getTileByID(o.key).latestRawTileData,d=p&&p.byteLength||0,_=Math.floor(d/1024),f=i.getTile(o).tileSize,m=512/Math.min(f,512),g=function(t,e,i,o){o=o||1;var r,a,n,s,l,c,u,h,p=[];for(r=0,a=t.length;r<a;r++)if(l=so[t[r]]){for(h=null,n=0,s=l[1].length;n<s;n+=2)-1===l[1][n]&&-1===l[1][n+1]?h=null:(c=e+l[1][n]*o,u=i-l[1][n+1]*o,h&&p.push(h.x,h.y,c,u),h={x:c,y:u});e+=l[0]*o;}return p}(o.toString()+" "+_+"kb",50,200*m,5*m),v=new t.StructArrayLayout2i4,y=new t.StructArrayLayout2ui4,x=0;x<g.length;x+=2)v.emplaceBack(g[x],g[x+1]),y.emplaceBack(x,x+1);for(var b=r.createVertexBuffer(v,Ne.members),w=r.createIndexBuffer(y),E=t.SegmentVector.simpleSegment(0,0,v.length/2,v.length/2),T=t.EXTENT/(Math.pow(2,e.transform.zoom-o.overscaledZ)*f*m),I=[],C=-1;C<=1;C++)for(var S=-1;S<=1&&(0!==C||0!==S);S++)I.push([C,S]);for(var P=0;P<I.length;P++){var z=I[P];s.draw(r,a.LINES,l,c,u,Pt.disabled,Ci(t.translate([],n,[T*z[0],T*z[1],0]),t.Color.white),h,b,w,E);}s.draw(r,a.LINES,l,c,u,Pt.disabled,Ci(n,t.Color.black),h,b,w,E),b.destroy(),w.destroy(),E.destroy();}var so={" ":[16,[]],"!":[10,[5,21,5,7,-1,-1,5,2,4,1,5,0,6,1,5,2]],'"':[16,[4,21,4,14,-1,-1,12,21,12,14]],"#":[21,[11,25,4,-7,-1,-1,17,25,10,-7,-1,-1,4,12,18,12,-1,-1,3,6,17,6]],$:[20,[8,25,8,-4,-1,-1,12,25,12,-4,-1,-1,17,18,15,20,12,21,8,21,5,20,3,18,3,16,4,14,5,13,7,12,13,10,15,9,16,8,17,6,17,3,15,1,12,0,8,0,5,1,3,3]],"%":[24,[21,21,3,0,-1,-1,8,21,10,19,10,17,9,15,7,14,5,14,3,16,3,18,4,20,6,21,8,21,10,20,13,19,16,19,19,20,21,21,-1,-1,17,7,15,6,14,4,14,2,16,0,18,0,20,1,21,3,21,5,19,7,17,7]],"&":[26,[23,12,23,13,22,14,21,14,20,13,19,11,17,6,15,3,13,1,11,0,7,0,5,1,4,2,3,4,3,6,4,8,5,9,12,13,13,14,14,16,14,18,13,20,11,21,9,20,8,18,8,16,9,13,11,10,16,3,18,1,20,0,22,0,23,1,23,2]],"'":[10,[5,19,4,20,5,21,6,20,6,18,5,16,4,15]],"(":[14,[11,25,9,23,7,20,5,16,4,11,4,7,5,2,7,-2,9,-5,11,-7]],")":[14,[3,25,5,23,7,20,9,16,10,11,10,7,9,2,7,-2,5,-5,3,-7]],"*":[16,[8,21,8,9,-1,-1,3,18,13,12,-1,-1,13,18,3,12]],"+":[26,[13,18,13,0,-1,-1,4,9,22,9]],",":[10,[6,1,5,0,4,1,5,2,6,1,6,-1,5,-3,4,-4]],"-":[26,[4,9,22,9]],".":[10,[5,2,4,1,5,0,6,1,5,2]],"/":[22,[20,25,2,-7]],0:[20,[9,21,6,20,4,17,3,12,3,9,4,4,6,1,9,0,11,0,14,1,16,4,17,9,17,12,16,17,14,20,11,21,9,21]],1:[20,[6,17,8,18,11,21,11,0]],2:[20,[4,16,4,17,5,19,6,20,8,21,12,21,14,20,15,19,16,17,16,15,15,13,13,10,3,0,17,0]],3:[20,[5,21,16,21,10,13,13,13,15,12,16,11,17,8,17,6,16,3,14,1,11,0,8,0,5,1,4,2,3,4]],4:[20,[13,21,3,7,18,7,-1,-1,13,21,13,0]],5:[20,[15,21,5,21,4,12,5,13,8,14,11,14,14,13,16,11,17,8,17,6,16,3,14,1,11,0,8,0,5,1,4,2,3,4]],6:[20,[16,18,15,20,12,21,10,21,7,20,5,17,4,12,4,7,5,3,7,1,10,0,11,0,14,1,16,3,17,6,17,7,16,10,14,12,11,13,10,13,7,12,5,10,4,7]],7:[20,[17,21,7,0,-1,-1,3,21,17,21]],8:[20,[8,21,5,20,4,18,4,16,5,14,7,13,11,12,14,11,16,9,17,7,17,4,16,2,15,1,12,0,8,0,5,1,4,2,3,4,3,7,4,9,6,11,9,12,13,13,15,14,16,16,16,18,15,20,12,21,8,21]],9:[20,[16,14,15,11,13,9,10,8,9,8,6,9,4,11,3,14,3,15,4,18,6,20,9,21,10,21,13,20,15,18,16,14,16,9,15,4,13,1,10,0,8,0,5,1,4,3]],":":[10,[5,14,4,13,5,12,6,13,5,14,-1,-1,5,2,4,1,5,0,6,1,5,2]],";":[10,[5,14,4,13,5,12,6,13,5,14,-1,-1,6,1,5,0,4,1,5,2,6,1,6,-1,5,-3,4,-4]],"<":[24,[20,18,4,9,20,0]],"=":[26,[4,12,22,12,-1,-1,4,6,22,6]],">":[24,[4,18,20,9,4,0]],"?":[18,[3,16,3,17,4,19,5,20,7,21,11,21,13,20,14,19,15,17,15,15,14,13,13,12,9,10,9,7,-1,-1,9,2,8,1,9,0,10,1,9,2]],"@":[27,[18,13,17,15,15,16,12,16,10,15,9,14,8,11,8,8,9,6,11,5,14,5,16,6,17,8,-1,-1,12,16,10,14,9,11,9,8,10,6,11,5,-1,-1,18,16,17,8,17,6,19,5,21,5,23,7,24,10,24,12,23,15,22,17,20,19,18,20,15,21,12,21,9,20,7,19,5,17,4,15,3,12,3,9,4,6,5,4,7,2,9,1,12,0,15,0,18,1,20,2,21,3,-1,-1,19,16,18,8,18,6,19,5]],A:[18,[9,21,1,0,-1,-1,9,21,17,0,-1,-1,4,7,14,7]],B:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,15,17,13,16,12,13,11,-1,-1,4,11,13,11,16,10,17,9,18,7,18,4,17,2,16,1,13,0,4,0]],C:[21,[18,16,17,18,15,20,13,21,9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5]],D:[21,[4,21,4,0,-1,-1,4,21,11,21,14,20,16,18,17,16,18,13,18,8,17,5,16,3,14,1,11,0,4,0]],E:[19,[4,21,4,0,-1,-1,4,21,17,21,-1,-1,4,11,12,11,-1,-1,4,0,17,0]],F:[18,[4,21,4,0,-1,-1,4,21,17,21,-1,-1,4,11,12,11]],G:[21,[18,16,17,18,15,20,13,21,9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,18,8,-1,-1,13,8,18,8]],H:[22,[4,21,4,0,-1,-1,18,21,18,0,-1,-1,4,11,18,11]],I:[8,[4,21,4,0]],J:[16,[12,21,12,5,11,2,10,1,8,0,6,0,4,1,3,2,2,5,2,7]],K:[21,[4,21,4,0,-1,-1,18,21,4,7,-1,-1,9,12,18,0]],L:[17,[4,21,4,0,-1,-1,4,0,16,0]],M:[24,[4,21,4,0,-1,-1,4,21,12,0,-1,-1,20,21,12,0,-1,-1,20,21,20,0]],N:[22,[4,21,4,0,-1,-1,4,21,18,0,-1,-1,18,21,18,0]],O:[22,[9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,19,8,19,13,18,16,17,18,15,20,13,21,9,21]],P:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,14,17,12,16,11,13,10,4,10]],Q:[22,[9,21,7,20,5,18,4,16,3,13,3,8,4,5,5,3,7,1,9,0,13,0,15,1,17,3,18,5,19,8,19,13,18,16,17,18,15,20,13,21,9,21,-1,-1,12,4,18,-2]],R:[21,[4,21,4,0,-1,-1,4,21,13,21,16,20,17,19,18,17,18,15,17,13,16,12,13,11,4,11,-1,-1,11,11,18,0]],S:[20,[17,18,15,20,12,21,8,21,5,20,3,18,3,16,4,14,5,13,7,12,13,10,15,9,16,8,17,6,17,3,15,1,12,0,8,0,5,1,3,3]],T:[16,[8,21,8,0,-1,-1,1,21,15,21]],U:[22,[4,21,4,6,5,3,7,1,10,0,12,0,15,1,17,3,18,6,18,21]],V:[18,[1,21,9,0,-1,-1,17,21,9,0]],W:[24,[2,21,7,0,-1,-1,12,21,7,0,-1,-1,12,21,17,0,-1,-1,22,21,17,0]],X:[20,[3,21,17,0,-1,-1,17,21,3,0]],Y:[18,[1,21,9,11,9,0,-1,-1,17,21,9,11]],Z:[20,[17,21,3,0,-1,-1,3,21,17,21,-1,-1,3,0,17,0]],"[":[14,[4,25,4,-7,-1,-1,5,25,5,-7,-1,-1,4,25,11,25,-1,-1,4,-7,11,-7]],"\\":[14,[0,21,14,-3]],"]":[14,[9,25,9,-7,-1,-1,10,25,10,-7,-1,-1,3,25,10,25,-1,-1,3,-7,10,-7]],"^":[16,[6,15,8,18,10,15,-1,-1,3,12,8,17,13,12,-1,-1,8,17,8,0]],_:[16,[0,-2,16,-2]],"`":[10,[6,21,5,20,4,18,4,16,5,15,6,16,5,17]],a:[19,[15,14,15,0,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],b:[19,[4,21,4,0,-1,-1,4,11,6,13,8,14,11,14,13,13,15,11,16,8,16,6,15,3,13,1,11,0,8,0,6,1,4,3]],c:[18,[15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],d:[19,[15,21,15,0,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],e:[18,[3,8,15,8,15,10,14,12,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],f:[12,[10,21,8,21,6,20,5,17,5,0,-1,-1,2,14,9,14]],g:[19,[15,14,15,-2,14,-5,13,-6,11,-7,8,-7,6,-6,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],h:[19,[4,21,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0]],i:[8,[3,21,4,20,5,21,4,22,3,21,-1,-1,4,14,4,0]],j:[10,[5,21,6,20,7,21,6,22,5,21,-1,-1,6,14,6,-3,5,-6,3,-7,1,-7]],k:[17,[4,21,4,0,-1,-1,14,14,4,4,-1,-1,8,8,15,0]],l:[8,[4,21,4,0]],m:[30,[4,14,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0,-1,-1,15,10,18,13,20,14,23,14,25,13,26,10,26,0]],n:[19,[4,14,4,0,-1,-1,4,10,7,13,9,14,12,14,14,13,15,10,15,0]],o:[19,[8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3,16,6,16,8,15,11,13,13,11,14,8,14]],p:[19,[4,14,4,-7,-1,-1,4,11,6,13,8,14,11,14,13,13,15,11,16,8,16,6,15,3,13,1,11,0,8,0,6,1,4,3]],q:[19,[15,14,15,-7,-1,-1,15,11,13,13,11,14,8,14,6,13,4,11,3,8,3,6,4,3,6,1,8,0,11,0,13,1,15,3]],r:[13,[4,14,4,0,-1,-1,4,8,5,11,7,13,9,14,12,14]],s:[17,[14,11,13,13,10,14,7,14,4,13,3,11,4,9,6,8,11,7,13,6,14,4,14,3,13,1,10,0,7,0,4,1,3,3]],t:[12,[5,21,5,4,6,1,8,0,10,0,-1,-1,2,14,9,14]],u:[19,[4,14,4,4,5,1,7,0,10,0,12,1,15,4,-1,-1,15,14,15,0]],v:[16,[2,14,8,0,-1,-1,14,14,8,0]],w:[22,[3,14,7,0,-1,-1,11,14,7,0,-1,-1,11,14,15,0,-1,-1,19,14,15,0]],x:[17,[3,14,14,0,-1,-1,14,14,3,0]],y:[16,[2,14,8,0,-1,-1,14,14,8,0,6,-4,4,-6,2,-7,1,-7]],z:[17,[14,14,3,0,-1,-1,3,14,14,14,-1,-1,3,0,14,0]],"{":[14,[9,25,7,24,6,23,5,21,5,19,6,17,7,16,8,14,8,12,6,10,-1,-1,7,24,6,22,6,20,7,18,8,17,9,15,9,13,8,11,4,9,8,7,9,5,9,3,8,1,7,0,6,-2,6,-4,7,-6,-1,-1,6,8,8,6,8,4,7,2,6,1,5,-1,5,-3,6,-5,7,-6,9,-7]],"|":[8,[4,25,4,-7]],"}":[14,[5,25,7,24,8,23,9,21,9,19,8,17,7,16,6,14,6,12,8,10,-1,-1,7,24,8,22,8,20,7,18,6,17,5,15,5,13,6,11,10,9,6,7,5,5,5,3,6,1,7,0,8,-2,8,-4,7,-6,-1,-1,8,8,6,6,6,4,7,2,8,1,9,-1,9,-3,8,-5,7,-6,5,-7]],"~":[24,[3,6,3,8,4,11,6,12,8,12,10,11,14,8,16,7,18,7,20,8,21,10,-1,-1,3,8,4,10,6,11,8,11,10,10,14,7,16,6,18,6,20,7,21,10,21,12]]};var lo={symbol:function(e,i,o,r,a){if("translucent"===e.renderPass){var n=Ct.disabled,s=e.colorModeForRenderPass();o.layout.get("text-variable-anchor")&&function(e,i,o,r,a,n,s){for(var l=i.transform,c="map"===a,u="map"===n,h=0,p=e;h<p.length;h+=1){var d=p[h],_=r.getTile(d),f=_.getBucket(o);if(f&&f.text&&f.text.segments.get().length){var m=f.textSizeData,g=t.evaluateSizeForZoom(m,l.zoom),v=ue(_,1,i.transform.zoom),y=Kt(d.posMatrix,u,c,i.transform,v),x="none"!==o.layout.get("icon-text-fit")&&f.hasIconData();if(g){var b=Math.pow(2,l.zoom-_.tileID.overscaledZ);Qi(f,c,u,s,t.symbolSize,l,y,d.posMatrix,b,g,x);}}}}(r,e,o,i,o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),a),0!==o.paint.get("icon-opacity").constantOr(1)&&$i(e,i,o,r,!1,o.paint.get("icon-translate"),o.paint.get("icon-translate-anchor"),o.layout.get("icon-rotation-alignment"),o.layout.get("icon-pitch-alignment"),o.layout.get("icon-keep-upright"),n,s),0!==o.paint.get("text-opacity").constantOr(1)&&$i(e,i,o,r,!0,o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),o.layout.get("text-rotation-alignment"),o.layout.get("text-pitch-alignment"),o.layout.get("text-keep-upright"),n,s),i.map.showCollisionBoxes&&(Ki(e,i,o,r,o.paint.get("text-translate"),o.paint.get("text-translate-anchor"),!0),Ki(e,i,o,r,o.paint.get("icon-translate"),o.paint.get("icon-translate-anchor"),!1));}},circle:function(e,i,o,r){if("translucent"===e.renderPass){var a=o.paint.get("circle-opacity"),n=o.paint.get("circle-stroke-width"),s=o.paint.get("circle-stroke-opacity"),l=void 0!==o.layout.get("circle-sort-key").constantOr(1);if(0!==a.constantOr(1)||0!==n.constantOr(1)&&0!==s.constantOr(1)){for(var c=e.context,u=c.gl,h=e.depthModeForSublayer(0,It.ReadOnly),p=Ct.disabled,d=e.colorModeForRenderPass(),_=[],f=0;f<r.length;f++){var m=r[f],g=i.getTile(m),v=g.getBucket(o);if(v){var y=v.programConfigurations.get(o.id),x={programConfiguration:y,program:e.useProgram("circle",y),layoutVertexBuffer:v.layoutVertexBuffer,indexBuffer:v.indexBuffer,uniformValues:Ei(e,m,g,o)};if(l)for(var b=0,w=v.segments.get();b<w.length;b+=1){var E=w[b];_.push({segments:new t.SegmentVector([E]),sortKey:E.sortKey,state:x});}else _.push({segments:v.segments,sortKey:0,state:x});}}l&&_.sort((function(t,e){return t.sortKey-e.sortKey}));for(var T=0,I=_;T<I.length;T+=1){var C=I[T],S=C.state,P=S.programConfiguration,z=S.program,L=S.layoutVertexBuffer,M=S.indexBuffer,D=S.uniformValues,R=C.segments;z.draw(c,u.TRIANGLES,h,p,d,Pt.disabled,D,o.id,L,M,R,o.paint,e.transform.zoom,P);}}}},heatmap:function(e,i,o,r){if(0!==o.paint.get("heatmap-opacity"))if("offscreen"===e.renderPass){var a=e.context,n=a.gl,s=e.depthModeForSublayer(0,It.ReadOnly),l=Ct.disabled,c=new St([n.ONE,n.ONE],t.Color.transparent,[!0,!0,!0,!0]);!function(t,e,i){var o=t.gl;t.activeTexture.set(o.TEXTURE1),t.viewport.set([0,0,e.width/4,e.height/4]);var r=i.heatmapFbo;if(r)o.bindTexture(o.TEXTURE_2D,r.colorAttachment.get()),t.bindFramebuffer.set(r.framebuffer);else{var a=o.createTexture();o.bindTexture(o.TEXTURE_2D,a),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_S,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_WRAP_T,o.CLAMP_TO_EDGE),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MIN_FILTER,o.LINEAR),o.texParameteri(o.TEXTURE_2D,o.TEXTURE_MAG_FILTER,o.LINEAR),r=i.heatmapFbo=t.createFramebuffer(e.width/4,e.height/4),function t(e,i,o,r){var a=e.gl;a.texImage2D(a.TEXTURE_2D,0,a.RGBA,i.width/4,i.height/4,0,a.RGBA,e.extTextureHalfFloat?e.extTextureHalfFloat.HALF_FLOAT_OES:a.UNSIGNED_BYTE,null);r.colorAttachment.set(o);e.extTextureHalfFloat&&a.checkFramebufferStatus(a.FRAMEBUFFER)!==a.FRAMEBUFFER_COMPLETE&&(e.extTextureHalfFloat=null,r.colorAttachment.setDirty(),t(e,i,o,r));}(t,e,a,r);}}(a,e,o),a.clear({color:t.Color.transparent});for(var u=0;u<r.length;u++){var h=r[u];if(!i.hasRenderableParent(h)){var p=i.getTile(h),d=p.getBucket(o);if(d){var _=d.programConfigurations.get(o.id),f=e.useProgram("heatmap",_),m=e.transform.zoom;f.draw(a,n.TRIANGLES,s,l,c,Pt.disabled,Pi(h.posMatrix,p,m,o.paint.get("heatmap-intensity")),o.id,d.layoutVertexBuffer,d.indexBuffer,d.segments,o.paint,e.transform.zoom,_);}}}a.viewport.set([0,0,e.width,e.height]);}else"translucent"===e.renderPass&&(e.context.setColorMode(e.colorModeForRenderPass()),function(e,i){var o=e.context,r=o.gl,a=i.heatmapFbo;if(!a)return;o.activeTexture.set(r.TEXTURE0),r.bindTexture(r.TEXTURE_2D,a.colorAttachment.get()),o.activeTexture.set(r.TEXTURE1);var n=i.colorRampTexture;n||(n=i.colorRampTexture=new t.Texture(o,i.colorRamp,r.RGBA));n.bind(r.LINEAR,r.CLAMP_TO_EDGE),e.useProgram("heatmapTexture").draw(o,r.TRIANGLES,It.disabled,Ct.disabled,e.colorModeForRenderPass(),Pt.disabled,zi(e,i,0,1),i.id,e.viewportBuffer,e.quadTriangleIndexBuffer,e.viewportSegments,i.paint,e.transform.zoom);}(e,o));},line:function(e,i,o,r){if("translucent"===e.renderPass){var a=o.paint.get("line-opacity"),n=o.paint.get("line-width");if(0!==a.constantOr(1)&&0!==n.constantOr(1)){var s=e.depthModeForSublayer(0,It.ReadOnly),l=e.colorModeForRenderPass(),c=o.paint.get("line-dasharray"),u=o.paint.get("line-pattern"),h=u.constantOr(1),p=o.paint.get("line-gradient"),d=o.getCrossfadeParameters(),_=c?"lineSDF":h?"linePattern":p?"lineGradient":"line",f=e.context,m=f.gl,g=!0;if(p){f.activeTexture.set(m.TEXTURE0);var v=o.gradientTexture;if(!o.gradient)return;v||(v=o.gradientTexture=new t.Texture(f,o.gradient,m.RGBA)),v.bind(m.LINEAR,m.CLAMP_TO_EDGE);}for(var y=0,x=r;y<x.length;y+=1){var b=x[y],w=i.getTile(b);if(!h||w.patternsLoaded()){var E=w.getBucket(o);if(E){var T=E.programConfigurations.get(o.id),I=e.context.program.get(),C=e.useProgram(_,T),S=g||C.program!==I,P=u.constantOr(null);if(P&&w.imageAtlas){var z=w.imageAtlas,L=z.patternPositions[P.to.toString()],M=z.patternPositions[P.from.toString()];L&&M&&T.setConstantPatternPositions(L,M);}var D=c?Bi(e,w,o,c,d):h?ki(e,w,o,d):p?Ai(e,w,o):Ri(e,w,o);c&&(S||e.lineAtlas.dirty)?(f.activeTexture.set(m.TEXTURE0),e.lineAtlas.bind(f)):h&&(f.activeTexture.set(m.TEXTURE0),w.imageAtlasTexture.bind(m.LINEAR,m.CLAMP_TO_EDGE),T.updatePatternPaintBuffers(d)),C.draw(f,m.TRIANGLES,s,e.stencilModeForClipping(b),l,Pt.disabled,D,o.id,E.layoutVertexBuffer,E.indexBuffer,E.segments,o.paint,e.transform.zoom,T),g=!1;}}}}}},fill:function(e,i,o,r){var a=o.paint.get("fill-color"),n=o.paint.get("fill-opacity");if(0!==n.constantOr(1)){var s=e.colorModeForRenderPass(),l=o.paint.get("fill-pattern"),c=e.opaquePassEnabledForLayer()&&!l.constantOr(1)&&1===a.constantOr(t.Color.transparent).a&&1===n.constantOr(0)?"opaque":"translucent";if(e.renderPass===c){var u=e.depthModeForSublayer(1,"opaque"===e.renderPass?It.ReadWrite:It.ReadOnly);eo(e,i,o,r,u,s,!1);}if("translucent"===e.renderPass&&o.paint.get("fill-antialias")){var h=e.depthModeForSublayer(o.getPaintProperty("fill-outline-color")?2:0,It.ReadOnly);eo(e,i,o,r,h,s,!0);}}},"fill-extrusion":function(t,e,i,o){var r=i.paint.get("fill-extrusion-opacity");if(0!==r&&"translucent"===t.renderPass){var a=new It(t.context.gl.LEQUAL,It.ReadWrite,t.depthRangeFor3D);if(1!==r||i.paint.get("fill-extrusion-pattern").constantOr(1))io(t,e,i,o,a,Ct.disabled,St.disabled),io(t,e,i,o,a,t.stencilModeFor3D(),t.colorModeForRenderPass());else{var n=t.colorModeForRenderPass();io(t,e,i,o,a,Ct.disabled,n);}}},hillshade:function(t,e,i,o){if("offscreen"===t.renderPass||"translucent"===t.renderPass){for(var r=t.context,a=e.getSource().maxzoom,n=t.depthModeForSublayer(0,It.ReadOnly),s=Ct.disabled,l=t.colorModeForRenderPass(),c=0,u=o;c<u.length;c+=1){var h=u[c],p=e.getTile(h);p.needsHillshadePrepare&&"offscreen"===t.renderPass?ro(t,p,i,a,n,s,l):"translucent"===t.renderPass&&oo(t,p,i,n,s,l);}r.viewport.set([0,0,t.width,t.height]);}},raster:function(t,e,i,o){if("translucent"===t.renderPass&&0!==i.paint.get("raster-opacity"))for(var r=t.context,a=r.gl,n=e.getSource(),s=t.useProgram("raster"),l=Ct.disabled,c=t.colorModeForRenderPass(),u=o.length&&o[0].overscaledZ,h=!t.options.moving,p=0,d=o;p<d.length;p+=1){var _=d[p],f=t.depthModeForSublayer(_.overscaledZ-u,1===i.paint.get("raster-opacity")?It.ReadWrite:It.ReadOnly,a.LESS),m=e.getTile(_),g=t.transform.calculatePosMatrix(_.toUnwrapped(),h);m.registerFadeDuration(i.paint.get("raster-fade-duration"));var v=e.findLoadedParent(_,0),y=ao(m,v,e,i,t.transform),x=void 0,b=void 0,w="nearest"===i.paint.get("raster-resampling")?a.NEAREST:a.LINEAR;r.activeTexture.set(a.TEXTURE0),m.texture.bind(w,a.CLAMP_TO_EDGE,a.LINEAR_MIPMAP_NEAREST),r.activeTexture.set(a.TEXTURE1),v?(v.texture.bind(w,a.CLAMP_TO_EDGE,a.LINEAR_MIPMAP_NEAREST),x=Math.pow(2,v.tileID.overscaledZ-m.tileID.overscaledZ),b=[m.tileID.canonical.x*x%1,m.tileID.canonical.y*x%1]):m.texture.bind(w,a.CLAMP_TO_EDGE,a.LINEAR_MIPMAP_NEAREST);var E=Ui(g,b||[0,0],x||1,y,i);n instanceof M?s.draw(r,a.TRIANGLES,f,l,c,Pt.disabled,E,i.id,n.boundsBuffer,t.quadTriangleIndexBuffer,n.boundsSegments):m.maskedBoundsBuffer&&m.maskedIndexBuffer&&m.segments?s.draw(r,a.TRIANGLES,f,l,c,Pt.disabled,E,i.id,m.maskedBoundsBuffer,m.maskedIndexBuffer,m.segments,i.paint,t.transform.zoom):s.draw(r,a.TRIANGLES,f,l,c,Pt.disabled,E,i.id,t.rasterBoundsBuffer,t.quadTriangleIndexBuffer,t.rasterBoundsSegments);}},background:function(t,e,i){var o=i.paint.get("background-color"),r=i.paint.get("background-opacity");if(0!==r){var a=t.context,n=a.gl,s=t.transform,l=s.tileSize,c=i.paint.get("background-pattern");if(!t.isPatternMissing(c)){var u=!c&&1===o.a&&1===r&&t.opaquePassEnabledForLayer()?"opaque":"translucent";if(t.renderPass===u){var h=Ct.disabled,p=t.depthModeForSublayer(0,"opaque"===u?It.ReadWrite:It.ReadOnly),d=t.colorModeForRenderPass(),_=t.useProgram(c?"backgroundPattern":"background"),f=s.coveringTiles({tileSize:l});c&&(a.activeTexture.set(n.TEXTURE0),t.imageManager.bind(t.context));for(var m=i.getCrossfadeParameters(),g=0,v=f;g<v.length;g+=1){var y=v[g],x=t.transform.calculatePosMatrix(y.toUnwrapped()),b=c?ji(x,r,t,c,{tileID:y,tileSize:l},m):Vi(x,r,o);_.draw(a,n.TRIANGLES,p,h,d,Pt.disabled,b,i.id,t.tileExtentBuffer,t.quadTriangleIndexBuffer,t.tileExtentSegments);}}}}},debug:function(t,e,i){for(var o=0;o<i.length;o++)no(t,e,i[o]);},custom:function(t,e,i){var o=t.context,r=i.implementation;if("offscreen"===t.renderPass){var a=r.prerender;a&&(t.setCustomLayerDefaults(),o.setColorMode(t.colorModeForRenderPass()),a.call(r,o.gl,t.transform.customLayerMatrix()),o.setDirty(),t.setBaseState());}else if("translucent"===t.renderPass){t.setCustomLayerDefaults(),o.setColorMode(t.colorModeForRenderPass()),o.setStencilMode(Ct.disabled);var n="3d"===r.renderingMode?new It(t.context.gl.LEQUAL,It.ReadWrite,t.depthRangeFor3D):t.depthModeForSublayer(0,It.ReadOnly);o.setDepthMode(n),r.render(o.gl,t.transform.customLayerMatrix()),o.setDirty(),t.setBaseState(),o.bindFramebuffer.set(null);}}},co=function(e,i){this.context=new zt(e),this.transform=i,this._tileTextures={},this.setup(),this.numSublayers=Lt.maxUnderzooming+Lt.maxOverzooming+1,this.depthEpsilon=1/Math.pow(2,16),this.depthRboNeedsClear=!0,this.emptyProgramConfiguration=new t.ProgramConfiguration,this.crossTileSymbolIndex=new ke;};function uo(t,e){if(t.y>e.y){var i=t;t=e,e=i;}return{x0:t.x,y0:t.y,x1:e.x,y1:e.y,dx:e.x-t.x,dy:e.y-t.y}}function ho(t,e,i,o,r){var a=Math.max(i,Math.floor(e.y0)),n=Math.min(o,Math.ceil(e.y1));if(t.x0===e.x0&&t.y0===e.y0?t.x0+e.dy/t.dy*t.dx<e.x1:t.x1-e.dy/t.dy*t.dx<e.x0){var s=t;t=e,e=s;}for(var l=t.dx/t.dy,c=e.dx/e.dy,u=t.dx>0,h=e.dx<0,p=a;p<n;p++){var d=l*Math.max(0,Math.min(t.dy,p+u-t.y0))+t.x0,_=c*Math.max(0,Math.min(e.dy,p+h-e.y0))+e.x0;r(Math.floor(_),Math.ceil(d),p);}}function po(t,e,i,o,r,a){var n,s=uo(t,e),l=uo(e,i),c=uo(i,t);s.dy>l.dy&&(n=s,s=l,l=n),s.dy>c.dy&&(n=s,s=c,c=n),l.dy>c.dy&&(n=l,l=c,c=n),s.dy&&ho(c,s,o,r,a),l.dy&&ho(c,l,o,r,a);}co.prototype.resize=function(e,i){var o=this.context.gl;if(this.width=e*t.browser.devicePixelRatio,this.height=i*t.browser.devicePixelRatio,this.context.viewport.set([0,0,this.width,this.height]),this.style)for(var r=0,a=this.style._order;r<a.length;r+=1){var n=a[r];this.style._layers[n].resize();}this.depthRbo&&(o.deleteRenderbuffer(this.depthRbo),this.depthRbo=null);},co.prototype.setup=function(){var e=this.context,i=new t.StructArrayLayout2i4;i.emplaceBack(0,0),i.emplaceBack(t.EXTENT,0),i.emplaceBack(0,t.EXTENT),i.emplaceBack(t.EXTENT,t.EXTENT),this.tileExtentBuffer=e.createVertexBuffer(i,Ne.members),this.tileExtentSegments=t.SegmentVector.simpleSegment(0,0,4,2);var o=new t.StructArrayLayout2i4;o.emplaceBack(0,0),o.emplaceBack(t.EXTENT,0),o.emplaceBack(0,t.EXTENT),o.emplaceBack(t.EXTENT,t.EXTENT),this.debugBuffer=e.createVertexBuffer(o,Ne.members),this.debugSegments=t.SegmentVector.simpleSegment(0,0,4,5);var r=new t.StructArrayLayout4i8;r.emplaceBack(0,0,0,0),r.emplaceBack(t.EXTENT,0,t.EXTENT,0),r.emplaceBack(0,t.EXTENT,0,t.EXTENT),r.emplaceBack(t.EXTENT,t.EXTENT,t.EXTENT,t.EXTENT),this.rasterBoundsBuffer=e.createVertexBuffer(r,t.rasterBoundsAttributes.members),this.rasterBoundsSegments=t.SegmentVector.simpleSegment(0,0,4,2);var a=new t.StructArrayLayout2i4;a.emplaceBack(0,0),a.emplaceBack(1,0),a.emplaceBack(0,1),a.emplaceBack(1,1),this.viewportBuffer=e.createVertexBuffer(a,Ne.members),this.viewportSegments=t.SegmentVector.simpleSegment(0,0,4,2);var n=new t.StructArrayLayout1ui2;n.emplaceBack(0),n.emplaceBack(1),n.emplaceBack(3),n.emplaceBack(2),n.emplaceBack(0),this.tileBorderIndexBuffer=e.createIndexBuffer(n);var s=new t.StructArrayLayout3ui6;s.emplaceBack(0,1,2),s.emplaceBack(2,1,3),this.quadTriangleIndexBuffer=e.createIndexBuffer(s);var l=this.context.gl;this.stencilClearMode=new Ct({func:l.ALWAYS,mask:0},0,255,l.ZERO,l.ZERO,l.ZERO);},co.prototype.clearStencil=function(){var e=this.context,i=e.gl;this.nextStencilID=1,this.currentStencilSource=void 0;var o=t.create();t.ortho(o,0,this.width,this.height,0,0,1),t.scale(o,o,[i.drawingBufferWidth,i.drawingBufferHeight,0]),this.useProgram("clippingMask").draw(e,i.TRIANGLES,It.disabled,this.stencilClearMode,St.disabled,Pt.disabled,Si(o),"$clipping",this.viewportBuffer,this.quadTriangleIndexBuffer,this.viewportSegments);},co.prototype._renderTileClippingMasks=function(t,e){if(this.currentStencilSource!==t.source&&t.isTileClipped()&&e&&e.length){this.currentStencilSource=t.source;var i=this.context,o=i.gl;this.nextStencilID+e.length>256&&this.clearStencil(),i.setColorMode(St.disabled),i.setDepthMode(It.disabled);var r=this.useProgram("clippingMask");this._tileClippingMaskIDs={};for(var a=0,n=e;a<n.length;a+=1){var s=n[a],l=this._tileClippingMaskIDs[s.key]=this.nextStencilID++;r.draw(i,o.TRIANGLES,It.disabled,new Ct({func:o.ALWAYS,mask:0},l,255,o.KEEP,o.KEEP,o.REPLACE),St.disabled,Pt.disabled,Si(s.posMatrix),"$clipping",this.tileExtentBuffer,this.quadTriangleIndexBuffer,this.tileExtentSegments);}}},co.prototype.stencilModeFor3D=function(){this.currentStencilSource=void 0,this.nextStencilID+1>256&&this.clearStencil();var t=this.nextStencilID++,e=this.context.gl;return new Ct({func:e.NOTEQUAL,mask:255},t,255,e.KEEP,e.KEEP,e.REPLACE)},co.prototype.stencilModeForClipping=function(t){var e=this.context.gl;return new Ct({func:e.EQUAL,mask:255},this._tileClippingMaskIDs[t.key],0,e.KEEP,e.KEEP,e.REPLACE)},co.prototype.colorModeForRenderPass=function(){var e=this.context.gl;if(this._showOverdrawInspector){return new St([e.CONSTANT_COLOR,e.ONE],new t.Color(1/8,1/8,1/8,0),[!0,!0,!0,!0])}return "opaque"===this.renderPass?St.unblended:St.alphaBlended},co.prototype.depthModeForSublayer=function(t,e,i){if(!this.opaquePassEnabledForLayer())return It.disabled;var o=1-((1+this.currentLayer)*this.numSublayers+t)*this.depthEpsilon;return new It(i||this.context.gl.LEQUAL,e,[o,o])},co.prototype.opaquePassEnabledForLayer=function(){return this.currentLayer<this.opaquePassCutoff},co.prototype.render=function(e,i){this.style=e,this.options=i,this.lineAtlas=e.lineAtlas,this.imageManager=e.imageManager,this.glyphManager=e.glyphManager,this.symbolFadeChange=e.placement.symbolFadeChange(t.browser.now()),this.imageManager.beginFrame();var o=this.style._order,r=this.style.sourceCaches;for(var a in r){var n=r[a];n.used&&n.prepare(this.context);}var s={},l={},c={};for(var u in r){var h=r[u];s[u]=h.getVisibleCoordinates(),l[u]=s[u].slice().reverse(),c[u]=h.getVisibleCoordinates(!0).reverse();}for(var p in r){var d=r[p],_=d.getSource();if("raster"===_.type||"raster-dem"===_.type){for(var f=[],m=0,g=s[p];m<g.length;m+=1){var v=g[m];f.push(d.getTile(v));}Wi(f,this.context);}}this.opaquePassCutoff=1/0;for(var y=0;y<o.length;y++){var x=o[y];if(this.style._layers[x].is3D()){this.opaquePassCutoff=y;break}}this.renderPass="offscreen",this.depthRboNeedsClear=!0;for(var b=0,w=o;b<w.length;b+=1){var E=w[b],T=this.style._layers[E];if(T.hasOffscreenPass()&&!T.isHidden(this.transform.zoom)){var I=l[T.source];("custom"===T.type||I.length)&&this.renderLayer(this,r[T.source],T,I);}}for(this.context.bindFramebuffer.set(null),this.context.clear({color:i.showOverdrawInspector?t.Color.black:t.Color.transparent,depth:1}),this.clearStencil(),this._showOverdrawInspector=i.showOverdrawInspector,this.depthRangeFor3D=[0,1-(e._order.length+2)*this.numSublayers*this.depthEpsilon],this.renderPass="opaque",this.currentLayer=o.length-1;this.currentLayer>=0;this.currentLayer--){var C=this.style._layers[o[this.currentLayer]],S=r[C.source],P=s[C.source];this._renderTileClippingMasks(C,P),this.renderLayer(this,S,C,P);}for(this.renderPass="translucent",this.currentLayer=0;this.currentLayer<o.length;this.currentLayer++){var z=this.style._layers[o[this.currentLayer]],L=r[z.source],M=("symbol"===z.type?c:l)[z.source];this._renderTileClippingMasks(z,s[z.source]),this.renderLayer(this,L,z,M);}if(this.options.showTileBoundaries)for(var D in r){lo.debug(this,r[D],s[D]);break}this.context.setDefault();},co.prototype.setupOffscreenDepthRenderbuffer=function(){var t=this.context;this.depthRbo||(this.depthRbo=t.createRenderbuffer(t.gl.DEPTH_COMPONENT16,this.width,this.height));},co.prototype.renderLayer=function(t,e,i,o){i.isHidden(this.transform.zoom)||("background"===i.type||"custom"===i.type||o.length)&&(this.id=i.id,lo[i.type](t,e,i,o,this.style.placement.variableOffsets));},co.prototype.translatePosMatrix=function(e,i,o,r,a){if(!o[0]&&!o[1])return e;var n=a?"map"===r?this.transform.angle:0:"viewport"===r?-this.transform.angle:0;if(n){var s=Math.sin(n),l=Math.cos(n);o=[o[0]*l-o[1]*s,o[0]*s+o[1]*l];}var c=[a?o[0]:ue(i,o[0],this.transform.zoom),a?o[1]:ue(i,o[1],this.transform.zoom),0],u=new Float32Array(16);return t.translate(u,e,c),u},co.prototype.saveTileTexture=function(t){var e=this._tileTextures[t.size[0]];e?e.push(t):this._tileTextures[t.size[0]]=[t];},co.prototype.getTileTexture=function(t){var e=this._tileTextures[t];return e&&e.length>0?e.pop():null},co.prototype.isPatternMissing=function(t){if(!t)return!1;var e=this.imageManager.getPattern(t.from.toString()),i=this.imageManager.getPattern(t.to.toString());return!e||!i},co.prototype.useProgram=function(t,e){void 0===e&&(e=this.emptyProgramConfiguration),this.cache=this.cache||{};var i=""+t+(e.cacheKey||"")+(this._showOverdrawInspector?"/overdraw":"");return this.cache[i]||(this.cache[i]=new fi(this.context,di[t],e,Gi[t],this._showOverdrawInspector)),this.cache[i]},co.prototype.setCustomLayerDefaults=function(){this.context.unbindVAO(),this.context.cullFace.setDefault(),this.context.activeTexture.setDefault(),this.context.pixelStoreUnpack.setDefault(),this.context.pixelStoreUnpackPremultiplyAlpha.setDefault(),this.context.pixelStoreUnpackFlipY.setDefault();},co.prototype.setBaseState=function(){var t=this.context.gl;this.context.cullFace.set(!1),this.context.viewport.set([0,0,this.width,this.height]),this.context.blendEquation.set(t.FUNC_ADD);};var _o=function(e,i,o){this.tileSize=512,this.maxValidLatitude=85.051129,this._renderWorldCopies=void 0===o||o,this._minZoom=e||0,this._maxZoom=i||22,this.setMaxBounds(),this.width=0,this.height=0,this._center=new t.LngLat(0,0),this.zoom=0,this.angle=0,this._fov=.6435011087932844,this._pitch=0,this._unmodified=!0,this._posMatrixCache={},this._alignedPosMatrixCache={};},fo={minZoom:{configurable:!0},maxZoom:{configurable:!0},renderWorldCopies:{configurable:!0},worldSize:{configurable:!0},centerPoint:{configurable:!0},size:{configurable:!0},bearing:{configurable:!0},pitch:{configurable:!0},fov:{configurable:!0},zoom:{configurable:!0},center:{configurable:!0},unmodified:{configurable:!0},point:{configurable:!0}};_o.prototype.clone=function(){var t=new _o(this._minZoom,this._maxZoom,this._renderWorldCopies);return t.tileSize=this.tileSize,t.latRange=this.latRange,t.width=this.width,t.height=this.height,t._center=this._center,t.zoom=this.zoom,t.angle=this.angle,t._fov=this._fov,t._pitch=this._pitch,t._unmodified=this._unmodified,t._calcMatrices(),t},fo.minZoom.get=function(){return this._minZoom},fo.minZoom.set=function(t){this._minZoom!==t&&(this._minZoom=t,this.zoom=Math.max(this.zoom,t));},fo.maxZoom.get=function(){return this._maxZoom},fo.maxZoom.set=function(t){this._maxZoom!==t&&(this._maxZoom=t,this.zoom=Math.min(this.zoom,t));},fo.renderWorldCopies.get=function(){return this._renderWorldCopies},fo.renderWorldCopies.set=function(t){void 0===t?t=!0:null===t&&(t=!1),this._renderWorldCopies=t;},fo.worldSize.get=function(){return this.tileSize*this.scale},fo.centerPoint.get=function(){return this.size._div(2)},fo.size.get=function(){return new t.Point(this.width,this.height)},fo.bearing.get=function(){return-this.angle/Math.PI*180},fo.bearing.set=function(e){var i=-t.wrap(e,-180,180)*Math.PI/180;this.angle!==i&&(this._unmodified=!1,this.angle=i,this._calcMatrices(),this.rotationMatrix=t.create$2(),t.rotate(this.rotationMatrix,this.rotationMatrix,this.angle));},fo.pitch.get=function(){return this._pitch/Math.PI*180},fo.pitch.set=function(e){var i=t.clamp(e,0,60)/180*Math.PI;this._pitch!==i&&(this._unmodified=!1,this._pitch=i,this._calcMatrices());},fo.fov.get=function(){return this._fov/Math.PI*180},fo.fov.set=function(t){t=Math.max(.01,Math.min(60,t)),this._fov!==t&&(this._unmodified=!1,this._fov=t/180*Math.PI,this._calcMatrices());},fo.zoom.get=function(){return this._zoom},fo.zoom.set=function(t){var e=Math.min(Math.max(t,this.minZoom),this.maxZoom);this._zoom!==e&&(this._unmodified=!1,this._zoom=e,this.scale=this.zoomScale(e),this.tileZoom=Math.floor(e),this.zoomFraction=e-this.tileZoom,this._constrain(),this._calcMatrices());},fo.center.get=function(){return this._center},fo.center.set=function(t){t.lat===this._center.lat&&t.lng===this._center.lng||(this._unmodified=!1,this._center=t,this._constrain(),this._calcMatrices());},_o.prototype.coveringZoomLevel=function(t){return(t.roundZoom?Math.round:Math.floor)(this.zoom+this.scaleZoom(this.tileSize/t.tileSize))},_o.prototype.getVisibleUnwrappedCoordinates=function(e){var i=[new t.UnwrappedTileID(0,e)];if(this._renderWorldCopies)for(var o=this.pointCoordinate(new t.Point(0,0)),r=this.pointCoordinate(new t.Point(this.width,0)),a=this.pointCoordinate(new t.Point(this.width,this.height)),n=this.pointCoordinate(new t.Point(0,this.height)),s=Math.floor(Math.min(o.x,r.x,a.x,n.x)),l=Math.floor(Math.max(o.x,r.x,a.x,n.x)),c=s-1;c<=l+1;c++)0!==c&&i.push(new t.UnwrappedTileID(c,e));return i},_o.prototype.coveringTiles=function(e){var i=this.coveringZoomLevel(e),o=i;if(void 0!==e.minzoom&&i<e.minzoom)return[];void 0!==e.maxzoom&&i>e.maxzoom&&(i=e.maxzoom);var r=t.MercatorCoordinate.fromLngLat(this.center),a=Math.pow(2,i),n=new t.Point(a*r.x-.5,a*r.y-.5);return function(e,i,o,r){void 0===r&&(r=!0);var a=1<<e,n={};function s(i,s,l){var c,u,h,p;if(l>=0&&l<=a)for(c=i;c<s;c++)u=Math.floor(c/a),h=(c%a+a)%a,0!==u&&!0!==r||(p=new t.OverscaledTileID(o,u,e,h,l),n[p.key]=p);}var l=i.map((function(e){return new t.Point(e.x,e.y)._mult(a)}));return po(l[0],l[1],l[2],0,a,s),po(l[2],l[3],l[0],0,a,s),Object.keys(n).map((function(t){return n[t]}))}(i,[this.pointCoordinate(new t.Point(0,0)),this.pointCoordinate(new t.Point(this.width,0)),this.pointCoordinate(new t.Point(this.width,this.height)),this.pointCoordinate(new t.Point(0,this.height))],e.reparseOverscaled?o:i,this._renderWorldCopies).sort((function(t,e){return n.dist(t.canonical)-n.dist(e.canonical)}))},_o.prototype.resize=function(t,e){this.width=t,this.height=e,this.pixelsToGLUnits=[2/t,-2/e],this._constrain(),this._calcMatrices();},fo.unmodified.get=function(){return this._unmodified},_o.prototype.zoomScale=function(t){return Math.pow(2,t)},_o.prototype.scaleZoom=function(t){return Math.log(t)/Math.LN2},_o.prototype.project=function(e){var i=t.clamp(e.lat,-this.maxValidLatitude,this.maxValidLatitude);return new t.Point(t.mercatorXfromLng(e.lng)*this.worldSize,t.mercatorYfromLat(i)*this.worldSize)},_o.prototype.unproject=function(e){return new t.MercatorCoordinate(e.x/this.worldSize,e.y/this.worldSize).toLngLat()},fo.point.get=function(){return this.project(this.center)},_o.prototype.setLocationAtPoint=function(e,i){var o=this.pointCoordinate(i),r=this.pointCoordinate(this.centerPoint),a=this.locationCoordinate(e),n=new t.MercatorCoordinate(a.x-(o.x-r.x),a.y-(o.y-r.y));this.center=this.coordinateLocation(n),this._renderWorldCopies&&(this.center=this.center.wrap());},_o.prototype.locationPoint=function(t){return this.coordinatePoint(this.locationCoordinate(t))},_o.prototype.pointLocation=function(t){return this.coordinateLocation(this.pointCoordinate(t))},_o.prototype.locationCoordinate=function(e){return t.MercatorCoordinate.fromLngLat(e)},_o.prototype.coordinateLocation=function(t){return t.toLngLat()},_o.prototype.pointCoordinate=function(e){var i=[e.x,e.y,0,1],o=[e.x,e.y,1,1];t.transformMat4(i,i,this.pixelMatrixInverse),t.transformMat4(o,o,this.pixelMatrixInverse);var r=i[3],a=o[3],n=i[0]/r,s=o[0]/a,l=i[1]/r,c=o[1]/a,u=i[2]/r,h=o[2]/a,p=u===h?0:(0-u)/(h-u);return new t.MercatorCoordinate(t.number(n,s,p)/this.worldSize,t.number(l,c,p)/this.worldSize)},_o.prototype.coordinatePoint=function(e){var i=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(i,i,this.pixelMatrix),new t.Point(i[0]/i[3],i[1]/i[3])},_o.prototype.getBounds=function(){return(new t.LngLatBounds).extend(this.pointLocation(new t.Point(0,0))).extend(this.pointLocation(new t.Point(this.width,0))).extend(this.pointLocation(new t.Point(this.width,this.height))).extend(this.pointLocation(new t.Point(0,this.height)))},_o.prototype.getMaxBounds=function(){return this.latRange&&2===this.latRange.length&&this.lngRange&&2===this.lngRange.length?new t.LngLatBounds([this.lngRange[0],this.latRange[0]],[this.lngRange[1],this.latRange[1]]):null},_o.prototype.setMaxBounds=function(t){t?(this.lngRange=[t.getWest(),t.getEast()],this.latRange=[t.getSouth(),t.getNorth()],this._constrain()):(this.lngRange=null,this.latRange=[-this.maxValidLatitude,this.maxValidLatitude]);},_o.prototype.calculatePosMatrix=function(e,i){void 0===i&&(i=!1);var o=e.key,r=i?this._alignedPosMatrixCache:this._posMatrixCache;if(r[o])return r[o];var a=e.canonical,n=this.worldSize/this.zoomScale(a.z),s=a.x+Math.pow(2,a.z)*e.wrap,l=t.identity(new Float64Array(16));return t.translate(l,l,[s*n,a.y*n,0]),t.scale(l,l,[n/t.EXTENT,n/t.EXTENT,1]),t.multiply(l,i?this.alignedProjMatrix:this.projMatrix,l),r[o]=new Float32Array(l),r[o]},_o.prototype.customLayerMatrix=function(){return this.mercatorMatrix.slice()},_o.prototype._constrain=function(){if(this.center&&this.width&&this.height&&!this._constraining){this._constraining=!0;var e,i,o,r,a=-90,n=90,s=-180,l=180,c=this.size,u=this._unmodified;if(this.latRange){var h=this.latRange;a=t.mercatorYfromLat(h[1])*this.worldSize,e=(n=t.mercatorYfromLat(h[0])*this.worldSize)-a<c.y?c.y/(n-a):0;}if(this.lngRange){var p=this.lngRange;s=t.mercatorXfromLng(p[0])*this.worldSize,i=(l=t.mercatorXfromLng(p[1])*this.worldSize)-s<c.x?c.x/(l-s):0;}var d=this.point,_=Math.max(i||0,e||0);if(_)return this.center=this.unproject(new t.Point(i?(l+s)/2:d.x,e?(n+a)/2:d.y)),this.zoom+=this.scaleZoom(_),this._unmodified=u,void(this._constraining=!1);if(this.latRange){var f=d.y,m=c.y/2;f-m<a&&(r=a+m),f+m>n&&(r=n-m);}if(this.lngRange){var g=d.x,v=c.x/2;g-v<s&&(o=s+v),g+v>l&&(o=l-v);}void 0===o&&void 0===r||(this.center=this.unproject(new t.Point(void 0!==o?o:d.x,void 0!==r?r:d.y))),this._unmodified=u,this._constraining=!1;}},_o.prototype._calcMatrices=function(){if(this.height){this.cameraToCenterDistance=.5/Math.tan(this._fov/2)*this.height;var e=this._fov/2,i=Math.PI/2+this._pitch,o=Math.sin(e)*this.cameraToCenterDistance/Math.sin(Math.PI-i-e),r=this.point,a=r.x,n=r.y,s=1.01*(Math.cos(Math.PI/2-this._pitch)*o+this.cameraToCenterDistance),l=this.height/50,c=new Float64Array(16);t.perspective(c,this._fov,this.width/this.height,l,s),t.scale(c,c,[1,-1,1]),t.translate(c,c,[0,0,-this.cameraToCenterDistance]),t.rotateX(c,c,this._pitch),t.rotateZ(c,c,this.angle),t.translate(c,c,[-a,-n,0]),this.mercatorMatrix=t.scale([],c,[this.worldSize,this.worldSize,this.worldSize]),t.scale(c,c,[1,1,t.mercatorZfromAltitude(1,this.center.lat)*this.worldSize,1]),this.projMatrix=c;var u=this.width%2/2,h=this.height%2/2,p=Math.cos(this.angle),d=Math.sin(this.angle),_=a-Math.round(a)+p*u+d*h,f=n-Math.round(n)+p*h+d*u,m=new Float64Array(c);if(t.translate(m,m,[_>.5?_-1:_,f>.5?f-1:f,0]),this.alignedProjMatrix=m,c=t.create(),t.scale(c,c,[this.width/2,-this.height/2,1]),t.translate(c,c,[1,-1,0]),this.labelPlaneMatrix=c,c=t.create(),t.scale(c,c,[1,-1,1]),t.translate(c,c,[-1,-1,0]),t.scale(c,c,[2/this.width,2/this.height,1]),this.glCoordMatrix=c,this.pixelMatrix=t.multiply(new Float64Array(16),this.labelPlaneMatrix,this.projMatrix),!(c=t.invert(new Float64Array(16),this.pixelMatrix)))throw new Error("failed to invert matrix");this.pixelMatrixInverse=c,this._posMatrixCache={},this._alignedPosMatrixCache={};}},_o.prototype.maxPitchScaleFactor=function(){if(!this.pixelMatrixInverse)return 1;var e=this.pointCoordinate(new t.Point(0,0)),i=[e.x*this.worldSize,e.y*this.worldSize,0,1];return t.transformMat4(i,i,this.pixelMatrix)[3]/this.cameraToCenterDistance},_o.prototype.getCameraPoint=function(){var e=this._pitch,i=Math.tan(e)*(this.cameraToCenterDistance||1);return this.centerPoint.add(new t.Point(0,i))},_o.prototype.getCameraQueryGeometry=function(e){var i=this.getCameraPoint();if(1===e.length)return[e[0],i];for(var o=i.x,r=i.y,a=i.x,n=i.y,s=0,l=e;s<l.length;s+=1){var c=l[s];o=Math.min(o,c.x),r=Math.min(r,c.y),a=Math.max(a,c.x),n=Math.max(n,c.y);}return[new t.Point(o,r),new t.Point(a,r),new t.Point(a,n),new t.Point(o,n),new t.Point(o,r)]},Object.defineProperties(_o.prototype,fo);var mo=function(e){var i,o,r,a,n;this._hashName=e&&encodeURIComponent(e),t.bindAll(["_getCurrentHash","_onHashChange","_updateHash"],this),this._updateHash=(i=this._updateHashUnthrottled.bind(this),o=300,r=!1,a=null,n=function(){a=null,r&&(i(),a=setTimeout(n,o),r=!1);},function(){return r=!0,a||n(),a});};mo.prototype.addTo=function(e){return this._map=e,t.window.addEventListener("hashchange",this._onHashChange,!1),this._map.on("moveend",this._updateHash),this},mo.prototype.remove=function(){return t.window.removeEventListener("hashchange",this._onHashChange,!1),this._map.off("moveend",this._updateHash),clearTimeout(this._updateHash()),delete this._map,this},mo.prototype.getHashString=function(e){var i=this._map.getCenter(),o=Math.round(100*this._map.getZoom())/100,r=Math.ceil((o*Math.LN2+Math.log(512/360/.5))/Math.LN10),a=Math.pow(10,r),n=Math.round(i.lng*a)/a,s=Math.round(i.lat*a)/a,l=this._map.getBearing(),c=this._map.getPitch(),u="";if(u+=e?"/"+n+"/"+s+"/"+o:o+"/"+s+"/"+n,(l||c)&&(u+="/"+Math.round(10*l)/10),c&&(u+="/"+Math.round(c)),this._hashName){var h=this._hashName,p=!1,d=t.window.location.hash.slice(1).split("&").map((function(t){var e=t.split("=")[0];return e===h?(p=!0,e+"="+u):t})).filter((function(t){return t}));return p||d.push(h+"="+u),"#"+d.join("&")}return "#"+u},mo.prototype._getCurrentHash=function(){var e=this,i=t.window.location.hash.replace("#","");if(this._hashName){var o=i.split("&").map((function(t){return t.split("=")})).find((function(t){return t[0]===e._hashName}));return(o&&o[1]||"").split("/")}return i.split("/")},mo.prototype._onHashChange=function(){var t=this._getCurrentHash();return t.length>=3&&!t.some((function(t){return isNaN(t)}))&&(this._map.jumpTo({center:[+t[2],+t[1]],zoom:+t[0],bearing:+(t[3]||0),pitch:+(t[4]||0)}),!0)},mo.prototype._updateHashUnthrottled=function(){var e=this.getHashString();try{t.window.history.replaceState(t.window.history.state,"",e);}catch(t){}};var go=function(e){function o(o,r,a,n){void 0===n&&(n={});var s=i.mousePos(r.getCanvasContainer(),a),l=r.unproject(s);e.call(this,o,t.extend({point:s,lngLat:l,originalEvent:a},n)),this._defaultPrevented=!1,this.target=r;}e&&(o.__proto__=e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o;var r={defaultPrevented:{configurable:!0}};return o.prototype.preventDefault=function(){this._defaultPrevented=!0;},r.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(o.prototype,r),o}(t.Event),vo=function(e){function o(o,r,a){var n=i.touchPos(r.getCanvasContainer(),a),s=n.map((function(t){return r.unproject(t)})),l=n.reduce((function(t,e,i,o){return t.add(e.div(o.length))}),new t.Point(0,0)),c=r.unproject(l);e.call(this,o,{points:n,point:l,lngLats:s,lngLat:c,originalEvent:a}),this._defaultPrevented=!1;}e&&(o.__proto__=e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o;var r={defaultPrevented:{configurable:!0}};return o.prototype.preventDefault=function(){this._defaultPrevented=!0;},r.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(o.prototype,r),o}(t.Event),yo=function(t){function e(e,i,o){t.call(this,e,{originalEvent:o}),this._defaultPrevented=!1;}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var i={defaultPrevented:{configurable:!0}};return e.prototype.preventDefault=function(){this._defaultPrevented=!0;},i.defaultPrevented.get=function(){return this._defaultPrevented},Object.defineProperties(e.prototype,i),e}(t.Event),xo=function(e){this._map=e,this._el=e.getCanvasContainer(),this._delta=0,this._defaultZoomRate=.01,this._wheelZoomRate=1/450,t.bindAll(["_onWheel","_onTimeout","_onScrollFrame","_onScrollFinished"],this);};xo.prototype.setZoomRate=function(t){this._defaultZoomRate=t;},xo.prototype.setWheelZoomRate=function(t){this._wheelZoomRate=t;},xo.prototype.isEnabled=function(){return!!this._enabled},xo.prototype.isActive=function(){return!!this._active},xo.prototype.isZooming=function(){return!!this._zooming},xo.prototype.enable=function(t){this.isEnabled()||(this._enabled=!0,this._aroundCenter=t&&"center"===t.around);},xo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1);},xo.prototype.onWheel=function(e){if(this.isEnabled()){var i=e.deltaMode===t.window.WheelEvent.DOM_DELTA_LINE?40*e.deltaY:e.deltaY,o=t.browser.now(),r=o-(this._lastWheelEventTime||0);this._lastWheelEventTime=o,0!==i&&i%4.000244140625==0?this._type="wheel":0!==i&&Math.abs(i)<4?this._type="trackpad":r>400?(this._type=null,this._lastValue=i,this._timeout=setTimeout(this._onTimeout,40,e)):this._type||(this._type=Math.abs(r*i)<200?"trackpad":"wheel",this._timeout&&(clearTimeout(this._timeout),this._timeout=null,i+=this._lastValue)),e.shiftKey&&i&&(i/=4),this._type&&(this._lastWheelEvent=e,this._delta-=i,this.isActive()||this._start(e)),e.preventDefault();}},xo.prototype._onTimeout=function(t){this._type="wheel",this._delta-=this._lastValue,this.isActive()||this._start(t);},xo.prototype._start=function(e){if(this._delta){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),this._active=!0,this.isZooming()||(this._zooming=!0,this._map.fire(new t.Event("movestart",{originalEvent:e})),this._map.fire(new t.Event("zoomstart",{originalEvent:e}))),this._finishTimeout&&clearTimeout(this._finishTimeout);var o=i.mousePos(this._el,e);this._around=t.LngLat.convert(this._aroundCenter?this._map.getCenter():this._map.unproject(o)),this._aroundPoint=this._map.transform.locationPoint(this._around),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onScrollFrame));}},xo.prototype._onScrollFrame=function(){var e=this;if(this._frameId=null,this.isActive()){var i=this._map.transform;if(0!==this._delta){var o="wheel"===this._type&&Math.abs(this._delta)>4.000244140625?this._wheelZoomRate:this._defaultZoomRate,r=2/(1+Math.exp(-Math.abs(this._delta*o)));this._delta<0&&0!==r&&(r=1/r);var a="number"==typeof this._targetZoom?i.zoomScale(this._targetZoom):i.scale;this._targetZoom=Math.min(i.maxZoom,Math.max(i.minZoom,i.scaleZoom(a*r))),"wheel"===this._type&&(this._startZoom=i.zoom,this._easing=this._smoothOutEasing(200)),this._delta=0;}var n="number"==typeof this._targetZoom?this._targetZoom:i.zoom,s=this._startZoom,l=this._easing,c=!1;if("wheel"===this._type&&s&&l){var u=Math.min((t.browser.now()-this._lastWheelEventTime)/200,1),h=l(u);i.zoom=t.number(s,n,h),u<1?this._frameId||(this._frameId=this._map._requestRenderFrame(this._onScrollFrame)):c=!0;}else i.zoom=n,c=!0;i.setLocationAtPoint(this._around,this._aroundPoint),this._map.fire(new t.Event("move",{originalEvent:this._lastWheelEvent})),this._map.fire(new t.Event("zoom",{originalEvent:this._lastWheelEvent})),c&&(this._active=!1,this._finishTimeout=setTimeout((function(){e._zooming=!1,e._map.fire(new t.Event("zoomend",{originalEvent:e._lastWheelEvent})),e._map.fire(new t.Event("moveend",{originalEvent:e._lastWheelEvent})),delete e._targetZoom;}),200));}},xo.prototype._smoothOutEasing=function(e){var i=t.ease;if(this._prevEase){var o=this._prevEase,r=(t.browser.now()-o.start)/o.duration,a=o.easing(r+.01)-o.easing(r),n=.27/Math.sqrt(a*a+1e-4)*.01,s=Math.sqrt(.0729-n*n);i=t.bezier(n,s,.25,1);}return this._prevEase={start:t.browser.now(),duration:e,easing:i},i};var bo=function(e,i){this._map=e,this._el=e.getCanvasContainer(),this._container=e.getContainer(),this._clickTolerance=i.clickTolerance||1,t.bindAll(["_onMouseMove","_onMouseUp","_onKeyDown"],this);};bo.prototype.isEnabled=function(){return!!this._enabled},bo.prototype.isActive=function(){return!!this._active},bo.prototype.enable=function(){this.isEnabled()||(this._enabled=!0);},bo.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1);},bo.prototype.onMouseDown=function(e){this.isEnabled()&&e.shiftKey&&0===e.button&&(t.window.document.addEventListener("mousemove",this._onMouseMove,!1),t.window.document.addEventListener("keydown",this._onKeyDown,!1),t.window.document.addEventListener("mouseup",this._onMouseUp,!1),i.disableDrag(),this._startPos=this._lastPos=i.mousePos(this._el,e),this._active=!0);},bo.prototype._onMouseMove=function(t){var e=i.mousePos(this._el,t);if(!(this._lastPos.equals(e)||!this._box&&e.dist(this._startPos)<this._clickTolerance)){var o=this._startPos;this._lastPos=e,this._box||(this._box=i.create("div","mapboxgl-boxzoom",this._container),this._container.classList.add("mapboxgl-crosshair"),this._fireEvent("boxzoomstart",t));var r=Math.min(o.x,e.x),a=Math.max(o.x,e.x),n=Math.min(o.y,e.y),s=Math.max(o.y,e.y);i.setTransform(this._box,"translate("+r+"px,"+n+"px)"),this._box.style.width=a-r+"px",this._box.style.height=s-n+"px";}},bo.prototype._onMouseUp=function(e){if(0===e.button){var o=this._startPos,r=i.mousePos(this._el,e);this._finish(),i.suppressClick(),o.x===r.x&&o.y===r.y?this._fireEvent("boxzoomcancel",e):this._map.fitScreenCoordinates(o,r,this._map.getBearing(),{linear:!0}).fire(new t.Event("boxzoomend",{originalEvent:e}));}},bo.prototype._onKeyDown=function(t){27===t.keyCode&&(this._finish(),this._fireEvent("boxzoomcancel",t));},bo.prototype._finish=function(){this._active=!1,t.window.document.removeEventListener("mousemove",this._onMouseMove,!1),t.window.document.removeEventListener("keydown",this._onKeyDown,!1),t.window.document.removeEventListener("mouseup",this._onMouseUp,!1),this._container.classList.remove("mapboxgl-crosshair"),this._box&&(i.remove(this._box),this._box=null),i.enableDrag(),delete this._startPos,delete this._lastPos;},bo.prototype._fireEvent=function(e,i){return this._map.fire(new t.Event(e,{originalEvent:i}))};var wo=t.bezier(0,0,.25,1),Eo=function(e,i){this._map=e,this._el=i.element||e.getCanvasContainer(),this._state="disabled",this._button=i.button||"right",this._bearingSnap=i.bearingSnap||0,this._pitchWithRotate=!1!==i.pitchWithRotate,t.bindAll(["onMouseDown","_onMouseMove","_onMouseUp","_onBlur","_onDragFrame"],this);};Eo.prototype.isEnabled=function(){return "disabled"!==this._state},Eo.prototype.isActive=function(){return "active"===this._state},Eo.prototype.enable=function(){this.isEnabled()||(this._state="enabled");},Eo.prototype.disable=function(){if(this.isEnabled())switch(this._state){case"active":this._state="disabled",this._unbind(),this._deactivate(),this._fireEvent("rotateend"),this._pitchWithRotate&&this._fireEvent("pitchend"),this._fireEvent("moveend");break;case"pending":this._state="disabled",this._unbind();break;default:this._state="disabled";}},Eo.prototype.onMouseDown=function(e){if("enabled"===this._state){var o="touchstart"===e.type;if(o)this._startTime=Date.now();else if("right"===this._button){if(this._eventButton=i.mouseButton(e),this._eventButton!==(e.ctrlKey?0:2))return}else{if(e.ctrlKey||0!==i.mouseButton(e))return;this._eventButton=0;}i.disableDrag(),o?(t.window.document.addEventListener("touchmove",this._onMouseMove,{capture:!0}),t.window.document.addEventListener("touchend",this._onMouseUp)):(t.window.document.addEventListener("mousemove",this._onMouseMove,{capture:!0}),t.window.document.addEventListener("mouseup",this._onMouseUp)),t.window.addEventListener("blur",this._onBlur),this._state="pending",this._inertia=[[t.browser.now(),this._map.getBearing()]],this._startPos=this._prevPos=this._lastPos=i.mousePos(this._el,e),this._center=this._map.transform.centerPoint,e.preventDefault();}},Eo.prototype._onMouseMove=function(t){var e=i.mousePos(this._el,t);this._lastPos.equals(e)||(this._lastMoveEvent=t,this._lastPos=e,"pending"===this._state&&(this._state="active",this._fireEvent("rotatestart",t),this._fireEvent("movestart",t),this._pitchWithRotate&&this._fireEvent("pitchstart",t)),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onDragFrame)));},Eo.prototype._onDragFrame=function(){this._frameId=null;var e=this._lastMoveEvent;if(e){var i=this._map.transform,o=this._prevPos,r=this._lastPos,a=.8*(o.x-r.x),n=-.5*(o.y-r.y),s=i.bearing-a,l=i.pitch-n,c=this._inertia,u=c[c.length-1];this._drainInertiaBuffer(),c.push([t.browser.now(),this._map._normalizeBearing(s,u[1])]);var h=i.bearing;if(i.bearing=s,this._pitchWithRotate){var p=i.pitch;i.pitch=l,i.pitch!==p&&this._fireEvent("pitch",e);}i.bearing!==h&&this._fireEvent("rotate",e),this._fireEvent("move",e),delete this._lastMoveEvent,this._prevPos=this._lastPos;}},Eo.prototype._onMouseUp=function(t){if("touchend"===t.type&&this._startPos===this._lastPos&&Date.now()-this._startTime<300&&this._el.click(),i.mouseButton(t)===this._eventButton)switch(this._state){case"active":this._state="enabled",i.suppressClick(),this._unbind(),this._deactivate(),this._inertialRotate(t);break;case"pending":this._state="enabled",this._unbind();}},Eo.prototype._onBlur=function(t){switch(this._state){case"active":this._state="enabled",this._unbind(),this._deactivate(),this._fireEvent("rotateend",t),this._pitchWithRotate&&this._fireEvent("pitchend",t),this._fireEvent("moveend",t);break;case"pending":this._state="enabled",this._unbind();}},Eo.prototype._unbind=function(){t.window.document.removeEventListener("mousemove",this._onMouseMove,{capture:!0}),t.window.document.removeEventListener("mouseup",this._onMouseUp),t.window.document.removeEventListener("touchmove",this._onMouseMove,{capture:!0}),t.window.document.removeEventListener("touchend",this._onMouseUp),t.window.removeEventListener("blur",this._onBlur),i.enableDrag();},Eo.prototype._deactivate=function(){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._lastMoveEvent,delete this._startPos,delete this._prevPos,delete this._lastPos;},Eo.prototype._inertialRotate=function(t){var e=this;this._fireEvent("rotateend",t),this._drainInertiaBuffer();var i=this._map,o=i.getBearing(),r=this._inertia,a=function(){Math.abs(o)<e._bearingSnap?i.resetNorth({noMoveStart:!0},{originalEvent:t}):e._fireEvent("moveend",t),e._pitchWithRotate&&e._fireEvent("pitchend",t);};if(r.length<2)a();else{var n=r[0],s=r[r.length-1],l=r[r.length-2],c=i._normalizeBearing(o,l[1]),u=s[1]-n[1],h=u<0?-1:1,p=(s[0]-n[0])/1e3;if(0!==u&&0!==p){var d=Math.abs(u*(.25/p));d>180&&(d=180);var _=d/180;c+=h*d*(_/2),Math.abs(i._normalizeBearing(c,0))<this._bearingSnap&&(c=i._normalizeBearing(0,c)),i.rotateTo(c,{duration:1e3*_,easing:wo,noMoveStart:!0},{originalEvent:t});}else a();}},Eo.prototype._fireEvent=function(e,i){return this._map.fire(new t.Event(e,i?{originalEvent:i}:{}))},Eo.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,i=t.browser.now();e.length>0&&i-e[0][0]>160;)e.shift();};var To=t.bezier(0,0,.3,1),Io=function(e,i){this._map=e,this._el=e.getCanvasContainer(),this._state="disabled",this._clickTolerance=i.clickTolerance||1,t.bindAll(["_onMove","_onMouseUp","_onTouchEnd","_onBlur","_onDragFrame"],this);};Io.prototype.isEnabled=function(){return "disabled"!==this._state},Io.prototype.isActive=function(){return "active"===this._state},Io.prototype.enable=function(){this.isEnabled()||(this._el.classList.add("mapboxgl-touch-drag-pan"),this._state="enabled");},Io.prototype.disable=function(){if(this.isEnabled())switch(this._el.classList.remove("mapboxgl-touch-drag-pan"),this._state){case"active":this._state="disabled",this._unbind(),this._deactivate(),this._fireEvent("dragend"),this._fireEvent("moveend");break;case"pending":this._state="disabled",this._unbind();break;default:this._state="disabled";}},Io.prototype.onMouseDown=function(e){"enabled"===this._state&&(e.ctrlKey||0!==i.mouseButton(e)||(i.addEventListener(t.window.document,"mousemove",this._onMove,{capture:!0}),i.addEventListener(t.window.document,"mouseup",this._onMouseUp),this._start(e)));},Io.prototype.onTouchStart=function(e){this.isEnabled()&&(e.touches&&e.touches.length>1&&("pending"===this._state||"active"===this._state)||(i.addEventListener(t.window.document,"touchmove",this._onMove,{capture:!0,passive:!1}),i.addEventListener(t.window.document,"touchend",this._onTouchEnd),this._start(e)));},Io.prototype._start=function(e){t.window.addEventListener("blur",this._onBlur),this._state="pending",this._startPos=this._mouseDownPos=this._prevPos=this._lastPos=i.mousePos(this._el,e),this._startTouch=this._lastTouch=t.window.TouchEvent&&e instanceof t.window.TouchEvent?i.touchPos(this._el,e):null,this._inertia=[[t.browser.now(),this._startPos]];},Io.prototype._touchesMatch=function(t,e){return!(!t||!e||t.length!==e.length)&&t.every((function(t,i){return e[i]===t}))},Io.prototype._onMove=function(e){e.preventDefault();var o=t.window.TouchEvent&&e instanceof t.window.TouchEvent?i.touchPos(this._el,e):null,r=i.mousePos(this._el,e);(o?this._touchesMatch(this._lastTouch,o):this._lastPos.equals(r))||"pending"===this._state&&r.dist(this._mouseDownPos)<this._clickTolerance||(this._lastMoveEvent=e,this._lastPos=r,this._lastTouch=o,this._drainInertiaBuffer(),this._inertia.push([t.browser.now(),this._lastPos]),"pending"===this._state&&(this._state="active",this._shouldStart=!0),this._frameId||(this._frameId=this._map._requestRenderFrame(this._onDragFrame)));},Io.prototype._onDragFrame=function(){this._frameId=null;var t=this._lastMoveEvent;if(t)if(this._map.touchZoomRotate.isActive())this._abort(t);else if(this._shouldStart&&(this._fireEvent("dragstart",t),this._fireEvent("movestart",t),this._shouldStart=!1),this.isActive()){var e=this._map.transform;e.setLocationAtPoint(e.pointLocation(this._prevPos),this._lastPos),this._fireEvent("drag",t),this._fireEvent("move",t),this._prevPos=this._lastPos,delete this._lastMoveEvent;}},Io.prototype._onMouseUp=function(t){if(0===i.mouseButton(t))switch(this._state){case"active":this._state="enabled",i.suppressClick(),this._unbind(),this._deactivate(),this._inertialPan(t);break;case"pending":this._state="enabled",this._unbind();}},Io.prototype._onTouchEnd=function(t){if(t.touches&&0!==t.touches.length)switch(this._state){case"pending":case"active":break;case"enabled":this.onTouchStart(t);}else switch(this._state){case"active":this._state="enabled",this._unbind(),this._deactivate(),this._inertialPan(t);break;case"pending":this._state="enabled",this._unbind();break;case"enabled":this._unbind();}},Io.prototype._abort=function(e){switch(this._state){case"active":this._state="enabled",this._shouldStart||(this._fireEvent("dragend",e),this._fireEvent("moveend",e)),this._unbind(),this._deactivate(),t.window.TouchEvent&&e instanceof t.window.TouchEvent&&e.touches.length>1&&i.addEventListener(t.window.document,"touchend",this._onTouchEnd);break;case"pending":this._state="enabled",this._unbind();break;case"enabled":this._unbind();}},Io.prototype._onBlur=function(t){this._abort(t);},Io.prototype._unbind=function(){i.removeEventListener(t.window.document,"touchmove",this._onMove,{capture:!0,passive:!1}),i.removeEventListener(t.window.document,"touchend",this._onTouchEnd),i.removeEventListener(t.window.document,"mousemove",this._onMove,{capture:!0}),i.removeEventListener(t.window.document,"mouseup",this._onMouseUp),i.removeEventListener(t.window,"blur",this._onBlur);},Io.prototype._deactivate=function(){this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._lastMoveEvent,delete this._startPos,delete this._prevPos,delete this._mouseDownPos,delete this._lastPos,delete this._startTouch,delete this._lastTouch,delete this._shouldStart;},Io.prototype._inertialPan=function(t){this._fireEvent("dragend",t),this._drainInertiaBuffer();var e=this._inertia;if(e.length<2)this._fireEvent("moveend",t);else{var i=e[e.length-1],o=e[0],r=i[1].sub(o[1]),a=(i[0]-o[0])/1e3;if(0===a||i[1].equals(o[1]))this._fireEvent("moveend",t);else{var n=r.mult(.3/a),s=n.mag();s>1400&&(s=1400,n._unit()._mult(s));var l=s/750,c=n.mult(-l/2);this._map.panBy(c,{duration:1e3*l,easing:To,noMoveStart:!0},{originalEvent:t});}}},Io.prototype._fireEvent=function(e,i){return this._map.fire(new t.Event(e,i?{originalEvent:i}:{}))},Io.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,i=t.browser.now();e.length>0&&i-e[0][0]>160;)e.shift();};var Co=function(e){this._map=e,this._el=e.getCanvasContainer(),t.bindAll(["_onKeyDown"],this);};function So(t){return t*(2-t)}Co.prototype.isEnabled=function(){return!!this._enabled},Co.prototype.enable=function(){this.isEnabled()||(this._el.addEventListener("keydown",this._onKeyDown,!1),this._enabled=!0);},Co.prototype.disable=function(){this.isEnabled()&&(this._el.removeEventListener("keydown",this._onKeyDown),this._enabled=!1);},Co.prototype._onKeyDown=function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e=0,i=0,o=0,r=0,a=0;switch(t.keyCode){case 61:case 107:case 171:case 187:e=1;break;case 189:case 109:case 173:e=-1;break;case 37:t.shiftKey?i=-1:(t.preventDefault(),r=-1);break;case 39:t.shiftKey?i=1:(t.preventDefault(),r=1);break;case 38:t.shiftKey?o=1:(t.preventDefault(),a=-1);break;case 40:t.shiftKey?o=-1:(a=1,t.preventDefault());break;default:return}var n=this._map,s=n.getZoom(),l={duration:300,delayEndEvents:500,easing:So,zoom:e?Math.round(s)+e*(t.shiftKey?2:1):s,bearing:n.getBearing()+15*i,pitch:n.getPitch()+10*o,offset:[100*-r,100*-a],center:n.getCenter()};n.easeTo(l,{originalEvent:t});}};var Po=function(e){this._map=e,t.bindAll(["_onDblClick","_onZoomEnd"],this);};Po.prototype.isEnabled=function(){return!!this._enabled},Po.prototype.isActive=function(){return!!this._active},Po.prototype.enable=function(){this.isEnabled()||(this._enabled=!0);},Po.prototype.disable=function(){this.isEnabled()&&(this._enabled=!1);},Po.prototype.onTouchStart=function(t){var e=this;if(this.isEnabled()&&!(t.points.length>1))if(this._tapped){var i=t.points[0],o=this._tappedPoint;if(o&&o.dist(i)<=30){t.originalEvent.preventDefault();var r=function(){e._tapped&&e._zoom(t),e._map.off("touchcancel",a),e._resetTapped();},a=function(){e._map.off("touchend",r),e._resetTapped();};this._map.once("touchend",r),this._map.once("touchcancel",a);}else this._resetTapped();}else this._tappedPoint=t.points[0],this._tapped=setTimeout((function(){e._tapped=null,e._tappedPoint=null;}),300);},Po.prototype._resetTapped=function(){clearTimeout(this._tapped),this._tapped=null,this._tappedPoint=null;},Po.prototype.onDblClick=function(t){this.isEnabled()&&(t.originalEvent.preventDefault(),this._zoom(t));},Po.prototype._zoom=function(t){this._active=!0,this._map.on("zoomend",this._onZoomEnd),this._map.zoomTo(this._map.getZoom()+(t.originalEvent.shiftKey?-1:1),{around:t.lngLat},t);},Po.prototype._onZoomEnd=function(){this._active=!1,this._map.off("zoomend",this._onZoomEnd);};var zo=t.bezier(0,0,.15,1),Lo=function(e){this._map=e,this._el=e.getCanvasContainer(),t.bindAll(["_onMove","_onEnd","_onTouchFrame"],this);};Lo.prototype.isEnabled=function(){return!!this._enabled},Lo.prototype.enable=function(t){this.isEnabled()||(this._el.classList.add("mapboxgl-touch-zoom-rotate"),this._enabled=!0,this._aroundCenter=!!t&&"center"===t.around);},Lo.prototype.disable=function(){this.isEnabled()&&(this._el.classList.remove("mapboxgl-touch-zoom-rotate"),this._enabled=!1);},Lo.prototype.disableRotation=function(){this._rotationDisabled=!0;},Lo.prototype.enableRotation=function(){this._rotationDisabled=!1;},Lo.prototype.isActive=function(){return this.isEnabled()&&!!this._gestureIntent},Lo.prototype.onStart=function(e){if(this.isEnabled()&&2===e.touches.length){var o=i.mousePos(this._el,e.touches[0]),r=i.mousePos(this._el,e.touches[1]),a=o.add(r).div(2);this._startVec=o.sub(r),this._startAround=this._map.transform.pointLocation(a),this._gestureIntent=void 0,this._inertia=[],i.addEventListener(t.window.document,"touchmove",this._onMove,{passive:!1}),i.addEventListener(t.window.document,"touchend",this._onEnd);}},Lo.prototype._getTouchEventData=function(t){var e=i.mousePos(this._el,t.touches[0]),o=i.mousePos(this._el,t.touches[1]),r=e.sub(o);return{vec:r,center:e.add(o).div(2),scale:r.mag()/this._startVec.mag(),bearing:this._rotationDisabled?0:180*r.angleWith(this._startVec)/Math.PI}},Lo.prototype._onMove=function(e){if(2===e.touches.length){var i=this._getTouchEventData(e),o=i.vec,r=i.scale,a=i.bearing;if(!this._gestureIntent){var n=this._rotationDisabled&&1!==r||Math.abs(1-r)>.15;Math.abs(a)>10?this._gestureIntent="rotate":n&&(this._gestureIntent="zoom"),this._gestureIntent&&(this._map.fire(new t.Event(this._gestureIntent+"start",{originalEvent:e})),this._map.fire(new t.Event("movestart",{originalEvent:e})),this._startVec=o);}this._lastTouchEvent=e,this._frameId||(this._frameId=this._map._requestRenderFrame(this._onTouchFrame)),e.preventDefault();}},Lo.prototype._onTouchFrame=function(){this._frameId=null;var e=this._gestureIntent;if(e){var i=this._map.transform;this._startScale||(this._startScale=i.scale,this._startBearing=i.bearing);var o=this._getTouchEventData(this._lastTouchEvent),r=o.center,a=o.bearing,n=o.scale,s=i.pointLocation(r),l=i.locationPoint(s);"rotate"===e&&(i.bearing=this._startBearing+a),i.zoom=i.scaleZoom(this._startScale*n),i.setLocationAtPoint(this._startAround,l),this._map.fire(new t.Event(e,{originalEvent:this._lastTouchEvent})),this._map.fire(new t.Event("move",{originalEvent:this._lastTouchEvent})),this._drainInertiaBuffer(),this._inertia.push([t.browser.now(),n,r]);}},Lo.prototype._onEnd=function(e){i.removeEventListener(t.window.document,"touchmove",this._onMove,{passive:!1}),i.removeEventListener(t.window.document,"touchend",this._onEnd);var o=this._gestureIntent,r=this._startScale;if(this._frameId&&(this._map._cancelRenderFrame(this._frameId),this._frameId=null),delete this._gestureIntent,delete this._startScale,delete this._startBearing,delete this._lastTouchEvent,o){this._map.fire(new t.Event(o+"end",{originalEvent:e})),this._drainInertiaBuffer();var a=this._inertia,n=this._map;if(a.length<2)n.snapToNorth({},{originalEvent:e});else{var s=a[a.length-1],l=a[0],c=n.transform.scaleZoom(r*s[1]),u=n.transform.scaleZoom(r*l[1]),h=c-u,p=(s[0]-l[0])/1e3,d=s[2];if(0!==p&&c!==u){var _=.15*h/p;Math.abs(_)>2.5&&(_=_>0?2.5:-2.5);var f=1e3*Math.abs(_/(12*.15)),m=c+_*f/2e3;m<0&&(m=0),n.easeTo({zoom:m,duration:f,easing:zo,around:this._aroundCenter?n.getCenter():n.unproject(d),noMoveStart:!0},{originalEvent:e});}else n.snapToNorth({},{originalEvent:e});}}},Lo.prototype._drainInertiaBuffer=function(){for(var e=this._inertia,i=t.browser.now();e.length>2&&i-e[0][0]>160;)e.shift();};var Mo={scrollZoom:xo,boxZoom:bo,dragRotate:Eo,dragPan:Io,keyboard:Co,doubleClickZoom:Po,touchZoomRotate:Lo};var Do=function(e){function i(i,o){e.call(this),this._moving=!1,this._zooming=!1,this.transform=i,this._bearingSnap=o.bearingSnap,t.bindAll(["_renderFrameCallback"],this);}return e&&(i.__proto__=e),i.prototype=Object.create(e&&e.prototype),i.prototype.constructor=i,i.prototype.getCenter=function(){return new t.LngLat(this.transform.center.lng,this.transform.center.lat)},i.prototype.setCenter=function(t,e){return this.jumpTo({center:t},e)},i.prototype.panBy=function(e,i,o){return e=t.Point.convert(e).mult(-1),this.panTo(this.transform.center,t.extend({offset:e},i),o)},i.prototype.panTo=function(e,i,o){return this.easeTo(t.extend({center:e},i),o)},i.prototype.getZoom=function(){return this.transform.zoom},i.prototype.setZoom=function(t,e){return this.jumpTo({zoom:t},e),this},i.prototype.zoomTo=function(e,i,o){return this.easeTo(t.extend({zoom:e},i),o)},i.prototype.zoomIn=function(t,e){return this.zoomTo(this.getZoom()+1,t,e),this},i.prototype.zoomOut=function(t,e){return this.zoomTo(this.getZoom()-1,t,e),this},i.prototype.getBearing=function(){return this.transform.bearing},i.prototype.setBearing=function(t,e){return this.jumpTo({bearing:t},e),this},i.prototype.rotateTo=function(e,i,o){return this.easeTo(t.extend({bearing:e},i),o)},i.prototype.resetNorth=function(e,i){return this.rotateTo(0,t.extend({duration:1e3},e),i),this},i.prototype.resetNorthPitch=function(e,i){return this.easeTo(t.extend({bearing:0,pitch:0,duration:1e3},e),i),this},i.prototype.snapToNorth=function(t,e){return Math.abs(this.getBearing())<this._bearingSnap?this.resetNorth(t,e):this},i.prototype.getPitch=function(){return this.transform.pitch},i.prototype.setPitch=function(t,e){return this.jumpTo({pitch:t},e),this},i.prototype.cameraForBounds=function(e,i){return e=t.LngLatBounds.convert(e),this._cameraForBoxAndBearing(e.getNorthWest(),e.getSouthEast(),0,i)},i.prototype._cameraForBoxAndBearing=function(e,i,o,r){if("number"==typeof(r=t.extend({padding:{top:0,bottom:0,right:0,left:0},offset:[0,0],maxZoom:this.transform.maxZoom},r)).padding){var a=r.padding;r.padding={top:a,bottom:a,right:a,left:a};}if(t.deepEqual(Object.keys(r.padding).sort((function(t,e){return t<e?-1:t>e?1:0})),["bottom","left","right","top"])){var n=this.transform,s=n.project(t.LngLat.convert(e)),l=n.project(t.LngLat.convert(i)),c=s.rotate(-o*Math.PI/180),u=l.rotate(-o*Math.PI/180),h=new t.Point(Math.max(c.x,u.x),Math.max(c.y,u.y)),p=new t.Point(Math.min(c.x,u.x),Math.min(c.y,u.y)),d=h.sub(p),_=(n.width-r.padding.left-r.padding.right)/d.x,f=(n.height-r.padding.top-r.padding.bottom)/d.y;if(!(f<0||_<0)){var m=Math.min(n.scaleZoom(n.scale*Math.min(_,f)),r.maxZoom),g=t.Point.convert(r.offset),v=(r.padding.left-r.padding.right)/2,y=(r.padding.top-r.padding.bottom)/2,x=new t.Point(g.x+v,g.y+y).mult(n.scale/n.zoomScale(m));return{center:n.unproject(s.add(l).div(2).sub(x)),zoom:m,bearing:o}}t.warnOnce("Map cannot fit within canvas with the given bounds, padding, and/or offset.");}else t.warnOnce("options.padding must be a positive number, or an Object with keys 'bottom', 'left', 'right', 'top'");},i.prototype.fitBounds=function(t,e,i){return this._fitInternal(this.cameraForBounds(t,e),e,i)},i.prototype.fitScreenCoordinates=function(e,i,o,r,a){return this._fitInternal(this._cameraForBoxAndBearing(this.transform.pointLocation(t.Point.convert(e)),this.transform.pointLocation(t.Point.convert(i)),o,r),r,a)},i.prototype._fitInternal=function(e,i,o){return e?(i=t.extend(e,i)).linear?this.easeTo(i,o):this.flyTo(i,o):this},i.prototype.jumpTo=function(e,i){this.stop();var o=this.transform,r=!1,a=!1,n=!1;return "zoom"in e&&o.zoom!==+e.zoom&&(r=!0,o.zoom=+e.zoom),void 0!==e.center&&(o.center=t.LngLat.convert(e.center)),"bearing"in e&&o.bearing!==+e.bearing&&(a=!0,o.bearing=+e.bearing),"pitch"in e&&o.pitch!==+e.pitch&&(n=!0,o.pitch=+e.pitch),this.fire(new t.Event("movestart",i)).fire(new t.Event("move",i)),r&&this.fire(new t.Event("zoomstart",i)).fire(new t.Event("zoom",i)).fire(new t.Event("zoomend",i)),a&&this.fire(new t.Event("rotatestart",i)).fire(new t.Event("rotate",i)).fire(new t.Event("rotateend",i)),n&&this.fire(new t.Event("pitchstart",i)).fire(new t.Event("pitch",i)).fire(new t.Event("pitchend",i)),this.fire(new t.Event("moveend",i))},i.prototype.easeTo=function(e,i){var o=this;this.stop(),(!1===(e=t.extend({offset:[0,0],duration:500,easing:t.ease},e)).animate||t.browser.prefersReducedMotion)&&(e.duration=0);var r=this.transform,a=this.getZoom(),n=this.getBearing(),s=this.getPitch(),l="zoom"in e?+e.zoom:a,c="bearing"in e?this._normalizeBearing(e.bearing,n):n,u="pitch"in e?+e.pitch:s,h=r.centerPoint.add(t.Point.convert(e.offset)),p=r.pointLocation(h),d=t.LngLat.convert(e.center||p);this._normalizeCenter(d);var _,f,m=r.project(p),g=r.project(d).sub(m),v=r.zoomScale(l-a);return e.around&&(_=t.LngLat.convert(e.around),f=r.locationPoint(_)),this._zooming=l!==a,this._rotating=n!==c,this._pitching=u!==s,this._prepareEase(i,e.noMoveStart),clearTimeout(this._easeEndTimeoutID),this._ease((function(e){if(o._zooming&&(r.zoom=t.number(a,l,e)),o._rotating&&(r.bearing=t.number(n,c,e)),o._pitching&&(r.pitch=t.number(s,u,e)),_)r.setLocationAtPoint(_,f);else{var p=r.zoomScale(r.zoom-a),d=l>a?Math.min(2,v):Math.max(.5,v),y=Math.pow(d,1-e),x=r.unproject(m.add(g.mult(e*y)).mult(p));r.setLocationAtPoint(r.renderWorldCopies?x.wrap():x,h);}o._fireMoveEvents(i);}),(function(){e.delayEndEvents?o._easeEndTimeoutID=setTimeout((function(){return o._afterEase(i)}),e.delayEndEvents):o._afterEase(i);}),e),this},i.prototype._prepareEase=function(e,i){this._moving=!0,i||this.fire(new t.Event("movestart",e)),this._zooming&&this.fire(new t.Event("zoomstart",e)),this._rotating&&this.fire(new t.Event("rotatestart",e)),this._pitching&&this.fire(new t.Event("pitchstart",e));},i.prototype._fireMoveEvents=function(e){this.fire(new t.Event("move",e)),this._zooming&&this.fire(new t.Event("zoom",e)),this._rotating&&this.fire(new t.Event("rotate",e)),this._pitching&&this.fire(new t.Event("pitch",e));},i.prototype._afterEase=function(e){var i=this._zooming,o=this._rotating,r=this._pitching;this._moving=!1,this._zooming=!1,this._rotating=!1,this._pitching=!1,i&&this.fire(new t.Event("zoomend",e)),o&&this.fire(new t.Event("rotateend",e)),r&&this.fire(new t.Event("pitchend",e)),this.fire(new t.Event("moveend",e));},i.prototype.flyTo=function(e,i){var o=this;if(t.browser.prefersReducedMotion){var r=t.pick(e,["center","zoom","bearing","pitch","around"]);return this.jumpTo(r,i)}this.stop(),e=t.extend({offset:[0,0],speed:1.2,curve:1.42,easing:t.ease},e);var a=this.transform,n=this.getZoom(),s=this.getBearing(),l=this.getPitch(),c="zoom"in e?t.clamp(+e.zoom,a.minZoom,a.maxZoom):n,u="bearing"in e?this._normalizeBearing(e.bearing,s):s,h="pitch"in e?+e.pitch:l,p=a.zoomScale(c-n),d=a.centerPoint.add(t.Point.convert(e.offset)),_=a.pointLocation(d),f=t.LngLat.convert(e.center||_);this._normalizeCenter(f);var m=a.project(_),g=a.project(f).sub(m),v=e.curve,y=Math.max(a.width,a.height),x=y/p,b=g.mag();if("minZoom"in e){var w=t.clamp(Math.min(e.minZoom,n,c),a.minZoom,a.maxZoom),E=y/a.zoomScale(w-n);v=Math.sqrt(E/b*2);}var T=v*v;function I(t){var e=(x*x-y*y+(t?-1:1)*T*T*b*b)/(2*(t?x:y)*T*b);return Math.log(Math.sqrt(e*e+1)-e)}function C(t){return(Math.exp(t)-Math.exp(-t))/2}function S(t){return(Math.exp(t)+Math.exp(-t))/2}var P=I(0),z=function(t){return S(P)/S(P+v*t)},L=function(t){return y*((S(P)*(C(e=P+v*t)/S(e))-C(P))/T)/b;var e;},M=(I(1)-P)/v;if(Math.abs(b)<1e-6||!isFinite(M)){if(Math.abs(y-x)<1e-6)return this.easeTo(e,i);var D=x<y?-1:1;M=Math.abs(Math.log(x/y))/v,L=function(){return 0},z=function(t){return Math.exp(D*v*t)};}if("duration"in e)e.duration=+e.duration;else{var R="screenSpeed"in e?+e.screenSpeed/v:+e.speed;e.duration=1e3*M/R;}return e.maxDuration&&e.duration>e.maxDuration&&(e.duration=0),this._zooming=!0,this._rotating=s!==u,this._pitching=h!==l,this._prepareEase(i,!1),this._ease((function(e){var r=e*M,p=1/z(r);a.zoom=1===e?c:n+a.scaleZoom(p),o._rotating&&(a.bearing=t.number(s,u,e)),o._pitching&&(a.pitch=t.number(l,h,e));var _=1===e?f:a.unproject(m.add(g.mult(L(r))).mult(p));a.setLocationAtPoint(a.renderWorldCopies?_.wrap():_,d),o._fireMoveEvents(i);}),(function(){return o._afterEase(i)}),e),this},i.prototype.isEasing=function(){return!!this._easeFrameId},i.prototype.stop=function(){if(this._easeFrameId&&(this._cancelRenderFrame(this._easeFrameId),delete this._easeFrameId,delete this._onEaseFrame),this._onEaseEnd){var t=this._onEaseEnd;delete this._onEaseEnd,t.call(this);}return this},i.prototype._ease=function(e,i,o){!1===o.animate||0===o.duration?(e(1),i()):(this._easeStart=t.browser.now(),this._easeOptions=o,this._onEaseFrame=e,this._onEaseEnd=i,this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback));},i.prototype._renderFrameCallback=function(){var e=Math.min((t.browser.now()-this._easeStart)/this._easeOptions.duration,1);this._onEaseFrame(this._easeOptions.easing(e)),e<1?this._easeFrameId=this._requestRenderFrame(this._renderFrameCallback):this.stop();},i.prototype._normalizeBearing=function(e,i){e=t.wrap(e,-180,180);var o=Math.abs(e-i);return Math.abs(e-360-i)<o&&(e-=360),Math.abs(e+360-i)<o&&(e+=360),e},i.prototype._normalizeCenter=function(t){var e=this.transform;if(e.renderWorldCopies&&!e.lngRange){var i=t.lng-e.center.lng;t.lng+=i>180?-360:i<-180?360:0;}},i}(t.Evented),Ro=function(e){void 0===e&&(e={}),this.options=e,t.bindAll(["_updateEditLink","_updateData","_updateCompact"],this);};Ro.prototype.getDefaultPosition=function(){return "bottom-right"},Ro.prototype.onAdd=function(t){var e=this.options&&this.options.compact;return this._map=t,this._container=i.create("div","mapboxgl-ctrl mapboxgl-ctrl-attrib"),this._innerContainer=i.create("div","mapboxgl-ctrl-attrib-inner",this._container),e&&this._container.classList.add("mapboxgl-compact"),this._updateAttributions(),this._updateEditLink(),this._map.on("styledata",this._updateData),this._map.on("sourcedata",this._updateData),this._map.on("moveend",this._updateEditLink),void 0===e&&(this._map.on("resize",this._updateCompact),this._updateCompact()),this._container},Ro.prototype.onRemove=function(){i.remove(this._container),this._map.off("styledata",this._updateData),this._map.off("sourcedata",this._updateData),this._map.off("moveend",this._updateEditLink),this._map.off("resize",this._updateCompact),this._map=void 0;},Ro.prototype._updateEditLink=function(){var e=this._editLink;e||(e=this._editLink=this._container.querySelector(".mapbox-improve-map"));var i=[{key:"owner",value:this.styleOwner},{key:"id",value:this.styleId},{key:"access_token",value:this._map._requestManager._customAccessToken||t.config.ACCESS_TOKEN}];if(e){var o=i.reduce((function(t,e,o){return e.value&&(t+=e.key+"="+e.value+(o<i.length-1?"&":"")),t}),"?");e.href=t.config.FEEDBACK_URL+"/"+o+(this._map._hash?this._map._hash.getHashString(!0):""),e.rel="noopener nofollow";}},Ro.prototype._updateData=function(t){!t||"metadata"!==t.sourceDataType&&"style"!==t.dataType||(this._updateAttributions(),this._updateEditLink());},Ro.prototype._updateAttributions=function(){if(this._map.style){var t=[];if(this.options.customAttribution&&(Array.isArray(this.options.customAttribution)?t=t.concat(this.options.customAttribution.map((function(t){return "string"!=typeof t?"":t}))):"string"==typeof this.options.customAttribution&&t.push(this.options.customAttribution)),this._map.style.stylesheet){var e=this._map.style.stylesheet;this.styleOwner=e.owner,this.styleId=e.id;}var i=this._map.style.sourceCaches;for(var o in i){var r=i[o];if(r.used){var a=r.getSource();a.attribution&&t.indexOf(a.attribution)<0&&t.push(a.attribution);}}t.sort((function(t,e){return t.length-e.length}));var n=(t=t.filter((function(e,i){for(var o=i+1;o<t.length;o++)if(t[o].indexOf(e)>=0)return!1;return!0}))).join(" | ");n!==this._attribHTML&&(this._attribHTML=n,t.length?(this._innerContainer.innerHTML=n,this._container.classList.remove("mapboxgl-attrib-empty")):this._container.classList.add("mapboxgl-attrib-empty"),this._editLink=null);}},Ro.prototype._updateCompact=function(){this._map.getCanvasContainer().offsetWidth<=640?this._container.classList.add("mapboxgl-compact"):this._container.classList.remove("mapboxgl-compact");};var Ao=function(){t.bindAll(["_updateLogo"],this),t.bindAll(["_updateCompact"],this);};Ao.prototype.onAdd=function(t){this._map=t,this._container=i.create("div","mapboxgl-ctrl");var e=i.create("a","mapboxgl-ctrl-logo");return e.target="_blank",e.rel="noopener nofollow",e.href="https://www.mapbox.com/",e.setAttribute("aria-label","Mapbox logo"),e.setAttribute("rel","noopener nofollow"),this._container.appendChild(e),this._container.style.display="none",this._map.on("sourcedata",this._updateLogo),this._updateLogo(),this._map.on("resize",this._updateCompact),this._updateCompact(),this._container},Ao.prototype.onRemove=function(){i.remove(this._container),this._map.off("sourcedata",this._updateLogo),this._map.off("resize",this._updateCompact);},Ao.prototype.getDefaultPosition=function(){return "bottom-left"},Ao.prototype._updateLogo=function(t){t&&"metadata"!==t.sourceDataType||(this._container.style.display=this._logoRequired()?"block":"none");},Ao.prototype._logoRequired=function(){if(this._map.style){var t=this._map.style.sourceCaches;for(var e in t){if(t[e].getSource().mapbox_logo)return!0}return!1}},Ao.prototype._updateCompact=function(){var t=this._container.children;if(t.length){var e=t[0];this._map.getCanvasContainer().offsetWidth<250?e.classList.add("mapboxgl-compact"):e.classList.remove("mapboxgl-compact");}};var ko=function(){this._queue=[],this._id=0,this._cleared=!1,this._currentlyRunning=!1;};ko.prototype.add=function(t){var e=++this._id;return this._queue.push({callback:t,id:e,cancelled:!1}),e},ko.prototype.remove=function(t){for(var e=this._currentlyRunning,i=0,o=e?this._queue.concat(e):this._queue;i<o.length;i+=1){var r=o[i];if(r.id===t)return void(r.cancelled=!0)}},ko.prototype.run=function(){var t=this._currentlyRunning=this._queue;this._queue=[];for(var e=0,i=t;e<i.length;e+=1){var o=i[e];if(!o.cancelled&&(o.callback(),this._cleared))break}this._cleared=!1,this._currentlyRunning=!1;},ko.prototype.clear=function(){this._currentlyRunning&&(this._cleared=!0),this._queue=[];};var Bo=t.window.HTMLImageElement,Oo=t.window.HTMLElement,Fo={center:[0,0],zoom:0,bearing:0,pitch:0,minZoom:0,maxZoom:22,interactive:!0,scrollZoom:!0,boxZoom:!0,dragRotate:!0,dragPan:!0,keyboard:!0,doubleClickZoom:!0,touchZoomRotate:!0,bearingSnap:7,clickTolerance:3,hash:!1,attributionControl:!0,failIfMajorPerformanceCaveat:!1,preserveDrawingBuffer:!1,trackResize:!0,renderWorldCopies:!0,refreshExpiredTiles:!0,maxTileCacheSize:null,localIdeographFontFamily:"sans-serif",transformRequest:null,accessToken:null,fadeDuration:300,crossSourceCollisions:!0},Uo=function(o){function r(e){var r=this;if(null!=(e=t.extend({},Fo,e)).minZoom&&null!=e.maxZoom&&e.minZoom>e.maxZoom)throw new Error("maxZoom must be greater than minZoom");var a=new _o(e.minZoom,e.maxZoom,e.renderWorldCopies);if(o.call(this,a,e),this._interactive=e.interactive,this._maxTileCacheSize=e.maxTileCacheSize,this._failIfMajorPerformanceCaveat=e.failIfMajorPerformanceCaveat,this._preserveDrawingBuffer=e.preserveDrawingBuffer,this._antialias=e.antialias,this._trackResize=e.trackResize,this._bearingSnap=e.bearingSnap,this._refreshExpiredTiles=e.refreshExpiredTiles,this._fadeDuration=e.fadeDuration,this._crossSourceCollisions=e.crossSourceCollisions,this._crossFadingFactor=1,this._collectResourceTiming=e.collectResourceTiming,this._renderTaskQueue=new ko,this._controls=[],this._mapId=t.uniqueId(),this._requestManager=new t.RequestManager(e.transformRequest,e.accessToken),"string"==typeof e.container){if(this._container=t.window.document.getElementById(e.container),!this._container)throw new Error("Container '"+e.container+"' not found.")}else{if(!(e.container instanceof Oo))throw new Error("Invalid type: 'container' must be a String or HTMLElement.");this._container=e.container;}if(e.maxBounds&&this.setMaxBounds(e.maxBounds),t.bindAll(["_onWindowOnline","_onWindowResize","_contextLost","_contextRestored"],this),this._setupContainer(),this._setupPainter(),void 0===this.painter)throw new Error("Failed to initialize WebGL.");this.on("move",(function(){return r._update(!1)})),this.on("moveend",(function(){return r._update(!1)})),this.on("zoom",(function(){return r._update(!0)})),void 0!==t.window&&(t.window.addEventListener("online",this._onWindowOnline,!1),t.window.addEventListener("resize",this._onWindowResize,!1)),function(t,e){var o=t.getCanvasContainer(),r=null,a=!1,n=null;for(var s in Mo)t[s]=new Mo[s](t,e),e.interactive&&e[s]&&t[s].enable(e[s]);i.addEventListener(o,"mouseout",(function(e){t.fire(new go("mouseout",t,e));})),i.addEventListener(o,"mousedown",(function(r){a=!0,n=i.mousePos(o,r);var s=new go("mousedown",t,r);if(t.fire(s),s.defaultPrevented)return;e.interactive&&!t.doubleClickZoom.isActive()&&t.stop();t.boxZoom.onMouseDown(r),t.boxZoom.isActive()||t.dragPan.isActive()||t.dragRotate.onMouseDown(r);t.boxZoom.isActive()||t.dragRotate.isActive()||t.dragPan.onMouseDown(r);})),i.addEventListener(o,"mouseup",(function(e){var i=t.dragRotate.isActive();r&&!i&&t.fire(new go("contextmenu",t,r));r=null,a=!1,t.fire(new go("mouseup",t,e));})),i.addEventListener(o,"mousemove",(function(e){if(t.dragPan.isActive())return;if(t.dragRotate.isActive())return;var i=e.target;for(;i&&i!==o;)i=i.parentNode;if(i!==o)return;t.fire(new go("mousemove",t,e));})),i.addEventListener(o,"mouseover",(function(e){var i=e.target;for(;i&&i!==o;)i=i.parentNode;if(i!==o)return;t.fire(new go("mouseover",t,e));})),i.addEventListener(o,"touchstart",(function(i){var o=new vo("touchstart",t,i);if(t.fire(o),o.defaultPrevented)return;e.interactive&&t.stop();t.boxZoom.isActive()||t.dragRotate.isActive()||t.dragPan.onTouchStart(i);t.touchZoomRotate.onStart(i),t.doubleClickZoom.onTouchStart(o);}),{passive:!1}),i.addEventListener(o,"touchmove",(function(e){t.fire(new vo("touchmove",t,e));}),{passive:!1}),i.addEventListener(o,"touchend",(function(e){t.fire(new vo("touchend",t,e));})),i.addEventListener(o,"touchcancel",(function(e){t.fire(new vo("touchcancel",t,e));})),i.addEventListener(o,"click",(function(r){var a=i.mousePos(o,r);(!n||a.equals(n)||a.dist(n)<e.clickTolerance)&&t.fire(new go("click",t,r));})),i.addEventListener(o,"dblclick",(function(e){var i=new go("dblclick",t,e);if(t.fire(i),i.defaultPrevented)return;t.doubleClickZoom.onDblClick(i);})),i.addEventListener(o,"contextmenu",(function(e){var i=t.dragRotate.isActive();a||i?a&&(r=e):t.fire(new go("contextmenu",t,e));(t.dragRotate.isEnabled()||t.listens("contextmenu"))&&e.preventDefault();})),i.addEventListener(o,"wheel",(function(i){e.interactive&&t.stop();var o=new yo("wheel",t,i);if(t.fire(o),o.defaultPrevented)return;t.scrollZoom.onWheel(i);}),{passive:!1});}(this,e);var n="string"==typeof e.hash&&e.hash||void 0;this._hash=e.hash&&new mo(n).addTo(this),this._hash&&this._hash._onHashChange()||(this.jumpTo({center:e.center,zoom:e.zoom,bearing:e.bearing,pitch:e.pitch}),e.bounds&&(this.resize(),this.fitBounds(e.bounds,t.extend({},e.fitBoundsOptions,{duration:0})))),this.resize(),this._localIdeographFontFamily=e.localIdeographFontFamily,e.style&&this.setStyle(e.style,{localIdeographFontFamily:e.localIdeographFontFamily}),e.attributionControl&&this.addControl(new Ro({customAttribution:e.customAttribution})),this.addControl(new Ao,e.logoPosition),this.on("style.load",(function(){r.transform.unmodified&&r.jumpTo(r.style.stylesheet);})),this.on("data",(function(e){r._update("style"===e.dataType),r.fire(new t.Event(e.dataType+"data",e));})),this.on("dataloading",(function(e){r.fire(new t.Event(e.dataType+"dataloading",e));}));}o&&(r.__proto__=o),r.prototype=Object.create(o&&o.prototype),r.prototype.constructor=r;var a={showTileBoundaries:{configurable:!0},showCollisionBoxes:{configurable:!0},showOverdrawInspector:{configurable:!0},repaint:{configurable:!0},vertices:{configurable:!0},version:{configurable:!0}};return r.prototype._getMapId=function(){return this._mapId},r.prototype.addControl=function(e,i){if(void 0===i&&e.getDefaultPosition&&(i=e.getDefaultPosition()),void 0===i&&(i="top-right"),!e||!e.onAdd)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.addControl(). Argument must be a control with onAdd and onRemove methods.")));var o=e.onAdd(this);this._controls.push(e);var r=this._controlPositions[i];return-1!==i.indexOf("bottom")?r.insertBefore(o,r.firstChild):r.appendChild(o),this},r.prototype.removeControl=function(e){if(!e||!e.onRemove)return this.fire(new t.ErrorEvent(new Error("Invalid argument to map.removeControl(). Argument must be a control with onAdd and onRemove methods.")));var i=this._controls.indexOf(e);return i>-1&&this._controls.splice(i,1),e.onRemove(this),this},r.prototype.resize=function(e){var i=this._containerDimensions(),o=i[0],r=i[1];return this._resizeCanvas(o,r),this.transform.resize(o,r),this.painter.resize(o,r),this.fire(new t.Event("movestart",e)).fire(new t.Event("move",e)).fire(new t.Event("resize",e)).fire(new t.Event("moveend",e)),this},r.prototype.getBounds=function(){return this.transform.getBounds()},r.prototype.getMaxBounds=function(){return this.transform.getMaxBounds()},r.prototype.setMaxBounds=function(e){return this.transform.setMaxBounds(t.LngLatBounds.convert(e)),this._update()},r.prototype.setMinZoom=function(t){if((t=null==t?0:t)>=0&&t<=this.transform.maxZoom)return this.transform.minZoom=t,this._update(),this.getZoom()<t&&this.setZoom(t),this;throw new Error("minZoom must be between 0 and the current maxZoom, inclusive")},r.prototype.getMinZoom=function(){return this.transform.minZoom},r.prototype.setMaxZoom=function(t){if((t=null==t?22:t)>=this.transform.minZoom)return this.transform.maxZoom=t,this._update(),this.getZoom()>t&&this.setZoom(t),this;throw new Error("maxZoom must be greater than the current minZoom")},r.prototype.getMaxZoom=function(){return this.transform.maxZoom},r.prototype.getRenderWorldCopies=function(){return this.transform.renderWorldCopies},r.prototype.setRenderWorldCopies=function(t){return this.transform.renderWorldCopies=t,this._update()},r.prototype.project=function(e){return this.transform.locationPoint(t.LngLat.convert(e))},r.prototype.unproject=function(e){return this.transform.pointLocation(t.Point.convert(e))},r.prototype.isMoving=function(){return this._moving||this.dragPan.isActive()||this.dragRotate.isActive()||this.scrollZoom.isActive()},r.prototype.isZooming=function(){return this._zooming||this.scrollZoom.isZooming()},r.prototype.isRotating=function(){return this._rotating||this.dragRotate.isActive()},r.prototype.on=function(t,e,i){var r=this;if(void 0===i)return o.prototype.on.call(this,t,e);var a=function(){var o;if("mouseenter"===t||"mouseover"===t){var a=!1;return{layer:e,listener:i,delegates:{mousemove:function(o){var n=r.getLayer(e)?r.queryRenderedFeatures(o.point,{layers:[e]}):[];n.length?a||(a=!0,i.call(r,new go(t,r,o.originalEvent,{features:n}))):a=!1;},mouseout:function(){a=!1;}}}}if("mouseleave"===t||"mouseout"===t){var n=!1;return{layer:e,listener:i,delegates:{mousemove:function(o){(r.getLayer(e)?r.queryRenderedFeatures(o.point,{layers:[e]}):[]).length?n=!0:n&&(n=!1,i.call(r,new go(t,r,o.originalEvent)));},mouseout:function(e){n&&(n=!1,i.call(r,new go(t,r,e.originalEvent)));}}}}return{layer:e,listener:i,delegates:(o={},o[t]=function(t){var o=r.getLayer(e)?r.queryRenderedFeatures(t.point,{layers:[e]}):[];o.length&&(t.features=o,i.call(r,t),delete t.features);},o)}}();for(var n in this._delegatedListeners=this._delegatedListeners||{},this._delegatedListeners[t]=this._delegatedListeners[t]||[],this._delegatedListeners[t].push(a),a.delegates)this.on(n,a.delegates[n]);return this},r.prototype.off=function(t,e,i){if(void 0===i)return o.prototype.off.call(this,t,e);if(this._delegatedListeners&&this._delegatedListeners[t])for(var r=this._delegatedListeners[t],a=0;a<r.length;a++){var n=r[a];if(n.layer===e&&n.listener===i){for(var s in n.delegates)this.off(s,n.delegates[s]);return r.splice(a,1),this}}return this},r.prototype.queryRenderedFeatures=function(e,i){if(!this.style)return[];var o;if(void 0!==i||void 0===e||e instanceof t.Point||Array.isArray(e)||(i=e,e=void 0),i=i||{},(e=e||[[0,0],[this.transform.width,this.transform.height]])instanceof t.Point||"number"==typeof e[0])o=[t.Point.convert(e)];else{var r=t.Point.convert(e[0]),a=t.Point.convert(e[1]);o=[r,new t.Point(a.x,r.y),a,new t.Point(r.x,a.y),r];}return this.style.queryRenderedFeatures(o,i,this.transform)},r.prototype.querySourceFeatures=function(t,e){return this.style.querySourceFeatures(t,e)},r.prototype.setStyle=function(e,i){return!1!==(i=t.extend({},{localIdeographFontFamily:this._localIdeographFontFamily},i)).diff&&i.localIdeographFontFamily===this._localIdeographFontFamily&&this.style&&e?(this._diffStyle(e,i),this):(this._localIdeographFontFamily=i.localIdeographFontFamily,this._updateStyle(e,i))},r.prototype._updateStyle=function(t,e){return this.style&&(this.style.setEventedParent(null),this.style._remove()),t?(this.style=new Ue(this,e||{}),this.style.setEventedParent(this,{style:this.style}),"string"==typeof t?this.style.loadURL(t):this.style.loadJSON(t),this):(delete this.style,this)},r.prototype._diffStyle=function(e,i){var o=this;if("string"==typeof e){var r=this._requestManager.normalizeStyleURL(e),a=this._requestManager.transformRequest(r,t.ResourceType.Style);t.getJSON(a,(function(e,r){e?o.fire(new t.ErrorEvent(e)):r&&o._updateDiff(r,i);}));}else"object"==typeof e&&this._updateDiff(e,i);},r.prototype._updateDiff=function(e,i){try{this.style.setState(e)&&this._update(!0);}catch(o){t.warnOnce("Unable to perform style diff: "+(o.message||o.error||o)+". Rebuilding the style from scratch."),this._updateStyle(e,i);}},r.prototype.getStyle=function(){if(this.style)return this.style.serialize()},r.prototype.isStyleLoaded=function(){return this.style?this.style.loaded():t.warnOnce("There is no style added to the map.")},r.prototype.addSource=function(t,e){return this.style.addSource(t,e),this._update(!0)},r.prototype.isSourceLoaded=function(e){var i=this.style&&this.style.sourceCaches[e];if(void 0!==i)return i.loaded();this.fire(new t.ErrorEvent(new Error("There is no source with ID '"+e+"'")));},r.prototype.areTilesLoaded=function(){var t=this.style&&this.style.sourceCaches;for(var e in t){var i=t[e]._tiles;for(var o in i){var r=i[o];if("loaded"!==r.state&&"errored"!==r.state)return!1}}return!0},r.prototype.addSourceType=function(t,e,i){return this.style.addSourceType(t,e,i)},r.prototype.removeSource=function(t){return this.style.removeSource(t),this._update(!0)},r.prototype.getSource=function(t){return this.style.getSource(t)},r.prototype.addImage=function(e,i,o){void 0===o&&(o={});var r=o.pixelRatio;void 0===r&&(r=1);var a=o.sdf;void 0===a&&(a=!1);if(i instanceof Bo){var n=t.browser.getImageData(i),s=n.width,l=n.height,c=n.data;this.style.addImage(e,{data:new t.RGBAImage({width:s,height:l},c),pixelRatio:r,sdf:a,version:0});}else{if(void 0===i.width||void 0===i.height)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.addImage(). The second argument must be an `HTMLImageElement`, `ImageData`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));var u=i.width,h=i.height,p=i.data,d=i;this.style.addImage(e,{data:new t.RGBAImage({width:u,height:h},new Uint8Array(p)),pixelRatio:r,sdf:a,version:0,userImage:d}),d.onAdd&&d.onAdd(this,e);}},r.prototype.updateImage=function(e,i){var o=this.style.getImage(e);if(!o)return this.fire(new t.ErrorEvent(new Error("The map has no image with that id. If you are adding a new image use `map.addImage(...)` instead.")));var r=i instanceof Bo?t.browser.getImageData(i):i,a=r.width,n=r.height,s=r.data;if(void 0===a||void 0===n)return this.fire(new t.ErrorEvent(new Error("Invalid arguments to map.updateImage(). The second argument must be an `HTMLImageElement`, `ImageData`, or object with `width`, `height`, and `data` properties with the same format as `ImageData`")));if(a!==o.data.width||n!==o.data.height)return this.fire(new t.ErrorEvent(new Error("The width and height of the updated image must be that same as the previous version of the image")));var l=!(i instanceof Bo);o.data.replace(s,l),this.style.updateImage(e,o);},r.prototype.hasImage=function(e){return e?!!this.style.getImage(e):(this.fire(new t.ErrorEvent(new Error("Missing required image id"))),!1)},r.prototype.removeImage=function(t){this.style.removeImage(t);},r.prototype.loadImage=function(e,i){t.getImage(this._requestManager.transformRequest(e,t.ResourceType.Image),i);},r.prototype.listImages=function(){return this.style.listImages()},r.prototype.addLayer=function(t,e){return this.style.addLayer(t,e),this._update(!0)},r.prototype.moveLayer=function(t,e){return this.style.moveLayer(t,e),this._update(!0)},r.prototype.removeLayer=function(t){return this.style.removeLayer(t),this._update(!0)},r.prototype.getLayer=function(t){return this.style.getLayer(t)},r.prototype.setLayerZoomRange=function(t,e,i){return this.style.setLayerZoomRange(t,e,i),this._update(!0)},r.prototype.setFilter=function(t,e,i){return void 0===i&&(i={}),this.style.setFilter(t,e,i),this._update(!0)},r.prototype.getFilter=function(t){return this.style.getFilter(t)},r.prototype.setPaintProperty=function(t,e,i,o){return void 0===o&&(o={}),this.style.setPaintProperty(t,e,i,o),this._update(!0)},r.prototype.getPaintProperty=function(t,e){return this.style.getPaintProperty(t,e)},r.prototype.setLayoutProperty=function(t,e,i,o){return void 0===o&&(o={}),this.style.setLayoutProperty(t,e,i,o),this._update(!0)},r.prototype.getLayoutProperty=function(t,e){return this.style.getLayoutProperty(t,e)},r.prototype.setLight=function(t,e){return void 0===e&&(e={}),this.style.setLight(t,e),this._update(!0)},r.prototype.getLight=function(){return this.style.getLight()},r.prototype.setFeatureState=function(t,e){return this.style.setFeatureState(t,e),this._update()},r.prototype.removeFeatureState=function(t,e){return this.style.removeFeatureState(t,e),this._update()},r.prototype.getFeatureState=function(t){return this.style.getFeatureState(t)},r.prototype.getContainer=function(){return this._container},r.prototype.getCanvasContainer=function(){return this._canvasContainer},r.prototype.getCanvas=function(){return this._canvas},r.prototype._containerDimensions=function(){var t=0,e=0;return this._container&&(t=this._container.clientWidth||400,e=this._container.clientHeight||300),[t,e]},r.prototype._detectMissingCSS=function(){"rgb(250, 128, 114)"!==t.window.getComputedStyle(this._missingCSSCanary).getPropertyValue("background-color")&&t.warnOnce("This page appears to be missing CSS declarations for Mapbox GL JS, which may cause the map to display incorrectly. Please ensure your page includes mapbox-gl.css, as described in https://www.mapbox.com/mapbox-gl-js/api/.");},r.prototype._setupContainer=function(){var t=this._container;t.classList.add("mapboxgl-map"),(this._missingCSSCanary=i.create("div","mapboxgl-canary",t)).style.visibility="hidden",this._detectMissingCSS();var e=this._canvasContainer=i.create("div","mapboxgl-canvas-container",t);this._interactive&&e.classList.add("mapboxgl-interactive"),this._canvas=i.create("canvas","mapboxgl-canvas",e),this._canvas.style.position="absolute",this._canvas.addEventListener("webglcontextlost",this._contextLost,!1),this._canvas.addEventListener("webglcontextrestored",this._contextRestored,!1),this._canvas.setAttribute("tabindex","0"),this._canvas.setAttribute("aria-label","Map");var o=this._containerDimensions();this._resizeCanvas(o[0],o[1]);var r=this._controlContainer=i.create("div","mapboxgl-control-container",t),a=this._controlPositions={};["top-left","top-right","bottom-left","bottom-right"].forEach((function(t){a[t]=i.create("div","mapboxgl-ctrl-"+t,r);}));},r.prototype._resizeCanvas=function(e,i){var o=t.window.devicePixelRatio||1;this._canvas.width=o*e,this._canvas.height=o*i,this._canvas.style.width=e+"px",this._canvas.style.height=i+"px";},r.prototype._setupPainter=function(){var i=t.extend({},e.webGLContextAttributes,{failIfMajorPerformanceCaveat:this._failIfMajorPerformanceCaveat,preserveDrawingBuffer:this._preserveDrawingBuffer,antialias:this._antialias||!1}),o=this._canvas.getContext("webgl",i)||this._canvas.getContext("experimental-webgl",i);o?(this.painter=new co(o,this.transform),t.webpSupported.testSupport(o)):this.fire(new t.ErrorEvent(new Error("Failed to initialize WebGL")));},r.prototype._contextLost=function(e){e.preventDefault(),this._frame&&(this._frame.cancel(),this._frame=null),this.fire(new t.Event("webglcontextlost",{originalEvent:e}));},r.prototype._contextRestored=function(e){this._setupPainter(),this.resize(),this._update(),this.fire(new t.Event("webglcontextrestored",{originalEvent:e}));},r.prototype.loaded=function(){return!this._styleDirty&&!this._sourcesDirty&&!!this.style&&this.style.loaded()},r.prototype._update=function(t){return this.style?(this._styleDirty=this._styleDirty||t,this._sourcesDirty=!0,this.triggerRepaint(),this):this},r.prototype._requestRenderFrame=function(t){return this._update(),this._renderTaskQueue.add(t)},r.prototype._cancelRenderFrame=function(t){this._renderTaskQueue.remove(t);},r.prototype._render=function(){this.painter.context.setDirty(),this.painter.setBaseState(),this._renderTaskQueue.run();var e=!1;if(this.style&&this._styleDirty){this._styleDirty=!1;var i=this.transform.zoom,o=t.browser.now();this.style.zoomHistory.update(i,o);var r=new t.EvaluationParameters(i,{now:o,fadeDuration:this._fadeDuration,zoomHistory:this.style.zoomHistory,transition:this.style.getTransition()}),a=r.crossFadingFactor();1===a&&a===this._crossFadingFactor||(e=!0,this._crossFadingFactor=a),this.style.update(r);}return this.style&&this._sourcesDirty&&(this._sourcesDirty=!1,this.style._updateSources(this.transform)),this._placementDirty=this.style&&this.style._updatePlacement(this.painter.transform,this.showCollisionBoxes,this._fadeDuration,this._crossSourceCollisions),this.painter.render(this.style,{showTileBoundaries:this.showTileBoundaries,showOverdrawInspector:this._showOverdrawInspector,rotating:this.isRotating(),zooming:this.isZooming(),moving:this.isMoving(),fadeDuration:this._fadeDuration}),this.fire(new t.Event("render")),this.loaded()&&!this._loaded&&(this._loaded=!0,this.fire(new t.Event("load"))),this.style&&(this.style.hasTransitions()||e)&&(this._styleDirty=!0),this.style&&!this._placementDirty&&this.style._releaseSymbolFadeTiles(),this._sourcesDirty||this._repaint||this._styleDirty||this._placementDirty?this.triggerRepaint():!this.isMoving()&&this.loaded()&&this.fire(new t.Event("idle")),this},r.prototype.remove=function(){this._hash&&this._hash.remove();for(var e=0,i=this._controls;e<i.length;e+=1){i[e].onRemove(this);}this._controls=[],this._frame&&(this._frame.cancel(),this._frame=null),this._renderTaskQueue.clear(),this.setStyle(null),void 0!==t.window&&(t.window.removeEventListener("resize",this._onWindowResize,!1),t.window.removeEventListener("online",this._onWindowOnline,!1));var o=this.painter.context.gl.getExtension("WEBGL_lose_context");o&&o.loseContext(),No(this._canvasContainer),No(this._controlContainer),No(this._missingCSSCanary),this._container.classList.remove("mapboxgl-map"),this.fire(new t.Event("remove"));},r.prototype.triggerRepaint=function(){var e=this;this.style&&!this._frame&&(this._frame=t.browser.frame((function(){e._frame=null,e._render();})));},r.prototype._onWindowOnline=function(){this._update();},r.prototype._onWindowResize=function(t){this._trackResize&&this.resize({originalEvent:t})._update();},a.showTileBoundaries.get=function(){return!!this._showTileBoundaries},a.showTileBoundaries.set=function(t){this._showTileBoundaries!==t&&(this._showTileBoundaries=t,this._update());},a.showCollisionBoxes.get=function(){return!!this._showCollisionBoxes},a.showCollisionBoxes.set=function(t){this._showCollisionBoxes!==t&&(this._showCollisionBoxes=t,t?this.style._generateCollisionBoxes():this._update());},a.showOverdrawInspector.get=function(){return!!this._showOverdrawInspector},a.showOverdrawInspector.set=function(t){this._showOverdrawInspector!==t&&(this._showOverdrawInspector=t,this._update());},a.repaint.get=function(){return!!this._repaint},a.repaint.set=function(t){this._repaint!==t&&(this._repaint=t,this.triggerRepaint());},a.vertices.get=function(){return!!this._vertices},a.vertices.set=function(t){this._vertices=t,this._update();},r.prototype._setCacheLimits=function(e,i){t.setCacheLimits(e,i);},a.version.get=function(){return t.version},Object.defineProperties(r.prototype,a),r}(Do);function No(t){t.parentNode&&t.parentNode.removeChild(t);}var Zo={showCompass:!0,showZoom:!0,visualizePitch:!1},qo=function(e){var o=this;this.options=t.extend({},Zo,e),this._container=i.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this.options.showZoom&&(t.bindAll(["_updateZoomButtons"],this),this._zoomInButton=this._createButton("mapboxgl-ctrl-icon mapboxgl-ctrl-zoom-in","Zoom in",(function(t){return o._map.zoomIn({},{originalEvent:t})})),this._zoomOutButton=this._createButton("mapboxgl-ctrl-icon mapboxgl-ctrl-zoom-out","Zoom out",(function(t){return o._map.zoomOut({},{originalEvent:t})}))),this.options.showCompass&&(t.bindAll(["_rotateCompassArrow"],this),this._compass=this._createButton("mapboxgl-ctrl-icon mapboxgl-ctrl-compass","Reset bearing to north",(function(t){o.options.visualizePitch?o._map.resetNorthPitch({},{originalEvent:t}):o._map.resetNorth({},{originalEvent:t});})),this._compassArrow=i.create("span","mapboxgl-ctrl-compass-arrow",this._compass));};function Vo(e,i,o){if(e=new t.LngLat(e.lng,e.lat),i){var r=new t.LngLat(e.lng-360,e.lat),a=new t.LngLat(e.lng+360,e.lat),n=o.locationPoint(e).distSqr(i);o.locationPoint(r).distSqr(i)<n?e=r:o.locationPoint(a).distSqr(i)<n&&(e=a);}for(;Math.abs(e.lng-o.center.lng)>180;){var s=o.locationPoint(e);if(s.x>=0&&s.y>=0&&s.x<=o.width&&s.y<=o.height)break;e.lng>o.center.lng?e.lng-=360:e.lng+=360;}return e}qo.prototype._updateZoomButtons=function(){var t=this._map.getZoom();t===this._map.getMaxZoom()?this._zoomInButton.classList.add("mapboxgl-ctrl-icon-disabled"):this._zoomInButton.classList.remove("mapboxgl-ctrl-icon-disabled"),t===this._map.getMinZoom()?this._zoomOutButton.classList.add("mapboxgl-ctrl-icon-disabled"):this._zoomOutButton.classList.remove("mapboxgl-ctrl-icon-disabled");},qo.prototype._rotateCompassArrow=function(){var t=this.options.visualizePitch?"scale("+1/Math.pow(Math.cos(this._map.transform.pitch*(Math.PI/180)),.5)+") rotateX("+this._map.transform.pitch+"deg) rotateZ("+this._map.transform.angle*(180/Math.PI)+"deg)":"rotate("+this._map.transform.angle*(180/Math.PI)+"deg)";this._compassArrow.style.transform=t;},qo.prototype.onAdd=function(t){return this._map=t,this.options.showZoom&&(this._map.on("zoom",this._updateZoomButtons),this._updateZoomButtons()),this.options.showCompass&&(this.options.visualizePitch&&this._map.on("pitch",this._rotateCompassArrow),this._map.on("rotate",this._rotateCompassArrow),this._rotateCompassArrow(),this._handler=new Eo(t,{button:"left",element:this._compass}),i.addEventListener(this._compass,"mousedown",this._handler.onMouseDown),i.addEventListener(this._compass,"touchstart",this._handler.onMouseDown,{passive:!1}),this._handler.enable()),this._container},qo.prototype.onRemove=function(){i.remove(this._container),this.options.showZoom&&this._map.off("zoom",this._updateZoomButtons),this.options.showCompass&&(this.options.visualizePitch&&this._map.off("pitch",this._rotateCompassArrow),this._map.off("rotate",this._rotateCompassArrow),i.removeEventListener(this._compass,"mousedown",this._handler.onMouseDown),i.removeEventListener(this._compass,"touchstart",this._handler.onMouseDown,{passive:!1}),this._handler.disable(),delete this._handler),delete this._map;},qo.prototype._createButton=function(t,e,o){var r=i.create("button",t,this._container);return r.type="button",r.title=e,r.setAttribute("aria-label",e),r.addEventListener("click",o),r};var jo={center:"translate(-50%,-50%)",top:"translate(-50%,0)","top-left":"translate(0,0)","top-right":"translate(-100%,0)",bottom:"translate(-50%,-100%)","bottom-left":"translate(0,-100%)","bottom-right":"translate(-100%,-100%)",left:"translate(0,-50%)",right:"translate(-100%,-50%)"};function Go(t,e,i){var o=t.classList;for(var r in jo)o.remove("mapboxgl-"+i+"-anchor-"+r);o.add("mapboxgl-"+i+"-anchor-"+e);}var Wo,Xo=function(e){function o(o,r){if(e.call(this),(o instanceof t.window.HTMLElement||r)&&(o=t.extend({element:o},r)),t.bindAll(["_update","_onMove","_onUp","_addDragHandler","_onMapClick"],this),this._anchor=o&&o.anchor||"center",this._color=o&&o.color||"#3FB1CE",this._draggable=o&&o.draggable||!1,this._state="inactive",o&&o.element)this._element=o.element,this._offset=t.Point.convert(o&&o.offset||[0,0]);else{this._defaultMarker=!0,this._element=i.create("div");var a=i.createNS("http://www.w3.org/2000/svg","svg");a.setAttributeNS(null,"display","block"),a.setAttributeNS(null,"height","41px"),a.setAttributeNS(null,"width","27px"),a.setAttributeNS(null,"viewBox","0 0 27 41");var n=i.createNS("http://www.w3.org/2000/svg","g");n.setAttributeNS(null,"stroke","none"),n.setAttributeNS(null,"stroke-width","1"),n.setAttributeNS(null,"fill","none"),n.setAttributeNS(null,"fill-rule","evenodd");var s=i.createNS("http://www.w3.org/2000/svg","g");s.setAttributeNS(null,"fill-rule","nonzero");var l=i.createNS("http://www.w3.org/2000/svg","g");l.setAttributeNS(null,"transform","translate(3.0, 29.0)"),l.setAttributeNS(null,"fill","#000000");for(var c=0,u=[{rx:"10.5",ry:"5.25002273"},{rx:"10.5",ry:"5.25002273"},{rx:"9.5",ry:"4.77275007"},{rx:"8.5",ry:"4.29549936"},{rx:"7.5",ry:"3.81822308"},{rx:"6.5",ry:"3.34094679"},{rx:"5.5",ry:"2.86367051"},{rx:"4.5",ry:"2.38636864"}];c<u.length;c+=1){var h=u[c],p=i.createNS("http://www.w3.org/2000/svg","ellipse");p.setAttributeNS(null,"opacity","0.04"),p.setAttributeNS(null,"cx","10.5"),p.setAttributeNS(null,"cy","5.80029008"),p.setAttributeNS(null,"rx",h.rx),p.setAttributeNS(null,"ry",h.ry),l.appendChild(p);}var d=i.createNS("http://www.w3.org/2000/svg","g");d.setAttributeNS(null,"fill",this._color);var _=i.createNS("http://www.w3.org/2000/svg","path");_.setAttributeNS(null,"d","M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"),d.appendChild(_);var f=i.createNS("http://www.w3.org/2000/svg","g");f.setAttributeNS(null,"opacity","0.25"),f.setAttributeNS(null,"fill","#000000");var m=i.createNS("http://www.w3.org/2000/svg","path");m.setAttributeNS(null,"d","M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"),f.appendChild(m);var g=i.createNS("http://www.w3.org/2000/svg","g");g.setAttributeNS(null,"transform","translate(6.0, 7.0)"),g.setAttributeNS(null,"fill","#FFFFFF");var v=i.createNS("http://www.w3.org/2000/svg","g");v.setAttributeNS(null,"transform","translate(8.0, 8.0)");var y=i.createNS("http://www.w3.org/2000/svg","circle");y.setAttributeNS(null,"fill","#000000"),y.setAttributeNS(null,"opacity","0.25"),y.setAttributeNS(null,"cx","5.5"),y.setAttributeNS(null,"cy","5.5"),y.setAttributeNS(null,"r","5.4999962");var x=i.createNS("http://www.w3.org/2000/svg","circle");x.setAttributeNS(null,"fill","#FFFFFF"),x.setAttributeNS(null,"cx","5.5"),x.setAttributeNS(null,"cy","5.5"),x.setAttributeNS(null,"r","5.4999962"),v.appendChild(y),v.appendChild(x),s.appendChild(l),s.appendChild(d),s.appendChild(f),s.appendChild(g),s.appendChild(v),a.appendChild(s),this._element.appendChild(a),this._offset=t.Point.convert(o&&o.offset||[0,-14]);}this._element.classList.add("mapboxgl-marker"),this._element.addEventListener("dragstart",(function(t){t.preventDefault();})),Go(this._element,this._anchor,"marker"),this._popup=null;}return e&&(o.__proto__=e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o,o.prototype.addTo=function(t){return this.remove(),this._map=t,t.getCanvasContainer().appendChild(this._element),t.on("move",this._update),t.on("moveend",this._update),this.setDraggable(this._draggable),this._update(),this._map.on("click",this._onMapClick),this},o.prototype.remove=function(){return this._map&&(this._map.off("click",this._onMapClick),this._map.off("move",this._update),this._map.off("moveend",this._update),this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler),this._map.off("mouseup",this._onUp),this._map.off("touchend",this._onUp),this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),delete this._map),i.remove(this._element),this._popup&&this._popup.remove(),this},o.prototype.getLngLat=function(){return this._lngLat},o.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._popup&&this._popup.setLngLat(this._lngLat),this._update(),this},o.prototype.getElement=function(){return this._element},o.prototype.setPopup=function(t){if(this._popup&&(this._popup.remove(),this._popup=null),t){if(!("offset"in t.options)){var e=Math.sqrt(Math.pow(13.5,2)/2);t.options.offset=this._defaultMarker?{top:[0,0],"top-left":[0,0],"top-right":[0,0],bottom:[0,-38.1],"bottom-left":[e,-1*(24.6+e)],"bottom-right":[-e,-1*(24.6+e)],left:[13.5,-24.6],right:[-13.5,-24.6]}:this._offset;}this._popup=t,this._lngLat&&this._popup.setLngLat(this._lngLat);}return this},o.prototype._onMapClick=function(t){var e=t.originalEvent.target,i=this._element;this._popup&&(e===i||i.contains(e))&&this.togglePopup();},o.prototype.getPopup=function(){return this._popup},o.prototype.togglePopup=function(){var t=this._popup;return t?(t.isOpen()?t.remove():t.addTo(this._map),this):this},o.prototype._update=function(t){this._map&&(this._map.transform.renderWorldCopies&&(this._lngLat=Vo(this._lngLat,this._pos,this._map.transform)),this._pos=this._map.project(this._lngLat)._add(this._offset),t&&"moveend"!==t.type||(this._pos=this._pos.round()),i.setTransform(this._element,jo[this._anchor]+" translate("+this._pos.x+"px, "+this._pos.y+"px)"));},o.prototype.getOffset=function(){return this._offset},o.prototype.setOffset=function(e){return this._offset=t.Point.convert(e),this._update(),this},o.prototype._onMove=function(e){this._pos=e.point.sub(this._positionDelta),this._lngLat=this._map.unproject(this._pos),this.setLngLat(this._lngLat),this._element.style.pointerEvents="none","pending"===this._state&&(this._state="active",this.fire(new t.Event("dragstart"))),this.fire(new t.Event("drag"));},o.prototype._onUp=function(){this._element.style.pointerEvents="auto",this._positionDelta=null,this._map.off("mousemove",this._onMove),this._map.off("touchmove",this._onMove),"active"===this._state&&this.fire(new t.Event("dragend")),this._state="inactive";},o.prototype._addDragHandler=function(t){this._element.contains(t.originalEvent.target)&&(t.preventDefault(),this._positionDelta=t.point.sub(this._pos).add(this._offset),this._state="pending",this._map.on("mousemove",this._onMove),this._map.on("touchmove",this._onMove),this._map.once("mouseup",this._onUp),this._map.once("touchend",this._onUp));},o.prototype.setDraggable=function(t){return this._draggable=!!t,this._map&&(t?(this._map.on("mousedown",this._addDragHandler),this._map.on("touchstart",this._addDragHandler)):(this._map.off("mousedown",this._addDragHandler),this._map.off("touchstart",this._addDragHandler))),this},o.prototype.isDraggable=function(){return this._draggable},o}(t.Evented),Ho={positionOptions:{enableHighAccuracy:!1,maximumAge:0,timeout:6e3},fitBoundsOptions:{maxZoom:15},trackUserLocation:!1,showUserLocation:!0};var Ko=function(e){function o(i){e.call(this),this.options=t.extend({},Ho,i),t.bindAll(["_onSuccess","_onError","_finish","_setupUI","_updateCamera","_updateMarker"],this);}return e&&(o.__proto__=e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o,o.prototype.onAdd=function(e){var o;return this._map=e,this._container=i.create("div","mapboxgl-ctrl mapboxgl-ctrl-group"),o=this._setupUI,void 0!==Wo?o(Wo):void 0!==t.window.navigator.permissions?t.window.navigator.permissions.query({name:"geolocation"}).then((function(t){Wo="denied"!==t.state,o(Wo);})):(Wo=!!t.window.navigator.geolocation,o(Wo)),this._container},o.prototype.onRemove=function(){void 0!==this._geolocationWatchID&&(t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0),this.options.showUserLocation&&this._userLocationDotMarker&&this._userLocationDotMarker.remove(),i.remove(this._container),this._map=void 0;},o.prototype._isOutOfMapMaxBounds=function(t){var e=this._map.getMaxBounds(),i=t.coords;return e&&(i.longitude<e.getWest()||i.longitude>e.getEast()||i.latitude<e.getSouth()||i.latitude>e.getNorth())},o.prototype._setErrorState=function(){switch(this._watchState){case"WAITING_ACTIVE":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"ACTIVE_LOCK":this._watchState="ACTIVE_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");break;case"BACKGROUND":this._watchState="BACKGROUND_ERROR",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting");}},o.prototype._onSuccess=function(e){if(this._isOutOfMapMaxBounds(e))return this._setErrorState(),this.fire(new t.Event("outofmaxbounds",e)),this._updateMarker(),void this._finish();if(this.options.trackUserLocation)switch(this._lastKnownPosition=e,this._watchState){case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"BACKGROUND":case"BACKGROUND_ERROR":this._watchState="BACKGROUND",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");}this.options.showUserLocation&&"OFF"!==this._watchState&&this._updateMarker(e),this.options.trackUserLocation&&"ACTIVE_LOCK"!==this._watchState||this._updateCamera(e),this.options.showUserLocation&&this._dotElement.classList.remove("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("geolocate",e)),this._finish();},o.prototype._updateCamera=function(e){var i=new t.LngLat(e.coords.longitude,e.coords.latitude),o=e.coords.accuracy,r=this._map.getBearing(),a=t.extend({bearing:r},this.options.fitBoundsOptions);this._map.fitBounds(i.toBounds(o),a,{geolocateSource:!0});},o.prototype._updateMarker=function(t){t?this._userLocationDotMarker.setLngLat([t.coords.longitude,t.coords.latitude]).addTo(this._map):this._userLocationDotMarker.remove();},o.prototype._onError=function(e){this.options.trackUserLocation&&(1===e.code?(this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this._geolocateButton.disabled=!0,this._geolocateButton.title="Location not available",this._geolocateButton.setAttribute("aria-label","Location not available"),void 0!==this._geolocationWatchID&&this._clearWatch()):this._setErrorState()),"OFF"!==this._watchState&&this.options.showUserLocation&&this._dotElement.classList.add("mapboxgl-user-location-dot-stale"),this.fire(new t.Event("error",e)),this._finish();},o.prototype._finish=function(){this._timeoutId&&clearTimeout(this._timeoutId),this._timeoutId=void 0;},o.prototype._setupUI=function(e){var o=this;this._container.addEventListener("contextmenu",(function(t){return t.preventDefault()})),this._geolocateButton=i.create("button","mapboxgl-ctrl-icon mapboxgl-ctrl-geolocate",this._container),this._geolocateButton.type="button",this._geolocateButton.title="Find my location",this._geolocateButton.setAttribute("aria-label","Find my location"),!1===e&&(t.warnOnce("Geolocation support is not available so the GeolocateControl will be disabled."),this._geolocateButton.disabled=!0,this._geolocateButton.title="Location not available",this._geolocateButton.setAttribute("aria-label","Location not available")),this.options.trackUserLocation&&(this._geolocateButton.setAttribute("aria-pressed","false"),this._watchState="OFF"),this.options.showUserLocation&&(this._dotElement=i.create("div","mapboxgl-user-location-dot"),this._userLocationDotMarker=new Xo(this._dotElement),this.options.trackUserLocation&&(this._watchState="OFF")),this._geolocateButton.addEventListener("click",this.trigger.bind(this)),this._setup=!0,this.options.trackUserLocation&&this._map.on("movestart",(function(e){var i=e.originalEvent&&"resize"===e.originalEvent.type;e.geolocateSource||"ACTIVE_LOCK"!==o._watchState||i||(o._watchState="BACKGROUND",o._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background"),o._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),o.fire(new t.Event("trackuserlocationend")));}));},o.prototype.trigger=function(){if(!this._setup)return t.warnOnce("Geolocate control triggered before added to a map"),!1;if(this.options.trackUserLocation){switch(this._watchState){case"OFF":this._watchState="WAITING_ACTIVE",this.fire(new t.Event("trackuserlocationstart"));break;case"WAITING_ACTIVE":case"ACTIVE_LOCK":case"ACTIVE_ERROR":case"BACKGROUND_ERROR":this._watchState="OFF",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-active-error"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background-error"),this.fire(new t.Event("trackuserlocationend"));break;case"BACKGROUND":this._watchState="ACTIVE_LOCK",this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-background"),this._lastKnownPosition&&this._updateCamera(this._lastKnownPosition),this.fire(new t.Event("trackuserlocationstart"));}switch(this._watchState){case"WAITING_ACTIVE":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_LOCK":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active");break;case"ACTIVE_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-active-error");break;case"BACKGROUND":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background");break;case"BACKGROUND_ERROR":this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-background-error");}"OFF"===this._watchState&&void 0!==this._geolocationWatchID?this._clearWatch():void 0===this._geolocationWatchID&&(this._geolocateButton.classList.add("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","true"),this._geolocationWatchID=t.window.navigator.geolocation.watchPosition(this._onSuccess,this._onError,this.options.positionOptions));}else t.window.navigator.geolocation.getCurrentPosition(this._onSuccess,this._onError,this.options.positionOptions),this._timeoutId=setTimeout(this._finish,1e4);return!0},o.prototype._clearWatch=function(){t.window.navigator.geolocation.clearWatch(this._geolocationWatchID),this._geolocationWatchID=void 0,this._geolocateButton.classList.remove("mapboxgl-ctrl-geolocate-waiting"),this._geolocateButton.setAttribute("aria-pressed","false"),this.options.showUserLocation&&this._updateMarker(null);},o}(t.Evented),Jo={maxWidth:100,unit:"metric"},Yo=function(e){this.options=t.extend({},Jo,e),t.bindAll(["_onMove","setUnit"],this);};function Qo(t,e,i){var o,r,a,n,s,l,c=i&&i.maxWidth||100,u=t._container.clientHeight/2,h=(o=t.unproject([0,u]),r=t.unproject([c,u]),a=Math.PI/180,n=o.lat*a,s=r.lat*a,l=Math.sin(n)*Math.sin(s)+Math.cos(n)*Math.cos(s)*Math.cos((r.lng-o.lng)*a),6371e3*Math.acos(Math.min(l,1)));if(i&&"imperial"===i.unit){var p=3.2808*h;if(p>5280)$o(e,c,p/5280,"mi");else $o(e,c,p,"ft");}else if(i&&"nautical"===i.unit){$o(e,c,h/1852,"nm");}else $o(e,c,h,"m");}function $o(t,e,i,o){var r,a,n,s=(r=i,a=Math.pow(10,(""+Math.floor(r)).length-1),n=(n=r/a)>=10?10:n>=5?5:n>=3?3:n>=2?2:n>=1?1:function(t){var e=Math.pow(10,Math.ceil(-Math.log(t)/Math.LN10));return Math.round(t*e)/e}(n),a*n),l=s/i;"m"===o&&s>=1e3&&(s/=1e3,o="km"),t.style.width=e*l+"px",t.innerHTML=s+o;}Yo.prototype.getDefaultPosition=function(){return "bottom-left"},Yo.prototype._onMove=function(){Qo(this._map,this._container,this.options);},Yo.prototype.onAdd=function(t){return this._map=t,this._container=i.create("div","mapboxgl-ctrl mapboxgl-ctrl-scale",t.getContainer()),this._map.on("move",this._onMove),this._onMove(),this._container},Yo.prototype.onRemove=function(){i.remove(this._container),this._map.off("move",this._onMove),this._map=void 0;},Yo.prototype.setUnit=function(t){this.options.unit=t,Qo(this._map,this._container,this.options);};var tr=function(e){this._fullscreen=!1,e&&e.container&&(e.container instanceof t.window.HTMLElement?this._container=e.container:t.warnOnce("Full screen control 'container' must be a DOM element.")),t.bindAll(["_onClickFullscreen","_changeIcon"],this),"onfullscreenchange"in t.window.document?this._fullscreenchange="fullscreenchange":"onmozfullscreenchange"in t.window.document?this._fullscreenchange="mozfullscreenchange":"onwebkitfullscreenchange"in t.window.document?this._fullscreenchange="webkitfullscreenchange":"onmsfullscreenchange"in t.window.document&&(this._fullscreenchange="MSFullscreenChange"),this._className="mapboxgl-ctrl";};tr.prototype.onAdd=function(e){return this._map=e,this._container||(this._container=this._map.getContainer()),this._controlContainer=i.create("div",this._className+" mapboxgl-ctrl-group"),this._checkFullscreenSupport()?this._setupUI():(this._controlContainer.style.display="none",t.warnOnce("This device does not support fullscreen mode.")),this._controlContainer},tr.prototype.onRemove=function(){i.remove(this._controlContainer),this._map=null,t.window.document.removeEventListener(this._fullscreenchange,this._changeIcon);},tr.prototype._checkFullscreenSupport=function(){return!!(t.window.document.fullscreenEnabled||t.window.document.mozFullScreenEnabled||t.window.document.msFullscreenEnabled||t.window.document.webkitFullscreenEnabled)},tr.prototype._setupUI=function(){(this._fullscreenButton=i.create("button",this._className+"-icon "+this._className+"-fullscreen",this._controlContainer)).type="button",this._updateTitle(),this._fullscreenButton.addEventListener("click",this._onClickFullscreen),t.window.document.addEventListener(this._fullscreenchange,this._changeIcon);},tr.prototype._updateTitle=function(){var t=this._isFullscreen()?"Exit fullscreen":"Enter fullscreen";this._fullscreenButton.setAttribute("aria-label",t),this._fullscreenButton.title=t;},tr.prototype._isFullscreen=function(){return this._fullscreen},tr.prototype._changeIcon=function(){(t.window.document.fullscreenElement||t.window.document.mozFullScreenElement||t.window.document.webkitFullscreenElement||t.window.document.msFullscreenElement)===this._container!==this._fullscreen&&(this._fullscreen=!this._fullscreen,this._fullscreenButton.classList.toggle(this._className+"-shrink"),this._fullscreenButton.classList.toggle(this._className+"-fullscreen"),this._updateTitle());},tr.prototype._onClickFullscreen=function(){this._isFullscreen()?t.window.document.exitFullscreen?t.window.document.exitFullscreen():t.window.document.mozCancelFullScreen?t.window.document.mozCancelFullScreen():t.window.document.msExitFullscreen?t.window.document.msExitFullscreen():t.window.document.webkitCancelFullScreen&&t.window.document.webkitCancelFullScreen():this._container.requestFullscreen?this._container.requestFullscreen():this._container.mozRequestFullScreen?this._container.mozRequestFullScreen():this._container.msRequestFullscreen?this._container.msRequestFullscreen():this._container.webkitRequestFullscreen&&this._container.webkitRequestFullscreen();};var er={closeButton:!0,closeOnClick:!0,className:"",maxWidth:"240px"},ir=function(e){function o(i){e.call(this),this.options=t.extend(Object.create(er),i),t.bindAll(["_update","_onClickClose","remove"],this);}return e&&(o.__proto__=e),o.prototype=Object.create(e&&e.prototype),o.prototype.constructor=o,o.prototype.addTo=function(e){var i=this;return this._map=e,this.options.closeOnClick&&this._map.on("click",this._onClickClose),this._map.on("remove",this.remove),this._update(),this._trackPointer?(this._map.on("mousemove",(function(t){i._update(t.point);})),this._map.on("mouseup",(function(t){i._update(t.point);})),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")):this._map.on("move",this._update),this.fire(new t.Event("open")),this},o.prototype.isOpen=function(){return!!this._map},o.prototype.remove=function(){return this._content&&i.remove(this._content),this._container&&(i.remove(this._container),delete this._container),this._map&&(this._map.off("move",this._update),this._map.off("click",this._onClickClose),this._map.off("remove",this.remove),this._map.off("mousemove"),delete this._map),this.fire(new t.Event("close")),this},o.prototype.getLngLat=function(){return this._lngLat},o.prototype.setLngLat=function(e){return this._lngLat=t.LngLat.convert(e),this._pos=null,this._trackPointer=!1,this._update(),this._map&&(this._map.on("move",this._update),this._map.off("mousemove"),this._container&&this._container.classList.remove("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.remove("mapboxgl-track-pointer")),this},o.prototype.trackPointer=function(){var t=this;return this._trackPointer=!0,this._pos=null,this._update(),this._map&&(this._map.off("move",this._update),this._map.on("mousemove",(function(e){t._update(e.point);})),this._map.on("drag",(function(e){t._update(e.point);})),this._container&&this._container.classList.add("mapboxgl-popup-track-pointer"),this._map._canvasContainer.classList.add("mapboxgl-track-pointer")),this},o.prototype.getElement=function(){return this._container},o.prototype.setText=function(e){return this.setDOMContent(t.window.document.createTextNode(e))},o.prototype.setHTML=function(e){var i,o=t.window.document.createDocumentFragment(),r=t.window.document.createElement("body");for(r.innerHTML=e;i=r.firstChild;)o.appendChild(i);return this.setDOMContent(o)},o.prototype.getMaxWidth=function(){return this._container.style.maxWidth},o.prototype.setMaxWidth=function(t){return this.options.maxWidth=t,this._update(),this},o.prototype.setDOMContent=function(t){return this._createContent(),this._content.appendChild(t),this._update(),this},o.prototype._createContent=function(){this._content&&i.remove(this._content),this._content=i.create("div","mapboxgl-popup-content",this._container),this.options.closeButton&&(this._closeButton=i.create("button","mapboxgl-popup-close-button",this._content),this._closeButton.type="button",this._closeButton.setAttribute("aria-label","Close popup"),this._closeButton.innerHTML="&#215;",this._closeButton.addEventListener("click",this._onClickClose));},o.prototype._update=function(e){var o=this,r=this._lngLat||this._trackPointer;if(this._map&&r&&this._content&&(this._container||(this._container=i.create("div","mapboxgl-popup",this._map.getContainer()),this._tip=i.create("div","mapboxgl-popup-tip",this._container),this._container.appendChild(this._content),this.options.className&&this.options.className.split(" ").forEach((function(t){return o._container.classList.add(t)})),this._trackPointer&&this._container.classList.add("mapboxgl-popup-track-pointer")),this.options.maxWidth&&this._container.style.maxWidth!==this.options.maxWidth&&(this._container.style.maxWidth=this.options.maxWidth),this._map.transform.renderWorldCopies&&!this._trackPointer&&(this._lngLat=Vo(this._lngLat,this._pos,this._map.transform)),!this._trackPointer||e)){var a=this._pos=this._trackPointer&&e?e:this._map.project(this._lngLat),n=this.options.anchor,s=function e(i){if(i){if("number"==typeof i){var o=Math.round(Math.sqrt(.5*Math.pow(i,2)));return{center:new t.Point(0,0),top:new t.Point(0,i),"top-left":new t.Point(o,o),"top-right":new t.Point(-o,o),bottom:new t.Point(0,-i),"bottom-left":new t.Point(o,-o),"bottom-right":new t.Point(-o,-o),left:new t.Point(i,0),right:new t.Point(-i,0)}}if(i instanceof t.Point||Array.isArray(i)){var r=t.Point.convert(i);return{center:r,top:r,"top-left":r,"top-right":r,bottom:r,"bottom-left":r,"bottom-right":r,left:r,right:r}}return{center:t.Point.convert(i.center||[0,0]),top:t.Point.convert(i.top||[0,0]),"top-left":t.Point.convert(i["top-left"]||[0,0]),"top-right":t.Point.convert(i["top-right"]||[0,0]),bottom:t.Point.convert(i.bottom||[0,0]),"bottom-left":t.Point.convert(i["bottom-left"]||[0,0]),"bottom-right":t.Point.convert(i["bottom-right"]||[0,0]),left:t.Point.convert(i.left||[0,0]),right:t.Point.convert(i.right||[0,0])}}return e(new t.Point(0,0))}(this.options.offset);if(!n){var l,c=this._container.offsetWidth,u=this._container.offsetHeight;l=a.y+s.bottom.y<u?["top"]:a.y>this._map.transform.height-u?["bottom"]:[],a.x<c/2?l.push("left"):a.x>this._map.transform.width-c/2&&l.push("right"),n=0===l.length?"bottom":l.join("-");}var h=a.add(s[n]).round();i.setTransform(this._container,jo[n]+" translate("+h.x+"px,"+h.y+"px)"),Go(this._container,n,"popup");}},o.prototype._onClickClose=function(){this.remove();},o}(t.Evented);var or={version:t.version,supported:e,setRTLTextPlugin:t.setRTLTextPlugin,getRTLTextPluginStatus:t.getRTLTextPluginStatus,Map:Uo,NavigationControl:qo,GeolocateControl:Ko,AttributionControl:Ro,ScaleControl:Yo,FullscreenControl:tr,Popup:ir,Marker:Xo,Style:Ue,LngLat:t.LngLat,LngLatBounds:t.LngLatBounds,Point:t.Point,MercatorCoordinate:t.MercatorCoordinate,Evented:t.Evented,config:t.config,get accessToken(){return t.config.ACCESS_TOKEN},set accessToken(e){t.config.ACCESS_TOKEN=e;},get baseApiUrl(){return t.config.API_URL},set baseApiUrl(e){t.config.API_URL=e;},get workerCount(){return At.workerCount},set workerCount(t){At.workerCount=t;},get maxParallelImageRequests(){return t.config.MAX_PARALLEL_IMAGE_REQUESTS},set maxParallelImageRequests(e){t.config.MAX_PARALLEL_IMAGE_REQUESTS=e;},clearStorage:function(e){t.clearTileCache(e);},workerUrl:""};return or}));return mapboxgl;}));
@@ -0,0 +1,49 @@
1
+ (function($){$.fn.navList=function(){var $this=$(this);$a=$this.find('a'),b=[];$a.each(function(){var $this=$(this),indent=Math.max(0,$this.parents('li').length-1),href=$this.attr('href'),target=$this.attr('target');b.push('<a '+
2
+ 'class="link depth-'+indent+'"'+
3
+ ((typeof target!=='undefined'&&target!='')?' target="'+target+'"':'')+
4
+ ((typeof href!=='undefined'&&href!='')?' href="'+href+'"':'')+
5
+ '>'+
6
+ '<span class="indent-'+indent+'"></span>'+
7
+ $this.text()+
8
+ '</a>');});return b.join('');};$.fn.panel=function(userConfig){if(this.length==0)
9
+ return $this;if(this.length>1){for(var i=0;i<this.length;i++)
10
+ $(this[i]).panel(userConfig);return $this;}
11
+ var $this=$(this),$body=$('body'),$window=$(window),id=$this.attr('id'),config;config=$.extend({delay:0,hideOnClick:false,hideOnEscape:false,hideOnSwipe:false,resetScroll:false,resetForms:false,side:null,target:$this,visibleClass:'visible'},userConfig);if(typeof config.target!='jQuery')
12
+ config.target=$(config.target);$this._hide=function(event){if(!config.target.hasClass(config.visibleClass))
13
+ return;if(event){event.preventDefault();event.stopPropagation();}
14
+ config.target.removeClass(config.visibleClass);window.setTimeout(function(){if(config.resetScroll)
15
+ $this.scrollTop(0);if(config.resetForms)
16
+ $this.find('form').each(function(){this.reset();});},config.delay);};$this.css('-ms-overflow-style','-ms-autohiding-scrollbar').css('-webkit-overflow-scrolling','touch');if(config.hideOnClick){$this.find('a').css('-webkit-tap-highlight-color','rgba(0,0,0,0)');$this.on('click','a',function(event){var $a=$(this),href=$a.attr('href'),target=$a.attr('target');if(!href||href=='#'||href==''||href=='#'+id)
17
+ return;event.preventDefault();event.stopPropagation();$this._hide();window.setTimeout(function(){if(target=='_blank')
18
+ window.open(href);else
19
+ window.location.href=href;},config.delay+10);});}
20
+ $this.on('touchstart',function(event){$this.touchPosX=event.originalEvent.touches[0].pageX;$this.touchPosY=event.originalEvent.touches[0].pageY;})
21
+ $this.on('touchmove',function(event){if($this.touchPosX===null||$this.touchPosY===null)
22
+ return;var diffX=$this.touchPosX-event.originalEvent.touches[0].pageX,diffY=$this.touchPosY-event.originalEvent.touches[0].pageY,th=$this.outerHeight(),ts=($this.get(0).scrollHeight-$this.scrollTop());if(config.hideOnSwipe){var result=false,boundary=20,delta=50;switch(config.side){case 'left':result=(diffY<boundary&&diffY>(-1*boundary))&&(diffX>delta);break;case 'right':result=(diffY<boundary&&diffY>(-1*boundary))&&(diffX<(-1*delta));break;case 'top':result=(diffX<boundary&&diffX>(-1*boundary))&&(diffY>delta);break;case 'bottom':result=(diffX<boundary&&diffX>(-1*boundary))&&(diffY<(-1*delta));break;default:break;}
23
+ if(result){$this.touchPosX=null;$this.touchPosY=null;$this._hide();return false;}}
24
+ if(($this.scrollTop()<0&&diffY<0)||(ts>(th-2)&&ts<(th+2)&&diffY>0)){event.preventDefault();event.stopPropagation();}});$this.on('click touchend touchstart touchmove',function(event){event.stopPropagation();});$this.on('click','a[href="#'+id+'"]',function(event){event.preventDefault();event.stopPropagation();config.target.removeClass(config.visibleClass);});$body.on('click touchend',function(event){$this._hide(event);});$body.on('click','a[href="#'+id+'"]',function(event){event.preventDefault();event.stopPropagation();config.target.toggleClass(config.visibleClass);});if(config.hideOnEscape)
25
+ $window.on('keydown',function(event){if(event.keyCode==27)
26
+ $this._hide(event);});return $this;};$.fn.placeholder=function(){if(typeof(document.createElement('input')).placeholder!='undefined')
27
+ return $(this);if(this.length==0)
28
+ return $this;if(this.length>1){for(var i=0;i<this.length;i++)
29
+ $(this[i]).placeholder();return $this;}
30
+ var $this=$(this);$this.find('input[type=text],textarea').each(function(){var i=$(this);if(i.val()==''||i.val()==i.attr('placeholder'))
31
+ i.addClass('polyfill-placeholder').val(i.attr('placeholder'));}).on('blur',function(){var i=$(this);if(i.attr('name').match(/-polyfill-field$/))
32
+ return;if(i.val()=='')
33
+ i.addClass('polyfill-placeholder').val(i.attr('placeholder'));}).on('focus',function(){var i=$(this);if(i.attr('name').match(/-polyfill-field$/))
34
+ return;if(i.val()==i.attr('placeholder'))
35
+ i.removeClass('polyfill-placeholder').val('');});$this.find('input[type=password]').each(function(){var i=$(this);var x=$($('<div>').append(i.clone()).remove().html().replace(/type="password"/i,'type="text"').replace(/type=password/i,'type=text'));if(i.attr('id')!='')
36
+ x.attr('id',i.attr('id')+'-polyfill-field');if(i.attr('name')!='')
37
+ x.attr('name',i.attr('name')+'-polyfill-field');x.addClass('polyfill-placeholder').val(x.attr('placeholder')).insertAfter(i);if(i.val()=='')
38
+ i.hide();else
39
+ x.hide();i.on('blur',function(event){event.preventDefault();var x=i.parent().find('input[name='+i.attr('name')+'-polyfill-field]');if(i.val()==''){i.hide();x.show();}});x.on('focus',function(event){event.preventDefault();var i=x.parent().find('input[name='+x.attr('name').replace('-polyfill-field','')+']');x.hide();i.show().focus();}).on('keypress',function(event){event.preventDefault();x.val('');});});$this.on('submit',function(){$this.find('input[type=text],input[type=password],textarea').each(function(event){var i=$(this);if(i.attr('name').match(/-polyfill-field$/))
40
+ i.attr('name','');if(i.val()==i.attr('placeholder')){i.removeClass('polyfill-placeholder');i.val('');}});}).on('reset',function(event){event.preventDefault();$this.find('select').val($('option:first').val());$this.find('input,textarea').each(function(){var i=$(this),x;i.removeClass('polyfill-placeholder');switch(this.type){case 'submit':case 'reset':break;case 'password':i.val(i.attr('defaultValue'));x=i.parent().find('input[name='+i.attr('name')+'-polyfill-field]');if(i.val()==''){i.hide();x.show();}
41
+ else{i.show();x.hide();}
42
+ break;case 'checkbox':case 'radio':i.attr('checked',i.attr('defaultValue'));break;case 'text':case 'textarea':i.val(i.attr('defaultValue'));if(i.val()==''){i.addClass('polyfill-placeholder');i.val(i.attr('placeholder'));}
43
+ break;default:i.val(i.attr('defaultValue'));break;}});});return $this;};$.prioritize=function($elements,condition){var key='__prioritize';if(typeof $elements!='jQuery')
44
+ $elements=$($elements);$elements.each(function(){var $e=$(this),$p,$parent=$e.parent();if($parent.length==0)
45
+ return;if(!$e.data(key)){if(!condition)
46
+ return;$p=$e.prev();if($p.length==0)
47
+ return;$e.prependTo($parent);$e.data(key,$p);}
48
+ else{if(condition)
49
+ return;$p=$e.data(key);$e.insertAfter($p);$e.removeData(key);}});};})(jQuery);
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-consulting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
- - David Mougeolle
7
+ - Moodule
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-21 00:00:00.000000000 Z
11
+ date: 2020-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -68,7 +68,7 @@ dependencies:
68
68
  version: '12.0'
69
69
  description:
70
70
  email:
71
- - david.mougeolle@moodule.net
71
+ - moodule@protonmail.com
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
@@ -92,6 +92,8 @@ files:
92
92
  - _includes/social.html
93
93
  - _includes/thread.html
94
94
  - _includes/toggle.html
95
+ - _includes/waves/bottom.html
96
+ - _includes/waves/top.html
95
97
  - _layouts/default.html
96
98
  - _layouts/home.html
97
99
  - _layouts/index.html
@@ -223,12 +225,14 @@ files:
223
225
  - _sass/small/layout/_sidebar.scss
224
226
  - _sass/small/layout/_wrapper.scss
225
227
  - assets/css/cookieconsent.css
228
+ - assets/css/cookieconsent.min.css
226
229
  - assets/css/fontawesome-all.min.css
227
230
  - assets/css/images/cie.svg
228
231
  - assets/css/images/cnefic.svg
229
232
  - assets/css/images/eisti.svg
230
233
  - assets/css/images/ensem.svg
231
234
  - assets/css/images/ieam.svg
235
+ - assets/css/images/ifag.svg
232
236
  - assets/css/images/ifg.svg
233
237
  - assets/css/images/marine.svg
234
238
  - assets/css/images/ub.svg
@@ -236,6 +240,7 @@ files:
236
240
  - assets/css/large.scss
237
241
  - assets/css/main.scss
238
242
  - assets/css/mapbox-gl.css
243
+ - assets/css/mapbox-gl.min.css
239
244
  - assets/css/medium.scss
240
245
  - assets/css/small.scss
241
246
  - assets/js/breakpoints.min.js
@@ -245,10 +250,14 @@ files:
245
250
  - assets/js/jquery.min.js
246
251
  - assets/js/jquery.scrolly.min.js
247
252
  - assets/js/lazy-loading.js
253
+ - assets/js/lazy-loading.min.js
248
254
  - assets/js/main.js
255
+ - assets/js/main.min.js
249
256
  - assets/js/mapbox-gl.js
257
+ - assets/js/mapbox-gl.min.js
250
258
  - assets/js/simple-jekyll-search.min.js
251
259
  - assets/js/util.js
260
+ - assets/js/util.min.js
252
261
  - assets/webfonts/fa-brands-400.eot
253
262
  - assets/webfonts/fa-brands-400.svg
254
263
  - assets/webfonts/fa-brands-400.ttf
@@ -266,7 +275,7 @@ files:
266
275
  - assets/webfonts/fa-solid-900.woff2
267
276
  homepage: https://github.com/moodule/jekyll-theme-consulting
268
277
  licenses:
269
- - CC-BY-4.0
278
+ - CC-BY-NC-SA-4.0
270
279
  metadata: {}
271
280
  post_install_message:
272
281
  rdoc_options: []