@performant-software/geospatial 3.1.3-beta.3 → 3.1.4-beta.0

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 (466) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs103.js +1 -1
  3. package/dist/index.cjs104.js +1 -1
  4. package/dist/index.cjs106.js +1 -1
  5. package/dist/index.cjs107.js +1 -1
  6. package/dist/index.cjs108.js +1 -1
  7. package/dist/index.cjs109.js +1 -1
  8. package/dist/index.cjs114.js +1 -1
  9. package/dist/index.cjs115.js +1 -1
  10. package/dist/index.cjs116.js +1 -1
  11. package/dist/index.cjs117.js +1 -1
  12. package/dist/index.cjs120.js +1 -1
  13. package/dist/index.cjs121.js +1 -1
  14. package/dist/index.cjs122.js +1 -1
  15. package/dist/index.cjs126.js +1 -1
  16. package/dist/index.cjs129.js +1 -1
  17. package/dist/index.cjs133.js +1 -1
  18. package/dist/index.cjs136.js +1 -1
  19. package/dist/index.cjs14.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.cjs149.js +1 -1
  26. package/dist/index.cjs15.js +1 -1
  27. package/dist/index.cjs150.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.cjs159.js +1 -1
  36. package/dist/index.cjs16.js +1 -1
  37. package/dist/index.cjs160.js +1 -1
  38. package/dist/index.cjs163.js +1 -1
  39. package/dist/index.cjs164.js +1 -1
  40. package/dist/index.cjs166.js +1 -1
  41. package/dist/index.cjs167.js +1 -1
  42. package/dist/index.cjs168.js +1 -1
  43. package/dist/index.cjs169.js +1 -1
  44. package/dist/index.cjs17.js +1 -1
  45. package/dist/index.cjs170.js +1 -1
  46. package/dist/index.cjs171.js +1 -1
  47. package/dist/index.cjs172.js +1 -1
  48. package/dist/index.cjs173.js +1 -1
  49. package/dist/index.cjs179.js +1 -1
  50. package/dist/index.cjs18.js +1 -1
  51. package/dist/index.cjs180.js +1 -1
  52. package/dist/index.cjs181.js +1 -1
  53. package/dist/index.cjs182.js +1 -1
  54. package/dist/index.cjs183.js +1 -1
  55. package/dist/index.cjs186.js +1 -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 -1
  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.cjs20.js +1 -1
  85. package/dist/index.cjs200.js +1 -1
  86. package/dist/index.cjs200.js.map +1 -1
  87. package/dist/index.cjs201.js +1 -1
  88. package/dist/index.cjs201.js.map +1 -1
  89. package/dist/index.cjs202.js +1 -1
  90. package/dist/index.cjs202.js.map +1 -1
  91. package/dist/index.cjs203.js +1 -1
  92. package/dist/index.cjs203.js.map +1 -1
  93. package/dist/index.cjs204.js +1 -1
  94. package/dist/index.cjs204.js.map +1 -1
  95. package/dist/index.cjs205.js +1 -1
  96. package/dist/index.cjs205.js.map +1 -1
  97. package/dist/index.cjs206.js +1 -1
  98. package/dist/index.cjs206.js.map +1 -1
  99. package/dist/index.cjs207.js +1 -1
  100. package/dist/index.cjs207.js.map +1 -1
  101. package/dist/index.cjs208.js +1 -1
  102. package/dist/index.cjs208.js.map +1 -1
  103. package/dist/index.cjs209.js +1 -1
  104. package/dist/index.cjs209.js.map +1 -1
  105. package/dist/index.cjs21.js +1 -1
  106. package/dist/index.cjs210.js +1 -1
  107. package/dist/index.cjs210.js.map +1 -1
  108. package/dist/index.cjs211.js +1 -1
  109. package/dist/index.cjs211.js.map +1 -1
  110. package/dist/index.cjs212.js +1 -1
  111. package/dist/index.cjs212.js.map +1 -1
  112. package/dist/index.cjs213.js +1 -1
  113. package/dist/index.cjs213.js.map +1 -1
  114. package/dist/index.cjs214.js +1 -1
  115. package/dist/index.cjs214.js.map +1 -1
  116. package/dist/index.cjs215.js +1 -1
  117. package/dist/index.cjs215.js.map +1 -1
  118. package/dist/index.cjs216.js +1 -1
  119. package/dist/index.cjs216.js.map +1 -1
  120. package/dist/index.cjs217.js +1 -1
  121. package/dist/index.cjs217.js.map +1 -1
  122. package/dist/index.cjs218.js +1 -1
  123. package/dist/index.cjs218.js.map +1 -1
  124. package/dist/index.cjs219.js +1 -1
  125. package/dist/index.cjs219.js.map +1 -1
  126. package/dist/index.cjs22.js +1 -1
  127. package/dist/index.cjs220.js +1 -1
  128. package/dist/index.cjs220.js.map +1 -1
  129. package/dist/index.cjs221.js +1 -1
  130. package/dist/index.cjs221.js.map +1 -1
  131. package/dist/index.cjs222.js +1 -1
  132. package/dist/index.cjs222.js.map +1 -1
  133. package/dist/index.cjs223.js +1 -1
  134. package/dist/index.cjs223.js.map +1 -1
  135. package/dist/index.cjs224.js +1 -1
  136. package/dist/index.cjs224.js.map +1 -1
  137. package/dist/index.cjs225.js +1 -1
  138. package/dist/index.cjs225.js.map +1 -1
  139. package/dist/index.cjs226.js +1 -1
  140. package/dist/index.cjs226.js.map +1 -1
  141. package/dist/index.cjs227.js +1 -1
  142. package/dist/index.cjs227.js.map +1 -1
  143. package/dist/index.cjs228.js +1 -1
  144. package/dist/index.cjs228.js.map +1 -1
  145. package/dist/index.cjs229.js +1 -1
  146. package/dist/index.cjs229.js.map +1 -1
  147. package/dist/index.cjs23.js +1 -1
  148. package/dist/index.cjs230.js +1 -1
  149. package/dist/index.cjs230.js.map +1 -1
  150. package/dist/index.cjs231.js +1 -1
  151. package/dist/index.cjs231.js.map +1 -1
  152. package/dist/index.cjs232.js +1 -1
  153. package/dist/index.cjs232.js.map +1 -1
  154. package/dist/index.cjs233.js +1 -1
  155. package/dist/index.cjs233.js.map +1 -1
  156. package/dist/index.cjs234.js +1 -1
  157. package/dist/index.cjs234.js.map +1 -1
  158. package/dist/index.cjs235.js +1 -1
  159. package/dist/index.cjs235.js.map +1 -1
  160. package/dist/index.cjs236.js +1 -7
  161. package/dist/index.cjs236.js.map +1 -1
  162. package/dist/index.cjs237.js +1 -1
  163. package/dist/index.cjs237.js.map +1 -1
  164. package/dist/index.cjs238.js +1 -1
  165. package/dist/index.cjs238.js.map +1 -1
  166. package/dist/index.cjs239.js +1 -1
  167. package/dist/index.cjs239.js.map +1 -1
  168. package/dist/index.cjs24.js +1 -1
  169. package/dist/index.cjs240.js +1 -1
  170. package/dist/index.cjs240.js.map +1 -1
  171. package/dist/index.cjs241.js +7 -1
  172. package/dist/index.cjs241.js.map +1 -1
  173. package/dist/index.cjs242.js +1 -1
  174. package/dist/index.cjs242.js.map +1 -1
  175. package/dist/index.cjs244.js +1 -1
  176. package/dist/index.cjs247.js +1 -1
  177. package/dist/index.cjs253.js +1 -1
  178. package/dist/index.cjs259.js +1 -1
  179. package/dist/index.cjs264.js +1 -1
  180. package/dist/index.cjs27.js +1 -1
  181. package/dist/index.cjs28.js +1 -1
  182. package/dist/index.cjs29.js +1 -1
  183. package/dist/index.cjs31.js +1 -1
  184. package/dist/index.cjs33.js +1 -1
  185. package/dist/index.cjs34.js +1 -1
  186. package/dist/index.cjs37.js +1 -1
  187. package/dist/index.cjs38.js +1 -1
  188. package/dist/index.cjs39.js +1 -1
  189. package/dist/index.cjs41.js +1 -1
  190. package/dist/index.cjs42.js +1 -1
  191. package/dist/index.cjs43.js +1 -1
  192. package/dist/index.cjs45.js +1 -1
  193. package/dist/index.cjs46.js +1 -1
  194. package/dist/index.cjs47.js +1 -1
  195. package/dist/index.cjs49.js +1 -1
  196. package/dist/index.cjs50.js +1 -1
  197. package/dist/index.cjs51.js +1 -1
  198. package/dist/index.cjs55.js +1 -1
  199. package/dist/index.cjs56.js +1 -1
  200. package/dist/index.cjs57.js +1 -1
  201. package/dist/index.cjs59.js +1 -1
  202. package/dist/index.cjs60.js +1 -1
  203. package/dist/index.cjs62.js +1 -1
  204. package/dist/index.cjs68.js +1 -1
  205. package/dist/index.cjs70.js +1 -1
  206. package/dist/index.cjs71.js +743 -1
  207. package/dist/index.cjs71.js.map +1 -1
  208. package/dist/index.cjs73.js +1 -9
  209. package/dist/index.cjs73.js.map +1 -1
  210. package/dist/index.cjs74.js +1 -17
  211. package/dist/index.cjs74.js.map +1 -1
  212. package/dist/index.cjs75.js +1 -1
  213. package/dist/index.cjs75.js.map +1 -1
  214. package/dist/index.cjs76.js +1 -1
  215. package/dist/index.cjs76.js.map +1 -1
  216. package/dist/index.cjs78.js +9 -1
  217. package/dist/index.cjs78.js.map +1 -1
  218. package/dist/index.cjs79.js +17 -1
  219. package/dist/index.cjs79.js.map +1 -1
  220. package/dist/index.cjs80.js +1 -743
  221. package/dist/index.cjs80.js.map +1 -1
  222. package/dist/index.cjs81.js +1 -1
  223. package/dist/index.cjs81.js.map +1 -1
  224. package/dist/index.cjs85.js +1 -1
  225. package/dist/index.cjs92.js +1 -1
  226. package/dist/index.cjs93.js +1 -1
  227. package/dist/index.cjs94.js +1 -1
  228. package/dist/index.cjs95.js +1 -1
  229. package/dist/index.cjs96.js +1 -1
  230. package/dist/index.cjs97.js +1 -1
  231. package/dist/index.cjs98.js +1 -1
  232. package/dist/index.cjs99.js +1 -1
  233. package/dist/index.es100.js +1 -1
  234. package/dist/index.es103.js +1 -1
  235. package/dist/index.es104.js +1 -1
  236. package/dist/index.es106.js +3 -3
  237. package/dist/index.es107.js +1 -1
  238. package/dist/index.es108.js +2 -2
  239. package/dist/index.es109.js +1 -1
  240. package/dist/index.es114.js +1 -1
  241. package/dist/index.es115.js +1 -1
  242. package/dist/index.es116.js +1 -1
  243. package/dist/index.es117.js +1 -1
  244. package/dist/index.es120.js +2 -2
  245. package/dist/index.es121.js +2 -2
  246. package/dist/index.es122.js +1 -1
  247. package/dist/index.es126.js +2 -2
  248. package/dist/index.es129.js +1 -1
  249. package/dist/index.es133.js +1 -1
  250. package/dist/index.es136.js +1 -1
  251. package/dist/index.es14.js +2 -2
  252. package/dist/index.es144.js +1 -1
  253. package/dist/index.es145.js +1 -1
  254. package/dist/index.es146.js +1 -1
  255. package/dist/index.es147.js +2 -2
  256. package/dist/index.es148.js +1 -1
  257. package/dist/index.es149.js +1 -1
  258. package/dist/index.es15.js +4 -4
  259. package/dist/index.es150.js +1 -1
  260. package/dist/index.es152.js +2 -2
  261. package/dist/index.es153.js +2 -2
  262. package/dist/index.es154.js +1 -1
  263. package/dist/index.es155.js +1 -1
  264. package/dist/index.es156.js +1 -1
  265. package/dist/index.es157.js +1 -1
  266. package/dist/index.es158.js +2 -2
  267. package/dist/index.es159.js +2 -2
  268. package/dist/index.es16.js +3 -3
  269. package/dist/index.es160.js +1 -1
  270. package/dist/index.es163.js +2 -2
  271. package/dist/index.es164.js +2 -2
  272. package/dist/index.es166.js +2 -2
  273. package/dist/index.es167.js +1 -1
  274. package/dist/index.es168.js +2 -2
  275. package/dist/index.es169.js +1 -1
  276. package/dist/index.es17.js +3 -3
  277. package/dist/index.es170.js +2 -2
  278. package/dist/index.es171.js +1 -1
  279. package/dist/index.es172.js +1 -1
  280. package/dist/index.es173.js +1 -1
  281. package/dist/index.es179.js +1 -1
  282. package/dist/index.es18.js +1 -1
  283. package/dist/index.es180.js +2 -2
  284. package/dist/index.es181.js +1 -1
  285. package/dist/index.es182.js +1 -1
  286. package/dist/index.es183.js +1 -1
  287. package/dist/index.es186.js +239 -144
  288. package/dist/index.es186.js.map +1 -1
  289. package/dist/index.es187.js +42 -6
  290. package/dist/index.es187.js.map +1 -1
  291. package/dist/index.es188.js +3 -5
  292. package/dist/index.es188.js.map +1 -1
  293. package/dist/index.es189.js +13 -3
  294. package/dist/index.es189.js.map +1 -1
  295. package/dist/index.es19.js +1 -1
  296. package/dist/index.es190.js +13 -3
  297. package/dist/index.es190.js.map +1 -1
  298. package/dist/index.es191.js +28 -33
  299. package/dist/index.es191.js.map +1 -1
  300. package/dist/index.es192.js +16 -3
  301. package/dist/index.es192.js.map +1 -1
  302. package/dist/index.es193.js +4 -22
  303. package/dist/index.es193.js.map +1 -1
  304. package/dist/index.es194.js +10 -2
  305. package/dist/index.es194.js.map +1 -1
  306. package/dist/index.es195.js +7 -3
  307. package/dist/index.es195.js.map +1 -1
  308. package/dist/index.es196.js +6 -2
  309. package/dist/index.es196.js.map +1 -1
  310. package/dist/index.es197.js +3 -31
  311. package/dist/index.es197.js.map +1 -1
  312. package/dist/index.es198.js +3 -13
  313. package/dist/index.es198.js.map +1 -1
  314. package/dist/index.es199.js +8 -13
  315. package/dist/index.es199.js.map +1 -1
  316. package/dist/index.es20.js +1 -1
  317. package/dist/index.es200.js +18 -8
  318. package/dist/index.es200.js.map +1 -1
  319. package/dist/index.es201.js +19 -6
  320. package/dist/index.es201.js.map +1 -1
  321. package/dist/index.es202.js +12 -4
  322. package/dist/index.es202.js.map +1 -1
  323. package/dist/index.es203.js +14 -3
  324. package/dist/index.es203.js.map +1 -1
  325. package/dist/index.es204.js +6 -3
  326. package/dist/index.es204.js.map +1 -1
  327. package/dist/index.es205.js +8 -3
  328. package/dist/index.es205.js.map +1 -1
  329. package/dist/index.es206.js +6 -8
  330. package/dist/index.es206.js.map +1 -1
  331. package/dist/index.es207.js +20 -17
  332. package/dist/index.es207.js.map +1 -1
  333. package/dist/index.es208.js +8 -19
  334. package/dist/index.es208.js.map +1 -1
  335. package/dist/index.es209.js +9 -13
  336. package/dist/index.es209.js.map +1 -1
  337. package/dist/index.es21.js +1 -1
  338. package/dist/index.es210.js +4 -15
  339. package/dist/index.es210.js.map +1 -1
  340. package/dist/index.es211.js +10 -5
  341. package/dist/index.es211.js.map +1 -1
  342. package/dist/index.es212.js +7 -7
  343. package/dist/index.es212.js.map +1 -1
  344. package/dist/index.es213.js +20 -6
  345. package/dist/index.es213.js.map +1 -1
  346. package/dist/index.es214.js +9 -20
  347. package/dist/index.es214.js.map +1 -1
  348. package/dist/index.es215.js +16 -8
  349. package/dist/index.es215.js.map +1 -1
  350. package/dist/index.es216.js +4 -9
  351. package/dist/index.es216.js.map +1 -1
  352. package/dist/index.es217.js +17 -3
  353. package/dist/index.es217.js.map +1 -1
  354. package/dist/index.es218.js +11 -10
  355. package/dist/index.es218.js.map +1 -1
  356. package/dist/index.es219.js +2 -6
  357. package/dist/index.es219.js.map +1 -1
  358. package/dist/index.es22.js +1 -1
  359. package/dist/index.es220.js +4 -20
  360. package/dist/index.es220.js.map +1 -1
  361. package/dist/index.es221.js +147 -10
  362. package/dist/index.es221.js.map +1 -1
  363. package/dist/index.es222.js +6 -17
  364. package/dist/index.es222.js.map +1 -1
  365. package/dist/index.es223.js +5 -4
  366. package/dist/index.es223.js.map +1 -1
  367. package/dist/index.es224.js +3 -20
  368. package/dist/index.es224.js.map +1 -1
  369. package/dist/index.es225.js +3 -14
  370. package/dist/index.es225.js.map +1 -1
  371. package/dist/index.es226.js +35 -3
  372. package/dist/index.es226.js.map +1 -1
  373. package/dist/index.es227.js +3 -7
  374. package/dist/index.es227.js.map +1 -1
  375. package/dist/index.es228.js +22 -242
  376. package/dist/index.es228.js.map +1 -1
  377. package/dist/index.es229.js +2 -45
  378. package/dist/index.es229.js.map +1 -1
  379. package/dist/index.es23.js +1 -1
  380. package/dist/index.es230.js +3 -5
  381. package/dist/index.es230.js.map +1 -1
  382. package/dist/index.es231.js +2 -13
  383. package/dist/index.es231.js.map +1 -1
  384. package/dist/index.es232.js +30 -10
  385. package/dist/index.es232.js.map +1 -1
  386. package/dist/index.es233.js +13 -31
  387. package/dist/index.es233.js.map +1 -1
  388. package/dist/index.es234.js +13 -13
  389. package/dist/index.es234.js.map +1 -1
  390. package/dist/index.es235.js +8 -4
  391. package/dist/index.es235.js.map +1 -1
  392. package/dist/index.es236.js +5 -7506
  393. package/dist/index.es236.js.map +1 -1
  394. package/dist/index.es237.js +8 -2
  395. package/dist/index.es237.js.map +1 -1
  396. package/dist/index.es238.js +21 -3
  397. package/dist/index.es238.js.map +1 -1
  398. package/dist/index.es239.js +22 -7
  399. package/dist/index.es239.js.map +1 -1
  400. package/dist/index.es24.js +1 -1
  401. package/dist/index.es240.js +3 -6
  402. package/dist/index.es240.js.map +1 -1
  403. package/dist/index.es241.js +7506 -20
  404. package/dist/index.es241.js.map +1 -1
  405. package/dist/index.es242.js +2 -23
  406. package/dist/index.es242.js.map +1 -1
  407. package/dist/index.es244.js +1 -1
  408. package/dist/index.es247.js +1 -1
  409. package/dist/index.es253.js +2 -2
  410. package/dist/index.es259.js +1 -1
  411. package/dist/index.es264.js +2 -2
  412. package/dist/index.es27.js +1 -1
  413. package/dist/index.es28.js +2 -2
  414. package/dist/index.es29.js +2 -2
  415. package/dist/index.es31.js +2 -2
  416. package/dist/index.es33.js +2 -2
  417. package/dist/index.es34.js +2 -2
  418. package/dist/index.es37.js +1 -1
  419. package/dist/index.es38.js +1 -1
  420. package/dist/index.es39.js +2 -2
  421. package/dist/index.es41.js +2 -2
  422. package/dist/index.es42.js +2 -2
  423. package/dist/index.es43.js +2 -2
  424. package/dist/index.es45.js +1 -1
  425. package/dist/index.es46.js +2 -2
  426. package/dist/index.es47.js +2 -2
  427. package/dist/index.es49.js +1 -1
  428. package/dist/index.es50.js +1 -1
  429. package/dist/index.es51.js +1 -1
  430. package/dist/index.es55.js +2 -2
  431. package/dist/index.es56.js +3 -3
  432. package/dist/index.es57.js +1 -1
  433. package/dist/index.es59.js +1 -1
  434. package/dist/index.es60.js +1 -1
  435. package/dist/index.es62.js +1 -1
  436. package/dist/index.es68.js +1 -1
  437. package/dist/index.es70.js +15 -15
  438. package/dist/index.es71.js +21351 -7
  439. package/dist/index.es71.js.map +1 -1
  440. package/dist/index.es73.js +1992 -25
  441. package/dist/index.es73.js.map +1 -1
  442. package/dist/index.es74.js +5 -588
  443. package/dist/index.es74.js.map +1 -1
  444. package/dist/index.es75.js +2 -1993
  445. package/dist/index.es75.js.map +1 -1
  446. package/dist/index.es76.js +7 -5
  447. package/dist/index.es76.js.map +1 -1
  448. package/dist/index.es77.js +2 -2
  449. package/dist/index.es78.js +24 -104
  450. package/dist/index.es78.js.map +1 -1
  451. package/dist/index.es79.js +589 -10
  452. package/dist/index.es79.js.map +1 -1
  453. package/dist/index.es80.js +104 -21350
  454. package/dist/index.es80.js.map +1 -1
  455. package/dist/index.es81.js +10 -2
  456. package/dist/index.es81.js.map +1 -1
  457. package/dist/index.es85.js +1 -1
  458. package/dist/index.es92.js +1 -1
  459. package/dist/index.es93.js +1 -1
  460. package/dist/index.es94.js +1 -1
  461. package/dist/index.es95.js +1 -1
  462. package/dist/index.es96.js +1 -1
  463. package/dist/index.es97.js +1 -1
  464. package/dist/index.es98.js +1 -1
  465. package/dist/index.es99.js +1 -1
  466. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("./index.cjs108.js");function n(r){var t=function(e){return r[e]},c="(?:"+p(r).join("|")+")",u=RegExp(c),a=RegExp(c,"g");return function(e){return e=e==null?"":""+e,u.test(e)?e.replace(a,t):e}}module.exports=n;
