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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/dist/index.cjs101.js +1 -1
  2. package/dist/index.cjs102.js +1 -1
  3. package/dist/index.cjs104.js +1 -1
  4. package/dist/index.cjs105.js +1 -1
  5. package/dist/index.cjs106.js +1 -1
  6. package/dist/index.cjs107.js +1 -1
  7. package/dist/index.cjs112.js +1 -1
  8. package/dist/index.cjs113.js +1 -1
  9. package/dist/index.cjs114.js +1 -1
  10. package/dist/index.cjs115.js +1 -1
  11. package/dist/index.cjs118.js +1 -1
  12. package/dist/index.cjs119.js +1 -1
  13. package/dist/index.cjs120.js +1 -1
  14. package/dist/index.cjs124.js +1 -1
  15. package/dist/index.cjs127.js +1 -1
  16. package/dist/index.cjs131.js +1 -1
  17. package/dist/index.cjs134.js +1 -1
  18. package/dist/index.cjs142.js +1 -1
  19. package/dist/index.cjs143.js +1 -1
  20. package/dist/index.cjs144.js +1 -1
  21. package/dist/index.cjs145.js +1 -1
  22. package/dist/index.cjs146.js +1 -1
  23. package/dist/index.cjs147.js +1 -1
  24. package/dist/index.cjs148.js +1 -1
  25. package/dist/index.cjs15.js +1 -1
  26. package/dist/index.cjs150.js +1 -1
  27. package/dist/index.cjs151.js +1 -1
  28. package/dist/index.cjs152.js +1 -1
  29. package/dist/index.cjs153.js +1 -1
  30. package/dist/index.cjs154.js +1 -1
  31. package/dist/index.cjs155.js +1 -1
  32. package/dist/index.cjs156.js +1 -1
  33. package/dist/index.cjs157.js +1 -1
  34. package/dist/index.cjs158.js +1 -1
  35. package/dist/index.cjs161.js +1 -1
  36. package/dist/index.cjs162.js +1 -1
  37. package/dist/index.cjs164.js +1 -1
  38. package/dist/index.cjs165.js +1 -1
  39. package/dist/index.cjs166.js +1 -1
  40. package/dist/index.cjs167.js +1 -1
  41. package/dist/index.cjs168.js +1 -1
  42. package/dist/index.cjs169.js +1 -1
  43. package/dist/index.cjs17.js +1 -1
  44. package/dist/index.cjs170.js +1 -1
  45. package/dist/index.cjs171.js +1 -1
  46. package/dist/index.cjs177.js +1 -1
  47. package/dist/index.cjs178.js +1 -1
  48. package/dist/index.cjs179.js +1 -1
  49. package/dist/index.cjs180.js +1 -1
  50. package/dist/index.cjs181.js +1 -1
  51. package/dist/index.cjs184.js +1 -1
  52. package/dist/index.cjs184.js.map +1 -1
  53. package/dist/index.cjs185.js +1 -1
  54. package/dist/index.cjs185.js.map +1 -1
  55. package/dist/index.cjs186.js +4 -1
  56. package/dist/index.cjs186.js.map +1 -1
  57. package/dist/index.cjs187.js +1 -1
  58. package/dist/index.cjs187.js.map +1 -1
  59. package/dist/index.cjs188.js +1 -1
  60. package/dist/index.cjs188.js.map +1 -1
  61. package/dist/index.cjs189.js +1 -1
  62. package/dist/index.cjs189.js.map +1 -1
  63. package/dist/index.cjs19.js +1 -1
  64. package/dist/index.cjs190.js +1 -1
  65. package/dist/index.cjs190.js.map +1 -1
  66. package/dist/index.cjs191.js +1 -1
  67. package/dist/index.cjs191.js.map +1 -1
  68. package/dist/index.cjs192.js +1 -1
  69. package/dist/index.cjs192.js.map +1 -1
  70. package/dist/index.cjs193.js +1 -4
  71. package/dist/index.cjs193.js.map +1 -1
  72. package/dist/index.cjs194.js +1 -1
  73. package/dist/index.cjs194.js.map +1 -1
  74. package/dist/index.cjs195.js +1 -1
  75. package/dist/index.cjs195.js.map +1 -1
  76. package/dist/index.cjs196.js +1 -1
  77. package/dist/index.cjs196.js.map +1 -1
  78. package/dist/index.cjs197.js +1 -1
  79. package/dist/index.cjs197.js.map +1 -1
  80. package/dist/index.cjs198.js +1 -1
  81. package/dist/index.cjs198.js.map +1 -1
  82. package/dist/index.cjs199.js +1 -1
  83. package/dist/index.cjs199.js.map +1 -1
  84. package/dist/index.cjs200.js +1 -1
  85. package/dist/index.cjs200.js.map +1 -1
  86. package/dist/index.cjs201.js +1 -1
  87. package/dist/index.cjs201.js.map +1 -1
  88. package/dist/index.cjs202.js +1 -1
  89. package/dist/index.cjs202.js.map +1 -1
  90. package/dist/index.cjs203.js +1 -1
  91. package/dist/index.cjs203.js.map +1 -1
  92. package/dist/index.cjs204.js +1 -1
  93. package/dist/index.cjs204.js.map +1 -1
  94. package/dist/index.cjs205.js +1 -1
  95. package/dist/index.cjs205.js.map +1 -1
  96. package/dist/index.cjs207.js +1 -1
  97. package/dist/index.cjs207.js.map +1 -1
  98. package/dist/index.cjs208.js +1 -1
  99. package/dist/index.cjs208.js.map +1 -1
  100. package/dist/index.cjs209.js +1 -1
  101. package/dist/index.cjs209.js.map +1 -1
  102. package/dist/index.cjs21.js +1 -1
  103. package/dist/index.cjs210.js +1 -1
  104. package/dist/index.cjs210.js.map +1 -1
  105. package/dist/index.cjs211.js +1 -1
  106. package/dist/index.cjs211.js.map +1 -1
  107. package/dist/index.cjs212.js +1 -1
  108. package/dist/index.cjs212.js.map +1 -1
  109. package/dist/index.cjs213.js +1 -1
  110. package/dist/index.cjs213.js.map +1 -1
  111. package/dist/index.cjs214.js +1 -1
  112. package/dist/index.cjs214.js.map +1 -1
  113. package/dist/index.cjs215.js +1 -1
  114. package/dist/index.cjs215.js.map +1 -1
  115. package/dist/index.cjs216.js +1 -1
  116. package/dist/index.cjs216.js.map +1 -1
  117. package/dist/index.cjs217.js +1 -1
  118. package/dist/index.cjs217.js.map +1 -1
  119. package/dist/index.cjs218.js +1 -1
  120. package/dist/index.cjs218.js.map +1 -1
  121. package/dist/index.cjs219.js +1 -1
  122. package/dist/index.cjs219.js.map +1 -1
  123. package/dist/index.cjs22.js +1 -1
  124. package/dist/index.cjs220.js +1 -1
  125. package/dist/index.cjs220.js.map +1 -1
  126. package/dist/index.cjs221.js +1 -1
  127. package/dist/index.cjs221.js.map +1 -1
  128. package/dist/index.cjs222.js +1 -1
  129. package/dist/index.cjs222.js.map +1 -1
  130. package/dist/index.cjs223.js +1 -1
  131. package/dist/index.cjs223.js.map +1 -1
  132. package/dist/index.cjs224.js +1 -1
  133. package/dist/index.cjs224.js.map +1 -1
  134. package/dist/index.cjs225.js +1 -1
  135. package/dist/index.cjs225.js.map +1 -1
  136. package/dist/index.cjs226.js +1 -1
  137. package/dist/index.cjs226.js.map +1 -1
  138. package/dist/index.cjs227.js +1 -1
  139. package/dist/index.cjs227.js.map +1 -1
  140. package/dist/index.cjs228.js +1 -1
  141. package/dist/index.cjs228.js.map +1 -1
  142. package/dist/index.cjs229.js +1 -1
  143. package/dist/index.cjs229.js.map +1 -1
  144. package/dist/index.cjs230.js +1 -1
  145. package/dist/index.cjs230.js.map +1 -1
  146. package/dist/index.cjs231.js +1 -1
  147. package/dist/index.cjs231.js.map +1 -1
  148. package/dist/index.cjs232.js +1 -1
  149. package/dist/index.cjs232.js.map +1 -1
  150. package/dist/index.cjs233.js +1 -1
  151. package/dist/index.cjs233.js.map +1 -1
  152. package/dist/index.cjs234.js +1 -1
  153. package/dist/index.cjs234.js.map +1 -1
  154. package/dist/index.cjs235.js +1 -1
  155. package/dist/index.cjs235.js.map +1 -1
  156. package/dist/index.cjs236.js +1 -1
  157. package/dist/index.cjs236.js.map +1 -1
  158. package/dist/index.cjs237.js +1 -1
  159. package/dist/index.cjs237.js.map +1 -1
  160. package/dist/index.cjs238.js +1 -1
  161. package/dist/index.cjs238.js.map +1 -1
  162. package/dist/index.cjs240.js +1 -1
  163. package/dist/index.cjs243.js +1 -1
  164. package/dist/index.cjs246.js +1 -1
  165. package/dist/index.cjs249.js +1 -1
  166. package/dist/index.cjs25.js +1 -1
  167. package/dist/index.cjs251.js +1 -1
  168. package/dist/index.cjs254.js +1 -1
  169. package/dist/index.cjs255.js +1 -1
  170. package/dist/index.cjs258.js +1 -1
  171. package/dist/index.cjs258.js.map +1 -1
  172. package/dist/index.cjs259.js +1 -1
  173. package/dist/index.cjs259.js.map +1 -1
  174. package/dist/index.cjs26.js +1 -1
  175. package/dist/index.cjs260.js +1 -1
  176. package/dist/index.cjs27.js +1 -1
  177. package/dist/index.cjs29.js +1 -1
  178. package/dist/index.cjs30.js +1 -1
  179. package/dist/index.cjs31.js +1 -1
  180. package/dist/index.cjs33.js +1 -1
  181. package/dist/index.cjs34.js +1 -1
  182. package/dist/index.cjs35.js +1 -1
  183. package/dist/index.cjs37.js +1 -1
  184. package/dist/index.cjs38.js +1 -1
  185. package/dist/index.cjs39.js +1 -1
  186. package/dist/index.cjs43.js +1 -1
  187. package/dist/index.cjs44.js +1 -1
  188. package/dist/index.cjs45.js +1 -1
  189. package/dist/index.cjs47.js +1 -1
  190. package/dist/index.cjs48.js +1 -1
  191. package/dist/index.cjs5.js +1 -1
  192. package/dist/index.cjs5.js.map +1 -1
  193. package/dist/index.cjs50.js +1 -1
  194. package/dist/index.cjs57.js +1 -1
  195. package/dist/index.cjs59.js +1 -1
  196. package/dist/index.cjs63.js +9 -1
  197. package/dist/index.cjs63.js.map +1 -1
  198. package/dist/index.cjs64.js +13 -3
  199. package/dist/index.cjs64.js.map +1 -1
  200. package/dist/index.cjs65.js +1 -19
  201. package/dist/index.cjs65.js.map +1 -1
  202. package/dist/index.cjs66.js +1 -1
  203. package/dist/index.cjs67.js +1 -1
  204. package/dist/index.cjs68.js +1 -1
  205. package/dist/index.cjs69.js +1 -1
  206. package/dist/index.cjs70.js +1 -1
  207. package/dist/index.cjs71.js +1 -1
  208. package/dist/index.cjs72.js +1 -1
  209. package/dist/index.cjs73.js +1 -1
  210. package/dist/index.cjs75.js +1 -1
  211. package/dist/index.cjs75.js.map +1 -1
  212. package/dist/index.cjs76.js +1 -1
  213. package/dist/index.cjs76.js.map +1 -1
  214. package/dist/index.cjs77.js +1 -1
  215. package/dist/index.cjs77.js.map +1 -1
  216. package/dist/index.cjs78.js +1 -1
  217. package/dist/index.cjs78.js.map +1 -1
  218. package/dist/index.cjs79.js +1 -1
  219. package/dist/index.cjs79.js.map +1 -1
  220. package/dist/index.cjs83.js +1 -1
  221. package/dist/index.cjs90.js +1 -1
  222. package/dist/index.cjs91.js +1 -1
  223. package/dist/index.cjs92.js +1 -1
  224. package/dist/index.cjs93.js +1 -1
  225. package/dist/index.cjs94.js +1 -1
  226. package/dist/index.cjs95.js +1 -1
  227. package/dist/index.cjs96.js +1 -1
  228. package/dist/index.cjs97.js +1 -1
  229. package/dist/index.cjs98.js +1 -1
  230. package/dist/index.es101.js +1 -1
  231. package/dist/index.es102.js +1 -1
  232. package/dist/index.es104.js +3 -3
  233. package/dist/index.es105.js +1 -1
  234. package/dist/index.es106.js +2 -2
  235. package/dist/index.es107.js +1 -1
  236. package/dist/index.es112.js +1 -1
  237. package/dist/index.es113.js +1 -1
  238. package/dist/index.es114.js +1 -1
  239. package/dist/index.es115.js +1 -1
  240. package/dist/index.es118.js +2 -2
  241. package/dist/index.es119.js +2 -2
  242. package/dist/index.es120.js +1 -1
  243. package/dist/index.es124.js +2 -2
  244. package/dist/index.es127.js +1 -1
  245. package/dist/index.es131.js +1 -1
  246. package/dist/index.es134.js +1 -1
  247. package/dist/index.es142.js +1 -1
  248. package/dist/index.es143.js +1 -1
  249. package/dist/index.es144.js +1 -1
  250. package/dist/index.es145.js +2 -2
  251. package/dist/index.es146.js +1 -1
  252. package/dist/index.es147.js +1 -1
  253. package/dist/index.es148.js +1 -1
  254. package/dist/index.es15.js +3 -3
  255. package/dist/index.es150.js +2 -2
  256. package/dist/index.es151.js +2 -2
  257. package/dist/index.es152.js +1 -1
  258. package/dist/index.es153.js +1 -1
  259. package/dist/index.es154.js +1 -1
  260. package/dist/index.es155.js +1 -1
  261. package/dist/index.es156.js +2 -2
  262. package/dist/index.es157.js +2 -2
  263. package/dist/index.es158.js +1 -1
  264. package/dist/index.es161.js +2 -2
  265. package/dist/index.es162.js +2 -2
  266. package/dist/index.es164.js +2 -2
  267. package/dist/index.es165.js +1 -1
  268. package/dist/index.es166.js +2 -2
  269. package/dist/index.es167.js +1 -1
  270. package/dist/index.es168.js +2 -2
  271. package/dist/index.es169.js +1 -1
  272. package/dist/index.es17.js +3 -3
  273. package/dist/index.es170.js +1 -1
  274. package/dist/index.es171.js +1 -1
  275. package/dist/index.es177.js +1 -1
  276. package/dist/index.es178.js +2 -2
  277. package/dist/index.es179.js +1 -1
  278. package/dist/index.es180.js +1 -1
  279. package/dist/index.es181.js +1 -1
  280. package/dist/index.es184.js +7 -320
  281. package/dist/index.es184.js.map +1 -1
  282. package/dist/index.es185.js +144 -71
  283. package/dist/index.es185.js.map +1 -1
  284. package/dist/index.es186.js +12197 -3
  285. package/dist/index.es186.js.map +1 -1
  286. package/dist/index.es187.js +3 -18
  287. package/dist/index.es187.js.map +1 -1
  288. package/dist/index.es188.js +3 -13
  289. package/dist/index.es188.js.map +1 -1
  290. package/dist/index.es189.js +33 -28
  291. package/dist/index.es189.js.map +1 -1
  292. package/dist/index.es19.js +1 -1
  293. package/dist/index.es190.js +3 -7
  294. package/dist/index.es190.js.map +1 -1
  295. package/dist/index.es191.js +22 -7
  296. package/dist/index.es191.js.map +1 -1
  297. package/dist/index.es192.js +2 -150
  298. package/dist/index.es192.js.map +1 -1
  299. package/dist/index.es193.js +3 -12199
  300. package/dist/index.es193.js.map +1 -1
  301. package/dist/index.es194.js +0 -1
  302. package/dist/index.es194.js.map +1 -1
  303. package/dist/index.es195.js +34 -3
  304. package/dist/index.es195.js.map +1 -1
  305. package/dist/index.es196.js +13 -36
  306. package/dist/index.es196.js.map +1 -1
  307. package/dist/index.es197.js +16 -3
  308. package/dist/index.es197.js.map +1 -1
  309. package/dist/index.es198.js +8 -22
  310. package/dist/index.es198.js.map +1 -1
  311. package/dist/index.es199.js +323 -2
  312. package/dist/index.es199.js.map +1 -1
  313. package/dist/index.es200.js +77 -3
  314. package/dist/index.es200.js.map +1 -1
  315. package/dist/index.es201.js +5 -2
  316. package/dist/index.es201.js.map +1 -1
  317. package/dist/index.es202.js +15 -31
  318. package/dist/index.es202.js.map +1 -1
  319. package/dist/index.es203.js +11 -13
  320. package/dist/index.es203.js.map +1 -1
  321. package/dist/index.es204.js +30 -13
  322. package/dist/index.es204.js.map +1 -1
  323. package/dist/index.es205.js +4 -8
  324. package/dist/index.es205.js.map +1 -1
  325. package/dist/index.es207.js +6 -44
  326. package/dist/index.es207.js.map +1 -1
  327. package/dist/index.es208.js +4 -22
  328. package/dist/index.es208.js.map +1 -1
  329. package/dist/index.es209.js +4 -8
  330. package/dist/index.es209.js.map +1 -1
  331. package/dist/index.es21.js +2 -2
  332. package/dist/index.es210.js +3 -5
  333. package/dist/index.es210.js.map +1 -1
  334. package/dist/index.es211.js +3 -4
  335. package/dist/index.es211.js.map +1 -1
  336. package/dist/index.es212.js +9 -3
  337. package/dist/index.es212.js.map +1 -1
  338. package/dist/index.es213.js +22 -3
  339. package/dist/index.es213.js.map +1 -1
  340. package/dist/index.es214.js +21 -8
  341. package/dist/index.es214.js.map +1 -1
  342. package/dist/index.es215.js +11 -19
  343. package/dist/index.es215.js.map +1 -1
  344. package/dist/index.es216.js +14 -19
  345. package/dist/index.es216.js.map +1 -1
  346. package/dist/index.es217.js +5 -13
  347. package/dist/index.es217.js.map +1 -1
  348. package/dist/index.es218.js +8 -16
  349. package/dist/index.es218.js.map +1 -1
  350. package/dist/index.es219.js +6 -5
  351. package/dist/index.es219.js.map +1 -1
  352. package/dist/index.es22.js +2 -2
  353. package/dist/index.es220.js +20 -7
  354. package/dist/index.es220.js.map +1 -1
  355. package/dist/index.es221.js +8 -5
  356. package/dist/index.es221.js.map +1 -1
  357. package/dist/index.es222.js +9 -22
  358. package/dist/index.es222.js.map +1 -1
  359. package/dist/index.es223.js +4 -10
  360. package/dist/index.es223.js.map +1 -1
  361. package/dist/index.es224.js +11 -9
  362. package/dist/index.es224.js.map +1 -1
  363. package/dist/index.es225.js +9 -4
  364. package/dist/index.es225.js.map +1 -1
  365. package/dist/index.es226.js +21 -9
  366. package/dist/index.es226.js.map +1 -1
  367. package/dist/index.es227.js +11 -8
  368. package/dist/index.es227.js.map +1 -1
  369. package/dist/index.es228.js +18 -22
  370. package/dist/index.es228.js.map +1 -1
  371. package/dist/index.es229.js +4 -12
  372. package/dist/index.es229.js.map +1 -1
  373. package/dist/index.es230.js +16 -17
  374. package/dist/index.es230.js.map +1 -1
  375. package/dist/index.es231.js +12 -4
  376. package/dist/index.es231.js.map +1 -1
  377. package/dist/index.es232.js +3 -17
  378. package/dist/index.es232.js.map +1 -1
  379. package/dist/index.es233.js +4 -11
  380. package/dist/index.es233.js.map +1 -1
  381. package/dist/index.es234.js +45 -3
  382. package/dist/index.es234.js.map +1 -1
  383. package/dist/index.es235.js +22 -4
  384. package/dist/index.es235.js.map +1 -1
  385. package/dist/index.es236.js +3 -6
  386. package/dist/index.es236.js.map +1 -1
  387. package/dist/index.es237.js +8 -3
  388. package/dist/index.es237.js.map +1 -1
  389. package/dist/index.es238.js +4 -6
  390. package/dist/index.es238.js.map +1 -1
  391. package/dist/index.es240.js +1 -1
  392. package/dist/index.es243.js +1 -1
  393. package/dist/index.es246.js +1 -1
  394. package/dist/index.es249.js +2 -2
  395. package/dist/index.es25.js +1 -1
  396. package/dist/index.es251.js +1 -1
  397. package/dist/index.es254.js +1 -1
  398. package/dist/index.es255.js +1 -1
  399. package/dist/index.es258.js +15 -4
  400. package/dist/index.es258.js.map +1 -1
  401. package/dist/index.es259.js +4 -15
  402. package/dist/index.es259.js.map +1 -1
  403. package/dist/index.es26.js +1 -1
  404. package/dist/index.es260.js +2 -2
  405. package/dist/index.es27.js +2 -2
  406. package/dist/index.es29.js +2 -2
  407. package/dist/index.es30.js +2 -2
  408. package/dist/index.es31.js +2 -2
  409. package/dist/index.es33.js +1 -1
  410. package/dist/index.es34.js +2 -2
  411. package/dist/index.es35.js +2 -2
  412. package/dist/index.es37.js +1 -1
  413. package/dist/index.es38.js +1 -1
  414. package/dist/index.es39.js +1 -1
  415. package/dist/index.es43.js +2 -2
  416. package/dist/index.es44.js +3 -3
  417. package/dist/index.es45.js +1 -1
  418. package/dist/index.es47.js +1 -1
  419. package/dist/index.es48.js +1 -1
  420. package/dist/index.es5.js +7 -6
  421. package/dist/index.es5.js.map +1 -1
  422. package/dist/index.es50.js +1 -1
  423. package/dist/index.es57.js +1 -1
  424. package/dist/index.es59.js +11 -11
  425. package/dist/index.es63.js +30 -2
  426. package/dist/index.es63.js.map +1 -1
  427. package/dist/index.es64.js +593 -21
  428. package/dist/index.es64.js.map +1 -1
  429. package/dist/index.es65.js +2 -602
  430. package/dist/index.es65.js.map +1 -1
  431. package/dist/index.es66.js +4 -4
  432. package/dist/index.es67.js +2 -2
  433. package/dist/index.es68.js +2 -2
  434. package/dist/index.es69.js +1 -1
  435. package/dist/index.es70.js +1 -1
  436. package/dist/index.es71.js +1 -1
  437. package/dist/index.es72.js +1 -1
  438. package/dist/index.es73.js +1 -1
  439. package/dist/index.es75.js +25 -104
  440. package/dist/index.es75.js.map +1 -1
  441. package/dist/index.es76.js +51 -10
  442. package/dist/index.es76.js.map +1 -1
  443. package/dist/index.es77.js +62 -25
  444. package/dist/index.es77.js.map +1 -1
  445. package/dist/index.es78.js +101 -45
  446. package/dist/index.es78.js.map +1 -1
  447. package/dist/index.es79.js +10 -65
  448. package/dist/index.es79.js.map +1 -1
  449. package/dist/index.es83.js +1 -1
  450. package/dist/index.es90.js +1 -1
  451. package/dist/index.es91.js +1 -1
  452. package/dist/index.es92.js +1 -1
  453. package/dist/index.es93.js +1 -1
  454. package/dist/index.es94.js +1 -1
  455. package/dist/index.es95.js +1 -1
  456. package/dist/index.es96.js +1 -1
  457. package/dist/index.es97.js +1 -1
  458. package/dist/index.es98.js +1 -1
  459. package/package.json +1 -1
  460. package/src/components/LayerMenu.js +2 -1
  461. package/types/components/LayerMenu.js.flow +2 -1
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs24.js"),r=require("./index.cjs97.js"),i=require("./index.cjs122.js"),s=require("./index.cjs211.js");var n=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function a(t){return e.nativeIsView?e.nativeIsView(t)&&!r(t):s(t)&&n.test(e.toString.call(t))}const u=e.supportsArrayBuffer?a:i(!1);module.exports=u;
1
+ "use strict";const e=require("./index.cjs24.js"),r=require("./index.cjs97.js"),i=require("./index.cjs122.js"),s=require("./index.cjs209.js");var n=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function a(t){return e.nativeIsView?e.nativeIsView(t)&&!r(t):s(t)&&n.test(e.toString.call(t))}const u=e.supportsArrayBuffer?a:i(!1);module.exports=u;
2
2
  //# sourceMappingURL=index.cjs101.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs212.js"),n=require("./index.cjs98.js"),i=require("./index.cjs90.js"),s=require("./index.cjs27.js"),u=require("./index.cjs106.js");function c(r){if(r==null)return!0;var e=t(r);return typeof e=="number"&&(n(r)||i(r)||s(r))?e===0:t(u(r))===0}module.exports=c;
