@performant-software/geospatial 3.0.6-beta.1 → 3.0.6-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/dist/index.cjs101.js +1 -1
  2. package/dist/index.cjs102.js +1 -1
  3. package/dist/index.cjs104.js +1 -1
  4. package/dist/index.cjs105.js +1 -1
  5. package/dist/index.cjs106.js +1 -1
  6. package/dist/index.cjs107.js +1 -1
  7. package/dist/index.cjs112.js +1 -1
  8. package/dist/index.cjs113.js +1 -1
  9. package/dist/index.cjs114.js +1 -1
  10. package/dist/index.cjs115.js +1 -1
  11. package/dist/index.cjs118.js +1 -1
  12. package/dist/index.cjs119.js +1 -1
  13. package/dist/index.cjs120.js +1 -1
  14. package/dist/index.cjs124.js +1 -1
  15. package/dist/index.cjs127.js +1 -1
  16. package/dist/index.cjs131.js +1 -1
  17. package/dist/index.cjs134.js +1 -1
  18. package/dist/index.cjs142.js +1 -1
  19. package/dist/index.cjs143.js +1 -1
  20. package/dist/index.cjs144.js +1 -1
  21. package/dist/index.cjs145.js +1 -1
  22. package/dist/index.cjs146.js +1 -1
  23. package/dist/index.cjs147.js +1 -1
  24. package/dist/index.cjs148.js +1 -1
  25. package/dist/index.cjs15.js +1 -1
  26. package/dist/index.cjs150.js +1 -1
  27. package/dist/index.cjs151.js +1 -1
  28. package/dist/index.cjs152.js +1 -1
  29. package/dist/index.cjs153.js +1 -1
  30. package/dist/index.cjs154.js +1 -1
  31. package/dist/index.cjs155.js +1 -1
  32. package/dist/index.cjs156.js +1 -1
  33. package/dist/index.cjs157.js +1 -1
  34. package/dist/index.cjs158.js +1 -1
  35. package/dist/index.cjs161.js +1 -1
  36. package/dist/index.cjs162.js +1 -1
  37. package/dist/index.cjs164.js +1 -1
  38. package/dist/index.cjs165.js +1 -1
  39. package/dist/index.cjs166.js +1 -1
  40. package/dist/index.cjs167.js +1 -1
  41. package/dist/index.cjs168.js +1 -1
  42. package/dist/index.cjs169.js +1 -1
  43. package/dist/index.cjs17.js +1 -1
  44. package/dist/index.cjs170.js +1 -1
  45. package/dist/index.cjs171.js +1 -1
  46. package/dist/index.cjs177.js +1 -1
  47. package/dist/index.cjs178.js +1 -1
  48. package/dist/index.cjs179.js +1 -1
  49. package/dist/index.cjs180.js +1 -1
  50. package/dist/index.cjs181.js +1 -1
  51. package/dist/index.cjs184.js +1 -1
  52. package/dist/index.cjs184.js.map +1 -1
  53. package/dist/index.cjs185.js +1 -1
  54. package/dist/index.cjs185.js.map +1 -1
  55. package/dist/index.cjs186.js +4 -1
  56. package/dist/index.cjs186.js.map +1 -1
  57. package/dist/index.cjs187.js +1 -1
  58. package/dist/index.cjs187.js.map +1 -1
  59. package/dist/index.cjs188.js +1 -1
  60. package/dist/index.cjs188.js.map +1 -1
  61. package/dist/index.cjs189.js +1 -1
  62. package/dist/index.cjs189.js.map +1 -1
  63. package/dist/index.cjs19.js +1 -1
  64. package/dist/index.cjs190.js +1 -1
  65. package/dist/index.cjs190.js.map +1 -1
  66. package/dist/index.cjs191.js +1 -1
  67. package/dist/index.cjs191.js.map +1 -1
  68. package/dist/index.cjs192.js +1 -1
  69. package/dist/index.cjs192.js.map +1 -1
  70. package/dist/index.cjs193.js +1 -4
  71. package/dist/index.cjs193.js.map +1 -1
  72. package/dist/index.cjs194.js +1 -1
  73. package/dist/index.cjs194.js.map +1 -1
  74. package/dist/index.cjs195.js +1 -1
  75. package/dist/index.cjs195.js.map +1 -1
  76. package/dist/index.cjs196.js +1 -1
  77. package/dist/index.cjs196.js.map +1 -1
  78. package/dist/index.cjs197.js +1 -1
  79. package/dist/index.cjs197.js.map +1 -1
  80. package/dist/index.cjs198.js +1 -1
  81. package/dist/index.cjs198.js.map +1 -1
  82. package/dist/index.cjs199.js +1 -1
  83. package/dist/index.cjs199.js.map +1 -1
  84. package/dist/index.cjs200.js +1 -1
  85. package/dist/index.cjs200.js.map +1 -1
  86. package/dist/index.cjs201.js +1 -1
  87. package/dist/index.cjs201.js.map +1 -1
  88. package/dist/index.cjs202.js +1 -1
  89. package/dist/index.cjs202.js.map +1 -1
  90. package/dist/index.cjs203.js +1 -1
  91. package/dist/index.cjs203.js.map +1 -1
  92. package/dist/index.cjs204.js +1 -1
  93. package/dist/index.cjs204.js.map +1 -1
  94. package/dist/index.cjs205.js +1 -1
  95. package/dist/index.cjs205.js.map +1 -1
  96. package/dist/index.cjs207.js +1 -1
  97. package/dist/index.cjs207.js.map +1 -1
  98. package/dist/index.cjs208.js +1 -1
  99. package/dist/index.cjs208.js.map +1 -1
  100. package/dist/index.cjs209.js +1 -1
  101. package/dist/index.cjs209.js.map +1 -1
  102. package/dist/index.cjs21.js +1 -1
  103. package/dist/index.cjs210.js +1 -1
  104. package/dist/index.cjs210.js.map +1 -1
  105. package/dist/index.cjs211.js +1 -1
  106. package/dist/index.cjs211.js.map +1 -1
  107. package/dist/index.cjs212.js +1 -1
  108. package/dist/index.cjs212.js.map +1 -1
  109. package/dist/index.cjs213.js +1 -1
  110. package/dist/index.cjs213.js.map +1 -1
  111. package/dist/index.cjs214.js +1 -1
  112. package/dist/index.cjs214.js.map +1 -1
  113. package/dist/index.cjs215.js +1 -1
  114. package/dist/index.cjs215.js.map +1 -1
  115. package/dist/index.cjs216.js +1 -1
  116. package/dist/index.cjs216.js.map +1 -1
  117. package/dist/index.cjs217.js +1 -1
  118. package/dist/index.cjs217.js.map +1 -1
  119. package/dist/index.cjs218.js +1 -1
  120. package/dist/index.cjs218.js.map +1 -1
  121. package/dist/index.cjs219.js +1 -1
  122. package/dist/index.cjs219.js.map +1 -1
  123. package/dist/index.cjs22.js +1 -1
  124. package/dist/index.cjs220.js +1 -1
  125. package/dist/index.cjs220.js.map +1 -1
  126. package/dist/index.cjs221.js +1 -1
  127. package/dist/index.cjs221.js.map +1 -1
  128. package/dist/index.cjs222.js +1 -1
  129. package/dist/index.cjs222.js.map +1 -1
  130. package/dist/index.cjs223.js +1 -1
  131. package/dist/index.cjs223.js.map +1 -1
  132. package/dist/index.cjs224.js +1 -1
  133. package/dist/index.cjs224.js.map +1 -1
  134. package/dist/index.cjs225.js +1 -1
  135. package/dist/index.cjs225.js.map +1 -1
  136. package/dist/index.cjs226.js +1 -1
  137. package/dist/index.cjs226.js.map +1 -1
  138. package/dist/index.cjs227.js +1 -1
  139. package/dist/index.cjs227.js.map +1 -1
  140. package/dist/index.cjs228.js +1 -1
  141. package/dist/index.cjs228.js.map +1 -1
  142. package/dist/index.cjs229.js +1 -1
  143. package/dist/index.cjs229.js.map +1 -1
  144. package/dist/index.cjs230.js +1 -1
  145. package/dist/index.cjs230.js.map +1 -1
  146. package/dist/index.cjs231.js +1 -1
  147. package/dist/index.cjs231.js.map +1 -1
  148. package/dist/index.cjs232.js +1 -1
  149. package/dist/index.cjs232.js.map +1 -1
  150. package/dist/index.cjs233.js +1 -1
  151. package/dist/index.cjs233.js.map +1 -1
  152. package/dist/index.cjs234.js +1 -1
  153. package/dist/index.cjs234.js.map +1 -1
  154. package/dist/index.cjs235.js +1 -1
  155. package/dist/index.cjs235.js.map +1 -1
  156. package/dist/index.cjs236.js +1 -1
  157. package/dist/index.cjs236.js.map +1 -1
  158. package/dist/index.cjs237.js +1 -1
  159. package/dist/index.cjs237.js.map +1 -1
  160. package/dist/index.cjs238.js +1 -1
  161. package/dist/index.cjs238.js.map +1 -1
  162. package/dist/index.cjs240.js +1 -1
  163. package/dist/index.cjs243.js +1 -1
  164. package/dist/index.cjs246.js +1 -1
  165. package/dist/index.cjs249.js +1 -1
  166. package/dist/index.cjs25.js +1 -1
  167. package/dist/index.cjs251.js +1 -1
  168. package/dist/index.cjs254.js +1 -1
  169. package/dist/index.cjs255.js +1 -1
  170. package/dist/index.cjs258.js +1 -1
  171. package/dist/index.cjs258.js.map +1 -1
  172. package/dist/index.cjs259.js +1 -1
  173. package/dist/index.cjs259.js.map +1 -1
  174. package/dist/index.cjs26.js +1 -1
  175. package/dist/index.cjs260.js +1 -1
  176. package/dist/index.cjs27.js +1 -1
  177. package/dist/index.cjs29.js +1 -1
  178. package/dist/index.cjs30.js +1 -1
  179. package/dist/index.cjs31.js +1 -1
  180. package/dist/index.cjs33.js +1 -1
  181. package/dist/index.cjs34.js +1 -1
  182. package/dist/index.cjs35.js +1 -1
  183. package/dist/index.cjs37.js +1 -1
  184. package/dist/index.cjs38.js +1 -1
  185. package/dist/index.cjs39.js +1 -1
  186. package/dist/index.cjs43.js +1 -1
  187. package/dist/index.cjs44.js +1 -1
  188. package/dist/index.cjs45.js +1 -1
  189. package/dist/index.cjs47.js +1 -1
  190. package/dist/index.cjs48.js +1 -1
  191. package/dist/index.cjs5.js +1 -1
  192. package/dist/index.cjs5.js.map +1 -1
  193. package/dist/index.cjs50.js +1 -1
  194. package/dist/index.cjs57.js +1 -1
  195. package/dist/index.cjs59.js +1 -1
  196. package/dist/index.cjs63.js +9 -1
  197. package/dist/index.cjs63.js.map +1 -1
  198. package/dist/index.cjs64.js +13 -3
  199. package/dist/index.cjs64.js.map +1 -1
  200. package/dist/index.cjs65.js +1 -19
  201. package/dist/index.cjs65.js.map +1 -1
  202. package/dist/index.cjs66.js +1 -1
  203. package/dist/index.cjs67.js +1 -1
  204. package/dist/index.cjs68.js +1 -1
  205. package/dist/index.cjs69.js +1 -1
  206. package/dist/index.cjs70.js +1 -1
  207. package/dist/index.cjs71.js +1 -1
  208. package/dist/index.cjs72.js +1 -1
  209. package/dist/index.cjs73.js +1 -1
  210. package/dist/index.cjs75.js +1 -1
  211. package/dist/index.cjs75.js.map +1 -1
  212. package/dist/index.cjs76.js +1 -1
  213. package/dist/index.cjs76.js.map +1 -1
  214. package/dist/index.cjs77.js +1 -1
  215. package/dist/index.cjs77.js.map +1 -1
  216. package/dist/index.cjs78.js +1 -1
  217. package/dist/index.cjs78.js.map +1 -1
  218. package/dist/index.cjs79.js +1 -1
  219. package/dist/index.cjs79.js.map +1 -1
  220. package/dist/index.cjs83.js +1 -1
  221. package/dist/index.cjs90.js +1 -1
  222. package/dist/index.cjs91.js +1 -1
  223. package/dist/index.cjs92.js +1 -1
  224. package/dist/index.cjs93.js +1 -1
  225. package/dist/index.cjs94.js +1 -1
  226. package/dist/index.cjs95.js +1 -1
  227. package/dist/index.cjs96.js +1 -1
  228. package/dist/index.cjs97.js +1 -1
  229. package/dist/index.cjs98.js +1 -1
  230. package/dist/index.es101.js +1 -1
  231. package/dist/index.es102.js +1 -1
  232. package/dist/index.es104.js +3 -3
  233. package/dist/index.es105.js +1 -1
  234. package/dist/index.es106.js +2 -2
  235. package/dist/index.es107.js +1 -1
  236. package/dist/index.es112.js +1 -1
  237. package/dist/index.es113.js +1 -1
  238. package/dist/index.es114.js +1 -1
  239. package/dist/index.es115.js +1 -1
  240. package/dist/index.es118.js +2 -2
  241. package/dist/index.es119.js +2 -2
  242. package/dist/index.es120.js +1 -1
  243. package/dist/index.es124.js +2 -2
  244. package/dist/index.es127.js +1 -1
  245. package/dist/index.es131.js +1 -1
  246. package/dist/index.es134.js +1 -1
  247. package/dist/index.es142.js +1 -1
  248. package/dist/index.es143.js +1 -1
  249. package/dist/index.es144.js +1 -1
  250. package/dist/index.es145.js +2 -2
  251. package/dist/index.es146.js +1 -1
  252. package/dist/index.es147.js +1 -1
  253. package/dist/index.es148.js +1 -1
  254. package/dist/index.es15.js +3 -3
  255. package/dist/index.es150.js +2 -2
  256. package/dist/index.es151.js +2 -2
  257. package/dist/index.es152.js +1 -1
  258. package/dist/index.es153.js +1 -1
  259. package/dist/index.es154.js +1 -1
  260. package/dist/index.es155.js +1 -1
  261. package/dist/index.es156.js +2 -2
  262. package/dist/index.es157.js +2 -2
  263. package/dist/index.es158.js +1 -1
  264. package/dist/index.es161.js +2 -2
  265. package/dist/index.es162.js +2 -2
  266. package/dist/index.es164.js +2 -2
  267. package/dist/index.es165.js +1 -1
  268. package/dist/index.es166.js +2 -2
  269. package/dist/index.es167.js +1 -1
  270. package/dist/index.es168.js +2 -2
  271. package/dist/index.es169.js +1 -1
  272. package/dist/index.es17.js +3 -3
  273. package/dist/index.es170.js +1 -1
  274. package/dist/index.es171.js +1 -1
  275. package/dist/index.es177.js +1 -1
  276. package/dist/index.es178.js +2 -2
  277. package/dist/index.es179.js +1 -1
  278. package/dist/index.es180.js +1 -1
  279. package/dist/index.es181.js +1 -1
  280. package/dist/index.es184.js +7 -320
  281. package/dist/index.es184.js.map +1 -1
  282. package/dist/index.es185.js +144 -71
  283. package/dist/index.es185.js.map +1 -1
  284. package/dist/index.es186.js +12197 -3
  285. package/dist/index.es186.js.map +1 -1
  286. package/dist/index.es187.js +3 -18
  287. package/dist/index.es187.js.map +1 -1
  288. package/dist/index.es188.js +3 -13
  289. package/dist/index.es188.js.map +1 -1
  290. package/dist/index.es189.js +33 -28
  291. package/dist/index.es189.js.map +1 -1
  292. package/dist/index.es19.js +1 -1
  293. package/dist/index.es190.js +3 -7
  294. package/dist/index.es190.js.map +1 -1
  295. package/dist/index.es191.js +22 -7
  296. package/dist/index.es191.js.map +1 -1
  297. package/dist/index.es192.js +2 -150
  298. package/dist/index.es192.js.map +1 -1
  299. package/dist/index.es193.js +3 -12199
  300. package/dist/index.es193.js.map +1 -1
  301. package/dist/index.es194.js +0 -1
  302. package/dist/index.es194.js.map +1 -1
  303. package/dist/index.es195.js +34 -3
  304. package/dist/index.es195.js.map +1 -1
  305. package/dist/index.es196.js +13 -36
  306. package/dist/index.es196.js.map +1 -1
  307. package/dist/index.es197.js +16 -3
  308. package/dist/index.es197.js.map +1 -1
  309. package/dist/index.es198.js +8 -22
  310. package/dist/index.es198.js.map +1 -1
  311. package/dist/index.es199.js +323 -2
  312. package/dist/index.es199.js.map +1 -1
  313. package/dist/index.es200.js +77 -3
  314. package/dist/index.es200.js.map +1 -1
  315. package/dist/index.es201.js +5 -2
  316. package/dist/index.es201.js.map +1 -1
  317. package/dist/index.es202.js +15 -31
  318. package/dist/index.es202.js.map +1 -1
  319. package/dist/index.es203.js +11 -13
  320. package/dist/index.es203.js.map +1 -1
  321. package/dist/index.es204.js +30 -13
  322. package/dist/index.es204.js.map +1 -1
  323. package/dist/index.es205.js +4 -8
  324. package/dist/index.es205.js.map +1 -1
  325. package/dist/index.es207.js +6 -44
  326. package/dist/index.es207.js.map +1 -1
  327. package/dist/index.es208.js +4 -22
  328. package/dist/index.es208.js.map +1 -1
  329. package/dist/index.es209.js +4 -8
  330. package/dist/index.es209.js.map +1 -1
  331. package/dist/index.es21.js +2 -2
  332. package/dist/index.es210.js +3 -5
  333. package/dist/index.es210.js.map +1 -1
  334. package/dist/index.es211.js +3 -4
  335. package/dist/index.es211.js.map +1 -1
  336. package/dist/index.es212.js +9 -3
  337. package/dist/index.es212.js.map +1 -1
  338. package/dist/index.es213.js +22 -3
  339. package/dist/index.es213.js.map +1 -1
  340. package/dist/index.es214.js +21 -8
  341. package/dist/index.es214.js.map +1 -1
  342. package/dist/index.es215.js +11 -19
  343. package/dist/index.es215.js.map +1 -1
  344. package/dist/index.es216.js +14 -19
  345. package/dist/index.es216.js.map +1 -1
  346. package/dist/index.es217.js +5 -13
  347. package/dist/index.es217.js.map +1 -1
  348. package/dist/index.es218.js +8 -16
  349. package/dist/index.es218.js.map +1 -1
  350. package/dist/index.es219.js +6 -5
  351. package/dist/index.es219.js.map +1 -1
  352. package/dist/index.es22.js +2 -2
  353. package/dist/index.es220.js +20 -7
  354. package/dist/index.es220.js.map +1 -1
  355. package/dist/index.es221.js +8 -5
  356. package/dist/index.es221.js.map +1 -1
  357. package/dist/index.es222.js +9 -22
  358. package/dist/index.es222.js.map +1 -1
  359. package/dist/index.es223.js +4 -10
  360. package/dist/index.es223.js.map +1 -1
  361. package/dist/index.es224.js +11 -9
  362. package/dist/index.es224.js.map +1 -1
  363. package/dist/index.es225.js +9 -4
  364. package/dist/index.es225.js.map +1 -1
  365. package/dist/index.es226.js +21 -9
  366. package/dist/index.es226.js.map +1 -1
  367. package/dist/index.es227.js +11 -8
  368. package/dist/index.es227.js.map +1 -1
  369. package/dist/index.es228.js +18 -22
  370. package/dist/index.es228.js.map +1 -1
  371. package/dist/index.es229.js +4 -12
  372. package/dist/index.es229.js.map +1 -1
  373. package/dist/index.es230.js +16 -17
  374. package/dist/index.es230.js.map +1 -1
  375. package/dist/index.es231.js +12 -4
  376. package/dist/index.es231.js.map +1 -1
  377. package/dist/index.es232.js +3 -17
  378. package/dist/index.es232.js.map +1 -1
  379. package/dist/index.es233.js +4 -11
  380. package/dist/index.es233.js.map +1 -1
  381. package/dist/index.es234.js +45 -3
  382. package/dist/index.es234.js.map +1 -1
  383. package/dist/index.es235.js +22 -4
  384. package/dist/index.es235.js.map +1 -1
  385. package/dist/index.es236.js +3 -6
  386. package/dist/index.es236.js.map +1 -1
  387. package/dist/index.es237.js +8 -3
  388. package/dist/index.es237.js.map +1 -1
  389. package/dist/index.es238.js +4 -6
  390. package/dist/index.es238.js.map +1 -1
  391. package/dist/index.es240.js +1 -1
  392. package/dist/index.es243.js +1 -1
  393. package/dist/index.es246.js +1 -1
  394. package/dist/index.es249.js +2 -2
  395. package/dist/index.es25.js +1 -1
  396. package/dist/index.es251.js +1 -1
  397. package/dist/index.es254.js +1 -1
  398. package/dist/index.es255.js +1 -1
  399. package/dist/index.es258.js +15 -4
  400. package/dist/index.es258.js.map +1 -1
  401. package/dist/index.es259.js +4 -15
  402. package/dist/index.es259.js.map +1 -1
  403. package/dist/index.es26.js +1 -1
  404. package/dist/index.es260.js +2 -2
  405. package/dist/index.es27.js +2 -2
  406. package/dist/index.es29.js +2 -2
  407. package/dist/index.es30.js +2 -2
  408. package/dist/index.es31.js +2 -2
  409. package/dist/index.es33.js +1 -1
  410. package/dist/index.es34.js +2 -2
  411. package/dist/index.es35.js +2 -2
  412. package/dist/index.es37.js +1 -1
  413. package/dist/index.es38.js +1 -1
  414. package/dist/index.es39.js +1 -1
  415. package/dist/index.es43.js +2 -2
  416. package/dist/index.es44.js +3 -3
  417. package/dist/index.es45.js +1 -1
  418. package/dist/index.es47.js +1 -1
  419. package/dist/index.es48.js +1 -1
  420. package/dist/index.es5.js +7 -6
  421. package/dist/index.es5.js.map +1 -1
  422. package/dist/index.es50.js +1 -1
  423. package/dist/index.es57.js +1 -1
  424. package/dist/index.es59.js +11 -11
  425. package/dist/index.es63.js +30 -2
  426. package/dist/index.es63.js.map +1 -1
  427. package/dist/index.es64.js +593 -21
  428. package/dist/index.es64.js.map +1 -1
  429. package/dist/index.es65.js +2 -602
  430. package/dist/index.es65.js.map +1 -1
  431. package/dist/index.es66.js +4 -4
  432. package/dist/index.es67.js +2 -2
  433. package/dist/index.es68.js +2 -2
  434. package/dist/index.es69.js +1 -1
  435. package/dist/index.es70.js +1 -1
  436. package/dist/index.es71.js +1 -1
  437. package/dist/index.es72.js +1 -1
  438. package/dist/index.es73.js +1 -1
  439. package/dist/index.es75.js +25 -104
  440. package/dist/index.es75.js.map +1 -1
  441. package/dist/index.es76.js +51 -10
  442. package/dist/index.es76.js.map +1 -1
  443. package/dist/index.es77.js +62 -25
  444. package/dist/index.es77.js.map +1 -1
  445. package/dist/index.es78.js +101 -45
  446. package/dist/index.es78.js.map +1 -1
  447. package/dist/index.es79.js +10 -65
  448. package/dist/index.es79.js.map +1 -1
  449. package/dist/index.es83.js +1 -1
  450. package/dist/index.es90.js +1 -1
  451. package/dist/index.es91.js +1 -1
  452. package/dist/index.es92.js +1 -1
  453. package/dist/index.es93.js +1 -1
  454. package/dist/index.es94.js +1 -1
  455. package/dist/index.es95.js +1 -1
  456. package/dist/index.es96.js +1 -1
  457. package/dist/index.es97.js +1 -1
  458. package/dist/index.es98.js +1 -1
  459. package/package.json +1 -1
  460. package/src/components/LayerMenu.js +2 -1
  461. package/types/components/LayerMenu.js.flow +2 -1
