@performant-software/geospatial 3.1.25-beta.1 → 3.1.25

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 (2038) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs101.js +1 -1
  3. package/dist/index.cjs102.js +1 -1
  4. package/dist/index.cjs103.js +1 -1
  5. package/dist/index.cjs104.js +1 -1
  6. package/dist/index.cjs105.js +1 -1
  7. package/dist/index.cjs106.js +1 -1
  8. package/dist/index.cjs107.js +1 -1
  9. package/dist/index.cjs108.js +1 -1
  10. package/dist/index.cjs111.js +1 -1
  11. package/dist/index.cjs112.js +1 -1
  12. package/dist/index.cjs114.js +1 -1
  13. package/dist/index.cjs115.js +1 -1
  14. package/dist/index.cjs116.js +1 -1
  15. package/dist/index.cjs117.js +1 -1
  16. package/dist/index.cjs12.js +1 -1
  17. package/dist/index.cjs12.js.map +1 -1
  18. package/dist/index.cjs122.js +1 -1
  19. package/dist/index.cjs123.js +1 -1
  20. package/dist/index.cjs124.js +1 -1
  21. package/dist/index.cjs125.js +1 -1
  22. package/dist/index.cjs128.js +1 -1
  23. package/dist/index.cjs129.js +1 -1
  24. package/dist/index.cjs13.js +1 -1
  25. package/dist/index.cjs13.js.map +1 -1
  26. package/dist/index.cjs130.js +1 -1
  27. package/dist/index.cjs134.js +1 -1
  28. package/dist/index.cjs137.js +1 -1
  29. package/dist/index.cjs141.js +1 -1
  30. package/dist/index.cjs144.js +1 -1
  31. package/dist/index.cjs15.js +1 -1
  32. package/dist/index.cjs152.js +1 -1
  33. package/dist/index.cjs153.js +1 -1
  34. package/dist/index.cjs154.js +1 -1
  35. package/dist/index.cjs155.js +1 -1
  36. package/dist/index.cjs156.js +1 -1
  37. package/dist/index.cjs157.js +1 -1
  38. package/dist/index.cjs158.js +1 -1
  39. package/dist/index.cjs16.js +1 -1
  40. package/dist/index.cjs160.js +1 -1
  41. package/dist/index.cjs161.js +1 -1
  42. package/dist/index.cjs162.js +1 -1
  43. package/dist/index.cjs163.js +1 -1
  44. package/dist/index.cjs164.js +1 -1
  45. package/dist/index.cjs165.js +1 -1
  46. package/dist/index.cjs166.js +1 -1
  47. package/dist/index.cjs167.js +1 -1
  48. package/dist/index.cjs168.js +1 -1
  49. package/dist/index.cjs17.js +1 -1
  50. package/dist/index.cjs171.js +1 -1
  51. package/dist/index.cjs172.js +1 -1
  52. package/dist/index.cjs174.js +1 -1
  53. package/dist/index.cjs175.js +1 -1
  54. package/dist/index.cjs176.js +1 -1
  55. package/dist/index.cjs177.js +1 -1
  56. package/dist/index.cjs178.js +1 -1
  57. package/dist/index.cjs179.js +1 -1
  58. package/dist/index.cjs18.js +1 -1
  59. package/dist/index.cjs180.js +1 -1
  60. package/dist/index.cjs181.js +1 -1
  61. package/dist/index.cjs187.js +1 -1
  62. package/dist/index.cjs188.js +1 -1
  63. package/dist/index.cjs189.js +1 -1
  64. package/dist/index.cjs19.js +1 -1
  65. package/dist/index.cjs190.js +1 -1
  66. package/dist/index.cjs191.js +1 -1
  67. package/dist/index.cjs194.js +1 -1
  68. package/dist/index.cjs194.js.map +1 -1
  69. package/dist/index.cjs195.js +1 -1
  70. package/dist/index.cjs195.js.map +1 -1
  71. package/dist/index.cjs196.js +1 -1
  72. package/dist/index.cjs196.js.map +1 -1
  73. package/dist/index.cjs197.js +1 -1
  74. package/dist/index.cjs197.js.map +1 -1
  75. package/dist/index.cjs198.js +1 -1
  76. package/dist/index.cjs198.js.map +1 -1
  77. package/dist/index.cjs199.js +1 -1
  78. package/dist/index.cjs199.js.map +1 -1
  79. package/dist/index.cjs20.js +1 -1
  80. package/dist/index.cjs200.js +1 -1
  81. package/dist/index.cjs200.js.map +1 -1
  82. package/dist/index.cjs201.js +1 -1
  83. package/dist/index.cjs201.js.map +1 -1
  84. package/dist/index.cjs202.js +1 -1
  85. package/dist/index.cjs202.js.map +1 -1
  86. package/dist/index.cjs203.js +1 -1
  87. package/dist/index.cjs203.js.map +1 -1
  88. package/dist/index.cjs204.js +1 -1
  89. package/dist/index.cjs204.js.map +1 -1
  90. package/dist/index.cjs205.js +1 -1
  91. package/dist/index.cjs205.js.map +1 -1
  92. package/dist/index.cjs206.js +1 -1
  93. package/dist/index.cjs206.js.map +1 -1
  94. package/dist/index.cjs207.js +1 -1
  95. package/dist/index.cjs207.js.map +1 -1
  96. package/dist/index.cjs208.js +1 -1
  97. package/dist/index.cjs208.js.map +1 -1
  98. package/dist/index.cjs209.js +1 -1
  99. package/dist/index.cjs209.js.map +1 -1
  100. package/dist/index.cjs21.js +1 -1
  101. package/dist/index.cjs210.js +1 -1
  102. package/dist/index.cjs210.js.map +1 -1
  103. package/dist/index.cjs211.js +1 -1
  104. package/dist/index.cjs211.js.map +1 -1
  105. package/dist/index.cjs212.js +1 -1
  106. package/dist/index.cjs212.js.map +1 -1
  107. package/dist/index.cjs213.js +1 -1
  108. package/dist/index.cjs213.js.map +1 -1
  109. package/dist/index.cjs214.js +1 -1
  110. package/dist/index.cjs214.js.map +1 -1
  111. package/dist/index.cjs215.js +1 -1
  112. package/dist/index.cjs215.js.map +1 -1
  113. package/dist/index.cjs216.js +1 -1
  114. package/dist/index.cjs216.js.map +1 -1
  115. package/dist/index.cjs217.js +1 -1
  116. package/dist/index.cjs217.js.map +1 -1
  117. package/dist/index.cjs218.js +1 -1
  118. package/dist/index.cjs218.js.map +1 -1
  119. package/dist/index.cjs219.js +1 -1
  120. package/dist/index.cjs219.js.map +1 -1
  121. package/dist/index.cjs22.js +1 -1
  122. package/dist/index.cjs220.js +1 -1
  123. package/dist/index.cjs220.js.map +1 -1
  124. package/dist/index.cjs221.js +1 -1
  125. package/dist/index.cjs221.js.map +1 -1
  126. package/dist/index.cjs222.js +1 -1
  127. package/dist/index.cjs222.js.map +1 -1
  128. package/dist/index.cjs223.js +1 -1
  129. package/dist/index.cjs223.js.map +1 -1
  130. package/dist/index.cjs224.js +1 -1
  131. package/dist/index.cjs224.js.map +1 -1
  132. package/dist/index.cjs225.js +1 -1
  133. package/dist/index.cjs225.js.map +1 -1
  134. package/dist/index.cjs226.js +1 -1
  135. package/dist/index.cjs226.js.map +1 -1
  136. package/dist/index.cjs227.js +1 -1
  137. package/dist/index.cjs227.js.map +1 -1
  138. package/dist/index.cjs228.js +1 -1
  139. package/dist/index.cjs228.js.map +1 -1
  140. package/dist/index.cjs229.js +1 -1
  141. package/dist/index.cjs229.js.map +1 -1
  142. package/dist/index.cjs23.js +1 -1
  143. package/dist/index.cjs230.js +1 -1
  144. package/dist/index.cjs230.js.map +1 -1
  145. package/dist/index.cjs231.js +1 -1
  146. package/dist/index.cjs231.js.map +1 -1
  147. package/dist/index.cjs232.js +1 -1
  148. package/dist/index.cjs232.js.map +1 -1
  149. package/dist/index.cjs233.js +1 -1
  150. package/dist/index.cjs233.js.map +1 -1
  151. package/dist/index.cjs234.js +1 -1
  152. package/dist/index.cjs234.js.map +1 -1
  153. package/dist/index.cjs235.js +1 -1
  154. package/dist/index.cjs235.js.map +1 -1
  155. package/dist/index.cjs236.js +1 -1
  156. package/dist/index.cjs236.js.map +1 -1
  157. package/dist/index.cjs237.js +1 -1
  158. package/dist/index.cjs237.js.map +1 -1
  159. package/dist/index.cjs238.js +1 -1
  160. package/dist/index.cjs238.js.map +1 -1
  161. package/dist/index.cjs239.js +1 -1
  162. package/dist/index.cjs239.js.map +1 -1
  163. package/dist/index.cjs24.js +1 -1
  164. package/dist/index.cjs240.js +1 -1
  165. package/dist/index.cjs240.js.map +1 -1
  166. package/dist/index.cjs241.js +1 -1
  167. package/dist/index.cjs241.js.map +1 -1
  168. package/dist/index.cjs242.js +1 -1
  169. package/dist/index.cjs242.js.map +1 -1
  170. package/dist/index.cjs243.js +1 -1
  171. package/dist/index.cjs243.js.map +1 -1
  172. package/dist/index.cjs244.js +1 -1
  173. package/dist/index.cjs244.js.map +1 -1
  174. package/dist/index.cjs245.js +1 -7
  175. package/dist/index.cjs245.js.map +1 -1
  176. package/dist/index.cjs246.js +1 -1
  177. package/dist/index.cjs246.js.map +1 -1
  178. package/dist/index.cjs247.js +1 -1
  179. package/dist/index.cjs247.js.map +1 -1
  180. package/dist/index.cjs248.js +1 -1
  181. package/dist/index.cjs248.js.map +1 -1
  182. package/dist/index.cjs249.js +1 -1
  183. package/dist/index.cjs249.js.map +1 -1
  184. package/dist/index.cjs25.js +1 -1
  185. package/dist/index.cjs250.js +1 -1
  186. package/dist/index.cjs250.js.map +1 -1
  187. package/dist/index.cjs251.js +1 -1
  188. package/dist/index.cjs251.js.map +1 -1
  189. package/dist/index.cjs252.js +1 -1
  190. package/dist/index.cjs252.js.map +1 -1
  191. package/dist/index.cjs253.js +1 -1
  192. package/dist/index.cjs253.js.map +1 -1
  193. package/dist/index.cjs254.js +1 -1
  194. package/dist/index.cjs254.js.map +1 -1
  195. package/dist/index.cjs255.js +1 -1
  196. package/dist/index.cjs255.js.map +1 -1
  197. package/dist/index.cjs256.js +1 -1
  198. package/dist/index.cjs256.js.map +1 -1
  199. package/dist/index.cjs257.js +1 -1
  200. package/dist/index.cjs257.js.map +1 -1
  201. package/dist/index.cjs258.js +1 -1
  202. package/dist/index.cjs258.js.map +1 -1
  203. package/dist/index.cjs259.js +1 -1
  204. package/dist/index.cjs259.js.map +1 -1
  205. package/dist/index.cjs26.js +1 -1
  206. package/dist/index.cjs260.js +1 -1
  207. package/dist/index.cjs260.js.map +1 -1
  208. package/dist/index.cjs261.js +1 -1
  209. package/dist/index.cjs261.js.map +1 -1
  210. package/dist/index.cjs262.js +1 -1
  211. package/dist/index.cjs262.js.map +1 -1
  212. package/dist/index.cjs263.js +1 -1
  213. package/dist/index.cjs263.js.map +1 -1
  214. package/dist/index.cjs264.js +1 -1
  215. package/dist/index.cjs264.js.map +1 -1
  216. package/dist/index.cjs265.js +1 -1
  217. package/dist/index.cjs265.js.map +1 -1
  218. package/dist/index.cjs266.js +1 -1
  219. package/dist/index.cjs266.js.map +1 -1
  220. package/dist/index.cjs267.js +1 -1
  221. package/dist/index.cjs267.js.map +1 -1
  222. package/dist/index.cjs268.js +1 -1
  223. package/dist/index.cjs268.js.map +1 -1
  224. package/dist/index.cjs269.js +1 -1
  225. package/dist/index.cjs269.js.map +1 -1
  226. package/dist/index.cjs27.js +1 -1
  227. package/dist/index.cjs270.js +1 -1
  228. package/dist/index.cjs270.js.map +1 -1
  229. package/dist/index.cjs271.js +1 -1
  230. package/dist/index.cjs271.js.map +1 -1
  231. package/dist/index.cjs272.js +1 -1
  232. package/dist/index.cjs272.js.map +1 -1
  233. package/dist/index.cjs273.js +1 -1
  234. package/dist/index.cjs273.js.map +1 -1
  235. package/dist/index.cjs274.js +1 -1
  236. package/dist/index.cjs274.js.map +1 -1
  237. package/dist/index.cjs275.js +1 -1
  238. package/dist/index.cjs275.js.map +1 -1
  239. package/dist/index.cjs276.js +8 -0
  240. package/dist/index.cjs276.js.map +1 -0
  241. package/dist/index.cjs277.js +2 -0
  242. package/dist/index.cjs277.js.map +1 -0
  243. package/dist/index.cjs278.js +2 -0
  244. package/dist/index.cjs278.js.map +1 -0
  245. package/dist/index.cjs279.js +2 -0
  246. package/dist/index.cjs279.js.map +1 -0
  247. package/dist/index.cjs280.js +2 -0
  248. package/dist/index.cjs280.js.map +1 -0
  249. package/dist/index.cjs281.js +2 -0
  250. package/dist/index.cjs281.js.map +1 -0
  251. package/dist/index.cjs282.js +2 -0
  252. package/dist/index.cjs282.js.map +1 -0
  253. package/dist/index.cjs283.js +2 -0
  254. package/dist/index.cjs283.js.map +1 -0
  255. package/dist/index.cjs284.js +2 -0
  256. package/dist/index.cjs284.js.map +1 -0
  257. package/dist/index.cjs285.js +2 -0
  258. package/dist/index.cjs285.js.map +1 -0
  259. package/dist/index.cjs286.js +2 -0
  260. package/dist/index.cjs286.js.map +1 -0
  261. package/dist/index.cjs287.js +2 -0
  262. package/dist/index.cjs287.js.map +1 -0
  263. package/dist/index.cjs288.js +2 -0
  264. package/dist/index.cjs288.js.map +1 -0
  265. package/dist/index.cjs289.js +2 -0
  266. package/dist/index.cjs289.js.map +1 -0
  267. package/dist/index.cjs29.js +1 -1
  268. package/dist/index.cjs290.js +2 -0
  269. package/dist/index.cjs290.js.map +1 -0
  270. package/dist/index.cjs291.js +2 -0
  271. package/dist/index.cjs291.js.map +1 -0
  272. package/dist/index.cjs292.js +2 -0
  273. package/dist/index.cjs292.js.map +1 -0
  274. package/dist/index.cjs293.js +2 -0
  275. package/dist/index.cjs293.js.map +1 -0
  276. package/dist/index.cjs294.js +2 -0
  277. package/dist/index.cjs294.js.map +1 -0
  278. package/dist/index.cjs295.js +2 -0
  279. package/dist/index.cjs295.js.map +1 -0
  280. package/dist/index.cjs296.js +2 -0
  281. package/dist/index.cjs296.js.map +1 -0
  282. package/dist/index.cjs297.js +2 -0
  283. package/dist/index.cjs297.js.map +1 -0
  284. package/dist/index.cjs298.js +2 -0
  285. package/dist/index.cjs298.js.map +1 -0
  286. package/dist/index.cjs299.js +2 -0
  287. package/dist/index.cjs299.js.map +1 -0
  288. package/dist/index.cjs300.js +47 -0
  289. package/dist/index.cjs300.js.map +1 -0
  290. package/dist/index.cjs301.js +212 -0
  291. package/dist/index.cjs301.js.map +1 -0
  292. package/dist/index.cjs302.js +62 -0
  293. package/dist/index.cjs302.js.map +1 -0
  294. package/dist/index.cjs303.js +60 -0
  295. package/dist/index.cjs303.js.map +1 -0
  296. package/dist/index.cjs304.js +46 -0
  297. package/dist/index.cjs304.js.map +1 -0
  298. package/dist/index.cjs305.js +52 -0
  299. package/dist/index.cjs305.js.map +1 -0
  300. package/dist/index.cjs306.js +308 -0
  301. package/dist/index.cjs306.js.map +1 -0
  302. package/dist/index.cjs307.js +293 -0
  303. package/dist/index.cjs307.js.map +1 -0
  304. package/dist/index.cjs308.js +6 -0
  305. package/dist/index.cjs308.js.map +1 -0
  306. package/dist/index.cjs309.js +2 -0
  307. package/dist/index.cjs309.js.map +1 -0
  308. package/dist/index.cjs310.js +2 -0
  309. package/dist/index.cjs310.js.map +1 -0
  310. package/dist/index.cjs311.js +2 -0
  311. package/dist/index.cjs311.js.map +1 -0
  312. package/dist/index.cjs312.js +2 -0
  313. package/dist/index.cjs312.js.map +1 -0
  314. package/dist/index.cjs313.js +2 -0
  315. package/dist/index.cjs313.js.map +1 -0
  316. package/dist/index.cjs314.js +2 -0
  317. package/dist/index.cjs314.js.map +1 -0
  318. package/dist/index.cjs315.js +2 -0
  319. package/dist/index.cjs315.js.map +1 -0
  320. package/dist/index.cjs316.js +5 -0
  321. package/dist/index.cjs316.js.map +1 -0
  322. package/dist/index.cjs317.js +6 -0
  323. package/dist/index.cjs317.js.map +1 -0
  324. package/dist/index.cjs318.js +2 -0
  325. package/dist/index.cjs318.js.map +1 -0
  326. package/dist/index.cjs319.js +2 -0
  327. package/dist/index.cjs319.js.map +1 -0
  328. package/dist/index.cjs32.js +1 -1
  329. package/dist/index.cjs320.js +2 -0
  330. package/dist/index.cjs320.js.map +1 -0
  331. package/dist/index.cjs321.js +2 -0
  332. package/dist/index.cjs321.js.map +1 -0
  333. package/dist/index.cjs322.js +2 -0
  334. package/dist/index.cjs322.js.map +1 -0
  335. package/dist/index.cjs323.js +2 -0
  336. package/dist/index.cjs323.js.map +1 -0
  337. package/dist/index.cjs324.js +2 -0
  338. package/dist/index.cjs324.js.map +1 -0
  339. package/dist/index.cjs325.js +2 -0
  340. package/dist/index.cjs325.js.map +1 -0
  341. package/dist/index.cjs326.js +2 -0
  342. package/dist/index.cjs326.js.map +1 -0
  343. package/dist/index.cjs327.js +2 -0
  344. package/dist/index.cjs327.js.map +1 -0
  345. package/dist/index.cjs328.js +2 -0
  346. package/dist/index.cjs328.js.map +1 -0
  347. package/dist/index.cjs329.js +2 -0
  348. package/dist/index.cjs329.js.map +1 -0
  349. package/dist/index.cjs330.js +2 -0
  350. package/dist/index.cjs330.js.map +1 -0
  351. package/dist/index.cjs331.js +2 -0
  352. package/dist/index.cjs331.js.map +1 -0
  353. package/dist/index.cjs332.js +2 -0
  354. package/dist/index.cjs332.js.map +1 -0
  355. package/dist/index.cjs333.js +2 -0
  356. package/dist/index.cjs333.js.map +1 -0
  357. package/dist/index.cjs334.js +2 -0
  358. package/dist/index.cjs334.js.map +1 -0
  359. package/dist/index.cjs335.js +2 -0
  360. package/dist/index.cjs335.js.map +1 -0
  361. package/dist/index.cjs336.js +2 -0
  362. package/dist/index.cjs336.js.map +1 -0
  363. package/dist/index.cjs337.js +2 -0
  364. package/dist/index.cjs337.js.map +1 -0
  365. package/dist/index.cjs338.js +2 -0
  366. package/dist/index.cjs338.js.map +1 -0
  367. package/dist/index.cjs339.js +2 -0
  368. package/dist/index.cjs339.js.map +1 -0
  369. package/dist/index.cjs34.js +1 -1
  370. package/dist/index.cjs340.js +2 -0
  371. package/dist/index.cjs340.js.map +1 -0
  372. package/dist/index.cjs341.js +2 -0
  373. package/dist/index.cjs341.js.map +1 -0
  374. package/dist/index.cjs342.js +2 -0
  375. package/dist/index.cjs342.js.map +1 -0
  376. package/dist/index.cjs343.js +2 -0
  377. package/dist/index.cjs343.js.map +1 -0
  378. package/dist/index.cjs344.js +5 -0
  379. package/dist/index.cjs344.js.map +1 -0
  380. package/dist/index.cjs345.js +2 -0
  381. package/dist/index.cjs345.js.map +1 -0
  382. package/dist/index.cjs346.js +2 -0
  383. package/dist/index.cjs346.js.map +1 -0
  384. package/dist/index.cjs347.js +2 -0
  385. package/dist/index.cjs347.js.map +1 -0
  386. package/dist/index.cjs348.js +2 -0
  387. package/dist/index.cjs348.js.map +1 -0
  388. package/dist/index.cjs349.js +2 -0
  389. package/dist/index.cjs349.js.map +1 -0
  390. package/dist/index.cjs35.js +1 -1
  391. package/dist/index.cjs350.js +2 -0
  392. package/dist/index.cjs350.js.map +1 -0
  393. package/dist/index.cjs351.js +2 -0
  394. package/dist/index.cjs351.js.map +1 -0
  395. package/dist/index.cjs352.js +2 -0
  396. package/dist/index.cjs352.js.map +1 -0
  397. package/dist/index.cjs353.js +2 -0
  398. package/dist/index.cjs353.js.map +1 -0
  399. package/dist/index.cjs354.js +2 -0
  400. package/dist/index.cjs354.js.map +1 -0
  401. package/dist/index.cjs355.js +2 -0
  402. package/dist/index.cjs355.js.map +1 -0
  403. package/dist/index.cjs356.js +2 -0
  404. package/dist/index.cjs356.js.map +1 -0
  405. package/dist/index.cjs357.js +2 -0
  406. package/dist/index.cjs357.js.map +1 -0
  407. package/dist/index.cjs358.js +2 -0
  408. package/dist/index.cjs358.js.map +1 -0
  409. package/dist/index.cjs359.js +2 -0
  410. package/dist/index.cjs359.js.map +1 -0
  411. package/dist/index.cjs360.js +2 -0
  412. package/dist/index.cjs360.js.map +1 -0
  413. package/dist/index.cjs361.js +2 -0
  414. package/dist/index.cjs361.js.map +1 -0
  415. package/dist/index.cjs362.js +2 -0
  416. package/dist/index.cjs362.js.map +1 -0
  417. package/dist/index.cjs363.js +2 -0
  418. package/dist/index.cjs363.js.map +1 -0
  419. package/dist/index.cjs364.js +2 -0
  420. package/dist/index.cjs364.js.map +1 -0
  421. package/dist/index.cjs365.js +2 -0
  422. package/dist/index.cjs365.js.map +1 -0
  423. package/dist/index.cjs366.js +2 -0
  424. package/dist/index.cjs366.js.map +1 -0
  425. package/dist/index.cjs367.js +2 -0
  426. package/dist/index.cjs367.js.map +1 -0
  427. package/dist/index.cjs368.js +2 -0
  428. package/dist/index.cjs368.js.map +1 -0
  429. package/dist/index.cjs369.js +2 -0
  430. package/dist/index.cjs369.js.map +1 -0
  431. package/dist/index.cjs370.js +2 -0
  432. package/dist/index.cjs370.js.map +1 -0
  433. package/dist/index.cjs371.js +2 -0
  434. package/dist/index.cjs371.js.map +1 -0
  435. package/dist/index.cjs372.js +2 -0
  436. package/dist/index.cjs372.js.map +1 -0
  437. package/dist/index.cjs373.js +2 -0
  438. package/dist/index.cjs373.js.map +1 -0
  439. package/dist/index.cjs374.js +2 -0
  440. package/dist/index.cjs374.js.map +1 -0
  441. package/dist/index.cjs375.js +2 -0
  442. package/dist/index.cjs375.js.map +1 -0
  443. package/dist/index.cjs376.js +2 -0
  444. package/dist/index.cjs376.js.map +1 -0
  445. package/dist/index.cjs377.js +2 -0
  446. package/dist/index.cjs377.js.map +1 -0
  447. package/dist/index.cjs378.js +2 -0
  448. package/dist/index.cjs378.js.map +1 -0
  449. package/dist/index.cjs379.js +2 -0
  450. package/dist/index.cjs379.js.map +1 -0
  451. package/dist/index.cjs38.js +1 -1
  452. package/dist/index.cjs380.js +2 -0
  453. package/dist/index.cjs380.js.map +1 -0
  454. package/dist/index.cjs381.js +2 -0
  455. package/dist/index.cjs381.js.map +1 -0
  456. package/dist/index.cjs382.js +2 -0
  457. package/dist/index.cjs382.js.map +1 -0
  458. package/dist/index.cjs383.js +2 -0
  459. package/dist/index.cjs383.js.map +1 -0
  460. package/dist/index.cjs384.js +2 -0
  461. package/dist/index.cjs384.js.map +1 -0
  462. package/dist/index.cjs385.js +2 -0
  463. package/dist/index.cjs385.js.map +1 -0
  464. package/dist/index.cjs386.js +2 -0
  465. package/dist/index.cjs386.js.map +1 -0
  466. package/dist/index.cjs387.js +2 -0
  467. package/dist/index.cjs387.js.map +1 -0
  468. package/dist/index.cjs388.js +2 -0
  469. package/dist/index.cjs388.js.map +1 -0
  470. package/dist/index.cjs389.js +2 -0
  471. package/dist/index.cjs389.js.map +1 -0
  472. package/dist/index.cjs39.js +1 -1
  473. package/dist/index.cjs390.js +2 -0
  474. package/dist/index.cjs390.js.map +1 -0
  475. package/dist/index.cjs391.js +2 -0
  476. package/dist/index.cjs391.js.map +1 -0
  477. package/dist/index.cjs392.js +2 -0
  478. package/dist/index.cjs392.js.map +1 -0
  479. package/dist/index.cjs393.js +2 -0
  480. package/dist/index.cjs393.js.map +1 -0
  481. package/dist/index.cjs394.js +2 -0
  482. package/dist/index.cjs394.js.map +1 -0
  483. package/dist/index.cjs395.js +2 -0
  484. package/dist/index.cjs395.js.map +1 -0
  485. package/dist/index.cjs396.js +2 -0
  486. package/dist/index.cjs396.js.map +1 -0
  487. package/dist/index.cjs397.js +2 -0
  488. package/dist/index.cjs397.js.map +1 -0
  489. package/dist/index.cjs398.js +2 -0
  490. package/dist/index.cjs398.js.map +1 -0
  491. package/dist/index.cjs399.js +2 -0
  492. package/dist/index.cjs399.js.map +1 -0
  493. package/dist/index.cjs40.js +1 -1
  494. package/dist/index.cjs400.js +2 -0
  495. package/dist/index.cjs400.js.map +1 -0
  496. package/dist/index.cjs401.js +2 -0
  497. package/dist/index.cjs401.js.map +1 -0
  498. package/dist/index.cjs402.js +2 -0
  499. package/dist/index.cjs402.js.map +1 -0
  500. package/dist/index.cjs403.js +2 -0
  501. package/dist/index.cjs403.js.map +1 -0
  502. package/dist/index.cjs404.js +2 -0
  503. package/dist/index.cjs404.js.map +1 -0
  504. package/dist/index.cjs405.js +2 -0
  505. package/dist/index.cjs405.js.map +1 -0
  506. package/dist/index.cjs406.js +2 -0
  507. package/dist/index.cjs406.js.map +1 -0
  508. package/dist/index.cjs407.js +2 -0
  509. package/dist/index.cjs407.js.map +1 -0
  510. package/dist/index.cjs408.js +2 -0
  511. package/dist/index.cjs408.js.map +1 -0
  512. package/dist/index.cjs409.js +2 -0
  513. package/dist/index.cjs409.js.map +1 -0
  514. package/dist/index.cjs410.js +2 -0
  515. package/dist/index.cjs410.js.map +1 -0
  516. package/dist/index.cjs411.js +2 -0
  517. package/dist/index.cjs411.js.map +1 -0
  518. package/dist/index.cjs412.js +2 -0
  519. package/dist/index.cjs412.js.map +1 -0
  520. package/dist/index.cjs413.js +2 -0
  521. package/dist/index.cjs413.js.map +1 -0
  522. package/dist/index.cjs414.js +2 -0
  523. package/dist/index.cjs414.js.map +1 -0
  524. package/dist/index.cjs415.js +2 -0
  525. package/dist/index.cjs415.js.map +1 -0
  526. package/dist/index.cjs416.js +2 -0
  527. package/dist/index.cjs416.js.map +1 -0
  528. package/dist/index.cjs417.js +2 -0
  529. package/dist/index.cjs417.js.map +1 -0
  530. package/dist/index.cjs418.js +2 -0
  531. package/dist/index.cjs418.js.map +1 -0
  532. package/dist/index.cjs419.js +2 -0
  533. package/dist/index.cjs419.js.map +1 -0
  534. package/dist/index.cjs42.js +1 -1
  535. package/dist/index.cjs420.js +2 -0
  536. package/dist/index.cjs420.js.map +1 -0
  537. package/dist/index.cjs421.js +2 -0
  538. package/dist/index.cjs421.js.map +1 -0
  539. package/dist/index.cjs422.js +2 -0
  540. package/dist/index.cjs422.js.map +1 -0
  541. package/dist/index.cjs423.js +2 -0
  542. package/dist/index.cjs423.js.map +1 -0
  543. package/dist/index.cjs424.js +2 -0
  544. package/dist/index.cjs424.js.map +1 -0
  545. package/dist/index.cjs425.js +2 -0
  546. package/dist/index.cjs425.js.map +1 -0
  547. package/dist/index.cjs426.js +2 -0
  548. package/dist/index.cjs426.js.map +1 -0
  549. package/dist/index.cjs427.js +2 -0
  550. package/dist/index.cjs427.js.map +1 -0
  551. package/dist/index.cjs428.js +2 -0
  552. package/dist/index.cjs428.js.map +1 -0
  553. package/dist/index.cjs429.js +2 -0
  554. package/dist/index.cjs429.js.map +1 -0
  555. package/dist/index.cjs43.js +1 -1
  556. package/dist/index.cjs430.js +2 -0
  557. package/dist/index.cjs430.js.map +1 -0
  558. package/dist/index.cjs431.js +2 -0
  559. package/dist/index.cjs431.js.map +1 -0
  560. package/dist/index.cjs432.js +2 -0
  561. package/dist/index.cjs432.js.map +1 -0
  562. package/dist/index.cjs433.js +2 -0
  563. package/dist/index.cjs433.js.map +1 -0
  564. package/dist/index.cjs434.js +2 -0
  565. package/dist/index.cjs434.js.map +1 -0
  566. package/dist/index.cjs435.js +2 -0
  567. package/dist/index.cjs435.js.map +1 -0
  568. package/dist/index.cjs436.js +2 -0
  569. package/dist/index.cjs436.js.map +1 -0
  570. package/dist/index.cjs437.js +2 -0
  571. package/dist/index.cjs437.js.map +1 -0
  572. package/dist/index.cjs438.js +2 -0
  573. package/dist/index.cjs438.js.map +1 -0
  574. package/dist/index.cjs439.js +2 -0
  575. package/dist/index.cjs439.js.map +1 -0
  576. package/dist/index.cjs44.js +1 -1
  577. package/dist/index.cjs440.js +2 -0
  578. package/dist/index.cjs440.js.map +1 -0
  579. package/dist/index.cjs441.js +2 -0
  580. package/dist/index.cjs441.js.map +1 -0
  581. package/dist/index.cjs442.js +2 -0
  582. package/dist/index.cjs442.js.map +1 -0
  583. package/dist/index.cjs443.js +2 -0
  584. package/dist/index.cjs443.js.map +1 -0
  585. package/dist/index.cjs444.js +2 -0
  586. package/dist/index.cjs444.js.map +1 -0
  587. package/dist/index.cjs445.js +2 -0
  588. package/dist/index.cjs445.js.map +1 -0
  589. package/dist/index.cjs446.js +2 -0
  590. package/dist/index.cjs446.js.map +1 -0
  591. package/dist/index.cjs447.js +2 -0
  592. package/dist/index.cjs447.js.map +1 -0
  593. package/dist/index.cjs448.js +2 -0
  594. package/dist/index.cjs448.js.map +1 -0
  595. package/dist/index.cjs449.js +2 -0
  596. package/dist/index.cjs449.js.map +1 -0
  597. package/dist/index.cjs450.js +2 -0
  598. package/dist/index.cjs450.js.map +1 -0
  599. package/dist/index.cjs451.js +2 -0
  600. package/dist/index.cjs451.js.map +1 -0
  601. package/dist/index.cjs452.js +2 -0
  602. package/dist/index.cjs452.js.map +1 -0
  603. package/dist/index.cjs453.js +2 -0
  604. package/dist/index.cjs453.js.map +1 -0
  605. package/dist/index.cjs454.js +2 -0
  606. package/dist/index.cjs454.js.map +1 -0
  607. package/dist/index.cjs455.js +2 -0
  608. package/dist/index.cjs455.js.map +1 -0
  609. package/dist/index.cjs456.js +2 -0
  610. package/dist/index.cjs456.js.map +1 -0
  611. package/dist/index.cjs457.js +2 -0
  612. package/dist/index.cjs457.js.map +1 -0
  613. package/dist/index.cjs458.js +2 -0
  614. package/dist/index.cjs458.js.map +1 -0
  615. package/dist/index.cjs459.js +2 -0
  616. package/dist/index.cjs459.js.map +1 -0
  617. package/dist/index.cjs46.js +1 -1
  618. package/dist/index.cjs460.js +2 -0
  619. package/dist/index.cjs460.js.map +1 -0
  620. package/dist/index.cjs461.js +2 -0
  621. package/dist/index.cjs461.js.map +1 -0
  622. package/dist/index.cjs462.js +2 -0
  623. package/dist/index.cjs462.js.map +1 -0
  624. package/dist/index.cjs463.js +2 -0
  625. package/dist/index.cjs463.js.map +1 -0
  626. package/dist/index.cjs464.js +2 -0
  627. package/dist/index.cjs464.js.map +1 -0
  628. package/dist/index.cjs465.js +2 -0
  629. package/dist/index.cjs465.js.map +1 -0
  630. package/dist/index.cjs466.js +2 -0
  631. package/dist/index.cjs466.js.map +1 -0
  632. package/dist/index.cjs467.js +2 -0
  633. package/dist/index.cjs467.js.map +1 -0
  634. package/dist/index.cjs468.js +2 -0
  635. package/dist/index.cjs468.js.map +1 -0
  636. package/dist/index.cjs469.js +2 -0
  637. package/dist/index.cjs469.js.map +1 -0
  638. package/dist/index.cjs47.js +1 -1
  639. package/dist/index.cjs470.js +2 -0
  640. package/dist/index.cjs470.js.map +1 -0
  641. package/dist/index.cjs471.js +2 -0
  642. package/dist/index.cjs471.js.map +1 -0
  643. package/dist/index.cjs472.js +2 -0
  644. package/dist/index.cjs472.js.map +1 -0
  645. package/dist/index.cjs473.js +2 -0
  646. package/dist/index.cjs473.js.map +1 -0
  647. package/dist/index.cjs474.js +2 -0
  648. package/dist/index.cjs474.js.map +1 -0
  649. package/dist/index.cjs475.js +2 -0
  650. package/dist/index.cjs475.js.map +1 -0
  651. package/dist/index.cjs476.js +2 -0
  652. package/dist/index.cjs476.js.map +1 -0
  653. package/dist/index.cjs477.js +2 -0
  654. package/dist/index.cjs477.js.map +1 -0
  655. package/dist/index.cjs478.js +2 -0
  656. package/dist/index.cjs478.js.map +1 -0
  657. package/dist/index.cjs479.js +2 -0
  658. package/dist/index.cjs479.js.map +1 -0
  659. package/dist/index.cjs48.js +1 -1
  660. package/dist/index.cjs480.js +2 -0
  661. package/dist/index.cjs480.js.map +1 -0
  662. package/dist/index.cjs481.js +2 -0
  663. package/dist/index.cjs481.js.map +1 -0
  664. package/dist/index.cjs482.js +2 -0
  665. package/dist/index.cjs482.js.map +1 -0
  666. package/dist/index.cjs483.js +2 -0
  667. package/dist/index.cjs483.js.map +1 -0
  668. package/dist/index.cjs484.js +2 -0
  669. package/dist/index.cjs484.js.map +1 -0
  670. package/dist/index.cjs485.js +2 -0
  671. package/dist/index.cjs485.js.map +1 -0
  672. package/dist/index.cjs486.js +2 -0
  673. package/dist/index.cjs486.js.map +1 -0
  674. package/dist/index.cjs487.js +2 -0
  675. package/dist/index.cjs487.js.map +1 -0
  676. package/dist/index.cjs488.js +2 -0
  677. package/dist/index.cjs488.js.map +1 -0
  678. package/dist/index.cjs489.js +2 -0
  679. package/dist/index.cjs489.js.map +1 -0
  680. package/dist/index.cjs490.js +2 -0
  681. package/dist/index.cjs490.js.map +1 -0
  682. package/dist/index.cjs491.js +2 -0
  683. package/dist/index.cjs491.js.map +1 -0
  684. package/dist/index.cjs492.js +2 -0
  685. package/dist/index.cjs492.js.map +1 -0
  686. package/dist/index.cjs493.js +2 -0
  687. package/dist/index.cjs493.js.map +1 -0
  688. package/dist/index.cjs494.js +2 -0
  689. package/dist/index.cjs494.js.map +1 -0
  690. package/dist/index.cjs495.js +2 -0
  691. package/dist/index.cjs495.js.map +1 -0
  692. package/dist/index.cjs496.js +2 -0
  693. package/dist/index.cjs496.js.map +1 -0
  694. package/dist/index.cjs497.js +2 -0
  695. package/dist/index.cjs497.js.map +1 -0
  696. package/dist/index.cjs498.js +2 -0
  697. package/dist/index.cjs498.js.map +1 -0
  698. package/dist/index.cjs499.js +2 -0
  699. package/dist/index.cjs499.js.map +1 -0
  700. package/dist/index.cjs50.js +1 -1
  701. package/dist/index.cjs500.js +2 -0
  702. package/dist/index.cjs500.js.map +1 -0
  703. package/dist/index.cjs501.js +2 -0
  704. package/dist/index.cjs501.js.map +1 -0
  705. package/dist/index.cjs502.js +2 -0
  706. package/dist/index.cjs502.js.map +1 -0
  707. package/dist/index.cjs503.js +2 -0
  708. package/dist/index.cjs503.js.map +1 -0
  709. package/dist/index.cjs504.js +2 -0
  710. package/dist/index.cjs504.js.map +1 -0
  711. package/dist/index.cjs505.js +2 -0
  712. package/dist/index.cjs505.js.map +1 -0
  713. package/dist/index.cjs506.js +2 -0
  714. package/dist/index.cjs506.js.map +1 -0
  715. package/dist/index.cjs507.js +2 -0
  716. package/dist/index.cjs507.js.map +1 -0
  717. package/dist/index.cjs508.js +2 -0
  718. package/dist/index.cjs508.js.map +1 -0
  719. package/dist/index.cjs509.js +2 -0
  720. package/dist/index.cjs509.js.map +1 -0
  721. package/dist/index.cjs51.js +1 -1
  722. package/dist/index.cjs510.js +2 -0
  723. package/dist/index.cjs510.js.map +1 -0
  724. package/dist/index.cjs511.js +2 -0
  725. package/dist/index.cjs511.js.map +1 -0
  726. package/dist/index.cjs512.js +2 -0
  727. package/dist/index.cjs512.js.map +1 -0
  728. package/dist/index.cjs513.js +2 -0
  729. package/dist/index.cjs513.js.map +1 -0
  730. package/dist/index.cjs514.js +2 -0
  731. package/dist/index.cjs514.js.map +1 -0
  732. package/dist/index.cjs515.js +2 -0
  733. package/dist/index.cjs515.js.map +1 -0
  734. package/dist/index.cjs516.js +2 -0
  735. package/dist/index.cjs516.js.map +1 -0
  736. package/dist/index.cjs517.js +2 -0
  737. package/dist/index.cjs517.js.map +1 -0
  738. package/dist/index.cjs518.js +2 -0
  739. package/dist/index.cjs518.js.map +1 -0
  740. package/dist/index.cjs519.js +2 -0
  741. package/dist/index.cjs519.js.map +1 -0
  742. package/dist/index.cjs52.js +1 -1
  743. package/dist/index.cjs520.js +2 -0
  744. package/dist/index.cjs520.js.map +1 -0
  745. package/dist/index.cjs521.js +2 -0
  746. package/dist/index.cjs521.js.map +1 -0
  747. package/dist/index.cjs522.js +2 -0
  748. package/dist/index.cjs522.js.map +1 -0
  749. package/dist/index.cjs523.js +2 -0
  750. package/dist/index.cjs523.js.map +1 -0
  751. package/dist/index.cjs524.js +2 -0
  752. package/dist/index.cjs524.js.map +1 -0
  753. package/dist/index.cjs525.js +2 -0
  754. package/dist/index.cjs525.js.map +1 -0
  755. package/dist/index.cjs526.js +2 -0
  756. package/dist/index.cjs526.js.map +1 -0
  757. package/dist/index.cjs527.js +2 -0
  758. package/dist/index.cjs527.js.map +1 -0
  759. package/dist/index.cjs528.js +2 -0
  760. package/dist/index.cjs528.js.map +1 -0
  761. package/dist/index.cjs529.js +2 -0
  762. package/dist/index.cjs529.js.map +1 -0
  763. package/dist/index.cjs530.js +2 -0
  764. package/dist/index.cjs530.js.map +1 -0
  765. package/dist/index.cjs531.js +2 -0
  766. package/dist/index.cjs531.js.map +1 -0
  767. package/dist/index.cjs532.js +2 -0
  768. package/dist/index.cjs532.js.map +1 -0
  769. package/dist/index.cjs533.js +2 -0
  770. package/dist/index.cjs533.js.map +1 -0
  771. package/dist/index.cjs534.js +2 -0
  772. package/dist/index.cjs534.js.map +1 -0
  773. package/dist/index.cjs535.js +2 -0
  774. package/dist/index.cjs535.js.map +1 -0
  775. package/dist/index.cjs536.js +2 -0
  776. package/dist/index.cjs536.js.map +1 -0
  777. package/dist/index.cjs537.js +2 -0
  778. package/dist/index.cjs537.js.map +1 -0
  779. package/dist/index.cjs538.js +2 -0
  780. package/dist/index.cjs538.js.map +1 -0
  781. package/dist/index.cjs539.js +2 -0
  782. package/dist/index.cjs539.js.map +1 -0
  783. package/dist/index.cjs540.js +2 -0
  784. package/dist/index.cjs540.js.map +1 -0
  785. package/dist/index.cjs541.js +2 -0
  786. package/dist/index.cjs541.js.map +1 -0
  787. package/dist/index.cjs542.js +2 -0
  788. package/dist/index.cjs542.js.map +1 -0
  789. package/dist/index.cjs543.js +2 -0
  790. package/dist/index.cjs543.js.map +1 -0
  791. package/dist/index.cjs544.js +9 -0
  792. package/dist/index.cjs544.js.map +1 -0
  793. package/dist/index.cjs545.js +2 -0
  794. package/dist/index.cjs545.js.map +1 -0
  795. package/dist/index.cjs546.js +2 -0
  796. package/dist/index.cjs546.js.map +1 -0
  797. package/dist/index.cjs547.js +2 -0
  798. package/dist/index.cjs547.js.map +1 -0
  799. package/dist/index.cjs548.js +2 -0
  800. package/dist/index.cjs548.js.map +1 -0
  801. package/dist/index.cjs549.js +2 -0
  802. package/dist/index.cjs549.js.map +1 -0
  803. package/dist/index.cjs550.js +2 -0
  804. package/dist/index.cjs550.js.map +1 -0
  805. package/dist/index.cjs551.js +2 -0
  806. package/dist/index.cjs551.js.map +1 -0
  807. package/dist/index.cjs552.js +2 -0
  808. package/dist/index.cjs552.js.map +1 -0
  809. package/dist/index.cjs553.js +2 -0
  810. package/dist/index.cjs553.js.map +1 -0
  811. package/dist/index.cjs554.js +2 -0
  812. package/dist/index.cjs554.js.map +1 -0
  813. package/dist/index.cjs555.js +2 -0
  814. package/dist/index.cjs555.js.map +1 -0
  815. package/dist/index.cjs556.js +2 -0
  816. package/dist/index.cjs556.js.map +1 -0
  817. package/dist/index.cjs557.js +2 -0
  818. package/dist/index.cjs557.js.map +1 -0
  819. package/dist/index.cjs558.js +2 -0
  820. package/dist/index.cjs558.js.map +1 -0
  821. package/dist/index.cjs559.js +2 -0
  822. package/dist/index.cjs559.js.map +1 -0
  823. package/dist/index.cjs56.js +1 -1
  824. package/dist/index.cjs560.js +2 -0
  825. package/dist/index.cjs560.js.map +1 -0
  826. package/dist/index.cjs561.js +2 -0
  827. package/dist/index.cjs561.js.map +1 -0
  828. package/dist/index.cjs562.js +2 -0
  829. package/dist/index.cjs562.js.map +1 -0
  830. package/dist/index.cjs563.js +2 -0
  831. package/dist/index.cjs563.js.map +1 -0
  832. package/dist/index.cjs564.js +2 -0
  833. package/dist/index.cjs564.js.map +1 -0
  834. package/dist/index.cjs565.js +2 -0
  835. package/dist/index.cjs565.js.map +1 -0
  836. package/dist/index.cjs566.js +2 -0
  837. package/dist/index.cjs566.js.map +1 -0
  838. package/dist/index.cjs567.js +2 -0
  839. package/dist/index.cjs567.js.map +1 -0
  840. package/dist/index.cjs568.js +2 -0
  841. package/dist/index.cjs568.js.map +1 -0
  842. package/dist/index.cjs569.js +2 -0
  843. package/dist/index.cjs569.js.map +1 -0
  844. package/dist/index.cjs57.js +1 -1
  845. package/dist/index.cjs570.js +2 -0
  846. package/dist/index.cjs570.js.map +1 -0
  847. package/dist/index.cjs571.js +2 -0
  848. package/dist/index.cjs571.js.map +1 -0
  849. package/dist/index.cjs572.js +2 -0
  850. package/dist/index.cjs572.js.map +1 -0
  851. package/dist/index.cjs573.js +2 -0
  852. package/dist/index.cjs573.js.map +1 -0
  853. package/dist/index.cjs574.js +2 -0
  854. package/dist/index.cjs574.js.map +1 -0
  855. package/dist/index.cjs575.js +2 -0
  856. package/dist/index.cjs575.js.map +1 -0
  857. package/dist/index.cjs576.js +2 -0
  858. package/dist/index.cjs576.js.map +1 -0
  859. package/dist/index.cjs577.js +2 -0
  860. package/dist/index.cjs577.js.map +1 -0
  861. package/dist/index.cjs578.js +2 -0
  862. package/dist/index.cjs578.js.map +1 -0
  863. package/dist/index.cjs579.js +2 -0
  864. package/dist/index.cjs579.js.map +1 -0
  865. package/dist/index.cjs58.js +1 -1
  866. package/dist/index.cjs580.js +2 -0
  867. package/dist/index.cjs580.js.map +1 -0
  868. package/dist/index.cjs581.js +2 -0
  869. package/dist/index.cjs581.js.map +1 -0
  870. package/dist/index.cjs582.js +2 -0
  871. package/dist/index.cjs582.js.map +1 -0
  872. package/dist/index.cjs583.js +2 -0
  873. package/dist/index.cjs583.js.map +1 -0
  874. package/dist/index.cjs584.js +2 -0
  875. package/dist/index.cjs584.js.map +1 -0
  876. package/dist/index.cjs585.js +2 -0
  877. package/dist/index.cjs585.js.map +1 -0
  878. package/dist/index.cjs586.js +2 -0
  879. package/dist/index.cjs586.js.map +1 -0
  880. package/dist/index.cjs587.js +2 -0
  881. package/dist/index.cjs587.js.map +1 -0
  882. package/dist/index.cjs588.js +2 -0
  883. package/dist/index.cjs588.js.map +1 -0
  884. package/dist/index.cjs589.js +2 -0
  885. package/dist/index.cjs589.js.map +1 -0
  886. package/dist/index.cjs590.js +2 -0
  887. package/dist/index.cjs590.js.map +1 -0
  888. package/dist/index.cjs591.js +2 -0
  889. package/dist/index.cjs591.js.map +1 -0
  890. package/dist/index.cjs592.js +2 -0
  891. package/dist/index.cjs592.js.map +1 -0
  892. package/dist/index.cjs593.js +2 -0
  893. package/dist/index.cjs593.js.map +1 -0
  894. package/dist/index.cjs594.js +2 -0
  895. package/dist/index.cjs594.js.map +1 -0
  896. package/dist/index.cjs595.js +2 -0
  897. package/dist/index.cjs595.js.map +1 -0
  898. package/dist/index.cjs596.js +2 -0
  899. package/dist/index.cjs596.js.map +1 -0
  900. package/dist/index.cjs597.js +2 -0
  901. package/dist/index.cjs597.js.map +1 -0
  902. package/dist/index.cjs598.js +2 -0
  903. package/dist/index.cjs598.js.map +1 -0
  904. package/dist/index.cjs599.js +2 -0
  905. package/dist/index.cjs599.js.map +1 -0
  906. package/dist/index.cjs60.js +1 -1
  907. package/dist/index.cjs600.js +2 -0
  908. package/dist/index.cjs600.js.map +1 -0
  909. package/dist/index.cjs601.js +2 -0
  910. package/dist/index.cjs601.js.map +1 -0
  911. package/dist/index.cjs602.js +2 -0
  912. package/dist/index.cjs602.js.map +1 -0
  913. package/dist/index.cjs603.js +2 -0
  914. package/dist/index.cjs603.js.map +1 -0
  915. package/dist/index.cjs604.js +2 -0
  916. package/dist/index.cjs604.js.map +1 -0
  917. package/dist/index.cjs605.js +2 -0
  918. package/dist/index.cjs605.js.map +1 -0
  919. package/dist/index.cjs606.js +2 -0
  920. package/dist/index.cjs606.js.map +1 -0
  921. package/dist/index.cjs607.js +2 -0
  922. package/dist/index.cjs607.js.map +1 -0
  923. package/dist/index.cjs608.js +2 -0
  924. package/dist/index.cjs608.js.map +1 -0
  925. package/dist/index.cjs609.js +2 -0
  926. package/dist/index.cjs609.js.map +1 -0
  927. package/dist/index.cjs61.js +1 -1
  928. package/dist/index.cjs610.js +2 -0
  929. package/dist/index.cjs610.js.map +1 -0
  930. package/dist/index.cjs611.js +2 -0
  931. package/dist/index.cjs611.js.map +1 -0
  932. package/dist/index.cjs612.js +2 -0
  933. package/dist/index.cjs612.js.map +1 -0
  934. package/dist/index.cjs613.js +4 -0
  935. package/dist/index.cjs613.js.map +1 -0
  936. package/dist/index.cjs614.js +2 -0
  937. package/dist/index.cjs614.js.map +1 -0
  938. package/dist/index.cjs615.js +2 -0
  939. package/dist/index.cjs615.js.map +1 -0
  940. package/dist/index.cjs616.js +2 -0
  941. package/dist/index.cjs616.js.map +1 -0
  942. package/dist/index.cjs617.js +2 -0
  943. package/dist/index.cjs617.js.map +1 -0
  944. package/dist/index.cjs618.js +2 -0
  945. package/dist/index.cjs618.js.map +1 -0
  946. package/dist/index.cjs619.js +61 -0
  947. package/dist/index.cjs619.js.map +1 -0
  948. package/dist/index.cjs620.js +2 -0
  949. package/dist/index.cjs620.js.map +1 -0
  950. package/dist/index.cjs621.js +2 -0
  951. package/dist/index.cjs621.js.map +1 -0
  952. package/dist/index.cjs622.js +2 -0
  953. package/dist/index.cjs622.js.map +1 -0
  954. package/dist/index.cjs623.js +2 -0
  955. package/dist/index.cjs623.js.map +1 -0
  956. package/dist/index.cjs624.js +2 -0
  957. package/dist/index.cjs624.js.map +1 -0
  958. package/dist/index.cjs625.js +2 -0
  959. package/dist/index.cjs625.js.map +1 -0
  960. package/dist/index.cjs626.js +2 -0
  961. package/dist/index.cjs626.js.map +1 -0
  962. package/dist/index.cjs627.js +2 -0
  963. package/dist/index.cjs627.js.map +1 -0
  964. package/dist/index.cjs628.js +2 -0
  965. package/dist/index.cjs628.js.map +1 -0
  966. package/dist/index.cjs629.js +4 -0
  967. package/dist/index.cjs629.js.map +1 -0
  968. package/dist/index.cjs63.js +1 -1
  969. package/dist/index.cjs630.js +2 -0
  970. package/dist/index.cjs630.js.map +1 -0
  971. package/dist/index.cjs631.js +2 -0
  972. package/dist/index.cjs631.js.map +1 -0
  973. package/dist/index.cjs632.js +2 -0
  974. package/dist/index.cjs632.js.map +1 -0
  975. package/dist/index.cjs67.js +1 -1
  976. package/dist/index.cjs67.js.map +1 -1
  977. package/dist/index.cjs68.js +1 -440
  978. package/dist/index.cjs68.js.map +1 -1
  979. package/dist/index.cjs69.js +1 -1
  980. package/dist/index.cjs69.js.map +1 -1
  981. package/dist/index.cjs70.js.map +1 -1
  982. package/dist/index.cjs71.js +1 -1
  983. package/dist/index.cjs71.js.map +1 -1
  984. package/dist/index.cjs72.js +1 -1
  985. package/dist/index.cjs72.js.map +1 -1
  986. package/dist/index.cjs73.js +1 -1
  987. package/dist/index.cjs73.js.map +1 -1
  988. package/dist/index.cjs74.js +1 -1
  989. package/dist/index.cjs74.js.map +1 -1
  990. package/dist/index.cjs75.js +1 -1
  991. package/dist/index.cjs75.js.map +1 -1
  992. package/dist/index.cjs76.js +1 -1
  993. package/dist/index.cjs76.js.map +1 -1
  994. package/dist/index.cjs77.js +1 -1
  995. package/dist/index.cjs77.js.map +1 -1
  996. package/dist/index.cjs78.js.map +1 -1
  997. package/dist/index.cjs79.js +743 -1
  998. package/dist/index.cjs79.js.map +1 -1
  999. package/dist/index.cjs80.js +1 -1
  1000. package/dist/index.cjs81.js +1 -1
  1001. package/dist/index.cjs81.js.map +1 -1
  1002. package/dist/index.cjs82.js +1 -1
  1003. package/dist/index.cjs82.js.map +1 -1
  1004. package/dist/index.cjs83.js +9 -1
  1005. package/dist/index.cjs83.js.map +1 -1
  1006. package/dist/index.cjs84.js +11 -3
  1007. package/dist/index.cjs84.js.map +1 -1
  1008. package/dist/index.cjs85.js +1 -17
  1009. package/dist/index.cjs85.js.map +1 -1
  1010. package/dist/index.cjs86.js +1 -743
  1011. package/dist/index.cjs86.js.map +1 -1
  1012. package/dist/index.cjs87.js +1 -1
  1013. package/dist/index.cjs87.js.map +1 -1
  1014. package/dist/index.cjs88.js +1 -1
  1015. package/dist/index.cjs88.js.map +1 -1
  1016. package/dist/index.cjs89.js +1 -1
  1017. package/dist/index.cjs89.js.map +1 -1
  1018. package/dist/index.cjs93.js +1 -1
  1019. package/dist/index.es100.js +1 -1
  1020. package/dist/index.es101.js +1 -1
  1021. package/dist/index.es102.js +1 -1
  1022. package/dist/index.es103.js +1 -1
  1023. package/dist/index.es104.js +1 -1
  1024. package/dist/index.es105.js +1 -1
  1025. package/dist/index.es106.js +1 -1
  1026. package/dist/index.es107.js +1 -1
  1027. package/dist/index.es108.js +1 -1
  1028. package/dist/index.es111.js +1 -1
  1029. package/dist/index.es112.js +1 -1
  1030. package/dist/index.es114.js +3 -3
  1031. package/dist/index.es115.js +1 -1
  1032. package/dist/index.es116.js +2 -2
  1033. package/dist/index.es117.js +1 -1
  1034. package/dist/index.es12.js +6 -7
  1035. package/dist/index.es12.js.map +1 -1
  1036. package/dist/index.es122.js +1 -1
  1037. package/dist/index.es123.js +1 -1
  1038. package/dist/index.es124.js +1 -1
  1039. package/dist/index.es125.js +1 -1
  1040. package/dist/index.es128.js +2 -2
  1041. package/dist/index.es129.js +2 -2
  1042. package/dist/index.es13.js +8 -8
  1043. package/dist/index.es13.js.map +1 -1
  1044. package/dist/index.es130.js +1 -1
  1045. package/dist/index.es134.js +2 -2
  1046. package/dist/index.es137.js +1 -1
  1047. package/dist/index.es141.js +1 -1
  1048. package/dist/index.es144.js +1 -1
  1049. package/dist/index.es15.js +1 -1
  1050. package/dist/index.es152.js +1 -1
  1051. package/dist/index.es153.js +1 -1
  1052. package/dist/index.es154.js +1 -1
  1053. package/dist/index.es155.js +2 -2
  1054. package/dist/index.es156.js +1 -1
  1055. package/dist/index.es157.js +1 -1
  1056. package/dist/index.es158.js +1 -1
  1057. package/dist/index.es16.js +4 -4
  1058. package/dist/index.es160.js +2 -2
  1059. package/dist/index.es161.js +2 -2
  1060. package/dist/index.es162.js +1 -1
  1061. package/dist/index.es163.js +1 -1
  1062. package/dist/index.es164.js +1 -1
  1063. package/dist/index.es165.js +1 -1
  1064. package/dist/index.es166.js +2 -2
  1065. package/dist/index.es167.js +2 -2
  1066. package/dist/index.es168.js +1 -1
  1067. package/dist/index.es17.js +3 -3
  1068. package/dist/index.es171.js +2 -2
  1069. package/dist/index.es172.js +2 -2
  1070. package/dist/index.es174.js +2 -2
  1071. package/dist/index.es175.js +1 -1
  1072. package/dist/index.es176.js +2 -2
  1073. package/dist/index.es177.js +1 -1
  1074. package/dist/index.es178.js +2 -2
  1075. package/dist/index.es179.js +1 -1
  1076. package/dist/index.es18.js +3 -3
  1077. package/dist/index.es180.js +1 -1
  1078. package/dist/index.es181.js +1 -1
  1079. package/dist/index.es187.js +1 -1
  1080. package/dist/index.es188.js +2 -2
  1081. package/dist/index.es189.js +1 -1
  1082. package/dist/index.es19.js +1 -1
  1083. package/dist/index.es190.js +1 -1
  1084. package/dist/index.es191.js +1 -1
  1085. package/dist/index.es194.js +36 -147
  1086. package/dist/index.es194.js.map +1 -1
  1087. package/dist/index.es195.js +476 -17
  1088. package/dist/index.es195.js.map +1 -1
  1089. package/dist/index.es196.js +164 -6
  1090. package/dist/index.es196.js.map +1 -1
  1091. package/dist/index.es197.js +72 -5
  1092. package/dist/index.es197.js.map +1 -1
  1093. package/dist/index.es198.js +52 -3
  1094. package/dist/index.es198.js.map +1 -1
  1095. package/dist/index.es199.js +382 -3
  1096. package/dist/index.es199.js.map +1 -1
  1097. package/dist/index.es20.js +1 -1
  1098. package/dist/index.es200.js +18 -37
  1099. package/dist/index.es200.js.map +1 -1
  1100. package/dist/index.es201.js +126 -3
  1101. package/dist/index.es201.js.map +1 -1
  1102. package/dist/index.es202.js +354 -22
  1103. package/dist/index.es202.js.map +1 -1
  1104. package/dist/index.es203.js +220 -2
  1105. package/dist/index.es203.js.map +1 -1
  1106. package/dist/index.es204.js +25 -3
  1107. package/dist/index.es204.js.map +1 -1
  1108. package/dist/index.es205.js +61 -2
  1109. package/dist/index.es205.js.map +1 -1
  1110. package/dist/index.es206.js +103 -28
  1111. package/dist/index.es206.js.map +1 -1
  1112. package/dist/index.es207.js +29 -13
  1113. package/dist/index.es207.js.map +1 -1
  1114. package/dist/index.es208.js +29 -14
  1115. package/dist/index.es208.js.map +1 -1
  1116. package/dist/index.es209.js +96 -8
  1117. package/dist/index.es209.js.map +1 -1
  1118. package/dist/index.es21.js +1 -1
  1119. package/dist/index.es210.js +35 -243
  1120. package/dist/index.es210.js.map +1 -1
  1121. package/dist/index.es211.js +18 -43
  1122. package/dist/index.es211.js.map +1 -1
  1123. package/dist/index.es212.js +53 -3
  1124. package/dist/index.es212.js.map +1 -1
  1125. package/dist/index.es213.js +7 -11
  1126. package/dist/index.es213.js.map +1 -1
  1127. package/dist/index.es214.js +525 -9
  1128. package/dist/index.es214.js.map +1 -1
  1129. package/dist/index.es215.js +24 -29
  1130. package/dist/index.es215.js.map +1 -1
  1131. package/dist/index.es216.js +29 -12
  1132. package/dist/index.es216.js.map +1 -1
  1133. package/dist/index.es217.js +242 -4
  1134. package/dist/index.es217.js.map +1 -1
  1135. package/dist/index.es218.js +41 -6
  1136. package/dist/index.es218.js.map +1 -1
  1137. package/dist/index.es219.js +3 -5
  1138. package/dist/index.es219.js.map +1 -1
  1139. package/dist/index.es22.js +1 -1
  1140. package/dist/index.es220.js +11 -4
  1141. package/dist/index.es220.js.map +1 -1
  1142. package/dist/index.es221.js +11 -3
  1143. package/dist/index.es221.js.map +1 -1
  1144. package/dist/index.es222.js +31 -3
  1145. package/dist/index.es222.js.map +1 -1
  1146. package/dist/index.es223.js +13 -8
  1147. package/dist/index.es223.js.map +1 -1
  1148. package/dist/index.es224.js +4 -18
  1149. package/dist/index.es224.js.map +1 -1
  1150. package/dist/index.es225.js +6 -19
  1151. package/dist/index.es225.js.map +1 -1
  1152. package/dist/index.es226.js +4 -12
  1153. package/dist/index.es226.js.map +1 -1
  1154. package/dist/index.es227.js +3 -14
  1155. package/dist/index.es227.js.map +1 -1
  1156. package/dist/index.es228.js +3 -6
  1157. package/dist/index.es228.js.map +1 -1
  1158. package/dist/index.es229.js +3 -8
  1159. package/dist/index.es229.js.map +1 -1
  1160. package/dist/index.es23.js +1 -1
  1161. package/dist/index.es230.js +8 -6
  1162. package/dist/index.es230.js.map +1 -1
  1163. package/dist/index.es231.js +17 -20
  1164. package/dist/index.es231.js.map +1 -1
  1165. package/dist/index.es232.js +19 -8
  1166. package/dist/index.es232.js.map +1 -1
  1167. package/dist/index.es233.js +13 -9
  1168. package/dist/index.es233.js.map +1 -1
  1169. package/dist/index.es234.js +15 -4
  1170. package/dist/index.es234.js.map +1 -1
  1171. package/dist/index.es235.js +5 -10
  1172. package/dist/index.es235.js.map +1 -1
  1173. package/dist/index.es236.js +7 -7
  1174. package/dist/index.es236.js.map +1 -1
  1175. package/dist/index.es237.js +6 -20
  1176. package/dist/index.es237.js.map +1 -1
  1177. package/dist/index.es238.js +20 -9
  1178. package/dist/index.es238.js.map +1 -1
  1179. package/dist/index.es239.js +8 -16
  1180. package/dist/index.es239.js.map +1 -1
  1181. package/dist/index.es24.js +1 -1
  1182. package/dist/index.es240.js +9 -4
  1183. package/dist/index.es240.js.map +1 -1
  1184. package/dist/index.es241.js +3 -17
  1185. package/dist/index.es241.js.map +1 -1
  1186. package/dist/index.es242.js +10 -11
  1187. package/dist/index.es242.js.map +1 -1
  1188. package/dist/index.es243.js +6 -2
  1189. package/dist/index.es243.js.map +1 -1
  1190. package/dist/index.es244.js +20 -4
  1191. package/dist/index.es244.js.map +1 -1
  1192. package/dist/index.es245.js +10 -7506
  1193. package/dist/index.es245.js.map +1 -1
  1194. package/dist/index.es246.js +18 -2
  1195. package/dist/index.es246.js.map +1 -1
  1196. package/dist/index.es247.js +4 -21
  1197. package/dist/index.es247.js.map +1 -1
  1198. package/dist/index.es248.js +16 -21
  1199. package/dist/index.es248.js.map +1 -1
  1200. package/dist/index.es249.js +10 -6
  1201. package/dist/index.es249.js.map +1 -1
  1202. package/dist/index.es25.js +1 -1
  1203. package/dist/index.es250.js +3 -5
  1204. package/dist/index.es250.js.map +1 -1
  1205. package/dist/index.es251.js +5 -3
  1206. package/dist/index.es251.js.map +1 -1
  1207. package/dist/index.es252.js +199 -21
  1208. package/dist/index.es252.js.map +1 -1
  1209. package/dist/index.es253.js +8 -16
  1210. package/dist/index.es253.js.map +1 -1
  1211. package/dist/index.es254.js +6 -30
  1212. package/dist/index.es254.js.map +1 -1
  1213. package/dist/index.es255.js +5 -22
  1214. package/dist/index.es255.js.map +1 -1
  1215. package/dist/index.es256.js +3 -77
  1216. package/dist/index.es256.js.map +1 -1
  1217. package/dist/index.es257.js +3 -23
  1218. package/dist/index.es257.js.map +1 -1
  1219. package/dist/index.es258.js +34 -39
  1220. package/dist/index.es258.js.map +1 -1
  1221. package/dist/index.es259.js +3 -52
  1222. package/dist/index.es259.js.map +1 -1
  1223. package/dist/index.es26.js +2 -2
  1224. package/dist/index.es260.js +22 -7
  1225. package/dist/index.es260.js.map +1 -1
  1226. package/dist/index.es261.js +2 -23
  1227. package/dist/index.es261.js.map +1 -1
  1228. package/dist/index.es262.js +3 -68
  1229. package/dist/index.es262.js.map +1 -1
  1230. package/dist/index.es263.js +2 -45
  1231. package/dist/index.es263.js.map +1 -1
  1232. package/dist/index.es264.js +30 -63
  1233. package/dist/index.es264.js.map +1 -1
  1234. package/dist/index.es265.js +13 -9
  1235. package/dist/index.es265.js.map +1 -1
  1236. package/dist/index.es266.js +12 -2
  1237. package/dist/index.es266.js.map +1 -1
  1238. package/dist/index.es267.js +8 -12
  1239. package/dist/index.es267.js.map +1 -1
  1240. package/dist/index.es268.js +57 -55
  1241. package/dist/index.es268.js.map +1 -1
  1242. package/dist/index.es269.js +58 -45
  1243. package/dist/index.es269.js.map +1 -1
  1244. package/dist/index.es27.js +2 -2
  1245. package/dist/index.es270.js +3 -16
  1246. package/dist/index.es270.js.map +1 -1
  1247. package/dist/index.es271.js +7 -2
  1248. package/dist/index.es271.js.map +1 -1
  1249. package/dist/index.es272.js +5 -4
  1250. package/dist/index.es272.js.map +1 -1
  1251. package/dist/index.es273.js +18 -67
  1252. package/dist/index.es273.js.map +1 -1
  1253. package/dist/index.es274.js +22 -3
  1254. package/dist/index.es274.js.map +1 -1
  1255. package/dist/index.es275.js +268 -21
  1256. package/dist/index.es275.js.map +1 -1
  1257. package/dist/index.es276.js +7510 -0
  1258. package/dist/index.es276.js.map +1 -0
  1259. package/dist/index.es277.js +5 -0
  1260. package/dist/index.es277.js.map +1 -0
  1261. package/dist/index.es278.js +26 -0
  1262. package/dist/index.es278.js.map +1 -0
  1263. package/dist/index.es279.js +24 -0
  1264. package/dist/index.es279.js.map +1 -0
  1265. package/dist/index.es280.js +80 -0
  1266. package/dist/index.es280.js.map +1 -0
  1267. package/dist/index.es281.js +20 -0
  1268. package/dist/index.es281.js.map +1 -0
  1269. package/dist/index.es282.js +30 -0
  1270. package/dist/index.es282.js.map +1 -0
  1271. package/dist/index.es283.js +218 -0
  1272. package/dist/index.es283.js.map +1 -0
  1273. package/dist/index.es284.js +204 -0
  1274. package/dist/index.es284.js.map +1 -0
  1275. package/dist/index.es285.js +9 -0
  1276. package/dist/index.es285.js.map +1 -0
  1277. package/dist/index.es286.js +246 -0
  1278. package/dist/index.es286.js.map +1 -0
  1279. package/dist/index.es287.js +89 -0
  1280. package/dist/index.es287.js.map +1 -0
  1281. package/dist/index.es288.js +565 -0
  1282. package/dist/index.es288.js.map +1 -0
  1283. package/dist/index.es289.js +62 -0
  1284. package/dist/index.es289.js.map +1 -0
  1285. package/dist/index.es29.js +2 -2
  1286. package/dist/index.es290.js +418 -0
  1287. package/dist/index.es290.js.map +1 -0
  1288. package/dist/index.es291.js +17 -0
  1289. package/dist/index.es291.js.map +1 -0
  1290. package/dist/index.es292.js +107 -0
  1291. package/dist/index.es292.js.map +1 -0
  1292. package/dist/index.es293.js +19 -0
  1293. package/dist/index.es293.js.map +1 -0
  1294. package/dist/index.es294.js +33 -0
  1295. package/dist/index.es294.js.map +1 -0
  1296. package/dist/index.es295.js +157 -0
  1297. package/dist/index.es295.js.map +1 -0
  1298. package/dist/index.es296.js +21 -0
  1299. package/dist/index.es296.js.map +1 -0
  1300. package/dist/index.es297.js +17 -0
  1301. package/dist/index.es297.js.map +1 -0
  1302. package/dist/index.es298.js +354 -0
  1303. package/dist/index.es298.js.map +1 -0
  1304. package/dist/index.es299.js +67 -0
  1305. package/dist/index.es299.js.map +1 -0
  1306. package/dist/index.es300.js +50 -0
  1307. package/dist/index.es300.js.map +1 -0
  1308. package/dist/index.es301.js +215 -0
  1309. package/dist/index.es301.js.map +1 -0
  1310. package/dist/index.es302.js +65 -0
  1311. package/dist/index.es302.js.map +1 -0
  1312. package/dist/index.es303.js +63 -0
  1313. package/dist/index.es303.js.map +1 -0
  1314. package/dist/index.es304.js +49 -0
  1315. package/dist/index.es304.js.map +1 -0
  1316. package/dist/index.es305.js +55 -0
  1317. package/dist/index.es305.js.map +1 -0
  1318. package/dist/index.es306.js +329 -0
  1319. package/dist/index.es306.js.map +1 -0
  1320. package/dist/index.es307.js +314 -0
  1321. package/dist/index.es307.js.map +1 -0
  1322. package/dist/index.es308.js +259 -0
  1323. package/dist/index.es308.js.map +1 -0
  1324. package/dist/index.es309.js +60 -0
  1325. package/dist/index.es309.js.map +1 -0
  1326. package/dist/index.es310.js +204 -0
  1327. package/dist/index.es310.js.map +1 -0
  1328. package/dist/index.es311.js +30 -0
  1329. package/dist/index.es311.js.map +1 -0
  1330. package/dist/index.es312.js +132 -0
  1331. package/dist/index.es312.js.map +1 -0
  1332. package/dist/index.es313.js +20 -0
  1333. package/dist/index.es313.js.map +1 -0
  1334. package/dist/index.es314.js +8 -0
  1335. package/dist/index.es314.js.map +1 -0
  1336. package/dist/index.es315.js +69 -0
  1337. package/dist/index.es315.js.map +1 -0
  1338. package/dist/index.es316.js +164 -0
  1339. package/dist/index.es316.js.map +1 -0
  1340. package/dist/index.es317.js +142 -0
  1341. package/dist/index.es317.js.map +1 -0
  1342. package/dist/index.es318.js +28 -0
  1343. package/dist/index.es318.js.map +1 -0
  1344. package/dist/index.es319.js +20 -0
  1345. package/dist/index.es319.js.map +1 -0
  1346. package/dist/index.es32.js +2 -2
  1347. package/dist/index.es320.js +34 -0
  1348. package/dist/index.es320.js.map +1 -0
  1349. package/dist/index.es321.js +25 -0
  1350. package/dist/index.es321.js.map +1 -0
  1351. package/dist/index.es322.js +78 -0
  1352. package/dist/index.es322.js.map +1 -0
  1353. package/dist/index.es323.js +24 -0
  1354. package/dist/index.es323.js.map +1 -0
  1355. package/dist/index.es324.js +44 -0
  1356. package/dist/index.es324.js.map +1 -0
  1357. package/dist/index.es325.js +53 -0
  1358. package/dist/index.es325.js.map +1 -0
  1359. package/dist/index.es326.js +11 -0
  1360. package/dist/index.es326.js.map +1 -0
  1361. package/dist/index.es327.js +24 -0
  1362. package/dist/index.es327.js.map +1 -0
  1363. package/dist/index.es328.js +69 -0
  1364. package/dist/index.es328.js.map +1 -0
  1365. package/dist/index.es329.js +46 -0
  1366. package/dist/index.es329.js.map +1 -0
  1367. package/dist/index.es330.js +67 -0
  1368. package/dist/index.es330.js.map +1 -0
  1369. package/dist/index.es331.js +12 -0
  1370. package/dist/index.es331.js.map +1 -0
  1371. package/dist/index.es332.js +7 -0
  1372. package/dist/index.es332.js.map +1 -0
  1373. package/dist/index.es333.js +16 -0
  1374. package/dist/index.es333.js.map +1 -0
  1375. package/dist/index.es334.js +63 -0
  1376. package/dist/index.es334.js.map +1 -0
  1377. package/dist/index.es335.js +53 -0
  1378. package/dist/index.es335.js.map +1 -0
  1379. package/dist/index.es336.js +251 -0
  1380. package/dist/index.es336.js.map +1 -0
  1381. package/dist/index.es337.js +65 -0
  1382. package/dist/index.es337.js.map +1 -0
  1383. package/dist/index.es338.js +47 -0
  1384. package/dist/index.es338.js.map +1 -0
  1385. package/dist/index.es339.js +25 -0
  1386. package/dist/index.es339.js.map +1 -0
  1387. package/dist/index.es34.js +2 -2
  1388. package/dist/index.es340.js +11 -0
  1389. package/dist/index.es340.js.map +1 -0
  1390. package/dist/index.es341.js +40 -0
  1391. package/dist/index.es341.js.map +1 -0
  1392. package/dist/index.es342.js +132 -0
  1393. package/dist/index.es342.js.map +1 -0
  1394. package/dist/index.es343.js +48 -0
  1395. package/dist/index.es343.js.map +1 -0
  1396. package/dist/index.es344.js +223 -0
  1397. package/dist/index.es344.js.map +1 -0
  1398. package/dist/index.es345.js +40 -0
  1399. package/dist/index.es345.js.map +1 -0
  1400. package/dist/index.es346.js +30 -0
  1401. package/dist/index.es346.js.map +1 -0
  1402. package/dist/index.es347.js +7 -0
  1403. package/dist/index.es347.js.map +1 -0
  1404. package/dist/index.es348.js +286 -0
  1405. package/dist/index.es348.js.map +1 -0
  1406. package/dist/index.es349.js +63 -0
  1407. package/dist/index.es349.js.map +1 -0
  1408. package/dist/index.es35.js +2 -2
  1409. package/dist/index.es350.js +54 -0
  1410. package/dist/index.es350.js.map +1 -0
  1411. package/dist/index.es351.js +6 -0
  1412. package/dist/index.es351.js.map +1 -0
  1413. package/dist/index.es352.js +73 -0
  1414. package/dist/index.es352.js.map +1 -0
  1415. package/dist/index.es353.js +8 -0
  1416. package/dist/index.es353.js.map +1 -0
  1417. package/dist/index.es354.js +19 -0
  1418. package/dist/index.es354.js.map +1 -0
  1419. package/dist/index.es355.js +31 -0
  1420. package/dist/index.es355.js.map +1 -0
  1421. package/dist/index.es356.js +61 -0
  1422. package/dist/index.es356.js.map +1 -0
  1423. package/dist/index.es357.js +62 -0
  1424. package/dist/index.es357.js.map +1 -0
  1425. package/dist/index.es358.js +87 -0
  1426. package/dist/index.es358.js.map +1 -0
  1427. package/dist/index.es359.js +26 -0
  1428. package/dist/index.es359.js.map +1 -0
  1429. package/dist/index.es360.js +48 -0
  1430. package/dist/index.es360.js.map +1 -0
  1431. package/dist/index.es361.js +13 -0
  1432. package/dist/index.es361.js.map +1 -0
  1433. package/dist/index.es362.js +35 -0
  1434. package/dist/index.es362.js.map +1 -0
  1435. package/dist/index.es363.js +31 -0
  1436. package/dist/index.es363.js.map +1 -0
  1437. package/dist/index.es364.js +1360 -0
  1438. package/dist/index.es364.js.map +1 -0
  1439. package/dist/index.es365.js +9 -0
  1440. package/dist/index.es365.js.map +1 -0
  1441. package/dist/index.es366.js +12 -0
  1442. package/dist/index.es366.js.map +1 -0
  1443. package/dist/index.es367.js +10 -0
  1444. package/dist/index.es367.js.map +1 -0
  1445. package/dist/index.es368.js +120 -0
  1446. package/dist/index.es368.js.map +1 -0
  1447. package/dist/index.es369.js +105 -0
  1448. package/dist/index.es369.js.map +1 -0
  1449. package/dist/index.es370.js +23 -0
  1450. package/dist/index.es370.js.map +1 -0
  1451. package/dist/index.es371.js +95 -0
  1452. package/dist/index.es371.js.map +1 -0
  1453. package/dist/index.es372.js +68 -0
  1454. package/dist/index.es372.js.map +1 -0
  1455. package/dist/index.es373.js +16 -0
  1456. package/dist/index.es373.js.map +1 -0
  1457. package/dist/index.es374.js +61 -0
  1458. package/dist/index.es374.js.map +1 -0
  1459. package/dist/index.es375.js +55 -0
  1460. package/dist/index.es375.js.map +1 -0
  1461. package/dist/index.es376.js +23 -0
  1462. package/dist/index.es376.js.map +1 -0
  1463. package/dist/index.es377.js +34 -0
  1464. package/dist/index.es377.js.map +1 -0
  1465. package/dist/index.es378.js +47 -0
  1466. package/dist/index.es378.js.map +1 -0
  1467. package/dist/index.es379.js +35 -0
  1468. package/dist/index.es379.js.map +1 -0
  1469. package/dist/index.es38.js +1 -1
  1470. package/dist/index.es380.js +59 -0
  1471. package/dist/index.es380.js.map +1 -0
  1472. package/dist/index.es381.js +62 -0
  1473. package/dist/index.es381.js.map +1 -0
  1474. package/dist/index.es382.js +32 -0
  1475. package/dist/index.es382.js.map +1 -0
  1476. package/dist/index.es383.js +53 -0
  1477. package/dist/index.es383.js.map +1 -0
  1478. package/dist/index.es384.js +128 -0
  1479. package/dist/index.es384.js.map +1 -0
  1480. package/dist/index.es385.js +44 -0
  1481. package/dist/index.es385.js.map +1 -0
  1482. package/dist/index.es386.js +29 -0
  1483. package/dist/index.es386.js.map +1 -0
  1484. package/dist/index.es387.js +37 -0
  1485. package/dist/index.es387.js.map +1 -0
  1486. package/dist/index.es388.js +28 -0
  1487. package/dist/index.es388.js.map +1 -0
  1488. package/dist/index.es389.js +69 -0
  1489. package/dist/index.es389.js.map +1 -0
  1490. package/dist/index.es39.js +1 -1
  1491. package/dist/index.es390.js +49 -0
  1492. package/dist/index.es390.js.map +1 -0
  1493. package/dist/index.es391.js +27 -0
  1494. package/dist/index.es391.js.map +1 -0
  1495. package/dist/index.es392.js +48 -0
  1496. package/dist/index.es392.js.map +1 -0
  1497. package/dist/index.es393.js +19 -0
  1498. package/dist/index.es393.js.map +1 -0
  1499. package/dist/index.es394.js +38 -0
  1500. package/dist/index.es394.js.map +1 -0
  1501. package/dist/index.es395.js +49 -0
  1502. package/dist/index.es395.js.map +1 -0
  1503. package/dist/index.es396.js +35 -0
  1504. package/dist/index.es396.js.map +1 -0
  1505. package/dist/index.es397.js +37 -0
  1506. package/dist/index.es397.js.map +1 -0
  1507. package/dist/index.es398.js +29 -0
  1508. package/dist/index.es398.js.map +1 -0
  1509. package/dist/index.es399.js +68 -0
  1510. package/dist/index.es399.js.map +1 -0
  1511. package/dist/index.es40.js +2 -2
  1512. package/dist/index.es400.js +105 -0
  1513. package/dist/index.es400.js.map +1 -0
  1514. package/dist/index.es401.js +27 -0
  1515. package/dist/index.es401.js.map +1 -0
  1516. package/dist/index.es402.js +111 -0
  1517. package/dist/index.es402.js.map +1 -0
  1518. package/dist/index.es403.js +50 -0
  1519. package/dist/index.es403.js.map +1 -0
  1520. package/dist/index.es404.js +36 -0
  1521. package/dist/index.es404.js.map +1 -0
  1522. package/dist/index.es405.js +56 -0
  1523. package/dist/index.es405.js.map +1 -0
  1524. package/dist/index.es406.js +174 -0
  1525. package/dist/index.es406.js.map +1 -0
  1526. package/dist/index.es407.js +26 -0
  1527. package/dist/index.es407.js.map +1 -0
  1528. package/dist/index.es408.js +19 -0
  1529. package/dist/index.es408.js.map +1 -0
  1530. package/dist/index.es409.js +11 -0
  1531. package/dist/index.es409.js.map +1 -0
  1532. package/dist/index.es410.js +44 -0
  1533. package/dist/index.es410.js.map +1 -0
  1534. package/dist/index.es411.js +80 -0
  1535. package/dist/index.es411.js.map +1 -0
  1536. package/dist/index.es412.js +108 -0
  1537. package/dist/index.es412.js.map +1 -0
  1538. package/dist/index.es413.js +34 -0
  1539. package/dist/index.es413.js.map +1 -0
  1540. package/dist/index.es414.js +25 -0
  1541. package/dist/index.es414.js.map +1 -0
  1542. package/dist/index.es415.js +14 -0
  1543. package/dist/index.es415.js.map +1 -0
  1544. package/dist/index.es416.js +721 -0
  1545. package/dist/index.es416.js.map +1 -0
  1546. package/dist/index.es417.js +206 -0
  1547. package/dist/index.es417.js.map +1 -0
  1548. package/dist/index.es418.js +45 -0
  1549. package/dist/index.es418.js.map +1 -0
  1550. package/dist/index.es419.js +18 -0
  1551. package/dist/index.es419.js.map +1 -0
  1552. package/dist/index.es42.js +2 -2
  1553. package/dist/index.es420.js +11 -0
  1554. package/dist/index.es420.js.map +1 -0
  1555. package/dist/index.es421.js +64 -0
  1556. package/dist/index.es421.js.map +1 -0
  1557. package/dist/index.es422.js +50 -0
  1558. package/dist/index.es422.js.map +1 -0
  1559. package/dist/index.es423.js +45 -0
  1560. package/dist/index.es423.js.map +1 -0
  1561. package/dist/index.es424.js +92 -0
  1562. package/dist/index.es424.js.map +1 -0
  1563. package/dist/index.es425.js +89 -0
  1564. package/dist/index.es425.js.map +1 -0
  1565. package/dist/index.es426.js +57 -0
  1566. package/dist/index.es426.js.map +1 -0
  1567. package/dist/index.es427.js +61 -0
  1568. package/dist/index.es427.js.map +1 -0
  1569. package/dist/index.es428.js +58 -0
  1570. package/dist/index.es428.js.map +1 -0
  1571. package/dist/index.es429.js +147 -0
  1572. package/dist/index.es429.js.map +1 -0
  1573. package/dist/index.es43.js +2 -2
  1574. package/dist/index.es430.js +58 -0
  1575. package/dist/index.es430.js.map +1 -0
  1576. package/dist/index.es431.js +85 -0
  1577. package/dist/index.es431.js.map +1 -0
  1578. package/dist/index.es432.js +9 -0
  1579. package/dist/index.es432.js.map +1 -0
  1580. package/dist/index.es433.js +56 -0
  1581. package/dist/index.es433.js.map +1 -0
  1582. package/dist/index.es434.js +55 -0
  1583. package/dist/index.es434.js.map +1 -0
  1584. package/dist/index.es435.js +8 -0
  1585. package/dist/index.es435.js.map +1 -0
  1586. package/dist/index.es436.js +8 -0
  1587. package/dist/index.es436.js.map +1 -0
  1588. package/dist/index.es437.js +23 -0
  1589. package/dist/index.es437.js.map +1 -0
  1590. package/dist/index.es438.js +7 -0
  1591. package/dist/index.es438.js.map +1 -0
  1592. package/dist/index.es439.js +11 -0
  1593. package/dist/index.es439.js.map +1 -0
  1594. package/dist/index.es44.js +2 -2
  1595. package/dist/index.es440.js +10 -0
  1596. package/dist/index.es440.js.map +1 -0
  1597. package/dist/index.es441.js +7 -0
  1598. package/dist/index.es441.js.map +1 -0
  1599. package/dist/index.es442.js +5 -0
  1600. package/dist/index.es442.js.map +1 -0
  1601. package/dist/index.es443.js +9 -0
  1602. package/dist/index.es443.js.map +1 -0
  1603. package/dist/index.es444.js +13 -0
  1604. package/dist/index.es444.js.map +1 -0
  1605. package/dist/index.es445.js +8 -0
  1606. package/dist/index.es445.js.map +1 -0
  1607. package/dist/index.es446.js +7 -0
  1608. package/dist/index.es446.js.map +1 -0
  1609. package/dist/index.es447.js +6 -0
  1610. package/dist/index.es447.js.map +1 -0
  1611. package/dist/index.es448.js +7 -0
  1612. package/dist/index.es448.js.map +1 -0
  1613. package/dist/index.es449.js +9 -0
  1614. package/dist/index.es449.js.map +1 -0
  1615. package/dist/index.es450.js +11 -0
  1616. package/dist/index.es450.js.map +1 -0
  1617. package/dist/index.es451.js +8 -0
  1618. package/dist/index.es451.js.map +1 -0
  1619. package/dist/index.es452.js +10 -0
  1620. package/dist/index.es452.js.map +1 -0
  1621. package/dist/index.es453.js +9 -0
  1622. package/dist/index.es453.js.map +1 -0
  1623. package/dist/index.es454.js +12 -0
  1624. package/dist/index.es454.js.map +1 -0
  1625. package/dist/index.es455.js +8 -0
  1626. package/dist/index.es455.js.map +1 -0
  1627. package/dist/index.es456.js +10 -0
  1628. package/dist/index.es456.js.map +1 -0
  1629. package/dist/index.es457.js +10 -0
  1630. package/dist/index.es457.js.map +1 -0
  1631. package/dist/index.es458.js +8 -0
  1632. package/dist/index.es458.js.map +1 -0
  1633. package/dist/index.es459.js +13 -0
  1634. package/dist/index.es459.js.map +1 -0
  1635. package/dist/index.es46.js +1 -1
  1636. package/dist/index.es460.js +10 -0
  1637. package/dist/index.es460.js.map +1 -0
  1638. package/dist/index.es461.js +21 -0
  1639. package/dist/index.es461.js.map +1 -0
  1640. package/dist/index.es462.js +15 -0
  1641. package/dist/index.es462.js.map +1 -0
  1642. package/dist/index.es463.js +7 -0
  1643. package/dist/index.es463.js.map +1 -0
  1644. package/dist/index.es464.js +9 -0
  1645. package/dist/index.es464.js.map +1 -0
  1646. package/dist/index.es465.js +261 -0
  1647. package/dist/index.es465.js.map +1 -0
  1648. package/dist/index.es466.js +108 -0
  1649. package/dist/index.es466.js.map +1 -0
  1650. package/dist/index.es467.js +7 -0
  1651. package/dist/index.es467.js.map +1 -0
  1652. package/dist/index.es468.js +28 -0
  1653. package/dist/index.es468.js.map +1 -0
  1654. package/dist/index.es469.js +158 -0
  1655. package/dist/index.es469.js.map +1 -0
  1656. package/dist/index.es47.js +2 -2
  1657. package/dist/index.es470.js +160 -0
  1658. package/dist/index.es470.js.map +1 -0
  1659. package/dist/index.es471.js +50 -0
  1660. package/dist/index.es471.js.map +1 -0
  1661. package/dist/index.es472.js +20 -0
  1662. package/dist/index.es472.js.map +1 -0
  1663. package/dist/index.es473.js +227 -0
  1664. package/dist/index.es473.js.map +1 -0
  1665. package/dist/index.es474.js +42 -0
  1666. package/dist/index.es474.js.map +1 -0
  1667. package/dist/index.es475.js +18 -0
  1668. package/dist/index.es475.js.map +1 -0
  1669. package/dist/index.es476.js +26 -0
  1670. package/dist/index.es476.js.map +1 -0
  1671. package/dist/index.es477.js +12 -0
  1672. package/dist/index.es477.js.map +1 -0
  1673. package/dist/index.es478.js +8 -0
  1674. package/dist/index.es478.js.map +1 -0
  1675. package/dist/index.es479.js +118 -0
  1676. package/dist/index.es479.js.map +1 -0
  1677. package/dist/index.es48.js +2 -2
  1678. package/dist/index.es480.js +90 -0
  1679. package/dist/index.es480.js.map +1 -0
  1680. package/dist/index.es481.js +78 -0
  1681. package/dist/index.es481.js.map +1 -0
  1682. package/dist/index.es482.js +13 -0
  1683. package/dist/index.es482.js.map +1 -0
  1684. package/dist/index.es483.js +83 -0
  1685. package/dist/index.es483.js.map +1 -0
  1686. package/dist/index.es484.js +9 -0
  1687. package/dist/index.es484.js.map +1 -0
  1688. package/dist/index.es485.js +19 -0
  1689. package/dist/index.es485.js.map +1 -0
  1690. package/dist/index.es486.js +8 -0
  1691. package/dist/index.es486.js.map +1 -0
  1692. package/dist/index.es487.js +11 -0
  1693. package/dist/index.es487.js.map +1 -0
  1694. package/dist/index.es488.js +7 -0
  1695. package/dist/index.es488.js.map +1 -0
  1696. package/dist/index.es489.js +15 -0
  1697. package/dist/index.es489.js.map +1 -0
  1698. package/dist/index.es490.js +7 -0
  1699. package/dist/index.es490.js.map +1 -0
  1700. package/dist/index.es491.js +8 -0
  1701. package/dist/index.es491.js.map +1 -0
  1702. package/dist/index.es492.js +9 -0
  1703. package/dist/index.es492.js.map +1 -0
  1704. package/dist/index.es493.js +10 -0
  1705. package/dist/index.es493.js.map +1 -0
  1706. package/dist/index.es494.js +9 -0
  1707. package/dist/index.es494.js.map +1 -0
  1708. package/dist/index.es495.js +9 -0
  1709. package/dist/index.es495.js.map +1 -0
  1710. package/dist/index.es496.js +11 -0
  1711. package/dist/index.es496.js.map +1 -0
  1712. package/dist/index.es497.js +14 -0
  1713. package/dist/index.es497.js.map +1 -0
  1714. package/dist/index.es498.js +28 -0
  1715. package/dist/index.es498.js.map +1 -0
  1716. package/dist/index.es499.js +8 -0
  1717. package/dist/index.es499.js.map +1 -0
  1718. package/dist/index.es50.js +1 -1
  1719. package/dist/index.es500.js +9 -0
  1720. package/dist/index.es500.js.map +1 -0
  1721. package/dist/index.es501.js +11 -0
  1722. package/dist/index.es501.js.map +1 -0
  1723. package/dist/index.es502.js +7 -0
  1724. package/dist/index.es502.js.map +1 -0
  1725. package/dist/index.es503.js +7 -0
  1726. package/dist/index.es503.js.map +1 -0
  1727. package/dist/index.es504.js +7 -0
  1728. package/dist/index.es504.js.map +1 -0
  1729. package/dist/index.es505.js +7 -0
  1730. package/dist/index.es505.js.map +1 -0
  1731. package/dist/index.es506.js +7 -0
  1732. package/dist/index.es506.js.map +1 -0
  1733. package/dist/index.es507.js +8 -0
  1734. package/dist/index.es507.js.map +1 -0
  1735. package/dist/index.es508.js +9 -0
  1736. package/dist/index.es508.js.map +1 -0
  1737. package/dist/index.es509.js +12 -0
  1738. package/dist/index.es509.js.map +1 -0
  1739. package/dist/index.es51.js +1 -1
  1740. package/dist/index.es510.js +8 -0
  1741. package/dist/index.es510.js.map +1 -0
  1742. package/dist/index.es511.js +9 -0
  1743. package/dist/index.es511.js.map +1 -0
  1744. package/dist/index.es512.js +8 -0
  1745. package/dist/index.es512.js.map +1 -0
  1746. package/dist/index.es513.js +7 -0
  1747. package/dist/index.es513.js.map +1 -0
  1748. package/dist/index.es514.js +14 -0
  1749. package/dist/index.es514.js.map +1 -0
  1750. package/dist/index.es515.js +34 -0
  1751. package/dist/index.es515.js.map +1 -0
  1752. package/dist/index.es516.js +9 -0
  1753. package/dist/index.es516.js.map +1 -0
  1754. package/dist/index.es517.js +19 -0
  1755. package/dist/index.es517.js.map +1 -0
  1756. package/dist/index.es518.js +9 -0
  1757. package/dist/index.es518.js.map +1 -0
  1758. package/dist/index.es519.js +11 -0
  1759. package/dist/index.es519.js.map +1 -0
  1760. package/dist/index.es52.js +1 -1
  1761. package/dist/index.es520.js +10 -0
  1762. package/dist/index.es520.js.map +1 -0
  1763. package/dist/index.es521.js +10 -0
  1764. package/dist/index.es521.js.map +1 -0
  1765. package/dist/index.es522.js +29 -0
  1766. package/dist/index.es522.js.map +1 -0
  1767. package/dist/index.es523.js +9 -0
  1768. package/dist/index.es523.js.map +1 -0
  1769. package/dist/index.es524.js +43 -0
  1770. package/dist/index.es524.js.map +1 -0
  1771. package/dist/index.es525.js +10 -0
  1772. package/dist/index.es525.js.map +1 -0
  1773. package/dist/index.es526.js +13 -0
  1774. package/dist/index.es526.js.map +1 -0
  1775. package/dist/index.es527.js +9 -0
  1776. package/dist/index.es527.js.map +1 -0
  1777. package/dist/index.es528.js +12 -0
  1778. package/dist/index.es528.js.map +1 -0
  1779. package/dist/index.es529.js +9 -0
  1780. package/dist/index.es529.js.map +1 -0
  1781. package/dist/index.es530.js +18 -0
  1782. package/dist/index.es530.js.map +1 -0
  1783. package/dist/index.es531.js +5 -0
  1784. package/dist/index.es531.js.map +1 -0
  1785. package/dist/index.es532.js +6 -0
  1786. package/dist/index.es532.js.map +1 -0
  1787. package/dist/index.es533.js +16 -0
  1788. package/dist/index.es533.js.map +1 -0
  1789. package/dist/index.es534.js +8 -0
  1790. package/dist/index.es534.js.map +1 -0
  1791. package/dist/index.es535.js +6 -0
  1792. package/dist/index.es535.js.map +1 -0
  1793. package/dist/index.es536.js +7 -0
  1794. package/dist/index.es536.js.map +1 -0
  1795. package/dist/index.es537.js +7 -0
  1796. package/dist/index.es537.js.map +1 -0
  1797. package/dist/index.es538.js +7 -0
  1798. package/dist/index.es538.js.map +1 -0
  1799. package/dist/index.es539.js +7 -0
  1800. package/dist/index.es539.js.map +1 -0
  1801. package/dist/index.es540.js +7 -0
  1802. package/dist/index.es540.js.map +1 -0
  1803. package/dist/index.es541.js +18 -0
  1804. package/dist/index.es541.js.map +1 -0
  1805. package/dist/index.es542.js +33 -0
  1806. package/dist/index.es542.js.map +1 -0
  1807. package/dist/index.es543.js +11 -0
  1808. package/dist/index.es543.js.map +1 -0
  1809. package/dist/index.es544.js +3029 -0
  1810. package/dist/index.es544.js.map +1 -0
  1811. package/dist/index.es545.js +5 -0
  1812. package/dist/index.es545.js.map +1 -0
  1813. package/dist/index.es546.js +17 -0
  1814. package/dist/index.es546.js.map +1 -0
  1815. package/dist/index.es547.js +12 -0
  1816. package/dist/index.es547.js.map +1 -0
  1817. package/dist/index.es548.js +9 -0
  1818. package/dist/index.es548.js.map +1 -0
  1819. package/dist/index.es549.js +9 -0
  1820. package/dist/index.es549.js.map +1 -0
  1821. package/dist/index.es550.js +6 -0
  1822. package/dist/index.es550.js.map +1 -0
  1823. package/dist/index.es551.js +9 -0
  1824. package/dist/index.es551.js.map +1 -0
  1825. package/dist/index.es552.js +21 -0
  1826. package/dist/index.es552.js.map +1 -0
  1827. package/dist/index.es553.js +14 -0
  1828. package/dist/index.es553.js.map +1 -0
  1829. package/dist/index.es554.js +9 -0
  1830. package/dist/index.es554.js.map +1 -0
  1831. package/dist/index.es555.js +8 -0
  1832. package/dist/index.es555.js.map +1 -0
  1833. package/dist/index.es556.js +8 -0
  1834. package/dist/index.es556.js.map +1 -0
  1835. package/dist/index.es557.js +9 -0
  1836. package/dist/index.es557.js.map +1 -0
  1837. package/dist/index.es558.js +10 -0
  1838. package/dist/index.es558.js.map +1 -0
  1839. package/dist/index.es559.js +10 -0
  1840. package/dist/index.es559.js.map +1 -0
  1841. package/dist/index.es56.js +2 -2
  1842. package/dist/index.es560.js +10 -0
  1843. package/dist/index.es560.js.map +1 -0
  1844. package/dist/index.es561.js +10 -0
  1845. package/dist/index.es561.js.map +1 -0
  1846. package/dist/index.es562.js +24 -0
  1847. package/dist/index.es562.js.map +1 -0
  1848. package/dist/index.es563.js +178 -0
  1849. package/dist/index.es563.js.map +1 -0
  1850. package/dist/index.es564.js +24 -0
  1851. package/dist/index.es564.js.map +1 -0
  1852. package/dist/index.es565.js +241 -0
  1853. package/dist/index.es565.js.map +1 -0
  1854. package/dist/index.es566.js +11 -0
  1855. package/dist/index.es566.js.map +1 -0
  1856. package/dist/index.es567.js +9 -0
  1857. package/dist/index.es567.js.map +1 -0
  1858. package/dist/index.es568.js +10 -0
  1859. package/dist/index.es568.js.map +1 -0
  1860. package/dist/index.es569.js +21 -0
  1861. package/dist/index.es569.js.map +1 -0
  1862. package/dist/index.es57.js +3 -3
  1863. package/dist/index.es570.js +7 -0
  1864. package/dist/index.es570.js.map +1 -0
  1865. package/dist/index.es571.js +8 -0
  1866. package/dist/index.es571.js.map +1 -0
  1867. package/dist/index.es572.js +8 -0
  1868. package/dist/index.es572.js.map +1 -0
  1869. package/dist/index.es573.js +10 -0
  1870. package/dist/index.es573.js.map +1 -0
  1871. package/dist/index.es574.js +14 -0
  1872. package/dist/index.es574.js.map +1 -0
  1873. package/dist/index.es575.js +8 -0
  1874. package/dist/index.es575.js.map +1 -0
  1875. package/dist/index.es576.js +7 -0
  1876. package/dist/index.es576.js.map +1 -0
  1877. package/dist/index.es577.js +7 -0
  1878. package/dist/index.es577.js.map +1 -0
  1879. package/dist/index.es578.js +21 -0
  1880. package/dist/index.es578.js.map +1 -0
  1881. package/dist/index.es579.js +8 -0
  1882. package/dist/index.es579.js.map +1 -0
  1883. package/dist/index.es58.js +1 -1
  1884. package/dist/index.es580.js +8 -0
  1885. package/dist/index.es580.js.map +1 -0
  1886. package/dist/index.es581.js +7 -0
  1887. package/dist/index.es581.js.map +1 -0
  1888. package/dist/index.es582.js +7 -0
  1889. package/dist/index.es582.js.map +1 -0
  1890. package/dist/index.es583.js +18 -0
  1891. package/dist/index.es583.js.map +1 -0
  1892. package/dist/index.es584.js +10 -0
  1893. package/dist/index.es584.js.map +1 -0
  1894. package/dist/index.es585.js +11 -0
  1895. package/dist/index.es585.js.map +1 -0
  1896. package/dist/index.es586.js +9 -0
  1897. package/dist/index.es586.js.map +1 -0
  1898. package/dist/index.es587.js +9 -0
  1899. package/dist/index.es587.js.map +1 -0
  1900. package/dist/index.es588.js +9 -0
  1901. package/dist/index.es588.js.map +1 -0
  1902. package/dist/index.es589.js +9 -0
  1903. package/dist/index.es589.js.map +1 -0
  1904. package/dist/index.es590.js +9 -0
  1905. package/dist/index.es590.js.map +1 -0
  1906. package/dist/index.es591.js +6 -0
  1907. package/dist/index.es591.js.map +1 -0
  1908. package/dist/index.es592.js +41 -0
  1909. package/dist/index.es592.js.map +1 -0
  1910. package/dist/index.es593.js +46 -0
  1911. package/dist/index.es593.js.map +1 -0
  1912. package/dist/index.es594.js +37 -0
  1913. package/dist/index.es594.js.map +1 -0
  1914. package/dist/index.es595.js +25 -0
  1915. package/dist/index.es595.js.map +1 -0
  1916. package/dist/index.es596.js +37 -0
  1917. package/dist/index.es596.js.map +1 -0
  1918. package/dist/index.es597.js +47 -0
  1919. package/dist/index.es597.js.map +1 -0
  1920. package/dist/index.es598.js +7 -0
  1921. package/dist/index.es598.js.map +1 -0
  1922. package/dist/index.es599.js +21 -0
  1923. package/dist/index.es599.js.map +1 -0
  1924. package/dist/index.es60.js +1 -1
  1925. package/dist/index.es600.js +9 -0
  1926. package/dist/index.es600.js.map +1 -0
  1927. package/dist/index.es601.js +8 -0
  1928. package/dist/index.es601.js.map +1 -0
  1929. package/dist/index.es602.js +8 -0
  1930. package/dist/index.es602.js.map +1 -0
  1931. package/dist/index.es603.js +8 -0
  1932. package/dist/index.es603.js.map +1 -0
  1933. package/dist/index.es604.js +14 -0
  1934. package/dist/index.es604.js.map +1 -0
  1935. package/dist/index.es605.js +10 -0
  1936. package/dist/index.es605.js.map +1 -0
  1937. package/dist/index.es606.js +10 -0
  1938. package/dist/index.es606.js.map +1 -0
  1939. package/dist/index.es607.js +7 -0
  1940. package/dist/index.es607.js.map +1 -0
  1941. package/dist/index.es608.js +13 -0
  1942. package/dist/index.es608.js.map +1 -0
  1943. package/dist/index.es609.js +9 -0
  1944. package/dist/index.es609.js.map +1 -0
  1945. package/dist/index.es61.js +1 -1
  1946. package/dist/index.es610.js +8 -0
  1947. package/dist/index.es610.js.map +1 -0
  1948. package/dist/index.es611.js +9 -0
  1949. package/dist/index.es611.js.map +1 -0
  1950. package/dist/index.es612.js +215 -0
  1951. package/dist/index.es612.js.map +1 -0
  1952. package/dist/index.es613.js +246 -0
  1953. package/dist/index.es613.js.map +1 -0
  1954. package/dist/index.es614.js +39 -0
  1955. package/dist/index.es614.js.map +1 -0
  1956. package/dist/index.es615.js +18 -0
  1957. package/dist/index.es615.js.map +1 -0
  1958. package/dist/index.es616.js +567 -0
  1959. package/dist/index.es616.js.map +1 -0
  1960. package/dist/index.es617.js +59 -0
  1961. package/dist/index.es617.js.map +1 -0
  1962. package/dist/index.es618.js +338 -0
  1963. package/dist/index.es618.js.map +1 -0
  1964. package/dist/index.es619.js +1103 -0
  1965. package/dist/index.es619.js.map +1 -0
  1966. package/dist/index.es620.js +41 -0
  1967. package/dist/index.es620.js.map +1 -0
  1968. package/dist/index.es621.js +39 -0
  1969. package/dist/index.es621.js.map +1 -0
  1970. package/dist/index.es622.js +51 -0
  1971. package/dist/index.es622.js.map +1 -0
  1972. package/dist/index.es623.js +65 -0
  1973. package/dist/index.es623.js.map +1 -0
  1974. package/dist/index.es624.js +6 -0
  1975. package/dist/index.es624.js.map +1 -0
  1976. package/dist/index.es625.js +11 -0
  1977. package/dist/index.es625.js.map +1 -0
  1978. package/dist/index.es626.js +174 -0
  1979. package/dist/index.es626.js.map +1 -0
  1980. package/dist/index.es627.js +6 -0
  1981. package/dist/index.es627.js.map +1 -0
  1982. package/dist/index.es628.js +298 -0
  1983. package/dist/index.es628.js.map +1 -0
  1984. package/dist/index.es629.js +27 -0
  1985. package/dist/index.es629.js.map +1 -0
  1986. package/dist/index.es63.js +1 -1
  1987. package/dist/index.es630.js +53 -0
  1988. package/dist/index.es630.js.map +1 -0
  1989. package/dist/index.es631.js +9 -0
  1990. package/dist/index.es631.js.map +1 -0
  1991. package/dist/index.es632.js +31 -0
  1992. package/dist/index.es632.js.map +1 -0
  1993. package/dist/index.es67.js +10 -6
  1994. package/dist/index.es67.js.map +1 -1
  1995. package/dist/index.es68.js +163 -13731
  1996. package/dist/index.es68.js.map +1 -1
  1997. package/dist/index.es69.js +1 -1
  1998. package/dist/index.es69.js.map +1 -1
  1999. package/dist/index.es70.js.map +1 -1
  2000. package/dist/index.es71.js +1 -1
  2001. package/dist/index.es71.js.map +1 -1
  2002. package/dist/index.es72.js +1 -1
  2003. package/dist/index.es72.js.map +1 -1
  2004. package/dist/index.es73.js +15 -15
  2005. package/dist/index.es73.js.map +1 -1
  2006. package/dist/index.es74.js +1 -1
  2007. package/dist/index.es74.js.map +1 -1
  2008. package/dist/index.es75.js +4 -4
  2009. package/dist/index.es75.js.map +1 -1
  2010. package/dist/index.es76.js +10 -10
  2011. package/dist/index.es76.js.map +1 -1
  2012. package/dist/index.es77.js +1 -1
  2013. package/dist/index.es77.js.map +1 -1
  2014. package/dist/index.es78.js.map +1 -1
  2015. package/dist/index.es79.js +21314 -1955
  2016. package/dist/index.es79.js.map +1 -1
  2017. package/dist/index.es80.js +2 -6
  2018. package/dist/index.es80.js.map +1 -1
  2019. package/dist/index.es81.js +8 -2
  2020. package/dist/index.es81.js.map +1 -1
  2021. package/dist/index.es82.js +2 -8
  2022. package/dist/index.es82.js.map +1 -1
  2023. package/dist/index.es83.js +26 -2
  2024. package/dist/index.es83.js.map +1 -1
  2025. package/dist/index.es84.js +580 -17
  2026. package/dist/index.es84.js.map +1 -1
  2027. package/dist/index.es85.js +105 -588
  2028. package/dist/index.es85.js.map +1 -1
  2029. package/dist/index.es86.js +10 -21352
  2030. package/dist/index.es86.js.map +1 -1
  2031. package/dist/index.es87.js +1993 -2
  2032. package/dist/index.es87.js.map +1 -1
  2033. package/dist/index.es88.js +5 -105
  2034. package/dist/index.es88.js.map +1 -1
  2035. package/dist/index.es89.js +2 -10
  2036. package/dist/index.es89.js.map +1 -1
  2037. package/dist/index.es93.js +1 -1
  2038. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