1
+ "use strict";const t=require("./index.cjs210.js"),n=require("./index.cjs98.js"),i=require("./index.cjs90.js"),s=require("./index.cjs27.js"),u=require("./index.cjs106.js");function c(r){if(r==null)return!0;var e=t(r);return typeof e=="number"&&(n(r)||i(r)||s(r))?e===0:t(u(r))===0}module.exports=c;
2
2
  //# sourceMappingURL=index.cjs102.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const h=require("./index.cjs28.js"),l=require("./index.cjs24.js"),j=require("./index.cjs213.js"),m=require("./index.cjs101.js"),q=require("./index.cjs25.js"),O=require("./index.cjs26.js"),y=require("./index.cjs97.js"),v=require("./index.cjs106.js"),A=require("./index.cjs210.js"),w=require("./index.cjs214.js");var B="[object DataView]";function p(e,r,n,u){if(e===r)return e!==0||1/e===1/r;if(e==null||r==null)return!1;if(e!==e)return r!==r;var i=typeof e;return i!=="function"&&i!=="object"&&typeof r!="object"?!1:_(e,r,n,u)}function _(e,r,n,u){e instanceof h&&(e=e._wrapped),r instanceof h&&(r=r._wrapped);var i=l.toString.call(e);if(i!==l.toString.call(r))return!1;if(O.hasStringTagBug&&i=="[object Object]"&&y(e)){if(!y(r))return!1;i=B}switch(i){case"[object RegExp]":case"[object String]":return""+e==""+r;case"[object Number]":return+e!=+e?+r!=+r:+e==0?1/+e===1/r:+e==+r;case"[object Date]":case"[object Boolean]":return+e==+r;case"[object Symbol]":return l.SymbolProto.valueOf.call(e)===l.SymbolProto.valueOf.call(r);case"[object ArrayBuffer]":case B:return _(w(e),w(r),n,u)}var f=i==="[object Array]";if(!f&&m(e)){var d=j(e);if(d!==j(r))return!1;if(e.buffer===r.buffer&&e.byteOffset===r.byteOffset)return!0;f=!0}if(!f){if(typeof e!="object"||typeof r!="object")return!1;var s=e.constructor,o=r.constructor;if(s!==o&&!(q(s)&&s instanceof s&&q(o)&&o instanceof o)&&"constructor"in e&&"constructor"in r)return!1}n=n||[],u=u||[];for(var t=n.length;t--;)if(n[t]===e)return u[t]===r;if(n.push(e),u.push(r),f){if(t=e.length,t!==r.length)return!1;for(;t--;)if(!p(e[t],r[t],n,u))return!1}else{var g=v(e),c;if(t=g.length,v(r).length!==t)return!1;for(;t--;)if(c=g[t],!(A(r,c)&&p(e[c],r[c],n,u)))return!1}return n.pop(),u.pop(),!0}function D(e,r){return p(e,r)}module.exports=D;