1
+ "use strict";const o=require("./index.cjs197.js"),l=require("./index.cjs36.js"),h=require("./index.cjs102.js");function g(s,f,c){return function(t,u,e){var r=0,n=o(t);if(typeof e=="number")s>0?r=e>=0?e:Math.max(e+n,r):n=e>=0?Math.min(e+1,n):e+n+1;else if(c&&e&&n)return e=c(t,u),t[e]===u?e:-1;if(u!==u)return e=f(l.slice.call(t,r,n),h),e>=0?e+r:-1;for(e=s>0?r:n-1;e>=0&&e<n;e+=s)if(t[e]===u)return e;return-1}}module.exports=g;
2
2
  //# sourceMappingURL=index.cjs215.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs215.js","sources":["../node_modules/underscore/modules/_createEscaper.js"],"sourcesContent":["import keys from './keys.js';\n\n// Internal helper to generate functions for escaping and unescaping strings\n// to/from HTML interpolation.\nexport default function createEscaper(map) {\n var escaper = function(match) {\n return map[match];\n };\n // Regexes for identifying a key that needs to be escaped.\n var source = '(?:' + keys(map).join('|') + ')';\n var testRegexp = RegExp(source);\n var replaceRegexp = RegExp(source, 'g');\n return function(string) {\n string = string == null ? '' : '' + string;\n return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;\n };\n}\n"],"names":["createEscaper","map","escaper","match","source","keys","testRegexp","replaceRegexp","string"],"mappings":"kDAIA,SAAwBA,EAAcC,EAAK,CACzC,IAAIC,EAAU,SAASC,EAAO,CAC5B,OAAOF,EAAIE,CAAK,CAClB,EAEIC,EAAS,MAAQC,EAAKJ,CAAG,EAAE,KAAK,GAAG,EAAI,IACvCK,EAAa,OAAOF,CAAM,EAC1BG,EAAgB,OAAOH,EAAQ,GAAG,EACtC,OAAO,SAASI,EAAQ,CACtB,OAAAA,EAASA,GAAU,KAAO,GAAK,GAAKA,EAC7BF,EAAW,KAAKE,CAAM,EAAIA,EAAO,QAAQD,EAAeL,CAAO,EAAIM,CAC5E,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs215.js","sources":["../node_modules/underscore/modules/_createIndexFinder.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport { slice } from './_setup.js';\nimport isNaN from './isNaN.js';\n\n// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions.\nexport default function createIndexFinder(dir, predicateFind, sortedIndex) {\n return function(array, item, idx) {\n var i = 0, length = getLength(array);\n if (typeof idx == 'number') {\n if (dir > 0) {\n i = idx >= 0 ? idx : Math.max(idx + length, i);\n } else {\n length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;\n }\n } else if (sortedIndex && idx && length) {\n idx = sortedIndex(array, item);\n return array[idx] === item ? idx : -1;\n }\n if (item !== item) {\n idx = predicateFind(slice.call(array, i, length), isNaN);\n return idx >= 0 ? idx + i : -1;\n }\n for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {\n if (array[idx] === item) return idx;\n }\n return -1;\n };\n}\n"],"names":["createIndexFinder","dir","predicateFind","sortedIndex","array","item","idx","i","length","getLength","slice","isNaN"],"mappings":"+GAKA,SAAwBA,EAAkBC,EAAKC,EAAeC,EAAa,CACzE,OAAO,SAASC,EAAOC,EAAMC,EAAK,CAChC,IAAIC,EAAI,EAAGC,EAASC,EAAUL,CAAK,EACnC,GAAI,OAAOE,GAAO,SACZL,EAAM,EACRM,EAAID,GAAO,EAAIA,EAAM,KAAK,IAAIA,EAAME,EAAQD,CAAC,EAE7CC,EAASF,GAAO,EAAI,KAAK,IAAIA,EAAM,EAAGE,CAAM,EAAIF,EAAME,EAAS,UAExDL,GAAeG,GAAOE,EAC/B,OAAAF,EAAMH,EAAYC,EAAOC,CAAI,EACtBD,EAAME,CAAG,IAAMD,EAAOC,EAAM,GAErC,GAAID,IAASA,EACX,OAAAC,EAAMJ,EAAcQ,EAAAA,MAAM,KAAKN,EAAOG,EAAGC,CAAM,EAAGG,CAAK,EAChDL,GAAO,EAAIA,EAAMC,EAAI,GAE9B,IAAKD,EAAML,EAAM,EAAIM,EAAIC,EAAS,EAAGF,GAAO,GAAKA,EAAME,EAAQF,GAAOL,EACpE,GAAIG,EAAME,CAAG,IAAMD,EAAM,OAAOC,EAElC,MAAO,EACT,CACF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};module.exports=t;
1
+ "use strict";const e=require("./index.cjs237.js"),r=require("./index.cjs197.js"),t=e(r);module.exports=t;
2
2
  //# sourceMappingURL=index.cjs216.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs216.js","sources":["../node_modules/underscore/modules/_escapeMap.js"],"sourcesContent":["// Internal list of HTML entities for escaping.\nexport default {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#x27;',\n '`': '&#x60;'\n};\n"],"names":["escapeMap"],"mappings":"aACA,MAAAA,EAAe,CACb,IAAK,QACL,IAAK,OACL,IAAK,OACL,IAAK,SACL,IAAK,SACL,IAAK,QACP","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs216.js","sources":["../node_modules/underscore/modules/_isArrayLike.js"],"sourcesContent":["import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getLength from './_getLength.js';\n\n// Internal helper for collection methods to determine whether a collection\n// should be iterated as an array or as an object.\n// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength\n// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094\nexport default createSizePropertyCheck(getLength);\n"],"names":["isArrayLike","createSizePropertyCheck","getLength"],"mappings":"iFAOAA,EAAeC,EAAwBC,CAAS","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs112.js"),s=require("./index.cjs216.js"),r=e(s);module.exports=r;
1
+ "use strict";const g=require("./index.cjs216.js"),l=require("./index.cjs108.js"),v=require("./index.cjs207.js");function h(i){var f=function(e,u,n,s){var t=!g(e)&&l(e),c=(t||e).length,r=i>0?0:c-1;for(s||(n=e[t?t[r]:r],r+=i);r>=0&&r<c;r+=i){var a=t?t[r]:r;n=u(n,e[a],a,e)}return n};return function(e,u,n,s){var t=arguments.length>=3;return f(e,v(u,s,4),n,t)}}module.exports=h;
2
2
  //# sourceMappingURL=index.cjs217.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs217.js","sources":["../node_modules/underscore/modules/_unescapeMap.js"],"sourcesContent":["import invert from './invert.js';\nimport escapeMap from './_escapeMap.js';\n\n// Internal list of HTML entities for unescaping.\nexport default invert(escapeMap);\n"],"names":["unescapeMap","invert","escapeMap"],"mappings":"iFAIAA,EAAeC,EAAOC,CAAS","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs217.js","sources":["../node_modules/underscore/modules/_createReduce.js"],"sourcesContent":["import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// Internal helper to create a reducing function, iterating left or right.\nexport default function createReduce(dir) {\n // Wrap code that reassigns argument variables in a separate function than\n // the one that accesses `arguments.length` to avoid a perf hit. (#1991)\n var reducer = function(obj, iteratee, memo, initial) {\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length,\n index = dir > 0 ? 0 : length - 1;\n if (!initial) {\n memo = obj[_keys ? _keys[index] : index];\n index += dir;\n }\n for (; index >= 0 && index < length; index += dir) {\n var currentKey = _keys ? _keys[index] : index;\n memo = iteratee(memo, obj[currentKey], currentKey, obj);\n }\n return memo;\n };\n\n return function(obj, iteratee, memo, context) {\n var initial = arguments.length >= 3;\n return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial);\n };\n}\n"],"names":["createReduce","dir","reducer","obj","iteratee","memo","initial","_keys","isArrayLike","keys","length","index","currentKey","context","optimizeCb"],"mappings":"gHAKA,SAAwBA,EAAaC,EAAK,CAGxC,IAAIC,EAAU,SAASC,EAAKC,EAAUC,EAAMC,EAAS,CACnD,IAAIC,EAAQ,CAACC,EAAYL,CAAG,GAAKM,EAAKN,CAAG,EACrCO,GAAUH,GAASJ,GAAK,OACxBQ,EAAQV,EAAM,EAAI,EAAIS,EAAS,EAKnC,IAJKJ,IACHD,EAAOF,EAAII,EAAQA,EAAMI,CAAK,EAAIA,CAAK,EACvCA,GAASV,GAEJU,GAAS,GAAKA,EAAQD,EAAQC,GAASV,EAAK,CACjD,IAAIW,EAAaL,EAAQA,EAAMI,CAAK,EAAIA,EACxCN,EAAOD,EAASC,EAAMF,EAAIS,CAAU,EAAGA,EAAYT,CAAG,CACxD,CACA,OAAOE,CACT,EAEA,OAAO,SAASF,EAAKC,EAAUC,EAAMQ,EAAS,CAC5C,IAAIP,EAAU,UAAU,QAAU,EAClC,OAAOJ,EAAQC,EAAKW,EAAWV,EAAUS,EAAS,CAAC,EAAGR,EAAMC,CAAO,CACrE,CACF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs123.js"),n=require("./index.cjs37.js"),s=require("./index.cjs87.js"),c=require("./index.cjs100.js"),o=require("./index.cjs128.js"),u=require("./index.cjs126.js"),q=require("./index.cjs214.js");function f(r,t,e){return r==null?i:n(r)?q(r,t,e):s(r)&&!c(r)?o(r):u(r)}module.exports=f;