@@ -1,4 +1,3 @@
1
1
  import r from "./index.es239.js";
2
2
  r();
3
- r();
4
3
  //# sourceMappingURL=index.es194.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es194.js","sources":["../../../node_modules/d3-geo/src/area.js"],"sourcesContent":["import adder from \"./adder\";\nimport {atan2, cos, quarterPi, radians, sin, tau} from \"./math\";\nimport noop from \"./noop\";\nimport stream from \"./stream\";\n\nexport var areaRingSum = adder();\n\nvar areaSum = adder(),\n lambda00,\n phi00,\n lambda0,\n cosPhi0,\n sinPhi0;\n\nexport var areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaRingSum.reset();\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n var areaRing = +areaRingSum;\n areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);\n this.lineStart = this.lineEnd = this.point = noop;\n },\n sphere: function() {\n areaSum.add(tau);\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaRingEnd() {\n areaPoint(lambda00, phi00);\n}\n\nfunction areaPointFirst(lambda, phi) {\n areaStream.point = areaPoint;\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);\n}\n\nfunction areaPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n phi = phi / 2 + quarterPi; // half the angular distance from south pole\n\n // Spherical excess E for a spherical triangle with vertices: south pole,\n // previous point, current point. Uses a formula derived from Cagnoli’s\n // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n var dLambda = lambda - lambda0,\n sdLambda = dLambda >= 0 ? 1 : -1,\n adLambda = sdLambda * dLambda,\n cosPhi = cos(phi),\n sinPhi = sin(phi),\n k = sinPhi0 * sinPhi,\n u = cosPhi0 * cosPhi + k * cos(adLambda),\n v = k * sdLambda * sin(adLambda);\n areaRingSum.add(atan2(v, u));\n\n // Advance the previous points.\n lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n}\n\nexport default function(object) {\n areaSum.reset();\n stream(object, areaStream);\n return areaSum * 2;\n}\n"],"names":["adder"],"mappings":";AAKyBA,EAAM;AAEjBA,EAAM;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es194.js","sources":["../../../node_modules/d3-geo/src/path/measure.js"],"sourcesContent":["import adder from \"../adder\";\nimport {sqrt} from \"../math\";\nimport noop from \"../noop\";\n\nvar lengthSum = adder(),\n lengthRing,\n x00,\n y00,\n x0,\n y0;\n\nvar lengthStream = {\n point: noop,\n lineStart: function() {\n lengthStream.point = lengthPointFirst;\n },\n lineEnd: function() {\n if (lengthRing) lengthPoint(x00, y00);\n lengthStream.point = noop;\n },\n polygonStart: function() {\n lengthRing = true;\n },\n polygonEnd: function() {\n lengthRing = null;\n },\n result: function() {\n var length = +lengthSum;\n lengthSum.reset();\n return length;\n }\n};\n\nfunction lengthPointFirst(x, y) {\n lengthStream.point = lengthPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction lengthPoint(x, y) {\n x0 -= x, y0 -= y;\n lengthSum.add(sqrt(x0 * x0 + y0 * y0));\n x0 = x, y0 = y;\n}\n\nexport default lengthStream;\n"],"names":["adder"],"mappings":";AAIgBA,EAAM;","x_google_ignoreList":[0]}
