@performant-software/geospatial 3.1.24-beta.2 → 3.1.24

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 (638) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs100.js.map +1 -1
  3. package/dist/index.cjs101.js +1 -1
  4. package/dist/index.cjs101.js.map +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs102.js.map +1 -1
  7. package/dist/index.cjs103.js +1 -1
  8. package/dist/index.cjs103.js.map +1 -1
  9. package/dist/index.cjs104.js +1 -1
  10. package/dist/index.cjs104.js.map +1 -1
  11. package/dist/index.cjs105.js +1 -1
  12. package/dist/index.cjs105.js.map +1 -1
  13. package/dist/index.cjs106.js +1 -1
  14. package/dist/index.cjs106.js.map +1 -1
  15. package/dist/index.cjs107.js +1 -1
  16. package/dist/index.cjs107.js.map +1 -1
  17. package/dist/index.cjs108.js +1 -1
  18. package/dist/index.cjs108.js.map +1 -1
  19. package/dist/index.cjs109.js +1 -1
  20. package/dist/index.cjs109.js.map +1 -1
  21. package/dist/index.cjs110.js +1 -1
  22. package/dist/index.cjs110.js.map +1 -1
  23. package/dist/index.cjs111.js +1 -1
  24. package/dist/index.cjs111.js.map +1 -1
  25. package/dist/index.cjs112.js +1 -1
  26. package/dist/index.cjs112.js.map +1 -1
  27. package/dist/index.cjs113.js +1 -1
  28. package/dist/index.cjs113.js.map +1 -1
  29. package/dist/index.cjs114.js +1 -1
  30. package/dist/index.cjs114.js.map +1 -1
  31. package/dist/index.cjs115.js +1 -1
  32. package/dist/index.cjs115.js.map +1 -1
  33. package/dist/index.cjs116.js +1 -1
  34. package/dist/index.cjs116.js.map +1 -1
  35. package/dist/index.cjs117.js +1 -1
  36. package/dist/index.cjs117.js.map +1 -1
  37. package/dist/index.cjs118.js +1 -1
  38. package/dist/index.cjs118.js.map +1 -1
  39. package/dist/index.cjs119.js +1 -1
  40. package/dist/index.cjs119.js.map +1 -1
  41. package/dist/index.cjs120.js +1 -1
  42. package/dist/index.cjs120.js.map +1 -1
  43. package/dist/index.cjs121.js +1 -1
  44. package/dist/index.cjs121.js.map +1 -1
  45. package/dist/index.cjs122.js +1 -1
  46. package/dist/index.cjs122.js.map +1 -1
  47. package/dist/index.cjs123.js +1 -1
  48. package/dist/index.cjs123.js.map +1 -1
  49. package/dist/index.cjs124.js +1 -1
  50. package/dist/index.cjs124.js.map +1 -1
  51. package/dist/index.cjs125.js +1 -1
  52. package/dist/index.cjs125.js.map +1 -1
  53. package/dist/index.cjs126.js +1 -1
  54. package/dist/index.cjs126.js.map +1 -1
  55. package/dist/index.cjs127.js +1 -1
  56. package/dist/index.cjs127.js.map +1 -1
  57. package/dist/index.cjs128.js +1 -1
  58. package/dist/index.cjs128.js.map +1 -1
  59. package/dist/index.cjs129.js +1 -1
  60. package/dist/index.cjs129.js.map +1 -1
  61. package/dist/index.cjs13.js +1 -1
  62. package/dist/index.cjs13.js.map +1 -1
  63. package/dist/index.cjs130.js +1 -1
  64. package/dist/index.cjs130.js.map +1 -1
  65. package/dist/index.cjs131.js +1 -1
  66. package/dist/index.cjs131.js.map +1 -1
  67. package/dist/index.cjs132.js +1 -1
  68. package/dist/index.cjs132.js.map +1 -1
  69. package/dist/index.cjs133.js +1 -1
  70. package/dist/index.cjs133.js.map +1 -1
  71. package/dist/index.cjs134.js +1 -1
  72. package/dist/index.cjs134.js.map +1 -1
  73. package/dist/index.cjs135.js +1 -1
  74. package/dist/index.cjs135.js.map +1 -1
  75. package/dist/index.cjs136.js +1 -1
  76. package/dist/index.cjs136.js.map +1 -1
  77. package/dist/index.cjs137.js +1 -1
  78. package/dist/index.cjs137.js.map +1 -1
  79. package/dist/index.cjs138.js +1 -1
  80. package/dist/index.cjs138.js.map +1 -1
  81. package/dist/index.cjs139.js +1 -1
  82. package/dist/index.cjs139.js.map +1 -1
  83. package/dist/index.cjs140.js +1 -13
  84. package/dist/index.cjs140.js.map +1 -1
  85. package/dist/index.cjs141.js +13 -1
  86. package/dist/index.cjs141.js.map +1 -1
  87. package/dist/index.cjs142.js +1 -1
  88. package/dist/index.cjs142.js.map +1 -1
  89. package/dist/index.cjs143.js +1 -1
  90. package/dist/index.cjs143.js.map +1 -1
  91. package/dist/index.cjs144.js +1 -1
  92. package/dist/index.cjs144.js.map +1 -1
  93. package/dist/index.cjs145.js +1 -1
  94. package/dist/index.cjs145.js.map +1 -1
  95. package/dist/index.cjs146.js +1 -1
  96. package/dist/index.cjs146.js.map +1 -1
  97. package/dist/index.cjs147.js +1 -1
  98. package/dist/index.cjs147.js.map +1 -1
  99. package/dist/index.cjs148.js +1 -1
  100. package/dist/index.cjs148.js.map +1 -1
  101. package/dist/index.cjs149.js +1 -1
  102. package/dist/index.cjs149.js.map +1 -1
  103. package/dist/index.cjs15.js +1 -1
  104. package/dist/index.cjs150.js +1 -1
  105. package/dist/index.cjs150.js.map +1 -1
  106. package/dist/index.cjs151.js +1 -1
  107. package/dist/index.cjs151.js.map +1 -1
  108. package/dist/index.cjs152.js +1 -1
  109. package/dist/index.cjs152.js.map +1 -1
  110. package/dist/index.cjs153.js +1 -1
  111. package/dist/index.cjs153.js.map +1 -1
  112. package/dist/index.cjs154.js +1 -1
  113. package/dist/index.cjs154.js.map +1 -1
  114. package/dist/index.cjs155.js +1 -1
  115. package/dist/index.cjs155.js.map +1 -1
  116. package/dist/index.cjs156.js +1 -1
  117. package/dist/index.cjs156.js.map +1 -1
  118. package/dist/index.cjs157.js +1 -1
  119. package/dist/index.cjs157.js.map +1 -1
  120. package/dist/index.cjs158.js +1 -1
  121. package/dist/index.cjs158.js.map +1 -1
  122. package/dist/index.cjs159.js +1 -1
  123. package/dist/index.cjs159.js.map +1 -1
  124. package/dist/index.cjs16.js +1 -1
  125. package/dist/index.cjs160.js +1 -1
  126. package/dist/index.cjs160.js.map +1 -1
  127. package/dist/index.cjs161.js +1 -1
  128. package/dist/index.cjs161.js.map +1 -1
  129. package/dist/index.cjs162.js +1 -1
  130. package/dist/index.cjs162.js.map +1 -1
  131. package/dist/index.cjs163.js +1 -1
  132. package/dist/index.cjs163.js.map +1 -1
  133. package/dist/index.cjs164.js +1 -1
  134. package/dist/index.cjs164.js.map +1 -1
  135. package/dist/index.cjs165.js +1 -1
  136. package/dist/index.cjs165.js.map +1 -1
  137. package/dist/index.cjs166.js +1 -1
  138. package/dist/index.cjs166.js.map +1 -1
  139. package/dist/index.cjs167.js +1 -1
  140. package/dist/index.cjs167.js.map +1 -1
  141. package/dist/index.cjs168.js +1 -1
  142. package/dist/index.cjs168.js.map +1 -1
  143. package/dist/index.cjs169.js +1 -1
  144. package/dist/index.cjs169.js.map +1 -1
  145. package/dist/index.cjs17.js +1 -1
  146. package/dist/index.cjs170.js +1 -1
  147. package/dist/index.cjs170.js.map +1 -1
  148. package/dist/index.cjs171.js +1 -1
  149. package/dist/index.cjs171.js.map +1 -1
  150. package/dist/index.cjs172.js +1 -1
  151. package/dist/index.cjs172.js.map +1 -1
  152. package/dist/index.cjs173.js +1 -1
  153. package/dist/index.cjs173.js.map +1 -1
  154. package/dist/index.cjs174.js +1 -1
  155. package/dist/index.cjs174.js.map +1 -1
  156. package/dist/index.cjs175.js +1 -1
  157. package/dist/index.cjs175.js.map +1 -1
  158. package/dist/index.cjs176.js +1 -1
  159. package/dist/index.cjs176.js.map +1 -1
  160. package/dist/index.cjs177.js +1 -1
  161. package/dist/index.cjs177.js.map +1 -1
  162. package/dist/index.cjs178.js +1 -1
  163. package/dist/index.cjs178.js.map +1 -1
  164. package/dist/index.cjs179.js +1 -1
  165. package/dist/index.cjs179.js.map +1 -1
  166. package/dist/index.cjs18.js +1 -1
  167. package/dist/index.cjs180.js +1 -1
  168. package/dist/index.cjs180.js.map +1 -1
  169. package/dist/index.cjs181.js +1 -1
  170. package/dist/index.cjs181.js.map +1 -1
  171. package/dist/index.cjs182.js +1 -1
  172. package/dist/index.cjs182.js.map +1 -1
  173. package/dist/index.cjs183.js +1 -1
  174. package/dist/index.cjs183.js.map +1 -1
  175. package/dist/index.cjs184.js +1 -1
  176. package/dist/index.cjs184.js.map +1 -1
  177. package/dist/index.cjs185.js +1 -1
  178. package/dist/index.cjs185.js.map +1 -1
  179. package/dist/index.cjs186.js +1 -1
  180. package/dist/index.cjs186.js.map +1 -1
  181. package/dist/index.cjs187.js +1 -1
  182. package/dist/index.cjs187.js.map +1 -1
  183. package/dist/index.cjs188.js +1 -1
  184. package/dist/index.cjs188.js.map +1 -1
  185. package/dist/index.cjs189.js +1 -1
  186. package/dist/index.cjs189.js.map +1 -1
  187. package/dist/index.cjs19.js +1 -1
  188. package/dist/index.cjs190.js +1 -1
  189. package/dist/index.cjs190.js.map +1 -1
  190. package/dist/index.cjs191.js +1 -1
  191. package/dist/index.cjs191.js.map +1 -1
  192. package/dist/index.cjs192.js +1 -1
  193. package/dist/index.cjs192.js.map +1 -1
  194. package/dist/index.cjs193.js +1 -1
  195. package/dist/index.cjs193.js.map +1 -1
  196. package/dist/index.cjs194.js +1 -1
  197. package/dist/index.cjs194.js.map +1 -1
  198. package/dist/index.cjs195.js +1 -1
  199. package/dist/index.cjs195.js.map +1 -1
  200. package/dist/index.cjs197.js +1 -1
  201. package/dist/index.cjs20.js +1 -1
  202. package/dist/index.cjs21.js +1 -1
  203. package/dist/index.cjs212.js +1 -1
  204. package/dist/index.cjs213.js +1 -1
  205. package/dist/index.cjs214.js +1 -1
  206. package/dist/index.cjs216.js +1 -1
  207. package/dist/index.cjs219.js +1 -1
  208. package/dist/index.cjs22.js +1 -1
  209. package/dist/index.cjs224.js +1 -1
  210. package/dist/index.cjs226.js +1 -1
  211. package/dist/index.cjs227.js +1 -1
  212. package/dist/index.cjs228.js +1 -1
  213. package/dist/index.cjs229.js +1 -1
  214. package/dist/index.cjs23.js +1 -1
  215. package/dist/index.cjs231.js +1 -1
  216. package/dist/index.cjs232.js +1 -1
  217. package/dist/index.cjs233.js +1 -1
  218. package/dist/index.cjs234.js +1 -1
  219. package/dist/index.cjs237.js +1 -7
  220. package/dist/index.cjs237.js.map +1 -1
  221. package/dist/index.cjs238.js +1 -1
  222. package/dist/index.cjs238.js.map +1 -1
  223. package/dist/index.cjs239.js +1 -1
  224. package/dist/index.cjs239.js.map +1 -1
  225. package/dist/index.cjs24.js +1 -1
  226. package/dist/index.cjs240.js +1 -1
  227. package/dist/index.cjs240.js.map +1 -1
  228. package/dist/index.cjs241.js +1 -1
  229. package/dist/index.cjs241.js.map +1 -1
  230. package/dist/index.cjs242.js +1 -1
  231. package/dist/index.cjs242.js.map +1 -1
  232. package/dist/index.cjs243.js +1 -1
  233. package/dist/index.cjs243.js.map +1 -1
  234. package/dist/index.cjs244.js +1 -1
  235. package/dist/index.cjs244.js.map +1 -1
  236. package/dist/index.cjs245.js +7 -1
  237. package/dist/index.cjs245.js.map +1 -1
  238. package/dist/index.cjs246.js +1 -1
  239. package/dist/index.cjs246.js.map +1 -1
  240. package/dist/index.cjs248.js +1 -1
  241. package/dist/index.cjs248.js.map +1 -1
  242. package/dist/index.cjs249.js +1 -1
  243. package/dist/index.cjs249.js.map +1 -1
  244. package/dist/index.cjs25.js +1 -1
  245. package/dist/index.cjs255.js +1 -1
  246. package/dist/index.cjs257.js +1 -1
  247. package/dist/index.cjs26.js +1 -1
  248. package/dist/index.cjs261.js +1 -1
  249. package/dist/index.cjs262.js +1 -1
  250. package/dist/index.cjs265.js +1 -1
  251. package/dist/index.cjs268.js +1 -1
  252. package/dist/index.cjs27.js +1 -1
  253. package/dist/index.cjs270.js +1 -1
  254. package/dist/index.cjs270.js.map +1 -1
  255. package/dist/index.cjs271.js +1 -1
  256. package/dist/index.cjs271.js.map +1 -1
  257. package/dist/index.cjs272.js +1 -1
  258. package/dist/index.cjs272.js.map +1 -1
  259. package/dist/index.cjs273.js +1 -1
  260. package/dist/index.cjs273.js.map +1 -1
  261. package/dist/index.cjs29.js +1 -1
  262. package/dist/index.cjs32.js +1 -1
  263. package/dist/index.cjs36.js +1 -1
  264. package/dist/index.cjs45.js +1 -1
  265. package/dist/index.cjs50.js +1 -1
  266. package/dist/index.cjs51.js +1 -1
  267. package/dist/index.cjs52.js +1 -1
  268. package/dist/index.cjs53.js +1 -1
  269. package/dist/index.cjs55.js +1 -1
  270. package/dist/index.cjs56.js +1 -1
  271. package/dist/index.cjs57.js +1 -1
  272. package/dist/index.cjs58.js +1 -1
  273. package/dist/index.cjs59.js +1 -1
  274. package/dist/index.cjs60.js +1 -1
  275. package/dist/index.cjs61.js +1 -1
  276. package/dist/index.cjs62.js +1 -1
  277. package/dist/index.cjs63.js +1 -1
  278. package/dist/index.cjs69.js +1 -1
  279. package/dist/index.cjs7.js +1 -1
  280. package/dist/index.cjs7.js.map +1 -1
  281. package/dist/index.cjs71.js +1 -1
  282. package/dist/index.cjs71.js.map +1 -1
  283. package/dist/index.cjs72.js +1 -1
  284. package/dist/index.cjs72.js.map +1 -1
  285. package/dist/index.cjs73.js +1 -1
  286. package/dist/index.cjs74.js +1 -1
  287. package/dist/index.cjs76.js +1 -1
  288. package/dist/index.cjs76.js.map +1 -1
  289. package/dist/index.cjs77.js +1 -1
  290. package/dist/index.cjs77.js.map +1 -1
  291. package/dist/index.cjs79.js +1 -743
  292. package/dist/index.cjs79.js.map +1 -1
  293. package/dist/index.cjs81.js +9 -1
  294. package/dist/index.cjs81.js.map +1 -1
  295. package/dist/index.cjs82.js +17 -1
  296. package/dist/index.cjs82.js.map +1 -1
  297. package/dist/index.cjs83.js +1 -9
  298. package/dist/index.cjs83.js.map +1 -1
  299. package/dist/index.cjs84.js +1 -17
  300. package/dist/index.cjs84.js.map +1 -1
  301. package/dist/index.cjs85.js +1 -1
  302. package/dist/index.cjs85.js.map +1 -1
  303. package/dist/index.cjs86.js +743 -1
  304. package/dist/index.cjs86.js.map +1 -1
  305. package/dist/index.cjs92.js +1 -1
  306. package/dist/index.cjs92.js.map +1 -1
  307. package/dist/index.cjs93.js +1 -1
  308. package/dist/index.cjs93.js.map +1 -1
  309. package/dist/index.cjs94.js +1 -1
  310. package/dist/index.cjs94.js.map +1 -1
  311. package/dist/index.cjs95.js +1 -1
  312. package/dist/index.cjs95.js.map +1 -1
  313. package/dist/index.cjs96.js +1 -1
  314. package/dist/index.cjs96.js.map +1 -1
  315. package/dist/index.cjs97.js +1 -1
  316. package/dist/index.cjs97.js.map +1 -1
  317. package/dist/index.cjs98.js +1 -1
  318. package/dist/index.cjs98.js.map +1 -1
  319. package/dist/index.cjs99.js +1 -1
  320. package/dist/index.cjs99.js.map +1 -1
  321. package/dist/index.es100.js +4 -3
  322. package/dist/index.es100.js.map +1 -1
  323. package/dist/index.es101.js +3 -3
  324. package/dist/index.es101.js.map +1 -1
  325. package/dist/index.es102.js +3 -3
  326. package/dist/index.es102.js.map +1 -1
  327. package/dist/index.es103.js +3 -3
  328. package/dist/index.es103.js.map +1 -1
  329. package/dist/index.es104.js +3 -3
  330. package/dist/index.es104.js.map +1 -1
  331. package/dist/index.es105.js +3 -3
  332. package/dist/index.es105.js.map +1 -1
  333. package/dist/index.es106.js +3 -3
  334. package/dist/index.es106.js.map +1 -1
  335. package/dist/index.es107.js +3 -10
  336. package/dist/index.es107.js.map +1 -1
  337. package/dist/index.es108.js +10 -4
  338. package/dist/index.es108.js.map +1 -1
  339. package/dist/index.es109.js +4 -6
  340. package/dist/index.es109.js.map +1 -1
  341. package/dist/index.es110.js +5 -5
  342. package/dist/index.es110.js.map +1 -1
  343. package/dist/index.es111.js +5 -9
  344. package/dist/index.es111.js.map +1 -1
  345. package/dist/index.es112.js +9 -10
  346. package/dist/index.es112.js.map +1 -1
  347. package/dist/index.es113.js +10 -10
  348. package/dist/index.es113.js.map +1 -1
  349. package/dist/index.es114.js +10 -74
  350. package/dist/index.es114.js.map +1 -1
  351. package/dist/index.es115.js +75 -3
  352. package/dist/index.es115.js.map +1 -1
  353. package/dist/index.es116.js +3 -12
  354. package/dist/index.es116.js.map +1 -1
  355. package/dist/index.es117.js +10 -8
  356. package/dist/index.es117.js.map +1 -1
  357. package/dist/index.es118.js +8 -5
  358. package/dist/index.es118.js.map +1 -1
  359. package/dist/index.es119.js +6 -6
  360. package/dist/index.es119.js.map +1 -1
  361. package/dist/index.es120.js +6 -6
  362. package/dist/index.es120.js.map +1 -1
  363. package/dist/index.es121.js +6 -7
  364. package/dist/index.es121.js.map +1 -1
  365. package/dist/index.es122.js +8 -4
  366. package/dist/index.es122.js.map +1 -1
  367. package/dist/index.es123.js +1 -1
  368. package/dist/index.es123.js.map +1 -1
  369. package/dist/index.es124.js +1 -1
  370. package/dist/index.es124.js.map +1 -1
  371. package/dist/index.es125.js +4 -7
  372. package/dist/index.es125.js.map +1 -1
  373. package/dist/index.es126.js +6 -6
  374. package/dist/index.es126.js.map +1 -1
  375. package/dist/index.es127.js +6 -3
  376. package/dist/index.es127.js.map +1 -1
  377. package/dist/index.es128.js +3 -7
  378. package/dist/index.es128.js.map +1 -1
  379. package/dist/index.es129.js +7 -11
  380. package/dist/index.es129.js.map +1 -1
  381. package/dist/index.es13.js +65 -77
  382. package/dist/index.es13.js.map +1 -1
  383. package/dist/index.es130.js +10 -9
  384. package/dist/index.es130.js.map +1 -1
  385. package/dist/index.es131.js +10 -3
  386. package/dist/index.es131.js.map +1 -1
  387. package/dist/index.es132.js +3 -5
  388. package/dist/index.es132.js.map +1 -1
  389. package/dist/index.es133.js +5 -2
  390. package/dist/index.es133.js.map +1 -1
  391. package/dist/index.es134.js +2 -7
  392. package/dist/index.es134.js.map +1 -1
  393. package/dist/index.es135.js +4 -4
  394. package/dist/index.es135.js.map +1 -1
  395. package/dist/index.es136.js +6 -6
  396. package/dist/index.es136.js.map +1 -1
  397. package/dist/index.es137.js +7 -7
  398. package/dist/index.es137.js.map +1 -1
  399. package/dist/index.es138.js +7 -3
  400. package/dist/index.es138.js.map +1 -1
  401. package/dist/index.es139.js +4 -4
  402. package/dist/index.es139.js.map +1 -1
  403. package/dist/index.es140.js +4 -57
  404. package/dist/index.es140.js.map +1 -1
  405. package/dist/index.es141.js +55 -12
  406. package/dist/index.es141.js.map +1 -1
  407. package/dist/index.es142.js +13 -5
  408. package/dist/index.es142.js.map +1 -1
  409. package/dist/index.es143.js +5 -5
  410. package/dist/index.es143.js.map +1 -1
  411. package/dist/index.es144.js +5 -8
  412. package/dist/index.es144.js.map +1 -1
  413. package/dist/index.es145.js +7 -15
  414. package/dist/index.es145.js.map +1 -1
  415. package/dist/index.es146.js +16 -13
  416. package/dist/index.es146.js.map +1 -1
  417. package/dist/index.es147.js +13 -4
  418. package/dist/index.es147.js.map +1 -1
  419. package/dist/index.es148.js +4 -5
  420. package/dist/index.es148.js.map +1 -1
  421. package/dist/index.es149.js +2 -4
  422. package/dist/index.es149.js.map +1 -1
  423. package/dist/index.es15.js +1 -1
  424. package/dist/index.es150.js +5 -4
  425. package/dist/index.es150.js.map +1 -1
  426. package/dist/index.es151.js +4 -4
  427. package/dist/index.es151.js.map +1 -1
  428. package/dist/index.es152.js +6 -7
  429. package/dist/index.es152.js.map +1 -1
  430. package/dist/index.es153.js +8 -3
  431. package/dist/index.es153.js.map +1 -1
  432. package/dist/index.es154.js +2 -2
  433. package/dist/index.es154.js.map +1 -1
  434. package/dist/index.es155.js +3 -11
  435. package/dist/index.es155.js.map +1 -1
  436. package/dist/index.es156.js +11 -5
  437. package/dist/index.es156.js.map +1 -1
  438. package/dist/index.es157.js +5 -4
  439. package/dist/index.es157.js.map +1 -1
  440. package/dist/index.es158.js +4 -8
  441. package/dist/index.es158.js.map +1 -1
  442. package/dist/index.es159.js +7 -5
  443. package/dist/index.es159.js.map +1 -1
  444. package/dist/index.es16.js +4 -4
  445. package/dist/index.es160.js +5 -16
  446. package/dist/index.es160.js.map +1 -1
  447. package/dist/index.es161.js +15 -10
  448. package/dist/index.es161.js.map +1 -1
  449. package/dist/index.es162.js +12 -3
  450. package/dist/index.es162.js.map +1 -1
  451. package/dist/index.es163.js +2 -2
  452. package/dist/index.es163.js.map +1 -1
  453. package/dist/index.es164.js +3 -9
  454. package/dist/index.es164.js.map +1 -1
  455. package/dist/index.es165.js +7 -5
  456. package/dist/index.es165.js.map +1 -1
  457. package/dist/index.es166.js +6 -11
  458. package/dist/index.es166.js.map +1 -1
  459. package/dist/index.es167.js +10 -10
  460. package/dist/index.es167.js.map +1 -1
  461. package/dist/index.es168.js +11 -6
  462. package/dist/index.es168.js.map +1 -1
  463. package/dist/index.es169.js +6 -5
  464. package/dist/index.es169.js.map +1 -1
  465. package/dist/index.es17.js +3 -3
  466. package/dist/index.es170.js +5 -5
  467. package/dist/index.es170.js.map +1 -1
  468. package/dist/index.es171.js +5 -16
  469. package/dist/index.es171.js.map +1 -1
  470. package/dist/index.es172.js +11 -11
  471. package/dist/index.es172.js.map +1 -1
  472. package/dist/index.es173.js +16 -4
  473. package/dist/index.es173.js.map +1 -1
  474. package/dist/index.es174.js +4 -16
  475. package/dist/index.es174.js.map +1 -1
  476. package/dist/index.es175.js +16 -20
  477. package/dist/index.es175.js.map +1 -1
  478. package/dist/index.es176.js +21 -6
  479. package/dist/index.es176.js.map +1 -1
  480. package/dist/index.es177.js +4 -3
  481. package/dist/index.es177.js.map +1 -1
  482. package/dist/index.es178.js +4 -5
  483. package/dist/index.es178.js.map +1 -1
  484. package/dist/index.es179.js +6 -5
  485. package/dist/index.es179.js.map +1 -1
  486. package/dist/index.es18.js +3 -3
  487. package/dist/index.es180.js +5 -12
  488. package/dist/index.es180.js.map +1 -1
  489. package/dist/index.es181.js +11 -5
  490. package/dist/index.es181.js.map +1 -1
  491. package/dist/index.es182.js +5 -4
  492. package/dist/index.es182.js.map +1 -1
  493. package/dist/index.es183.js +4 -4
  494. package/dist/index.es183.js.map +1 -1
  495. package/dist/index.es184.js +4 -4
  496. package/dist/index.es184.js.map +1 -1
  497. package/dist/index.es185.js +4 -4
  498. package/dist/index.es185.js.map +1 -1
  499. package/dist/index.es186.js +4 -4
  500. package/dist/index.es186.js.map +1 -1
  501. package/dist/index.es187.js +4 -4
  502. package/dist/index.es187.js.map +1 -1
  503. package/dist/index.es188.js +4 -12
  504. package/dist/index.es188.js.map +1 -1
  505. package/dist/index.es189.js +11 -13
  506. package/dist/index.es189.js.map +1 -1
  507. package/dist/index.es19.js +1 -1
  508. package/dist/index.es190.js +14 -8
  509. package/dist/index.es190.js.map +1 -1
  510. package/dist/index.es191.js +8 -6
  511. package/dist/index.es191.js.map +1 -1
  512. package/dist/index.es192.js +5 -5
  513. package/dist/index.es192.js.map +1 -1
  514. package/dist/index.es193.js +6 -7
  515. package/dist/index.es193.js.map +1 -1
  516. package/dist/index.es194.js +7 -147
  517. package/dist/index.es194.js.map +1 -1
  518. package/dist/index.es195.js +146 -16
  519. package/dist/index.es195.js.map +1 -1
  520. package/dist/index.es197.js +2 -2
  521. package/dist/index.es20.js +1 -1
  522. package/dist/index.es21.js +1 -1
  523. package/dist/index.es212.js +1 -1
  524. package/dist/index.es213.js +1 -1
  525. package/dist/index.es214.js +1 -1
  526. package/dist/index.es216.js +1 -1
  527. package/dist/index.es219.js +1 -1
  528. package/dist/index.es22.js +1 -1
  529. package/dist/index.es224.js +1 -1
  530. package/dist/index.es226.js +1 -1
  531. package/dist/index.es227.js +5 -5
  532. package/dist/index.es228.js +1 -1
  533. package/dist/index.es229.js +1 -1
  534. package/dist/index.es23.js +1 -1
  535. package/dist/index.es231.js +1 -1
  536. package/dist/index.es232.js +1 -1
  537. package/dist/index.es233.js +1 -1
  538. package/dist/index.es234.js +1 -1
  539. package/dist/index.es237.js +241 -7505
  540. package/dist/index.es237.js.map +1 -1
  541. package/dist/index.es238.js +43 -2
  542. package/dist/index.es238.js.map +1 -1
  543. package/dist/index.es239.js +3 -243
  544. package/dist/index.es239.js.map +1 -1
  545. package/dist/index.es24.js +1 -1
  546. package/dist/index.es240.js +8 -40
  547. package/dist/index.es240.js.map +1 -1
  548. package/dist/index.es241.js +11 -3
  549. package/dist/index.es241.js.map +1 -1
  550. package/dist/index.es242.js +29 -9
  551. package/dist/index.es242.js.map +1 -1
  552. package/dist/index.es243.js +13 -10
  553. package/dist/index.es243.js.map +1 -1
  554. package/dist/index.es244.js +4 -30
  555. package/dist/index.es244.js.map +1 -1
  556. package/dist/index.es245.js +7506 -13
  557. package/dist/index.es245.js.map +1 -1
  558. package/dist/index.es246.js +2 -5
  559. package/dist/index.es246.js.map +1 -1
  560. package/dist/index.es248.js +4 -6
  561. package/dist/index.es248.js.map +1 -1
  562. package/dist/index.es249.js +6 -4
  563. package/dist/index.es249.js.map +1 -1
  564. package/dist/index.es25.js +1 -1
  565. package/dist/index.es255.js +1 -1
  566. package/dist/index.es257.js +1 -1
  567. package/dist/index.es26.js +2 -2
  568. package/dist/index.es261.js +1 -1
  569. package/dist/index.es262.js +2 -2
  570. package/dist/index.es265.js +1 -1
  571. package/dist/index.es268.js +1 -1
  572. package/dist/index.es27.js +2 -2
  573. package/dist/index.es270.js +15 -2
  574. package/dist/index.es270.js.map +1 -1
  575. package/dist/index.es271.js +69 -4
  576. package/dist/index.es271.js.map +1 -1
  577. package/dist/index.es272.js +4 -15
  578. package/dist/index.es272.js.map +1 -1
  579. package/dist/index.es273.js +2 -69
  580. package/dist/index.es273.js.map +1 -1
  581. package/dist/index.es29.js +2 -2
  582. package/dist/index.es32.js +2 -2
  583. package/dist/index.es36.js +2 -2
  584. package/dist/index.es45.js +1 -1
  585. package/dist/index.es50.js +1 -1
  586. package/dist/index.es51.js +1 -1
  587. package/dist/index.es52.js +1 -1
  588. package/dist/index.es53.js +1 -1
  589. package/dist/index.es55.js +1 -1
  590. package/dist/index.es56.js +2 -2
  591. package/dist/index.es57.js +2 -2
  592. package/dist/index.es58.js +4 -4
  593. package/dist/index.es59.js +1 -1
  594. package/dist/index.es60.js +2 -2
  595. package/dist/index.es61.js +3 -3
  596. package/dist/index.es62.js +2 -2
  597. package/dist/index.es63.js +1 -1
  598. package/dist/index.es69.js +1 -1
  599. package/dist/index.es7.js +17 -9
  600. package/dist/index.es7.js.map +1 -1
  601. package/dist/index.es71.js +1 -1
  602. package/dist/index.es72.js +1 -1
  603. package/dist/index.es73.js +1 -1
  604. package/dist/index.es74.js +1 -1
  605. package/dist/index.es76.js +1 -1
  606. package/dist/index.es77.js +1 -1
  607. package/dist/index.es79.js +7 -21351
  608. package/dist/index.es79.js.map +1 -1
  609. package/dist/index.es81.js +25 -7
  610. package/dist/index.es81.js.map +1 -1
  611. package/dist/index.es82.js +589 -2
  612. package/dist/index.es82.js.map +1 -1
  613. package/dist/index.es83.js +1992 -25
  614. package/dist/index.es83.js.map +1 -1
  615. package/dist/index.es84.js +5 -588
  616. package/dist/index.es84.js.map +1 -1
  617. package/dist/index.es85.js +2 -1993
  618. package/dist/index.es85.js.map +1 -1
  619. package/dist/index.es86.js +21351 -5
  620. package/dist/index.es86.js.map +1 -1
  621. package/dist/index.es87.js +2 -2
  622. package/dist/index.es92.js +18 -273
  623. package/dist/index.es92.js.map +1 -1
  624. package/dist/index.es93.js +273 -15
  625. package/dist/index.es93.js.map +1 -1
  626. package/dist/index.es94.js +14 -18
  627. package/dist/index.es94.js.map +1 -1
  628. package/dist/index.es95.js +18 -4
  629. package/dist/index.es95.js.map +1 -1
  630. package/dist/index.es96.js +4 -3
  631. package/dist/index.es96.js.map +1 -1
  632. package/dist/index.es97.js +3 -3
  633. package/dist/index.es97.js.map +1 -1
  634. package/dist/index.es98.js +3 -4
  635. package/dist/index.es98.js.map +1 -1
  636. package/dist/index.es99.js +4 -3
  637. package/dist/index.es99.js.map +1 -1
  638. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";function s(r,t){if(!r)throw new Error(t)}module.exports=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