1
+ "use strict";const f=require("./index.cjs206.js"),p=require("./index.cjs152.js");function q(t,o){return function(n,r,s){var u=o?[[],[]]:{};return r=f(r,s),p(n,function(c,e){var i=r(c,e,n);t(u,c,i)}),u}}module.exports=q;
2
2
  //# sourceMappingURL=index.cjs218.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs218.js","sources":["../node_modules/underscore/modules/_baseIteratee.js"],"sourcesContent":["import identity from './identity.js';\nimport isFunction from './isFunction.js';\nimport isObject from './isObject.js';\nimport isArray from './isArray.js';\nimport matcher from './matcher.js';\nimport property from './property.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// An internal function to generate callbacks that can be applied to each\n// element in a collection, returning the desired result either `_.identity`,\n// an arbitrary callback, a property matcher, or a property accessor.\nexport default function baseIteratee(value, context, argCount) {\n if (value == null) return identity;\n if (isFunction(value)) return optimizeCb(value, context, argCount);\n if (isObject(value) && !isArray(value)) return matcher(value);\n return property(value);\n}\n"],"names":["baseIteratee","value","context","argCount","identity","isFunction","optimizeCb","isObject","isArray","matcher","property"],"mappings":"0OAWA,SAAwBA,EAAaC,EAAOC,EAASC,EAAU,CAC7D,OAAIF,GAAS,KAAaG,EACtBC,EAAWJ,CAAK,EAAUK,EAAWL,EAAOC,EAASC,CAAQ,EAC7DI,EAASN,CAAK,GAAK,CAACO,EAAQP,CAAK,EAAUQ,EAAQR,CAAK,EACrDS,EAAST,CAAK,CACvB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs218.js","sources":["../node_modules/underscore/modules/_group.js"],"sourcesContent":["import cb from './_cb.js';\nimport each from './each.js';\n\n// An internal function used for aggregate \"group by\" operations.\nexport default function group(behavior, partition) {\n return function(obj, iteratee, context) {\n var result = partition ? [[], []] : {};\n iteratee = cb(iteratee, context);\n each(obj, function(value, index) {\n var key = iteratee(value, index, obj);\n behavior(result, value, key);\n });\n return result;\n };\n}\n"],"names":["group","behavior","partition","obj","iteratee","context","result","cb","each","value","index","key"],"mappings":"iFAIA,SAAwBA,EAAMC,EAAUC,EAAW,CACjD,OAAO,SAASC,EAAKC,EAAUC,EAAS,CACtC,IAAIC,EAASJ,EAAY,CAAC,CAAA,EAAI,CAAA,CAAE,EAAI,CAAA,EACpC,OAAAE,EAAWG,EAAGH,EAAUC,CAAO,EAC/BG,EAAKL,EAAK,SAASM,EAAOC,EAAO,CAC/B,IAAIC,EAAMP,EAASK,EAAOC,EAAOP,CAAG,EACpCF,EAASK,EAAQG,EAAOE,CAAG,CAC7B,CAAC,EACML,CACT,CACF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs210.js"),o=require("./index.cjs87.js");function u(e,n,p,s,t){if(!(s instanceof n))return e.apply(p,t);var r=a(e.prototype),i=e.apply(r,t);return o(i)?i:r}module.exports=u;
1
+ "use strict";function t(r,e,n){return e in n}module.exports=t;
2
2
  //# sourceMappingURL=index.cjs219.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs219.js","sources":["../node_modules/underscore/modules/_executeBound.js"],"sourcesContent":["import baseCreate from './_baseCreate.js';\nimport isObject from './isObject.js';\n\n// Internal function to execute `sourceFunc` bound to `context` with optional\n// `args`. Determines whether to execute a function as a constructor or as a\n// normal function.\nexport default function executeBound(sourceFunc, boundFunc, context, callingContext, args) {\n if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args);\n var self = baseCreate(sourceFunc.prototype);\n var result = sourceFunc.apply(self, args);\n if (isObject(result)) return result;\n return self;\n}\n"],"names":["executeBound","sourceFunc","boundFunc","context","callingContext","args","self","baseCreate","result","isObject"],"mappings":"gFAMA,SAAwBA,EAAaC,EAAYC,EAAWC,EAASC,EAAgBC,EAAM,CACzF,GAAI,EAAED,aAA0BF,UAAmBD,EAAW,MAAME,EAASE,CAAI,EACjF,IAAIC,EAAOC,EAAWN,EAAW,SAAS,EACtCO,EAASP,EAAW,MAAMK,EAAMD,CAAI,EACxC,OAAII,EAASD,CAAM,EAAUA,EACtBF,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs219.js","sources":["../node_modules/underscore/modules/_keyInObj.js"],"sourcesContent":["// Internal `_.pick` helper function to determine whether `key` is an enumerable\n// property name of `obj`.\nexport default function keyInObj(value, key, obj) {\n return key in obj;\n}\n"],"names":["keyInObj","value","key","obj"],"mappings":"aAEA,SAAwBA,EAASC,EAAOC,EAAKC,EAAK,CAChD,OAAOD,KAAOC,CAChB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("react"),l=require("./index.cjs232.js"),a=require("./index.cjs25.js");function r(t){const e=a.useControl(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{l.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