- "use strict";const Q=require("./index.cjs252.js"),e=require("./index.cjs254.js"),r=require("./index.cjs255.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs280.js"),z=require("./index.cjs203.js"),a=require("./index.cjs194.js"),s=require("./index.cjs294.js"),j=require("./index.cjs290.js"),$=require("./index.cjs288.js"),Z=require("./index.cjs298.js"),Y=require("./index.cjs299.js"),S=require("./index.cjs300.js"),L=require("./index.cjs301.js"),R=require("./index.cjs302.js"),w=require("./index.cjs303.js"),_=require("./index.cjs304.js"),M=require("./index.cjs305.js"),J=require("./index.cjs306.js"),K=require("./index.cjs307.js"),Q=require("./index.cjs275.js"),p=require("./index.cjs296.js"),P=require("./index.cjs198.js"),F=require("./index.cjs308.js"),ee=require("./index.cjs309.js");require("./index.cjs205.js");const I=require("./index.cjs297.js");var te=200,oe={leading:!0,trailing:!0},re=50,ie={leading:!0,trailing:!0},se=100*Number.EPSILON,ae=5,ne=class extends Z.BaseRenderer{#a;#n;DEFAULT_SPECIFIC_WEBGL2_RENDER_OPTIONS;gl;mapProgram;linesProgram;pointsProgram;#t;previousSignificantViewport;lastAnimationFrameRequestId;animating=!1;animationStart;animationProgress=0;disableRender=!1;#i;#s;#o;constructor(e,t){const o=s.createShader(e,e.VERTEX_SHADER,S),r=s.createShader(e,e.FRAGMENT_SHADER,L),i=s.createShader(e,e.VERTEX_SHADER,R),n=s.createShader(e,e.FRAGMENT_SHADER,w),c=s.createShader(e,e.VERTEX_SHADER,_),u=s.createShader(e,e.FRAGMENT_SHADER,M),d=s.createProgram(e,o,r),m=s.createProgram(e,i,n),l=s.createProgram(e,c,u),f=new J,T=new K,E=F.wrap(f),v=F.wrap(T),g={warpedMapFactory:j.createWebGL2WarpedMapFactory(e,d,m,l),anticipateInteraction:!0};super(Y.CacheableWorkerImageDataTile.createFactory(E,v),P.mergeOptions(g,t)),this.#a=f,this.#n=T,this.gl=e,this.#o=new Map,this.DEFAULT_SPECIFIC_WEBGL2_RENDER_OPTIONS=g,this.mapProgram=d,this.linesProgram=m,this.pointsProgram=l,this.#t=new Map,e.deleteShader(o),e.deleteShader(r),e.deleteShader(o),e.deleteShader(r),e.deleteShader(o),e.deleteShader(r),e.disable(e.DEPTH_TEST),this.addEventListeners(),this.#i=I(this.#c.bind(this),te,oe),this.#s=I(this.#r.bind(this),re,ie),this.warpedMapList.updateWarpedMapsUsingFactory()}initializeWebGL(e){const t=s.createShader(e,e.VERTEX_SHADER,S),o=s.createShader(e,e.FRAGMENT_SHADER,L),r=s.createShader(e,e.VERTEX_SHADER,R),i=s.createShader(e,e.FRAGMENT_SHADER,w),n=s.createShader(e,e.VERTEX_SHADER,_),c=s.createShader(e,e.FRAGMENT_SHADER,M),u=s.createProgram(e,t,o),d=s.createProgram(e,r,i),m=s.createProgram(e,n,c);this.gl=e,this.mapProgram=u,this.linesProgram=d,this.pointsProgram=m,this.#t=new Map,e.disable(e.DEPTH_TEST);for(const l of this.warpedMapList.getWarpedMaps())l.initializeWebGL(u,d,m)}getDefaultOptions(){return P.mergeOptions(super.getDefaultOptions(),this.DEFAULT_SPECIFIC_WEBGL2_RENDER_OPTIONS)}render(e){this.disableRender||(this.viewport=e||this.viewport||z.Viewport.fromSizeAndMaps([this.gl.canvas.width,this.gl.canvas.width],this.warpedMapList),this.loadMissingImagesInViewport(),this.someImagesInViewport()&&this.#i(),this.#d())}clear(){this.warpedMapList.clear(),this.mapsInViewport=new Set,this.mapsWithFetchableTilesForViewport=new Set,this.gl.clear(this.gl.DEPTH_BUFFER_BIT|this.gl.COLOR_BUFFER_BIT),this.tileCache.clear()}cancelThrottledFunctions(){this.#i.cancel(),this.#s.cancel()}destroy(){this.cancelThrottledFunctions();for(const e of this.warpedMapList.getWarpedMaps())this.#R(e);this.removeEventListeners(),super.destroy(),this.gl.deleteProgram(this.mapProgram),this.gl.deleteProgram(this.linesProgram),this.gl.deleteProgram(this.pointsProgram),this.#a.terminate(),this.#n.terminate()}#e(e,t,o){let r=this.#t.get(t);if(r||(r=new Map,this.#t.set(t,r)),!r.has(o)){const i=e.getUniformLocation(t,o);r.set(o,i)}return r.get(o)}updateMapsForViewport(e){const{mapsWithFetchableTilesForViewportEntering:t,mapsWithFetchableTilesForViewportLeaving:o,mapsInViewportEntering:r,mapsInViewportLeaving:i}=super.updateMapsForViewport(e);return this.updateVertexBuffers(t),{mapsWithFetchableTilesForViewportEntering:t,mapsWithFetchableTilesForViewportLeaving:o,mapsInViewportEntering:r,mapsInViewportLeaving:i}}resetPrevious(){const e=this.warpedMapList.getWarpedMaps();for(const t of e)t.resetPrevious()}updateVertexBuffers(e){if(!this.viewport)return;const t=this.warpedMapList.getWarpedMaps({mapIds:e});for(const o of t)o.updateVertexBuffers(this.viewport.projectedGeoToClipHomogeneousTransform)}#c(){this.assureProjection(),this.requestFetchableTiles()}shouldRequestFetchableTiles(){if(!this.viewport||this.animating)return!1;if(this.previousSignificantViewport){const e=[];for(let o=0;o<4;o++)e.push(Q.squaredDistance(this.previousSignificantViewport.projectedGeoRectangle[o],this.viewport.projectedGeoRectangle[o])/Math.pow(this.viewport.projectedGeoPerViewportScale,2));const t=Math.max(...e);return t<se?!0:t>Math.pow(ae,2)?(this.previousSignificantViewport=this.viewport,!0):!1}else return this.previousSignificantViewport=this.viewport,!0}#d(){if(!this.viewport)return;const e=this.gl;e.viewport(0,0,e.canvas.width,e.canvas.height),e.enable(e.BLEND),e.blendFunc(e.ONE,e.ONE_MINUS_SRC_ALPHA),this.#m(),this.#u(),this.#l()}#m(){if(this.viewport){this.#f();for(const e of this.mapsWithFetchableTilesForViewport){const t=this.warpedMapList.getWarpedMap(e);if(!t||!t.shouldRenderMap())continue;this.#T(t);const o=t.resourceTrianglePoints.length,r=this.gl.TRIANGLES,i=0;this.gl.bindVertexArray(t.mapVao),this.gl.drawArrays(r,i,o)}}}#u(){this.#g();for(const e of this.mapsWithFetchableTilesForViewport){const t=this.warpedMapList.getWarpedMap(e);if(!t||!t.shouldRenderLines())continue;this.#E(t);const o=t.lineGroups.reduce((n,c)=>n+c.projectedGeoLines.length,0)*6,r=this.gl.TRIANGLES,i=0;this.gl.bindVertexArray(t.linesVao),this.gl.drawArrays(r,i,o)}}#l(){this.#v();for(const e of this.mapsWithFetchableTilesForViewport){const t=this.warpedMapList.getWarpedMap(e);if(!t||!t.shouldRenderPoints())continue;this.#P(t);const o=t.pointGroups.reduce((n,c)=>n+c.projectedGeoPoints.length,0),r=this.gl.POINTS,i=0;this.gl.bindVertexArray(t.pointsVao),this.gl.drawArrays(r,i,o)}}#f(){const e=this.mapProgram,t=this.gl;t.useProgram(e);const o=this.#e(t,e,"u_animationProgress");t.uniform1f(o,this.animationProgress)}#T(e){if(!this.viewport)return;const t=this.gl,o=this.mapProgram;t.useProgram(o);const r=h.multiplyHomogeneousTransform(this.viewport.projectedGeoToClipHomogeneousTransform,e.invertedRenderHomogeneousTransform),i=this.#e(t,o,"u_renderHomogeneousTransform");t.uniformMatrix4fv(i,!1,h.homogeneousTransformToMatrix4(r));const n=this.#e(t,o,"u_visibilityOpacity");t.uniform1f(n,e.visibilityOpacity);const c=this.#e(t,o,"u_previousVisibilityOpacity");t.uniform1f(c,e.previousVisibilityOpacity);const u=this.#e(t,o,"u_applyMaskOpacity");t.uniform1f(u,e.applyMaskOpacity);const d=this.#e(t,o,"u_previousApplyMaskOpacity");t.uniform1f(d,e.previousApplyMaskOpacity);const m=this.#e(t,o,"u_opacity");t.uniform1f(m,e.options.opacity);const l=this.#e(t,o,"u_saturation");t.uniform1f(l,e.options.saturation);const f=this.#e(t,o,"u_removeColor");t.uniform1f(f,e.options.removeColor?1:0);const T=this.#e(t,o,"u_removeColorColor");t.uniform3fv(T,p.hexToFractionalRgb(e.options.removeColorColor));const E=this.#e(t,o,"u_removeColorThreshold");t.uniform1f(E,e.options.removeColorThreshold);const v=this.#e(t,o,"u_removeColorHardness");t.uniform1f(v,e.options.removeColorHardness);const g=this.#e(t,o,"u_colorize");t.uniform1f(g,e.options.colorize?1:0);const A=this.#e(t,o,"u_colorizeColor");t.uniform3fv(A,p.hexToFractionalRgb(e.options.colorizeColor));const C=this.#e(t,o,"u_renderGrid");t.uniform1f(C,e.options.renderGrid?1:0);const x=this.#e(t,o,"u_renderGridColor");t.uniform4fv(x,p.hexToFractionalOpaqueRgba(e.options.renderGridColor));const y=this.#e(t,o,"u_distortion");t.uniform1f(y,e.distortionMeasure?1:0);const O=this.#e(t,o,"u_distortionMeasure");t.uniform1i(O,e.distortionMeasure?ee.supportedDistortionMeasures.indexOf(e.distortionMeasure):0);const V=this.#e(t,o,"u_distortionColor00");t.uniform4fv(V,p.hexToFractionalOpaqueRgba(e.options.distortionColor00));const H=this.#e(t,o,"u_distortionColor01");t.uniform4fv(H,p.hexToFractionalOpaqueRgba(e.options.distortionColor01));const b=this.#e(t,o,"u_distortionColor1");t.uniform4fv(b,p.hexToFractionalOpaqueRgba(e.options.distortionColor1));const D=this.#e(t,o,"u_distortionColor2");t.uniform4fv(D,p.hexToFractionalOpaqueRgba(e.options.distortionColor2));const G=this.#e(t,o,"u_distortionColor3");t.uniform4fv(G,p.hexToFractionalOpaqueRgba(e.options.distortionColor3));const W=this.#e(t,o,"u_debugTriangles");t.uniform1f(W,e.options.debugTriangles?1:0);const q=this.#e(t,o,"u_debugTiles");t.uniform1f(q,e.options.debugTiles?1:0);const N=this.#e(t,o,"u_scaleFactorForViewport"),U=e.tileZoomLevelForViewport?e.tileZoomLevelForViewport.scaleFactor:1;t.uniform1i(N,U);const B=this.#e(t,o,"u_cachedTilesTextureArray");t.uniform1i(B,0),t.activeTexture(t.TEXTURE0),t.bindTexture(t.TEXTURE_2D_ARRAY,e.cachedTilesTextureArray);const k=this.#e(t,o,"u_cachedTilesResourceOriginPointsAndSizesTexture");t.uniform1i(k,1),t.activeTexture(t.TEXTURE1),t.bindTexture(t.TEXTURE_2D,e.cachedTilesResourceOriginPointsAndSizesTexture);const X=this.#e(t,o,"u_cachedTilesScaleFactorsTexture");t.uniform1i(X,2),t.activeTexture(t.TEXTURE2),t.bindTexture(t.TEXTURE_2D,e.cachedTilesScaleFactorsTexture)}#g(){if(!this.viewport)return;const e=this.gl,t=this.linesProgram;e.useProgram(t);const o=this.#e(e,t,"u_viewportToClipHomogeneousTransform");e.uniformMatrix4fv(o,!1,h.homogeneousTransformToMatrix4(this.viewport.viewportToClipHomogeneousTransform));const r=this.#e(e,t,"u_clipToViewportHomogeneousTransform");e.uniformMatrix4fv(r,!1,h.homogeneousTransformToMatrix4(h.invertHomogeneousTransform(this.viewport.viewportToClipHomogeneousTransform)));const i=this.#e(e,t,"u_animationProgress");e.uniform1f(i,this.animationProgress)}#E(e){if(!this.viewport)return;const t=this.gl,o=this.linesProgram;t.useProgram(o);const r=h.multiplyHomogeneousTransform(this.viewport.projectedGeoToClipHomogeneousTransform,e.invertedRenderHomogeneousTransform),i=this.#e(t,o,"u_renderHomogeneousTransform");t.uniformMatrix4fv(i,!1,h.homogeneousTransformToMatrix4(r))}#v(){if(!this.viewport)return;const e=this.gl,t=this.pointsProgram;e.useProgram(t);const o=this.#e(e,t,"u_animationProgress");e.uniform1f(o,this.animationProgress);const r=this.#e(e,t,"u_devicePixelRatio");e.uniform1f(r,this.viewport.devicePixelRatio)}#P(e){if(!this.viewport)return;const t=this.gl,o=this.pointsProgram;t.useProgram(o);const r=h.multiplyHomogeneousTransform(this.viewport.projectedGeoToClipHomogeneousTransform,e.invertedRenderHomogeneousTransform),i=this.#e(t,o,"u_renderHomogeneousTransform");t.uniformMatrix4fv(i,!1,h.homogeneousTransformToMatrix4(r))}#S(e,t){const o=P.mergeOptions($.DEFAULT_ANIMATION_OPTIONS,t);this.#r(),this.requestFetchableTiles(),this.updateVertexBuffers(e),this.lastAnimationFrameRequestId!==void 0&&cancelAnimationFrame(this.lastAnimationFrameRequestId),this.animating=!0,this.animationProgress=0,this.animationStart=void 0,this.lastAnimationFrameRequestId=requestAnimationFrame((r=>this.#h(r,e,o.duration)).bind(this))}#h(e,t,o){this.animationStart||(this.animationStart=e),e-this.animationStart<o?(this.animationProgress=(e-this.animationStart)/o,this.#r(),this.lastAnimationFrameRequestId=requestAnimationFrame((r=>this.#h(r,t,o)).bind(this))):this.#p(t)}#p(e){this.resetPrevious(),this.updateVertexBuffers(e),this.animating=!1,this.animationProgress=0,this.animationStart=void 0,this.previousSignificantViewport=this.viewport,this.#c(),this.#r()}#r(){this.dispatchEvent(new a.WarpedMapEvent(a.WarpedMapEventType.CHANGED))}imageLoaded(e){e instanceof a.WarpedMapEvent&&this.dispatchEvent(new a.WarpedMapEvent(a.WarpedMapEventType.IMAGELOADED,e.data))}clearMap(e){const t=this.warpedMapList.getWarpedMap(e);t&&t.clearTextures()}mapTileLoaded(e){if(e instanceof a.WarpedMapEvent){if(!e.data?.mapIds||!e.data?.tileUrl)throw new Error("Event data missing");const{mapIds:t,tileUrl:o}=e.data,r=t[0],i=this.tileCache.getCacheableTile(o);if(!i||!i.isCachedTile())return;const n=this.warpedMapList.getWarpedMap(r);if(!n)return;n.addCachedTileAndUpdateTextures(i)}}mapTileDeleted(e){if(e instanceof a.WarpedMapEvent){if(!e.data?.mapIds||!e.data.tileUrl)throw new Error("Event data missing");const{mapIds:t,tileUrl:o}=e.data,r=t[0],i=this.warpedMapList.getWarpedMap(r);if(!i)return;i.removeCachedTileAndUpdateTextures(o)}}warpedMapAdded(e){if(e instanceof a.WarpedMapEvent){if(!e.data?.mapIds)throw new Error("Event data missing");const{mapIds:t}=e.data,o=t[0],r=this.warpedMapList.getWarpedMap(o);r&&this.#L(r)}}prepareChange(e){if(e instanceof a.WarpedMapEvent){if(!e.data?.mapIds)throw new Error("Event data missing");const{mapIds:t}=e.data;if(this.animating)for(const o of this.warpedMapList.getWarpedMaps({mapIds:t}))o.mixPreviousAndNew(1-this.animationProgress)}}animatedChange(e){if(e instanceof a.WarpedMapEvent){if(!e.data?.mapIds)throw new Error("Event data missing");const{mapIds:t,animationOptions:o}=e.data;this.#S(t,o)}}immediateChange(e){if(e instanceof a.WarpedMapEvent){if(!e.data?.mapIds)throw new Error("Event data missing");const{mapIds:t}=e.data;this.#p(t)}}#L(e){const t=this.#s.bind(this);this.#o.set(e.mapId,t),e.addEventListener(a.WarpedMapEventType.TEXTURESUPDATED,t)}#R(e){const t=this.#o.get(e.mapId);t&&(e.removeEventListener(a.WarpedMapEventType.TEXTURESUPDATED,t),this.#o.delete(e.mapId))}contextLost(){this.disableRender=!0,this.cancelThrottledFunctions();for(const e of this.warpedMapList.getWarpedMaps())e.cancelThrottledFunctions();this.tileCache.clear()}contextRestored(){this.initializeWebGL(this.gl),this.disableRender=!1}};exports.WebGL2Renderer=ne;
2
2
  //# sourceMappingURL=index.cjs202.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs202.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,E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AGsB,EAAAA,UAAUZ,CAAM,CAAC,EAC7Da,EAAAA,0BAA0BH,CAAG,EAC7B,IAAII,EAAeH,EAAAA,eAAe9B,EAAQ6B,CAAG,EAC7CG,EAAAA,0BAA0BC,CAAY,EACtC,IAAIC,GAAUV,EAAeH,GAAS,EAAI,GAAK,GAAKc,EAAAA,KAAKF,EAAa,CAAC,CAAC,GACpElC,EAAMmC,GAAUnC,IAAQmC,IAAWL,EAAI,CAAC,GAAKA,EAAI,CAAC,MACpDzB,GAAWoB,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
+ {"version":3,"file":"index.cjs202.js","sources":["../../../node_modules/@allmaps/render/dist/renderers/WebGL2Renderer.js"],"sourcesContent":["import { homogeneousTransformToMatrix4, invertHomogeneousTransform, multiplyHomogeneousTransform } from \"../shared/homogeneous-transform.js\";\nimport { Viewport } from \"../viewport/Viewport.js\";\nimport { WarpedMapEvent, WarpedMapEventType } from \"../shared/events.js\";\nimport { createProgram, createShader } from \"../shared/webgl2.js\";\nimport { createWebGL2WarpedMapFactory } from \"../maps/WebGL2WarpedMap.js\";\nimport { DEFAULT_ANIMATION_OPTIONS } from \"../maps/WarpedMapList.js\";\nimport { BaseRenderer } from \"./BaseRenderer.js\";\nimport { CacheableWorkerImageDataTile } from \"../tilecache/CacheableWorkerImageDataTile.js\";\nimport vertex_shader_default from \"../shaders/map/vertex-shader.js\";\nimport fragment_shader_default from \"../shaders/map/fragment-shader.js\";\nimport vertex_shader_default$1 from \"../shaders/lines/vertex-shader.js\";\nimport fragment_shader_default$1 from \"../shaders/lines/fragment-shader.js\";\nimport vertex_shader_default$2 from \"../shaders/points/vertex-shader.js\";\nimport fragment_shader_default$2 from \"../shaders/points/fragment-shader.js\";\nimport WorkerWrapper from \"../workers/fetch-and-get-image-data.js\";\nimport WorkerWrapper$1 from \"../workers/apply-sprites-image-data.js\";\nimport { hexToFractionalOpaqueRgba, hexToFractionalRgb, mergeOptions, squaredDistance } from \"@allmaps/stdlib\";\nimport { throttle } from \"lodash-es\";\nimport { wrap } from \"comlink\";\nimport { supportedDistortionMeasures } from \"@allmaps/transform\";\n//#region src/renderers/WebGL2Renderer.ts\nvar THROTTLE_PREPARE_RENDER_WAIT_MS = 200;\nvar THROTTLE_PREPARE_RENDER_OPTIONS = {\n\tleading: true,\n\ttrailing: true\n};\nvar THROTTLE_CHANGED_WAIT_MS = 50;\nvar THROTTLE_CHANGED_OPTIONS = {\n\tleading: true,\n\ttrailing: true\n};\nvar SIGNIFICANT_VIEWPORT_EPSILON = 100 * Number.EPSILON;\nvar SIGNIFICANT_VIEWPORT_DISTANCE = 5;\n/**\n* Class that renders WarpedMaps to a WebGL 2 context\n*/\nvar WebGL2Renderer = class extends BaseRenderer {\n\t#worker;\n\t#spritesWorker;\n\tDEFAULT_SPECIFIC_WEBGL2_RENDER_OPTIONS;\n\tgl;\n\tmapProgram;\n\tlinesProgram;\n\tpointsProgram;\n\t#uniformCache;\n\tpreviousSignificantViewport;\n\tlastAnimationFrameRequestId;\n\tanimating = false;\n\tanimationStart;\n\tanimationProgress = 0;\n\tdisableRender = false;\n\t#throttledPrepareRenderInternal;\n\t#throttledChanged;\n\t#boundThrottledChangedByMapId;\n\t/**\n\t* Creates an instance of WebGL2Renderer.\n\t*\n\t* @constructor\n\t* @param gl - WebGL 2 rendering context\n\t* @param options - options\n\t*/\n\tconstructor(gl, options) {\n\t\tconst mapVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default);\n\t\tconst mapFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default);\n\t\tconst linesVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default$1);\n\t\tconst linesFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default$1);\n\t\tconst pointsVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default$2);\n\t\tconst pointsFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default$2);\n\t\tconst mapProgram = createProgram(gl, mapVertexShader, mapFragmentShader);\n\t\tconst linesProgram = createProgram(gl, linesVertexShader, linesFragmentShader);\n\t\tconst pointsProgram = createProgram(gl, pointsVertexShader, pointsFragmentShader);\n\t\tconst worker = new WorkerWrapper();\n\t\tconst spritesWorker = new WorkerWrapper$1();\n\t\tconst wrappedWorker = wrap(worker);\n\t\tconst wrappedSpritesWorker = wrap(spritesWorker);\n\t\tconst defaultSpecificWebGL2RenderOptions = {\n\t\t\twarpedMapFactory: createWebGL2WarpedMapFactory(gl, mapProgram, linesProgram, pointsProgram),\n\t\t\tanticipateInteraction: true\n\t\t};\n\t\tsuper(CacheableWorkerImageDataTile.createFactory(wrappedWorker, wrappedSpritesWorker), mergeOptions(defaultSpecificWebGL2RenderOptions, options));\n\t\tthis.#worker = worker;\n\t\tthis.#spritesWorker = spritesWorker;\n\t\tthis.gl = gl;\n\t\tthis.#boundThrottledChangedByMapId = /* @__PURE__ */ new Map();\n\t\tthis.DEFAULT_SPECIFIC_WEBGL2_RENDER_OPTIONS = defaultSpecificWebGL2RenderOptions;\n\t\tthis.mapProgram = mapProgram;\n\t\tthis.linesProgram = linesProgram;\n\t\tthis.pointsProgram = pointsProgram;\n\t\tthis.#uniformCache = /* @__PURE__ */ new Map();\n\t\tgl.deleteShader(mapVertexShader);\n\t\tgl.deleteShader(mapFragmentShader);\n\t\tgl.deleteShader(mapVertexShader);\n\t\tgl.deleteShader(mapFragmentShader);\n\t\tgl.deleteShader(mapVertexShader);\n\t\tgl.deleteShader(mapFragmentShader);\n\t\tgl.disable(gl.DEPTH_TEST);\n\t\tthis.addEventListeners();\n\t\tthis.#throttledPrepareRenderInternal = throttle(this.#prepareRenderInternal.bind(this), THROTTLE_PREPARE_RENDER_WAIT_MS, THROTTLE_PREPARE_RENDER_OPTIONS);\n\t\tthis.#throttledChanged = throttle(this.#changed.bind(this), THROTTLE_CHANGED_WAIT_MS, THROTTLE_CHANGED_OPTIONS);\n\t\tthis.warpedMapList.updateWarpedMapsUsingFactory();\n\t}\n\tinitializeWebGL(gl) {\n\t\tconst mapVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default);\n\t\tconst mapFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default);\n\t\tconst linesVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default$1);\n\t\tconst linesFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default$1);\n\t\tconst pointsVertexShader = createShader(gl, gl.VERTEX_SHADER, vertex_shader_default$2);\n\t\tconst pointsFragmentShader = createShader(gl, gl.FRAGMENT_SHADER, fragment_shader_default$2);\n\t\tconst mapProgram = createProgram(gl, mapVertexShader, mapFragmentShader);\n\t\tconst linesProgram = createProgram(gl, linesVertexShader, linesFragmentShader);\n\t\tconst pointsProgram = createProgram(gl, pointsVertexShader, pointsFragmentShader);\n\t\tthis.gl = gl;\n\t\tthis.mapProgram = mapProgram;\n\t\tthis.linesProgram = linesProgram;\n\t\tthis.pointsProgram = pointsProgram;\n\t\tthis.#uniformCache = /* @__PURE__ */ new Map();\n\t\tgl.disable(gl.DEPTH_TEST);\n\t\tfor (const webgl2WarpedMap of this.warpedMapList.getWarpedMaps()) webgl2WarpedMap.initializeWebGL(mapProgram, linesProgram, pointsProgram);\n\t}\n\t/**\n\t* Get the default options of the renderer and list\n\t*/\n\tgetDefaultOptions() {\n\t\treturn mergeOptions(super.getDefaultOptions(), this.DEFAULT_SPECIFIC_WEBGL2_RENDER_OPTIONS);\n\t}\n\t/**\n\t* Render the map for a given viewport.\n\t*\n\t* If no viewport is specified the current viewport is rerendered.\n\t* If no current viewport is known, a viewport is deduced based on the WarpedMapList and canvas width and hight.\n\t*\n\t* @param viewport - the current viewport\n\t*/\n\trender(viewport) {\n\t\tif (this.disableRender) return;\n\t\tthis.viewport = viewport || this.viewport || Viewport.fromSizeAndMaps([this.gl.canvas.width, this.gl.canvas.width], this.warpedMapList);\n\t\tthis.loadMissingImagesInViewport();\n\t\tif (this.someImagesInViewport()) this.#throttledPrepareRenderInternal();\n\t\tthis.#renderInternal();\n\t}\n\tclear() {\n\t\tthis.warpedMapList.clear();\n\t\tthis.mapsInViewport = /* @__PURE__ */ new Set();\n\t\tthis.mapsWithFetchableTilesForViewport = /* @__PURE__ */ new Set();\n\t\tthis.gl.clear(this.gl.DEPTH_BUFFER_BIT | this.gl.COLOR_BUFFER_BIT);\n\t\tthis.tileCache.clear();\n\t}\n\tcancelThrottledFunctions() {\n\t\tthis.#throttledPrepareRenderInternal.cancel();\n\t\tthis.#throttledChanged.cancel();\n\t}\n\tdestroy() {\n\t\tthis.cancelThrottledFunctions();\n\t\tfor (const webgl2WarpedMap of this.warpedMapList.getWarpedMaps()) this.#removeEventListenersFromWebGL2WarpedMap(webgl2WarpedMap);\n\t\tthis.removeEventListeners();\n\t\tsuper.destroy();\n\t\tthis.gl.deleteProgram(this.mapProgram);\n\t\tthis.gl.deleteProgram(this.linesProgram);\n\t\tthis.gl.deleteProgram(this.pointsProgram);\n\t\tthis.#worker.terminate();\n\t\tthis.#spritesWorker.terminate();\n\t}\n\t#getUniformLocation(gl, program, name) {\n\t\tlet programCache = this.#uniformCache.get(program);\n\t\tif (!programCache) {\n\t\t\tprogramCache = /* @__PURE__ */ new Map();\n\t\t\tthis.#uniformCache.set(program, programCache);\n\t\t}\n\t\tif (!programCache.has(name)) {\n\t\t\tconst location = gl.getUniformLocation(program, name);\n\t\t\tprogramCache.set(name, location);\n\t\t}\n\t\treturn programCache.get(name);\n\t}\n\tupdateMapsForViewport(allFechableTilesForViewport) {\n\t\tconst { mapsWithFetchableTilesForViewportEntering, mapsWithFetchableTilesForViewportLeaving, mapsInViewportEntering, mapsInViewportLeaving } = super.updateMapsForViewport(allFechableTilesForViewport);\n\t\tthis.updateVertexBuffers(mapsWithFetchableTilesForViewportEntering);\n\t\treturn {\n\t\t\tmapsWithFetchableTilesForViewportEntering,\n\t\t\tmapsWithFetchableTilesForViewportLeaving,\n\t\t\tmapsInViewportEntering,\n\t\t\tmapsInViewportLeaving\n\t\t};\n\t}\n\tresetPrevious() {\n\t\tconst webgl2WarpedMaps = this.warpedMapList.getWarpedMaps();\n\t\tfor (const webgl2WarpedMap of webgl2WarpedMaps) webgl2WarpedMap.resetPrevious();\n\t}\n\tupdateVertexBuffers(mapIds) {\n\t\tif (!this.viewport) return;\n\t\tconst webgl2WarpedMaps = this.warpedMapList.getWarpedMaps({ mapIds });\n\t\tfor (const webgl2WarpedMap of webgl2WarpedMaps) webgl2WarpedMap.updateVertexBuffers(this.viewport.projectedGeoToClipHomogeneousTransform);\n\t}\n\t#prepareRenderInternal() {\n\t\tthis.assureProjection();\n\t\tthis.requestFetchableTiles();\n\t}\n\tshouldRequestFetchableTiles() {\n\t\tif (!this.viewport) return false;\n\t\tif (this.animating) return false;\n\t\tif (!this.previousSignificantViewport) {\n\t\t\tthis.previousSignificantViewport = this.viewport;\n\t\t\treturn true;\n\t\t} else {\n\t\t\tconst rectangleSquaredDistances = [];\n\t\t\tfor (let i = 0; i < 4; i++) rectangleSquaredDistances.push(squaredDistance(this.previousSignificantViewport.projectedGeoRectangle[i], this.viewport.projectedGeoRectangle[i]) / Math.pow(this.viewport.projectedGeoPerViewportScale, 2));\n\t\t\tconst maxSquaredDistance = Math.max(...rectangleSquaredDistances);\n\t\t\tif (maxSquaredDistance < SIGNIFICANT_VIEWPORT_EPSILON) return true;\n\t\t\tif (maxSquaredDistance > Math.pow(SIGNIFICANT_VIEWPORT_DISTANCE, 2)) {\n\t\t\t\tthis.previousSignificantViewport = this.viewport;\n\t\t\t\treturn true;\n\t\t\t} else return false;\n\t\t}\n\t}\n\t#renderInternal() {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tgl.viewport(0, 0, gl.canvas.width, gl.canvas.height);\n\t\tgl.enable(gl.BLEND);\n\t\tgl.blendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA);\n\t\tthis.#renderMapsInternal();\n\t\tthis.#renderLinesInternal();\n\t\tthis.#renderPointsInternal();\n\t}\n\t#renderMapsInternal() {\n\t\tif (!this.viewport) return;\n\t\tthis.#setMapProgramUniforms();\n\t\tfor (const mapId of this.mapsWithFetchableTilesForViewport) {\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap || !webgl2WarpedMap.shouldRenderMap()) continue;\n\t\t\tthis.#setMapProgramMapUniforms(webgl2WarpedMap);\n\t\t\tconst count = webgl2WarpedMap.resourceTrianglePoints.length;\n\t\t\tconst primitiveType = this.gl.TRIANGLES;\n\t\t\tconst offset = 0;\n\t\t\tthis.gl.bindVertexArray(webgl2WarpedMap.mapVao);\n\t\t\tthis.gl.drawArrays(primitiveType, offset, count);\n\t\t}\n\t}\n\t#renderLinesInternal() {\n\t\tthis.#setLinesProgramUniforms();\n\t\tfor (const mapId of this.mapsWithFetchableTilesForViewport) {\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap || !webgl2WarpedMap.shouldRenderLines()) continue;\n\t\t\tthis.#setLinesProgramMapUniforms(webgl2WarpedMap);\n\t\t\tconst count = webgl2WarpedMap.lineGroups.reduce((accumulator, lineGroup) => accumulator + lineGroup.projectedGeoLines.length, 0) * 6;\n\t\t\tconst primitiveType = this.gl.TRIANGLES;\n\t\t\tconst offset = 0;\n\t\t\tthis.gl.bindVertexArray(webgl2WarpedMap.linesVao);\n\t\t\tthis.gl.drawArrays(primitiveType, offset, count);\n\t\t}\n\t}\n\t#renderPointsInternal() {\n\t\tthis.#setPointsProgramUniforms();\n\t\tfor (const mapId of this.mapsWithFetchableTilesForViewport) {\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap || !webgl2WarpedMap.shouldRenderPoints()) continue;\n\t\t\tthis.#setPointsProgramMapUniforms(webgl2WarpedMap);\n\t\t\tconst count = webgl2WarpedMap.pointGroups.reduce((accumulator, pointGroup) => accumulator + pointGroup.projectedGeoPoints.length, 0);\n\t\t\tconst primitiveType = this.gl.POINTS;\n\t\t\tconst offset = 0;\n\t\t\tthis.gl.bindVertexArray(webgl2WarpedMap.pointsVao);\n\t\t\tthis.gl.drawArrays(primitiveType, offset, count);\n\t\t}\n\t}\n\t#setMapProgramUniforms() {\n\t\tconst program = this.mapProgram;\n\t\tconst gl = this.gl;\n\t\tgl.useProgram(program);\n\t\tconst animationProgressLocation = this.#getUniformLocation(gl, program, \"u_animationProgress\");\n\t\tgl.uniform1f(animationProgressLocation, this.animationProgress);\n\t}\n\t#setMapProgramMapUniforms(webgl2WarpedMap) {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.mapProgram;\n\t\tgl.useProgram(program);\n\t\tconst renderHomogeneousTransform = multiplyHomogeneousTransform(this.viewport.projectedGeoToClipHomogeneousTransform, webgl2WarpedMap.invertedRenderHomogeneousTransform);\n\t\tconst renderHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_renderHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(renderHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(renderHomogeneousTransform));\n\t\tconst visibilityOpacityLocation = this.#getUniformLocation(gl, program, \"u_visibilityOpacity\");\n\t\tgl.uniform1f(visibilityOpacityLocation, webgl2WarpedMap.visibilityOpacity);\n\t\tconst previousVisibilityOpacityLocation = this.#getUniformLocation(gl, program, \"u_previousVisibilityOpacity\");\n\t\tgl.uniform1f(previousVisibilityOpacityLocation, webgl2WarpedMap.previousVisibilityOpacity);\n\t\tconst applymaskOpacityLocation = this.#getUniformLocation(gl, program, \"u_applyMaskOpacity\");\n\t\tgl.uniform1f(applymaskOpacityLocation, webgl2WarpedMap.applyMaskOpacity);\n\t\tconst previousApplyMaskOpacityLocation = this.#getUniformLocation(gl, program, \"u_previousApplyMaskOpacity\");\n\t\tgl.uniform1f(previousApplyMaskOpacityLocation, webgl2WarpedMap.previousApplyMaskOpacity);\n\t\tconst opacityLocation = this.#getUniformLocation(gl, program, \"u_opacity\");\n\t\tgl.uniform1f(opacityLocation, webgl2WarpedMap.options.opacity);\n\t\tconst saturationLocation = this.#getUniformLocation(gl, program, \"u_saturation\");\n\t\tgl.uniform1f(saturationLocation, webgl2WarpedMap.options.saturation);\n\t\tconst removeColorLocation = this.#getUniformLocation(gl, program, \"u_removeColor\");\n\t\tgl.uniform1f(removeColorLocation, webgl2WarpedMap.options.removeColor ? 1 : 0);\n\t\tconst removeColorColorLocation = this.#getUniformLocation(gl, program, \"u_removeColorColor\");\n\t\tgl.uniform3fv(removeColorColorLocation, hexToFractionalRgb(webgl2WarpedMap.options.removeColorColor));\n\t\tconst removeColorThresholdLocation = this.#getUniformLocation(gl, program, \"u_removeColorThreshold\");\n\t\tgl.uniform1f(removeColorThresholdLocation, webgl2WarpedMap.options.removeColorThreshold);\n\t\tconst removeColorHardnessLocation = this.#getUniformLocation(gl, program, \"u_removeColorHardness\");\n\t\tgl.uniform1f(removeColorHardnessLocation, webgl2WarpedMap.options.removeColorHardness);\n\t\tconst colorizeLocation = this.#getUniformLocation(gl, program, \"u_colorize\");\n\t\tgl.uniform1f(colorizeLocation, webgl2WarpedMap.options.colorize ? 1 : 0);\n\t\tconst colorizeColorLocation = this.#getUniformLocation(gl, program, \"u_colorizeColor\");\n\t\tgl.uniform3fv(colorizeColorLocation, hexToFractionalRgb(webgl2WarpedMap.options.colorizeColor));\n\t\tconst gridLocation = this.#getUniformLocation(gl, program, \"u_renderGrid\");\n\t\tgl.uniform1f(gridLocation, webgl2WarpedMap.options.renderGrid ? 1 : 0);\n\t\tconst colorGrid = this.#getUniformLocation(gl, program, \"u_renderGridColor\");\n\t\tgl.uniform4fv(colorGrid, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.renderGridColor));\n\t\tconst distortionLocation = this.#getUniformLocation(gl, program, \"u_distortion\");\n\t\tgl.uniform1f(distortionLocation, webgl2WarpedMap.distortionMeasure ? 1 : 0);\n\t\tconst distortionMeasureLocation = this.#getUniformLocation(gl, program, \"u_distortionMeasure\");\n\t\tgl.uniform1i(distortionMeasureLocation, webgl2WarpedMap.distortionMeasure ? supportedDistortionMeasures.indexOf(webgl2WarpedMap.distortionMeasure) : 0);\n\t\tconst distortionColor00Location = this.#getUniformLocation(gl, program, \"u_distortionColor00\");\n\t\tgl.uniform4fv(distortionColor00Location, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor00));\n\t\tconst distortionColor01Location = this.#getUniformLocation(gl, program, \"u_distortionColor01\");\n\t\tgl.uniform4fv(distortionColor01Location, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor01));\n\t\tconst distortionColor1Location = this.#getUniformLocation(gl, program, \"u_distortionColor1\");\n\t\tgl.uniform4fv(distortionColor1Location, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor1));\n\t\tconst distortionColor2Location = this.#getUniformLocation(gl, program, \"u_distortionColor2\");\n\t\tgl.uniform4fv(distortionColor2Location, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor2));\n\t\tconst distortionColorLocation3 = this.#getUniformLocation(gl, program, \"u_distortionColor3\");\n\t\tgl.uniform4fv(distortionColorLocation3, hexToFractionalOpaqueRgba(webgl2WarpedMap.options.distortionColor3));\n\t\tconst debugTrianglesLocation = this.#getUniformLocation(gl, program, \"u_debugTriangles\");\n\t\tgl.uniform1f(debugTrianglesLocation, webgl2WarpedMap.options.debugTriangles ? 1 : 0);\n\t\tconst debugTilesLocation = this.#getUniformLocation(gl, program, \"u_debugTiles\");\n\t\tgl.uniform1f(debugTilesLocation, webgl2WarpedMap.options.debugTiles ? 1 : 0);\n\t\tconst scaleFactorForViewportLocation = this.#getUniformLocation(gl, program, \"u_scaleFactorForViewport\");\n\t\tconst scaleFactorForViewport = webgl2WarpedMap.tileZoomLevelForViewport ? webgl2WarpedMap.tileZoomLevelForViewport.scaleFactor : 1;\n\t\tgl.uniform1i(scaleFactorForViewportLocation, scaleFactorForViewport);\n\t\tconst cachedTilesTextureArrayLocation = this.#getUniformLocation(gl, program, \"u_cachedTilesTextureArray\");\n\t\tgl.uniform1i(cachedTilesTextureArrayLocation, 0);\n\t\tgl.activeTexture(gl.TEXTURE0);\n\t\tgl.bindTexture(gl.TEXTURE_2D_ARRAY, webgl2WarpedMap.cachedTilesTextureArray);\n\t\tconst cachedTilesResourceOriginPointsAndSizesLocation = this.#getUniformLocation(gl, program, \"u_cachedTilesResourceOriginPointsAndSizesTexture\");\n\t\tgl.uniform1i(cachedTilesResourceOriginPointsAndSizesLocation, 1);\n\t\tgl.activeTexture(gl.TEXTURE1);\n\t\tgl.bindTexture(gl.TEXTURE_2D, webgl2WarpedMap.cachedTilesResourceOriginPointsAndSizesTexture);\n\t\tconst cachedTileScaleFactorsTextureLocation = this.#getUniformLocation(gl, program, \"u_cachedTilesScaleFactorsTexture\");\n\t\tgl.uniform1i(cachedTileScaleFactorsTextureLocation, 2);\n\t\tgl.activeTexture(gl.TEXTURE2);\n\t\tgl.bindTexture(gl.TEXTURE_2D, webgl2WarpedMap.cachedTilesScaleFactorsTexture);\n\t}\n\t#setLinesProgramUniforms() {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.linesProgram;\n\t\tgl.useProgram(program);\n\t\tconst viewportToClipHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_viewportToClipHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(viewportToClipHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(this.viewport.viewportToClipHomogeneousTransform));\n\t\tconst clipToViewportHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_clipToViewportHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(clipToViewportHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(invertHomogeneousTransform(this.viewport.viewportToClipHomogeneousTransform)));\n\t\tconst animationProgressLocation = this.#getUniformLocation(gl, program, \"u_animationProgress\");\n\t\tgl.uniform1f(animationProgressLocation, this.animationProgress);\n\t}\n\t#setLinesProgramMapUniforms(webgl2WarpedMap) {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.linesProgram;\n\t\tgl.useProgram(program);\n\t\tconst renderHomogeneousTransform = multiplyHomogeneousTransform(this.viewport.projectedGeoToClipHomogeneousTransform, webgl2WarpedMap.invertedRenderHomogeneousTransform);\n\t\tconst renderHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_renderHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(renderHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(renderHomogeneousTransform));\n\t}\n\t#setPointsProgramUniforms() {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.pointsProgram;\n\t\tgl.useProgram(program);\n\t\tconst animationProgressLocation = this.#getUniformLocation(gl, program, \"u_animationProgress\");\n\t\tgl.uniform1f(animationProgressLocation, this.animationProgress);\n\t\tconst devicePixelRatioLocation = this.#getUniformLocation(gl, program, \"u_devicePixelRatio\");\n\t\tgl.uniform1f(devicePixelRatioLocation, this.viewport.devicePixelRatio);\n\t}\n\t#setPointsProgramMapUniforms(webgl2WarpedMap) {\n\t\tif (!this.viewport) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.pointsProgram;\n\t\tgl.useProgram(program);\n\t\tconst renderHomogeneousTransform = multiplyHomogeneousTransform(this.viewport.projectedGeoToClipHomogeneousTransform, webgl2WarpedMap.invertedRenderHomogeneousTransform);\n\t\tconst renderHomogeneousTransformLocation = this.#getUniformLocation(gl, program, \"u_renderHomogeneousTransform\");\n\t\tgl.uniformMatrix4fv(renderHomogeneousTransformLocation, false, homogeneousTransformToMatrix4(renderHomogeneousTransform));\n\t}\n\t#startAnimation(mapIds, partialAnimationOptions) {\n\t\tconst options = mergeOptions(DEFAULT_ANIMATION_OPTIONS, partialAnimationOptions);\n\t\tthis.#changed();\n\t\tthis.requestFetchableTiles();\n\t\tthis.updateVertexBuffers(mapIds);\n\t\tif (this.lastAnimationFrameRequestId !== void 0) cancelAnimationFrame(this.lastAnimationFrameRequestId);\n\t\tthis.animating = true;\n\t\tthis.animationProgress = 0;\n\t\tthis.animationStart = void 0;\n\t\tthis.lastAnimationFrameRequestId = requestAnimationFrame(((now) => this.#animationFrame(now, mapIds, options.duration)).bind(this));\n\t}\n\t#animationFrame(now, mapIds, duration) {\n\t\tif (!this.animationStart) this.animationStart = now;\n\t\tif (now - this.animationStart < duration) {\n\t\t\tthis.animationProgress = (now - this.animationStart) / duration;\n\t\t\tthis.#changed();\n\t\t\tthis.lastAnimationFrameRequestId = requestAnimationFrame(((now) => this.#animationFrame(now, mapIds, duration)).bind(this));\n\t\t} else this.#finishAnimation(mapIds);\n\t}\n\t#finishAnimation(mapIds) {\n\t\tthis.resetPrevious();\n\t\tthis.updateVertexBuffers(mapIds);\n\t\tthis.animating = false;\n\t\tthis.animationProgress = 0;\n\t\tthis.animationStart = void 0;\n\t\tthis.previousSignificantViewport = this.viewport;\n\t\tthis.#prepareRenderInternal();\n\t\tthis.#changed();\n\t}\n\t#changed() {\n\t\tthis.dispatchEvent(new WarpedMapEvent(WarpedMapEventType.CHANGED));\n\t}\n\timageLoaded(event) {\n\t\tif (event instanceof WarpedMapEvent) this.dispatchEvent(new WarpedMapEvent(WarpedMapEventType.IMAGELOADED, event.data));\n\t}\n\tclearMap(mapId) {\n\t\tconst webGL2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\tif (webGL2WarpedMap) webGL2WarpedMap.clearTextures();\n\t}\n\tmapTileLoaded(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds || !event.data?.tileUrl) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds, tileUrl } = event.data;\n\t\t\tconst mapId = mapIds[0];\n\t\t\tconst tile = this.tileCache.getCacheableTile(tileUrl);\n\t\t\tif (!tile) return;\n\t\t\tif (!tile.isCachedTile()) return;\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap) return;\n\t\t\twebgl2WarpedMap.addCachedTileAndUpdateTextures(tile);\n\t\t}\n\t}\n\tmapTileDeleted(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds || !event.data.tileUrl) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds, tileUrl } = event.data;\n\t\t\tconst mapId = mapIds[0];\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (!webgl2WarpedMap) return;\n\t\t\twebgl2WarpedMap.removeCachedTileAndUpdateTextures(tileUrl);\n\t\t}\n\t}\n\twarpedMapAdded(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds } = event.data;\n\t\t\tconst mapId = mapIds[0];\n\t\t\tconst webgl2WarpedMap = this.warpedMapList.getWarpedMap(mapId);\n\t\t\tif (webgl2WarpedMap) this.#addEventListenersToWebGL2WarpedMap(webgl2WarpedMap);\n\t\t}\n\t}\n\tprepareChange(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds } = event.data;\n\t\t\tif (this.animating) for (const webgl2WarpedMap of this.warpedMapList.getWarpedMaps({ mapIds })) webgl2WarpedMap.mixPreviousAndNew(1 - this.animationProgress);\n\t\t}\n\t}\n\tanimatedChange(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds, animationOptions } = event.data;\n\t\t\tthis.#startAnimation(mapIds, animationOptions);\n\t\t}\n\t}\n\timmediateChange(event) {\n\t\tif (event instanceof WarpedMapEvent) {\n\t\t\tif (!event.data?.mapIds) throw new Error(\"Event data missing\");\n\t\t\tconst { mapIds } = event.data;\n\t\t\tthis.#finishAnimation(mapIds);\n\t\t}\n\t}\n\t#addEventListenersToWebGL2WarpedMap(webgl2WarpedMap) {\n\t\tconst bound = this.#throttledChanged.bind(this);\n\t\tthis.#boundThrottledChangedByMapId.set(webgl2WarpedMap.mapId, bound);\n\t\twebgl2WarpedMap.addEventListener(WarpedMapEventType.TEXTURESUPDATED, bound);\n\t}\n\t#removeEventListenersFromWebGL2WarpedMap(webgl2WarpedMap) {\n\t\tconst bound = this.#boundThrottledChangedByMapId.get(webgl2WarpedMap.mapId);\n\t\tif (bound) {\n\t\t\twebgl2WarpedMap.removeEventListener(WarpedMapEventType.TEXTURESUPDATED, bound);\n\t\t\tthis.#boundThrottledChangedByMapId.delete(webgl2WarpedMap.mapId);\n\t\t}\n\t}\n\tcontextLost() {\n\t\tthis.disableRender = true;\n\t\tthis.cancelThrottledFunctions();\n\t\tfor (const webgl2WarpedMap of this.warpedMapList.getWarpedMaps()) webgl2WarpedMap.cancelThrottledFunctions();\n\t\tthis.tileCache.clear();\n\t}\n\tcontextRestored() {\n\t\tthis.initializeWebGL(this.gl);\n\t\tthis.disableRender = false;\n\t}\n};\n//#endregion\nexport { WebGL2Renderer };\n\n//# sourceMappingURL=WebGL2Renderer.js.map"],"names":["THROTTLE_PREPARE_RENDER_WAIT_MS","THROTTLE_PREPARE_RENDER_OPTIONS","THROTTLE_CHANGED_WAIT_MS","THROTTLE_CHANGED_OPTIONS","SIGNIFICANT_VIEWPORT_EPSILON","SIGNIFICANT_VIEWPORT_DISTANCE","WebGL2Renderer","BaseRenderer","#worker","#spritesWorker","#uniformCache","#throttledPrepareRenderInternal","#throttledChanged","#boundThrottledChangedByMapId","gl","options","mapVertexShader","createShader","vertex_shader_default","mapFragmentShader","fragment_shader_default","linesVertexShader","vertex_shader_default$1","linesFragmentShader","fragment_shader_default$1","pointsVertexShader","vertex_shader_default$2","pointsFragmentShader","fragment_shader_default$2","mapProgram","createProgram","linesProgram","pointsProgram","worker","WorkerWrapper","spritesWorker","WorkerWrapper$1","wrappedWorker","wrap","wrappedSpritesWorker","defaultSpecificWebGL2RenderOptions","createWebGL2WarpedMapFactory","CacheableWorkerImageDataTile","mergeOptions","throttle","#prepareRenderInternal","#changed","webgl2WarpedMap","viewport","Viewport","#renderInternal","#removeEventListenersFromWebGL2WarpedMap","#getUniformLocation","program","name","programCache","location","allFechableTilesForViewport","mapsWithFetchableTilesForViewportEntering","mapsWithFetchableTilesForViewportLeaving","mapsInViewportEntering","mapsInViewportLeaving","webgl2WarpedMaps","mapIds","rectangleSquaredDistances","i","squaredDistance","maxSquaredDistance","#renderMapsInternal","#renderLinesInternal","#renderPointsInternal","#setMapProgramUniforms","mapId","#setMapProgramMapUniforms","count","primitiveType","offset","#setLinesProgramUniforms","#setLinesProgramMapUniforms","accumulator","lineGroup","#setPointsProgramUniforms","#setPointsProgramMapUniforms","pointGroup","animationProgressLocation","renderHomogeneousTransform","multiplyHomogeneousTransform","renderHomogeneousTransformLocation","homogeneousTransformToMatrix4","visibilityOpacityLocation","previousVisibilityOpacityLocation","applymaskOpacityLocation","previousApplyMaskOpacityLocation","opacityLocation","saturationLocation","removeColorLocation","removeColorColorLocation","hexToFractionalRgb","removeColorThresholdLocation","removeColorHardnessLocation","colorizeLocation","colorizeColorLocation","gridLocation","colorGrid","hexToFractionalOpaqueRgba","distortionLocation","distortionMeasureLocation","supportedDistortionMeasures","distortionColor00Location","distortionColor01Location","distortionColor1Location","distortionColor2Location","distortionColorLocation3","debugTrianglesLocation","debugTilesLocation","scaleFactorForViewportLocation","scaleFactorForViewport","cachedTilesTextureArrayLocation","cachedTilesResourceOriginPointsAndSizesLocation","cachedTileScaleFactorsTextureLocation","viewportToClipHomogeneousTransformLocation","clipToViewportHomogeneousTransformLocation","invertHomogeneousTransform","devicePixelRatioLocation","#startAnimation","partialAnimationOptions","DEFAULT_ANIMATION_OPTIONS","now","#animationFrame","duration","#finishAnimation","WarpedMapEvent","WarpedMapEventType","event","webGL2WarpedMap","tileUrl","tile","#addEventListenersToWebGL2WarpedMap","animationOptions","bound"],"mappings":"oyBAqBA,IAAIA,GAAkC,IAClCC,GAAkC,CACrC,QAAS,GACT,SAAU,EACX,EACIC,GAA2B,GAC3BC,GAA2B,CAC9B,QAAS,GACT,SAAU,EACX,EACIC,GAA+B,IAAM,OAAO,QAC5CC,GAAgC,EAIhCC,GAAiB,cAAcC,EAAAA,YAAa,CAC/CC,GACAC,GACA,uCACA,GACA,WACA,aACA,cACAC,GACA,4BACA,4BACA,UAAY,GACZ,eACA,kBAAoB,EACpB,cAAgB,GAChBC,GACAC,GACAC,GAQA,YAAYC,EAAIC,EAAS,CACxB,MAAMC,EAAkBC,EAAAA,aAAaH,EAAIA,EAAG,cAAeI,CAAqB,EAC1EC,EAAoBF,EAAAA,aAAaH,EAAIA,EAAG,gBAAiBM,CAAuB,EAChFC,EAAoBJ,EAAAA,aAAaH,EAAIA,EAAG,cAAeQ,CAAuB,EAC9EC,EAAsBN,EAAAA,aAAaH,EAAIA,EAAG,gBAAiBU,CAAyB,EACpFC,EAAqBR,EAAAA,aAAaH,EAAIA,EAAG,cAAeY,CAAuB,EAC/EC,EAAuBV,EAAAA,aAAaH,EAAIA,EAAG,gBAAiBc,CAAyB,EACrFC,EAAaC,EAAAA,cAAchB,EAAIE,EAAiBG,CAAiB,EACjEY,EAAeD,EAAAA,cAAchB,EAAIO,EAAmBE,CAAmB,EACvES,EAAgBF,EAAAA,cAAchB,EAAIW,EAAoBE,CAAoB,EAC1EM,EAAS,IAAIC,EACbC,EAAgB,IAAIC,EACpBC,EAAgBC,EAAAA,KAAKL,CAAM,EAC3BM,EAAuBD,EAAAA,KAAKH,CAAa,EACzCK,EAAqC,CAC1C,iBAAkBC,EAAAA,6BAA6B3B,EAAIe,EAAYE,EAAcC,CAAa,EAC1F,sBAAuB,EAAA,EAExB,MAA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Q,EAAGhB,EAAgB,kBAAkB,EAAI,KAAK,iBAAiB,CAC7J,CACD,CACA,eAAesF,EAAO,CACrB,GAAIA,aAAiBF,EAAAA,eAAgB,CACpC,GAAI,CAACE,EAAM,MAAM,OAAQ,MAAM,IAAI,MAAM,oBAAoB,EAC7D,KAAM,CAAE,OAAAtE,EAAQ,iBAAA2E,CAAA,EAAqBL,EAAM,KAC3C,KAAKT,GAAgB7D,EAAQ2E,CAAgB,CAC9C,CACD,CACA,gBAAgBL,EAAO,CACtB,GAAIA,aAAiBF,EAAAA,eAAgB,CACpC,GAAI,CAACE,EAAM,MAAM,OAAQ,MAAM,IAAI,MAAM,oBAAoB,EAC7D,KAAM,CAAE,OAAAtE,GAAWsE,EAAM,KACzB,KAAKH,GAAiBnE,CAAM,CAC7B,CACD,CACA0E,GAAoC1F,EAAiB,CACpD,MAAM4F,EAAQ,KAAK/H,GAAkB,KAAK,IAAI,EAC9C,KAAKC,GAA8B,IAAIkC,EAAgB,MAAO4F,CAAK,EACnE5F,EAAgB,iBAAiBqF,qBAAmB,gBAAiBO,CAAK,CAC3E,CACAxF,GAAyCJ,EAAiB,CACzD,MAAM4F,EAAQ,KAAK9H,GAA8B,IAAIkC,EAAgB,KAAK,EACtE4F,IACH5F,EAAgB,oBAAoBqF,qBAAmB,gBAAiBO,CAAK,EAC7E,KAAK9H,GAA8B,OAAOkC,EAAgB,KAAK,EAEjE,CACA,aAAc,CACb,KAAK,cAAgB,GACrB,KAAK,yBAAA,EACL,UAAWA,KAAmB,KAAK,cAAc,cAAA,IAAiC,yBAAA,EAClF,KAAK,UAAU,MAAA,CAChB,CACA,iBAAkB,CACjB,KAAK,gBAAgB,KAAK,EAAE,EAC5B,KAAK,cAAgB,EACtB,CACD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs252.js");e();
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.cjs280.js"),g=require("./index.cjs204.js"),e=require("./index.cjs196.js"),c=require("./index.cjs275.js"),a=require("./index.cjs198.js");require("./index.cjs205.js");const d=require("./index.cjs206.js");var h={rotation:0,devicePixelRatio:1,projection:d.webMercatorProjection},m={zoom:1},u={fit:"contain"},P=class j{geoCenter;geoRectangle;geoSize;geoResolution;geoRectangleBbox;projection;projectedGeoCenter;projectedGeoRectangle;projectedGeoSize;projectedGeoResolution;projectedGeoRectangleBbox;rotation;projectedGeoPerViewportScale;viewportCenter;viewportRectangle;viewportSize;viewportResolution;viewportBbox;devicePixelRatio;canvasCenter;canvasRectangle;canvasSize;canvasResolution;canvasBbox;projectedGeoPerCanvasScale;projectedGeoToViewportHomogeneousTransform=[1,0,0,1,0,0];projectedGeoToCanvasHomogeneousTransform=[1,0,0,1,0,0];projectedGeoToClipHomogeneousTransform=[1,0,0,1,0,0];viewportToClipHomogeneousTransform=[1,0,0,1,0,0];constructor(t,r,i,o){const n=a.mergeOptions(h,o);this.projectedGeoCenter=r,this.projectedGeoPerViewportScale=i,this.rotation=n.rotation,this.viewportSize=[Math.round(t[0]),Math.round(t[1])],this.devicePixelRatio=n.devicePixelRatio,this.projection=n.projection,this.projectedGeoRectangle=this.#r(this.viewportSize,this.projectedGeoPerViewportScale,this.rotation,this.projectedGeoCenter),this.projectedGeoRectangleBbox=e.computeBbox(this.projectedGeoRectangle),this.projectedGeoSize=e.scaleSize(this.viewportSize,i),this.projectedGeoResolution=e.sizeToResolution(this.projectedGeoSize),this.geoRectangle=this.projectedGeoRectangle.map(s=>g(this.projection.definition,d.lonLatProjection.definition,s)),this.geoRectangleBbox=e.computeBbox(this.geoRectangle),this.geoCenter=e.bboxToCenter(this.geoRectangleBbox),this.geoSize=e.bboxToSize(this.geoRectangleBbox),this.geoResolution=e.sizeToResolution(this.geoSize),this.viewportResolution=e.sizeToResolution(this.viewportSize),this.viewportCenter=e.sizeToCenter(this.viewportSize),this.viewportBbox=e.sizeToBbox(this.viewportSize),this.viewportRectangle=e.bboxToRectangle(this.viewportBbox),this.canvasCenter=c.scalePoint(this.viewportCenter,this.devicePixelRatio),this.canvasSize=e.scaleSize(this.viewportSize,this.devicePixelRatio),this.canvasResolution=e.sizeToResolution(this.canvasSize),this.canvasBbox=e.sizeToBbox(this.canvasSize),this.canvasRectangle=e.bboxToRectangle(this.canvasBbox),this.projectedGeoPerCanvasScale=this.projectedGeoPerViewportScale/this.devicePixelRatio,this.projectedGeoToViewportHomogeneousTransform=this.#e(),this.projectedGeoToCanvasHomogeneousTransform=this.#o(),this.projectedGeoToClipHomogeneousTransform=this.#t(),this.viewportToClipHomogeneousTransform=this.#i()}static fromSizeAndMaps(t,r,i){const o=r.getMapsConvexHull(a.mergePartialOptions(i,{projection:d.webMercatorProjection}));if(!o)throw new Error("Maps have no projected convex hull. Possibly because WarpedMapList or Array is empty.");return this.fromSizeAndProjectedGeoPolygon(t,[o],i)}static fromSizeAndGeoPolygon(t,r,i){const o=a.mergeOptions({...h,...m,...u},i),n=r.map(s=>s.map(l=>g(o.projection.definition,l)));return this.fromSizeAndProjectedGeoPolygon(t,n,i)}static fromSizeAndProjectedGeoPolygon(t,r,i){const o=a.mergeOptions({...h,...m,...u},i),n=r[0],s=e.computeBbox(c.rotatePoints(n,-o.rotation)),l=e.bboxToSize(s),v=e.bboxToCenter(s),G=e.sizesToScale(l,t,o.fit);return new j(t,c.rotatePoint(v,o.rotation),G*o.zoom,o)}static fromScaleAndMaps(t,r,i){const o=r.getMapsConvexHull(a.mergePartialOptions(i,{projection:d.webMercatorProjection}));if(!o)throw new Error("Maps have no projected convex hull. Possibly because WarpedMapList or Array is empty.");return this.fromScaleAndProjectedGeoPolygon(t,[o],i)}static fromScaleAndGeoPolygon(t,r,i){const o=a.mergeOptions({...h,...m,...u},i),n=r.map(s=>s.map(l=>g(o.projection.definition,l)));return this.fromScaleAndProjectedGeoPolygon(t,n,i)}static fromScaleAndProjectedGeoPolygon(t,r,i){const o=a.mergeOptions({...h,...m},i),n=r[0],s=e.computeBbox(c.scalePoints(c.rotatePoints(n,-o.rotation),1/t));return new j(e.bboxToSize(s),c.rotatePoint(c.scalePoint(e.bboxToCenter(s),t),o.rotation),t*o.zoom,o)}getProjectedGeoBufferedRectangle(t){return e.bboxToRectangle(e.bufferBboxByRatio(this.viewportBbox,t)).map(r=>p.applyHomogeneousTransform(p.invertHomogeneousTransform(this.projectedGeoToViewportHomogeneousTransform),r))}getGeoBufferedRectangle(t){return this.getProjectedGeoBufferedRectangle(t).map(r=>g(this.projection.definition,d.lonLatProjection.definition,r))}#e(){return p.composeHomogeneousTransform(this.viewportCenter[0],this.viewportCenter[1],1/this.projectedGeoPerViewportScale,-1/this.projectedGeoPerViewportScale,-this.rotation,-this.projectedGeoCenter[0],-this.projectedGeoCenter[1])}#o(){return p.composeHomogeneousTransform(this.canvasCenter[0],this.canvasCenter[1],1/this.projectedGeoPerCanvasScale,-1/this.projectedGeoPerCanvasScale,-this.rotation,-this.projectedGeoCenter[0],-this.projectedGeoCenter[1])}#t(){return p.composeHomogeneousTransform(0,0,2/(this.projectedGeoPerViewportScale*this.viewportSize[0]),2/(this.projectedGeoPerViewportScale*this.viewportSize[1]),-this.rotation,-this.projectedGeoCenter[0],-this.projectedGeoCenter[1])}#i(){return p.composeHomogeneousTransform(0,0,2/this.viewportSize[0],-2/this.viewportSize[1],0,-this.viewportCenter[0],-this.viewportCenter[1])}#r(t,r,i,o){const n=e.sizeToRectangle(e.scaleSize(t,r));return c.translatePoints(c.rotatePoints(c.translatePoints(n,c.midPoint(...n),"substract"),i),o)}};exports.Viewport=P;
2
2
  //# sourceMappingURL=index.cjs203.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs203.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
+ {"version":3,"file":"index.cjs203.js","sources":["../../../node_modules/@allmaps/render/dist/viewport/Viewport.js"],"sourcesContent":["import { applyHomogeneousTransform, composeHomogeneousTransform, invertHomogeneousTransform } from \"../shared/homogeneous-transform.js\";\nimport proj4 from \"proj4\";\nimport { bboxToCenter, bboxToRectangle, bboxToSize, bufferBboxByRatio, computeBbox, mergeOptions, mergePartialOptions, midPoint, rotatePoint, rotatePoints, scalePoint, scalePoints, scaleSize, sizeToBbox, sizeToCenter, sizeToRectangle, sizeToResolution, sizesToScale, translatePoints } from \"@allmaps/stdlib\";\nimport { lonLatProjection, webMercatorProjection } from \"@allmaps/project\";\n//#region src/viewport/Viewport.ts\nvar defaultViewportOptions = {\n\trotation: 0,\n\tdevicePixelRatio: 1,\n\tprojection: webMercatorProjection\n};\nvar defaultZoomOptions = { zoom: 1 };\nvar defaultFitOptions = { fit: \"contain\" };\n/**\n* The viewport describes the view on the rendered map.\n* @property geoCenter - Center point of the viewport, in longitude/latitude coordinates.\n* @property geoRectangle - Rotated rectangle (possibly quadrilateral) of the viewport point, in longitude/latitude coordinates.\n* @property geoSize - Size of the viewport in longitude/latitude coordinates, as [width, height]. (This is the size of the bounding box of the rectangle, since longitude/latitude only makes sense in that case).\n* @property geoResolution - Resolution of the viewport in longitude/latitude coordinates, as width * height. (This is the size of the bounding box of the rectangle, since longitude/latitude only makes sense in that case).\n* @property geoRectangleBbox - Bounding box of the rotated rectangle of the viewport, in longitude/latitude coordinates.\n* @property projectedGeoCenter - Center point of the viewport, in projected geospatial coordinates.\n* @property projectedGeoRectangle - Rotated rectangle of the viewport point, in projected geospatial coordinates.\n* @property projectedGeoSize - Size of the viewport in projected geospatial coordinates, as [width, height]. (This is not the size of the bounding box of the rotated rectangle, but the width and hight of the rectangle).\n* @property projectedGeoResolution - Resolution of the viewport in projected geospatial coordinates, as width * height. (This is not the size of the bounding box of the rotated rectangle, but the width and hight of the rectangle).\n* @property projectedGeoRectangleBbox - Bounding box of the rotated rectangle of the viewport, in projected geospatial coordinates.\n* @property rotation - Rotation of the viewport with respect to the projected coordinate system.\n* @property projectedGeoPerViewportScale - Scale of the viewport, in projected geospatial coordinates per viewport pixel.\n* @property viewportCenter - Center point of the viewport, in viewport pixels.\n* @property viewportRectangle - Rectangle of the viewport point, in viewport pixels.\n* @property viewportSize - Size of the viewport in viewport pixels, as [width, height].\n* @property viewportResolution - Resolution of the viewport in viewport pixels, as width * height.\n* @property viewportBbox - Bounding box of the viewport, in viewport pixels.\n* @property devicePixelRatio - The devicePixelRatio of the viewport.\n* @property canvasCenter - Center point of the canvas, in canvas pixels.\n* @property canvasRectangle - Rectangle of the canvas, in canvas pixels.\n* @property canvasSize - Size of the canvas in canvas pixels (viewportSize*devicePixelRatio), as [width, height].\n* @property canvasResolution - Resolution of the canvas in canvas pixels (viewportSize*devicePixelRatio), as width * height.\n* @property canvasBbox - Bounding box of the canvas, in canvas pixels.\n* @property projectedGeoPerCanvasScale - Scale of the viewport, in projected geospatial coordinates per canvas pixel (projectedGeoPerViewportScale/devicePixelRatio).\n* @property projectedGeoToViewportHomogeneousTransform - Homogeneous Transform from projected geo coordinates to viewport pixels. Equivalent to OpenLayers coordinateToPixelTransform.\n* @property projectedGeoToCanvasHomogeneousTransform - Homogeneous Transform from projected geo coordinates to canvas pixels.\n* @property projectedGeoToClipHomogeneousTransform - Homogeneous Transform from projected geo coordinates to WebGL coordinates in the [-1, 1] range. Equivalent to OpenLayers projectionTransform.\n* @property viewportToClipHomogeneousTransform - Homogeneous Transform from viewport coordinates to WebGL coordinates in the [-1, 1] range.\n*/\nvar Viewport = class Viewport {\n\tgeoCenter;\n\tgeoRectangle;\n\tgeoSize;\n\tgeoResolution;\n\tgeoRectangleBbox;\n\tprojection;\n\tprojectedGeoCenter;\n\tprojectedGeoRectangle;\n\tprojectedGeoSize;\n\tprojectedGeoResolution;\n\tprojectedGeoRectangleBbox;\n\trotation;\n\tprojectedGeoPerViewportScale;\n\tviewportCenter;\n\tviewportRectangle;\n\tviewportSize;\n\tviewportResolution;\n\tviewportBbox;\n\tdevicePixelRatio;\n\tcanvasCenter;\n\tcanvasRectangle;\n\tcanvasSize;\n\tcanvasResolution;\n\tcanvasBbox;\n\tprojectedGeoPerCanvasScale;\n\tprojectedGeoToViewportHomogeneousTransform = [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0\n\t];\n\tprojectedGeoToCanvasHomogeneousTransform = [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0\n\t];\n\tprojectedGeoToClipHomogeneousTransform = [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0\n\t];\n\tviewportToClipHomogeneousTransform = [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0\n\t];\n\t/**\n\t* Creates a new Viewport\n\t*\n\t* @constructor\n\t* @param viewportSize - Size of the viewport in viewport pixels, as [width, height].\n\t* @param projectedGeoCenter - Center point of the viewport, in projected geospatial coordinates.\n\t* @param projectedGeoPerViewportScale - Scale of the viewport, in projection coordinates per viewport pixel.\n\t* @param rotation - Rotation of the viewport with respect to the projected geo coordinate system. Positive values rotate the viewport positively (i.e. counter-clockwise) w.r.t. the map in projected geospatial coordinates. This is equivalent to rotating the map negatively (i.e. clockwise) within the viewport.\n\t* @param devicePixelRatio - The devicePixelRatio of the viewport.\n\t* @param projection - The projection the projected coordinates are in .\n\t*/\n\tconstructor(viewportSize, projectedGeoCenter, projectedGeoPerViewportScale, partialViewportOptions) {\n\t\tconst viewportOptions = mergeOptions(defaultViewportOptions, partialViewportOptions);\n\t\tthis.projectedGeoCenter = projectedGeoCenter;\n\t\tthis.projectedGeoPerViewportScale = projectedGeoPerViewportScale;\n\t\tthis.rotation = viewportOptions.rotation;\n\t\tthis.viewportSize = [Math.round(viewportSize[0]), Math.round(viewportSize[1])];\n\t\tthis.devicePixelRatio = viewportOptions.devicePixelRatio;\n\t\tthis.projection = viewportOptions.projection;\n\t\tthis.projectedGeoRectangle = this.#computeProjectedGeoRectangle(this.viewportSize, this.projectedGeoPerViewportScale, this.rotation, this.projectedGeoCenter);\n\t\tthis.projectedGeoRectangleBbox = computeBbox(this.projectedGeoRectangle);\n\t\tthis.projectedGeoSize = scaleSize(this.viewportSize, projectedGeoPerViewportScale);\n\t\tthis.projectedGeoResolution = sizeToResolution(this.projectedGeoSize);\n\t\tthis.geoRectangle = this.projectedGeoRectangle.map((point) => {\n\t\t\treturn proj4(this.projection.definition, lonLatProjection.definition, point);\n\t\t});\n\t\tthis.geoRectangleBbox = computeBbox(this.geoRectangle);\n\t\tthis.geoCenter = bboxToCenter(this.geoRectangleBbox);\n\t\tthis.geoSize = bboxToSize(this.geoRectangleBbox);\n\t\tthis.geoResolution = sizeToResolution(this.geoSize);\n\t\tthis.viewportResolution = sizeToResolution(this.viewportSize);\n\t\tthis.viewportCenter = sizeToCenter(this.viewportSize);\n\t\tthis.viewportBbox = sizeToBbox(this.viewportSize);\n\t\tthis.viewportRectangle = bboxToRectangle(this.viewportBbox);\n\t\tthis.canvasCenter = scalePoint(this.viewportCenter, this.devicePixelRatio);\n\t\tthis.canvasSize = scaleSize(this.viewportSize, this.devicePixelRatio);\n\t\tthis.canvasResolution = sizeToResolution(this.canvasSize);\n\t\tthis.canvasBbox = sizeToBbox(this.canvasSize);\n\t\tthis.canvasRectangle = bboxToRectangle(this.canvasBbox);\n\t\tthis.projectedGeoPerCanvasScale = this.projectedGeoPerViewportScale / this.devicePixelRatio;\n\t\tthis.projectedGeoToViewportHomogeneousTransform = this.#composeProjectedGeoToViewportHomogeneousTransform();\n\t\tthis.projectedGeoToCanvasHomogeneousTransform = this.#composeProjectedGeoToCanvasHomogeneousTransform();\n\t\tthis.projectedGeoToClipHomogeneousTransform = this.#composeProjectedGeoToClipHomogeneousTransform();\n\t\tthis.viewportToClipHomogeneousTransform = this.#composeViewportToClipHomogeneousTransform();\n\t}\n\t/**\n\t* Static method that creates a Viewport from a size and maps.\n\t*\n\t* Optionally specify a projection, to be used both when obtaining the extent of selected warped maps in projected geospatial coordinates, as well as when create a viewport\n\t*\n\t* @param viewportSize - Size of the viewport in viewport pixels, as [width, height].\n\t* @param warpedMapList - A WarpedMapList.\n\t* @param partialExtendedViewportOptions - Optional viewport options\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromSizeAndMaps(viewportSize, warpedMapList, partialExtendedViewportOptions) {\n\t\tconst projectedGeoConvexHull = warpedMapList.getMapsConvexHull(mergePartialOptions(partialExtendedViewportOptions, { projection: webMercatorProjection }));\n\t\tif (!projectedGeoConvexHull) throw new Error(\"Maps have no projected convex hull. Possibly because WarpedMapList or Array is empty.\");\n\t\treturn this.fromSizeAndProjectedGeoPolygon(viewportSize, [projectedGeoConvexHull], partialExtendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a size and a polygon in geospatial coordinates, i.e. lon-lat `EPSG:4326`.\n\t*\n\t* @static\n\t* @param viewportSize - Size of the viewport in viewport pixels, as [width, height].\n\t* @param geoPolygon - A polygon in geospatial coordinates.\n\t* @param partialExtendedViewportOptions - Optional viewport options\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromSizeAndGeoPolygon(viewportSize, geoPolygon, partialExtendedViewportOptions) {\n\t\tconst extendedViewportOptions = mergeOptions({\n\t\t\t...defaultViewportOptions,\n\t\t\t...defaultZoomOptions,\n\t\t\t...defaultFitOptions\n\t\t}, partialExtendedViewportOptions);\n\t\tconst projectedGeoPolygon = geoPolygon.map((ring) => ring.map((point) => proj4(extendedViewportOptions.projection.definition, point)));\n\t\treturn this.fromSizeAndProjectedGeoPolygon(viewportSize, projectedGeoPolygon, partialExtendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a size and a polygon in projected geospatial coordinates.\n\t*\n\t* @static\n\t* @param viewportSize - Size of the viewport in viewport pixels, as [width, height].\n\t* @param projectedGeoPolygon - A polygon in projected geospatial coordinates.\n\t* @param partialExtendedViewportOptions - Optional viewport options\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromSizeAndProjectedGeoPolygon(viewportSize, projectedGeoPolygon, partialExtendedViewportOptions) {\n\t\tconst extendedViewportOptions = mergeOptions({\n\t\t\t...defaultViewportOptions,\n\t\t\t...defaultZoomOptions,\n\t\t\t...defaultFitOptions\n\t\t}, partialExtendedViewportOptions);\n\t\tconst projectedGeoRing = projectedGeoPolygon[0];\n\t\tconst projectedGeoRotatedBbox = computeBbox(rotatePoints(projectedGeoRing, -extendedViewportOptions.rotation));\n\t\tconst projectedGeoRotatedSize = bboxToSize(projectedGeoRotatedBbox);\n\t\tconst projectedGeoRotatedCenter = bboxToCenter(projectedGeoRotatedBbox);\n\t\tconst projectedGeoPerViewportScale = sizesToScale(projectedGeoRotatedSize, viewportSize, extendedViewportOptions.fit);\n\t\treturn new Viewport(viewportSize, rotatePoint(projectedGeoRotatedCenter, extendedViewportOptions.rotation), projectedGeoPerViewportScale * extendedViewportOptions.zoom, extendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a scale and maps.\n\t*\n\t* Optionally specify a projection, to be used both when obtaining the extent of selected warped maps in projected geospatial coordinates, as well as when create a viewport\n\t*\n\t* @param projectedGeoPerViewportScale - Scale of the viewport, in projected geospatial coordinates per viewport pixel.\n\t* @param warpedMapList - A WarpedMapList.\n\t* @param partialExtendedViewportOptions - Optional viewport options.\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromScaleAndMaps(projectedGeoPerViewportScale, warpedMapList, partialExtendedViewportOptions) {\n\t\tconst projectedGeoConvexHull = warpedMapList.getMapsConvexHull(mergePartialOptions(partialExtendedViewportOptions, { projection: webMercatorProjection }));\n\t\tif (!projectedGeoConvexHull) throw new Error(\"Maps have no projected convex hull. Possibly because WarpedMapList or Array is empty.\");\n\t\treturn this.fromScaleAndProjectedGeoPolygon(projectedGeoPerViewportScale, [projectedGeoConvexHull], partialExtendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a scale and a polygon in geospatial coordinates, i.e. lon-lat `EPSG:4326`.\n\t*\n\t* Note: the scale is still in *projected* geospatial per viewport pixel!\n\t*\n\t* @param projectedGeoPerViewportScale - Scale of the viewport, in projected geospatial coordinates per viewport pixel.\n\t* @param geoPolygon - A polygon in geospatial coordinates.\n\t* @param partialViewportOptions - Optional viewport options.\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromScaleAndGeoPolygon(projectedGeoPerViewportScale, geoPolygon, partialExtendedViewportOptions) {\n\t\tconst extendedViewportOptions = mergeOptions({\n\t\t\t...defaultViewportOptions,\n\t\t\t...defaultZoomOptions,\n\t\t\t...defaultFitOptions\n\t\t}, partialExtendedViewportOptions);\n\t\tconst projectedGeoPolygon = geoPolygon.map((ring) => ring.map((point) => proj4(extendedViewportOptions.projection.definition, point)));\n\t\treturn this.fromScaleAndProjectedGeoPolygon(projectedGeoPerViewportScale, projectedGeoPolygon, partialExtendedViewportOptions);\n\t}\n\t/**\n\t* Static method that creates a Viewport from a scale and a polygon in projected geospatial coordinates.\n\t*\n\t* @param projectedGeoPerViewportScale - Scale of the viewport, in projected geospatial coordinates per viewport pixel.\n\t* @param projectedGeoPolygon - A polygon in projected geospatial coordinates.\n\t* @param partialViewportOptions - Optional viewport options.\n\t* @returns A new Viewport object.\n\t*/\n\tstatic fromScaleAndProjectedGeoPolygon(projectedGeoPerViewportScale, projectedGeoPolygon, partialExtendedViewportOptions) {\n\t\tconst extendedViewportOptions = mergeOptions({\n\t\t\t...defaultViewportOptions,\n\t\t\t...defaultZoomOptions\n\t\t}, partialExtendedViewportOptions);\n\t\tconst projectedGeoRing = projectedGeoPolygon[0];\n\t\tconst viewportBbox = computeBbox(scalePoints(rotatePoints(projectedGeoRing, -extendedViewportOptions.rotation), 1 / projectedGeoPerViewportScale));\n\t\treturn new Viewport(bboxToSize(viewportBbox), rotatePoint(scalePoint(bboxToCenter(viewportBbox), projectedGeoPerViewportScale), extendedViewportOptions.rotation), projectedGeoPerViewportScale * extendedViewportOptions.zoom, extendedViewportOptions);\n\t}\n\tgetProjectedGeoBufferedRectangle(bufferFraction) {\n\t\treturn bboxToRectangle(bufferBboxByRatio(this.viewportBbox, bufferFraction)).map((point) => applyHomogeneousTransform(invertHomogeneousTransform(this.projectedGeoToViewportHomogeneousTransform), point));\n\t}\n\tgetGeoBufferedRectangle(bufferFraction) {\n\t\treturn this.getProjectedGeoBufferedRectangle(bufferFraction).map((point) => proj4(this.projection.definition, lonLatProjection.definition, point));\n\t}\n\t#composeProjectedGeoToViewportHomogeneousTransform() {\n\t\treturn composeHomogeneousTransform(this.viewportCenter[0], this.viewportCenter[1], 1 / this.projectedGeoPerViewportScale, -1 / this.projectedGeoPerViewportScale, -this.rotation, -this.projectedGeoCenter[0], -this.projectedGeoCenter[1]);\n\t}\n\t#composeProjectedGeoToCanvasHomogeneousTransform() {\n\t\treturn composeHomogeneousTransform(this.canvasCenter[0], this.canvasCenter[1], 1 / this.projectedGeoPerCanvasScale, -1 / this.projectedGeoPerCanvasScale, -this.rotation, -this.projectedGeoCenter[0], -this.projectedGeoCenter[1]);\n\t}\n\t#composeProjectedGeoToClipHomogeneousTransform() {\n\t\treturn composeHomogeneousTransform(0, 0, 2 / (this.projectedGeoPerViewportScale * this.viewportSize[0]), 2 / (this.projectedGeoPerViewportScale * this.viewportSize[1]), -this.rotation, -this.projectedGeoCenter[0], -this.projectedGeoCenter[1]);\n\t}\n\t#composeViewportToClipHomogeneousTransform() {\n\t\treturn composeHomogeneousTransform(0, 0, 2 / this.viewportSize[0], -2 / this.viewportSize[1], 0, -this.viewportCenter[0], -this.viewportCenter[1]);\n\t}\n\t/**\n\t* Returns a rectangle in projected geospatial coordinates\n\t*\n\t* The rectangle is the result of a horizontal rectangle in Viewport space of size 'viewportSize',\n\t* scaled using projectedGeoPerViewportScale, centered,\n\t* rotated using 'rotation' and translated to 'projectedGeoCenter'.\n\t*\n\t* @private\n\t* @param viewportSize\n\t* @param projectedGeoPerViewportScale\n\t* @param rotation\n\t* @param projectedGeoCenter\n\t*/\n\t#computeProjectedGeoRectangle(viewportSize, projectedGeoPerViewportScale, rotation, projectedGeoCenter) {\n\t\tconst rectangle = sizeToRectangle(scaleSize(viewportSize, projectedGeoPerViewportScale));\n\t\treturn translatePoints(rotatePoints(translatePoints(rectangle, midPoint(...rectangle), \"substract\"), rotation), projectedGeoCenter);\n\t}\n};\n//#endregion\nexport { Viewport };\n\n//# sourceMappingURL=Viewport.js.map"],"names":["defaultViewportOptions","webMercatorProjection","defaultZoomOptions","defaultFitOptions","Viewport","viewportSize","projectedGeoCenter","projectedGeoPerViewportScale","partialViewportOptions","viewportOptions","mergeOptions","#computeProjectedGeoRectangle","computeBbox","scaleSize","sizeToResolution","point","proj4","lonLatProjection","bboxToCenter","bboxToSize","sizeToCenter","sizeToBbox","bboxToRectangle","scalePoint","#composeProjectedGeoToViewportHomogeneousTransform","#composeProjectedGeoToCanvasHomogeneousTransform","#composeProjectedGeoToClipHomogeneousTransform","#composeViewportToClipHomogeneousTransform","warpedMapList","partialExtendedViewportOptions","projectedGeoConvexHull","mergePartialOptions","geoPolygon","extendedViewportOptions","projectedGeoPolygon","ring","projectedGeoRing","projectedGeoRotatedBbox","rotatePoints","projectedGeoRotatedSize","projectedGeoRotatedCenter","sizesToScale","rotatePoint","viewportBbox","scalePoints","bufferFraction","bufferBboxByRatio","applyHomogeneousTransform","invertHomogeneousTransform","composeHomogeneousTransform","rotation","rectangle","sizeToRectangle","translatePoints","midPoint"],"mappings":"mTAKA,IAAIA,EAAyB,CAC5B,SAAU,EACV,iBAAkB,EAClB,WAAYC,EAAAA,qBACb,EACIC,EAAqB,CAAE,KAAM,CAAA,EAC7BC,EAAoB,CAAE,IAAK,SAAA,EAgC3BC,EAAW,MAAMA,CAAS,CAC7B,UACA,aACA,QACA,cACA,iBACA,WACA,mBACA,sBACA,iBACA,uBACA,0BACA,SACA,6BACA,eACA,kBACA,aACA,mBACA,aACA,iBACA,aACA,gBACA,WACA,iBACA,WACA,2BACA,2CAA6C,CAC5C,EACA,EACA,EACA,EACA,EACA,CAAA,EAED,yCAA2C,CAC1C,EACA,EACA,EACA,EACA,EACA,CAAA,EAED,uCAAyC,CACxC,EACA,EACA,EACA,EACA,EACA,CAAA,EAED,mCAAqC,CACpC,EACA,EACA,EACA,EACA,EACA,CAAA,EAaD,YAAYC,EAAcC,EAAoBC,EAA8BC,EAAwB,CACnG,MAAMC,EAAkBC,EAAAA,aAAaV,EAAwBQ,CAAsB,EACnF,KAAK,mBAAqBF,EAC1B,KAAK,6BAA+BC,EACpC,KAAK,SAAWE,EAAgB,SAChC,KAAK,aAAe,CAAC,KAAK,MAAMJ,EAAa,CAAC,CAAC,EAAG,KAAK,MAAMA,EAAa,CAAC,CAAC,CAA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AI,KAAK,6BAA8B,GAAK,KAAK,6BAA8B,CAAC,KAAK,SAAU,CAAC,KAAK,mBAAmB,CAAC,EAAG,CAAC,KAAK,mBAAmB,CAAC,CAAC,CAC3O,CACAxB,IAAmD,CAClD,OAAOwB,8BAA4B,KAAK,aAAa,CAAC,EAAG,KAAK,aAAa,CAAC,EAAG,EAAI,KAAK,2BAA4B,GAAK,KAAK,2BAA4B,CAAC,KAAK,SAAU,CAAC,KAAK,mBAAmB,CAAC,EAAG,CAAC,KAAK,mBAAmB,CAAC,CAAC,CACnO,CACAvB,IAAiD,CAChD,OAAOuB,EAAAA,4BAA4B,EAAG,EAAG,GAAK,KAAK,6BAA+B,KAAK,aAAa,CAAC,GAAI,GAAK,KAAK,6BAA+B,KAAK,aAAa,CAAC,GAAI,CAAC,KAAK,SAAU,CAAC,KAAK,mBAAmB,CAAC,EAAG,CAAC,KAAK,mBAAmB,CAAC,CAAC,CAClP,CACAtB,IAA6C,CAC5C,OAAOsB,EAAAA,4BAA4B,EAAG,EAAG,EAAI,KAAK,aAAa,CAAC,EAAG,GAAK,KAAK,aAAa,CAAC,EAAG,EAAG,CAAC,KAAK,eAAe,CAAC,EAAG,CAAC,KAAK,eAAe,CAAC,CAAC,CAClJ,CAcAtC,GAA8BN,EAAcE,EAA8B2C,EAAU5C,EAAoB,CACvG,MAAM6C,EAAYC,EAAAA,gBAAgBvC,EAAAA,UAAUR,EAAcE,CAA4B,CAAC,EACvF,OAAO8C,kBAAgBf,EAAAA,aAAae,EAAAA,gBAAgBF,EAAWG,EAAAA,SAAS,GAAGH,CAAS,EAAG,WAAW,EAAGD,CAAQ,EAAG5C,CAAkB,CACnI,CACD","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs252.js");e();e();
1
+ "use strict";const t=require("./index.cjs337.js"),r=require("./index.cjs338.js"),o=require("./index.cjs339.js"),s=require("./index.cjs340.js"),n=require("./index.cjs341.js"),i=require("./index.cjs342.js"),u=require("./index.cjs343.js"),c=require("./index.cjs344.js"),a=require("./index.cjs345.js"),e=Object.assign(t,{defaultDatum:"WGS84",Proj:r,WGS84:new r("WGS84"),Point:o,toPoint:s,defs:n,nadgrid:i.default,transform:u.default,mgrs:c.default,version:"__VERSION__"});a(e);module.exports=e;
2
2
  //# sourceMappingURL=index.cjs204.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs204.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
+ {"version":3,"file":"index.cjs204.js","sources":["../../../node_modules/proj4/lib/index.js"],"sourcesContent":["import core from './core';\nimport Proj from './Proj';\nimport Point from './Point';\nimport common from './common/toPoint';\nimport defs from './defs';\nimport nadgrid from './nadgrid';\nimport transform from './transform';\nimport mgrs from 'mgrs';\nimport includedProjections from '../projs';\n\n/**\n * @typedef {Object} Mgrs\n * @property {(lonlat: [number, number]) => string} forward\n * @property {(mgrsString: string) => [number, number, number, number]} inverse\n * @property {(mgrsString: string) => [number, number]} toPoint\n */\n\n/**\n * @typedef {import('./defs').ProjectionDefinition} ProjectionDefinition\n * @typedef {import('./core').TemplateCoordinates} TemplateCoordinates\n * @typedef {import('./core').InterfaceCoordinates} InterfaceCoordinates\n * @typedef {import('./core').Converter} Converter\n * @typedef {import('./Proj').DatumDefinition} DatumDefinition\n */\n\n/**\n * @template {import('./core').TemplateCoordinates} T\n * @type {core<T> & {defaultDatum: string, Proj: typeof Proj, WGS84: Proj, Point: typeof Point, toPoint: typeof common, defs: typeof defs, nadgrid: typeof nadgrid, transform: typeof transform, mgrs: Mgrs, version: string}}\n */\nconst proj4 = Object.assign(core, {\n defaultDatum: 'WGS84',\n Proj,\n WGS84: new Proj('WGS84'),\n Point,\n toPoint: common,\n defs,\n nadgrid,\n transform,\n mgrs,\n version: '__VERSION__'\n});\nincludedProjections(proj4);\nexport default proj4;\n"],"names":["proj4","core","Proj","Point","common","defs","nadgrid","transform","mgrs","includedProjections"],"mappings":"0SA6BMA,EAAQ,OAAO,OAAOC,EAAM,CAChC,aAAc,QACd,KAAAC,EACA,MAAO,IAAIA,EAAK,OAAO,EACvB,MAAAC,EACA,QAASC,EACT,KAAAC,EAAA,QACAC,EAAAA,QAAA,UACAC,EAAAA,QAAA,KACAC,EAAAA,QACA,QAAS,aACX,CAAC,EACDC,EAAoBT,CAAK","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs252.js");e();
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs198.js"),t=require("./index.cjs431.js"),p=["helmert","polynomial","polynomial1"],r={maxDepth:0,minSourceDistance:0,minDestinationDistance:0,minOffsetRatio:0,minOffsetDistance:1/0,isMultiGeometry:!1,distortionMeasures:[],referenceScale:1,preForward:n=>n,postForward:n=>n,preBackward:n=>n,postBackward:n=>n},s={differentHandedness:!1,...r};function i(n){if(n===void 0||Object.keys(n).length===0)return{};const e=n;return n.postToGeo&&(e.postForward=n.postToGeo),n.preToResource&&(e.preBackward=n.preToResource),e}function c(n){return n===void 0?{}:i(n)}function f(n){if(n===void 0)return{};const e=n;return n.postForward&&(e.postToGeo=n.postForward),n.preBackward&&(e.preToResource=n.preBackward),e}function a(n){return n??{}}f(r);const m=a(s);function T(n){return o.mergeOptions(t.defaultRefinementOptions,n)}function u(n){return o.mergeOptions(t.defaultRefinementOptions,n)}exports.defaultGcpTransformerOptions=m;exports.defaultGeneralGcpTransformOptions=r;exports.defaultGeneralGcpTransformerOptions=s;exports.gcpTransformOptionsToGeneralGcpTransformOptions=i;exports.gcpTransformerOptionsToGeneralGcpTransformerOptions=c;exports.generalGcpTransformOptionsToGcpTransformOptions=f;exports.generalGcpTransformerOptionsToGcpTransformerOptions=a;exports.nonWarpingTransformationTypes=p;exports.refinementOptionsFromBackwardTransformOptions=u;exports.refinementOptionsFromForwardTransformOptions=T;
2
2
  //# sourceMappingURL=index.cjs205.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs205.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
+ {"version":3,"file":"index.cjs205.js","sources":["../../../node_modules/@allmaps/transform/dist/shared/transform-functions.js"],"sourcesContent":["import { mergeOptions } from '@allmaps/stdlib';\nimport { defaultRefinementOptions } from './refinement-functions.js';\n// Options\nexport const nonWarpingTransformationTypes = [\n 'helmert',\n 'polynomial',\n 'polynomial1'\n];\nexport const defaultGeneralGcpTransformOptions = {\n maxDepth: 0,\n minSourceDistance: 0,\n minDestinationDistance: 0,\n minOffsetRatio: 0,\n minOffsetDistance: Infinity,\n isMultiGeometry: false,\n distortionMeasures: [],\n referenceScale: 1,\n preForward: (point) => point,\n postForward: (point) => point,\n preBackward: (point) => point,\n postBackward: (point) => point\n};\nexport const defaultGeneralGcpTransformerOptions = {\n differentHandedness: false,\n ...defaultGeneralGcpTransformOptions\n};\nexport function gcpTransformOptionsToGeneralGcpTransformOptions(partialGcpTransformOptions) {\n if (partialGcpTransformOptions === undefined ||\n Object.keys(partialGcpTransformOptions).length === 0) {\n return {};\n }\n const partialGeneralGcpTransformOptions = partialGcpTransformOptions;\n if (partialGcpTransformOptions.postToGeo) {\n partialGeneralGcpTransformOptions.postForward =\n partialGcpTransformOptions.postToGeo;\n }\n if (partialGcpTransformOptions.preToResource) {\n partialGeneralGcpTransformOptions.preBackward =\n partialGcpTransformOptions.preToResource;\n }\n return partialGeneralGcpTransformOptions;\n}\nexport function gcpTransformerOptionsToGeneralGcpTransformerOptions(partialGcpTransformerOptions) {\n if (partialGcpTransformerOptions === undefined) {\n return {};\n }\n // Note: None of the transformer options need to be adapted\n // only the transform options that could be included in them\n const partialGeneralGcpTransformerOptions = gcpTransformOptionsToGeneralGcpTransformOptions(partialGcpTransformerOptions);\n return partialGeneralGcpTransformerOptions;\n}\nexport function generalGcpTransformOptionsToGcpTransformOptions(partialGeneralGcpTransformOptions) {\n if (partialGeneralGcpTransformOptions === undefined) {\n return {};\n }\n const partialGcpTransformOptions = partialGeneralGcpTransformOptions;\n if (partialGeneralGcpTransformOptions.postForward) {\n partialGcpTransformOptions.postToGeo =\n partialGeneralGcpTransformOptions.postForward;\n }\n if (partialGeneralGcpTransformOptions.preBackward) {\n partialGcpTransformOptions.preToResource =\n partialGeneralGcpTransformOptions.preBackward;\n }\n return partialGcpTransformOptions;\n}\nexport function generalGcpTransformerOptionsToGcpTransformerOptions(partialGeneralGcpTransformerOptions) {\n if (partialGeneralGcpTransformerOptions == undefined) {\n return {};\n }\n const partialGcpTransformerOptions = partialGeneralGcpTransformerOptions;\n return partialGcpTransformerOptions;\n}\nexport const defaultGcpTransformOptions = generalGcpTransformOptionsToGcpTransformOptions(defaultGeneralGcpTransformOptions);\nexport const defaultGcpTransformerOptions = generalGcpTransformerOptionsToGcpTransformerOptions(defaultGeneralGcpTransformerOptions);\nexport function refinementOptionsFromForwardTransformOptions(generalGcpTransformOptions) {\n const refinementOptions = mergeOptions(defaultRefinementOptions, generalGcpTransformOptions);\n return refinementOptions;\n}\nexport function refinementOptionsFromBackwardTransformOptions(generalGcpTransformOptions) {\n const refinementOptions = mergeOptions(defaultRefinementOptions, generalGcpTransformOptions);\n return refinementOptions;\n}\n"],"names":["nonWarpingTransformationTypes","defaultGeneralGcpTransformOptions","point","defaultGeneralGcpTransformerOptions","gcpTransformOptionsToGeneralGcpTransformOptions","partialGcpTransformOptions","partialGeneralGcpTransformOptions","gcpTransformerOptionsToGeneralGcpTransformerOptions","partialGcpTransformerOptions","generalGcpTransformOptionsToGcpTransformOptions","generalGcpTransformerOptionsToGcpTransformerOptions","partialGeneralGcpTransformerOptions","defaultGcpTransformerOptions","refinementOptionsFromForwardTransformOptions","generalGcpTransformOptions","mergeOptions","defaultRefinementOptions","refinementOptionsFromBackwardTransformOptions"],"mappings":"oJAGaA,EAAgC,CACzC,UACA,aACA,aACJ,EACaC,EAAoC,CAC7C,SAAU,EACV,kBAAmB,EACnB,uBAAwB,EACxB,eAAgB,EAChB,kBAAmB,IACnB,gBAAiB,GACjB,mBAAoB,CAAA,EACpB,eAAgB,EAChB,WAAaC,GAAUA,EACvB,YAAcA,GAAUA,EACxB,YAAcA,GAAUA,EACxB,aAAeA,GAAUA,CAC7B,EACaC,EAAsC,CAC/C,oBAAqB,GACrB,GAAGF,CACP,EACO,SAASG,EAAgDC,EAA4B,CACxF,GAAIA,IAA+B,QAC/B,OAAO,KAAKA,CAA0B,EAAE,SAAW,EACnD,MAAO,CAAA,EAEX,MAAMC,EAAoCD,EAC1C,OAAIA,EAA2B,YAC3BC,EAAkC,YAC9BD,EAA2B,WAE/BA,EAA2B,gBAC3BC,EAAkC,YAC9BD,EAA2B,eAE5BC,CACX,CACO,SAASC,EAAoDC,EAA8B,CAC9F,OAAIA,IAAiC,OAC1B,CAAA,EAIiCJ,EAAgDI,CAA4B,CAE5H,CACO,SAASC,EAAgDH,EAAmC,CAC/F,GAAIA,IAAsC,OACtC,MAAO,CAAA,EAEX,MAAMD,EAA6BC,EACnC,OAAIA,EAAkC,cAClCD,EAA2B,UACvBC,EAAkC,aAEtCA,EAAkC,cAClCD,EAA2B,cACvBC,EAAkC,aAEnCD,CACX,CACO,SAASK,EAAoDC,EAAqC,CACrG,OAAIA,GACO,CAAA,CAIf,CAC0CF,EAAgDR,CAAiC,EACpH,MAAMW,EAA+BF,EAAoDP,CAAmC,EAC5H,SAASU,EAA6CC,EAA4B,CAErF,OAD0BC,EAAAA,aAAaC,EAAAA,yBAA0BF,CAA0B,CAE/F,CACO,SAASG,EAA8CH,EAA4B,CAEtF,OAD0BC,EAAAA,aAAaC,EAAAA,yBAA0BF,CAA0B,CAE/F","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs204.js"),c=require("./index.cjs198.js"),S=require("./index.cjs205.js"),d={type:"proj4String",over:!0},l="EPSG:4326",i="+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees",T='GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]',M='GEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],MEMBER["World Geodetic System 1984 (G2296)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2],AXIS["geodetic latitude (Lat)",north,ORDER[1],ANGLEUNIT["degree",0.0174532925199433]],AXIS["geodetic longitude (Lon)",east,ORDER[2],ANGLEUNIT["degree",0.0174532925199433]],USAGE[SCOPE["Horizontal component of 3D system."],AREA["World."],BBOX[-90,-180,90,180]],ID["EPSG",4326]]',P=[i+" +over",i,l,T,M,"+proj=longlat +datum=WGS84 +no_defs +type=crs","WGS84"];function f(t){const e=c.mergeOptions(d,t);if(e.type=="proj4String"){if(e.over)return i+" +over"}else{if(e.type=="epsg")return l;if(e.type=="wkt")return T;if(e.type=="wkt2")return M}throw new Error("Projection definition not found")}const R="EPSG:3857",E="+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs",L="+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs",u='PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Mercator_1SP"],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs"],AUTHORITY["EPSG","3857"]]',I='PROJCRS["WGS 84 / Pseudo-Mercator",BASEGEOGCRS["WGS 84",ENSEMBLE["World Geodetic System 1984 ensemble",MEMBER["World Geodetic System 1984 (Transit)"],MEMBER["World Geodetic System 1984 (G730)"],MEMBER["World Geodetic System 1984 (G873)"],MEMBER["World Geodetic System 1984 (G1150)"],MEMBER["World Geodetic System 1984 (G1674)"],MEMBER["World Geodetic System 1984 (G1762)"],MEMBER["World Geodetic System 1984 (G2139)"],MEMBER["World Geodetic System 1984 (G2296)"],ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433]],ID["EPSG",4326]],CONVERSION["Popular Visualisation Pseudo-Mercator",METHOD["Popular Visualisation Pseudo Mercator",ID["EPSG",1024]],PARAMETER["Latitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["easting (X)",east,ORDER[1],LENGTHUNIT["metre",1]],AXIS["northing (Y)",north,ORDER[2],LENGTHUNIT["metre",1]],USAGE[SCOPE["Web mapping and visualisation."],AREA["World between 85.06°S and 85.06°N."],BBOX[-85.06,-180,85.06,180]],ID["EPSG",3857]]',O=[E+" +over",E,L,R,u,I,"EPSG:3785","GOOGLE","EPSG:900913","EPSG:102113"];function p(t){const e=c.mergeOptions(d,t);if(e.type=="proj4String"){if(e.over)return E+" +over"}else{if(e.type=="epsg")return R;if(e.type=="wkt")return u;if(e.type=="wkt2")return I}throw new Error("Projection definition not found")}const A={id:"EPSG:4326",name:"EPSG:4326 - WGS 84",definition:P[0]},r={id:"EPSG:3857",name:"EPSG:3857 - WGS 84 / Pseudo-Mercator",definition:O[0]},N={internalProjection:r,projection:r,...S.defaultGcpTransformerOptions};({...S.defaultGcpTransformerOptions});const m=a(A.definition,r.definition),D=m.forward,y=m.inverse;function s(t,e){t=t.replace(" +over","");const o=P.indexOf(t),n=O.indexOf(t);return o!=-1?f(e):n!=-1?p(e):t}function U(t,e){return s(String(t?.definition))==s(String(e?.definition))}function j(t,e){if(e===void 0||Object.keys(e).length===0)return{};let o=e;const n=e?.projection;if(n){const G=a(t.definition,n.definition),W=G.forward,g=G.inverse;o=c.mergePartialOptions(o,{postToGeo:W,preToResource:g})}return o}exports.defaultProjectedGcpTransformerOptions=N;exports.getLonLatDefinition=f;exports.getWebMercatorDefinition=p;exports.isEqualProjection=U;exports.lonLatProjection=A;exports.lonLatToWebMercator=D;exports.projectedGcpTransformOptionsToGcpTransformOptions=j;exports.projectionDefinitionToAntialiasedDefinition=s;exports.webMercatorProjection=r;exports.webMercatorToLonLat=y;
2
2
  //# sourceMappingURL=index.cjs206.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs206.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
+ {"version":3,"file":"index.cjs206.js","sources":["../../../node_modules/@allmaps/project/dist/shared/project-functions.js"],"sourcesContent":["import proj4 from 'proj4';\nimport { defaultGcpTransformerOptions } from '@allmaps/transform';\nimport { mergeOptions, mergePartialOptions } from '@allmaps/stdlib';\nconst DEFAULT_PROJECTION_DEFINITION_OPTIONS = {\n type: 'proj4String',\n over: true\n};\n// Note: putting projection with `+over` first in list below to always wrap around dateline\n// If we want other systems (like QGIS, in tileserver) to interpret the definition as a standardised CRS\n// and not just a set of parameters, we should put EPSG defintion (or WKT definition) first\n// or overwrite projections with EPSG in tileserverr\nconst lonLatEpsgDefinition = 'EPSG:4326';\nconst lonLatProj4StringDefinition = '+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees';\nconst lonLatWktDefinition = 'GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]]';\nconst lonLatWkt2Definition = 'GEOGCRS[\"WGS 84\",ENSEMBLE[\"World Geodetic System 1984 ensemble\",MEMBER[\"World Geodetic System 1984 (Transit)\"],MEMBER[\"World Geodetic System 1984 (G730)\"],MEMBER[\"World Geodetic System 1984 (G873)\"],MEMBER[\"World Geodetic System 1984 (G1150)\"],MEMBER[\"World Geodetic System 1984 (G1674)\"],MEMBER[\"World Geodetic System 1984 (G1762)\"],MEMBER[\"World Geodetic System 1984 (G2139)\"],MEMBER[\"World Geodetic System 1984 (G2296)\"],ELLIPSOID[\"WGS 84\",6378137,298.257223563,LENGTHUNIT[\"metre\",1]],ENSEMBLEACCURACY[2.0]],PRIMEM[\"Greenwich\",0,ANGLEUNIT[\"degree\",0.0174532925199433]],CS[ellipsoidal,2],AXIS[\"geodetic latitude (Lat)\",north,ORDER[1],ANGLEUNIT[\"degree\",0.0174532925199433]],AXIS[\"geodetic longitude (Lon)\",east,ORDER[2],ANGLEUNIT[\"degree\",0.0174532925199433]],USAGE[SCOPE[\"Horizontal component of 3D system.\"],AREA[\"World.\"],BBOX[-90,-180,90,180]],ID[\"EPSG\",4326]]';\nconst lonLatEquivalentDefinitions = [\n lonLatProj4StringDefinition + ' +over',\n lonLatProj4StringDefinition,\n lonLatEpsgDefinition,\n lonLatWktDefinition,\n lonLatWkt2Definition,\n '+proj=longlat +datum=WGS84 +no_defs +type=crs',\n 'WGS84'\n];\nexport function getLonLatDefinition(partialProjectionDefinitionOptions) {\n const projectionDefinitionOptions = mergeOptions(DEFAULT_PROJECTION_DEFINITION_OPTIONS, partialProjectionDefinitionOptions);\n if (projectionDefinitionOptions.type == 'proj4String') {\n if (projectionDefinitionOptions.over) {\n return lonLatProj4StringDefinition + ' +over';\n }\n else {\n lonLatProj4StringDefinition;\n }\n }\n else if (projectionDefinitionOptions.type == 'epsg') {\n return lonLatEpsgDefinition;\n }\n else if (projectionDefinitionOptions.type == 'wkt') {\n return lonLatWktDefinition;\n }\n else if (projectionDefinitionOptions.type == 'wkt2') {\n return lonLatWkt2Definition;\n }\n throw new Error('Projection definition not found');\n}\nconst webMercatorEpsgDefinition = 'EPSG:3857';\nconst webMercatorProj4StringDefinition = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs';\nconst webMercatorOpenLayersProj4StringDefinition = '+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs';\nconst webMercatorWktDefinition = 'PROJCS[\"WGS 84 / Pseudo-Mercator\",GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4326\"]],PROJECTION[\"Mercator_1SP\"],PARAMETER[\"central_meridian\",0],PARAMETER[\"scale_factor\",1],PARAMETER[\"false_easting\",0],PARAMETER[\"false_northing\",0],UNIT[\"metre\",1,AUTHORITY[\"EPSG\",\"9001\"]],AXIS[\"Easting\",EAST],AXIS[\"Northing\",NORTH],EXTENSION[\"PROJ4\",\"+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs\"],AUTHORITY[\"EPSG\",\"3857\"]]';\nconst webMercatorWkt2Definition = 'PROJCRS[\"WGS 84 / Pseudo-Mercator\",BASEGEOGCRS[\"WGS 84\",ENSEMBLE[\"World Geodetic System 1984 ensemble\",MEMBER[\"World Geodetic System 1984 (Transit)\"],MEMBER[\"World Geodetic System 1984 (G730)\"],MEMBER[\"World Geodetic System 1984 (G873)\"],MEMBER[\"World Geodetic System 1984 (G1150)\"],MEMBER[\"World Geodetic System 1984 (G1674)\"],MEMBER[\"World Geodetic System 1984 (G1762)\"],MEMBER[\"World Geodetic System 1984 (G2139)\"],MEMBER[\"World Geodetic System 1984 (G2296)\"],ELLIPSOID[\"WGS 84\",6378137,298.257223563,LENGTHUNIT[\"metre\",1]],ENSEMBLEACCURACY[2.0]],PRIMEM[\"Greenwich\",0,ANGLEUNIT[\"degree\",0.0174532925199433]],ID[\"EPSG\",4326]],CONVERSION[\"Popular Visualisation Pseudo-Mercator\",METHOD[\"Popular Visualisation Pseudo Mercator\",ID[\"EPSG\",1024]],PARAMETER[\"Latitude of natural origin\",0,ANGLEUNIT[\"degree\",0.0174532925199433],ID[\"EPSG\",8801]],PARAMETER[\"Longitude of natural origin\",0,ANGLEUNIT[\"degree\",0.0174532925199433],ID[\"EPSG\",8802]],PARAMETER[\"False easting\",0,LENGTHUNIT[\"metre\",1],ID[\"EPSG\",8806]],PARAMETER[\"False northing\",0,LENGTHUNIT[\"metre\",1],ID[\"EPSG\",8807]]],CS[Cartesian,2],AXIS[\"easting (X)\",east,ORDER[1],LENGTHUNIT[\"metre\",1]],AXIS[\"northing (Y)\",north,ORDER[2],LENGTHUNIT[\"metre\",1]],USAGE[SCOPE[\"Web mapping and visualisation.\"],AREA[\"World between 85.06°S and 85.06°N.\"],BBOX[-85.06,-180,85.06,180]],ID[\"EPSG\",3857]]';\nconst webMercatorEquivalentDefinitions = [\n webMercatorProj4StringDefinition + ' +over',\n webMercatorProj4StringDefinition,\n webMercatorOpenLayersProj4StringDefinition,\n webMercatorEpsgDefinition,\n webMercatorWktDefinition,\n webMercatorWkt2Definition,\n 'EPSG:3785',\n 'GOOGLE',\n 'EPSG:900913',\n 'EPSG:102113'\n];\nexport function getWebMercatorDefinition(partialProjectionDefinitionOptions) {\n const projectionDefinitionOptions = mergeOptions(DEFAULT_PROJECTION_DEFINITION_OPTIONS, partialProjectionDefinitionOptions);\n if (projectionDefinitionOptions.type == 'proj4String') {\n if (projectionDefinitionOptions.over) {\n return webMercatorProj4StringDefinition + ' +over';\n }\n else {\n webMercatorProj4StringDefinition;\n }\n }\n else if (projectionDefinitionOptions.type == 'epsg') {\n return webMercatorEpsgDefinition;\n }\n else if (projectionDefinitionOptions.type == 'wkt') {\n return webMercatorWktDefinition;\n }\n else if (projectionDefinitionOptions.type == 'wkt2') {\n return webMercatorWkt2Definition;\n }\n throw new Error('Projection definition not found');\n}\n/**\n * lonLatProjection\n *\n * `EPSG:4326` projection with definition: `\"+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees +over\"`\n *\n * Note that `+over` was added to support wrapping around the antimeridian\n */\nexport const lonLatProjection = {\n id: 'EPSG:4326',\n name: 'EPSG:4326 - WGS 84',\n definition: lonLatEquivalentDefinitions[0]\n};\n/**\n * webMercatorProjection\n *\n * `EPSG:3857` projection with definition: `\"+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs +type=crs +over\"`\n *\n * Note that `+over` was added to support wrapping around the antimeridian\n */\nexport const webMercatorProjection = {\n id: 'EPSG:3857',\n name: 'EPSG:3857 - WGS 84 / Pseudo-Mercator',\n definition: webMercatorEquivalentDefinitions[0]\n};\nexport const defaultProjectedGcpTransformerOptions = {\n internalProjection: webMercatorProjection,\n projection: webMercatorProjection,\n ...defaultGcpTransformerOptions\n};\nexport const defaultProjectedGcpTransformOptions = {\n projection: webMercatorProjection,\n ...defaultGcpTransformerOptions\n};\nconst lonLatProjectionToWebMecatorProjectionConverter = proj4(lonLatProjection.definition, webMercatorProjection.definition);\nexport const lonLatToWebMercator = lonLatProjectionToWebMecatorProjectionConverter.forward;\nexport const webMercatorToLonLat = lonLatProjectionToWebMecatorProjectionConverter.inverse;\nexport function projectionDefinitionToAntialiasedDefinition(stringProjectionDefinition, partialProjectionDefinitionOptions) {\n stringProjectionDefinition = stringProjectionDefinition.replace(' +over', '');\n const lonLatIndex = lonLatEquivalentDefinitions.indexOf(stringProjectionDefinition);\n const webMercatorIndex = webMercatorEquivalentDefinitions.indexOf(stringProjectionDefinition);\n if (lonLatIndex != -1) {\n return getLonLatDefinition(partialProjectionDefinitionOptions);\n }\n else if (webMercatorIndex != -1) {\n return getWebMercatorDefinition(partialProjectionDefinitionOptions);\n }\n else {\n return stringProjectionDefinition;\n }\n}\nexport function projectionToAntialiasedProjection(projection, partialProjectionDefinitionOptions) {\n return {\n definition: projectionDefinitionToAntialiasedDefinition(String(projection?.definition), partialProjectionDefinitionOptions)\n };\n}\nexport function isEqualProjection(projection0, projection1) {\n return (projectionDefinitionToAntialiasedDefinition(String(projection0?.definition)) ==\n projectionDefinitionToAntialiasedDefinition(String(projection1?.definition)));\n}\nexport function projectedGcpTransformOptionsToGcpTransformOptions(internalProjection, partialProjectedGcpTransformOptions) {\n if (partialProjectedGcpTransformOptions === undefined ||\n Object.keys(partialProjectedGcpTransformOptions).length === 0) {\n return {};\n }\n let partialGcpTransformOptions = partialProjectedGcpTransformOptions;\n const projection = partialProjectedGcpTransformOptions?.projection;\n if (projection) {\n const internalProjectionToProjectionConverter = proj4(internalProjection.definition, projection.definition);\n const postToGeo = internalProjectionToProjectionConverter.forward;\n const preToResource = internalProjectionToProjectionConverter.inverse;\n partialGcpTransformOptions = mergePartialOptions(partialGcpTransformOptions, {\n postToGeo,\n preToResource\n });\n }\n return partialGcpTransformOptions;\n}\n"],"names":["DEFAULT_PROJECTION_DEFINITION_OPTIONS","lonLatEpsgDefinition","lonLatProj4StringDefinition","lonLatWktDefinition","lonLatWkt2Definition","lonLatEquivalentDefinitions","getLonLatDefinition","partialProjectionDefinitionOptions","projectionDefinitionOptions","mergeOptions","webMercatorEpsgDefinition","webMercatorProj4StringDefinition","webMercatorOpenLayersProj4StringDefinition","webMercatorWktDefinition","webMercatorWkt2Definition","webMercatorEquivalentDefinitions","getWebMercatorDefinition","lonLatProjection","webMercatorProjection","defaultProjectedGcpTransformerOptions","defaultGcpTransformerOptions","lonLatProjectionToWebMecatorProjectionConverter","proj4","lonLatToWebMercator","webMercatorToLonLat","projectionDefinitionToAntialiasedDefinition","stringProjectionDefinition","lonLatIndex","webMercatorIndex","isEqualProjection","projection0","projection1","projectedGcpTransformOptionsToGcpTransformOptions","internalProjection","partialProjectedGcpTransformOptions","partialGcpTransformOptions","projection","internalProjectionToProjectionConverter","postToGeo","preToResource","mergePartialOptions"],"mappings":"mLAGMA,EAAwC,CAC1C,KAAM,cACN,KAAM,EACV,EAKMC,EAAuB,YACvBC,EAA8B,kFAC9BC,EAAsB,mQACtBC,EAAuB,q2BACvBC,EAA8B,CAChCH,EAA8B,SAC9BA,EAC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A2B,QAAQ,SAAU,EAAE,EAC5E,MAAMC,EAActB,EAA4B,QAAQqB,CAA0B,EAC5EE,EAAmBb,EAAiC,QAAQW,CAA0B,EAC5F,OAAIC,GAAe,GACRrB,EAAoBC,CAAkC,EAExDqB,GAAoB,GAClBZ,EAAyBT,CAAkC,EAG3DmB,CAEf,CAMO,SAASG,EAAkBC,EAAaC,EAAa,CACxD,OAAQN,EAA4C,OAAOK,GAAa,UAAU,CAAC,GAC/EL,EAA4C,OAAOM,GAAa,UAAU,CAAC,CACnF,CACO,SAASC,EAAkDC,EAAoBC,EAAqC,CACvH,GAAIA,IAAwC,QACxC,OAAO,KAAKA,CAAmC,EAAE,SAAW,EAC5D,MAAO,CAAA,EAEX,IAAIC,EAA6BD,EACjC,MAAME,EAAaF,GAAqC,WACxD,GAAIE,EAAY,CACZ,MAAMC,EAA0Cf,EAAMW,EAAmB,WAAYG,EAAW,UAAU,EACpGE,EAAYD,EAAwC,QACpDE,EAAgBF,EAAwC,QAC9DF,EAA6BK,EAAAA,oBAAoBL,EAA4B,CACzE,UAAAG,EACA,cAAAC,CAAA,CACH,CACL,CACA,OAAOJ,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs255.js"),a=require("./index.cjs261.js");require("./index.cjs202.js");require("./index.cjs201.js");require("./index.cjs200.js");require("./index.cjs206.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs410.js"),a=require("./index.cjs411.js"),n=require("./index.cjs209.js"),t=require("./index.cjs416.js");t.union([e.AnnotationSchema,a.AnnotationSchema]);t.union([e.AnnotationPageSchema,a.AnnotationPageSchema]);t.union([e.FeaturePropertiesSchema,a.FeaturePropertiesSchema]);exports.Annotation0FeaturePropertiesSchema=e.FeaturePropertiesSchema;exports.Annotation0Schema=e.AnnotationSchema;exports.AnnotationPage0Schema=e.AnnotationPageSchema;exports.SvgSelector0Schema=e.SvgSelectorSchema;exports.Annotation1FeaturePropertiesSchema=a.FeaturePropertiesSchema;exports.Annotation1Schema=a.AnnotationSchema;exports.AnnotationPage1Schema=a.AnnotationPageSchema;exports.ImageServiceSchema=n.ImageServiceSchema;exports.PartOfSchema=n.PartOfSchema;exports.PointGeometrySchema=n.PointGeometrySchema;exports.ResourceTypeSchema=n.ResourceTypeSchema;exports.TransformationSchema=n.TransformationSchema;
2
2
  //# sourceMappingURL=index.cjs207.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs207.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]}
1
+ {"version":3,"file":"index.cjs207.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/annotation.js"],"sourcesContent":["import { z } from 'zod';\nimport { AnnotationSchema as Annotation0Schema, AnnotationPageSchema as AnnotationPage0Schema, FeaturePropertiesSchema as Annotation0FeaturePropertiesSchema, SvgSelectorSchema as SvgSelector0Schema } from './annotation/annotation.0.js';\nimport { AnnotationSchema as Annotation1Schema, AnnotationPageSchema as AnnotationPage1Schema, FeaturePropertiesSchema as Annotation1FeaturePropertiesSchema, SvgSelectorSchema as SvgSelector1Schema, TargetSchema as Target1Schema, SourceSchema as Source1Schema } from './annotation/annotation.1.js';\nimport { ResourceTypeSchema, PointGeometrySchema, ImageServiceSchema, TransformationSchema, PartOfSchema } from './shared.js';\nconst DefaultAnnotationSchema = Annotation1Schema;\nconst DefaultAnnotationPageSchema = AnnotationPage1Schema;\nconst DefaultFeaturePropertiesSchema = Annotation1FeaturePropertiesSchema;\nconst DefaultTargetSchema = Target1Schema;\nconst DefaultSourceSchema = Source1Schema;\nconst DefaultSvgSelectorSchema = SvgSelector1Schema;\nconst AnnotationAllVersionsSchema = z.union([\n Annotation0Schema,\n Annotation1Schema\n]);\nconst AnnotationPageAllVersionsSchema = z.union([\n AnnotationPage0Schema,\n AnnotationPage1Schema\n]);\nconst FeaturePropertiesAllVersionsSchema = z.union([\n Annotation0FeaturePropertiesSchema,\n Annotation1FeaturePropertiesSchema\n]);\nexport { Annotation0Schema, AnnotationPage0Schema, Annotation0FeaturePropertiesSchema, Annotation1Schema, AnnotationPage1Schema, Annotation1FeaturePropertiesSchema, SvgSelector0Schema, \n// Default schemas\nDefaultAnnotationSchema as AnnotationSchema, DefaultAnnotationPageSchema as AnnotationPageSchema, DefaultFeaturePropertiesSchema as FeaturePropertiesSchema, DefaultSvgSelectorSchema as SvgSelectorSchema, DefaultTargetSchema as TargetSchema, DefaultSourceSchema as SourceSchema, \n// All versions\nAnnotationAllVersionsSchema, AnnotationPageAllVersionsSchema, FeaturePropertiesAllVersionsSchema, \n// Shared schemas\nPointGeometrySchema, ImageServiceSchema, TransformationSchema, PartOfSchema, ResourceTypeSchema };\n"],"names":["z.union","Annotation0Schema","Annotation1Schema","AnnotationPage0Schema","AnnotationPage1Schema","Annotation0FeaturePropertiesSchema","Annotation1FeaturePropertiesSchema"],"mappings":"kNAUoCA,EAAAA,MAAQ,CACxCC,EAAAA,iBACAC,EAAAA,gBACJ,CAAC,EACuCF,EAAAA,MAAQ,CAC5CG,EAAAA,qBACAC,EAAAA,oBACJ,CAAC,EAC0CJ,EAAAA,MAAQ,CAC/CK,EAAAA,wBACAC,EAAAA,uBACJ,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./index.cjs255.js"),i=require("./index.cjs261.js"),u=require("./index.cjs262.js");var e=i.azimuthalRaw(function(t){return(t=a.acos(t))&&t/a.sin(t)});e.invert=i.azimuthalInvert(function(t){return t});function n(){return u.default(e).scale(79.4188).clipAngle(180-.001)}exports.azimuthalEquidistantRaw=e;exports.default=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs414.js"),a=require("./index.cjs413.js"),r=require("./index.cjs209.js"),c=require("./index.cjs416.js");c.discriminatedUnion("version",[e.GeoreferencedMapSchema,a.GeoreferencedMapSchema]);c.union([e.GeoreferencedMapsSchema,a.GeoreferencedMapsSchema]);c.union([e.GCPSchema,a.GCPSchema]);exports.GeoreferencedMap1GCPSchema=e.GCPSchema;exports.GeoreferencedMap1ImageSchema=e.ImageSchema;exports.GeoreferencedMap1Schema=e.GeoreferencedMapSchema;exports.GeoreferencedMaps1Schema=e.GeoreferencedMapsSchema;exports.GeoreferencedMap2GCPSchema=a.GCPSchema;exports.GeoreferencedMap2ResourceSchema=a.ResourceSchema;exports.GeoreferencedMap2Schema=a.GeoreferencedMapSchema;exports.GeoreferencedMaps2Schema=a.GeoreferencedMapsSchema;exports.PartOfSchema=r.PartOfSchema;exports.ResourceMaskSchema=r.ResourceMaskSchema;exports.TransformationSchema=r.TransformationSchema;
2
2
  //# sourceMappingURL=index.cjs208.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs208.js","sources":["../../../node_modules/d3-geo/src/projection/azimuthalEquidistant.js"],"sourcesContent":["import {acos, sin} from \"../math\";\nimport {azimuthalRaw, azimuthalInvert} from \"./azimuthal\";\nimport projection from \"./index\";\n\nexport var azimuthalEquidistantRaw = azimuthalRaw(function(c) {\n return (c = acos(c)) && c / sin(c);\n});\n\nazimuthalEquidistantRaw.invert = azimuthalInvert(function(z) {\n return z;\n});\n\nexport default function() {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n}\n"],"names":["azimuthalEquidistantRaw","azimuthalRaw","c","acos","sin","azimuthalInvert","z","geoAzimuthalEquidistant","projection"],"mappings":"+MAIO,IAAIA,EAA0BC,EAAAA,aAAa,SAASC,EAAG,CAC5D,OAAQA,EAAIC,OAAKD,CAAC,IAAMA,EAAIE,EAAAA,IAAIF,CAAC,CACnC,CAAC,EAEDF,EAAwB,OAASK,kBAAgB,SAASC,EAAG,CAC3D,OAAOA,CACT,CAAC,EAED,SAAAC,GAA0B,CACxB,OAAOC,EAAAA,QAAWR,CAAuB,EACpC,MAAM,OAAO,EACb,UAAU,IAAM,IAAI,CAC3B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs208.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/georeferenced-map.js"],"sourcesContent":["import { z } from 'zod';\nimport { GeoreferencedMapSchema as GeoreferencedMap1Schema, GeoreferencedMapsSchema as GeoreferencedMaps1Schema, GCPSchema as GeoreferencedMap1GCPSchema, ImageSchema as GeoreferencedMap1ImageSchema } from './georeferenced-map/georeferenced-map.1.js';\nimport { GeoreferencedMapSchema as GeoreferencedMap2Schema, GeoreferencedMapsSchema as GeoreferencedMaps2Schema, GCPSchema as GeoreferencedMap2GCPSchema, ResourceSchema as GeoreferencedMap2ResourceSchema } from './georeferenced-map/georeferenced-map.2.js';\nimport { PartOfSchema, ResourceMaskSchema, TransformationSchema } from './shared.js';\nconst DefaultGeoreferencedMapSchema = GeoreferencedMap2Schema;\nconst DefaultGeoreferencedMapsSchema = GeoreferencedMaps2Schema;\nconst DefaultGCPSchema = GeoreferencedMap2GCPSchema;\nconst DefaultResourceSchema = GeoreferencedMap2ResourceSchema;\nconst GeoreferencedMapAllVersionsSchema = z.discriminatedUnion('version', [\n GeoreferencedMap1Schema,\n GeoreferencedMap2Schema\n]);\nconst GeoreferencedMapsAllVersionsSchema = z.union([\n GeoreferencedMaps1Schema,\n GeoreferencedMaps2Schema\n]);\nconst GCPAllVersionsSchema = z.union([\n GeoreferencedMap1GCPSchema,\n GeoreferencedMap2GCPSchema\n]);\nexport { GeoreferencedMap1Schema, GeoreferencedMaps1Schema, GeoreferencedMap1GCPSchema, GeoreferencedMap1ImageSchema, GeoreferencedMap2Schema, GeoreferencedMaps2Schema, GeoreferencedMap2GCPSchema, GeoreferencedMap2ResourceSchema, \n// Default schemas\nDefaultGeoreferencedMapSchema as GeoreferencedMapSchema, DefaultGeoreferencedMapsSchema as GeoreferencedMapsSchema, DefaultGCPSchema as GCPSchema, DefaultResourceSchema as ResourceSchema, \n// All versions\nGeoreferencedMapAllVersionsSchema, GeoreferencedMapsAllVersionsSchema, GCPAllVersionsSchema, \n// Shared schemas\nPartOfSchema, ResourceMaskSchema, TransformationSchema };\n"],"names":["z.discriminatedUnion","GeoreferencedMap1Schema","GeoreferencedMap2Schema","z.union","GeoreferencedMaps1Schema","GeoreferencedMaps2Schema","GeoreferencedMap1GCPSchema","GeoreferencedMap2GCPSchema"],"mappings":"kNAQ0CA,EAAAA,mBAAqB,UAAW,CACtEC,EAAAA,uBACAC,EAAAA,sBACJ,CAAC,EAC0CC,EAAAA,MAAQ,CAC/CC,EAAAA,wBACAC,EAAAA,uBACJ,CAAC,EAC4BF,EAAAA,MAAQ,CACjCG,EAAAA,UACAC,EAAAA,SACJ,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("./index.cjs202.js");require("./index.cjs201.js");require("./index.cjs200.js");require("./index.cjs206.js");function e(r,u){return[r,u]}e.invert=e;exports.equirectangularRaw=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs416.js");function t(n){return e.union([e.array(n),n]).transform(o=>Array.isArray(o)?o:[o])}function m(n){return e.unknown().transform(o=>{const c=n.safeParse(o);if(c.success)return c.data})}const g=e.union([e.string(),e.number(),e.boolean()]),r=e.record(e.string(),g.array()),a=e.tuple([e.number(),e.number()]),h=e.object({type:e.literal("Point"),coordinates:a}),y=a.array().min(3),l=["ImageService1","ImageService2","ImageService3"],f=[...l,"Canvas"],d=e.enum(l),P=e.enum(f),i=e.object({id:e.string().url(),type:e.string(),label:r.optional(),get partOf(){return e.array(i).optional()}}),b=t(i),p=e.object({id:e.string().url(),type:e.string().optional(),label:r.optional(),format:e.string().optional(),language:e.union([e.string(),e.array(e.string())]).optional()}),I=e.union([p,e.unknown().transform(()=>{})]),u=t(I).transform(n=>n.filter(o=>o!==void 0)),S=e.object({id:e.string().url().optional(),label:r.optional(),homepage:u.transform(n=>n.length>0?n:void 0).optional()}),j=t(S),O=e.object({type:e.enum(["helmert","polynomial","thinPlateSpline","projective","straight","linear"]),options:e.looseObject({}).optional()});function s(n){const o=n.toLowerCase();if(o==="thinplatespline"||o==="thin-plate-spline")return{type:"thinPlateSpline"};if(o==="polynomial1")return{type:"polynomial",options:{order:1}};if(o==="polynomial2")return{type:"polynomial",options:{order:2}}}const v=m(O).or(e.unknown().transform(n=>{if(typeof n=="string")return s(n);if(n&&typeof n=="object"&&"type"in n&&typeof n.type=="string")return s(n.type)})),T=e.object({id:e.string().url().optional(),name:e.string().optional(),definition:e.union([e.string(),e.unknown()])}),k=e.union([e.string().url().array(),e.string().url()]);exports.ContextSchema=k;exports.HomepageItemSchema=p;exports.HomepageSchema=u;exports.ImageServiceSchema=d;exports.LanguageValueSchema=r;exports.PartOfItemSchema=i;exports.PartOfSchema=b;exports.PointGeometrySchema=h;exports.PointSchema=a;exports.ProjectionSchema=T;exports.ProviderItemSchema=S;exports.ProviderSchema=j;exports.ResourceMaskSchema=y;exports.ResourceTypeSchema=P;exports.TransformationSchema=v;exports.oneOrMany=t;exports.parseIfValid=m;