1
+ "use strict";const h=require("./index.cjs28.js"),l=require("./index.cjs24.js"),j=require("./index.cjs211.js"),m=require("./index.cjs101.js"),q=require("./index.cjs25.js"),O=require("./index.cjs26.js"),y=require("./index.cjs97.js"),v=require("./index.cjs106.js"),A=require("./index.cjs208.js"),w=require("./index.cjs212.js");var B="[object DataView]";function p(e,r,n,u){if(e===r)return e!==0||1/e===1/r;if(e==null||r==null)return!1;if(e!==e)return r!==r;var i=typeof e;return i!=="function"&&i!=="object"&&typeof r!="object"?!1:_(e,r,n,u)}function _(e,r,n,u){e instanceof h&&(e=e._wrapped),r instanceof h&&(r=r._wrapped);var i=l.toString.call(e);if(i!==l.toString.call(r))return!1;if(O.hasStringTagBug&&i=="[object Object]"&&y(e)){if(!y(r))return!1;i=B}switch(i){case"[object RegExp]":case"[object String]":return""+e==""+r;case"[object Number]":return+e!=+e?+r!=+r:+e==0?1/+e===1/r:+e==+r;case"[object Date]":case"[object Boolean]":return+e==+r;case"[object Symbol]":return l.SymbolProto.valueOf.call(e)===l.SymbolProto.valueOf.call(r);case"[object ArrayBuffer]":case B:return _(w(e),w(r),n,u)}var f=i==="[object Array]";if(!f&&m(e)){var d=j(e);if(d!==j(r))return!1;if(e.buffer===r.buffer&&e.byteOffset===r.byteOffset)return!0;f=!0}if(!f){if(typeof e!="object"||typeof r!="object")return!1;var s=e.constructor,o=r.constructor;if(s!==o&&!(q(s)&&s instanceof s&&q(o)&&o instanceof o)&&"constructor"in e&&"constructor"in r)return!1}n=n||[],u=u||[];for(var t=n.length;t--;)if(n[t]===e)return u[t]===r;if(n.push(e),u.push(r),f){if(t=e.length,t!==r.length)return!1;for(;t--;)if(!p(e[t],r[t],n,u))return!1}else{var g=v(e),c;if(t=g.length,v(r).length!==t)return!1;for(;t--;)if(c=g[t],!(A(r,c)&&p(e[c],r[c],n,u)))return!1}return n.pop(),u.pop(),!0}function D(e,r){return p(e,r)}module.exports=D;
2
2
  //# sourceMappingURL=index.cjs104.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs209.js"),t=e("WeakSet");module.exports=t;
1
+ "use strict";const e=require("./index.cjs207.js"),t=e("WeakSet");module.exports=t;
2
2
  //# sourceMappingURL=index.cjs105.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs85.js"),s=require("./index.cjs24.js"),i=require("./index.cjs210.js"),u=require("./index.cjs216.js");function c(e){if(!n(e))return[];if(s.nativeKeys)return s.nativeKeys(e);var r=[];for(var t in e)i(e,t)&&r.push(t);return s.hasEnumBug&&u(e,r),r}module.exports=c;
1
+ "use strict";const n=require("./index.cjs85.js"),s=require("./index.cjs24.js"),i=require("./index.cjs208.js"),u=require("./index.cjs214.js");function c(e){if(!n(e))return[];if(s.nativeKeys)return s.nativeKeys(e);var r=[];for(var t in e)i(e,t)&&r.push(t);return s.hasEnumBug&&u(e,r),r}module.exports=c;
2
2
  //# sourceMappingURL=index.cjs106.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs85.js"),u=require("./index.cjs24.js"),n=require("./index.cjs216.js");function i(r){if(!t(r))return[];var e=[];for(var s in r)e.push(s);return u.hasEnumBug&&n(r,e),e}module.exports=i;
1
+ "use strict";const t=require("./index.cjs85.js"),u=require("./index.cjs24.js"),n=require("./index.cjs214.js");function i(r){if(!t(r))return[];var e=[];for(var s in r)e.push(s);return u.hasEnumBug&&n(r,e),e}module.exports=i;
2
2
  //# sourceMappingURL=index.cjs107.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs217.js"),s=require("./index.cjs107.js"),r=e(s);module.exports=r;
1
+ "use strict";const e=require("./index.cjs215.js"),s=require("./index.cjs107.js"),r=e(s);module.exports=r;
2
2
  //# sourceMappingURL=index.cjs112.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs217.js"),s=require("./index.cjs106.js"),r=e(s);module.exports=r;
1
+ "use strict";const e=require("./index.cjs215.js"),s=require("./index.cjs106.js"),r=e(s);module.exports=r;
2
2
  //# sourceMappingURL=index.cjs113.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs217.js"),s=require("./index.cjs107.js"),r=e(s,!0);module.exports=r;
1
+ "use strict";const e=require("./index.cjs215.js"),s=require("./index.cjs107.js"),r=e(s,!0);module.exports=r;
2
2
  //# sourceMappingURL=index.cjs114.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs218.js"),s=require("./index.cjs113.js");function u(t,e){var r=n(t);return e&&s(r,e),r}module.exports=u;
1
+ "use strict";const n=require("./index.cjs216.js"),s=require("./index.cjs113.js");function u(t,e){var r=n(t);return e&&s(r,e),r}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs115.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs219.js"),s=require("./index.cjs220.js"),u=require("./index.cjs87.js");function o(t,r,n){var e=s(t,i(r));return u(e)?n:e}module.exports=o;
1
+ "use strict";const i=require("./index.cjs217.js"),s=require("./index.cjs218.js"),u=require("./index.cjs87.js");function o(t,r,n){var e=s(t,i(r));return u(e)?n:e}module.exports=o;
2
2
  //# sourceMappingURL=index.cjs118.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const u=require("./index.cjs210.js"),a=require("./index.cjs219.js");function c(e,r){r=a(r);for(var n=r.length,t=0;t<n;t++){var s=r[t];if(!u(e,s))return!1;e=e[s]}return!!n}module.exports=c;
1
+ "use strict";const u=require("./index.cjs208.js"),a=require("./index.cjs217.js");function c(e,r){r=a(r);for(var n=r.length,t=0;t<n;t++){var s=r[t];if(!u(e,s))return!1;e=e[s]}return!!n}module.exports=c;
2
2
  //# sourceMappingURL=index.cjs119.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const v=require("./index.cjs221.js"),a=require("./index.cjs106.js");function f(s,r,n){r=v(r,n);for(var u=a(s),o=u.length,l={},t=0;t<o;t++){var c=u[t];l[c]=r(s[c],c,s)}return l}module.exports=f;
1
+ "use strict";const v=require("./index.cjs219.js"),a=require("./index.cjs106.js");function f(s,r,n){r=v(r,n);for(var u=a(s),o=u.length,l={},t=0;t<o;t++){var c=u[t];l[c]=r(s[c],c,s)}return l}module.exports=f;
2
2
  //# sourceMappingURL=index.cjs120.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs220.js"),n=require("./index.cjs219.js");function o(e){return e=n(e),function(r){return t(r,e)}}module.exports=o;