@@ -1,4 +1,35 @@
1
- import r from "./index.es239.js";
2
- import "./index.es194.js";
3
- r();
1
+ function e(t) {
2
+ return function(n) {
3
+ var r = new o();
4
+ for (var i in t)
5
+ r[i] = t[i];
6
+ return r.stream = n, r;
7
+ };
8
+ }
9
+ function o() {
10
+ }
11
+ o.prototype = {
12
+ constructor: o,
13
+ point: function(t, n) {
14
+ this.stream.point(t, n);
15
+ },
16
+ sphere: function() {
17
+ this.stream.sphere();
18
+ },
19
+ lineStart: function() {
20
+ this.stream.lineStart();
21
+ },
22
+ lineEnd: function() {
23
+ this.stream.lineEnd();
24
+ },
25
+ polygonStart: function() {
26
+ this.stream.polygonStart();
27
+ },
28
+ polygonEnd: function() {
29
+ this.stream.polygonEnd();
30
+ }
31
+ };
32
+ export {
33
+ e as transformer
34
+ };
4
35
  //# sourceMappingURL=index.es195.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es195.js","sources":["../../../node_modules/d3-geo/src/bounds.js"],"sourcesContent":["import adder from \"./adder\";\nimport {areaStream, areaRingSum} from \"./area\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace, spherical} from \"./cartesian\";\nimport {abs, degrees, epsilon, radians} from \"./math\";\nimport stream from \"./stream\";\n\nvar lambda0, phi0, lambda1, phi1, // bounds\n lambda2, // previous lambda-coordinate\n lambda00, phi00, // first point\n p0, // previous 3D point\n deltaSum = adder(),\n ranges,\n range;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: boundsLineStart,\n lineEnd: boundsLineEnd,\n polygonStart: function() {\n boundsStream.point = boundsRingPoint;\n boundsStream.lineStart = boundsRingStart;\n boundsStream.lineEnd = boundsRingEnd;\n deltaSum.reset();\n areaStream.polygonStart();\n },\n polygonEnd: function() {\n areaStream.polygonEnd();\n boundsStream.point = boundsPoint;\n boundsStream.lineStart = boundsLineStart;\n boundsStream.lineEnd = boundsLineEnd;\n if (areaRingSum < 0) lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n else if (deltaSum > epsilon) phi1 = 90;\n else if (deltaSum < -epsilon) phi0 = -90;\n range[0] = lambda0, range[1] = lambda1;\n }\n};\n\nfunction boundsPoint(lambda, phi) {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n}\n\nfunction linePoint(lambda, phi) {\n var p = cartesian([lambda * radians, phi * radians]);\n if (p0) {\n var normal = cartesianCross(p0, p),\n equatorial = [normal[1], -normal[0], 0],\n inflection = cartesianCross(equatorial, normal);\n cartesianNormalizeInPlace(inflection);\n inflection = spherical(inflection);\n var delta = lambda - lambda2,\n sign = delta > 0 ? 1 : -1,\n lambdai = inflection[0] * degrees * sign,\n phii,\n antimeridian = abs(delta) > 180;\n if (antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = inflection[1] * degrees;\n if (phii > phi1) phi1 = phii;\n } else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = -inflection[1] * degrees;\n if (phii < phi0) phi0 = phii;\n } else {\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n }\n if (antimeridian) {\n if (lambda < lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n } else {\n if (lambda1 >= lambda0) {\n if (lambda < lambda0) lambda0 = lambda;\n if (lambda > lambda1) lambda1 = lambda;\n } else {\n if (lambda > lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n }\n }\n } else {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n }\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n p0 = p, lambda2 = lambda;\n}\n\nfunction boundsLineStart() {\n boundsStream.point = linePoint;\n}\n\nfunction boundsLineEnd() {\n range[0] = lambda0, range[1] = lambda1;\n boundsStream.point = boundsPoint;\n p0 = null;\n}\n\nfunction boundsRingPoint(lambda, phi) {\n if (p0) {\n var delta = lambda - lambda2;\n deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n } else {\n lambda00 = lambda, phi00 = phi;\n }\n areaStream.point(lambda, phi);\n linePoint(lambda, phi);\n}\n\nfunction boundsRingStart() {\n areaStream.lineStart();\n}\n\nfunction boundsRingEnd() {\n boundsRingPoint(lambda00, phi00);\n areaStream.lineEnd();\n if (abs(deltaSum) > epsilon) lambda0 = -(lambda1 = 180);\n range[0] = lambda0, range[1] = lambda1;\n p0 = null;\n}\n\n// Finds the left-right distance between two longitudes.\n// This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n// the distance between ±180° to be 360°.\nfunction angle(lambda0, lambda1) {\n return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n}\n\nfunction rangeCompare(a, b) {\n return a[0] - b[0];\n}\n\nfunction rangeContains(range, x) {\n return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;\n}\n\nexport default function(feature) {\n var i, n, a, b, merged, deltaMax, delta;\n\n phi1 = lambda1 = -(lambda0 = phi0 = Infinity);\n ranges = [];\n stream(feature, boundsStream);\n\n // First, sort ranges by their minimum longitudes.\n if (n = ranges.length) {\n ranges.sort(rangeCompare);\n\n // Then, merge any ranges that overlap.\n for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n b = ranges[i];\n if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1];\n if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0];\n } else {\n merged.push(a = b);\n }\n }\n\n // Finally, find the largest gap between the merged ranges.\n // The final bounding box will be the inverse of this gap.\n for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n b = merged[i];\n if ((delta = angle(a[1], b[0])) > deltaMax) deltaMax = delta, lambda0 = b[0], lambda1 = a[1];\n }\n }\n\n ranges = range = null;\n\n return lambda0 === Infinity || phi0 === Infinity\n ? [[NaN, NaN], [NaN, NaN]]\n : [[lambda0, phi0], [lambda1, phi1]];\n}\n"],"names":["adder"],"mappings":";;AAUeA,EAAM;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es195.js","sources":["../../../node_modules/d3-geo/src/transform.js"],"sourcesContent":["export default function(methods) {\n return {\n stream: transformer(methods)\n };\n}\n\nexport function transformer(methods) {\n return function(stream) {\n var s = new TransformStream;\n for (var key in methods) s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n}\n\nfunction TransformStream() {}\n\nTransformStream.prototype = {\n constructor: TransformStream,\n point: function(x, y) { this.stream.point(x, y); },\n sphere: function() { this.stream.sphere(); },\n lineStart: function() { this.stream.lineStart(); },\n lineEnd: function() { this.stream.lineEnd(); },\n polygonStart: function() { this.stream.polygonStart(); },\n polygonEnd: function() { this.stream.polygonEnd(); }\n};\n"],"names":["transformer","methods","stream","s","TransformStream","key","x","y"],"mappings":"AAMO,SAASA,EAAYC,GAAS;AACnC,SAAO,SAASC,GAAQ;AACtB,QAAIC,IAAI,IAAIC;AACZ,aAASC,KAAOJ;AAAW,MAAAE,EAAAE,CAAG,IAAIJ,EAAQI,CAAG;AAC7C,WAAAF,EAAE,SAASD,GACJC;AAAA,EAAA;AAEX;AAEA,SAASC,IAAkB;AAAC;AAE5BA,EAAgB,YAAY;AAAA,EAC1B,aAAaA;AAAA,EACb,OAAO,SAASE,GAAGC,GAAG;AAAO,SAAA,OAAO,MAAMD,GAAGC,CAAC;AAAA,EAAG;AAAA,EACjD,QAAQ,WAAW;AAAE,SAAK,OAAO;EAAU;AAAA,EAC3C,WAAW,WAAW;AAAE,SAAK,OAAO;EAAa;AAAA,EACjD,SAAS,WAAW;AAAE,SAAK,OAAO;EAAW;AAAA,EAC7C,cAAc,WAAW;AAAE,SAAK,OAAO;EAAgB;AAAA,EACvD,YAAY,WAAW;AAAE,SAAK,OAAO;EAAc;AACrD;","x_google_ignoreList":[0]}
