@performant-software/geospatial 3.1.25-beta.0 → 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 (1979) 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 -1
  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 -7
  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.map +1 -1
  978. package/dist/index.cjs72.js.map +1 -1
  979. package/dist/index.cjs73.js +1 -1
  980. package/dist/index.cjs73.js.map +1 -1
  981. package/dist/index.cjs74.js +1 -1
  982. package/dist/index.cjs74.js.map +1 -1
  983. package/dist/index.cjs75.js +1 -1
  984. package/dist/index.cjs75.js.map +1 -1
  985. package/dist/index.cjs76.js +1 -1
  986. package/dist/index.cjs76.js.map +1 -1
  987. package/dist/index.cjs77.js.map +1 -1
  988. package/dist/index.cjs78.js.map +1 -1
  989. package/dist/index.cjs93.js +1 -1
  990. package/dist/index.es100.js +1 -1
  991. package/dist/index.es101.js +1 -1
  992. package/dist/index.es102.js +1 -1
  993. package/dist/index.es103.js +1 -1
  994. package/dist/index.es104.js +1 -1
  995. package/dist/index.es105.js +1 -1
  996. package/dist/index.es106.js +1 -1
  997. package/dist/index.es107.js +1 -1
  998. package/dist/index.es108.js +1 -1
  999. package/dist/index.es111.js +1 -1
  1000. package/dist/index.es112.js +1 -1
  1001. package/dist/index.es114.js +3 -3
  1002. package/dist/index.es115.js +1 -1
  1003. package/dist/index.es116.js +2 -2
  1004. package/dist/index.es117.js +1 -1
  1005. package/dist/index.es12.js +6 -7
  1006. package/dist/index.es12.js.map +1 -1
  1007. package/dist/index.es122.js +1 -1
  1008. package/dist/index.es123.js +1 -1
  1009. package/dist/index.es124.js +1 -1
  1010. package/dist/index.es125.js +1 -1
  1011. package/dist/index.es128.js +2 -2
  1012. package/dist/index.es129.js +2 -2
  1013. package/dist/index.es13.js +8 -8
  1014. package/dist/index.es13.js.map +1 -1
  1015. package/dist/index.es130.js +1 -1
  1016. package/dist/index.es134.js +2 -2
  1017. package/dist/index.es137.js +1 -1
  1018. package/dist/index.es141.js +1 -1
  1019. package/dist/index.es144.js +1 -1
  1020. package/dist/index.es152.js +1 -1
  1021. package/dist/index.es153.js +1 -1
  1022. package/dist/index.es154.js +1 -1
  1023. package/dist/index.es155.js +2 -2
  1024. package/dist/index.es156.js +1 -1
  1025. package/dist/index.es157.js +1 -1
  1026. package/dist/index.es158.js +1 -1
  1027. package/dist/index.es16.js +4 -4
  1028. package/dist/index.es160.js +2 -2
  1029. package/dist/index.es161.js +2 -2
  1030. package/dist/index.es162.js +1 -1
  1031. package/dist/index.es163.js +1 -1
  1032. package/dist/index.es164.js +1 -1
  1033. package/dist/index.es165.js +1 -1
  1034. package/dist/index.es166.js +2 -2
  1035. package/dist/index.es167.js +2 -2
  1036. package/dist/index.es168.js +1 -1
  1037. package/dist/index.es17.js +3 -3
  1038. package/dist/index.es171.js +2 -2
  1039. package/dist/index.es172.js +2 -2
  1040. package/dist/index.es174.js +2 -2
  1041. package/dist/index.es175.js +1 -1
  1042. package/dist/index.es176.js +2 -2
  1043. package/dist/index.es177.js +1 -1
  1044. package/dist/index.es178.js +2 -2
  1045. package/dist/index.es179.js +1 -1
  1046. package/dist/index.es18.js +3 -3
  1047. package/dist/index.es180.js +1 -1
  1048. package/dist/index.es181.js +1 -1
  1049. package/dist/index.es187.js +1 -1
  1050. package/dist/index.es188.js +2 -2
  1051. package/dist/index.es189.js +1 -1
  1052. package/dist/index.es19.js +1 -1
  1053. package/dist/index.es190.js +1 -1
  1054. package/dist/index.es191.js +1 -1
  1055. package/dist/index.es194.js +14 -1
  1056. package/dist/index.es194.js.map +1 -1
  1057. package/dist/index.es195.js +199 -239
  1058. package/dist/index.es195.js.map +1 -1
  1059. package/dist/index.es196.js +8 -42
  1060. package/dist/index.es196.js.map +1 -1
  1061. package/dist/index.es197.js +7 -3
  1062. package/dist/index.es197.js.map +1 -1
  1063. package/dist/index.es198.js +5 -11
  1064. package/dist/index.es198.js.map +1 -1
  1065. package/dist/index.es199.js +3 -13
  1066. package/dist/index.es199.js.map +1 -1
  1067. package/dist/index.es20.js +1 -1
  1068. package/dist/index.es200.js +3 -33
  1069. package/dist/index.es200.js.map +1 -1
  1070. package/dist/index.es201.js +34 -12
  1071. package/dist/index.es201.js.map +1 -1
  1072. package/dist/index.es202.js +3 -7
  1073. package/dist/index.es202.js.map +1 -1
  1074. package/dist/index.es203.js +22 -7
  1075. package/dist/index.es203.js.map +1 -1
  1076. package/dist/index.es204.js +2 -7
  1077. package/dist/index.es204.js.map +1 -1
  1078. package/dist/index.es205.js +3 -6
  1079. package/dist/index.es205.js.map +1 -1
  1080. package/dist/index.es206.js +2 -5
  1081. package/dist/index.es206.js.map +1 -1
  1082. package/dist/index.es207.js +31 -3
  1083. package/dist/index.es207.js.map +1 -1
  1084. package/dist/index.es208.js +13 -9
  1085. package/dist/index.es208.js.map +1 -1
  1086. package/dist/index.es209.js +13 -18
  1087. package/dist/index.es209.js.map +1 -1
  1088. package/dist/index.es21.js +1 -1
  1089. package/dist/index.es210.js +8 -20
  1090. package/dist/index.es210.js.map +1 -1
  1091. package/dist/index.es211.js +61 -12
  1092. package/dist/index.es211.js.map +1 -1
  1093. package/dist/index.es212.js +61 -13
  1094. package/dist/index.es212.js.map +1 -1
  1095. package/dist/index.es213.js +37 -6
  1096. package/dist/index.es213.js.map +1 -1
  1097. package/dist/index.es214.js +476 -7
  1098. package/dist/index.es214.js.map +1 -1
  1099. package/dist/index.es215.js +164 -6
  1100. package/dist/index.es215.js.map +1 -1
  1101. package/dist/index.es216.js +70 -20
  1102. package/dist/index.es216.js.map +1 -1
  1103. package/dist/index.es217.js +48 -8
  1104. package/dist/index.es217.js.map +1 -1
  1105. package/dist/index.es218.js +380 -9
  1106. package/dist/index.es218.js.map +1 -1
  1107. package/dist/index.es219.js +19 -6
  1108. package/dist/index.es219.js.map +1 -1
  1109. package/dist/index.es22.js +1 -1
  1110. package/dist/index.es220.js +124 -11
  1111. package/dist/index.es220.js.map +1 -1
  1112. package/dist/index.es221.js +355 -8
  1113. package/dist/index.es221.js.map +1 -1
  1114. package/dist/index.es222.js +218 -21
  1115. package/dist/index.es222.js.map +1 -1
  1116. package/dist/index.es223.js +23 -11
  1117. package/dist/index.es223.js.map +1 -1
  1118. package/dist/index.es224.js +58 -17
  1119. package/dist/index.es224.js.map +1 -1
  1120. package/dist/index.es225.js +106 -4
  1121. package/dist/index.es225.js.map +1 -1
  1122. package/dist/index.es226.js +29 -18
  1123. package/dist/index.es226.js.map +1 -1
  1124. package/dist/index.es227.js +29 -12
  1125. package/dist/index.es227.js.map +1 -1
  1126. package/dist/index.es228.js +96 -3
  1127. package/dist/index.es228.js.map +1 -1
  1128. package/dist/index.es229.js +35 -5
  1129. package/dist/index.es229.js.map +1 -1
  1130. package/dist/index.es23.js +1 -1
  1131. package/dist/index.es230.js +18 -148
  1132. package/dist/index.es230.js.map +1 -1
  1133. package/dist/index.es231.js +52 -6
  1134. package/dist/index.es231.js.map +1 -1
  1135. package/dist/index.es232.js +7 -5
  1136. package/dist/index.es232.js.map +1 -1
  1137. package/dist/index.es233.js +529 -3
  1138. package/dist/index.es233.js.map +1 -1
  1139. package/dist/index.es234.js +28 -3
  1140. package/dist/index.es234.js.map +1 -1
  1141. package/dist/index.es235.js +6 -34
  1142. package/dist/index.es235.js.map +1 -1
  1143. package/dist/index.es236.js +7 -3
  1144. package/dist/index.es236.js.map +1 -1
  1145. package/dist/index.es237.js +4 -23
  1146. package/dist/index.es237.js.map +1 -1
  1147. package/dist/index.es238.js +5 -2
  1148. package/dist/index.es238.js.map +1 -1
  1149. package/dist/index.es239.js +5 -3
  1150. package/dist/index.es239.js.map +1 -1
  1151. package/dist/index.es24.js +1 -1
  1152. package/dist/index.es240.js +11 -2
  1153. package/dist/index.es240.js.map +1 -1
  1154. package/dist/index.es241.js +17 -29
  1155. package/dist/index.es241.js.map +1 -1
  1156. package/dist/index.es242.js +21 -13
  1157. package/dist/index.es242.js.map +1 -1
  1158. package/dist/index.es243.js +12 -13
  1159. package/dist/index.es243.js.map +1 -1
  1160. package/dist/index.es244.js +14 -8
  1161. package/dist/index.es244.js.map +1 -1
  1162. package/dist/index.es245.js +5 -20
  1163. package/dist/index.es245.js.map +1 -1
  1164. package/dist/index.es246.js +7 -22
  1165. package/dist/index.es246.js.map +1 -1
  1166. package/dist/index.es247.js +6 -7
  1167. package/dist/index.es247.js.map +1 -1
  1168. package/dist/index.es248.js +21 -2
  1169. package/dist/index.es248.js.map +1 -1
  1170. package/dist/index.es249.js +8 -4
  1171. package/dist/index.es249.js.map +1 -1
  1172. package/dist/index.es25.js +1 -1
  1173. package/dist/index.es250.js +9 -7507
  1174. package/dist/index.es250.js.map +1 -1
  1175. package/dist/index.es251.js +4 -2
  1176. package/dist/index.es251.js.map +1 -1
  1177. package/dist/index.es252.js +10 -24
  1178. package/dist/index.es252.js.map +1 -1
  1179. package/dist/index.es253.js +7 -16
  1180. package/dist/index.es253.js.map +1 -1
  1181. package/dist/index.es254.js +20 -30
  1182. package/dist/index.es254.js.map +1 -1
  1183. package/dist/index.es255.js +10 -21
  1184. package/dist/index.es255.js.map +1 -1
  1185. package/dist/index.es256.js +16 -73
  1186. package/dist/index.es256.js.map +1 -1
  1187. package/dist/index.es257.js +4 -21
  1188. package/dist/index.es257.js.map +1 -1
  1189. package/dist/index.es258.js +16 -39
  1190. package/dist/index.es258.js.map +1 -1
  1191. package/dist/index.es259.js +11 -49
  1192. package/dist/index.es259.js.map +1 -1
  1193. package/dist/index.es26.js +2 -2
  1194. package/dist/index.es260.js +3 -7
  1195. package/dist/index.es260.js.map +1 -1
  1196. package/dist/index.es261.js +4 -20
  1197. package/dist/index.es261.js.map +1 -1
  1198. package/dist/index.es262.js +242 -65
  1199. package/dist/index.es262.js.map +1 -1
  1200. package/dist/index.es263.js +40 -40
  1201. package/dist/index.es263.js.map +1 -1
  1202. package/dist/index.es264.js +3 -64
  1203. package/dist/index.es264.js.map +1 -1
  1204. package/dist/index.es265.js +9 -7
  1205. package/dist/index.es265.js.map +1 -1
  1206. package/dist/index.es266.js +10 -3
  1207. package/dist/index.es266.js.map +1 -1
  1208. package/dist/index.es267.js +29 -11
  1209. package/dist/index.es267.js.map +1 -1
  1210. package/dist/index.es268.js +12 -58
  1211. package/dist/index.es268.js.map +1 -1
  1212. package/dist/index.es269.js +4 -49
  1213. package/dist/index.es269.js.map +1 -1
  1214. package/dist/index.es27.js +2 -2
  1215. package/dist/index.es270.js +22 -2
  1216. package/dist/index.es270.js.map +1 -1
  1217. package/dist/index.es271.js +20 -15
  1218. package/dist/index.es271.js.map +1 -1
  1219. package/dist/index.es272.js +7506 -4
  1220. package/dist/index.es272.js.map +1 -1
  1221. package/dist/index.es273.js +2 -70
  1222. package/dist/index.es273.js.map +1 -1
  1223. package/dist/index.es274.js +3 -4
  1224. package/dist/index.es274.js.map +1 -1
  1225. package/dist/index.es275.js +268 -21
  1226. package/dist/index.es275.js.map +1 -1
  1227. package/dist/index.es276.js +11 -0
  1228. package/dist/index.es276.js.map +1 -0
  1229. package/dist/index.es277.js +9 -0
  1230. package/dist/index.es277.js.map +1 -0
  1231. package/dist/index.es278.js +24 -0
  1232. package/dist/index.es278.js.map +1 -0
  1233. package/dist/index.es279.js +26 -0
  1234. package/dist/index.es279.js.map +1 -0
  1235. package/dist/index.es280.js +28 -0
  1236. package/dist/index.es280.js.map +1 -0
  1237. package/dist/index.es281.js +20 -0
  1238. package/dist/index.es281.js.map +1 -0
  1239. package/dist/index.es282.js +34 -0
  1240. package/dist/index.es282.js.map +1 -0
  1241. package/dist/index.es283.js +25 -0
  1242. package/dist/index.es283.js.map +1 -0
  1243. package/dist/index.es284.js +78 -0
  1244. package/dist/index.es284.js.map +1 -0
  1245. package/dist/index.es285.js +24 -0
  1246. package/dist/index.es285.js.map +1 -0
  1247. package/dist/index.es286.js +44 -0
  1248. package/dist/index.es286.js.map +1 -0
  1249. package/dist/index.es287.js +53 -0
  1250. package/dist/index.es287.js.map +1 -0
  1251. package/dist/index.es288.js +11 -0
  1252. package/dist/index.es288.js.map +1 -0
  1253. package/dist/index.es289.js +24 -0
  1254. package/dist/index.es289.js.map +1 -0
  1255. package/dist/index.es290.js +69 -0
  1256. package/dist/index.es290.js.map +1 -0
  1257. package/dist/index.es291.js +46 -0
  1258. package/dist/index.es291.js.map +1 -0
  1259. package/dist/index.es292.js +67 -0
  1260. package/dist/index.es292.js.map +1 -0
  1261. package/dist/index.es293.js +12 -0
  1262. package/dist/index.es293.js.map +1 -0
  1263. package/dist/index.es294.js +7 -0
  1264. package/dist/index.es294.js.map +1 -0
  1265. package/dist/index.es295.js +16 -0
  1266. package/dist/index.es295.js.map +1 -0
  1267. package/dist/index.es296.js +63 -0
  1268. package/dist/index.es296.js.map +1 -0
  1269. package/dist/index.es297.js +53 -0
  1270. package/dist/index.es297.js.map +1 -0
  1271. package/dist/index.es298.js +418 -0
  1272. package/dist/index.es298.js.map +1 -0
  1273. package/dist/index.es299.js +80 -0
  1274. package/dist/index.es299.js.map +1 -0
  1275. package/dist/index.es300.js +246 -0
  1276. package/dist/index.es300.js.map +1 -0
  1277. package/dist/index.es301.js +33 -0
  1278. package/dist/index.es301.js.map +1 -0
  1279. package/dist/index.es302.js +157 -0
  1280. package/dist/index.es302.js.map +1 -0
  1281. package/dist/index.es303.js +21 -0
  1282. package/dist/index.es303.js.map +1 -0
  1283. package/dist/index.es304.js +17 -0
  1284. package/dist/index.es304.js.map +1 -0
  1285. package/dist/index.es305.js +565 -0
  1286. package/dist/index.es305.js.map +1 -0
  1287. package/dist/index.es306.js +354 -0
  1288. package/dist/index.es306.js.map +1 -0
  1289. package/dist/index.es307.js +67 -0
  1290. package/dist/index.es307.js.map +1 -0
  1291. package/dist/index.es308.js +50 -0
  1292. package/dist/index.es308.js.map +1 -0
  1293. package/dist/index.es309.js +215 -0
  1294. package/dist/index.es309.js.map +1 -0
  1295. package/dist/index.es310.js +65 -0
  1296. package/dist/index.es310.js.map +1 -0
  1297. package/dist/index.es311.js +63 -0
  1298. package/dist/index.es311.js.map +1 -0
  1299. package/dist/index.es312.js +49 -0
  1300. package/dist/index.es312.js.map +1 -0
  1301. package/dist/index.es313.js +55 -0
  1302. package/dist/index.es313.js.map +1 -0
  1303. package/dist/index.es314.js +329 -0
  1304. package/dist/index.es314.js.map +1 -0
  1305. package/dist/index.es315.js +314 -0
  1306. package/dist/index.es315.js.map +1 -0
  1307. package/dist/index.es316.js +259 -0
  1308. package/dist/index.es316.js.map +1 -0
  1309. package/dist/index.es317.js +60 -0
  1310. package/dist/index.es317.js.map +1 -0
  1311. package/dist/index.es318.js +218 -0
  1312. package/dist/index.es318.js.map +1 -0
  1313. package/dist/index.es319.js +204 -0
  1314. package/dist/index.es319.js.map +1 -0
  1315. package/dist/index.es320.js +20 -0
  1316. package/dist/index.es320.js.map +1 -0
  1317. package/dist/index.es321.js +30 -0
  1318. package/dist/index.es321.js.map +1 -0
  1319. package/dist/index.es322.js +204 -0
  1320. package/dist/index.es322.js.map +1 -0
  1321. package/dist/index.es323.js +9 -0
  1322. package/dist/index.es323.js.map +1 -0
  1323. package/dist/index.es324.js +89 -0
  1324. package/dist/index.es324.js.map +1 -0
  1325. package/dist/index.es325.js +62 -0
  1326. package/dist/index.es325.js.map +1 -0
  1327. package/dist/index.es326.js +17 -0
  1328. package/dist/index.es326.js.map +1 -0
  1329. package/dist/index.es327.js +107 -0
  1330. package/dist/index.es327.js.map +1 -0
  1331. package/dist/index.es328.js +19 -0
  1332. package/dist/index.es328.js.map +1 -0
  1333. package/dist/index.es329.js +30 -0
  1334. package/dist/index.es329.js.map +1 -0
  1335. package/dist/index.es330.js +132 -0
  1336. package/dist/index.es330.js.map +1 -0
  1337. package/dist/index.es331.js +20 -0
  1338. package/dist/index.es331.js.map +1 -0
  1339. package/dist/index.es332.js +8 -0
  1340. package/dist/index.es332.js.map +1 -0
  1341. package/dist/index.es333.js +69 -0
  1342. package/dist/index.es333.js.map +1 -0
  1343. package/dist/index.es334.js +164 -0
  1344. package/dist/index.es334.js.map +1 -0
  1345. package/dist/index.es335.js +142 -0
  1346. package/dist/index.es335.js.map +1 -0
  1347. package/dist/index.es336.js +31 -0
  1348. package/dist/index.es336.js.map +1 -0
  1349. package/dist/index.es337.js +6 -0
  1350. package/dist/index.es337.js.map +1 -0
  1351. package/dist/index.es338.js +8 -0
  1352. package/dist/index.es338.js.map +1 -0
  1353. package/dist/index.es339.js +73 -0
  1354. package/dist/index.es339.js.map +1 -0
  1355. package/dist/index.es340.js +19 -0
  1356. package/dist/index.es340.js.map +1 -0
  1357. package/dist/index.es341.js +65 -0
  1358. package/dist/index.es341.js.map +1 -0
  1359. package/dist/index.es342.js +47 -0
  1360. package/dist/index.es342.js.map +1 -0
  1361. package/dist/index.es343.js +25 -0
  1362. package/dist/index.es343.js.map +1 -0
  1363. package/dist/index.es344.js +11 -0
  1364. package/dist/index.es344.js.map +1 -0
  1365. package/dist/index.es345.js +40 -0
  1366. package/dist/index.es345.js.map +1 -0
  1367. package/dist/index.es346.js +132 -0
  1368. package/dist/index.es346.js.map +1 -0
  1369. package/dist/index.es347.js +48 -0
  1370. package/dist/index.es347.js.map +1 -0
  1371. package/dist/index.es348.js +223 -0
  1372. package/dist/index.es348.js.map +1 -0
  1373. package/dist/index.es349.js +40 -0
  1374. package/dist/index.es349.js.map +1 -0
  1375. package/dist/index.es350.js +286 -0
  1376. package/dist/index.es350.js.map +1 -0
  1377. package/dist/index.es351.js +63 -0
  1378. package/dist/index.es351.js.map +1 -0
  1379. package/dist/index.es352.js +54 -0
  1380. package/dist/index.es352.js.map +1 -0
  1381. package/dist/index.es353.js +251 -0
  1382. package/dist/index.es353.js.map +1 -0
  1383. package/dist/index.es354.js +30 -0
  1384. package/dist/index.es354.js.map +1 -0
  1385. package/dist/index.es355.js +7 -0
  1386. package/dist/index.es355.js.map +1 -0
  1387. package/dist/index.es356.js +7 -0
  1388. package/dist/index.es356.js.map +1 -0
  1389. package/dist/index.es357.js +28 -0
  1390. package/dist/index.es357.js.map +1 -0
  1391. package/dist/index.es358.js +261 -0
  1392. package/dist/index.es358.js.map +1 -0
  1393. package/dist/index.es359.js +108 -0
  1394. package/dist/index.es359.js.map +1 -0
  1395. package/dist/index.es360.js +206 -0
  1396. package/dist/index.es360.js.map +1 -0
  1397. package/dist/index.es361.js +45 -0
  1398. package/dist/index.es361.js.map +1 -0
  1399. package/dist/index.es362.js +18 -0
  1400. package/dist/index.es362.js.map +1 -0
  1401. package/dist/index.es363.js +11 -0
  1402. package/dist/index.es363.js.map +1 -0
  1403. package/dist/index.es364.js +64 -0
  1404. package/dist/index.es364.js.map +1 -0
  1405. package/dist/index.es365.js +50 -0
  1406. package/dist/index.es365.js.map +1 -0
  1407. package/dist/index.es366.js +45 -0
  1408. package/dist/index.es366.js.map +1 -0
  1409. package/dist/index.es367.js +92 -0
  1410. package/dist/index.es367.js.map +1 -0
  1411. package/dist/index.es368.js +89 -0
  1412. package/dist/index.es368.js.map +1 -0
  1413. package/dist/index.es369.js +57 -0
  1414. package/dist/index.es369.js.map +1 -0
  1415. package/dist/index.es370.js +61 -0
  1416. package/dist/index.es370.js.map +1 -0
  1417. package/dist/index.es371.js +58 -0
  1418. package/dist/index.es371.js.map +1 -0
  1419. package/dist/index.es372.js +147 -0
  1420. package/dist/index.es372.js.map +1 -0
  1421. package/dist/index.es373.js +58 -0
  1422. package/dist/index.es373.js.map +1 -0
  1423. package/dist/index.es374.js +85 -0
  1424. package/dist/index.es374.js.map +1 -0
  1425. package/dist/index.es375.js +9 -0
  1426. package/dist/index.es375.js.map +1 -0
  1427. package/dist/index.es376.js +48 -0
  1428. package/dist/index.es376.js.map +1 -0
  1429. package/dist/index.es377.js +13 -0
  1430. package/dist/index.es377.js.map +1 -0
  1431. package/dist/index.es378.js +35 -0
  1432. package/dist/index.es378.js.map +1 -0
  1433. package/dist/index.es379.js +31 -0
  1434. package/dist/index.es379.js.map +1 -0
  1435. package/dist/index.es38.js +1 -1
  1436. package/dist/index.es380.js +1360 -0
  1437. package/dist/index.es380.js.map +1 -0
  1438. package/dist/index.es381.js +9 -0
  1439. package/dist/index.es381.js.map +1 -0
  1440. package/dist/index.es382.js +12 -0
  1441. package/dist/index.es382.js.map +1 -0
  1442. package/dist/index.es383.js +10 -0
  1443. package/dist/index.es383.js.map +1 -0
  1444. package/dist/index.es384.js +120 -0
  1445. package/dist/index.es384.js.map +1 -0
  1446. package/dist/index.es385.js +105 -0
  1447. package/dist/index.es385.js.map +1 -0
  1448. package/dist/index.es386.js +23 -0
  1449. package/dist/index.es386.js.map +1 -0
  1450. package/dist/index.es387.js +95 -0
  1451. package/dist/index.es387.js.map +1 -0
  1452. package/dist/index.es388.js +68 -0
  1453. package/dist/index.es388.js.map +1 -0
  1454. package/dist/index.es389.js +16 -0
  1455. package/dist/index.es389.js.map +1 -0
  1456. package/dist/index.es39.js +1 -1
  1457. package/dist/index.es390.js +61 -0
  1458. package/dist/index.es390.js.map +1 -0
  1459. package/dist/index.es391.js +55 -0
  1460. package/dist/index.es391.js.map +1 -0
  1461. package/dist/index.es392.js +23 -0
  1462. package/dist/index.es392.js.map +1 -0
  1463. package/dist/index.es393.js +34 -0
  1464. package/dist/index.es393.js.map +1 -0
  1465. package/dist/index.es394.js +47 -0
  1466. package/dist/index.es394.js.map +1 -0
  1467. package/dist/index.es395.js +35 -0
  1468. package/dist/index.es395.js.map +1 -0
  1469. package/dist/index.es396.js +59 -0
  1470. package/dist/index.es396.js.map +1 -0
  1471. package/dist/index.es397.js +62 -0
  1472. package/dist/index.es397.js.map +1 -0
  1473. package/dist/index.es398.js +32 -0
  1474. package/dist/index.es398.js.map +1 -0
  1475. package/dist/index.es399.js +53 -0
  1476. package/dist/index.es399.js.map +1 -0
  1477. package/dist/index.es40.js +2 -2
  1478. package/dist/index.es400.js +128 -0
  1479. package/dist/index.es400.js.map +1 -0
  1480. package/dist/index.es401.js +44 -0
  1481. package/dist/index.es401.js.map +1 -0
  1482. package/dist/index.es402.js +29 -0
  1483. package/dist/index.es402.js.map +1 -0
  1484. package/dist/index.es403.js +37 -0
  1485. package/dist/index.es403.js.map +1 -0
  1486. package/dist/index.es404.js +28 -0
  1487. package/dist/index.es404.js.map +1 -0
  1488. package/dist/index.es405.js +69 -0
  1489. package/dist/index.es405.js.map +1 -0
  1490. package/dist/index.es406.js +49 -0
  1491. package/dist/index.es406.js.map +1 -0
  1492. package/dist/index.es407.js +27 -0
  1493. package/dist/index.es407.js.map +1 -0
  1494. package/dist/index.es408.js +48 -0
  1495. package/dist/index.es408.js.map +1 -0
  1496. package/dist/index.es409.js +19 -0
  1497. package/dist/index.es409.js.map +1 -0
  1498. package/dist/index.es410.js +38 -0
  1499. package/dist/index.es410.js.map +1 -0
  1500. package/dist/index.es411.js +49 -0
  1501. package/dist/index.es411.js.map +1 -0
  1502. package/dist/index.es412.js +35 -0
  1503. package/dist/index.es412.js.map +1 -0
  1504. package/dist/index.es413.js +37 -0
  1505. package/dist/index.es413.js.map +1 -0
  1506. package/dist/index.es414.js +29 -0
  1507. package/dist/index.es414.js.map +1 -0
  1508. package/dist/index.es415.js +68 -0
  1509. package/dist/index.es415.js.map +1 -0
  1510. package/dist/index.es416.js +105 -0
  1511. package/dist/index.es416.js.map +1 -0
  1512. package/dist/index.es417.js +27 -0
  1513. package/dist/index.es417.js.map +1 -0
  1514. package/dist/index.es418.js +111 -0
  1515. package/dist/index.es418.js.map +1 -0
  1516. package/dist/index.es419.js +50 -0
  1517. package/dist/index.es419.js.map +1 -0
  1518. package/dist/index.es42.js +2 -2
  1519. package/dist/index.es420.js +36 -0
  1520. package/dist/index.es420.js.map +1 -0
  1521. package/dist/index.es421.js +56 -0
  1522. package/dist/index.es421.js.map +1 -0
  1523. package/dist/index.es422.js +174 -0
  1524. package/dist/index.es422.js.map +1 -0
  1525. package/dist/index.es423.js +61 -0
  1526. package/dist/index.es423.js.map +1 -0
  1527. package/dist/index.es424.js +62 -0
  1528. package/dist/index.es424.js.map +1 -0
  1529. package/dist/index.es425.js +87 -0
  1530. package/dist/index.es425.js.map +1 -0
  1531. package/dist/index.es426.js +26 -0
  1532. package/dist/index.es426.js.map +1 -0
  1533. package/dist/index.es427.js +56 -0
  1534. package/dist/index.es427.js.map +1 -0
  1535. package/dist/index.es428.js +55 -0
  1536. package/dist/index.es428.js.map +1 -0
  1537. package/dist/index.es429.js +8 -0
  1538. package/dist/index.es429.js.map +1 -0
  1539. package/dist/index.es43.js +2 -2
  1540. package/dist/index.es430.js +8 -0
  1541. package/dist/index.es430.js.map +1 -0
  1542. package/dist/index.es431.js +23 -0
  1543. package/dist/index.es431.js.map +1 -0
  1544. package/dist/index.es432.js +7 -0
  1545. package/dist/index.es432.js.map +1 -0
  1546. package/dist/index.es433.js +11 -0
  1547. package/dist/index.es433.js.map +1 -0
  1548. package/dist/index.es434.js +10 -0
  1549. package/dist/index.es434.js.map +1 -0
  1550. package/dist/index.es435.js +7 -0
  1551. package/dist/index.es435.js.map +1 -0
  1552. package/dist/index.es436.js +5 -0
  1553. package/dist/index.es436.js.map +1 -0
  1554. package/dist/index.es437.js +9 -0
  1555. package/dist/index.es437.js.map +1 -0
  1556. package/dist/index.es438.js +13 -0
  1557. package/dist/index.es438.js.map +1 -0
  1558. package/dist/index.es439.js +8 -0
  1559. package/dist/index.es439.js.map +1 -0
  1560. package/dist/index.es44.js +2 -2
  1561. package/dist/index.es440.js +7 -0
  1562. package/dist/index.es440.js.map +1 -0
  1563. package/dist/index.es441.js +6 -0
  1564. package/dist/index.es441.js.map +1 -0
  1565. package/dist/index.es442.js +7 -0
  1566. package/dist/index.es442.js.map +1 -0
  1567. package/dist/index.es443.js +9 -0
  1568. package/dist/index.es443.js.map +1 -0
  1569. package/dist/index.es444.js +11 -0
  1570. package/dist/index.es444.js.map +1 -0
  1571. package/dist/index.es445.js +8 -0
  1572. package/dist/index.es445.js.map +1 -0
  1573. package/dist/index.es446.js +10 -0
  1574. package/dist/index.es446.js.map +1 -0
  1575. package/dist/index.es447.js +9 -0
  1576. package/dist/index.es447.js.map +1 -0
  1577. package/dist/index.es448.js +12 -0
  1578. package/dist/index.es448.js.map +1 -0
  1579. package/dist/index.es449.js +8 -0
  1580. package/dist/index.es449.js.map +1 -0
  1581. package/dist/index.es450.js +10 -0
  1582. package/dist/index.es450.js.map +1 -0
  1583. package/dist/index.es451.js +10 -0
  1584. package/dist/index.es451.js.map +1 -0
  1585. package/dist/index.es452.js +8 -0
  1586. package/dist/index.es452.js.map +1 -0
  1587. package/dist/index.es453.js +13 -0
  1588. package/dist/index.es453.js.map +1 -0
  1589. package/dist/index.es454.js +10 -0
  1590. package/dist/index.es454.js.map +1 -0
  1591. package/dist/index.es455.js +21 -0
  1592. package/dist/index.es455.js.map +1 -0
  1593. package/dist/index.es456.js +15 -0
  1594. package/dist/index.es456.js.map +1 -0
  1595. package/dist/index.es457.js +7 -0
  1596. package/dist/index.es457.js.map +1 -0
  1597. package/dist/index.es458.js +9 -0
  1598. package/dist/index.es458.js.map +1 -0
  1599. package/dist/index.es459.js +19 -0
  1600. package/dist/index.es459.js.map +1 -0
  1601. package/dist/index.es46.js +1 -1
  1602. package/dist/index.es460.js +11 -0
  1603. package/dist/index.es460.js.map +1 -0
  1604. package/dist/index.es461.js +44 -0
  1605. package/dist/index.es461.js.map +1 -0
  1606. package/dist/index.es462.js +80 -0
  1607. package/dist/index.es462.js.map +1 -0
  1608. package/dist/index.es463.js +108 -0
  1609. package/dist/index.es463.js.map +1 -0
  1610. package/dist/index.es464.js +34 -0
  1611. package/dist/index.es464.js.map +1 -0
  1612. package/dist/index.es465.js +25 -0
  1613. package/dist/index.es465.js.map +1 -0
  1614. package/dist/index.es466.js +14 -0
  1615. package/dist/index.es466.js.map +1 -0
  1616. package/dist/index.es467.js +721 -0
  1617. package/dist/index.es467.js.map +1 -0
  1618. package/dist/index.es468.js +26 -0
  1619. package/dist/index.es468.js.map +1 -0
  1620. package/dist/index.es469.js +24 -0
  1621. package/dist/index.es469.js.map +1 -0
  1622. package/dist/index.es47.js +2 -2
  1623. package/dist/index.es470.js +178 -0
  1624. package/dist/index.es470.js.map +1 -0
  1625. package/dist/index.es471.js +24 -0
  1626. package/dist/index.es471.js.map +1 -0
  1627. package/dist/index.es472.js +241 -0
  1628. package/dist/index.es472.js.map +1 -0
  1629. package/dist/index.es473.js +11 -0
  1630. package/dist/index.es473.js.map +1 -0
  1631. package/dist/index.es474.js +13 -0
  1632. package/dist/index.es474.js.map +1 -0
  1633. package/dist/index.es475.js +9 -0
  1634. package/dist/index.es475.js.map +1 -0
  1635. package/dist/index.es476.js +18 -0
  1636. package/dist/index.es476.js.map +1 -0
  1637. package/dist/index.es477.js +26 -0
  1638. package/dist/index.es477.js.map +1 -0
  1639. package/dist/index.es478.js +12 -0
  1640. package/dist/index.es478.js.map +1 -0
  1641. package/dist/index.es479.js +8 -0
  1642. package/dist/index.es479.js.map +1 -0
  1643. package/dist/index.es48.js +2 -2
  1644. package/dist/index.es480.js +118 -0
  1645. package/dist/index.es480.js.map +1 -0
  1646. package/dist/index.es481.js +90 -0
  1647. package/dist/index.es481.js.map +1 -0
  1648. package/dist/index.es482.js +78 -0
  1649. package/dist/index.es482.js.map +1 -0
  1650. package/dist/index.es483.js +13 -0
  1651. package/dist/index.es483.js.map +1 -0
  1652. package/dist/index.es484.js +158 -0
  1653. package/dist/index.es484.js.map +1 -0
  1654. package/dist/index.es485.js +160 -0
  1655. package/dist/index.es485.js.map +1 -0
  1656. package/dist/index.es486.js +18 -0
  1657. package/dist/index.es486.js.map +1 -0
  1658. package/dist/index.es487.js +19 -0
  1659. package/dist/index.es487.js.map +1 -0
  1660. package/dist/index.es488.js +9 -0
  1661. package/dist/index.es488.js.map +1 -0
  1662. package/dist/index.es489.js +10 -0
  1663. package/dist/index.es489.js.map +1 -0
  1664. package/dist/index.es490.js +10 -0
  1665. package/dist/index.es490.js.map +1 -0
  1666. package/dist/index.es491.js +29 -0
  1667. package/dist/index.es491.js.map +1 -0
  1668. package/dist/index.es492.js +9 -0
  1669. package/dist/index.es492.js.map +1 -0
  1670. package/dist/index.es493.js +43 -0
  1671. package/dist/index.es493.js.map +1 -0
  1672. package/dist/index.es494.js +10 -0
  1673. package/dist/index.es494.js.map +1 -0
  1674. package/dist/index.es495.js +11 -0
  1675. package/dist/index.es495.js.map +1 -0
  1676. package/dist/index.es496.js +9 -0
  1677. package/dist/index.es496.js.map +1 -0
  1678. package/dist/index.es497.js +9 -0
  1679. package/dist/index.es497.js.map +1 -0
  1680. package/dist/index.es498.js +6 -0
  1681. package/dist/index.es498.js.map +1 -0
  1682. package/dist/index.es499.js +42 -0
  1683. package/dist/index.es499.js.map +1 -0
  1684. package/dist/index.es50.js +1 -1
  1685. package/dist/index.es500.js +6 -0
  1686. package/dist/index.es500.js.map +1 -0
  1687. package/dist/index.es501.js +16 -0
  1688. package/dist/index.es501.js.map +1 -0
  1689. package/dist/index.es502.js +8 -0
  1690. package/dist/index.es502.js.map +1 -0
  1691. package/dist/index.es503.js +12 -0
  1692. package/dist/index.es503.js.map +1 -0
  1693. package/dist/index.es504.js +5 -0
  1694. package/dist/index.es504.js.map +1 -0
  1695. package/dist/index.es505.js +33 -0
  1696. package/dist/index.es505.js.map +1 -0
  1697. package/dist/index.es506.js +19 -0
  1698. package/dist/index.es506.js.map +1 -0
  1699. package/dist/index.es507.js +8 -0
  1700. package/dist/index.es507.js.map +1 -0
  1701. package/dist/index.es508.js +6 -0
  1702. package/dist/index.es508.js.map +1 -0
  1703. package/dist/index.es509.js +9 -0
  1704. package/dist/index.es509.js.map +1 -0
  1705. package/dist/index.es51.js +1 -1
  1706. package/dist/index.es510.js +9 -0
  1707. package/dist/index.es510.js.map +1 -0
  1708. package/dist/index.es511.js +9 -0
  1709. package/dist/index.es511.js.map +1 -0
  1710. package/dist/index.es512.js +7 -0
  1711. package/dist/index.es512.js.map +1 -0
  1712. package/dist/index.es513.js +7 -0
  1713. package/dist/index.es513.js.map +1 -0
  1714. package/dist/index.es514.js +7 -0
  1715. package/dist/index.es514.js.map +1 -0
  1716. package/dist/index.es515.js +7 -0
  1717. package/dist/index.es515.js.map +1 -0
  1718. package/dist/index.es516.js +7 -0
  1719. package/dist/index.es516.js.map +1 -0
  1720. package/dist/index.es517.js +18 -0
  1721. package/dist/index.es517.js.map +1 -0
  1722. package/dist/index.es518.js +11 -0
  1723. package/dist/index.es518.js.map +1 -0
  1724. package/dist/index.es519.js +7 -0
  1725. package/dist/index.es519.js.map +1 -0
  1726. package/dist/index.es52.js +1 -1
  1727. package/dist/index.es520.js +15 -0
  1728. package/dist/index.es520.js.map +1 -0
  1729. package/dist/index.es521.js +9 -0
  1730. package/dist/index.es521.js.map +1 -0
  1731. package/dist/index.es522.js +7 -0
  1732. package/dist/index.es522.js.map +1 -0
  1733. package/dist/index.es523.js +8 -0
  1734. package/dist/index.es523.js.map +1 -0
  1735. package/dist/index.es524.js +9 -0
  1736. package/dist/index.es524.js.map +1 -0
  1737. package/dist/index.es525.js +10 -0
  1738. package/dist/index.es525.js.map +1 -0
  1739. package/dist/index.es526.js +9 -0
  1740. package/dist/index.es526.js.map +1 -0
  1741. package/dist/index.es527.js +9 -0
  1742. package/dist/index.es527.js.map +1 -0
  1743. package/dist/index.es528.js +11 -0
  1744. package/dist/index.es528.js.map +1 -0
  1745. package/dist/index.es529.js +14 -0
  1746. package/dist/index.es529.js.map +1 -0
  1747. package/dist/index.es530.js +28 -0
  1748. package/dist/index.es530.js.map +1 -0
  1749. package/dist/index.es531.js +8 -0
  1750. package/dist/index.es531.js.map +1 -0
  1751. package/dist/index.es532.js +9 -0
  1752. package/dist/index.es532.js.map +1 -0
  1753. package/dist/index.es533.js +11 -0
  1754. package/dist/index.es533.js.map +1 -0
  1755. package/dist/index.es534.js +7 -0
  1756. package/dist/index.es534.js.map +1 -0
  1757. package/dist/index.es535.js +7 -0
  1758. package/dist/index.es535.js.map +1 -0
  1759. package/dist/index.es536.js +7 -0
  1760. package/dist/index.es536.js.map +1 -0
  1761. package/dist/index.es537.js +7 -0
  1762. package/dist/index.es537.js.map +1 -0
  1763. package/dist/index.es538.js +7 -0
  1764. package/dist/index.es538.js.map +1 -0
  1765. package/dist/index.es539.js +8 -0
  1766. package/dist/index.es539.js.map +1 -0
  1767. package/dist/index.es540.js +9 -0
  1768. package/dist/index.es540.js.map +1 -0
  1769. package/dist/index.es541.js +12 -0
  1770. package/dist/index.es541.js.map +1 -0
  1771. package/dist/index.es542.js +8 -0
  1772. package/dist/index.es542.js.map +1 -0
  1773. package/dist/index.es543.js +9 -0
  1774. package/dist/index.es543.js.map +1 -0
  1775. package/dist/index.es544.js +8 -0
  1776. package/dist/index.es544.js.map +1 -0
  1777. package/dist/index.es545.js +7 -0
  1778. package/dist/index.es545.js.map +1 -0
  1779. package/dist/index.es546.js +14 -0
  1780. package/dist/index.es546.js.map +1 -0
  1781. package/dist/index.es547.js +34 -0
  1782. package/dist/index.es547.js.map +1 -0
  1783. package/dist/index.es548.js +83 -0
  1784. package/dist/index.es548.js.map +1 -0
  1785. package/dist/index.es549.js +20 -0
  1786. package/dist/index.es549.js.map +1 -0
  1787. package/dist/index.es550.js +50 -0
  1788. package/dist/index.es550.js.map +1 -0
  1789. package/dist/index.es551.js +227 -0
  1790. package/dist/index.es551.js.map +1 -0
  1791. package/dist/index.es552.js +21 -0
  1792. package/dist/index.es552.js.map +1 -0
  1793. package/dist/index.es553.js +14 -0
  1794. package/dist/index.es553.js.map +1 -0
  1795. package/dist/index.es554.js +9 -0
  1796. package/dist/index.es554.js.map +1 -0
  1797. package/dist/index.es555.js +8 -0
  1798. package/dist/index.es555.js.map +1 -0
  1799. package/dist/index.es556.js +8 -0
  1800. package/dist/index.es556.js.map +1 -0
  1801. package/dist/index.es557.js +9 -0
  1802. package/dist/index.es557.js.map +1 -0
  1803. package/dist/index.es558.js +10 -0
  1804. package/dist/index.es558.js.map +1 -0
  1805. package/dist/index.es559.js +10 -0
  1806. package/dist/index.es559.js.map +1 -0
  1807. package/dist/index.es56.js +2 -2
  1808. package/dist/index.es560.js +10 -0
  1809. package/dist/index.es560.js.map +1 -0
  1810. package/dist/index.es561.js +10 -0
  1811. package/dist/index.es561.js.map +1 -0
  1812. package/dist/index.es562.js +17 -0
  1813. package/dist/index.es562.js.map +1 -0
  1814. package/dist/index.es563.js +12 -0
  1815. package/dist/index.es563.js.map +1 -0
  1816. package/dist/index.es564.js +3029 -0
  1817. package/dist/index.es564.js.map +1 -0
  1818. package/dist/index.es565.js +5 -0
  1819. package/dist/index.es565.js.map +1 -0
  1820. package/dist/index.es566.js +11 -0
  1821. package/dist/index.es566.js.map +1 -0
  1822. package/dist/index.es567.js +10 -0
  1823. package/dist/index.es567.js.map +1 -0
  1824. package/dist/index.es568.js +21 -0
  1825. package/dist/index.es568.js.map +1 -0
  1826. package/dist/index.es569.js +14 -0
  1827. package/dist/index.es569.js.map +1 -0
  1828. package/dist/index.es57.js +3 -3
  1829. package/dist/index.es570.js +8 -0
  1830. package/dist/index.es570.js.map +1 -0
  1831. package/dist/index.es571.js +7 -0
  1832. package/dist/index.es571.js.map +1 -0
  1833. package/dist/index.es572.js +7 -0
  1834. package/dist/index.es572.js.map +1 -0
  1835. package/dist/index.es573.js +21 -0
  1836. package/dist/index.es573.js.map +1 -0
  1837. package/dist/index.es574.js +8 -0
  1838. package/dist/index.es574.js.map +1 -0
  1839. package/dist/index.es575.js +8 -0
  1840. package/dist/index.es575.js.map +1 -0
  1841. package/dist/index.es576.js +7 -0
  1842. package/dist/index.es576.js.map +1 -0
  1843. package/dist/index.es577.js +7 -0
  1844. package/dist/index.es577.js.map +1 -0
  1845. package/dist/index.es578.js +18 -0
  1846. package/dist/index.es578.js.map +1 -0
  1847. package/dist/index.es579.js +10 -0
  1848. package/dist/index.es579.js.map +1 -0
  1849. package/dist/index.es58.js +1 -1
  1850. package/dist/index.es580.js +11 -0
  1851. package/dist/index.es580.js.map +1 -0
  1852. package/dist/index.es581.js +9 -0
  1853. package/dist/index.es581.js.map +1 -0
  1854. package/dist/index.es582.js +9 -0
  1855. package/dist/index.es582.js.map +1 -0
  1856. package/dist/index.es583.js +9 -0
  1857. package/dist/index.es583.js.map +1 -0
  1858. package/dist/index.es584.js +9 -0
  1859. package/dist/index.es584.js.map +1 -0
  1860. package/dist/index.es585.js +9 -0
  1861. package/dist/index.es585.js.map +1 -0
  1862. package/dist/index.es586.js +9 -0
  1863. package/dist/index.es586.js.map +1 -0
  1864. package/dist/index.es587.js +10 -0
  1865. package/dist/index.es587.js.map +1 -0
  1866. package/dist/index.es588.js +41 -0
  1867. package/dist/index.es588.js.map +1 -0
  1868. package/dist/index.es589.js +46 -0
  1869. package/dist/index.es589.js.map +1 -0
  1870. package/dist/index.es590.js +37 -0
  1871. package/dist/index.es590.js.map +1 -0
  1872. package/dist/index.es591.js +8 -0
  1873. package/dist/index.es591.js.map +1 -0
  1874. package/dist/index.es592.js +8 -0
  1875. package/dist/index.es592.js.map +1 -0
  1876. package/dist/index.es593.js +7 -0
  1877. package/dist/index.es593.js.map +1 -0
  1878. package/dist/index.es594.js +21 -0
  1879. package/dist/index.es594.js.map +1 -0
  1880. package/dist/index.es595.js +9 -0
  1881. package/dist/index.es595.js.map +1 -0
  1882. package/dist/index.es596.js +47 -0
  1883. package/dist/index.es596.js.map +1 -0
  1884. package/dist/index.es597.js +6 -0
  1885. package/dist/index.es597.js.map +1 -0
  1886. package/dist/index.es598.js +25 -0
  1887. package/dist/index.es598.js.map +1 -0
  1888. package/dist/index.es599.js +37 -0
  1889. package/dist/index.es599.js.map +1 -0
  1890. package/dist/index.es60.js +1 -1
  1891. package/dist/index.es600.js +174 -0
  1892. package/dist/index.es600.js.map +1 -0
  1893. package/dist/index.es601.js +31 -0
  1894. package/dist/index.es601.js.map +1 -0
  1895. package/dist/index.es602.js +7 -0
  1896. package/dist/index.es602.js.map +1 -0
  1897. package/dist/index.es603.js +13 -0
  1898. package/dist/index.es603.js.map +1 -0
  1899. package/dist/index.es604.js +9 -0
  1900. package/dist/index.es604.js.map +1 -0
  1901. package/dist/index.es605.js +8 -0
  1902. package/dist/index.es605.js.map +1 -0
  1903. package/dist/index.es606.js +9 -0
  1904. package/dist/index.es606.js.map +1 -0
  1905. package/dist/index.es607.js +6 -0
  1906. package/dist/index.es607.js.map +1 -0
  1907. package/dist/index.es608.js +7 -0
  1908. package/dist/index.es608.js.map +1 -0
  1909. package/dist/index.es609.js +8 -0
  1910. package/dist/index.es609.js.map +1 -0
  1911. package/dist/index.es61.js +1 -1
  1912. package/dist/index.es610.js +8 -0
  1913. package/dist/index.es610.js.map +1 -0
  1914. package/dist/index.es611.js +14 -0
  1915. package/dist/index.es611.js.map +1 -0
  1916. package/dist/index.es612.js +10 -0
  1917. package/dist/index.es612.js.map +1 -0
  1918. package/dist/index.es613.js +10 -0
  1919. package/dist/index.es613.js.map +1 -0
  1920. package/dist/index.es614.js +8 -0
  1921. package/dist/index.es614.js.map +1 -0
  1922. package/dist/index.es615.js +215 -0
  1923. package/dist/index.es615.js.map +1 -0
  1924. package/dist/index.es616.js +246 -0
  1925. package/dist/index.es616.js.map +1 -0
  1926. package/dist/index.es617.js +39 -0
  1927. package/dist/index.es617.js.map +1 -0
  1928. package/dist/index.es618.js +18 -0
  1929. package/dist/index.es618.js.map +1 -0
  1930. package/dist/index.es619.js +567 -0
  1931. package/dist/index.es619.js.map +1 -0
  1932. package/dist/index.es620.js +59 -0
  1933. package/dist/index.es620.js.map +1 -0
  1934. package/dist/index.es621.js +338 -0
  1935. package/dist/index.es621.js.map +1 -0
  1936. package/dist/index.es622.js +1103 -0
  1937. package/dist/index.es622.js.map +1 -0
  1938. package/dist/index.es623.js +41 -0
  1939. package/dist/index.es623.js.map +1 -0
  1940. package/dist/index.es624.js +39 -0
  1941. package/dist/index.es624.js.map +1 -0
  1942. package/dist/index.es625.js +51 -0
  1943. package/dist/index.es625.js.map +1 -0
  1944. package/dist/index.es626.js +65 -0
  1945. package/dist/index.es626.js.map +1 -0
  1946. package/dist/index.es627.js +11 -0
  1947. package/dist/index.es627.js.map +1 -0
  1948. package/dist/index.es628.js +6 -0
  1949. package/dist/index.es628.js.map +1 -0
  1950. package/dist/index.es629.js +298 -0
  1951. package/dist/index.es629.js.map +1 -0
  1952. package/dist/index.es63.js +1 -1
  1953. package/dist/index.es630.js +27 -0
  1954. package/dist/index.es630.js.map +1 -0
  1955. package/dist/index.es631.js +53 -0
  1956. package/dist/index.es631.js.map +1 -0
  1957. package/dist/index.es632.js +9 -0
  1958. package/dist/index.es632.js.map +1 -0
  1959. package/dist/index.es67.js +10 -6
  1960. package/dist/index.es67.js.map +1 -1
  1961. package/dist/index.es68.js +163 -13731
  1962. package/dist/index.es68.js.map +1 -1
  1963. package/dist/index.es69.js +1 -1
  1964. package/dist/index.es69.js.map +1 -1
  1965. package/dist/index.es70.js.map +1 -1
  1966. package/dist/index.es71.js.map +1 -1
  1967. package/dist/index.es72.js.map +1 -1
  1968. package/dist/index.es73.js +15 -15
  1969. package/dist/index.es73.js.map +1 -1
  1970. package/dist/index.es74.js +1 -1
  1971. package/dist/index.es74.js.map +1 -1
  1972. package/dist/index.es75.js +4 -4
  1973. package/dist/index.es75.js.map +1 -1
  1974. package/dist/index.es76.js +10 -10
  1975. package/dist/index.es76.js.map +1 -1
  1976. package/dist/index.es77.js.map +1 -1
  1977. package/dist/index.es78.js.map +1 -1
  1978. package/dist/index.es93.js +1 -1
  1979. package/package.json +3 -3
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es298.js","sources":["../../../node_modules/@allmaps/render/dist/maps/WebGL2WarpedMap.js"],"sourcesContent":["import { applyHomogeneousTransform, createHomogeneousTransform, invertHomogeneousTransform } from \"../shared/homogeneous-transform.js\";\nimport { WarpedMapEvent, WarpedMapEventType } from \"../shared/events.js\";\nimport { TriangulatedWarpedMap } from \"./TriangulatedWarpedMap.js\";\nimport { createBuffer } from \"../shared/webgl2.js\";\nimport { getTilesAtOtherScaleFactors, tileKey } from \"../shared/tiles.js\";\nimport { hexToFractionalOpaqueRgba, lineStringToLines, mergeOptions, pointsAndPointsToLines, subSetArray } from \"@allmaps/stdlib\";\nimport { throttle } from \"lodash-es\";\nimport { black, blue, darkblue, green, pink, red, white, yellow } from \"@allmaps/tailwind\";\n//#region src/maps/WebGL2WarpedMap.ts\nvar THROTTLE_UPDATE_TEXTURES_WAIT_MS = 200;\nvar THROTTLE_UPDATE_TEXTURES_OPTIONS = {\n\tleading: true,\n\ttrailing: true\n};\nvar DEFAULT_RENDER_LINE_GROUP_OPTIONS = {\n\tviewportSize: 6,\n\tcolor: black,\n\tviewportBorderSize: 0,\n\tborderColor: white\n};\nvar DEFAULT_RENDER_POINT_GROUP_OPTION = {\n\tviewportSize: 10,\n\tcolor: black,\n\tviewportBorderSize: 1,\n\tborderColor: white\n};\nvar DEFAULT_SPECIFIC_WEBGL2_WARPED_MAP_OPTIONS = {\n\trenderGcps: false,\n\trenderGcpsColor: blue,\n\trenderTransformedGcps: false,\n\trenderTransformedGcpsColor: pink,\n\trenderVectors: false,\n\trenderVectorsSize: 4,\n\trenderVectorsColor: black,\n\trenderFullMask: false,\n\trenderFullMaskSize: 4,\n\trenderFullMaskColor: green,\n\trenderMask: false,\n\trenderMaskSize: 4,\n\trenderMaskColor: pink,\n\trenderAppliedMask: false,\n\trenderAppliedMaskSize: 4,\n\trenderAppliedMaskColor: pink,\n\topacity: 1,\n\tsaturation: 1,\n\tremoveColor: false,\n\tremoveColorColor: black,\n\tremoveColorThreshold: .3,\n\tremoveColorHardness: .7,\n\tcolorize: false,\n\tcolorizeColor: pink,\n\trenderGrid: false,\n\trenderGridColor: black,\n\tdistortionColor00: red,\n\tdistortionColor01: darkblue,\n\tdistortionColor1: green,\n\tdistortionColor2: yellow,\n\tdistortionColor3: red,\n\tdebugTiles: false,\n\tdebugTriangles: false\n};\nvar DEFAULT_SHOULD_RENDER_OPTIONS = { checkOpacity: false };\nvar TEXTURES_MAX_HIGHER_LOG2_SCALE_FACTOR_DIFF = 5;\nvar TEXTURES_MAX_LOWER_LOG2_SCALE_FACTOR_DIFF = 1;\nfunction createWebGL2WarpedMapFactory(gl, mapProgram, linesProgram, pointsProgram) {\n\treturn (mapId, georeferencedMap, listOptions, mapOptions) => new WebGL2WarpedMap(mapId, georeferencedMap, gl, mapProgram, linesProgram, pointsProgram, listOptions, mapOptions);\n}\n/**\n* Class for WarpedMaps that are rendered with WebGL 2\n*/\nvar WebGL2WarpedMap = class WebGL2WarpedMap extends TriangulatedWarpedMap {\n\tgl;\n\tmapProgram;\n\tlinesProgram;\n\tpointsProgram;\n\tmapVao = null;\n\tlinesVao = null;\n\tpointsVao = null;\n\tlineGroups = [];\n\tpointGroups = [];\n\tcachedTilesByTileKey;\n\tcachedTilesByTileUrl;\n\tcachedTilesForTexture = [];\n\tpreviousCachedTilesForTexture = [];\n\tcachedTilesTextureArray = null;\n\tcachedTilesResourceOriginPointsAndSizesTexture = null;\n\tcachedTilesScaleFactorsTexture = null;\n\tinvertedRenderHomogeneousTransform;\n\tthrottledUpdateTextures;\n\t/**\n\t* Creates an instance of WebGL2WarpedMap.\n\t*\n\t* @constructor\n\t* @param mapId - ID of the map\n\t* @param georeferencedMap - Georeferenced map used to construct the WarpedMap\n\t* @param gl - WebGL rendering context\n\t* @param mapProgram - WebGL program for map\n\t* @param options - WarpedMapOptions\n\t*/\n\tconstructor(mapId, georeferencedMap, gl, mapProgram, linesProgram, pointsProgram, listOptions, mapOptions) {\n\t\tsuper(mapId, georeferencedMap, listOptions, mapOptions);\n\t\tthis.cachedTilesByTileKey = /* @__PURE__ */ new Map();\n\t\tthis.cachedTilesByTileUrl = /* @__PURE__ */ new Map();\n\t\tthis.gl = gl;\n\t\tthis.initializeWebGL(mapProgram, linesProgram, pointsProgram);\n\t\tthis.invertedRenderHomogeneousTransform = createHomogeneousTransform();\n\t\tthis.throttledUpdateTextures = throttle(this.updateTextures.bind(this), THROTTLE_UPDATE_TEXTURES_WAIT_MS, THROTTLE_UPDATE_TEXTURES_OPTIONS);\n\t}\n\tinitializeWebGL(mapProgram, linesProgram, pointsProgram) {\n\t\tthis.mapProgram = mapProgram;\n\t\tthis.linesProgram = linesProgram;\n\t\tthis.pointsProgram = pointsProgram;\n\t\tthis.mapVao = this.gl.createVertexArray();\n\t\tthis.linesVao = this.gl.createVertexArray();\n\t\tthis.pointsVao = this.gl.createVertexArray();\n\t\tthis.cachedTilesTextureArray = this.gl.createTexture();\n\t\tthis.cachedTilesScaleFactorsTexture = this.gl.createTexture();\n\t\tthis.cachedTilesResourceOriginPointsAndSizesTexture = this.gl.createTexture();\n\t}\n\t/**\n\t* Get default options\n\t*/\n\tstatic getDefaultOptions() {\n\t\treturn mergeOptions(DEFAULT_SPECIFIC_WEBGL2_WARPED_MAP_OPTIONS, super.getDefaultOptions());\n\t}\n\t/**\n\t* Get default options without the options overwritten by the georeferenced map\n\t*/\n\tstatic getDefaultWithoutGeoreferencedMapOptions() {\n\t\treturn mergeOptions(DEFAULT_SPECIFIC_WEBGL2_WARPED_MAP_OPTIONS, super.getDefaultWithoutGeoreferencedMapOptions());\n\t}\n\t/**\n\t* Set the defaultOptions\n\t*/\n\tsetDefaultOptions() {\n\t\tthis.defaultOptions = WebGL2WarpedMap.getDefaultOptions();\n\t}\n\t/**\n\t* Set the list options\n\t*\n\t* @param listOptions - list options\n\t* @param animationOptions - Animation options\n\t*/\n\tsetListOptions(listOptions, animationOptions) {\n\t\treturn super.setListOptions(listOptions, animationOptions);\n\t}\n\t/**\n\t* Set the map-specific options\n\t*\n\t* @param mapOptions - Map-specific options\n\t* @param animationOptions - Animation options\n\t*/\n\tsetMapOptions(mapOptions, animationOptions) {\n\t\treturn super.setMapOptions(mapOptions, animationOptions);\n\t}\n\t/**\n\t* Set the map-specific options, and the list options\n\t*\n\t* @param mapOptions - Map-specific options\n\t* @param listOptions - list options\n\t* @param animationOptions - Animation options\n\t*/\n\tsetMapAndListOptions(mapOptions, listOptions, animationOptions) {\n\t\treturn super.setMapAndListOptions(mapOptions, listOptions, animationOptions);\n\t}\n\tapplyOptions(animationOptions) {\n\t\tconst changedOptions = super.applyOptions(animationOptions);\n\t\tthis.options.opacity = (this.listOptions?.opacity ?? this.defaultOptions.opacity) * (this.mapOptions?.opacity ?? 1);\n\t\tthis.options.saturation = (this.listOptions?.saturation ?? this.defaultOptions.saturation) * (this.mapOptions?.saturation ?? 1);\n\t\treturn changedOptions;\n\t}\n\tshouldRenderMap(partialOptions) {\n\t\tconst options = mergeOptions(DEFAULT_SHOULD_RENDER_OPTIONS, partialOptions);\n\t\treturn super.shouldRenderMap(partialOptions) && this.options.renderMaps !== false && (options.checkOpacity ? this.options.opacity !== 0 : true);\n\t}\n\tshouldRenderLines() {\n\t\treturn super.shouldRenderLines() && this.options.renderLines !== false && (this.options.renderFullMask || this.options.renderMask || this.options.renderAppliedMask || this.options.renderVectors);\n\t}\n\tshouldRenderPoints() {\n\t\treturn super.shouldRenderPoints() && this.options.renderPoints !== false && (this.options.renderGcps || this.options.renderTransformedGcps);\n\t}\n\t/**\n\t* Update the vertex buffers of this warped map\n\t*\n\t* @param projectedGeoToClipHomogeneousTransform - Transform from projected geo coordinates to webgl2 coordinates in the [-1, 1] range. Equivalent to OpenLayers' projectionTransform.\n\t*/\n\tupdateVertexBuffers(projectedGeoToClipHomogeneousTransform) {\n\t\tthis.invertedRenderHomogeneousTransform = invertHomogeneousTransform(projectedGeoToClipHomogeneousTransform);\n\t\tif (this.shouldRenderMap()) this.updateVertexBuffersMap(projectedGeoToClipHomogeneousTransform);\n\t\tif (this.shouldRenderLines()) this.updateVertexBuffersLines(projectedGeoToClipHomogeneousTransform);\n\t\tif (this.shouldRenderPoints()) this.updateVertexBuffersPoints(projectedGeoToClipHomogeneousTransform);\n\t}\n\t/**\n\t* Clear textures for this map\n\t*/\n\tclearTextures() {}\n\t/**\n\t* Add cached tile to the textures of this map and update textures\n\t*\n\t* @param cachedTile\n\t*/\n\taddCachedTileAndUpdateTextures(cachedTile) {\n\t\tthis.cachedTilesByTileKey.set(cachedTile.fetchableTile.tileKey, cachedTile);\n\t\tthis.cachedTilesByTileUrl.set(cachedTile.fetchableTile.tileUrl, cachedTile);\n\t\tthis.throttledUpdateTextures();\n\t}\n\t/**\n\t* Remove cached tile from the textures of this map and update textures\n\t*\n\t* @param tileUrl\n\t*/\n\tremoveCachedTileAndUpdateTextures(tileUrl) {\n\t\tconst cachedTile = this.cachedTilesByTileUrl.get(tileUrl);\n\t\tif (!cachedTile) return;\n\t\tthis.cachedTilesByTileKey.delete(cachedTile.fetchableTile.tileKey);\n\t\tthis.cachedTilesByTileUrl.delete(tileUrl);\n\t\tthis.throttledUpdateTextures();\n\t}\n\tcancelThrottledFunctions() {\n\t\tthis.throttledUpdateTextures.cancel();\n\t}\n\tdestroy() {\n\t\tthis.gl.deleteVertexArray(this.mapVao);\n\t\tthis.gl.deleteVertexArray(this.linesVao);\n\t\tthis.gl.deleteVertexArray(this.pointsVao);\n\t\tthis.gl.deleteTexture(this.cachedTilesTextureArray);\n\t\tthis.gl.deleteTexture(this.cachedTilesScaleFactorsTexture);\n\t\tthis.gl.deleteTexture(this.cachedTilesResourceOriginPointsAndSizesTexture);\n\t\tthis.cancelThrottledFunctions();\n\t\tsuper.destroy();\n\t}\n\tsetLineGroups() {\n\t\tthis.lineGroups = [];\n\t\tif (this.options.renderFullMask) this.lineGroups.push({\n\t\t\tprojectedGeoLines: lineStringToLines(this.projectedGeoTriangulationFullMask),\n\t\t\tprojectedGeoPreviousLines: lineStringToLines(this.projectedGeoPreviousTriangulationFullMask),\n\t\t\tviewportSize: this.options.renderFullMaskSize,\n\t\t\tcolor: this.options.renderFullMaskColor,\n\t\t\tviewportBorderSize: this.options.renderFullMaskBorderSize,\n\t\t\tborderColor: this.options.renderFullMaskBorderColor\n\t\t});\n\t\tif (this.options.renderAppliedMask) this.lineGroups.push({\n\t\t\tprojectedGeoLines: lineStringToLines(this.projectedGeoTriangulationAppliedMask),\n\t\t\tprojectedGeoPreviousLines: lineStringToLines(this.projectedGeoPreviousTriangulationAppliedMask),\n\t\t\tviewportSize: this.options.renderAppliedMaskSize,\n\t\t\tcolor: this.options.renderAppliedMaskColor,\n\t\t\tviewportBorderSize: this.options.renderAppliedMaskBorderSize,\n\t\t\tborderColor: this.options.renderAppliedMaskBorderColor\n\t\t});\n\t\tif (this.options.renderMask) this.lineGroups.push({\n\t\t\tprojectedGeoLines: lineStringToLines(this.projectedGeoTriangulationMask),\n\t\t\tprojectedGeoPreviousLines: lineStringToLines(this.projectedGeoPreviousTriangulationMask),\n\t\t\tviewportSize: this.options.renderMaskSize,\n\t\t\tcolor: this.options.renderMaskColor,\n\t\t\tviewportBorderSize: this.options.renderMaskBorderSize,\n\t\t\tborderColor: this.options.renderMaskBorderColor\n\t\t});\n\t\tif (this.options.renderVectors) this.lineGroups.push({\n\t\t\tprojectedGeoLines: pointsAndPointsToLines(this.projectedGeoPoints, this.projectedGeoTransformedResourcePoints),\n\t\t\tprojectedGeoPreviousLines: pointsAndPointsToLines(this.projectedGeoPoints, this.projectedGeoPreviousTransformedResourcePoints),\n\t\t\tviewportSize: this.options.renderVectorsSize,\n\t\t\tcolor: this.options.renderVectorsColor,\n\t\t\tviewportBorderSize: this.options.renderVectorsBorderSize,\n\t\t\tborderColor: this.options.renderVectorsBorderColor\n\t\t});\n\t}\n\tsetPointGroups() {\n\t\tthis.pointGroups = [];\n\t\tif (this.options.renderGcps) this.pointGroups.push({\n\t\t\tprojectedGeoPoints: this.projectedGeoPoints,\n\t\t\tviewportSize: this.options.renderGcpsSize,\n\t\t\tcolor: this.options.renderGcpsColor,\n\t\t\tviewportBorderSize: this.options.renderGcpsBorderSize,\n\t\t\tborderColor: this.options.renderGcpsBorderColor\n\t\t});\n\t\tif (this.options.renderTransformedGcps) this.pointGroups.push({\n\t\t\tprojectedGeoPoints: this.projectedGeoTransformedResourcePoints,\n\t\t\tprojectedGeoPreviousPoints: this.projectedGeoPreviousTransformedResourcePoints,\n\t\t\tviewportSize: this.options.renderTransformedGcpsSize,\n\t\t\tcolor: this.options.renderTransformedGcpsColor,\n\t\t\tviewportBorderSize: this.options.renderTransformedGcpsBorderSize,\n\t\t\tborderColor: this.options.renderTransformedGcpsBorderColor\n\t\t});\n\t}\n\tupdateVertexBuffersMap(projectedGeoToClipHomogeneousTransform) {\n\t\tif (!this.mapVao) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.mapProgram;\n\t\tgl.bindVertexArray(this.mapVao);\n\t\tcreateBuffer(gl, program, new Float32Array(this.resourceTrianglePoints.flat()), 2, \"a_resourceTrianglePoint\");\n\t\tconst clipPreviousTrianglePoints = this.projectedGeoPreviousTrianglePoints.map((point) => applyHomogeneousTransform(projectedGeoToClipHomogeneousTransform, point));\n\t\tcreateBuffer(gl, program, new Float32Array(clipPreviousTrianglePoints.flat()), 2, \"a_clipPreviousTrianglePoint\");\n\t\tconst clipTrianglePoints = this.projectedGeoTrianglePoints.map((point) => applyHomogeneousTransform(projectedGeoToClipHomogeneousTransform, point));\n\t\tcreateBuffer(gl, program, new Float32Array(clipTrianglePoints.flat()), 2, \"a_clipTrianglePoint\");\n\t\tcreateBuffer(gl, program, new Float32Array(this.previousTrianglePointsDistortion), 1, \"a_previousTrianglePointDistortion\");\n\t\tcreateBuffer(gl, program, new Float32Array(this.trianglePointsDistortion), 1, \"a_trianglePointDistortion\");\n\t\tcreateBuffer(gl, program, new Float32Array(this.resourceTrianglePoints.length).map((_v, i) => {\n\t\t\treturn i;\n\t\t}), 1, \"a_trianglePointIndex\");\n\t\tcreateBuffer(gl, program, new Float32Array(this.trianglePointsInside.map((inside) => inside ? 1 : 0)), 1, \"a_trianglePointInside\");\n\t}\n\tupdateVertexBuffersLines(projectedGeoToClipHomogeneousTransform) {\n\t\tif (!this.linesVao) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.linesProgram;\n\t\tgl.bindVertexArray(this.linesVao);\n\t\tthis.setLineGroups();\n\t\tconst clipSixPoints = this.lineGroups.reduce((accumulator, lineGroup) => accumulator.concat(lineGroup.projectedGeoLines), []).map((projectedGeoLine) => [\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[1]\n\t\t]).flat().map((point) => applyHomogeneousTransform(projectedGeoToClipHomogeneousTransform, point));\n\t\tcreateBuffer(gl, program, new Float32Array(clipSixPoints.flat()), 2, \"a_clipPoint\");\n\t\tconst clipSixOtherPoints = this.lineGroups.reduce((accumulator, lineGroup) => accumulator.concat(lineGroup.projectedGeoLines), []).map((projectedGeoLine) => [\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[0]\n\t\t]).flat().map((point) => applyHomogeneousTransform(projectedGeoToClipHomogeneousTransform, point));\n\t\tcreateBuffer(gl, program, new Float32Array(clipSixOtherPoints.flat()), 2, \"a_clipOtherPoint\");\n\t\tconst clipSixPreviousPoints = this.lineGroups.reduce((accumulator, lineGroup) => accumulator.concat(lineGroup.projectedGeoPreviousLines || lineGroup.projectedGeoLines), []).map((projectedGeoLine) => [\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[1]\n\t\t]).flat().map((point) => applyHomogeneousTransform(projectedGeoToClipHomogeneousTransform, point));\n\t\tcreateBuffer(gl, program, new Float32Array(clipSixPreviousPoints.flat()), 2, \"a_clipPreviousPoint\");\n\t\tconst clipSixPreviousOtherPoints = this.lineGroups.reduce((accumulator, lineGroup) => accumulator.concat(lineGroup.projectedGeoPreviousLines || lineGroup.projectedGeoLines), []).map((projectedGeoLine) => [\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[1],\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[0],\n\t\t\tprojectedGeoLine[0]\n\t\t]).flat().map((point) => applyHomogeneousTransform(projectedGeoToClipHomogeneousTransform, point));\n\t\tcreateBuffer(gl, program, new Float32Array(clipSixPreviousOtherPoints.flat()), 2, \"a_clipPreviousOtherPoint\");\n\t\tconst sixIsOtherPoints = this.lineGroups.reduce((accumulator, lineGroup) => accumulator.concat(lineGroup.projectedGeoLines.flatMap((_projectedGeoLine) => [\n\t\t\t0,\n\t\t\t0,\n\t\t\t1,\n\t\t\t0,\n\t\t\t0,\n\t\t\t1\n\t\t])), []);\n\t\tcreateBuffer(gl, program, new Float32Array(sixIsOtherPoints), 1, \"a_isOtherPoint\");\n\t\tconst sixNormalSigns = this.lineGroups.reduce((accumulator, lineGroup) => accumulator.concat(lineGroup.projectedGeoLines.flatMap((_projectedGeoLine) => [\n\t\t\t1,\n\t\t\t-1,\n\t\t\t1,\n\t\t\t1,\n\t\t\t-1,\n\t\t\t1\n\t\t])), []);\n\t\tcreateBuffer(gl, program, new Float32Array(sixNormalSigns), 1, \"a_normalSign\");\n\t\tconst viewportSizes = this.lineGroups.reduce((accumulator, lineGroup) => accumulator.concat(lineGroup.projectedGeoLines.flatMap((_projectedGeoLine) => Array(6).fill(lineGroup.viewportSize ?? DEFAULT_RENDER_LINE_GROUP_OPTIONS.viewportSize))), []);\n\t\tcreateBuffer(gl, program, new Float32Array(viewportSizes), 1, \"a_viewportSize\");\n\t\tconst colors = this.lineGroups.reduce((accumulator, lineGroup) => {\n\t\t\tconst color = hexToFractionalOpaqueRgba(lineGroup.color ?? DEFAULT_RENDER_LINE_GROUP_OPTIONS.color);\n\t\t\treturn accumulator.concat(lineGroup.projectedGeoLines.flatMap((_projectedGeoLine) => Array(6).fill(color)));\n\t\t}, []);\n\t\tcreateBuffer(gl, program, new Float32Array(colors.flat()), 4, \"a_color\");\n\t\tconst viewportBorderSizes = this.lineGroups.reduce((accumulator, lineGroup) => accumulator.concat(lineGroup.projectedGeoLines.flatMap((_projectedGeoLine) => Array(6).fill(lineGroup.viewportBorderSize ?? DEFAULT_RENDER_LINE_GROUP_OPTIONS.viewportBorderSize))), []);\n\t\tcreateBuffer(gl, program, new Float32Array(viewportBorderSizes), 1, \"a_viewportBorderSize\");\n\t\tconst borderColors = this.lineGroups.reduce((accumulator, lineGroup) => {\n\t\t\tconst color = hexToFractionalOpaqueRgba(lineGroup.borderColor ?? DEFAULT_RENDER_LINE_GROUP_OPTIONS.borderColor);\n\t\t\treturn accumulator.concat(lineGroup.projectedGeoLines.flatMap((_projectedGeoLine) => Array(6).fill(color)));\n\t\t}, []);\n\t\tcreateBuffer(gl, program, new Float32Array(borderColors.flat()), 4, \"a_borderColor\");\n\t}\n\tupdateVertexBuffersPoints(projectedGeoToClipHomogeneousTransform) {\n\t\tif (!this.pointsVao) return;\n\t\tconst gl = this.gl;\n\t\tconst program = this.pointsProgram;\n\t\tgl.bindVertexArray(this.pointsVao);\n\t\tthis.setPointGroups();\n\t\tconst clipPoints = this.pointGroups.reduce((accumulator, pointGroup) => accumulator.concat(pointGroup.projectedGeoPoints), []).map((point) => applyHomogeneousTransform(projectedGeoToClipHomogeneousTransform, point));\n\t\tcreateBuffer(gl, program, new Float32Array(clipPoints.flat()), 2, \"a_clipPoint\");\n\t\tconst clipPreviousPoints = this.pointGroups.reduce((accumulator, pointGroup) => accumulator.concat(pointGroup.projectedGeoPreviousPoints || pointGroup.projectedGeoPoints), []).map((point) => applyHomogeneousTransform(projectedGeoToClipHomogeneousTransform, point));\n\t\tcreateBuffer(gl, program, new Float32Array(clipPreviousPoints.flat()), 2, \"a_clipPreviousPoint\");\n\t\tconst viewportSizes = this.pointGroups.reduce((accumulator, pointGroup) => accumulator.concat(pointGroup.projectedGeoPoints.map((_projectedGeoPoint) => pointGroup.viewportSize ?? DEFAULT_RENDER_POINT_GROUP_OPTION.viewportSize)), []);\n\t\tcreateBuffer(gl, program, new Float32Array(viewportSizes), 1, \"a_viewportSize\");\n\t\tconst colors = this.pointGroups.reduce((accumulator, pointGroup) => {\n\t\t\tconst color = hexToFractionalOpaqueRgba(pointGroup.color ?? DEFAULT_RENDER_POINT_GROUP_OPTION.color);\n\t\t\treturn accumulator.concat(pointGroup.projectedGeoPoints.map((_projectedGeoPoint) => color));\n\t\t}, []);\n\t\tcreateBuffer(gl, program, new Float32Array(colors.flat()), 4, \"a_color\");\n\t\tconst viewportBorderSizes = this.pointGroups.reduce((accumulator, pointGroup) => accumulator.concat(pointGroup.projectedGeoPoints.map((_projectedGeoPoint) => pointGroup.viewportBorderSize ?? DEFAULT_RENDER_POINT_GROUP_OPTION.viewportBorderSize)), []);\n\t\tcreateBuffer(gl, program, new Float32Array(viewportBorderSizes), 1, \"a_viewportBorderSize\");\n\t\tconst borderColors = this.pointGroups.reduce((accumulator, pointGroup) => {\n\t\t\tconst color = hexToFractionalOpaqueRgba(pointGroup.borderColor ?? DEFAULT_RENDER_POINT_GROUP_OPTION.borderColor);\n\t\t\treturn accumulator.concat(pointGroup.projectedGeoPoints.map((_projectedGeoPoint) => color));\n\t\t}, []);\n\t\tcreateBuffer(gl, program, new Float32Array(borderColors.flat()), 4, \"a_borderColor\");\n\t}\n\tasync updateTextures() {\n\t\tconst gl = this.gl;\n\t\tthis.updateCachedTilesForTextures();\n\t\tif (this.cachedTilesForTexture.length == 0 || this.cachedTilesForTexture.length !== 0 && subSetArray(this.previousCachedTilesForTexture.map((textureTile) => textureTile.fetchableTile.tileUrl), this.cachedTilesForTexture.map((textureTile) => textureTile.fetchableTile.tileUrl))) return;\n\t\tif (!this.image) return;\n\t\tconst requiredTextureWidth = this.tileSize[0];\n\t\tconst requiredTextureHeight = this.tileSize[1];\n\t\tconst requiredTextureDepth = this.cachedTilesForTexture.length;\n\t\tgl.pixelStorei(gl.UNPACK_ALIGNMENT, 4);\n\t\tgl.bindTexture(gl.TEXTURE_2D_ARRAY, this.cachedTilesTextureArray);\n\t\tgl.texImage3D(gl.TEXTURE_2D_ARRAY, 0, gl.RGBA, requiredTextureWidth, requiredTextureHeight, requiredTextureDepth, 0, gl.RGBA, gl.UNSIGNED_BYTE, null);\n\t\tfor (let i = 0; i < this.cachedTilesForTexture.length; i++) {\n\t\t\tconst imageData = this.cachedTilesForTexture[i].data;\n\t\t\tif (imageData.width > requiredTextureWidth || imageData.height > requiredTextureHeight) throw new Error(\"Cached tile doesn't fit in texture\");\n\t\t\tconst pbo = gl.createBuffer();\n\t\t\tgl.bindBuffer(gl.PIXEL_UNPACK_BUFFER, pbo);\n\t\t\tgl.bufferData(gl.PIXEL_UNPACK_BUFFER, imageData.data, gl.STATIC_DRAW);\n\t\t\tgl.texSubImage3D(gl.TEXTURE_2D_ARRAY, 0, 0, 0, i, imageData.width, imageData.height, 1, gl.RGBA, gl.UNSIGNED_BYTE, 0);\n\t\t\tgl.bindBuffer(gl.PIXEL_UNPACK_BUFFER, null);\n\t\t}\n\t\tgl.texParameteri(gl.TEXTURE_2D_ARRAY, gl.TEXTURE_MIN_FILTER, gl.LINEAR);\n\t\tgl.texParameteri(gl.TEXTURE_2D_ARRAY, gl.TEXTURE_MAG_FILTER, gl.LINEAR);\n\t\tgl.texParameteri(gl.TEXTURE_2D_ARRAY, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);\n\t\tgl.texParameteri(gl.TEXTURE_2D_ARRAY, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);\n\t\tconst cachedTilesResourceOriginPointsAndSizes = this.cachedTilesForTexture.map((textureTile) => {\n\t\t\tif (textureTile && textureTile.fetchableTile && textureTile.fetchableTile.options && textureTile.fetchableTile.options.imageRequest && textureTile.fetchableTile.options.imageRequest.region) return [\n\t\t\t\ttextureTile.fetchableTile.options.imageRequest.region.x,\n\t\t\t\ttextureTile.fetchableTile.options.imageRequest.region.y,\n\t\t\t\ttextureTile.fetchableTile.options.imageRequest.region.width,\n\t\t\t\ttextureTile.fetchableTile.options.imageRequest.region.height\n\t\t\t];\n\t\t\telse throw new Error(\"Missing resource origin points and sizes\");\n\t\t});\n\t\tgl.bindTexture(gl.TEXTURE_2D, this.cachedTilesResourceOriginPointsAndSizesTexture);\n\t\tgl.texImage2D(gl.TEXTURE_2D, 0, gl.R32I, 1, this.cachedTilesForTexture.length * 4, 0, gl.RED_INTEGER, gl.INT, new Int32Array(cachedTilesResourceOriginPointsAndSizes.flat()));\n\t\tgl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);\n\t\tgl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);\n\t\tgl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);\n\t\tgl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);\n\t\tconst cachedTilesScaleFactors = this.cachedTilesForTexture.map((textureTile) => textureTile.fetchableTile.tile.tileZoomLevel.scaleFactor);\n\t\tgl.bindTexture(gl.TEXTURE_2D, this.cachedTilesScaleFactorsTexture);\n\t\tgl.texImage2D(gl.TEXTURE_2D, 0, gl.R32I, 1, this.cachedTilesForTexture.length, 0, gl.RED_INTEGER, gl.INT, new Int32Array(cachedTilesScaleFactors));\n\t\tgl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);\n\t\tgl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);\n\t\tgl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);\n\t\tgl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);\n\t\tthis.dispatchEvent(new WarpedMapEvent(WarpedMapEventType.TEXTURESUPDATED));\n\t}\n\tupdateCachedTilesForTextures() {\n\t\tconst cachedTiles = [];\n\t\tconst cachedTilesAtOtherScaleFactors = [];\n\t\tconst overviewCachedTiles = [];\n\t\tconst spriteCachedTiles = [];\n\t\tfor (const fetchableTile of this.fetchableTilesForViewport) {\n\t\t\tconst cachedTile = this.cachedTilesByTileUrl.get(fetchableTile.tileUrl);\n\t\t\tif (cachedTile) cachedTiles.push(cachedTile);\n\t\t\telse for (const cachedTile of this.getCachedTilesAtOtherScaleFactors(fetchableTile.tile)) cachedTilesAtOtherScaleFactors.push(cachedTile);\n\t\t}\n\t\tspriteCachedTiles.push(...Array.from(this.cachedTilesByTileUrl.values()).filter((cachedTile) => cachedTile.isTileFromSprites()));\n\t\tfor (const fetchableTile of this.overviewFetchableTilesForViewport) {\n\t\t\tconst cachedTile = this.cachedTilesByTileUrl.get(fetchableTile.tileUrl);\n\t\t\tif (cachedTile) {\n\t\t\t\tconst tileZoomLevelTilesCount = this.tileZoomLevelForViewport ? this.tileZoomLevelForViewport.rows * this.tileZoomLevelForViewport.columns : void 0;\n\t\t\t\tif (cachedTiles.length === 0 || tileZoomLevelTilesCount && cachedTiles.length < tileZoomLevelTilesCount) overviewCachedTiles.push(cachedTile);\n\t\t\t}\n\t\t}\n\t\tlet cachedTilesForTextures = [\n\t\t\t...cachedTiles,\n\t\t\t...cachedTilesAtOtherScaleFactors,\n\t\t\t...spriteCachedTiles,\n\t\t\t...overviewCachedTiles\n\t\t];\n\t\tconst cachedTilesForTexturesByTileUrl = /* @__PURE__ */ new Map();\n\t\tcachedTilesForTextures.forEach((cachedTile) => cachedTilesForTexturesByTileUrl.set(cachedTile.fetchableTile.tileUrl, cachedTile));\n\t\tcachedTilesForTextures = [...cachedTilesForTexturesByTileUrl.values()];\n\t\tthis.previousCachedTilesForTexture = this.cachedTilesForTexture;\n\t\tthis.cachedTilesForTexture = cachedTilesForTextures;\n\t}\n\tgetCachedTilesAtOtherScaleFactors(tile) {\n\t\tif (this.cachedTilesByTileUrl.size === 0) return [];\n\t\tif (!this.tileZoomLevelForViewport) return [];\n\t\tconst cachedTiles = [];\n\t\tfor (tile of getTilesAtOtherScaleFactors(tile, this.image, this.tileZoomLevelForViewport.scaleFactor, TEXTURES_MAX_LOWER_LOG2_SCALE_FACTOR_DIFF, TEXTURES_MAX_HIGHER_LOG2_SCALE_FACTOR_DIFF, this.tileInCachedTiles.bind(this))) {\n\t\t\tconst cachedTile = this.tileToCachedTile(tile);\n\t\t\tif (cachedTile) cachedTiles.push(cachedTile);\n\t\t\telse throw new Error(\"Tile supposed to be in cache isn't.\");\n\t\t}\n\t\treturn cachedTiles;\n\t}\n\ttileToCachedTile(tile) {\n\t\treturn this.cachedTilesByTileKey.get(tileKey(tile));\n\t}\n\ttileInCachedTiles(tile) {\n\t\treturn this.cachedTilesByTileKey.has(tileKey(tile));\n\t}\n};\n//#endregion\nexport { WebGL2WarpedMap, createWebGL2WarpedMapFactory };\n\n//# sourceMappingURL=WebGL2WarpedMap.js.map"],"names":["THROTTLE_UPDATE_TEXTURES_WAIT_MS","THROTTLE_UPDATE_TEXTURES_OPTIONS","DEFAULT_RENDER_LINE_GROUP_OPTIONS","black","white","DEFAULT_RENDER_POINT_GROUP_OPTION","DEFAULT_SPECIFIC_WEBGL2_WARPED_MAP_OPTIONS","blue","pink","green","red","darkblue","yellow","DEFAULT_SHOULD_RENDER_OPTIONS","TEXTURES_MAX_HIGHER_LOG2_SCALE_FACTOR_DIFF","TEXTURES_MAX_LOWER_LOG2_SCALE_FACTOR_DIFF","createWebGL2WarpedMapFactory","gl","mapProgram","linesProgram","pointsProgram","mapId","georeferencedMap","listOptions","mapOptions","WebGL2WarpedMap","TriangulatedWarpedMap","createHomogeneousTransform","throttle","mergeOptions","animationOptions","changedOptions","partialOptions","options","projectedGeoToClipHomogeneousTransform","invertHomogeneousTransform","cachedTile","tileUrl","lineStringToLines","pointsAndPointsToLines","program","createBuffer","clipPreviousTrianglePoints","point","applyHomogeneousTransform","clipTrianglePoints","_v","i","inside","clipSixPoints","accumulator","lineGroup","projectedGeoLine","clipSixOtherPoints","clipSixPreviousPoints","clipSixPreviousOtherPoints","sixIsOtherPoints","_projectedGeoLine","sixNormalSigns","viewportSizes","colors","color","hexToFractionalOpaqueRgba","viewportBorderSizes","borderColors","clipPoints","pointGroup","clipPreviousPoints","_projectedGeoPoint","subSetArray","textureTile","requiredTextureWidth","requiredTextureHeight","requiredTextureDepth","imageData","pbo","cachedTilesResourceOriginPointsAndSizes","cachedTilesScaleFactors","WarpedMapEvent","WarpedMapEventType","cachedTiles","cachedTilesAtOtherScaleFactors","overviewCachedTiles","spriteCachedTiles","fetchableTile","tileZoomLevelTilesCount","cachedTilesForTextures","cachedTilesForTexturesByTile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K,yBAA0B,QAAO,CAAA;AAC3C,UAAMR,IAAc,CAAA;AACpB,SAAKQ,KAAQC,EAA4BD,GAAM,KAAK,OAAO,KAAK,yBAAyB,aAAazE,GAA2CD,GAA4C,KAAK,kBAAkB,KAAK,IAAI,CAAC,GAAG;AAChO,YAAMsB,IAAa,KAAK,iBAAiBoD,CAAI;AAC7C,UAAIpD,EAAY,CAAA4C,EAAY,KAAK5C,CAAU;AAAA,UACtC,OAAM,IAAI,MAAM,qCAAqC;AAAA,IAC3D;AACA,WAAO4C;AAAA,EACR;AAAA,EACA,iBAAiBQ,GAAM;AACtB,WAAO,KAAK,qBAAqB,IAAIE,EAAQF,CAAI,CAAC;AAAA,EACnD;AAAA,EACA,kBAAkBA,GAAM;AACvB,WAAO,KAAK,qBAAqB,IAAIE,EAAQF,CAAI,CAAC;AAAA,EACnD;AACD;","x_google_ignoreList":[0]}
@@ -0,0 +1,80 @@
1
+ function w(t, c) {
2
+ const n = c[0], i = c[1];
3
+ return [t[0] * n + t[2] * i + t[4], t[1] * n + t[3] * i + t[5]];
4
+ }
5
+ function x() {
6
+ return [
7
+ 1,
8
+ 0,
9
+ 0,
10
+ 1,
11
+ 0,
12
+ 0
13
+ ];
14
+ }
15
+ function z(t, c) {
16
+ const n = t[0], i = t[1], p = t[2], H = t[3], M = t[4], b = t[5], l = c[0], d = c[1], v = c[2], D = c[3], j = c[4], k = c[5];
17
+ return [
18
+ n * l + p * d,
19
+ i * l + H * d,
20
+ n * v + p * D,
21
+ i * v + H * D,
22
+ n * j + p * k + M,
23
+ i * j + H * k + b
24
+ ];
25
+ }
26
+ function A(t, c, n, i, p, H, M) {
27
+ const b = Math.sin(p), l = Math.cos(p);
28
+ return [
29
+ n * l,
30
+ i * b,
31
+ -n * b,
32
+ i * l,
33
+ H * n * l - M * n * b + t,
34
+ H * i * b + M * i * l + c
35
+ ];
36
+ }
37
+ function B(t) {
38
+ const c = q(t), n = t[0], i = t[1], p = t[2], H = t[3], M = t[4], b = t[5];
39
+ return [
40
+ H / c,
41
+ -i / c,
42
+ -p / c,
43
+ n / c,
44
+ (p * b - H * M) / c,
45
+ -(n * b - i * M) / c
46
+ ];
47
+ }
48
+ function q(t) {
49
+ return t[0] * t[3] - t[1] * t[2];
50
+ }
51
+ function C(t) {
52
+ const c = [
53
+ 1,
54
+ 0,
55
+ 0,
56
+ 0,
57
+ 0,
58
+ 1,
59
+ 0,
60
+ 0,
61
+ 0,
62
+ 0,
63
+ 1,
64
+ 0,
65
+ 0,
66
+ 0,
67
+ 0,
68
+ 1
69
+ ];
70
+ return c[0] = t[0], c[1] = t[1], c[4] = t[2], c[5] = t[3], c[12] = t[4], c[13] = t[5], c;
71
+ }
72
+ export {
73
+ w as applyHomogeneousTransform,
74
+ A as composeHomogeneousTransform,
75
+ x as createHomogeneousTransform,
76
+ C as homogeneousTransformToMatrix4,
77
+ B as invertHomogeneousTransform,
78
+ z as multiplyHomogeneousTransform
79
+ };
80
+ //# sourceMappingURL=index.es299.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es299.js","sources":["../../../node_modules/@allmaps/render/dist/shared/homogeneous-transform.js"],"sourcesContent":["//#region src/shared/homogeneous-transform.ts\nfunction applyHomogeneousTransform(homogeneousTransform, coordinate) {\n\tconst x = coordinate[0];\n\tconst y = coordinate[1];\n\treturn [homogeneousTransform[0] * x + homogeneousTransform[2] * y + homogeneousTransform[4], homogeneousTransform[1] * x + homogeneousTransform[3] * y + homogeneousTransform[5]];\n}\nfunction createHomogeneousTransform() {\n\treturn [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0\n\t];\n}\nfunction multiplyHomogeneousTransform(homogeneousTransform1, homogeneousTransform2) {\n\tconst a1 = homogeneousTransform1[0];\n\tconst b1 = homogeneousTransform1[1];\n\tconst c1 = homogeneousTransform1[2];\n\tconst d1 = homogeneousTransform1[3];\n\tconst e1 = homogeneousTransform1[4];\n\tconst f1 = homogeneousTransform1[5];\n\tconst a2 = homogeneousTransform2[0];\n\tconst b2 = homogeneousTransform2[1];\n\tconst c2 = homogeneousTransform2[2];\n\tconst d2 = homogeneousTransform2[3];\n\tconst e2 = homogeneousTransform2[4];\n\tconst f2 = homogeneousTransform2[5];\n\treturn [\n\t\ta1 * a2 + c1 * b2,\n\t\tb1 * a2 + d1 * b2,\n\t\ta1 * c2 + c1 * d2,\n\t\tb1 * c2 + d1 * d2,\n\t\ta1 * e2 + c1 * f2 + e1,\n\t\tb1 * e2 + d1 * f2 + f1\n\t];\n}\nfunction composeHomogeneousTransform(dx1, dy1, sx, sy, angle, dx2, dy2) {\n\tconst sin = Math.sin(angle);\n\tconst cos = Math.cos(angle);\n\treturn [\n\t\tsx * cos,\n\t\tsy * sin,\n\t\t-sx * sin,\n\t\tsy * cos,\n\t\tdx2 * sx * cos - dy2 * sx * sin + dx1,\n\t\tdx2 * sy * sin + dy2 * sy * cos + dy1\n\t];\n}\nfunction invertHomogeneousTransform(source) {\n\tconst determinant = getDeterminant(source);\n\tconst a = source[0];\n\tconst b = source[1];\n\tconst c = source[2];\n\tconst d = source[3];\n\tconst e = source[4];\n\tconst f = source[5];\n\treturn [\n\t\td / determinant,\n\t\t-b / determinant,\n\t\t-c / determinant,\n\t\ta / determinant,\n\t\t(c * f - d * e) / determinant,\n\t\t-(a * f - b * e) / determinant\n\t];\n}\nfunction getDeterminant(mat) {\n\treturn mat[0] * mat[3] - mat[1] * mat[2];\n}\nfunction homogeneousTransformToMatrix4(homogeneousTransform) {\n\tconst matrix4 = [\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t1,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t0,\n\t\t1\n\t];\n\tmatrix4[0] = homogeneousTransform[0];\n\tmatrix4[1] = homogeneousTransform[1];\n\tmatrix4[4] = homogeneousTransform[2];\n\tmatrix4[5] = homogeneousTransform[3];\n\tmatrix4[12] = homogeneousTransform[4];\n\tmatrix4[13] = homogeneousTransform[5];\n\treturn matrix4;\n}\n//#endregion\nexport { applyHomogeneousTransform, composeHomogeneousTransform, createHomogeneousTransform, homogeneousTransformToMatrix4, invertHomogeneousTransform, multiplyHomogeneousTransform };\n\n//# sourceMappingURL=homogeneous-transform.js.map"],"names":["applyHomogeneousTransform","homogeneousTransform","coordinate","x","y","createHomogeneousTransform","multiplyHomogeneousTransform","homogeneousTransform1","homogeneousTransform2","a1","b1","c1","d1","e1","f1","a2","b2","c2","d2","e2","f2","composeHomogeneousTransform","dx1","dy1","sx","sy","angle","dx2","dy2","sin","cos","invertHomogeneousTransform","source","determinant","getDeterminant","a","b","c","d","e","f","mat","homogeneousTransformToMatrix4","matrix4"],"mappings":"AACA,SAASA,EAA0BC,GAAsBC,GAAY;AACpE,QAAMC,IAAID,EAAW,CAAC,GAChBE,IAAIF,EAAW,CAAC;AACtB,SAAO,CAACD,EAAqB,CAAC,IAAIE,IAAIF,EAAqB,CAAC,IAAIG,IAAIH,EAAqB,CAAC,GAAGA,EAAqB,CAAC,IAAIE,IAAIF,EAAqB,CAAC,IAAIG,IAAIH,EAAqB,CAAC,CAAC;AACjL;AACA,SAASI,IAA6B;AACrC,SAAO;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAEF;AACA,SAASC,EAA6BC,GAAuBC,GAAuB;AACnF,QAAMC,IAAKF,EAAsB,CAAC,GAC5BG,IAAKH,EAAsB,CAAC,GAC5BI,IAAKJ,EAAsB,CAAC,GAC5BK,IAAKL,EAAsB,CAAC,GAC5BM,IAAKN,EAAsB,CAAC,GAC5BO,IAAKP,EAAsB,CAAC,GAC5BQ,IAAKP,EAAsB,CAAC,GAC5BQ,IAAKR,EAAsB,CAAC,GAC5BS,IAAKT,EAAsB,CAAC,GAC5BU,IAAKV,EAAsB,CAAC,GAC5BW,IAAKX,EAAsB,CAAC,GAC5BY,IAAKZ,EAAsB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AAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAED,SAAAA,EAAQ,CAAC,IAAI1C,EAAqB,CAAC,GACnC0C,EAAQ,CAAC,IAAI1C,EAAqB,CAAC,GACnC0C,EAAQ,CAAC,IAAI1C,EAAqB,CAAC,GACnC0C,EAAQ,CAAC,IAAI1C,EAAqB,CAAC,GACnC0C,EAAQ,EAAE,IAAI1C,EAAqB,CAAC,GACpC0C,EAAQ,EAAE,IAAI1C,EAAqB,CAAC,GAC7B0C;AACR;","x_google_ignoreList":[0]}
@@ -0,0 +1,246 @@
1
+ import { WarpedMap as T } from "./index.es214.js";
2
+ import { bboxToPolygon as j, combineBboxes as G, computeBbox as a, bufferBbox as M } from "./index.es215.js";
3
+ import { getPropertyFromQuintupleCacheOrComputation as u, getPropertyFromDoubleCacheOrComputation as v } from "./index.es321.js";
4
+ import { mixNumbers as m, mixPoints as f, mixLineStrings as s } from "./index.es275.js";
5
+ import { mergeOptions as p } from "./index.es217.js";
6
+ import { triangulateToUnique as I } from "./index.es324.js";
7
+ var c = { distortionMeasures: [] }, S = class l extends T {
8
+ previousResourceResolution;
9
+ resourceResolution;
10
+ triangulateErrorCount = 0;
11
+ projectedGcpPreviousTriangulation;
12
+ projectedGcpTriangulation;
13
+ resourceTriangulationCache;
14
+ projectedGcpTriangulationCache;
15
+ resourceTrianglePoints = [];
16
+ projectedGeoPreviousTrianglePoints = [];
17
+ projectedGeoTrianglePoints = [];
18
+ previousTrianglePointsDistortion = [];
19
+ trianglePointsDistortion = [];
20
+ previousTrianglePointsInside = [];
21
+ trianglePointsInside = [];
22
+ projectedGeoPreviousTriangulationFullMask = [];
23
+ projectedGeoTriangulationFullMask = [];
24
+ projectedGeoPreviousTriangulationMask = [];
25
+ projectedGeoTriangulationMask = [];
26
+ projectedGeoPreviousTriangulationAppliedMask = [];
27
+ projectedGeoTriangulationAppliedMask = [];
28
+ /**
29
+ * Creates an instance of a TriangulatedWarpedMap.
30
+ *
31
+ * @param mapId - ID of the map
32
+ * @param georeferencedMap - Georeferenced map used to construct the WarpedMap
33
+ * @param options - Options
34
+ */
35
+ constructor(e, o, i, t) {
36
+ super(e, o, i, t), this.resourceTriangulationCache = /* @__PURE__ */ new Map(), this.projectedGcpTriangulationCache = /* @__PURE__ */ new Map(), this.updateTriangulation();
37
+ }
38
+ /**
39
+ * Get default options
40
+ */
41
+ static getDefaultOptions() {
42
+ return p(c, super.getDefaultOptions());
43
+ }
44
+ /**
45
+ * Get default options without the options overwritten by the georeferenced map
46
+ */
47
+ static getDefaultWithoutGeoreferencedMapOptions() {
48
+ return p(c, super.getDefaultWithoutGeoreferencedMapOptions());
49
+ }
50
+ /**
51
+ * Set the defaultOptions
52
+ */
53
+ setDefaultOptions() {
54
+ this.defaultOptions = l.getDefaultOptions();
55
+ }
56
+ /**
57
+ * Set the list options
58
+ *
59
+ * @param listOptions - list options
60
+ * @param animationOptions - Animation options
61
+ */
62
+ setListOptions(e, o) {
63
+ return super.setListOptions(e, o);
64
+ }
65
+ /**
66
+ * Set the map-specific options
67
+ *
68
+ * @param mapOptions - Map-specific options
69
+ * @param animationOptions - Animation options
70
+ */
71
+ setMapOptions(e, o) {
72
+ return super.setMapOptions(e, o);
73
+ }
74
+ /**
75
+ * Set the map-specific options, and the list options
76
+ *
77
+ * @param mapOptions - Map-specific options
78
+ * @param listOptions - list options
79
+ * @param animationOptions - Animation options
80
+ */
81
+ setMapAndListOptions(e, o, i) {
82
+ return super.setMapAndListOptions(e, o, i);
83
+ }
84
+ /**
85
+ * Update the ground control points loaded from a georeferenced map to new ground control points.
86
+ *
87
+ * @param gcps - the new ground control points
88
+ */
89
+ setGcps(e) {
90
+ super.setGcps(e), this.clearResourceTriangulationCaches(), this.updateTriangulation();
91
+ }
92
+ /**
93
+ * Update the resource mask loaded from a georeferenced map to a new mask.
94
+ *
95
+ * @param resourceMask - the new mask
96
+ */
97
+ setResourceMask() {
98
+ super.setResourceMask(), this.updateTriangulation();
99
+ }
100
+ /**
101
+ * Set the distortionMeasure
102
+ *
103
+ * @param distortionMeasure - the disortion measure
104
+ */
105
+ setDistortionMeasure(e) {
106
+ super.setDistortionMeasure(e), e && !this.options.distortionMeasures.includes(e) && this.options.distortionMeasures.push(e), this.updateTriangulation();
107
+ }
108
+ /**
109
+ * Set the internal projection
110
+ *
111
+ * @param projection - the internal projection
112
+ */
113
+ setInternalProjection(e) {
114
+ super.setInternalProjection(e), this.updateTriangulation();
115
+ }
116
+ /**
117
+ * Set the projection
118
+ *
119
+ * @param projection - the projection
120
+ */
121
+ setProjection(e) {
122
+ super.setProjection(e), this.clearProjectedTriangulationCaches(), this.updateTriangulation();
123
+ }
124
+ /**
125
+ * Reset previous transform properties to new ones (when completing an animation).
126
+ */
127
+ resetPrevious() {
128
+ super.resetPrevious(), this.previousResourceResolution = this.resourceResolution, this.projectedGcpPreviousTriangulation = this.projectedGcpTriangulation, this.projectedGeoPreviousTrianglePoints = this.projectedGeoTrianglePoints, this.previousTrianglePointsDistortion = this.trianglePointsDistortion, this.previousTrianglePointsInside = this.trianglePointsInside, this.projectedGeoPreviousTriangulationFullMask = this.projectedGeoTriangulationFullMask, this.projectedGeoPreviousTriangulationMask = this.projectedGeoTriangulationMask, this.projectedGeoPreviousTriangulationAppliedMask = this.projectedGeoTriangulationAppliedMask;
129
+ }
130
+ /**
131
+ * Mix previous transform properties with new ones (when changing an ongoing animation).
132
+ *
133
+ * @param t - animation progress
134
+ */
135
+ mixPreviousAndNew(e) {
136
+ if (super.mixPreviousAndNew(e), this.projectedGcpPreviousTriangulation && this.projectedGcpTriangulation) {
137
+ const o = this.projectedGcpPreviousTriangulation, i = this.projectedGcpTriangulation;
138
+ this.previousResourceResolution = this.resourceResolution, this.projectedGcpPreviousTriangulation = {
139
+ resourceResolution: o.resourceResolution,
140
+ gcpUniquePoints: o.gcpUniquePoints.map((t, n) => ({
141
+ resource: t.resource,
142
+ geo: f(i.gcpUniquePoints[n].geo, t.geo, e),
143
+ distortions: i.gcpUniquePoints[n].distortions,
144
+ distortion: m(i.gcpUniquePoints[n].distortion || 0, t.distortion || 0, e)
145
+ })),
146
+ uniquePointIndices: o.uniquePointIndices,
147
+ uniquePointIndexInterpolatedPolygon: o.uniquePointIndexInterpolatedPolygon,
148
+ uniquePointIndexInterpolatedSteinerPolygons: o.uniquePointIndexInterpolatedSteinerPolygons,
149
+ insideSteinerPolygonsTriangles: o.insideSteinerPolygonsTriangles
150
+ }, this.projectedGeoPreviousTrianglePoints = o.uniquePointIndices.map((t) => o.gcpUniquePoints[t].geo), this.previousTrianglePointsDistortion = o.uniquePointIndices.map((t) => o.gcpUniquePoints[t].distortion);
151
+ }
152
+ this.projectedGeoPreviousTriangulationFullMask = s(this.projectedGeoTriangulationFullMask, this.projectedGeoPreviousTriangulationFullMask, e), this.projectedGeoPreviousTriangulationMask = s(this.projectedGeoTriangulationMask, this.projectedGeoPreviousTriangulationMask, e), this.projectedGeoPreviousTriangulationAppliedMask = s(this.projectedGeoTriangulationAppliedMask, this.projectedGeoPreviousTriangulationAppliedMask, e);
153
+ }
154
+ /**
155
+ * Update the (previous and new) triangulation of the resourceMask. Use cache if available.
156
+ */
157
+ updateTriangulation() {
158
+ if (!this.resourceTriangulationCache || !this.projectedGcpTriangulationCache) return;
159
+ const e = this.options.resourceResolution || this.projectedTransformer.getToGeoTransformationResolution(this.resourceMaskBbox);
160
+ let o = !1;
161
+ e && this.previousResourceResolution && (o = this.previousResourceResolution < e, this.resourceResolution = Math.min(e, this.previousResourceResolution)), e && !this.previousResourceResolution && (o = !0, this.resourceResolution = e), !e && this.previousResourceResolution ? this.resourceResolution = this.previousResourceResolution : !e && !this.previousResourceResolution && (this.resourceResolution = void 0), this.projectedGcpTriangulation = u(this.projectedGcpTriangulationCache, this.resourceResolution, String(this.resourceMask), this.transformationType, this.internalProjection.definition, String(this.options.distortionMeasures), () => {
162
+ const { uniquePoints: i, uniquePointIndexTriangles: t, uniquePointIndexInterpolatedPolygon: n, uniquePointIndexInterpolatedSteinerPolygons: g, insideSteinerPolygonsTriangles: d } = v(this.resourceTriangulationCache, this.resourceResolution, String(this.resourceMask), () => {
163
+ try {
164
+ return I(j(G(a(this.resourceFullMask), M(a(this.resourceMask), 1))), this.resourceResolution, {
165
+ steinerPoints: this.gcps.map((r) => r.resource),
166
+ steinerPolygons: [[this.resourceMask]],
167
+ computeInsideSteinerPolygons: !0
168
+ });
169
+ } catch (r) {
170
+ throw r instanceof Error ? (r.message = `Failed to triangulate map ${this.mapId}: ` + r.message, r) : new Error(`Failed to triangulate map ${this.mapId}`);
171
+ }
172
+ }), h = this.resourceResolution, P = i;
173
+ return {
174
+ resourceResolution: h,
175
+ gcpUniquePoints: this.projectedTransformer.transformToProjectedGeo(P, {
176
+ distortionMeasures: this.options.distortionMeasures,
177
+ referenceScale: this.getReferenceScale(),
178
+ isMultiGeometry: !0
179
+ }, (r) => r),
180
+ uniquePointIndices: t.flat(),
181
+ uniquePointIndexInterpolatedPolygon: n,
182
+ uniquePointIndexInterpolatedSteinerPolygons: g,
183
+ insideSteinerPolygonsTriangles: d
184
+ };
185
+ }), this.projectedGcpPreviousTriangulation || (this.projectedGcpPreviousTriangulation = this.projectedGcpTriangulation), o && (this.previousResourceResolution = this.resourceResolution, this.projectedGcpPreviousTriangulation = u(this.projectedGcpTriangulationCache, this.previousResourceResolution, String(this.resourceMask), this.previousTransformationType, this.previousInternalProjection.definition, String(this.options.distortionMeasures), () => {
186
+ if (!this.projectedGcpTriangulation) throw new Error("No projectedGcpTriangulation");
187
+ const i = this.projectedGcpTriangulation;
188
+ return {
189
+ resourceResolution: this.projectedGcpTriangulation.resourceResolution,
190
+ gcpUniquePoints: this.projectedPreviousTransformer.transformToProjectedGeo(this.projectedGcpTriangulation.gcpUniquePoints.map((t) => t.resource), {
191
+ distortionMeasures: this.options.distortionMeasures,
192
+ referenceScale: this.getReferenceScale(),
193
+ isMultiGeometry: !0
194
+ }, (t) => t),
195
+ uniquePointIndices: this.projectedGcpTriangulation.uniquePointIndices,
196
+ uniquePointIndexInterpolatedPolygon: i.uniquePointIndexInterpolatedPolygon,
197
+ uniquePointIndexInterpolatedSteinerPolygons: i.uniquePointIndexInterpolatedSteinerPolygons,
198
+ insideSteinerPolygonsTriangles: i.insideSteinerPolygonsTriangles
199
+ };
200
+ }, () => !this.mixed, () => !this.mixed)), this.updateTrianglePoints();
201
+ }
202
+ /**
203
+ * Derive the (previous and new) resource and projectedGeo points from their corresponding triangulations.
204
+ *
205
+ * Also derive the (previous and new) triangulation-refined resource and projectedGeo mask
206
+ */
207
+ updateTrianglePoints() {
208
+ if (!this.projectedGcpPreviousTriangulation || !this.projectedGcpTriangulation) return;
209
+ const e = this.projectedGcpPreviousTriangulation, o = this.projectedGcpTriangulation;
210
+ this.trianglePointsInside = o.insideSteinerPolygonsTriangles.map((i) => [
211
+ i,
212
+ i,
213
+ i
214
+ ]).flat(), this.resourceTrianglePoints = this.projectedGcpTriangulation.uniquePointIndices.map((i) => o.gcpUniquePoints[i].resource), this.projectedGeoPreviousTrianglePoints = this.projectedGcpPreviousTriangulation.uniquePointIndices.map((i) => e.gcpUniquePoints[i].geo), this.projectedGeoTrianglePoints = this.projectedGcpTriangulation.uniquePointIndices.map((i) => o.gcpUniquePoints[i].geo), this.projectedGeoPreviousTriangulationFullMask = this.projectedGcpPreviousTriangulation.uniquePointIndexInterpolatedPolygon.map((i) => i.map((t) => e.gcpUniquePoints[t].geo)).flat(), this.projectedGeoTriangulationFullMask = this.projectedGcpTriangulation.uniquePointIndexInterpolatedPolygon.map((i) => i.map((t) => o.gcpUniquePoints[t].geo)).flat(), this.projectedGeoPreviousTriangulationMask = this.projectedGcpPreviousTriangulation.uniquePointIndexInterpolatedSteinerPolygons[0].map((i) => i.map((t) => e.gcpUniquePoints[t].geo)).flat(), this.projectedGeoTriangulationMask = this.projectedGcpTriangulation.uniquePointIndexInterpolatedSteinerPolygons[0].map((i) => i.map((t) => o.gcpUniquePoints[t].geo)).flat(), this.projectedGeoPreviousTriangulationAppliedMask = this.applyMask ? this.projectedGeoPreviousTriangulationMask : this.projectedGeoPreviousTriangulationFullMask, this.projectedGeoTriangulationAppliedMask = this.applyMask ? this.projectedGeoTriangulationMask : this.projectedGeoTriangulationFullMask, this.updateTrianglePointsDistortion();
215
+ }
216
+ /**
217
+ * Derive the (previous and new) distortions from their corresponding triangulations.
218
+ */
219
+ updateTrianglePointsDistortion() {
220
+ if (!this.projectedGcpPreviousTriangulation || !this.projectedGcpTriangulation) return;
221
+ const e = this.projectedGcpPreviousTriangulation, o = this.projectedGcpTriangulation;
222
+ this.previousTrianglePointsDistortion = e.uniquePointIndices.map((i) => {
223
+ const t = e.gcpUniquePoints[i].distortions;
224
+ return !this.previousDistortionMeasure || !t ? 0 : t.get(this.previousDistortionMeasure);
225
+ }), this.trianglePointsDistortion = o.uniquePointIndices.map((i) => {
226
+ const t = o.gcpUniquePoints[i].distortions;
227
+ return !this.distortionMeasure || !t ? 0 : t.get(this.distortionMeasure);
228
+ });
229
+ }
230
+ updateProjectedTransformerProperties() {
231
+ super.updateProjectedTransformerProperties(), this.updateTriangulation();
232
+ }
233
+ clearProjectedTransformerCaches() {
234
+ super.clearProjectedTransformerCaches(), this.clearResourceTriangulationCaches();
235
+ }
236
+ clearResourceTriangulationCaches() {
237
+ this.resourceTriangulationCache = /* @__PURE__ */ new Map(), this.clearProjectedTriangulationCaches();
238
+ }
239
+ clearProjectedTriangulationCaches() {
240
+ this.projectedGcpTriangulationCache = /* @__PURE__ */ new Map();
241
+ }
242
+ };
243
+ export {
244
+ S as TriangulatedWarpedMap
245
+ };
246
+ //# sourceMappingURL=index.es300.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es300.js","sources":["../../../node_modules/@allmaps/render/dist/maps/TriangulatedWarpedMap.js"],"sourcesContent":["import { WarpedMap } from \"./WarpedMap.js\";\nimport { bboxToPolygon, bufferBbox, combineBboxes, computeBbox, getPropertyFromDoubleCacheOrComputation, getPropertyFromQuintupleCacheOrComputation, mergeOptions, mixLineStrings, mixNumbers, mixPoints } from \"@allmaps/stdlib\";\nimport { triangulateToUnique } from \"@allmaps/triangulate\";\n//#region src/maps/TriangulatedWarpedMap.ts\nvar DEFAULT_SPECIFIC_TRIANGULATED_WARPED_MAP_OPTIONS = { distortionMeasures: [] };\n/**\n* Class for triangulated WarpedMaps.\n*\n* @param resourcePreviousResolution - Resolution (or 'distance') used during the previous triangulation of the resource mask\n* @param resourceResolution - Resolution (or 'distance') used during the triangulation of the resource mask, computed as the finest resource segment resulting from a resource-to-geo transformation of the horizontal and vertical midline of the resource bbox using the current transformation type\n* @param triangulateErrorCount - Number of time the triangulation has resulted in an error\n* @param projectedGcpPreviousTriangulation - Previous triangulation of the resource mask\n* @param projectedGcpTriangulation - Triangulation of the resource mask of a specific resource resolution, with unique points in resource and projected geospatial coordinates with distortions, and indices pointing to the triangles points and indices pointing to the triangulation-refined resource mask\n* @param resourceTrianglePoints - Triangle points of the triangles the triangulated resourceMask\n* @param projectedGeoPreviousTrianglePoints - The projectedGeoTrianglePoints of the previous transformation type, used during transformation transitions\n* @param projectedGeoTrianglePoints - The resourceTrianglePoints in projected geospatial coordinates\n* @param previousTrianglePointsDistortion - The trianglePointsDistortion of the previous transformation type, used during transformation transitions\n* @param trianglePointsDistortion - Distortion amount of the distortionMeasure at the projectedGeoTrianglePoints\n* @param projectedGeoPreviousTriangulationFullMask - The resource full mask refined by the previous triangulation, in projected geospatial coordinates\n* @param projectedGeoPreviousTriangulationMask - The resource mask refined by the previous triangulation, in projected geospatial coordinates\n* @param projectedGeoTriangulationMask - The resource mask refined by the triangulation, in projected geospatial coordinates\n* @param projectedGeoPreviousTriangulationAppliedMask - The resource applied mask refined by the previous triangulation, in projected geospatial coordinates\n* @param projectedGeoTriangulationAppliedMask - The resource applied mask refined by the triangulation, in projected geospatial coordinates\n*/\nvar TriangulatedWarpedMap = class TriangulatedWarpedMap extends WarpedMap {\n\tpreviousResourceResolution;\n\tresourceResolution;\n\ttriangulateErrorCount = 0;\n\tprojectedGcpPreviousTriangulation;\n\tprojectedGcpTriangulation;\n\tresourceTriangulationCache;\n\tprojectedGcpTriangulationCache;\n\tresourceTrianglePoints = [];\n\tprojectedGeoPreviousTrianglePoints = [];\n\tprojectedGeoTrianglePoints = [];\n\tpreviousTrianglePointsDistortion = [];\n\ttrianglePointsDistortion = [];\n\tpreviousTrianglePointsInside = [];\n\ttrianglePointsInside = [];\n\tprojectedGeoPreviousTriangulationFullMask = [];\n\tprojectedGeoTriangulationFullMask = [];\n\tprojectedGeoPreviousTriangulationMask = [];\n\tprojectedGeoTriangulationMask = [];\n\tprojectedGeoPreviousTriangulationAppliedMask = [];\n\tprojectedGeoTriangulationAppliedMask = [];\n\t/**\n\t* Creates an instance of a TriangulatedWarpedMap.\n\t*\n\t* @param mapId - ID of the map\n\t* @param georeferencedMap - Georeferenced map used to construct the WarpedMap\n\t* @param options - Options\n\t*/\n\tconstructor(mapId, georeferencedMap, listOptions, mapOptions) {\n\t\tsuper(mapId, georeferencedMap, listOptions, mapOptions);\n\t\tthis.resourceTriangulationCache = /* @__PURE__ */ new Map();\n\t\tthis.projectedGcpTriangulationCache = /* @__PURE__ */ new Map();\n\t\tthis.updateTriangulation();\n\t}\n\t/**\n\t* Get default options\n\t*/\n\tstatic getDefaultOptions() {\n\t\treturn mergeOptions(DEFAULT_SPECIFIC_TRIANGULATED_WARPED_MAP_OPTIONS, super.getDefaultOptions());\n\t}\n\t/**\n\t* Get default options without the options overwritten by the georeferenced map\n\t*/\n\tstatic getDefaultWithoutGeoreferencedMapOptions() {\n\t\treturn mergeOptions(DEFAULT_SPECIFIC_TRIANGULATED_WARPED_MAP_OPTIONS, super.getDefaultWithoutGeoreferencedMapOptions());\n\t}\n\t/**\n\t* Set the defaultOptions\n\t*/\n\tsetDefaultOptions() {\n\t\tthis.defaultOptions = TriangulatedWarpedMap.getDefaultOptions();\n\t}\n\t/**\n\t* Set the list options\n\t*\n\t* @param listOptions - list options\n\t* @param animationOptions - Animation options\n\t*/\n\tsetListOptions(listOptions, animationOptions) {\n\t\treturn super.setListOptions(listOptions, animationOptions);\n\t}\n\t/**\n\t* Set the map-specific options\n\t*\n\t* @param mapOptions - Map-specific options\n\t* @param animationOptions - Animation options\n\t*/\n\tsetMapOptions(mapOptions, animationOptions) {\n\t\treturn super.setMapOptions(mapOptions, animationOptions);\n\t}\n\t/**\n\t* Set the map-specific options, and the list options\n\t*\n\t* @param mapOptions - Map-specific options\n\t* @param listOptions - list options\n\t* @param animationOptions - Animation options\n\t*/\n\tsetMapAndListOptions(mapOptions, listOptions, animationOptions) {\n\t\treturn super.setMapAndListOptions(mapOptions, listOptions, animationOptions);\n\t}\n\t/**\n\t* Update the ground control points loaded from a georeferenced map to new ground control points.\n\t*\n\t* @param gcps - the new ground control points\n\t*/\n\tsetGcps(gcps) {\n\t\tsuper.setGcps(gcps);\n\t\tthis.clearResourceTriangulationCaches();\n\t\tthis.updateTriangulation();\n\t}\n\t/**\n\t* Update the resource mask loaded from a georeferenced map to a new mask.\n\t*\n\t* @param resourceMask - the new mask\n\t*/\n\tsetResourceMask() {\n\t\tsuper.setResourceMask();\n\t\tthis.updateTriangulation();\n\t}\n\t/**\n\t* Set the distortionMeasure\n\t*\n\t* @param distortionMeasure - the disortion measure\n\t*/\n\tsetDistortionMeasure(distortionMeasure) {\n\t\tsuper.setDistortionMeasure(distortionMeasure);\n\t\tif (distortionMeasure && !this.options.distortionMeasures.includes(distortionMeasure)) this.options.distortionMeasures.push(distortionMeasure);\n\t\tthis.updateTriangulation();\n\t}\n\t/**\n\t* Set the internal projection\n\t*\n\t* @param projection - the internal projection\n\t*/\n\tsetInternalProjection(projection) {\n\t\tsuper.setInternalProjection(projection);\n\t\tthis.updateTriangulation();\n\t}\n\t/**\n\t* Set the projection\n\t*\n\t* @param projection - the projection\n\t*/\n\tsetProjection(projection) {\n\t\tsuper.setProjection(projection);\n\t\tthis.clearProjectedTriangulationCaches();\n\t\tthis.updateTriangulation();\n\t}\n\t/**\n\t* Reset previous transform properties to new ones (when completing an animation).\n\t*/\n\tresetPrevious() {\n\t\tsuper.resetPrevious();\n\t\tthis.previousResourceResolution = this.resourceResolution;\n\t\tthis.projectedGcpPreviousTriangulation = this.projectedGcpTriangulation;\n\t\tthis.projectedGeoPreviousTrianglePoints = this.projectedGeoTrianglePoints;\n\t\tthis.previousTrianglePointsDistortion = this.trianglePointsDistortion;\n\t\tthis.previousTrianglePointsInside = this.trianglePointsInside;\n\t\tthis.projectedGeoPreviousTriangulationFullMask = this.projectedGeoTriangulationFullMask;\n\t\tthis.projectedGeoPreviousTriangulationMask = this.projectedGeoTriangulationMask;\n\t\tthis.projectedGeoPreviousTriangulationAppliedMask = this.projectedGeoTriangulationAppliedMask;\n\t}\n\t/**\n\t* Mix previous transform properties with new ones (when changing an ongoing animation).\n\t*\n\t* @param t - animation progress\n\t*/\n\tmixPreviousAndNew(t) {\n\t\tsuper.mixPreviousAndNew(t);\n\t\tif (this.projectedGcpPreviousTriangulation && this.projectedGcpTriangulation) {\n\t\t\tconst projectedGcpPreviousTriangulation = this.projectedGcpPreviousTriangulation;\n\t\t\tconst projectedGcpTriangulation = this.projectedGcpTriangulation;\n\t\t\tthis.previousResourceResolution = this.resourceResolution;\n\t\t\tthis.projectedGcpPreviousTriangulation = {\n\t\t\t\tresourceResolution: projectedGcpPreviousTriangulation.resourceResolution,\n\t\t\t\tgcpUniquePoints: projectedGcpPreviousTriangulation.gcpUniquePoints.map((projectedGcp, index) => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tresource: projectedGcp.resource,\n\t\t\t\t\t\tgeo: mixPoints(projectedGcpTriangulation.gcpUniquePoints[index].geo, projectedGcp.geo, t),\n\t\t\t\t\t\tdistortions: projectedGcpTriangulation.gcpUniquePoints[index].distortions,\n\t\t\t\t\t\tdistortion: mixNumbers(projectedGcpTriangulation.gcpUniquePoints[index].distortion || 0, projectedGcp.distortion || 0, t)\n\t\t\t\t\t};\n\t\t\t\t}),\n\t\t\t\tuniquePointIndices: projectedGcpPreviousTriangulation.uniquePointIndices,\n\t\t\t\tuniquePointIndexInterpolatedPolygon: projectedGcpPreviousTriangulation.uniquePointIndexInterpolatedPolygon,\n\t\t\t\tuniquePointIndexInterpolatedSteinerPolygons: projectedGcpPreviousTriangulation.uniquePointIndexInterpolatedSteinerPolygons,\n\t\t\t\tinsideSteinerPolygonsTriangles: projectedGcpPreviousTriangulation.insideSteinerPolygonsTriangles\n\t\t\t};\n\t\t\tthis.projectedGeoPreviousTrianglePoints = projectedGcpPreviousTriangulation.uniquePointIndices.map((i) => projectedGcpPreviousTriangulation.gcpUniquePoints[i].geo);\n\t\t\tthis.previousTrianglePointsDistortion = projectedGcpPreviousTriangulation.uniquePointIndices.map((i) => projectedGcpPreviousTriangulation.gcpUniquePoints[i].distortion);\n\t\t}\n\t\tthis.projectedGeoPreviousTriangulationFullMask = mixLineStrings(this.projectedGeoTriangulationFullMask, this.projectedGeoPreviousTriangulationFullMask, t);\n\t\tthis.projectedGeoPreviousTriangulationMask = mixLineStrings(this.projectedGeoTriangulationMask, this.projectedGeoPreviousTriangulationMask, t);\n\t\tthis.projectedGeoPreviousTriangulationAppliedMask = mixLineStrings(this.projectedGeoTriangulationAppliedMask, this.projectedGeoPreviousTriangulationAppliedMask, t);\n\t}\n\t/**\n\t* Update the (previous and new) triangulation of the resourceMask. Use cache if available.\n\t*/\n\tupdateTriangulation() {\n\t\tif (!this.resourceTriangulationCache || !this.projectedGcpTriangulationCache) return;\n\t\tconst resourceResolution = this.options.resourceResolution || this.projectedTransformer.getToGeoTransformationResolution(this.resourceMaskBbox);\n\t\tlet refinePrevious = false;\n\t\tif (resourceResolution && this.previousResourceResolution) {\n\t\t\trefinePrevious = this.previousResourceResolution < resourceResolution;\n\t\t\tthis.resourceResolution = Math.min(resourceResolution, this.previousResourceResolution);\n\t\t}\n\t\tif (resourceResolution && !this.previousResourceResolution) {\n\t\t\trefinePrevious = true;\n\t\t\tthis.resourceResolution = resourceResolution;\n\t\t}\n\t\tif (!resourceResolution && this.previousResourceResolution) this.resourceResolution = this.previousResourceResolution;\n\t\telse if (!resourceResolution && !this.previousResourceResolution) this.resourceResolution = void 0;\n\t\tthis.projectedGcpTriangulation = getPropertyFromQuintupleCacheOrComputation(this.projectedGcpTriangulationCache, this.resourceResolution, String(this.resourceMask), this.transformationType, this.internalProjection.definition, String(this.options.distortionMeasures), () => {\n\t\t\tconst { uniquePoints, uniquePointIndexTriangles, uniquePointIndexInterpolatedPolygon, uniquePointIndexInterpolatedSteinerPolygons, insideSteinerPolygonsTriangles } = getPropertyFromDoubleCacheOrComputation(this.resourceTriangulationCache, this.resourceResolution, String(this.resourceMask), () => {\n\t\t\t\ttry {\n\t\t\t\t\treturn triangulateToUnique(bboxToPolygon(combineBboxes(computeBbox(this.resourceFullMask), bufferBbox(computeBbox(this.resourceMask), 1))), this.resourceResolution, {\n\t\t\t\t\t\tsteinerPoints: this.gcps.map((gcp) => gcp.resource),\n\t\t\t\t\t\tsteinerPolygons: [[this.resourceMask]],\n\t\t\t\t\t\tcomputeInsideSteinerPolygons: true\n\t\t\t\t\t});\n\t\t\t\t} catch (error) {\n\t\t\t\t\tif (error instanceof Error) {\n\t\t\t\t\t\terror.message = `Failed to triangulate map ${this.mapId}: ` + error.message;\n\t\t\t\t\t\tthrow error;\n\t\t\t\t\t} else throw new Error(`Failed to triangulate map ${this.mapId}`);\n\t\t\t\t}\n\t\t\t});\n\t\t\tconst resourceResolution = this.resourceResolution;\n\t\t\tconst resourceUniquePoints = uniquePoints;\n\t\t\treturn {\n\t\t\t\tresourceResolution,\n\t\t\t\tgcpUniquePoints: this.projectedTransformer.transformToProjectedGeo(resourceUniquePoints, {\n\t\t\t\t\tdistortionMeasures: this.options.distortionMeasures,\n\t\t\t\t\treferenceScale: this.getReferenceScale(),\n\t\t\t\t\tisMultiGeometry: true\n\t\t\t\t}, (gcpPartialDistortion) => gcpPartialDistortion),\n\t\t\t\tuniquePointIndices: uniquePointIndexTriangles.flat(),\n\t\t\t\tuniquePointIndexInterpolatedPolygon,\n\t\t\t\tuniquePointIndexInterpolatedSteinerPolygons,\n\t\t\t\tinsideSteinerPolygonsTriangles\n\t\t\t};\n\t\t});\n\t\tif (!this.projectedGcpPreviousTriangulation) this.projectedGcpPreviousTriangulation = this.projectedGcpTriangulation;\n\t\tif (refinePrevious) {\n\t\t\tthis.previousResourceResolution = this.resourceResolution;\n\t\t\tthis.projectedGcpPreviousTriangulation = getPropertyFromQuintupleCacheOrComputation(this.projectedGcpTriangulationCache, this.previousResourceResolution, String(this.resourceMask), this.previousTransformationType, this.previousInternalProjection.definition, String(this.options.distortionMeasures), () => {\n\t\t\t\tif (!this.projectedGcpTriangulation) throw new Error(\"No projectedGcpTriangulation\");\n\t\t\t\tconst projectedGcpTriangulation = this.projectedGcpTriangulation;\n\t\t\t\treturn {\n\t\t\t\t\tresourceResolution: this.projectedGcpTriangulation.resourceResolution,\n\t\t\t\t\tgcpUniquePoints: this.projectedPreviousTransformer.transformToProjectedGeo(this.projectedGcpTriangulation.gcpUniquePoints.map((projectedGcp) => projectedGcp.resource), {\n\t\t\t\t\t\tdistortionMeasures: this.options.distortionMeasures,\n\t\t\t\t\t\treferenceScale: this.getReferenceScale(),\n\t\t\t\t\t\tisMultiGeometry: true\n\t\t\t\t\t}, (gcpPartialDistortion) => gcpPartialDistortion),\n\t\t\t\t\tuniquePointIndices: this.projectedGcpTriangulation.uniquePointIndices,\n\t\t\t\t\tuniquePointIndexInterpolatedPolygon: projectedGcpTriangulation.uniquePointIndexInterpolatedPolygon,\n\t\t\t\t\tuniquePointIndexInterpolatedSteinerPolygons: projectedGcpTriangulation.uniquePointIndexInterpolatedSteinerPolygons,\n\t\t\t\t\tinsideSteinerPolygonsTriangles: projectedGcpTriangulation.insideSteinerPolygonsTriangles\n\t\t\t\t};\n\t\t\t}, () => !this.mixed, () => !this.mixed);\n\t\t}\n\t\tthis.updateTrianglePoints();\n\t}\n\t/**\n\t* Derive the (previous and new) resource and projectedGeo points from their corresponding triangulations.\n\t*\n\t* Also derive the (previous and new) triangulation-refined resource and projectedGeo mask\n\t*/\n\tupdateTrianglePoints() {\n\t\tif (!this.projectedGcpPreviousTriangulation || !this.projectedGcpTriangulation) return;\n\t\tconst projectedGcpPreviousTriangulation = this.projectedGcpPreviousTriangulation;\n\t\tconst projectedGcpTriangulation = this.projectedGcpTriangulation;\n\t\tthis.trianglePointsInside = projectedGcpTriangulation.insideSteinerPolygonsTriangles.map((inside) => [\n\t\t\tinside,\n\t\t\tinside,\n\t\t\tinside\n\t\t]).flat();\n\t\tthis.resourceTrianglePoints = this.projectedGcpTriangulation.uniquePointIndices.map((i) => projectedGcpTriangulation.gcpUniquePoints[i].resource);\n\t\tthis.projectedGeoPreviousTrianglePoints = this.projectedGcpPreviousTriangulation.uniquePointIndices.map((i) => projectedGcpPreviousTriangulation.gcpUniquePoints[i].geo);\n\t\tthis.projectedGeoTrianglePoints = this.projectedGcpTriangulation.uniquePointIndices.map((i) => projectedGcpTriangulation.gcpUniquePoints[i].geo);\n\t\tthis.projectedGeoPreviousTriangulationFullMask = this.projectedGcpPreviousTriangulation.uniquePointIndexInterpolatedPolygon.map((typedRing) => typedRing.map((i) => projectedGcpPreviousTriangulation.gcpUniquePoints[i].geo)).flat();\n\t\tthis.projectedGeoTriangulationFullMask = this.projectedGcpTriangulation.uniquePointIndexInterpolatedPolygon.map((typedRing) => typedRing.map((i) => projectedGcpTriangulation.gcpUniquePoints[i].geo)).flat();\n\t\tthis.projectedGeoPreviousTriangulationMask = this.projectedGcpPreviousTriangulation.uniquePointIndexInterpolatedSteinerPolygons[0].map((typedRing) => typedRing.map((i) => projectedGcpPreviousTriangulation.gcpUniquePoints[i].geo)).flat();\n\t\tthis.projectedGeoTriangulationMask = this.projectedGcpTriangulation.uniquePointIndexInterpolatedSteinerPolygons[0].map((typedRing) => typedRing.map((i) => projectedGcpTriangulation.gcpUniquePoints[i].geo)).flat();\n\t\tthis.projectedGeoPreviousTriangulationAppliedMask = this.applyMask ? this.projectedGeoPreviousTriangulationMask : this.projectedGeoPreviousTriangulationFullMask;\n\t\tthis.projectedGeoTriangulationAppliedMask = this.applyMask ? this.projectedGeoTriangulationMask : this.projectedGeoTriangulationFullMask;\n\t\tthis.updateTrianglePointsDistortion();\n\t}\n\t/**\n\t* Derive the (previous and new) distortions from their corresponding triangulations.\n\t*/\n\tupdateTrianglePointsDistortion() {\n\t\tif (!this.projectedGcpPreviousTriangulation || !this.projectedGcpTriangulation) return;\n\t\tconst projectedGcpPreviousTriangulation = this.projectedGcpPreviousTriangulation;\n\t\tconst projectedGcpTriangulation = this.projectedGcpTriangulation;\n\t\tthis.previousTrianglePointsDistortion = projectedGcpPreviousTriangulation.uniquePointIndices.map((i) => {\n\t\t\tconst distortions = projectedGcpPreviousTriangulation.gcpUniquePoints[i].distortions;\n\t\t\tif (!this.previousDistortionMeasure || !distortions) return 0;\n\t\t\telse return distortions.get(this.previousDistortionMeasure);\n\t\t});\n\t\tthis.trianglePointsDistortion = projectedGcpTriangulation.uniquePointIndices.map((i) => {\n\t\t\tconst distortions = projectedGcpTriangulation.gcpUniquePoints[i].distortions;\n\t\t\tif (!this.distortionMeasure || !distortions) return 0;\n\t\t\telse return distortions.get(this.distortionMeasure);\n\t\t});\n\t}\n\tupdateProjectedTransformerProperties() {\n\t\tsuper.updateProjectedTransformerProperties();\n\t\tthis.updateTriangulation();\n\t}\n\tclearProjectedTransformerCaches() {\n\t\tsuper.clearProjectedTransformerCaches();\n\t\tthis.clearResourceTriangulationCaches();\n\t}\n\tclearResourceTriangulationCaches() {\n\t\tthis.resourceTriangulationCache = /* @__PURE__ */ new Map();\n\t\tthis.clearProjectedTriangulationCaches();\n\t}\n\tclearProjectedTriangulationCaches() {\n\t\tthis.projectedGcpTriangulationCache = /* @__PURE__ */ new Map();\n\t}\n};\n//#endregion\nexport { TriangulatedWarpedMap };\n\n//# sourceMappingURL=TriangulatedWarpedMap.js.map"],"names":["DEFAULT_SPECIFIC_TRIANGULATED_WARPED_MAP_OPTIONS","TriangulatedWarpedMap","WarpedMap","mapId","georeferencedMap","listOptions","mapOptions","mergeOptions","animationOptions","gcps","distortionMeasure","projection","t","projectedGcpPreviousTriangulation","projectedGcpTriangulation","projectedGcp","index","mixPoints","mixNumbers","i","mixLineStrings","resourceResolution","refinePrevious","getPropertyFromQuintupleCacheOrComputation","uniquePoints","uniquePointIndexTriangles","uniquePointIndexInterpolatedPolygon","uniquePointIndexInterpolatedSteinerPolygons","insideSteinerPolygonsTriangles","getPropertyFromDoubleCacheOrComputation","triangulateToUnique","bboxToPolygon","combineBboxes","computeBbox","bufferBbox","gcp","error","resourceUniquePoints","gcpPartialDistortion","inside","typedRing","distortions"],"mappings":";;;;;;AAIA,IAAIA,IAAmD,EAAE,oBAAoB,GAAC,GAoB1EC,IAAwB,MAAMA,UAA8BC,EAAU;AAAA,EACzE;AAAA,EACA;AAAA,EACA,wBAAwB;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,yBAAyB,CAAA;AAAA,EACzB,qCAAqC,CAAA;AAAA,EACrC,6BAA6B,CAAA;AAAA,EAC7B,mCAAmC,CAAA;AAAA,EACnC,2BAA2B,CAAA;AAAA,EAC3B,+BAA+B,CAAA;AAAA,EAC/B,uBAAuB,CAAA;AAAA,EACvB,4CAA4C,CAAA;AAAA,EAC5C,oCAAoC,CAAA;AAAA,EACpC,wCAAwC,CAAA;AAAA,EACxC,gCAAgC,CAAA;AAAA,EAChC,+CAA+C,CAAA;AAAA,EAC/C,uCAAuC,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQvC,YAAYC,GAAOC,GAAkBC,GAAaC,GAAY;AAC7D,UAAMH,GAAOC,GAAkBC,GAAaC,CAAU,GACtD,KAAK,iDAAiD,IAA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AAAA,EACN;AAAA,EACA,oCAAoC;AACnC,SAAK,qDAAqD,IAAA;AAAA,EAC3D;AACD;","x_google_ignoreList":[0]}
@@ -0,0 +1,33 @@
1
+ function h(e, t, o) {
2
+ const r = e.createShader(t);
3
+ if (r) {
4
+ if (e.shaderSource(r, o), e.compileShader(r), e.getShaderParameter(r, e.COMPILE_STATUS)) return r;
5
+ {
6
+ const a = e.getShaderInfoLog(r);
7
+ throw e.deleteShader(r), new Error("Failed to compile shader: " + a);
8
+ }
9
+ } else throw new Error("Failed to create shader");
10
+ }
11
+ function m(e, t, o) {
12
+ const r = e.createProgram();
13
+ if (r) {
14
+ if (e.attachShader(r, t), e.attachShader(r, o), e.linkProgram(r), e.getProgramParameter(r, e.LINK_STATUS)) return r;
15
+ {
16
+ const a = e.getProgramInfoLog(r);
17
+ throw e.deleteProgram(r), new Error("Failed to link program: " + a);
18
+ }
19
+ } else throw new Error("Failed to create program");
20
+ }
21
+ function u(e, t, o, r, a) {
22
+ const n = e.createBuffer();
23
+ if (!n) throw new Error("Failed to create buffer");
24
+ e.bindBuffer(e.ARRAY_BUFFER, n), e.bufferData(e.ARRAY_BUFFER, o, e.STATIC_DRAW);
25
+ const i = e.FLOAT, s = !1, f = 0, d = 0, c = e.getAttribLocation(t, a);
26
+ return e.vertexAttribPointer(c, r, i, s, f, d), e.enableVertexAttribArray(c), n;
27
+ }
28
+ export {
29
+ u as createBuffer,
30
+ m as createProgram,
31
+ h as createShader
32
+ };
33
+ //# sourceMappingURL=index.es301.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es301.js","sources":["../../../node_modules/@allmaps/render/dist/shared/webgl2.js"],"sourcesContent":["//#region src/shared/webgl2.ts\nfunction createShader(gl, type, source) {\n\tconst shader = gl.createShader(type);\n\tif (shader) {\n\t\tgl.shaderSource(shader, source);\n\t\tgl.compileShader(shader);\n\t\tif (gl.getShaderParameter(shader, gl.COMPILE_STATUS)) return shader;\n\t\telse {\n\t\t\tconst message = gl.getShaderInfoLog(shader);\n\t\t\tgl.deleteShader(shader);\n\t\t\tthrow new Error(\"Failed to compile shader: \" + message);\n\t\t}\n\t} else throw new Error(\"Failed to create shader\");\n}\nfunction createProgram(gl, vertexShader, fragmentShader) {\n\tconst program = gl.createProgram();\n\tif (program) {\n\t\tgl.attachShader(program, vertexShader);\n\t\tgl.attachShader(program, fragmentShader);\n\t\tgl.linkProgram(program);\n\t\tif (gl.getProgramParameter(program, gl.LINK_STATUS)) return program;\n\t\telse {\n\t\t\tconst message = gl.getProgramInfoLog(program);\n\t\t\tgl.deleteProgram(program);\n\t\t\tthrow new Error(\"Failed to link program: \" + message);\n\t\t}\n\t} else throw new Error(\"Failed to create program\");\n}\nfunction createBuffer(gl, program, data, size, name) {\n\tconst buffer = gl.createBuffer();\n\tif (!buffer) throw new Error(\"Failed to create buffer\");\n\tgl.bindBuffer(gl.ARRAY_BUFFER, buffer);\n\tgl.bufferData(gl.ARRAY_BUFFER, data, gl.STATIC_DRAW);\n\tconst type = gl.FLOAT;\n\tconst normalize = false;\n\tconst stride = 0;\n\tconst offset = 0;\n\tconst positionAttributeLocation = gl.getAttribLocation(program, name);\n\tgl.vertexAttribPointer(positionAttributeLocation, size, type, normalize, stride, offset);\n\tgl.enableVertexAttribArray(positionAttributeLocation);\n\treturn buffer;\n}\n//#endregion\nexport { createBuffer, createProgram, createShader };\n\n//# sourceMappingURL=webgl2.js.map"],"names":["createShader","gl","type","source","shader","message","createProgram","vertexShader","fragmentShader","program","createBuffer","data","size","name","buffer","normalize","stride","offset","positionAttributeLocation"],"mappings":"AACA,SAASA,EAAaC,GAAIC,GAAMC,GAAQ;AACvC,QAAMC,IAASH,EAAG,aAAaC,CAAI;AACnC,MAAIE,GAAQ;AAGX,QAFAH,EAAG,aAAaG,GAAQD,CAAM,GAC9BF,EAAG,cAAcG,CAAM,GACnBH,EAAG,mBAAmBG,GAAQH,EAAG,cAAc,EAAG,QAAOG;AACxD;AACJ,YAAMC,IAAUJ,EAAG,iBA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