1
+ "use strict";const t=require("./index.cjs218.js"),n=require("./index.cjs217.js");function o(e){return e=n(e),function(r){return t(r,e)}}module.exports=o;
2
2
  //# sourceMappingURL=index.cjs124.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const u=require("./index.cjs222.js");function a(o,c,t){var s=Array(Math.max(0,o));c=u(c,t,1);for(var r=0;r<o;r++)s[r]=c(r);return s}module.exports=a;
1
+ "use strict";const u=require("./index.cjs220.js");function a(o,c,t){var s=Array(Math.max(0,o));c=u(c,t,1);for(var r=0;r<o;r++)s[r]=c(r);return s}module.exports=a;
2
2
  //# sourceMappingURL=index.cjs127.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs25.js"),v=require("./index.cjs219.js");function c(e,r,t){r=v(r);var i=r.length;if(!i)return s(t)?t.call(e):t;for(var u=0;u<i;u++){var n=e==null?void 0:e[r[u]];n===void 0&&(n=t,u=i),e=s(n)?n.call(e):n}return e}module.exports=c;
1
+ "use strict";const s=require("./index.cjs25.js"),v=require("./index.cjs217.js");function c(e,r,t){r=v(r);var i=r.length;if(!i)return s(t)?t.call(e):t;for(var u=0;u<i;u++){var n=e==null?void 0:e[r[u]];n===void 0&&(n=t,u=i),e=s(n)?n.call(e):n}return e}module.exports=c;
2
2
  //# sourceMappingURL=index.cjs131.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs210.js");function n(c,a){var e=function(s){var r=e.cache,t=""+(a?a.apply(this,arguments):s);return i(r,t)||(r[t]=c.apply(this,arguments)),r[t]};return e.cache={},e}module.exports=n;
1
+ "use strict";const i=require("./index.cjs208.js");function n(c,a){var e=function(s){var r=e.cache,t=""+(a?a.apply(this,arguments):s);return i(r,t)||(r[t]=c.apply(this,arguments)),r[t]};return e.cache={},e}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs134.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const y=require("./index.cjs221.js"),c=require("./index.cjs106.js");function k(e,n,u){n=y(n,u);for(var t=c(e),r,s=0,f=t.length;s<f;s++)if(r=t[s],n(e[r],r,e))return r}module.exports=k;
1
+ "use strict";const y=require("./index.cjs219.js"),c=require("./index.cjs106.js");function k(e,n,u){n=y(n,u);for(var t=c(e),r,s=0,f=t.length;s<f;s++)if(r=t[s],n(e[r],r,e))return r}module.exports=k;
2
2
  //# sourceMappingURL=index.cjs142.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs229.js"),r=e(1);module.exports=r;
1
+ "use strict";const e=require("./index.cjs227.js"),r=e(1);module.exports=r;
2
2
  //# sourceMappingURL=index.cjs143.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs229.js"),t=e(-1);module.exports=t;
1
+ "use strict";const e=require("./index.cjs227.js"),t=e(-1);module.exports=t;
2
2
  //# sourceMappingURL=index.cjs144.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs221.js"),t=require("./index.cjs212.js");function v(e,u,o,c){o=l(o,c,1);for(var h=o(u),r=0,n=t(e);r<n;){var s=Math.floor((r+n)/2);o(e[s])<h?r=s+1:n=s}return r}module.exports=v;
1
+ "use strict";const l=require("./index.cjs219.js"),t=require("./index.cjs210.js");function v(e,u,o,c){o=l(o,c,1);for(var h=o(u),r=0,n=t(e);r<n;){var s=Math.floor((r+n)/2);o(e[s])<h?r=s+1:n=s}return r}module.exports=v;
2
2
  //# sourceMappingURL=index.cjs145.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs145.js"),r=require("./index.cjs143.js"),n=require("./index.cjs230.js"),t=n(1,r,e);module.exports=t;
1
+ "use strict";const e=require("./index.cjs145.js"),r=require("./index.cjs143.js"),n=require("./index.cjs228.js"),t=n(1,r,e);module.exports=t;
2
2
  //# sourceMappingURL=index.cjs146.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs144.js"),t=require("./index.cjs230.js"),n=t(-1,e);module.exports=n;
1
+ "use strict";const e=require("./index.cjs144.js"),t=require("./index.cjs228.js"),n=t(-1,e);module.exports=n;
2
2
  //# sourceMappingURL=index.cjs147.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs231.js"),d=require("./index.cjs143.js"),u=require("./index.cjs142.js");function c(e,i,n){var t=s(e)?d:u,r=t(e,i,n);if(r!==void 0&&r!==-1)return e[r]}module.exports=c;
1
+ "use strict";const s=require("./index.cjs229.js"),d=require("./index.cjs143.js"),u=require("./index.cjs142.js");function c(e,i,n){var t=s(e)?d:u,r=t(e,i,n);if(r!==void 0&&r!==-1)return e[r]}module.exports=c;
2
2
  //# sourceMappingURL=index.cjs148.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("react"),a=require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");const i=require("./index.cjs72.js");require("./index.cjs73.js");const c=require("./index.cjs78.js"),s=require("./index.cjs79.js"),l=require("./index.cjs74.js");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const p=f(u);function q(){return l.useMap()}const d=Promise.resolve().then(()=>require("./index.cjs77.js")).then(e=>e.index),o=p.forwardRef(function(t,r){return a.default(t,r,d)}),g=i,M=c,b=s;exports.Layer=M;exports.Map=o;exports.NavigationControl=g;exports.Source=b;exports.default=o;exports.useMap=q;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("react"),a=require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");const i=require("./index.cjs72.js");require("./index.cjs73.js");const c=require("./index.cjs76.js"),s=require("./index.cjs77.js"),l=require("./index.cjs74.js");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const p=f(u);function q(){return l.useMap()}const d=Promise.resolve().then(()=>require("./index.cjs75.js")).then(e=>e.index),o=p.forwardRef(function(t,r){return a.default(t,r,d)}),g=i,M=c,b=s;exports.Layer=M;exports.Map=o;exports.NavigationControl=g;exports.Source=b;exports.default=o;exports.useMap=q;
2
2
  //# sourceMappingURL=index.cjs15.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs222.js"),u=require("./index.cjs231.js"),f=require("./index.cjs106.js");function h(n,i,c){i=t(i,c);var r,e;if(u(n))for(r=0,e=n.length;r<e;r++)i(n[r],r,n);else{var s=f(n);for(r=0,e=s.length;r<e;r++)i(n[s[r]],s[r],n)}return n}module.exports=h;
1
+ "use strict";const t=require("./index.cjs220.js"),u=require("./index.cjs229.js"),f=require("./index.cjs106.js");function h(n,i,c){i=t(i,c);var r,e;if(u(n))for(r=0,e=n.length;r<e;r++)i(n[r],r,n);else{var s=f(n);for(r=0,e=s.length;r<e;r++)i(n[s[r]],s[r],n)}return n}module.exports=h;
2
2
  //# sourceMappingURL=index.cjs150.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("./index.cjs221.js"),n=require("./index.cjs231.js"),q=require("./index.cjs106.js");function v(r,t,k){t=l(t,k);for(var u=!n(r)&&q(r),c=(u||r).length,a=Array(c),s=0;s<c;s++){var e=u?u[s]:s;a[s]=t(r[e],e,r)}return a}module.exports=v;
1
+ "use strict";const l=require("./index.cjs219.js"),n=require("./index.cjs229.js"),q=require("./index.cjs106.js");function v(r,t,k){t=l(t,k);for(var u=!n(r)&&q(r),c=(u||r).length,a=Array(c),s=0;s<c;s++){var e=u?u[s]:s;a[s]=t(r[e],e,r)}return a}module.exports=v;
2
2
  //# sourceMappingURL=index.cjs151.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs232.js"),c=e(1);module.exports=c;
1
+ "use strict";const e=require("./index.cjs230.js"),c=e(1);module.exports=c;
2
2
  //# sourceMappingURL=index.cjs152.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs232.js"),t=e(-1);module.exports=t;
1
+ "use strict";const e=require("./index.cjs230.js"),t=e(-1);module.exports=t;
2
2
  //# sourceMappingURL=index.cjs153.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs221.js"),o=require("./index.cjs150.js");function f(n,r,u){var s=[];return r=i(r,u),o(n,function(t,c,e){r(t,c,e)&&s.push(t)}),s}module.exports=f;
1
+ "use strict";const i=require("./index.cjs219.js"),o=require("./index.cjs150.js");function f(n,r,u){var s=[];return r=i(r,u),o(n,function(t,c,e){r(t,c,e)&&s.push(t)}),s}module.exports=f;
2
2
  //# sourceMappingURL=index.cjs154.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs154.js"),n=require("./index.cjs138.js"),i=require("./index.cjs221.js");function s(e,r,t){return c(e,n(i(r)),t)}module.exports=s;
1
+ "use strict";const c=require("./index.cjs154.js"),n=require("./index.cjs138.js"),i=require("./index.cjs219.js");function s(e,r,t){return c(e,n(i(r)),t)}module.exports=s;
2
2
  //# sourceMappingURL=index.cjs155.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const v=require("./index.cjs221.js"),a=require("./index.cjs231.js"),c=require("./index.cjs106.js");function i(r,s,n){s=v(s,n);for(var t=!a(r)&&c(r),f=(t||r).length,e=0;e<f;e++){var u=t?t[e]:e;if(!s(r[u],u,r))return!1}return!0}module.exports=i;
1
+ "use strict";const v=require("./index.cjs219.js"),a=require("./index.cjs229.js"),c=require("./index.cjs106.js");function i(r,s,n){s=v(s,n);for(var t=!a(r)&&c(r),f=(t||r).length,e=0;e<f;e++){var u=t?t[e]:e;if(!s(r[u],u,r))return!1}return!0}module.exports=i;
2
2
  //# sourceMappingURL=index.cjs156.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs221.js"),c=require("./index.cjs231.js"),i=require("./index.cjs106.js");function k(r,e,n){e=a(e,n);for(var t=!c(r)&&i(r),f=(t||r).length,s=0;s<f;s++){var u=t?t[s]:s;if(e(r[u],u,r))return!0}return!1}module.exports=k;
1
+ "use strict";const a=require("./index.cjs219.js"),c=require("./index.cjs229.js"),i=require("./index.cjs106.js");function k(r,e,n){e=a(e,n);for(var t=!c(r)&&i(r),f=(t||r).length,s=0;s<f;s++){var u=t?t[s]:s;if(e(r[u],u,r))return!0}return!1}module.exports=k;
2
2
  //# sourceMappingURL=index.cjs157.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs231.js"),n=require("./index.cjs108.js"),u=require("./index.cjs146.js");function c(e,r,i,t){return s(e)||(e=n(e)),(typeof i!="number"||t)&&(i=0),u(e,r,i)>=0}module.exports=c;
1
+ "use strict";const s=require("./index.cjs229.js"),n=require("./index.cjs108.js"),u=require("./index.cjs146.js");function c(e,r,i,t){return s(e)||(e=n(e)),(typeof i!="number"||t)&&(i=0),u(e,r,i)>=0}module.exports=c;
2
2
  //# sourceMappingURL=index.cjs158.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./index.cjs231.js"),a=require("./index.cjs108.js"),m=require("./index.cjs221.js"),q=require("./index.cjs150.js");function I(n,u,s){var r=-1/0,f=-1/0,i,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:a(n);for(var e=0,c=n.length;e<c;e++)i=n[e],i!=null&&i>r&&(r=i)}else u=m(u,s),q(n,function(l,y,o){t=u(l,y,o),(t>f||t===-1/0&&r===-1/0)&&(r=l,f=t)});return r}module.exports=I;