2
2
  //# sourceMappingURL=index.cjs246.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs246.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/assert.js"],"sourcesContent":["export default function assert(condition, message) {\n if (!condition) {\n throw new Error(message);\n }\n}\n//# sourceMappingURL=assert.js.map"],"names":["assert","condition","message"],"mappings":"aAAA,SAAwBA,EAAOC,EAAWC,EAAS,CAC/C,GAAI,CAACD,EACD,MAAM,IAAI,MAAMC,CAAO,CAE/B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs246.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs37.js");function u(r){return function(t){var e=r(t);return typeof e=="number"&&e>=0&&e<=n.MAX_ARRAY_INDEX}}module.exports=u;
1
+ "use strict";function n(t){return function(r){return r?.[t]}}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs248.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs248.js","sources":["../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":"iDAGA,SAAwBA,EAAwBC,EAAiB,CAC/D,OAAO,SAASC,EAAY,CAC1B,IAAIC,EAAeF,EAAgBC,CAAU,EAC7C,OAAO,OAAOC,GAAgB,UAAYA,GAAgB,GAAKA,GAAgBC,EAAAA,eACjF,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs248.js","sources":["../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAA8BA,IAAID,CAAG,CACvC,CACF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function n(t){return function(r){return r?.[t]}}module.exports=n;
1
+ "use strict";const n=require("./index.cjs37.js");function u(r){return function(t){var e=r(t);return typeof e=="number"&&e>=0&&e<=n.MAX_ARRAY_INDEX}}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs249.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs249.js","sources":["../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAA8BA,IAAID,CAAG,CACvC,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs249.js","sources":["../node_modules/underscore/modules/_createSizePropertyCheck.js"],"sourcesContent":["import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n return function(collection) {\n var sizeProperty = getSizeProperty(collection);\n return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n }\n}\n"],"names":["createSizePropertyCheck","getSizeProperty","collection","sizeProperty","MAX_ARRAY_INDEX"],"mappings":"iDAGA,SAAwBA,EAAwBC,EAAiB,CAC/D,OAAO,SAASC,EAAY,CAC1B,IAAIC,EAAeF,EAAgBC,CAAU,EAC7C,OAAO,OAAOC,GAAgB,UAAYA,GAAgB,GAAKA,GAAgBC,EAAAA,eACjF,CACF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),l=require("./index.cjs243.js"),c=require("./index.cjs30.js");function r(t){const o=c.useControl(({mapLib:n})=>new n.LogoControl(t),{position:t.position});return e.useEffect(()=>{l.applyReactStyle(o._container,t.style)},[t.style]),null}e.memo(r);
1
+ "use strict";const e=require("react"),l=require("./index.cjs241.js"),c=require("./index.cjs30.js");function r(t){const o=c.useControl(({mapLib:n})=>new n.LogoControl(t),{position:t.position});return e.useEffect(()=>{l.applyReactStyle(o._container,t.style)},[t.style]),null}e.memo(r);
2
2
  //# sourceMappingURL=index.cjs25.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs270.js");function r(){var n=[],t;return{point:function(i,u){t.push([i,u])},lineStart:function(){n.push(t=[])},lineEnd:e,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var i=n;return n=[],t=null,i}}}module.exports=r;
1
+ "use strict";const e=require("./index.cjs273.js");function r(){var n=[],t;return{point:function(i,u){t.push([i,u])},lineStart:function(){n.push(t=[])},lineEnd:e,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var i=n;return n=[],t=null,i}}}module.exports=r;
2
2
  //# sourceMappingURL=index.cjs255.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const A=require("./index.cjs271.js");function d(h,v,f,o){this.x=h,this.z=v,this.o=f,this.e=o,this.v=!1,this.n=this.p=null}function B(h,v,f,o,n){var x=[],s=[],l,z;if(h.forEach(function(w){if(!((g=w.length-1)<=0)){var g,u=w[0],q=w[g],t;if(A(u,q)){for(n.lineStart(),l=0;l<g;++l)n.point((u=w[l])[0],u[1]);n.lineEnd();return}x.push(t=new d(u,w,null,!0)),s.push(t.o=new d(u,null,t,!1)),x.push(t=new d(q,w,null,!1)),s.push(t.o=new d(q,null,t,!0))}}),!!x.length){for(s.sort(v),P(x),P(s),l=0,z=s.length;l<z;++l)s[l].e=f=!f;for(var k=x[0],p,E;;){for(var i=k,e=!0;i.v;)if((i=i.n)===k)return;p=i.z,n.lineStart();do{if(i.v=i.o.v=!0,i.e){if(e)for(l=0,z=p.length;l<z;++l)n.point((E=p[l])[0],E[1]);else o(i.x,i.n.x,1,n);i=i.n}else{if(e)for(p=i.p.z,l=p.length-1;l>=0;--l)n.point((E=p[l])[0],E[1]);else o(i.x,i.p.x,-1,n);i=i.p}i=i.o,p=i.z,e=!e}while(!i.v);n.lineEnd()}}}function P(h){if(v=h.length){for(var v,f=0,o=h[0],n;++f<v;)o.n=n=h[f],n.p=o,o=n;o.n=n=h[0],n.p=o}}module.exports=B;