@@ -1,39 +1,16 @@
1
- import A from "./index.es252.js";
2
- import { pi as z, tau as p, atan2 as I, asin as P, cos as t, sin as i } from "./index.es242.js";
3
- function R(r, n) {
4
- return [r > z ? r - p : r < -z ? r + p : r, n];
5
- }
6
- R.invert = R;
7
- function E(r, n, o) {
8
- return (r %= p) ? n || o ? A(j(r), q(n, o)) : j(r) : n || o ? q(n, o) : R;
9
- }
10
- function g(r) {
11
- return function(n, o) {
12
- return n += r, [n > z ? n - p : n < -z ? n + p : n, o];
13
- };
14
- }
15
- function j(r) {
16
- var n = g(r);
17
- return n.invert = g(-r), n;
18
- }
19
- function q(r, n) {
20
- var o = t(r), x = i(r), y = t(n), k = i(n);
21
- function w(u, c) {
22
- var f = t(c), s = t(u) * f, e = i(u) * f, v = i(c), D = v * o + s * x;
23
- return [
24
- I(e * y - D * k, s * o - v * x),
25
- P(D * y + e * k)
26
- ];
27
- }
28
- return w.invert = function(u, c) {
29
- var f = t(c), s = t(u) * f, e = i(u) * f, v = i(c), D = v * y - e * k;
30
- return [
31
- I(e * y + v * k, s * o + D * x),
32
- P(D * o - s * x)
33
- ];
34
- }, w;
35
- }
1
+ import { asin as t, sqrt as i } from "./index.es242.js";
2
+ import { azimuthalInvert as a, azimuthalRaw as m } from "./index.es248.js";
3
+ import "./index.es191.js";
4
+ import "./index.es190.js";
5
+ import "./index.es189.js";
6
+ import "./index.es195.js";
7
+ var o = m(function(r) {
8
+ return i(2 / (1 + r));
9
+ });
10
+ o.invert = a(function(r) {
11
+ return 2 * t(r / 2);
12
+ });
36
13
  export {
37
- E as rotateRadians
14
+ o as azimuthalEqualAreaRaw
38
15
  };