1
+ "use strict";const p=require("./index.cjs229.js"),a=require("./index.cjs108.js"),m=require("./index.cjs219.js"),q=require("./index.cjs150.js");function I(n,u,s){var r=-1/0,f=-1/0,i,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:a(n);for(var e=0,c=n.length;e<c;e++)i=n[e],i!=null&&i>r&&(r=i)}else u=m(u,s),q(n,function(l,y,o){t=u(l,y,o),(t>f||t===-1/0&&r===-1/0)&&(r=l,f=t)});return r}module.exports=I;
2
2
  //# sourceMappingURL=index.cjs161.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./index.cjs231.js"),m=require("./index.cjs108.js"),q=require("./index.cjs221.js"),I=require("./index.cjs150.js");function a(n,u,s){var i=1/0,f=1/0,r,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:m(n);for(var e=0,c=n.length;e<c;e++)r=n[e],r!=null&&r<i&&(i=r)}else u=q(u,s),I(n,function(l,y,o){t=u(l,y,o),(t<f||t===1/0&&i===1/0)&&(i=l,f=t)});return i}module.exports=a;
1
+ "use strict";const p=require("./index.cjs229.js"),m=require("./index.cjs108.js"),q=require("./index.cjs219.js"),I=require("./index.cjs150.js");function a(n,u,s){var i=1/0,f=1/0,r,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:m(n);for(var e=0,c=n.length;e<c;e++)r=n[e],r!=null&&r<i&&(i=r)}else u=q(u,s),I(n,function(l,y,o){t=u(l,y,o),(t<f||t===1/0&&i===1/0)&&(i=l,f=t)});return i}module.exports=a;
2
2
  //# sourceMappingURL=index.cjs162.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs231.js"),h=require("./index.cjs108.js"),m=require("./index.cjs212.js"),i=require("./index.cjs128.js"),o=require("./index.cjs170.js");function q(r,t,l){if(t==null||l)return n(r)||(r=h(r)),r[i(r.length-1)];var e=o(r),s=m(e);t=Math.max(Math.min(t,s),0);for(var c=s-1,a=0;a<t;a++){var u=i(a,c),v=e[a];e[a]=e[u],e[u]=v}return e.slice(0,t)}module.exports=q;
1
+ "use strict";const n=require("./index.cjs229.js"),h=require("./index.cjs108.js"),m=require("./index.cjs210.js"),i=require("./index.cjs128.js"),o=require("./index.cjs170.js");function q(r,t,l){if(t==null||l)return n(r)||(r=h(r)),r[i(r.length-1)];var e=o(r),s=m(e);t=Math.max(Math.min(t,s),0);for(var c=s-1,a=0;a<t;a++){var u=i(a,c),v=e[a];e[a]=e[u],e[u]=v}return e.slice(0,t)}module.exports=q;
2
2
  //# sourceMappingURL=index.cjs164.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs221.js"),a=require("./index.cjs159.js"),d=require("./index.cjs151.js");function f(u,t,c){var o=0;return t=s(t,c),a(d(u,function(i,n,r){return{value:i,index:o++,criteria:t(i,n,r)}}).sort(function(i,n){var r=i.criteria,e=n.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(r<e||e===void 0)return-1}return i.index-n.index}),"value")}module.exports=f;
1
+ "use strict";const s=require("./index.cjs219.js"),a=require("./index.cjs159.js"),d=require("./index.cjs151.js");function f(u,t,c){var o=0;return t=s(t,c),a(d(u,function(i,n,r){return{value:i,index:o++,criteria:t(i,n,r)}}).sort(function(i,n){var r=i.criteria,e=n.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(r<e||e===void 0)return-1}return i.index-n.index}),"value")}module.exports=f;
2
2
  //# sourceMappingURL=index.cjs165.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs233.js"),i=require("./index.cjs210.js"),n=c(function(o,r,s){i(o,s)?o[s].push(r):o[s]=[r]});module.exports=n;
1
+ "use strict";const c=require("./index.cjs231.js"),i=require("./index.cjs208.js"),n=c(function(o,r,s){i(o,s)?o[s].push(r):o[s]=[r]});module.exports=n;
2
2
  //# sourceMappingURL=index.cjs166.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs233.js"),r=o(function(t,e,n){t[n]=e});module.exports=r;
1
+ "use strict";const o=require("./index.cjs231.js"),r=o(function(t,e,n){t[n]=e});module.exports=r;
2
2
  //# sourceMappingURL=index.cjs167.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs233.js"),s=require("./index.cjs210.js"),t=n(function(o,e,c){s(o,c)?o[c]++:o[c]=1});module.exports=t;
1
+ "use strict";const n=require("./index.cjs231.js"),s=require("./index.cjs208.js"),t=n(function(o,e,c){s(o,c)?o[c]++:o[c]=1});module.exports=t;
2
2
  //# sourceMappingURL=index.cjs168.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs233.js"),u=s(function(t,r,o){t[o?0:1].push(r)},!0);module.exports=u;
1
+ "use strict";const s=require("./index.cjs231.js"),u=s(function(t,r,o){t[o?0:1].push(r)},!0);module.exports=u;
2
2
  //# sourceMappingURL=index.cjs169.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs63.js"),r=require("./index.cjs64.js"),t=require("./index.cjs65.js");process.env.NODE_ENV==="production"?e.__module.exports=r.__require():e.__module.exports=t.__require();var o=e.__module.exports;exports.jsxRuntimeExports=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs62.js"),r=require("./index.cjs63.js"),t=require("./index.cjs64.js");process.env.NODE_ENV==="production"?e.__module.exports=r.__require():e.__module.exports=t.__require();var o=e.__module.exports;exports.jsxRuntimeExports=o;
2
2
  //# sourceMappingURL=index.cjs17.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs98.js"),u=require("./index.cjs24.js"),t=require("./index.cjs90.js"),i=require("./index.cjs231.js"),f=require("./index.cjs151.js"),n=require("./index.cjs121.js"),s=require("./index.cjs108.js");var c=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function d(r){return r?e(r)?u.slice.call(r):t(r)?r.match(c):i(r)?f(r,n):s(r):[]}module.exports=d;
1
+ "use strict";const e=require("./index.cjs98.js"),u=require("./index.cjs24.js"),t=require("./index.cjs90.js"),i=require("./index.cjs229.js"),f=require("./index.cjs151.js"),n=require("./index.cjs121.js"),s=require("./index.cjs108.js");var c=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function d(r){return r?e(r)?u.slice.call(r):t(r)?r.match(c):i(r)?f(r,n):s(r):[]}module.exports=d;
2
2
  //# sourceMappingURL=index.cjs170.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs231.js"),t=require("./index.cjs106.js");function n(e){return e==null?0:r(e)?e.length:t(e).length}module.exports=n;
1
+ "use strict";const r=require("./index.cjs229.js"),t=require("./index.cjs106.js");function n(e){return e==null?0:r(e)?e.length:t(e).length}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs171.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs228.js");function r(t,e){return n(t,e,!1)}module.exports=r;
1
+ "use strict";const n=require("./index.cjs226.js");function r(t,e){return n(t,e,!1)}module.exports=r;
2
2
  //# sourceMappingURL=index.cjs177.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./index.cjs88.js"),_=require("./index.cjs221.js"),b=require("./index.cjs212.js"),g=require("./index.cjs158.js");function i(o,h,s,r){p(h)||(r=s,s=h,h=!1),s!=null&&(s=_(s,r));for(var f=[],q=[],u=0,l=b(o);u<l;u++){var n=o[u],c=s?s(n,u,o):n;h&&!s?((!u||q!==c)&&f.push(n),q=c):s?g(q,c)||(q.push(c),f.push(n)):g(f,n)||f.push(n)}return f}module.exports=i;
1
+ "use strict";const p=require("./index.cjs88.js"),_=require("./index.cjs219.js"),b=require("./index.cjs210.js"),g=require("./index.cjs158.js");function i(o,h,s,r){p(h)||(r=s,s=h,h=!1),s!=null&&(s=_(s,r));for(var f=[],q=[],u=0,l=b(o);u<l;u++){var n=o[u],c=s?s(n,u,o):n;h&&!s?((!u||q!==c)&&f.push(n),q=c):s?g(q,c)||(q.push(c),f.push(n)):g(f,n)||f.push(n)}return f}module.exports=i;
2
2
  //# sourceMappingURL=index.cjs178.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs212.js"),o=require("./index.cjs158.js");function g(s){for(var e=[],u=arguments.length,n=0,a=c(s);n<a;n++){var t=s[n];if(!o(e,t)){var r;for(r=1;r<u&&o(arguments[r],t);r++);r===u&&e.push(t)}}return e}module.exports=g;
1
+ "use strict";const c=require("./index.cjs210.js"),o=require("./index.cjs158.js");function g(s){for(var e=[],u=arguments.length,n=0,a=c(s);n<a;n++){var t=s[n];if(!o(e,t)){var r;for(r=1;r<u&&o(arguments[r],t);r++);r===u&&e.push(t)}}return e}module.exports=g;
2
2
  //# sourceMappingURL=index.cjs179.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index.cjs161.js"),s=require("./index.cjs212.js"),c=require("./index.cjs159.js");function o(t){for(var e=t&&n(t,s).length||0,u=Array(e),r=0;r<e;r++)u[r]=c(t,r);return u}module.exports=o;
1
+ "use strict";const n=require("./index.cjs161.js"),s=require("./index.cjs210.js"),c=require("./index.cjs159.js");function o(t){for(var e=t&&n(t,s).length||0,u=Array(e),r=0;r<e;r++)u[r]=c(t,r);return u}module.exports=o;
2
2
  //# sourceMappingURL=index.cjs180.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs212.js");function u(r,n){for(var t={},e=0,o=c(r);e<o;e++)n?t[r[e]]=n[e]:t[r[e][0]]=r[e][1];return t}module.exports=u;