1
+ "use strict";const A=require("./index.cjs272.js");function d(h,v,f,o){this.x=h,this.z=v,this.o=f,this.e=o,this.v=!1,this.n=this.p=null}function B(h,v,f,o,n){var x=[],s=[],l,z;if(h.forEach(function(w){if(!((g=w.length-1)<=0)){var g,u=w[0],q=w[g],t;if(A(u,q)){for(n.lineStart(),l=0;l<g;++l)n.point((u=w[l])[0],u[1]);n.lineEnd();return}x.push(t=new d(u,w,null,!0)),s.push(t.o=new d(u,null,t,!1)),x.push(t=new d(q,w,null,!1)),s.push(t.o=new d(q,null,t,!0))}}),!!x.length){for(s.sort(v),P(x),P(s),l=0,z=s.length;l<z;++l)s[l].e=f=!f;for(var k=x[0],p,E;;){for(var i=k,e=!0;i.v;)if((i=i.n)===k)return;p=i.z,n.lineStart();do{if(i.v=i.o.v=!0,i.e){if(e)for(l=0,z=p.length;l<z;++l)n.point((E=p[l])[0],E[1]);else o(i.x,i.n.x,1,n);i=i.n}else{if(e)for(p=i.p.z,l=p.length-1;l>=0;--l)n.point((E=p[l])[0],E[1]);else o(i.x,i.p.x,-1,n);i=i.p}i=i.o,p=i.z,e=!e}while(!i.v);n.lineEnd()}}}function P(h){if(v=h.length){for(var v,f=0,o=h[0],n;++f<v;)o.n=n=h[f],n.p=o,o=n;o.n=n=h[0],n.p=o}}module.exports=B;
2
2
  //# sourceMappingURL=index.cjs257.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),d=require("./index.cjs16.js"),s=require("./index.cjs246.js"),f=require("./index.cjs244.js");function y(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const g=y(u);let S=0;function m(t,e,n){if(t.style&&t.style._loaded){const r={...n};return delete r.id,delete r.children,t.addSource(e,r),t.getSource(e)}return null}function b(t,e,n){s(e.id===n.id,"source id changed"),s(e.type===n.type,"source type changed");let r="",o=0;for(const c in e)c!=="children"&&c!=="id"&&!f.deepEqual(n[c],e[c])&&(r=c,o++);if(!o)return;const a=e.type;if(a==="geojson")t.setData(e.data);else if(a==="image")t.updateImage({url:e.url,coordinates:e.coordinates});else switch(r){case"coordinates":t.setCoordinates?.(e.coordinates);break;case"url":t.setUrl?.(e.url);break;case"tiles":t.setTiles?.(e.tiles);break;default:console.warn(`Unable to update <Source> prop: ${r}`)}}function h(t){const e=u.useContext(d.MapContext).map.getMap(),n=u.useRef(t),[,r]=u.useState(0),o=u.useMemo(()=>t.id||`jsx-source-${S++}`,[]);u.useEffect(()=>{if(e){const c=()=>setTimeout(()=>r(l=>l+1),0);return e.on("styledata",c),c(),()=>{if(e.off("styledata",c),e.style&&e.style._loaded&&e.getSource(o)){const l=e.getStyle()?.layers;if(l)for(const i of l)i.source===o&&e.removeLayer(i.id);e.removeSource(o)}}}},[e]);let a=e&&e.style&&e.getSource(o);return a?b(a,t,n.current):a=m(e,o,t),n.current=t,a&&g.Children.map(t.children,c=>c&&u.cloneElement(c,{source:o}))||null}exports.Source=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),d=require("./index.cjs16.js"),s=require("./index.cjs244.js"),f=require("./index.cjs242.js");function y(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const g=y(u);let S=0;function m(t,e,n){if(t.style&&t.style._loaded){const r={...n};return delete r.id,delete r.children,t.addSource(e,r),t.getSource(e)}return null}function b(t,e,n){s(e.id===n.id,"source id changed"),s(e.type===n.type,"source type changed");let r="",o=0;for(const c in e)c!=="children"&&c!=="id"&&!f.deepEqual(n[c],e[c])&&(r=c,o++);if(!o)return;const a=e.type;if(a==="geojson")t.setData(e.data);else if(a==="image")t.updateImage({url:e.url,coordinates:e.coordinates});else switch(r){case"coordinates":t.setCoordinates?.(e.coordinates);break;case"url":t.setUrl?.(e.url);break;case"tiles":t.setTiles?.(e.tiles);break;default:console.warn(`Unable to update <Source> prop: ${r}`)}}function h(t){const e=u.useContext(d.MapContext).map.getMap(),n=u.useRef(t),[,r]=u.useState(0),o=u.useMemo(()=>t.id||`jsx-source-${S++}`,[]);u.useEffect(()=>{if(e){const c=()=>setTimeout(()=>r(l=>l+1),0);return e.on("styledata",c),c(),()=>{if(e.off("styledata",c),e.style&&e.style._loaded&&e.getSource(o)){const l=e.getStyle()?.layers;if(l)for(const i of l)i.source===o&&e.removeLayer(i.id);e.removeSource(o)}}}},[e]);let a=e&&e.style&&e.getSource(o);return a?b(a,t,n.current):a=m(e,o,t),n.current=t,a&&g.Children.map(t.children,c=>c&&u.cloneElement(c,{source:o}))||null}exports.Source=h;
2
2
  //# sourceMappingURL=index.cjs26.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs273.js"),i=require("./index.cjs253.js"),N=s(function(){return!0},P,A,[-i.pi,-i.halfPi]);function P(p){var l=NaN,t=NaN,n=NaN,o;return{lineStart:function(){p.lineStart(),o=1},point:function(c,e){var u=c>0?i.pi:-i.pi,f=i.abs(c-l);i.abs(f-i.pi)<i.epsilon?(p.point(l,t=(t+e)/2>0?i.halfPi:-i.halfPi),p.point(n,t),p.lineEnd(),p.lineStart(),p.point(u,t),p.point(c,t),o=0):n!==u&&f>=i.pi&&(i.abs(l-n)<i.epsilon&&(l-=n*i.epsilon),i.abs(c-u)<i.epsilon&&(c-=u*i.epsilon),t=v(l,t,c,e),p.point(n,t),p.lineEnd(),p.lineStart(),p.point(u,t),o=0),p.point(l=c,t=e),n=u},lineEnd:function(){p.lineEnd(),l=t=NaN},clean:function(){return 2-o}}}function v(p,l,t,n){var o,c,e=i.sin(p-t);return i.abs(e)>i.epsilon?i.atan((i.sin(l)*(c=i.cos(n))*i.sin(t)-i.sin(n)*(o=i.cos(l))*i.sin(p))/(o*c*e)):(l+n)/2}function A(p,l,t,n){var o;if(p==null)o=t*i.halfPi,n.point(-i.pi,o),n.point(0,o),n.point(i.pi,o),n.point(i.pi,0),n.point(i.pi,-o),n.point(0,-o),n.point(-i.pi,-o),n.point(-i.pi,0),n.point(-i.pi,o);else if(i.abs(p[0]-l[0])>i.epsilon){var c=p[0]<l[0]?i.pi:-i.pi;o=t*c/2,n.point(-c,o),n.point(0,o),n.point(c,o)}else n.point(l[0],l[1])}module.exports=N;
1
+ "use strict";const s=require("./index.cjs271.js"),i=require("./index.cjs253.js"),N=s(function(){return!0},P,A,[-i.pi,-i.halfPi]);function P(p){var l=NaN,t=NaN,n=NaN,o;return{lineStart:function(){p.lineStart(),o=1},point:function(c,e){var u=c>0?i.pi:-i.pi,f=i.abs(c-l);i.abs(f-i.pi)<i.epsilon?(p.point(l,t=(t+e)/2>0?i.halfPi:-i.halfPi),p.point(n,t),p.lineEnd(),p.lineStart(),p.point(u,t),p.point(c,t),o=0):n!==u&&f>=i.pi&&(i.abs(l-n)<i.epsilon&&(l-=n*i.epsilon),i.abs(c-u)<i.epsilon&&(c-=u*i.epsilon),t=v(l,t,c,e),p.point(n,t),p.lineEnd(),p.lineStart(),p.point(u,t),o=0),p.point(l=c,t=e),n=u},lineEnd:function(){p.lineEnd(),l=t=NaN},clean:function(){return 2-o}}}function v(p,l,t,n){var o,c,e=i.sin(p-t);return i.abs(e)>i.epsilon?i.atan((i.sin(l)*(c=i.cos(n))*i.sin(t)-i.sin(n)*(o=i.cos(l))*i.sin(p))/(o*c*e)):(l+n)/2}function A(p,l,t,n){var o;if(p==null)o=t*i.halfPi,n.point(-i.pi,o),n.point(0,o),n.point(i.pi,o),n.point(i.pi,0),n.point(i.pi,-o),n.point(0,-o),n.point(-i.pi,-o),n.point(-i.pi,0),n.point(-i.pi,o);else if(i.abs(p[0]-l[0])>i.epsilon){var c=p[0]<l[0]?i.pi:-i.pi;o=t*c/2,n.point(-c,o),n.point(0,o),n.point(c,o)}else n.point(l[0],l[1])}module.exports=N;
2
2
  //# sourceMappingURL=index.cjs261.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs252.js"),Q=require("./index.cjs251.js"),e=require("./index.cjs253.js"),j=require("./index.cjs271.js"),T=require("./index.cjs273.js");function U(d,G){var D=e.cos(d),x=D>0,J=e.abs(D)>e.epsilon;function K(n,i,o,r){Q.circleStream(r,d,G,o,n,i)}function L(n,i){return e.cos(n)*e.cos(i)>D}function M(n){var i,o,r,C,u;return{lineStart:function(){C=r=!1,u=1},point:function(s,v){var c=[s,v],a,l=L(s,v),z=x?l?0:k(s,v):l?k(s+(s<0?e.pi:-e.pi),v):0;if(!i&&(C=r=l)&&n.lineStart(),l!==r&&(a=h(i,c),(!a||j(i,a)||j(c,a))&&(c[0]+=e.epsilon,c[1]+=e.epsilon,l=L(c[0],c[1]))),l!==r)u=0,l?(n.lineStart(),a=h(c,i),n.point(a[0],a[1])):(a=h(i,c),n.point(a[0],a[1]),n.lineEnd()),i=a;else if(J&&i&&x^l){var p;!(z&o)&&(p=h(c,i,!0))&&(u=0,x?(n.lineStart(),n.point(p[0][0],p[0][1]),n.point(p[1][0],p[1][1]),n.lineEnd()):(n.point(p[1][0],p[1][1]),n.lineEnd(),n.lineStart(),n.point(p[0][0],p[0][1])))}l&&(!i||!j(i,c))&&n.point(c[0],c[1]),i=c,r=l,o=z},lineEnd:function(){r&&n.lineEnd(),i=null},clean:function(){return u|(C&&r)<<1}}}function h(n,i,o){var r=t.cartesian(n),C=t.cartesian(i),u=[1,0,0],s=t.cartesianCross(r,C),v=t.cartesianDot(s,s),c=s[0],a=v-c*c;if(!a)return!o&&n;var l=D*v/a,z=-D*c/a,p=t.cartesianCross(u,s),S=t.cartesianScale(u,l),N=t.cartesianScale(s,z);t.cartesianAddInPlace(S,N);var I=p,B=t.cartesianDot(S,I),R=t.cartesianDot(I,I),w=B*B-R*(t.cartesianDot(S,S)-1);if(!(w<0)){var y=e.sqrt(w),f=t.cartesianScale(I,(-B-y)/R);if(t.cartesianAddInPlace(f,S),f=t.spherical(f),!o)return f;var q=n[0],P=i[0],E=n[1],A=i[1],H;P<q&&(H=q,q=P,P=H);var b=P-q,g=e.abs(b-e.pi)<e.epsilon,O=g||b<e.epsilon;if(!g&&A<E&&(H=E,E=A,A=H),O?g?E+A>0^f[1]<(e.abs(f[0]-q)<e.epsilon?E:A):E<=f[1]&&f[1]<=A:b>e.pi^(q<=f[0]&&f[0]<=P)){var F=t.cartesianScale(I,(-B+y)/R);return t.cartesianAddInPlace(F,S),[f,t.spherical(F)]}}}function k(n,i){var o=x?d:e.pi-d,r=0;return n<-o?r|=1:n>o&&(r|=2),i<-o?r|=4:i>o&&(r|=8),r}return T(L,M,K,x?[0,-d]:[-e.pi,d-e.pi])}module.exports=U;
1
+ "use strict";const t=require("./index.cjs252.js"),Q=require("./index.cjs251.js"),e=require("./index.cjs253.js"),j=require("./index.cjs272.js"),T=require("./index.cjs271.js");function U(d,G){var D=e.cos(d),x=D>0,J=e.abs(D)>e.epsilon;function K(n,i,o,r){Q.circleStream(r,d,G,o,n,i)}function L(n,i){return e.cos(n)*e.cos(i)>D}function M(n){var i,o,r,C,u;return{lineStart:function(){C=r=!1,u=1},point:function(s,v){var c=[s,v],a,l=L(s,v),z=x?l?0:k(s,v):l?k(s+(s<0?e.pi:-e.pi),v):0;if(!i&&(C=r=l)&&n.lineStart(),l!==r&&(a=h(i,c),(!a||j(i,a)||j(c,a))&&(c[0]+=e.epsilon,c[1]+=e.epsilon,l=L(c[0],c[1]))),l!==r)u=0,l?(n.lineStart(),a=h(c,i),n.point(a[0],a[1])):(a=h(i,c),n.point(a[0],a[1]),n.lineEnd()),i=a;else if(J&&i&&x^l){var p;!(z&o)&&(p=h(c,i,!0))&&(u=0,x?(n.lineStart(),n.point(p[0][0],p[0][1]),n.point(p[1][0],p[1][1]),n.lineEnd()):(n.point(p[1][0],p[1][1]),n.lineEnd(),n.lineStart(),n.point(p[0][0],p[0][1])))}l&&(!i||!j(i,c))&&n.point(c[0],c[1]),i=c,r=l,o=z},lineEnd:function(){r&&n.lineEnd(),i=null},clean:function(){return u|(C&&r)<<1}}}function h(n,i,o){var r=t.cartesian(n),C=t.cartesian(i),u=[1,0,0],s=t.cartesianCross(r,C),v=t.cartesianDot(s,s),c=s[0],a=v-c*c;if(!a)return!o&&n;var l=D*v/a,z=-D*c/a,p=t.cartesianCross(u,s),S=t.cartesianScale(u,l),N=t.cartesianScale(s,z);t.cartesianAddInPlace(S,N);var I=p,B=t.cartesianDot(S,I),R=t.cartesianDot(I,I),w=B*B-R*(t.cartesianDot(S,S)-1);if(!(w<0)){var y=e.sqrt(w),f=t.cartesianScale(I,(-B-y)/R);if(t.cartesianAddInPlace(f,S),f=t.spherical(f),!o)return f;var q=n[0],P=i[0],E=n[1],A=i[1],H;P<q&&(H=q,q=P,P=H);var b=P-q,g=e.abs(b-e.pi)<e.epsilon,O=g||b<e.epsilon;if(!g&&A<E&&(H=E,E=A,A=H),O?g?E+A>0^f[1]<(e.abs(f[0]-q)<e.epsilon?E:A):E<=f[1]&&f[1]<=A:b>e.pi^(q<=f[0]&&f[0]<=P)){var F=t.cartesianScale(I,(-B+y)/R);return t.cartesianAddInPlace(F,S),[f,t.spherical(F)]}}}function k(n,i){var o=x?d:e.pi-d,r=0;return n<-o?r|=1:n>o&&(r|=2),i<-o?r|=4:i>o&&(r|=8),r}return T(L,M,K,x?[0,-d]:[-e.pi,d-e.pi])}module.exports=U;
2
2
  //# sourceMappingURL=index.cjs262.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs267.js"),s=require("./index.cjs272.js");function f(t,l,u){var e=l[1][0]-l[0][0],n=l[1][1]-l[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),a!=null&&t.clipExtent(null),b(u,t.stream(s));var i=s.result(),r=Math.min(e/(i[1][0]-i[0][0]),n/(i[1][1]-i[0][1])),c=+l[0][0]+(e-r*(i[1][0]+i[0][0]))/2,E=+l[0][1]+(n-r*(i[1][1]+i[0][1]))/2;return a!=null&&t.clipExtent(a),t.scale(r*150).translate([c,E])}function m(t,l,u){return f(t,[[0,0],l],u)}exports.fitExtent=f;exports.fitSize=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs267.js"),s=require("./index.cjs270.js");function f(t,l,u){var e=l[1][0]-l[0][0],n=l[1][1]-l[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),a!=null&&t.clipExtent(null),b(u,t.stream(s));var i=s.result(),r=Math.min(e/(i[1][0]-i[0][0]),n/(i[1][1]-i[0][1])),c=+l[0][0]+(e-r*(i[1][0]+i[0][0]))/2,E=+l[0][1]+(n-r*(i[1][1]+i[0][1]))/2;return a!=null&&t.clipExtent(a),t.scale(r*150).translate([c,E])}function m(t,l,u){return f(t,[[0,0],l],u)}exports.fitExtent=f;exports.fitSize=m;
2
2
  //# sourceMappingURL=index.cjs265.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs244.js");function d(n){return{longitude:n.center.lng,latitude:n.center.lat,zoom:n.zoom,pitch:n.pitch,bearing:n.bearing,padding:n.padding}}function g(n,t){const e=t.viewState||t,i={};if("longitude"in e&&"latitude"in e&&(e.longitude!==n.center.lng||e.latitude!==n.center.lat)){const a=n.center.constructor;i.center=new a(e.longitude,e.latitude)}return"zoom"in e&&e.zoom!==n.zoom&&(i.zoom=e.zoom),"bearing"in e&&e.bearing!==n.bearing&&(i.bearing=e.bearing),"pitch"in e&&e.pitch!==n.pitch&&(i.pitch=e.pitch),e.padding&&n.padding&&!o.deepEqual(e.padding,n.padding)&&(i.padding=e.padding),i}exports.applyViewStateToTransform=g;exports.transformToViewState=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs242.js");function d(n){return{longitude:n.center.lng,latitude:n.center.lat,zoom:n.zoom,pitch:n.pitch,bearing:n.bearing,padding:n.padding}}function g(n,t){const e=t.viewState||t,i={};if("longitude"in e&&"latitude"in e&&(e.longitude!==n.center.lng||e.latitude!==n.center.lat)){const a=n.center.constructor;i.center=new a(e.longitude,e.latitude)}return"zoom"in e&&e.zoom!==n.zoom&&(i.zoom=e.zoom),"bearing"in e&&e.bearing!==n.bearing&&(i.bearing=e.bearing),"pitch"in e&&e.pitch!==n.pitch&&(i.pitch=e.pitch),e.padding&&n.padding&&!o.deepEqual(e.padding,n.padding)&&(i.padding=e.padding),i}exports.applyViewStateToTransform=g;exports.transformToViewState=d;