1
+ "use strict";const n=require("react"),l=require("./index.cjs190.js"),a=require("./index.cjs25.js");function r(t){const e=a.useControl(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{l.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
2
2
  //# sourceMappingURL=index.cjs22.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs204.js"),l=require("./index.cjs223.js"),x=require("./index.cjs100.js"),L=require("./index.cjs39.js");function q(i,n,c,r){if(r=r||[],!n&&n!==0)n=1/0;else if(n<=0)return r.concat(i);for(var s=r.length,f=0,y=a(i);f<y;f++){var e=i[f];if(l(e)&&(x(e)||L(e)))if(n>1)q(e,n-1,c,r),s=r.length;else for(var g=0,A=e.length;g<A;)r[s++]=e[g++];else c||(r[s++]=e)}return r}module.exports=q;
1
+ "use strict";const r=require("./index.cjs40.js");function c(n,e){return n._chain?r(e).chain():e}module.exports=c;
2
2
  //# sourceMappingURL=index.cjs220.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs220.js","sources":["../node_modules/underscore/modules/_flatten.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport isArrayLike from './_isArrayLike.js';\nimport isArray from './isArray.js';\nimport isArguments from './isArguments.js';\n\n// Internal implementation of a recursive `flatten` function.\nexport default function flatten(input, depth, strict, output) {\n output = output || [];\n if (!depth && depth !== 0) {\n depth = Infinity;\n } else if (depth <= 0) {\n return output.concat(input);\n }\n var idx = output.length;\n for (var i = 0, length = getLength(input); i < length; i++) {\n var value = input[i];\n if (isArrayLike(value) && (isArray(value) || isArguments(value))) {\n // Flatten current level of array or arguments object.\n if (depth > 1) {\n flatten(value, depth - 1, strict, output);\n idx = output.length;\n } else {\n var j = 0, len = value.length;\n while (j < len) output[idx++] = value[j++];\n }\n } else if (!strict) {\n output[idx++] = value;\n }\n }\n return output;\n}\n"],"names":["flatten","input","depth","strict","output","idx","i","length","getLength","value","isArrayLike","isArray","isArguments","j","len"],"mappings":"8IAMA,SAAwBA,EAAQC,EAAOC,EAAOC,EAAQC,EAAQ,CAE5D,GADAA,EAASA,GAAU,CAAA,EACf,CAACF,GAASA,IAAU,EACtBA,EAAQ,YACCA,GAAS,EAClB,OAAOE,EAAO,OAAOH,CAAK,EAG5B,QADII,EAAMD,EAAO,OACRE,EAAI,EAAGC,EAASC,EAAUP,CAAK,EAAGK,EAAIC,EAAQD,IAAK,CAC1D,IAAIG,EAAQR,EAAMK,CAAC,EACnB,GAAII,EAAYD,CAAK,IAAME,EAAQF,CAAK,GAAKG,EAAYH,CAAK,GAE5D,GAAIP,EAAQ,EACVF,EAAQS,EAAOP,EAAQ,EAAGC,EAAQC,CAAM,EACxCC,EAAMD,EAAO,WAGb,SADIS,EAAI,EAAGC,EAAML,EAAM,OAChBI,EAAIC,GAAKV,EAAOC,GAAK,EAAII,EAAMI,GAAG,OAEjCV,IACVC,EAAOC,GAAK,EAAII,EAEpB,CACA,OAAOL,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs220.js","sources":["../node_modules/underscore/modules/_chainResult.js"],"sourcesContent":["import _ from './underscore.js';\n\n// Helper function to continue chaining intermediate results.\nexport default function chainResult(instance, obj) {\n return instance._chain ? _(obj).chain() : obj;\n}\n"],"names":["chainResult","instance","obj","_"],"mappings":"iDAGA,SAAwBA,EAAYC,EAAUC,EAAK,CACjD,OAAOD,EAAS,OAASE,EAAED,CAAG,EAAE,QAAUA,CAC5C","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const i=require("./index.cjs213.js"),o=require("./index.cjs204.js");function s(r){return function(n,t,c){t=i(t,c);for(var u=o(n),e=r>0?0:u-1;e>=0&&e<u;e+=r)if(t(n[e],e,n))return e;return-1}}module.exports=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function G(e,f,o){if(e!==null)for(var r,i,a,c,u,t,s,y=0,l=0,h,p=e.type,C=p==="FeatureCollection",M=p==="Feature",w=C?e.features.length:1,g=0;g<w;g++){s=C?e.features[g].geometry:M?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,P=0;if(c=h?s.geometries[b]:s,c!==null){t=c.coordinates;var v=c.type;switch(y=0,v){case null:break;case"Point":if(f(t,l,g,n,P)===!1)return!1;l++,n++;break;case"LineString":case"MultiPoint":for(r=0;r<t.length;r++){if(f(t[r],l,g,n,P)===!1)return!1;l++,v==="MultiPoint"&&n++}v==="LineString"&&n++;break;case"Polygon":case"MultiLineString":for(r=0;r<t.length;r++){for(i=0;i<t[r].length-y;i++){if(f(t[r][i],l,g,n,P)===!1)return!1;l++}v==="MultiLineString"&&n++,v==="Polygon"&&P++}v==="Polygon"&&n++;break;case"MultiPolygon":for(r=0;r<t.length;r++){for(P=0,i=0;i<t[r].length;i++){for(a=0;a<t[r][i].length-y;a++){if(f(t[r][i][a],l,g,n,P)===!1)return!1;l++}P++}n++}break;case"GeometryCollection":for(r=0;r<c.geometries.length;r++)if(G(c.geometries[r],f)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function S(e,f){if(e.type==="Feature")f(e,0);else if(e.type==="FeatureCollection")for(var o=0;o<e.features.length&&f(e.features[o],o)!==!1;o++);}function E(e,f){var o,r,i,a,c,u,t,s,y,l,h=0,p=e.type==="FeatureCollection",C=e.type==="Feature",M=p?e.features.length:1;for(o=0;o<M;o++){for(u=p?e.features[o].geometry:C?e.geometry:e,s=p?e.features[o].properties:C?e.properties:{},y=p?e.features[o].bbox:C?e.bbox:void 0,l=p?e.features[o].id:C?e.id:void 0,t=u?u.type==="GeometryCollection":!1,c=t?u.geometries.length:1,i=0;i<c;i++){if(a=t?u.geometries[i]:u,a===null){if(f(null,h,s,y,l)===!1)return!1;continue}switch(a.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(f(a,h,s,y,l)===!1)return!1;break}case"GeometryCollection":{for(r=0;r<a.geometries.length;r++)if(f(a.geometries[r],h,s,y,l)===!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.cjs221.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs221.js","sources":["../node_modules/underscore/modules/_createPredicateIndexFinder.js"],"sourcesContent":["import cb from './_cb.js';\nimport getLength from './_getLength.js';\n\n// Internal function to generate `_.findIndex` and `_.findLastIndex`.\nexport default function createPredicateIndexFinder(dir) {\n return function(array, predicate, context) {\n predicate = cb(predicate, context);\n var length = getLength(array);\n var index = dir > 0 ? 0 : length - 1;\n for (; index >= 0 && index < length; index += dir) {\n if (predicate(array[index], index, array)) return index;\n }\n return -1;\n };\n}\n"],"names":["createPredicateIndexFinder","dir","array","predicate","context","cb","length","getLength","index"],"mappings":"iFAIA,SAAwBA,EAA2BC,EAAK,CACtD,OAAO,SAASC,EAAOC,EAAWC,EAAS,CACzCD,EAAYE,EAAGF,EAAWC,CAAO,EAGjC,QAFIE,EAASC,EAAUL,CAAK,EACxBM,EAAQP,EAAM,EAAI,EAAIK,EAAS,EAC5BE,GAAS,GAAKA,EAAQF,EAAQE,GAASP,EAC5C,GAAIE,EAAUD,EAAMM,CAAK,EAAGA,EAAON,CAAK,EAAG,OAAOM,EAEpD,MAAO,EACT,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs221.js","sources":["../../../node_modules/@turf/meta/dist/esm/index.js"],"sourcesContent":["// index.js\nimport { feature, point, lineString, isObject } from \"@turf/helpers\";\nfunction coordEach(geojson, callback, excludeWrapCoord) {\n if (geojson === null) return;\n var j, k, l, geometry, stopG, coords, geometryMaybeCollection, wrapShrink = 0, coordIndex = 0, isGeometryCollection, type = geojson.type, isFeatureCollection = type === \"FeatureCollection\", isFeature = type === \"Feature\", stop = isFeatureCollection ? geojson.features.length : 1;\n for (var featureIndex = 0; featureIndex < stop; featureIndex++) {\n geometryMaybeCollection = isFeatureCollection ? geojson.features[featureIndex].geometry : isFeature ? geojson.geometry : geojson;\n isGeometryCollection = geometryMaybeCollection ? geometryMaybeCollection.type === \"GeometryCollection\" : false;\n stopG = isGeometryCollection ? geometryMaybeCollection.geometries.length : 1;\n for (var geomIndex = 0; geomIndex < stopG; geomIndex++) {\n var multiFeatureIndex = 0;\n var geometryIndex = 0;\n geometry = isGeometryCollection ? geometryMaybeCollection.geometries[geomIndex] : geometryMaybeCollection;\n if (geometry === null) continue;\n coords = geometry.coordinates;\n var geomType = geometry.type;\n wrapShrink = excludeWrapCoord && (geomType === \"Polygon\" || geomType === \"MultiPolygon\") ? 1 : 0;\n switch (geomType) {\n case null:\n break;\n case \"Point\":\n if (callback(\n coords,\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n multiFeatureIndex++;\n break;\n case \"LineString\":\n case \"MultiPoint\":\n for (j = 0; j < coords.length; j++) {\n if (callback(\n coords[j],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n if (geomType === \"MultiPoint\") multiFeatureIndex++;\n }\n if (geomType === \"LineString\") multiFeatureIndex++;\n break;\n case \"Polygon\":\n case \"MultiLineString\":\n for (j = 0; j < coords.length; j++) {\n for (k = 0; k < coords[j].length - wrapShrink; k++) {\n if (callback(\n coords[j][k],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n }\n if (geomType === \"MultiLineString\") multiFeatureIndex++;\n if (geomType === \"Polygon\") geometryIndex++;\n }\n if (geomType === \"Polygon\") multiFeatureIndex++;\n break;\n case \"MultiPolygon\":\n for (j = 0; j < coords.length; j++) {\n geometryIndex = 0;\n for (k = 0; k < coords[j].length; k++) {\n for (l = 0; l < coords[j][k].length - wrapShrink; l++) {\n if (callback(\n coords[j][k][l],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n }\n geometryIndex++;\n }\n multiFeatureIndex++;\n }\n break;\n case \"GeometryCollection\":\n for (j = 0; j < geometry.geometries.length; j++)\n if (coordEach(geometry.geometries[j], callback, excludeWrapCoord) === false)\n return false;\n break;\n default:\n throw new Error(\"Unknown Geometry Type\");\n }\n }\n }\n}\nfunction coordReduce(geojson, callback, initialValue, excludeWrapCoord) {\n var previousValue = initialValue;\n coordEach(\n geojson,\n function(currentCoord, coordIndex, featureIndex, multiFeatureIndex, geometryIndex) {\n if (coordIndex === 0 && initialValue === void 0)\n previousValue = currentCoord;\n else\n previousValue = callback(\n previousValue,\n currentCoord,\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n );\n },\n excludeWrapCoord\n );\n return previousValue;\n}\nfunction propEach(geojson, callback) {\n var i;\n switch (geojson.type) {\n case \"FeatureCollection\":\n for (i = 0; i < geojson.features.length; i++) {\n if (callback(geojson.features[i].properties, i) === false) break;\n }\n break;\n case \"Feature\":\n callback(geojson.properties, 0);\n break;\n }\n}\nfunction propReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n propEach(geojson, function(currentProperties, featureIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentProperties;\n else\n previousValue = callback(previousValue, currentProperties, featureIndex);\n });\n return previousValue;\n}\nfunction featureEach(geojson, callback) {\n if (geojson.type === \"Feature\") {\n callback(geojson, 0);\n } else if (geojson.type === \"FeatureCollection\") {\n for (var i = 0; i < geojson.features.length; i++) {\n if (callback(geojson.features[i], i) === false) break;\n }\n }\n}\nfunction featureReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n featureEach(geojson, function(currentFeature, featureIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentFeature;\n else previousValue = callback(previousValue, currentFeature, featureIndex);\n });\n return previousValue;\n}\nfunction coordAll(geojson) {\n var coords = [];\n coordEach(geojson, function(coord) {\n coords.push(coord);\n });\n return coords;\n}\nfunction geomEach(geojson, callback) {\n var i, j, g, geometry, stopG, geometryMaybeCollection, isGeometryCollection, featureProperties, featureBBox, featureId, featureIndex = 0, isFeatureCollection = geojson.type === \"FeatureCollection\", isFeature = geojson.type === \"Feature\", stop = isFeatureCollection ? geojson.features.length : 1;\n for (i = 0; i < stop; i++) {\n geometryMaybeCollection = isFeatureCollection ? geojson.features[i].geometry : isFeature ? geojson.geometry : geojson;\n featureProperties = isFeatureCollection ? geojson.features[i].properties : isFeature ? geojson.properties : {};\n featureBBox = isFeatureCollection ? geojson.features[i].bbox : isFeature ? geojson.bbox : void 0;\n featureId = isFeatureCollection ? geojson.features[i].id : isFeature ? geojson.id : void 0;\n isGeometryCollection = geometryMaybeCollection ? geometryMaybeCollection.type === \"GeometryCollection\" : false;\n stopG = isGeometryCollection ? geometryMaybeCollection.geometries.length : 1;\n for (g = 0; g < stopG; g++) {\n geometry = isGeometryCollection ? geometryMaybeCollection.geometries[g] : geometryMaybeCollection;\n if (geometry === null) {\n if (callback(\n null,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n continue;\n }\n switch (geometry.type) {\n case \"Point\":\n case \"LineString\":\n case \"MultiPoint\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\": {\n if (callback(\n geometry,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n break;\n }\n case \"GeometryCollection\": {\n for (j = 0; j < geometry.geometries.length; j++) {\n if (callback(\n geometry.geometries[j],\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n }\n break;\n }\n default:\n throw new Error(\"Unknown Geometry Type\");\n }\n }\n featureIndex++;\n }\n}\nfunction geomReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n geomEach(\n geojson,\n function(currentGeometry, featureIndex, featureProperties, featureBBox, featureId) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentGeometry;\n else\n previousValue = callback(\n previousValue,\n currentGeometry,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n );\n }\n );\n return previousValue;\n}\nfunction flattenEach(geojson, callback) {\n geomEach(geojson, function(geometry, featureIndex, properties, bbox, id) {\n var type = geometry === null ? null : geometry.type;\n switch (type) {\n case null:\n case \"Point\":\n case \"LineString\":\n case \"Polygon\":\n if (callback(\n feature(geometry, properties, { bbox, id }),\n featureIndex,\n 0\n ) === false)\n return false;\n return;\n }\n var geomType;\n switch (type) {\n case \"MultiPoint\":\n geomType = \"Point\";\n break;\n case \"MultiLineString\":\n geomType = \"LineString\";\n break;\n case \"MultiPolygon\":\n geomType = \"Polygon\";\n break;\n }\n for (var multiFeatureIndex = 0; multiFeatureIndex < geometry.coordinates.length; multiFeatureIndex++) {\n var coordinate = geometry.coordinates[multiFeatureIndex];\n var geom = {\n type: geomType,\n coordinates: coordinate\n };\n if (callback(feature(geom, properties), featureIndex, multiFeatureIndex) === false)\n return false;\n }\n });\n}\nfunction flattenReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n flattenEach(\n geojson,\n function(currentFeature, featureIndex, multiFeatureIndex) {\n if (featureIndex === 0 && multiFeatureIndex === 0 && initialValue === void 0)\n previousValue = currentFeature;\n else\n previousValue = callback(\n previousValue,\n currentFeature,\n featureIndex,\n multiFeatureIndex\n );\n }\n );\n return previousValue;\n}\nfunction segmentEach(geojson, callback) {\n flattenEach(geojson, function(feature2, featureIndex, multiFeatureIndex) {\n var segmentIndex = 0;\n if (!feature2.geometry) return;\n var type = feature2.geometry.type;\n if (type === \"Point\" || type === \"MultiPoint\") return;\n var previousCoords;\n var previousFeatureIndex = 0;\n var previousMultiIndex = 0;\n var prevGeomIndex = 0;\n if (coordEach(\n feature2,\n function(currentCoord, coordIndex, featureIndexCoord, multiPartIndexCoord, geometryIndex) {\n if (previousCoords === void 0 || featureIndex > previousFeatureIndex || multiPartIndexCoord > previousMultiIndex || geometryIndex > prevGeomIndex) {\n previousCoords = currentCoord;\n previousFeatureIndex = featureIndex;\n previousMultiIndex = multiPartIndexCoord;\n prevGeomIndex = geometryIndex;\n segmentIndex = 0;\n return;\n }\n var currentSegment = lineString(\n [previousCoords, currentCoord],\n feature2.properties\n );\n if (callback(\n currentSegment,\n featureIndex,\n multiFeatureIndex,\n geometryIndex,\n segmentIndex\n ) === false)\n return false;\n segmentIndex++;\n previousCoords = currentCoord;\n }\n ) === false)\n return false;\n });\n}\nfunction segmentReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n var started = false;\n segmentEach(\n geojson,\n function(currentSegment, featureIndex, multiFeatureIndex, geometryIndex, segmentIndex) {\n if (started === false && initialValue === void 0)\n previousValue = currentSegment;\n else\n previousValue = callback(\n previousValue,\n currentSegment,\n featureIndex,\n multiFeatureIndex,\n geometryIndex,\n segmentIndex\n );\n started = true;\n }\n );\n return previousValue;\n}\nfunction lineEach(geojson, callback) {\n if (!geojson) throw new Error(\"geojson is required\");\n flattenEach(geojson, function(feature2, featureIndex, multiFeatureIndex) {\n if (feature2.geometry === null) return;\n var type = feature2.geometry.type;\n var coords = feature2.geometry.coordinates;\n switch (type) {\n case \"LineString\":\n if (callback(feature2, featureIndex, multiFeatureIndex, 0, 0) === false)\n return false;\n break;\n case \"Polygon\":\n for (var geometryIndex = 0; geometryIndex < coords.length; geometryIndex++) {\n if (callback(\n lineString(coords[geometryIndex], feature2.properties),\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n }\n break;\n }\n });\n}\nfunction lineReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n lineEach(\n geojson,\n function(currentLine, featureIndex, multiFeatureIndex, geometryIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentLine;\n else\n previousValue = callback(\n previousValue,\n currentLine,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n );\n }\n );\n return previousValue;\n}\nfunction findSegment(geojson, options) {\n options = options || {};\n if (!isObject(options)) throw new Error(\"options is invalid\");\n var featureIndex = options.featureIndex || 0;\n var multiFeatureIndex = options.multiFeatureIndex || 0;\n var geometryIndex = options.geometryIndex || 0;\n var segmentIndex = options.segmentIndex || 0;\n var properties = options.properties;\n var geometry;\n switch (geojson.type) {\n case \"FeatureCollection\":\n if (featureIndex < 0)\n featureIndex = geojson.features.length + featureIndex;\n properties = properties || geojson.features[featureIndex].properties;\n geometry = geojson.features[featureIndex].geometry;\n break;\n case \"Feature\":\n properties = properties || geojson.properties;\n geometry = geojson.geometry;\n break;\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\":\n geometry = geojson;\n break;\n default:\n throw new Error(\"geojson is invalid\");\n }\n if (geometry === null) return null;\n var coords = geometry.coordinates;\n switch (geometry.type) {\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n if (segmentIndex < 0) segmentIndex = coords.length + segmentIndex - 1;\n return lineString(\n [coords[segmentIndex], coords[segmentIndex + 1]],\n properties,\n options\n );\n case \"Polygon\":\n if (geometryIndex < 0) geometryIndex = coords.length + geometryIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[geometryIndex].length + segmentIndex - 1;\n return lineString(\n [\n coords[geometryIndex][segmentIndex],\n coords[geometryIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n case \"MultiLineString\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[multiFeatureIndex].length + segmentIndex - 1;\n return lineString(\n [\n coords[multiFeatureIndex][segmentIndex],\n coords[multiFeatureIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n case \"MultiPolygon\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (geometryIndex < 0)\n geometryIndex = coords[multiFeatureIndex].length + geometryIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[multiFeatureIndex][geometryIndex].length - segmentIndex - 1;\n return lineString(\n [\n coords[multiFeatureIndex][geometryIndex][segmentIndex],\n coords[multiFeatureIndex][geometryIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n }\n throw new Error(\"geojson is invalid\");\n}\nfunction findPoint(geojson, options) {\n options = options || {};\n if (!isObject(options)) throw new Error(\"options is invalid\");\n var featureIndex = options.featureIndex || 0;\n var multiFeatureIndex = options.multiFeatureIndex || 0;\n var geometryIndex = options.geometryIndex || 0;\n var coordIndex = options.coordIndex || 0;\n var properties = options.properties;\n var geometry;\n switch (geojson.type) {\n case \"FeatureCollection\":\n if (featureIndex < 0)\n featureIndex = geojson.features.length + featureIndex;\n properties = properties || geojson.features[featureIndex].properties;\n geometry = geojson.features[featureIndex].geometry;\n break;\n case \"Feature\":\n properties = properties || geojson.properties;\n geometry = geojson.geometry;\n break;\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\":\n geometry = geojson;\n break;\n default:\n throw new Error(\"geojson is invalid\");\n }\n if (geometry === null) return null;\n var coords = geometry.coordinates;\n switch (geometry.type) {\n case \"Point\":\n return point(coords, properties, options);\n case \"MultiPoint\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n return point(coords[multiFeatureIndex], properties, options);\n case \"LineString\":\n if (coordIndex < 0) coordIndex = coords.length + coordIndex;\n return point(coords[coordIndex], properties, options);\n case \"Polygon\":\n if (geometryIndex < 0) geometryIndex = coords.length + geometryIndex;\n if (coordIndex < 0)\n coordIndex = coords[geometryIndex].length + coordIndex;\n return point(coords[geometryIndex][coordIndex], properties, options);\n case \"MultiLineString\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (coordIndex < 0)\n coordIndex = coords[multiFeatureIndex].length + coordIndex;\n return point(coords[multiFeatureIndex][coordIndex], properties, options);\n case \"MultiPolygon\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (geometryIndex < 0)\n geometryIndex = coords[multiFeatureIndex].length + geometryIndex;\n if (coordIndex < 0)\n coordIndex = coords[multiFeatureIndex][geometryIndex].length - coordIndex;\n return point(\n coords[multiFeatureIndex][geometryIndex][coordIndex],\n properties,\n options\n );\n }\n throw new Error(\"geojson is invalid\");\n}\nexport {\n coordAll,\n coordEach,\n coordReduce,\n featureEach,\n featureReduce,\n findPoint,\n findSegment,\n flattenEach,\n flattenReduce,\n geomEach,\n geomReduce,\n lineEach,\n lineReduce,\n propEach,\n propReduce,\n segmentEach,\n segmentReduce\n};\n//# sourceMappingURL=index.js.map"],"names":["coordEach","geojson","callback","excludeWrapCoord","j","k","l","geometry","stopG","coords","geometryMaybeCollection","wrapShrink","coordIndex","isGeometryCollection","type","isFeatureCollection","isFeature","stop","featureIndex","geomIndex","multiFeatureIndex","geometryIndex","geomType","featureEach","i","geomEach","g","featureProperties","featureBBox","featureId"],"mappings":"gFAEA,SAASA,EAAUC,EAASC,EAAUC,EAAkB,CACtD,GAAIF,IAAY,KAEhB,QADIG,EAAGC,EAAGC,EAAGC,EAAUC,EAAOC,EAAQC,EAAyBC,EAAa,EAAGC,EAAa,EAAGC,EAAsBC,EAAOb,EAAQ,KAAMc,EAAsBD,IAAS,oBAAqBE,EAAYF,IAAS,UAAWG,EAAOF,EAAsBd,EAAQ,SAAS,OAAS,EAC5QiB,EAAe,EAAGA,EAAeD,EAAMC,IAAgB,CAC9DR,EAA0BK,EAAsBd,EAAQ,SAASiB,CAAY,EAAE,SAAWF,EAAYf,EAAQ,SAAWA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EAAwB,WAAW,OAAS,EACtEgB,EAAI,EAAGA,EAAIlB,EAAOkB,IAAK,CAE1B,GADAnB,EAAWM,EAAuBH,EAAwB,WAAWgB,CAAC,EAAIhB,EACtEH,IAAa,KAAM,CACrB,GAAIL,EACF,KACAgB,EACAS,EACAC,EACAC,CAAA,IACI,GACJ,MAAO,GACT,QACF,CACA,OAAQtB,EAAS,KAAA,CACf,IAAK,QACL,IAAK,aACL,IAAK,aACL,IAAK,UACL,IAAK,kBACL,IAAK,eAAgB,CACnB,GAAIL,EACFK,EACAW,EACAS,EACAC,EACAC,CAAA,IACI,GACJ,MAAO,GACT,KACF,CACA,IAAK,qBAAsB,CACzB,IAAKzB,EAAI,EAAGA,EAAIG,EAAS,WAAW,OAAQH,IAC1C,GAAIF,EACFK,EAAS,WAAWH,CAAC,EACrBc,EACAS,EACAC,EACAC,CAAA,IACI,GACJ,MAAO,GAEX,KACF,CACA,QACE,MAAM,IAAI,MAAM,uBAAuB,CAAA,CAE7C,CACAX,GACF,CACF","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const o=require("./index.cjs204.js"),l=require("./index.cjs36.js"),h=require("./index.cjs102.js");function g(s,f,c){return function(t,u,e){var r=0,n=o(t);if(typeof e=="number")s>0?r=e>=0?e:Math.max(e+n,r):n=e>=0?Math.min(e+1,n):e+n+1;else if(c&&e&&n)return e=c(t,u),t[e]===u?e:-1;if(u!==u)return e=f(l.slice.call(t,r,n),h),e>=0?e+r:-1;for(e=s>0?r:n-1;e>=0&&e<n;e+=s)if(t[e]===u)return e;return-1}}module.exports=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs68.js"),i=require("./index.cjs66.js");function s(n,t={}){const e=c.bbox(n),r=(e[0]+e[2])/2,o=(e[1]+e[3])/2;return i.point([r,o],t.properties,t)}exports.center=s;
2
2
  //# sourceMappingURL=index.cjs222.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs222.js","sources":["../node_modules/underscore/modules/_createIndexFinder.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport { slice } from './_setup.js';\nimport isNaN from './isNaN.js';\n\n// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions.\nexport default function createIndexFinder(dir, predicateFind, sortedIndex) {\n return function(array, item, idx) {\n var i = 0, length = getLength(array);\n if (typeof idx == 'number') {\n if (dir > 0) {\n i = idx >= 0 ? idx : Math.max(idx + length, i);\n } else {\n length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;\n }\n } else if (sortedIndex && idx && length) {\n idx = sortedIndex(array, item);\n return array[idx] === item ? idx : -1;\n }\n if (item !== item) {\n idx = predicateFind(slice.call(array, i, length), isNaN);\n return idx >= 0 ? idx + i : -1;\n }\n for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {\n if (array[idx] === item) return idx;\n }\n return -1;\n };\n}\n"],"names":["createIndexFinder","dir","predicateFind","sortedIndex","array","item","idx","i","length","getLength","slice","isNaN"],"mappings":"+GAKA,SAAwBA,EAAkBC,EAAKC,EAAeC,EAAa,CACzE,OAAO,SAASC,EAAOC,EAAMC,EAAK,CAChC,IAAIC,EAAI,EAAGC,EAASC,EAAUL,CAAK,EACnC,GAAI,OAAOE,GAAO,SACZL,EAAM,EACRM,EAAID,GAAO,EAAIA,EAAM,KAAK,IAAIA,EAAME,EAAQD,CAAC,EAE7CC,EAASF,GAAO,EAAI,KAAK,IAAIA,EAAM,EAAGE,CAAM,EAAIF,EAAME,EAAS,UAExDL,GAAeG,GAAOE,EAC/B,OAAAF,EAAMH,EAAYC,EAAOC,CAAI,EACtBD,EAAME,CAAG,IAAMD,EAAOC,EAAM,GAErC,GAAID,IAASA,EACX,OAAAC,EAAMJ,EAAcQ,EAAAA,MAAM,KAAKN,EAAOG,EAAGC,CAAM,EAAGG,CAAK,EAChDL,GAAO,EAAIA,EAAMC,EAAI,GAE9B,IAAKD,EAAML,EAAM,EAAIM,EAAIC,EAAS,EAAGF,GAAO,GAAKA,EAAME,EAAQF,GAAOL,EACpE,GAAIG,EAAME,CAAG,IAAMD,EAAM,OAAOC,EAElC,MAAO,EACT,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs222.js","sources":["../node_modules/@turf/center/dist/esm/index.js"],"sourcesContent":["// index.ts\nimport { bbox } from \"@turf/bbox\";\nimport { point } from \"@turf/helpers\";\nfunction center(geojson, options = {}) {\n const ext = bbox(geojson);\n const x = (ext[0] + ext[2]) / 2;\n const y = (ext[1] + ext[3]) / 2;\n return point([x, y], options.properties, options);\n}\nvar turf_center_default = center;\nexport {\n center,\n turf_center_default as default\n};\n//# sourceMappingURL=index.js.map"],"names":["center","geojson","options","ext","bbox","x","y","point"],"mappings":"kJAGA,SAASA,EAAOC,EAASC,EAAU,GAAI,CACrC,MAAMC,EAAMC,EAAAA,KAAKH,CAAO,EAClBI,GAAKF,EAAI,CAAC,EAAIA,EAAI,CAAC,GAAK,EACxBG,GAAKH,EAAI,CAAC,EAAIA,EAAI,CAAC,GAAK,EAC9B,OAAOI,EAAAA,MAAM,CAACF,EAAGC,CAAC,EAAGJ,EAAQ,WAAYA,CAAO,CAClD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs239.js"),r=require("./index.cjs204.js"),t=e(r);module.exports=t;
1
+ "use strict";const s=require("./index.cjs74.js"),r=require("./index.cjs241.js");var t=r.__require();const e=s.getDefaultExportFromCjs(t);module.exports=e;
2
2
  //# sourceMappingURL=index.cjs223.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs223.js","sources":["../node_modules/underscore/modules/_isArrayLike.js"],"sourcesContent":["import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getLength from './_getLength.js';\n\n// Internal helper for collection methods to determine whether a collection\n// should be iterated as an array or as an object.\n// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength\n// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094\nexport default createSizePropertyCheck(getLength);\n"],"names":["isArrayLike","createSizePropertyCheck","getLength"],"mappings":"iFAOAA,EAAeC,EAAwBC,CAAS","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs223.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";const g=require("./index.cjs223.js"),l=require("./index.cjs108.js"),v=require("./index.cjs214.js");function h(i){var f=function(e,u,n,s){var t=!g(e)&&l(e),c=(t||e).length,r=i>0?0:c-1;for(s||(n=e[t?t[r]:r],r+=i);r>=0&&r<c;r+=i){var a=t?t[r]:r;n=u(n,e[a],a,e)}return n};return function(e,u,n,s){var t=arguments.length>=3;return f(e,v(u,s,4),n,t)}}module.exports=h;
1
+ "use strict";const e=require("./index.cjs243.js");e();e();
2
2
  //# sourceMappingURL=index.cjs224.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs224.js","sources":["../node_modules/underscore/modules/_createReduce.js"],"sourcesContent":["import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// Internal helper to create a reducing function, iterating left or right.\nexport default function createReduce(dir) {\n // Wrap code that reassigns argument variables in a separate function than\n // the one that accesses `arguments.length` to avoid a perf hit. (#1991)\n var reducer = function(obj, iteratee, memo, initial) {\n var _keys = !isArrayLike(obj) && keys(obj),\n length = (_keys || obj).length,\n index = dir > 0 ? 0 : length - 1;\n if (!initial) {\n memo = obj[_keys ? _keys[index] : index];\n index += dir;\n }\n for (; index >= 0 && index < length; index += dir) {\n var currentKey = _keys ? _keys[index] : index;\n memo = iteratee(memo, obj[currentKey], currentKey, obj);\n }\n return memo;\n };\n\n return function(obj, iteratee, memo, context) {\n var initial = arguments.length >= 3;\n return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial);\n };\n}\n"],"names":["createReduce","dir","reducer","obj","iteratee","memo","initial","_keys","isArrayLike","keys","length","index","currentKey","context","optimizeCb"],"mappings":"gHAKA,SAAwBA,EAAaC,EAAK,CAGxC,IAAIC,EAAU,SAASC,EAAKC,EAAUC,EAAMC,EAAS,CACnD,IAAIC,EAAQ,CAACC,EAAYL,CAAG,GAAKM,EAAKN,CAAG,EACrCO,GAAUH,GAASJ,GAAK,OACxBQ,EAAQV,EAAM,EAAI,EAAIS,EAAS,EAKnC,IAJKJ,IACHD,EAAOF,EAAII,EAAQA,EAAMI,CAAK,EAAIA,CAAK,EACvCA,GAASV,GAEJU,GAAS,GAAKA,EAAQD,EAAQC,GAASV,EAAK,CACjD,IAAIW,EAAaL,EAAQA,EAAMI,CAAK,EAAIA,EACxCN,EAAOD,EAASC,EAAMF,EAAIS,CAAU,EAAGA,EAAYT,CAAG,CACxD,CACA,OAAOE,CACT,EAEA,OAAO,SAASF,EAAKC,EAAUC,EAAMQ,EAAS,CAC5C,IAAIP,EAAU,UAAU,QAAU,EAClC,OAAOJ,EAAQC,EAAKW,EAAWV,EAAUS,EAAS,CAAC,EAAGR,EAAMC,CAAO,CACrE,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs224.js","sources":["../../../node_modules/d3-geo/src/area.js"],"sourcesContent":["import adder from \"./adder\";\nimport {atan2, cos, quarterPi, radians, sin, tau} from \"./math\";\nimport noop from \"./noop\";\nimport stream from \"./stream\";\n\nexport var areaRingSum = adder();\n\nvar areaSum = adder(),\n lambda00,\n phi00,\n lambda0,\n cosPhi0,\n sinPhi0;\n\nexport var areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaRingSum.reset();\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n var areaRing = +areaRingSum;\n areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);\n this.lineStart = this.lineEnd = this.point = noop;\n },\n sphere: function() {\n areaSum.add(tau);\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaRingEnd() {\n areaPoint(lambda00, phi00);\n}\n\nfunction areaPointFirst(lambda, phi) {\n areaStream.point = areaPoint;\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);\n}\n\nfunction areaPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n phi = phi / 2 + quarterPi; // half the angular distance from south pole\n\n // Spherical excess E for a spherical triangle with vertices: south pole,\n // previous point, current point. Uses a formula derived from Cagnoli’s\n // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n var dLambda = lambda - lambda0,\n sdLambda = dLambda >= 0 ? 1 : -1,\n adLambda = sdLambda * dLambda,\n cosPhi = cos(phi),\n sinPhi = sin(phi),\n k = sinPhi0 * sinPhi,\n u = cosPhi0 * cosPhi + k * cos(adLambda),\n v = k * sdLambda * sin(adLambda);\n areaRingSum.add(atan2(v, u));\n\n // Advance the previous points.\n lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n}\n\nexport default function(object) {\n areaSum.reset();\n stream(object, areaStream);\n return areaSum * 2;\n}\n"],"names":["adder"],"mappings":"kDAKyBA,EAAA,EAEXA,EAAA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const f=require("./index.cjs213.js"),p=require("./index.cjs152.js");function q(t,o){return function(n,r,s){var u=o?[[],[]]:{};return r=f(r,s),p(n,function(c,e){var i=r(c,e,n);t(u,c,i)}),u}}module.exports=q;
1
+ "use strict";const e=require("./index.cjs243.js");require("./index.cjs224.js");e();
2
2
  //# sourceMappingURL=index.cjs225.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs225.js","sources":["../node_modules/underscore/modules/_group.js"],"sourcesContent":["import cb from './_cb.js';\nimport each from './each.js';\n\n// An internal function used for aggregate \"group by\" operations.\nexport default function group(behavior, partition) {\n return function(obj, iteratee, context) {\n var result = partition ? [[], []] : {};\n iteratee = cb(iteratee, context);\n each(obj, function(value, index) {\n var key = iteratee(value, index, obj);\n behavior(result, value, key);\n });\n return result;\n };\n}\n"],"names":["group","behavior","partition","obj","iteratee","context","result","cb","each","value","index","key"],"mappings":"iFAIA,SAAwBA,EAAMC,EAAUC,EAAW,CACjD,OAAO,SAASC,EAAKC,EAAUC,EAAS,CACtC,IAAIC,EAASJ,EAAY,CAAC,CAAA,EAAI,CAAA,CAAE,EAAI,CAAA,EACpC,OAAAE,EAAWG,EAAGH,EAAUC,CAAO,EAC/BG,EAAKL,EAAK,SAASM,EAAOC,EAAO,CAC/B,IAAIC,EAAMP,EAASK,EAAOC,EAAOP,CAAG,EACpCF,EAASK,EAAQG,EAAOE,CAAG,CAC7B,CAAC,EACML,CACT,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs225.js","sources":["../../../node_modules/d3-geo/src/bounds.js"],"sourcesContent":["import adder from \"./adder\";\nimport {areaStream, areaRingSum} from \"./area\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace, spherical} from \"./cartesian\";\nimport {abs, degrees, epsilon, radians} from \"./math\";\nimport stream from \"./stream\";\n\nvar lambda0, phi0, lambda1, phi1, // bounds\n lambda2, // previous lambda-coordinate\n lambda00, phi00, // first point\n p0, // previous 3D point\n deltaSum = adder(),\n ranges,\n range;\n\nvar boundsStream = {\n point: boundsPoint,\n lineStart: boundsLineStart,\n lineEnd: boundsLineEnd,\n polygonStart: function() {\n boundsStream.point = boundsRingPoint;\n boundsStream.lineStart = boundsRingStart;\n boundsStream.lineEnd = boundsRingEnd;\n deltaSum.reset();\n areaStream.polygonStart();\n },\n polygonEnd: function() {\n areaStream.polygonEnd();\n boundsStream.point = boundsPoint;\n boundsStream.lineStart = boundsLineStart;\n boundsStream.lineEnd = boundsLineEnd;\n if (areaRingSum < 0) lambda0 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n else if (deltaSum > epsilon) phi1 = 90;\n else if (deltaSum < -epsilon) phi0 = -90;\n range[0] = lambda0, range[1] = lambda1;\n }\n};\n\nfunction boundsPoint(lambda, phi) {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n}\n\nfunction linePoint(lambda, phi) {\n var p = cartesian([lambda * radians, phi * radians]);\n if (p0) {\n var normal = cartesianCross(p0, p),\n equatorial = [normal[1], -normal[0], 0],\n inflection = cartesianCross(equatorial, normal);\n cartesianNormalizeInPlace(inflection);\n inflection = spherical(inflection);\n var delta = lambda - lambda2,\n sign = delta > 0 ? 1 : -1,\n lambdai = inflection[0] * degrees * sign,\n phii,\n antimeridian = abs(delta) > 180;\n if (antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = inflection[1] * degrees;\n if (phii > phi1) phi1 = phii;\n } else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = -inflection[1] * degrees;\n if (phii < phi0) phi0 = phii;\n } else {\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n }\n if (antimeridian) {\n if (lambda < lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n } else {\n if (lambda1 >= lambda0) {\n if (lambda < lambda0) lambda0 = lambda;\n if (lambda > lambda1) lambda1 = lambda;\n } else {\n if (lambda > lambda2) {\n if (angle(lambda0, lambda) > angle(lambda0, lambda1)) lambda1 = lambda;\n } else {\n if (angle(lambda, lambda1) > angle(lambda0, lambda1)) lambda0 = lambda;\n }\n }\n }\n } else {\n ranges.push(range = [lambda0 = lambda, lambda1 = lambda]);\n }\n if (phi < phi0) phi0 = phi;\n if (phi > phi1) phi1 = phi;\n p0 = p, lambda2 = lambda;\n}\n\nfunction boundsLineStart() {\n boundsStream.point = linePoint;\n}\n\nfunction boundsLineEnd() {\n range[0] = lambda0, range[1] = lambda1;\n boundsStream.point = boundsPoint;\n p0 = null;\n}\n\nfunction boundsRingPoint(lambda, phi) {\n if (p0) {\n var delta = lambda - lambda2;\n deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n } else {\n lambda00 = lambda, phi00 = phi;\n }\n areaStream.point(lambda, phi);\n linePoint(lambda, phi);\n}\n\nfunction boundsRingStart() {\n areaStream.lineStart();\n}\n\nfunction boundsRingEnd() {\n boundsRingPoint(lambda00, phi00);\n areaStream.lineEnd();\n if (abs(deltaSum) > epsilon) lambda0 = -(lambda1 = 180);\n range[0] = lambda0, range[1] = lambda1;\n p0 = null;\n}\n\n// Finds the left-right distance between two longitudes.\n// This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n// the distance between ±180° to be 360°.\nfunction angle(lambda0, lambda1) {\n return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n}\n\nfunction rangeCompare(a, b) {\n return a[0] - b[0];\n}\n\nfunction rangeContains(range, x) {\n return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;\n}\n\nexport default function(feature) {\n var i, n, a, b, merged, deltaMax, delta;\n\n phi1 = lambda1 = -(lambda0 = phi0 = Infinity);\n ranges = [];\n stream(feature, boundsStream);\n\n // First, sort ranges by their minimum longitudes.\n if (n = ranges.length) {\n ranges.sort(rangeCompare);\n\n // Then, merge any ranges that overlap.\n for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n b = ranges[i];\n if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n if (angle(a[0], b[1]) > angle(a[0], a[1])) a[1] = b[1];\n if (angle(b[0], a[1]) > angle(a[0], a[1])) a[0] = b[0];\n } else {\n merged.push(a = b);\n }\n }\n\n // Finally, find the largest gap between the merged ranges.\n // The final bounding box will be the inverse of this gap.\n for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n b = merged[i];\n if ((delta = angle(a[1], b[0])) > deltaMax) deltaMax = delta, lambda0 = b[0], lambda1 = a[1];\n }\n }\n\n ranges = range = null;\n\n return lambda0 === Infinity || phi0 === Infinity\n ? [[NaN, NaN], [NaN, NaN]]\n : [[lambda0, phi0], [lambda1, phi1]];\n}\n"],"names":["adder"],"mappings":"+EAUeA,EAAA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function t(r,e,n){return e in n}module.exports=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const z=require("./index.cjs256.js"),n=require("./index.cjs246.js");function R(o,t){return[o>n.pi?o-n.tau:o<-n.pi?o+n.tau:o,t]}R.invert=R;function P(o,t,r){return(o%=n.tau)?t||r?z(q(o),x(t,r)):q(o):t||r?x(t,r):R}function k(o){return function(t,r){return t+=o,[t>n.pi?t-n.tau:t<-n.pi?t+n.tau:t,r]}}function q(o){var t=k(o);return t.invert=k(-o),t}function x(o,t){var r=n.cos(o),y=n.sin(o),p=n.cos(t),D=n.sin(t);function g(i,s){var u=n.cos(s),c=n.cos(i)*u,e=n.sin(i)*u,f=n.sin(s),v=f*r+c*y;return[n.atan2(e*p-v*D,c*r-f*y),n.asin(v*p+e*D)]}return g.invert=function(i,s){var u=n.cos(s),c=n.cos(i)*u,e=n.sin(i)*u,f=n.sin(s),v=f*p-e*D;return[n.atan2(e*p+f*D,c*r+v*y),n.asin(v*r-c*y)]},g}exports.rotateRadians=P;
2
2
  //# sourceMappingURL=index.cjs226.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs226.js","sources":["../node_modules/underscore/modules/_keyInObj.js"],"sourcesContent":["// Internal `_.pick` helper function to determine whether `key` is an enumerable\n// property name of `obj`.\nexport default function keyInObj(value, key, obj) {\n return key in obj;\n}\n"],"names":["keyInObj","value","key","obj"],"mappings":"aAEA,SAAwBA,EAASC,EAAOC,EAAKC,EAAK,CAChD,OAAOD,KAAOC,CAChB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs226.js","sources":["../../../node_modules/d3-geo/src/rotation.js"],"sourcesContent":["import compose from \"./compose\";\nimport {asin, atan2, cos, degrees, pi, radians, sin, tau} from \"./math\";\n\nfunction rotationIdentity(lambda, phi) {\n return [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n}\n\nrotationIdentity.invert = rotationIdentity;\n\nexport function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n : rotationLambda(deltaLambda))\n : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n : rotationIdentity);\n}\n\nfunction forwardRotationLambda(deltaLambda) {\n return function(lambda, phi) {\n return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n };\n}\n\nfunction rotationLambda(deltaLambda) {\n var rotation = forwardRotationLambda(deltaLambda);\n rotation.invert = forwardRotationLambda(-deltaLambda);\n return rotation;\n}\n\nfunction rotationPhiGamma(deltaPhi, deltaGamma) {\n var cosDeltaPhi = cos(deltaPhi),\n sinDeltaPhi = sin(deltaPhi),\n cosDeltaGamma = cos(deltaGamma),\n sinDeltaGamma = sin(deltaGamma);\n\n function rotation(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaPhi + x * sinDeltaPhi;\n return [\n atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n asin(k * cosDeltaGamma + y * sinDeltaGamma)\n ];\n }\n\n rotation.invert = function(lambda, phi) {\n var cosPhi = cos(phi),\n x = cos(lambda) * cosPhi,\n y = sin(lambda) * cosPhi,\n z = sin(phi),\n k = z * cosDeltaGamma - y * sinDeltaGamma;\n return [\n atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n asin(k * cosDeltaPhi - x * sinDeltaPhi)\n ];\n };\n\n return rotation;\n}\n\nexport default function(rotate) {\n rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n\n function forward(coordinates) {\n coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n }\n\n forward.invert = function(coordinates) {\n coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n };\n\n return forward;\n}\n"],"names":["rotationIdentity","lambda","phi","pi","tau","rotateRadians","deltaLambda","deltaPhi","deltaGamma","compose","rotationLambda","rotationPhiGamma","forwardRotationLambda","rotation","cosDeltaPhi","cos","sinDeltaPhi","sin","cosDeltaGamma","sinDeltaGamma","cosPhi","x","y","z","k","atan2","asin"],"mappings":"oJAGA,SAASA,EAAiBC,EAAQC,EAAK,CACrC,MAAO,CAACD,EAASE,KAAKF,EAASG,EAAAA,IAAMH,EAAS,CAACE,EAAAA,GAAKF,EAASG,MAAMH,EAAQC,CAAG,CAChF,CAEAF,EAAiB,OAASA,EAEnB,SAASK,EAAcC,EAAaC,EAAUC,EAAY,CAC/D,OAAQF,GAAeF,EAAAA,KAAQG,GAAYC,EAAaC,EAAQC,EAAeJ,CAAW,EAAGK,EAAiBJ,EAAUC,CAAU,CAAC,EAC/HE,EAAeJ,CAAW,EACzBC,GAAYC,EAAaG,EAAiBJ,EAAUC,CAAU,EAC/DR,CACN,CAEA,SAASY,EAAsBN,EAAa,CAC1C,OAAO,SAASL,EAAQC,EAAK,CAC3B,OAAOD,GAAUK,EAAa,CAACL,EAASE,EAAAA,GAAKF,EAASG,EAAAA,IAAMH,EAAS,CAACE,EAAAA,GAAKF,EAASG,EAAAA,IAAMH,EAAQC,CAAG,CACvG,CACF,CAEA,SAASQ,EAAeJ,EAAa,CACnC,IAAIO,EAAWD,EAAsBN,CAAW,EAChD,OAAAO,EAAS,OAASD,EAAsB,CAACN,CAAW,EAC7CO,CACT,CAEA,SAASF,EAAiBJ,EAAUC,EAAY,CAC9C,IAAIM,EAAcC,EAAAA,IAAIR,CAAQ,EAC1BS,EAAcC,EAAAA,IAAIV,CAAQ,EAC1BW,EAAgBH,EAAAA,IAAIP,CAAU,EAC9BW,EAAgBF,EAAAA,IAAIT,CAAU,EAElC,SAASK,EAASZ,EAAQC,EAAK,CAC7B,IAAIkB,EAASL,MAAIb,CAAG,EAChBmB,EAAIN,EAAAA,IAAId,CAAM,EAAImB,EAClBE,EAAIL,EAAAA,IAAIhB,CAAM,EAAImB,EAClBG,EAAIN,MAAIf,CAAG,EACXsB,EAAID,EAAIT,EAAcO,EAAIL,EAC9B,MAAO,CACLS,QAAMH,EAAIJ,EAAgBM,EAAIL,EAAeE,EAAIP,EAAcS,EAAIP,CAAW,EAC9EU,EAAAA,KAAKF,EAAIN,EAAgBI,EAAIH,CAAa,CAAA,CAE9C,CAEA,OAAAN,EAAS,OAAS,SAASZ,EAAQC,EAAK,CACtC,IAAIkB,EAASL,MAAIb,CAAG,EAChBmB,EAAIN,EAAAA,IAAId,CAAM,EAAImB,EAClBE,EAAIL,EAAAA,IAAIhB,CAAM,EAAImB,EAClBG,EAAIN,MAAIf,CAAG,EACXsB,EAAID,EAAIL,EAAgBI,EAAIH,EAChC,MAAO,CACLM,QAAMH,EAAIJ,EAAgBK,EAAIJ,EAAeE,EAAIP,EAAcU,EAAIR,CAAW,EAC9EU,EAAAA,KAAKF,EAAIV,EAAcO,EAAIL,CAAW,CAAA,CAE1C,EAEOH,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs40.js");function c(n,e){return n._chain?r(e).chain():e}module.exports=c;
1
+ "use strict";const e=require("./index.cjs265.js"),r=require("./index.cjs266.js");r(e);
2
2
  //# sourceMappingURL=index.cjs227.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs227.js","sources":["../node_modules/underscore/modules/_chainResult.js"],"sourcesContent":["import _ from './underscore.js';\n\n// Helper function to continue chaining intermediate results.\nexport default function chainResult(instance, obj) {\n return instance._chain ? _(obj).chain() : obj;\n}\n"],"names":["chainResult","instance","obj","_"],"mappings":"iDAGA,SAAwBA,EAAYC,EAAUC,EAAK,CACjD,OAAOD,EAAS,OAASE,EAAED,CAAG,EAAE,QAAUA,CAC5C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs227.js","sources":["../../../node_modules/d3-geo/node_modules/d3-array/src/bisect.js"],"sourcesContent":["import ascending from \"./ascending\";\nimport bisector from \"./bisector\";\n\nvar ascendingBisect = bisector(ascending);\nexport var bisectRight = ascendingBisect.right;\nexport var bisectLeft = ascendingBisect.left;\nexport default bisectRight;\n"],"names":["bisector","ascending"],"mappings":"iFAGsBA,EAASC,CAAS","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const d=require("./index.cjs241.js"),p=require("./index.cjs242.js"),i=require("./index.cjs233.js"),c={version:8,sources:{},layers:[]},u={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"},h={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"},m={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"},f=["minZoom","maxZoom","minPitch","maxPitch","maxBounds","projection","renderWorldCopies"],v=["scrollZoom","boxZoom","dragRotate","dragPan","keyboard","doubleClickZoom","touchZoomRotate","touchPitch"];class l{constructor(t,o,a){this._map=null,this._internalUpdate=!1,this._hoveredFeatures=null,this._propsedCameraUpdate=null,this._styleComponents={},this._onEvent=e=>{const s=this.props[m[e.type]];s?s(e):e.type==="error"&&console.error(e.error)},this._onCameraEvent=e=>{if(this._internalUpdate)return;e.viewState=this._propsedCameraUpdate||d.transformToViewState(this._map.transform);const s=this.props[h[e.type]];s&&s(e)},this._onCameraUpdate=e=>this._internalUpdate?e:(this._propsedCameraUpdate=d.transformToViewState(e),d.applyViewStateToTransform(e,this.props)),this._onPointerEvent=e=>{(e.type==="mousemove"||e.type==="mouseout")&&this._updateHover(e);const s=this.props[u[e.type]];s&&(this.props.interactiveLayerIds&&e.type!=="mouseover"&&e.type!=="mouseout"&&(e.features=this._hoveredFeatures||this._queryRenderedFeatures(e.point)),s(e),delete e.features)},this._MapClass=t,this.props=o,this._initialize(a)}get map(){return this._map}setProps(t){const o=this.props;this.props=t;const a=this._updateSettings(t,o),e=this._updateSize(t),s=this._updateViewState(t);this._updateStyle(t,o),this._updateStyleComponents(t),this._updateHandlers(t,o),(a||e||s&&!this._map.isMoving())&&this.redraw()}static reuse(t,o){const a=l.savedMaps.pop();if(!a)return null;const e=a.map,s=e.getContainer();for(o.className=s.className;s.childNodes.length>0;)o.appendChild(s.childNodes[0]);e._container=o;const n=e._resizeObserver;n&&(n.disconnect(),n.observe(o)),a.setProps({...t,styleDiffing:!1}),e.resize();const{initialViewState:r}=t;return r&&(r.bounds?e.fitBounds(r.bounds,{...r.fitBoundsOptions,duration:0}):a._updateViewState(r)),e.isStyleLoaded()?e.fire("load"):e.once("style.load",()=>e.fire("load")),e._update(),a}_initialize(t){const{props:o}=this,{mapStyle:a=c}=o,e={...o,...o.initialViewState,container:t,style:p.normalizeStyle(a)},s=e.initialViewState||e.viewState||e;if(Object.assign(e,{center:[s.longitude||0,s.latitude||0],zoom:s.zoom||0,pitch:s.pitch||0,bearing:s.bearing||0}),o.gl){const r=HTMLCanvasElement.prototype.getContext;HTMLCanvasElement.prototype.getContext=()=>(HTMLCanvasElement.prototype.getContext=r,o.gl)}const n=new this._MapClass(e);s.padding&&n.setPadding(s.padding),o.cursor&&(n.getCanvas().style.cursor=o.cursor),n.transformCameraUpdate=this._onCameraUpdate,n.on("style.load",()=>{this._styleComponents={light:n.getLight(),sky:n.getSky(),projection:n.getProjection?.(),terrain:n.getTerrain()},this._updateStyleComponents(this.props)}),n.on("sourcedata",()=>{this._updateStyleComponents(this.props)});for(const r in u)n.on(r,this._onPointerEvent);for(const r in h)n.on(r,this._onCameraEvent);for(const r in m)n.on(r,this._onEvent);this._map=n}recycle(){this.map.getContainer().querySelector("[mapboxgl-children]")?.remove(),l.savedMaps.push(this)}destroy(){this._map.remove()}redraw(){const t=this._map;t.style&&(t._frame&&(t._frame.cancel(),t._frame=null),t._render())}_updateSize(t){const{viewState:o}=t;if(o){const a=this._map;if(o.width!==a.transform.width||o.height!==a.transform.height)return a.resize(),!0}return!1}_updateViewState(t){const o=this._map,a=o.transform;if(!o.isMoving()){const s=d.applyViewStateToTransform(a,t);if(Object.keys(s).length>0)return this._internalUpdate=!0,o.jumpTo(s),this._internalUpdate=!1,!0}return!1}_updateSettings(t,o){const a=this._map;let e=!1;for(const s of f)s in t&&!i.deepEqual(t[s],o[s])&&(e=!0,a[`set${s[0].toUpperCase()}${s.slice(1)}`]?.call(a,t[s]));return e}_updateStyle(t,o){if(t.cursor!==o.cursor&&(this._map.getCanvas().style.cursor=t.cursor||""),t.mapStyle!==o.mapStyle){const{mapStyle:a=c,styleDiffing:e=!0}=t,s={diff:e};"localIdeographFontFamily"in t&&(s.localIdeographFontFamily=t.localIdeographFontFamily),this._map.setStyle(p.normalizeStyle(a),s)}}_updateStyleComponents({light:t,projection:o,sky:a,terrain:e}){const s=this._map,n=this._styleComponents;s.style._loaded&&(t&&!i.deepEqual(t,n.light)&&(n.light=t,s.setLight(t)),o&&!i.deepEqual(o,n.projection)&&o!==n.projection?.type&&(n.projection=typeof o=="string"?{type:o}:o,s.setProjection?.(n.projection)),a&&!i.deepEqual(a,n.sky)&&(n.sky=a,s.setSky(a)),e!==void 0&&!i.deepEqual(e,n.terrain)&&(!e||s.getSource(e.source))&&(n.terrain=e,s.setTerrain(e)))}_updateHandlers(t,o){const a=this._map;for(const e of v){const s=t[e]??!0,n=o[e]??!0;i.deepEqual(s,n)||(s?a[e].enable(s):a[e].disable())}}_queryRenderedFeatures(t){const o=this._map,{interactiveLayerIds:a=[]}=this.props;try{return o.queryRenderedFeatures(t,{layers:a.filter(o.getLayer.bind(o))})}catch{return[]}}_updateHover(t){const{props:o}=this;if(o.interactiveLayerIds&&(o.onMouseMove||o.onMouseEnter||o.onMouseLeave)){const e=t.type,s=this._hoveredFeatures?.length>0,n=this._queryRenderedFeatures(t.point),r=n.length>0;!r&&s&&(t.type="mouseleave",this._onPointerEvent(t)),this._hoveredFeatures=n,r&&!s&&(t.type="mouseenter",this._onPointerEvent(t)),t.type=e}else this._hoveredFeatures=null}}l.savedMaps=[];module.exports=l;
1
+ "use strict";const Q=require("./index.cjs243.js"),e=require("./index.cjs245.js"),r=require("./index.cjs246.js");var w=Q();function R(x,g){var a=g[0],i=g[1],O=[r.sin(a),-r.cos(a),0],v=0,y=0;w.reset();for(var f=0,P=x.length;f<P;++f)if(q=(t=x[f]).length)for(var t,q,n=t[q-1],C=n[0],B=n[1]/2+r.quarterPi,E=r.sin(B),F=r.cos(B),z=0;z<q;++z,C=I,E=H,F=J,n=c){var c=t[z],I=c[0],G=c[1]/2+r.quarterPi,H=r.sin(G),J=r.cos(G),s=I-C,N=s>=0?1:-1,l=N*s,o=l>r.pi,K=E*H;if(w.add(r.atan2(K*N*r.sin(l),F*J+K*r.cos(l))),v+=o?s+N*r.tau:s,o^C>=a^I>=a){var u=e.cartesianCross(e.cartesian(n),e.cartesian(c));e.cartesianNormalizeInPlace(u);var L=e.cartesianCross(O,u);e.cartesianNormalizeInPlace(L);var M=(o^s>=0?-1:1)*r.asin(L[2]);(i>M||i===M&&(u[0]||u[1]))&&(y+=o^s>=0?1:-1)}}return(v<-r.epsilon||v<r.epsilon&&w<-r.epsilon)^y&1}module.exports=R;
2
2
  //# sourceMappingURL=index.cjs228.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/maplibre/maplibre.js"],"sourcesContent":["import { transformToViewState, applyViewStateToTransform } from \"../utils/transform.js\";\nimport { normalizeStyle } from \"../utils/style-utils.js\";\nimport { deepEqual } from \"../utils/deep-equal.js\";\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 */\nclass Maplibre {\n constructor(MapClass, props, container) {\n // mapboxgl.Map instance\n this._map = null;\n // Internal states\n this._internalUpdate = false;\n this._hoveredFeatures = null;\n this._propsedCameraUpdate = null;\n this._styleComponents = {};\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._onCameraEvent = (e) => {\n if (this._internalUpdate) {\n return;\n }\n e.viewState = this._propsedCameraUpdate || transformToViewState(this._map.transform);\n // @ts-ignore\n const cb = this.props[cameraEvents[e.type]];\n if (cb) {\n cb(e);\n }\n };\n this._onCameraUpdate = (tr) => {\n if (this._internalUpdate) {\n return tr;\n }\n this._propsedCameraUpdate = transformToViewState(tr);\n return applyViewStateToTransform(tr, this.props);\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._MapClass = MapClass;\n this.props = props;\n this._initialize(container);\n }\n get map() {\n return this._map;\n }\n setProps(props) {\n const oldProps = this.props;\n this.props = props;\n const settingsChanged = this._updateSettings(props, oldProps);\n const sizeChanged = this._updateSize(props);\n const viewStateChanged = this._updateViewState(props);\n this._updateStyle(props, oldProps);\n this._updateStyleComponents(props);\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 = Maplibre.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);\n }\n }\n // Simulate load event\n if (map.isStyleLoaded()) {\n map.fire('load');\n }\n else {\n map.once('style.load', () => 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 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 // add listeners\n map.transformCameraUpdate = this._onCameraUpdate;\n map.on('style.load', () => {\n // Map style has changed, this would have wiped out all settings from props\n this._styleComponents = {\n light: map.getLight(),\n sky: map.getSky(),\n // @ts-ignore getProjection() does not exist in v4\n projection: map.getProjection?.(),\n terrain: map.getTerrain()\n };\n this._updateStyleComponents(this.props);\n });\n map.on('sourcedata', () => {\n // Some sources have loaded, we may need them to attach terrain\n this._updateStyleComponents(this.props);\n });\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?.remove();\n Maplibre.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 (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 /* 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) {\n const map = this._map;\n const tr = map.transform;\n const isMoving = map.isMoving();\n // Avoid manipulating the real transform when interaction/animation is ongoing\n // as it would interfere with Mapbox's handlers\n if (!isMoving) {\n const changes = applyViewStateToTransform(tr, nextProps);\n if (Object.keys(changes).length > 0) {\n this._internalUpdate = true;\n map.jumpTo(changes);\n this._internalUpdate = false;\n return true;\n }\n }\n return false;\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?.call(map, nextProps[propName]);\n }\n }\n return changed;\n }\n /* Update map style to match props */\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 }\n }\n /* Update fog, light, projection and terrain to match props\n * These props are special because\n * 1. They can not be applied right away. Certain conditions (style loaded, source loaded, etc.) must be met\n * 2. They can be overwritten by mapStyle\n */\n _updateStyleComponents({ light, projection, sky, terrain }) {\n const map = this._map;\n const currProps = this._styleComponents;\n // We can safely manipulate map style once it's loaded\n if (map.style._loaded) {\n if (light && !deepEqual(light, currProps.light)) {\n currProps.light = light;\n map.setLight(light);\n }\n if (projection &&\n !deepEqual(projection, currProps.projection) &&\n projection !== currProps.projection?.type) {\n currProps.projection = typeof projection === 'string' ? { type: projection } : projection;\n // @ts-ignore setProjection does not exist in v4\n map.setProjection?.(currProps.projection);\n }\n if (sky && !deepEqual(sky, currProps.sky)) {\n currProps.sky = sky;\n map.setSky(sky);\n }\n if (terrain !== undefined && !deepEqual(terrain, currProps.terrain)) {\n if (!terrain || map.getSource(terrain.source)) {\n currProps.terrain = terrain;\n map.setTerrain(terrain);\n }\n }\n }\n }\n /* Update interaction handlers to match props */\n _updateHandlers(nextProps, currProps) {\n const map = this._map;\n for (const propName of handlerNames) {\n const newValue = nextProps[propName] ?? true;\n const oldValue = currProps[propName] ?? true;\n if (!deepEqual(newValue, oldValue)) {\n if (newValue) {\n map[propName].enable(newValue);\n }\n else {\n map[propName].disable();\n }\n }\n }\n }\n _queryRenderedFeatures(point) {\n const map = this._map;\n const { interactiveLayerIds = [] } = this.props;\n try {\n return map.queryRenderedFeatures(point, {\n layers: interactiveLayerIds.filter(map.getLayer.bind(map))\n });\n }\n catch {\n // May fail if style is not loaded\n return [];\n }\n }\n _updateHover(e) {\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 = this._hoveredFeatures?.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}\nMaplibre.savedMaps = [];\nexport default Maplibre;\n//# sourceMappingURL=maplibre.js.map"],"names":["DEFAULT_STYLE","pointerEvents","cameraEvents","otherEvents","settingNames","handlerNames","Maplibre","MapClass","props","container","cb","transformToViewState","tr","applyViewStateToTransform","oldProps","settingsChanged","sizeChanged","viewStateChanged","that","map","oldContainer","resizeObserver","initialViewState","mapStyle","mapOptions","normalizeStyle","viewState","getContext","eventName","nextProps","changes","currProps","changed","propName","deepEqual","styleDiffing","options","light","projection","sky","terrain","newValue","oldValue","point","interactiveLayerIds","e","eventType","wasHovering","features","isHovering"],"mappings":"gHAGMA,EAAgB,CAAE,QAAS,EAAG,QAAS,CAAA,EAAI,OAAQ,EAAC,EACpDC,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,cACX,YAAa,eACjB,EACMC,EAAe,CACjB,UAAW,cACX,KAAM,SACN,QAAS,YACT,UAAW,cACX,KAAM,SACN,QAAS,YACT,UAAW,cACX,KAAM,SACN,QAAS,YACT,YAAa,gBACb,OAAQ,WACR,UAAW,cACX,WAAY,eACZ,MAAO,UACP,SAAU,YACd,EACMC,EAAc,CAChB,MAAO,UACP,aAAc,iBACd,WAAY,eACZ,cAAe,kBACf,OAAQ,WACR,KAAM,SACN,OAAQ,WACR,KAAM,SACN,OAAQ,WACR,KAAM,SACN,UAAW,cACX,WAAY,eACZ,MAAO,SACX,EACMC,EAAe,CACjB,UACA,UACA,WACA,WACA,YACA,aACA,mBACJ,EACMC,EAAe,CACjB,aACA,UACA,aACA,UACA,WACA,kBACA,kBACA,YACJ,EA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AwBA,EAAM,aAAeA,EAAM,cAAgBA,EAAM,cAClF,CAC5B,MAAMsC,EAAYD,EAAE,KACdE,EAAc,KAAK,kBAAkB,OAAS,EAC9CC,EAAW,KAAK,uBAAuBH,EAAE,KAAK,EAC9CI,EAAaD,EAAS,OAAS,EACjC,CAACC,GAAcF,IACfF,EAAE,KAAO,aACT,KAAK,gBAAgBA,CAAC,GAE1B,KAAK,iBAAmBG,EACpBC,GAAc,CAACF,IACfF,EAAE,KAAO,aACT,KAAK,gBAAgBA,CAAC,GAE1BA,EAAE,KAAOC,CACb,MAEI,KAAK,iBAAmB,IAEhC,CACJ,CACAxC,EAAS,UAAY,CAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/d3-geo/src/polygonContains.js"],"sourcesContent":["import adder from \"./adder\";\nimport {cartesian, cartesianCross, cartesianNormalizeInPlace} from \"./cartesian\";\nimport {asin, atan2, cos, epsilon, pi, quarterPi, sin, tau} from \"./math\";\n\nvar sum = adder();\n\nexport default function(polygon, point) {\n var lambda = point[0],\n phi = point[1],\n normal = [sin(lambda), -cos(lambda), 0],\n angle = 0,\n winding = 0;\n\n sum.reset();\n\n for (var i = 0, n = polygon.length; i < n; ++i) {\n if (!(m = (ring = polygon[i]).length)) continue;\n var ring,\n m,\n point0 = ring[m - 1],\n lambda0 = point0[0],\n phi0 = point0[1] / 2 + quarterPi,\n sinPhi0 = sin(phi0),\n cosPhi0 = cos(phi0);\n\n for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n var point1 = ring[j],\n lambda1 = point1[0],\n phi1 = point1[1] / 2 + quarterPi,\n sinPhi1 = sin(phi1),\n cosPhi1 = cos(phi1),\n delta = lambda1 - lambda0,\n sign = delta >= 0 ? 1 : -1,\n absDelta = sign * delta,\n antimeridian = absDelta > pi,\n k = sinPhi0 * sinPhi1;\n\n sum.add(atan2(k * sign * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));\n angle += antimeridian ? delta + sign * tau : delta;\n\n // Are the longitudes either side of the point’s meridian (lambda),\n // and are the latitudes smaller than the parallel (phi)?\n if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n var arc = cartesianCross(cartesian(point0), cartesian(point1));\n cartesianNormalizeInPlace(arc);\n var intersection = cartesianCross(normal, arc);\n cartesianNormalizeInPlace(intersection);\n var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n winding += antimeridian ^ delta >= 0 ? 1 : -1;\n }\n }\n }\n }\n\n // First, determine whether the South pole is inside or outside:\n //\n // It is inside if:\n // * the polygon winds around it in a clockwise direction.\n // * the polygon does not (cumulatively) wind around it, but has a negative\n // (counter-clockwise) area.\n //\n // Second, count the (signed) number of times a segment crosses a lambda\n // from the point to the South pole. If it is zero, then the point is the\n // same side as the South pole.\n\n return (angle < -epsilon || angle < epsilon && sum < -epsilon) ^ (winding & 1);\n}\n"],"names":["sum","adder","polygonContains","polygon","point","lambda","phi","normal","sin","cos","angle","winding","i","n","m","ring","point0","lambda0","phi0","quarterPi","sinPhi0","cosPhi0","j","lambda1","sinPhi1","cosPhi1","point1","phi1","delta","sign","absDelta","antimeridian","pi","k","atan2","tau","arc","cartesianCross","cartesian","cartesianNormalizeInPlace","intersection","phiArc","asin","epsilon"],"mappings":"gHAIA,IAAIA,EAAMC,EAAA,EAEV,SAAAC,EAAwBC,EAASC,EAAO,CACtC,IAAIC,EAASD,EAAM,CAAC,EAChBE,EAAMF,EAAM,CAAC,EACbG,EAAS,CAACC,EAAAA,IAAIH,CAAM,EAAG,CAACI,EAAAA,IAAIJ,CAAM,EAAG,CAAC,EACtCK,EAAQ,EACRC,EAAU,EAEdX,EAAI,MAAA,EAEJ,QAASY,EAAI,EAAGC,EAAIV,EAAQ,OAAQS,EAAIC,EAAG,EAAED,EAC3C,GAAME,GAAKC,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AAWoB,EAAeH,GAAS,EAAI,EAAI,GAE/C,CACF,CAcF,OAAQlB,EAAQ,CAACiC,EAAAA,SAAWjC,EAAQiC,EAAAA,SAAW3C,EAAM,CAAC2C,WAAYhC,EAAU,CAC9E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const s=["setMaxBounds","setMinZoom","setMaxZoom","setMinPitch","setMaxPitch","setRenderWorldCopies","setProjection","setStyle","addSource","removeSource","addLayer","removeLayer","setLayerZoomRange","setFilter","setPaintProperty","setLayoutProperty","setLight","setTerrain","setFog","remove"];function n(r){if(!r)return null;const o=r.map,t={getMap:()=>o};for(const e of i(o))!(e in t)&&!s.includes(e)&&(t[e]=o[e].bind(o));return t}function i(r){const o=new Set;let t=r;for(;t;){for(const e of Object.getOwnPropertyNames(t))e[0]!=="_"&&typeof r[e]=="function"&&e!=="fire"&&e!=="setEventedParent"&&o.add(e);t=Object.getPrototypeOf(t)}return Array.from(o)}module.exports=n;
1
+ "use strict";const e=require("./index.cjs243.js");e();
2
2
  //# sourceMappingURL=index.cjs229.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/maplibre/create-ref.js"],"sourcesContent":["/** These methods may break the react binding if called directly */\nconst skipMethods = [\n 'setMaxBounds',\n 'setMinZoom',\n 'setMaxZoom',\n 'setMinPitch',\n 'setMaxPitch',\n 'setRenderWorldCopies',\n 'setProjection',\n 'setStyle',\n 'addSource',\n 'removeSource',\n 'addLayer',\n 'removeLayer',\n 'setLayerZoomRange',\n 'setFilter',\n 'setPaintProperty',\n 'setLayoutProperty',\n 'setLight',\n 'setTerrain',\n 'setFog',\n 'remove'\n];\nexport default function createRef(mapInstance) {\n if (!mapInstance) {\n return null;\n }\n const map = mapInstance.map;\n const result = {\n getMap: () => map\n };\n for (const key of getMethodNames(map)) {\n // @ts-expect-error\n if (!(key in result) && !skipMethods.includes(key)) {\n result[key] = map[key].bind(map);\n }\n }\n return result;\n}\nfunction getMethodNames(obj) {\n const result = new Set();\n let proto = obj;\n while (proto) {\n for (const key of Object.getOwnPropertyNames(proto)) {\n if (key[0] !== '_' &&\n typeof obj[key] === 'function' &&\n key !== 'fire' &&\n key !== 'setEventedParent') {\n result.add(key);\n }\n }\n proto = Object.getPrototypeOf(proto);\n }\n return Array.from(result);\n}\n//# sourceMappingURL=create-ref.js.map"],"names":["skipMethods","createRef","mapInstance","map","result","key","getMethodNames","obj","proto"],"mappings":"aACA,MAAMA,EAAc,CAChB,eACA,aACA,aACA,cACA,cACA,uBACA,gBACA,WACA,YACA,eACA,WACA,cACA,oBACA,YACA,mBACA,oBACA,WACA,aACA,SACA,QACJ,EACA,SAAwBC,EAAUC,EAAa,CAC3C,GAAI,CAACA,EACD,OAAO,KAEX,MAAMC,EAAMD,EAAY,IAClBE,EAAS,CACX,OAAQ,IAAMD,CAAA,EAElB,UAAWE,KAAOC,EAAeH,CAAG,EAE5B,EAAEE,KAAOD,IAAW,CAACJ,EAAY,SAASK,CAAG,IAC7CD,EAAOC,CAAG,EAAIF,EAAIE,CAAG,EAAE,KAAKF,CAAG,GAGvC,OAAOC,CACX,CACA,SAASE,EAAeC,EAAK,CACzB,MAAMH,MAAa,IACnB,IAAII,EAAQD,EACZ,KAAOC,GAAO,CACV,UAAWH,KAAO,OAAO,oBAAoBG,CAAK,EAC1CH,EAAI,CAAC,IAAM,KACX,OAAOE,EAAIF,CAAG,GAAM,YACpBA,IAAQ,QACRA,IAAQ,oBACRD,EAAO,IAAIC,CAAG,EAGtBG,EAAQ,OAAO,eAAeA,CAAK,CACvC,CACA,OAAO,MAAM,KAAKJ,CAAM,CAC5B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/d3-geo/src/length.js"],"sourcesContent":["import adder from \"./adder\";\nimport {abs, atan2, cos, radians, sin, sqrt} from \"./math\";\nimport noop from \"./noop\";\nimport stream from \"./stream\";\n\nvar lengthSum = adder(),\n lambda0,\n sinPhi0,\n cosPhi0;\n\nvar lengthStream = {\n sphere: noop,\n point: noop,\n lineStart: lengthLineStart,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop\n};\n\nfunction lengthLineStart() {\n lengthStream.point = lengthPointFirst;\n lengthStream.lineEnd = lengthLineEnd;\n}\n\nfunction lengthLineEnd() {\n lengthStream.point = lengthStream.lineEnd = noop;\n}\n\nfunction lengthPointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n lambda0 = lambda, sinPhi0 = sin(phi), cosPhi0 = cos(phi);\n lengthStream.point = lengthPoint;\n}\n\nfunction lengthPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var sinPhi = sin(phi),\n cosPhi = cos(phi),\n delta = abs(lambda - lambda0),\n cosDelta = cos(delta),\n sinDelta = sin(delta),\n x = cosPhi * sinDelta,\n y = cosPhi0 * sinPhi - sinPhi0 * cosPhi * cosDelta,\n z = sinPhi0 * sinPhi + cosPhi0 * cosPhi * cosDelta;\n lengthSum.add(atan2(sqrt(x * x + y * y), z));\n lambda0 = lambda, sinPhi0 = sinPhi, cosPhi0 = cosPhi;\n}\n\nexport default function(object) {\n lengthSum.reset();\n stream(object, lengthStream);\n return +lengthSum;\n}\n"],"names":["adder"],"mappings":"kDAKgBA,EAAA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("react"),r=require("./index.cjs232.js"),l=require("./index.cjs25.js");function c(e){const n=l.useControl(({mapLib:o})=>new o.TerrainControl(e),{position:e.position});return t.useEffect(()=>{r.applyReactStyle(n._container,e.style)},[e.style]),null}t.memo(c);
1
+ "use strict";const t=require("react"),r=require("./index.cjs190.js"),l=require("./index.cjs25.js");function c(e){const n=l.useControl(({mapLib:o})=>new o.TerrainControl(e),{position:e.position});return t.useEffect(()=>{r.applyReactStyle(n._container,e.style)},[e.style]),null}t.memo(c);
2
2
  //# sourceMappingURL=index.cjs23.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("react"),t=typeof document<"u"?e.useLayoutEffect:e.useEffect;module.exports=t;
1
+ "use strict";const e=require("./index.cjs243.js");e();e();
2
2
  //# sourceMappingURL=index.cjs230.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs230.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/use-isomorphic-layout-effect.js"],"sourcesContent":["// From https://github.com/streamich/react-use/blob/master/src/useIsomorphicLayoutEffect.ts\n// useLayoutEffect but does not trigger warning in server-side rendering\nimport { useEffect, useLayoutEffect } from 'react';\nconst useIsomorphicLayoutEffect = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\nexport default useIsomorphicLayoutEffect;\n//# sourceMappingURL=use-isomorphic-layout-effect.js.map"],"names":["useIsomorphicLayoutEffect","useLayoutEffect","useEffect"],"mappings":"sCAGMA,EAA4B,OAAO,SAAa,IAAcC,kBAAkBC,EAAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs230.js","sources":["../../../node_modules/d3-geo/src/path/area.js"],"sourcesContent":["import adder from \"../adder\";\nimport {abs} from \"../math\";\nimport noop from \"../noop\";\n\nvar areaSum = adder(),\n areaRingSum = adder(),\n x00,\n y00,\n x0,\n y0;\n\nvar areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function() {\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function() {\n areaStream.lineStart = areaStream.lineEnd = areaStream.point = noop;\n areaSum.add(abs(areaRingSum));\n areaRingSum.reset();\n },\n result: function() {\n var area = areaSum / 2;\n areaSum.reset();\n return area;\n }\n};\n\nfunction areaRingStart() {\n areaStream.point = areaPointFirst;\n}\n\nfunction areaPointFirst(x, y) {\n areaStream.point = areaPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction areaPoint(x, y) {\n areaRingSum.add(y0 * x - x0 * y);\n x0 = x, y0 = y;\n}\n\nfunction areaRingEnd() {\n areaPoint(x00, y00);\n}\n\nexport default areaStream;\n"],"names":["adder"],"mappings":"kDAIcA,IACIA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function g(e,u){const{RTLTextPlugin:t,maxParallelImageRequests:l,workerCount:s,workerUrl:r}=u;if(t&&e.getRTLTextPluginStatus&&e.getRTLTextPluginStatus()==="unavailable"){const{pluginUrl:n,lazy:i=!0}=typeof t=="string"?{pluginUrl:t}:t;e.setRTLTextPlugin(n,o=>{o&&console.error(o)},i)}l!==void 0&&e.setMaxParallelImageRequests(l),s!==void 0&&e.setWorkerCount(s),r!==void 0&&e.setWorkerUrl(r)}module.exports=g;
1
+ "use strict";const e=require("./index.cjs243.js");e();
2
2
  //# sourceMappingURL=index.cjs231.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs231.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/set-globals.js"],"sourcesContent":["export default function setGlobals(mapLib, props) {\n const { RTLTextPlugin, maxParallelImageRequests, workerCount, workerUrl } = props;\n if (RTLTextPlugin &&\n mapLib.getRTLTextPluginStatus &&\n mapLib.getRTLTextPluginStatus() === 'unavailable') {\n const { pluginUrl, lazy = true } = typeof RTLTextPlugin === 'string' ? { pluginUrl: RTLTextPlugin } : RTLTextPlugin;\n mapLib.setRTLTextPlugin(pluginUrl, (error) => {\n if (error) {\n // eslint-disable-next-line\n console.error(error);\n }\n }, lazy);\n }\n if (maxParallelImageRequests !== undefined) {\n mapLib.setMaxParallelImageRequests(maxParallelImageRequests);\n }\n if (workerCount !== undefined) {\n mapLib.setWorkerCount(workerCount);\n }\n if (workerUrl !== undefined) {\n mapLib.setWorkerUrl(workerUrl);\n }\n}\n//# sourceMappingURL=set-globals.js.map"],"names":["setGlobals","mapLib","props","RTLTextPlugin","maxParallelImageRequests","workerCount","workerUrl","pluginUrl","lazy","error"],"mappings":"aAAA,SAAwBA,EAAWC,EAAQC,EAAO,CAC9C,KAAM,CAAE,cAAAC,EAAe,yBAAAC,EAA0B,YAAAC,EAAa,UAAAC,GAAcJ,EAC5E,GAAIC,GACAF,EAAO,wBACPA,EAAO,uBAAA,IAA6B,cAAe,CACnD,KAAM,CAAE,UAAAM,EAAW,KAAAC,EAAO,IAAS,OAAOL,GAAkB,SAAW,CAAE,UAAWA,CAAA,EAAkBA,EACtGF,EAAO,iBAAiBM,EAAYE,GAAU,CACtCA,GAEA,QAAQ,MAAMA,CAAK,CAE3B,EAAGD,CAAI,CACX,CACIJ,IAA6B,QAC7BH,EAAO,4BAA4BG,CAAwB,EAE3DC,IAAgB,QAChBJ,EAAO,eAAeI,CAAW,EAEjCC,IAAc,QACdL,EAAO,aAAaK,CAAS,CAErC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs231.js","sources":["../../../node_modules/d3-geo/src/path/measure.js"],"sourcesContent":["import adder from \"../adder\";\nimport {sqrt} from \"../math\";\nimport noop from \"../noop\";\n\nvar lengthSum = adder(),\n lengthRing,\n x00,\n y00,\n x0,\n y0;\n\nvar lengthStream = {\n point: noop,\n lineStart: function() {\n lengthStream.point = lengthPointFirst;\n },\n lineEnd: function() {\n if (lengthRing) lengthPoint(x00, y00);\n lengthStream.point = noop;\n },\n polygonStart: function() {\n lengthRing = true;\n },\n polygonEnd: function() {\n lengthRing = null;\n },\n result: function() {\n var length = +lengthSum;\n lengthSum.reset();\n return length;\n }\n};\n\nfunction lengthPointFirst(x, y) {\n lengthStream.point = lengthPoint;\n x00 = x0 = x, y00 = y0 = y;\n}\n\nfunction lengthPoint(x, y) {\n x0 -= x, y0 -= y;\n lengthSum.add(sqrt(x0 * x0 + y0 * y0));\n x0 = x, y0 = y;\n}\n\nexport default lengthStream;\n"],"names":["adder"],"mappings":"kDAIgBA,EAAA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=/box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;function r(n,t){if(!n||!t)return;const o=n.style;for(const e in t){const i=t[e];Number.isFinite(i)&&!l.test(e)?o[e]=`${i}px`:o[e]=i}}exports.applyReactStyle=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(t){return function(n){var r=new o;for(var e in t)r[e]=t[e];return r.stream=n,r}}function o(){}o.prototype={constructor:o,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};exports.transformer=i;
2
2
  //# sourceMappingURL=index.cjs232.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs232.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/apply-react-style.js"],"sourcesContent":["// This is a simplified version of\n// https://github.com/facebook/react/blob/4131af3e4bf52f3a003537ec95a1655147c81270/src/renderers/dom/shared/CSSPropertyOperations.js#L62\nconst unitlessNumber = /box|flex|grid|column|lineHeight|fontWeight|opacity|order|tabSize|zIndex/;\nexport function applyReactStyle(element, styles) {\n if (!element || !styles) {\n return;\n }\n const style = element.style;\n for (const key in styles) {\n const value = styles[key];\n if (Number.isFinite(value) && !unitlessNumber.test(key)) {\n style[key] = `${value}px`;\n }\n else {\n style[key] = value;\n }\n }\n}\n//# sourceMappingURL=apply-react-style.js.map"],"names":["unitlessNumber","applyReactStyle","element","styles","style","key","value"],"mappings":"gFAEA,MAAMA,EAAiB,0EAChB,SAASC,EAAgBC,EAASC,EAAQ,CAC7C,GAAI,CAACD,GAAW,CAACC,EACb,OAEJ,MAAMC,EAAQF,EAAQ,MACtB,UAAWG,KAAOF,EAAQ,CACtB,MAAMG,EAAQH,EAAOE,CAAG,EACpB,OAAO,SAASC,CAAK,GAAK,CAACN,EAAe,KAAKK,CAAG,EAClDD,EAAMC,CAAG,EAAI,GAAGC,CAAK,KAGrBF,EAAMC,CAAG,EAAIC,CAErB,CACJ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs232.js","sources":["../../../node_modules/d3-geo/src/transform.js"],"sourcesContent":["export default function(methods) {\n return {\n stream: transformer(methods)\n };\n}\n\nexport function transformer(methods) {\n return function(stream) {\n var s = new TransformStream;\n for (var key in methods) s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n}\n\nfunction TransformStream() {}\n\nTransformStream.prototype = {\n constructor: TransformStream,\n point: function(x, y) { this.stream.point(x, y); },\n sphere: function() { this.stream.sphere(); },\n lineStart: function() { this.stream.lineStart(); },\n lineEnd: function() { this.stream.lineEnd(); },\n polygonStart: function() { this.stream.polygonStart(); },\n polygonEnd: function() { this.stream.polygonEnd(); }\n};\n"],"names":["transformer","methods","stream","s","TransformStream","key","x","y"],"mappings":"gFAMO,SAASA,EAAYC,EAAS,CACnC,OAAO,SAASC,EAAQ,CACtB,IAAIC,EAAI,IAAIC,EACZ,QAASC,KAAOJ,EAASE,EAAEE,CAAG,EAAIJ,EAAQI,CAAG,EAC7C,OAAAF,EAAE,OAASD,EACJC,CACT,CACF,CAEA,SAASC,GAAkB,CAAC,CAE5BA,EAAgB,UAAY,CAC1B,YAAaA,EACb,MAAO,SAASE,EAAGC,EAAG,CAAE,KAAK,OAAO,MAAMD,EAAGC,CAAC,CAAG,EACjD,OAAQ,UAAW,CAAE,KAAK,OAAO,OAAA,CAAU,EAC3C,UAAW,UAAW,CAAE,KAAK,OAAO,UAAA,CAAa,EACjD,QAAS,UAAW,CAAE,KAAK,OAAO,QAAA,CAAW,EAC7C,aAAc,UAAW,CAAE,KAAK,OAAO,aAAA,CAAgB,EACvD,WAAY,UAAW,CAAE,KAAK,OAAO,WAAA,CAAc,CACrD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(e,r){const t=Array.isArray(e)?e[0]:e?e.x:0,s=Array.isArray(e)?e[1]:e?e.y:0,n=Array.isArray(r)?r[0]:r?r.x:0,f=Array.isArray(r)?r[1]:r?r.y:0;return t===n&&s===f}function y(e,r){if(e===r)return!0;if(!e||!r)return!1;if(Array.isArray(e)){if(!Array.isArray(r)||e.length!==r.length)return!1;for(let t=0;t<e.length;t++)if(!y(e[t],r[t]))return!1;return!0}else if(Array.isArray(r))return!1;if(typeof e=="object"&&typeof r=="object"){const t=Object.keys(e),s=Object.keys(r);if(t.length!==s.length)return!1;for(const n of t)if(!r.hasOwnProperty(n)||!y(e[n],r[n]))return!1;return!0}return!1}exports.arePointsEqual=i;exports.deepEqual=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs246.js"),a=require("./index.cjs252.js");require("./index.cjs228.js");require("./index.cjs227.js");require("./index.cjs226.js");require("./index.cjs232.js");var t=a.azimuthalRaw(function(r){return e.sqrt(2/(1+r))});t.invert=a.azimuthalInvert(function(r){return 2*e.asin(r/2)});exports.azimuthalEqualAreaRaw=t;
2
2
  //# sourceMappingURL=index.cjs233.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs233.js","sources":["../../../node_modules/@vis.gl/react-maplibre/dist/utils/deep-equal.js"],"sourcesContent":["/**\n * Compare two points\n * @param a\n * @param b\n * @returns true if the points are equal\n */\nexport function arePointsEqual(a, b) {\n const ax = Array.isArray(a) ? a[0] : a ? a.x : 0;\n const ay = Array.isArray(a) ? a[1] : a ? a.y : 0;\n const bx = Array.isArray(b) ? b[0] : b ? b.x : 0;\n const by = Array.isArray(b) ? b[1] : b ? b.y : 0;\n return ax === bx && ay === by;\n}\n/* eslint-disable complexity */\n/**\n * Compare any two objects\n * @param a\n * @param b\n * @returns true if the objects are deep equal\n */\nexport function deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (!a || !b) {\n return false;\n }\n if (Array.isArray(a)) {\n if (!Array.isArray(b) || a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n else if (Array.isArray(b)) {\n return false;\n }\n if (typeof a === 'object' && typeof b === 'object') {\n const aKeys = Object.keys(a);\n const bKeys = Object.keys(b);\n if (aKeys.length !== bKeys.length) {\n return false;\n }\n for (const key of aKeys) {\n if (!b.hasOwnProperty(key)) {\n return false;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return false;\n}\n//# sourceMappingURL=deep-equal.js.map"],"names":["arePointsEqual","a","b","ax","ay","bx","by","deepEqual","i","aKeys","bKeys","key"],"mappings":"gFAMO,SAASA,EAAeC,EAAGC,EAAG,CACjC,MAAMC,EAAK,MAAM,QAAQF,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCG,EAAK,MAAM,QAAQH,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCI,EAAK,MAAM,QAAQH,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EACzCI,EAAK,MAAM,QAAQJ,CAAC,EAAIA,EAAE,CAAC,EAAIA,EAAIA,EAAE,EAAI,EAC/C,OAAOC,IAAOE,GAAMD,IAAOE,CAC/B,CAQO,SAASC,EAAUN,EAAGC,EAAG,CAC5B,GAAID,IAAMC,EACN,MAAO,GAEX,GAAI,CAACD,GAAK,CAACC,EACP,MAAO,GAEX,GAAI,MAAM,QAAQD,CAAC,EAAG,CAClB,GAAI,CAAC,MAAM,QAAQC,CAAC,GAAKD,EAAE,SAAWC,EAAE,OACpC,MAAO,GAEX,QAASM,EAAI,EAAGA,EAAIP,EAAE,OAAQO,IAC1B,GAAI,CAACD,EAAUN,EAAEO,CAAC,EAAGN,EAAEM,CAAC,CAAC,EACrB,MAAO,GAGf,MAAO,EACX,SACS,MAAM,QAAQN,CAAC,EACpB,MAAO,GAEX,GAAI,OAAOD,GAAM,UAAY,OAAOC,GAAM,SAAU,CAChD,MAAMO,EAAQ,OAAO,KAAKR,CAAC,EACrBS,EAAQ,OAAO,KAAKR,CAAC,EAC3B,GAAIO,EAAM,SAAWC,EAAM,OACvB,MAAO,GAEX,UAAWC,KAAOF,EAId,GAHI,CAACP,EAAE,eAAeS,CAAG,GAGrB,CAACJ,EAAUN,EAAEU,CAAG,EAAGT,EAAES,CAAG,CAAC,EACzB,MAAO,GAGf,MAAO,EACX,CACA,MAAO,EACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs233.js","sources":["../../../node_modules/d3-geo/src/projection/azimuthalEqualArea.js"],"sourcesContent":["import {asin, sqrt} from \"../math\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal\";\nimport projection from \"./index\";\n\nexport var azimuthalEqualAreaRaw = azimuthalRaw(function(cxcy) {\n return sqrt(2 / (1 + cxcy));\n});\n\nazimuthalEqualAreaRaw.invert = azimuthalInvert(function(z) {\n return 2 * asin(z / 2);\n});\n\nexport default function() {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n}\n"],"names":["azimuthalEqualAreaRaw","azimuthalRaw","cxcy","sqrt","azimuthalInvert","z","asin"],"mappings":"wQAIO,IAAIA,EAAwBC,EAAAA,aAAa,SAASC,EAAM,CAC7D,OAAOC,OAAK,GAAK,EAAID,EAAK,CAC5B,CAAC,EAEDF,EAAsB,OAASI,kBAAgB,SAASC,EAAG,CACzD,MAAO,GAAIC,EAAAA,KAAKD,EAAI,CAAC,CACvB,CAAC","x_google_ignoreList":[0]}