2
2
  //# sourceMappingURL=index.cjs209.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs209.js","sources":["../../../node_modules/d3-geo/src/projection/equirectangular.js"],"sourcesContent":["import projection from \"./index\";\n\nexport function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n}\n\nequirectangularRaw.invert = equirectangularRaw;\n\nexport default function() {\n return projection(equirectangularRaw)\n .scale(152.63);\n}\n"],"names":["equirectangularRaw","lambda","phi"],"mappings":"oMAEO,SAASA,EAAmBC,EAAQC,EAAK,CAC9C,MAAO,CAACD,EAAQC,CAAG,CACrB,CAEAF,EAAmB,OAASA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs209.js","sources":["../../../node_modules/@allmaps/annotation/dist/schemas/shared.js"],"sourcesContent":["import { z } from 'zod';\nexport function oneOrMany(schema) {\n return z\n .union([z.array(schema), schema])\n .transform((value) => (Array.isArray(value) ? value : [value]));\n}\nexport function parseIfValid(schema) {\n return z.unknown().transform((value) => {\n const result = schema.safeParse(value);\n if (result.success) {\n return result.data;\n }\n });\n}\n// Copied from presentation.3.ts in @allmaps/iiif-parser\nconst SingleValueSchema = z.union([z.string(), z.number(), z.boolean()]);\nexport const LanguageValueSchema = z.record(z.string(), SingleValueSchema.array());\nexport const PointSchema = z.tuple([z.number(), z.number()]);\nexport const PointGeometrySchema = z.object({\n type: z.literal('Point'),\n coordinates: PointSchema\n});\nexport const ResourceMaskSchema = PointSchema.array().min(3);\nconst ImageServices = [\n 'ImageService1',\n 'ImageService2',\n 'ImageService3'\n];\nconst ResourceTypes = [...ImageServices, ...['Canvas']];\nexport const ImageServiceSchema = z.enum(ImageServices);\nexport const ResourceTypeSchema = z.enum(ResourceTypes);\nexport const PartOfItemSchema = z.object({\n id: z.string().url(),\n type: z.string(),\n label: LanguageValueSchema.optional(),\n get partOf() {\n return z.array(PartOfItemSchema).optional();\n }\n});\nexport const PartOfSchema = oneOrMany(PartOfItemSchema);\nexport const HomepageItemSchema = z.object({\n id: z.string().url(),\n type: z.string().optional(),\n label: LanguageValueSchema.optional(),\n format: z.string().optional(),\n language: z.union([z.string(), z.array(z.string())]).optional()\n});\nconst OptionalHomepageItemSchema = z.union([\n HomepageItemSchema,\n z.unknown().transform(() => undefined)\n]);\nexport const HomepageSchema = oneOrMany(OptionalHomepageItemSchema).transform((values) => values.filter((value) => value !== undefined));\nexport const ProviderItemSchema = z.object({\n id: z.string().url().optional(),\n label: LanguageValueSchema.optional(),\n homepage: HomepageSchema.transform((values) => values.length > 0 ? values : undefined).optional()\n});\nexport const ProviderSchema = oneOrMany(ProviderItemSchema);\nconst ValidTransformationSchema = z.object({\n type: z.enum([\n 'helmert',\n 'polynomial',\n 'thinPlateSpline',\n 'projective',\n 'straight',\n 'linear'\n ]),\n options: z.looseObject({}).optional()\n});\nfunction parseInvalidTransformation(val) {\n // Also allow values like:\n // - thin-plate-spline\n // - thinplatespline\n // - polynomial1\n const valLowerCase = val.toLowerCase();\n if (valLowerCase === 'thinplatespline' ||\n valLowerCase === 'thin-plate-spline') {\n return {\n type: 'thinPlateSpline'\n };\n }\n else if (valLowerCase === 'polynomial1') {\n return {\n type: 'polynomial',\n options: { order: 1 }\n };\n }\n else if (valLowerCase === 'polynomial2') {\n return {\n type: 'polynomial',\n options: { order: 2 }\n };\n }\n}\nexport const TransformationSchema = parseIfValid(ValidTransformationSchema).or(z.unknown().transform((val) => {\n if (typeof val === 'string') {\n return parseInvalidTransformation(val);\n }\n if (val &&\n typeof val === 'object' &&\n 'type' in val &&\n typeof val.type === 'string') {\n return parseInvalidTransformation(val.type);\n }\n}));\nexport const ProjectionSchema = z.object({\n id: z.string().url().optional(),\n name: z.string().optional(),\n definition: z.union([z.string(), z.unknown()])\n});\nexport const ContextSchema = z.union([\n z.string().url().array(),\n z.string().url()\n]);\n"],"names":["oneOrMany","schema","z.union","z.array","value","parseIfValid","z.unknown","result","SingleValueSchema","z.string","z.number","z.boolean","LanguageValueSchema","z.record","PointSchema","z.tuple","PointGeometrySchema","z.object","z.literal","ResourceMaskSchema","ImageServices","ResourceTypes","ImageServiceSchema","z.enum","ResourceTypeSchema","PartOfItemSchema","PartOfSchema","HomepageItemSchema","OptionalHomepageItemSchema","HomepageSchema","values","ProviderItemSchema","ProviderSchema","ValidTransformationSchema","z.looseObject","parseInvalidTransformation","val","valLowerCase","TransformationSchema","ProjectionSchema","ContextSchema"],"mappings":"qHACO,SAASA,EAAUC,EAAQ,CAC9B,OAAOC,EAAAA,MACI,CAACC,EAAAA,MAAQF,CAAM,EAAGA,CAAM,CAAC,EAC/B,UAAWG,GAAW,MAAM,QAAQA,CAAK,EAAIA,EAAQ,CAACA,CAAK,CAAE,CACtE,CACO,SAASC,EAAaJ,EAAQ,CACjC,OAAOK,UAAE,EAAU,UAAWF,GAAU,CACpC,MAAMG,EAASN,EAAO,UAAUG,CAAK,EACrC,GAAIG,EAAO,QACP,OAAOA,EAAO,IAEtB,CAAC,CACL,CAEA,MAAMC,EAAoBN,EAAAA,MAAQ,CAACO,EAAAA,OAAE,EAAUC,EAAAA,OAAE,EAAUC,EAAAA,QAAE,CAAS,CAAC,EAC1DC,EAAsBC,EAAAA,OAASJ,EAAAA,SAAYD,EAAkB,OAAO,EACpEM,EAAcC,EAAAA,MAAQ,CAACL,WAAYA,EAAAA,OAAE,CAAQ,CAAC,EAC9CM,EAAsBC,EAAAA,OAAS,CACxC,KAAMC,EAAAA,QAAU,OAAO,EACvB,YAAaJ,CACjB,CAAC,EACYK,EAAqBL,EAAY,MAAA,EAAQ,IAAI,CAAC,EACrDM,EAAgB,CAClB,gBACA,gBACA,eACJ,EACMC,EAAgB,CAAC,GAAGD,EAAmB,QAAS,EACzCE,EAAqB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B,oBACjB,MAAO,CACH,KAAM,iBAAA,EAEd,GACSA,IAAiB,cACtB,MAAO,CACH,KAAM,aACN,QAAS,CAAE,MAAO,CAAA,CAAE,EAE5B,GACSA,IAAiB,cACtB,MAAO,CACH,KAAM,aACN,QAAS,CAAE,MAAO,CAAA,CAAE,CAGhC,CACO,MAAMC,EAAuBjC,EAAa4B,CAAyB,EAAE,GAAG3B,EAAAA,UAAY,UAAW8B,GAAQ,CAC1G,GAAI,OAAOA,GAAQ,SACf,OAAOD,EAA2BC,CAAG,EAEzC,GAAIA,GACA,OAAOA,GAAQ,UACf,SAAUA,GACV,OAAOA,EAAI,MAAS,SACpB,OAAOD,EAA2BC,EAAI,IAAI,CAElD,CAAC,CAAC,EACWG,EAAmBtB,EAAAA,OAAS,CACrC,GAAIR,EAAAA,OAAE,EAAS,IAAA,EAAM,SAAA,EACrB,KAAMA,EAAAA,OAAE,EAAS,SAAA,EACjB,WAAYP,EAAAA,MAAQ,CAACO,WAAYH,EAAAA,QAAE,CAAS,CAAC,CACjD,CAAC,EACYkC,EAAgBtC,EAAAA,MAAQ,CACjCO,SAAE,EAAS,IAAA,EAAM,MAAA,EACjBA,EAAAA,OAAE,EAAS,IAAA,CACf,CAAC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("react"),l=require("./index.cjs214.js"),i=require("./index.cjs30.js");function p(t,s){const r=n.useRef({props:t}),c=i.useControl(({mapLib:u})=>{const o=new u.GeolocateControl(t),a=o._setupUI;return o._setupUI=()=>{o._container.hasChildNodes()||a()},o.on("geolocate",e=>{r.current.props.onGeolocate?.(e)}),o.on("error",e=>{r.current.props.onError?.(e)}),o.on("outofmaxbounds",e=>{r.current.props.onOutOfMaxBounds?.(e)}),o.on("trackuserlocationstart",e=>{r.current.props.onTrackUserLocationStart?.(e)}),o.on("trackuserlocationend",e=>{r.current.props.onTrackUserLocationEnd?.(e)}),o},{position:t.position});return r.current.props=t,n.useImperativeHandle(s,()=>c,[]),n.useEffect(()=>{l.applyReactStyle(c._container,t.style)},[t.style]),null}n.memo(n.forwardRef(p));