2
2
  //# sourceMappingURL=index.cjs268.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),g=require("./index.cjs16.js"),L=require("./index.cjs246.js"),l=require("./index.cjs244.js");function m(t,e,a,o){if(L(a.id===o.id,"layer id changed"),L(a.type===o.type,"layer type changed"),a.type==="custom"||o.type==="custom")return;const{layout:r={},paint:i={},filter:y,minzoom:f,maxzoom:s,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)l.deepEqual(r[n],c[n])||t.setLayoutProperty(e,n,r[n]);for(const n in c)r.hasOwnProperty(n)||t.setLayoutProperty(e,n,void 0)}if(i!==o.paint){const c=o.paint||{};for(const n in i)l.deepEqual(i[n],c[n])||t.setPaintProperty(e,n,i[n]);for(const n in c)i.hasOwnProperty(n)||t.setPaintProperty(e,n,void 0)}l.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||s!==o.maxzoom)&&t.setLayerZoomRange(e,f,s)}function q(t,e,a){if(t.style&&t.style._loaded&&(!("source"in a)||t.getSource(a.source))){const o={...a,id:e};delete o.beforeId,t.addLayer(o,a.beforeId)}}let b=0;function h(t){const e=u.useContext(g.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${b++}`,[]);if(u.useEffect(()=>{if(e){const y=()=>o(f=>f+1);return e.on("styledata",y),y(),()=>{e.off("styledata",y),e.style&&e.style._loaded&&e.getLayer(r)&&e.removeLayer(r)}}},[e]),e&&e.style&&e.getLayer(r))try{m(e,r,t,a.current)}catch(y){console.warn(y)}else q(e,r,t);return a.current=t,null}exports.Layer=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),g=require("./index.cjs16.js"),L=require("./index.cjs244.js"),l=require("./index.cjs242.js");function m(t,e,a,o){if(L(a.id===o.id,"layer id changed"),L(a.type===o.type,"layer type changed"),a.type==="custom"||o.type==="custom")return;const{layout:r={},paint:i={},filter:y,minzoom:f,maxzoom:s,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)l.deepEqual(r[n],c[n])||t.setLayoutProperty(e,n,r[n]);for(const n in c)r.hasOwnProperty(n)||t.setLayoutProperty(e,n,void 0)}if(i!==o.paint){const c=o.paint||{};for(const n in i)l.deepEqual(i[n],c[n])||t.setPaintProperty(e,n,i[n]);for(const n in c)i.hasOwnProperty(n)||t.setPaintProperty(e,n,void 0)}l.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||s!==o.maxzoom)&&t.setLayerZoomRange(e,f,s)}function q(t,e,a){if(t.style&&t.style._loaded&&(!("source"in a)||t.getSource(a.source))){const o={...a,id:e};delete o.beforeId,t.addLayer(o,a.beforeId)}}let b=0;function h(t){const e=u.useContext(g.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${b++}`,[]);if(u.useEffect(()=>{if(e){const y=()=>o(f=>f+1);return e.on("styledata",y),y(),()=>{e.off("styledata",y),e.style&&e.style._loaded&&e.getLayer(r)&&e.removeLayer(r)}}},[e]),e&&e.style&&e.getLayer(r))try{m(e,r,t,a.current)}catch(y){console.warn(y)}else q(e,r,t);return a.current=t,null}exports.Layer=h;
2
2
  //# sourceMappingURL=index.cjs27.js.map
@@ -1,2 +1,2 @@
1
- "use strict";function o(){}module.exports=o;
1
+ "use strict";const r=require("./index.cjs273.js");var t=1/0,e=t,i=-t,u=i,f={point:s,lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var n=[[t,e],[i,u]];return i=u=-(e=t=1/0),n}};function s(n,o){n<t&&(t=n),n>i&&(i=n),o<e&&(e=o),o>u&&(u=o)}module.exports=f;
2
2
  //# sourceMappingURL=index.cjs270.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs270.js","sources":["../../../node_modules/d3-geo/src/noop.js"],"sourcesContent":["export default function noop() {}\n"],"names":["noop"],"mappings":"aAAA,SAAwBA,GAAO,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs270.js","sources":["../../../node_modules/d3-geo/src/path/bounds.js"],"sourcesContent":["import noop from \"../noop\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n"],"names":["x0","y0","x1","y1","boundsStream","boundsPoint","noop","bounds","x","y"],"mappings":"kDAEA,IAAIA,EAAK,IACLC,EAAKD,EACLE,EAAK,CAACF,EACNG,EAAKD,EAELE,EAAe,CACjB,MAAOC,EACP,UAAWC,EACX,QAASA,EACT,aAAcA,EACd,WAAYA,EACZ,OAAQ,UAAW,CACjB,IAAIC,EAAS,CAAC,CAACP,EAAIC,CAAE,EAAG,CAACC,EAAIC,CAAE,CAAC,EAChC,OAAAD,EAAKC,EAAK,EAAEF,EAAKD,EAAK,KACfO,CACT,CACF,EAEA,SAASF,EAAYG,EAAGC,EAAG,CACrBD,EAAIR,IAAIA,EAAKQ,GACbA,EAAIN,IAAIA,EAAKM,GACbC,EAAIR,IAAIA,EAAKQ,GACbA,EAAIN,IAAIA,EAAKM,EACnB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs253.js");function n(t,e){return s.abs(t[0]-e[0])<s.epsilon&&s.abs(t[1]-e[1])<s.epsilon}module.exports=n;
1
+ "use strict";const w=require("./index.cjs255.js"),z=require("./index.cjs257.js"),g=require("./index.cjs253.js"),A=require("./index.cjs202.js");require("./index.cjs201.js");const D=require("./index.cjs258.js");function F(r,u,d,s){return function(c,n){var h=u(n),C=c.invert(s[0],s[1]),v=w(),a=u(v),l=!1,S,f,p,o={point:y,lineStart:q,lineEnd:m,polygonStart:function(){o.point=P,o.lineStart=$,o.lineEnd=j,f=[],S=[]},polygonEnd:function(){o.point=y,o.lineStart=q,o.lineEnd=m,f=D(f);var e=A(S,C);f.length?(l||(n.polygonStart(),l=!0),z(f,H,e,d,n)):e&&(l||(n.polygonStart(),l=!0),n.lineStart(),d(null,null,1,n),n.lineEnd()),l&&(n.polygonEnd(),l=!1),f=S=null},sphere:function(){n.polygonStart(),n.lineStart(),d(null,null,1,n),n.lineEnd(),n.polygonEnd()}};function y(e,t){var i=c(e,t);r(e=i[0],t=i[1])&&n.point(e,t)}function R(e,t){var i=c(e,t);h.point(i[0],i[1])}function q(){o.point=R,h.lineStart()}function m(){o.point=y,h.lineEnd()}function P(e,t){p.push([e,t]);var i=c(e,t);a.point(i[0],i[1])}function $(){a.lineStart(),p=[]}function j(){P(p[0][0],p[0][1]),a.lineEnd();var e=a.clean(),t=v.result(),i,x=t.length,I,E,B;if(p.pop(),S.push(p),p=null,!!x){if(e&1){if(E=t[0],(I=E.length-1)>0){for(l||(n.polygonStart(),l=!0),n.lineStart(),i=0;i<I;++i)n.point((B=E[i])[0],B[1]);n.lineEnd()}return}x>1&&e&2&&t.push(t.pop().concat(t.shift())),f.push(t.filter(G))}}return o}}function G(r){return r.length>1}function H(r,u){return((r=r.x)[0]<0?r[1]-g.halfPi-g.epsilon:g.halfPi-r[1])-((u=u.x)[0]<0?u[1]-g.halfPi-g.epsilon:g.halfPi-u[1])}module.exports=F;
2
2
  //# sourceMappingURL=index.cjs271.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs271.js","sources":["../../../node_modules/d3-geo/src/pointEqual.js"],"sourcesContent":["import {abs, epsilon} from \"./math\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n"],"names":["pointEqual","a","b","abs","epsilon"],"mappings":"kDAEA,SAAAA,EAAwBC,EAAGC,EAAG,CAC5B,OAAOC,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,EAAAA,SAAWD,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,EAAAA,OAC1D","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs271.js","sources":["../../../node_modules/d3-geo/src/clip/index.js"],"sourcesContent":["import clipBuffer from \"./buffer\";\nimport clipPolygon from \"./polygon\";\nimport {epsilon, halfPi} from \"../math\";\nimport polygonContains from \"../polygonContains\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(rotate, sink) {\n var line = clipLine(sink),\n rotatedStart = rotate.invert(start[0], start[1]),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1])) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n"],"names":["clip","pointVisible","clipLine","interpolate","start","rotate","sink","line","rotatedStart","ringBuffer","clipBuffer","ringSink","polygonStarted","polygon","segments","ring","point","lineStart","lineEnd","pointRing","ringStart","ringEnd","merge","startInside","polygonContains","clipPolygon","compareIntersection","lambda","phi","pointLine","clean","ringSegments","n","m","segment","validSegment","a","b","halfPi","epsilon"],"mappings":"iNAMA,SAAAA,EAAwBC,EAAcC,EAAUC,EAAaC,EAAO,CAClE,OAAO,SAASC,EAAQC,EAAM,CAC5B,IAAIC,EAAOL,EAASI,CAAI,EACpBE,EAAeH,EAAO,OAAOD,EAAM,CAAC,EAAGA,EAAM,CAAC,CAAC,EAC/CK,EAAaC,IACbC,EAAWT,EAASO,CAAU,EAC9BG,EAAiB,GACjBC,EACAC,EACAC,EAEAf,EAAO,CACT,MAAAgB,EACA,UAAAC,EACA,QAAAC,EACA,aAAc,UAAW,CACvBlB,EAAK,MAAQmB,EACbnB,EAAK,UAAYoB,EACjBpB,EAAK,QAAUqB,EACfP,EAAW,CAAA,EACXD,EAAU,CAAA,CACZ,EACA,WAAY,UAAW,CACrBb,EAAK,MAAQgB,EACbhB,EAAK,UAAYiB,EACjBjB,EAAK,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i=-t,u=i,f={point:s,lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var n=[[t,e],[i,u]];return i=u=-(e=t=1/0),n}};function s(n,o){n<t&&(t=n),n>i&&(i=n),o<e&&(e=o),o>u&&(u=o)}module.exports=f;
1
+ "use strict";const s=require("./index.cjs253.js");function n(t,e){return s.abs(t[0]-e[0])<s.epsilon&&s.abs(t[1]-e[1])<s.epsilon}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs272.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs272.js","sources":["../../../node_modules/d3-geo/src/path/bounds.js"],"sourcesContent":["import noop from \"../noop\";\n\nvar x0 = Infinity,\n y0 = x0,\n x1 = -x0,\n y1 = x1;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function() {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n};\n\nfunction boundsPoint(x, y) {\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n}\n\nexport default boundsStream;\n"],"names":["x0","y0","x1","y1","boundsStream","boundsPoint","noop","bounds","x","y"],"mappings":"kDAEA,IAAIA,EAAK,IACLC,EAAKD,EACLE,EAAK,CAACF,EACNG,EAAKD,EAELE,EAAe,CACjB,MAAOC,EACP,UAAWC,EACX,QAASA,EACT,aAAcA,EACd,WAAYA,EACZ,OAAQ,UAAW,CACjB,IAAIC,EAAS,CAAC,CAACP,EAAIC,CAAE,EAAG,CAACC,EAAIC,CAAE,CAAC,EAChC,OAAAD,EAAKC,EAAK,EAAEF,EAAKD,EAAK,KACfO,CACT,CACF,EAEA,SAASF,EAAYG,EAAGC,EAAG,CACrBD,EAAIR,IAAIA,EAAKQ,GACbA,EAAIN,IAAIA,EAAKM,GACbC,EAAIR,IAAIA,EAAKQ,GACbA,EAAIN,IAAIA,EAAKM,EACnB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs272.js","sources":["../../../node_modules/d3-geo/src/pointEqual.js"],"sourcesContent":["import {abs, epsilon} from \"./math\";\n\nexport default function(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n}\n"],"names":["pointEqual","a","b","abs","epsilon"],"mappings":"kDAEA,SAAAA,EAAwBC,EAAGC,EAAG,CAC5B,OAAOC,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,EAAAA,SAAWD,EAAAA,IAAIF,EAAE,CAAC,EAAIC,EAAE,CAAC,CAAC,EAAIE,EAAAA,OAC1D","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const w=require("./index.cjs255.js"),z=require("./index.cjs257.js"),g=require("./index.cjs253.js"),A=require("./index.cjs202.js");require("./index.cjs201.js");const D=require("./index.cjs258.js");function F(r,u,d,s){return function(c,n){var h=u(n),C=c.invert(s[0],s[1]),v=w(),a=u(v),l=!1,S,f,p,o={point:y,lineStart:q,lineEnd:m,polygonStart:function(){o.point=P,o.lineStart=$,o.lineEnd=j,f=[],S=[]},polygonEnd:function(){o.point=y,o.lineStart=q,o.lineEnd=m,f=D(f);var e=A(S,C);f.length?(l||(n.polygonStart(),l=!0),z(f,H,e,d,n)):e&&(l||(n.polygonStart(),l=!0),n.lineStart(),d(null,null,1,n),n.lineEnd()),l&&(n.polygonEnd(),l=!1),f=S=null},sphere:function(){n.polygonStart(),n.lineStart(),d(null,null,1,n),n.lineEnd(),n.polygonEnd()}};function y(e,t){var i=c(e,t);r(e=i[0],t=i[1])&&n.point(e,t)}function R(e,t){var i=c(e,t);h.point(i[0],i[1])}function q(){o.point=R,h.lineStart()}function m(){o.point=y,h.lineEnd()}function P(e,t){p.push([e,t]);var i=c(e,t);a.point(i[0],i[1])}function $(){a.lineStart(),p=[]}function j(){P(p[0][0],p[0][1]),a.lineEnd();var e=a.clean(),t=v.result(),i,x=t.length,I,E,B;if(p.pop(),S.push(p),p=null,!!x){if(e&1){if(E=t[0],(I=E.length-1)>0){for(l||(n.polygonStart(),l=!0),n.lineStart(),i=0;i<I;++i)n.point((B=E[i])[0],B[1]);n.lineEnd()}return}x>1&&e&2&&t.push(t.pop().concat(t.shift())),f.push(t.filter(G))}}return o}}function G(r){return r.length>1}function H(r,u){return((r=r.x)[0]<0?r[1]-g.halfPi-g.epsilon:g.halfPi-r[1])-((u=u.x)[0]<0?u[1]-g.halfPi-g.epsilon:g.halfPi-u[1])}module.exports=F;
1
+ "use strict";function o(){}module.exports=o;
2
2
  //# sourceMappingURL=index.cjs273.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs273.js","sources":["../../../node_modules/d3-geo/src/clip/index.js"],"sourcesContent":["import clipBuffer from \"./buffer\";\nimport clipPolygon from \"./polygon\";\nimport {epsilon, halfPi} from \"../math\";\nimport polygonContains from \"../polygonContains\";\nimport {merge} from \"d3-array\";\n\nexport default function(pointVisible, clipLine, interpolate, start) {\n return function(rotate, sink) {\n var line = clipLine(sink),\n rotatedStart = rotate.invert(start[0], start[1]),\n ringBuffer = clipBuffer(),\n ringSink = clipLine(ringBuffer),\n polygonStarted = false,\n polygon,\n segments,\n ring;\n\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function() {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function() {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n } else if (startInside) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted) sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function() {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1])) sink.point(lambda, phi);\n }\n\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n\n var clean = ringSink.clean(),\n ringSegments = ringBuffer.result(),\n i, n = ringSegments.length, m,\n segment,\n point;\n\n ring.pop();\n polygon.push(ring);\n ring = null;\n\n if (!n) return;\n\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted) sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i) sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2) ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n\n segments.push(ringSegments.filter(validSegment));\n }\n\n return clip;\n };\n}\n\nfunction validSegment(segment) {\n return segment.length > 1;\n}\n\n// Intersections are sorted along the clip edge. For both antimeridian cutting\n// and circle clipping, the same comparison is used.\nfunction compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n}\n"],"names":["clip","pointVisible","clipLine","interpolate","start","rotate","sink","line","rotatedStart","ringBuffer","clipBuffer","ringSink","polygonStarted","polygon","segments","ring","point","lineStart","lineEnd","pointRing","ringStart","ringEnd","merge","startInside","polygonContains","clipPolygon","compareIntersection","lambda","phi","pointLine","clean","ringSegments","n","m","segment","validSegment","a","b","halfPi","epsilon"],"mappings":"iNAMA,SAAAA,EAAwBC,EAAcC,EAAUC,EAAaC,EAAO,CAClE,OAAO,SAASC,EAAQC,EAAM,CAC5B,IAAIC,EAAOL,EAASI,CAAI,EACpBE,EAAeH,EAAO,OAAOD,EAAM,CAAC,EAAGA,EAAM,CAAC,CAAC,EAC/CK,EAAaC,IACbC,EAAWT,EAASO,CAAU,EAC9BG,EAAiB,GACjBC,EACAC,EACAC,EAEAf,EAAO,CACT,MAAAgB,EACA,UAAAC,EACA,QAAAC,EACA,aAAc,UAAW,CACvBlB,EAAK,MAAQmB,EACbnB,EAAK,UAAYoB,EACjBpB,EAAK,QAAUqB,EACfP,EAAW,CAAA,EACXD,EAAU,CAAA,CACZ,EACA,WAAY,UAAW,CACrBb,EAAK,MAAQgB,EACbhB,EAAK,UAAYiB,EACjBjB,EAAK,QAAUkB,EACfJ,EAAWQ,EAAMR,CAAQ,EACzB,IAAIS,EAAcC,EAAgBX,EAASL,CAAY,EACnDM,EAAS,QACNF,IAAgBN,EAAK,aAAA,EAAgBM,EAAiB,IAC3Da,EAAYX,EAAUY,EAAqBH,EAAapB,EAAaG,CAAI,GAChEiB,IACJX,IAAgBN,EAAK,aAAA,EAAgBM,EAAiB,IAC3DN,EAAK,UAAA,EACLH,EAAY,KAAM,KAAM,EAAGG,CAAI,EAC/BA,EAAK,QAAA,GAEHM,IAAgBN,EAAK,WAAA,EAAcM,EAAiB,IACxDE,EAAWD,EAAU,IACvB,EACA,OAAQ,UAAW,CACjBP,EAAK,aAAA,EACLA,EAAK,UAAA,EACLH,EAAY,KAAM,KAAM,EAAGG,CAAI,EAC/BA,EAAK,QAAA,EACLA,EAAK,WAAA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EAAE,EAAG3B,EAAK,OAAOU,EAAQkB,EAAQ,CAAC,GAAG,CAAC,EAAGlB,EAAM,CAAC,CAAC,EACpEV,EAAK,QAAA,CACP,CACA,MACF,CAII0B,EAAI,GAAKF,EAAQ,GAAGC,EAAa,KAAKA,EAAa,IAAA,EAAM,OAAOA,EAAa,MAAA,CAAO,CAAC,EAEzFjB,EAAS,KAAKiB,EAAa,OAAOI,CAAY,CAAC,EACjD,CAEA,OAAOnC,CACT,CACF,CAEA,SAASmC,EAAaD,EAAS,CAC7B,OAAOA,EAAQ,OAAS,CAC1B,CAIA,SAASR,EAAoBU,EAAGC,EAAG,CACjC,QAASD,EAAIA,EAAE,GAAG,CAAC,EAAI,EAAIA,EAAE,CAAC,EAAIE,EAAAA,OAASC,EAAAA,QAAUD,EAAAA,OAASF,EAAE,CAAC,KACxDC,EAAIA,EAAE,GAAG,CAAC,EAAI,EAAIA,EAAE,CAAC,EAAIC,EAAAA,OAASC,EAAAA,QAAUD,EAAAA,OAASD,EAAE,CAAC,EACnE","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs273.js","sources":["../../../node_modules/d3-geo/src/noop.js"],"sourcesContent":["export default function noop() {}\n"],"names":["noop"],"mappings":"aAAA,SAAwBA,GAAO,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs86.js"),e=require("./index.cjs85.js");var o=e.__require();const s=r.getDefaultExportFromCjs(o);module.exports=s;