39
16
  //# sourceMappingURL=index.es196.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es196.js","sources":["../../../node_modules/d3-geo/src/rotation.js"],"sourcesContent":["import compose from \"./compose\";\nimport {asin, atan2, cos, degrees, pi, radians, sin, tau} from \"./math\";\n\nfunction rotationIdentity(lambda, phi) {\n return [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n}\n\nrotationIdentity.invert = rotationIdentity;\n\nexport function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n : rotationLambda(deltaLambda))\n : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n : rotationIdentity);\n}\n\nfunction forwardRotationLambda(deltaLambda) {\n return function(lambda, phi) {\n return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n };\n}\n\nfunction rotationLambda(deltaLambda) {\n var rotation = forwardRotationLambda(deltaLambda);\n rotation.invert = forwardRotationLambda(-deltaLambda);\n return rotation;\n}\n\nfunction rotationPhiGamma(deltaPhi, deltaGamma) {\n var cosDeltaPhi = cos(deltaPhi),\n sinDeltaPhi = sin(deltaPhi),\n cosDeltaGamma = cos(deltaGamma),\n sinDeltaGamma = sin(deltaGamma);\n\n function rotation(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaPhi + x * sinDeltaPhi;\n return [\n atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n asin(k * cosDeltaGamma + y * sinDeltaGamma)\n ];\n }\n\n rotation.invert = function(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaGamma - y * sinDeltaGamma;\n return [\n atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n asin(k * cosDeltaPhi - x * sinDeltaPhi)\n ];\n };\n\n return rotation;\n}\n\nexport default function(rotate) {\n rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n\n function forward(coordinates) {\n coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n }\n\n forward.invert = function(coordinates) {\n coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n };\n\n return forward;\n}\n"],"names":["rotationIdentity","lambda","phi","pi","tau","rotateRadians","deltaLambda","deltaPhi","deltaGamma","compose","rotationLambda","rotationPhiGamma","forwardRotationLambda","rotation","cosDeltaPhi","cos","sinDeltaPhi","sin","cosDeltaGamma","sinDeltaGamma","cosPhi","x","y","z","k","atan2","asin"],"mappings":";;AAGA,SAASA,EAAiBC,GAAQC,GAAK;AAC9B,SAAA,CAACD,IAASE,IAAKF,IAASG,IAAMH,IAAS,CAACE,IAAKF,IAASG,IAAMH,GAAQC,CAAG;AAChF;AAEAF,EAAiB,SAASA;AAEV,SAAAK,EAAcC,GAAaC,GAAUC,GAAY;AACvD,UAAAF,KAAeF,KAAQG,KAAYC,IAAaC,EAAQC,EAAeJ,CAAW,GAAGK,EAAiBJ,GAAUC,CAAU,CAAC,IAC/HE,EAAeJ,CAAW,IACzBC,KAAYC,IAAaG,EAAiBJ,GAAUC,CAAU,IAC/DR;AACN;AAEA,SAASY,EAAsBN,GAAa;AACnC,SAAA,SAASL,GAAQC,GAAK;AAC3B,WAAOD,KAAUK,GAAa,CAACL,IAASE,IAAKF,IAASG,IAAMH,IAAS,CAACE,IAAKF,IAASG,IAAMH,GAAQC,CAAG;AAAA,EAAA;AAEzG;AAEA,SAASQ,EAAeJ,GAAa;AAC/B,MAAAO,IAAWD,EAAsBN,CAAW;AACvC,SAAAO,EAAA,SAASD,EAAsB,CAACN,CAAW,GAC7CO;AACT;AAEA,SAASF,EAAiBJ,GAAUC,GAAY;AAC9C,MAAIM,IAAcC,EAAIR,CAAQ,GAC1BS,IAAcC,EAAIV,CAAQ,GAC1BW,IAAgBH,EAAIP,CAAU,GAC9BW,IAAgBF,EAAIT,CAAU;AAEzB,WAAAK,EAASZ,GAAQC,GAAK;AACzB,QAAAkB,IAASL,EAAIb,CAAG,GAChBmB,IAAIN,EAAId,CAAM,IAAImB,GAClBE,IAAIL,EAAIhB,CAAM,IAAImB,GAClBG,IAAIN,EAAIf,CAAG,GACXsB,IAAID,IAAIT,IAAcO,IAAIL;AACvB,WAAA;AAAA,MACLS,EAAMH,IAAIJ,IAAgBM,IAAIL,GAAeE,IAAIP,IAAcS,IAAIP,CAAW;AAAA,MAC9EU,EAAKF,IAAIN,IAAgBI,IAAIH,CAAa;AAAA,IAAA;AAAA,EAE9C;AAES,SAAAN,EAAA,SAAS,SAASZ,GAAQC,GAAK;AAClC,QAAAkB,IAASL,EAAIb,CAAG,GAChBmB,IAAIN,EAAId,CAAM,IAAImB,GAClBE,IAAIL,EAAIhB,CAAM,IAAImB,GAClBG,IAAIN,EAAIf,CAAG,GACXsB,IAAID,IAAIL,IAAgBI,IAAIH;AACzB,WAAA;AAAA,MACLM,EAAMH,IAAIJ,IAAgBK,IAAIJ,GAAeE,IAAIP,IAAcU,IAAIR,CAAW;AAAA,MAC9EU,EAAKF,IAAIV,IAAcO,IAAIL,CAAW;AAAA,IAAA;AAAA,EACxC,GAGKH;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es196.js","sources":["../../../node_modules/d3-geo/src/projection/azimuthalEqualArea.js"],"sourcesContent":["import {asin, sqrt} from \"../math\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal\";\nimport projection from \"./index\";\n\nexport var azimuthalEqualAreaRaw = azimuthalRaw(function(cxcy) {\n return sqrt(2 / (1 + cxcy));\n});\n\nazimuthalEqualAreaRaw.invert = azimuthalInvert(function(z) {\n return 2 * asin(z / 2);\n});\n\nexport default function() {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n}\n"],"names":["azimuthalEqualAreaRaw","azimuthalRaw","cxcy","sqrt","azimuthalInvert","z","asin"],"mappings":";;;;;;AAIW,IAAAA,IAAwBC,EAAa,SAASC,GAAM;AACtD,SAAAC,EAAK,KAAK,IAAID,EAAK;AAC5B,CAAC;AAEDF,EAAsB,SAASI,EAAgB,SAASC,GAAG;AAClD,SAAA,IAAIC,EAAKD,IAAI,CAAC;AACvB,CAAC;","x_google_ignoreList":[0]}
