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

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 (1985) 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.cjs152.js +1 -1
  32. package/dist/index.cjs153.js +1 -1
  33. package/dist/index.cjs154.js +1 -1
  34. package/dist/index.cjs155.js +1 -1
  35. package/dist/index.cjs156.js +1 -1
  36. package/dist/index.cjs157.js +1 -1
  37. package/dist/index.cjs158.js +1 -1
  38. package/dist/index.cjs16.js +1 -1
  39. package/dist/index.cjs160.js +1 -1
  40. package/dist/index.cjs161.js +1 -1
  41. package/dist/index.cjs162.js +1 -1
  42. package/dist/index.cjs163.js +1 -1
  43. package/dist/index.cjs164.js +1 -1
  44. package/dist/index.cjs165.js +1 -1
  45. package/dist/index.cjs166.js +1 -1
  46. package/dist/index.cjs167.js +1 -1
  47. package/dist/index.cjs168.js +1 -1
  48. package/dist/index.cjs17.js +1 -1
  49. package/dist/index.cjs171.js +1 -1
  50. package/dist/index.cjs172.js +1 -1
  51. package/dist/index.cjs174.js +1 -1
  52. package/dist/index.cjs175.js +1 -1
  53. package/dist/index.cjs176.js +1 -1
  54. package/dist/index.cjs177.js +1 -1
  55. package/dist/index.cjs178.js +1 -1
  56. package/dist/index.cjs179.js +1 -1
  57. package/dist/index.cjs18.js +1 -1
  58. package/dist/index.cjs180.js +1 -1
  59. package/dist/index.cjs181.js +1 -1
  60. package/dist/index.cjs187.js +1 -1
  61. package/dist/index.cjs188.js +1 -1
  62. package/dist/index.cjs189.js +1 -1
  63. package/dist/index.cjs19.js +1 -1
  64. package/dist/index.cjs190.js +1 -1
  65. package/dist/index.cjs191.js +1 -1
  66. package/dist/index.cjs194.js +1 -1
  67. package/dist/index.cjs194.js.map +1 -1
  68. package/dist/index.cjs195.js +1 -1
  69. package/dist/index.cjs195.js.map +1 -1
  70. package/dist/index.cjs196.js +1 -1
  71. package/dist/index.cjs196.js.map +1 -1
  72. package/dist/index.cjs197.js +1 -1
  73. package/dist/index.cjs197.js.map +1 -1
  74. package/dist/index.cjs198.js +1 -1
  75. package/dist/index.cjs198.js.map +1 -1
  76. package/dist/index.cjs199.js +1 -1
  77. package/dist/index.cjs199.js.map +1 -1
  78. package/dist/index.cjs20.js +1 -1
  79. package/dist/index.cjs200.js +1 -1
  80. package/dist/index.cjs200.js.map +1 -1
  81. package/dist/index.cjs201.js +1 -1
  82. package/dist/index.cjs201.js.map +1 -1
  83. package/dist/index.cjs202.js +1 -1
  84. package/dist/index.cjs202.js.map +1 -1
  85. package/dist/index.cjs203.js +1 -1
  86. package/dist/index.cjs203.js.map +1 -1
  87. package/dist/index.cjs204.js +1 -1
  88. package/dist/index.cjs204.js.map +1 -1
  89. package/dist/index.cjs205.js +1 -1
  90. package/dist/index.cjs205.js.map +1 -1
  91. package/dist/index.cjs206.js +1 -1
  92. package/dist/index.cjs206.js.map +1 -1
  93. package/dist/index.cjs207.js +1 -1
  94. package/dist/index.cjs207.js.map +1 -1
  95. package/dist/index.cjs208.js +1 -1
  96. package/dist/index.cjs208.js.map +1 -1
  97. package/dist/index.cjs209.js +1 -1
  98. package/dist/index.cjs209.js.map +1 -1
  99. package/dist/index.cjs21.js +1 -1
  100. package/dist/index.cjs210.js +1 -1
  101. package/dist/index.cjs210.js.map +1 -1
  102. package/dist/index.cjs211.js +1 -1
  103. package/dist/index.cjs211.js.map +1 -1
  104. package/dist/index.cjs212.js +1 -1
  105. package/dist/index.cjs212.js.map +1 -1
  106. package/dist/index.cjs213.js +1 -1
  107. package/dist/index.cjs213.js.map +1 -1
  108. package/dist/index.cjs214.js +1 -1
  109. package/dist/index.cjs214.js.map +1 -1
  110. package/dist/index.cjs215.js +1 -1
  111. package/dist/index.cjs215.js.map +1 -1
  112. package/dist/index.cjs216.js +1 -1
  113. package/dist/index.cjs216.js.map +1 -1
  114. package/dist/index.cjs217.js +1 -1
  115. package/dist/index.cjs217.js.map +1 -1
  116. package/dist/index.cjs218.js +1 -1
  117. package/dist/index.cjs218.js.map +1 -1
  118. package/dist/index.cjs219.js +1 -1
  119. package/dist/index.cjs219.js.map +1 -1
  120. package/dist/index.cjs22.js +1 -1
  121. package/dist/index.cjs220.js +1 -1
  122. package/dist/index.cjs220.js.map +1 -1
  123. package/dist/index.cjs221.js +1 -1
  124. package/dist/index.cjs221.js.map +1 -1
  125. package/dist/index.cjs222.js +1 -1
  126. package/dist/index.cjs222.js.map +1 -1
  127. package/dist/index.cjs223.js +1 -1
  128. package/dist/index.cjs223.js.map +1 -1
  129. package/dist/index.cjs224.js +1 -1
  130. package/dist/index.cjs224.js.map +1 -1
  131. package/dist/index.cjs225.js +1 -1
  132. package/dist/index.cjs225.js.map +1 -1
  133. package/dist/index.cjs226.js +1 -1
  134. package/dist/index.cjs226.js.map +1 -1
  135. package/dist/index.cjs227.js +1 -1
  136. package/dist/index.cjs227.js.map +1 -1
  137. package/dist/index.cjs228.js +1 -1
  138. package/dist/index.cjs228.js.map +1 -1
  139. package/dist/index.cjs229.js +1 -1
  140. package/dist/index.cjs229.js.map +1 -1
  141. package/dist/index.cjs23.js +1 -1
  142. package/dist/index.cjs230.js +1 -1
  143. package/dist/index.cjs230.js.map +1 -1
  144. package/dist/index.cjs231.js +1 -1
  145. package/dist/index.cjs231.js.map +1 -1
  146. package/dist/index.cjs232.js +1 -1
  147. package/dist/index.cjs232.js.map +1 -1
  148. package/dist/index.cjs233.js +1 -1
  149. package/dist/index.cjs233.js.map +1 -1
  150. package/dist/index.cjs234.js +1 -1
  151. package/dist/index.cjs234.js.map +1 -1
  152. package/dist/index.cjs235.js +1 -1
  153. package/dist/index.cjs235.js.map +1 -1
  154. package/dist/index.cjs236.js +1 -1
  155. package/dist/index.cjs236.js.map +1 -1
  156. package/dist/index.cjs237.js +1 -1
  157. package/dist/index.cjs237.js.map +1 -1
  158. package/dist/index.cjs238.js +1 -1
  159. package/dist/index.cjs238.js.map +1 -1
  160. package/dist/index.cjs239.js +1 -1
  161. package/dist/index.cjs239.js.map +1 -1
  162. package/dist/index.cjs24.js +1 -1
  163. package/dist/index.cjs240.js +1 -1
  164. package/dist/index.cjs240.js.map +1 -1
  165. package/dist/index.cjs241.js +1 -1
  166. package/dist/index.cjs241.js.map +1 -1
  167. package/dist/index.cjs242.js +1 -1
  168. package/dist/index.cjs242.js.map +1 -1
  169. package/dist/index.cjs243.js +1 -1
  170. package/dist/index.cjs243.js.map +1 -1
  171. package/dist/index.cjs244.js +1 -1
  172. package/dist/index.cjs244.js.map +1 -1
  173. package/dist/index.cjs245.js +1 -7
  174. package/dist/index.cjs245.js.map +1 -1
  175. package/dist/index.cjs246.js +1 -1
  176. package/dist/index.cjs246.js.map +1 -1
  177. package/dist/index.cjs247.js +1 -1
  178. package/dist/index.cjs247.js.map +1 -1
  179. package/dist/index.cjs248.js +1 -1
  180. package/dist/index.cjs248.js.map +1 -1
  181. package/dist/index.cjs249.js +1 -1
  182. package/dist/index.cjs249.js.map +1 -1
  183. package/dist/index.cjs25.js +1 -1
  184. package/dist/index.cjs250.js +1 -1
  185. package/dist/index.cjs250.js.map +1 -1
  186. package/dist/index.cjs251.js +1 -1
  187. package/dist/index.cjs251.js.map +1 -1
  188. package/dist/index.cjs252.js +1 -1
  189. package/dist/index.cjs252.js.map +1 -1
  190. package/dist/index.cjs253.js +1 -1
  191. package/dist/index.cjs253.js.map +1 -1
  192. package/dist/index.cjs254.js +1 -1
  193. package/dist/index.cjs254.js.map +1 -1
  194. package/dist/index.cjs255.js +1 -1
  195. package/dist/index.cjs255.js.map +1 -1
  196. package/dist/index.cjs256.js +1 -1
  197. package/dist/index.cjs256.js.map +1 -1
  198. package/dist/index.cjs257.js +1 -1
  199. package/dist/index.cjs257.js.map +1 -1
  200. package/dist/index.cjs258.js +1 -1
  201. package/dist/index.cjs258.js.map +1 -1
  202. package/dist/index.cjs259.js +1 -1
  203. package/dist/index.cjs259.js.map +1 -1
  204. package/dist/index.cjs26.js +1 -1
  205. package/dist/index.cjs260.js +1 -1
  206. package/dist/index.cjs260.js.map +1 -1
  207. package/dist/index.cjs261.js +1 -1
  208. package/dist/index.cjs261.js.map +1 -1
  209. package/dist/index.cjs262.js +1 -1
  210. package/dist/index.cjs262.js.map +1 -1
  211. package/dist/index.cjs263.js +1 -1
  212. package/dist/index.cjs263.js.map +1 -1
  213. package/dist/index.cjs264.js +1 -1
  214. package/dist/index.cjs264.js.map +1 -1
  215. package/dist/index.cjs265.js +1 -1
  216. package/dist/index.cjs265.js.map +1 -1
  217. package/dist/index.cjs266.js +1 -1
  218. package/dist/index.cjs266.js.map +1 -1
  219. package/dist/index.cjs267.js +1 -1
  220. package/dist/index.cjs267.js.map +1 -1
  221. package/dist/index.cjs268.js +1 -1
  222. package/dist/index.cjs268.js.map +1 -1
  223. package/dist/index.cjs269.js +1 -1
  224. package/dist/index.cjs269.js.map +1 -1
  225. package/dist/index.cjs27.js +1 -1
  226. package/dist/index.cjs270.js +1 -1
  227. package/dist/index.cjs270.js.map +1 -1
  228. package/dist/index.cjs271.js +1 -1
  229. package/dist/index.cjs271.js.map +1 -1
  230. package/dist/index.cjs272.js +7 -1
  231. package/dist/index.cjs272.js.map +1 -1
  232. package/dist/index.cjs273.js +1 -1
  233. package/dist/index.cjs273.js.map +1 -1
  234. package/dist/index.cjs274.js +1 -1
  235. package/dist/index.cjs274.js.map +1 -1
  236. package/dist/index.cjs275.js +1 -1
  237. package/dist/index.cjs275.js.map +1 -1
  238. package/dist/index.cjs276.js +2 -0
  239. package/dist/index.cjs276.js.map +1 -0
  240. package/dist/index.cjs277.js +2 -0
  241. package/dist/index.cjs277.js.map +1 -0
  242. package/dist/index.cjs278.js +2 -0
  243. package/dist/index.cjs278.js.map +1 -0
  244. package/dist/index.cjs279.js +2 -0
  245. package/dist/index.cjs279.js.map +1 -0
  246. package/dist/index.cjs280.js +2 -0
  247. package/dist/index.cjs280.js.map +1 -0
  248. package/dist/index.cjs281.js +2 -0
  249. package/dist/index.cjs281.js.map +1 -0
  250. package/dist/index.cjs282.js +2 -0
  251. package/dist/index.cjs282.js.map +1 -0
  252. package/dist/index.cjs283.js +2 -0
  253. package/dist/index.cjs283.js.map +1 -0
  254. package/dist/index.cjs284.js +2 -0
  255. package/dist/index.cjs284.js.map +1 -0
  256. package/dist/index.cjs285.js +2 -0
  257. package/dist/index.cjs285.js.map +1 -0
  258. package/dist/index.cjs286.js +2 -0
  259. package/dist/index.cjs286.js.map +1 -0
  260. package/dist/index.cjs287.js +2 -0
  261. package/dist/index.cjs287.js.map +1 -0
  262. package/dist/index.cjs288.js +2 -0
  263. package/dist/index.cjs288.js.map +1 -0
  264. package/dist/index.cjs289.js +2 -0
  265. package/dist/index.cjs289.js.map +1 -0
  266. package/dist/index.cjs290.js +2 -0
  267. package/dist/index.cjs290.js.map +1 -0
  268. package/dist/index.cjs291.js +2 -0
  269. package/dist/index.cjs291.js.map +1 -0
  270. package/dist/index.cjs292.js +2 -0
  271. package/dist/index.cjs292.js.map +1 -0
  272. package/dist/index.cjs293.js +2 -0
  273. package/dist/index.cjs293.js.map +1 -0
  274. package/dist/index.cjs294.js +2 -0
  275. package/dist/index.cjs294.js.map +1 -0
  276. package/dist/index.cjs295.js +2 -0
  277. package/dist/index.cjs295.js.map +1 -0
  278. package/dist/index.cjs296.js +2 -0
  279. package/dist/index.cjs296.js.map +1 -0
  280. package/dist/index.cjs297.js +2 -0
  281. package/dist/index.cjs297.js.map +1 -0
  282. package/dist/index.cjs298.js +2 -0
  283. package/dist/index.cjs298.js.map +1 -0
  284. package/dist/index.cjs299.js +2 -0
  285. package/dist/index.cjs299.js.map +1 -0
  286. package/dist/index.cjs300.js +2 -0
  287. package/dist/index.cjs300.js.map +1 -0
  288. package/dist/index.cjs301.js +2 -0
  289. package/dist/index.cjs301.js.map +1 -0
  290. package/dist/index.cjs302.js +2 -0
  291. package/dist/index.cjs302.js.map +1 -0
  292. package/dist/index.cjs303.js +2 -0
  293. package/dist/index.cjs303.js.map +1 -0
  294. package/dist/index.cjs304.js +2 -0
  295. package/dist/index.cjs304.js.map +1 -0
  296. package/dist/index.cjs305.js +2 -0
  297. package/dist/index.cjs305.js.map +1 -0
  298. package/dist/index.cjs306.js +2 -0
  299. package/dist/index.cjs306.js.map +1 -0
  300. package/dist/index.cjs307.js +2 -0
  301. package/dist/index.cjs307.js.map +1 -0
  302. package/dist/index.cjs308.js +47 -0
  303. package/dist/index.cjs308.js.map +1 -0
  304. package/dist/index.cjs309.js +212 -0
  305. package/dist/index.cjs309.js.map +1 -0
  306. package/dist/index.cjs310.js +62 -0
  307. package/dist/index.cjs310.js.map +1 -0
  308. package/dist/index.cjs311.js +60 -0
  309. package/dist/index.cjs311.js.map +1 -0
  310. package/dist/index.cjs312.js +46 -0
  311. package/dist/index.cjs312.js.map +1 -0
  312. package/dist/index.cjs313.js +52 -0
  313. package/dist/index.cjs313.js.map +1 -0
  314. package/dist/index.cjs314.js +308 -0
  315. package/dist/index.cjs314.js.map +1 -0
  316. package/dist/index.cjs315.js +293 -0
  317. package/dist/index.cjs315.js.map +1 -0
  318. package/dist/index.cjs316.js +6 -0
  319. package/dist/index.cjs316.js.map +1 -0
  320. package/dist/index.cjs317.js +2 -0
  321. package/dist/index.cjs317.js.map +1 -0
  322. package/dist/index.cjs318.js +2 -0
  323. package/dist/index.cjs318.js.map +1 -0
  324. package/dist/index.cjs319.js +2 -0
  325. package/dist/index.cjs319.js.map +1 -0
  326. package/dist/index.cjs320.js +2 -0
  327. package/dist/index.cjs320.js.map +1 -0
  328. package/dist/index.cjs321.js +2 -0
  329. package/dist/index.cjs321.js.map +1 -0
  330. package/dist/index.cjs322.js +2 -0
  331. package/dist/index.cjs322.js.map +1 -0
  332. package/dist/index.cjs323.js +2 -0
  333. package/dist/index.cjs323.js.map +1 -0
  334. package/dist/index.cjs324.js +2 -0
  335. package/dist/index.cjs324.js.map +1 -0
  336. package/dist/index.cjs325.js +2 -0
  337. package/dist/index.cjs325.js.map +1 -0
  338. package/dist/index.cjs326.js +2 -0
  339. package/dist/index.cjs326.js.map +1 -0
  340. package/dist/index.cjs327.js +2 -0
  341. package/dist/index.cjs327.js.map +1 -0
  342. package/dist/index.cjs328.js +2 -0
  343. package/dist/index.cjs328.js.map +1 -0
  344. package/dist/index.cjs329.js +2 -0
  345. package/dist/index.cjs329.js.map +1 -0
  346. package/dist/index.cjs330.js +2 -0
  347. package/dist/index.cjs330.js.map +1 -0
  348. package/dist/index.cjs331.js +2 -0
  349. package/dist/index.cjs331.js.map +1 -0
  350. package/dist/index.cjs332.js +2 -0
  351. package/dist/index.cjs332.js.map +1 -0
  352. package/dist/index.cjs333.js +2 -0
  353. package/dist/index.cjs333.js.map +1 -0
  354. package/dist/index.cjs334.js +5 -0
  355. package/dist/index.cjs334.js.map +1 -0
  356. package/dist/index.cjs335.js +6 -0
  357. package/dist/index.cjs335.js.map +1 -0
  358. package/dist/index.cjs336.js +2 -0
  359. package/dist/index.cjs336.js.map +1 -0
  360. package/dist/index.cjs337.js +2 -0
  361. package/dist/index.cjs337.js.map +1 -0
  362. package/dist/index.cjs338.js +2 -0
  363. package/dist/index.cjs338.js.map +1 -0
  364. package/dist/index.cjs339.js +2 -0
  365. package/dist/index.cjs339.js.map +1 -0
  366. package/dist/index.cjs340.js +2 -0
  367. package/dist/index.cjs340.js.map +1 -0
  368. package/dist/index.cjs341.js +2 -0
  369. package/dist/index.cjs341.js.map +1 -0
  370. package/dist/index.cjs342.js +2 -0
  371. package/dist/index.cjs342.js.map +1 -0
  372. package/dist/index.cjs343.js +2 -0
  373. package/dist/index.cjs343.js.map +1 -0
  374. package/dist/index.cjs344.js +2 -0
  375. package/dist/index.cjs344.js.map +1 -0
  376. package/dist/index.cjs345.js +2 -0
  377. package/dist/index.cjs345.js.map +1 -0
  378. package/dist/index.cjs346.js +2 -0
  379. package/dist/index.cjs346.js.map +1 -0
  380. package/dist/index.cjs347.js +2 -0
  381. package/dist/index.cjs347.js.map +1 -0
  382. package/dist/index.cjs348.js +5 -0
  383. package/dist/index.cjs348.js.map +1 -0
  384. package/dist/index.cjs349.js +2 -0
  385. package/dist/index.cjs349.js.map +1 -0
  386. package/dist/index.cjs350.js +2 -0
  387. package/dist/index.cjs350.js.map +1 -0
  388. package/dist/index.cjs351.js +2 -0
  389. package/dist/index.cjs351.js.map +1 -0
  390. package/dist/index.cjs352.js +2 -0
  391. package/dist/index.cjs352.js.map +1 -0
  392. package/dist/index.cjs353.js +2 -0
  393. package/dist/index.cjs353.js.map +1 -0
  394. package/dist/index.cjs354.js +2 -0
  395. package/dist/index.cjs354.js.map +1 -0
  396. package/dist/index.cjs355.js +2 -0
  397. package/dist/index.cjs355.js.map +1 -0
  398. package/dist/index.cjs356.js +2 -0
  399. package/dist/index.cjs356.js.map +1 -0
  400. package/dist/index.cjs357.js +2 -0
  401. package/dist/index.cjs357.js.map +1 -0
  402. package/dist/index.cjs358.js +2 -0
  403. package/dist/index.cjs358.js.map +1 -0
  404. package/dist/index.cjs359.js +2 -0
  405. package/dist/index.cjs359.js.map +1 -0
  406. package/dist/index.cjs360.js +2 -0
  407. package/dist/index.cjs360.js.map +1 -0
  408. package/dist/index.cjs361.js +2 -0
  409. package/dist/index.cjs361.js.map +1 -0
  410. package/dist/index.cjs362.js +2 -0
  411. package/dist/index.cjs362.js.map +1 -0
  412. package/dist/index.cjs363.js +2 -0
  413. package/dist/index.cjs363.js.map +1 -0
  414. package/dist/index.cjs364.js +2 -0
  415. package/dist/index.cjs364.js.map +1 -0
  416. package/dist/index.cjs365.js +2 -0
  417. package/dist/index.cjs365.js.map +1 -0
  418. package/dist/index.cjs366.js +2 -0
  419. package/dist/index.cjs366.js.map +1 -0
  420. package/dist/index.cjs367.js +2 -0
  421. package/dist/index.cjs367.js.map +1 -0
  422. package/dist/index.cjs368.js +2 -0
  423. package/dist/index.cjs368.js.map +1 -0
  424. package/dist/index.cjs369.js +2 -0
  425. package/dist/index.cjs369.js.map +1 -0
  426. package/dist/index.cjs370.js +2 -0
  427. package/dist/index.cjs370.js.map +1 -0
  428. package/dist/index.cjs371.js +2 -0
  429. package/dist/index.cjs371.js.map +1 -0
  430. package/dist/index.cjs372.js +2 -0
  431. package/dist/index.cjs372.js.map +1 -0
  432. package/dist/index.cjs373.js +2 -0
  433. package/dist/index.cjs373.js.map +1 -0
  434. package/dist/index.cjs374.js +2 -0
  435. package/dist/index.cjs374.js.map +1 -0
  436. package/dist/index.cjs375.js +2 -0
  437. package/dist/index.cjs375.js.map +1 -0
  438. package/dist/index.cjs376.js +2 -0
  439. package/dist/index.cjs376.js.map +1 -0
  440. package/dist/index.cjs377.js +2 -0
  441. package/dist/index.cjs377.js.map +1 -0
  442. package/dist/index.cjs378.js +2 -0
  443. package/dist/index.cjs378.js.map +1 -0
  444. package/dist/index.cjs379.js +2 -0
  445. package/dist/index.cjs379.js.map +1 -0
  446. package/dist/index.cjs38.js +1 -1
  447. package/dist/index.cjs380.js +2 -0
  448. package/dist/index.cjs380.js.map +1 -0
  449. package/dist/index.cjs381.js +2 -0
  450. package/dist/index.cjs381.js.map +1 -0
  451. package/dist/index.cjs382.js +2 -0
  452. package/dist/index.cjs382.js.map +1 -0
  453. package/dist/index.cjs383.js +2 -0
  454. package/dist/index.cjs383.js.map +1 -0
  455. package/dist/index.cjs384.js +2 -0
  456. package/dist/index.cjs384.js.map +1 -0
  457. package/dist/index.cjs385.js +2 -0
  458. package/dist/index.cjs385.js.map +1 -0
  459. package/dist/index.cjs386.js +2 -0
  460. package/dist/index.cjs386.js.map +1 -0
  461. package/dist/index.cjs387.js +2 -0
  462. package/dist/index.cjs387.js.map +1 -0
  463. package/dist/index.cjs388.js +2 -0
  464. package/dist/index.cjs388.js.map +1 -0
  465. package/dist/index.cjs389.js +2 -0
  466. package/dist/index.cjs389.js.map +1 -0
  467. package/dist/index.cjs39.js +1 -1
  468. package/dist/index.cjs390.js +2 -0
  469. package/dist/index.cjs390.js.map +1 -0
  470. package/dist/index.cjs391.js +2 -0
  471. package/dist/index.cjs391.js.map +1 -0
  472. package/dist/index.cjs392.js +2 -0
  473. package/dist/index.cjs392.js.map +1 -0
  474. package/dist/index.cjs393.js +2 -0
  475. package/dist/index.cjs393.js.map +1 -0
  476. package/dist/index.cjs394.js +2 -0
  477. package/dist/index.cjs394.js.map +1 -0
  478. package/dist/index.cjs395.js +2 -0
  479. package/dist/index.cjs395.js.map +1 -0
  480. package/dist/index.cjs396.js +2 -0
  481. package/dist/index.cjs396.js.map +1 -0
  482. package/dist/index.cjs397.js +2 -0
  483. package/dist/index.cjs397.js.map +1 -0
  484. package/dist/index.cjs398.js +2 -0
  485. package/dist/index.cjs398.js.map +1 -0
  486. package/dist/index.cjs399.js +2 -0
  487. package/dist/index.cjs399.js.map +1 -0
  488. package/dist/index.cjs40.js +1 -1
  489. package/dist/index.cjs400.js +2 -0
  490. package/dist/index.cjs400.js.map +1 -0
  491. package/dist/index.cjs401.js +2 -0
  492. package/dist/index.cjs401.js.map +1 -0
  493. package/dist/index.cjs402.js +2 -0
  494. package/dist/index.cjs402.js.map +1 -0
  495. package/dist/index.cjs403.js +2 -0
  496. package/dist/index.cjs403.js.map +1 -0
  497. package/dist/index.cjs404.js +2 -0
  498. package/dist/index.cjs404.js.map +1 -0
  499. package/dist/index.cjs405.js +2 -0
  500. package/dist/index.cjs405.js.map +1 -0
  501. package/dist/index.cjs406.js +2 -0
  502. package/dist/index.cjs406.js.map +1 -0
  503. package/dist/index.cjs407.js +2 -0
  504. package/dist/index.cjs407.js.map +1 -0
  505. package/dist/index.cjs408.js +2 -0
  506. package/dist/index.cjs408.js.map +1 -0
  507. package/dist/index.cjs409.js +2 -0
  508. package/dist/index.cjs409.js.map +1 -0
  509. package/dist/index.cjs410.js +2 -0
  510. package/dist/index.cjs410.js.map +1 -0
  511. package/dist/index.cjs411.js +2 -0
  512. package/dist/index.cjs411.js.map +1 -0
  513. package/dist/index.cjs412.js +2 -0
  514. package/dist/index.cjs412.js.map +1 -0
  515. package/dist/index.cjs413.js +2 -0
  516. package/dist/index.cjs413.js.map +1 -0
  517. package/dist/index.cjs414.js +2 -0
  518. package/dist/index.cjs414.js.map +1 -0
  519. package/dist/index.cjs415.js +2 -0
  520. package/dist/index.cjs415.js.map +1 -0
  521. package/dist/index.cjs416.js +2 -0
  522. package/dist/index.cjs416.js.map +1 -0
  523. package/dist/index.cjs417.js +2 -0
  524. package/dist/index.cjs417.js.map +1 -0
  525. package/dist/index.cjs418.js +2 -0
  526. package/dist/index.cjs418.js.map +1 -0
  527. package/dist/index.cjs419.js +2 -0
  528. package/dist/index.cjs419.js.map +1 -0
  529. package/dist/index.cjs42.js +1 -1
  530. package/dist/index.cjs420.js +2 -0
  531. package/dist/index.cjs420.js.map +1 -0
  532. package/dist/index.cjs421.js +2 -0
  533. package/dist/index.cjs421.js.map +1 -0
  534. package/dist/index.cjs422.js +2 -0
  535. package/dist/index.cjs422.js.map +1 -0
  536. package/dist/index.cjs423.js +2 -0
  537. package/dist/index.cjs423.js.map +1 -0
  538. package/dist/index.cjs424.js +2 -0
  539. package/dist/index.cjs424.js.map +1 -0
  540. package/dist/index.cjs425.js +2 -0
  541. package/dist/index.cjs425.js.map +1 -0
  542. package/dist/index.cjs426.js +2 -0
  543. package/dist/index.cjs426.js.map +1 -0
  544. package/dist/index.cjs427.js +2 -0
  545. package/dist/index.cjs427.js.map +1 -0
  546. package/dist/index.cjs428.js +2 -0
  547. package/dist/index.cjs428.js.map +1 -0
  548. package/dist/index.cjs429.js +2 -0
  549. package/dist/index.cjs429.js.map +1 -0
  550. package/dist/index.cjs43.js +1 -1
  551. package/dist/index.cjs430.js +2 -0
  552. package/dist/index.cjs430.js.map +1 -0
  553. package/dist/index.cjs431.js +2 -0
  554. package/dist/index.cjs431.js.map +1 -0
  555. package/dist/index.cjs432.js +2 -0
  556. package/dist/index.cjs432.js.map +1 -0
  557. package/dist/index.cjs433.js +2 -0
  558. package/dist/index.cjs433.js.map +1 -0
  559. package/dist/index.cjs434.js +2 -0
  560. package/dist/index.cjs434.js.map +1 -0
  561. package/dist/index.cjs435.js +2 -0
  562. package/dist/index.cjs435.js.map +1 -0
  563. package/dist/index.cjs436.js +2 -0
  564. package/dist/index.cjs436.js.map +1 -0
  565. package/dist/index.cjs437.js +2 -0
  566. package/dist/index.cjs437.js.map +1 -0
  567. package/dist/index.cjs438.js +2 -0
  568. package/dist/index.cjs438.js.map +1 -0
  569. package/dist/index.cjs439.js +2 -0
  570. package/dist/index.cjs439.js.map +1 -0
  571. package/dist/index.cjs44.js +1 -1
  572. package/dist/index.cjs440.js +2 -0
  573. package/dist/index.cjs440.js.map +1 -0
  574. package/dist/index.cjs441.js +2 -0
  575. package/dist/index.cjs441.js.map +1 -0
  576. package/dist/index.cjs442.js +2 -0
  577. package/dist/index.cjs442.js.map +1 -0
  578. package/dist/index.cjs443.js +2 -0
  579. package/dist/index.cjs443.js.map +1 -0
  580. package/dist/index.cjs444.js +2 -0
  581. package/dist/index.cjs444.js.map +1 -0
  582. package/dist/index.cjs445.js +2 -0
  583. package/dist/index.cjs445.js.map +1 -0
  584. package/dist/index.cjs446.js +2 -0
  585. package/dist/index.cjs446.js.map +1 -0
  586. package/dist/index.cjs447.js +2 -0
  587. package/dist/index.cjs447.js.map +1 -0
  588. package/dist/index.cjs448.js +2 -0
  589. package/dist/index.cjs448.js.map +1 -0
  590. package/dist/index.cjs449.js +2 -0
  591. package/dist/index.cjs449.js.map +1 -0
  592. package/dist/index.cjs450.js +2 -0
  593. package/dist/index.cjs450.js.map +1 -0
  594. package/dist/index.cjs451.js +2 -0
  595. package/dist/index.cjs451.js.map +1 -0
  596. package/dist/index.cjs452.js +2 -0
  597. package/dist/index.cjs452.js.map +1 -0
  598. package/dist/index.cjs453.js +2 -0
  599. package/dist/index.cjs453.js.map +1 -0
  600. package/dist/index.cjs454.js +2 -0
  601. package/dist/index.cjs454.js.map +1 -0
  602. package/dist/index.cjs455.js +2 -0
  603. package/dist/index.cjs455.js.map +1 -0
  604. package/dist/index.cjs456.js +2 -0
  605. package/dist/index.cjs456.js.map +1 -0
  606. package/dist/index.cjs457.js +2 -0
  607. package/dist/index.cjs457.js.map +1 -0
  608. package/dist/index.cjs458.js +2 -0
  609. package/dist/index.cjs458.js.map +1 -0
  610. package/dist/index.cjs459.js +2 -0
  611. package/dist/index.cjs459.js.map +1 -0
  612. package/dist/index.cjs46.js +1 -1
  613. package/dist/index.cjs460.js +2 -0
  614. package/dist/index.cjs460.js.map +1 -0
  615. package/dist/index.cjs461.js +2 -0
  616. package/dist/index.cjs461.js.map +1 -0
  617. package/dist/index.cjs462.js +2 -0
  618. package/dist/index.cjs462.js.map +1 -0
  619. package/dist/index.cjs463.js +2 -0
  620. package/dist/index.cjs463.js.map +1 -0
  621. package/dist/index.cjs464.js +2 -0
  622. package/dist/index.cjs464.js.map +1 -0
  623. package/dist/index.cjs465.js +2 -0
  624. package/dist/index.cjs465.js.map +1 -0
  625. package/dist/index.cjs466.js +2 -0
  626. package/dist/index.cjs466.js.map +1 -0
  627. package/dist/index.cjs467.js +2 -0
  628. package/dist/index.cjs467.js.map +1 -0
  629. package/dist/index.cjs468.js +2 -0
  630. package/dist/index.cjs468.js.map +1 -0
  631. package/dist/index.cjs469.js +2 -0
  632. package/dist/index.cjs469.js.map +1 -0
  633. package/dist/index.cjs47.js +1 -1
  634. package/dist/index.cjs470.js +2 -0
  635. package/dist/index.cjs470.js.map +1 -0
  636. package/dist/index.cjs471.js +2 -0
  637. package/dist/index.cjs471.js.map +1 -0
  638. package/dist/index.cjs472.js +2 -0
  639. package/dist/index.cjs472.js.map +1 -0
  640. package/dist/index.cjs473.js +2 -0
  641. package/dist/index.cjs473.js.map +1 -0
  642. package/dist/index.cjs474.js +2 -0
  643. package/dist/index.cjs474.js.map +1 -0
  644. package/dist/index.cjs475.js +2 -0
  645. package/dist/index.cjs475.js.map +1 -0
  646. package/dist/index.cjs476.js +2 -0
  647. package/dist/index.cjs476.js.map +1 -0
  648. package/dist/index.cjs477.js +2 -0
  649. package/dist/index.cjs477.js.map +1 -0
  650. package/dist/index.cjs478.js +2 -0
  651. package/dist/index.cjs478.js.map +1 -0
  652. package/dist/index.cjs479.js +2 -0
  653. package/dist/index.cjs479.js.map +1 -0
  654. package/dist/index.cjs48.js +1 -1
  655. package/dist/index.cjs480.js +2 -0
  656. package/dist/index.cjs480.js.map +1 -0
  657. package/dist/index.cjs481.js +2 -0
  658. package/dist/index.cjs481.js.map +1 -0
  659. package/dist/index.cjs482.js +2 -0
  660. package/dist/index.cjs482.js.map +1 -0
  661. package/dist/index.cjs483.js +2 -0
  662. package/dist/index.cjs483.js.map +1 -0
  663. package/dist/index.cjs484.js +2 -0
  664. package/dist/index.cjs484.js.map +1 -0
  665. package/dist/index.cjs485.js +2 -0
  666. package/dist/index.cjs485.js.map +1 -0
  667. package/dist/index.cjs486.js +2 -0
  668. package/dist/index.cjs486.js.map +1 -0
  669. package/dist/index.cjs487.js +2 -0
  670. package/dist/index.cjs487.js.map +1 -0
  671. package/dist/index.cjs488.js +2 -0
  672. package/dist/index.cjs488.js.map +1 -0
  673. package/dist/index.cjs489.js +2 -0
  674. package/dist/index.cjs489.js.map +1 -0
  675. package/dist/index.cjs490.js +2 -0
  676. package/dist/index.cjs490.js.map +1 -0
  677. package/dist/index.cjs491.js +2 -0
  678. package/dist/index.cjs491.js.map +1 -0
  679. package/dist/index.cjs492.js +2 -0
  680. package/dist/index.cjs492.js.map +1 -0
  681. package/dist/index.cjs493.js +2 -0
  682. package/dist/index.cjs493.js.map +1 -0
  683. package/dist/index.cjs494.js +2 -0
  684. package/dist/index.cjs494.js.map +1 -0
  685. package/dist/index.cjs495.js +2 -0
  686. package/dist/index.cjs495.js.map +1 -0
  687. package/dist/index.cjs496.js +2 -0
  688. package/dist/index.cjs496.js.map +1 -0
  689. package/dist/index.cjs497.js +2 -0
  690. package/dist/index.cjs497.js.map +1 -0
  691. package/dist/index.cjs498.js +2 -0
  692. package/dist/index.cjs498.js.map +1 -0
  693. package/dist/index.cjs499.js +2 -0
  694. package/dist/index.cjs499.js.map +1 -0
  695. package/dist/index.cjs50.js +1 -1
  696. package/dist/index.cjs500.js +2 -0
  697. package/dist/index.cjs500.js.map +1 -0
  698. package/dist/index.cjs501.js +2 -0
  699. package/dist/index.cjs501.js.map +1 -0
  700. package/dist/index.cjs502.js +2 -0
  701. package/dist/index.cjs502.js.map +1 -0
  702. package/dist/index.cjs503.js +2 -0
  703. package/dist/index.cjs503.js.map +1 -0
  704. package/dist/index.cjs504.js +2 -0
  705. package/dist/index.cjs504.js.map +1 -0
  706. package/dist/index.cjs505.js +2 -0
  707. package/dist/index.cjs505.js.map +1 -0
  708. package/dist/index.cjs506.js +2 -0
  709. package/dist/index.cjs506.js.map +1 -0
  710. package/dist/index.cjs507.js +2 -0
  711. package/dist/index.cjs507.js.map +1 -0
  712. package/dist/index.cjs508.js +2 -0
  713. package/dist/index.cjs508.js.map +1 -0
  714. package/dist/index.cjs509.js +2 -0
  715. package/dist/index.cjs509.js.map +1 -0
  716. package/dist/index.cjs51.js +1 -1
  717. package/dist/index.cjs510.js +2 -0
  718. package/dist/index.cjs510.js.map +1 -0
  719. package/dist/index.cjs511.js +2 -0
  720. package/dist/index.cjs511.js.map +1 -0
  721. package/dist/index.cjs512.js +2 -0
  722. package/dist/index.cjs512.js.map +1 -0
  723. package/dist/index.cjs513.js +2 -0
  724. package/dist/index.cjs513.js.map +1 -0
  725. package/dist/index.cjs514.js +2 -0
  726. package/dist/index.cjs514.js.map +1 -0
  727. package/dist/index.cjs515.js +2 -0
  728. package/dist/index.cjs515.js.map +1 -0
  729. package/dist/index.cjs516.js +2 -0
  730. package/dist/index.cjs516.js.map +1 -0
  731. package/dist/index.cjs517.js +2 -0
  732. package/dist/index.cjs517.js.map +1 -0
  733. package/dist/index.cjs518.js +2 -0
  734. package/dist/index.cjs518.js.map +1 -0
  735. package/dist/index.cjs519.js +2 -0
  736. package/dist/index.cjs519.js.map +1 -0
  737. package/dist/index.cjs52.js +1 -1
  738. package/dist/index.cjs520.js +2 -0
  739. package/dist/index.cjs520.js.map +1 -0
  740. package/dist/index.cjs521.js +2 -0
  741. package/dist/index.cjs521.js.map +1 -0
  742. package/dist/index.cjs522.js +2 -0
  743. package/dist/index.cjs522.js.map +1 -0
  744. package/dist/index.cjs523.js +2 -0
  745. package/dist/index.cjs523.js.map +1 -0
  746. package/dist/index.cjs524.js +2 -0
  747. package/dist/index.cjs524.js.map +1 -0
  748. package/dist/index.cjs525.js +2 -0
  749. package/dist/index.cjs525.js.map +1 -0
  750. package/dist/index.cjs526.js +2 -0
  751. package/dist/index.cjs526.js.map +1 -0
  752. package/dist/index.cjs527.js +2 -0
  753. package/dist/index.cjs527.js.map +1 -0
  754. package/dist/index.cjs528.js +2 -0
  755. package/dist/index.cjs528.js.map +1 -0
  756. package/dist/index.cjs529.js +2 -0
  757. package/dist/index.cjs529.js.map +1 -0
  758. package/dist/index.cjs530.js +2 -0
  759. package/dist/index.cjs530.js.map +1 -0
  760. package/dist/index.cjs531.js +2 -0
  761. package/dist/index.cjs531.js.map +1 -0
  762. package/dist/index.cjs532.js +2 -0
  763. package/dist/index.cjs532.js.map +1 -0
  764. package/dist/index.cjs533.js +2 -0
  765. package/dist/index.cjs533.js.map +1 -0
  766. package/dist/index.cjs534.js +2 -0
  767. package/dist/index.cjs534.js.map +1 -0
  768. package/dist/index.cjs535.js +2 -0
  769. package/dist/index.cjs535.js.map +1 -0
  770. package/dist/index.cjs536.js +2 -0
  771. package/dist/index.cjs536.js.map +1 -0
  772. package/dist/index.cjs537.js +2 -0
  773. package/dist/index.cjs537.js.map +1 -0
  774. package/dist/index.cjs538.js +2 -0
  775. package/dist/index.cjs538.js.map +1 -0
  776. package/dist/index.cjs539.js +2 -0
  777. package/dist/index.cjs539.js.map +1 -0
  778. package/dist/index.cjs540.js +2 -0
  779. package/dist/index.cjs540.js.map +1 -0
  780. package/dist/index.cjs541.js +2 -0
  781. package/dist/index.cjs541.js.map +1 -0
  782. package/dist/index.cjs542.js +2 -0
  783. package/dist/index.cjs542.js.map +1 -0
  784. package/dist/index.cjs543.js +2 -0
  785. package/dist/index.cjs543.js.map +1 -0
  786. package/dist/index.cjs544.js +2 -0
  787. package/dist/index.cjs544.js.map +1 -0
  788. package/dist/index.cjs545.js +2 -0
  789. package/dist/index.cjs545.js.map +1 -0
  790. package/dist/index.cjs546.js +2 -0
  791. package/dist/index.cjs546.js.map +1 -0
  792. package/dist/index.cjs547.js +2 -0
  793. package/dist/index.cjs547.js.map +1 -0
  794. package/dist/index.cjs548.js +2 -0
  795. package/dist/index.cjs548.js.map +1 -0
  796. package/dist/index.cjs549.js +2 -0
  797. package/dist/index.cjs549.js.map +1 -0
  798. package/dist/index.cjs550.js +2 -0
  799. package/dist/index.cjs550.js.map +1 -0
  800. package/dist/index.cjs551.js +2 -0
  801. package/dist/index.cjs551.js.map +1 -0
  802. package/dist/index.cjs552.js +2 -0
  803. package/dist/index.cjs552.js.map +1 -0
  804. package/dist/index.cjs553.js +2 -0
  805. package/dist/index.cjs553.js.map +1 -0
  806. package/dist/index.cjs554.js +2 -0
  807. package/dist/index.cjs554.js.map +1 -0
  808. package/dist/index.cjs555.js +2 -0
  809. package/dist/index.cjs555.js.map +1 -0
  810. package/dist/index.cjs556.js +2 -0
  811. package/dist/index.cjs556.js.map +1 -0
  812. package/dist/index.cjs557.js +2 -0
  813. package/dist/index.cjs557.js.map +1 -0
  814. package/dist/index.cjs558.js +2 -0
  815. package/dist/index.cjs558.js.map +1 -0
  816. package/dist/index.cjs559.js +2 -0
  817. package/dist/index.cjs559.js.map +1 -0
  818. package/dist/index.cjs56.js +1 -1
  819. package/dist/index.cjs560.js +2 -0
  820. package/dist/index.cjs560.js.map +1 -0
  821. package/dist/index.cjs561.js +2 -0
  822. package/dist/index.cjs561.js.map +1 -0
  823. package/dist/index.cjs562.js +2 -0
  824. package/dist/index.cjs562.js.map +1 -0
  825. package/dist/index.cjs563.js +2 -0
  826. package/dist/index.cjs563.js.map +1 -0
  827. package/dist/index.cjs564.js +9 -0
  828. package/dist/index.cjs564.js.map +1 -0
  829. package/dist/index.cjs565.js +2 -0
  830. package/dist/index.cjs565.js.map +1 -0
  831. package/dist/index.cjs566.js +2 -0
  832. package/dist/index.cjs566.js.map +1 -0
  833. package/dist/index.cjs567.js +2 -0
  834. package/dist/index.cjs567.js.map +1 -0
  835. package/dist/index.cjs568.js +2 -0
  836. package/dist/index.cjs568.js.map +1 -0
  837. package/dist/index.cjs569.js +2 -0
  838. package/dist/index.cjs569.js.map +1 -0
  839. package/dist/index.cjs57.js +1 -1
  840. package/dist/index.cjs570.js +2 -0
  841. package/dist/index.cjs570.js.map +1 -0
  842. package/dist/index.cjs571.js +2 -0
  843. package/dist/index.cjs571.js.map +1 -0
  844. package/dist/index.cjs572.js +2 -0
  845. package/dist/index.cjs572.js.map +1 -0
  846. package/dist/index.cjs573.js +2 -0
  847. package/dist/index.cjs573.js.map +1 -0
  848. package/dist/index.cjs574.js +2 -0
  849. package/dist/index.cjs574.js.map +1 -0
  850. package/dist/index.cjs575.js +2 -0
  851. package/dist/index.cjs575.js.map +1 -0
  852. package/dist/index.cjs576.js +2 -0
  853. package/dist/index.cjs576.js.map +1 -0
  854. package/dist/index.cjs577.js +2 -0
  855. package/dist/index.cjs577.js.map +1 -0
  856. package/dist/index.cjs578.js +2 -0
  857. package/dist/index.cjs578.js.map +1 -0
  858. package/dist/index.cjs579.js +2 -0
  859. package/dist/index.cjs579.js.map +1 -0
  860. package/dist/index.cjs58.js +1 -1
  861. package/dist/index.cjs580.js +2 -0
  862. package/dist/index.cjs580.js.map +1 -0
  863. package/dist/index.cjs581.js +2 -0
  864. package/dist/index.cjs581.js.map +1 -0
  865. package/dist/index.cjs582.js +2 -0
  866. package/dist/index.cjs582.js.map +1 -0
  867. package/dist/index.cjs583.js +2 -0
  868. package/dist/index.cjs583.js.map +1 -0
  869. package/dist/index.cjs584.js +2 -0
  870. package/dist/index.cjs584.js.map +1 -0
  871. package/dist/index.cjs585.js +2 -0
  872. package/dist/index.cjs585.js.map +1 -0
  873. package/dist/index.cjs586.js +2 -0
  874. package/dist/index.cjs586.js.map +1 -0
  875. package/dist/index.cjs587.js +2 -0
  876. package/dist/index.cjs587.js.map +1 -0
  877. package/dist/index.cjs588.js +2 -0
  878. package/dist/index.cjs588.js.map +1 -0
  879. package/dist/index.cjs589.js +2 -0
  880. package/dist/index.cjs589.js.map +1 -0
  881. package/dist/index.cjs590.js +2 -0
  882. package/dist/index.cjs590.js.map +1 -0
  883. package/dist/index.cjs591.js +2 -0
  884. package/dist/index.cjs591.js.map +1 -0
  885. package/dist/index.cjs592.js +2 -0
  886. package/dist/index.cjs592.js.map +1 -0
  887. package/dist/index.cjs593.js +2 -0
  888. package/dist/index.cjs593.js.map +1 -0
  889. package/dist/index.cjs594.js +2 -0
  890. package/dist/index.cjs594.js.map +1 -0
  891. package/dist/index.cjs595.js +2 -0
  892. package/dist/index.cjs595.js.map +1 -0
  893. package/dist/index.cjs596.js +2 -0
  894. package/dist/index.cjs596.js.map +1 -0
  895. package/dist/index.cjs597.js +2 -0
  896. package/dist/index.cjs597.js.map +1 -0
  897. package/dist/index.cjs598.js +2 -0
  898. package/dist/index.cjs598.js.map +1 -0
  899. package/dist/index.cjs599.js +2 -0
  900. package/dist/index.cjs599.js.map +1 -0
  901. package/dist/index.cjs60.js +1 -1
  902. package/dist/index.cjs600.js +2 -0
  903. package/dist/index.cjs600.js.map +1 -0
  904. package/dist/index.cjs601.js +2 -0
  905. package/dist/index.cjs601.js.map +1 -0
  906. package/dist/index.cjs602.js +2 -0
  907. package/dist/index.cjs602.js.map +1 -0
  908. package/dist/index.cjs603.js +2 -0
  909. package/dist/index.cjs603.js.map +1 -0
  910. package/dist/index.cjs604.js +2 -0
  911. package/dist/index.cjs604.js.map +1 -0
  912. package/dist/index.cjs605.js +2 -0
  913. package/dist/index.cjs605.js.map +1 -0
  914. package/dist/index.cjs606.js +2 -0
  915. package/dist/index.cjs606.js.map +1 -0
  916. package/dist/index.cjs607.js +2 -0
  917. package/dist/index.cjs607.js.map +1 -0
  918. package/dist/index.cjs608.js +2 -0
  919. package/dist/index.cjs608.js.map +1 -0
  920. package/dist/index.cjs609.js +2 -0
  921. package/dist/index.cjs609.js.map +1 -0
  922. package/dist/index.cjs61.js +1 -1
  923. package/dist/index.cjs610.js +2 -0
  924. package/dist/index.cjs610.js.map +1 -0
  925. package/dist/index.cjs611.js +2 -0
  926. package/dist/index.cjs611.js.map +1 -0
  927. package/dist/index.cjs612.js +2 -0
  928. package/dist/index.cjs612.js.map +1 -0
  929. package/dist/index.cjs613.js +2 -0
  930. package/dist/index.cjs613.js.map +1 -0
  931. package/dist/index.cjs614.js +2 -0
  932. package/dist/index.cjs614.js.map +1 -0
  933. package/dist/index.cjs615.js +2 -0
  934. package/dist/index.cjs615.js.map +1 -0
  935. package/dist/index.cjs616.js +4 -0
  936. package/dist/index.cjs616.js.map +1 -0
  937. package/dist/index.cjs617.js +2 -0
  938. package/dist/index.cjs617.js.map +1 -0
  939. package/dist/index.cjs618.js +2 -0
  940. package/dist/index.cjs618.js.map +1 -0
  941. package/dist/index.cjs619.js +2 -0
  942. package/dist/index.cjs619.js.map +1 -0
  943. package/dist/index.cjs620.js +2 -0
  944. package/dist/index.cjs620.js.map +1 -0
  945. package/dist/index.cjs621.js +2 -0
  946. package/dist/index.cjs621.js.map +1 -0
  947. package/dist/index.cjs622.js +61 -0
  948. package/dist/index.cjs622.js.map +1 -0
  949. package/dist/index.cjs623.js +2 -0
  950. package/dist/index.cjs623.js.map +1 -0
  951. package/dist/index.cjs624.js +2 -0
  952. package/dist/index.cjs624.js.map +1 -0
  953. package/dist/index.cjs625.js +2 -0
  954. package/dist/index.cjs625.js.map +1 -0
  955. package/dist/index.cjs626.js +2 -0
  956. package/dist/index.cjs626.js.map +1 -0
  957. package/dist/index.cjs627.js +2 -0
  958. package/dist/index.cjs627.js.map +1 -0
  959. package/dist/index.cjs628.js +2 -0
  960. package/dist/index.cjs628.js.map +1 -0
  961. package/dist/index.cjs629.js +2 -0
  962. package/dist/index.cjs629.js.map +1 -0
  963. package/dist/index.cjs63.js +1 -1
  964. package/dist/index.cjs630.js +4 -0
  965. package/dist/index.cjs630.js.map +1 -0
  966. package/dist/index.cjs631.js +2 -0
  967. package/dist/index.cjs631.js.map +1 -0
  968. package/dist/index.cjs632.js +2 -0
  969. package/dist/index.cjs632.js.map +1 -0
  970. package/dist/index.cjs67.js +1 -1
  971. package/dist/index.cjs67.js.map +1 -1
  972. package/dist/index.cjs68.js +1 -440
  973. package/dist/index.cjs68.js.map +1 -1
  974. package/dist/index.cjs69.js +1 -1
  975. package/dist/index.cjs69.js.map +1 -1
  976. package/dist/index.cjs70.js.map +1 -1
  977. package/dist/index.cjs71.js +1 -1
  978. package/dist/index.cjs71.js.map +1 -1
  979. package/dist/index.cjs72.js +1 -1
  980. package/dist/index.cjs72.js.map +1 -1
  981. package/dist/index.cjs73.js +1 -1
  982. package/dist/index.cjs73.js.map +1 -1
  983. package/dist/index.cjs74.js +1 -1
  984. package/dist/index.cjs74.js.map +1 -1
  985. package/dist/index.cjs75.js +1 -1
  986. package/dist/index.cjs75.js.map +1 -1
  987. package/dist/index.cjs76.js +1 -1
  988. package/dist/index.cjs76.js.map +1 -1
  989. package/dist/index.cjs77.js +1 -1
  990. package/dist/index.cjs77.js.map +1 -1
  991. package/dist/index.cjs78.js.map +1 -1
  992. package/dist/index.cjs93.js +1 -1
  993. package/dist/index.es100.js +1 -1
  994. package/dist/index.es101.js +1 -1
  995. package/dist/index.es102.js +1 -1
  996. package/dist/index.es103.js +1 -1
  997. package/dist/index.es104.js +1 -1
  998. package/dist/index.es105.js +1 -1
  999. package/dist/index.es106.js +1 -1
  1000. package/dist/index.es107.js +1 -1
  1001. package/dist/index.es108.js +1 -1
  1002. package/dist/index.es111.js +1 -1
  1003. package/dist/index.es112.js +1 -1
  1004. package/dist/index.es114.js +3 -3
  1005. package/dist/index.es115.js +1 -1
  1006. package/dist/index.es116.js +2 -2
  1007. package/dist/index.es117.js +1 -1
  1008. package/dist/index.es12.js +6 -7
  1009. package/dist/index.es12.js.map +1 -1
  1010. package/dist/index.es122.js +1 -1
  1011. package/dist/index.es123.js +1 -1
  1012. package/dist/index.es124.js +1 -1
  1013. package/dist/index.es125.js +1 -1
  1014. package/dist/index.es128.js +2 -2
  1015. package/dist/index.es129.js +2 -2
  1016. package/dist/index.es13.js +8 -8
  1017. package/dist/index.es13.js.map +1 -1
  1018. package/dist/index.es130.js +1 -1
  1019. package/dist/index.es134.js +2 -2
  1020. package/dist/index.es137.js +1 -1
  1021. package/dist/index.es141.js +1 -1
  1022. package/dist/index.es144.js +1 -1
  1023. package/dist/index.es152.js +1 -1
  1024. package/dist/index.es153.js +1 -1
  1025. package/dist/index.es154.js +1 -1
  1026. package/dist/index.es155.js +2 -2
  1027. package/dist/index.es156.js +1 -1
  1028. package/dist/index.es157.js +1 -1
  1029. package/dist/index.es158.js +1 -1
  1030. package/dist/index.es16.js +4 -4
  1031. package/dist/index.es160.js +2 -2
  1032. package/dist/index.es161.js +2 -2
  1033. package/dist/index.es162.js +1 -1
  1034. package/dist/index.es163.js +1 -1
  1035. package/dist/index.es164.js +1 -1
  1036. package/dist/index.es165.js +1 -1
  1037. package/dist/index.es166.js +2 -2
  1038. package/dist/index.es167.js +2 -2
  1039. package/dist/index.es168.js +1 -1
  1040. package/dist/index.es17.js +3 -3
  1041. package/dist/index.es171.js +2 -2
  1042. package/dist/index.es172.js +2 -2
  1043. package/dist/index.es174.js +2 -2
  1044. package/dist/index.es175.js +1 -1
  1045. package/dist/index.es176.js +2 -2
  1046. package/dist/index.es177.js +1 -1
  1047. package/dist/index.es178.js +2 -2
  1048. package/dist/index.es179.js +1 -1
  1049. package/dist/index.es18.js +3 -3
  1050. package/dist/index.es180.js +1 -1
  1051. package/dist/index.es181.js +1 -1
  1052. package/dist/index.es187.js +1 -1
  1053. package/dist/index.es188.js +2 -2
  1054. package/dist/index.es189.js +1 -1
  1055. package/dist/index.es19.js +1 -1
  1056. package/dist/index.es190.js +1 -1
  1057. package/dist/index.es191.js +1 -1
  1058. package/dist/index.es194.js +28 -145
  1059. package/dist/index.es194.js.map +1 -1
  1060. package/dist/index.es195.js +201 -16
  1061. package/dist/index.es195.js.map +1 -1
  1062. package/dist/index.es196.js +8 -6
  1063. package/dist/index.es196.js.map +1 -1
  1064. package/dist/index.es197.js +7 -5
  1065. package/dist/index.es197.js.map +1 -1
  1066. package/dist/index.es198.js +7 -3
  1067. package/dist/index.es198.js.map +1 -1
  1068. package/dist/index.es199.js +2 -2
  1069. package/dist/index.es199.js.map +1 -1
  1070. package/dist/index.es20.js +1 -1
  1071. package/dist/index.es200.js +3 -38
  1072. package/dist/index.es200.js.map +1 -1
  1073. package/dist/index.es201.js +38 -3
  1074. package/dist/index.es201.js.map +1 -1
  1075. package/dist/index.es202.js +3 -25
  1076. package/dist/index.es202.js.map +1 -1
  1077. package/dist/index.es203.js +25 -2
  1078. package/dist/index.es203.js.map +1 -1
  1079. package/dist/index.es204.js +1 -2
  1080. package/dist/index.es204.js.map +1 -1
  1081. package/dist/index.es205.js +2 -1
  1082. package/dist/index.es205.js.map +1 -1
  1083. package/dist/index.es206.js +2 -33
  1084. package/dist/index.es206.js.map +1 -1
  1085. package/dist/index.es207.js +31 -13
  1086. package/dist/index.es207.js.map +1 -1
  1087. package/dist/index.es208.js +11 -12
  1088. package/dist/index.es208.js.map +1 -1
  1089. package/dist/index.es209.js +13 -8
  1090. package/dist/index.es209.js.map +1 -1
  1091. package/dist/index.es21.js +1 -1
  1092. package/dist/index.es210.js +8 -242
  1093. package/dist/index.es210.js.map +1 -1
  1094. package/dist/index.es211.js +60 -41
  1095. package/dist/index.es211.js.map +1 -1
  1096. package/dist/index.es212.js +63 -3
  1097. package/dist/index.es212.js.map +1 -1
  1098. package/dist/index.es213.js +36 -10
  1099. package/dist/index.es213.js.map +1 -1
  1100. package/dist/index.es214.js +476 -10
  1101. package/dist/index.es214.js.map +1 -1
  1102. package/dist/index.es215.js +164 -30
  1103. package/dist/index.es215.js.map +1 -1
  1104. package/dist/index.es216.js +71 -13
  1105. package/dist/index.es216.js.map +1 -1
  1106. package/dist/index.es217.js +49 -4
  1107. package/dist/index.es217.js.map +1 -1
  1108. package/dist/index.es218.js +379 -7
  1109. package/dist/index.es218.js.map +1 -1
  1110. package/dist/index.es219.js +18 -6
  1111. package/dist/index.es219.js.map +1 -1
  1112. package/dist/index.es22.js +1 -1
  1113. package/dist/index.es220.js +124 -4
  1114. package/dist/index.es220.js.map +1 -1
  1115. package/dist/index.es221.js +355 -3
  1116. package/dist/index.es221.js.map +1 -1
  1117. package/dist/index.es222.js +218 -3
  1118. package/dist/index.es222.js.map +1 -1
  1119. package/dist/index.es223.js +23 -9
  1120. package/dist/index.es223.js.map +1 -1
  1121. package/dist/index.es224.js +58 -18
  1122. package/dist/index.es224.js.map +1 -1
  1123. package/dist/index.es225.js +104 -19
  1124. package/dist/index.es225.js.map +1 -1
  1125. package/dist/index.es226.js +29 -13
  1126. package/dist/index.es226.js.map +1 -1
  1127. package/dist/index.es227.js +29 -15
  1128. package/dist/index.es227.js.map +1 -1
  1129. package/dist/index.es228.js +96 -5
  1130. package/dist/index.es228.js.map +1 -1
  1131. package/dist/index.es229.js +35 -8
  1132. package/dist/index.es229.js.map +1 -1
  1133. package/dist/index.es23.js +1 -1
  1134. package/dist/index.es230.js +18 -7
  1135. package/dist/index.es230.js.map +1 -1
  1136. package/dist/index.es231.js +52 -21
  1137. package/dist/index.es231.js.map +1 -1
  1138. package/dist/index.es232.js +7 -10
  1139. package/dist/index.es232.js.map +1 -1
  1140. package/dist/index.es233.js +527 -9
  1141. package/dist/index.es233.js.map +1 -1
  1142. package/dist/index.es234.js +26 -4
  1143. package/dist/index.es234.js.map +1 -1
  1144. package/dist/index.es235.js +7 -10
  1145. package/dist/index.es235.js.map +1 -1
  1146. package/dist/index.es236.js +4 -7
  1147. package/dist/index.es236.js.map +1 -1
  1148. package/dist/index.es237.js +4 -21
  1149. package/dist/index.es237.js.map +1 -1
  1150. package/dist/index.es238.js +3 -11
  1151. package/dist/index.es238.js.map +1 -1
  1152. package/dist/index.es239.js +3 -18
  1153. package/dist/index.es239.js.map +1 -1
  1154. package/dist/index.es24.js +1 -1
  1155. package/dist/index.es240.js +8 -3
  1156. package/dist/index.es240.js.map +1 -1
  1157. package/dist/index.es241.js +17 -16
  1158. package/dist/index.es241.js.map +1 -1
  1159. package/dist/index.es242.js +19 -10
  1160. package/dist/index.es242.js.map +1 -1
  1161. package/dist/index.es243.js +12 -3
  1162. package/dist/index.es243.js.map +1 -1
  1163. package/dist/index.es244.js +14 -4
  1164. package/dist/index.es244.js.map +1 -1
  1165. package/dist/index.es245.js +5 -7506
  1166. package/dist/index.es245.js.map +1 -1
  1167. package/dist/index.es246.js +8 -2
  1168. package/dist/index.es246.js.map +1 -1
  1169. package/dist/index.es247.js +6 -20
  1170. package/dist/index.es247.js.map +1 -1
  1171. package/dist/index.es248.js +21 -22
  1172. package/dist/index.es248.js.map +1 -1
  1173. package/dist/index.es249.js +8 -6
  1174. package/dist/index.es249.js.map +1 -1
  1175. package/dist/index.es25.js +1 -1
  1176. package/dist/index.es250.js +8 -5
  1177. package/dist/index.es250.js.map +1 -1
  1178. package/dist/index.es251.js +4 -3
  1179. package/dist/index.es251.js.map +1 -1
  1180. package/dist/index.es252.js +10 -24
  1181. package/dist/index.es252.js.map +1 -1
  1182. package/dist/index.es253.js +7 -16
  1183. package/dist/index.es253.js.map +1 -1
  1184. package/dist/index.es254.js +20 -30
  1185. package/dist/index.es254.js.map +1 -1
  1186. package/dist/index.es255.js +10 -21
  1187. package/dist/index.es255.js.map +1 -1
  1188. package/dist/index.es256.js +16 -73
  1189. package/dist/index.es256.js.map +1 -1
  1190. package/dist/index.es257.js +4 -21
  1191. package/dist/index.es257.js.map +1 -1
  1192. package/dist/index.es258.js +16 -39
  1193. package/dist/index.es258.js.map +1 -1
  1194. package/dist/index.es259.js +11 -49
  1195. package/dist/index.es259.js.map +1 -1
  1196. package/dist/index.es26.js +2 -2
  1197. package/dist/index.es260.js +3 -7
  1198. package/dist/index.es260.js.map +1 -1
  1199. package/dist/index.es261.js +4 -20
  1200. package/dist/index.es261.js.map +1 -1
  1201. package/dist/index.es262.js +242 -65
  1202. package/dist/index.es262.js.map +1 -1
  1203. package/dist/index.es263.js +40 -40
  1204. package/dist/index.es263.js.map +1 -1
  1205. package/dist/index.es264.js +3 -64
  1206. package/dist/index.es264.js.map +1 -1
  1207. package/dist/index.es265.js +9 -7
  1208. package/dist/index.es265.js.map +1 -1
  1209. package/dist/index.es266.js +10 -3
  1210. package/dist/index.es266.js.map +1 -1
  1211. package/dist/index.es267.js +29 -11
  1212. package/dist/index.es267.js.map +1 -1
  1213. package/dist/index.es268.js +12 -58
  1214. package/dist/index.es268.js.map +1 -1
  1215. package/dist/index.es269.js +4 -49
  1216. package/dist/index.es269.js.map +1 -1
  1217. package/dist/index.es27.js +2 -2
  1218. package/dist/index.es270.js +21 -14
  1219. package/dist/index.es270.js.map +1 -1
  1220. package/dist/index.es271.js +20 -2
  1221. package/dist/index.es271.js.map +1 -1
  1222. package/dist/index.es272.js +7506 -4
  1223. package/dist/index.es272.js.map +1 -1
  1224. package/dist/index.es273.js +2 -70
  1225. package/dist/index.es273.js.map +1 -1
  1226. package/dist/index.es274.js +3 -4
  1227. package/dist/index.es274.js.map +1 -1
  1228. package/dist/index.es275.js +268 -21
  1229. package/dist/index.es275.js.map +1 -1
  1230. package/dist/index.es276.js +11 -0
  1231. package/dist/index.es276.js.map +1 -0
  1232. package/dist/index.es277.js +9 -0
  1233. package/dist/index.es277.js.map +1 -0
  1234. package/dist/index.es278.js +24 -0
  1235. package/dist/index.es278.js.map +1 -0
  1236. package/dist/index.es279.js +26 -0
  1237. package/dist/index.es279.js.map +1 -0
  1238. package/dist/index.es280.js +28 -0
  1239. package/dist/index.es280.js.map +1 -0
  1240. package/dist/index.es281.js +20 -0
  1241. package/dist/index.es281.js.map +1 -0
  1242. package/dist/index.es282.js +34 -0
  1243. package/dist/index.es282.js.map +1 -0
  1244. package/dist/index.es283.js +25 -0
  1245. package/dist/index.es283.js.map +1 -0
  1246. package/dist/index.es284.js +78 -0
  1247. package/dist/index.es284.js.map +1 -0
  1248. package/dist/index.es285.js +24 -0
  1249. package/dist/index.es285.js.map +1 -0
  1250. package/dist/index.es286.js +44 -0
  1251. package/dist/index.es286.js.map +1 -0
  1252. package/dist/index.es287.js +53 -0
  1253. package/dist/index.es287.js.map +1 -0
  1254. package/dist/index.es288.js +11 -0
  1255. package/dist/index.es288.js.map +1 -0
  1256. package/dist/index.es289.js +24 -0
  1257. package/dist/index.es289.js.map +1 -0
  1258. package/dist/index.es290.js +69 -0
  1259. package/dist/index.es290.js.map +1 -0
  1260. package/dist/index.es291.js +46 -0
  1261. package/dist/index.es291.js.map +1 -0
  1262. package/dist/index.es292.js +67 -0
  1263. package/dist/index.es292.js.map +1 -0
  1264. package/dist/index.es293.js +12 -0
  1265. package/dist/index.es293.js.map +1 -0
  1266. package/dist/index.es294.js +7 -0
  1267. package/dist/index.es294.js.map +1 -0
  1268. package/dist/index.es295.js +16 -0
  1269. package/dist/index.es295.js.map +1 -0
  1270. package/dist/index.es296.js +63 -0
  1271. package/dist/index.es296.js.map +1 -0
  1272. package/dist/index.es297.js +53 -0
  1273. package/dist/index.es297.js.map +1 -0
  1274. package/dist/index.es298.js +418 -0
  1275. package/dist/index.es298.js.map +1 -0
  1276. package/dist/index.es299.js +80 -0
  1277. package/dist/index.es299.js.map +1 -0
  1278. package/dist/index.es300.js +246 -0
  1279. package/dist/index.es300.js.map +1 -0
  1280. package/dist/index.es301.js +33 -0
  1281. package/dist/index.es301.js.map +1 -0
  1282. package/dist/index.es302.js +157 -0
  1283. package/dist/index.es302.js.map +1 -0
  1284. package/dist/index.es303.js +21 -0
  1285. package/dist/index.es303.js.map +1 -0
  1286. package/dist/index.es304.js +17 -0
  1287. package/dist/index.es304.js.map +1 -0
  1288. package/dist/index.es305.js +565 -0
  1289. package/dist/index.es305.js.map +1 -0
  1290. package/dist/index.es306.js +354 -0
  1291. package/dist/index.es306.js.map +1 -0
  1292. package/dist/index.es307.js +67 -0
  1293. package/dist/index.es307.js.map +1 -0
  1294. package/dist/index.es308.js +50 -0
  1295. package/dist/index.es308.js.map +1 -0
  1296. package/dist/index.es309.js +215 -0
  1297. package/dist/index.es309.js.map +1 -0
  1298. package/dist/index.es310.js +65 -0
  1299. package/dist/index.es310.js.map +1 -0
  1300. package/dist/index.es311.js +63 -0
  1301. package/dist/index.es311.js.map +1 -0
  1302. package/dist/index.es312.js +49 -0
  1303. package/dist/index.es312.js.map +1 -0
  1304. package/dist/index.es313.js +55 -0
  1305. package/dist/index.es313.js.map +1 -0
  1306. package/dist/index.es314.js +329 -0
  1307. package/dist/index.es314.js.map +1 -0
  1308. package/dist/index.es315.js +314 -0
  1309. package/dist/index.es315.js.map +1 -0
  1310. package/dist/index.es316.js +259 -0
  1311. package/dist/index.es316.js.map +1 -0
  1312. package/dist/index.es317.js +60 -0
  1313. package/dist/index.es317.js.map +1 -0
  1314. package/dist/index.es318.js +218 -0
  1315. package/dist/index.es318.js.map +1 -0
  1316. package/dist/index.es319.js +204 -0
  1317. package/dist/index.es319.js.map +1 -0
  1318. package/dist/index.es320.js +20 -0
  1319. package/dist/index.es320.js.map +1 -0
  1320. package/dist/index.es321.js +30 -0
  1321. package/dist/index.es321.js.map +1 -0
  1322. package/dist/index.es322.js +204 -0
  1323. package/dist/index.es322.js.map +1 -0
  1324. package/dist/index.es323.js +9 -0
  1325. package/dist/index.es323.js.map +1 -0
  1326. package/dist/index.es324.js +89 -0
  1327. package/dist/index.es324.js.map +1 -0
  1328. package/dist/index.es325.js +62 -0
  1329. package/dist/index.es325.js.map +1 -0
  1330. package/dist/index.es326.js +17 -0
  1331. package/dist/index.es326.js.map +1 -0
  1332. package/dist/index.es327.js +107 -0
  1333. package/dist/index.es327.js.map +1 -0
  1334. package/dist/index.es328.js +19 -0
  1335. package/dist/index.es328.js.map +1 -0
  1336. package/dist/index.es329.js +30 -0
  1337. package/dist/index.es329.js.map +1 -0
  1338. package/dist/index.es330.js +132 -0
  1339. package/dist/index.es330.js.map +1 -0
  1340. package/dist/index.es331.js +20 -0
  1341. package/dist/index.es331.js.map +1 -0
  1342. package/dist/index.es332.js +8 -0
  1343. package/dist/index.es332.js.map +1 -0
  1344. package/dist/index.es333.js +69 -0
  1345. package/dist/index.es333.js.map +1 -0
  1346. package/dist/index.es334.js +164 -0
  1347. package/dist/index.es334.js.map +1 -0
  1348. package/dist/index.es335.js +142 -0
  1349. package/dist/index.es335.js.map +1 -0
  1350. package/dist/index.es336.js +31 -0
  1351. package/dist/index.es336.js.map +1 -0
  1352. package/dist/index.es337.js +6 -0
  1353. package/dist/index.es337.js.map +1 -0
  1354. package/dist/index.es338.js +8 -0
  1355. package/dist/index.es338.js.map +1 -0
  1356. package/dist/index.es339.js +73 -0
  1357. package/dist/index.es339.js.map +1 -0
  1358. package/dist/index.es340.js +19 -0
  1359. package/dist/index.es340.js.map +1 -0
  1360. package/dist/index.es341.js +65 -0
  1361. package/dist/index.es341.js.map +1 -0
  1362. package/dist/index.es342.js +47 -0
  1363. package/dist/index.es342.js.map +1 -0
  1364. package/dist/index.es343.js +25 -0
  1365. package/dist/index.es343.js.map +1 -0
  1366. package/dist/index.es344.js +11 -0
  1367. package/dist/index.es344.js.map +1 -0
  1368. package/dist/index.es345.js +40 -0
  1369. package/dist/index.es345.js.map +1 -0
  1370. package/dist/index.es346.js +132 -0
  1371. package/dist/index.es346.js.map +1 -0
  1372. package/dist/index.es347.js +48 -0
  1373. package/dist/index.es347.js.map +1 -0
  1374. package/dist/index.es348.js +223 -0
  1375. package/dist/index.es348.js.map +1 -0
  1376. package/dist/index.es349.js +40 -0
  1377. package/dist/index.es349.js.map +1 -0
  1378. package/dist/index.es350.js +286 -0
  1379. package/dist/index.es350.js.map +1 -0
  1380. package/dist/index.es351.js +63 -0
  1381. package/dist/index.es351.js.map +1 -0
  1382. package/dist/index.es352.js +54 -0
  1383. package/dist/index.es352.js.map +1 -0
  1384. package/dist/index.es353.js +251 -0
  1385. package/dist/index.es353.js.map +1 -0
  1386. package/dist/index.es354.js +30 -0
  1387. package/dist/index.es354.js.map +1 -0
  1388. package/dist/index.es355.js +7 -0
  1389. package/dist/index.es355.js.map +1 -0
  1390. package/dist/index.es356.js +7 -0
  1391. package/dist/index.es356.js.map +1 -0
  1392. package/dist/index.es357.js +28 -0
  1393. package/dist/index.es357.js.map +1 -0
  1394. package/dist/index.es358.js +261 -0
  1395. package/dist/index.es358.js.map +1 -0
  1396. package/dist/index.es359.js +108 -0
  1397. package/dist/index.es359.js.map +1 -0
  1398. package/dist/index.es360.js +206 -0
  1399. package/dist/index.es360.js.map +1 -0
  1400. package/dist/index.es361.js +45 -0
  1401. package/dist/index.es361.js.map +1 -0
  1402. package/dist/index.es362.js +18 -0
  1403. package/dist/index.es362.js.map +1 -0
  1404. package/dist/index.es363.js +11 -0
  1405. package/dist/index.es363.js.map +1 -0
  1406. package/dist/index.es364.js +64 -0
  1407. package/dist/index.es364.js.map +1 -0
  1408. package/dist/index.es365.js +50 -0
  1409. package/dist/index.es365.js.map +1 -0
  1410. package/dist/index.es366.js +45 -0
  1411. package/dist/index.es366.js.map +1 -0
  1412. package/dist/index.es367.js +92 -0
  1413. package/dist/index.es367.js.map +1 -0
  1414. package/dist/index.es368.js +89 -0
  1415. package/dist/index.es368.js.map +1 -0
  1416. package/dist/index.es369.js +57 -0
  1417. package/dist/index.es369.js.map +1 -0
  1418. package/dist/index.es370.js +61 -0
  1419. package/dist/index.es370.js.map +1 -0
  1420. package/dist/index.es371.js +58 -0
  1421. package/dist/index.es371.js.map +1 -0
  1422. package/dist/index.es372.js +147 -0
  1423. package/dist/index.es372.js.map +1 -0
  1424. package/dist/index.es373.js +58 -0
  1425. package/dist/index.es373.js.map +1 -0
  1426. package/dist/index.es374.js +85 -0
  1427. package/dist/index.es374.js.map +1 -0
  1428. package/dist/index.es375.js +9 -0
  1429. package/dist/index.es375.js.map +1 -0
  1430. package/dist/index.es376.js +48 -0
  1431. package/dist/index.es376.js.map +1 -0
  1432. package/dist/index.es377.js +13 -0
  1433. package/dist/index.es377.js.map +1 -0
  1434. package/dist/index.es378.js +35 -0
  1435. package/dist/index.es378.js.map +1 -0
  1436. package/dist/index.es379.js +31 -0
  1437. package/dist/index.es379.js.map +1 -0
  1438. package/dist/index.es38.js +1 -1
  1439. package/dist/index.es380.js +1360 -0
  1440. package/dist/index.es380.js.map +1 -0
  1441. package/dist/index.es381.js +9 -0
  1442. package/dist/index.es381.js.map +1 -0
  1443. package/dist/index.es382.js +12 -0
  1444. package/dist/index.es382.js.map +1 -0
  1445. package/dist/index.es383.js +10 -0
  1446. package/dist/index.es383.js.map +1 -0
  1447. package/dist/index.es384.js +120 -0
  1448. package/dist/index.es384.js.map +1 -0
  1449. package/dist/index.es385.js +105 -0
  1450. package/dist/index.es385.js.map +1 -0
  1451. package/dist/index.es386.js +23 -0
  1452. package/dist/index.es386.js.map +1 -0
  1453. package/dist/index.es387.js +95 -0
  1454. package/dist/index.es387.js.map +1 -0
  1455. package/dist/index.es388.js +68 -0
  1456. package/dist/index.es388.js.map +1 -0
  1457. package/dist/index.es389.js +16 -0
  1458. package/dist/index.es389.js.map +1 -0
  1459. package/dist/index.es39.js +1 -1
  1460. package/dist/index.es390.js +61 -0
  1461. package/dist/index.es390.js.map +1 -0
  1462. package/dist/index.es391.js +55 -0
  1463. package/dist/index.es391.js.map +1 -0
  1464. package/dist/index.es392.js +23 -0
  1465. package/dist/index.es392.js.map +1 -0
  1466. package/dist/index.es393.js +34 -0
  1467. package/dist/index.es393.js.map +1 -0
  1468. package/dist/index.es394.js +47 -0
  1469. package/dist/index.es394.js.map +1 -0
  1470. package/dist/index.es395.js +35 -0
  1471. package/dist/index.es395.js.map +1 -0
  1472. package/dist/index.es396.js +59 -0
  1473. package/dist/index.es396.js.map +1 -0
  1474. package/dist/index.es397.js +62 -0
  1475. package/dist/index.es397.js.map +1 -0
  1476. package/dist/index.es398.js +32 -0
  1477. package/dist/index.es398.js.map +1 -0
  1478. package/dist/index.es399.js +53 -0
  1479. package/dist/index.es399.js.map +1 -0
  1480. package/dist/index.es40.js +2 -2
  1481. package/dist/index.es400.js +128 -0
  1482. package/dist/index.es400.js.map +1 -0
  1483. package/dist/index.es401.js +44 -0
  1484. package/dist/index.es401.js.map +1 -0
  1485. package/dist/index.es402.js +29 -0
  1486. package/dist/index.es402.js.map +1 -0
  1487. package/dist/index.es403.js +37 -0
  1488. package/dist/index.es403.js.map +1 -0
  1489. package/dist/index.es404.js +28 -0
  1490. package/dist/index.es404.js.map +1 -0
  1491. package/dist/index.es405.js +69 -0
  1492. package/dist/index.es405.js.map +1 -0
  1493. package/dist/index.es406.js +49 -0
  1494. package/dist/index.es406.js.map +1 -0
  1495. package/dist/index.es407.js +27 -0
  1496. package/dist/index.es407.js.map +1 -0
  1497. package/dist/index.es408.js +48 -0
  1498. package/dist/index.es408.js.map +1 -0
  1499. package/dist/index.es409.js +19 -0
  1500. package/dist/index.es409.js.map +1 -0
  1501. package/dist/index.es410.js +38 -0
  1502. package/dist/index.es410.js.map +1 -0
  1503. package/dist/index.es411.js +49 -0
  1504. package/dist/index.es411.js.map +1 -0
  1505. package/dist/index.es412.js +35 -0
  1506. package/dist/index.es412.js.map +1 -0
  1507. package/dist/index.es413.js +37 -0
  1508. package/dist/index.es413.js.map +1 -0
  1509. package/dist/index.es414.js +29 -0
  1510. package/dist/index.es414.js.map +1 -0
  1511. package/dist/index.es415.js +68 -0
  1512. package/dist/index.es415.js.map +1 -0
  1513. package/dist/index.es416.js +105 -0
  1514. package/dist/index.es416.js.map +1 -0
  1515. package/dist/index.es417.js +27 -0
  1516. package/dist/index.es417.js.map +1 -0
  1517. package/dist/index.es418.js +111 -0
  1518. package/dist/index.es418.js.map +1 -0
  1519. package/dist/index.es419.js +50 -0
  1520. package/dist/index.es419.js.map +1 -0
  1521. package/dist/index.es42.js +2 -2
  1522. package/dist/index.es420.js +36 -0
  1523. package/dist/index.es420.js.map +1 -0
  1524. package/dist/index.es421.js +56 -0
  1525. package/dist/index.es421.js.map +1 -0
  1526. package/dist/index.es422.js +174 -0
  1527. package/dist/index.es422.js.map +1 -0
  1528. package/dist/index.es423.js +61 -0
  1529. package/dist/index.es423.js.map +1 -0
  1530. package/dist/index.es424.js +62 -0
  1531. package/dist/index.es424.js.map +1 -0
  1532. package/dist/index.es425.js +87 -0
  1533. package/dist/index.es425.js.map +1 -0
  1534. package/dist/index.es426.js +26 -0
  1535. package/dist/index.es426.js.map +1 -0
  1536. package/dist/index.es427.js +56 -0
  1537. package/dist/index.es427.js.map +1 -0
  1538. package/dist/index.es428.js +55 -0
  1539. package/dist/index.es428.js.map +1 -0
  1540. package/dist/index.es429.js +8 -0
  1541. package/dist/index.es429.js.map +1 -0
  1542. package/dist/index.es43.js +2 -2
  1543. package/dist/index.es430.js +8 -0
  1544. package/dist/index.es430.js.map +1 -0
  1545. package/dist/index.es431.js +23 -0
  1546. package/dist/index.es431.js.map +1 -0
  1547. package/dist/index.es432.js +7 -0
  1548. package/dist/index.es432.js.map +1 -0
  1549. package/dist/index.es433.js +11 -0
  1550. package/dist/index.es433.js.map +1 -0
  1551. package/dist/index.es434.js +10 -0
  1552. package/dist/index.es434.js.map +1 -0
  1553. package/dist/index.es435.js +7 -0
  1554. package/dist/index.es435.js.map +1 -0
  1555. package/dist/index.es436.js +5 -0
  1556. package/dist/index.es436.js.map +1 -0
  1557. package/dist/index.es437.js +9 -0
  1558. package/dist/index.es437.js.map +1 -0
  1559. package/dist/index.es438.js +13 -0
  1560. package/dist/index.es438.js.map +1 -0
  1561. package/dist/index.es439.js +8 -0
  1562. package/dist/index.es439.js.map +1 -0
  1563. package/dist/index.es44.js +2 -2
  1564. package/dist/index.es440.js +7 -0
  1565. package/dist/index.es440.js.map +1 -0
  1566. package/dist/index.es441.js +6 -0
  1567. package/dist/index.es441.js.map +1 -0
  1568. package/dist/index.es442.js +7 -0
  1569. package/dist/index.es442.js.map +1 -0
  1570. package/dist/index.es443.js +9 -0
  1571. package/dist/index.es443.js.map +1 -0
  1572. package/dist/index.es444.js +11 -0
  1573. package/dist/index.es444.js.map +1 -0
  1574. package/dist/index.es445.js +8 -0
  1575. package/dist/index.es445.js.map +1 -0
  1576. package/dist/index.es446.js +10 -0
  1577. package/dist/index.es446.js.map +1 -0
  1578. package/dist/index.es447.js +9 -0
  1579. package/dist/index.es447.js.map +1 -0
  1580. package/dist/index.es448.js +12 -0
  1581. package/dist/index.es448.js.map +1 -0
  1582. package/dist/index.es449.js +8 -0
  1583. package/dist/index.es449.js.map +1 -0
  1584. package/dist/index.es450.js +10 -0
  1585. package/dist/index.es450.js.map +1 -0
  1586. package/dist/index.es451.js +10 -0
  1587. package/dist/index.es451.js.map +1 -0
  1588. package/dist/index.es452.js +8 -0
  1589. package/dist/index.es452.js.map +1 -0
  1590. package/dist/index.es453.js +13 -0
  1591. package/dist/index.es453.js.map +1 -0
  1592. package/dist/index.es454.js +10 -0
  1593. package/dist/index.es454.js.map +1 -0
  1594. package/dist/index.es455.js +21 -0
  1595. package/dist/index.es455.js.map +1 -0
  1596. package/dist/index.es456.js +15 -0
  1597. package/dist/index.es456.js.map +1 -0
  1598. package/dist/index.es457.js +7 -0
  1599. package/dist/index.es457.js.map +1 -0
  1600. package/dist/index.es458.js +9 -0
  1601. package/dist/index.es458.js.map +1 -0
  1602. package/dist/index.es459.js +19 -0
  1603. package/dist/index.es459.js.map +1 -0
  1604. package/dist/index.es46.js +1 -1
  1605. package/dist/index.es460.js +11 -0
  1606. package/dist/index.es460.js.map +1 -0
  1607. package/dist/index.es461.js +44 -0
  1608. package/dist/index.es461.js.map +1 -0
  1609. package/dist/index.es462.js +80 -0
  1610. package/dist/index.es462.js.map +1 -0
  1611. package/dist/index.es463.js +108 -0
  1612. package/dist/index.es463.js.map +1 -0
  1613. package/dist/index.es464.js +34 -0
  1614. package/dist/index.es464.js.map +1 -0
  1615. package/dist/index.es465.js +25 -0
  1616. package/dist/index.es465.js.map +1 -0
  1617. package/dist/index.es466.js +14 -0
  1618. package/dist/index.es466.js.map +1 -0
  1619. package/dist/index.es467.js +721 -0
  1620. package/dist/index.es467.js.map +1 -0
  1621. package/dist/index.es468.js +26 -0
  1622. package/dist/index.es468.js.map +1 -0
  1623. package/dist/index.es469.js +24 -0
  1624. package/dist/index.es469.js.map +1 -0
  1625. package/dist/index.es47.js +2 -2
  1626. package/dist/index.es470.js +178 -0
  1627. package/dist/index.es470.js.map +1 -0
  1628. package/dist/index.es471.js +24 -0
  1629. package/dist/index.es471.js.map +1 -0
  1630. package/dist/index.es472.js +241 -0
  1631. package/dist/index.es472.js.map +1 -0
  1632. package/dist/index.es473.js +11 -0
  1633. package/dist/index.es473.js.map +1 -0
  1634. package/dist/index.es474.js +13 -0
  1635. package/dist/index.es474.js.map +1 -0
  1636. package/dist/index.es475.js +9 -0
  1637. package/dist/index.es475.js.map +1 -0
  1638. package/dist/index.es476.js +18 -0
  1639. package/dist/index.es476.js.map +1 -0
  1640. package/dist/index.es477.js +26 -0
  1641. package/dist/index.es477.js.map +1 -0
  1642. package/dist/index.es478.js +12 -0
  1643. package/dist/index.es478.js.map +1 -0
  1644. package/dist/index.es479.js +8 -0
  1645. package/dist/index.es479.js.map +1 -0
  1646. package/dist/index.es48.js +2 -2
  1647. package/dist/index.es480.js +118 -0
  1648. package/dist/index.es480.js.map +1 -0
  1649. package/dist/index.es481.js +90 -0
  1650. package/dist/index.es481.js.map +1 -0
  1651. package/dist/index.es482.js +78 -0
  1652. package/dist/index.es482.js.map +1 -0
  1653. package/dist/index.es483.js +13 -0
  1654. package/dist/index.es483.js.map +1 -0
  1655. package/dist/index.es484.js +158 -0
  1656. package/dist/index.es484.js.map +1 -0
  1657. package/dist/index.es485.js +160 -0
  1658. package/dist/index.es485.js.map +1 -0
  1659. package/dist/index.es486.js +18 -0
  1660. package/dist/index.es486.js.map +1 -0
  1661. package/dist/index.es487.js +19 -0
  1662. package/dist/index.es487.js.map +1 -0
  1663. package/dist/index.es488.js +9 -0
  1664. package/dist/index.es488.js.map +1 -0
  1665. package/dist/index.es489.js +10 -0
  1666. package/dist/index.es489.js.map +1 -0
  1667. package/dist/index.es490.js +10 -0
  1668. package/dist/index.es490.js.map +1 -0
  1669. package/dist/index.es491.js +29 -0
  1670. package/dist/index.es491.js.map +1 -0
  1671. package/dist/index.es492.js +9 -0
  1672. package/dist/index.es492.js.map +1 -0
  1673. package/dist/index.es493.js +43 -0
  1674. package/dist/index.es493.js.map +1 -0
  1675. package/dist/index.es494.js +10 -0
  1676. package/dist/index.es494.js.map +1 -0
  1677. package/dist/index.es495.js +11 -0
  1678. package/dist/index.es495.js.map +1 -0
  1679. package/dist/index.es496.js +9 -0
  1680. package/dist/index.es496.js.map +1 -0
  1681. package/dist/index.es497.js +9 -0
  1682. package/dist/index.es497.js.map +1 -0
  1683. package/dist/index.es498.js +6 -0
  1684. package/dist/index.es498.js.map +1 -0
  1685. package/dist/index.es499.js +42 -0
  1686. package/dist/index.es499.js.map +1 -0
  1687. package/dist/index.es50.js +1 -1
  1688. package/dist/index.es500.js +6 -0
  1689. package/dist/index.es500.js.map +1 -0
  1690. package/dist/index.es501.js +16 -0
  1691. package/dist/index.es501.js.map +1 -0
  1692. package/dist/index.es502.js +8 -0
  1693. package/dist/index.es502.js.map +1 -0
  1694. package/dist/index.es503.js +12 -0
  1695. package/dist/index.es503.js.map +1 -0
  1696. package/dist/index.es504.js +5 -0
  1697. package/dist/index.es504.js.map +1 -0
  1698. package/dist/index.es505.js +33 -0
  1699. package/dist/index.es505.js.map +1 -0
  1700. package/dist/index.es506.js +19 -0
  1701. package/dist/index.es506.js.map +1 -0
  1702. package/dist/index.es507.js +8 -0
  1703. package/dist/index.es507.js.map +1 -0
  1704. package/dist/index.es508.js +6 -0
  1705. package/dist/index.es508.js.map +1 -0
  1706. package/dist/index.es509.js +9 -0
  1707. package/dist/index.es509.js.map +1 -0
  1708. package/dist/index.es51.js +1 -1
  1709. package/dist/index.es510.js +9 -0
  1710. package/dist/index.es510.js.map +1 -0
  1711. package/dist/index.es511.js +9 -0
  1712. package/dist/index.es511.js.map +1 -0
  1713. package/dist/index.es512.js +7 -0
  1714. package/dist/index.es512.js.map +1 -0
  1715. package/dist/index.es513.js +7 -0
  1716. package/dist/index.es513.js.map +1 -0
  1717. package/dist/index.es514.js +7 -0
  1718. package/dist/index.es514.js.map +1 -0
  1719. package/dist/index.es515.js +7 -0
  1720. package/dist/index.es515.js.map +1 -0
  1721. package/dist/index.es516.js +7 -0
  1722. package/dist/index.es516.js.map +1 -0
  1723. package/dist/index.es517.js +18 -0
  1724. package/dist/index.es517.js.map +1 -0
  1725. package/dist/index.es518.js +11 -0
  1726. package/dist/index.es518.js.map +1 -0
  1727. package/dist/index.es519.js +7 -0
  1728. package/dist/index.es519.js.map +1 -0
  1729. package/dist/index.es52.js +1 -1
  1730. package/dist/index.es520.js +15 -0
  1731. package/dist/index.es520.js.map +1 -0
  1732. package/dist/index.es521.js +9 -0
  1733. package/dist/index.es521.js.map +1 -0
  1734. package/dist/index.es522.js +7 -0
  1735. package/dist/index.es522.js.map +1 -0
  1736. package/dist/index.es523.js +8 -0
  1737. package/dist/index.es523.js.map +1 -0
  1738. package/dist/index.es524.js +9 -0
  1739. package/dist/index.es524.js.map +1 -0
  1740. package/dist/index.es525.js +10 -0
  1741. package/dist/index.es525.js.map +1 -0
  1742. package/dist/index.es526.js +9 -0
  1743. package/dist/index.es526.js.map +1 -0
  1744. package/dist/index.es527.js +9 -0
  1745. package/dist/index.es527.js.map +1 -0
  1746. package/dist/index.es528.js +11 -0
  1747. package/dist/index.es528.js.map +1 -0
  1748. package/dist/index.es529.js +14 -0
  1749. package/dist/index.es529.js.map +1 -0
  1750. package/dist/index.es530.js +28 -0
  1751. package/dist/index.es530.js.map +1 -0
  1752. package/dist/index.es531.js +8 -0
  1753. package/dist/index.es531.js.map +1 -0
  1754. package/dist/index.es532.js +9 -0
  1755. package/dist/index.es532.js.map +1 -0
  1756. package/dist/index.es533.js +11 -0
  1757. package/dist/index.es533.js.map +1 -0
  1758. package/dist/index.es534.js +7 -0
  1759. package/dist/index.es534.js.map +1 -0
  1760. package/dist/index.es535.js +7 -0
  1761. package/dist/index.es535.js.map +1 -0
  1762. package/dist/index.es536.js +7 -0
  1763. package/dist/index.es536.js.map +1 -0
  1764. package/dist/index.es537.js +7 -0
  1765. package/dist/index.es537.js.map +1 -0
  1766. package/dist/index.es538.js +7 -0
  1767. package/dist/index.es538.js.map +1 -0
  1768. package/dist/index.es539.js +8 -0
  1769. package/dist/index.es539.js.map +1 -0
  1770. package/dist/index.es540.js +9 -0
  1771. package/dist/index.es540.js.map +1 -0
  1772. package/dist/index.es541.js +12 -0
  1773. package/dist/index.es541.js.map +1 -0
  1774. package/dist/index.es542.js +8 -0
  1775. package/dist/index.es542.js.map +1 -0
  1776. package/dist/index.es543.js +9 -0
  1777. package/dist/index.es543.js.map +1 -0
  1778. package/dist/index.es544.js +8 -0
  1779. package/dist/index.es544.js.map +1 -0
  1780. package/dist/index.es545.js +7 -0
  1781. package/dist/index.es545.js.map +1 -0
  1782. package/dist/index.es546.js +14 -0
  1783. package/dist/index.es546.js.map +1 -0
  1784. package/dist/index.es547.js +34 -0
  1785. package/dist/index.es547.js.map +1 -0
  1786. package/dist/index.es548.js +83 -0
  1787. package/dist/index.es548.js.map +1 -0
  1788. package/dist/index.es549.js +20 -0
  1789. package/dist/index.es549.js.map +1 -0
  1790. package/dist/index.es550.js +50 -0
  1791. package/dist/index.es550.js.map +1 -0
  1792. package/dist/index.es551.js +227 -0
  1793. package/dist/index.es551.js.map +1 -0
  1794. package/dist/index.es552.js +21 -0
  1795. package/dist/index.es552.js.map +1 -0
  1796. package/dist/index.es553.js +14 -0
  1797. package/dist/index.es553.js.map +1 -0
  1798. package/dist/index.es554.js +9 -0
  1799. package/dist/index.es554.js.map +1 -0
  1800. package/dist/index.es555.js +8 -0
  1801. package/dist/index.es555.js.map +1 -0
  1802. package/dist/index.es556.js +8 -0
  1803. package/dist/index.es556.js.map +1 -0
  1804. package/dist/index.es557.js +9 -0
  1805. package/dist/index.es557.js.map +1 -0
  1806. package/dist/index.es558.js +10 -0
  1807. package/dist/index.es558.js.map +1 -0
  1808. package/dist/index.es559.js +10 -0
  1809. package/dist/index.es559.js.map +1 -0
  1810. package/dist/index.es56.js +2 -2
  1811. package/dist/index.es560.js +10 -0
  1812. package/dist/index.es560.js.map +1 -0
  1813. package/dist/index.es561.js +10 -0
  1814. package/dist/index.es561.js.map +1 -0
  1815. package/dist/index.es562.js +17 -0
  1816. package/dist/index.es562.js.map +1 -0
  1817. package/dist/index.es563.js +12 -0
  1818. package/dist/index.es563.js.map +1 -0
  1819. package/dist/index.es564.js +3029 -0
  1820. package/dist/index.es564.js.map +1 -0
  1821. package/dist/index.es565.js +5 -0
  1822. package/dist/index.es565.js.map +1 -0
  1823. package/dist/index.es566.js +11 -0
  1824. package/dist/index.es566.js.map +1 -0
  1825. package/dist/index.es567.js +10 -0
  1826. package/dist/index.es567.js.map +1 -0
  1827. package/dist/index.es568.js +21 -0
  1828. package/dist/index.es568.js.map +1 -0
  1829. package/dist/index.es569.js +14 -0
  1830. package/dist/index.es569.js.map +1 -0
  1831. package/dist/index.es57.js +3 -3
  1832. package/dist/index.es570.js +8 -0
  1833. package/dist/index.es570.js.map +1 -0
  1834. package/dist/index.es571.js +7 -0
  1835. package/dist/index.es571.js.map +1 -0
  1836. package/dist/index.es572.js +7 -0
  1837. package/dist/index.es572.js.map +1 -0
  1838. package/dist/index.es573.js +21 -0
  1839. package/dist/index.es573.js.map +1 -0
  1840. package/dist/index.es574.js +8 -0
  1841. package/dist/index.es574.js.map +1 -0
  1842. package/dist/index.es575.js +8 -0
  1843. package/dist/index.es575.js.map +1 -0
  1844. package/dist/index.es576.js +7 -0
  1845. package/dist/index.es576.js.map +1 -0
  1846. package/dist/index.es577.js +7 -0
  1847. package/dist/index.es577.js.map +1 -0
  1848. package/dist/index.es578.js +18 -0
  1849. package/dist/index.es578.js.map +1 -0
  1850. package/dist/index.es579.js +10 -0
  1851. package/dist/index.es579.js.map +1 -0
  1852. package/dist/index.es58.js +1 -1
  1853. package/dist/index.es580.js +11 -0
  1854. package/dist/index.es580.js.map +1 -0
  1855. package/dist/index.es581.js +9 -0
  1856. package/dist/index.es581.js.map +1 -0
  1857. package/dist/index.es582.js +9 -0
  1858. package/dist/index.es582.js.map +1 -0
  1859. package/dist/index.es583.js +9 -0
  1860. package/dist/index.es583.js.map +1 -0
  1861. package/dist/index.es584.js +9 -0
  1862. package/dist/index.es584.js.map +1 -0
  1863. package/dist/index.es585.js +9 -0
  1864. package/dist/index.es585.js.map +1 -0
  1865. package/dist/index.es586.js +9 -0
  1866. package/dist/index.es586.js.map +1 -0
  1867. package/dist/index.es587.js +10 -0
  1868. package/dist/index.es587.js.map +1 -0
  1869. package/dist/index.es588.js +41 -0
  1870. package/dist/index.es588.js.map +1 -0
  1871. package/dist/index.es589.js +46 -0
  1872. package/dist/index.es589.js.map +1 -0
  1873. package/dist/index.es590.js +37 -0
  1874. package/dist/index.es590.js.map +1 -0
  1875. package/dist/index.es591.js +8 -0
  1876. package/dist/index.es591.js.map +1 -0
  1877. package/dist/index.es592.js +8 -0
  1878. package/dist/index.es592.js.map +1 -0
  1879. package/dist/index.es593.js +7 -0
  1880. package/dist/index.es593.js.map +1 -0
  1881. package/dist/index.es594.js +21 -0
  1882. package/dist/index.es594.js.map +1 -0
  1883. package/dist/index.es595.js +9 -0
  1884. package/dist/index.es595.js.map +1 -0
  1885. package/dist/index.es596.js +47 -0
  1886. package/dist/index.es596.js.map +1 -0
  1887. package/dist/index.es597.js +6 -0
  1888. package/dist/index.es597.js.map +1 -0
  1889. package/dist/index.es598.js +25 -0
  1890. package/dist/index.es598.js.map +1 -0
  1891. package/dist/index.es599.js +37 -0
  1892. package/dist/index.es599.js.map +1 -0
  1893. package/dist/index.es60.js +1 -1
  1894. package/dist/index.es600.js +174 -0
  1895. package/dist/index.es600.js.map +1 -0
  1896. package/dist/index.es601.js +31 -0
  1897. package/dist/index.es601.js.map +1 -0
  1898. package/dist/index.es602.js +7 -0
  1899. package/dist/index.es602.js.map +1 -0
  1900. package/dist/index.es603.js +13 -0
  1901. package/dist/index.es603.js.map +1 -0
  1902. package/dist/index.es604.js +9 -0
  1903. package/dist/index.es604.js.map +1 -0
  1904. package/dist/index.es605.js +8 -0
  1905. package/dist/index.es605.js.map +1 -0
  1906. package/dist/index.es606.js +9 -0
  1907. package/dist/index.es606.js.map +1 -0
  1908. package/dist/index.es607.js +6 -0
  1909. package/dist/index.es607.js.map +1 -0
  1910. package/dist/index.es608.js +7 -0
  1911. package/dist/index.es608.js.map +1 -0
  1912. package/dist/index.es609.js +8 -0
  1913. package/dist/index.es609.js.map +1 -0
  1914. package/dist/index.es61.js +1 -1
  1915. package/dist/index.es610.js +8 -0
  1916. package/dist/index.es610.js.map +1 -0
  1917. package/dist/index.es611.js +14 -0
  1918. package/dist/index.es611.js.map +1 -0
  1919. package/dist/index.es612.js +10 -0
  1920. package/dist/index.es612.js.map +1 -0
  1921. package/dist/index.es613.js +10 -0
  1922. package/dist/index.es613.js.map +1 -0
  1923. package/dist/index.es614.js +8 -0
  1924. package/dist/index.es614.js.map +1 -0
  1925. package/dist/index.es615.js +215 -0
  1926. package/dist/index.es615.js.map +1 -0
  1927. package/dist/index.es616.js +246 -0
  1928. package/dist/index.es616.js.map +1 -0
  1929. package/dist/index.es617.js +39 -0
  1930. package/dist/index.es617.js.map +1 -0
  1931. package/dist/index.es618.js +18 -0
  1932. package/dist/index.es618.js.map +1 -0
  1933. package/dist/index.es619.js +567 -0
  1934. package/dist/index.es619.js.map +1 -0
  1935. package/dist/index.es620.js +59 -0
  1936. package/dist/index.es620.js.map +1 -0
  1937. package/dist/index.es621.js +338 -0
  1938. package/dist/index.es621.js.map +1 -0
  1939. package/dist/index.es622.js +1103 -0
  1940. package/dist/index.es622.js.map +1 -0
  1941. package/dist/index.es623.js +41 -0
  1942. package/dist/index.es623.js.map +1 -0
  1943. package/dist/index.es624.js +39 -0
  1944. package/dist/index.es624.js.map +1 -0
  1945. package/dist/index.es625.js +51 -0
  1946. package/dist/index.es625.js.map +1 -0
  1947. package/dist/index.es626.js +65 -0
  1948. package/dist/index.es626.js.map +1 -0
  1949. package/dist/index.es627.js +11 -0
  1950. package/dist/index.es627.js.map +1 -0
  1951. package/dist/index.es628.js +6 -0
  1952. package/dist/index.es628.js.map +1 -0
  1953. package/dist/index.es629.js +298 -0
  1954. package/dist/index.es629.js.map +1 -0
  1955. package/dist/index.es63.js +1 -1
  1956. package/dist/index.es630.js +27 -0
  1957. package/dist/index.es630.js.map +1 -0
  1958. package/dist/index.es631.js +53 -0
  1959. package/dist/index.es631.js.map +1 -0
  1960. package/dist/index.es632.js +9 -0
  1961. package/dist/index.es632.js.map +1 -0
  1962. package/dist/index.es67.js +10 -6
  1963. package/dist/index.es67.js.map +1 -1
  1964. package/dist/index.es68.js +163 -13731
  1965. package/dist/index.es68.js.map +1 -1
  1966. package/dist/index.es69.js +1 -1
  1967. package/dist/index.es69.js.map +1 -1
  1968. package/dist/index.es70.js.map +1 -1
  1969. package/dist/index.es71.js +1 -1
  1970. package/dist/index.es71.js.map +1 -1
  1971. package/dist/index.es72.js +1 -1
  1972. package/dist/index.es72.js.map +1 -1
  1973. package/dist/index.es73.js +6 -6
  1974. package/dist/index.es73.js.map +1 -1
  1975. package/dist/index.es74.js +1 -1
  1976. package/dist/index.es74.js.map +1 -1
  1977. package/dist/index.es75.js +4 -4
  1978. package/dist/index.es75.js.map +1 -1
  1979. package/dist/index.es76.js +10 -10
  1980. package/dist/index.es76.js.map +1 -1
  1981. package/dist/index.es77.js +1 -1
  1982. package/dist/index.es77.js.map +1 -1
  1983. package/dist/index.es78.js.map +1 -1
  1984. package/dist/index.es93.js +1 -1
  1985. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs37.js");function s(r,t){return r!=null&&e.hasOwnProperty.call(r,t)}module.exports=s;