1
+ "use strict";const r=require("./index.cjs84.js"),e=require("./index.cjs83.js");var o=e.__require();const s=r.getDefaultExportFromCjs(o);module.exports=s;
2
2
  //# sourceMappingURL=index.cjs29.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index.cjs86.js"),u=require("./index.cjs79.js");function c(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const l=Object.getOwnPropertyDescriptor(e,r);l&&Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=u.__require();const s=a.getDefaultExportFromCjs(i),p=c({__proto__:null,default:s},[i]);exports.Li=p;exports.default=s;exports.maplibreGlExports=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index.cjs84.js"),u=require("./index.cjs86.js");function c(t,n){for(var o=0;o<n.length;o++){const e=n[o];if(typeof e!="string"&&!Array.isArray(e)){for(const r in e)if(r!=="default"&&!(r in t)){const l=Object.getOwnPropertyDescriptor(e,r);l&&Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var i=u.__require();const s=a.getDefaultExportFromCjs(i),p=c({__proto__:null,default:s},[i]);exports.Li=p;exports.default=s;exports.maplibreGlExports=i;
2
2
  //# sourceMappingURL=index.cjs32.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs92.js"),i=require("./index.cjs93.js");var e=i(r);e._=e;module.exports=e;
1
+ "use strict";const r=require("./index.cjs93.js"),i=require("./index.cjs94.js");var e=i(r);e._=e;module.exports=e;
2
2
  //# sourceMappingURL=index.cjs36.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs41.js"),o=require("./index.cjs108.js");function e(r){return o(r)?r:[r]}t.toPath=e;module.exports=e;
1
+ "use strict";const t=require("./index.cjs41.js"),o=require("./index.cjs109.js");function e(r){return o(r)?r:[r]}t.toPath=e;module.exports=e;
2
2
  //# sourceMappingURL=index.cjs45.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs94.js"),h=require("./index.cjs228.js"),i=require("./index.cjs41.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
1
+ "use strict";const l=require("./index.cjs95.js"),h=require("./index.cjs228.js"),i=require("./index.cjs41.js");var a=l(function(o,e){var c=a.placeholder,s=function(){for(var t=0,u=e.length,n=Array(u),r=0;r<u;r++)n[r]=e[r]===c?arguments[t++]:e[r];for(;t<arguments.length;)n.push(arguments[t++]);return h(o,s,this,this,n)};return s});a.placeholder=i;module.exports=a;
2
2
  //# sourceMappingURL=index.cjs50.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs94.js"),i=require("./index.cjs38.js"),c=require("./index.cjs228.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
1
+ "use strict";const e=require("./index.cjs95.js"),i=require("./index.cjs38.js"),c=require("./index.cjs228.js"),s=e(function(n,r,o){if(!i(n))throw new TypeError("Bind must be called on a function");var t=e(function(u){return c(n,t,r,this,o.concat(u))});return t});module.exports=s;
2
2
  //# sourceMappingURL=index.cjs51.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs94.js"),s=require("./index.cjs229.js"),l=require("./index.cjs51.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
1
+ "use strict";const i=require("./index.cjs95.js"),s=require("./index.cjs229.js"),l=require("./index.cjs51.js"),u=i(function(n,r){r=s(r,!1,!1);var e=r.length;if(e<1)throw new Error("bindAll must be passed function names");for(;e--;){var t=r[e];n[t]=l(n[t],n)}return n});module.exports=u;
2
2
  //# sourceMappingURL=index.cjs52.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs94.js"),u=r(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)});module.exports=u;
1
+ "use strict";const r=require("./index.cjs95.js"),u=r(function(t,e,n){return setTimeout(function(){return t.apply(null,n)},e)});module.exports=u;
2
2
  //# sourceMappingURL=index.cjs53.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs50.js"),r=require("./index.cjs151.js"),t=e(r,2);module.exports=t;
1
+ "use strict";const e=require("./index.cjs50.js"),r=require("./index.cjs152.js"),t=e(r,2);module.exports=t;
2
2
  //# sourceMappingURL=index.cjs55.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs94.js"),c=require("./index.cjs38.js"),l=require("./index.cjs161.js"),f=require("./index.cjs221.js"),q=require("./index.cjs220.js"),v=t(function(s,e,o){var i,u;return c(e)?u=e:(e=q(e),i=e.slice(0,-1),e=e[e.length-1]),l(s,function(r){var n=u;if(!n){if(i&&i.length&&(r=f(r,i)),r==null)return;n=r[e]}return n==null?n:n.apply(r,o)})});module.exports=v;
1
+ "use strict";const t=require("./index.cjs95.js"),c=require("./index.cjs38.js"),l=require("./index.cjs162.js"),f=require("./index.cjs221.js"),q=require("./index.cjs220.js"),v=t(function(s,e,o){var i,u;return c(e)?u=e:(e=q(e),i=e.slice(0,-1),e=e[e.length-1]),l(s,function(r){var n=u;if(!n){if(i&&i.length&&(r=f(r,i)),r==null)return;n=r[e]}return n==null?n:n.apply(r,o)})});module.exports=v;
2
2
  //# sourceMappingURL=index.cjs56.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs94.js"),f=require("./index.cjs38.js"),a=require("./index.cjs223.js"),o=require("./index.cjs117.js"),q=require("./index.cjs235.js"),g=require("./index.cjs229.js"),p=l(function(t,r){var n={},e=r[0];if(t==null)return n;f(e)?(r.length>1&&(e=a(e,r[1])),r=o(t)):(e=q,r=g(r,!1,!1),t=Object(t));for(var i=0,s=r.length;i<s;i++){var u=r[i],c=t[u];e(c,u,t)&&(n[u]=c)}return n});module.exports=p;
1
+ "use strict";const l=require("./index.cjs95.js"),f=require("./index.cjs38.js"),a=require("./index.cjs223.js"),o=require("./index.cjs118.js"),q=require("./index.cjs235.js"),g=require("./index.cjs229.js"),p=l(function(t,r){var n={},e=r[0];if(t==null)return n;f(e)?(r.length>1&&(e=a(e,r[1])),r=o(t)):(e=q,r=g(r,!1,!1),t=Object(t));for(var i=0,s=r.length;i<s;i++){var u=r[i],c=t[u];e(c,u,t)&&(n[u]=c)}return n});module.exports=p;
2
2
  //# sourceMappingURL=index.cjs57.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs94.js"),o=require("./index.cjs38.js"),u=require("./index.cjs148.js"),s=require("./index.cjs161.js"),a=require("./index.cjs229.js"),f=require("./index.cjs168.js"),q=require("./index.cjs57.js"),l=c(function(n,t){var e=t[0],r;return o(e)?(e=u(e),t.length>1&&(r=t[1])):(t=s(a(t,!1,!1),String),e=function(g,i){return!f(t,i)}),q(n,e,r)});module.exports=l;
1
+ "use strict";const c=require("./index.cjs95.js"),o=require("./index.cjs38.js"),u=require("./index.cjs149.js"),s=require("./index.cjs162.js"),a=require("./index.cjs229.js"),f=require("./index.cjs169.js"),q=require("./index.cjs57.js"),l=c(function(n,t){var e=t[0],r;return o(e)?(e=u(e),t.length>1&&(r=t[1])):(t=s(a(t,!1,!1),String),e=function(g,i){return!f(t,i)}),q(n,e,r)});module.exports=l;
2
2
  //# sourceMappingURL=index.cjs58.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs94.js"),n=require("./index.cjs61.js"),s=r(function(e,t){return n(e,t)});module.exports=s;
1
+ "use strict";const r=require("./index.cjs95.js"),n=require("./index.cjs61.js"),s=r(function(e,t){return n(e,t)});module.exports=s;
2
2
  //# sourceMappingURL=index.cjs59.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs94.js"),r=require("./index.cjs188.js"),n=require("./index.cjs229.js"),u=e(function(t){return r(n(t,!0,!0))});module.exports=u;
1
+ "use strict";const e=require("./index.cjs95.js"),r=require("./index.cjs189.js"),n=require("./index.cjs229.js"),u=e(function(t){return r(n(t,!0,!0))});module.exports=u;
2
2
  //# sourceMappingURL=index.cjs60.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs94.js"),u=require("./index.cjs229.js"),c=require("./index.cjs164.js"),i=require("./index.cjs168.js"),o=n(function(r,e){return e=u(e,!0,!0),c(r,function(t){return!i(e,t)})});module.exports=o;
1
+ "use strict";const n=require("./index.cjs95.js"),u=require("./index.cjs229.js"),c=require("./index.cjs165.js"),i=require("./index.cjs169.js"),o=n(function(r,e){return e=u(e,!0,!0),c(r,function(t){return!i(e,t)})});module.exports=o;
2
2
  //# sourceMappingURL=index.cjs61.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs94.js"),r=require("./index.cjs190.js"),s=e(r);module.exports=s;
1
+ "use strict";const e=require("./index.cjs95.js"),r=require("./index.cjs191.js"),s=e(r);module.exports=s;
2
2
  //# sourceMappingURL=index.cjs62.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs41.js"),s=require("./index.cjs160.js"),i=require("./index.cjs37.js"),n=require("./index.cjs236.js");s(["pop","push","reverse","shift","sort","splice","unshift"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(r==="shift"||r==="splice")&&t.length===0&&delete t[0]),n(this,t)}});s(["concat","join","slice"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),n(this,t)}});module.exports=o;
1
+ "use strict";const o=require("./index.cjs41.js"),s=require("./index.cjs161.js"),i=require("./index.cjs37.js"),n=require("./index.cjs236.js");s(["pop","push","reverse","shift","sort","splice","unshift"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(e.apply(t,arguments),(r==="shift"||r==="splice")&&t.length===0&&delete t[0]),n(this,t)}});s(["concat","join","slice"],function(r){var e=i.ArrayProto[r];o.prototype[r]=function(){var t=this._wrapped;return t!=null&&(t=e.apply(t,arguments)),n(this,t)}});module.exports=o;
2
2
  //# sourceMappingURL=index.cjs63.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs194.js");function u(n,e={}){if(n.bbox!=null&&e.recompute!==!0)return n.bbox;const i=[1/0,1/0,-1/0,-1/0];return f.coordEach(n,t=>{i[0]>t[0]&&(i[0]=t[0]),i[1]>t[1]&&(i[1]=t[1]),i[2]<t[0]&&(i[2]=t[0]),i[3]<t[1]&&(i[3]=t[1])}),i}exports.bbox=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs195.js");function u(n,e={}){if(n.bbox!=null&&e.recompute!==!0)return n.bbox;const i=[1/0,1/0,-1/0,-1/0];return f.coordEach(n,t=>{i[0]>t[0]&&(i[0]=t[0]),i[1]>t[1]&&(i[1]=t[1]),i[2]<t[0]&&(i[2]=t[0]),i[3]<t[1]&&(i[3]=t[1])}),i}exports.bbox=u;
2
2
  //# sourceMappingURL=index.cjs69.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs15.js"),u=require("@peripleo/maplibre"),l=require("react"),q=require("./index.cjs36.js");require("./index.cjs37.js");require("./index.cjs38.js");require("./index.cjs39.js");require("./index.cjs40.js");require("./index.cjs41.js");require("./index.cjs42.js");require("./index.cjs43.js");require("./index.cjs44.js");require("./index.cjs45.js");require("./index.cjs46.js");require("./index.cjs47.js");require("./index.cjs48.js");require("./index.cjs49.js");require("./index.cjs50.js");require("./index.cjs51.js");require("./index.cjs52.js");require("./index.cjs53.js");require("./index.cjs54.js");require("./index.cjs55.js");require("./index.cjs56.js");require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");const n=require("./index.cjs14.js"),o=require("./index.cjs13.js"),d=2,s=e=>{const t=u.useLoadedMap(),r=l.useMemo(()=>q.isEmpty(e.data)?null:e.data,[e.data]);return l.useEffect(()=>{if(t&&r&&e.fitBoundingBox){const a=o.getBoundingBox(r,e.buffer);a&&t.fitBounds(a,e.boundingBoxOptions,e.boundingBoxData)}},[t,e.buffer,e.data,e.boundingBoxData,e.boundingBoxOptions,e.fitBoundingBox]),r?i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[e.animate&&i.jsxRuntimeExports.jsx(u.PulsingMarkerLayer,{data:e.data,id:e.layerId}),i.jsxRuntimeExports.jsx(u.GeoJSONLayer,{cluster:e.cluster,clusterMaxZoom:e.clusterMaxZoom,clusterMinPoints:e.clusterMinPoints,clusterProperties:e.clusterProperties,clusterRadius:e.clusterRadius,data:e.data,fillStyle:e.fillStyle,id:e.layerId,interactive:e.interactive,strokeStyle:e.strokeStyle,pointStyle:e.pointStyle,visible:e.visible})]}):null};s.defaultProps={buffer:d,fillStyle:n.fill,fitBoundingBox:!0,pointStyle:n.point,strokeStyle:n.stroke};module.exports=s;
1
+ "use strict";const i=require("./index.cjs15.js"),u=require("@peripleo/maplibre"),l=require("react"),q=require("./index.cjs36.js");require("./index.cjs37.js");require("./index.cjs38.js");require("./index.cjs39.js");require("./index.cjs40.js");require("./index.cjs41.js");require("./index.cjs42.js");require("./index.cjs43.js");require("./index.cjs44.js");require("./index.cjs45.js");require("./index.cjs46.js");require("./index.cjs47.js");require("./index.cjs48.js");require("./index.cjs49.js");require("./index.cjs50.js");require("./index.cjs51.js");require("./index.cjs52.js");require("./index.cjs53.js");require("./index.cjs54.js");require("./index.cjs55.js");require("./index.cjs56.js");require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");const n=require("./index.cjs14.js"),s=require("./index.cjs13.js"),d=2,o=e=>{const t=u.useLoadedMap(),r=l.useMemo(()=>q.isEmpty(e.data)?null:e.data,[e.data]);return l.useEffect(()=>{if(t&&r&&e.fitBoundingBox){const a=e.boundingBox??s.getBoundingBox(r,e.buffer);a&&t.fitBounds(a,e.boundingBoxOptions,e.boundingBoxData)}},[t,e.buffer,e.data,e.boundingBox,e.boundingBoxData,e.boundingBoxOptions,e.fitBoundingBox]),r?i.jsxRuntimeExports.jsxs(i.jsxRuntimeExports.Fragment,{children:[e.animate&&i.jsxRuntimeExports.jsx(u.PulsingMarkerLayer,{data:e.data,id:e.layerId}),i.jsxRuntimeExports.jsx(u.GeoJSONLayer,{cluster:e.cluster,clusterMaxZoom:e.clusterMaxZoom,clusterMinPoints:e.clusterMinPoints,clusterProperties:e.clusterProperties,clusterRadius:e.clusterRadius,data:e.data,fillStyle:e.fillStyle,id:e.layerId,interactive:e.interactive,strokeStyle:e.strokeStyle,pointStyle:e.pointStyle,visible:e.visible})]}):null};o.defaultProps={buffer:d,fillStyle:n.fill,fitBoundingBox:!0,pointStyle:n.point,strokeStyle:n.stroke};module.exports=o;
2
2
  //# sourceMappingURL=index.cjs7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs7.js","sources":["../src/components/LocationMarkers.js"],"sourcesContent":["// @flow\n\nimport { GeoJSONLayer, PulsingMarkerLayer, useLoadedMap } from '@peripleo/maplibre';\nimport React, { useEffect, useMemo } from 'react';\nimport _ from 'underscore';\nimport MapStyles from '../utils/MapStyles';\nimport MapUtils from '../utils/Map';\n\ntype Props = {\n /**\n * If `true`, the point marker will display with a pulsing animation.\n */\n animate?: boolean,\n\n /**\n * (Optional) data to pass to the fitToBounds function.\n */\n boundingBoxData?: any,\n\n /**\n * (Optional) options to pass to the fitToBounds function.\n * See [spec](https://maplibre.org/maplibre-gl-js/docs/API/types/FitBoundsOptions/).\n */\n boundingBoxOptions?: any,\n\n /**\n * The number of miles to buffer the GeoJSON data.\n */\n buffer: number,\n\n /**\n * If true, markers will be clustered before the specified zoom level.\n */\n cluster?: boolean,\n\n /**\n * Max zoom to cluster points on.\n */\n clusterMaxZoom?: number,\n\n /**\n * Minimum number of points necessary to form a cluster.\n */\n clusterMinPoints?: number,\n\n /**\n * An object defining custom properties on the generated clusters.\n */\n clusterProperties?: any,\n\n /**\n * Radius of each cluster when clustering point.\n */\n clusterRadius?: number,\n\n /**\n * The GeoJSON data representing the location.\n */\n data: { [key: string]: any },\n\n /**\n * GeoJSON layer fill style.\n */\n fillStyle?: { [key: string]: any },\n\n /**\n * If `true`, the map will fit the bounding box around the passed data.\n */\n fitBoundingBox?: boolean,\n\n /**\n * If `true`, the selection and hover state will apply to the layer.\n */\n interactive?: boolean,\n\n /**\n * An ID value to apply to the layer.\n */\n layerId?: string,\n\n /**\n * GeoJSON layer point style.\n */\n pointStyle?: { [key: string]: any },\n\n /**\n * GeoJSON layer stroke style\n */\n strokeStyle?: { [key: string]: any },\n\n /**\n * If true, the layer will be visible on the map.\n */\n visible?: boolean\n};\n\nconst DEFAULT_BUFFER = 2;\n\n/**\n * This component renders a location marker to be used in a Peripleo context.\n */\nconst LocationMarkers = (props: Props) => {\n const map = useLoadedMap();\n\n /**\n * Memo-izes the data prop.\n *\n * @type {{[p: string]: *}}\n */\n const data = useMemo(() => (_.isEmpty(props.data) ? null : props.data), [props.data]);\n\n /**\n * Sets the bounding box on the map.\n */\n useEffect(() => {\n if (map && data && props.fitBoundingBox) {\n const bbox = MapUtils.getBoundingBox(data, props.buffer);\n\n if (bbox) {\n map.fitBounds(bbox, props.boundingBoxOptions, props.boundingBoxData);\n }\n }\n }, [map, props.buffer, props.data, props.boundingBoxData, props.boundingBoxOptions, props.fitBoundingBox]);\n\n if (!data) {\n return null;\n }\n\n return (\n <>\n { props.animate && (\n <PulsingMarkerLayer\n data={props.data}\n id={props.layerId}\n />\n )}\n <GeoJSONLayer\n cluster={props.cluster}\n clusterMaxZoom={props.clusterMaxZoom}\n clusterMinPoints={props.clusterMinPoints}\n clusterProperties={props.clusterProperties}\n clusterRadius={props.clusterRadius}\n data={props.data}\n fillStyle={props.fillStyle}\n id={props.layerId}\n interactive={props.interactive}\n strokeStyle={props.strokeStyle}\n pointStyle={props.pointStyle}\n visible={props.visible}\n />\n </>\n );\n};\n\nLocationMarkers.defaultProps = {\n buffer: DEFAULT_BUFFER,\n fillStyle: MapStyles.fill,\n fitBoundingBox: true,\n pointStyle: MapStyles.point,\n strokeStyle: MapStyles.stroke\n};\n\nexport default LocationMarkers;\n"],"names":["DEFAULT_BUFFER","LocationMarkers","props","map","useLoadedMap","data","useMemo","_","useEffect","bbox","MapUtils","jsxs","Fragment","jsx","PulsingMarkerLayer","GeoJSONLayer","MapStyles"],"mappings":"w7BAgGMA,EAAiB,EAKjBC,EAAmBC,GAAiB,CACxC,MAAMC,EAAMC,EAAAA,aAAA,EAONC,EAAOC,EAAAA,QAAQ,IAAOC,EAAE,QAAQL,EAAM,IAAI,EAAI,KAAOA,EAAM,KAAO,CAACA,EAAM,IAAI,CAAC,EAepF,OAVAM,EAAAA,UAAU,IAAM,CACd,GAAIL,GAAOE,GAAQH,EAAM,eAAgB,CACvC,MAAMO,EAAOC,EAAS,eAAeL,EAAMH,EAAM,MAAM,EAEnDO,GACFN,EAAI,UAAUM,EAAMP,EAAM,mBAAoBA,EAAM,eAAe,CAEvE,CACF,EAAG,CAACC,EAAKD,EAAM,OAAQA,EAAM,KAAMA,EAAM,gBAAiBA,EAAM,mBAAoBA,EAAM,cAAc,CAAC,EAEpGG,EAKHM,EAAAA,kBAAAA,KAAAC,6BAAA,CACI,SAAA,CAAAV,EAAM,SACNW,EAAAA,kBAAAA,IAACC,EAAAA,mBAAA,CACC,KAAMZ,EAAM,KACZ,GAAIA,EAAM,OAAA,CAAA,EAGdW,EAAAA,kBAAAA,IAACE,EAAAA,aAAA,CACC,QAASb,EAAM,QACf,eAAgBA,EAAM,eACtB,iBAAkBA,EAAM,iBACxB,kBAAmBA,EAAM,kBACzB,cAAeA,EAAM,cACrB,KAAMA,EAAM,KACZ,UAAWA,EAAM,UACjB,GAAIA,EAAM,QACV,YAAaA,EAAM,YACnB,YAAaA,EAAM,YACnB,WAAYA,EAAM,WAClB,QAASA,EAAM,OAAA,CAAA,CACjB,EACF,EAzBO,IA2BX,EAEAD,EAAgB,aAAe,CAC7B,OAAQD,EACR,UAAWgB,EAAU,KACrB,eAAgB,GAChB,WAAYA,EAAU,MACtB,YAAaA,EAAU,MACzB"}