@@ -1,4 +1,17 @@
1
- import o from "./index.es261.js";
2
- import r from "./index.es262.js";
3
- r(o);
1
+ import { acos as r, sin as a } from "./index.es242.js";
2
+ import { azimuthalInvert as n, azimuthalRaw as o } from "./index.es248.js";
3
+ import u from "./index.es249.js";
4
+ var i = o(function(t) {
5
+ return (t = r(t)) && t / a(t);
6
+ });
7
+ i.invert = n(function(t) {
8
+ return t;
9
+ });
10
+ function f() {
11
+ return u(i).scale(79.4188).clipAngle(180 - 1e-3);
12
+ }
13
+ export {
14
+ i as azimuthalEquidistantRaw,
15
+ f as default
16
+ };
4
17
  //# sourceMappingURL=index.es197.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es197.js","sources":["../../../node_modules/d3-geo/node_modules/d3-array/src/bisect.js"],"sourcesContent":["import ascending from \"./ascending\";\nimport bisector from \"./bisector\";\n\nvar ascendingBisect = bisector(ascending);\nexport var bisectRight = ascendingBisect.right;\nexport var bisectLeft = ascendingBisect.left;\nexport default bisectRight;\n"],"names":["bisector","ascending"],"mappings":";;AAGsBA,EAASC,CAAS;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es197.js","sources":["../../../node_modules/d3-geo/src/projection/azimuthalEquidistant.js"],"sourcesContent":["import {acos, sin} from \"../math\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal\";\nimport projection from \"./index\";\n\nexport var azimuthalEquidistantRaw = azimuthalRaw(function(c) {\n return (c = acos(c)) && c / sin(c);\n});\n\nazimuthalEquidistantRaw.invert = azimuthalInvert(function(z) {\n return z;\n});\n\nexport default function() {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n}\n"],"names":["azimuthalEquidistantRaw","azimuthalRaw","c","acos","sin","azimuthalInvert","z","geoAzimuthalEquidistant","projection"],"mappings":";;;AAIW,IAAAA,IAA0BC,EAAa,SAASC,GAAG;AAC5D,UAAQA,IAAIC,EAAKD,CAAC,MAAMA,IAAIE,EAAIF,CAAC;AACnC,CAAC;AAEDF,EAAwB,SAASK,EAAgB,SAASC,GAAG;AACpD,SAAAA;AACT,CAAC;AAEyB,SAAAC,IAAA;AACjB,SAAAC,EAAWR,CAAuB,EACpC,MAAM,OAAO,EACb,UAAU,MAAM,IAAI;AAC3B;","x_google_ignoreList":[0]}