1
+ "use strict";const e=require("./index.cjs220.js");function s(a,d){return d.reduce((r,n,u)=>{const h=(u+1)*100,l=`${a}-${h}`;return r[l]=n,r},{})}({...s("blue",e.shades.blue),...s("darkblue",e.shades.darkblue),...s("purple",e.shades.purple),...s("pink",e.shades.pink),...s("orange",e.shades.orange),...s("red",e.shades.red),...s("green",e.shades.green),...s("yellow",e.shades.yellow),...s("gray",e.shades.gray)});
2
2
  //# sourceMappingURL=index.cjs219.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs219.js","sources":["../node_modules/underscore/modules/_has.js"],"sourcesContent":["import { hasOwnProperty } from './_setup.js';\n\n// Internal function to check whether `key` is an own property name of `obj`.\nexport default function has(obj, key) {\n return obj != null && hasOwnProperty.call(obj, key);\n}\n"],"names":["has","obj","key","hasOwnProperty"],"mappings":"iDAGA,SAAwBA,EAAIC,EAAKC,EAAK,CACpC,OAAOD,GAAO,MAAQE,EAAAA,eAAe,KAAKF,EAAKC,CAAG,CACpD","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs219.js","sources":["../../../node_modules/@allmaps/tailwind/dist/theme-colors.js"],"sourcesContent":["import { blue, darkblue, purple, pink, orange, red, green, yellow, gray, black, white, inherit, current, transparent, shades } from './colors.js';\nfunction flattenShades(color, shades) {\n return shades.reduce((flattened, hex, index) => {\n const shade = (index + 1) * 100;\n const key = `${color}-${shade}`;\n flattened[key] = hex;\n return flattened;\n }, {});\n}\nexport const themeColors = {\n blue,\n darkblue,\n purple,\n pink,\n orange,\n red,\n green,\n yellow,\n gray,\n black,\n white,\n inherit,\n current,\n transparent,\n // Add shades\n ...flattenShades('blue', shades.blue),\n ...flattenShades('darkblue', shades.darkblue),\n ...flattenShades('purple', shades.purple),\n ...flattenShades('pink', shades.pink),\n ...flattenShades('orange', shades.orange),\n ...flattenShades('red', shades.red),\n ...flattenShades('green', shades.green),\n ...flattenShades('yellow', shades.yellow),\n ...flattenShades('gray', shades.gray)\n};\n"],"names":["flattenShades","color","shades","flattened","hex","index","shade","key"],"mappings":"kDACA,SAASA,EAAcC,EAAOC,EAAQ,CAClC,OAAOA,EAAO,OAAO,CAACC,EAAWC,EAAKC,IAAU,CAC5C,MAAMC,GAASD,EAAQ,GAAK,IACtBE,EAAM,GAAGN,CAAK,IAAIK,CAAK,GAC7B,OAAAH,EAAUI,CAAG,EAAIH,EACVD,CACX,EAAG,CAAA,CAAE,CACT,EAC2B,CAgBvB,GAAGH,EAAc,OAAQE,EAAAA,OAAO,IAAI,EACpC,GAAGF,EAAc,WAAYE,EAAAA,OAAO,QAAQ,EAC5C,GAAGF,EAAc,SAAUE,EAAAA,OAAO,MAAM,EACxC,GAAGF,EAAc,OAAQE,EAAAA,OAAO,IAAI,EACpC,GAAGF,EAAc,SAAUE,EAAAA,OAAO,MAAM,EACxC,GAAGF,EAAc,MAAOE,EAAAA,OAAO,GAAG,EAClC,GAAGF,EAAc,QAASE,EAAAA,OAAO,KAAK,EACtC,GAAGF,EAAc,SAAUE,EAAAA,OAAO,MAAM,EACxC,GAAGF,EAAc,OAAQE,EAAAA,OAAO,IAAI,CACxC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),i=require("./index.cjs214.js"),l=require("./index.cjs30.js");function r(t){const e=l.useControl(({mapLib:n})=>new n.NavigationControl(t),{position:t.position});return o.useEffect(()=>{i.applyReactStyle(e._container,t.style)},[t.style]),null}const a=o.memo(r);exports.NavigationControl=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),i=require("./index.cjs266.js"),l=require("./index.cjs30.js");function r(t){const e=l.useControl(({mapLib:n})=>new n.NavigationControl(t),{position:t.position});return o.useEffect(()=>{i.applyReactStyle(e._container,t.style)},[t.style]),null}const a=o.memo(r);exports.NavigationControl=a;