1
+ "use strict";const c=require("./index.cjs210.js");function u(r,n){for(var t={},e=0,o=c(r);e<o;e++)n?t[r[e]]=n[e]:t[r[e][0]]=r[e][1];return t}module.exports=u;
2
2
  //# sourceMappingURL=index.cjs181.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const d=require("./index.cjs207.js"),p=require("./index.cjs208.js"),u=require("./index.cjs189.js"),_={version:8,sources:{},layers:[]},v={mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",click:"onClick",dblclick:"onDblClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",mouseout:"onMouseOut",contextmenu:"onContextMenu",touchstart:"onTouchStart",touchend:"onTouchEnd",touchmove:"onTouchMove",touchcancel:"onTouchCancel"},f={movestart:"onMoveStart",move:"onMove",moveend:"onMoveEnd",dragstart:"onDragStart",drag:"onDrag",dragend:"onDragEnd",zoomstart:"onZoomStart",zoom:"onZoom",zoomend:"onZoomEnd",rotatestart:"onRotateStart",rotate:"onRotate",rotateend:"onRotateEnd",pitchstart:"onPitchStart",pitch:"onPitch",pitchend:"onPitchEnd"},g={wheel:"onWheel",boxzoomstart:"onBoxZoomStart",boxzoomend:"onBoxZoomEnd",boxzoomcancel:"onBoxZoomCancel",resize:"onResize",load:"onLoad",render:"onRender",idle:"onIdle",remove:"onRemove",data:"onData",styledata:"onStyleData",sourcedata:"onSourceData",error:"onError"},y=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],S=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class m{constructor(e,o,n){this._map=null,this._internalUpdate=!1,this._inRender=!1,this._hoveredFeatures=null,this._deferredEvents={move:!1,zoom:!1,pitch:!1,rotate:!1},this._onEvent=t=>{const r=this.props[g[t.type]];r?r(t):t.type==="error"&&console.error(t.error)},this._onPointerEvent=t=>{(t.type==="mousemove"||t.type==="mouseout")&&this._updateHover(t);const r=this.props[v[t.type]];r&&(this.props.interactiveLayerIds&&t.type!=="mouseover"&&t.type!=="mouseout"&&(t.features=this._hoveredFeatures||this._queryRenderedFeatures(t.point)),r(t),delete t.features)},this._onCameraEvent=t=>{if(!this._internalUpdate){const r=this.props[f[t.type]];r&&r(t)}t.type in this._deferredEvents&&(this._deferredEvents[t.type]=!1)},this._MapClass=e,this.props=o,this._initialize(n)}get map(){return this._map}get transform(){return this._renderTransform}setProps(e){const o=this.props;this.props=e;const n=this._updateSettings(e,o);n&&this._createShadowTransform(this._map);const t=this._updateSize(e),r=this._updateViewState(e,!0);this._updateStyle(e,o),this._updateStyleComponents(e,o),this._updateHandlers(e,o),(n||t||r&&!this._map.isMoving())&&this.redraw()}static reuse(e,o){const n=m.savedMaps.pop();if(!n)return null;const t=n.map,r=t.getContainer();for(o.className=r.className;r.childNodes.length>0;)o.appendChild(r.childNodes[0]);t._container=o;const s=t._resizeObserver;s&&(s.disconnect(),s.observe(o)),n.setProps({...e,styleDiffing:!1}),t.resize();const{initialViewState:i}=e;return i&&(i.bounds?t.fitBounds(i.bounds,{...i.fitBoundsOptions,duration:0}):n._updateViewState(i,!1)),t.isStyleLoaded()?t.fire("load"):t.once("styledata",()=>t.fire("load")),t._update(),n}_initialize(e){const{props:o}=this,{mapStyle:n=_}=o,t={...o,...o.initialViewState,accessToken:o.mapboxAccessToken||E()||null,container:e,style:p.normalizeStyle(n)},r=t.initialViewState||t.viewState||t;if(Object.assign(t,{center:[r.longitude||0,r.latitude||0],zoom:r.zoom||0,pitch:r.pitch||0,bearing:r.bearing||0}),o.gl){const a=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=a,o.gl)}const s=new this._MapClass(t);r.padding&&s.setPadding(r.padding),o.cursor&&(s.getCanvas().style.cursor=o.cursor),this._createShadowTransform(s);const i=s._render;s._render=a=>{this._inRender=!0,i.call(s,a),this._inRender=!1};const c=s._renderTaskQueue.run;s._renderTaskQueue.run=a=>{c.call(s._renderTaskQueue,a),this._onBeforeRepaint()},s.on("render",()=>this._onAfterRepaint());const h=s.fire;s.fire=this._fireEvent.bind(this,h),s.on("resize",()=>{this._renderTransform.resize(s.transform.width,s.transform.height)}),s.on("styledata",()=>{this._updateStyleComponents(this.props,{}),d.syncProjection(s.transform,this._renderTransform)}),s.on("sourcedata",()=>this._updateStyleComponents(this.props,{}));for(const a in v)s.on(a,this._onPointerEvent);for(const a in f)s.on(a,this._onCameraEvent);for(const a in g)s.on(a,this._onEvent);this._map=s}recycle(){const o=this.map.getContainer().querySelector("[mapboxgl-children]");o==null||o.remove(),m.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const e=this._map;!this._inRender&&e.style&&(e._frame&&(e._frame.cancel(),e._frame=null),e._render())}_createShadowTransform(e){const o=d.cloneTransform(e.transform);e.painter.transform=o,this._renderTransform=o}_updateSize(e){const{viewState:o}=e;if(o){const n=this._map;if(o.width!==n.transform.width||o.height!==n.transform.height)return n.resize(),!0}return!1}_updateViewState(e,o){if(this._internalUpdate)return!1;const n=this._map,t=this._renderTransform,{zoom:r,pitch:s,bearing:i}=t,c=n.isMoving();c&&(t.cameraElevationReference="sea");const h=d.applyViewStateToTransform(t,{...d.transformToViewState(n.transform),...e});if(c&&(t.cameraElevationReference="ground"),h&&o){const a=this._deferredEvents;a.move=!0,a.zoom||(a.zoom=r!==t.zoom),a.rotate||(a.rotate=i!==t.bearing),a.pitch||(a.pitch=s!==t.pitch)}return c||d.applyViewStateToTransform(n.transform,e),h}_updateSettings(e,o){const n=this._map;let t=!1;for(const r of y)if(r in e&&!u.deepEqual(e[r],o[r])){t=!0;const s=n[`set${r[0].toUpperCase()}${r.slice(1)}`];s==null||s.call(n,e[r])}return t}_updateStyle(e,o){if(e.cursor!==o.cursor&&(this._map.getCanvas().style.cursor=e.cursor||""),e.mapStyle!==o.mapStyle){const{mapStyle:n=_,styleDiffing:t=!0}=e,r={diff:t};return"localIdeographFontFamily"in e&&(r.localIdeographFontFamily=e.localIdeographFontFamily),this._map.setStyle(p.normalizeStyle(n),r),!0}return!1}_updateStyleComponents(e,o){const n=this._map;let t=!1;return n.isStyleLoaded()&&("light"in e&&n.setLight&&!u.deepEqual(e.light,o.light)&&(t=!0,n.setLight(e.light)),"fog"in e&&n.setFog&&!u.deepEqual(e.fog,o.fog)&&(t=!0,n.setFog(e.fog)),"terrain"in e&&n.setTerrain&&!u.deepEqual(e.terrain,o.terrain)&&(!e.terrain||n.getSource(e.terrain.source))&&(t=!0,n.setTerrain(e.terrain))),t}_updateHandlers(e,o){var n,t;const r=this._map;let s=!1;for(const i of S){const c=(n=e[i])!==null&&n!==void 0?n:!0,h=(t=o[i])!==null&&t!==void 0?t:!0;u.deepEqual(c,h)||(s=!0,c?r[i].enable(c):r[i].disable())}return s}_queryRenderedFeatures(e){const o=this._map,n=o.transform,{interactiveLayerIds:t=[]}=this.props;try{return o.transform=this._renderTransform,o.queryRenderedFeatures(e,{layers:t.filter(o.getLayer.bind(o))})}catch{return[]}finally{o.transform=n}}_updateHover(e){var o;const{props:n}=this;if(n.interactiveLayerIds&&(n.onMouseMove||n.onMouseEnter||n.onMouseLeave)){const r=e.type,s=((o=this._hoveredFeatures)===null||o===void 0?void 0:o.length)>0,i=this._queryRenderedFeatures(e.point),c=i.length>0;!c&&s&&(e.type="mouseleave",this._onPointerEvent(e)),this._hoveredFeatures=i,c&&!s&&(e.type="mouseenter",this._onPointerEvent(e)),e.type=r}else this._hoveredFeatures=null}_fireEvent(e,o,n){const t=this._map,r=t.transform,s=typeof o=="string"?o:o.type;return s==="move"&&this._updateViewState(this.props,!1),s in f&&(typeof o=="object"&&(o.viewState=d.transformToViewState(r)),this._map.isMoving())?(t.transform=this._renderTransform,e.call(t,o,n),t.transform=r,t):(e.call(t,o,n),t)}_onBeforeRepaint(){const e=this._map;this._internalUpdate=!0;for(const n in this._deferredEvents)this._deferredEvents[n]&&e.fire(n);this._internalUpdate=!1;const o=this._map.transform;e.transform=this._renderTransform,this._onAfterRepaint=()=>{d.syncProjection(this._renderTransform,o),e.transform=o}}}m.savedMaps=[];function E(){let l=null;if(typeof location<"u"){const e=/access_token=([^&\/]*)/.exec(location.search);l=e&&e[1]}try{l=l||process.env.MapboxAccessToken}catch{}try{l=l||process.env.REACT_APP_MAPBOX_ACCESS_TOKEN}catch{}return l}module.exports=m;