1
+ "use strict";const n=require("react"),l=require("./index.cjs221.js"),i=require("./index.cjs30.js");function p(t,s){const r=n.useRef({props:t}),c=i.useControl(({mapLib:u})=>{const o=new u.GeolocateControl(t),a=o._setupUI;return o._setupUI=()=>{o._container.hasChildNodes()||a()},o.on("geolocate",e=>{r.current.props.onGeolocate?.(e)}),o.on("error",e=>{r.current.props.onError?.(e)}),o.on("outofmaxbounds",e=>{r.current.props.onOutOfMaxBounds?.(e)}),o.on("trackuserlocationstart",e=>{r.current.props.onTrackUserLocationStart?.(e)}),o.on("trackuserlocationend",e=>{r.current.props.onTrackUserLocationEnd?.(e)}),o},{position:t.position});return r.current.props=t,n.useImperativeHandle(s,()=>c,[]),n.useEffect(()=>{l.applyReactStyle(c._container,t.style)},[t.style]),null}n.memo(n.forwardRef(p));
2
2
  //# sourceMappingURL=index.cjs21.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const d=require("./index.cjs247.js"),p=require("./index.cjs248.js"),i=require("./index.cjs215.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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs211.js"),n=require("./index.cjs212.js"),S=require("./index.cjs359.js"),e=require("./index.cjs469.js"),a=require("./index.cjs470.js"),c=require("./index.cjs416.js"),o=c.union([m.Image1Schema,n.Image2Schema,S.Image3Schema]);c.union([e.Canvas2Schema,a.Canvas3Schema]);c.union([e.Manifest2Schema,a.Manifest3Schema]);c.union([e.Collection2Schema,a.Collection3Schema]);const h=m.Image1Schema,i=c.discriminatedUnion("@type",[e.Collection2Schema,e.Manifest2Schema,e.Canvas2Schema,n.Image2Schema]),t=c.discriminatedUnion("type",[a.Collection3Schema,a.Manifest3Schema,a.Canvas3Schema,S.Image3Schema]);c.union([h,i,t]);exports.Image1Schema=m.Image1Schema;exports.Image2Schema=n.Image2Schema;exports.Image3Schema=S.Image3Schema;exports.Canvas2Schema=e.Canvas2Schema;exports.Collection2Schema=e.Collection2Schema;exports.Manifest2Schema=e.Manifest2Schema;exports.Canvas3Schema=a.Canvas3Schema;exports.Collection3Schema=a.Collection3Schema;exports.Manifest3Schema=a.Manifest3Schema;exports.IIIF1Schema=h;exports.IIIF2Schema=i;exports.IIIF3Schema=t;exports.ImageSchema=o;