2
2
  //# sourceMappingURL=index.cjs22.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs249.js"),t=require("./index.cjs222.js"),r=e(t);module.exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t="#222222",r="#ffffff",e=4,f=["#dff7fa","#c0eff5","#a1e7f0","#82dfeb","#63d8e6","#4facb8","#3b818a","#27565c","#132b2d"],d=["#d7d9ee","#b0b4de","#898ecd","#6269bd","#3b44ad","#2f368a","#232867","#171b45","#0b0d22"],c=["#f3dcf0","#e7b9e1","#dc97d2","#d074c3","#c552b5","#9d4190","#76316c","#4e2048","#271024"],a=["#ffddf1","#ffbbe3","#ff99d5","#ff77c7","#ff56ba","#cc4494","#99336f","#66224a","#321125"],b=["#ffe3d0","#ffc7a1","#ffab72","#ff8f43","#ff7415","#cc5c10","#99450c","#662e08","#321704"],n=["#fededf","#febebf","#fe9e9f","#fe7e7f","#fe5e60","#cb4b4c","#983839","#652526","#321213"],o=["#e0f2e8","#c1e6d2","#a2d9bb","#83cda5","#64c18f","#509a72","#3c7355","#284d39","#13261c"],s=["#fff3d9","#ffe8b3","#ffdd8d","#ffd267","#ffc742","#cc9f34","#997727","#664f1a","#32270d"],l=["#efefef","#e0e0e0","#d0d0d0","#c1c1c1","#b2b2b2","#8e8e8e","#6a6a6a","#474747","#232323"],h={blue:f,darkblue:d,purple:c,pink:a,orange:b,red:n,green:o,yellow:s,gray:l},i=f[e],u=d[e];c[e];const g=a[e];b[e];const S=n[e],k=o[e],p=s[e];l[e];exports.black=t;exports.blue=i;exports.darkblue=u;exports.green=k;exports.originalColorIndex=e;exports.pink=g;exports.red=S;exports.shades=h;exports.white=r;exports.yellow=p;