@@ -1,26 +1,12 @@
1
- import Y from "./index.es239.js";
2
- import { cartesianCross as S, cartesian as T, cartesianNormalizeInPlace as U } from "./index.es241.js";
3
- import { quarterPi as V, atan2 as Z, sin as e, cos as s, asin as _, epsilon as g, pi as $, tau as k } from "./index.es242.js";
4
- var n = Y();
5
- function l(y, B) {
6
- var f = B[0], E = B[1], W = [e(f), -s(f), 0], C = 0, F = 0;
7
- n.reset();
8
- for (var m = 0, X = y.length; m < X; ++m)
9
- if (w = (q = y[m]).length)
10
- for (var q, w, v = q[w - 1], x = v[0], G = v[1] / 2 + V, H = e(G), J = s(G), z = 0; z < w; ++z, x = I, H = L, J = M, v = o) {
11
- var o = q[z], I = o[0], K = o[1] / 2 + V, L = e(K), M = s(K), r = I - x, N = r >= 0 ? 1 : -1, c = N * r, u = c > $, O = H * L;
12
- if (n.add(Z(O * N * e(c), J * M + O * s(c))), C += u ? r + N * k : r, u ^ x >= f ^ I >= f) {
13
- var a = S(T(v), T(o));
14
- U(a);
15
- var Q = S(W, a);
16
- U(Q);
17
- var R = (u ^ r >= 0 ? -1 : 1) * _(Q[2]);
18
- (E > R || E === R && (a[0] || a[1])) && (F += u ^ r >= 0 ? 1 : -1);
19
- }
20
- }
21
- return (C < -g || C < g && n < -g) ^ F & 1;
1
+ import "./index.es191.js";
2
+ import "./index.es190.js";
3
+ import "./index.es189.js";
4
+ import "./index.es195.js";
5
+ function r(t, i) {
6
+ return [t, i];
22
7
  }
8
+ r.invert = r;
23
9
  export {
24
- l as default
10
+ r as equirectangularRaw
25
11
  };
26
12
  //# sourceMappingURL=index.es198.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es198.js","sources":["../../../node_modules/d3-geo/src/polygonContains.js"],"sourcesContent":["import adder from \"./adder\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace} from \"./cartesian\";\nimport {asin, atan2, cos, epsilon, pi, quarterPi, sin, tau} from \"./math\";\n\nvar sum = adder();\n\nexport default function(polygon, point) {\n var lambda = point[0],\n phi = point[1],\n normal = [sin(lambda), -cos(lambda), 0],\n angle = 0,\n winding = 0;\n\n sum.reset();\n\n for (var i = 0, n = polygon.length; i < n; ++i) {\n if (!(m = (ring = polygon[i]).length)) continue;\n var ring,\n m,\n point0 = ring[m - 1],\n lambda0 = point0[0],\n phi0 = point0[1] / 2 + quarterPi,\n sinPhi0 = sin(phi0),\n cosPhi0 = cos(phi0);\n\n for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n var point1 = ring[j],\n lambda1 = point1[0],\n phi1 = point1[1] / 2 + quarterPi,\n sinPhi1 = sin(phi1),\n cosPhi1 = cos(phi1),\n delta = lambda1 - lambda0,\n sign = delta >= 0 ? 1 : -1,\n absDelta = sign * delta,\n antimeridian = absDelta > pi,\n k = sinPhi0 * sinPhi1;\n\n sum.add(atan2(k * sign * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));\n angle += antimeridian ? delta + sign * tau : delta;\n\n // Are the longitudes either side of the point’s meridian (lambda),\n // and are the latitudes smaller than the parallel (phi)?\n if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n var arc = cartesianCross(cartesian(point0), cartesian(point1));\n cartesianNormalizeInPlace(arc);\n var intersection = cartesianCross(normal, arc);\n cartesianNormalizeInPlace(intersection);\n var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n winding += antimeridian ^ delta >= 0 ? 1 : -1;\n }\n }\n }\n }\n\n // First, determine whether the South pole is inside or outside:\n //\n // It is inside if:\n // * the polygon winds around it in a clockwise direction.\n // * the polygon does not (cumulatively) wind around it, but has a negative\n // (counter-clockwise) area.\n //\n // Second, count the (signed) number of times a segment crosses a lambda\n // from the point to the South pole. If it is zero, then the point is the\n // same side as the South pole.\n\n return (angle < -epsilon || angle < epsilon && sum < -epsilon) ^ (winding & 1);\n}\n"],"names":["sum","adder","polygonContains","polygon","point","lambda","phi","normal","sin","cos","angle","winding","i","n","m","ring","point0","lambda0","phi0","quarterPi","sinPhi0","cosPhi0","j","lambda1","sinPhi1","cosPhi1","point1","phi1","delta","sign","absDelta","antimeridian","pi","k","atan2","tau","arc","cartesianCross","cartesian","cartesianNormalizeInPlace","intersection","phiArc","asin","epsilon"],"mappings":";;;AAIA,IAAIA,IAAMC,EAAM;AAEhB,SAAAC,EAAwBC,GAASC,GAAO;AAClC,MAAAC,IAASD,EAAM,CAAC,GAChBE,IAAMF,EAAM,CAAC,GACbG,IAAS,CAACC,EAAIH,CAAM,GAAG,CAACI,EAAIJ,CAAM,GAAG,CAAC,GACtCK,IAAQ,GACRC,IAAU;AAEd,EAAAX,EAAI,MAAM;AAED,WAAAY,IAAI,GAAGC,IAAIV,EAAQ,QAAQS,IAAIC,GAAG,EAAED;AAC3C,QAAME,KAAKC,IAAOZ,EAAQS,CAAC,GAAG;AAS9B,eARIG,GACAD,GACAE,IAASD,EAAKD,IAAI,CAAC,GACnBG,IAAUD,EAAO,CAAC,GAClBE,IAAOF,EAAO,CAAC,IAAI,IAAIG,GACvBC,IAAUZ,EAAIU,CAAI,GAClBG,IAAUZ,EAAIS,CAAI,GAEbI,IAAI,GAAGA,IAAIR,GAAG,EAAEQ,GAAGL,IAAUM,GAASH,IAAUI,GAASH,IAAUI,GAAST,IAASU,GAAQ;AACpG,YAAIA,IAASX,EAAKO,CAAC,GACfC,IAAUG,EAAO,CAAC,GAClBC,IAAOD,EAAO,CAAC,IAAI,IAAIP,GACvBK,IAAUhB,EAAImB,CAAI,GAClBF,IAAUhB,EAAIkB,CAAI,GAClBC,IAAQL,IAAUN,GAClBY,IAAOD,KAAS,IAAI,IAAI,IACxBE,IAAWD,IAAOD,GAClBG,IAAeD,IAAWE,GAC1BC,IAAIb,IAAUI;AAOlB,YALAxB,EAAI,IAAIkC,EAAMD,IAAIJ,IAAOrB,EAAIsB,CAAQ,GAAGT,IAAUI,IAAUQ,IAAIxB,EAAIqB,CAAQ,CAAC,CAAC,GACrEpB,KAAAqB,IAAeH,IAAQC,IAAOM,IAAMP,GAIzCG,IAAed,KAAWZ,IAASkB,KAAWlB,GAAQ;AACxD,cAAI+B,IAAMC,EAAeC,EAAUtB,CAAM,GAAGsB,EAAUZ,CAAM,CAAC;AAC7D,UAAAa,EAA0BH,CAAG;AACzB,cAAAI,IAAeH,EAAe9B,GAAQ6B,CAAG;AAC7C,UAAAG,EAA0BC,CAAY;AAClC,cAAAC,KAAUV,IAAeH,KAAS,IAAI,KAAK,KAAKc,EAAKF,EAAa,CAAC,CAAC;AACpE,WAAAlC,IAAMmC,KAAUnC,MAAQmC,MAAWL,EAAI,CAAC,KAAKA,EAAI,CAAC,QACzCzB,KAAAoB,IAAeH,KAAS,IAAI,IAAI;AAAA,QAE/C;AAAA,MACF;AAcM,UAAAlB,IAAQ,CAACiC,KAAWjC,IAAQiC,KAAW3C,IAAM,CAAC2C,KAAYhC,IAAU;AAC9E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es198.js","sources":["../../../node_modules/d3-geo/src/projection/equirectangular.js"],"sourcesContent":["import projection from \"./index\";\n\nexport function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n}\n\nequirectangularRaw.invert = equirectangularRaw;\n\nexport default function() {\n return projection(equirectangularRaw)\n .scale(152.63);\n}\n"],"names":["equirectangularRaw","lambda","phi"],"mappings":";;;;AAEgB,SAAAA,EAAmBC,GAAQC,GAAK;AACvC,SAAA,CAACD,GAAQC,CAAG;AACrB;AAEAF,EAAmB,SAASA;","x_google_ignoreList":[0]}
@@ -1,3 +1,324 @@
1
- import r from "./index.es239.js";
2
- r();
1
+ import { syncProjection as f, cloneTransform as T, applyViewStateToTransform as p, transformToViewState as _ } from "./index.es234.js";
2
+ import { normalizeStyle as v } from "./index.es235.js";
3
+ import { deepEqual as h } from "./index.es204.js";
4
+ const g = { version: 8, sources: {}, layers: [] }, y = {
5
+ mousedown: "onMouseDown",
6
+ mouseup: "onMouseUp",
7
+ mouseover: "onMouseOver",
8
+ mousemove: "onMouseMove",
9
+ click: "onClick",
10
+ dblclick: "onDblClick",
11
+ mouseenter: "onMouseEnter",
12
+ mouseleave: "onMouseLeave",
13
+ mouseout: "onMouseOut",
14
+ contextmenu: "onContextMenu",
15
+ touchstart: "onTouchStart",
16
+ touchend: "onTouchEnd",
17
+ touchmove: "onTouchMove",
18
+ touchcancel: "onTouchCancel"
19
+ }, u = {
20
+ movestart: "onMoveStart",
21
+ move: "onMove",
22
+ moveend: "onMoveEnd",
23
+ dragstart: "onDragStart",
24
+ drag: "onDrag",
25
+ dragend: "onDragEnd",
26
+ zoomstart: "onZoomStart",
27
+ zoom: "onZoom",
28
+ zoomend: "onZoomEnd",
29
+ rotatestart: "onRotateStart",
30
+ rotate: "onRotate",
31
+ rotateend: "onRotateEnd",
32
+ pitchstart: "onPitchStart",
33
+ pitch: "onPitch",
34
+ pitchend: "onPitchEnd"
35
+ }, S = {
36
+ wheel: "onWheel",
37
+ boxzoomstart: "onBoxZoomStart",
38
+ boxzoomend: "onBoxZoomEnd",
39
+ boxzoomcancel: "onBoxZoomCancel",
40
+ resize: "onResize",
41
+ load: "onLoad",
42
+ render: "onRender",
43
+ idle: "onIdle",
44
+ remove: "onRemove",
45
+ data: "onData",
46
+ styledata: "onStyleData",
47
+ sourcedata: "onSourceData",
48
+ error: "onError"
49
+ }, E = [
50
+ "minZoom",
51
+ "maxZoom",
52
+ "minPitch",
53
+ "maxPitch",
54
+ "maxBounds",
55
+ "projection",
56
+ "renderWorldCopies"
57
+ ], C = [
58
+ "scrollZoom",
59
+ "boxZoom",
60
+ "dragRotate",
61
+ "dragPan",
62
+ "keyboard",
63
+ "doubleClickZoom",
64
+ "touchZoomRotate",
65
+ "touchPitch"
66
+ ];
67
+ class m {
68
+ constructor(e, o, n) {
69
+ this._map = null, this._internalUpdate = !1, this._inRender = !1, this._hoveredFeatures = null, this._deferredEvents = {
70
+ move: !1,
71
+ zoom: !1,
72
+ pitch: !1,
73
+ rotate: !1
74
+ }, this._onEvent = (t) => {
75
+ const r = this.props[S[t.type]];
76
+ r ? r(t) : t.type === "error" && console.error(t.error);
77
+ }, this._onPointerEvent = (t) => {
78
+ (t.type === "mousemove" || t.type === "mouseout") && this._updateHover(t);
79
+ const r = this.props[y[t.type]];
80
+ r && (this.props.interactiveLayerIds && t.type !== "mouseover" && t.type !== "mouseout" && (t.features = this._hoveredFeatures || this._queryRenderedFeatures(t.point)), r(t), delete t.features);
81
+ }, this._onCameraEvent = (t) => {
82
+ if (!this._internalUpdate) {
83
+ const r = this.props[u[t.type]];
84
+ r && r(t);
85
+ }
86
+ t.type in this._deferredEvents && (this._deferredEvents[t.type] = !1);
87
+ }, this._MapClass = e, this.props = o, this._initialize(n);
88
+ }
89
+ get map() {
90
+ return this._map;
91
+ }
92
+ get transform() {
93
+ return this._renderTransform;
94
+ }
95
+ setProps(e) {
96
+ const o = this.props;
97
+ this.props = e;
98
+ const n = this._updateSettings(e, o);
99
+ n && this._createShadowTransform(this._map);
100
+ const t = this._updateSize(e), r = this._updateViewState(e, !0);
101
+ this._updateStyle(e, o), this._updateStyleComponents(e, o), this._updateHandlers(e, o), (n || t || r && !this._map.isMoving()) && this.redraw();
102
+ }
103
+ static reuse(e, o) {
104
+ const n = m.savedMaps.pop();
105
+ if (!n)
106
+ return null;
107
+ const t = n.map, r = t.getContainer();
108
+ for (o.className = r.className; r.childNodes.length > 0; )
109
+ o.appendChild(r.childNodes[0]);
110
+ t._container = o;
111
+ const s = t._resizeObserver;
112
+ s && (s.disconnect(), s.observe(o)), n.setProps({ ...e, styleDiffing: !1 }), t.resize();
113
+ const { initialViewState: i } = e;
114
+ return i && (i.bounds ? t.fitBounds(i.bounds, { ...i.fitBoundsOptions, duration: 0 }) : n._updateViewState(i, !1)), t.isStyleLoaded() ? t.fire("load") : t.once("styledata", () => t.fire("load")), t._update(), n;
115
+ }
116
+ /* eslint-disable complexity,max-statements */
117
+ _initialize(e) {
118
+ const { props: o } = this, { mapStyle: n = g } = o, t = {
119
+ ...o,
120
+ ...o.initialViewState,
121
+ accessToken: o.mapboxAccessToken || M() || null,
122
+ container: e,
123
+ style: v(n)
124
+ }, r = t.initialViewState || t.viewState || t;
125
+ if (Object.assign(t, {
126
+ center: [r.longitude || 0, r.latitude || 0],
127
+ zoom: r.zoom || 0,
128
+ pitch: r.pitch || 0,
129
+ bearing: r.bearing || 0
130
+ }), o.gl) {
131
+ const a = HTMLCanvasElement.prototype.getContext;
132
+ HTMLCanvasElement.prototype.getContext = () => (HTMLCanvasElement.prototype.getContext = a, o.gl);
133
+ }
134
+ const s = new this._MapClass(t);
135
+ r.padding && s.setPadding(r.padding), o.cursor && (s.getCanvas().style.cursor = o.cursor), this._createShadowTransform(s);
136
+ const i = s._render;
137
+ s._render = (a) => {
138
+ this._inRender = !0, i.call(s, a), this._inRender = !1;
139
+ };
140
+ const c = s._renderTaskQueue.run;
141
+ s._renderTaskQueue.run = (a) => {
142
+ c.call(s._renderTaskQueue, a), this._onBeforeRepaint();
143
+ }, s.on("render", () => this._onAfterRepaint());
144
+ const l = s.fire;
145
+ s.fire = this._fireEvent.bind(this, l), s.on("resize", () => {
146
+ this._renderTransform.resize(s.transform.width, s.transform.height);
147
+ }), s.on("styledata", () => {
148
+ this._updateStyleComponents(this.props, {}), f(s.transform, this._renderTransform);
149
+ }), s.on("sourcedata", () => this._updateStyleComponents(this.props, {}));
150
+ for (const a in y)
151
+ s.on(a, this._onPointerEvent);
152
+ for (const a in u)
153
+ s.on(a, this._onCameraEvent);
154
+ for (const a in S)
155
+ s.on(a, this._onEvent);
156
+ this._map = s;
157
+ }
158
+ /* eslint-enable complexity,max-statements */
159
+ recycle() {
160
+ const o = this.map.getContainer().querySelector("[mapboxgl-children]");
161
+ o == null || o.remove(), m.savedMaps.push(this);
162
+ }
163
+ destroy() {
164
+ this._map.remove();
165
+ }
166
+ // Force redraw the map now. Typically resize() and jumpTo() is reflected in the next
167
+ // render cycle, which is managed by Mapbox's animation loop.
168
+ // This removes the synchronization issue caused by requestAnimationFrame.
169
+ redraw() {
170
+ const e = this._map;
171
+ !this._inRender && e.style && (e._frame && (e._frame.cancel(), e._frame = null), e._render());
172
+ }
173
+ _createShadowTransform(e) {
174
+ const o = T(e.transform);
175
+ e.painter.transform = o, this._renderTransform = o;
176
+ }
177
+ /* Trigger map resize if size is controlled
178
+ @param {object} nextProps
179
+ @returns {bool} true if size has changed
180
+ */
181
+ _updateSize(e) {
182
+ const { viewState: o } = e;
183
+ if (o) {
184
+ const n = this._map;
185
+ if (o.width !== n.transform.width || o.height !== n.transform.height)
186
+ return n.resize(), !0;
187
+ }
188
+ return !1;
189
+ }
190
+ // Adapted from map.jumpTo
191
+ /* Update camera to match props
192
+ @param {object} nextProps
193
+ @param {bool} triggerEvents - should fire camera events
194
+ @returns {bool} true if anything is changed
195
+ */
196
+ _updateViewState(e, o) {
197
+ if (this._internalUpdate)
198
+ return !1;
199
+ const n = this._map, t = this._renderTransform, { zoom: r, pitch: s, bearing: i } = t, c = n.isMoving();
200
+ c && (t.cameraElevationReference = "sea");
201
+ const l = p(t, {
202
+ ..._(n.transform),
203
+ ...e
204
+ });
205
+ if (c && (t.cameraElevationReference = "ground"), l && o) {
206
+ const a = this._deferredEvents;
207
+ a.move = !0, a.zoom || (a.zoom = r !== t.zoom), a.rotate || (a.rotate = i !== t.bearing), a.pitch || (a.pitch = s !== t.pitch);
208
+ }
209
+ return c || p(n.transform, e), l;
210
+ }
211
+ /* Update camera constraints and projection settings to match props
212
+ @param {object} nextProps
213
+ @param {object} currProps
214
+ @returns {bool} true if anything is changed
215
+ */
216
+ _updateSettings(e, o) {
217
+ const n = this._map;
218
+ let t = !1;
219
+ for (const r of E)
220
+ if (r in e && !h(e[r], o[r])) {
221
+ t = !0;
222
+ const s = n[`set${r[0].toUpperCase()}${r.slice(1)}`];
223
+ s == null || s.call(n, e[r]);
224
+ }
225
+ return t;
226
+ }
227
+ /* Update map style to match props
228
+ @param {object} nextProps
229
+ @param {object} currProps
230
+ @returns {bool} true if style is changed
231
+ */
232
+ _updateStyle(e, o) {
233
+ if (e.cursor !== o.cursor && (this._map.getCanvas().style.cursor = e.cursor || ""), e.mapStyle !== o.mapStyle) {
234
+ const { mapStyle: n = g, styleDiffing: t = !0 } = e, r = {
235
+ diff: t
236
+ };
237
+ return "localIdeographFontFamily" in e && (r.localIdeographFontFamily = e.localIdeographFontFamily), this._map.setStyle(v(n), r), !0;
238
+ }
239
+ return !1;
240
+ }
241
+ /* Update fog, light and terrain to match props
242
+ @param {object} nextProps
243
+ @param {object} currProps
244
+ @returns {bool} true if anything is changed
245
+ */
246
+ _updateStyleComponents(e, o) {
247
+ const n = this._map;
248
+ let t = !1;
249
+ return n.isStyleLoaded() && ("light" in e && n.setLight && !h(e.light, o.light) && (t = !0, n.setLight(e.light)), "fog" in e && n.setFog && !h(e.fog, o.fog) && (t = !0, n.setFog(e.fog)), "terrain" in e && n.setTerrain && !h(e.terrain, o.terrain) && (!e.terrain || n.getSource(e.terrain.source)) && (t = !0, n.setTerrain(e.terrain))), t;
250
+ }
251
+ /* Update interaction handlers to match props
252
+ @param {object} nextProps
253
+ @param {object} currProps
254
+ @returns {bool} true if anything is changed
255
+ */
256
+ _updateHandlers(e, o) {
257
+ var n, t;
258
+ const r = this._map;
259
+ let s = !1;
260
+ for (const i of C) {
261
+ const c = (n = e[i]) !== null && n !== void 0 ? n : !0, l = (t = o[i]) !== null && t !== void 0 ? t : !0;
262
+ h(c, l) || (s = !0, c ? r[i].enable(c) : r[i].disable());
263
+ }
264
+ return s;
265
+ }
266
+ _queryRenderedFeatures(e) {
267
+ const o = this._map, n = o.transform, { interactiveLayerIds: t = [] } = this.props;
268
+ try {
269
+ return o.transform = this._renderTransform, o.queryRenderedFeatures(e, {
270
+ layers: t.filter(o.getLayer.bind(o))
271
+ });
272
+ } catch {
273
+ return [];
274
+ } finally {
275
+ o.transform = n;
276
+ }
277
+ }
278
+ _updateHover(e) {
279
+ var o;
280
+ const { props: n } = this;
281
+ if (n.interactiveLayerIds && (n.onMouseMove || n.onMouseEnter || n.onMouseLeave)) {
282
+ const r = e.type, s = ((o = this._hoveredFeatures) === null || o === void 0 ? void 0 : o.length) > 0, i = this._queryRenderedFeatures(e.point), c = i.length > 0;
283
+ !c && s && (e.type = "mouseleave", this._onPointerEvent(e)), this._hoveredFeatures = i, c && !s && (e.type = "mouseenter", this._onPointerEvent(e)), e.type = r;
284
+ } else
285
+ this._hoveredFeatures = null;
286
+ }
287
+ _fireEvent(e, o, n) {
288
+ const t = this._map, r = t.transform, s = typeof o == "string" ? o : o.type;
289
+ return s === "move" && this._updateViewState(this.props, !1), s in u && (typeof o == "object" && (o.viewState = _(r)), this._map.isMoving()) ? (t.transform = this._renderTransform, e.call(t, o, n), t.transform = r, t) : (e.call(t, o, n), t);
290
+ }
291
+ // All camera manipulations are complete, ready to repaint
292
+ _onBeforeRepaint() {
293
+ const e = this._map;
294
+ this._internalUpdate = !0;
295
+ for (const n in this._deferredEvents)
296
+ this._deferredEvents[n] && e.fire(n);
297
+ this._internalUpdate = !1;
298
+ const o = this._map.transform;
299
+ e.transform = this._renderTransform, this._onAfterRepaint = () => {
300
+ f(this._renderTransform, o), e.transform = o;
301
+ };
302
+ }
303
+ }
304
+ m.savedMaps = [];
305
+ function M() {
306
+ let d = null;
307
+ if (typeof location < "u") {
308
+ const e = /access_token=([^&\/]*)/.exec(location.search);
309
+ d = e && e[1];
310
+ }
311
+ try {
312
+ d = d || process.env.MapboxAccessToken;
313
+ } catch {
314
+ }
315
+ try {
316
+ d = d || process.env.REACT_APP_MAPBOX_ACCESS_TOKEN;
317
+ } catch {
318
+ }
319
+ return d;
320
+ }
321
+ export {
322
+ m as default
323
+ };
3
324
  //# sourceMappingURL=index.es199.js.map