1
+ {"version":3,"file":"index.cjs7.js","sources":["../src/components/LocationMarkers.js"],"sourcesContent":["// @flow\n\nimport { GeoJSONLayer, PulsingMarkerLayer, useLoadedMap } from '@peripleo/maplibre';\nimport React, { useEffect, useMemo } from 'react';\nimport _ from 'underscore';\nimport MapStyles from '../utils/MapStyles';\nimport MapUtils from '../utils/Map';\n\ntype Props = {\n /**\n * If `true`, the point marker will display with a pulsing animation.\n */\n animate?: boolean,\n\n /**\n * (Optional) bounding box to fit the map to.\n * If not provided, the bounding box will be calculated from the data.\n */\n boundingBox?: any,\n\n /**\n * (Optional) data to pass to the fitToBounds function.\n */\n boundingBoxData?: any,\n\n /**\n * (Optional) options to pass to the fitToBounds function.\n * See [spec](https://maplibre.org/maplibre-gl-js/docs/API/types/FitBoundsOptions/).\n */\n boundingBoxOptions?: any,\n\n /**\n * The number of miles to buffer the GeoJSON data.\n */\n buffer: number,\n\n /**\n * If true, markers will be clustered before the specified zoom level.\n */\n cluster?: boolean,\n\n /**\n * Max zoom to cluster points on.\n */\n clusterMaxZoom?: number,\n\n /**\n * Minimum number of points necessary to form a cluster.\n */\n clusterMinPoints?: number,\n\n /**\n * An object defining custom properties on the generated clusters.\n */\n clusterProperties?: any,\n\n /**\n * Radius of each cluster when clustering point.\n */\n clusterRadius?: number,\n\n /**\n * The GeoJSON data representing the location.\n */\n data: { [key: string]: any },\n\n /**\n * GeoJSON layer fill style.\n */\n fillStyle?: { [key: string]: any },\n\n /**\n * If `true`, the map will fit the bounding box around the passed data.\n */\n fitBoundingBox?: boolean,\n\n /**\n * If `true`, the selection and hover state will apply to the layer.\n */\n interactive?: boolean,\n\n /**\n * An ID value to apply to the layer.\n */\n layerId?: string,\n\n /**\n * GeoJSON layer point style.\n */\n pointStyle?: { [key: string]: any },\n\n /**\n * GeoJSON layer stroke style\n */\n strokeStyle?: { [key: string]: any },\n\n /**\n * If true, the layer will be visible on the map.\n */\n visible?: boolean\n};\n\nconst DEFAULT_BUFFER = 2;\n\n/**\n * This component renders a location marker to be used in a Peripleo context.\n */\nconst LocationMarkers = (props: Props) => {\n const map = useLoadedMap();\n\n /**\n * Memo-izes the data prop.\n *\n * @type {{[p: string]: *}}\n */\n const data = useMemo(() => (_.isEmpty(props.data) ? null : props.data), [props.data]);\n\n /**\n * Sets the bounding box on the map.\n */\n useEffect(() => {\n if (map && data && props.fitBoundingBox) {\n const bbox = props.boundingBox ?? MapUtils.getBoundingBox(data, props.buffer);\n\n if (bbox) {\n map.fitBounds(bbox, props.boundingBoxOptions, props.boundingBoxData);\n }\n }\n }, [\n map,\n props.buffer,\n props.data,\n props.boundingBox,\n props.boundingBoxData,\n props.boundingBoxOptions,\n props.fitBoundingBox\n ]);\n\n if (!data) {\n return null;\n }\n\n return (\n <>\n { props.animate && (\n <PulsingMarkerLayer\n data={props.data}\n id={props.layerId}\n />\n )}\n <GeoJSONLayer\n cluster={props.cluster}\n clusterMaxZoom={props.clusterMaxZoom}\n clusterMinPoints={props.clusterMinPoints}\n clusterProperties={props.clusterProperties}\n clusterRadius={props.clusterRadius}\n data={props.data}\n fillStyle={props.fillStyle}\n id={props.layerId}\n interactive={props.interactive}\n strokeStyle={props.strokeStyle}\n pointStyle={props.pointStyle}\n visible={props.visible}\n />\n </>\n );\n};\n\nLocationMarkers.defaultProps = {\n buffer: DEFAULT_BUFFER,\n fillStyle: MapStyles.fill,\n fitBoundingBox: true,\n pointStyle: MapStyles.point,\n strokeStyle: MapStyles.stroke\n};\n\nexport default LocationMarkers;\n"],"names":["DEFAULT_BUFFER","LocationMarkers","props","map","useLoadedMap","data","useMemo","_","useEffect","bbox","MapUtils","jsxs","Fragment","jsx","PulsingMarkerLayer","GeoJSONLayer","MapStyles"],"mappings":"w7BAsGMA,EAAiB,EAKjBC,EAAmBC,GAAiB,CACxC,MAAMC,EAAMC,EAAAA,aAAA,EAONC,EAAOC,EAAAA,QAAQ,IAAOC,EAAE,QAAQL,EAAM,IAAI,EAAI,KAAOA,EAAM,KAAO,CAACA,EAAM,IAAI,CAAC,EAuBpF,OAlBAM,EAAAA,UAAU,IAAM,CACd,GAAIL,GAAOE,GAAQH,EAAM,eAAgB,CACvC,MAAMO,EAAOP,EAAM,aAAeQ,EAAS,eAAeL,EAAMH,EAAM,MAAM,EAExEO,GACFN,EAAI,UAAUM,EAAMP,EAAM,mBAAoBA,EAAM,eAAe,CAEvE,CACF,EAAG,CACDC,EACAD,EAAM,OACNA,EAAM,KACNA,EAAM,YACNA,EAAM,gBACNA,EAAM,mBACNA,EAAM,cAAA,CACP,EAEIG,EAKHM,EAAAA,kBAAAA,KAAAC,6BAAA,CACI,SAAA,CAAAV,EAAM,SACNW,EAAAA,kBAAAA,IAACC,EAAAA,mBAAA,CACC,KAAMZ,EAAM,KACZ,GAAIA,EAAM,OAAA,CAAA,EAGdW,EAAAA,kBAAAA,IAACE,EAAAA,aAAA,CACC,QAASb,EAAM,QACf,eAAgBA,EAAM,eACtB,iBAAkBA,EAAM,iBACxB,kBAAmBA,EAAM,kBACzB,cAAeA,EAAM,cACrB,KAAMA,EAAM,KACZ,UAAWA,EAAM,UACjB,GAAIA,EAAM,QACV,YAAaA,EAAM,YACnB,YAAaA,EAAM,YACnB,WAAYA,EAAM,WAClB,QAASA,EAAM,OAAA,CAAA,CACjB,EACF,EAzBO,IA2BX,EAEAD,EAAgB,aAAe,CAC7B,OAAQD,EACR,UAAWgB,EAAU,KACrB,eAAgB,GAChB,WAAYA,EAAU,MACtB,YAAaA,EAAU,MACzB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs67.js"),g=require("./index.cjs195.js");function l(t,o,e={}){if(e.final===!0)return h(t,o);const s=g.getCoord(t),r=g.getCoord(o),i=n.degreesToRadians(s[0]),c=n.degreesToRadians(r[0]),d=n.degreesToRadians(s[1]),a=n.degreesToRadians(r[1]),u=Math.sin(c-i)*Math.cos(a),M=Math.cos(d)*Math.sin(a)-Math.sin(d)*Math.cos(a)*Math.cos(c-i);return n.radiansToDegrees(Math.atan2(u,M))}function h(t,o){let e=l(o,t);return e=(e+180)%360,e}exports.bearing=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs67.js"),g=require("./index.cjs92.js");function l(t,o,e={}){if(e.final===!0)return h(t,o);const s=g.getCoord(t),r=g.getCoord(o),i=n.degreesToRadians(s[0]),c=n.degreesToRadians(r[0]),d=n.degreesToRadians(s[1]),a=n.degreesToRadians(r[1]),u=Math.sin(c-i)*Math.cos(a),M=Math.cos(d)*Math.sin(a)-Math.sin(d)*Math.cos(a)*Math.cos(c-i);return n.radiansToDegrees(Math.atan2(u,M))}function h(t,o){let e=l(o,t);return e=(e+180)%360,e}exports.bearing=l;
2
2
  //# sourceMappingURL=index.cjs71.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs71.js","sources":["../node_modules/@turf/bearing/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { degreesToRadians, radiansToDegrees } from \"@turf/helpers\";\nimport { getCoord } from \"@turf/invariant\";\nfunction bearing(start, end, options = {}) {\n if (options.final === true) {\n return calculateFinalBearing(start, end);\n }\n const coordinates1 = getCoord(start);\n const coordinates2 = getCoord(end);\n const lon1 = degreesToRadians(coordinates1[0]);\n const lon2 = degreesToRadians(coordinates2[0]);\n const lat1 = degreesToRadians(coordinates1[1]);\n const lat2 = degreesToRadians(coordinates2[1]);\n const a = Math.sin(lon2 - lon1) * Math.cos(lat2);\n const b = Math.cos(lat1) * Math.sin(lat2) - Math.sin(lat1) * Math.cos(lat2) * Math.cos(lon2 - lon1);\n return radiansToDegrees(Math.atan2(a, b));\n}\nfunction calculateFinalBearing(start, end) {\n let bear = bearing(end, start);\n bear = (bear + 180) % 360;\n return bear;\n}\nvar turf_bearing_default = bearing;\nexport {\n bearing,\n turf_bearing_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["bearing","start","end","options","calculateFinalBearing","coordinates1","getCoord","coordinates2","lon1","degreesToRadians","lon2","lat1","lat2","a","b","radiansToDegrees","bear"],"mappings":"mJAGA,SAASA,EAAQC,EAAOC,EAAKC,EAAU,CAAA,EAAI,CACzC,GAAIA,EAAQ,QAAU,GACpB,OAAOC,EAAsBH,EAAOC,CAAG,EAEzC,MAAMG,EAAeC,EAAAA,SAASL,CAAK,EAC7BM,EAAeD,EAAAA,SAASJ,CAAG,EAC3BM,EAAOC,EAAAA,iBAAiBJ,EAAa,CAAC,CAAC,EACvCK,EAAOD,EAAAA,iBAAiBF,EAAa,CAAC,CAAC,EACvCI,EAAOF,EAAAA,iBAAiBJ,EAAa,CAAC,CAAC,EACvCO,EAAOH,EAAAA,iBAAiBF,EAAa,CAAC,CAAC,EACvCM,EAAI,KAAK,IAAIH,EAAOF,CAAI,EAAI,KAAK,IAAII,CAAI,EACzCE,EAAI,KAAK,IAAIH,CAAI,EAAI,KAAK,IAAIC,CAAI,EAAI,KAAK,IAAID,CAAI,EAAI,KAAK,IAAIC,CAAI,EAAI,KAAK,IAAIF,EAAOF,CAAI,EAClG,OAAOO,EAAAA,iBAAiB,KAAK,MAAMF,EAAGC,CAAC,CAAC,CAC1C,CACA,SAASV,EAAsBH,EAAOC,EAAK,CACzC,IAAIc,EAAOhB,EAAQE,EAAKD,CAAK,EAC7B,OAAAe,GAAQA,EAAO,KAAO,IACfA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs71.js","sources":["../node_modules/@turf/bearing/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { degreesToRadians, radiansToDegrees } from \"@turf/helpers\";\nimport { getCoord } from \"@turf/invariant\";\nfunction bearing(start, end, options = {}) {\n if (options.final === true) {\n return calculateFinalBearing(start, end);\n }\n const coordinates1 = getCoord(start);\n const coordinates2 = getCoord(end);\n const lon1 = degreesToRadians(coordinates1[0]);\n const lon2 = degreesToRadians(coordinates2[0]);\n const lat1 = degreesToRadians(coordinates1[1]);\n const lat2 = degreesToRadians(coordinates2[1]);\n const a = Math.sin(lon2 - lon1) * Math.cos(lat2);\n const b = Math.cos(lat1) * Math.sin(lat2) - Math.sin(lat1) * Math.cos(lat2) * Math.cos(lon2 - lon1);\n return radiansToDegrees(Math.atan2(a, b));\n}\nfunction calculateFinalBearing(start, end) {\n let bear = bearing(end, start);\n bear = (bear + 180) % 360;\n return bear;\n}\nvar turf_bearing_default = bearing;\nexport {\n bearing,\n turf_bearing_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["bearing","start","end","options","calculateFinalBearing","coordinates1","getCoord","coordinates2","lon1","degreesToRadians","lon2","lat1","lat2","a","b","radiansToDegrees","bear"],"mappings":"kJAGA,SAASA,EAAQC,EAAOC,EAAKC,EAAU,CAAA,EAAI,CACzC,GAAIA,EAAQ,QAAU,GACpB,OAAOC,EAAsBH,EAAOC,CAAG,EAEzC,MAAMG,EAAeC,EAAAA,SAASL,CAAK,EAC7BM,EAAeD,EAAAA,SAASJ,CAAG,EAC3BM,EAAOC,EAAAA,iBAAiBJ,EAAa,CAAC,CAAC,EACvCK,EAAOD,EAAAA,iBAAiBF,EAAa,CAAC,CAAC,EACvCI,EAAOF,EAAAA,iBAAiBJ,EAAa,CAAC,CAAC,EACvCO,EAAOH,EAAAA,iBAAiBF,EAAa,CAAC,CAAC,EACvCM,EAAI,KAAK,IAAIH,EAAOF,CAAI,EAAI,KAAK,IAAII,CAAI,EACzCE,EAAI,KAAK,IAAIH,CAAI,EAAI,KAAK,IAAIC,CAAI,EAAI,KAAK,IAAID,CAAI,EAAI,KAAK,IAAIC,CAAI,EAAI,KAAK,IAAIF,EAAOF,CAAI,EAClG,OAAOO,EAAAA,iBAAiB,KAAK,MAAMF,EAAGC,CAAC,CAAC,CAC1C,CACA,SAASV,EAAsBH,EAAOC,EAAK,CACzC,IAAIc,EAAOhB,EAAQE,EAAKD,CAAK,EAC7B,OAAAe,GAAQA,EAAO,KAAO,IACfA,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs67.js"),u=require("./index.cjs195.js");var y=class{constructor(i){this.points=i.points||[],this.duration=i.duration||1e4,this.sharpness=i.sharpness||.85,this.centers=[],this.controls=[],this.stepLength=i.stepLength||60,this.length=this.points.length,this.delay=0;for(let s=0;s<this.length;s++)this.points[s].z=this.points[s].z||0;for(let s=0;s<this.length-1;s++){const t=this.points[s],n=this.points[s+1];this.centers.push({x:(t.x+n.x)/2,y:(t.y+n.y)/2,z:(t.z+n.z)/2})}this.controls.push([this.points[0],this.points[0]]);for(let s=0;s<this.centers.length-1;s++){const t=this.points[s+1].x-(this.centers[s].x+this.centers[s+1].x)/2,n=this.points[s+1].y-(this.centers[s].y+this.centers[s+1].y)/2,e=this.points[s+1].z-(this.centers[s].y+this.centers[s+1].z)/2;this.controls.push([{x:(1-this.sharpness)*this.points[s+1].x+this.sharpness*(this.centers[s].x+t),y:(1-this.sharpness)*this.points[s+1].y+this.sharpness*(this.centers[s].y+n),z:(1-this.sharpness)*this.points[s+1].z+this.sharpness*(this.centers[s].z+e)},{x:(1-this.sharpness)*this.points[s+1].x+this.sharpness*(this.centers[s+1].x+t),y:(1-this.sharpness)*this.points[s+1].y+this.sharpness*(this.centers[s+1].y+n),z:(1-this.sharpness)*this.points[s+1].z+this.sharpness*(this.centers[s+1].z+e)}])}return this.controls.push([this.points[this.length-1],this.points[this.length-1]]),this.steps=this.cacheSteps(this.stepLength),this}cacheSteps(i){const s=[];let t=this.pos(0);s.push(0);for(let n=0;n<this.duration;n+=10){const e=this.pos(n);Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y)+(e.z-t.z)*(e.z-t.z))>i&&(s.push(n),t=e)}return s}vector(i){const s=this.pos(i+10),t=this.pos(i-10);return{angle:180*Math.atan2(s.y-t.y,s.x-t.x)/3.14,speed:Math.sqrt((t.x-s.x)*(t.x-s.x)+(t.y-s.y)*(t.y-s.y)+(t.z-s.z)*(t.z-s.z))}}pos(i){let s=i-this.delay;s<0&&(s=0),s>this.duration&&(s=this.duration-1);const t=s/this.duration;if(t>=1)return this.points[this.length-1];const n=Math.floor((this.points.length-1)*t),e=(this.length-1)*t-n;return x(e,this.points[n],this.controls[n][1],this.controls[n+1][0],this.points[n+1])}};function x(i,s,t,n,e){const h=z(i);return{x:e.x*h[0]+n.x*h[1]+t.x*h[2]+s.x*h[3],y:e.y*h[0]+n.y*h[1]+t.y*h[2]+s.y*h[3],z:e.z*h[0]+n.z*h[1]+t.z*h[2]+s.z*h[3]}}function z(i){const s=i*i;return[s*i,3*s*(1-i),3*i*(1-i)*(1-i),(1-i)*(1-i)*(1-i)]}function d(i,s={}){const t=s.resolution||1e4,n=s.sharpness||.85,e=[],h=u.getGeom(i).coordinates.map(o=>({x:o[0],y:o[1]})),r=new y({duration:t,points:h,sharpness:n}),c=o=>{var a=r.pos(o);Math.floor(o/100)%2===0&&e.push([a.x,a.y])};for(var p=0;p<r.duration;p+=10)c(p);return c(r.duration),l.lineString(e,s.properties)}exports.bezierSpline=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs67.js"),u=require("./index.cjs92.js");var y=class{constructor(i){this.points=i.points||[],this.duration=i.duration||1e4,this.sharpness=i.sharpness||.85,this.centers=[],this.controls=[],this.stepLength=i.stepLength||60,this.length=this.points.length,this.delay=0;for(let s=0;s<this.length;s++)this.points[s].z=this.points[s].z||0;for(let s=0;s<this.length-1;s++){const t=this.points[s],n=this.points[s+1];this.centers.push({x:(t.x+n.x)/2,y:(t.y+n.y)/2,z:(t.z+n.z)/2})}this.controls.push([this.points[0],this.points[0]]);for(let s=0;s<this.centers.length-1;s++){const t=this.points[s+1].x-(this.centers[s].x+this.centers[s+1].x)/2,n=this.points[s+1].y-(this.centers[s].y+this.centers[s+1].y)/2,e=this.points[s+1].z-(this.centers[s].y+this.centers[s+1].z)/2;this.controls.push([{x:(1-this.sharpness)*this.points[s+1].x+this.sharpness*(this.centers[s].x+t),y:(1-this.sharpness)*this.points[s+1].y+this.sharpness*(this.centers[s].y+n),z:(1-this.sharpness)*this.points[s+1].z+this.sharpness*(this.centers[s].z+e)},{x:(1-this.sharpness)*this.points[s+1].x+this.sharpness*(this.centers[s+1].x+t),y:(1-this.sharpness)*this.points[s+1].y+this.sharpness*(this.centers[s+1].y+n),z:(1-this.sharpness)*this.points[s+1].z+this.sharpness*(this.centers[s+1].z+e)}])}return this.controls.push([this.points[this.length-1],this.points[this.length-1]]),this.steps=this.cacheSteps(this.stepLength),this}cacheSteps(i){const s=[];let t=this.pos(0);s.push(0);for(let n=0;n<this.duration;n+=10){const e=this.pos(n);Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y)+(e.z-t.z)*(e.z-t.z))>i&&(s.push(n),t=e)}return s}vector(i){const s=this.pos(i+10),t=this.pos(i-10);return{angle:180*Math.atan2(s.y-t.y,s.x-t.x)/3.14,speed:Math.sqrt((t.x-s.x)*(t.x-s.x)+(t.y-s.y)*(t.y-s.y)+(t.z-s.z)*(t.z-s.z))}}pos(i){let s=i-this.delay;s<0&&(s=0),s>this.duration&&(s=this.duration-1);const t=s/this.duration;if(t>=1)return this.points[this.length-1];const n=Math.floor((this.points.length-1)*t),e=(this.length-1)*t-n;return x(e,this.points[n],this.controls[n][1],this.controls[n+1][0],this.points[n+1])}};function x(i,s,t,n,e){const h=z(i);return{x:e.x*h[0]+n.x*h[1]+t.x*h[2]+s.x*h[3],y:e.y*h[0]+n.y*h[1]+t.y*h[2]+s.y*h[3],z:e.z*h[0]+n.z*h[1]+t.z*h[2]+s.z*h[3]}}function z(i){const s=i*i;return[s*i,3*s*(1-i),3*i*(1-i)*(1-i),(1-i)*(1-i)*(1-i)]}function d(i,s={}){const t=s.resolution||1e4,n=s.sharpness||.85,e=[],h=u.getGeom(i).coordinates.map(o=>({x:o[0],y:o[1]})),r=new y({duration:t,points:h,sharpness:n}),c=o=>{var a=r.pos(o);Math.floor(o/100)%2===0&&e.push([a.x,a.y])};for(var p=0;p<r.duration;p+=10)c(p);return c(r.duration),l.lineString(e,s.properties)}exports.bezierSpline=d;