2
2
  //# sourceMappingURL=index.cjs220.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs220.js","sources":["../node_modules/underscore/modules/_isBufferLike.js"],"sourcesContent":["import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getByteLength from './_getByteLength.js';\n\n// Internal helper to determine whether we should spend extensive checks against\n// `ArrayBuffer` et al.\nexport default createSizePropertyCheck(getByteLength);\n"],"names":["isBufferLike","createSizePropertyCheck","getByteLength"],"mappings":"iFAKAA,EAAeC,EAAwBC,CAAa","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs220.js","sources":["../../../node_modules/@allmaps/tailwind/dist/colors.js"],"sourcesContent":["// Generated from Luuks color scheme with\n// https://www.colors.tools/tints-and-shades/\nconst black = '#222222';\nconst white = '#ffffff';\nconst inherit = 'inherit';\nconst current = 'currentColor';\nconst transparent = 'transparent';\n// Original color from Luuk's design\nexport const originalColorIndex = 4;\nconst blueShades = [\n '#dff7fa',\n '#c0eff5',\n '#a1e7f0',\n '#82dfeb',\n '#63d8e6', // Original color\n '#4facb8',\n '#3b818a',\n '#27565c',\n '#132b2d'\n];\nconst darkblueShades = [\n '#d7d9ee',\n '#b0b4de',\n '#898ecd',\n '#6269bd',\n '#3b44ad', // Original color\n '#2f368a',\n '#232867',\n '#171b45',\n '#0b0d22'\n];\n// TODO: add dark blue background color\n// '#101655'\nconst purpleShades = [\n '#f3dcf0',\n '#e7b9e1',\n '#dc97d2',\n '#d074c3',\n '#c552b5', // Original color\n '#9d4190',\n '#76316c',\n '#4e2048',\n '#271024'\n];\nconst pinkShades = [\n '#ffddf1',\n '#ffbbe3',\n '#ff99d5',\n '#ff77c7',\n '#ff56ba', // Original color\n '#cc4494',\n '#99336f',\n '#66224a',\n '#321125'\n];\nconst orangeShades = [\n '#ffe3d0',\n '#ffc7a1',\n '#ffab72',\n '#ff8f43',\n '#ff7415', // Original color\n '#cc5c10',\n '#99450c',\n '#662e08',\n '#321704'\n];\nconst redShades = [\n '#fededf',\n '#febebf',\n '#fe9e9f',\n '#fe7e7f',\n '#fe5e60', // Original color\n '#cb4b4c',\n '#983839',\n '#652526',\n '#321213'\n];\nconst greenShades = [\n '#e0f2e8',\n '#c1e6d2',\n '#a2d9bb',\n '#83cda5',\n '#64c18f', // Original color\n '#509a72',\n '#3c7355',\n '#284d39',\n '#13261c'\n];\nconst yellowShades = [\n '#fff3d9',\n '#ffe8b3',\n '#ffdd8d',\n '#ffd267',\n '#ffc742', // Original color\n '#cc9f34',\n '#997727',\n '#664f1a',\n '#32270d'\n];\nconst grayShades = [\n '#efefef',\n '#e0e0e0',\n '#d0d0d0',\n '#c1c1c1',\n '#b2b2b2',\n '#8e8e8e',\n '#6a6a6a',\n '#474747',\n '#232323'\n];\nexport const shades = {\n blue: blueShades,\n darkblue: darkblueShades,\n purple: purpleShades,\n pink: pinkShades,\n orange: orangeShades,\n red: redShades,\n green: greenShades,\n yellow: yellowShades,\n gray: grayShades\n};\nconst blue = blueShades[originalColorIndex];\nconst darkblue = darkblueShades[originalColorIndex];\nconst purple = purpleShades[originalColorIndex];\nconst pink = pinkShades[originalColorIndex];\nconst orange = orangeShades[originalColorIndex];\nconst red = redShades[originalColorIndex];\nconst green = greenShades[originalColorIndex];\nconst yellow = yellowShades[originalColorIndex];\nconst gray = grayShades[originalColorIndex];\nexport { blue, darkblue, purple, pink, orange, red, green, yellow, gray, black, white, inherit, current, transparent };\n"],"names":["black","white","originalColorIndex","blueShades","darkblueShades","purpleShades","pinkShades","orangeShades","redShades","greenShades","yellowShades","grayShades","shades","blue","darkblue","pink","red","green","yellow"],"mappings":"gFAEA,MAAMA,EAAQ,UACRC,EAAQ,UAKDC,EAAqB,EAC5BC,EAAa,CACf,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACJ,EACMC,EAAiB,CACnB,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACJ,EAGMC,EAAe,CACjB,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACJ,EACMC,EAAa,CACf,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACJ,EACMC,EAAe,CACjB,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACJ,EACMC,EAAY,CACd,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACJ,EACMC,EAAc,CAChB,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACJ,EACMC,EAAe,CACjB,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACJ,EACMC,EAAa,CACf,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACJ,EACaC,EAAS,CAClB,KAAMT,EACN,SAAUC,EACV,OAAQC,EACR,KAAMC,EACN,OAAQC,EACR,IAAKC,EACL,MAAOC,EACP,OAAQC,EACR,KAAMC,CACV,EACME,EAAOV,EAAWD,CAAkB,EACpCY,EAAWV,EAAeF,CAAkB,EACnCG,EAAaH,CAAkB,EAC9C,MAAMa,EAAOT,EAAWJ,CAAkB,EAC3BK,EAAaL,CAAkB,EAC9C,MAAMc,EAAMR,EAAUN,CAAkB,EAClCe,EAAQR,EAAYP,CAAkB,EACtCgB,EAASR,EAAaR,CAAkB,EACjCS,EAAWT,CAAkB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs250.js"),e=t("length");module.exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs299.js"),z=require("./index.cjs222.js"),a=require("./index.cjs213.js"),s=require("./index.cjs301.js"),j=require("./index.cjs298.js"),$=require("./index.cjs305.js"),Z=require("./index.cjs306.js"),Y=require("./index.cjs307.js"),S=require("./index.cjs308.js"),L=require("./index.cjs309.js"),R=require("./index.cjs310.js"),w=require("./index.cjs311.js"),_=require("./index.cjs312.js"),M=require("./index.cjs313.js"),J=require("./index.cjs314.js"),K=require("./index.cjs315.js"),Q=require("./index.cjs275.js"),p=require("./index.cjs303.js"),P=require("./index.cjs217.js"),F=require("./index.cjs316.js"),ee=require("./index.cjs317.js");require("./index.cjs224.js");const I=require("./index.cjs304.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.cjs221.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs221.js","sources":["../node_modules/underscore/modules/_getLength.js"],"sourcesContent":["import shallowProperty from './_shallowProperty.js';\n\n// Internal helper to obtain the `length` property of an object.\nexport default shallowProperty('length');\n"],"names":["getLength","shallowProperty"],"mappings":"kDAGAA,EAAeC,EAAgB,QAAQ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs221.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,EAA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A,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 t=require("./index.cjs250.js"),e=t("byteLength");module.exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./index.cjs299.js"),g=require("./index.cjs223.js"),e=require("./index.cjs215.js"),c=require("./index.cjs275.js"),a=require("./index.cjs217.js");require("./index.cjs224.js");const d=require("./index.cjs225.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.cjs222.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs222.js","sources":["../node_modules/underscore/modules/_getByteLength.js"],"sourcesContent":["import shallowProperty from './_shallowProperty.js';\n\n// Internal helper to obtain the `byteLength` property of an object.\nexport default shallowProperty('byteLength');\n"],"names":["getByteLength","shallowProperty"],"mappings":"kDAGAA,EAAeC,EAAgB,YAAY","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs222.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,WAA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K,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.cjs222.js");function n(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,e(t))}module.exports=n;