2
2
  //# sourceMappingURL=index.cjs210.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs210.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,E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L,MACM,CAEF,MAAO,CAAA,CACX,CACJ,CACA,aAAa0B,EAAG,CACZ,KAAM,CAAE,MAAArC,GAAU,KAElB,GADmCA,EAAM,sBAAwBA,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.cjs210.js","sources":["../../../node_modules/@allmaps/iiif-parser/dist/schemas/iiif.js"],"sourcesContent":["import { z } from 'zod';\nimport { Image1Schema } from './image.1.js';\nimport { Image2Schema } from './image.2.js';\nimport { Image3Schema } from './image.3.js';\nimport { Canvas2Schema, Manifest2Schema, Collection2Schema } from './presentation.2.js';\nimport { Canvas3Schema, Manifest3Schema, Collection3Schema } from './presentation.3.js';\nexport { Image1Schema, Image2Schema, Image3Schema };\nexport { Canvas2Schema, Canvas3Schema };\nexport { Manifest2Schema, Manifest3Schema };\nexport { Collection2Schema, Collection3Schema };\nexport const ImageSchema = z.union([Image1Schema, Image2Schema, Image3Schema]);\nexport const CanvasSchema = z.union([Canvas2Schema, Canvas3Schema]);\nexport const ManifestSchema = z.union([Manifest2Schema, Manifest3Schema]);\nexport const CollectionSchema = z.union([Collection2Schema, Collection3Schema]);\nexport const IIIF1Schema = Image1Schema;\nexport const IIIF2Schema = z.discriminatedUnion('@type', [\n Collection2Schema,\n Manifest2Schema,\n Canvas2Schema,\n Image2Schema\n]);\nexport const IIIF3Schema = z.discriminatedUnion('type', [\n Collection3Schema,\n Manifest3Schema,\n Canvas3Schema,\n Image3Schema\n]);\nexport const IIIFSchema = z.union([IIIF1Schema, IIIF2Schema, IIIF3Schema]);\n"],"names":["ImageSchema","z.union","Image1Schema","Image2Schema","Image3Schema","Canvas2Schema","Canvas3Schema","Manifest2Schema","Manifest3Schema","Collection2Schema","Collection3Schema","IIIF1Schema","IIIF2Schema","z.discriminatedUnion","IIIF3Schema"],"mappings":"gRAUaA,EAAcC,EAAAA,MAAQ,CAACC,eAAcC,EAAAA,aAAcC,EAAAA,YAAY,CAAC,EACjDH,EAAAA,MAAQ,CAACI,EAAAA,cAAeC,eAAa,CAAC,EACpCL,EAAAA,MAAQ,CAACM,EAAAA,gBAAiBC,iBAAe,CAAC,EACxCP,EAAAA,MAAQ,CAACQ,EAAAA,kBAAmBC,mBAAiB,CAAC,EACvE,MAAMC,EAAcT,EAAAA,aACdU,EAAcC,EAAAA,mBAAqB,QAAS,CACrDJ,EAAAA,kBACAF,EAAAA,gBACAF,EAAAA,cACAF,EAAAA,YACJ,CAAC,EACYW,EAAcD,EAAAA,mBAAqB,OAAQ,CACpDH,EAAAA,kBACAF,EAAAA,gBACAF,EAAAA,cACAF,EAAAA,YACJ,CAAC,EACyBH,EAAAA,MAAQ,CAACU,EAAaC,EAAaE,CAAW,CAAC","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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs416.js"),i=/^https?:\/\/library.stanford.edu\/iiif\/image-api\/1.1\/compliance.html#level(?<level>[012])$/,t=e.string().regex(i),n=t,o="http://library.stanford.edu/iiif/image-api/1.1/context.json",a="http://iiif.io/api/image/1/context.json",r=e.literal(o),g=e.object({"@context":r,"@id":e.string().url(),profile:t.optional(),width:e.number().int(),height:e.number().int(),scale_factors:e.number().array().optional(),tile_width:e.number().optional(),tile_height:e.number().optional()});exports.Image1Context=r;exports.Image1ContextString=o;exports.Image1ContextStringIncorrect=a;exports.Image1ProfileSchema=n;exports.Image1ProfileUri=t;exports.Image1Schema=g;exports.image1ProfileUriRegex=i;
2
2
  //# sourceMappingURL=index.cjs211.js.map