2
2
  //# sourceMappingURL=index.cjs72.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs72.js","sources":["../node_modules/@turf/bezier-spline/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { lineString } from \"@turf/helpers\";\nimport { getGeom } from \"@turf/invariant\";\n\n// lib/spline.ts\nvar Spline = class {\n constructor(options) {\n this.points = options.points || [];\n this.duration = options.duration || 1e4;\n this.sharpness = options.sharpness || 0.85;\n this.centers = [];\n this.controls = [];\n this.stepLength = options.stepLength || 60;\n this.length = this.points.length;\n this.delay = 0;\n for (let i = 0; i < this.length; i++) {\n this.points[i].z = this.points[i].z || 0;\n }\n for (let i = 0; i < this.length - 1; i++) {\n const p1 = this.points[i];\n const p2 = this.points[i + 1];\n this.centers.push({\n x: (p1.x + p2.x) / 2,\n y: (p1.y + p2.y) / 2,\n z: (p1.z + p2.z) / 2\n });\n }\n this.controls.push([this.points[0], this.points[0]]);\n for (let i = 0; i < this.centers.length - 1; i++) {\n const dx = this.points[i + 1].x - (this.centers[i].x + this.centers[i + 1].x) / 2;\n const dy = this.points[i + 1].y - (this.centers[i].y + this.centers[i + 1].y) / 2;\n const dz = this.points[i + 1].z - (this.centers[i].y + this.centers[i + 1].z) / 2;\n this.controls.push([\n {\n x: (1 - this.sharpness) * this.points[i + 1].x + this.sharpness * (this.centers[i].x + dx),\n y: (1 - this.sharpness) * this.points[i + 1].y + this.sharpness * (this.centers[i].y + dy),\n z: (1 - this.sharpness) * this.points[i + 1].z + this.sharpness * (this.centers[i].z + dz)\n },\n {\n x: (1 - this.sharpness) * this.points[i + 1].x + this.sharpness * (this.centers[i + 1].x + dx),\n y: (1 - this.sharpness) * this.points[i + 1].y + this.sharpness * (this.centers[i + 1].y + dy),\n z: (1 - this.sharpness) * this.points[i + 1].z + this.sharpness * (this.centers[i + 1].z + dz)\n }\n ]);\n }\n this.controls.push([\n this.points[this.length - 1],\n this.points[this.length - 1]\n ]);\n this.steps = this.cacheSteps(this.stepLength);\n return this;\n }\n /**\n * Caches an array of equidistant (more or less) points on the curve.\n */\n cacheSteps(mindist) {\n const steps = [];\n let laststep = this.pos(0);\n steps.push(0);\n for (let t = 0; t < this.duration; t += 10) {\n const step = this.pos(t);\n const dist = Math.sqrt(\n (step.x - laststep.x) * (step.x - laststep.x) + (step.y - laststep.y) * (step.y - laststep.y) + (step.z - laststep.z) * (step.z - laststep.z)\n );\n if (dist > mindist) {\n steps.push(t);\n laststep = step;\n }\n }\n return steps;\n }\n /**\n * returns angle and speed in the given point in the curve\n */\n vector(t) {\n const p1 = this.pos(t + 10);\n const p2 = this.pos(t - 10);\n return {\n angle: 180 * Math.atan2(p1.y - p2.y, p1.x - p2.x) / 3.14,\n speed: Math.sqrt(\n (p2.x - p1.x) * (p2.x - p1.x) + (p2.y - p1.y) * (p2.y - p1.y) + (p2.z - p1.z) * (p2.z - p1.z)\n )\n };\n }\n /**\n * Gets the position of the point, given time.\n *\n * WARNING: The speed is not constant. The time it takes between control points is constant.\n *\n * For constant speed, use Spline.steps[i];\n */\n pos(time) {\n let t = time - this.delay;\n if (t < 0) {\n t = 0;\n }\n if (t > this.duration) {\n t = this.duration - 1;\n }\n const t2 = t / this.duration;\n if (t2 >= 1) {\n return this.points[this.length - 1];\n }\n const n = Math.floor((this.points.length - 1) * t2);\n const t1 = (this.length - 1) * t2 - n;\n return bezier(\n t1,\n this.points[n],\n this.controls[n][1],\n this.controls[n + 1][0],\n this.points[n + 1]\n );\n }\n};\nfunction bezier(t, p1, c1, c2, p2) {\n const b = B(t);\n const pos = {\n x: p2.x * b[0] + c2.x * b[1] + c1.x * b[2] + p1.x * b[3],\n y: p2.y * b[0] + c2.y * b[1] + c1.y * b[2] + p1.y * b[3],\n z: p2.z * b[0] + c2.z * b[1] + c1.z * b[2] + p1.z * b[3]\n };\n return pos;\n}\nfunction B(t) {\n const t2 = t * t;\n const t3 = t2 * t;\n return [\n t3,\n 3 * t2 * (1 - t),\n 3 * t * (1 - t) * (1 - t),\n (1 - t) * (1 - t) * (1 - t)\n ];\n}\n\n// index.ts\nfunction bezierSpline(line, options = {}) {\n const resolution = options.resolution || 1e4;\n const sharpness = options.sharpness || 0.85;\n const coords = [];\n const points = getGeom(line).coordinates.map((pt) => {\n return { x: pt[0], y: pt[1] };\n });\n const spline = new Spline({\n duration: resolution,\n points,\n sharpness\n });\n const pushCoord = (time) => {\n var pos = spline.pos(time);\n if (Math.floor(time / 100) % 2 === 0) {\n coords.push([pos.x, pos.y]);\n }\n };\n for (var i = 0; i < spline.duration; i += 10) {\n pushCoord(i);\n }\n pushCoord(spline.duration);\n return lineString(coords, options.properties);\n}\nvar turf_bezier_spline_default = bezierSpline;\nexport {\n bezierSpline,\n turf_bezier_spline_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["Spline","options","i","p1","p2","dx","dy","dz","mindist","steps","laststep","t","step","time","t2","t1","bezier","c1","c2","b","B","bezierSpline","line","resolution","sharpness","coords","points","getGeom","pt","spline","pushCoord","pos","lineString"],"mappings":"mJAKA,IAAIA,EAAS,KAAM,CACjB,YAAYC,EAAS,CACnB,KAAK,OAASA,EAAQ,QAAU,CAAA,EAChC,KAAK,SAAWA,EAAQ,UAAY,IACpC,KAAK,UAAYA,EAAQ,WAAa,IACtC,KAAK,QAAU,CAAA,EACf,KAAK,SAAW,CAAA,EAChB,KAAK,WAAaA,EAAQ,YAAc,GACxC,KAAK,OAAS,KAAK,OAAO,OAC1B,KAAK,MAAQ,EACb,QAASC,EAA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EAAIA,EAEf,MAAO,CADIG,EAAKH,EAGd,EAAIG,GAAM,EAAIH,GACd,EAAIA,GAAK,EAAIA,IAAM,EAAIA,IACtB,EAAIA,IAAM,EAAIA,IAAM,EAAIA,EAAA,CAE7B,CAGA,SAASU,EAAaC,EAAMrB,EAAU,GAAI,CACxC,MAAMsB,EAAatB,EAAQ,YAAc,IACnCuB,EAAYvB,EAAQ,WAAa,IACjCwB,EAAS,CAAA,EACTC,EAASC,EAAAA,QAAQL,CAAI,EAAE,YAAY,IAAKM,IACrC,CAAE,EAAGA,EAAG,CAAC,EAAG,EAAGA,EAAG,CAAC,CAAA,EAC3B,EACKC,EAAS,IAAI7B,EAAO,CACxB,SAAUuB,EACV,OAAAG,EACA,UAAAF,CAAA,CACD,EACKM,EAAajB,GAAS,CAC1B,IAAIkB,EAAMF,EAAO,IAAIhB,CAAI,EACrB,KAAK,MAAMA,EAAO,GAAG,EAAI,IAAM,GACjCY,EAAO,KAAK,CAACM,EAAI,EAAGA,EAAI,CAAC,CAAC,CAE9B,EACA,QAAS7B,EAAI,EAAGA,EAAI2B,EAAO,SAAU3B,GAAK,GACxC4B,EAAU5B,CAAC,EAEb,OAAA4B,EAAUD,EAAO,QAAQ,EAClBG,aAAWP,EAAQxB,EAAQ,UAAU,CAC9C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs72.js","sources":["../node_modules/@turf/bezier-spline/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { lineString } from \"@turf/helpers\";\nimport { getGeom } from \"@turf/invariant\";\n\n// lib/spline.ts\nvar Spline = class {\n constructor(options) {\n this.points = options.points || [];\n this.duration = options.duration || 1e4;\n this.sharpness = options.sharpness || 0.85;\n this.centers = [];\n this.controls = [];\n this.stepLength = options.stepLength || 60;\n this.length = this.points.length;\n this.delay = 0;\n for (let i = 0; i < this.length; i++) {\n this.points[i].z = this.points[i].z || 0;\n }\n for (let i = 0; i < this.length - 1; i++) {\n const p1 = this.points[i];\n const p2 = this.points[i + 1];\n this.centers.push({\n x: (p1.x + p2.x) / 2,\n y: (p1.y + p2.y) / 2,\n z: (p1.z + p2.z) / 2\n });\n }\n this.controls.push([this.points[0], this.points[0]]);\n for (let i = 0; i < this.centers.length - 1; i++) {\n const dx = this.points[i + 1].x - (this.centers[i].x + this.centers[i + 1].x) / 2;\n const dy = this.points[i + 1].y - (this.centers[i].y + this.centers[i + 1].y) / 2;\n const dz = this.points[i + 1].z - (this.centers[i].y + this.centers[i + 1].z) / 2;\n this.controls.push([\n {\n x: (1 - this.sharpness) * this.points[i + 1].x + this.sharpness * (this.centers[i].x + dx),\n y: (1 - this.sharpness) * this.points[i + 1].y + this.sharpness * (this.centers[i].y + dy),\n z: (1 - this.sharpness) * this.points[i + 1].z + this.sharpness * (this.centers[i].z + dz)\n },\n {\n x: (1 - this.sharpness) * this.points[i + 1].x + this.sharpness * (this.centers[i + 1].x + dx),\n y: (1 - this.sharpness) * this.points[i + 1].y + this.sharpness * (this.centers[i + 1].y + dy),\n z: (1 - this.sharpness) * this.points[i + 1].z + this.sharpness * (this.centers[i + 1].z + dz)\n }\n ]);\n }\n this.controls.push([\n this.points[this.length - 1],\n this.points[this.length - 1]\n ]);\n this.steps = this.cacheSteps(this.stepLength);\n return this;\n }\n /**\n * Caches an array of equidistant (more or less) points on the curve.\n */\n cacheSteps(mindist) {\n const steps = [];\n let laststep = this.pos(0);\n steps.push(0);\n for (let t = 0; t < this.duration; t += 10) {\n const step = this.pos(t);\n const dist = Math.sqrt(\n (step.x - laststep.x) * (step.x - laststep.x) + (step.y - laststep.y) * (step.y - laststep.y) + (step.z - laststep.z) * (step.z - laststep.z)\n );\n if (dist > mindist) {\n steps.push(t);\n laststep = step;\n }\n }\n return steps;\n }\n /**\n * returns angle and speed in the given point in the curve\n */\n vector(t) {\n const p1 = this.pos(t + 10);\n const p2 = this.pos(t - 10);\n return {\n angle: 180 * Math.atan2(p1.y - p2.y, p1.x - p2.x) / 3.14,\n speed: Math.sqrt(\n (p2.x - p1.x) * (p2.x - p1.x) + (p2.y - p1.y) * (p2.y - p1.y) + (p2.z - p1.z) * (p2.z - p1.z)\n )\n };\n }\n /**\n * Gets the position of the point, given time.\n *\n * WARNING: The speed is not constant. The time it takes between control points is constant.\n *\n * For constant speed, use Spline.steps[i];\n */\n pos(time) {\n let t = time - this.delay;\n if (t < 0) {\n t = 0;\n }\n if (t > this.duration) {\n t = this.duration - 1;\n }\n const t2 = t / this.duration;\n if (t2 >= 1) {\n return this.points[this.length - 1];\n }\n const n = Math.floor((this.points.length - 1) * t2);\n const t1 = (this.length - 1) * t2 - n;\n return bezier(\n t1,\n this.points[n],\n this.controls[n][1],\n this.controls[n + 1][0],\n this.points[n + 1]\n );\n }\n};\nfunction bezier(t, p1, c1, c2, p2) {\n const b = B(t);\n const pos = {\n x: p2.x * b[0] + c2.x * b[1] + c1.x * b[2] + p1.x * b[3],\n y: p2.y * b[0] + c2.y * b[1] + c1.y * b[2] + p1.y * b[3],\n z: p2.z * b[0] + c2.z * b[1] + c1.z * b[2] + p1.z * b[3]\n };\n return pos;\n}\nfunction B(t) {\n const t2 = t * t;\n const t3 = t2 * t;\n return [\n t3,\n 3 * t2 * (1 - t),\n 3 * t * (1 - t) * (1 - t),\n (1 - t) * (1 - t) * (1 - t)\n ];\n}\n\n// index.ts\nfunction bezierSpline(line, options = {}) {\n const resolution = options.resolution || 1e4;\n const sharpness = options.sharpness || 0.85;\n const coords = [];\n const points = getGeom(line).coordinates.map((pt) => {\n return { x: pt[0], y: pt[1] };\n });\n const spline = new Spline({\n duration: resolution,\n points,\n sharpness\n });\n const pushCoord = (time) => {\n var pos = spline.pos(time);\n if (Math.floor(time / 100) % 2 === 0) {\n coords.push([pos.x, pos.y]);\n }\n };\n for (var i = 0; i < spline.duration; i += 10) {\n pushCoord(i);\n }\n pushCoord(spline.duration);\n return lineString(coords, options.properties);\n}\nvar turf_bezier_spline_default = bezierSpline;\nexport {\n bezierSpline,\n turf_bezier_spline_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["Spline","options","i","p1","p2","dx","dy","dz","mindist","steps","laststep","t","step","time","t2","t1","bezier","c1","c2","b","B","bezierSpline","line","resolution","sharpness","coords","points","getGeom","pt","spline","pushCoord","pos","lineString"],"mappings":"kJAKA,IAAIA,EAAS,KAAM,CACjB,YAAYC,EAAS,CACnB,KAAK,OAASA,EAAQ,QAAU,CAAA,EAChC,KAAK,SAAWA,EAAQ,UAAY,IACpC,KAAK,UAAYA,EAAQ,WAAa,IACtC,KAAK,QAAU,CAAA,EACf,KAAK,SAAW,CAAA,EAChB,KAAK,WAAaA,EAAQ,YAAc,GACxC,KAAK,OAAS,KAAK,OAAO,OAC1B,KAAK,MAAQ,EACb,QAASC,EAAI,EAAGA,EAAI,KAAK,OAAQA,IAC/B,KAAK,OAAOA,CAAC,EAAE,EAAI,KAAK,OAAOA,CAAC,EAAE,GAAK,EAEzC,QAASA,EAAI,EAAGA,EAAI,KAAK,OAAS,EAAGA,IAAK,CACxC,MAAMC,EAAK,KAAK,OAAOD,CAAC,EAClBE,EAAK,KAAK,OAAOF,EAAI,CAAC,EAC5B,KAAK,QAAQ,KAAK,CAChB,GAAIC,EAAG,EAAIC,EAAG,GAAK,EACnB,GAAID,EAAG,EAAIC,EAAG,GAAK,EACnB,GAAID,EAAG,EAAIC,EAAG,GAAK,CAAA,CACpB,CACH,CACA,KAAK,SAAS,KAAK,CAAC,KAAK,OAAO,CAAC,EAAG,KAAK,OAAO,CAAC,CAAC,CAAC,EACnD,QAASF,EAAI,EAAGA,EAAI,KAAK,QAAQ,OAAS,EAAGA,IAAK,CAChD,MAAMG,EAAK,KAAK,OAAOH,EAAI,CAAC,EAAE,GAAK,KAAK,QAAQA,CAAC,EAAE,EAAI,KAAK,QAAQA,EAAI,CAAC,EAAE,GAAK,EAC1EI,EAAK,KAAK,OAAOJ,EAAI,CAAC,EAAE,GAAK,KAAK,QAAQA,CAAC,EAAE,EAAI,KAAK,QAAQA,EAAI,CAAC,EAAE,GAAK,EA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UAAU,CAC9C","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("./index.cjs196.js"),O=require("./index.cjs197.js"),p=require("./index.cjs194.js");require("./index.cjs198.js");require("./index.cjs199.js");require("./index.cjs200.js");require("./index.cjs201.js");require("./index.cjs202.js");require("./index.cjs203.js");require("./index.cjs204.js");require("./index.cjs205.js");require("./index.cjs206.js");require("./index.cjs207.js");const g=require("./index.cjs208.js");require("./index.cjs209.js");const a=require("./index.cjs67.js");var{BufferOp:G,GeoJSONReader:S,GeoJSONWriter:x}=O;function F(e,r,t){t=t||{};var o=t.units||"kilometers",u=t.steps||8;if(!e)throw new Error("geojson is required");if(typeof t!="object")throw new Error("options must be an object");if(typeof u!="number")throw new Error("steps must be an number");if(r===void 0)throw new Error("radius is required");if(u<=0)throw new Error("steps must be greater than 0");var i=[];switch(e.type){case"GeometryCollection":return p.geomEach(e,function(f){var n=d(f,r,o,u);n&&i.push(n)}),a.featureCollection(i);case"FeatureCollection":return p.featureEach(e,function(f){var n=d(f,r,o,u);n&&p.featureEach(n,function(s){s&&i.push(s)})}),a.featureCollection(i)}return d(e,r,o,u)}function d(e,r,t,o){var u=e.properties||{},i=e.type==="Feature"?e.geometry:e;if(i.type==="GeometryCollection"){var f=[];return p.geomEach(e,function(C){var v=d(C,r,t,o);v&&f.push(v)}),a.featureCollection(f)}var n=R(i),s={type:i.type,coordinates:m(i.coordinates,n)},q=new S,h=q.read(s),b=a.radiansToLength(a.lengthToRadians(r,t),"meters"),c=G.bufferOp(h,b,o),w=new x;if(c=w.write(c),!l(c.coordinates)){var E={type:c.type,coordinates:y(c.coordinates,n)};return a.feature(E,u)}}function l(e){return Array.isArray(e[0])?l(e[0]):isNaN(e[0])}function m(e,r){return typeof e[0]!="object"?r(e):e.map(function(t){return m(t,r)})}function y(e,r){return typeof e[0]!="object"?r.invert(e):e.map(function(t){return y(t,r)})}function R(e){var r=N.center(e).geometry.coordinates,t=[-r[0],-r[1]];return g.default().rotate(t).scale(a.earthRadius)}exports.buffer=F;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("./index.cjs196.js"),O=require("./index.cjs197.js"),p=require("./index.cjs195.js");require("./index.cjs198.js");require("./index.cjs199.js");require("./index.cjs200.js");require("./index.cjs201.js");require("./index.cjs202.js");require("./index.cjs203.js");require("./index.cjs204.js");require("./index.cjs205.js");require("./index.cjs206.js");require("./index.cjs207.js");const g=require("./index.cjs208.js");require("./index.cjs209.js");const a=require("./index.cjs67.js");var{BufferOp:G,GeoJSONReader:S,GeoJSONWriter:x}=O;function F(e,r,t){t=t||{};var o=t.units||"kilometers",u=t.steps||8;if(!e)throw new Error("geojson is required");if(typeof t!="object")throw new Error("options must be an object");if(typeof u!="number")throw new Error("steps must be an number");if(r===void 0)throw new Error("radius is required");if(u<=0)throw new Error("steps must be greater than 0");var i=[];switch(e.type){case"GeometryCollection":return p.geomEach(e,function(f){var n=d(f,r,o,u);n&&i.push(n)}),a.featureCollection(i);case"FeatureCollection":return p.featureEach(e,function(f){var n=d(f,r,o,u);n&&p.featureEach(n,function(s){s&&i.push(s)})}),a.featureCollection(i)}return d(e,r,o,u)}function d(e,r,t,o){var u=e.properties||{},i=e.type==="Feature"?e.geometry:e;if(i.type==="GeometryCollection"){var f=[];return p.geomEach(e,function(C){var v=d(C,r,t,o);v&&f.push(v)}),a.featureCollection(f)}var n=R(i),s={type:i.type,coordinates:m(i.coordinates,n)},q=new S,h=q.read(s),b=a.radiansToLength(a.lengthToRadians(r,t),"meters"),c=G.bufferOp(h,b,o),w=new x;if(c=w.write(c),!l(c.coordinates)){var E={type:c.type,coordinates:y(c.coordinates,n)};return a.feature(E,u)}}function l(e){return Array.isArray(e[0])?l(e[0]):isNaN(e[0])}function m(e,r){return typeof e[0]!="object"?r(e):e.map(function(t){return m(t,r)})}function y(e,r){return typeof e[0]!="object"?r.invert(e):e.map(function(t){return y(t,r)})}function R(e){var r=N.center(e).geometry.coordinates,t=[-r[0],-r[1]];return g.default().rotate(t).scale(a.earthRadius)}exports.buffer=F;