1
+ "use strict";const c=require("./index.cjs57.js"),u=require("./index.cjs55.js");function x(t,e){e===void 0&&(e={});var r=c(t),i=(r[0]+r[2])/2,n=(r[1]+r[3])/2;return u.point([i,n],e.properties,e)}module.exports=x;
2
2
  //# sourceMappingURL=index.cjs184.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs184.js","sources":["../../../node_modules/react-map-gl/dist/esm/mapbox/mapbox.js"],"sourcesContent":["import { transformToViewState, applyViewStateToTransform, cloneTransform, syncProjection } from '../utils/transform';\nimport { normalizeStyle } from '../utils/style-utils';\nimport { deepEqual } from '../utils/deep-equal';\nconst DEFAULT_STYLE = { version: 8, sources: {}, layers: [] };\nconst pointerEvents = {\n mousedown: 'onMouseDown',\n mouseup: 'onMouseUp',\n mouseover: 'onMouseOver',\n mousemove: 'onMouseMove',\n click: 'onClick',\n dblclick: 'onDblClick',\n mouseenter: 'onMouseEnter',\n mouseleave: 'onMouseLeave',\n mouseout: 'onMouseOut',\n contextmenu: 'onContextMenu',\n touchstart: 'onTouchStart',\n touchend: 'onTouchEnd',\n touchmove: 'onTouchMove',\n touchcancel: 'onTouchCancel'\n};\nconst cameraEvents = {\n movestart: 'onMoveStart',\n move: 'onMove',\n moveend: 'onMoveEnd',\n dragstart: 'onDragStart',\n drag: 'onDrag',\n dragend: 'onDragEnd',\n zoomstart: 'onZoomStart',\n zoom: 'onZoom',\n zoomend: 'onZoomEnd',\n rotatestart: 'onRotateStart',\n rotate: 'onRotate',\n rotateend: 'onRotateEnd',\n pitchstart: 'onPitchStart',\n pitch: 'onPitch',\n pitchend: 'onPitchEnd'\n};\nconst otherEvents = {\n wheel: 'onWheel',\n boxzoomstart: 'onBoxZoomStart',\n boxzoomend: 'onBoxZoomEnd',\n boxzoomcancel: 'onBoxZoomCancel',\n resize: 'onResize',\n load: 'onLoad',\n render: 'onRender',\n idle: 'onIdle',\n remove: 'onRemove',\n data: 'onData',\n styledata: 'onStyleData',\n sourcedata: 'onSourceData',\n error: 'onError'\n};\nconst settingNames = [\n 'minZoom',\n 'maxZoom',\n 'minPitch',\n 'maxPitch',\n 'maxBounds',\n 'projection',\n 'renderWorldCopies'\n];\nconst handlerNames = [\n 'scrollZoom',\n 'boxZoom',\n 'dragRotate',\n 'dragPan',\n 'keyboard',\n 'doubleClickZoom',\n 'touchZoomRotate',\n 'touchPitch'\n];\n/**\n * A wrapper for mapbox-gl's Map class\n */\nexport default class Mapbox {\n constructor(MapClass, props, container) {\n // mapboxgl.Map instance\n this._map = null;\n // Internal states\n this._internalUpdate = false;\n this._inRender = false;\n this._hoveredFeatures = null;\n this._deferredEvents = {\n move: false,\n zoom: false,\n pitch: false,\n rotate: false\n };\n this._onEvent = (e) => {\n // @ts-ignore\n const cb = this.props[otherEvents[e.type]];\n if (cb) {\n cb(e);\n }\n else if (e.type === 'error') {\n console.error(e.error); // eslint-disable-line\n }\n };\n this._onPointerEvent = (e) => {\n if (e.type === 'mousemove' || e.type === 'mouseout') {\n this._updateHover(e);\n }\n // @ts-ignore\n const cb = this.props[pointerEvents[e.type]];\n if (cb) {\n if (this.props.interactiveLayerIds && e.type !== 'mouseover' && e.type !== 'mouseout') {\n e.features = this._hoveredFeatures || this._queryRenderedFeatures(e.point);\n }\n cb(e);\n delete e.features;\n }\n };\n this._onCameraEvent = (e) => {\n if (!this._internalUpdate) {\n // @ts-ignore\n const cb = this.props[cameraEvents[e.type]];\n if (cb) {\n cb(e);\n }\n }\n if (e.type in this._deferredEvents) {\n this._deferredEvents[e.type] = false;\n }\n };\n this._MapClass = MapClass;\n this.props = props;\n this._initialize(container);\n }\n get map() {\n return this._map;\n }\n get transform() {\n return this._renderTransform;\n }\n setProps(props) {\n const oldProps = this.props;\n this.props = props;\n const settingsChanged = this._updateSettings(props, oldProps);\n if (settingsChanged) {\n this._createShadowTransform(this._map);\n }\n const sizeChanged = this._updateSize(props);\n const viewStateChanged = this._updateViewState(props, true);\n this._updateStyle(props, oldProps);\n this._updateStyleComponents(props, oldProps);\n this._updateHandlers(props, oldProps);\n // If 1) view state has changed to match props and\n // 2) the props change is not triggered by map events,\n // it's driven by an external state change. Redraw immediately\n if (settingsChanged || sizeChanged || (viewStateChanged && !this._map.isMoving())) {\n this.redraw();\n }\n }\n static reuse(props, container) {\n const that = Mapbox.savedMaps.pop();\n if (!that) {\n return null;\n }\n const map = that.map;\n // When reusing the saved map, we need to reparent the map(canvas) and other child nodes\n // intoto the new container from the props.\n // Step 1: reparenting child nodes from old container to new container\n const oldContainer = map.getContainer();\n container.className = oldContainer.className;\n while (oldContainer.childNodes.length > 0) {\n container.appendChild(oldContainer.childNodes[0]);\n }\n // Step 2: replace the internal container with new container from the react component\n // @ts-ignore\n map._container = container;\n // With maplibre-gl as mapLib, map uses ResizeObserver to observe when its container resizes.\n // When reusing the saved map, we need to disconnect the observer and observe the new container.\n // Step 3: telling the ResizeObserver to disconnect and observe the new container\n // @ts-ignore\n const resizeObserver = map._resizeObserver;\n if (resizeObserver) {\n resizeObserver.disconnect();\n resizeObserver.observe(container);\n }\n // Step 4: apply new props\n that.setProps({ ...props, styleDiffing: false });\n map.resize();\n const { initialViewState } = props;\n if (initialViewState) {\n if (initialViewState.bounds) {\n map.fitBounds(initialViewState.bounds, { ...initialViewState.fitBoundsOptions, duration: 0 });\n }\n else {\n that._updateViewState(initialViewState, false);\n }\n }\n // Simulate load event\n if (map.isStyleLoaded()) {\n map.fire('load');\n }\n else {\n map.once('styledata', () => map.fire('load'));\n }\n // Force reload\n // @ts-ignore\n map._update();\n return that;\n }\n /* eslint-disable complexity,max-statements */\n _initialize(container) {\n const { props } = this;\n const { mapStyle = DEFAULT_STYLE } = props;\n const mapOptions = {\n ...props,\n ...props.initialViewState,\n accessToken: props.mapboxAccessToken || getAccessTokenFromEnv() || null,\n container,\n style: normalizeStyle(mapStyle)\n };\n const viewState = mapOptions.initialViewState || mapOptions.viewState || mapOptions;\n Object.assign(mapOptions, {\n center: [viewState.longitude || 0, viewState.latitude || 0],\n zoom: viewState.zoom || 0,\n pitch: viewState.pitch || 0,\n bearing: viewState.bearing || 0\n });\n if (props.gl) {\n // eslint-disable-next-line\n const getContext = HTMLCanvasElement.prototype.getContext;\n // Hijack canvas.getContext to return our own WebGLContext\n // This will be called inside the mapboxgl.Map constructor\n // @ts-expect-error\n HTMLCanvasElement.prototype.getContext = () => {\n // Unhijack immediately\n HTMLCanvasElement.prototype.getContext = getContext;\n return props.gl;\n };\n }\n const map = new this._MapClass(mapOptions);\n // Props that are not part of constructor options\n if (viewState.padding) {\n map.setPadding(viewState.padding);\n }\n if (props.cursor) {\n map.getCanvas().style.cursor = props.cursor;\n }\n this._createShadowTransform(map);\n // Hack\n // Insert code into map's render cycle\n const renderMap = map._render;\n map._render = (arg) => {\n this._inRender = true;\n renderMap.call(map, arg);\n this._inRender = false;\n };\n const runRenderTaskQueue = map._renderTaskQueue.run;\n map._renderTaskQueue.run = (arg) => {\n runRenderTaskQueue.call(map._renderTaskQueue, arg);\n this._onBeforeRepaint();\n };\n map.on('render', () => this._onAfterRepaint());\n // Insert code into map's event pipeline\n // eslint-disable-next-line @typescript-eslint/unbound-method\n const fireEvent = map.fire;\n map.fire = this._fireEvent.bind(this, fireEvent);\n // add listeners\n map.on('resize', () => {\n this._renderTransform.resize(map.transform.width, map.transform.height);\n });\n map.on('styledata', () => {\n this._updateStyleComponents(this.props, {});\n // Projection can be set in stylesheet\n syncProjection(map.transform, this._renderTransform);\n });\n map.on('sourcedata', () => this._updateStyleComponents(this.props, {}));\n for (const eventName in pointerEvents) {\n map.on(eventName, this._onPointerEvent);\n }\n for (const eventName in cameraEvents) {\n map.on(eventName, this._onCameraEvent);\n }\n for (const eventName in otherEvents) {\n map.on(eventName, this._onEvent);\n }\n this._map = map;\n }\n /* eslint-enable complexity,max-statements */\n recycle() {\n // Clean up unnecessary elements before storing for reuse.\n const container = this.map.getContainer();\n const children = container.querySelector('[mapboxgl-children]');\n children === null || children === void 0 ? void 0 : children.remove();\n Mapbox.savedMaps.push(this);\n }\n destroy() {\n this._map.remove();\n }\n // Force redraw the map now. Typically resize() and jumpTo() is reflected in the next\n // render cycle, which is managed by Mapbox's animation loop.\n // This removes the synchronization issue caused by requestAnimationFrame.\n redraw() {\n const map = this._map;\n // map._render will throw error if style does not exist\n // https://github.com/mapbox/mapbox-gl-js/blob/fb9fc316da14e99ff4368f3e4faa3888fb43c513\n // /src/ui/map.js#L1834\n if (!this._inRender && map.style) {\n // cancel the scheduled update\n if (map._frame) {\n map._frame.cancel();\n map._frame = null;\n }\n // the order is important - render() may schedule another update\n map._render();\n }\n }\n _createShadowTransform(map) {\n const renderTransform = cloneTransform(map.transform);\n map.painter.transform = renderTransform;\n this._renderTransform = renderTransform;\n }\n /* Trigger map resize if size is controlled\n @param {object} nextProps\n @returns {bool} true if size has changed\n */\n _updateSize(nextProps) {\n // Check if size is controlled\n const { viewState } = nextProps;\n if (viewState) {\n const map = this._map;\n if (viewState.width !== map.transform.width || viewState.height !== map.transform.height) {\n map.resize();\n return true;\n }\n }\n return false;\n }\n // Adapted from map.jumpTo\n /* Update camera to match props\n @param {object} nextProps\n @param {bool} triggerEvents - should fire camera events\n @returns {bool} true if anything is changed\n */\n _updateViewState(nextProps, triggerEvents) {\n if (this._internalUpdate) {\n return false;\n }\n const map = this._map;\n const tr = this._renderTransform;\n // Take a snapshot of the transform before mutation\n const { zoom, pitch, bearing } = tr;\n const isMoving = map.isMoving();\n if (isMoving) {\n // All movement of the camera is done relative to the sea level\n tr.cameraElevationReference = 'sea';\n }\n const changed = applyViewStateToTransform(tr, {\n ...transformToViewState(map.transform),\n ...nextProps\n });\n if (isMoving) {\n // Reset camera reference\n tr.cameraElevationReference = 'ground';\n }\n if (changed && triggerEvents) {\n const deferredEvents = this._deferredEvents;\n // Delay DOM control updates to the next render cycle\n deferredEvents.move = true;\n deferredEvents.zoom || (deferredEvents.zoom = zoom !== tr.zoom);\n deferredEvents.rotate || (deferredEvents.rotate = bearing !== tr.bearing);\n deferredEvents.pitch || (deferredEvents.pitch = pitch !== tr.pitch);\n }\n // Avoid manipulating the real transform when interaction/animation is ongoing\n // as it would interfere with Mapbox's handlers\n if (!isMoving) {\n applyViewStateToTransform(map.transform, nextProps);\n }\n return changed;\n }\n /* Update camera constraints and projection settings to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if anything is changed\n */\n _updateSettings(nextProps, currProps) {\n const map = this._map;\n let changed = false;\n for (const propName of settingNames) {\n if (propName in nextProps && !deepEqual(nextProps[propName], currProps[propName])) {\n changed = true;\n const setter = map[`set${propName[0].toUpperCase()}${propName.slice(1)}`];\n setter === null || setter === void 0 ? void 0 : setter.call(map, nextProps[propName]);\n }\n }\n return changed;\n }\n /* Update map style to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if style is changed\n */\n _updateStyle(nextProps, currProps) {\n if (nextProps.cursor !== currProps.cursor) {\n this._map.getCanvas().style.cursor = nextProps.cursor || '';\n }\n if (nextProps.mapStyle !== currProps.mapStyle) {\n const { mapStyle = DEFAULT_STYLE, styleDiffing = true } = nextProps;\n const options = {\n diff: styleDiffing\n };\n if ('localIdeographFontFamily' in nextProps) {\n // @ts-ignore Mapbox specific prop\n options.localIdeographFontFamily = nextProps.localIdeographFontFamily;\n }\n this._map.setStyle(normalizeStyle(mapStyle), options);\n return true;\n }\n return false;\n }\n /* Update fog, light and terrain to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if anything is changed\n */\n _updateStyleComponents(nextProps, currProps) {\n const map = this._map;\n let changed = false;\n if (map.isStyleLoaded()) {\n if ('light' in nextProps && map.setLight && !deepEqual(nextProps.light, currProps.light)) {\n changed = true;\n map.setLight(nextProps.light);\n }\n if ('fog' in nextProps && map.setFog && !deepEqual(nextProps.fog, currProps.fog)) {\n changed = true;\n map.setFog(nextProps.fog);\n }\n if ('terrain' in nextProps &&\n map.setTerrain &&\n !deepEqual(nextProps.terrain, currProps.terrain)) {\n if (!nextProps.terrain || map.getSource(nextProps.terrain.source)) {\n changed = true;\n map.setTerrain(nextProps.terrain);\n }\n }\n }\n return changed;\n }\n /* Update interaction handlers to match props\n @param {object} nextProps\n @param {object} currProps\n @returns {bool} true if anything is changed\n */\n _updateHandlers(nextProps, currProps) {\n var _a, _b;\n const map = this._map;\n let changed = false;\n for (const propName of handlerNames) {\n const newValue = (_a = nextProps[propName]) !== null && _a !== void 0 ? _a : true;\n const oldValue = (_b = currProps[propName]) !== null && _b !== void 0 ? _b : true;\n if (!deepEqual(newValue, oldValue)) {\n changed = true;\n if (newValue) {\n map[propName].enable(newValue);\n }\n else {\n map[propName].disable();\n }\n }\n }\n return changed;\n }\n _queryRenderedFeatures(point) {\n const map = this._map;\n const tr = map.transform;\n const { interactiveLayerIds = [] } = this.props;\n try {\n map.transform = this._renderTransform;\n return map.queryRenderedFeatures(point, {\n layers: interactiveLayerIds.filter(map.getLayer.bind(map))\n });\n }\n catch (_a) {\n // May fail if style is not loaded\n return [];\n }\n finally {\n map.transform = tr;\n }\n }\n _updateHover(e) {\n var _a;\n const { props } = this;\n const shouldTrackHoveredFeatures = props.interactiveLayerIds && (props.onMouseMove || props.onMouseEnter || props.onMouseLeave);\n if (shouldTrackHoveredFeatures) {\n const eventType = e.type;\n const wasHovering = ((_a = this._hoveredFeatures) === null || _a === void 0 ? void 0 : _a.length) > 0;\n const features = this._queryRenderedFeatures(e.point);\n const isHovering = features.length > 0;\n if (!isHovering && wasHovering) {\n e.type = 'mouseleave';\n this._onPointerEvent(e);\n }\n this._hoveredFeatures = features;\n if (isHovering && !wasHovering) {\n e.type = 'mouseenter';\n this._onPointerEvent(e);\n }\n e.type = eventType;\n }\n else {\n this._hoveredFeatures = null;\n }\n }\n _fireEvent(baseFire, event, properties) {\n const map = this._map;\n const tr = map.transform;\n const eventType = typeof event === 'string' ? event : event.type;\n if (eventType === 'move') {\n this._updateViewState(this.props, false);\n }\n if (eventType in cameraEvents) {\n if (typeof event === 'object') {\n event.viewState = transformToViewState(tr);\n }\n if (this._map.isMoving()) {\n // Replace map.transform with ours during the callbacks\n map.transform = this._renderTransform;\n baseFire.call(map, event, properties);\n map.transform = tr;\n return map;\n }\n }\n baseFire.call(map, event, properties);\n return map;\n }\n // All camera manipulations are complete, ready to repaint\n _onBeforeRepaint() {\n const map = this._map;\n // If there are camera changes driven by props, invoke camera events so that DOM controls are synced\n this._internalUpdate = true;\n for (const eventType in this._deferredEvents) {\n if (this._deferredEvents[eventType]) {\n map.fire(eventType);\n }\n }\n this._internalUpdate = false;\n const tr = this._map.transform;\n // Make sure camera matches the current props\n map.transform = this._renderTransform;\n this._onAfterRepaint = () => {\n // Mapbox transitions between non-mercator projection and mercator during render time\n // Copy it back to the other\n syncProjection(this._renderTransform, tr);\n // Restores camera state before render/load events are fired\n map.transform = tr;\n };\n }\n}\nMapbox.savedMaps = [];\n/**\n * Access token can be provided via one of:\n * mapboxAccessToken prop\n * access_token query parameter\n * MapboxAccessToken environment variable\n * REACT_APP_MAPBOX_ACCESS_TOKEN environment variable\n * @returns access token\n */\nfunction getAccessTokenFromEnv() {\n let accessToken = null;\n /* global location, process */\n if (typeof location !== 'undefined') {\n const match = /access_token=([^&\\/]*)/.exec(location.search);\n accessToken = match && match[1];\n }\n // Note: This depends on bundler plugins (e.g. webpack) importing environment correctly\n try {\n accessToken = accessToken || process.env.MapboxAccessToken;\n }\n catch (_a) {\n // ignore\n }\n try {\n accessToken = accessToken || process.env.REACT_APP_MAPBOX_ACCESS_TOKEN;\n }\n catch (_b) {\n // ignore\n }\n return accessToken;\n}\n//# sourceMappingURL=mapbox.js.map"],"names":["DEFAULT_STYLE","pointerEvents","cameraEvents","otherEvents","settingNames","handlerNames","Mapbox","MapClass","props","container","e","cb","oldProps","settingsChanged","sizeChanged","viewStateChanged","that","map","oldContainer","resizeObserver","initialViewState","mapStyle","mapOptions","getAccessTokenFromEnv","normalizeStyle","viewState","getContext","renderMap","arg","runRenderTaskQueue","fireEvent","syncProjection","eventName","children","renderTransform","cloneTransform","nextProps","triggerEvents","tr","zoom","pitch","bearing","isMoving","changed","applyViewStateToTransform","transformToViewState","deferredEvents","currProps","propName","deepEqual","setter","styleDiffing","options","_a","_b","newValue","oldValue","point","interactiveLayerIds","eventType","wasHovering","features","isHovering","baseFire","event","properties","accessToken","match"],"mappings":"gHAGMA,EAAgB,CAAE,QAAS,EAAG,QAAS,GAAI,OAAQ,CAAA,GACnDC,EAAgB,CAClB,UAAW,cACX,QAAS,YACT,UAAW,cACX,UAAW,cACX,MAAO,UACP,SAAU,aACV,WAAY,eACZ,WAAY,eACZ,SAAU,aACV,YAAa,gBACb,WAAY,eACZ,SAAU,aACV,UAAW,c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AAU,EACpChD,EAAI,UAAYqB,EACTrB,IAGN8C,EAAA,KAAK9C,EAAK+C,EAAOC,CAAU,EAC7BhD,EACX,CAEA,kBAAmB,CACf,MAAMA,EAAM,KAAK,KAEjB,KAAK,gBAAkB,GACZ,UAAA0C,KAAa,KAAK,gBACrB,KAAK,gBAAgBA,CAAS,GAC9B1C,EAAI,KAAK0C,CAAS,EAG1B,KAAK,gBAAkB,GACjB,MAAArB,EAAK,KAAK,KAAK,UAErBrB,EAAI,UAAY,KAAK,iBACrB,KAAK,gBAAkB,IAAM,CAGVc,EAAAA,eAAA,KAAK,iBAAkBO,CAAE,EAExCrB,EAAI,UAAYqB,CAAA,CAExB,CACJ,CACAhC,EAAO,UAAY,CAAA,EASnB,SAASiB,GAAwB,CAC7B,IAAI2C,EAAc,KAEd,GAAA,OAAO,SAAa,IAAa,CACjC,MAAMC,EAAQ,yBAAyB,KAAK,SAAS,MAAM,EAC7CD,EAAAC,GAASA,EAAM,CAAC,CAClC,CAEI,GAAA,CACcD,EAAAA,GAAe,QAAQ,IAAI,uBAElC,CAEX,CACI,GAAA,CACcA,EAAAA,GAAe,QAAQ,IAAI,mCAElC,CAEX,CACO,OAAAA,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs184.js","sources":["../../../node_modules/@turf/center/dist/es/index.js"],"sourcesContent":["import bbox from \"@turf/bbox\";\nimport { point, } from \"@turf/helpers\";\n/**\n * Takes a {@link Feature} or {@link FeatureCollection} and returns the absolute center point of all features.\n *\n * @name center\n * @param {GeoJSON} geojson GeoJSON to be centered\n * @param {Object} [options={}] Optional parameters\n * @param {Object} [options.properties={}] Translate GeoJSON Properties to Point\n * @param {Object} [options.bbox={}] Translate GeoJSON BBox to Point\n * @param {Object} [options.id={}] Translate GeoJSON Id to Point\n * @returns {Feature<Point>} a Point feature at the absolute center point of all input features\n * @example\n * var features = turf.points([\n * [-97.522259, 35.4691],\n * [-97.502754, 35.463455],\n * [-97.508269, 35.463245]\n * ]);\n *\n * var center = turf.center(features);\n *\n * //addToMap\n * var addToMap = [features, center]\n * center.properties['marker-size'] = 'large';\n * center.properties['marker-color'] = '#000';\n */\nfunction center(geojson, options) {\n if (options === void 0) { options = {}; }\n var ext = bbox(geojson);\n var x = (ext[0] + ext[2]) / 2;\n var y = (ext[1] + ext[3]) / 2;\n return point([x, y], options.properties, options);\n}\nexport default center;\n"],"names":["center","geojson","options","ext","bbox","x","y","point"],"mappings":"+EA0BA,SAASA,EAAOC,EAASC,EAAS,CAC1BA,IAAY,SAAUA,EAAU,CAAA,GAChC,IAAAC,EAAMC,EAAKH,CAAO,EAClBI,GAAKF,EAAI,CAAC,EAAIA,EAAI,CAAC,GAAK,EACxBG,GAAKH,EAAI,CAAC,EAAIA,EAAI,CAAC,GAAK,EAC5B,OAAOI,EAAAA,MAAM,CAACF,EAAGC,CAAC,EAAGJ,EAAQ,WAAYA,CAAO,CACpD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const i=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"];function u(e){if(!e)return null;const r=e.map,o={getMap:()=>r,getCenter:()=>e.transform.center,getZoom:()=>e.transform.zoom,getBearing:()=>e.transform.bearing,getPitch:()=>e.transform.pitch,getPadding:()=>e.transform.padding,getBounds:()=>e.transform.getBounds(),project:t=>{const s=r.transform;r.transform=e.transform;const n=r.project(t);return r.transform=s,n},unproject:t=>{const s=r.transform;r.transform=e.transform;const n=r.unproject(t);return r.transform=s,n},queryTerrainElevation:(t,s)=>{const n=r.transform;r.transform=e.transform;const f=r.queryTerrainElevation(t,s);return r.transform=n,f},queryRenderedFeatures:(t,s)=>{const n=r.transform;r.transform=e.transform;const f=r.queryRenderedFeatures(t,s);return r.transform=n,f}};for(const t of a(r))!(t in o)&&!i.includes(t)&&(o[t]=r[t].bind(r));return o}function a(e){const r=new Set;let o=e;for(;o;){for(const t of Object.getOwnPropertyNames(o))t[0]!=="_"&&typeof e[t]=="function"&&t!=="fire"&&t!=="setEventedParent"&&r.add(t);o=Object.getPrototypeOf(o)}return Array.from(r)}module.exports=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function G(e,o,r){if(e!==null)for(var t,l,a,c,u,i,s,y=0,f=0,h,p=e.type,g=p==="FeatureCollection",v=p==="Feature",w=g?e.features.length:1,C=0;C<w;C++){s=g?e.features[C].geometry:v?e.geometry:e,h=s?s.type==="GeometryCollection":!1,u=h?s.geometries.length:1;for(var b=0;b<u;b++){var n=0,M=0;if(c=h?s.geometries[b]:s,c!==null){i=c.coordinates;var P=c.type;switch(y=r&&(P==="Polygon"||P==="MultiPolygon")?1:0,P){case null:break;case"Point":if(o(i,f,C,n,M)===!1)return!1;f++,n++;break;case"LineString":case"MultiPoint":for(t=0;t<i.length;t++){if(o(i[t],f,C,n,M)===!1)return!1;f++,P==="MultiPoint"&&n++}P==="LineString"&&n++;break;case"Polygon":case"MultiLineString":for(t=0;t<i.length;t++){for(l=0;l<i[t].length-y;l++){if(o(i[t][l],f,C,n,M)===!1)return!1;f++}P==="MultiLineString"&&n++,P==="Polygon"&&M++}P==="Polygon"&&n++;break;case"MultiPolygon":for(t=0;t<i.length;t++){for(M=0,l=0;l<i[t].length;l++){for(a=0;a<i[t][l].length-y;a++){if(o(i[t][l][a],f,C,n,M)===!1)return!1;f++}M++}n++}break;case"GeometryCollection":for(t=0;t<c.geometries.length;t++)if(G(c.geometries[t],o,r)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function S(e,o){if(e.type==="Feature")o(e,0);else if(e.type==="FeatureCollection")for(var r=0;r<e.features.length&&o(e.features[r],r)!==!1;r++);}function E(e,o){var r,t,l,a,c,u,i,s,y,f,h=0,p=e.type==="FeatureCollection",g=e.type==="Feature",v=p?e.features.length:1;for(r=0;r<v;r++){for(u=p?e.features[r].geometry:g?e.geometry:e,s=p?e.features[r].properties:g?e.properties:{},y=p?e.features[r].bbox:g?e.bbox:void 0,f=p?e.features[r].id:g?e.id:void 0,i=u?u.type==="GeometryCollection":!1,c=i?u.geometries.length:1,l=0;l<c;l++){if(a=i?u.geometries[l]:u,a===null){if(o(null,h,s,y,f)===!1)return!1;continue}switch(a.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(o(a,h,s,y,f)===!1)return!1;break}case"GeometryCollection":{for(t=0;t<a.geometries.length;t++)if(o(a.geometries[t],h,s,y,f)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}h++}}exports.coordEach=G;exports.featureEach=S;exports.geomEach=E;
2
2
  //# sourceMappingURL=index.cjs185.js.map