1
+ "use strict";const t=require("./index.cjs341.js"),r=require("./index.cjs342.js"),o=require("./index.cjs343.js"),s=require("./index.cjs344.js"),n=require("./index.cjs345.js"),i=require("./index.cjs346.js"),u=require("./index.cjs347.js"),c=require("./index.cjs348.js"),a=require("./index.cjs349.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.cjs223.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs223.js","sources":["../node_modules/underscore/modules/_toBufferView.js"],"sourcesContent":["import getByteLength from './_getByteLength.js';\n\n// Internal function to wrap or shallow-copy an ArrayBuffer,\n// typed array or DataView to a new view, reusing the buffer.\nexport default function toBufferView(bufferSource) {\n return new Uint8Array(\n bufferSource.buffer || bufferSource,\n bufferSource.byteOffset || 0,\n getByteLength(bufferSource)\n );\n}\n"],"names":["toBufferView","bufferSource","getByteLength"],"mappings":"kDAIA,SAAwBA,EAAaC,EAAc,CACjD,OAAO,IAAI,WACTA,EAAa,QAAUA,EACvBA,EAAa,YAAc,EAC3BC,EAAcD,CAAY,CAAA,CAE9B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs223.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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs221.js"),i=require("./index.cjs38.js"),h=require("./index.cjs117.js");function d(t){var f=s(t);return function(e){if(e==null)return!1;var l=h(e);if(s(l))return!1;for(var r=0;r<f;r++)if(!i(e[t[r]]))return!1;return t!==u||!i(e[a])}}var a="forEach",o="has",n=["clear","delete"],c=["get",o,"set"],M=n.concat(a,c),u=n.concat(c),g=["add"].concat(n,a,o);exports.ie11fingerprint=d;exports.mapMethods=M;exports.setMethods=g;exports.weakMapMethods=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs217.js"),t=require("./index.cjs374.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.cjs224.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs224.js","sources":["../node_modules/underscore/modules/_methodFingerprint.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport isFunction from './isFunction.js';\nimport allKeys from './allKeys.js';\n\n// Since the regular `Object.prototype.toString` type tests don't work for\n// some types in IE 11, we use a fingerprinting heuristic instead, based\n// on the methods. It's not great, but it's the best we got.\n// The fingerprint method lists are defined below.\nexport function ie11fingerprint(methods) {\n var length = getLength(methods);\n return function(obj) {\n if (obj == null) return false;\n // `Map`, `WeakMap` and `Set` have no enumerable keys.\n var keys = allKeys(obj);\n if (getLength(keys)) return false;\n for (var i = 0; i < length; i++) {\n if (!isFunction(obj[methods[i]])) return false;\n }\n // If we are testing against `WeakMap`, we need to ensure that\n // `obj` doesn't have a `forEach` method in order to distinguish\n // it from a regular `Map`.\n return methods !== weakMapMethods || !isFunction(obj[forEachName]);\n };\n}\n\n// In the interest of compact minification, we write\n// each string in the fingerprints only once.\nvar forEachName = 'forEach',\n hasName = 'has',\n commonInit = ['clear', 'delete'],\n mapTail = ['get', hasName, 'set'];\n\n// `Map`, `WeakMap` and `Set` each have slightly different\n// combinations of the above sublists.\nexport var mapMethods = commonInit.concat(forEachName, mapTail),\n weakMapMethods = commonInit.concat(mapTail),\n setMethods = ['add'].concat(commonInit, forEachName, hasName);\n"],"names":["ie11fingerprint","methods","length","getLength","obj","keys","allKeys","i","isFunction","weakMapMethods","forEachName","hasName","commonInit","mapTail","mapMethods","setMethods"],"mappings":"kLAQO,SAASA,EAAgBC,EAAS,CACvC,IAAIC,EAASC,EAAUF,CAAO,EAC9B,OAAO,SAASG,EAAK,CACnB,GAAIA,GAAO,KAAM,MAAO,GAExB,IAAIC,EAAOC,EAAQF,CAAG,EACtB,GAAID,EAAUE,CAAI,EAAG,MAAO,GAC5B,QAASE,EAAI,EAAGA,EAAIL,EAAQK,IAC1B,GAAI,CAACC,EAAWJ,EAAIH,EAAQM,CAAC,CAAC,CAAC,EAAG,MAAO,GAK3C,OAAON,IAAYQ,GAAkB,CAACD,EAAWJ,EAAIM,CAAW,CAAC,CACnE,CACF,CAIA,IAAIA,EAAc,UACdC,EAAU,MACVC,EAAa,CAAC,QAAS,QAAQ,EAC/BC,EAAU,CAAC,MAAOF,EAAS,KAAK,EAIzBG,EAAaF,EAAW,OAAOF,EAAaG,CAAO,EAC1DJ,EAAiBG,EAAW,OAAOC,CAAO,EAC1CE,EAAa,CAAC,KAAK,EAAE,OAAOH,EAAYF,EAAaC,CAAO","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs224.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";const e=require("./index.cjs37.js"),s=require("./index.cjs38.js"),i=require("./index.cjs219.js");function a(t){for(var n={},c=t.length,o=0;o<c;++o)n[t[o]]=!0;return{contains:function(u){return n[u]===!0},push:function(u){return n[u]=!0,t.push(u)}}}function p(t,n){n=a(n);var c=e.nonEnumerableProps.length,o=t.constructor,u=s(o)&&o.prototype||e.ObjProto,r="constructor";for(i(t,r)&&!n.contains(r)&&n.push(r);c--;)r=e.nonEnumerableProps[c],r in t&&t[r]!==u[r]&&!n.contains(r)&&n.push(r)}module.exports=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs223.js"),c=require("./index.cjs217.js"),S=require("./index.cjs224.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.cjs225.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs225.js","sources":["../node_modules/underscore/modules/_collectNonEnumProps.js"],"sourcesContent":["import { nonEnumerableProps, ObjProto } from './_setup.js';\nimport isFunction from './isFunction.js';\nimport has from './_has.js';\n\n// Internal helper to create a simple lookup structure.\n// `collectNonEnumProps` used to depend on `_.contains`, but this led to\n// circular imports. `emulatedSet` is a one-off solution that only works for\n// arrays of strings.\nfunction emulatedSet(keys) {\n var hash = {};\n for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true;\n return {\n contains: function(key) { return hash[key] === true; },\n push: function(key) {\n hash[key] = true;\n return keys.push(key);\n }\n };\n}\n\n// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't\n// be iterated by `for key in ...` and thus missed. Extends `keys` in place if\n// needed.\nexport default function collectNonEnumProps(obj, keys) {\n keys = emulatedSet(keys);\n var nonEnumIdx = nonEnumerableProps.length;\n var constructor = obj.constructor;\n var proto = (isFunction(constructor) && constructor.prototype) || ObjProto;\n\n // Constructor is a special case.\n var prop = 'constructor';\n if (has(obj, prop) && !keys.contains(prop)) keys.push(prop);\n\n while (nonEnumIdx--) {\n prop = nonEnumerableProps[nonEnumIdx];\n if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) {\n keys.push(prop);\n }\n }\n}\n"],"names":["emulatedSet","keys","hash","l","i","key","collectNonEnumProps","obj","nonEnumIdx","nonEnumerableProps","constructor","proto","isFunction","ObjProto","prop","has"],"mappings":"8GAQA,SAASA,EAAYC,EAAM,CAEzB,QADIC,EAAO,CAAA,EACFC,EAAIF,EAAK,OAAQG,EAAI,EAAGA,EAAID,EAAG,EAAEC,EAAGF,EAAKD,EAAKG,CAAC,CAAC,EAAI,GAC7D,MAAO,CACL,SAAU,SAASC,EAAK,CAAE,OAAOH,EAAKG,CAAG,IAAM,EAAM,EACrD,KAAM,SAASA,EAAK,CAClB,OAAAH,EAAKG,CAAG,EAAI,GACLJ,EAAK,KAAKI,CAAG,CACtB,CAAA,CAEJ,CAKA,SAAwBC,EAAoBC,EAAKN,EAAM,CACrDA,EAAOD,EAAYC,CAAI,EACvB,IAAIO,EAAaC,EAAAA,mBAAmB,OAChCC,EAAcH,EAAI,YAClBI,EAASC,EAAWF,CAAW,GAAKA,EAAY,WAAcG,EAAAA,SAG9DC,EAAO,cAGX,IAFIC,EAAIR,EAAKO,CAAI,GAAK,CAACb,EAAK,SAASa,CAAI,GAAGb,EAAK,KAAKa,CAAI,EAEnDN,KACLM,EAAOL,EAAAA,mBAAmBD,CAAU,EAChCM,KAAQP,GAAOA,EAAIO,CAAI,IAAMH,EAAMG,CAAI,GAAK,CAACb,EAAK,SAASa,CAAI,GACjEb,EAAK,KAAKa,CAAI,CAGpB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs225.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,EACAD,EACAE,EACAC,EACA,gDACA,OACJ,EACO,SAASE,EAAoBC,EAAoC,CACpE,MAAM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C5EE,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";function i(v,e){return function(r){var u=arguments.length;if(e&&(r=Object(r)),u<2||r==null)return r;for(var t=1;t<u;t++)for(var f=arguments[t],g=v(f),c=g.length,n=0;n<c;n++){var a=g[n];(!e||r[a]===void 0)&&(r[a]=f[a])}return r}}module.exports=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs461.js"),a=require("./index.cjs462.js"),n=require("./index.cjs228.js"),t=require("./index.cjs467.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.cjs226.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs226.js","sources":["../node_modules/underscore/modules/_createAssigner.js"],"sourcesContent":["// An internal function for creating assigner functions.\nexport default function createAssigner(keysFunc, defaults) {\n return function(obj) {\n var length = arguments.length;\n if (defaults) obj = Object(obj);\n if (length < 2 || obj == null) return obj;\n for (var index = 1; index < length; index++) {\n var source = arguments[index],\n keys = keysFunc(source),\n l = keys.length;\n for (var i = 0; i < l; i++) {\n var key = keys[i];\n if (!defaults || obj[key] === void 0) obj[key] = source[key];\n }\n }\n return obj;\n };\n}\n"],"names":["createAssigner","keysFunc","defaults","obj","length","index","source","keys","l","i","key"],"mappings":"aACA,SAAwBA,EAAeC,EAAUC,EAAU,CACzD,OAAO,SAASC,EAAK,CACnB,IAAIC,EAAS,UAAU,OAEvB,GADIF,IAAUC,EAAM,OAAOA,CAAG,GAC1BC,EAAS,GAAKD,GAAO,KAAM,OAAOA,EACtC,QAASE,EAAQ,EAAGA,EAAQD,EAAQC,IAIlC,QAHIC,EAAS,UAAUD,CAAK,EACxBE,EAAON,EAASK,CAAM,EACtBE,EAAID,EAAK,OACJE,EAAI,EAAGA,EAAID,EAAGC,IAAK,CAC1B,IAAIC,EAAMH,EAAKE,CAAC,GACZ,CAACP,GAAYC,EAAIO,CAAG,IAAM,UAAQP,EAAIO,CAAG,EAAIJ,EAAOI,CAAG,EAC7D,CAEF,OAAOP,CACT,CACF","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs226.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";const u=require("./index.cjs95.js"),t=require("./index.cjs37.js");function i(){return function(){}}function s(e){if(!u(e))return{};if(t.nativeCreate)return t.nativeCreate(e);var r=i();r.prototype=e;var n=new r;return r.prototype=null,n}module.exports=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs465.js"),a=require("./index.cjs464.js"),r=require("./index.cjs228.js"),c=require("./index.cjs467.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.cjs227.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs227.js","sources":["../node_modules/underscore/modules/_baseCreate.js"],"sourcesContent":["import isObject from './isObject.js';\nimport { nativeCreate } from './_setup.js';\n\n// Create a naked function reference for surrogate-prototype-swapping.\nfunction ctor() {\n return function(){};\n}\n\n// An internal function for creating a new object that inherits from another.\nexport default function baseCreate(prototype) {\n if (!isObject(prototype)) return {};\n if (nativeCreate) return nativeCreate(prototype);\n var Ctor = ctor();\n Ctor.prototype = prototype;\n var result = new Ctor;\n Ctor.prototype = null;\n return result;\n}\n"],"names":["ctor","baseCreate","prototype","isObject","nativeCreate","Ctor","result"],"mappings":"+EAIA,SAASA,GAAO,CACd,OAAO,UAAU,CAAC,CACpB,CAGA,SAAwBC,EAAWC,EAAW,CAC5C,GAAI,CAACC,EAASD,CAAS,QAAU,CAAA,EACjC,GAAIE,EAAAA,aAAc,OAAOA,EAAAA,aAAaF,CAAS,EAC/C,IAAIG,EAAOL,EAAA,EACXK,EAAK,UAAYH,EACjB,IAAII,EAAS,IAAID,EACjB,OAAAA,EAAK,UAAY,KACVC,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs227.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";const t=require("./index.cjs41.js");require("./index.cjs45.js");function e(r){return t.toPath(r)}module.exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs467.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.cjs228.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs228.js","sources":["../node_modules/underscore/modules/_toPath.js"],"sourcesContent":["import _ from './underscore.js';\nimport './toPath.js';\n\n// Internal wrapper for `_.toPath` to enable minification.\n// Similar to `cb` for `_.iteratee`.\nexport default function toPath(path) {\n return _.toPath(path);\n}\n"],"names":["toPath","path","_"],"mappings":"6EAKA,SAAwBA,EAAOC,EAAM,CACnC,OAAOC,EAAE,OAAOD,CAAI,CACtB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs228.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,EAAqBC,EAAAA,KAAOH,CAAa,EACzCI,EAAqBD,EAAAA,KAAOF,CAAa,EACzCI,EAAmBR,EAAAA,OAAS,CACrC,GAAIR,EAAAA,OAAE,EAAS,IAAA,EACf,KAAMA,EAAAA,OAAE,EACR,MAAOG,EAAoB,SAAA,EAC3B,IAAI,QAAS,CACT,OAAOT,EAAAA,MAAQsB,CAAgB,EAAE,SAAA,CACrC,CACJ,CAA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Y,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";function u(e,t){for(var n=t.length,r=0;r<n;r++){if(e==null)return;e=e[t[r]]}return n?e:void 0}module.exports=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs230.js"),n=require("./index.cjs231.js"),S=require("./index.cjs426.js"),e=require("./index.cjs484.js"),a=require("./index.cjs485.js"),c=require("./index.cjs467.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.cjs229.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs229.js","sources":["../node_modules/underscore/modules/_deepGet.js"],"sourcesContent":["// Internal function to obtain a nested property in `obj` along `path`.\nexport default function deepGet(obj, path) {\n var length = path.length;\n for (var i = 0; i < length; i++) {\n if (obj == null) return void 0;\n obj = obj[path[i]];\n }\n return length ? obj : void 0;\n}\n"],"names":["deepGet","obj","path","length","i"],"mappings":"aACA,SAAwBA,EAAQC,EAAKC,EAAM,CAEzC,QADIC,EAASD,EAAK,OACTE,EAAI,EAAGA,EAAID,EAAQC,IAAK,CAC/B,GAAIH,GAAO,KAAM,OACjBA,EAAMA,EAAIC,EAAKE,CAAC,CAAC,CACnB,CACA,OAAOD,EAASF,EAAM,MACxB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs229.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 n=require("react"),l=require("./index.cjs214.js"),a=require("./index.cjs30.js");function r(t){const e=a.useControl(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{l.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
1
+ "use strict";const n=require("react"),l=require("./index.cjs266.js"),a=require("./index.cjs30.js");function r(t){const e=a.useControl(({mapLib:u})=>new u.ScaleControl(t),{position:t.position}),i=n.useRef(t),c=i.current;i.current=t;const{style:o}=t;return t.maxWidth!==void 0&&t.maxWidth!==c.maxWidth&&(e.options.maxWidth=t.maxWidth),t.unit!==void 0&&t.unit!==c.unit&&e.setUnit(t.unit),n.useEffect(()=>{l.applyReactStyle(e._container,o)},[o]),null}n.memo(r);
2
2
  //# sourceMappingURL=index.cjs23.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs41.js"),s=require("./index.cjs235.js"),n=require("./index.cjs46.js");function u(e,r,i){return t.iteratee!==n?t.iteratee(e,r):s(e,r,i)}module.exports=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs467.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.cjs230.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs230.js","sources":["../node_modules/underscore/modules/_cb.js"],"sourcesContent":["import _ from './underscore.js';\nimport baseIteratee from './_baseIteratee.js';\nimport iteratee from './iteratee.js';\n\n// The function we call internally to generate a callback. It invokes\n// `_.iteratee` if overridden, otherwise `baseIteratee`.\nexport default function cb(value, context, argCount) {\n if (_.iteratee !== iteratee) return _.iteratee(value, context);\n return baseIteratee(value, context, argCount);\n}\n"],"names":["cb","value","context","argCount","_","iteratee","baseIteratee"],"mappings":"8GAMA,SAAwBA,EAAGC,EAAOC,EAASC,EAAU,CACnD,OAAIC,EAAE,WAAaC,EAAiBD,EAAE,SAASH,EAAOC,CAAO,EACtDI,EAAaL,EAAOC,EAASC,CAAQ,CAC9C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs230.js","sources":["../../../node_modules/@allmaps/iiif-parser/dist/schemas/image.1.js"],"sourcesContent":["// Image API 1.1\n// https://iiif.io/api/image/1.1/#image-information\nimport { z } from 'zod';\nexport const image1ProfileUriRegex = /^https?:\\/\\/library.stanford.edu\\/iiif\\/image-api\\/1.1\\/compliance.html#level(?<level>[012])$/;\nexport const Image1ProfileUri = z.string().regex(image1ProfileUriRegex);\nexport const Image1ProfileSchema = Image1ProfileUri;\nexport const Image1ContextString = 'http://library.stanford.edu/iiif/image-api/1.1/context.json';\n// Used by https://gallica.bnf.fr/iiif/ark:/12148/btv1b53192683w/manifest.json (among others)\nexport const Image1ContextStringIncorrect = 'http://iiif.io/api/image/1/context.json';\nexport const Image1Context = z.literal(Image1ContextString);\nexport const Image1Schema = z.object({\n '@context': Image1Context,\n '@id': z.string().url(),\n profile: Image1ProfileUri.optional(),\n width: z.number().int(),\n height: z.number().int(),\n scale_factors: z.number().array().optional(),\n tile_width: z.number().optional(),\n tile_height: z.number().optional()\n});\n"],"names":["image1ProfileUriRegex","Image1ProfileUri","z.string","Image1ProfileSchema","Image1ContextString","Image1ContextStringIncorrect","Image1Context","z.literal","Image1Schema","z.object","z.number"],"mappings":"qHAGaA,EAAwB,gGACxBC,EAAmBC,EAAAA,SAAW,MAAMF,CAAqB,EACzDG,EAAsBF,EACtBG,EAAsB,8DAEtBC,EAA+B,0CAC/BC,EAAgBC,EAAAA,QAAUH,CAAmB,EAC7CI,EAAeC,EAAAA,OAAS,CACjC,WAAYH,EACZ,MAAOJ,EAAAA,OAAE,EAAS,IAAA,EAClB,QAASD,EAAiB,SAAA,EAC1B,MAAOS,EAAAA,OAAE,EAAS,IAAA,EAClB,OAAQA,EAAAA,OAAE,EAAS,IAAA,EACnB,cAAeA,EAAAA,OAAE,EAAS,MAAA,EAAQ,SAAA,EAClC,WAAYA,EAAAA,OAAE,EAAS,SAAA,EACvB,YAAaA,EAAAA,OAAE,EAAS,SAAA,CAC5B,CAAC","x_google_ignoreList":[0]}