2
2
  //# sourceMappingURL=index.cjs73.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs67.js"),c=require("./index.cjs194.js");function l(i,o={}){let t=0,n=0,e=0;return c.coordEach(i,function(r){t+=r[0],n+=r[1],e++},!0),u.point([t/e,n/e],o.properties)}exports.centroid=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs67.js"),c=require("./index.cjs195.js");function l(i,o={}){let t=0,n=0,e=0;return c.coordEach(i,function(r){t+=r[0],n+=r[1],e++},!0),u.point([t/e,n/e],o.properties)}exports.centroid=l;
2
2
  //# sourceMappingURL=index.cjs74.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs67.js"),l=require("./index.cjs195.js");function T(d,r,c,s={}){const a=l.getCoord(d),h=t.degreesToRadians(a[0]),n=t.degreesToRadians(a[1]),o=t.degreesToRadians(c),e=t.lengthToRadians(r,s.units),i=Math.asin(Math.sin(n)*Math.cos(e)+Math.cos(n)*Math.sin(e)*Math.cos(o)),M=h+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(n),Math.cos(e)-Math.sin(n)*Math.sin(i)),g=t.radiansToDegrees(M),u=t.radiansToDegrees(i);return t.point([g,u],s.properties)}exports.destination=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs67.js"),l=require("./index.cjs92.js");function T(d,r,c,s={}){const a=l.getCoord(d),h=t.degreesToRadians(a[0]),n=t.degreesToRadians(a[1]),o=t.degreesToRadians(c),e=t.lengthToRadians(r,s.units),i=Math.asin(Math.sin(n)*Math.cos(e)+Math.cos(n)*Math.sin(e)*Math.cos(o)),M=h+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(n),Math.cos(e)-Math.sin(n)*Math.sin(i)),g=t.radiansToDegrees(M),u=t.radiansToDegrees(i);return t.point([g,u],s.properties)}exports.destination=T;
2
2
  //# sourceMappingURL=index.cjs76.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs76.js","sources":["../node_modules/@turf/destination/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport {\n degreesToRadians,\n lengthToRadians,\n point,\n radiansToDegrees\n} from \"@turf/helpers\";\nimport { getCoord } from \"@turf/invariant\";\nfunction destination(origin, distance, bearing, options = {}) {\n const coordinates1 = getCoord(origin);\n const longitude1 = degreesToRadians(coordinates1[0]);\n const latitude1 = degreesToRadians(coordinates1[1]);\n const bearingRad = degreesToRadians(bearing);\n const radians = lengthToRadians(distance, options.units);\n const latitude2 = Math.asin(\n Math.sin(latitude1) * Math.cos(radians) + Math.cos(latitude1) * Math.sin(radians) * Math.cos(bearingRad)\n );\n const longitude2 = longitude1 + Math.atan2(\n Math.sin(bearingRad) * Math.sin(radians) * Math.cos(latitude1),\n Math.cos(radians) - Math.sin(latitude1) * Math.sin(latitude2)\n );\n const lng = radiansToDegrees(longitude2);\n const lat = radiansToDegrees(latitude2);\n return point([lng, lat], options.properties);\n}\nvar turf_destination_default = destination;\nexport {\n turf_destination_default as default,\n destination\n};\n//# sourceMappingURL=index.js.map"],"names":["destination","origin","distance","bearing","options","coordinates1","getCoord","longitude1","degreesToRadians","latitude1","bearingRad","radians","lengthToRadians","latitude2","longitude2","lng","radiansToDegrees","lat","point"],"mappings":"mJAQA,SAASA,EAAYC,EAAQC,EAAUC,EAASC,EAAU,CAAA,EAAI,CAC5D,MAAMC,EAAeC,EAAAA,SAASL,CAAM,EAC9BM,EAAaC,EAAAA,iBAAiBH,EAAa,CAAC,CAAC,EAC7CI,EAAYD,EAAAA,iBAAiBH,EAAa,CAAC,CAAC,EAC5CK,EAAaF,EAAAA,iBAAiBL,CAAO,EACrCQ,EAAUC,EAAAA,gBAAgBV,EAAUE,EAAQ,KAAK,EACjDS,EAAY,KAAK,KACrB,KAAK,IAAIJ,CAAS,EAAI,KAAK,IAAIE,CAAO,EAAI,KAAK,IAAIF,CAAS,EAAI,KAAK,IAAIE,CAAO,EAAI,KAAK,IAAID,CAAU,CAAA,EAEnGI,EAAaP,EAAa,KAAK,MACnC,KAAK,IAAIG,CAAU,EAAI,KAAK,IAAIC,CAAO,EAAI,KAAK,IAAIF,CAAS,EAC7D,KAAK,IAAIE,CAAO,EAAI,KAAK,IAAIF,CAAS,EAAI,KAAK,IAAII,CAAS,CAAA,EAExDE,EAAMC,EAAAA,iBAAiBF,CAAU,EACjCG,EAAMD,EAAAA,iBAAiBH,CAAS,EACtC,OAAOK,EAAAA,MAAM,CAACH,EAAKE,CAAG,EAAGb,EAAQ,UAAU,CAC7C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs76.js","sources":["../node_modules/@turf/destination/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport {\n degreesToRadians,\n lengthToRadians,\n point,\n radiansToDegrees\n} from \"@turf/helpers\";\nimport { getCoord } from \"@turf/invariant\";\nfunction destination(origin, distance, bearing, options = {}) {\n const coordinates1 = getCoord(origin);\n const longitude1 = degreesToRadians(coordinates1[0]);\n const latitude1 = degreesToRadians(coordinates1[1]);\n const bearingRad = degreesToRadians(bearing);\n const radians = lengthToRadians(distance, options.units);\n const latitude2 = Math.asin(\n Math.sin(latitude1) * Math.cos(radians) + Math.cos(latitude1) * Math.sin(radians) * Math.cos(bearingRad)\n );\n const longitude2 = longitude1 + Math.atan2(\n Math.sin(bearingRad) * Math.sin(radians) * Math.cos(latitude1),\n Math.cos(radians) - Math.sin(latitude1) * Math.sin(latitude2)\n );\n const lng = radiansToDegrees(longitude2);\n const lat = radiansToDegrees(latitude2);\n return point([lng, lat], options.properties);\n}\nvar turf_destination_default = destination;\nexport {\n turf_destination_default as default,\n destination\n};\n//# sourceMappingURL=index.js.map"],"names":["destination","origin","distance","bearing","options","coordinates1","getCoord","longitude1","degreesToRadians","latitude1","bearingRad","radians","lengthToRadians","latitude2","longitude2","lng","radiansToDegrees","lat","point"],"mappings":"kJAQA,SAASA,EAAYC,EAAQC,EAAUC,EAASC,EAAU,CAAA,EAAI,CAC5D,MAAMC,EAAeC,EAAAA,SAASL,CAAM,EAC9BM,EAAaC,EAAAA,iBAAiBH,EAAa,CAAC,CAAC,EAC7CI,EAAYD,EAAAA,iBAAiBH,EAAa,CAAC,CAAC,EAC5CK,EAAaF,EAAAA,iBAAiBL,CAAO,EACrCQ,EAAUC,EAAAA,gBAAgBV,EAAUE,EAAQ,KAAK,EACjDS,EAAY,KAAK,KACrB,KAAK,IAAIJ,CAAS,EAAI,KAAK,IAAIE,CAAO,EAAI,KAAK,IAAIF,CAAS,EAAI,KAAK,IAAIE,CAAO,EAAI,KAAK,IAAID,CAAU,CAAA,EAEnGI,EAAaP,EAAa,KAAK,MACnC,KAAK,IAAIG,CAAU,EAAI,KAAK,IAAIC,CAAO,EAAI,KAAK,IAAIF,CAAS,EAC7D,KAAK,IAAIE,CAAO,EAAI,KAAK,IAAIF,CAAS,EAAI,KAAK,IAAII,CAAS,CAAA,EAExDE,EAAMC,EAAAA,iBAAiBF,CAAU,EACjCG,EAAMD,EAAAA,iBAAiBH,CAAS,EACtC,OAAOK,EAAAA,MAAM,CAACH,EAAKE,CAAG,EAAGb,EAAQ,UAAU,CAC7C","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs195.js"),a=require("./index.cjs67.js");function g(n,s,d={}){var e=o.getCoord(n),t=o.getCoord(s),i=a.degreesToRadians(t[1]-e[1]),c=a.degreesToRadians(t[0]-e[0]),h=a.degreesToRadians(e[1]),M=a.degreesToRadians(t[1]),r=Math.pow(Math.sin(i/2),2)+Math.pow(Math.sin(c/2),2)*Math.cos(h)*Math.cos(M);return a.radiansToLength(2*Math.atan2(Math.sqrt(r),Math.sqrt(1-r)),d.units)}exports.distance=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs92.js"),a=require("./index.cjs67.js");function g(n,s,d={}){var e=o.getCoord(n),t=o.getCoord(s),i=a.degreesToRadians(t[1]-e[1]),c=a.degreesToRadians(t[0]-e[0]),h=a.degreesToRadians(e[1]),M=a.degreesToRadians(t[1]),r=Math.pow(Math.sin(i/2),2)+Math.pow(Math.sin(c/2),2)*Math.cos(h)*Math.cos(M);return a.radiansToLength(2*Math.atan2(Math.sqrt(r),Math.sqrt(1-r)),d.units)}exports.distance=g;
2
2
  //# sourceMappingURL=index.cjs77.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs77.js","sources":["../node_modules/@turf/distance/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { getCoord } from \"@turf/invariant\";\nimport { radiansToLength, degreesToRadians } from \"@turf/helpers\";\nfunction distance(from, to, options = {}) {\n var coordinates1 = getCoord(from);\n var coordinates2 = getCoord(to);\n var dLat = degreesToRadians(coordinates2[1] - coordinates1[1]);\n var dLon = degreesToRadians(coordinates2[0] - coordinates1[0]);\n var lat1 = degreesToRadians(coordinates1[1]);\n var lat2 = degreesToRadians(coordinates2[1]);\n var a = Math.pow(Math.sin(dLat / 2), 2) + Math.pow(Math.sin(dLon / 2), 2) * Math.cos(lat1) * Math.cos(lat2);\n return radiansToLength(\n 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a)),\n options.units\n );\n}\nvar turf_distance_default = distance;\nexport {\n turf_distance_default as default,\n distance\n};\n//# sourceMappingURL=index.js.map"],"names":["distance","from","to","options","coordinates1","getCoord","coordinates2","dLat","degreesToRadians","dLon","lat1","lat2","a","radiansToLength"],"mappings":"mJAGA,SAASA,EAASC,EAAMC,EAAIC,EAAU,CAAA,EAAI,CACxC,IAAIC,EAAeC,EAAAA,SAASJ,CAAI,EAC5BK,EAAeD,EAAAA,SAASH,CAAE,EAC1BK,EAAOC,EAAAA,iBAAiBF,EAAa,CAAC,EAAIF,EAAa,CAAC,CAAC,EACzDK,EAAOD,EAAAA,iBAAiBF,EAAa,CAAC,EAAIF,EAAa,CAAC,CAAC,EACzDM,EAAOF,EAAAA,iBAAiBJ,EAAa,CAAC,CAAC,EACvCO,EAAOH,EAAAA,iBAAiBF,EAAa,CAAC,CAAC,EACvCM,EAAI,KAAK,IAAI,KAAK,IAAIL,EAAO,CAAC,EAAG,CAAC,EAAI,KAAK,IAAI,KAAK,IAAIE,EAAO,CAAC,EAAG,CAAC,EAAI,KAAK,IAAIC,CAAI,EAAI,KAAK,IAAIC,CAAI,EAC1G,OAAOE,EAAAA,gBACL,EAAI,KAAK,MAAM,KAAK,KAAKD,CAAC,EAAG,KAAK,KAAK,EAAIA,CAAC,CAAC,EAC7CT,EAAQ,KAAA,CAEZ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs77.js","sources":["../node_modules/@turf/distance/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { getCoord } from \"@turf/invariant\";\nimport { radiansToLength, degreesToRadians } from \"@turf/helpers\";\nfunction distance(from, to, options = {}) {\n var coordinates1 = getCoord(from);\n var coordinates2 = getCoord(to);\n var dLat = degreesToRadians(coordinates2[1] - coordinates1[1]);\n var dLon = degreesToRadians(coordinates2[0] - coordinates1[0]);\n var lat1 = degreesToRadians(coordinates1[1]);\n var lat2 = degreesToRadians(coordinates2[1]);\n var a = Math.pow(Math.sin(dLat / 2), 2) + Math.pow(Math.sin(dLon / 2), 2) * Math.cos(lat1) * Math.cos(lat2);\n return radiansToLength(\n 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a)),\n options.units\n );\n}\nvar turf_distance_default = distance;\nexport {\n turf_distance_default as default,\n distance\n};\n//# sourceMappingURL=index.js.map"],"names":["distance","from","to","options","coordinates1","getCoord","coordinates2","dLat","degreesToRadians","dLon","lat1","lat2","a","radiansToLength"],"mappings":"kJAGA,SAASA,EAASC,EAAMC,EAAIC,EAAU,CAAA,EAAI,CACxC,IAAIC,EAAeC,EAAAA,SAASJ,CAAI,EAC5BK,EAAeD,EAAAA,SAASH,CAAE,EAC1BK,EAAOC,EAAAA,iBAAiBF,EAAa,CAAC,EAAIF,EAAa,CAAC,CAAC,EACzDK,EAAOD,EAAAA,iBAAiBF,EAAa,CAAC,EAAIF,EAAa,CAAC,CAAC,EACzDM,EAAOF,EAAAA,iBAAiBJ,EAAa,CAAC,CAAC,EACvCO,EAAOH,EAAAA,iBAAiBF,EAAa,CAAC,CAAC,EACvCM,EAAI,KAAK,IAAI,KAAK,IAAIL,EAAO,CAAC,EAAG,CAAC,EAAI,KAAK,IAAI,KAAK,IAAIE,EAAO,CAAC,EAAG,CAAC,EAAI,KAAK,IAAIC,CAAI,EAAI,KAAK,IAAIC,CAAI,EAC1G,OAAOE,EAAAA,gBACL,EAAI,KAAK,MAAM,KAAK,KAAKD,CAAC,EAAG,KAAK,KAAK,EAAIA,CAAC,CAAC,EAC7CT,EAAQ,KAAA,CAEZ","x_google_ignoreList":[0]}